]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove x32/iofopen.c and x32/iofopen64.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
3a31811e
L
12012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
4 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5
faa2bccb
DM
62012-08-03 David S. Miller <davem@davemloft.net>
7
8 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9
85fe1997
JM
102012-08-03 Joseph Myers <joseph@codesourcery.com>
11
12 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13 Remove.
14 (__ASSUME_CORRECT_SI_PID): Likewise.
15 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16 (__ASSUME_TMPFS_NAME): Likewise.
17 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20 (HAVE_AUX_SECURE): Make definition unconditional.
21 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
23
4f75b7a0
RM
242012-08-03 Roland McGrath <roland@hack.frob.com>
25
26 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
27 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30 __eloop_threshold instead of SYMLOOP_MAX.
31
32 * sysdeps/generic/eloop-threshold.h: New file.
33 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34 of MAXSYMLINKS.
35 * elf/chroot_canon.c (chroot_canon): Likewise.
36
7aab07e4
JM
372012-08-03 Joseph Myers <joseph@codesourcery.com>
38
39 [BZ #13717]
40 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41 Change to 2.6.0 everywhere.
42 * sysdeps/unix/sysv/linux/configure: Regenerated.
43 * sysdeps/unix/sysv/linux/kernel-features.h
44 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
45 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46 kernel versions.
47 (__ASSUME_POSIX_TIMERS): Define unconditionally.
48 (__ASSUME_FUTEX_REQUEUE): Remove.
49 (__ASSUME_STATFS64): Define unconditionally.
50 (__ASSUME_AT_SECURE): Likewise.
51 (__ASSUME_CORRECT_SI_PID): Likewise.
52 (__ASSUME_TGKILL): Define without depending on kernel version for
53 i386.
54 (__ASSUME_UTIMES): Likewise.
55 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
56 kernel version.
57 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
58 (__ASSUME_TMPFS_NAME): Likewise.
59 * README: Update reference to Linux kernel versions.
60
b67e9372
MP
612012-08-02 Marek Polacek <polacek@redhat.com>
62
63 [BZ#14150]
64 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
65 libc_cv_asm_type_prefix with %.
66 * configure: Regenerated.
d2441631
RM
67 * include/libc-symbols.h: Remove comment about
68 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
69 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
73 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
74 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
76 * elf/tst-unique2mod1.c: Likewise.
77 * elf/tst-unique1mod2.c: Likewise.
78 * elf/tst-unique1mod1.c: Likewise.
79 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
80 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
81 Replace ASM_TYPE_DIRECTIVE with .type.
82 * sysdeps/s390/s390-64/sysdep.h: Likewise.
83 * sysdeps/i386/sysdep.h: Likewise.
84 * sysdeps/x86_64/sysdep.h: Likewise.
85 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
86 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 88 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
89 * sysdeps/powerpc/powerpc32/sysdep.h:
90 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
91 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
92 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
93 * sysdeps/i386/fpu/e_powf.S: Likewise.
94 * sysdeps/i386/fpu/e_expl.S: Likewise.
95 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
96 * sysdeps/i386/fpu/e_acosh.S: Likewise.
97 * sysdeps/i386/fpu/e_pow.S: Likewise.
98 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
99 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
100 * sysdeps/i386/fpu/s_expm1.S: Likewise.
101 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
102 * sysdeps/i386/fpu/e_log2.S: Likewise.
103 * sysdeps/i386/fpu/e_log2l.S: Likewise.
104 * sysdeps/i386/fpu/e_scalb.S: Likewise.
105 * sysdeps/i386/fpu/e_powl.S: Likewise.
106 * sysdeps/i386/fpu/e_log10f.S: Likewise.
107 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
108 * sysdeps/i386/fpu/e_logl.S: Likewise.
109 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
110 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
111 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
112 * sysdeps/i386/fpu/e_log2f.S: Likewise.
113 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
114 * sysdeps/i386/fpu/e_log.S: Likewise.
115 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
116 * sysdeps/i386/fpu/e_logf.S: Likewise.
117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
118 * sysdeps/i386/fpu/e_atanh.S: Likewise.
119 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
120 * sysdeps/i386/fpu/e_log10.S: Likewise.
121 * sysdeps/i386/fpu/s_frexp.S: Likewise.
122 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
123 * sysdeps/i386/fpu/s_asinh.S: Likewise.
124 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
126 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
127 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
128 * sysdeps/i386/i686/strtok.S: Likewise.
129 * sysdeps/i386/i386-mcount.S: Likewise.
130 * sysdeps/i386/strtok.S: Likewise.
131 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
132 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
133 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
134 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
135 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
136 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
137 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
138 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
139 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
140 * sysdeps/x86_64/_mcount.S: Likewise.
141 * sysdeps/x86_64/strtok.S: Likewise.
142 * sysdeps/sh/_mcount.S: Likewise.
143
2747bf9a
RM
1442012-08-01 Roland McGrath <roland@hack.frob.com>
145
146 * libio/iofopen.c: Include <fcntl.h>.
147 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
148 (_IO_fopen64, fopen64): Define as aliases.
149 * libio/iofopen64.c: Include <fcntl.h>.
150 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
151 Conditionalize body on this.
152 * sysdeps/wordsize-64/iofopen.c: File removed.
153 * sysdeps/wordsize-64/iofopen64.c: File removed.
154
3fb791b8
MP
1552012-08-01 Marek Polacek <polacek@redhat.com>
156
157 * libc/Makeconfig: Use elf in place of binfmt-subdir.
158 Use dlfcn directly instead of a variable.
159 (binfmt-subdir): Do not define.
160 (dlfcn): Likewise.
161
a9f1039f
JM
1622012-08-01 Joseph Myers <joseph@codesourcery.com>
163
23bddc06
JM
164 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
165 Remove all definitions.
166 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
167 <kernel-features.h>.
168 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
169 (miss_F_GETOWN_EX): Remove all definitions.
170 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
171 macro definition.
172 [!__ASSUME_FCNTL64]: Remove conditional code.
173 [__ASSUME_FCNTL64]: Make code unconditional.
174 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
175 <kernel-features.h>.
176 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
177 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
178 (lockf64) [__NR_fcntl64]: Make code unconditional.
179 (lockf64) [__ASSUME_FCNTL64]: Likewise.
180
a9f1039f
JM
181 * sysdeps/unix/sysv/linux/kernel-features.h
182 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
183 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
184 Make code unconditional.
185 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
186 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
188 [__NR_vfork]: Make code unconditional.
189 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
190 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
192 [__NR_vfork]: Make code unconditional.
193 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
194 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
195
09c0ee5f
RM
1962012-08-01 Roland McGrath <roland@hack.frob.com>
197
48aec5b9
RM
198 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
199 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
200
cd97c966
RM
201 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
202 Define mkstemp64 as an alias.
3f55550c
RM
203 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
204 Define mkstemps64 as an alias.
cd97c966
RM
205 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
206 Define mkostemp64 as an alias.
b8625cfc
RM
207 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
208 Define mkostemps64 as an alias.
cd97c966
RM
209 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
210 Conditionalize body on this.
211 * misc/mkostemp64.c: Likewise.
b8625cfc 212 * misc/mkostemps64.c: Likewise.
3f55550c 213 * misc/mkstemps64.c: Likewise.
cd97c966
RM
214 * sysdeps/wordsize-64/mkstemp64.c: File removed.
215 * sysdeps/wordsize-64/mkostemp64.c: File removed.
216 * sysdeps/wordsize-64/mkostemp.c: File removed.
217 * sysdeps/wordsize-64/mkstemp.c: File removed.
218 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
219 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
220 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
221 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
222
09c0ee5f
RM
223 [BZ #14138]
224 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
225 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
226 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
227 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
228
229 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
230 compat_symbol macros from <shlib-compat.h> rather than the underlying
231 default_symbol_version and symbol_version macros, so that DEFAULT
232 lines in shlib-versions are respected.
233 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
234
7e66ee51
FW
2352012-08-01 Florian Weimer <fweimer@redhat.com>
236
237 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
238 Declare with warn_unused_result.
239 (setgid, setregid, setegid, setresgid): Likewise.
240 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
241 Likewise.
242 * WUR-REPORT: Remove set*id functions.
243
d2a54255
PT
2442012-07-31 Pino Toscano <toscano.pino@tiscali.it>
245
246 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
247
7ecdb005
RM
2482012-07-31 Roland McGrath <roland@hack.frob.com>
249
789bd351
RM
250 * include/sys/socket.h (__libc_accept, __libc_accept4):
251 Add attribute_hidden.
252 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
253
40ce302d
RM
254 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
255 use of PTR_MANGLE.
256 * inet/getnetgrent_r.c (setup): Likewise.
257
7ecdb005
RM
258 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
259
e2eabb2c
DM
2602012-07-31 David S. Miller <davem@davemloft.net>
261
262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
263
d0419dbf
JM
2642012-07-31 Joseph Myers <joseph@codesourcery.com>
265
266 [BZ #13629]
267 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
268 value between 1.0 and 2.0 and smaller part has absolute value less
269 than 1.0.
270 * math/s_clog10.c (__clog10): Likewise.
271 * math/s_clog10f.c (__clog10f): Likewise.
272 * math/s_clog10l.c (__clog10l): Likewise.
273 * math/s_clogf.c (__clogf): Likewise.
274 * math/s_clogl.c (__clogl): Likewise.
275 * math/libm-test.inc (clog_test): Add more tests.
276 (clog10_test): Likewise.
277 * sysdeps/i386/fpu/libm-test-ulps: Update.
278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
279
2bc13872
FW
2802012-07-31 Florian Weimer <fweimer@redhat.com>
281
282 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
283 Exit with zero in case no suitable GID is found, and write a
284 message to standard error.
285
bea9b193
RM
2862012-07-30 Roland McGrath <roland@hack.frob.com>
287
288 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
289 rather than to 1.
290 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
291 (MAXPATHLEN): Removed.
292 (NOGROUP, NODEV): New macros.
293 (setbit, clrbit, isset, isclr): New macros.
294 (howmany, roundup, powerof2): New macros.
295 (DEV_BSIZE): New macro.
296
297 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
298 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
299
300 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
301 definition on [!__NO_LONG_DOUBLE_MATH].
302
303 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
304 PTR_MANGLE and PTR_DEMANGLE.
305
306 * socket/accept4.c (accept4): Rename to __libc_accept4.
307 Define accept4 as a weak alias.
308
309 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
310 on [_DIRENT_HAVE_D_TYPE].
311 * io/ftw.c (ftw_dir): Likewise.
312
313 * io/xmknod.c (__xmknod): Don't check PATH for being null.
314
315 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
316
317 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
318 Use the BSD numbers rather than the arbitrary ones we had.
319 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
320 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
321 (SIGXCPU, SIGXFSZ): New macros.
322 (_NSIG): Now 32.
323
324 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
325 initializer on [_LIBC_REENTRANT].
326
327 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
328 definitions inside [_POSIX_MAPPED_FILES].
329
330 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
331
332 * dirent/opendir.c: Include <fcntl.h>.
333
334 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
335 (__libc_getspecific): Likewise.
336 (__libc_key_create): Likewise.
337
338 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
339 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
340 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
341 (tmpfile64): Define as alias.
342 * sysdeps/wordsize-64/tmpfile.c: File removed.
343 * sysdeps/wordsize-64/tmpfile64.c: File removed.
344 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
345 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
346
347 * stdio-common/vfscanf.c: Include <stdbool.h>.
348 * nss/makedb.c: Likewise.
349 * stdio-common/_i18n_number.h: Likewise.
350 * argp/argp-help.c: Likewise.
351 * posix/wordexp.c: Likewise.
352 * sysdeps/posix/spawni.c: Likewise.
353 * nss/nss_files/files-initgroups.c: Likewise.
354 * stdio-common/reg-modifier.c: Include <stdlib.h>.
355 * nss/nss_files/files-initgroups.c: Likewise.
356 * nss/nss_db/db-netgrp.c: Likewise.
357 * nss/nss_db/db-initgroups.c: Likewise.
358 * io/fchmodat.c: Include <sys/stat.h>.
359
360 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
361 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
362
363 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
364 [HAVE_MMAP].
365
366 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
367 Add multiple inclusion protection.
368
e5abc686
DM
3692012-07-27 David S. Miller <davem@davemloft.net>
370
371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
372
815e6fa3
GB
3732012-07-27 Gary Benson <gbenson@redhat.com>
374
375 [BZ #14298]
376 * elf/rtld.c: Include <stap-probe.h>.
377 (dl_main): Added static probes "init_start" and "init_complete".
378 * elf/dl-load.c: Include <stap-probe.h>.
379 (lose): Take new parameter "nsid".
380 Added static probe "map_failed".
381 (_dl_map_object_from_fd): Pass namespace id to lose.
382 Added static probe "map_start".
383 (open_verify): Pass namespace id to lose.
384 * elf/dl-open.c: Include <stap-probe.h>.
385 (dl_open_worker) Added static probes "map_complete", "reloc_start"
386 and "reloc_complete".
387 * elf/dl-close.c: Include <stap-probe.h>.
388 (_dl_close_worker): Added static probes "unmap_start" and
389 "unmap_complete".
390 * elf/rtld-debugger-interface.txt: New file documenting the above.
391
9f98c16c
RM
3922012-07-26 Roland McGrath <roland@hack.frob.com>
393
394 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
395 rather than a string variable.
396 * sunrpc/rpc_main.c (h_output): Likewise.
397 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
398
f3c22df3
PT
3992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
400
401 * inet/check_native.c: New file.
402
3129cfc6
JM
4032012-07-26 Joseph Myers <joseph@codesourcery.com>
404
da865e95
JM
405 [BZ #13629]
406 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
407 if larger part has absolute value 1.0.
408 * math/s_clog10.c (__clog10): Likewise.
409 * math/s_clog10f.c (__clog10f): Likewise.
410 * math/s_clog10l.c (__clog10l): Likewise.
411 * math/s_clogf.c (__clogf): Likewise.
412 * math/s_clogl.c (__clogl): Likewise.
413 * math/libm-test.inc (clog_test): Add more tests.
414 (clog10_test): Likewise.
415 * sysdeps/i386/fpu/libm-test-ulps: Update.
416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
417
3129cfc6
JM
418 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
419 (pltexit): Likewise.
420 (La_regs): Likewise.
421 (La_retval): Likewise.
422 (int_retval): Likewise.
423 Update #error for removed macros to refer only to definitions in
424 tst-audit.h.
425 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
426 macro.
427 (pltexit): Likewise.
428 (La_regs): Likewise.
429 (La_retval): Likewise.
430 (int_retval): Likewise.
431 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
432 macro.
433 (pltexit): Likewise.
434 (La_regs): Likewise.
435 (La_retval): Likewise.
436 (int_retval): Likewise.
437 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
438 macro.
439 (pltexit): Likewise.
440 (La_regs): Likewise.
441 (La_retval): Likewise.
442 (int_retval): Likewise.
443 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
444 macro.
445 (pltexit): Likewise.
446 (La_regs): Likewise.
447 (La_retval): Likewise.
448 (int_retval): Likewise.
449 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
450 macro.
451 (pltexit): Likewise.
452 (La_regs): Likewise.
453 (La_retval): Likewise.
454 (int_retval): Likewise.
455 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
456 macro.
457 (pltexit): Likewise.
458 (La_regs): Likewise.
459 (La_retval): Likewise.
460 (int_retval): Likewise.
461 * sysdeps/generic/tst-audit.h: Update comment to refer only to
462 macro definitions in tst-audit.h.
463 * sysdeps/i386/tst-audit.h: New file.
464 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
465 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
466 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
467 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
468 * sysdeps/sh/tst-audit.h: Likewise.
469 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
470 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
471 * sysdeps/x86_64/tst-audit.h: Likewise.
472
bfc07087
AJ
4732012-07-26 Andreas Jaeger <aj@suse.de>
474
b1b2aaf8
AJ
475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
476 ptrace.
477
478 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
479 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
480 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
481 PTRACE_O_MASK.
482 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
483 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
484 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
485
bfc07087
AJ
486 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
487 value.
488
489 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
490 _sigsys.
491 (si_call_addr, si_syscall, si_arch): Define new macro.
492 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
493 _sigsys.
494 (si_call_addr, si_syscall, si_arch): Define new marcro.
495 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
496 _sigsys.
497 (si_call_addr, si_syscall, si_arch): Define new macro.
498 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
499 _sigsys.
500 (si_call_addr, si_syscall, si_arch): Define new macro.
501
89b4b02f
JM
5022012-07-25 Joseph Myers <joseph@codesourcery.com>
503
504 [BZ #13717]
505 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
506 Change to 2.4.21 where previously 2.4.1.
507 * sysdeps/unix/sysv/linux/configure: Regenerated.
508 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
509 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
510 Linux kernel version.
511 (__ASSUME_STD_AUXV): Remove.
512 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
513 kernel version.
514 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
515 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
516 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
517 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
518 (__ASSUME_NETLINK_SUPPORT): Likewise.
519 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
520 (__no_netlink_support): Remove conditional definition.
521 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
522 Remove.
523 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
524 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
525 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
526 (if_nameindex_ioctl): Remove.
527 (if_nameindex_netlink): Do not handle __no_netlink_support.
528 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
529 code.
530 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
531 Remove conditional code.
532 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
533 code.
534 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
535 unconditional.
536 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
537 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
538 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
539 Remove.
540 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
541 [!__ASSUME_STD_AUXV]: Remove conditional code.
542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
543 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
544 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
546 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
547 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
548 code.
549 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
551 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
552 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
553 conditional code.
554 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
556 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
557 code.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
559 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
560 conditional code.
561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
562 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
563 code unconditional.
564 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
565 conditional code.
566 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
567 unconditional.
568 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
569 conditional code.
570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
571 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
572 unconditional.
573 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
574 conditional code.
575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
576 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
577 code unconditional.
578 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
579 conditional code.
580 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
581 unconditional.
582 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
583 conditional code.
584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
585 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
586 code unconditional.
587 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
588 conditional code.
589 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
590 unconditional.
591 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
592 conditional code.
593
842a39cd
AS
5942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
595
596 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
597 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
598 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
599 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
600 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
601 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
602 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
603 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
604 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
605 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
606 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
607 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
608 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
609 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
610 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
612 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
614 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
616 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
617 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
618 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
619
84b3fd84
FW
6202012-07-25 Florian Weimer <fweimer@redhat.com>
621
622 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
623 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
624 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
625 Introduce __libc_secure_getenv.
0c7936d5
FW
626 * stdlib/Versions (2.17): Add secure_getenv
627 (GLIBC_PRIVATE): Add __libc_secure_getenv.
628 * stdlib/secure-getenv.c: Rename __secure_getenv to
629 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
630 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
631 * stdlib/tst-secure-getenv.c: New.
632 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
633 * manual/startup.texi (Environment Access): Document
634 secure_getenv.
84b3fd84
FW
635 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
636 __libc_secure_getenv.
637 * inet/ruserpass.c (ruserpass): Likewise.
638 * malloc/mtrace.c (mtrace): Likewise.
639 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 640 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
641 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
642 * sysdeps/posix/tempname.c: Likewise. Evaluate
643 HAVE_SECURE_GETENV.
644 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 645 __secure_getenv to __libc_secure_getenv.
84b3fd84 646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
648 Likewise.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
650 Likewise.
651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 658
56e49b71
JM
6592012-07-25 Joseph Myers <joseph@codesourcery.com>
660
661 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
662 (struct La_i86_retval): Likewise.
663 (struct La_x86_64_regs): Likewise.
664 (struct La_x86_64_retval): Likewise.
665 (struct La_x32_regs): Likewise.
666 (struct La_x32_retval): Likewise.
667 (struct La_ppc32_regs): Likewise.
668 (struct La_ppc32_retval): Likewise.
669 (struct La_ppc64_regs): Likewise.
670 (struct La_ppc64_retval): Likewise.
671 (struct La_sh_regs): Likewise.
672 (struct La_sh_retval): Likewise.
673 (struct La_s390_32_regs): Likewise.
674 (struct La_s390_32_retval): Likewise.
675 (struct La_s390_64_regs): Likewise.
676 (struct La_s390_64_retval): Likewise.
677 (struct La_sparc32_regs): Likewise.
678 (struct La_sparc32_retval): Likewise.
679 (struct La_sparc64_regs): Likewise.
680 (struct La_sparc64_retval): Likewise.
681 (struct audit_ifaces): Remove architecture-specific pltenter and
682 pltexit members.
683 * sysdeps/i386/ldsodefs.h: New file.
684 * sysdeps/powerpc/ldsodefs.h: Likewise.
685 * sysdeps/s390/ldsodefs.h: Likewise.
686 * sysdeps/sh/ldsodefs.h: Likewise.
687 * sysdeps/sparc/ldsodefs.h: Likewise.
688 * sysdeps/x86_64/ldsodefs.h: Likewise.
689
354691b7
MP
6902012-07-25 Marek Polacek <polacek@redhat.com>
691
692 [BZ #6808]
693 * math/libm-test.inc (yn_test): Add another test.
694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
695 to ERANGE when the result is +-Inf.
696 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
697 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
698 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
699 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
700
bf9e2071
JM
7012012-07-24 Joseph Myers <joseph@codesourcery.com>
702
703 * conform/data/time.h-data (NULL): Use macro-constant. Require
704 equal to 0.
705 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
706 clock_t.
707 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
708
57633811
TS
7092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
710
711 * configure.in <sysdeps resolving>: Correct printing
712 Implies_before.
713 * configure: Regenerate.
714
c23c33b0
TS
7152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
716
717 * math/w_ilogb.c: Include <limits.h>.
718 * math/w_ilogbl.c: Likewise.
719
b5982523
JM
7202012-07-20 Joseph Myers <joseph@codesourcery.com>
721
722 * manual/lang.texi (__va_copy): Document primarily as ISO C99
723 va_copy. Document allowing for unavailable va_copy only as
724 pre-C99 compatibility.
725 * manual/string.texi (Copying and Concatenation): Use va_copy
726 instead of __va_copy in concat example.
727
ac4ea442
PT
7282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
729
730 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
731 (__sendto): Use create_address_port. Initialize APORT and deallocate
732 it if not null.
733
f98eafbd
PT
734 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
735 with O_NOLINK passed to __file_name_lookup.
736
898c7aab
PT
737 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
738 with O_NOLINK passed to __file_name_lookup.
739
0ced335a
PT
740 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
741 negative N or less than NGIDS.
742
b3404dbd
PT
743 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
744 type to string_t. Set ERANGE as errno and return it if NAME is not big
745 enough. Use memcpy instead of strncpy.
746
0f48659e
JM
7472012-07-20 Joseph Myers <joseph@codesourcery.com>
748
749 * elf/Makefile (check-data): Remove.
750 (localplt.data): New vpath directive.
751 ($(objpfx)check-localplt.out): Use localplt.data from vpath
752 instead of $(check-data).
753 * scripts/data/localplt-generic.data: Move to ...
754 * sysdeps/generic/localplt.data: ... here.
755 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
756 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
757 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
759 ... here.
760 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
762 ... here.
763 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
765 ... here.
766 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
768 ... here.
769 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
771 ... here.
772 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
774 ... here.
775
d37cbdaa
AZ
7762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777
778 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
779 PPC32 and PPC64 files.
780 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
781 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
782
46f85fc2
AK
7832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
784
785 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
786 __makecontext_ret to ...
787 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
788 ... here and call exit if uc_link is NULL. New file.
789 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
790 __makecontext_ret.S.
791 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
792 __makecontext_ret to ...
793 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
794 ... here and call exit if uc_link is NULL. New file.
795 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
796 __makecontext_ret.S.
797
08f43f9b
AK
7982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
799
800 * elf/elf.h (R_390_IRELATIVE): New definition.
801 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
802 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
803 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
804 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
805 (elf_machine_lazy_rel): Likewise.
806 * sysdeps/s390/dl-irel.h: New file.
807 * sysdeps/s390/s390-64/memcpy.S: New asm code.
808 * sysdeps/s390/s390-64/memset.S: New asm code.
809 * sysdeps/s390/s390-64/memcmp.S: New asm code.
810 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
811 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
812 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
813 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
814 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
815 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
816 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
817 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
818 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
819 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
820 * sysdeps/s390/s390-32/memcpy.S: New asm code.
821 * sysdeps/s390/s390-32/memset.S: New asm code.
822 * sysdeps/s390/s390-32/memcmp.S: New asm code.
823
3b05db33
MP
8242012-07-17 Marek Polacek <polacek@redhat.com>
825
826 [BZ #14349]
827 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
828 * sysdeps/s390/s390-64/configure.in: Likewise.
829 * sysdeps/sparc/configure.in: Likewise.
830 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
831 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
832 * sysdeps/i386/configure.in: Likewise.
833 * sysdeps/x86_64/configure.in: Likewise.
834 * sysdeps/sh/configure.in: Likewise.
835 * sysdeps/s390/s390-32/configure: Regenerated.
836 * sysdeps/s390/s390-64/configure: Likewise.
837 * sysdeps/x86_64/configure: Likewise.
838 * sysdeps/sh/configure: Likewise.
839 * sysdeps/powerpc/powerpc64/configure: Likewise.
840 * sysdeps/powerpc/powerpc32/configure: Likewise.
841 * sysdeps/sparc/configure: Likwise.
842 * sysdeps/i386/configure: Likewise.
843
a66877c6
MP
844 * elf/dl-open.c: Comment fixes.
845
cfc82fd8
JM
8462012-07-17 Joseph Myers <joseph@codesourcery.com>
847
bd29910a
JM
848 * Makefile [CXX] (check-data): Remove.
849 [CXX] (c++-types.data): New vpath directive.
850 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
851 vpath. Do not allow for C++ type data being missing.
852 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
853 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
854 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
855 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
856 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
857 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
858 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
860 ... here.
861 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
863 ... here.
864 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
866 ... here.
867 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
869 ... here.
870 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
871 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
872 ... here.
873 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
875 ... here.
876 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
878 ... here.
879 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
881
cfc82fd8
JM
882 * elf/tls-macros.h (TLS_LE): Move architecture-specific
883 definitions to architecture-specific files.
884 (TLS_IE): Likewise.
885 (TLS_LD): Likewise.
886 (TLS_GD): Likewise.
887 * sysdeps/i386/tls-macros.h: New file.
888 * sysdeps/powerpc/tls-macros.h: Likewise.
889 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
890 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
891 * sysdeps/sh/tls-macros.h: Likewise.
892 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
893 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
894 * sysdeps/x86_64/tls-macros.h: Likewise.
895
f7db3170
TS
8962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
897
07cbfc23
TS
898 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
899 zero value for regular exit case.
900
f7db3170
TS
901 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
902 (__start_context): Preserve zero value for regular exit case.
903
dc97c227
TS
9042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
905 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
906
907 * manual/setjmp.texi (setcontext): Clarify normal process
908 termination when uc_link is the null pointer.
909 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
910 exit call.
911
d0cd7d02
AS
9122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
913
914 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
915 preprocessor. Test for each exception mask separately.
916
dd318934
AJ
9172012-07-16 Andreas Jaeger <aj@suse.de>
918
919 * po/ru.po: Update from translation team.
920
8048311a
JM
9212012-07-15 Joseph Myers <joseph@codesourcery.com>
922
923 * conform/data/string.h-data (NULL): Use macro-constant. Require
924 equal to 0.
925 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
926 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
927 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
928 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
930
b637d46e
AJ
9312012-07-13 Andreas Jaeger <aj@suse.de>
932
933 * po/fr.po: Update from translation team.
934
541428fe
MP
9352012-07-12 Marek Polacek <polacek@redhat.com>
936
937 [BZ #14173]
938 * math/libm-test.inc (yn_test): Add test for BZ #14173.
939 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
940 loop condition.
941
ec332e94
JM
9422012-07-12 Joseph Myers <joseph@codesourcery.com>
943
944 [BZ #13717]
945 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
946 Change to 2.4.1 where previously 2.4.0.
947 * sysdeps/unix/sysv/linux/configure: Regenerated.
948 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
949 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
950 version.
951 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
952 (__ASSUME_AT_CLKTCK): Remove.
953 (__ASSUME_AT_PAGESIZE): Likewise.
954 (__ASSUME_AT_XID): Likewise.
955 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
956 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
957 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
958 unconditionally.
959 (HAVE_AUX_PAGESIZE): Likewise.
960 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
961 [__ASSUME_AT_CLKTCK]: Make code unconditional.
962 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
963
7b6e99be
JB
9642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
965
966 [BZ #14307]
967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
968 the temporary buffer used to invoke __gethostbyname2_r,
969 __gethostbyaddr_r and gethostbyname4_r to make room for struct
970 host_data / struct gaih_addrtuple.
971 * resolv/nss_dns/dns-host.c (global scope): Move definition of
972 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
973 header file nss/nsswitch.h.
974 * nss/nsswitch.h (global scope): Add definition of implementation
975 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
976 resolv/nss_dns/dns-host.c).
977
608404eb
AJ
9782012-07-11 Andreas Jaeger <aj@suse.de>
979
980 * po/fr.po: Update from translation team.
981
71220aca
AJ
982 * po/sv.po: Update from translation team
983 * po/fr.po: Another update from translation team.
984
28cfe843
AZ
9852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
988 for subnormals or multiply small sinh result by itself.
989 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
991
6b90f981
DM
9922012-07-11 David S. Miller <davem@davemloft.net>
993
994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
995
c6825772
AS
9962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
997
998 [BZ #14347]
999 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
1000 (INTERNAL_MARK): Shift it here.
1001
7b8e0d49
MP
10022012-07-10 Marek Polacek <polacek@redhat.com>
1003
1004 [BZ #14151]
1005 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
1006 libc_cv_asm_global_directive with .globl.
1007 * configure: Regenerated.
1008 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
1009 with .globl.
1010 * sysdeps/i386/configure: Regenerated.
1011 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
1012 with .globl.
1013 * sysdeps/x86_64/configure: Regenerated.
1014 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
1015 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
1016 * elf/tst-unique2mod2.c: Likewise.
1017 * elf/tst-unique2mod1.c: Likewise.
1018 * elf/tst-unique1mod2.c: Likewise.
1019 * elf/tst-unique1mod1.c: Likewise.
1020 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1021 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1023 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1024 * sysdeps/mach/sysdep.h: Likewise.
1025 * sysdeps/i386/sysdep.h: Likewise.
1026 * sysdeps/i386/i386-mcount.S: Likewise.
1027 * sysdeps/x86_64/_mcount.S: Likewise.
1028 * sysdeps/x86_64/sysdep.h: Likewise.
1029 * sysdeps/sh/_mcount.S: Likewise.
1030 * sysdeps/sh/sysdep.h: Likewise.
1031 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
1032 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
1033 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
1034 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1035 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1036 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1037 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1038 * locale/localeinfo.h: Likewise.
1039 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1040 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1041
6c55cda3
RM
10422012-07-09 Roland McGrath <roland@hack.frob.com>
1043
1044 [BZ #14336]
1045 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1046 system".
1047 * manual/message.texi (The Uniforum approach): Likewise.
1048 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1049 (glibc iconv Implementation): Likewise.
1050
638a572e
JM
10512012-07-09 Joseph Myers <joseph@codesourcery.com>
1052
1053 [BZ #14337]
1054 * math/s_clog.c (__clog): Avoid scaling a value down where that
1055 could result in underflow.
1056 * math/s_clog10.c (__clog10): Likewise.
1057 * math/s_clog10f.c (__clog10f): Likewise.
1058 * math/s_clog10l.c (__clog10l): Likewise.
1059 * math/s_clogf.c (__clogf): Likewise.
1060 * math/s_clogl.c (__clogl): Likewise.
1061 * math/libm-test.inc (clog_test): Add more tests.
1062 (clog10_test): Likewise.
1063 * sysdeps/i386/fpu/libm-test-ulps: Update.
1064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1065
261f4859
AS
10662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1067
0abaf3e4
AS
1068 [BZ #14283]
1069 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1070 by 7 not 8 to examine high bit of fractional part.
1071
261f4859
AS
1072 [BZ #14042]
1073 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1074 for call to __mcount_internal.
1075 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1076 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1077 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1078
f17ac40d
JM
10792012-07-06 Joseph Myers <joseph@codesourcery.com>
1080
9ad63c23
JM
1081 [BZ #14154]
1082 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1083 approximation for values within 0x1p-13f of an odd multiple of
1084 pi/4.
1085 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1086 exception. Add more tests.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088
f17ac40d
JM
1089 [BZ #6778]
1090 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1091 inputs and return -1 for them. Do not check for +Inf in case not
1092 reachable for +Inf.
1093 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1094 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1095 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1096 and return -1 for them. Do not check for +Inf in case not
1097 reachable for +Inf.
1098 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1099 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1104 spurious underflow.
1105 * sysdeps/i386/fpu/libm-test-ulps: Update.
1106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1107
fb21f89b
MF
11082012-07-06 Mike Frysinger <vapier@gentoo.org>
1109
1110 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1111
cdfe2c5e
JM
11122012-07-05 Joseph Myers <joseph@codesourcery.com>
1113
1114 [BZ #14157]
1115 [BZ #14331]
1116 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1117 could result in spurious underflow. Scale down values above
1118 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1119 * math/s_csqrtf.c (__csqrtf): Likewise.
1120 * math/s_csqrtl.c (__csqrtl): Likewise.
1121 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1122 spurious underflow.
1123 * sysdeps/i386/fpu/libm-test-ulps: Update.
1124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1125
70d35b67
AS
11262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1127
704bc459
AS
1128 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1129 xopen-msg.sed.
1130 * catgets/xopen-msg.awk: New file.
1131 * catgets/xopen-msg.sed: Removed.
1132
70d35b67
AS
1133 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1134 po2text.sed.
1135 * intl/po2test.awk: New file.
1136 * intl/po2test.sed: Removed.
1137
ca61cf32
JM
11382012-07-04 Joseph Myers <joseph@codesourcery.com>
1139
1140 [BZ #14328]
1141 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1142 or multiply small sinh result by itself.
1143 * math/s_ctanf.c (__ctanf): Likewise.
1144 * math/s_ctanh.c (__ctanh): Likewise.
1145 * math/s_ctanhf.c (__ctanhf): Likewise.
1146 * math/s_ctanhl.c (__ctanhl): Likewise.
1147 * math/s_ctanl.c (__ctanl): Likewise.
1148 * math/libm-test.inc (ctan_test_tonearest): New function.
1149 (ctan_test_towardzero): Likewise.
1150 (ctan_test_downward): Likewise.
1151 (ctan_test_upward): Likewise.
1152 (ctanh_test_tonearest): Likewise.
1153 (ctanh_test_towardzero): Likewise.
1154 (ctanh_test_downward): Likewise.
1155 (ctanh_test_upward): Likewise.
1156 (main): Call these new functions.
1157 * sysdeps/i386/fpu/libm-test-ulps: Update.
1158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1159
ca48a46a
MF
11602012-07-03 Mike Frysinger <vapier@gentoo.org>
1161
1162 * .gitignore: Delete /ports entry.
1163
9d63d37d
AJ
11642012-07-03 Andreas Jaeger <aj@suse.de>
1165
1166 * po/bg.po: Update from translation team.
1167 * po/cs.po: Likewise.
1168 * po/de.po: Likewise.
1169 * po/hr.po: Likewise.
1170 * po/nl.pl: Likewise.
1171 * po/pl.po: Likewise.
1172 * po/vi.po: Likewise.
1173
370ca3d2
JM
11742012-07-03 Joseph Myers <joseph@codesourcery.com>
1175
95f5a9a8
JM
1176 * Makeconfig [!+link] (+link-before-libc): New variable.
1177 [!+link] (+link-after-libc): Likewise.
1178 [!+link] (+link-tests): Likewise.
1179 [!+link] (+link): Define in terms of $(+link-before-libc) and
1180 $(+link-after-libc).
1181 [!+link-static] (+link-static-before-libc): New variable.
1182 [!+link-static] (+link-static-after-libc): Likewise.
1183 [!+link-static] (+link-static-tests): Likewise.
1184 [!+link-static] (+link-static): Define in terms of
1185 $(+link-static-before-libc) and $(+link-static-after-libc).
1186 [build-shared] (link-libc-before-gnulib): New variable.
1187 [build-shared] (link-libc-tests): Likewise.
1188 [build-shared] (link-libc): Define in terms of
1189 $(link-libc-before-gnulib).
1190 [!build-shared] (link-libc-tests): New variable.
1191 (link-libc-static-tests): New variable.
1192 [!gnulib] (gnulib-arch): New variable.
1193 [!gnulib] (gnulib-tests): Likewise.
1194 [!gnulib] (static-gnulib-arch): Likewise.
1195 [!gnulib] (static-gnulib-tests): Likewise.
1196 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1197 Define with "=" instead of ":=".
1198 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1199 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1200 * Rules (binaries-all-notests): New variable.
1201 (binaries-all-tests): Likewise.
1202 (binaries-static-notests): Likewise.
1203 (binaries-static-tests): Likewise.
1204 (binaries-all): Define using $(binaries-all-notests) and
1205 $(binaries-all-tests).
1206 (binaries-static): Define using $(binaries-static-notests) and
1207 $(binaries-static-tests).
1208 (binaries-shared-tests): New variable.
1209 (binaries-shared-notests): Likewise.
1210 (binaries-shared): Remove variable.
1211 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1212 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1213 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1214 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1215 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1216 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1217 * elf/Makefile (sln-modules): New variable.
1218 (extra-objs): Add $(sln-modules:=.o).
1219 (ldconfig-modules): Add static-stubs.
1220 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1221 * elf/static-stubs.c: New file.
1222
7a845b2c
JM
1223 [BZ #14283]
1224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1225 by 7 not 8 to examine high bit of fractional part. Use volatile
1226 variables when splitting into final array of floats if
1227 __FLT_EVAL_METHOD__ != 0.
1228 * math/libm-test.inc (cos_test): Add another test.
1229 (sin_test): Likewise.
1230 * sysdeps/i386/fpu/libm-test-ulps: Update.
1231
e2283f38
JM
1232 [BZ #14273]
1233 * math/libm-test.inc (cosh_test): Add more tests.
1234
370ca3d2
JM
1235 * version.h (RELEASE): Set to "development".
1236 (VERSION): Set to "2.16.90".
1237
ee9247c3
CD
12382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1239
1240 * NEWS: Update copyright. Remove last-updated date.
1241 Mention math library bug fixes and timezone data changes.
1242 * README: Mention GNU/Hurd, x32, and HPPA support status.
1243
4648c381
TS
12442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1245
1246 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1247
aac78a43
AJ
12482012-06-27 Andreas Jaeger <aj@suse.de>
1249
1250 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1251
ed3dbfad
AJ
12522012-06-25 Andreas Jaeger <aj@suse.de>
1253
1254 * sysdeps/s390/fpu/libm-test-ulps: Update.
1255
4d0ee855
AS
12562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1257 Thomas Schwinge <thomas@codesourcery.com>
1258
1259 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1260 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1261 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1262 fanotify_mark.
1263
af1bce34
TS
12642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1265
a9fa33ba
TS
1266 * sysdeps/mach/start.c: Remove file.
1267 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1268 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1269 * sysdeps/sh/init-first.c: Likewise.
1270
58f902b8
TS
1271 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1272 registers for frame unwinding purposes, add CFI directives.
1273 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1274 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1275 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1276 Likewise.
1277
1518f58b
TS
1278 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1279 __fortify_fail returning.
1280 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1281
db9b5059
TS
1282 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1283 sysdeps/sh/____longjmp_chk.S.
1284 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1285 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1286 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1287 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1288
967705fe
TS
1289 * sysdeps/sh/abort-instr.h: New file.
1290 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1291 process in case exit returns.
1292
a9def8c4
TS
1293 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1294 initialize the GOT register before use.
1295
2a649725
TS
1296 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1297 calculation of ARGC > 4.
1298
af1bce34
TS
1299 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1300 meaningful names to some local labels.
1301
d230f50a
KK
13022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1303 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1304
1305 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1306 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1307 (__arch_compare_and_exchange_val_16_acq): Likewise.
1308 (__arch_compare_and_exchange_val_32_acq): Likewise.
1309 (atomic_exchange_and_add): Fix gUSA sequence.
1310 (atomic_add): Likewise.
1311 (atomic_add_negative): Likewise.
1312 (atomic_add_zero): Likewise.
1313 (atomic_bit_test_set): Likewise.
1314
0479b305
AS
13152012-06-22 Andreas Schwab <schwab@redhat.com>
1316
1317 [BZ #13579]
1318 * include/link.h (struct link_map): Add l_free_initfini.
1319 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1320 l_initfini.
1321 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1322 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1323 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1324 set.
1325
0e3933b9
CD
13262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1327
1328 * configure.in: Use AC_LANG_SOURCE.
1329 * configure: Regenerate.
1330
4248b1b1
RM
13312012-06-22 Roland McGrath <roland@hack.frob.com>
1332
1333 * configure.in (libc_cv_localstatedir): New substituted variable.
1334 * configure: Regenerated.
1335 * config.make.in (localstatedir): New variable, substituted from
1336 libc_cv_localstatedir.
1337 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1338 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1339 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1340 * sysdeps/gnu/configure: Regenerated.
1341
006dd861
JL
13422012-06-21 Jeff Law <law@redhat.com>
1343
1344 [BZ #14277]
1345 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1346 free. Simplify list management for _LIBC case.
1347
79662d42
JM
13482012-06-21 Joseph Myers <joseph@codesourcery.com>
1349
b7abb4bf
JM
1350 [BZ #14273]
1351 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1352 Clear sign bit of 64-bit integer value before comparing against
1353 overflow value.
1354
79662d42
JM
1355 * sysdeps/mach/configure: Regenerated.
1356
1f150908
L
13572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1358
1359 [BZ #14278]
1360 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1361
28363bbf
JL
13622012-06-21 Jeff Law <law@redhat.com>
1363
1364 [BZ #13882]
1365 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1366 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1368 * elf/dl-open.c (dl_open_worker): Likewise.
1369
09615db4
CD
13702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1371
1372 * scripts/list-sources.sh: Scan PORTS for translations.
1373 * po/libc.pot: Regenerated.
1374
2174c6dd
AJ
13752012-06-21 Andreas Jaeger <aj@suse.de>
1376
1377 [BZ #12194]
1378 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1379 warning.
1380 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1381 * bits/byteswap-16.h (__bswap_16): Likewise.
1382 * bits/byteswap.h (__bswap_constant_16): Likewise.
1383
3ee947b1
L
13842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 [BZ #14117]
a2f34833
L
1387 * sysdeps/i386/fpu_control.h: Removed.
1388 * sysdeps/x86_64/fpu_control.h: Moved to ...
1389 * sysdeps/x86/fpu_control.h: Here.
1390
3ee947b1
L
1391 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1392 (_FPU_SETCW): Likewise.
1393
ed1825f8
L
13942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1395
25f1282a
L
1396 [BZ #14117]
1397 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1398 * sysdeps/x86/fpu/bits/mathinline.h: This.
1399 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1400
ed1825f8
L
1401 [BZ #14050]
1402 [BZ #14117]
1403 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1404 functions if __x86_64__ is defined.
1405
36d54b74
CLT
14062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1407
1408 * string/endian.h: Add !__ASSEMBLER__ condition for including
1409 conversion interfaces.
1410
10285c21
JM
14112012-06-15 Joseph Myers <joseph@codesourcery.com>
1412
1413 [BZ #14241]
1414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1415 of ABS(x) in calculating zero to negative powers other than odd
1416 integers.
1417 * math/libm-test.inc (pow_test): Add more tests.
1418
06c5abbd
AJ
14192012-06-15 Andreas Jaeger <aj@suse.de>
1420
1421 * manual/contrib.texi (Contributors): Update entry of Liubov
1422 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1423 Machado Filho.
1424
a3aeac40
CH
14252012-06-15 Cyril Hrubis <metan@ucw.cz>
1426
1427 * string/string.h: Add __wur to GNU version of strerror_r.
1428
49bdf4c1
L
14292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1430
1431 [BZ #14229]
1432 * string/Makefile (tests): Add tst-strtok_r.
1433 * string/tst-strtok_r.c: New file.
1434 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1435 RAX_LP/RDX_LP on SAVE_PTR.
1436
834f9b8d
RM
14372012-06-14 Roland McGrath <roland@hack.frob.com>
1438
1439 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1440
75fa1921
JM
14412012-06-14 Joseph Myers <joseph@codesourcery.com>
1442
1443 * libm_test.inc (csqrt_test): Allow more spurious underflow
1444 exceptions.
1445 (j0_test): Likewise.
1446 (j1_test): Likewise.
1447 (y0_test): Likewise.
1448 (y1_test): Likewise.
1449
771766df
CD
14502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1451
1452 * po/Makefile (libc.pot): Use UTF-8 charset.
1453
ceb9e56b
PP
14542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1455
1456 [BZ #14210]
1457 Suppress sign-conversion warning from FD_SET.
1458 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1459 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1460 not unsigned long int.
1461 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1462
ddb28975
L
14632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 [BZ #14050]
1466 [BZ #14117]
1467 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1468 __extern_always_inline instead of __extern_inline.
1469 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1470 (__signbit): Likewise.
1471 (__signbitl): Support C++ namespace.
1472 (lrintf): New inline function.
1473 (lrint): Likewise.
1474 (llrintf): Likewise.
1475 (llrint): Likewise.
1476 (fmaxf): Likewise.
1477 (fmax): Likewise.
1478 (fminf): Likewise.
1479 (fmin): Likewise.
1480 (rint): Likewise.
1481 (rintf): Likewise.
1482 (ceil): Likewise.
1483 (ceilf): Likewise.
1484 (floor): Likewise.
1485 (floorf): Likewise.
1486 (nearbyint): Likewise.
1487 (nearbyintf): Likewise.
1488
d7b4fb26
TS
14892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1490
1491 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1492 non-default versions.
1493
eb55f5c2
RM
14942012-06-11 Roland McGrath <roland@hack.frob.com>
1495
1496 [BZ #14218]
1497 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1498
366af02c
TS
14992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1500
99ff6e5c
TS
1501 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1502 (FE_UPWARD, FE_DOWNWARD): Don't define.
1503 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1504 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1505
366af02c
TS
1506 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1507 reading it.
1508 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1509 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1510
793ea851
KK
15112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1512
1513 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1515 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1517
a728a38f
L
15182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1519
1520 [BZ #14117]
c08010c7
L
1521 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1522 * sysdeps/i386/fpu/Implies: New file.
1523 * sysdeps/x86_64/fpu/Implies: Likewise.
1524 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1525 * sysdeps/x86/fpu/bits/fenv.h: This.
1526
a728a38f
L
1527 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1528 __SSE_MATH__.
1529
6e230d11
SP
15302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1531
1532 [BZ #14134]
1533 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1534 character 0xffff that matches the last element of the
1535 conversion table.
1536
1b671feb
AZ
15372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1538
1539 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1540 fmodl commit.
1541
6043738b
AZ
15422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1543
1544 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1545 values higher than 25.6283.
1546
34ae0b32
AZ
15472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1548
1549 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1550 subnormal exponent extraction and add some __builtin_expect.
1551 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1552 Fix for subnormal mantissa calculation.
1553
1214ec8f
MF
15542012-06-04 Mike Frysinger <vapier@gentoo.org>
1555
1556 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1557 cpu2 is -1 and errno is not ENOSYS.
1558
f3d1f93c
L
15592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 [BZ #14117]
0e4a3cd7
L
1562 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1563 * sysdeps/x86/bits/string.h: This.
1564 * sysdeps/x86_64/bits/string.h: Removed.
1565
6704c645
L
1566 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1567 if not compiling for x86-64, but compiling for >= i486.
1568
48495318
L
1569 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1570 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1571
14adcbfc
L
1572 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1573 New macro from Linux kernel 3.4.0.
1574 (FP_XSTATE_MAGIC2): Likewise.
1575 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1576 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1577 (struct _fpx_sw_bytes): New struct.
1578 (struct _xsave_hdr): Likewise.
1579 (struct _ymmh_state): Likewise.
1580 (struct _xstate): Likewise.
1581
68e408ab
L
1582 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1583 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1585 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1587 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1588
f3d1f93c
L
1589 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1590 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1591 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1592 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1593 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1594 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1595
d9dc34cd
TMQMF
15962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1597
1598 [BZ #13743]
1599 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1600 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1601 (sysdep_headers): Include sys/platform/ppc.h.
1602 * sysdeps/powerpc/test-gettimebase.c: Test for
1603 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1604 * manual/Makefile (appendices): Include platform.texi.
1605 * manual/contrib.texi (Contributors): Update @node pointers.
1606 * manual/maint.texi (Maintenance): Likewise.
1607 (Platform): New node.
1608 * manual/platform.texi: New file. Document the new features.
1609
4af3879c
SP
16102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1611 Jakub Jelinek <jakub@redhat.com>
1612
1613 [BZ #14188]
1614 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1615 where __builtin_expect is unavailable.
1616
2fd6ff13
DM
16172012-06-03 David S. Miller <davem@davemloft.net>
1618
1619 * stdlib/longlong.h: Updated from GCC.
1620
173f7220
AS
16212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1622
1623 [BZ #14042]
1624 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1625 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1626 __mcount_internal.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1628 (GLIBC_2.16): Likewise.
1629
f34a1c6f
L
16302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1631
1632 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1633
88a4576f
JM
16342012-06-01 Joseph Myers <joseph@codesourcery.com>
1635
ea32bcdd
JM
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1637 (default-abi): New variable.
1638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1639 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1640 variable.
1641 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1642 Likewise.
1643 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1644 Likewise.
1645 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1646 Likewise.
1647
88a4576f
JM
1648 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1649 definition. Document in comment.
1650
402fe938
DM
16512012-06-01 David S. Miller <davem@davemloft.net>
1652
1653 * stdlib/longlong.h: Updated from GCC.
1654
3553723f
L
16552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 [BZ #14117]
3bd872c4
L
1658 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1659 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1660 sys/debugreg.h sys/io.h here.
1661 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1662 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1663 sys/io.h.
1664 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1665 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1666 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1667 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1668 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1669 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1670
3553723f
L
1671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1672 Define only if __x86_64__ is defined.
1673
4842e4fe
JM
16742012-06-01 Joseph Myers <joseph@codesourcery.com>
1675
c5bfe3d5
JM
1676 [BZ #14048]
1677 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1678 Use int64_t for variable i.
1679 * math/libm-test.inc (fmod_test): Add more tests.
1680
4842e4fe
JM
1681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1682 z computation is not scheduled after fetestexcept.
1683 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1684 Use math_force_eval instead of asm to ensure calculation scheduled
1685 before exception test.
1686 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1687 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1688
efb73488
AJ
16892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1690
1691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1692 computation is not scheduled after fetestexcept.
1693
29bcce7c
L
16942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1695
1696 [BZ #14117]
1697 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1698 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1699
73a68f94
AZ
17002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1701
1702 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1703 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1704
67b6df78
L
17052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1706
edf2933a 1707 [BZ #14117]
ebc64a18
L
1708 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1709 <bits/wordsize.h>.
1710 (__WCHAR_MIN): Support __WORDSIZE == 64.
1711 (__WCHAR_MAX): Likewise.
1712
edf2933a
L
1713 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1714 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1715
57c6cf40
L
1716 [BZ #14183]
1717 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1718 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1719
67b6df78 1720 [BZ #14117]
8eb6281e
L
1721 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1722 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1723
aac639f4
L
1724 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1725 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1726
67b6df78
L
1727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1728 Defined to 1 if __x86_64__ isn't defined.
1729 (_STAT_VER_LINUX_OLD): New.
1730 (st_atime): Remove duplicate.
1731 (st_mtime): Likewise.
1732 (st_ctime): Likewise.
1733
1c2cfe81
DM
17342012-05-31 David S. Miller <davem@davemloft.net>
1735
1736 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1737 entries.
1738
5be8418c
AS
17392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1740
e7725326
AS
1741 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1742 gen-libm-test.pl.
1743
5be8418c
AS
1744 [BZ #14132]
1745 * elf/dl-reloc.c: Include <_itoa.h>.
1746 (_dl_reloc_bad_type): Remove use of INTUSE.
1747 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1748 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1749 * stdio-common/psiginfo.c (psiginfo): Likewise.
1750 * stdio-common/psignal.c (psignal): Likewise.
1751 * string/strsignal.c (strsignal): Likewise.
1752 * include/signal.h (_sys_siglist): Declare hidden proto.
1753 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1754 INTVARDEF with libc_hidden_data_def.
1755 * stdio-common/itoa-udigits.c: Likewise.
1756 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1757 (_itoa_lower_digits_internal): Remove declaration.
1758 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1759 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1760 (_sys_sigabbrev_internal): Remove aliases.
1761 (_sys_siglist): Define hidden alias.
1762
507352f1
MT
17632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1764
1765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1766 bits/sysctl.h.
1767
42bbb1c3
L
17682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1769
1770 [BZ #14117]
6bd784b6
L
1771 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1772 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1773
8bca20f0
L
1774 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1775 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1776 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1777 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1778 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1779 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1780
f9e890a9
L
1781 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1782 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1783 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1784
471101a1
L
1785 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1786 with __addr.
1787 (insw): Likewise.
1788 (insl): Likewise.
1789 (outsb): Likewise.
1790 (outsw): Likewise.
1791 (outsl): Likewise.
1792
6451c862
L
1793 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1795 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1796
a254b8c9
L
1797 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1798 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1800 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1801 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1802 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1803
b8dfdd92
L
1804 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1805 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1806
578cd270
L
1807 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1808 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1809
de662f5f
L
1810 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1812 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1813
25653439
L
1814 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1815 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1816 to ...
1817 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1818
6bad24a0
L
1819 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1820 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1821 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1822
42bbb1c3
L
1823 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1824 for x86-64.
1825 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1826
2d10d547
JM
18272012-05-31 Joseph Myers <joseph@codesourcery.com>
1828
1829 * math/math.h (M_El): Use two more decimal places.
1830 (M_LOG2El): Likewise.
1831 (M_LOG10El): Likewise.
1832 (M_LN2l): Likewise.
1833 (M_LN10l): Likewise.
1834 (M_PIl): Likewise.
1835 (M_PI_2l): Likewise.
1836 (M_PI_4l): Likewise.
1837 (M_1_PIl): Likewise.
1838 (M_2_PIl): Likewise.
1839 (M_2_SQRTPIl): Likewise.
1840 (M_SQRT2l): Likewise.
1841 (M_SQRT1_2l): Likewise.
1842
f230c29b
DM
18432012-05-31 David S. Miller <davem@davemloft.net>
1844
1845 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1846 values between float registers.
1847 * sysdeps/sparc/sparc64/memset.S: Likewise.
1848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1849
fed806c3
MF
18502012-05-31 Mike Frysinger <vapier@gentoo.org>
1851
1852 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1853 -D_FORTIFY_SOURCE=1.
1854 (CPPFLAGS-tst-longjmp_chk.c): Define.
1855 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1856 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1857 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1858 CFLAGS-tst-wchar-h.c.
1859
30917259
MP
18602012-05-31 Marek Polacek <polacek@redhat.com>
1861
1862 [BZ #14132]
1863 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1864 __endmntent_internal): Remove declaration.
1865 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1866 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1867 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1868
1c58d5dc
DM
18692012-05-30 David S. Miller <davem@davemloft.net>
1870
1871 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1872 (___Q_simulate_exceptions): Use real FP ops rather than writing
1873 into the %fsr.
1874 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1875 Likewise.
1876
7dc00e0d
L
18772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1878
1879 [BZ #14117]
0bd53985
L
1880 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1881 * sysdeps/x86/bits/xtitypes.h: This.
1882
3a257e66
L
1883 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1884 * sysdeps/x86/bits/wordsize.h: This.
1885
62f62904
L
1886 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1887 * sysdeps/x86/bits/huge_vall.h: This.
1888
404fe9d9
L
1889 * sysdeps/i386/bits/select.h: Removed.
1890 * sysdeps/x86_64/bits/select.h: Renamed to ...
1891 * sysdeps/x86/bits/select.h: This.
1892
d48d0446
L
1893 * sysdeps/i386/bits/setjmp.h: Removed.
1894 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1895 * sysdeps/x86/bits/setjmp.h: This.
1896
7dc00e0d
L
1897 * sysdeps/i386/bits/mathdef.h: Removed.
1898 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1899 * sysdeps/x86/bits/mathdef.h: This.
1900
03277f8f
AS
19012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1902
1903 [BZ #14132]
1904 * include/sys/socket.h (__connect_internal)
1905 (__libc_sa_len_internal): Remove declaration.
1906 (__connect, __libc_sa_len): Declare hidden_proto.
1907 (SA_LEN): Remove use of INTUSE.
1908 * socket/connect.c: Add libc_hidden_def.
1909 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1910 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1911 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1912 alias.
1913 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1915 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1916 of adding _internal alias.
1917
13764867
L
19182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 [BZ #14117]
6bd97696
L
1921 * sysdeps/i386/bits/link.h: Removed.
1922 * sysdeps/i386/bits/linkmap.h: Likewise.
1923 * sysdeps/x86_64/bits/link.h: Renamed to ...
1924 * sysdeps/x86/bits/link.h: This.
1925 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1926 * sysdeps/x86/bits/linkmap.h: This.
1927
f726f0bb
L
1928 * sysdeps/i386/bits/endian.h: Removed.
1929 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1930 * sysdeps/x86/bits/endian.h: This.
1931
13764867
L
1932 * sysdeps/i386/bits/byteswap.h: Removed.
1933 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1934 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1935 * sysdeps/x86/bits/byteswap.h: This.
1936 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1937 * sysdeps/x86/bits/byteswap-16.h: This.
1938 * sysdeps/i386/Implies: Add x86.
1939 * sysdeps/x86_64/Implies: Likewise.
1940
ae251b0b
DM
19412012-05-30 David S. Miller <davem@davemloft.net>
1942
1943 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1944 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1946 (FP_TRAPPING_EXCEPTIONS): Define.
1947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1948 (FP_TRAPPING_EXCEPTIONS): Define.
1949 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1950 subnormals only when inexact has been signalled or underflow
1951 exceptions are enabled.
1952 (_FP_PACK_CANONICAL): Likewise.
1953
d5c90867
L
19542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 [BZ #14183]
1957 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1958 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1959
63f1549e
RH
19602012-05-30 Richard Henderson <rth@twiddle.net>
1961
8d8f2279
RH
1962 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1963 with #ifndef NOT_IN_libc.
1964
63f1549e
RH
1965 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1966 marked to avoid plt entry.
1967
0ab0291b
L
19682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1969
1970 [BZ #14112]
1971 * Makeconfig (default-abi): New macro.
1972 (abi-includes): Likewise.
1973 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1974 $(abi-$(default-abi)-lib-soname) for soname if defined.
1975 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1976 abi-variants.
1977 * Makefile (installed-stubs): Likewise.
1978 * include/stubs-biarch.h: Removed.
1979 * scripts/lib-names.awk: Only handle one library at a time.
1980 * scripts/soversions.awk: Remove WORDSIZE support.
1981 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1982 entries.
1983 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1984 Removed.
1985 (syscall-list-default-condition): Likewise.
1986 (syscall-list-default-condition): Likewise.
1987 (syscall-list-includes): Likewise.
1988 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1989 syscall-list-* with abi-*. Handle undefined abi-variants.
1990 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1991 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1992 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1993 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1994 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1995 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1996 Removed.
1997 (syscall-list-32-options): Likewise.
1998 (syscall-list-32-condition): Likewise.
1999 (syscall-list-64-options): Likewise.
2000 (syscall-list-64-condition): Likewise.
2001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
2002 macro.
2003 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
2004 Renamed to ...
2005 (abi-*): This.
2006 (abi-64-ld-soname): New macro.
2007 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2008 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
2009 Renamed to ...
2010 (abi-*): This.
2011 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
2012 * sysdeps/x86_64/x32/shlib-versions: Likewise.
2013
4da0431d
JM
20142012-05-30 Joseph Myers <joseph@codesourcery.com>
2015
3a85279c
JM
2016 * sysdeps/unix/sysv/linux/kernel-features.h
2017 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
2018 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
2019 include <kernel-features.h>.
2020 [!__NR_ftruncate64]: Remove conditional code.
2021 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2022 [__NR_ftruncate64]: Make code unconditional.
2023 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2024 * sysdeps/unix/sysv/linux/truncate64.c: Do not
2025 include <kernel-features.h>.
2026 [!__NR_ftruncate64]: Remove conditional code.
2027 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2028 [__NR_ftruncate64]: Make code unconditional.
2029 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
2031 include <kernel-features.h>.
2032 [!__NR_ftruncate64]: Remove conditional code.
2033 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2034 [__NR_ftruncate64]: Make code unconditional.
2035 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2037 include <kernel-features.h>.
2038 [!__NR_ftruncate64]: Remove conditional code.
2039 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2040 [__NR_ftruncate64]: Make code unconditional.
2041 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2042
4da0431d
JM
2043 * configure.in (libc_cv_fpie): Weaken to a compile test using
2044 LIBC_TRY_CC_OPTION.
2045 * configure: Regenerated.
2046
11ef492c
AK
20472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2048
2049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2053 Refreshed.
2054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2060 Refreshed.
2061
d66ef399
DM
20622012-05-27 David S. Miller <davem@davemloft.net>
2063
2064 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2065 (___Q_zero): New.
2066 (__Q_simulate_exceptions): Return void. Change to simulate
2067 exceptions by writing into the %fsr.
2068 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2069 (__Qp_handle_exceptions): Likewise.
2070 (numbers): Delete.
2071 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2072 __Qp_handle_exceptions.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2074 __Qp_handle_exceptions.
2075 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2076 as unused and give dummy FP_RND_NEAREST initializer.
2077 (FP_INHIBIT_RESULTS): Define.
2078 (___Q_simulate_exceptions): Update declaration.
2079 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2080 formatting.
2081 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2082 as unused and give dummy FP_RND_NEAREST initializer.
2083 (__Qp_handle_exceptions): Update declaration.
2084 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2085 formatting.
2086
04fb54b5
TS
20872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2088
2089 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2090 the temporary FPU control word.
2091 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2092 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2093 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2094 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2095 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2096 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2097 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2098 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2099 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2100 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2101 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2102
3f99608f
KK
21032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2104
2105 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2106 fields.
2107
65a4de4e
CLT
21082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2109
2110 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2111 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2112 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2113 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2114 Likewise.
2115 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2116 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2117 Likewise.
2118
15749d40
UD
21192012-05-27 Ulrich Drepper <drepper@gmail.com>
2120
2121 * po/h.po: Update from translation team.
2122
25dbcb27
AS
21232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2124
3d3f8e55
AS
2125 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2126
25dbcb27
AS
2127 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2128 handling of denormals.
2129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2130 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2131 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2132 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2136 Likewise.
2137
7ad47a80 21382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2139
2140 [BZ #14152]
2141 * math/libm-test.inc (fma_test): Don't always expect underflow
2142 exception.
2143
9c6ea9fa
SP
21442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2145
2146 [BZ #12416]
2147 * elf/tst-execstack.c: Include stackinfo.h.
2148 (do_test): Adjust test case to ensure that pthread_getattr_np
2149 behaviour remains the same after marking stack executable.
2150
a8239222
JM
21512012-05-25 Joseph Myers <joseph@codesourcery.com>
2152
2153 * sysdeps/unix/sysv/linux/kernel-features.h
2154 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2155 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2156 kernel-features.h.
2157 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2158 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2159 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2160 kernel-features.h.
2161 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2162 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2163
918b5606
L
21642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2165
2166 * configure.in: Define the default includes to being none.
2167 * configure: Regenerated.
2168
3a097cc7
RM
21692012-05-25 Roland McGrath <roland@hack.frob.com>
2170
8422c9a5
RM
2171 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2172 * sysdeps/x86_64/setjmp.S: Likewise.
2173 * sysdeps/i386/bsd-setjmp.S: Likewise.
2174 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2175 * sysdeps/i386/setjmp.S: Likewise.
2176 * sysdeps/i386/__longjmp.S: Likewise.
2177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2178 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2179
3a097cc7
RM
2180 * include/stap-probe.h: New file.
2181 * configure.in: Handle --enable-systemtap.
2182 * configure: Regenerated.
2183 * config.h.in (USE_STAP_PROBE): New #undef.
2184 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2185 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2186 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2187
21708942
JM
21882012-05-25 Joseph Myers <joseph@codesourcery.com>
2189
2190 [BZ #13717]
2191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2192 to 2.4.0 where earlier.
2193 * sysdeps/unix/sysv/linux/configure: Regenerated.
2194 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2195 <kernel-features.h>.
2196 [__ASSUME_32BITUIDS]: Make code unconditional.
2197 [!__ASSUME_32BITUIDS]: Remove conditional code.
2198 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2199 <kernel-features.h>.
2200 [__ASSUME_32BITUIDS]: Make code unconditional.
2201 [!__ASSUME_32BITUIDS]: Remove conditional code.
2202 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2203 [__ASSUME_32BITUIDS]: Make code unconditional.
2204 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2205 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2206 <kernel-features.h>.
2207 [__ASSUME_32BITUIDS]: Make code unconditional.
2208 [!__ASSUME_32BITUIDS]: Remove conditional code.
2209 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2210 <kernel-features.h>.
2211 [__ASSUME_32BITUIDS]: Make code unconditional.
2212 [!__ASSUME_32BITUIDS]: Remove conditional code.
2213 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2214 <kernel-features.h>.
2215 [__ASSUME_32BITUIDS]: Make code unconditional.
2216 [!__ASSUME_32BITUIDS]: Remove conditional code.
2217 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2218 <kernel-features.h>.
2219 [__ASSUME_32BITUIDS]: Make code unconditional.
2220 [!__ASSUME_32BITUIDS]: Remove conditional code.
2221 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2222 <kernel-features.h>.
2223 [__ASSUME_32BITUIDS]: Make code unconditional.
2224 [!__ASSUME_32BITUIDS]: Remove conditional code.
2225 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2226 <kernel-features.h>.
2227 [__ASSUME_32BITUIDS]: Make code unconditional.
2228 [!__ASSUME_32BITUIDS]: Remove conditional code.
2229 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2230 <kernel-features.h>.
2231 [__ASSUME_32BITUIDS]: Make code unconditional.
2232 [!__ASSUME_32BITUIDS]: Remove conditional code.
2233 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2234 <kernel-features.h>.
2235 [__ASSUME_32BITUIDS]: Make code unconditional.
2236 [!__ASSUME_32BITUIDS]: Remove conditional code.
2237 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2238 <kernel-features.h>.
2239 [__ASSUME_32BITUIDS]: Make code unconditional.
2240 [!__ASSUME_32BITUIDS]: Remove conditional code.
2241 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2242 <kernel-features.h>.
2243 [__ASSUME_32BITUIDS]: Make code unconditional.
2244 [!__ASSUME_32BITUIDS]: Remove conditional code.
2245 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2246 <kernel-features.h>.
2247 [__NR_setresgid] (__setresgid): Do not declare.
2248 [__ASSUME_32BITUIDS]: Make code unconditional.
2249 [!__ASSUME_32BITUIDS]: Remove conditional code.
2250 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2251 <kernel-features.h>.
2252 [__NR_setresuid] (__setresuid): Do not declare.
2253 [__ASSUME_32BITUIDS]: Make code unconditional.
2254 [!__ASSUME_32BITUIDS]: Remove conditional code.
2255 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2256 <kernel-features.h>.
2257 [__ASSUME_32BITUIDS]: Make code unconditional.
2258 [!__ASSUME_32BITUIDS]: Remove conditional code.
2259 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2260 <kernel-features.h>.
2261 [__ASSUME_32BITUIDS]: Make code unconditional.
2262 [!__ASSUME_32BITUIDS]: Remove conditional code.
2263 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2264 <kernel-features.h>.
2265 [__ASSUME_32BITUIDS]: Make code unconditional.
2266 [!__ASSUME_32BITUIDS]: Remove conditional code.
2267 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2268 <kernel-features.h>.
2269 [__ASSUME_32BITUIDS]: Make code unconditional.
2270 [!__ASSUME_32BITUIDS]: Remove conditional code.
2271 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2272 <kernel-features.h>.
2273 [__ASSUME_32BITUIDS]: Make code unconditional.
2274 [!__ASSUME_32BITUIDS]: Remove conditional code.
2275 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2276 <kernel-features.h>.
2277 [__ASSUME_32BITUIDS]: Make code unconditional.
2278 [!__ASSUME_32BITUIDS]: Remove conditional code.
2279 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2280 <kernel-features.h>.
2281 [__ASSUME_32BITUIDS]: Make code unconditional.
2282 [!__ASSUME_32BITUIDS]: Remove conditional code.
2283 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2284 <kernel-features.h>.
2285 [__ASSUME_32BITUIDS]: Make code unconditional.
2286 [!__ASSUME_32BITUIDS]: Remove conditional code.
2287 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2288 <kernel-features.h>.
2289 [__ASSUME_32BITUIDS]: Make code unconditional.
2290 [!__ASSUME_32BITUIDS]: Remove conditional code.
2291 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2292 <kernel-features.h>.
2293 [__ASSUME_32BITUIDS]: Make code unconditional.
2294 [!__ASSUME_32BITUIDS]: Remove conditional code.
2295 * sysdeps/unix/sysv/linux/kernel-features.h
2296 (__ASSUME_SETRESUID_SYSCALL): Remove.
2297 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2298 (__ASSUME_32BITUIDS): Likewise.
2299 (__ASSUME_LDT_WORKS): Likewise.
2300 (__ASSUME_O_DIRECTORY): Likewise.
2301 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2302 architecture but not kernel version.
2303 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2304 (__ASSUME_MMAP2_SYSCALL): Likewise.
2305 (__ASSUME_STAT64_SYSCALL): Likewise.
2306 (__ASSUME_IPC64): Likewise.
2307 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2308 <kernel-features.h>.
2309 [__ASSUME_32BITUIDS]: Make code unconditional.
2310 [!__ASSUME_32BITUIDS]: Remove conditional code.
2311 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2312 <kernel-features.h>.
2313 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2314 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2315 132096]: Remove conditional code.
2316 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2317 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2318 <kernel-features.h>.
2319 [__ASSUME_32BITUIDS]: Make code unconditional.
2320 [!__ASSUME_32BITUIDS]: Remove conditional code.
2321 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2322 <kernel-features.h>.
2323 [__ASSUME_32BITUIDS]: Make code unconditional.
2324 [!__ASSUME_32BITUIDS]: Remove conditional code.
2325 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2326 <kernel-features.h>.
2327 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2328 unconditional.
2329 (__setresgid): Do not declare.
2330 [__ASSUME_32BITUIDS]: Make code unconditional.
2331 [!__ASSUME_32BITUIDS]: Remove conditional code.
2332 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2333 <kernel-features.h>.
2334 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2335 unconditional.
2336 (__setresuid): Do not declare.
2337 [__ASSUME_32BITUIDS]: Make code unconditional.
2338 [!__ASSUME_32BITUIDS]: Remove conditional code.
2339 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2340 <kernel-features.h>.
2341 [__ASSUME_32BITUIDS]: Make code unconditional.
2342 [!__ASSUME_32BITUIDS]: Remove conditional code.
2343 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2344 <kernel-features.h>.
2345 [__ASSUME_32BITUIDS]: Make code unconditional.
2346 [!__ASSUME_32BITUIDS]: Remove conditional code.
2347
a386f1cc
RH
23482012-05-25 Richard Henderson <rth@twiddle.net>
2349
2350 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2351 dl_hwcap to ifunc resolver.
2352 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2353 elf_ifunc_invoke.
2354 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2355 dl_hwcap to ifunc resolver.
2356 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2357
b6550497
JM
23582012-05-24 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #14153]
2361 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2362 for |x| <= 2**-26, not 2**-57.
2363 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2364 exception.
2365
b0bc23a1
JL
23662012-05-24 Jeff Law <law@redhat.com>
2367
2368 * stdio-common/Makefile (tests): Add bug25.
2369 * stdio-common/bug25.c: New test.
2370
347c92e9
L
23712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 [BZ #13576]
2374 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2375 multiple of MALLOC_ALIGNMENT in size.
2376 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2377
6bcc8b3f
JM
23782012-05-24 Joseph Myers <joseph@codesourcery.com>
2379
2380 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2381 Require >= 256.
2382 (FILENAME_MAX): Use macro-int-constant.
2383 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2384 (_IOFBF): Use macro-int-constant.
2385 (_IOLBF): Likewise.
2386 (_IONBF): Likewise.
2387 (SEEK_CUR): Likewise.
2388 (SEEK_END): Likewise.
2389 (SEEK_SET): Likewise.
2390 (TMP_MAX): Likewise.
2391 (EOF): Use macro-int-constant. Require < 0.
2392 (NULL): Use macro-constant. Require == 0.
2393 (stdin): Require type to be FILE *.
2394 (stdout): Likewise.
2395 (stderr): Likewise.
2396 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2397 macro-int-constant.
2398 (EXIT_SUCCESS): Likewise.
2399 (NULL): Use macro-constant. Require == 0.
2400 (RAND_MAX): Use macro-int-constant.
2401 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2402 [C99-based standards] (strtof): Require function.
2403 [C99-based standards] (strtold): Likewise.
2404 [C99-based standards] (strtoll): Likewise.
2405 [C99-based standards] (strtoull): Likewise.
2406 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2407 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2408 [ISO || ISO99 || ISO11] (math.h): Likewise.
2409 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2410 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2412
d18ea0c5
AS
24132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2414
2415 [BZ #14132]
56d25bb8
AS
2416 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2417 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2418 * intl/dgettext.c (DCGETTEXT): Likewise.
2419 * intl/gettext.c (DCGETTEXT): Likewise.
2420 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2421 * posix/regex_internal.h (gettext): Likewise.
2422 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2423 Remove declaration.
2424 * include/argz.h (__argz_count_internal)
2425 (__argz_stringify_internal): Remove declaration.
2426 (__argz_count, __argz_stringify): Declare hidden proto.
2427 * intl/dcgettext.c: Remove use of INTDEF.
2428 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2429 * string/argz-stringify.c: Likewise.
2430 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2431 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2432 Declare hidden proto.
d18ea0c5
AS
2433 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2434 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2435 Declare hidden proto.
2436 * include/stdio.h (__asprintf_internal): Don't declare.
2437 (__asprintf): Don't define as macro. Declare hidden proto.
2438 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2439 (__fsetlocking): Declare hidden proto.
2440 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2441 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2442 hidden proto.
2443 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2444 (_IO_setlinebuf): Remove use of INTUSE.
2445 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2446 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2447 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2448 Remove declaration.
2449 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2450 (_IO_do_flush): Remove use of INTUSE.
2451 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2452 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2453 (_IO_adjust_column, _IO_least_wmarker)
2454 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2455 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2456 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2457 (_IO_default_doallocate, _IO_wdefault_doallocate)
2458 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2459 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2460 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2461 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2462 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2463 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2464 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2465 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2466 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2467 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2468 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2469 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2470 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2471 proto.
2472 (_IO_flush_all_internal, _IO_adjust_column_internal)
2473 (_IO_default_uflow_internal, _IO_default_finish_internal)
2474 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2475 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2476 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2477 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2478 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2479 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2480 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2481 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2482 (_IO_file_close_internal, _IO_file_close_it_internal)
2483 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2484 (_IO_file_init_internal, _IO_file_attach_internal)
2485 (_IO_file_fopen_internal, _IO_file_read_internal)
2486 (_IO_file_sync_internal, _IO_file_seek_internal)
2487 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2488 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2489 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2490 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2491 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2492 (_IO_list_all_internal, _IO_link_in_internal)
2493 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2494 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2495 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2496 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2497 (_IO_do_write_internal, _IO_padn_internal)
2498 (_IO_getline_info_internal, _IO_getline_internal)
2499 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2500 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2501 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2502 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2503 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2504 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2505 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2506 with libc_hidden_ver, remove use of INTUSE.
2507 * libio/genops.c: Likewise.
2508 * libio/freopen.c: Likewise.
2509 * libio/freopen64.c: Likewise.
2510 * libio/iofclose.c: Likewise.
2511 * libio/iofdopen.c: Likewise.
2512 * libio/iofflush.c: Likewise.
2513 * libio/iofflush_u.c: Likewise.
2514 * libio/iofgets.c: Likewise.
2515 * libio/iofgets_u.c: Likewise.
2516 * libio/iofopen.c: Likewise.
2517 * libio/iofopncook.c: Likewise.
2518 * libio/iofread.c: Likewise.
2519 * libio/iofread_u.c: Likewise.
2520 * libio/ioftell.c: Likewise.
2521 * libio/iofwrite.c: Likewise.
2522 * libio/iogetline.c: Likewise.
2523 * libio/iogets.c: Likewise.
2524 * libio/iogetwline.c: Likewise.
2525 * libio/iopadn.c: Likewise.
2526 * libio/iopopen.c: Likewise.
2527 * libio/ioseekoff.c: Likewise.
2528 * libio/ioseekpos.c: Likewise.
2529 * libio/iosetbuffer.c: Likewise.
2530 * libio/iosetvbuf.c: Likewise.
2531 * libio/ioungetc.c: Likewise.
2532 * libio/ioungetwc.c: Likewise.
2533 * libio/iovdprintf.c: Likewise.
2534 * libio/iovsprintf.c: Likewise.
2535 * libio/iovsscanf.c: Likewise.
2536 * libio/memstream.c: Likewise.
2537 * libio/obprintf.c: Likewise.
2538 * libio/oldfileops.c: Likewise.
2539 * libio/oldiofclose.c: Likewise.
2540 * libio/oldiofdopen.c: Likewise.
2541 * libio/oldiofopen.c: Likewise.
2542 * libio/oldiopopen.c: Likewise.
2543 * libio/oldstdfiles.c: Likewise.
2544 * libio/putc.c: Likewise.
2545 * libio/setbuf.c: Likewise.
2546 * libio/setlinebuf.c: Likewise.
2547 * libio/stdfiles.c: Likewise.
2548 * libio/strops.c: Likewise.
2549 * libio/vasprintf.c: Likewise.
2550 * libio/vscanf.c: Likewise.
2551 * libio/vsnprintf.c: Likewise.
2552 * libio/vswprintf.c: Likewise.
2553 * libio/wfiledoalloc.c: Likewise.
2554 * libio/wfileops.c: Likewise.
2555 * libio/wgenops.c: Likewise.
2556 * libio/wmemstream.c: Likewise.
2557 * libio/wstrops.c: Likewise.
2558 * libio/__fpurge.c: Likewise.
2559 * libio/__fsetlocking.c: Likewise.
2560 * assert/assert.c: Likewise.
2561 * debug/fgets_chk.c: Likewise.
2562 * debug/fgets_u_chk.c: Likewise.
2563 * debug/fread_chk.c: Likewise.
2564 * debug/fread_u_chk.c: Likewise.
2565 * debug/gets_chk.c: Likewise.
2566 * debug/obprintf_chk.c: Likewise.
2567 * debug/vasprintf_chk.c: Likewise.
2568 * debug/vdprintf_chk.c: Likewise.
2569 * debug/vsnprintf_chk.c: Likewise.
2570 * debug/vsprintf_chk.c: Likewise.
2571 * malloc/mtrace.c: Likewise.
2572 * misc/error.c: Likewise.
2573 * misc/syslog.c: Likewise.
2574 * stdio-common/asprintf.c: Likewise.
2575 * stdio-common/fxprintf.c: Likewise.
2576 * stdio-common/getw.c: Likewise.
2577 * stdio-common/isoc99_fscanf.c: Likewise.
2578 * stdio-common/isoc99_scanf.c: Likewise.
2579 * stdio-common/isoc99_vfscanf.c: Likewise.
2580 * stdio-common/isoc99_vscanf.c: Likewise.
2581 * stdio-common/isoc99_vsscanf.c: Likewise.
2582 * stdio-common/printf-prs.c: Likewise.
2583 * stdio-common/printf_fp.c: Likewise.
2584 * stdio-common/printf_fphex.c: Likewise.
2585 * stdio-common/printf_size.c: Likewise.
2586 * stdio-common/putw.c: Likewise.
2587 * stdio-common/scanf.c: Likewise.
2588 * stdio-common/sprintf.c: Likewise.
2589 * stdio-common/tmpfile.c: Likewise.
2590 * stdio-common/vfprintf.c: Likewise.
2591 * stdio-common/vfscanf.c: Likewise.
2592 * stdlib/strfmon_l.c: Likewise.
2593 * sunrpc/openchild.c: Likewise.
2594 * sunrpc/xdr_stdio.c: Likewise.
2595 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2596 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2597
d6c33fda
RM
25982012-05-24 Roland McGrath <roland@hack.frob.com>
2599
c1487492
RM
2600 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2601
2602 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2603 in the third column, to generate for the shared library an IFUNC
2604 that uses _dl_vdso_vsym.
2605 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2606 * Makeconfig (object-suffixes-noshared): New variable.
2607
2608 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2609 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2610 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2611 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2612
d6c33fda
RM
2613 [BZ #14132]
2614 * include/sys/time.h (__gettimeofday): Remove macro.
2615 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2616 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2617 Remove INTDEF.
2618 (__gettimeofday): Add libc_hidden_def.
2619 (gettimeofday): Add libc_hidden_weak.
2620 * sysdeps/mach/gettimeofday.c: Likewise.
2621 * sysdeps/posix/gettimeofday.c: Likewise.
2622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2623 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2624 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2625 (__gettimeofday_internal): Remove strong_alias.
2626 (__gettimeofday): Add libc_hidden_def.
2627 (gettimeofday): Add libc_hidden_weak.
2628 * sysdeps/unix/syscalls.list (gettimeofday):
2629 Remove __gettimeofday_internal alias.
2630
b5a2bbe6
L
26312012-05-24 Daniel Jacobowitz <drow@false.org>
2632 H.J. Lu <hongjiu.lu@intel.com>
2633
2634 [BZ #12495]
2635 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2636 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2637 (largebin_index_32_big): New.
2638 (largebin_index): Use it for 16-byte alignment.
2639 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2640 correction with front_misalign.
2641
cfba4fda
L
26422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2643
7f907421
L
2644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2646 Likewise.
2647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2652 Likewise.
2653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2654 Likewise.
2655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2656 Likewise.
2657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2658 Likewise.
2659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2660 Likewise.
2661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2662 Likewise.
2663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2664 Likewise.
2665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2666 Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2668 Likewise.
2669
cfba4fda
L
2670 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2671 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2672
80bad0cc
JM
26732012-05-24 Joseph Myers <joseph@codesourcery.com>
2674
7a25eb06
JM
2675 [BZ #10846]
2676 [BZ #14036]
2677 * math/libm-test.inc (exp_test): Add test from bug 14036.
2678 (pow_test): Add test from bug 10846.
2679
795405f9
JM
2680 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2681 and other flags.
2682 (special_function): Do not include flags in test name.
2683 (parse_args): Likewise.
2684 * sysdeps/i386/fpu/libm-test-ulps: Update.
2685 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2686 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2687 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2689
80bad0cc
JM
2690 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2691 exceptions.
2692 * math/libm-test.inc ("Philosophy"): Update comment about
2693 exception testing.
2694 (UNDERFLOW_EXCEPTION): New macro.
2695 (UNDERFLOW_EXCEPTION_OK): Likewise.
2696 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2697 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2698 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2699 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2700 (INVALID_EXCEPTION_OK): Update value.
2701 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2702 (OVERFLOW_EXCEPTION_OK): Likewise.
2703 (IGNORE_ZERO_INF_SIGN): Likewise.
2704 (test_exceptions): Handle underflow exceptions.
2705 (acos_test): Update for underflow exception expectations.
2706 (cexp_test): Likewise.
2707 (clog_test): Likewise.
2708 (clog10_test): Likewise.
2709 (csqrt_test): Likewise.
2710 (ctan_test): Likewise.
2711 (ctanh_test): Likewise.
2712 (exp_test): Likewise.
2713 (exp10_test): Likewise.
2714 (exp2_test): Likewise.
2715 (expm1_test): Likewise.
2716 (fma_test): Likewise.
2717 (j0_test): Likewise.
2718 (jn_test): Likewise.
2719 (nexttoward_test): Likewise.
2720 (pow_test): Likewise.
2721 (scalbn_test): Likewise.
2722 (scalbln_test): Likewise.
2723 (tan_test): Likewise.
2724 (y1_test): Likewise.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727
9e0e3d0b
DM
27282012-05-23 David S. Miller <davem@davemloft.net>
2729
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2731 (__libc_sigaction): Remove unused local variables.
2732
ccd0a08f
L
27332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2734
2735 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2736
62bdf9a6
PE
27372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2738
f8591f80
PE
2739 mktime: avoid signed integer overflow
2740 * time/mktime.c (__mktime_internal): Do not mishandle the case
2741 where diff == INT_MIN.
2742
94c7d826
PE
2743 mktime: simplify computation of average
2744 * time/mktime.c (ranged_convert): Use new time_t_avg function
2745 instead of rolling our own (probably-slower) code.
2746
ce73d683
PE
2747 mktime: do not assume signed right shift propagates sign bit
2748 * time/mktime.c (isdst_differ): New static function.
2749 (__mktime_internal): No need to normalize tm_isdst now.
2750 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2751 tm_isdst values.
2752
72a22e59
PE
2753 mktime: merge another wrapv change from gnulib
2754 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2755 from some compilers.
2756
68605433
PE
2757 mktime: remove incorrect attempt at unusual arithmetics
2758 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2759 The code didn't really work on such machines anyway.
2760 (TYPE_MINIMUM): Assume two's complement.
2761 (twos_complement_arithmetic): Verify that long_int and time_t
2762 are two's complement (or unsigned, in the latter case).
2763
03cf7fe3
PE
2764 mktime: check signed shifts on long_int and time_t, too
2765 * time/mktime.c (SHR): Check that shifts work as desired
2766 on the types long_int and time_t too, as SHR is used on
2767 such types.
2768
f04dfbc2
PE
2769 mktime: do not assume 'long' is wide enough
2770 * time/mktime.c (verify): Move decl up.
2771 (long_int): New type.
2772 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2773 to remove assumption in the code that 'long' is wide enough to
2774 store year values. This assumption is not true on x32 and on
2775 some non-glibc platforms.
2776
62bdf9a6
PE
2777 mktime: merge wrapv change from gnulib
2778 * time/mktime.c (WRAPV): New macro.
2779 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2780 (guess_time_tm, __mktime_internal): Do not assume that signed
2781 integer overflow wraps around; modern compilers generate code
2782 where this assumption is no longer valid.
2783
5e292e4f
L
27842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2787 Replace "jmp L(pseudo_end)" with "ret".
2788 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2789 Likewise.
2790
8caf8c87
AJ
27912012-05-23 Andreas Jaeger <aj@suse.de>
2792
2793 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2794 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2795
1a09dc56
AJ
27962012-05-23 Andreas Jaeger <aj@suse.de>
2797 Maximilian Attems <max@stro.at>
2798
2799 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2800 New macros.
2801
1c87aba0
L
28022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2803
2804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2805 code so that pseudo_end is just ret and the stack pointer is
2806 correct also for static library in error case.
2807
40e45bd5
JM
28082012-05-23 Joseph Myers <joseph@codesourcery.com>
2809
c2670533
JM
2810 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2811 move to syscalls.list.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2816
40e45bd5
JM
2817 * manual/install.texi (Running make install): Do not mention Linux
2818 kernel version for which pt_chown is not needed.
2819 (Linux): Do not mention problems with nscd with 2.0 kernels.
2820 * INSTALL: Regenerated.
2821
be08eda5
AJ
28222012-05-23 Andreas Jaeger <aj@suse.de>
2823
2824 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2825 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2826 macro.
2827 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2829 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2830 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2831 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2832 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2834 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2835 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2836 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2837 * sysdeps/unix/sysv/linux/bits/in.h
2838 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2839
a6a056bb
RM
28402012-05-22 Roland McGrath <roland@hack.frob.com>
2841
2842 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2843 (PREPARE_VERSION): Just use assert instead, it will be elided
2844 under [NDEBUG] anyway.
2845
c9009328
L
28462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 * sysdeps/unix/sysv/linux/Makefile: Include
2849 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2850 (sysdep_routines): Remove sysctl.
c9009328
L
2851 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2852 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2853 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2854 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2855 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2856
73338355
AJ
28572012-05-22 Andreas Jaeger <aj@suse.de>
2858
2859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2860 that pseudo_end is just ret and the stack pointer is correct also
2861 for static library in error case.
2862
d44638b0
PP
28632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2864
2865 [BZ #14122]
2866 * nss/nsswitch.c (defconfig_entries): New variable.
2867 (__nss_database_lookup): Don't leak defconfig entries.
2868 (nss_parse_service_list): Don't leak on error paths.
2869 (free_database_entries): New function.
2870 (free_defconfig): New function.
2871 (free_mem): Move common code to free_database_entries.
2872
31a39bd8
L
28732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2874
da0331a8
L
2875 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2876 Add arch_prctl.
2877 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2878
31a39bd8
L
2879 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2880 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2882 New macro.
2883 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2884 (INTERNAL_SYSCALL_TYPES): Likewise.
2885 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2886 (LOAD_REGS_TYPES_[1-6]): Likewise.
2887 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2888 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2889
45470df3
AZ
28902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2891
2892 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2893 copysignl for GLIBC_2_0.
2894 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2895 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2897 logbl for GLIBC_2_0.
2898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2899 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2900
98a61bcb
L
29012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2902
a4f6e481
L
2903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2904 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2905
f63d5db6
L
2906 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2907 Use "neg %eax".
2908
98a61bcb
L
2909 * time/mktime.c: Update copyright years.
2910
95770f14
PE
29112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2912
6226efbd
PE
2913 mktime: merge comment-quoting-style change from gnulib
2914 * time/mktime.c: Quote 'like this' in comments.
2915 The GNU coding standards suggest that we no longer quote `like this',
2916 as "`" and "'" are typically rendered asymmetrically nowadays.
2917 The typical gnulib style is to quote 'like this' when quoting
2918 code, and "like this" when quoting English.
2919
b99e4f78
PE
2920 * time/mktime.c (compile-command): Add "-I.".
2921
643e01e6
PE
2922 mktime: merge mktime-internal.h change from gnulib
2923 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2924
2554247d
PE
2925 mktime: merge time_r change from gnulib
2926 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2927
826dd0ab
PE
2928 mktime: merge DEBUG change from gnulib
2929 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2930 case system <time.h> has a #define.
2931
bd83aabe
PE
2932 mktime: merge <sys/types.h> change from gnulib
2933 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2934 since <time.t> is now guaranteed to define time_t.
2935
95770f14
PE
2936 mktime: merge HAVE_CONFIG_H change from gnulib
2937 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2938
5e1a27a9
L
29392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2940
0e44a77e
L
2941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2942 Use "neg %eax".
2943
5e1a27a9
L
2944 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2945 __rlim_t cast.
2946 (struct rusage): Use anonymous union to pad each field to
2947 __syscall_slong_t.
2948
46259bec
DM
29492012-05-21 David S. Miller <davem@davemloft.net>
2950
2951 * Makefules (o-iterator): Remove .s cases.
2952 (compile-command.s): Delete.
2953 (COMPILE.s): Delete.
2954 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2955
59f0c22e
JM
29562012-05-21 Joseph Myers <joseph@codesourcery.com>
2957
2958 * configure.in (libc_cv_predef_stack_protector): Only consider
2959 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2960 * configure: Regenerated.
2961
20c07380
L
29622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2963
bbb3154b
L
2964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2965 New macro. Use R*LP on int and pointer.
2966 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2967 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2968 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2969 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2970
20c07380
L
2971 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2972 [__WORDSIZE_TIME64_COMPAT32] instead of
2973 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2974 (struct utmp): Likewise.
2975 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2976 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2977 Renamed to ...
2978 (__WORDSIZE_TIME64_COMPAT32): This.
2979 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2980 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2981 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2983 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2984 (__WORDSIZE_TIME64_COMPAT32): New macro.
2985
d8d1017e
AJ
29862012-05-21 Andreas Jaeger <aj@suse.de>
2987
2988 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2989 only if [SHARED]. Add prototype for __wcschr_ia32.
2990
6c7fb145
RM
29912012-05-21 Roland McGrath <roland@hack.frob.com>
2992
2993 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2994 of %rbp unmolested in the jmp_buf while mangling the low bits.
2995 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2996 unmolested high bits of %rbp while demangling the low bits.
2997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2998
66274218
AJ
29992012-05-21 Andreas Jaeger <aj@suse.de>
3000
07c58f8f
AJ
3001 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
3002 * sunrpc/svc_simple.c: Use it for registerrpc.
3003 * sunrpc/xcrypt.c: Use it for passwd2des.
3004
66274218
AJ
3005 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
3006
61f65140
L
30072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3008
3009 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
3010 Don't define if [__SYSCALL_WORDSIZE != 32].
3011 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
3012 New macro.
3013
5fefb436
AJ
30142012-05-21 Bruno Haible <bruno@clisp.org>
3015 Andreas Jaeger <aj@suse.de>
3016
3017 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
3018 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
3019 inptr and inend for must_buffer_ch.
3020 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
3021 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
3022 * stdio-common/Makefile (tests): Remove bug15.
3023 (bug15-ENV): Remove macro.
3024 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
3025 anymore.
3026
d8e272ab
AJ
30272012-05-19 Andreas Jaeger <aj@suse.de>
3028 Roland McGrath <roland@hack.frob.com>
3029
3030 * manual/contrib.texi: Completely rewritten. It contains now an
3031 alphabetical list of contributors and their contributions.
3032
4a56a162
RH
30332012-05-21 Richard Henderson <rth@twiddle.net>
3034
3035 * misc/getauxval.c (__getauxval): Use unsigned long int.
3036 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3037 (getauxval): Use unsigned long int.
3038
d024d23c
L
30392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3040
3041 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3042
cbc00a03
RM
30432012-05-21 Roland McGrath <roland@hack.frob.com>
3044
3045 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3046 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3047 __alignof__ (long double).
3048
478143fa
AZ
30492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3050
3051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3052
c7683a6d
RH
30532012-05-20 Richard Henderson <rth@twiddle.net>
3054
3055 * misc/getauxval.c: New file.
3056 * misc/sys/auxv.h: New file.
3057 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3058 (routines): Add getauxval.
3059 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3061 * elf/dl-sysdep.c (_dl_auxv): Remove.
3062 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3063 * elf/dl-support.c (_dl_auxv): New variable.
3064 (_dl_aux_init): Initialize it.
3065 * manual/startup.texi (Auxiliary Vector): New node.
3066 * sysdeps/generic/bits/hwcap.h: New file.
3067 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3068 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3069 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3070 * sysdeps/sparc/sysdep.h: ... here. Include it.
3071 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3072 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3074 Update.
c7683a6d
RH
3075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3083
a6f1845d
AZ
30842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3085
3086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3087
cbcbe830
DM
30882012-05-19 David S. Miller <davem@davemloft.net>
3089
3090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3091
e0b16cc2
JM
30922012-05-19 Joseph Myers <joseph@codesourcery.com>
3093
3094 [BZ #14123]
3095 * math/s_ccosh.c: Include <float.h>
3096 (__ccosh): Avoid internal overflow calculating sinh and cosh
3097 values before multiplying by sin and cos values.
3098 * math/s_ccoshf.c: Likewise.
3099 * math/s_ccoshl.c: Likewise.
3100 * math/s_csin.c: Likewise.
3101 * math/s_csinf.c: Likewise.
3102 * math/s_csinl.c: Likewise.
3103 * math/s_csinh.c: Likewise.
3104 * math/s_csinhf.c: Likewise.
3105 * math/s_csinhl.c: Likewise.
3106 * math/libm-test.inc (ccos_test): Add more tests.
3107 (ccosh_test): Likewise.
3108 (csin_test): Likewise.
3109 (csinh_test): Likewise.
3110 * sysdeps/i386/fpu/libm-test-ulps: Update.
3111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3112
6ad13e08
L
31132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3114
f66f0ce8
L
3115 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3116 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3117
6ad13e08
L
3118 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3119
b1d072a7
JM
31202012-05-19 Joseph Myers <joseph@codesourcery.com>
3121
3122 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3123 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3124 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3125 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3126 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3127 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3128 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3129 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3130 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3131 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3132 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3133 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3134 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3135 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3136 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3137 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3138 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3139 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3140 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3141 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3142 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3143 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3144 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3145 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3146 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3147 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3148 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3149 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3150 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3151 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3152 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3153
9eae47cb
AJ
31542012-05-18 Andreas Jaeger <aj@suse.de>
3155
3156 * csu/.gitignore: Delete.
3157
bb07f69f
L
31582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3159
3160 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3161 (timex): Use __syscall_slong_t.
3162
e6bdb741
AJ
31632012-05-18 Andreas Jaeger <aj@suse.de>
3164 Carlos O'Donell <carlos_odonell@mentor.com>
3165
3166 * manual/install.texi (Configuring and compiling): Update
3167 description about files modified in the source directory.
d6c33fda 3168 * INSTALL: Regenerated.
e6bdb741 3169
1b74487e
L
31702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3171
3172 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3173 value. Use "or" to set return value to -1.
3174 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3175 negate return value.
3176
a88b64b9
TMQMF
31772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3178
3179 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3180 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3181 failure if the compiler has Graphite support disabled.
3182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3183 Likewise.
3184 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3185 CFLAGS-memmove.c): Likewise.
3186 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3187 Likewise.
3188
3707636e
L
31892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3190
610b8622
L
3191 * sysdeps/x86_64/x32/_itoa.h: New file.
3192
7cd195df
L
3193 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3194 getdents system call only if kernel and user dirents have the
3195 same d_ino and d_off.
3196
94b07d20
L
3197 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3198 LLONG_MAX != LONG_MAX.
3199 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3200 (_fitoa_word): Likewise.
3201
18298070
L
3202 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3203 years.
3204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3205 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3207
553c7ea4
L
3208 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3209 include <bits/wordsize.h>. Check __x86_64__ instead of
3210 __WORDSIZE.
3211 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3212 if __x86_64__ is defined. Use anonymous union on fpstate.
3213
3707636e
L
3214 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3215 anonymous union.
3216
b53ef01a
AS
32172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3218
37fb1dc0
AS
3219 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3220 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3221 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3222 Refer to _rtld_local_ro instead of _rtld_global_ro.
3223 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3224 Likewise.
3225 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3226 Likewise.
3227 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3228 Likewise.
3229 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3230 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3231 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3232
b53ef01a
AS
3233 * sysdeps/powerpc/powerpc32/dl-machine.c
3234 (__elf_machine_runtime_setup) [PROF]: Don't reference
3235 _dl_prof_resolve.
3236
7a185db2
AJ
32372012-05-18 Andreas Jaeger <aj@suse.de>
3238
3239 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3240 function only available for GCCs before 3.4 since GCC 3.4
3241 introduced a builtin.
3242 (lrint): Likewise.
3243 (llrintf): Likewise.
3244 (llrint): Likewise.
3245 (fmaxf): Likewise.
3246 (fmax): Likewise.
3247 (fminf): Likewise.
3248 (fmin): Likewise.
3249 (rint): Likewise.
3250 (rintf): Likewise.
3251 (nearbyint): Likewise.
3252 (nearbyintf): Likewise.
3253 (ceil): Likewise.
3254 (ceilf): Likewise.
3255 (floor): Likewise.
3256 (floorf): Likewise.
3257
3e5aef87
L
32582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3259
428bd707
L
3260 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3261 on both fields and cast pointer to __syscall_ulong_t.
3262
3e5aef87
L
3263 * bits/types.h (__fsword_t): New type.
3264 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3265 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3266 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3267 (__FSWORD_T_TYPE): Likewise.
3268 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3269 (__FSWORD_T_TYPE): Likewise.
3270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3271 (__FSWORD_T_TYPE): Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3273 (__FSWORD_T_TYPE): Likewise.
3274 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3275 __SWORD_TYPE with __fsword_t.
3276 (statfs64): Likewise.
3277
1ba7c3dc
DM
32782012-05-17 David S. Miller <davem@davemloft.net>
3279
3280 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3281
59910343
AJ
32822012-05-17 Andreas Jaeger <aj@suse.de>
3283
3284 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3285 warning.
3286
2e4c1e9e
L
32872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3290
de7f5ce7
AJ
32912012-05-17 Andreas Jaeger <aj@suse.de>
3292
3293 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3294 when it is used.
3295
286abc3d
CM
32962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3297
3298 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3299
477cc68e
L
33002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3303 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3304
1a0994f5
CD
33052012-05-17 Andreas Jaeger <aj@suse.de>
3306 Carlos O'Donell <carlos_odonell@mentor.com>
3307
3308 [BZ #14059]
3309 * sysdeps/x86_64/multiarch/init-arch.h
3310 (bit_YMM_Usable): Rename to...
3311 (bit_AVX_Usable): ... this.
3312 (bit_FMA4_Usable): New macro.
3313 (bit_XMM_state): New macro.
3314 (bit_YMM_state): New macro.
3315 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3316 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3317 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3318 (CPUID_OSXSAVE): New macro.
3319 (CPUID_AVX): New macro.
3320 (CPUID_FMA4): New macro.
3321 (index_YMM_Usable): Rename to...
3322 (index_AVX_Usable): ... this.
3323 (HAS_AVX): Use HAS_ARCH_FEATURE.
3324 (HAS_FMA4): Likewise.
3325 (HAS_YMM_USABLE): Remove.
3326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3327 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3328 are present.
3329 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3330 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3331 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3332 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3333 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3334
0af797de
CM
33352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3336
3337 * math/libm-test.c: Support platforms without multiple rounding modes.
3338 * math/bug-nextafter.c: Support platforms without FP exceptions.
3339 * math/bug-nexttoward.c: Likewise.
3340 * math/test-fenv.c: Likewise.
3341 * math/test-misc.c: Likewise.
3342 * stdlib/bug-getcontext.c: Likewise.
3343
e39745ff
AJ
33442012-05-17 Andreas Jaeger <aj@suse.de>
3345
3346 * manual/examples/search.c (critter_cmp): Change signature to
3347 avoid warnings.
3348 * manual/string.texi (Collation Functions): Likewise.
3349
48970aba
L
33502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3351
3352 * bits/types.h: Fold copyright years.
3353 * bits/typesizes.h: Likewise.
3354 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3355 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3358 * time/time.h: Likewise.
3359
bedee953
PP
33602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3361
3362 [BZ #208]
3363 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3364 in instead of returning them. Return void.
3365 (__libc_mallinfo): Accumulate over all arenas.
3366 (__malloc_stats): Adjust for change in int_mallinfo interface.
3367
61653dfb
RM
33682012-05-16 Roland McGrath <roland@hack.frob.com>
3369
30b99d79
RM
3370 [BZ #10375]
3371 * configure.in (NM): Add AC_CHECK_TOOL for it.
3372 (libc_extra_cflags): New substituted variable.
3373 Check for -fstack-protector being used implicitly.
3374 * configure: Regenerated.
3375 * config.make.in (config-extra-cflags): New variable,
3376 gets @libc_extra_cflags@.
3377 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3378
61653dfb
RM
3379 [BZ #10375]
3380 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3381 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3382 * configure: Regenerated.
3383 * config.make.in (CPPUNDEFS): New substituted variable.
3384 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3385 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3386 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3387
661768bb
L
33882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3389
3390 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3391 (mq_attr): Use __syscall_slong_t.
3392
d4261567
L
33932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3396 Check __x86_64__ instead of __WORDSIZE.
3397 (_STAT_VER_LINUX): Likewise.
3398 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3399 __syscall_ulong_t and __syscall_slong_t.
3400 (stat64): Likewise.
3401
cf3ff365
L
34022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3405
76cf3e4d
L
34062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3409
a637753a
L
34102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3411
3412 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3413 __syscall_ulong_t.
3414
d5e05119
L
3415 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3416 include <bits/wordsize.h>. Check __x86_64__ instead of
3417 __WORDSIZE.
3418 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3419 defined.
3420 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3421
f62ee380
L
3422 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3423 include <bits/wordsize.h>. Check __x86_64__ instead of
3424 __WORDSIZE.
3425 (user_regs_struct): Use "__extension__ unsigned long long"
3426 instead of "unsigned long" if __x86_64__ is defined.
3427 (user): Likewise. Pad after pointer field if __ILP32__ is
3428 defined.
3429
4e124ced
JM
34302012-05-16 Joseph Myers <joseph@codesourcery.com>
3431
6a3951a0
JM
3432 * configure.in (makeinfo): Require version 4.5 or later. Allow
3433 versions 5 to 9.
3434 * configure: Regenerated.
3435 * manual/install.texi (texinfo): Increase version requirement to
3436 4.5 or later.
3437 * INSTALL: Regenerated.
3438
4e124ced
JM
3439 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3440
953ca31a
L
34412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3442
3443 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3444
617aca05
L
3445 * sysdeps/x86_64/x32/ffs.c: New file.
3446
5762f7ae
L
3447 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3448 __syscall_ulong_t.
3449 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3450 defined. Use __syscall_ulong_t.
3451 (shminfo): Use __syscall_ulong_t.
3452 (shm_info): Likewise.
3453
a26b6856
L
3454 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3455 __syscall_ulong_t.
3456
cb2b9ef7
L
3457 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3458 <bits/wordsize.h>.
3459 (msgqnum_t): Use __syscall_ulong_t.
3460 (msglen_t): Likewise.
3461 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3462 __syscall_ulong_t.
3463
34683bb0
L
3464 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3465 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3466
84a68786
L
3467 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3468
48baa5f1
L
3469 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3470 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3471
180be88b
L
3472 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3473 __syscall_slong_t.
3474
5e90c8ad
L
3475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3476 include <bits/wordsize.h>. Check __x86_64__ instead of
3477 __WORDSIZE.
3478
23dfb58b
L
3479 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3480 "unsigned long long int" if __x86_64__ is defined.
3481 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3482
ce5d54b0
L
3483 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3484 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3485 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3486
13dc9eac
L
3487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3488 <stdint.h>.
3489 (GET_PC): Cast to uintptr_t first.
3490 (GET_FRAME): Likewise.
3491 (GET_STACK): Likewise.
3492
a7895d15
L
3493 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3494 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3495 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3497 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3499 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3500 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3501 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3503 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3504 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3505 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3509 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3510 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3511 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3512 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3518 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3519 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3521 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3522
656416c9
AS
35232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3524
5bd66283
AS
3525 * Makerules (+depfiles): Also collect depfiles from .oS in
3526 $(extra-objs).
3527 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3528 .oS, $(libnldbl-routines)).
3529
656416c9
AS
3530 * Makerules (native-compile-mkdep-flags): Define.
3531 * sunrpc/Makefile (extra-objs): Add $(addprefix
3532 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3533 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3534 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3535 calling $(make-target-directory).
3536
a46f2169
L
35372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3538
3539 * bits/types.h (__snseconds_t): Removed.
3540 * time/time.h (struct timespec): Replace __snseconds_t with
3541 __syscall_slong_t.
3542 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3543 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3544 Likewise.
3545 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3546 (__SNSECONDS_T_TYPE): Likewise.
3547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3548 (__SNSECONDS_T_TYPE): Likewise.
3549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3550 (__SNSECONDS_T_TYPE): Likewise.
3551
6af6528b
L
35522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 * sysdeps/mach/hurd/bits/typesizes.h
3555 (__SYSCALL_SLONG_TYPE): New macro.
3556 (__SYSCALL_ULONG_TYPE): Likewise.
3557
de986b56
L
35582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3559
3560 * bits/types.h (__syscall_slong_t): New type.
3561 (__syscall_ulong_t): Likewise.
3562
3563 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3564 (__SYSCALL_ULONG_TYPE): Likewise.
3565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3566 (__SYSCALL_SLONG_TYPE): Likewise.
3567 (__SYSCALL_ULONG_TYPE): Likewise.
3568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3569 (__SYSCALL_SLONG_TYPE): Likewise.
3570 (__SYSCALL_ULONG_TYPE): Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3572 (__SYSCALL_SLONG_TYPE): Likewise.
3573 (__SYSCALL_ULONG_TYPE): Likewise.
3574
85736dc7
L
35752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3576
3577 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3578 Add sigaltstack-offsets.sym.
3579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3580 <sigaltstack-offsets.h>.
3581 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3582 longjmp_msg pointer.
3583 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3584 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3585 signal stack.
3586 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3587
cc03b296
JM
35882012-05-15 Joseph Myers <joseph@codesourcery.com>
3589
a9538892
JM
3590 * elf/stackguard-macros.h: Remove file.
3591 * sysdeps/generic/stackguard-macros.h: New file.
3592 * sysdeps/i386/stackguard-macros.h: Likewise.
3593 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3594 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3595 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3596 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3597 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3598 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3599 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3600 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3601 <elf/stackguard-macros.h>.
3602
cc03b296
JM
3603 [BZ #14109]
3604 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3605 __aligned__ in attribute.
3606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3607 (gregset_t): Likewise.
3608
93171016
L
36092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3612 * sysdeps/x86_64/64/Implies-after: Here. New file.
3613 * sysdeps/x86_64/x32/Implies-after: New file.
3614
d86813a0
L
36152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3618 and access return value for _dl_profile_fixup. Use R10_LP to
3619 load frame size.
3620
2953ec75
L
36212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3624
3b550e9e
L
36252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3626
3627 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3628 * sysdeps/x86_64/x32/sysdep.h: New file.
3629
eda41706
L
36302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3633 * sysdeps/x86_64/setjmp.S: Likewise.
3634
9ea01d93
AZ
36352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3636
3637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3638 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3639 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3640 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3641 remove unused global constant.
3642
02a91938
CM
36432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3644
3645 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3646 include of <not-cancel.h>.
3647
6540185f
RM
36482012-05-15 Roland McGrath <roland@hack.frob.com>
3649
3650 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3651
509072a0
AJ
36522012-05-15 Jeff Law <law@redhat.com>
3653 Andreas Jaeger <aj@suse.de>
3654
3655 [BZ #13594]
3656 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3657 out from...
3658 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3659 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3660 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3661 code changing __hst_map_handle.map.
3662
ba75122d
RM
36632012-05-15 Roland McGrath <roland@hack.frob.com>
3664
3665 * configure.in (sysnames): Look for Implies-before and Implies-after
3666 files.
3667 * configure: Regenerated.
3668
890d8bd8
L
36692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3670
3671 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3672 8-byte data alignment with LP_SIZE alignment.
3673
f6ee6623
L
36742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3675
3676 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3677 into R10_LP.
3678
ea2626f6
L
36792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3682
085f715e
L
36832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3686 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3688 Likewise.
3689 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3690
be8498fc
L
36912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3692
3693 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3694 (stackinfo_sub_sp): Likewise.
3695
70bc83b9
L
36962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3697
3698 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3699 RAX_LP.
3700
9bc0b730
L
37012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3704 into R*_LP.
3705
6d2850e7
L
37062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3709 sizes into R*_LP.
3710
3cb84561
L
37112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3712
3713 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3714
54e2ed81
L
37152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3716
3717 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3718 into R11_LP and load __x86_64_shared_cache_size_half into
3719 R8_LP.
3720
8a17f349
L
37212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3722
3723 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3724 R8_LP.
3725
777b1eea
AZ
37262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727
3728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3729 logb for POWER7.
3730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3731 logbf for POWER7.
3732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3733 logbl for POWER7.
3734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3735 powerpc32/power7/fpu/s_logb.c via #include.
3736 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3737 powerpc32/power7/fpu/s_logbf.c via #include.
3738 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3739 powerpc32/power7/fpu/s_logbl.c via #include.
3740
d20d4ac2
JM
37412012-05-15 Joseph Myers <joseph@codesourcery.com>
3742
3743 * README.libm: Remove file.
3744
6cdef1ab
L
37452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3746
3747 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3748 count for x32. Use R*_LP and omit operand-size suffix.
3749
0b254d8f
L
37502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3753 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3754 * sysdeps/x86_64/x32/shlib-versions: New file.
3755
ceb809dc
RM
37562012-05-14 Roland McGrath <roland@hack.frob.com>
3757
3758 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3759 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3760 Use _dl_fatal_printf instead.
3761
37f1abd4
JM
37622012-05-14 Joseph Myers <joseph@codesourcery.com>
3763
3764 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3765 set if not set by the user. Do not allow for being unset.
3766 * sysdeps/unix/sysv/linux/configure: Regenerated.
3767
11de3a33
L
37682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3769
3770 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3771 the `q' suffix from lea and replace .quad with ASM_ADDR.
3772
e02f153a
L
37732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3776 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3777 instead of $17.
3778 (PTR_DEMANGLE): Likewise.
3779
520ae0fd
L
37802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3781
3782 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3783 (LP_OP): Likewise.
3784 (ASM_ADDR): Likewise.
3785 (RAX_LP): Likewise.
3786 (RBP_LP): Likewise.
3787 (RBX_LP): Likewise.
3788 (RCX_LP): Likewise.
3789 (RDI_LP): Likewise.
3790 (RSI_LP): Likewise.
3791 (RSP_LP): Likewise.
3792 (R8_LP): Likewise.
3793 (R9_LP): Likewise.
3794 (R10_LP): Likewise.
3795 (R10_LP): Likewise.
3796 (R11_LP): Likewise.
3797 (R12_LP): Likewise.
3798 (R13_LP): Likewise.
3799 (R14_LP): Likewise.
3800 (R15_LP): Likewise.
3801
b985be81
L
38022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 * sysdeps/x86_64/x32/dl-machine.h: New file.
3805
6a4888ff
AJ
38062012-05-14 Andreas Jaeger <aj@suse.de>
3807
3808 * manual/Makefile (subdir): Remove export of subdir.
3809 (all): Remove target.
3810 (.PHONY): Remove all from list.
3811 (mkinstalldirs): Remove.
3812 (.PHONY): Remove installdirs from list.
3813 ($(inst_infodir)/libc.info): Use make-target-directory.
3814 (installdirs): Remove.
3815 (subdir_%): Remove.
3816 (glibc-targets): Remove.
3817 (lib): Remove.
3818 (stubs): Remove.
3819 ($(objpfx)stubs ../po/manual.pot): Remove.
3820 ($(objpfx)stamp%): Remove.
3821 (make-target-directory): Remove.
3822 (subdir_install): Remove.
3823 (routines): Remove.
3824 (aux): Remove.
3825 (sources): Remove.
3826 (objects): Remove.
3827 (headers): Remove.
3828
3829 [BZ #13750]
3830 * manual/.gitignore: Remove, it's not needed anymore.
3831 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3832 all files in it.
3833 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3834 directory.
3835 (texis): Renamed to $(objpfx)texis.
3836 (texis-path): New, contains path to generated files.
3837 (chapters.%): Use texis-path for complete path, add extra argument
3838 libc-texinfo.sh.
3839 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3840 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3841 (summary,texi, stamp-summary): Use complete path of
3842 files. Generate files in build dir.
3843 (dir-add.texi): Build in build dir.
3844 (libm-err.texi,stamp-libm-err): Likewise.
3845 (version.texi, stamp-version): Likewise.
3846 (.%c.texi): Likewise.
3847 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3848 (mostlyclean): Remove target.
3849 (realclean): Remove target.
3850 (generated): Add new variable with contents from mostlyclean and
3851 realclean, remove entries duplicated in common-mostlyclean, add
3852 stamp-libm-err and stamp-version.
3853 (generated-dirs): Add libc directory.
3854 ($(inst_infodir)/libc.info): Install files from build dir.
3855
3856 * manual/install.texi (Configuring and compiling): Adjust since
3857 the info files are not part of the tar ball anymore.
3858
7ac77294
AJ
38592012-05-14 Andreas Jaeger <aj@suse.de>
3860
3861 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3862 variable.
3863
ffb7875d
JM
38642012-05-14 Joseph Myers <joseph@codesourcery.com>
3865
3866 [BZ #13717]
3867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3868 to 2.2.0 where earlier.
3869 * sysdeps/unix/sysv/linux/configure: Regenerated.
3870 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3871 Remove conditional code.
3872 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3873 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3874 Remove conditional code.
3875 [!__NR_lchown]: Likewise.
3876 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3877 [__NR_lchown]: Likewise.
3878 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3879 comment referencing __ASSUME_LCHOWN_SYSCALL.
3880 * sysdeps/unix/sysv/linux/i386/sigaction.c
3881 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3882 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3883 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3884 Remove conditional code.
3885 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3886 (__protocol_available): Remove #if 0 code.
3887 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3888 conditional code.
3889 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3890 * sysdeps/unix/sysv/linux/kernel-features.h
3891 (__ASSUME_GETCWD_SYSCALL): Don't define.
3892 (__ASSUME_REALTIME_SIGNALS): Likewise.
3893 (__ASSUME_PREAD_SYSCALL): Likewise.
3894 (__ASSUME_PWRITE_SYSCALL): Likewise.
3895 (__ASSUME_POLL_SYSCALL): Likewise.
3896 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3897 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3898 non-SPARC.
3899 (__ASSUME_SIOCGIFNAME): Don't define.
3900 (__ASSUME_MSG_NOSIGNAL): Likewise.
3901 (__ASSUME_SENDFILE): Define unconditionally.
3902 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3903 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3904 conditional code.
3905 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3906 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3907 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3908 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3909 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3910 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3911 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3913 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3916 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3919 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3922 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3925 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3928 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3931 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3936 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3937 Remove conditional code.
3938 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3939 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3940 Remove conditional code.
3941 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3942 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3943 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3944 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3945 Remove conditional code.
3946 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3947 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3948 Remove conditional code.
3949 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3950 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3951 Remove conditional code.
3952 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3953 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3954 Remove conditional code.
3955 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3956 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3957 Remove conditional code.
3958 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3959 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3960 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3961 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3962 * sysdeps/unix/sysv/linux/sigaction.c
3963 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3964 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3965 * sysdeps/unix/sysv/linux/sigpending.c
3966 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3967 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3968 * sysdeps/unix/sysv/linux/sigprocmask.c
3969 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3970 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3971 * sysdeps/unix/sysv/linux/sigsuspend.c
3972 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3973 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3974 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3975 (__libc_missing_rt_sigs): Remove.
3976 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3977 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3978 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3979 Remove conditional code.
3980 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3981 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3982 return 1.
3983 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3984 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3985 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3986 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3987
1bfb7291
AJ
39882012-05-14 Andreas Jaeger <aj@suse.de>
3989
caae5a81
AJ
3990 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3991 it's not used in glibc.
3992 (__coshm1): Likewise.
3993 (__acosh1p): Likewise.
3994 (__sgn): Likewise.
3995
1bfb7291
AJ
3996 * manual/string.texi (Copying and Concatenation): Add missing
3997 variable in concat example.
3998 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3999
c044d724
L
40002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4001
144c5467 4002 [BZ #14103]
c044d724
L
4003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
4004 __builtin_clzl with __builtin_clzll.
4005
2523c62b
L
40062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 [BZ #14104]
4009 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
4010 libc_freeres_ptr.
4011
d7bb4c42
LD
40122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4013
4014 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
4015 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
4016 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
4017 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
4018
9dc4e1fb
MF
40192012-05-14 Mike Frysinger <vapier@gentoo.org>
4020
4021 * NEWS: Update ia64 info.
4022
c7df0112
AS
40232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
4024
4025 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
4026 used as bcopy.
4027
dc70356c
TS
40282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
4029
4030 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
4031 * sysdeps/unix/syscalls.list (dup3): Likewise.
4032 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
4033 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
4034
9fb1a21f
L
40352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4036
4037 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4038 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4039
4822a2a5
L
40402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4043 thread pointer.
4044 (TLS_IE): Use mov/add instead of movq/addq to load thread
4045 pointer.
4046 (TLS_GD_PREFIX): New.
4047 (TLS_GD): Use it.
4048
842b81d6
DM
40492012-05-11 David S. Miller <davem@davemloft.net>
4050
4051 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4052 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4053 (_FPU_SETCW): Likewise.
4054
1cf463cd
L
40552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4056
4057 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4058 is 32-byte aligned.
4059
60cc4a18
AS
40602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4061
4062 [BZ #11837]
4063 * iconvdata/gb18030.c: Update tables.
4064 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4065 characters specially.
4066 (BODY for TO_LOOP): Add encoding of missing ranges.
4067
febb44a4
TS
40682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4069
4070 [BZ #13673]
4071 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4072 * sysdeps/mach/hurd/dup3.c: Likewise.
4073 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4074 * sysdeps/powerpc/memmove.c:: Likewise.
4075
0a10fb9e
L
40762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4077
4078 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4079 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4080
df8a552f
L
40812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4082
4083 * elf/elf.h (R_X86_64_RELATIVE64): New.
4084 (R_X86_64_NUM): Updated.
4085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4086 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4087 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4088 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4089 tst-quad1pie tst-quad2pie
4090 (modules-names): Add tst-quadmod1 tst-quadmod2.
4091 ($(objpfx)tst-quad1): New dependency.
4092 ($(objpfx)tst-quad2): Likewise.
4093 ($(objpfx)tst-quad1pie): Likewise.
4094 ($(objpfx)tst-quad2pie): Likewise.
4095 * sysdeps/x86_64/tst-quad1.c: New file.
4096 * sysdeps/x86_64/tst-quad1pie.c: New file.
4097 * sysdeps/x86_64/tst-quad2.c: Likewise.
4098 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4099 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4100 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4101 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4102 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4103
f34d6f84
ST
41042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4105
f42d41d1
ST
4106 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4107 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4108 * streams/stropts.h (t_scalar_t): Define type.
4109
3c3571fc
ST
4110 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4111 (_PATH_PRESERVE): Set to "/var/lib".
4112 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4113
61f06bd3
ST
4114 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4115 instead of int.
4116
918d4d71
ST
4117 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4118 if __dir_mkfile succeeded.
4119
f34d6f84
ST
4120 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4121 checking for _hurd_dtablesize. Unlock it right after having
4122 finished _hurd_dtable allocation.
4123
10589b4a
TS
41242012-05-10 Thomas Schwinge <thomas@schwinge.name>
4125
674cdbc7
TS
4126 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4127 * sysdeps/mach/hurd/configure: Regenerated.
4128 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4129 special-casing to...
4130 * sysdeps/gnu/configure.in: ... this new file.
4131 * sysdeps/unix/sysv/linux/configure: Regenerated.
4132 * sysdeps/gnu/configure: New generated file.
4133
8e41b99f
TS
4134 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4135 for Linux: use nsec instead of usec, as well as:
4136 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4137 members of type struct timespec.
4138 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4139 New macros.
4140 (struct stat64): Likewise.
4141 (_STATBUF_ST_NSEC): New macro.
4142 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4143
10589b4a
TS
4144 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4145 __strtoul_internal rather than strtoul.
4146
63643c85
PT
41472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4148
4149 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4150 and reject them.
4151
3faebe6a
ST
41522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4153
4154 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4155 which preserves existing values.
4156 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4157
c6474b07
PT
41582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4159
4160 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4161 TIMEOUT values. Return EINVAL for NFDS values either negative or
4162 greater than FD_SETSIZE.
4163
1043890b
ST
41642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4165
4166 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4167 allocated, call __vm_protect to finish enabling the existing space, and
4168 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4169 allocate the remainder.
4170
37ed8b9b
PT
41712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4172
4173 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4174 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4175
db653660
ST
41762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4177
37ed8b9b
PT
4178 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4179 sysdeps/mach/hurd/readlink.c.
b29d4053 4180
db653660
ST
4181 * posix/tst-sysconf.c (posix_options): Only use
4182 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4183 _POSIX_SYNCHRONIZED_IO when they are defined
4184 * sysdeps/mach/hurd/bits/posix_opt.h:
4185 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4186 (_XOPEN_REALTIME): Undefine macro.
4187 (_XOPEN_REALTIME_THREADS): Undefine macro.
4188 (_XOPEN_SHM): Undefine macro.
4189 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4190 macro to -1.
4191 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4192 macro to -1.
4193 (_POSIX_ASYNC_IO): Undefine macro.
4194 (_POSIX_PRIORITIZED_IO): Undefine macro.
4195 (_POSIX_SPIN_LOCKS): Define macro to -1.
4196
ee16e894
ST
4197 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4198 SA_NODEFER, SA_RESETHAND.
4199 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4200 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4201 F_DUPFD_CLOEXEC.
4202
6103ae3b
TS
42032012-05-10 Thomas Schwinge <thomas@schwinge.name>
4204
4205 * elf/Makefile (pldd-modules): Define unconditionally.
4206
80b4e5f3
TS
42072012-05-10 Thomas Schwinge <thomas@schwinge.name>
4208
4209 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4210
edadcbd6
ST
42112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4212
4213 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4214 Return ENOENT when name is empty.
4215 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4216
80694780
TS
42172012-05-10 Thomas Schwinge <thomas@schwinge.name>
4218
1792c087
TS
4219 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4220
80694780
TS
4221 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4222
6b645f0d
ST
42232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4224
80694780
TS
4225 Fix mlock in all cases except non-readable pages.
4226 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4227 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4228
6b645f0d
ST
4229 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4230 (__mkdir): When path is `/', just fail with EEXIST.
4231 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4232
e468f8a3
TS
42332012-05-10 Thomas Schwinge <thomas@schwinge.name>
4234
4235 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4236 <sys/uio.h> (for writev).
4237 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4238 and <sys/param.h> (for MIN).
4239
a4186cff
PT
42402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4241
4242 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4243 REQUESTED_TIME. Properly set the remaining time and return EINTR
4244 if interrupted.
4245
510bbf14
TS
42462012-05-10 Thomas Schwinge <thomas@schwinge.name>
4247
4248 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4249 Depend on against $(link-rpcuserlibs).
4250
5d5722e8
ST
42512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4252
a4186cff
PT
4253 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4254 (__libc_stack_end): Do not use attribute_relro.
4255 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4256 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4257 to libthread-provided value.
a4186cff
PT
4258 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4259 attribute_relro.
5d5722e8 4260
37233df9
TS
42612012-05-10 Thomas Schwinge <thomas@schwinge.name>
4262
be971a2b
TS
4263 [BZ #3748]
4264 * bits/libc-lock.h (__libc_once_get): New macro.
4265 * sysdeps/mach/bits/libc-lock.h: Likewise.
4266 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4267 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4268 instead of using implementation details.
4269
37233df9
TS
4270 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4271 * libio/freopen.c: Likewise.
4272 * libio/freopen64.c: Likewise.
4273 * misc/syslog.c: Likewise.
4274 * nscd/connections.c: Likewise.
4275 * nscd/netgroupcache.c: Likewise.
4276 * sysdeps/posix/getcwd.c: Likewise.
4277
38de94a5
RM
42782012-05-10 Roland McGrath <roland@hack.frob.com>
4279
4280 * math/w_ilogbf.c: Add #include <limits.h>.
4281
67530489
ST
42822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4283
a4186cff 4284 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4285 path instead of returning without unlocking.
4286
67530489
ST
4287 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4288 immediate-write ioctls.
4289 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4290
5aa3a74a
TS
42912012-05-10 Thomas Schwinge <thomas@schwinge.name>
4292
18bad2ae
TS
4293 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4294 __builtin_frame_address instead of making assumptions about the
4295 location of the return address relative to DATA. Force early load of
4296 the return address.
4297 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4298 __builtin_frame_address.
4299
5aa3a74a
TS
4300 dup3 for GNU Hurd.
4301 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4302 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4303 implement dup3 and do some further code clean-ups.
4304 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4305 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4306
ecd0de9a
ST
43072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4308
cd9fa985
ST
4309 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4310
a4186cff
PT
4311 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4312 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4313 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4314 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4315 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4316 d->port.lock.
802ca5a5 4317
a4186cff
PT
4318 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4319 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4320 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4321
bcf55240
TS
43222012-05-10 Thomas Schwinge <thomas@schwinge.name>
4323
6960eb42
TS
4324 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4325 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4326 definitions.
4327
eb43375f
TS
4328 accept4 for GNU Hurd.
4329 * include/sys/socket.h (__libc_accept4): New prototype.
4330 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4331 to implement __libc_accept4.
4332 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4333 __libc_accept4.
4334 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4335
bcf55240
TS
4336 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4337 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4338 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4339 signal-defines.sym.
4340
6178c55b
ST
43412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4342
a4186cff 4343 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4344
6f080c2f
TS
43452012-05-10 Thomas Schwinge <thomas@schwinge.name>
4346
4347 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4348 assertion on O_CLOEXEC flag.
4349 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4350 * hurd/intern-fd.c: Likewise.
4351 * hurd/port2fd.c: Likewise.
4352
bcfe3a54
ST
43532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4354
4355 [BZ #3906]
4356 * bits/in.h (IPV6_PKTINFO): Define new macro.
4357 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4358
89c9aa49
AZ
43592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4360
4361 [BZ #13954]
4362 [BZ #13955]
4363 [BZ #13956]
4364 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4366 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4370 * math/libm-test.inc (logb_test) : Additional logb tests.
4371
021db4be
AJ
43722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4373 Andreas Jaeger <aj@suse.de>
4374
4375 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4376 * configure: Regenerated.
4377 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4378 * config.make.in (link-obsolete-rpc): New substituted variable.
4379 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4380 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4381 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4382 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4383 so that libc.a contains the symbols.
4384 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4385 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4386 * sunrpc/auth_none.c: Likewise.
4387 * sunrpc/auth_unix.c: Likewise.
4388 * sunrpc/authdes_prot.c: Likewise.
4389 * sunrpc/authuxprot.c: Likewise.
4390 * sunrpc/clnt_gen.c: Likewise.
4391 * sunrpc/clnt_perr.c: Likewise.
4392 * sunrpc/clnt_raw.c: Likewise.
4393 * sunrpc/clnt_simp.c: Likewise.
4394 * sunrpc/clnt_tcp.c: Likewise.
4395 * sunrpc/clnt_udp.c: Likewise.
4396 * sunrpc/clnt_unix.c: Likewise.
4397 * sunrpc/des_crypt.c: Likewise.
4398 * sunrpc/des_soft.c: Likewise.
4399 * sunrpc/get_myaddr.c: Likewise.
4400 * sunrpc/key_call.c: Likewise.
4401 * sunrpc/key_prot.c: Likewise.
4402 * sunrpc/netname.c: Likewise.
4403 * sunrpc/pm_getmaps.c: Likewise.
4404 * sunrpc/pm_getport.c: Likewise.
4405 * sunrpc/pmap_clnt.c: Likewise.
4406 * sunrpc/pmap_prot.c: Likewise.
4407 * sunrpc/pmap_prot2.c: Likewise.
4408 * sunrpc/pmap_rmt.c: Likewise.
4409 * sunrpc/publickey.c: Likewise.
4410 * sunrpc/rpc_cmsg.c: Likewise.
4411 * sunrpc/rpc_common.c: Likewise.
4412 * sunrpc/rpc_dtable.c: Likewise.
4413 * sunrpc/rpc_prot.c: Likewise.
4414 * sunrpc/rpc_thread.c: Likewise.
4415 * sunrpc/rtime.c: Likewise.
4416 * sunrpc/svc.c: Likewise.
4417 * sunrpc/svc_auth.c: Likewise.
4418 * sunrpc/svc_raw.c: Likewise.
4419 * sunrpc/svc_run.c: Likewise.
4420 * sunrpc/svc_tcp.c: Likewise.
4421 * sunrpc/svc_udp.c: Likewise.
4422 * sunrpc/svc_unix.c: Likewise.
4423 * sunrpc/svcauth_des.c: Likewise.
4424 * sunrpc/xcrypt.c: Likewise.
4425 * sunrpc/xdr.c: Likewise.
4426 * sunrpc/xdr_array.c: Likewise.
4427 * sunrpc/xdr_float.c: Likewise.
4428 * sunrpc/xdr_intXX_t.c: Likewise.
4429 * sunrpc/xdr_mem.c: Likewise.
4430 * sunrpc/xdr_rec.c: Likewise.
4431 * sunrpc/xdr_ref.c: Likewise.
4432 * sunrpc/xdr_sizeof.c: Likewise.
4433 * sunrpc/xdr_stdio.c: Likewise.
4434
b5c086a2
RM
44352012-05-10 Roland McGrath <roland@hack.frob.com>
4436
4437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4438 change. Update copyright years.
4439
6d74dd09
JM
44402012-05-10 Joseph Myers <joseph@codesourcery.com>
4441
4442 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4443
28e72501
MK
44442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4445 Joseph Myers <joseph@codesourcery.com>
4446 Paul Pluzhnikov <ppluzhnikov@google.com>
4447
4448 [BZ #14012]
4449 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4450 requiring rpcgen.
4451 [cross-compiling] (extra-libs): Likewise.
4452 [cross-compiling] (extra-libs-others): Likewise.
4453 [cross-compiling] (librpcsvc-routines): Likewise.
4454 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4455 [cross-compiling] (omit-deps): Likewise.
4456 (sunrpc-CPPFLAGS): New variable.
4457 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4458 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4459 (cross-rpcgen-objs): New variable.
4460 (extra-objs): Append $(cross-rpcgen-objs).
4461 ($(cross-rpcgen-objs)): New rule.
4462 ($(objpfx)cross-rpcgen): Likewise.
4463 (rpcgen-cmd): Define to use $(built-program-file). Expand
4464 comment.
4465 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4466 ($(objpfx)x%.stmp): Likewise.
4467 * sunrpc/proto.h [IS_IN_build] (_): Define.
4468 [IS_IN_build] (_libc_intl_domainname): Likewise.
4469
c8c59454
L
44702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4471
4472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4473 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4474 and R_X86_64_TPOFF64.
4475
6f27cd16
JM
44762012-05-10 Joseph Myers <joseph@codesourcery.com>
4477
4478 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4479 sysdeps/unix/sysv/syscalls.list.
4480 (stime): Likewise.
4481 (utime): Likewise.
4482 * sysdeps/unix/sysv/syscalls.list: Remove file.
4483
02467e1c
PE
44842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4485
4486 [BZ #3440]
4487 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4488 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4489 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4490 (__LC_IDENTIFICATION): Make these macros useful in #if
4491 expressions, as required by C99.
4492
da392631
AS
44932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4494
4495 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4496 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4497 after this.
4498
8115f29b
L
44992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4500
4501 * stdlib/longlong.h: Updated from GCC.
4502
bdd74070
AJ
45032012-05-09 Andreas Jaeger <aj@suse.de>
4504
edfe0dbe
AJ
4505 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4506 default is first entry.
4507 (run_mode): Set type.
4508 (main): Remove informal message about syslog.
4509 (options): Fix typo.
4510
bcfe3a54
ST
4511 [BZ #14053]
4512 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4513 to asm.
bcfe3a54
ST
4514 (lrint): Likewise.
4515 (llrintf): Likewise.
4516 (llrint): Likewise.
4517 (rint): Likewise.
4518 (rintf): Likewise.
4519 (nearbyint): Likewise.
4520 (nearbyintf): Likewise.
bdd74070 4521
91d8d69e
AJ
45222012-05-09 Andreas Jaeger <aj@suse.de>
4523 Pedro Alves <palves@redhat.com>
4524
4525 * nscd/nscd.c (run_mode): Use enum.
4526 (main): Cleanup coding style issue.
4527
bb90b80b
AJ
45282012-05-09 Alexandre Oliva <aoliva@redhat.com>
4529 Andreas Jaeger <aj@suse.de>
4530
bcfe3a54
ST
4531 * nscd/nscd.c (go_background): Replaced with...
4532 (run_mode): ... this.
bb90b80b 4533 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4534 (options): Add -F --foreground.
4535 (main): Implement it.
4536 (parse_opt): Parse it.
bb90b80b 4537
1a4b75a1
AJ
45382012-05-09 Andreas Jaeger <aj@suse.de>
4539
4540 [BZ #14083]
4541 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4542 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4543 -Wconversion warning.
4544 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4545 Likewise.
4546
b1cc2472
JM
45472012-05-09 Joseph Myers <joseph@codesourcery.com>
4548
4549 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4550 == 0.
4551 (LC_ALL): Use macro-int-constant.
4552 (LC_COLLATE): Likewise.
4553 (LC_CTYPE): Likewise.
4554 (LC_MESSAGES): Likewise.
4555 (LC_MONETARY): Likewise.
4556 (LC_NUMERIC): Likewise.
4557 (LC_TIME): Likewise.
4558 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4559 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4560 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4561 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4562 Specify type.
4563 [C99-based standards] (float_t): Expect type.
4564 [C99-based standards] (double_t): Expect type.
4565 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4566 type.
4567 [C99-based standards] (HUGE_VALL): Likewise.
4568 [C99-based standards] (INFINITY): Likewise.
4569 [C99-based standards] (NAN): Likewise.
4570 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4571 [C99-based standards] (FP_NAN): Likewise.
4572 [C99-based standards] (FP_NORMAL): Likewise.
4573 [C99-based standards] (FP_SUBNORMAL): Likewise.
4574 [C99-based standards] (FP_ZERO): Likewise.
4575 [C99-based standards] (FP_FAST_FMA): Use
4576 optional-macro-int-constant. Specify type. Require == 1.
4577 [C99-based standards] (FP_FAST_FMAF): Likewise.
4578 [C99-based standards] (FP_FAST_FMAL): Likewise.
4579 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4580 [C99-based standards] (FP_ILOGBNAN): Likewise.
4581 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4582 Specify type.
4583 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4584 [C99-based standards] (math_errhandling): Specify type.
4585 [ISO99 || ISO11] (signgam): Do not allow.
4586 [non-C99-based standards] (copysignf): Do not allow.
4587 [non-C99-based standards] (exp2f): Likewise.
4588 [non-C99-based standards] (log2f): Likewise.
4589 [non-C99-based standards] (modff): Allow.
4590 [non-C99-based standards] (erff): Do not allow.
4591 [non-C99-based standards] (erfcf): Likewise.
4592 [non-C99-based standards] (gammaf): Likewise.
4593 [non-C99-based standards] (hypotf): Likewise.
4594 [non-C99-based standards] (j0f): Likewise.
4595 [non-C99-based standards] (j1f): Likewise.
4596 [non-C99-based standards] (jnf): Likewise.
4597 [non-C99-based standards] (lgammaf): Likewise.
4598 [non-C99-based standards] (tgammaf): Likewise.
4599 [non-C99-based standards] (y0f): Likewise.
4600 [non-C99-based standards] (y1f): Likewise.
4601 [non-C99-based standards] (ynf): Likewise.
4602 [non-C99-based standards] (isnanf): Likewise.
4603 [non-C99-based standards] (acoshf): Likewise.
4604 [non-C99-based standards] (asinhf): Likewise.
4605 [non-C99-based standards] (atanhf): Likewise.
4606 [non-C99-based standards] (cbrtf): Likewise.
4607 [non-C99-based standards] (expm1f): Likewise.
4608 [non-C99-based standards] (ilogbf): Likewise.
4609 [non-C99-based standards] (log1pf): Likewise.
4610 [non-C99-based standards] (logbf): Likewise.
4611 [non-C99-based standards] (nextafterf): Likewise.
4612 [non-C99-based standards] (remainderf): Likewise.
4613 [non-C99-based standards] (rintf): Likewise.
4614 [non-C99-based standards] (scalbf): Likewise.
4615 [non-C99-based standards] (copysignl): Likewise.
4616 [non-C99-based standards] (exp2l): Likewise.
4617 [non-C99-based standards] (log2l): Likewise.
4618 [non-C99-based standards] (modfl): Allow.
4619 [non-C99-based standards] (erfl): Do not allow.
4620 [non-C99-based standards] (erfcl): Likewise.
4621 [non-C99-based standards] (gammal): Likewise.
4622 [non-C99-based standards] (hypotl): Likewise.
4623 [non-C99-based standards] (j0l): Likewise.
4624 [non-C99-based standards] (j1l): Likewise.
4625 [non-C99-based standards] (jnl): Likewise.
4626 [non-C99-based standards] (lgammal): Likewise.
4627 [non-C99-based standards] (tgammal): Likewise.
4628 [non-C99-based standards] (y0l): Likewise.
4629 [non-C99-based standards] (y1l): Likewise.
4630 [non-C99-based standards] (ynl): Likewise.
4631 [non-C99-based standards] (isnanl): Likewise.
4632 [non-C99-based standards] (acoshl): Likewise.
4633 [non-C99-based standards] (asinhl): Likewise.
4634 [non-C99-based standards] (atanhl): Likewise.
4635 [non-C99-based standards] (cbrtl): Likewise.
4636 [non-C99-based standards] (expm1l): Likewise.
4637 [non-C99-based standards] (ilogbl): Likewise.
4638 [non-C99-based standards] (log1pl): Likewise.
4639 [non-C99-based standards] (logbl): Likewise.
4640 [non-C99-based standards] (nextafterl): Likewise.
4641 [non-C99-based standards] (remainderl): Likewise.
4642 [non-C99-based standards] (rintl): Likewise.
4643 [non-C99-based standards] (scalbl): Likewise.
4644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4645 [non-C99-based standards] (FP_*): Do not allow.
4646 [C99-based standards] (FP_*): Change to
4647 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4648 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4649 allow.
4650 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4651 (SIG_ERR): Likewise.
4652 [X/Open-based standards] (SIG_HOLD): Likewise.
4653 (SIG_IGN): Likewise.
4654 (SIGABRT): Use macro-int-constant. Specify type. Require
4655 positive value.
4656 (SIGFPE): Likewise.
4657 (SIGILL): Likewise.
4658 (SIGINT): Likewise.
4659 (SIGSEGV): Likewise.
4660 (SIGTER): Likewise.
4661 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4662 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4663 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4664 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4665 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4666 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4667 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4668 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4669 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4670 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4671 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4672 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4673 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4674 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4675 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4676 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4677 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4678 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4679 [X/Open-based standards] (SIGTRAP): Likewise.
4680 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4681 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4682 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4683 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4684 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4685 allow.
4686
b9f1922d
IW
46872012-05-08 Ian Wienand <ianw@vmware.com>
4688
4689 [BZ #14080]
4690 * time/tzset.c (__tzset_parse_tz): Update default rules for
4691 daylight time changes in the Energy Policy Act of 2005.
4692
1db86e88
AJ
46932012-05-09 Andreas Jaeger <aj@suse.de>
4694
4695 [BZ #13983]
4696 * elf/ldconfig.c (parse_conf): Change string to make clear that
4697 ldconfig only issued a warning if ld.so.conf does not exist.
4698
dee4a4e3
DM
46992012-05-08 David S. Miller <davem@davemloft.net>
4700
ee0db190
DM
4701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4702 movxtod instead of popping the value on the stack.
4703
dee4a4e3
DM
4704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4705
6a43ec98
CD
47062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4707
4708 * config.h.in: Add HAVE_ARM_PCS_VFP.
4709
05c2c961
RMG
47102012-05-08 Roland Mc Grath <roland@hack.frob.com>
4711
bcfe3a54
ST
4712 [BZ #13979]
4713 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4714 checking but the checks are disabled for any reason.
05c2c961 4715
4b30f61a
L
47162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4717
4718 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4719 and ELF64_R_TYPE with ELFW(R_TYPE).
4720
eee2bc67
JM
47212012-05-08 Joseph Myers <joseph@codesourcery.com>
4722
7ea5391a
JM
4723 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4724 (ulimit): Likewise.
4725
eee2bc67
JM
4726 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4727 (settimeofday): Likewise.
4728
abb66a67
MF
47292012-05-08 Mike Frysinger <vapier@gentoo.org>
4730
4731 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4732 a struct th_u2 inside the union, and move tu_block/tu_code into
4733 a new th_u3 union of tu_block/tu_code inside of that. Move
4734 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4735 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4736 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4737 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4738 (th_stuff): Change to th_u1.tu_stuff.
4739 (th_data): Define.
4740 (th_msg): Change to th_u1.th_u2.tu_data.
4741
7f18b530
DM
47422012-05-07 David S. Miller <davem@davemloft.net>
4743
05760585
DM
4744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4745
7f18b530
DM
4746 [BZ #14074]
4747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4748 (SETUP_PIC_REG): Use it.
4749 (SETUP_PIC_REG_LEAF): Use it.
4750
495fd99f
JM
47512012-05-07 Joseph Myers <joseph@codesourcery.com>
4752
4753 [BZ #13885]
4754 [BZ #13923]
4755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4756 USE_AS_EXPM1L.
4757 (EXPL_FINITE): Likewise.
4758 (FLDLOG): Likewise.
4759 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4760 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4761 e_expl.S.
4762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4763 USE_AS_EXPM1L.
4764 (EXPL_FINITE): Likewise.
4765 (FLDLOG): Likewise.
4766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4767 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4768 e_expl.S.
4769 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4770 test of -max_value argument for long double.
4771 * sysdeps/i386/fpu/libm-test-ulps: Update.
4772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4773
6693d694
DM
47742012-05-06 David S. Miller <davem@davemloft.net>
4775
4776 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4777 quad soft-float symbols whose references which are compiler
4778 generated.
4779 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4780
6c23e11c
JM
47812012-05-06 Joseph Myers <joseph@codesourcery.com>
4782
d8b82cad
JM
4783 [BZ #13884]
4784 [BZ #13914]
4785 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4786 USE_AS_EXP10L.
4787 (EXPL_FINITE): Likewise.
4788 (FLDLOG): Likewise.
4789 (c0): Likewise.
4790 (c1): Likewise.
4791 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4792 Adjust comments for base varying.
4793 (__expl_finite): Change alias to EXPL_FINITE.
4794 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4795 e_expl.S.
4796 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4797 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4799 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4801 USE_AS_EXP10L.
4802 (EXPL_FINITE): Likewise.
4803 (FLDLOG): Likewise.
4804 (c0): Likewise.
4805 (c1): Likewise.
4806 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4807 Adjust comments for base varying.
4808 (__expl_finite): Change alias to EXPL_FINITE.
4809 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4810 tests for bugs.
4811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4812
6c23e11c
JM
4813 [BZ #14064]
4814 * math/libm-test.inc (check_float_internal): Correct ulp
4815 calculation for subnormal expected results.
4816
29ba805c
AJ
48172012-05-06 Andreas Jaeger <aj@suse.de>
4818
4819 * Makeconfig (+math-flags): New, set to -frounding-math.
4820 (+cflags): Add +math-flags so that all of glibc gets compiled with
4821 it.
4822
4823 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4824
7b17aeda
JM
48252012-05-05 Joseph Myers <joseph@codesourcery.com>
4826
5779f134
JM
4827 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4828 Disable one test.
4829
41498f4d
JM
4830 [BZ #13787]
4831 [BZ #13922]
4832 [BZ #14036]
4833 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4834 (__ieee754_expl): Allow for and saturate large arguments.
4835 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4836 (u_threshold): Likewise.
4837 (__exp): Call __ieee754_exp before checking for overflow and
4838 underflow.
4839 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4840 (u_threshold): Likewise.
4841 (__expf): Call __ieee754_expf before checking for overflow and
4842 underflow.
4843 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4844 (u_threshold): Likewise.
4845 (__expl): Call __ieee754_expl before checking for overflow and
4846 underflow.
4847 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4848 (__ieee754_expl): Allow for and saturate large arguments.
4849 * math/libm-test.inc (exp_test): Add another test. Do not allow
4850 missing overflow exception on overflow.
4851 (expm1_test): Do not allow missing overflow exception on overflow.
4852
6698b8bf
JM
4853 * sysdeps/i386/fpu/e_expl.c: Move to ...
4854 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4855 rather than using inline asm.
4856 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4857 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4858 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4859
7b17aeda
JM
4860 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4861 (nice): Likewise.
4862 (poll): Likewise.
4863 (signal): Likewise.
4864 (time): Likewise.
4865 (times): Likewise.
4866
f7c85819
JM
48672012-05-04 Joseph Myers <joseph@codesourcery.com>
4868
4869 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4870 sysdeps/unix/common/syscalls.list.
4871 (fchmod): Likewise.
4872 (fchown): Likewise.
4873 (ftruncate): Likewise.
4874 (getrusage): Likewise.
4875 (gettimeofday): Likewise.
4876 (setpgid): Likewise.
4877 (setregid): Likewise.
4878 (setreuid): Likewise.
4879 (sigaction): Likewise.
4880 (truncate): Likewise.
4881 (vhangup): Likewise.
4882 * sysdeps/unix/common/syscalls.list: Remove file.
4883 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4884 * sysdeps/unix/sysv/linux/Implies: Likewise.
4885
336270d0
L
48862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4887
4888 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4890 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4891 Moved to ...
4892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4893 Here.
4894 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4895 to ...
4896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4897 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4898 to ...
4899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4900 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4901 to ...
4902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4903 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4904 to ...
4905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4906 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4907 to ...
4908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4910 to ...
4911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4912 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4913 to ...
4914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4915 Here.
4916 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4917 to ...
4918 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4919 Here.
4920 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4921 to ...
4922 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4924 Moved to ...
4925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4926 Here.
4927 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4928 to ...
4929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4930
d128e450
JM
49312012-05-04 Joseph Myers <joseph@codesourcery.com>
4932
fa8ee516
JM
4933 * sysdeps/unix/common/bits/dirent.h: Remove file.
4934 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4935
d128e450
JM
4936 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4937 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4938 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4939 * sysdeps/unix/bsd/isatty.c: Likewise.
4940 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4941 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4942 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4943
ff8faaf0 49442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4945
62881be4 4946 [BZ #13563]
31dc8730
AZ
4947 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4948 long double comparison inaccuracies.
4949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4951
6fef930c
AS
49522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4953
4954 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4956
8f203e6c
JM
49572012-05-04 Joseph Myers <joseph@codesourcery.com>
4958
4959 [BZ #14049]
4960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4961 nonzero digits before rounding a hex value.
4962 * stdlib/tst-strtod.c (tests): Add another test.
4963
5197d9c2
AK
49642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4965
4966 * sysdeps/s390/fpu/libm-test-ulps: Update.
4967
f0c1dedf
AJ
49682012-05-03 Andreas Jaeger <aj@suse.de>
4969
4970 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4971 does not get optimized out.
4972 (malloc_opt_barrier): New.
4973
a65ef2ae 49742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4975 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4976
2b942cb7 4977 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4978 intermediate file deletion.
2b942cb7 4979 (generated): Add .symlist files.
a65ef2ae 4980
54b71e02
JM
49812012-05-03 Joseph Myers <joseph@codesourcery.com>
4982
4983 [BZ #13775]
4984 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4985 Redirect under this condition.
4986 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4987 [__USE_GNU] (__dprintf_chk): Not under this condition.
4988 [__USE_GNU] (__vdprintf_chk): Likewise.
4989 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4990 under this condition.
4991 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4992 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4993 [__USE_XOPEN2K8] (vdprintf): Likewise.
4994 [__USE_GNU] (__dprintf_chk): Not under this condition.
4995 [__USE_GNU] (__vdprintf_chk): Likewise.
4996 [__USE_GNU] (dprintf): Likewise.
4997 [__USE_GNU] (vdprintf): Likewise.
4998
d3dfcc41
RM
49992012-05-03 Roland McGrath <roland@hack.frob.com>
5000
5001 * elf/Makefile (common-generated): Set this instead of generated for
5002 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
5003 $(all-built-dso)-derived lists.
5004
7ac30cc5
AJ
50052012-05-03 Andreas Jaeger <aj@suse.de>
5006
0c51e550
AJ
5007 * sysdeps/i386/fpu/libm-test-ulps: Update.
5008
7ac30cc5
AJ
5009 * FAQ: Removed.
5010 * FAQ.in: Likewise.
5011 * scripts/gen-FAQ.pl: Likewise.
5012 * manual/install.texi (Installation): Point to online location of
5013 FAQ.
5014 * Makefile (files-for-dist): Remove FAQ.
5015 (FAQ): Remove.
5016
d4c2917f
AM
50172012-05-02 Allan McRae <allan@archlinux.org>
5018
5019 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
5020 (LDFLAGS-reldepmod5.so): Likewise.
5021 (LDFLAGS-reldep6mod1.so): Likewise.
5022 (LDFLAGS-reldep6mod4.so): Likewise.
5023 (LDFLAGS-reldep8mod3.so): Likewise.
5024 (LDFLAGS-unload4mod1.so): Likewise.
5025 (LDFLAGS-unload4mod2.so): Likewise.
5026 (LDFLAGS-tst-initorder): Likewise.
5027 (LDFLAGS-tst-initordera2.so): Likewise.
5028 (LDFLAGS-tst-initordera3.so): Likewise.
5029 (LDFLAGS-tst-initordera4.so): Likewise.
5030 (LDFLAGS-tst-initorderb2.so): Likewise.
5031 (LDFLAGS-noload): Likewise.
5032 (LDFLAGS-next): Likewise.
5033 (LDFLAGS-order2mod1.so): Likewise.
5034 (LDFLAGS-order2mod2.so): Likewise.
5035 (LDFLAGS-tst-initorder2): Likewise.
5036 (LDFLAGS-tst-initorder2a.so): Likewise.
5037 (LDFLAGS-tst-initorder2b.so): Likewise.
5038 (LDFLAGS-tst-initorder2c.so): Likewise.
5039 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5040
d77f993f
DM
50412012-05-02 David S. Miller <davem@davemloft.net>
5042
5043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5044
171a70b4
PP
50452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5046
5047 [BZ #14055]
5048 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5049
0be196ad
AJ
50502012-05-02 Andreas Jaeger <aj@suse.de>
5051
5052 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5053 since we manipulate rounding mode.
5054 (CPPFLAGS-test-idouble.c): Likewise.
5055 (CPPFLAGS-test-ifloat.c): Likewise.
5056 (CFLAGS-test-ldouble.c): Likewise.
5057 (CFLAGS-test-double.c): Likewise.
5058 (CFLAGS-test-float.c): Likewise.
5059 (CFLAGS-test-misc.c): Likewise.
5060 (CFLAGS-test-test-fenv.c): Likewise.
5061
4f9d04aa
AZ
50622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063
2b942cb7
RM
5064 [BZ #2550]
5065 [BZ #2570]
5066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5067 comparisons to determine direction to adjust input.
4f9d04aa 5068
82a79e7d
RM
50692012-05-01 Roland McGrath <roland@hack.frob.com>
5070
f5a01ca9
RM
5071 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5072 output to the target.
5073
90fe4186
RM
5074 * scripts/localplt.awk: New file.
5075 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5076 (check-localplt-CFLAGS): Variable removed.
5077 ($(all-built-dso:=.jmprel)): New static pattern rule.
5078 (generated): Add those targets.
5079 (localplt-built-dso): New variable.
5080 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5081
5082 * elf/check-localplt.c: File removed.
5083
82397ed6
RM
5084 * scripts/check-execstack.awk: New file.
5085 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5086 (check-execstack-CFLAGS): Variable removed.
5087 ($(objpfx)check-execstack.h): Target removed.
5088 ($(objpfx)execstack-default): New target.
5089 (generated): Add that instead of check-execstack.h.
5090 ($(all-built-dso:=.phdr)): New static pattern rule.
5091 (generated): Add those targets.
5092 * elf/check-execstack.c: File removed.
5093
82a79e7d
RM
5094 * scripts/check-textrel.awk: New file.
5095 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5096 (check-textrel-CFLAGS): Variable removed.
5097 (all-built-dso): Use := to define.o
5098 ($(all-built-dso:=.dyn)): New static pattern rule.
5099 (generated): Add those targets.
5100 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5101 * config.make.in (READELF): New substituted variable.
5102 * elf/check-textrel.c: File removed.
5103
62fde54f 51042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5105
615605c9
JM
5106 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5107 allow.
5108 * conform/data/ctype.h-data [C99-based standards] (isblank):
5109 Expect function.
5110 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5111 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5113 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5114 Specify type. Require positive value.
5115 (EILSEQ): Likewise.
5116 (ERANGE): Likewise.
5117 [ISO || POSIX] (EILSEQ): Do not expect.
5118 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5119 Specify type. Require positive value.
5120 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5123 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5139 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5147 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5148 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5149 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5150 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5151 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5152 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5153 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5154 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5155 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5156 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5157 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5158 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5159 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5160 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5161 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5162 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5163 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5164 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5165 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5166 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5167 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5168 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5169 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5170 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5171 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5172 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5173 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5174 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5175 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5176 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5177 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5178 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5179 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5181 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5182 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5183 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5185 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5187 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5188 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5189 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5190 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5191 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5192 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5193 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5194 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5195 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5196 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5197 Require >= 2.
5198 (FLT_ROUNDS): Expect as macro, not constant.
5199 (FLT_MANT_DIG): Use macro-int-constant.
5200 (DBL_MANT_DIG): Likewise.
5201 (LDBL_MANT_DIG): Likewise.
5202 (FLT_DIG): Likewise.
5203 (DBL_DIG): Likewise.
5204 (LDBL_DIG): Likewise.
5205 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5206 (DBL_MIN_EXP): Likewise.
5207 (LDBL_MIN_EXP): Likewise.
5208 (FLT_MAX_EXP): Use macro-int-constant.
5209 (DBL_MAX_EXP): Likewise.
5210 (LDBL_MAX_EXP): Likewise.
5211 (FLT_MAX_10_EXP): Likewise.
5212 (DBL_MAX_10_EXP): Likewise.
5213 (LDBL_MAX_10_EXP): Likewise.
5214 (FLT_MAX): Use macro-constant.
5215 (DBL_MAX): Likewise.
5216 (LDBL_MAX): Likewise.
5217 (FLT_EPSILON): Use macro-constant. Give upper bound.
5218 (DBL_EPSILON): Likewise.
5219 (LDBL_EPSILON): Likewise.
5220 (FLT_MIN): Likewise.
5221 (DBL_MIN): Likewise.
5222 (LDBL_MIN): Likewise.
5223 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5224 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5225 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5226 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5227 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5228 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5229 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5230 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5231 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5232 [ISO11] (FLT_TRUE_MIN): Likewise.
5233 [ISO11] (LDBL_TRUE_MIN): Likewise.
5234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5235 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5236 (SCHAR_MIN): Use macro-int-constant. Specify type.
5237 (SCHAR_MAX): Likewise.
5238 (UCHAR_MAX): Likewise.
5239 (CHAR_MIN): Likewise.
5240 (CHAR_MAX): Likewise.
5241 (MB_LEN_MAX): Use macro-int-constant.
5242 (SHRT_MIN): Use macro-int-constant. Specify type.
5243 (SHRT_MAX): Likewise.
5244 (USHRT_MAX): Likewise.
5245 (INT_MAX): Likewise.
5246 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5247 bound negative.
5248 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5249 bound with "U".
5250 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5251 bound with "L".
5252 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5253 bound negative. Suffix upper bound with "L".
5254 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5255 bound with "UL".
5256 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5257 Specify type.
5258 [C99-based standards] (LLONG_MAX): Likewise.
5259 [C99-based standards] (ULLONG_MAX): Likewise.
5260 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5261 == 0.
5262 [ISO11] (max_align_t): Require type.
5263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5264
c9140a62
JM
5265 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5266 from $CFLAGS, without defining away __attribute__ calls.
5267 (checknamespace): Use $CFLAGS_namespace.
5268
9af0bf29
JM
5269 * conform/conformtest.pl (@keywords): Only include C99 keywords
5270 for standards based on C99 or C11.
5271
343222a2
JM
5272 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5273 Disable tests.
5274 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5275 UNIX98]: Likewise.
5276
661f8cf0
JM
5277 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5278 usability of symbols in #if.
5279
ee74b9cb
JM
5280 * conform/conformtest.pl: If macro or constant types start
5281 "promoted:", expect the symbol to be of the following type
5282 promoted by the integer promotions.
62fde54f 5283
aafc49b3
JM
5284 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5285 in one place. Also handle "macro-constant".
5286
fefdf574
JM
5287 * conform/conformtest.pl: Only accept expected macro values with
5288 "==". Parse all "macro" lines in one place.
5289 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5290
f2d922fe
JM
5291 * conform/conformtest.pl: Handle braced types on "constant" lines
5292 instead of handling "typed-constant".
5293 * conform/data/signal.h-data: Use "constant" instead of
5294 "typed-constant".
5295
d22956c9
JM
5296 * conform/conformtest.pl: Handle "optional-" at start of lines in
5297 one place rather than duplicating several cases. Handle each
5298 format of "macro" line with initial "optional-".
5299
028e2e38
JM
5300 * conform/conformtest.pl: Only accept expected constant or
5301 optional-constant values with "==". Parse all "constant" lines in
5302 one place. Parse all "optional-constant" lines in one place.
5303 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5304 * conform/data/fmtmsg.h-data: Likewise.
5305 * conform/data/netinet/in.h-data: Likewise.
5306 * conform/data/tar.h-data: Likewise.
5307 * conform/data/limits.h-data: Use "==" form on "constant" and
5308 "optional-constant" lines.
5309
1b8f2850
JM
5310 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5311 Use -std=c99 for XOPEN2K.
5312 (@knownproblems): Remove.
5313 (newtoken): Don't check %isknown.
5314
a05a144b
JM
5315 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5316 Do not expect macro.
5317 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5329 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5330 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5347 [XPG3] (acosh): Likewise.
5348 [XPG3] (asinh): Likewise.
5349 [XPG3] (atanh): Likewise.
5350 [XPG3] (cbrt): Likewise.
5351 [XPG3] (expm1): Likewise.
5352 [XPG3] (ilogb): Likewise.
5353 [XPG3] (log1p): Likewise.
5354 [XPG3] (logb): Likewise.
5355 [XPG3] (nextafter): Likewise.
5356 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5357 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5358 [XPG3] (remainder): Likewise.
5359 [XPG3] (rint): Likewise.
5360 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5362 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5363 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5364 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5365 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5366 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5367 [UNIX98 || XOPEN2K] (scalb): Expect.
5368 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5369 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5370 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5371 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5372 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5373 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5374 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5375 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5376 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5377 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5378 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5379 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5380 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5381 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5382 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5383 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5384 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5385 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5386 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5387 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5388 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5389 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5390 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5391 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5392 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5393 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5394 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5395 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5396 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5397 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5398 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5399 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5400 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5401 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5403 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5404 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5405 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5406 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5408 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5409 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5410 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5412 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5413 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5414 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5415 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5417 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5418 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5419 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5420 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5421 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5422 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5423 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5424 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5425 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5426 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5427 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5428 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5429 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5430 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5431 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5432 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5433 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5434 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5435 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5436 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5437 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5438 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5439 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5440 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5441 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5442 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5443 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5444 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5445 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5446 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5447 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5448 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5449 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5450 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5451 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5452 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5453 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5454 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5455 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5456 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5457 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5458 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5459 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5460 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5461 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5462 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5463 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5464 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5465 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5466 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5467 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5468 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5469 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5470 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5471 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5472 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5473 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5474 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5475 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5476 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5477 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5478 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5479 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5480 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5481 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5482 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5483 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5484 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5485 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5486 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5487 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5488 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5489 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5490 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5491 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5492 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5493 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5494 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5495 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5496 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5497 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5498 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5499 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5500 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5501 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5502 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5503 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5504 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5505
73c5ebe3
JM
5506 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5507 _XOPEN_SOURCE_EXTENDED for XPG4.
5508
39c33b6c
JM
5509 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5510
62fde54f
JM
5511 * Makeconfig (localtime): Remove variable.
5512 (inst_localtime-file): Likewise.
5513
0741d64c
AS
55142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5515
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5517 Update.
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5519 Update.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5521 Update.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5523 Update.
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5525 Update.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5527 Update.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5529 Update.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5531 Update.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5533 Update.
5534
7cb029ee
JM
55352012-05-01 Joseph Myers <joseph@codesourcery.com>
5536
5537 [BZ #2550]
5538 [BZ #2570]
5539 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5540 comparisons to determine direction to adjust input.
5541 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5542 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5544 Likewise.
5545 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5546 Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5548 Likewise.
5549 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5550 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5551 Likewise.
5552 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5553 Likewise.
5554 * math/libm-test.inc (nexttoward_test): Add more tests.
5555
412bd966
AS
55562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5557
5558 [BZ #14040]
5559 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5560 in version GLIBC_2.1, not GLIBC_2.0.
5561 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5562 Likewise.
5563
9568c0c2
JM
55642012-04-30 Joseph Myers <joseph@codesourcery.com>
5565
adfbc8ac
JM
5566 [BZ #13942]
5567 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5568 (1 - x) * (1 + x).
5569 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5570 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5571 * math/libm-test.inc (acos_test): Add more tests.
5572 (asin_test): Likewise.
5573 * sysdeps/i386/fpu/libm-test-ulps: Update.
5574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5575
5ba3cc69
JM
5576 [BZ #14034]
5577 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5578 of square root.
5579 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5580 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5581 * math/libm-test.inc (acos_test_tonearest): New function.
5582 (acos_test_towardzero): Likewise.
5583 (acos_test_downward): Likewise.
5584 (acos_test_upward): Likewise.
5585 (asin_test_tonearest): Likewise.
5586 (asin_test_towardzero): Likewise.
5587 (asin_test_downward): Likewise.
5588 (asin_test_upward): Likewise.
5589 (main): Call the new functions.
5590 * sysdeps/i386/fpu/libm-test-ulps: Update.
5591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5592
9568c0c2
JM
5593 [BZ #13884]
5594 [BZ #13924]
5595 * math/e_exp10.c: Include <float.h>.
5596 (__ieee754_exp10): Handle underflow here rather than multiplying
5597 large negative argument by M_LN10.
5598 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5599 of __ieee754_expf.
5600 * math/e_exp10l.c: Include <float.h>.
5601 (__ieee754_exp10l): Handle underflow here rather than multiplying
5602 large negative argument by M_LN10l.
5603 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5604 spurious overflow exception on underflow.
5605
5ac3ea17
MP
56062012-04-29 Marek Polacek <polacek@redhat.com>
5607
5608 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5609 (__fortify_function): New macro.
5610 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5611 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5612 __extern_always_inline.
5613 * libio/bits/stdio2.h: Likewise.
5614 * libio/bits/stdio.h: Likewise.
5615 * string/string.h: Likewise.
5616 * string/bits/string3.h: Likewise.
5617 * include/stdio.h: Likewise.
5618 * stdlib/bits/stdlib.h: Likewise.
5619 * stdlib/stdlib.h: Likewise.
5620 * rt/bits/mqueue2.h: Likewise.
5621 * rt/mqueue.h: Likewise.
5622 * posix/bits/unistd.h: Likewise.
5623 * posix/unistd.h: Likewise.
5624 * io/bits/poll2.h: Likewise.
5625 * io/bits/fcntl2.h: Likewise.
5626 * io/fcntl.h: Likewise.
5627 * io/sys/poll.h: Likewise.
5628 * misc/bits/syslog.h: Likewise.
5629 * misc/bits/syslog-ldbl.h: Likewise.
5630 * misc/sys/syslog.h: Likewise.
5631 * socket/bits/socket2.h: Likewise.
5632 * socket/sys/socket.h: Likewise.
5633 * debug/tst-chk1.c: Likewise.
5634 * wcsmbs/bits/wchar2.h: Likewise.
5635 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5636 * wcsmbs/wchar.h: Likewise.
5637
ecf0ebfb
AJ
56382012-04-29 Andreas Jaeger <aj@suse.de>
5639
5640 * Makerules (tests): Remove enable-check-abi protection.
5641 (check-abi-warn): Remove.
5642 (check-abi-%): Remove check-abi-warn usage.
5643
5644 * configure.in: Remove check-abi configure option.
5645 * configure: Regenerated.
5646 * config.make.in (enable-check-abi): Remove.
5647
6d5c57fa
AS
56482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5649
24c5d07e 5650 [BZ #14033]
ded5180a
AS
5651 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5652 double functions to double *_finite functions.
5653
7e0d315d
AS
5654 [BZ #13941]
5655 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5656 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5657 LDBL_MIN_EXP.
5658 * stdio-common/Makefile (tests): Add tst-sprintf3.
5659 * stdio-common/tst-sprintf3.c: New file.
5660
6d5c57fa
AS
5661 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5662 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5663
0749ff8b
JM
56642012-04-28 Joseph Myers <joseph@codesourcery.com>
5665
5666 * conform/conformtest.pl: Remove duplicate typed-constant
5667 handling.
5668
8dbd5d7b
DM
56692012-04-28 David S. Miller <davem@davemloft.net>
5670
5671 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5672 (check-abi-%): Remove AWK script prerequisite and explicit
5673 abilist directory.
5674 (check-abi): Rewrite to just diff the symlist with the abilist.
5675 (config-tls, config-abi-config): Delete, no longer used.
5676 (update-abi-%): Remove AWK script and explicit abilist directory.
5677 (update-abi): Rewrite to simply compare and conditionally copy the
5678 symlist and the sysdep abilist file. Remove update-abi-config
5679 checks.
5680 * abilist/ld.abilist: Remove.
5681 * abilist/libBrokenLocale.abilist: Remove.
5682 * abilist/libanl.abilist: Remove.
5683 * abilist/libcrypt.abilist: Remove.
5684 * abilist/libdl.abilist: Remove.
5685 * abilist/librt.abilist: Remove.
5686 * abilist/libthread_db.abilist: Remove.
5687 * abilist/libutil.abilist: Remove.
5688 * scripts/extract-abilist.awk: Remove.
5689 * scripts/merge-abilist.awk: Remove.
5690 * sysdeps/generic/libcidn.abilist: New file.
5691 * sysdeps/generic/libnss_compat.abilist: New file.
5692 * sysdeps/generic/libnss_db.abilist: New file.
5693 * sysdeps/generic/libnss_dns.abilist: New file.
5694 * sysdeps/generic/libnss_files.abilist: New file.
5695 * sysdeps/generic/libnss_hesiod.abilist: New file.
5696 * sysdeps/generic/libnss_nis.abilist: New file.
5697 * sysdeps/generic/libnss_nisplus.abilist: New file.
5698 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5699 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5700 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5701 file.
5702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5703 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5704 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5705 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5706 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5707 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5708 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5709 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5710 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5711 file.
5712 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5713 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5714 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5715 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5716 file.
5717 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5718 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5719 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5720 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5721 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5722 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5723 file.
5724 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5725 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5726 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5727 file.
5728 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5730 New file.
5731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5732 New file.
5733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5734 New file.
5735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5736 New file.
5737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5738 New file.
5739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5740 New file.
5741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5742 New file.
5743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5744 New file.
5745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5746 New file.
5747 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5748 New file.
5749 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5750 New file.
5751 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5752 New file.
5753 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5754 New file.
5755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5756 file.
5757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5758 New file.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5760 New file.
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5762 file.
5763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5764 New file.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5766 New file.
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5768 file.
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5770 New file.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5772 New file.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5774 New file.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5776 New file.
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5778 New file.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5780 New file.
5781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5783 file.
5784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5785 New file.
5786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5787 file.
5788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5789 file.
5790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5791 file.
5792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5793 file.
5794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5795 file.
5796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5797 New file.
5798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5799 file.
5800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5801 file.
5802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5803 New file.
5804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5805 file.
5806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5808 file.
5809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5810 New file.
5811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5812 file.
5813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5814 file.
5815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5816 file.
5817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5818 file.
5819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5820 file.
5821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5822 New file.
5823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5824 file.
5825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5826 file.
5827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5828 New file.
5829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5830 file.
5831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5832 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5833 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5834 file.
5835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5836 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5837 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5838 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5839 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5840 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5841 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5842 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5843 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5844 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5847 file.
5848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5849 New file.
5850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5851 file.
5852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5853 file.
5854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5855 file.
5856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5857 file.
5858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5859 file.
5860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5861 New file.
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5863 New file.
5864 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5865 file.
5866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5867 New file.
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5869 file.
5870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5872 file.
5873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5874 New file.
5875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5876 file.
5877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5878 file.
5879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5880 file.
5881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5882 file.
5883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5884 file.
5885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5886 New file.
5887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5888 New file.
5889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5890 file.
5891 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5892 New file.
5893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5894 file.
5895
41d73a1b
JM
58962012-04-28 Joseph Myers <joseph@codesourcery.com>
5897
5898 * conform/conformtest.pl: Fix typo in handling typed-constant from
5899 allow-header.
5900
28aeeda4
JM
59012012-04-27 Joseph Myers <joseph@codesourcery.com>
5902
adae8f5e
JM
5903 * README: Cut down references to pre-2.6 Linux kernels and
5904 Linuxthreads. Update lists of configurations in libc and ports
5905 and sort alphabetically. Say "or newer" with Linux kernel version
5906 requirements.
5907
28aeeda4
JM
5908 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5909
a462cb63
RA
59102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5911
5912 [BZ #887]
5913 * math/libm-test.inc (logb_test_downward): New test to expose
5914 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5915 rounding mode.
5916
6ad3493e
JM
59172012-04-27 Joseph Myers <joseph@codesourcery.com>
5918
5919 [BZ #14027]
5920 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5921 to be done.
5922 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5923 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5924
2ce4f015
JM
59252012-04-26 Joseph Myers <joseph@codesourcery.com>
5926
5aeb141a
JM
5927 * sysdeps/unix/i386/brk.S: Remove file.
5928 * sysdeps/unix/i386/dl-brk.S: Likewise.
5929 * sysdeps/unix/i386/pipe.S: Likewise.
5930 * sysdeps/unix/i386/sigreturn.S: Likewise.
5931 * sysdeps/unix/i386/syscall.S: Likewise.
5932 * sysdeps/unix/i386/vfork.S: Likewise.
5933 * sysdeps/unix/i386/wait.S: Likewise.
5934
7143acae
JM
5935 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5936 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5937
2ce4f015
JM
5938 * configure.in (arm*-none*): Do not allow without
5939 --enable-hacker-mode.
5940 (netbsd*): Remove case setting base_os.
5941 (386bsd*): Likewise.
5942 (freebsd*): Likewise.
5943 (bsdi*): Likewise.
5944 (osf*): Likewise.
5945 (sunos*): Likewise.
5946 (ultrix*): Likewise.
5947 (newsos*): Likewise.
5948 (dynix*): Likewise.
5949 (*bsd*): Likewise.
5950 (sysv*): Likewise.
5951 (isc*): Likewise.
5952 (esix*): Likewise.
5953 (sco*): Likewise.
5954 (minix*): Likewise.
5955 (irix4*): Likewise.
5956 (irix6*): Likewise.
5957 (solaris[2-9]*): Likewise.
5958 (none): Likewise.
5959 * configure: Regenerated.
5960
0ac229c8
AZ
59612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962
5963 [BZ #11521]
5964 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5965 overflow or cancellation in calculating denominator.
5966 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5968 down expression to avoid unexpected rounding in newer GCCs.
5969 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5970
33f244f4
DM
59712012-04-26 David S. Miller <davem@davemloft.net>
5972
5973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5974 long-double compat symbols.
5975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5988
cfa1f3e8
DM
59892012-04-25 David S. Miller <davem@davemloft.net>
5990
5991 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5992 HWCAP_* values only after the memory barriers have been defined.
5993 (atomic_full_barrier): Define.
5994 (atomic_read_barrier): Define.
5995 (atomic_write_barrier): Define.
5996
6e236b92
SP
59972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
5999 * shlib-versions: Add libgcc_s version information.
6000 * sysdeps/generic/libgcc_s.h: Remove.
6001 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
6002 libgcc_s.h.
6003 * sysdeps/gnu/unwind-resume.c: Likewise.
6004 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
6005
aab39a09
DM
60062012-04-25 David S. Miller <davem@davemloft.net>
6007
6008 * sysdeps/unix/sparc/brk.S: Delete.
6009 * sysdeps/unix/sparc/dl-brk.S: Delete.
6010 * sysdeps/unix/sparc/pipe.S: Delete.
6011 * sysdeps/unix/sparc/sysdep.S: Delete.
6012 * sysdeps/unix/sparc/sysdep.h: Delete.
6013 * sysdeps/unix/sparc/vfork.S: Delete.
6014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
6015 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
6016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
6017 ret_ERRVAL, r0, r1, MOVE): Define.
6018 (JUMPTARGET): Remove.
6019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
6020 sysdeps/unix/sparc/sysdep.h
6021 (ENTRY, END): Remove.
6022 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6023
a3cc4f48
JM
60242012-04-25 Joseph Myers <joseph@codesourcery.com>
6025
2ed8cda2
JM
6026 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
6027 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
6028 -DIS_IN_build.
6029
35d76d59
JM
6030 * timezone/README: Update upstream location and email address for
6031 tzcode and tzdata.
6032 * timezone/zdump.c: Update from tzcode 2012b.
6033 * timezone/zic.c: Likewise.
6034
a3cc4f48
JM
6035 * configure.in (libc_cv_as_needed): Remove test.
6036 * configure: Regenerated.
6037 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6038 conditional definition.
6039 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6040 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6041 * config.make.in (have-as-needed): Remove variable.
6042
ceab42c3
SP
60432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6044 Paul Pluzhnikov <ppluzhnikov@google.com>
6045
6046 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6047 strings correctly.
6048
3ce2865f
CLT
60492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6050
6051 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6052 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6053 * sysdeps/sh/strlen.S: Likewise.
6054
f37e0d68
JM
60552012-04-24 Joseph Myers <joseph@codesourcery.com>
6056
ae186e9a
JM
6057 * sysdeps/unix/fork.S: Remove file.
6058 * sysdeps/unix/i386/fork.S: Likewise.
6059 * sysdeps/unix/sparc/fork.S: Likewise.
6060
b96914af
JM
6061 * sysdeps/unix/system.c: Remove file.
6062 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6063
f37e0d68
JM
6064 * sysdeps/unix/getegid.S: Remove file.
6065 * sysdeps/unix/geteuid.S: Likewise.
6066
87ef29ca
RM
60672012-04-24 Roland McGrath <roland@hack.frob.com>
6068
83bcd236
RM
6069 * scripts/check-localplt.awk: New file.
6070 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6071 of diff.
6072 * scripts/data/localplt-generic.data: Add a comment.
6073
87ef29ca
RM
6074 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6075 NODE when __dir_mkfile failed.
6076 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6077 Reported by Ludovic Courtès <ludo@gnu.org>.
6078
e5a6e567
AJ
60792012-04-24 Andreas Jaeger <aj@suse.de>
6080
6081 * Makerules (common-clean): Also remove gen-as-const-headers
6082 files.
6083
c1820385
JM
60842012-04-24 Joseph Myers <joseph@codesourcery.com>
6085
6086 * Makerules (native-compile): Do not change working directory for
6087 build. Use $(OUTPUT_OPTION) in command.
6088 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6089
94e02fc4
AZ
60902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6091
6092 [BZ #13886]
6093 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6094 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6095 * math/libm-test.inc (floor_test): Add more tests.
6096 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6097
3a533ca3
JM
60982012-04-24 Joseph Myers <joseph@codesourcery.com>
6099
940ab4b3
JM
6100 * sysdeps/unix/getdents.c: Remove file.
6101 * sysdeps/unix/sysv/getdents.c: Likewise.
6102 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6103
90e037bd
JM
6104 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6105 sysdeps/unix/mman/syscalls.list.
6106 (mmap): Likewise.
6107 (mprotect): Likewise.
6108 (msync): Likewise.
6109 (munmap): Likewise.
6110 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6111 * sysdeps/unix/mman/syscalls.list: Remove.
6112 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6113
3a533ca3
JM
6114 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6115 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6116 * configure: Regenerated.
6117 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6118 $(libgcc_s_suffix).
6119 * config.make.in (libgcc_s_suffix): Remove variable.
6120
1ad743de
JM
61212012-04-23 Joseph Myers <joseph@codesourcery.com>
6122
4ad451e2
JM
6123 * sysdeps/unix/sysv/gethostname.c: Move to ...
6124 * sysdeps/posix/gethostname.c: ... here.
6125
5e37ce39
JM
6126 * sysdeps/unix/execve.S: Remove file.
6127
1ad743de
JM
6128 * sysdeps/unix/_exit.S: Remove file.
6129
4e681b5b
AJ
61302012-04-23 Andreas Jaeger <aj@suse.de>
6131
6132 [BZ #13739]
6133 * manual/Makefile: Remove make dist support, there's no
6134 need for a stand-alone documentation tar ball.
6135 (TEXI2DVI): Define always, it's not in Makeconfig.
6136 (dist): Removed.
6137 (tar-it): Removed.
6138 (edition): Removed.
6139 (glibc-doc-$(edition).tar): Removed
6140 (%.Z): Removed.
6141 (%.gz): Removed.
6142 (%.uu): Removed.
6143 (ETAGS): Remove, it's in Makeconfig.
6144 (move-if-change): Remove, it's in Makeconfig.
6145
c0baea34
PE
61462013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6147
6148 [BZ #13970]
6149 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6150 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6151 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6152 (strtod_l, strtof_l, strtold_l): Remove __wur.
6153 It is not necessarily an error to ignore strtol's return value.
6154 One can reliably look at the stored endptr to decide whether
6155 the number had valid syntax.
6156
7c0616fa
AJ
61572012-04-21 Andreas Jaeger <aj@suse.de>
6158
803cb6b7 6159 [BZ #13739]
7c0616fa
AJ
6160 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6161
b0fe253f
JM
61622012-04-21 Joseph Myers <joseph@codesourcery.com>
6163
6164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6165 * sysdeps/unix/sysv/Versions: Remove file.
6166
8280f22d
MT
61672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6168
6169 [BZ #13927]
6170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6171
75ce411f 61722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6173
6174 [BZ #7064]
6175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6176 version from __vm86.
6177
097d59fa
JM
61782012-04-20 Joseph Myers <joseph@codesourcery.com>
6179
a90f3bcb
JM
6180 * sysdeps/unix/common/lxstat.c: Remove file.
6181 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6182
edc7ea78
JM
6183 * sysdeps/unix/sysv/Makefile: Remove file.
6184
cb78c221
JM
6185 * sysdeps/unix/sysv/direct.h: Remove file.
6186
efa6a45f
JM
6187 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6188 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6189 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6190 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6191 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6192 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6193 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6194
9c9f2d0c
JM
6195 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6196
4541c83b
JM
6197 * sysdeps/unix/xmknod.c: Remove file.
6198 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6199
f5d153a0
JM
6200 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6201
aa746595
JM
6202 * sysdeps/unix/sysv/i386/time.S: Remove file.
6203
cce5905e
JM
6204 * sysdeps/unix/fxstat.c: Remove file.
6205 * sysdeps/unix/xstat.c: Likewise.
6206 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6207
37fa3841
JM
6208 * sysdeps/unix/sysv/sigaction.c: Remove file.
6209
ff1962a3
JM
6210 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6211 (sysdep_headers): Remove variable.
6212 [termio.h not in sysdep_headers] (generated): Likewise.
6213 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6214 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6215 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6216 * sysdeps/unix/sysv/tcflow.c: Likewise.
6217 * sysdeps/unix/sysv/tcflush.c: Likewise.
6218 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6219 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6220 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6221 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6222 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6223
e7740d31
JM
6224 * sysdeps/unix/siglist.c: Remove file.
6225
ee06f18b
JM
6226 * sysdeps/unix/getppid.S: Remove file.
6227
097d59fa
JM
6228 * sysdeps/unix/mkdir.c: Remove file.
6229 * sysdeps/unix/rmdir.c: Likewise.
6230
ff3d51ec
AS
62312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6232
6233 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6234 ERR_MAX value.
6235 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6236 errlist-compat value.
6237
50f81fd7
DM
62382012-04-18 David S. Miller <davem@davemloft.net>
6239
6240 * sysdeps/generic/memcopy.h (reg_char): Delete.
6241 * debug/strcat_chk.c: Use char, not reg_char.
6242 * debug/strcpy_chk.c: Likewise.
6243 * debug/strncat_chk.c: Likewise.
6244 * debug/strncpy_chk.c: Likewise.
6245 * string/memchr.c: Likewise.
6246 * string/memrchr.c: Likewise.
6247 * string/rawmemchr.c: Likewise.
6248 * string/strcat.c: Likewise.
6249 * string/strchr.c: Likewise.
6250 * string/strchrnul.c: Likewise.
6251 * string/strcmp.c: Likewise.
6252 * string/strcpy.c: Likewise.
6253 * string/strncat.c: Likewise.
6254 * string/strncmp.c: Likewise.
6255 * string/strncpy.c: Likewise.
6256
8ff41c46
WS
62572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6258
6259 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6260 __builtin_memcopy is called when src and dest ranges are known to not
6261 overlap.
6262
6b652f46
WS
62632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6264
6265 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6266 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6267 fwd_align_merge macro call.
6268 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6269 bwd_align_merge macro call.
6270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6271
b282631e
WS
62722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6273
6274 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6275 bwd_align_merge macros.
6276 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6277 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6278 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6279
95aa737c
DM
62802012-04-18 David S. Miller <davem@davemloft.net>
6281
6282 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6283
7a99a614
AJ
62842012-04-18 Andreas Jaeger <aj@suse.de>
6285
6286 [BZ# 6794]
6287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6288 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6289 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6290
6291 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6292 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6294
6295 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6296 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6297 Adjust for changed ldbl-128 files.
6298
6299 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6300 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6302
e5270c23
DM
63032012-04-17 David S. Miller <davem@davemloft.net>
6304
6305 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6306
fb5e92c9
AS
63072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6308
6309 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6310 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6311 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6312 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6313 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6314 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6315
76da7265
AZ
63162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6317
6318 [BZ #6794]
6319 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6320 * math/libm-test.inc: Add ilogb errno and exception tests.
6321 * math/w_ilogb.c: New file: ilogb wrapper.
6322 * math/w_ilogbf.c: New file: ilogbf wrapper.
6323 * math/w_ilogbl.c: New file: ilogbl wrapper.
6324 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6325 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6326 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6327 exception being thrown with 0.0 as argument.
6328 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6329 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6330 exception being thrown with 0.0 as argument.
6331 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6332 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6333 exception being thrown with 0.0 as argument.
6334 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6335 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6336 exception being thrown with 0.0 as argument.
6337 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6338 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6339 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6340 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6341 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6342 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6343 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6344 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6345 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6346
0396e69d
PB
63472012-04-17 Petr Baudis <pasky@ucw.cz>
6348
6349 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6350 with altivec.
6351
750b5926
MP
63522012-04-16 Marek Polacek <polacek@redhat.com>
6353
6354 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6355
751728a1
MP
63562012-04-16 Marek Polacek <polacek@redhat.com>
6357
6358 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6359 operands of fdivp instruction.
6360
34a27407
L
63612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6364 * elf/tst-auditmod3b.c: Likewise.
6365 * elf/tst-auditmod4b.c: Likewise.
6366 * elf/tst-auditmod5b.c: Likewise.
6367 * elf/tst-auditmod6b.c: Likewise.
6368 * elf/tst-auditmod6c.c: Likewise.
6369 * elf/tst-auditmod7b.c: Likewise.
6370 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6371 * sysdeps/x86_64/preconfigure.in: Likewise.
6372 * sysdeps/x86_64/preconfigure: Regenerated.
6373
7e73e17d
L
63742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6375
6376 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6377 __ILP32__.
6378
c7a6ab72
AB
63792012-04-13 Antoine Balestrat <merkil33@gmail.com>
6380
6381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6382 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6383
a9e8e0e0
CL
63842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6385
6386 [BZ #13973]
6387 * locale/iso-639.def: Fix gl language name. Spotted by
6388 Yaron Shahrabani.
6389
ec98af7d
RM
63902012-04-12 Roland McGrath <roland@hack.frob.com>
6391
6392 [BZ #2074]
6393 * libio/libio.h (__io_write_fn): Update comment.
6394
247c3ede
PB
63952012-04-12 Petr Baudis <pasky@ucw.cz>
6396
6397 [BZ #2074]
6398 * stdio.texi (Hook Functions): The user provided writer function
6399 is not allowed to return -1.
6400
55939d6d
DM
64012012-04-11 David S. Miller <davem@davemloft.net>
6402
6403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6404
90020f5a
MF
64052012-04-11 Mike Frysinger <vapier@gentoo.org>
6406
6407 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6408 Add a leading slash to rtkaio.
6409
288f9098
JM
64102012-04-11 Jim Meyering <meyering@redhat.com>
6411
90020f5a
MF
6412 [BZ #11959]
6413 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6414 It is not necessarily an error to ignore fwrite's return
6415 value. One can reliably use ferror to test for errors after
6416 the fact.
288f9098 6417
4be2b570
L
64182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6419
6420 * bits/types.h (__snseconds_t): New type.
6421 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6422
6423 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6425 (__SNSECONDS_T_TYPE): Likewise.
6426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6427 (__SNSECONDS_T_TYPE): Likewise.
6428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6429 (__SNSECONDS_T_TYPE): Likewise.
6430
288f9098 64312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6432
6433 [BZ #2636]
6434 * manual/time.texi (Processor Time): Return type of times is
6435 elapsed real time since an arbitrary point in the past.
6436 (CPU Time): Move CLK_TCK from here...
6437 (Processor Time): ...to here. Correct description.
6438 * manual/conf.texi (Constants for Sysconf): Correct description of
6439 _SC_CLK_TCK.
6440
d7dd4413
DM
64412012-04-10 David S. Miller <davem@davemloft.net>
6442
6443 [BZ #13967]
6444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6445 where the is a gap between DT_REL(A) and DT_JMPREL.
6446
b46068fc
L
64472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6448
6449 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6450 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6451 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6452
73d65cc3
SP
64532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6454
6455 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6456 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6457 (dl_main): Handle --inhibit-cache.
6458 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6459 _dl_inhibit_cache.
6460 * elf/dl-load.c (_dl_map_object): Use it.
6461 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6462
bcc8d661
JM
64632012-04-09 Joseph Myers <joseph@codesourcery.com>
6464
8f9a2fae
JM
6465 [BZ #13872]
6466 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6467 (__ieee754_powl): Saturate large exponents rather than testing for
6468 overflow of y*log2(x).
6469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6470 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6471 exceptions.
6472
bcc8d661
JM
6473 [BZ #11521]
6474 * math/s_ctan.c: Include <float.h>.
6475 (__ctan): Avoid internal overflow or cancellation in calculating
6476 denominator.
6477 * math/s_ctanf.c: Likewise.
6478 * math/s_ctanl.c: Likewise.
6479 * math/s_ctanh.c: Likewise.
6480 * math/s_ctanhf.c: Likewise.
6481 * math/s_ctanhl.c: Likewise.
6482 * math/libm-test.inc (ctan_test): Add more tests.
6483 (ctanh_test): Likewise.
6484 * sysdeps/i386/fpu/libm-test-ulps: Update.
6485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6486
823fbbb4
AJ
64872012-04-09 Andreas Jaeger <aj@suse.de>
6488
03879793
AJ
6489 [BZ #6894]
6490 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6491 is an optional BSD extension.
6492
823fbbb4
AJ
6493 [BZ #10254]
6494 * manual/stdio.texi (Opening Streams): Document additional fopen
6495 parameters.
6496
8de131cb
RM
64972012-04-09 Roland McGrath <roland@hack.frob.com>
6498
6499 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6500 %eax without telling the compiler.
6501
c0ed9d7d
CD
65022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6503
6504 [BZ # 13963]
6505 * manual/install.texi: Use sourceware.org.
6506
c483f6b4
JM
65072012-04-09 Joseph Myers <joseph@codesourcery.com>
6508
d7dd9453
JM
6509 [BZ #13873]
6510 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6511 (__ieee754_pow): Generate overflow and underflow using huge*huge
6512 and tiny*tiny rather than just returning constant infinity or zero
6513 for large exponents.
6514 * math/libm-test.inc (pow_test): Require overflow exceptions for
6515 applicable cases of large exponents.
6516
c483f6b4
JM
6517 [BZ #706]
6518 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6519 (__ieee754_pow): Use iterative multiplication algorithm only for
6520 integer exponents with absolute value below 1024. Check for odd
6521 integer exponents when using algorithm for real exponents.
6522 * math/libm-test.inc (pow_test): Add more tests.
6523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6524
d2de7579
JM
65252012-04-08 Joseph Myers <joseph@codesourcery.com>
6526
6527 [BZ #13705]
6528 * math/libm-test.inc (exp_test): Do not allow overflow exception
6529 on underflow test.
6530
f77f1232
AJ
65312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6532
6533 [BZ #13705]
6534 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6535 instead of __kernel_standard_f.
6536
3884932b
MF
65372012-04-08 Mike Frysinger <vapier@gentoo.org>
6538
6539 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6540 * sysdeps/x86_64/memset_chk.S: Likewise.
6541
54472e9c
AJ
65422012-04-08 Andreas Jaeger <aj@suse.de>
6543
6ab0fbfc
AJ
6544 [BZ #10153]
6545 * manual/startup.texi (Environment Access): Describe return value
6546 for putenv and setenv.
6547
61efba8c
AJ
6548 [BZ #6895]
6549 * manual/filesys.texi (Directory Entries): Add description for
6550 DT_LNK.
6551
95c3f29a
AJ
6552 [BZ #6890]
6553 * manual/filesys.texi (Directory Entries): Clarify that it's file
6554 system not operating system in the description of DT_UNKNOWN.
6555
54472e9c
AJ
6556 [BZ #6578]
6557 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6558
624254b1
SC
65592012-04-08 Stephen Compall <s11@member.fsf.org>
6560
6561 [BZ #6649]
6562 * manual/llio.texi (Opening and Closing Files): Add cross
6563 reference to explain mode argument.
6564
1e4920e0
MF
65652012-04-07 Mike Frysinger <vapier@gentoo.org>
6566
6567 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6568 * sysdeps/x86_64/memset_chk.S: Likewise.
6569
5ed848f3
DM
65702012-04-07 David S. Miller <davem@davemloft.net>
6571
6572 * elf/elf.h (R_SPARC_WDISP10): Define.
6573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6574 R_SPARC_SIZE32.
6575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6576 R_SPARC_SIZE64 and R_SPARC_H34.
6577
96154cd8
CD
65782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6579
6580 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6581 conditions and remove no longer applicable assertion.
6582
9904dc47
L
65832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6584
6585 * bits/byteswap.h: Include <features.h>.
6586 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6587 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6588
f8887d0a
L
65892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6590
6591 * bits/byteswap.h (__bswap_16): Removed.
6592 Include <bits/byteswap-16.h> to get __bswap_16.
6593 * sysdeps/i386/bits/byteswap.h: Likewise.
6594 * sysdeps/s390/bits/byteswap.h: Likewise.
6595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6596 * bits/byteswap-16.h: New file.
6597 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6598 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6599 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6600 * string/Makefile (headers): Add bits/byteswap-16.h.
6601
62470f60
PP
66022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6603
6604 [BZ #13895]
6605 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6606 extra indirection.
6607 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6608 * nss/tst-nss-static.c: New.
6609
4dad7bab
RM
66102012-04-06 Robert Millan <rmh@gnu.org>
6611
6612 [BZ #6486]
6613 * manual/llio.texi (File Position Primitive): lseek
6614 refers to WHENCE when it really means OFFSET.
6615
e9142a17
AJ
66162012-04-06 Andreas Jaeger <aj@suse.de>
6617
2c040eff
AJ
6618 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6619 strncmp declarations.
6620
e9142a17
AJ
6621 * abilist/libc.abilist: Add __poll and __ppoll.
6622
ff9f1c5f
DM
66232012-04-05 David S. Miller <davem@davemloft.net>
6624
dcd2ae90
DM
6625 * scripts/check-local-headers.sh: Accept a host triplet in the
6626 path matched by the exclude regexp.
6627
993eb054
DM
6628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6629 definition.
6630 * sysdeps/powerpc/powerpc32/dl-machine.h
6631 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6632 * sysdeps/s390/s390-32/dl-machine.h
6633 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6634 * sysdeps/sparc/sparc32/dl-machine.h
6635 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6636 * sysdeps/sparc/sparc64/dl-machine.h
6637 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6638
ff9f1c5f
DM
6639 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6640 lazy binding.
48e2e132 6641 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6642 undefined symbol errors.
6643
48e2e132 6644 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6645 DT_NEEDED entries.
6646
e80d6f94
MM
66472012-04-05 Michael Matz <matz@suse.de>
6648
6649 [BZ #13592]
6650 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6651
349fa79f
AJ
66522012-04-05 Andreas Jaeger <aj@suse.de>
6653
6654 [BZ #13908]
6655 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6656 comment.
6657
f402708f
KK
66582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6659
6660 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6661 which ROUND is no valid rounding mode.
6662
2ecccfc9
KK
66632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6664
6665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6666 read again.
6667 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6668
8a53f50f
KK
66692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6670
6671 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6672 an exception using FPU order intentionally.
6673
66742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6675
6676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6677 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6678 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6679 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6680
d653abb7
SJ
66812012-04-05 Simon Josefsson <simon@josefsson.org>
6682
6683 [BZ #12340]
6684 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6685 EINVAL when BUFLEN is too smal.
6686
c3b1bf7d
TS
66872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6688
6689 [BZ #13553]
6690 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6691 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6692
b1aa60f3
AJ
66932012-04-03 Andreas Jaeger <aj@suse.de>
6694
c3b1bf7d 6695 [BZ #13938]
67f60a26
AJ
6696 * manual/setjmp.texi (System V contexts): Fix sentence.
6697
b1aa60f3
AJ
6698 [BZ #13926]
6699 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6700 New macro for this case.
6701 [!__GNUC__] (__bswap_64): New inline function for this case.
6702 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6703 * bits/byteswap.h: Likewise.
6704 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6705 ull, guard with __GLIBC_HAVE_LONG_LONG.
6706
6707 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6708 __GLIBC_HAVE_LONG_LONG.
6709
6710 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6711 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6712
39c59c35
TMQMF
67132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6714
6715 [BZ #13691]
6716 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6717 inptr and inend, rather than using last_ch.
6718
135ffda8
DM
67192012-04-02 David S. Miller <davem@davemloft.net>
6720
6721 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6722 * stdio-common/printf-parse.h (read_int): Change return type to
6723 'int', return -1 on INT_MAX overflow.
6724 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6725 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6726 overflows INT_MAX. Check for overflow of in-format-string precision
6727 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6728 SIZE_MAX not INT_MAX for integer overflow test.
6729 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6730 skip the construct in the format string but do not record anything.
6731 * stdio-common/bug22.c: Adjust to test both width/prevision
6732 INT_MAX overflow as well as total length INT_MAX overflow. Check
6733 explicitly for proper errno values.
6734
228c019e
TS
67352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6736
302cadd3
TS
6737 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6738 CHAR_MAX.
6739 * string/test-strcmp.c [! WIDE]: Likewise.
6740 * time/tst-mktime2.c: Likewise for INT_MAX.
6741 * string/test-string.h: #include <sys/param.h> for MIN.
6742
228c019e
TS
6743 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6744 * sysdeps/i386/init-first.c (init): Likewise.
6745 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6746 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6747 * sysdeps/sh/init-first.c (init): Likewise.
6748
cfa633f5
UD
67492012-04-01 Ulrich Drepper <drepper@gmail.com>
6750
6751 * po/ru.po: Update from translation team.
d1635ef8 6752 * po/vi.po: Likewise.
cfa633f5 6753
6cd0a5ea
SP
67542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6755
6756 * resolv/nss_dns/dns-host.c: Merge copyright years.
6757
4b43400f
LD
67582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6759
6760 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6761 Optimize memcpy with prefetch if
6762 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6763 src, dst pointers have unequal 16 byte alignments.
6764
48c41d04
SP
67652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6766
6767 [BZ #13928]
6768 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6769 from a CNAME entry and return the minimum ttl for the query.
6770 (gaih_getanswer_slice): Likewise.
6771
b8dc394d
JL
67722012-03-30 Jeff Law <law@redhat.com>
6773
6774 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6775 due to long keys.
6776 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6777 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6778
2f5a5ed0
JL
6779 * resolv/nss_dns/dns-host.c: Update copyright year.
6780
1d39e359
UD
67812012-03-30 Ulrich Drepper <drepper@gmail.com>
6782
c030f70c 6783 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6784 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6785
1d39e359
UD
6786 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6787 comments for sendmmsg.
6788
67892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6790
6791 [BZ #13691]
6792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6793 with only 1 character between 0x0041 and 0x01b0.
6794 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6795 * wcsmbs/tst-mbsnrtowcs.c: New file.
6796
20fde227
DM
67972012-03-29 David S. Miller <davem@davemloft.net>
6798
6799 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6800 small copies by hand.
6801
984a4237
JL
68022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6803
6804 [BZ #13761]
6805 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6806 _nss_compat_initgroups_dyn): Fall back to malloc/free
6807 for large group memberships.
6808
18c9d62b
DM
68092012-03-28 David S. Miller <davem@davemloft.net>
6810
88d85d4f
DM
6811 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6812 that branches into memcpy.
6813 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6814 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6815 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6816 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6818 bits.
6819 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6820 implementation too.
6821 * sysdeps/sparc/mempcpy.S: New file.
6822
e5aa83e1
DM
6823 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6824 the IFUNC routine in the libc case.
6825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6826
88570753
DM
6827 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6828 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6829 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6830 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6831 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6832 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6833 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6834 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6835
249d7567
DM
6836 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6837 loop to 256 bytes instead of 64 bytes and fix test signedness.
6838
18c9d62b
DM
6839 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6840 * sysdeps/sparc/sparc32/Makefile: rather than here...
6841 * sysdeps/sparc/sparc64/Makefile: and here.
6842
05f3d1f6
UD
68432012-03-28 Ulrich Drepper <drepper@gmail.com>
6844
6845 * malloc/mallocbug.c: Avoid warnings about unused variables.
6846
86ae07a8
JL
68472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6848
6849 [BZ #13760]
6850 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6851 in the right place. Discard and retry query if response is
6852 larger than input buffer size.
6853
41bf21a1
JM
68542012-03-28 Joseph Myers <joseph@codesourcery.com>
6855
d6270972
JM
6856 [BZ #369]
6857 [BZ #2678]
6858 [BZ #3866]
6859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6860 x for large integer exponent.
6861 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6862 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6863 sign of result as needed afterwards.
6864 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6866 result for underflowing pow the same as for overflow.
6867 (__kernel_standard_l): Handle powl overflow and underflow here
6868 rather than calling __kernel_standard.
6869 * math/libm-test.inc (pow_test): Add more tests.
6870
414fca03 6871 [BZ #3868]
41bf21a1
JM
6872 [BZ #13879]
6873 [BZ #13910]
6874 [BZ #13911]
6875 [BZ #13912]
6876 [BZ #13913]
6877 [BZ #13915]
6878 [BZ #13916]
6879 [BZ #13917]
6880 [BZ #13918]
6881 [BZ #13919]
6882 [BZ #13920]
6883 [BZ #13921]
6884 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6885 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6886 (__kernel_standard_l): New function.
6887 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6888 __kernel_standard.
6889 * math/w_acosl.c (__acosl): Likewise.
6890 * math/w_asinl.c (__asinl): Likewise.
6891 * math/w_atan2l.c (__atan2l): Likewise.
6892 * math/w_atanhl.c (__atanhl): Likewise.
6893 * math/w_coshl.c (__coshl): Likewise.
6894 * math/w_exp10l.c (__exp10l): Likewise.
6895 * math/w_exp2l.c (__exp2l): Likewise.
6896 * math/w_fmodl.c (__fmodl): Likewise.
6897 * math/w_hypotl.c (__hypotl): Likewise.
6898 * math/w_j0l.c (__j0l, __y0l): Likewise.
6899 * math/w_j1l.c (__j1l, __y1l): Likewise.
6900 * math/w_jnl.c (__jnl, __ynl): Likewise.
6901 * math/w_lgammal.c (__lgammal): Likewise.
6902 * math/w_log10l.c (__log10l): Likewise.
6903 * math/w_log2l.c (__log2l): Likewise.
6904 * math/w_logl.c (__logl): Likewise.
6905 * math/w_powl.c (__powl): Likewise.
6906 * math/w_remainderl.c (__remainderl): Likewise.
6907 * math/w_scalbl.c (sysv_scalbl): Likewise.
6908 * math/w_sinhl.c (__sinhl): Likewise.
6909 * math/w_sqrtl.c (__sqrtl): Likewise.
6910 * math/w_tgammal.c (__tgammal): Likewise.
6911 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6912 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6913 * math/libm-test.inc (acos_test): Add more tests.
6914 (acosh_test): Likewise.
6915 (asin_test): Likewise.
6916 (atanh_test): Likewise.
6917 (exp_test): Likewise.
6918 (exp10_test): Likewise.
6919 (exp2_test): Likewise.
6920 (expm1_test): Likewise.
6921 (lgamma_test): Likewise.
6922 (log_test): Likewise.
6923 (log10_test): Likewise.
6924 (log1p_test): Likewise.
6925 (log2_test): Likewise.
6926 (pow_test): Do not allow some spurious overflow exceptions.
6927 (sqrt_test): Add more tests.
6928 (tgamma_test): Likewise.
6929 (y0_test): Likewise.
6930 (y1_test): Likewise.
6931 (yn_test): Likewise.
6932
dd62fda6
AB
69332012-03-27 Anton Blanchard <anton@samba.org>
6934
6935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6936 MAP_HUGETLB.
6937 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6939 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6940
1e3cdfda
AJ
69412012-03-27 David S. Miller <davem@davemloft.net>
6942
b855ab85
DM
6943 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6944
1e3cdfda
AJ
6945 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6946 have-as-vis3 check.
6947
69482012-03-27 Andreas Jaeger <aj@suse.de>
6949
6950 * sysdeps/x86_64/elf/configure.in: Moved to ...
6951 * sysdeps/x86_64/configure.in: ... here.
6952 * sysdeps/x86_64/elf/start.S: Moved to ...
6953 * sysdeps/x86_64/start.S: ... here.
6954 * sysdeps/x86_64/elf/configure: Delete.
6955
6956 * sysdeps/x86_64/configure.in: Merge contents from
6957 sysdeps/i386/configure.in (without i686 check).
6958
6959 * sysdeps/i386/elf/Versions: Merge into ...
6960 * sysdeps/i386/Versions: ... this.
6961 * sysdeps/i386/elf/Versions: Delete file.
6962 * sysdeps/i386/elf/start.S: Moved to ...
6963 * sysdeps/i386/start.S: ...here.
6964 * sysdeps/i386/elf/configure.in: Merge into...
6965 * sysdeps/i386/configure.in: ...here.
6966 * sysdeps/i386/elf/configure.in: Delete file.
6967 * sysdeps/i386/elf/configure: Delete file.
6968
6969 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6970 * debug/backtracesyms.c: ... here.
6971 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6972 * debug/backtracesymsfd.c: ... here.
6973 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6974 * sysdeps/generic/ifunc-sel.h: ... here.
6975
6976 * sysdeps/unix/i386/start.c: Delete file.
6977 * sysdeps/unix/sparc/start.c: Delete file.
6978 * sysdeps/unix/start.c: Delete file.
6979
6980 * sysdeps/sh/elf/configure.in: Moved to ...
6981 * sysdeps/sh/configure.in: ... here.
6982 * sysdeps/sh/elf/start.S: Moved to ...
6983 * sysdeps/sh/start.S: ... here.
6984 * sysdeps/sh/elf/configure: Delete file.
6985
6986 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6987 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6988 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6989 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6990 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6991 * sysdeps/powerpc/powerpc64/start.S: here.
6992 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6993 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6994 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6995 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6996 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6997
6998 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6999 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
7000 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
7001 * sysdeps/powerpc/powerpc32/start.S: ... here.
7002 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
7003 * sysdeps/powerpc/powerpc32/configure.in: ... this.
7004 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
7005
7006 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
7007 * sysdeps/powerpc/ifunc-sel.h: ... here.
7008 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
7009 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
7010
7011 * sysdeps/sparc/elf/configure.in: Moved to ...
7012 * sysdeps/sparc/configure.in: ... here.
7013 * sysdeps/sparc/elf/configure: Delete file.
7014 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
7015 * sysdeps/sparc/sparc32/start.S: ... here.
7016 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
7017 * sysdeps/sparc/sparc64/start.S: ... here.
7018 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
7019 * sysdeps/sparc/sparc32/Makefile: ... this.
7020 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
7021 * sysdeps/sparc/sparc64/Makefile: ... this.
7022
7023 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
7024 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
7025 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
7026 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
7027 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
7028 * sysdeps/s390/s390-32/setjmp.S: ... here.
7029 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
7030 * sysdeps/s390/s390-32/configure.in: ... here.
7031 * sysdeps/s390/s390-32/elf/configure: Delete file.
7032 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
7033 * sysdeps/s390/s390-32/start.S: ... here.
7034
7035 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7036 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7037 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7038 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7039 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7040 * sysdeps/s390/s390-64/setjmp.S: ... here.
7041 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7042 * sysdeps/s390/s390-64/configure.in: ... here
7043 * sysdeps/s390/s390-64/elf/configure: Delete file.
7044 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7045 * sysdeps/s390/s390-64/start.S: ... here.
7046 * sysdeps/s390/s390-64/elf/configure: Delete.
7047
7048 * configure.in: Remove support for elf directories in sysdeps.
7049
7050 * configure: Regenerated.
7051 * sysdeps/i386/configure: Regenerated.
7052 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7053 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7054 * sysdeps/s390/s390-32/configure: Regenerated.
7055 * sysdeps/s390/s390-64/configure: Regenerated.
7056 * sysdeps/sh/configure: Regenerated.
7057 * sysdeps/sparc/configure: Regenerated.
7058 * sysdeps/x86_64/configure: Regenerated.
7059
a3f61311
AS
70602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7061
c876e002
AS
7062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7063
a3f61311
AS
7064 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7065 denormal result into account.
7066
ac4c54f0
RM
70672012-03-25 Roland McGrath <roland@hack.frob.com>
7068
7069 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7070 Reported by Allan McRae <allan@archlinux.org>.
7071
6a9b9c02
JL
70722012-03-23 Jeff Law <law@redhat.com>
7073
7074 * nss/getnssent.c (__nss_getent): Fix typo.
7075
4c42a0c1
DM
70762012-03-23 David S. Miller <davem@davemloft.net>
7077
7078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7079
1532c7ac
L
70802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7081
7082 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7083 to pad to uint64_t for each field.
7084 (dl_tls_index): Replace unsigned long with uint64_t.
7085
3ff42526
PP
70862012-03-23 Daniel Jacobowitz <dmj@google.com>
7087 Paul Pluzhnikov <ppluzhnikov@google.com>
7088
7089 [BZ #6528]
7090 * grp/Makefile (otherlibs): Don't set it.
7091 * inet/Makefile (otherlibs): Likewise.
7092 * login/Makefile (otherlibs): Likewise.
7093 * nscd/Makefile (otherlibs): Likewise.
7094 * posix/Makefile (otherlibs): Likewise.
7095 * pwd/Makefile (otherlibs): Likewise.
7096 * rt/Makefile (otherlibs): Likewise.
7097 * sunrpc/Makefile (otherlibs): Likewise.
7098 * nss/Makefile (otherlibs): Likewise.
7099 Add libnss_files to routines and static-only-routines.
7100 ($(objpfx)getent): Remove rule.
7101 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7102 static-only-routines.
7103
7c69cd14
JM
71042012-03-22 Joseph Myers <joseph@codesourcery.com>
7105
7106 [BZ #13892]
7107 * math/s_cexp.c: Include <float.h>.
7108 (__cexp): Handle exp result overflowing not necessarily
7109 overflowing both real and imaginary parts of result.
7110 * math/s_cexpf.c: Likewise.
7111 * math/s_cexpl.c: Likewise.
7112 * math/libm-test.inc (cexp_test): Add more tests.
7113 * sysdeps/i386/fpu/libm-test-ulps: Update.
7114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7115
81b035fe
L
71162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7117
7118 * include/link.h (ELFW): New macro.
7119 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7120 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7121
1da7940c
L
71222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7125 with uint64_t.
7126
b749dbb9
L
71272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7128
7129 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7130 declaration.
7131 (struct La_x32_retval): Likewise.
7132
2ff87f3f
L
71332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7134
7135 * sysdeps/x86_64/preconfigure.in: New file.
7136 * sysdeps/x86_64/preconfigure: New generated file.
7137
c0df8e69
JM
71382012-03-22 Joseph Myers <joseph@codesourcery.com>
7139
48e44791
JM
7140 [BZ #13824]
7141 * math/e_exp2l.c: Include <float.h>.
7142 (__ieee754_exp2l): Handle overflow and underflow cases
7143 separately. Only pass fractional part of argument to
7144 __ieee754_expl.
7145 * math/libm-test.inc (exp2_test): Add more tests.
7146
c0df8e69
JM
7147 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7148 negating x to take absolute value.
7149 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7150 Likewise.
7151 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7152 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7153 Likewise.
7154 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7155 computing low part if x was negated.
7156 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7157
c8e43ba7
L
71582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7159
7160 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7161 la_x32_gnu_pltexit.
7162 (pltexit): Cast int_retval to ptrdiff_t.
7163 * elf/tst-auditmod3b.c: Likewise.
7164 * elf/tst-auditmod4b.c: Likewise.
7165 * elf/tst-auditmod5b.c: Likewise.
7166 * elf/tst-auditmod6b.c: Likewise.
7167 * elf/tst-auditmod6c.c: Likewise.
7168 * elf/tst-auditmod7b.c: Likewise.
7169
7170 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7171 and x32_gnu_pltexit.
7172
7173 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7174 __ELF_NATIVE_CLASS.
7175 (La_x32_regs): New macro.
7176 (La_x32_retval): Likewise.
7177 (la_x32_gnu_pltenter): New function prototype.
7178 (la_x32_gnu_pltexit): Likewise.
7179
7998fa78
AS
71802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7181
dcb33988
AS
7182 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7183 exponent.
7184
233fc563
AS
7185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7186
7998fa78
AS
7187 * configure.in (libc_cv_cc_nofma): Check for option to disable
7188 generation of FMA instructions.
7189 * configure: Regenerate.
7190 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7191 * sysdeps/ieee754/dbl-64/Makefile: New file.
7192 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7193 Remove brandred-fma4.
7194 (CFLAGS-brandred-fma4.c): Remove.
7195 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7197 define.
7198 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7199 define.
7200
8e95c99a
L
72012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7202
7203 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7204 LLONG_MAX != LONG_MAX.
7205 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7206 (_fitoa_word): Likewise.
7207 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7208 LLONG_MAX != LONG_MAX.
7209 * stdio-common/_itowa.h: Include <_itoa.h>.
7210 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7211 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7212 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7213 only if not defined.
7214 (_ITOA_WORD_TYPE): Likewise.
7215 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7216 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7217
6f4db457
DM
72182012-03-21 David S. Miller <davem@davemloft.net>
7219
7220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7221
7785fe5a
L
72222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7225 of x86_64 when setting libc_cv_slibdir, libdir and
7226 libc_cv_localedir.
7227 * sysdeps/unix/sysv/linux/configure: Regenerated.
7228
4535cd55
JM
72292012-03-21 Joseph Myers <joseph@codesourcery.com>
7230
7231 * manual/lang.texi (Old Varargs): Remove section.
7232 (How Variadic): Update menu.
7233 (va_start): Do not mention varargs.h.
7234
17228132
TS
72352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7236 Joseph Myers <joseph@codesourcery.com>
7237
7238 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7239 link test.
7240 * configure: Regenerated.
7241
8149f976
TS
72422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7243
05f3d1f6
UD
7244 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7245 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7246 conformtest.pl
8149f976 7247
1a4ac776
JM
72482012-03-21 Joseph Myers <joseph@codesourcery.com>
7249
be22ce65
JM
7250 * NOTES: Remove.
7251 * Makefile (files-for-dist): Remove NOTES.
7252 (NOTES): Remove rule.
7253 * README: Don't refer to NOTES.
7254 * manual/creature.texi: Don't include macros.texi.
7255 * manual/intro.texi (creature.texi): Remove comment referring to
7256 NOTES.
7257
40b601fb
JM
7258 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7259 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7260 * configure: Regenerated.
7261 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7262 LIBC_TRY_CC_OPTION.
7263 (libc_cv_as_i686): Likewise.
7264 (libc_cv_cc_avx): Likewise.
7265 (libc_cv_cc_sse2avx): Likewise.
7266 (libc_cv_cc_fma4): Likewise.
7267 (libc_cv_cc_novzeroupper): Likewise.
7268 * sysdeps/i386/configure: Regenerated.
7269
1a4ac776
JM
7270 [BZ #13883]
7271 * sysdeps/i386/fpu/s_cexp.S: Remove.
7272 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7273 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7274 * math/libm-test.inc (cexp_test): Add more tests.
7275 * sysdeps/i386/fpu/libm-test-ulps: Update.
7276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7277
a458e7fe
AM
72782012-03-21 Allan McRae <allan@archlinux.org>
7279
7280 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7281
0cb7efc5
JM
72822012-03-21 Joseph Myers <joseph@codesourcery.com>
7283
7284 [BZ #13871]
7285 * math/w_exp2.c: Do not include <float.h>.
7286 (o_threshold, u_threshold): Remove.
7287 (__exp2): Calculate result before checking finiteness and calling
7288 __kernel_standard.
7289 * math/w_exp2f.c: Likewise.
7290 * math/w_exp2l.c: Likewise.
7291 * math/libm-test.inc (exp2_test): Require overflow exception for
7292 1e6 input.
2460d3aa
JM
7293
7294 [BZ #3866]
7295 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7296 range of signed 64-bit integers before using fistpll. Remove
7297 checks for whether integers fit in mantissa bits.
7298 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7299 the range of signed 32-bit integers before using fistpl. Remove
7300 checks for whether integers fit in mantissa bits.
7301 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7302 (__ieee754_powl): Test for y outside the range of signed 64-bit
7303 integers before using fistpll. Reduce 64-bit values to 63-bit
7304 ones as needed.
7305 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7306 divide-by-zero is raised for zero to large negative powers.
7307 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7308 (__ieee754_powl): Test for y outside the range of signed 64-bit
7309 integers before using fistpll. Reduce 64-bit values to 63-bit
7310 ones as needed.
7311 * math/libm-test.inc (pow_test): Add more tests.
7312
eb96ffb0
L
73132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7314
7315 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7316 <stdio-common/_itoa.h>.
7317 * debug/segfault.c: Likewise.
7318 * elf/dl-cache.c: Likewise.
7319 * elf/dl-minimal.c: Likewise.
7320 * elf/dl-misc.c: Likewise.
7321 * elf/dl-sysdep.c: Likewise.
7322 * elf/dl-version.c: Likewise.
7323 * elf/rtld.c: Likewise.
7324 * hurd/hurdsock.c: Likewise.
7325 * hurd/lookup-retry.c: Likewise.
7326 * malloc/malloc.c: Likewise.
7327 * malloc/mtrace.c: Likewise.
7328 * nscd/nscd_getgr_r.c: Likewise.
7329 * nscd/nscd_getpw_r.c: Likewise.
7330 * nscd/nscd_getserv_r.c: Likewise.
7331 * posix/getopt_init.c: Likewise.
7332 * posix/wordexp.c: Likewise.
7333 * stdio-common/_itoa.c: Likewise.
7334 * stdio-common/printf_fphex.c: Likewise.
7335 * stdio-common/vfprintf.c: Likewise.
7336 * string/_strerror.c: Likewise.
7337 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7338 * sysdeps/i386/i686/hp-timing.h: Likewise.
7339 * sysdeps/mach/_strerror.c: Likewise.
7340 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7341 * sysdeps/mach/hurd/sethostid.c: Likewise.
7342 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7343 * sysdeps/mach/xpg-strerror.c: Likewise.
7344 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7345 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7346 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7347 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7348 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7349 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7350 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7351 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7352 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7353 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7354 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7355 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7356 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7357 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7358 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7359 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7362 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7363 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7364 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7365
7366 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7367
7368 * stdio-common/_itoa.h: Moved to ...
7369 * sysdeps/generic/_itoa.h: Here.
7370
7371 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7372
7373 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7374 instead of "_itoa.h" and "_itowa.h".
7375 * stdio-common/vfprintf.: Likewise.
7376
d1af992d
L
73772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7378
7379 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7380 <bits/wordsize.h>.
7381 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7382 (__signbit): Likwise.
7383 (llrintf): Likwise.
7384 (llrint): Likwise.
7385
114883e0
L
73862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7387
7388 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7389 __WORDSIZE != 64.
7390
c135cc1b
JM
73912012-03-20 Joseph Myers <joseph@codesourcery.com>
7392
7393 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7394 OVERFLOW_EXCEPTION_OK.
7395 * math/libm-test.inc ("Philosophy"): Update comment about
7396 exception testing.
7397 (OVERFLOW_EXCEPTION): Define.
7398 (OVERFLOW_EXCEPTION_OK): Likewise.
7399 (INVALID_EXCEPTION_OK): Renumber.
7400 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7401 (IGNORE_ZERO_INF_SIGN): Likewise.
7402 (test_exceptions): Handle FE_OVERFLOW.
7403 (exp10_test): Expect overflow exceptions.
7404 (exp2_test): Likewise.
7405 (expm1_test): Likewise.
7406 (nextafter_test): Likewise.
7407 (pow_test): Likewise.
7408 (scalbn_test): Likewise.
7409 (scalbln_test): Likewise.
7410
95443d88
L
74112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7412
7413 * sysdeps/x86_64/bits/atomic.h
7414 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7415 64bit integer.
7416 (atomic_exchange_acq): Likewise.
7417 (__arch_exchange_and_add_body): Likewise.
7418 (__arch_add_body): Likewise.
7419 (atomic_add_negative): Likewise.
7420 (atomic_add_zero): Likewise.
7421
490df6c4
L
74222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7423
c2722551 7424 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7425 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7426
5e52b189
L
74272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7428
7429 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7430 Check __x86_64__ instead of __WORDSIZE.
7431
a9879d4c
L
74322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7433
7434 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7435
5df98260
DM
74362012-03-19 David S. Miller <davem@davemloft.net>
7437
e1497744
DM
7438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7439
5df98260
DM
7440 * sysdeps/sparc/fpu/fenv_private.h: New file.
7441 * sysdeps/sparc/fpu/math_private.h: Use it.
7442 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7443 Remove.
7444 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7445 (libc_feholdexcept_setroundl): Remove.
7446 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7447 Remove.
7448 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7449 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7450
b4c35121
L
74512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7452
7453 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7454 int64_t instead of long int.
7455 (INSERT_WORDS64): Likwise.
7456
56965fd7
L
74572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7458
7459 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7460 _Unwind_GetCFA return to _Unwind_Ptr first.
7461
83d1aec8
JM
74622012-03-19 Joseph Myers <joseph@codesourcery.com>
7463
1897ad44
JM
7464 [BZ #13629]
7465 * math/s_clog.c: Include <float.h>.
7466 (__clog): Scale large or subnormal inputs.
7467 * math/s_clogf.c: Likewise.
7468 * math/s_clogl.c: Likewise.
7469 * math/s_clog10.c: Include <float.h>.
7470 (M_LOG10_2): Define.
7471 (__clog10): Scale large or subnormal inputs.
7472 * math/s_clog10f.c: Likewise.
7473 * math/s_clog10l.c: Likewise.
7474 * math/libm-test.inc (clog_test): Add more tests.
7475 (clog10_test): Likewise.
7476 * sysdeps/i386/fpu/libm-test-ulps: Update.
7477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7478
7726d6a9
JM
7479 [BZ #11451]
7480 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7481 x and y.
7482 * math/libm-test.inc (atan2_test): Add another test.
7483
83d1aec8
JM
7484 * Makerules (common-objdir-compile): Remove.
7485 * sysdeps/unix/Makefile (config-generated): Do not add
7486 $(unix-generated) to variable.
7487 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7488 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7489 Remove rule.
7490 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7491 Likewise.
7492 [generic bits/local_lim.h] (before-compile): Do not append to
7493 variable.
7494 [generic bits/local_lim.h] (common-generated): Likewise.
7495 [generic sys/param.h] (before-compile): Do not append to variable.
7496 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7497 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7498 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7499 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7500 include.
7501 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7502 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7503 [generic sys/param.h] ($(addprefix
7504 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7505 [generic sys/param.h] (common-generated): Do not append to
7506 variable.
7507 [generic sys/param.h] (sysdep_headers): Likewise.
7508 [generic bits/errno.h] (before-compile): Do not append to
7509 variable.
7510 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7511 rule.
7512 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7513 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7514 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7515 [generic bits/errno.h] (common-generated): Do not append to
7516 variable.
7517 [generic bits/ioctls.h] (before-compile): Do not append to
7518 variable.
7519 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7520 rule.
7521 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7522 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7523 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7524 rule.
7525 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7526 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7527 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7528 [generic bits/ioctls.h] (common-generated): Do not append to
7529 variable.
7530 [generic sys/syscall.h] (syscall.h): Remove variable.
7531 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7532 rule.
7533 [generic sys/syscall.h] (before-compile): Do not append to
7534 variable.
7535 [generic sys/syscall.h] (common-generated): Likewise.
7536 * sysdeps/unix/errnos-tmpl.c: Remove file.
7537 * sysdeps/unix/errnos.awk: Likewise.
7538 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7539 * sysdeps/unix/ioctls.awk: Likewise.
7540 * sysdeps/unix/mk-local_lim.c: Likewise.
7541 * sysdeps/unix/snarf-ioctls: Likewise.
7542
4851a949
RH
75432012-03-19 Richard Henderson <rth@twiddle.net>
7544
bd37f2ee
RH
7545 * sysdeps/i386/fpu/fenv_private.h: New file.
7546 * sysdeps/i386/fpu/math_private.h: Use it.
7547 (math_opt_barrier, math_force_eval): Remove.
7548 (libc_feholdexcept_setround_53bit): Remove.
7549 (libc_feupdateenv_53bit): Remove.
7550 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7551 (math_opt_barrier, math_force_eval): Remove.
7552 (libc_feholdexcept): Remove.
7553 (libc_feholdexcept_setround): Remove.
7554 (libc_fetestexcept, libc_fesetenv): Remove.
7555 (libc_feupdateenv_test): Remove.
7556 (libc_feupdateenv, libc_feholdsetround): Remove.
7557 (libc_feresetround): Remove.
7558
d0adc922
RH
7559 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7560 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7561
0fe0f1f8
RH
7562 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7563 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7564 (libc_feupdateenv_testl): New.
7565 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7566 (libc_feupdateenv_testf): New.
7567 (libc_feupdateenv): Use libc_feupdateenv_test.
7568 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7570
eb92c487
RH
7571 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7572 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7573 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7574 (libc_feresetround_noex): New.
7575 (libc_feresetround_noexf): New.
7576 (libc_feresetround_noexl): New.
7577 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7578 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7579 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7580 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7581 SET_RESTORE_ROUND.
7582 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7584 (__cos): Likewise.
7585 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7586 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7587 SET_RESTORE_ROUND_NOEX.
7588 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7589 SET_RESTORE_ROUND_NOEXF.
7590 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7591 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7592 (libc_feholdsetroundf): New.
7593 (libc_feresetround, libc_feresetroundf): New.
7594
7d2e8012
RH
7595 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7596 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7597 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7598
b4dabbb4
RH
7599 * sysdeps/generic/math_private.h: Include <fenv.h>.
7600 (default_libc_feholdexcept): New.
7601 (default_libc_feholdexcept_setround): New.
7602 (default_libc_fesetenv, default_libc_feupdateenv): New.
7603 (libc_feholdexcept): Only define if undefined.
7604 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7605 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7606 (libc_feholdexcept_setroundl): Likewise.
7607 (libc_feholdexcept_setround_53bit): Likewise.
7608 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7609 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7610 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7611 (libc_feupdateenv_53bit): Likewise.
7612 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7613 (libc_feholdexcept): Convert from macro to inline function.
7614 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7615 (libc_fesetenv, libc_feupdateenv): Likewise.
7616
4851a949
RH
7617 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7618 not previously defined.
7619 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7620 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7621 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7622 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7623 * sysdeps/ieee754/flt-32/math_private.h: New file.
7624 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7625 math_private.h below SET_FLOAT_WORD.
7626 (__isnan, __isinf_ns, __finite): Remove.
7627 (__isnanf, __isinf_nsf, __finitef): Remove.
7628
e79d442e
AS
76292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7630
7631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7632
90b80344
DM
76332012-03-17 David S. Miller <davem@davemloft.net>
7634
7635 [BZ #6471]
7636 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7637 for 2.16.
7638
edc21804
DM
76392012-03-16 David S. Miller <davem@davemloft.net>
7640
77e927af
DM
7641 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7642 warnings.
7643
374976dd
DM
7644 [BZ #6471]
7645 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7646 properly.
7647 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7648 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7649 sysdep_routines when subdir is sysvipc.
7650 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7651 __getshmlba helper.
7652
edc21804
DM
7653 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7654
473c3ef3
L
76552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7656
7657 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7658 [__LP64__].
7659
eb0f39b6
L
76602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7661
7662 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7663 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7664 (__lround): Renamed to ...
7665 (__llround): This. Replace long int with long long int.
7666 Define lround functions as aliases of llround functions.
7667 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7668
6b6cd74b
L
76692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7670
7671 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7672 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7673 adresses to uintptr_t. Replace "long int" and "unsigned long
7674 int" with "greg_t" on va_arg.
7675
f1a77b01
L
76762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7677
7678 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7679 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7680
7681 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7682 Move e_machine check before EI_CLASS check. Handle x32
7683 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7684 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7685 SKIP_EM_IA_64 and include
7686 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7687
7688 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7689 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7690 (add_system_dir): New macro.
7691
7692 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7693 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7694
11b90b9f
JM
76952012-03-16 Joseph Myers <joseph@codesourcery.com>
7696
c36e1d23
JM
7697 [BZ #2551]
7698 [BZ #2552]
7699 [BZ #2553]
7700 [BZ #2554]
7701 [BZ #2562]
7702 [BZ #2563]
7703 [BZ #2565]
7704 [BZ #2566]
7705 [BZ #2576]
7706 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7707 (y0): Likewise.
7708 * math/w_j0f.c (j0f): Likewise.
7709 (y0f): Likewise.
7710 * math/w_j0l.c (__j0l): Likewise.
7711 (__y0l): Likewise.
7712 * math/w_j1.c (j1): Likewise.
7713 (y1): Likewise.
7714 * math/w_j1f.c (j1f): Likewise.
7715 (y1f): Likewise.
7716 * math/w_j1l.c (__j1l): Likewise.
7717 (__y1l): Likewise.
7718 * math/w_jn.c (jn): Likewise.
7719 (yn): Likewise.
7720 * math/w_jnf.c (jnf): Likewise.
7721 (ynf): Likewise.
7722 * math/w_jnl.c (__jnl): Likewise.
7723 (__ynl): Likewise.
7724 * math/libm-test.inc (j0_test): Add more tests.
7725 (j1_test): Likewise.
7726 (jn_test): Likewise. Add trailing semicolon to existing test.
7727 (y0_test): Likewise.
7728 (y1_test): Likewise.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731
11b90b9f
JM
7732 [BZ #13851]
7733 [BZ #13854]
7734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7735 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7736 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7737 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7738 (__tanl): Set errno for infinite argument.
7739 * sysdeps/i386/fpu/mptan.c: Remove.
7740 * sysdeps/i386/fpu/s_tan.S: Likewise.
7741 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7742 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7743 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7744 * math/libm-test.inc (tan_test): Add more tests and enable more
7745 tests for double and long double.
7746 * sysdeps/i386/fpu/libm-test-ulps: Update.
7747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7748
6a1bd2a1
JK
77492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7750
7751 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7752 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7753
10a803e0
RM
77542012-03-16 Roland McGrath <roland@hack.frob.com>
7755
7756 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7757 * configure.in: Use it for both main tree and add-ons.
7758 * configure: Regenerated.
7759
f196c7f7
L
77602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7763
8848d99d
JM
77642012-03-16 Joseph Myers <joseph@codesourcery.com>
7765
96cbe7f4
JM
7766 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7767 in comment.
7768
8848d99d
JM
7769 [BZ #13851]
7770 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7771 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7772 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7775 infinite argument.
7776 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7777 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7778 != 0 for prec == 2.
7779 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7780 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7781 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7782 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7783 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7784 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7785 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7786 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7787 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7788 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7789 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7790 * math/libm-test.inc (cos_test): Add more tests and enable more
7791 tests for long double.
7792 (sin_test): Likewise.
7793 (sincos_test): Likewise.
7794 * sysdeps/i386/fpu/libm-test-ulps: Update.
7795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7796
dd7f4703
DM
77972012-03-16 David S. Miller <davem@davemloft.net>
7798
7799 * sysdeps/sparc/fpu/math_private.h: New file.
7800
006f1daa
DM
78012012-03-15 David S. Miller <davem@davemloft.net>
7802
c0c83bc8
DM
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7804 file.
e6a62e18 7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7807 file.
e6a62e18
DM
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7814 sysdep routines.
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7816
88cb87d9
DM
7817 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7818 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7819
006f1daa 7820 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7822 sparc-ifunc.h
006f1daa 7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7825 Likewise.
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7827 Likewise.
006f1daa
DM
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7832 Likewise.
006f1daa
DM
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7838 Likewise.
7839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7840 Likewise.
006f1daa
DM
7841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7847 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7861 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7862 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7863 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7864 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7865
11e0098e
AS
78662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7867
7868 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7869 scaling.
7870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7871
e85b09d0
AJ
78722012-03-15 Andreas Jaeger <aj@suse.de>
7873
7874 [BZ #13852]
7875 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7876 ieee754/flt-32 implementation for sin, cos and sincos.
7877 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7878 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7879 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7880 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7881 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7882 ieee754/flt-32 implementation for tan.
7883
7884 * math/libm-test.inc (cos_test): Enable some large input tests for
7885 float as well
7886 (sin_test): Likewise.
7887 (sincos_test): Likewise.
7888 (tan_test): Add tests for large input.
7889
7890 * sysdeps/i386/fpu/libm-test-ulps: Update.
7891
81c64153
AJ
78922012-03-15 Andreas Jaeger <aj@suse.de>
7893
7894 [BZ #13658]
7895 * math/libm-test.inc (cos_test): Add more test cases.
7896 (sin_test): Likewise.
7897 (sincos_test): Likewise.
7898
7bbfa5c6
AJ
78992012-03-15 Andreas Jaeger <aj@suse.de>
7900
7901 [BZ #13837]
7902 * math/libm-test.inc (cos_test): Add a test case for large input
7903 value.
7904 (sin_test): Likewise.
7905 (sincos_test): Likewise.
7906
79072012-03-15 Andreas Jaeger <aj@suse.de>,
7908 Joseph Myers <joseph@codesourcery.com>
7909
7910 [BZ #13658]
0671f479 7911 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7912 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7913 * sysdeps/i386/fpu/branred.c: Likewise.
7914 * sysdeps/i386/fpu/dosincos.c: Likewise.
7915 * sysdeps/i386/fpu/mpa.c: Likewise.
7916 * sysdeps/i386/fpu/s_cos.S: Likewise.
7917 * sysdeps/i386/fpu/s_sin.S: Likewise.
7918 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7919 * sysdeps/i386/fpu/sincos32.c: Likewise.
7920
7921 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7922 Define.
7923 (libc_feupdateenv_53bit): Define.
7924 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7925 Define.
7926 (libc_feupdateenv_53bit): Define.
7927
7928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7929 53 bit (without extend i386 double precision).
7930
7931 * math/libm-test.inc (sincos_test): Add tests for large input.
7932 (sin): Likewise.
7933 (cos): Likewise.
7934
7935 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7936
9cad04ea
AS
79372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7938
7939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7940
f7062b9a
DM
79412012-03-15 David S. Miller <davem@davemloft.net>
7942
7943 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7944 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7945 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7946 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7955 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7959 file.
f7062b9a 7960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7962 file.
f7062b9a 7963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7965 file.
f7062b9a 7966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7968 file.
f7062b9a
DM
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7971 fmin/fmax sysdep routines.
7972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7973
7bd951ff
DM
79742012-03-14 David S. Miller <davem@davemloft.net>
7975
559398ab
DM
7976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7983 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7991 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7992 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7993 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7994 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7995 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7996 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
8001 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
8002 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
8003 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8004 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
8005 routines.
8006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
8007 file.
559398ab 8008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
8009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
8010 file.
559398ab 8011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
8012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
8013 file.
559398ab 8014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
8015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
8016 file.
559398ab 8017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
8018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
8019 file.
559398ab 8020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
8021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
8022 file.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
8024 file.
8025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
8026 file.
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
8028 file.
8029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
8030 New file.
8031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
8032 file.
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
8034 file.
559398ab 8035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8037 file.
559398ab 8038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8040 file.
559398ab 8041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8043 file.
559398ab 8044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8046 VIS3 routines.
559398ab
DM
8047
8048 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8049 New file.
8050
5a1c1e32
DM
8051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8052
eae47a36
DM
8053 * sysdeps/sparc/configure.in: New file.
8054 * sysdeps/sparc/configure: Generate.
8055 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8056 * configure: Regenerate.
8057 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8058 * config.make.in (have-as-vis3): New.
8059 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8060 available use -Av9d instead of -Av9a.
8061 * sysdeps/sparc/sparc64/Makefile: Likewise.
8062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8064 New file.
8065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8066 file.
8067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8068 New file.
8069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8070 file.
eae47a36
DM
8071 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8072 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8073 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8074 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8076
c0c83bc8
DM
8077 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8078 fzeros/fnegs to load 0x80000000 into a float register instead of
8079 using the stack.
7bd951ff
DM
8080 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8081
bd951ccb
JM
80822012-03-14 Joseph Myers <joseph@codesourcery.com>
8083
8084 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8085 bits/syscall.h.
8086 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8087 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8088 ($(inst_includedir)/bits/syscall.h): Remove rule.
8089 ($(objpfx)bits/syscall.d): Include instead of
8090 $(objpfx)syscall-list.d.
8091 (generated): Change syscall-list.h and syscall-list.d to
8092 bits/syscall.h and bits/syscall.d.
8093
bb4e6db2
RM
80942012-03-14 Roland McGrath <roland@hack.frob.com>
8095
8096 [BZ #13846]
8097 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8098
aa4a2ae1
JM
80992012-03-14 Joseph Myers <joseph@codesourcery.com>
8100
e456826d
JM
8101 [BZ #13841]
8102 * math/s_csqrt.c: Include <float.h>.
8103 (__csqrt): Scale large or subnormal inputs.
8104 * math/s_csqrtf.c: Likewise.
8105 * math/s_csqrtl.c: Likewise.
8106 * math/libm-test.inc (csqrt_test): Add more tests.
8107 * sysdeps/i386/fpu/libm-test-ulps: Update.
8108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8109
aa4a2ae1
JM
8110 [BZ #13840]
8111 * math/libm-test.inc (hypot_test): Add more tests.
8112
7c10fd35
DM
81132012-03-13 David S. Miller <davem@davemloft.net>
8114
8115 [BZ #13840]
8116 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8117 double-precision for the calculation instead of scaling.
8118
f453b98b
JM
81192012-03-13 Joseph Myers <joseph@codesourcery.com>
8120
8121 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8122 manipulate bits before adding and subtracting TWO52[sx].
8123 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8124 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8125 Likewise.
8126 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8127
09a3453f
DM
81282012-03-13 David S. Miller <davem@davemloft.net>
8129
8e59da90
DM
8130 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8131 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8132 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8133 rtld-global-offsets.h
8134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8135
2a8ab7f2
DM
8136 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8137 large parameters.
8138
10f62770
DM
8139 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8140
5f0bdb18
DM
8141 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8142 'err' in the ifdef scope in which it is actually used.
8143
09a3453f
DM
8144 * nss/nss_db/db-init.c: Include string.h
8145
b4b2eb5e
DM
81462012-03-12 David S. Miller <davem@davemloft.net>
8147
98bb2f1c
DM
8148 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8149 masking out of the most significant byte of random value used.
8150 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8151 Fix coding style in previous change.
8152
b4b2eb5e
DM
8153 * sysdeps/unix/sysv/linux/kernel-features.h
8154 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8155 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8156 expression.
8157 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8158 later.
8159
6e226b09
DM
81602012-03-11 David S. Miller <davem@davemloft.net>
8161
a1bcbd40
DM
8162 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8163 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8164 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8165 for 'resultvar' otherwise things get truncated on 64-bit.
8166
cb9d6174
DM
8167 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8168 Fix masking out of the most significant byte of random value used.
8169
6e226b09
DM
8170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8171
058c132d
AS
81722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8173
8174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8175
2d2cd515
DM
81762012-03-09 David S. Miller <davem@davemloft.net>
8177
8178 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8179 variables with appropriate CPP guards.
8180 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8181 frame pointer, not the stack pointer. Correct layout comments. Fix test
8182 on resulting framesize and the management of the outregs buffer for pltexit.
8183 Preserve floating point return values across _dl_call_pltexit call.
8184 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8185 framesize and the management of the outregs buffer for pltexit.
8186 Preserve floating point return values across _dl_call_pltexit
8187 call.
8188 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8189 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8190 (print_exit): Fix format string for return register value.
8191
9a07f9d0
JM
81922012-03-10 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sunrpc/Makefile (others): Add rpcgen.
8195 ($(objpfx)rpcgen): Remove special build rule and dependency on
8196 libc.
8197 * sunrpc/rpcgen.c: New file.
8198
547b5e30
PE
81992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8200
c524201a
PE
8201 [BZ #13673]
8202 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8203 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8204 * sysdeps/i386/crti.S: Likewise.
8205 * sysdeps/i386/crtn.S: Likewise.
8206 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8207 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8208 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8209 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8210 * sysdeps/sh/crti.S: Likewise.
8211 * sysdeps/sh/crtn.S: Likewise.
8212 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8213
7b6235f2
PE
8214 [BZ #13673]
8215 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8216 with URL.
8217 * locale/programs/locfile-kw.gperf: Likewise.
8218 * locale/programs/charmap-kw.h: Regenerated.
8219 * locale/programs/locfile-kw.h: Likewise.
8220
547b5e30
PE
8221 [BZ #13673]
8222 * intl/plural.y: Replace FSF snail mail address with URL.
8223 * intl/plural.c: Regenerated.
8224
5f0a5dae
RH
82252012-03-09 Richard Henderson <rth@twiddle.net>
8226
8227 * include/math_private.h: Remove file.
8228 * math/math_private.h: Move file ...
8229 * sysdeps/generic/math_private.h: ... here.
8230
b8c03620
RH
8231 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8232 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8233 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8234
4e234f5d 8235 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8236 and <math_private.h>.
8237 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8238 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8239 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8240 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8241 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8325 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8326 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8327 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8328 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8329 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8334 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8335 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8336 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8337 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8339 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8340 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8341 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8342 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8344 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8346 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8347 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8349 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8352 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8354 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8355 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8356 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8357 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8358 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8359 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8360 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8361 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8362 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8363 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8364 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8365 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8366 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8367 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8368 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8369 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8370 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8371 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8372 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8373 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8374 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8375 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8376 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8377 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8378 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8379 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8380 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8381 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8382 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8385 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8386 * sysdeps/ieee754/k_standard.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8464 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8466 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8473 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8477 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8478 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8480 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8485 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8490 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8491 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8492 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8499 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8500 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8501 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8502 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8504 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8506 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8507 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8511 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8512 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8513 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8514 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8515 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8517 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8518 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8519 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8520 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8529 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8535 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8536 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8537 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8539 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8547 * sysdeps/ieee754/s_lib_version.c: Likewise.
8548 * sysdeps/ieee754/s_matherr.c: Likewise.
8549 * sysdeps/ieee754/s_signgam.c: Likewise.
8550 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8551 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8552 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8553 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8554 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8555 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8556 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8557 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8558 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8559 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8560 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8561 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8562 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8563 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8565 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8567 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8568 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8569 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8570 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8571
1991fa03
JM
85722012-03-09 Joseph Myers <joseph@codesourcery.com>
8573
8574 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8575 * sunrpc/rpc_main.c: Likewise.
8576 * sunrpc/rpc_svcout.c: Likewise.
8577
60d6f5a6
DM
85782012-03-09 David S. Miller <davem@davemloft.net>
8579
8580 * include/math_private.h: New file.
8581
4962050e
JM
85822012-03-09 Joseph Myers <joseph@codesourcery.com>
8583
02a6f887
JM
8584 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8585 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8586 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8587 from <bits/socket_type.h>.
8588 (enum __socket_type): Don't define here.
8589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8591 bits/socket_type.h.
8592
c6e013c1
JM
8593 [BZ #13566]
8594 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8595 checking __USE_GNU.
8596
4962050e
JM
8597 * Makerules ($(inst_includedir)/%.h): New rule.
8598 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8599 (install-others): Remove variable setting.
8600 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8601
38842f45
RH
86022012-03-08 Richard Henderson <rth@twiddle.net>
8603
67bb6da6
RH
8604 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8605 from macro to inline function; merge with the
8606 !__LIBC_INTERNAL_MATH_INLINES version.
8607 (__ieee754_sqrtf): Likewise.
8608
15194b4b
RH
8609 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8610 to inline function.
8611 (__rintf, __floor, __floorf): Likewise.
8612
64e21ede
RH
8613 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8614 macro to inline function.
8615 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8616
38842f45
RH
8617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8618 not <math/math_private.h>.
8619
c64bf5fe
DM
86202012-03-08 David S. Miller <davem@davemloft.net>
8621
8622 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8623 copyright year.
8624 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8625
82d86f28
TS
86262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8627
8628 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8629 normalization.
8630 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8631 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8632
aea5d727
UD
86332012-03-08 Ulrich Drepper <drepper@gmail.com>
8634
8635 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8636 be defined individually, they must be defined as a block. Define
8637 S for printing a string instead of hidint the different by using a
8638 macro for adding the 'l'.
8639 * stdio-common/tst-fphex-wide.c: Adjust.
8640
70bca0a3
MP
86412012-03-07 Marek Polacek <polacek@redhat.com>
8642
8643 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8644
65b81130
MP
86452012-03-08 Marek Polacek <polacek@redhat.com>
8646
8647 [BZ #13806]
8648 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8649 * stdio-common/tst-fphex.c: Define a few macros to make the
8650 test reusable. Use them.
8651 * stdio-common/tst-fphex-wide.c: New file.
8652
07037eeb
JM
86532012-03-08 Joseph Myers <joseph@codesourcery.com>
8654
a7a93d50
JM
8655 [BZ #6911]
8656 * manual/macros.texi (gnusystems): New macro.
8657 (nongnusystems): Likewise.
8658 (gnulinuxhurdsystems): Likewise.
8659 (gnuhurdsystems): Likewise..
8660 (gnulinuxsystems): Likewise.
8661 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8662 variants of the GNU system, not "GNU system".
8663 * manual/conf.texi: Likewise.
8664 * manual/errno.texi: Likewise. Update example of errno macro
8665 expansion.
8666 * manual/filesys.texi: Likewise.
8667 (getumask): Document as specific to GNU/Hurd.
8668 * manual/install.texi: Likewise. Reword some references to
8669 GNU/Linux.
8670 * manual/intro.texi: Likewise.
8671 * manual/io.texi: Likewise.
8672 (File Name Portability): Detail which constraints are inapplicable
8673 to all GNU systems and which are only inapplicable to GNU/Hurd.
8674 * manual/job.texi: Likewise.
8675 * manual/llio.texi: Likewise.
8676 (O_NOCTTY): Document as present on GNU/Linux.
8677 * manual/maint.texi: Likewise.
8678 * manual/memory.texi: Likewise.
8679 * manual/pattern.texi: Likewise.
8680 * manual/pipe.texi: Likewise.
8681 * manual/process.texi: Likewise.
8682 * manual/resource.texi: Likewise.
8683 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8684 child on GNU/Hurd.
8685 * manual/setjmp.texi: Likewise.
8686 * manual/signal.texi: Likewise.
8687 * manual/startup.texi: Likewise.
8688 * manual/stdio.texi: Likewise.
8689 * manual/terminal.texi: Likewise.
8690 (ONLCR): Document as POSIX.
8691 (OXTABS): Document availability on GNU/Linux as XTABS.
8692 (ONOEOT): Document availability separately from other bits.
8693 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8694 * manual/time.texi: Likewise.
8695 * manual/users.texi: Likewise.
8696 * INSTALL: Regenerated.
8697 * sysdeps/gnu/errlist.c: Regenerated.
8698
07037eeb
JM
8699 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8700 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8701 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8702 puts.
8703 * configure: Regenerated.
8704
d1d3431a
JM
87052012-03-07 Joseph Myers <joseph@codesourcery.com>
8706
af6a1e37
JM
8707 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8708 default includes instead of AC_HEADER_CHECK.
8709 * sysdeps/i386/configure: Regenerated.
8710
d1d3431a
JM
8711 [BZ #10716]
8712 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8713 * math/s_cacoshf.c (__cacoshf): Likewise.
8714 * math/s_cacoshl.c (__cacoshl): Likewise.
8715 * math/s_casinh.c (__casinh): Set signs of result from argument.
8716 * math/s_casinhf.c (__casinhf): Likewise.
8717 * math/s_casinhl.c (__casinhl): Likewise.
8718 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8719 (casinh_test): Add more tests.
8720 * sysdeps/i386/fpu/libm-test-ulps: Update.
8721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8722
482ff4da
UD
87232012-03-07 Ulrich Drepper <drepper@gmail.com>
8724
872fda05
UD
8725 * po/zh_TW.po: Update from translation team.
8726
a4300c7a
UD
8727 * login/Makefile (distribute): Remove variable.
8728 * catgets/Makefile: Likewise.
8729 * mach/Makefile: Likewise.
8730 * malloc/Makefile: Likewise.
8731 * misc/Makefile: Likewise.
8732 * iconv/Makefile: Likewise.
8733 * nscd/Makefile: Likewise.
8734 * hurd/Makefile: Likewise.
8735 * manual/Makefile: Likewise.
8736 * locale/Makefile: Likewise.
8737 * intl/Makefile: Likewise.
8738 * conform/Makefile: Likewise.
8739 * nss/Makefile: Likewise.
8740 * time/Makefile: Likewise.
8741 * soft-fp/Makefile: Likewise.
8742 * dirent/Makefile: Likewise.
8743 * gmon/Makefile: Likewise.
8744 * po/Makefile: Likewise.
8745 * rt/Makefile: Likewise.
8746 * socket/Makefile: Likewise.
8747 * math/Makefile: Likewise.
8748 * signal/Makefile: Likewise.
8749 * debug/Makefile: Likewise.
8750 * elf/Makefile: Likewise.
8751 * timezone/Makefile: Likewise.
8752 * stdlib/Makefile: Likewise.
8753 * iconvdata/Makefile: Likewise.
8754 * sunrpc/Makefile: Likewise.
8755 * io/Makefile: Likewise.
8756 * argp/Makefile: Likewise.
8757 * inet/Makefile: Likewise.
8758 * hesiod/Makefile: Likewise.
8759 * grp/Makefile: Likewise.
8760 * csu/Makefile: Likewise.
8761 * wctype/Makefile: Likewise.
8762 * crypt/Makefile: Likewise.
8763 * libio/Makefile: Likewise.
8764 * string/Makefile: Likewise.
8765 * nis/Makefile: Likewise.
8766 * resolv/Makefile: Likewise.
8767 * stdio-common/Makefile: Likewise.
8768 * wcsmbs/Makefile: Likewise.
8769 * dlfcn/Makefile: Likewise.
8770 * posix/Makefile: Likewise.
8771
3b7c4e74 8772 [BZ #6959]
482ff4da
UD
8773 * timezone/Makefile: Don't install timezone files, just the programs
8774 and scripts.
8775
f72ed77d
UD
87762012-03-06 Ulrich Drepper <drepper@gmail.com>
8777
a000466f
UD
8778 * nss/databases.def: Add missing gshadow entry.
8779
f72ed77d
UD
8780 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8781
a53b7a4e
MP
87822012-03-06 Marek Polacek <polacek@redhat.com>
8783
8784 [BZ #13726]
8785 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8786 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8787 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8788 * stdio-common/tst-long-dbl-fphex.c: New file.
8789
e9258400
DM
87902012-03-06 David S. Miller <davem@davemloft.net>
8791
8792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8793 (set_obp_int): New function.
8794 (get_obp_int): New function.
8795 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8797 Avoid unused variable warnings on 'val' and use builtin_expect.
8798 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8799 __builtin_expect.
e9258400
DM
8800 (INLINE_CLONE_SYSCALL): Likewise.
8801
3bd2c723
DM
88022012-03-05 David S. Miller <davem@davemloft.net>
8803
8804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8805
bbb78d03
AS
88062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8807
884c5db4
AS
8808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8809
bbb78d03
AS
8810 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8811 only for |x| >= 40.
8812 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8813
1c9f702a 88142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8815
8816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8817 Replace gettimeofday with __vdso_gettimeofday.
8818
7be16f82
RM
8819 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8820 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8821 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8822
8823 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8824 time with __vdso_time.
8825
ed58a00f
JM
88262012-03-05 Joseph Myers <joseph@codesourcery.com>
8827
8828 * manual/lang.texi (size_t): Note types to which size_t may be
8829 equivalent with the GNU C Library, but do not describe when
8830 differences between them are significant.
8831
30ee4ced
AJ
88322012-03-05 Andreas Jaeger <aj@suse.de>
8833
8834 * sysdeps/i386/fpu/libm-test-ulps: Update.
8835
b7cd39e8
JM
88362012-03-05 Joseph Myers <joseph@codesourcery.com>
8837
8838 [BZ #3976]
8839 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8840 (__ieee754_pow): Save and restore rounding mode and use
8841 round-to-nearest for main computations.
8842 * math/libm-test.inc (pow_test_tonearest): New function.
8843 (pow_test_towardzero): Likewise.
8844 (pow_test_downward): Likewise.
8845 (pow_test_upward): Likewise.
8846 (main): Call the new functions.
8847 * sysdeps/i386/fpu/libm-test-ulps: Update.
8848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8849
8850 [BZ #3976]
8851 * math/libm-test.inc (cosh_test_tonearest): New function.
8852 (cosh_test_towardzero): Likewise.
8853 (cosh_test_downward): Likewise.
8854 (cosh_test_upward): Likewise.
8855 (sinh_test_tonearest): Likewise.
8856 (sinh_test_towardzero): Likewise.
8857 (sinh_test_downward): Likewise.
8858 (sinh_test_upward): Likewise.
8859 (main): Call the new functions.
8860 * sysdeps/i386/fpu/libm-test-ulps: Update.
8861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8862
6c6a98c9
TV
88632012-03-05 Tom de Vries <tom@codesourcery.com>
8864
8865 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8866 default stack guard is set in last bytes.
8867 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8868
21bb2d2e 88692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8870
21bb2d2e 8871 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8872
21bb2d2e
AJ
8873 [BZ #13656]
8874 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8875 possibly allocate from heap instead of stack.
8876 * stdio-common/bug-vfprintf-nargs.c: New file.
8877 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8878
c6922934
AS
88792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8880
8881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8882
bc957d53
MP
88832012-03-03 Marek Polacek <polacek@redhat.com>
8884
8885 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8886 * math/math_private.h: Likewise.
8887 * stdlib/tst-strtod.c: Likewise.
8888 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8889 * sysdeps/x86_64/bits/atomic.h: Likewise.
8890
6358490d
DM
88912012-03-02 David S. Miller <davem@davemloft.net>
8892
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8897 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8898 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8899 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8900 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8901
01ae168d
RM
89022012-03-02 Roland McGrath <roland@hack.frob.com>
8903
d9a17c07
RM
8904 [BZ #13792]
8905 * manual/examples/README: New file, says the example source files
8906 can be used under GPL>=2.
8907 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8908 line containing just "*/".
8909 * manual/examples/add.c: Add copyright header (GPL>=2).
8910 * manual/examples/argp-ex1.c: Likewise.
8911 * manual/examples/argp-ex2.c: Likewise.
8912 * manual/examples/argp-ex3.c: Likewise.
8913 * manual/examples/argp-ex4.c: Likewise.
8914 * manual/examples/atexit.c: Likewise.
8915 * manual/examples/db.c: Likewise.
8916 * manual/examples/dir.c: Likewise.
8917 * manual/examples/dir2.c: Likewise.
8918 * manual/examples/execinfo.c: Likewise.
8919 * manual/examples/filecli.c: Likewise.
8920 * manual/examples/filesrv.c: Likewise.
8921 * manual/examples/fmtmsgexpl.c: Likewise.
8922 * manual/examples/genpass.c: Likewise.
8923 * manual/examples/inetcli.c: Likewise.
8924 * manual/examples/inetsrv.c: Likewise.
8925 * manual/examples/isockad.c: Likewise.
8926 * manual/examples/longopt.c: Likewise.
8927 * manual/examples/memopen.c: Likewise.
8928 * manual/examples/memstrm.c: Likewise.
8929 * manual/examples/mkfsock.c: Likewise.
8930 * manual/examples/mkisock.c: Likewise.
8931 * manual/examples/mygetpass.c: Likewise.
8932 * manual/examples/pipe.c: Likewise.
8933 * manual/examples/popen.c: Likewise.
8934 * manual/examples/rprintf.c: Likewise.
8935 * manual/examples/search.c: Likewise.
8936 * manual/examples/select.c: Likewise.
8937 * manual/examples/setjmp.c: Likewise.
8938 * manual/examples/sigh1.c: Likewise.
8939 * manual/examples/sigusr.c: Likewise.
8940 * manual/examples/stpcpy.c: Likewise.
8941 * manual/examples/strdupa.c: Likewise.
8942 * manual/examples/strftim.c: Likewise.
8943 * manual/examples/strncat.c: Likewise.
8944 * manual/examples/subopt.c: Likewise.
8945 * manual/examples/swapcontext.c: Likewise.
8946 * manual/examples/termios.c: Likewise.
8947 * manual/examples/testopt.c: Likewise.
8948 * manual/examples/testpass.c: Likewise.
8949 * manual/examples/timeval_subtract.c: Likewise.
8950
01ae168d
RM
8951 [BZ #13792]
8952 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8953 function to ...
8954 * manual/timeval_subtract.c.texi: ... here, new file.
8955
49efa33d
DM
89562012-03-02 David S. Miller <davem@davemloft.net>
8957
8958 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8959
28afd92d
JM
89602012-03-02 Joseph Myers <joseph@codesourcery.com>
8961
804360ed
JM
8962 [BZ #3976]
8963 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8964 (__sin): Save and restore rounding mode and use round-to-nearest
8965 for all computations.
8966 (__cos): Save and restore rounding mode and use round-to-nearest
8967 for all computations.
8968 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8969 <fenv.h>.
8970 (tan): Save and restore rounding mode and use round-to-nearest for
8971 all computations.
8972 * math/libm-test.inc (cos_test_tonearest): New function.
8973 (cos_test_towardzero): Likewise.
8974 (cos_test_downward): Likewise.
8975 (cos_test_upward): Likewise.
8976 (sin_test_tonearest): Likewise.
8977 (sin_test_towardzero): Likewise.
8978 (sin_test_downward): Likewise.
8979 (sin_test_upward): Likewise.
8980 (tan_test_tonearest): Likewise.
8981 (tan_test_towardzero): Likewise.
8982 (tan_test_downward): Likewise.
8983 (tan_test_upward): Likewise.
8984 (main): Call the new functions.
8985 * sysdeps/i386/fpu/libm-test-ulps: Update.
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8987
a6d06d7b
JM
8988 [BZ #10135]
8989 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8990 small n, then large n, before computing and testing k+n.
8991 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8992 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8993 Likewise.
8994 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8995 Likewise.
8996 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8997 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9000 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9001 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9003 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
9004 * math/libm-test.inc (scalbn_test): Add more tests.
9005 (scalbln_test): Likewise.
9006
07e12bb3
JM
9007 * manual/filesys.texi (mode_t): Describe constraints on size and
9008 signedness, not exact equivalence to a particular type.
9009 (ino_t): Likewise.
9010 (ino64_t): Likewise.
9011 (dev_t): Likewise.
9012 (nlink_t): Likewise.
9013 (blkcnt_t): Likewise.
9014 (blkcnt64_t): Likewise.
9015 * manual/llio.texi (off_t): Likewise.
9016
28afd92d
JM
9017 [BZ #3976]
9018 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
9019 (__ieee754_exp): Save and restore rounding mode and use
9020 round-to-nearest for all computations.
9021 * math/libm-test.inc (exp_test_tonearest): New function.
9022 (exp_test_towardzero): Likewise.
9023 (exp_test_downward): Likewise.
9024 (exp_test_upward): Likewise.
9025 (main): Call the new functions.
9026 * sysdeps/i386/fpu/libm-test-ulps: Update.
9027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9028
b1eeb65d
CD
90292012-03-01 Chris Demetriou <cgd@google.com>
9030
9031 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
9032 have predictable order.
9033
53362a4b
DM
90342012-03-01 David S. Miller <davem@davemloft.net>
9035
3c969083
DM
9036 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9037
759707de
DM
9038 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9039 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9040 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9041 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9042
dfdb8ff2
DM
9043 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9044 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9045 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9047 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9048 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9049 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9050 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9051 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9052
ead89f96
DM
9053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9054
7f66bd07
DM
9055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9056 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9058
53362a4b
DM
9059 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9060 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9061 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9062 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9063 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9064 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9065 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9066 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9067 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9068 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9069 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9070 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9071 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9072 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9073 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9075 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9076 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9077 * sysdeps/sparc/elf/configure: Regenerated.
9078
7b1902cb
JM
90792012-03-01 Joseph Myers <joseph@codesourcery.com>
9080
bec039bc
JM
9081 * configure.in (AS, LD): Require binutils 2.20 or later.
9082 * configure: Regenerated.
9083 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9084 as required minimum version.
9085 * INSTALL: Regenerated.
9086
7b1902cb
JM
9087 [BZ #2541]
9088 [BZ #4108]
9089 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9090 before squaring exponent.
9091 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9092 bottom long double and 27 bits of top long double before squaring
9093 exponent.
9094 * math/libm-test.inc (erfc_test): Add more tests.
9095 * sysdeps/i386/fpu/libm-test-ulps: Update.
9096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9098
f775c276
KT
90992012-03-01 Kai Tietz <ktietz@redhat.com>
9100
9101 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9102 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9103 containing bit-fields.
9104 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9105 * soft-fp/single.h (_FP_UNION_S): Likewise.
9106 * soft-fp/double.h (_FP_UNION_D): Likewise.
9107
5b8a4d4a
JM
91082012-02-29 Joseph Myers <joseph@codesourcery.com>
9109
0bab47b6
JM
9110 [BZ #13786]
9111 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9112 not include ../strcmp.S.
9113 [USE_AS_STRNCASECMP_L]: Likewise.
9114 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9115 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9116 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9117 (__strncasecmp_l_ia32): Define as alias to
9118 __strncasecmp_l_nonascii.
9119
0fcad3e2
JM
9120 [BZ #5794]
9121 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9122 * sysdeps/i386/fpu/libm-test-ulps: Update.
9123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9124
5b8a4d4a
JM
9125 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9127
8fdceb2e
JL
91282012-02-29 Jeff Law <law@redhat.com>
9129
9130 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9131 out of bounds read.
9132
1f393a11
MP
91332012-02-29 Marek Polacek <polacek@redhat.com>
9134
9135 [BZ #13706]
9136 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9137 * elf/Makefile: Add rules to run tst-unused-dep.out.
9138
8847f037
DM
91392012-02-28 David S. Miller <davem@davemloft.net>
9140
9141 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9142 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9145 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9146 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9147
169d7f11
JM
91482012-02-29 Joseph Myers <joseph@codesourcery.com>
9149
9150 * math/libm-test.inc (llround_test): Move one test from
9151 lround_test. Use TEST_f_L in moved test.
9152 (lround_test): Move misplaced test to llround_test. Add testcase
9153 from bug 2561.
9154
39adf059
UD
91552012-02-28 Ulrich Drepper <drepper@gmail.com>
9156
9157 * sysdeps/x86_64/fpu/e_expf.S: New file.
9158 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9159
71b5d1c5
SB
91602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9161
9162 [BZ #13637]
9163 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9164 of remain_len that may cause incomplete multi-byte character and
9165 false match.
9166 * posix/bug-regex33.c: New file.
9167 * posix/Makefile (tests): Add bug-regex33.
9168
1f77f049
JM
91692012-02-28 Joseph Myers <joseph@codesourcery.com>
9170
9171 * manual/macros.texi: New file.
9172 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9173 * manual/libc.texinfo: Include macros.texi.
9174 * manual/creatute.texi: Likewise.
9175 * manual/install.texi: Likewise.
9176 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9177 @glibcadj{} in references to the GNU C Library.
9178 * manual/charset.texi: Likewise.
9179 * manual/conf.texi: Likewise.
9180 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9181 when not using those macros.
9182 * manual/creature.texi: Likewise.
9183 * manual/crypt.texi: Likewise.
9184 * manual/errno.texi: Likewise.
9185 * manual/filesys.texi: Likewise.
9186 * manual/header.texi: Likewise.
9187 * manual/install.texi: Likewise.
9188 * manual/intro.texi: Likewise.
9189 * manual/io.texi: Likewise.
9190 * manual/job.texi: Likewise.
9191 * manual/lang.texi: Likewise.
9192 * manual/libc.texiinfo: Likewise.
9193 * manual/llio.texi: Likewise.
9194 * manual/locale.texi: Likewise.
9195 * manual/maint.texi: Likewise.
9196 * manual/math.texi: Likewise.
9197 * manual/memory.texi: Likewise.
9198 * manual/message.texi: Likewise.
9199 * manual/nss.texi: Likewise.
9200 * manual/pattern.texi: Likewise.
9201 * manual/process.texi: Likewise.
9202 * manual/resource.texi: Likewise.
9203 * manual/search.texi: Likewise.
9204 * manual/setjmp.texi: Likewise.
9205 * manual/signal.texi: Likewise.
9206 * manual/socket.texi: Likewise.
9207 * manual/startup.texi: Likewise.
9208 * manual/stdio.texi: Likewise.
9209 * manual/string.texi: Likewise.
9210 * manual/sysinfo.texi: Likewise.
9211 * manual/syslog.texi: Likewise.
9212 * manual/terminal.texi: Likewise.
9213 * manual/time.texi: Likewise.
9214 * manual/users.texi: Likewise.
9215 * INSTALL: Regenerated.
9216 * NOTES: Regenerated.
d40c5d54 9217 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9218
450bf206
AS
92192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9220
9221 * include/dirent.h: Include <dirstream.h> before
9222 <dirent/dirent.h>.
9223
741a235b
DM
92242012-02-28 David S. Miller <davem@davemloft.net>
9225
9226 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9227 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9228 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9229 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9230
d6b5aa58
DM
92312012-02-27 David S. Miller <davem@davemloft.net>
9232
1aff59a3
DM
9233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9235 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9236 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9237
d6b5aa58
DM
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9239 frame pointer instead of stack pointer relative arg slot.
9240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9241 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9242 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9243
433f48bf
CD
92442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9245
9246 [BZ #3992]
9247 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9248
d674b76d
DM
92492012-02-27 David S. Miller <davem@davemloft.net>
9250
9251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9255 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9256 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9257 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9258 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9259
0e7727f7
JM
92602012-02-27 Joseph Myers <joseph@codesourcery.com>
9261
9262 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9263 later. Allow versions 5-9.
43be4ca2 9264 * configure: Regenerated.
0e7727f7
JM
9265 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9266 required minimum version and 4.6 as recommended version. Do not
9267 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9268 * INSTALL: Regenerated.
0e7727f7 9269
a78bc654
DM
92702012-02-27 David S. Miller <davem@davemloft.net>
9271
428d5830
DM
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9276 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9277 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9278 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9279 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9280
a78bc654
DM
9281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9282 manipulate bits before adding and subtracting TWO112[sx].
9283 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9284
4579f81c
RM
92852012-02-27 Roland McGrath <roland@hack.frob.com>
9286
36c8acb4
RM
9287 [BZ #13775]
9288 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9289 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9290 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9291 being in POSIX, because they are in 1003.1-2008.
9292
84ad622b
RM
9293 * rt/tst-aio.c: Include <fcntl.h>.
9294 * rt/tst-aio7.c: Likewise.
9295 * rt/tst-aio64.c: Likewise.
9296
4579f81c
RM
9297 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9298
abd923db
JM
92992012-02-27 Joseph Myers <joseph@codesourcery.com>
9300
9301 * manual/install.texi (--with-headers): Describe headers as
9302 interface headers, not private headers.
9303 (Specific advice for GNU/Linux systems): Describe use of headers
9304 from "make headers_install", not private headers from older
9305 kernels.
43be4ca2 9306 * INSTALL: Regenerated.
abd923db
JM
9307 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9308 Change to 2.6.19.
9309 * sysdeps/unix/sysv/linux/configure: Regenerated.
9310
6664049b
JM
9311 * manual/llio.texi (fclean): Remove documentation.
9312
bb8b6697
JM
9313 * manual/Makefile (libc-texi-generated): New variable. Include
9314 version.texi.
9315 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9316 $(libc-texi-generated), not duplicated list of files.
9317 (version.texi, stamp-version): New rules.
9318 (realclean): Remove $(libc-texi-generated), not individual files
9319 from that list. Do not remove dir-add.texinfo.
9320 * manual/libc.texinfo: Comment out uses of edition numbers and
9321 references to printed manual. Remove last-updated dates.
9322 (EDITION): Comment out.
9323 (ISBN): Likewise.
9324 (VERSION, UPDATED): Remove.
9325 (version.texi): Include.
9326
12e5c3b9
AS
93272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9328
9329 * sysdeps/posix/spawni.c: Include <signal.h>.
9330 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9331 * sysdeps/pthread/aio_fsync.c: Likewise.
9332
4efeffc1 93332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9334
ba63ba08
UD
9335 * conform/Makefile (tests): Run only when not cross-compiling and
9336 when fast-check is not defined.
9337
d94a4670
UD
9338 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9339 * conform/data/limits.h-data: Fixes for POSIX2008.
9340 * conform/run-conformtest.sh: Run all tests.
9341 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9342 headers.
9343 * include/bits/dlfcn.h: Likewise.
9344 * include/langinfo.h: Likewise.
9345 * include/monetary.h: Likewise.
9346 * include/sys/poll.h: Likewise.
9347
9348 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9349 for __USE_GNU.
9350 * posix/spawn.h: Define __need_sigset_t.
9351 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9352 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9353 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9354 to get sigevent_t only.
9355 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9356 only for __USE_GNU.
9357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9358 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9359 process_vm_writev only for __USE_GNU.
9360 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9361
9362 * conform/Makefile: For now ignore errors from run-conformtest.
9363 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9364 POSIX to avoid namespace pollution. Don't prepend headers.
9365 * conform/data/aio.h-data: Fixes for POSIX testing.
9366 * conform/data/fcntl.h-data: Likewise.
9367 * conform/data/glob.h-data: Likewise.
9368 * conform/data/grp.h-data: Likewise.
9369 * conform/data/pthread.h-data: Likewise.
9370 * conform/data/pwd.h-data: Likewise.
9371 * conform/data/signal.h-data: Likewise.
9372 * conform/data/spawn.h-data: Likewise.
9373 * conform/data/stdio.h-data: Likewise.
9374 * conform/data/stdlib.h-data: Likewise.
9375 * conform/data/stropts.h-data: Likewise.
9376 * conform/data/sys/mman.h-data: Likewise.
9377 * conform/data/sys/stat.h-data: Likewise.
9378 * conform/data/sys/types.h-data: Likewise.
9379 * conform/data/sys/wait.h-data: Likewise.
9380 * conform/data/time.h-data: Likewise.
9381 * conform/data/unistd.h-data: Likewise.
9382 * conform/data/utime.h-data: Likewise.
9383
9384 * io/sys/stat.h: fchmod was always in POSIX.
9385 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9386 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9387 * rt/aio.h: Define __need_timespec before including <time.h>.
9388 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9389 struct. Add forward declaration of pthread_attr_t and use it in
9390 sigevent.
9391 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9393 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9394 always remove CLK_TCK definition.
9395
c20105c3
AS
93962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9397
9398 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9399
7a270350
UD
94002012-02-25 Ulrich Drepper <drepper@gmail.com>
9401
31341567
UD
9402 * conform/run-conformtest.sh: New file.
9403 * conform/Makefile: Run run-conformtest for tests.
9404 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9405 support.
9406
9407 * conform/data/uchar.h-data: New file.
9408 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9409 * conform/data/arpa/inet.h-data: Likewise.
9410 * conform/data/assert.h-data: Likewise.
9411 * conform/data/complex.h-data: Likewise.
9412 * conform/data/cpio.h-data: Likewise.
9413 * conform/data/ctype.h-data: Likewise.
9414 * conform/data/dirent.h-data: Likewise.
9415 * conform/data/dlfcn.h-data: Likewise.
9416 * conform/data/errno.h-data: Likewise.
9417 * conform/data/fcntl.h-data: Likewise.
9418 * conform/data/float.h-data: Likewise.
9419 * conform/data/fmtmsg.h-data: Likewise.
9420 * conform/data/fnmatch.h-data: Likewise.
9421 * conform/data/ftw.h-data: Likewise.
9422 * conform/data/glob.h-data: Likewise.
9423 * conform/data/grp.h-data: Likewise.
9424 * conform/data/iconv.h-data: Likewise.
9425 * conform/data/inttypes.h-data: Likewise.
9426 * conform/data/langinfo.h-data: Likewise.
9427 * conform/data/libgen.h-data: Likewise.
9428 * conform/data/limits.h-data: Likewise.
9429 * conform/data/locale.h-data: Likewise.
9430 * conform/data/math.h-data: Likewise.
9431 * conform/data/monetary.h-data: Likewise.
9432 * conform/data/mqueue.h-data: Likewise.
9433 * conform/data/ndbm.h-data: Likewise.
9434 * conform/data/net/if.h-data: Likewise.
9435 * conform/data/netdb.h-data: Likewise.
9436 * conform/data/netinet/in.h-data: Likewise.
9437 * conform/data/nl_types.h-data: Likewise.
9438 * conform/data/poll.h-data: Likewise.
9439 * conform/data/pthread.h-data: Likewise.
9440 * conform/data/pwd.h-data: Likewise.
9441 * conform/data/regex.h-data: Likewise.
9442 * conform/data/sched.h-data: Likewise.
9443 * conform/data/search.h-data: Likewise.
9444 * conform/data/semaphore.h-data: Likewise.
9445 * conform/data/setjmp.h-data: Likewise.
9446 * conform/data/signal.h-data: Likewise.
9447 * conform/data/spawn.h-data: Likewise.
9448 * conform/data/stdarg.h-data: Likewise.
9449 * conform/data/stdio.h-data: Likewise.
9450 * conform/data/stdlib.h-data: Likewise.
9451 * conform/data/string.h-data: Likewise.
9452 * conform/data/strings.h-data: Likewise.
9453 * conform/data/stropts.h-data: Likewise.
9454 * conform/data/sys/ipc.h-data: Likewise.
9455 * conform/data/sys/mman.h-data: Likewise.
9456 * conform/data/sys/msg.h-data: Likewise.
9457 * conform/data/sys/resource.h-data: Likewise.
9458 * conform/data/sys/select.h-data: Likewise.
9459 * conform/data/sys/sem.h-data: Likewise.
9460 * conform/data/sys/shm.h-data: Likewise.
9461 * conform/data/sys/socket.h-data: Likewise.
9462 * conform/data/sys/stat.h-data: Likewise.
9463 * conform/data/sys/statvfs.h-data: Likewise.
9464 * conform/data/sys/time.h-data: Likewise.
9465 * conform/data/sys/timeb.h-data: Likewise.
9466 * conform/data/sys/times.h-data: Likewise.
9467 * conform/data/sys/types.h-data: Likewise.
9468 * conform/data/sys/uio.h-data: Likewise.
9469 * conform/data/sys/un.h-data: Likewise.
9470 * conform/data/sys/utsname.h-data: Likewise.
9471 * conform/data/sys/wait.h-data: Likewise.
9472 * conform/data/syslog.h-data: Likewise.
9473 * conform/data/tar.h-data: Likewise.
9474 * conform/data/termios.h-data: Likewise.
9475 * conform/data/utime.h-data: Likewise.
9476 * conform/data/utmpx.h-data: Likewise.
9477 * conform/data/varargs.h-data: Likewise.
9478 * conform/data/wchar.h-data: Likewise.
9479 * conform/data/wctype.h-data: Likewise.
9480 * conform/data/wordexp.h-data: Likewise.
9481
9482 * include/stropts.h: New file.
9483 * include/uchar.h: New file.
9484 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9485 * include/assert.h: Likewise.
9486 * include/ctype.h: Likewise.
9487 * include/dirent.h: Likewise.
9488 * include/dlfcn.h: Likewise.
9489 * include/fcntl.h: Likewise.
9490 * include/fnmatch.h: Likewise.
9491 * include/glob.h: Likewise.
9492 * include/grp.h: Likewise.
9493 * include/libio.h: Likewise.
9494 * include/locale.h: Likewise.
9495 * include/math.h: Likewise.
9496 * include/net/if.h: Likewise.
9497 * include/netdb.h: Likewise.
9498 * include/netinet/in.h: Likewise.
9499 * include/pthread.h: Likewise.
9500 * include/pwd.h: Likewise.
9501 * include/regex.h: Likewise.
9502 * include/sched.h: Likewise.
9503 * include/search.h: Likewise.
9504 * include/setjmp.h: Likewise.
9505 * include/signal.h: Likewise.
9506 * include/stdio.h: Likewise.
9507 * include/stdlib.h: Likewise.
9508 * include/string.h: Likewise.
9509 * include/sys/cdefs.h: Likewise.
9510 * include/sys/mman.h: Likewise.
9511 * include/sys/msg.h: Likewise.
9512 * include/sys/resource.h: Likewise.
9513 * include/sys/select.h: Likewise.
9514 * include/sys/socket.h: Likewise.
9515 * include/sys/stat.h: Likewise.
9516 * include/sys/statvfs.h: Likewise.
9517 * include/sys/time.h: Likewise.
9518 * include/sys/times.h: Likewise.
9519 * include/sys/uio.h: Likewise.
9520 * include/sys/utsname.h: Likewise.
9521 * include/sys/wait.h: Likewise.
9522 * include/termios.h: Likewise.
9523 * include/time.h: Likewise.
9524 * include/ulimit.h: Likewise.
9525 * include/unistd.h: Likewise.
9526 * include/utime.h: Likewise.
9527 * include/wchar.h: Likewise.
9528 * include/wctype.h: Likewise.
9529 * include/wordexp.h: Likewise.
9530
9531 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9532
7a270350
UD
9533 * time/time.h: TIME_UTC must be a macro.
9534 Make timespec_get available for ISO C11 only as well.
9535
7724defc
UD
95362012-02-24 Ulrich Drepper <drepper@gmail.com>
9537
9538 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9539 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9540
6b1d1d46
JM
95412012-02-24 Joseph Myers <joseph@codesourcery.com>
9542
9543 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9544
0f8bbd69
JM
95452012-02-24 Joseph Myers <joseph@codesourcery.com>
9546
9547 * manual/texinfo.tex: Update to version 2012-01-19.16.
9548
66ab80bc
JM
95492012-02-24 Joseph Myers <joseph@codesourcery.com>
9550
9551 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9552
74981cc5
RM
95532012-02-24 Roland McGrath <roland@hack.frob.com>
9554
ee968201
RM
9555 [BZ #13738]
9556 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9557 * manual/fdl-1.3.texi: New file.
9558 * manual/fdl-1.1.texi: File removed.
9559
74981cc5
RM
9560 [BZ #13738]
9561 * manual/libc.texinfo (FDL_VERSION): New @set.
9562 Use it for mention of FDL in cover text.
9563 (Documentation License): Use it in @include file name.
9564
7bb764bc
JM
95652012-02-22 Joseph Myers <joseph@codesourcery.com>
9566 Roland McGrath <roland@hack.frob.com>
9567
9568 [BZ #5461]
9569 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9570 not LONG_LONG_MAX and LONG_LONG_MIN.
9571 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9572 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9573 name.
9574 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9575
6cbeae47
JM
95762012-02-22 Joseph Myers <joseph@codesourcery.com>
9577
9578 [BZ #2547]
9579 [BZ #11365]
9580 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9581 manipulate bits before adding and subtracting TWO23[sx].
9582 * math/libm-test.inc (nearbyint_test): Add more tests.
9583
fe45ce09
JM
95842012-02-22 Joseph Myers <joseph@codesourcery.com>
9585
9586 [BZ #2548]
9587 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9588 bits before adding and subtracting TWO23[sx].
9589 * math/libm-test.inc (rint_test): Add more tests.
9590 (rint_test_tonearest): Likewise.
9591 (rint_test_towardzero): Likewise.
9592 (rint_test_downward): Likewise.
9593 (rint_test_upward: Likewise.
9594
ff3b3d82
JM
95952012-02-22 Joseph Myers <joseph@codesourcery.com>
9596
9597 [BZ #10110]
9598 * include/stdc-predef.h: New file. Extracted from features.h.
9599 * include/features.h: Include stdc-predef.h.
9600 * Makefile (headers): Add stdc-predef.h.
9601 * CONFORMANCE (Compiler limitations): Update.
9602
ef0aab35
JM
96032012-02-22 Joseph Myers <joseph@codesourcery.com>
9604
9605 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9606
58639409
DM
96072012-02-21 David S. Miller <davem@davemloft.net>
9608
9609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9610 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9611
c0e70b25
DM
96122012-02-20 David S. Miller <davem@davemloft.net>
9613
9614 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9615 using a normal save/restore sequence, rather than allocating a
9616 dummy stack frame just to store a frame pointer and restore.
9617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9618
fb06851d
JM
96192012-02-21 Joseph Myers <joseph@codesourcery.com>
9620
9621 * manual/install.texi: Fix stray word in line-wrapped comment.
9622
7a8b71c3
DM
96232012-02-20 David S. Miller <davem@davemloft.net>
9624
d510c123
DM
9625 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9626 both binutils and gcc support GOTDATA.
9627
0722d7c2
DM
9628 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9629 "rd %pc" in the PIC register setup sequences.
9630
3d2b3019
DM
9631 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9632 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9633 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9634 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9635 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9637 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9638 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9640 (SYSCALL_ERROR_HANDLER): Likewise.
9641 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9644 (SYSCALL_ERROR_HANDLER): Likewise.
9645
c80098a9
DM
9646 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9647 (HAVE_GCC_GOTDATA): New.
9648 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9649 relocation support in both binutils and gcc.
9650 * sysdeps/sparc/elf/configure: Regenerate.
9651
3a2545a0
DM
9652 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9653 * sysdeps/sparc/sparc32/elf/configure: Delete.
9654 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9655 * sysdeps/sparc/sparc64/elf/configure: Delete.
9656 * sysdeps/sparc/elf/configure.in: New file.
9657 * sysdeps/sparc/elf/configure: Generate.
9658
7a8b71c3
DM
9659 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9660 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9661 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9662 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9663 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9664
f1e86fca
JM
96652012-02-21 Joseph Myers <joseph@codesourcery.com>
9666
9667 * manual/install.texi: Do not mention specific glibc version
9668 numbers.
9669 * manual/libc.texinfo (VERSION, UPDATED): Update.
9670 (@copying): Use @copyright{} and range of years.
9671
0e7dfaef
JM
96722012-02-21 Joseph Myers <joseph@codesourcery.com>
9673
9674 [BZ #13695]
9675 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9676 [crti.S not in sysdirs] (generated): Do not append.
9677 [crti.S not in sysdirs] (omit-deps): Likewise.
9678 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9679 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9680 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9681 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9682 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9683 Likewise.
9684 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9685 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9686 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9687 * csu/defs.awk: Remove file.
9688 * sysdeps/generic/initfini.c: Likewise.
9689 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9690 variable.
9691 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9692 Likewise.
9693
599af3ca
JM
96942012-02-20 Joseph Myers <joseph@codesourcery.com>
9695
9696 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9697 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9698 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9700 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9701 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9702 <bits/epoll.h>.
9703 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9704 (__EPOLL_PACKED): Define to empty if not defined by
9705 <bits/epoll.h>.
9706 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9708 bits/epoll.h.
9709
0e499750
JM
97102012-02-20 Joseph Myers <joseph@codesourcery.com>
9711
9712 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9713 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9714 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9715 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9716 <bits/timerfd.h>.
9717 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9719 bits/timerfd.h.
9720
5ad91f6e
JM
97212012-02-20 Joseph Myers <joseph@codesourcery.com>
9722
9723 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9724 in C locale.
9725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9726 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9727 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9729
06b99b02
AJ
97302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9731
9732 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9733 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9734
7638c0fd
AS
97352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9736
9737 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9738 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9739 defined.
9740 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9741 Likewise.
9742 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9743 entry for 2.16.
9744
92221550
AJ
97452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9746
9747 * math/w_acos.c: Use non-signaling floating-point comparisons.
9748 * math/w_acosf.c: Likewise.
9749 * math/w_acosh.c: Likewise.
9750 * math/w_acoshf.c: Likewise.
9751 * math/w_acoshl.c: Likewise.
9752 * math/w_acosl.c: Likewise.
9753 * math/w_asin.c: Likewise.
9754 * math/w_asinf.c: Likewise.
9755 * math/w_asinl.c: Likewise.
9756 * math/w_atanh.c: Likewise.
9757 * math/w_atanhf.c: Likewise.
9758 * math/w_atanhl.c: Likewise.
9759 * math/w_exp2.c: Likewise.
9760 * math/w_exp2f.c: Likewise.
9761 * math/w_exp2l.c: Likewise.
9762 * math/w_j0.c: Likewise.
9763 * math/w_j0f.c: Likewise.
9764 * math/w_j0l.c: Likewise.
9765 * math/w_j1.c: Likewise.
9766 * math/w_j1f.c: Likewise.
9767 * math/w_j1l.c: Likewise.
9768 * math/w_jn.c: Likewise.
9769 * math/w_jnf.c: Likewise.
9770 * math/w_log.c: Likewise.
9771 * math/w_log10.c: Likewise.
9772 * math/w_log10f.c: Likewise.
9773 * math/w_log10l.c: Likewise.
9774 * math/w_log2.c: Likewise.
9775 * math/w_log2f.c: Likewise.
9776 * math/w_log2l.c: Likewise.
9777 * math/w_logf.c: Likewise.
9778 * math/w_logl.c: Likewise.
9779 * math/w_sqrt.c: Likewise.
9780 * math/w_sqrtf.c: Likewise.
9781 * math/w_sqrtl.c: Likewise.
9782 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9783 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9784 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9787
ebaf36eb
JM
97882012-02-19 Joseph Myers <joseph@codesourcery.com>
9789
9790 [BZ #9739]
9791 * manual/string.texi (strnlen): Use correct parameter name in
9792 equivalent expression.
9793
71c254a6
JM
97942012-02-19 Joseph Myers <joseph@codesourcery.com>
9795
9796 [BZ #11174]
9797 * manual/users.texi (seteuid): Consistently use neweuid for
9798 argument name.
9799
16d2c631
JM
98002012-02-19 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #13704]
9803 * manual/nss.texi (Services in the NSS configuration): Correct
9804 list of services in example configuration file.
9805
cd837b09
NB
98062012-02-19 Nick Bowler <nbowler@draconx.ca>
9807
9808 [BZ #11322]
9809 * manual/arith.texi: Remove statements about negative zero
9810 behaving identically to zero.
9811
02c4bbad
JM
98122012-02-18 Joseph Myers <joseph@codesourcery.com>
9813
9814 [BZ #5993]
9815 * manual/install.texi: Do not document upgrading from libc5.
9816
366842e7
JM
98172012-02-18 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #4596]
9820 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9821
dd54084d
DM
98222012-02-18 David S. Miller <davem@davemloft.net>
9823
9824 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9825 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9826 %o7 across the call.
9827 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9828 instead.
9829 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9830 SETUP_PIC_REG_LEAF.
9831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9832 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9833 * sysdeps/sparc/crtn.S: Likewise.
9834
2bcc53a3
UD
98352012-02-17 Ulrich Drepper <drepper@gmail.com>
9836
9837 * aout/Makefile: Remove.
9838
09c093b5
RK
98392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9840
9841 [BZ #13058]
9842 * manual/examples/argp-ex1.c (main): Format definition in GNU
9843 style.
9844 * manual/examples/argp-ex2.c (main): Likewise.
9845 * manual/examples/argp-ex3.c (main): Likewise.
9846 * manual/examples/argp-ex4.c (main): Likewise.
9847 * manual/examples/longopt.c (main): Use new-style prototype
9848 definition.
9849 * manual/examples/strncat.c (main): Specify return type and use
9850 (void) for arguments.
9851 * manual/examples/subopt.c (main): Use char **argv argument.
9852
2ee633a2
JM
98532012-02-17 Joseph Myers <joseph@codesourcery.com>
9854
9855 [BZ #5077]
9856 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9857 rounding modes.
9858
0520adde
FB
98592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9860
9861 [BZ #6907]
9862 * manual/string.texi (strchr): Change when strchrnul is
9863 recommended.
9864
3f4081cd
DGM
98652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9866
9867 [BZ #174]
9868 * manual/locale.texi (setlocale): Document LOCPATH.
9869
d1b10e78
JM
98702012-02-17 Joseph Myers <joseph@codesourcery.com>
9871
9872 [BZ #10210]
9873 * manual/process.texi (execle): Move @dots{} before last argument.
9874
79c6869c
PB
98752012-02-17 Paul Bolle <pebolle@tiscali.nl>
9876
9877 [BZ #12047]
9878 * manual/charset.texi (Generic Charset Conversion): Fix typo
9879 (LC_TYPE -> LC_CTYPE).
9880
cc6e48bc
NB
98812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9882
9883 [BZ #5805]
9884 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9885 (scalbnf): Likewise.
9886 (scalbnl): Likewise.
9887 (scalbln): Likewise.
9888 (scalblnf): Likewise.
9889 (scalblnl): Likewise.
9890 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9891 (vwarnx): Likewise.
9892 (verr): Likewise.
9893 (verrx): Likewise.
9894 * manual/filesys.texi (telldir): Use braces around return type.
9895 * manual/llio.texi (mmap): Add space after comma.
9896 (mmap64): Likewise.
9897 * manual/math.texi (jn): Use @var{} on parameter names.
9898 (jnf): Likewise.
9899 (jnl): Likewise.
9900 (yn): Likewise.
9901 (ynf): Likewise.
9902 (ynl): Likewise.
9903 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9904 line.
9905 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9906 "...".
9907 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9908 (sched_get_priority_max): Likewise.
9909 * manual/signal.texi (sigvec): Add space after comma.
9910 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9911 names.
9912 (if_indextoname): Likewise.
9913 (if_freenameindex): Likewise.
9914 (sendto): Use ',' instead of '.' in prototype.
9915 * manual/startup.texi (syscall): Use @dots{} instead of literal
9916 "...".
9917 * manual/stdio.texi (__fpending): Separate initial words of
9918 paragraph from @deftypefun line.
9919 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9920 "...".
9921 (vsyslog): Use @var{} on parameter names.
9922 * manual/terminal.texi (stty): Use @var{} on parameter names.
9923 * manual/users.texi (getutmp): Use @var{} on parameter names.
9924 (getutmpx): Likewise.
9925
5b23062f
JM
99262012-02-17 Joseph Myers <joseph@codesourcery.com>
9927
9928 [BZ #6884]
9929 * manual/stdio.texi (fopen): Fix typos in description of
9930 ",ccs=STRING".
9931
8dee4833
AJ
99322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9933
9934 [BZ #4026]
9935 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9936 get clock_id definition.
9937
9078ce93
TS
99382012-02-17 Thomas Schwinge <thomas@schwinge.name>
9939
9940 [BZ #4822]
9941 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9942 (madvise): Cast every argument to void on its own.
9943
3835c55f
JM
99442012-02-17 Joseph Myers <joseph@codesourcery.com>
9945
9946 [BZ #9902]
9947 * manual/startup.texi (Exit Status): Fix typo.
9948
35c47e37
JM
99492012-02-17 Joseph Myers <joseph@codesourcery.com>
9950
9951 [BZ #10140]
9952 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9953 * manual/examples/argp-ex2.c: Likewise.
9954 * manual/examples/argp-ex3.c: Likewise.
9955
e3b69ca7
RH
99562012-02-16 Richard Henderson <rth@redhat.com>
9957
9958 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9959 * sysdeps/s390/s390-32/initfini.c: Remove.
9960 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9961 * sysdeps/s390/s390-64/initfini.c: Remove.
9962
df83af67
KK
99632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9964
9965 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9966 compiler output for sysdeps/generic/initfini.c.
9967 * sysdeps/sh/elf/initfini.c: Remove file.
9968
f63f3380
DM
99692012-02-16 David S. Miller <davem@davemloft.net>
9970
fb59b3a4
DM
9971 [BZ #11494]
9972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9973
f63f3380
DM
9974 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9975 * sysdeps/sparc/crti.S: New file.
9976 * sysdeps/sparc/crtn.S: New file.
9977 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9978 * sysdeps/sparc/sparc64/Makefile: Likewise.
9979
df6a4a4a
MF
99802012-02-15 Mike Frysinger <vapier@gentoo.org>
9981
6dd8f3dc 9982 [BZ #3335]
df6a4a4a
MF
9983 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9984
1cac7236
RM
99852012-02-15 Roland McGrath <roland@hack.frob.com>
9986
d2c736f8
RM
9987 [BZ #4822]
9988 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9989
1cac7236
RM
9990 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9991 (write, read, close): Likewise.
9992 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9993
8e475601
JM
99942012-02-15 Joseph Myers <joseph@codesourcery.com>
9995
9996 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9997 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9998 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9999 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
10000 <bits/signalfd.h>.
10001 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
10002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10003 bits/signalfd.h.
10004
ed656b40
MP
100052012-02-14 Marek Polacek <polacek@redhat.com>
10006
10007 * sysdeps/x86_64/crti.S: New file.
10008 * sysdeps/x86_64/crtn.S: New file.
10009 * sysdeps/x86_64/elf/initfini.c: Remove file.
10010
2a979d3a
JM
100112012-02-13 Joseph Myers <joseph@codesourcery.com>
10012
10013 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
10014 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
10015 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
10016 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
10017 <bits/inotify.h>.
10018 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
10019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10020 bits/inotify.h.
10021
2a418ac3
JM
100222012-02-13 Joseph Myers <joseph@codesourcery.com>
10023
10024 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
10025 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
10026 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
10027 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
10028 <bits/eventfd.h>.
10029 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
10030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10031 bits/eventfd.h.
10032
fb779be7
TS
100332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
10034
e19e83c5
RM
10035 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10036 __feraiseexcept instead of feraiseexcept.
7c35ffed 10037
fb779be7
TS
10038 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10039 nanosleep invocations.
10040 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10041 strings, and add error checking for a nanosleep invocations.
10042
59ba27a6
PE
100432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10044
10045 Replace FSF snail mail address with URLs, as per GNU coding standards.
10046 Most of the snail mail addresses were wrong anyway, and omitting
10047 them makes the source code easier to maintain. Almost all of the
10048 changes are to license notices and to locale LC_IDENTIFICATION
10049 addresses, except for this one:
10050 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10051 not its snail mail address.
10052
57b957eb
RH
100532012-02-09 Richard Henderson <rth@twiddle.net>
10054
af850b1c
RH
10055 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10056 of kernel-features.h.
10057
57b957eb
RH
10058 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10059
6b73181a
MP
100602012-02-08 Marek Polacek <polacek@redhat.com>
10061
10062 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10063 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10064 * sysdeps/gnu/_G_config.h: Likewise.
10065 * sysdeps/generic/_G_config.h: Likewise.
10066
26ecc33a
AS
100672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10068
6c6dbc63
AS
10069 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10070 tests.
10071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10072
e216c012
AS
10073 * sysdeps/powerpc/powerpc32/crti.S: New file.
10074 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10075 * sysdeps/powerpc/powerpc64/crti.S: New file.
10076 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10077
26ecc33a
AS
10078 * Makeconfig (have-initfini): Don't set.
10079 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10080 * configure.in (nopic_initfini): Don't substitute.
10081 * config.h.in (HAVE_INITFINI): Don't #undef.
10082 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10083 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10084
3add8e13
JM
100852012-02-08 Joseph Myers <joseph@codesourcery.com>
10086
10087 Support crti.S and crtn.S provided directly by architectures.
10088 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10089 [crti.S in sysdirs] (omit-deps): Likewise.
10090 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10091 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10092 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10093 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10094 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10095 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10096 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10097 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10098 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10099 compiler output for sysdeps/generic/initfini.c.
10100 * sysdeps/i386/elf/Makefile: Remove file.
10101 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10102
a22f12b4
MP
101032012-02-07 Marek Polacek <polacek@redhat.com>
10104
10105 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10106 * sysdeps/gnu/_G_config.h: Likewise.
10107 * sysdeps/mach/hurd/_G_config.h: Likewise.
10108
148cf100
MP
101092012-02-07 Marek Polacek <polacek@redhat.com>
10110
10111 * math/Makefile (tests): Add tst-CMPLX2.
10112 * math/tst-CMPLX2.c: New file.
10113
cfdc0dd7
AS
101142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10115
84ba42c4
AS
10116 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10117
cfdc0dd7
AS
10118 * math/libm-test.inc (jn_test): Add missing L suffix.
10119
622c86f4
MP
101202012-02-06 Marek Polacek <polacek@redhat.com>
10121
10122 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10123 * sysdeps/i386/fpu/e_powf.S: Likewise.
10124 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10125 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10126 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10127 * sysdeps/i386/fpu/e_pow.S: Likewise.
10128 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10129 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10130 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10131 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10132 * sysdeps/i386/fpu/e_log2.S: Likewise.
10133 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10134 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10135 * sysdeps/i386/fpu/e_powl.S: Likewise.
10136 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10137 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10138 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10139 * sysdeps/i386/fpu/e_logl.S: Likewise.
10140 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10141 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10142 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10143 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10144 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10145 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10146 * sysdeps/i386/fpu/e_log.S: Likewise.
10147 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10148 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10149 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10150 * sysdeps/i386/fpu/e_logf.S: Likewise.
10151 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10152 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10153 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10154 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10155 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10156 * sysdeps/i386/fpu/e_log10.S: Likewise.
10157 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10158 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10159 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10160 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10161 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10162 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10163 * sysdeps/i386/asm-syntax.h: Likewise.
10164 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10167 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10168 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10169 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10170 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10171 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10172 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10173 * sysdeps/powerpc/sysdep.h: Likewise.
10174 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10175 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10176
d4a54ac6
JM
101772012-02-06 Joseph Myers <joseph@codesourcery.com>
10178
10179 [BZ #411]
10180 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10181
314054ea
JM
101822012-02-06 Joseph Myers <joseph@codesourcery.com>
10183
10184 * sysdeps/i386/sysdep.h: Include <features.h>.
10185 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10186 version.
10187
d8e0ca50
JM
101882012-02-05 Joseph Myers <joseph@codesourcery.com>
10189
10190 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10191 Define.
10192 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10193 LOAD_PIC_REG_STR.
10194
b1da7dd9
JM
101952012-02-03 Joseph Myers <joseph@codesourcery.com>
10196
10197 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10198 (SETUP_PIC_REG): Use GET_PC_THUNK.
10199 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10200 macro.
10201
9a1d9254
JM
102022012-02-03 Joseph Myers <joseph@codesourcery.com>
10203
10204 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10205 for non-PIC compilation.
10206 (SETUP_PIC_REG): Add .p2align directive.
10207 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10208 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10209 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10210 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10212 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10213 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10215 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10216 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10217 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10218 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10219 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10220 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10221 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10222 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10223 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10224 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10225 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10226 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10227 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10228 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10229 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10230 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10233 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10235 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10236 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10237 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10238 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10239 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10240 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10241 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10242 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10243 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10244 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10245 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10246 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10247 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10248
65dc3b75
JM
102492012-02-03 Joseph Myers <joseph@codesourcery.com>
10250
10251 * math/tst-CMPLX.c: Include <stdio.h>.
10252
d55bf177
JM
102532012-01-31 Joseph Myers <joseph@codesourcery.com>
10254
10255 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10256 float.
10257 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10258 * sysdeps/sparc/bits/mathdef.h: Likewise.
10259
69db4f8f
MP
102602012-01-31 Marek Polacek <polacek@redhat.com>
10261
10262 * libio/libio.h: Don't define _PARAMS.
10263 * locale/programs/config.h: Don't define PARAMS.
10264 * stdlib/strtol_l.c: Likewise.
10265 (__strtol_l): Remove PARAMS from the prototype.
10266
41b81892
UD
102672012-01-31 Ulrich Drepper <drepper@gmail.com>
10268
3b49edc0
UD
10269 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10270 names. Just use the correct names. Remove unnecessary wrapper
10271 functions.
10272 * malloc/arena.c: Likewise.
10273 * malloc/hooks.c: Likewise.
10274
41b81892
UD
10275 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10276 ARENA_TEST says not to. Simplify test for creation of a new arena.
10277 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10278
27a25b6e
UD
102792012-01-30 Ulrich Drepper <drepper@gmail.com>
10280
10281 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10282 into tail calls.
10283 (update_get_addr): New function.
10284 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10285 GET_ADDR_MODULE parameter.
10286
c8a89e7d
JM
102872012-01-30 Joseph Myers <joseph@codesourcery.com>
10288
10289 * crypt/cert.c: Remove __STDC__ conditionals.
10290 * crypt/crypt-entry.c: Likewise.
10291 * crypt/crypt_util.c: Likewise.
10292 * libio/filedoalloc.c: Likewise.
10293 * libio/fileops.c: Likewise.
10294 * libio/genops.c: Likewise.
10295 * libio/iofclose.c: Likewise.
10296 * libio/iofdopen.c: Likewise.
10297 * libio/iofopen.c: Likewise.
10298 * libio/iofopen64.c: Likewise.
10299 * libio/iogetdelim.c: Likewise.
10300 * libio/iopopen.c: Likewise.
10301 * libio/obprintf.c: Likewise.
10302 * libio/oldfileops.c: Likewise.
10303 * libio/oldiofclose.c: Likewise.
10304 * libio/oldiofdopen.c: Likewise.
10305 * libio/oldiofopen.c: Likewise.
10306 * libio/oldiopopen.c: Likewise.
10307 * libio/wfiledoalloc.c: Likewise.
10308 * libio/wgenops.c: Likewise.
10309 * locale/programs/xmalloc.c: Likewise.
10310 * misc/syslog.c: Likewise.
10311 * stdio-common/xbug.c: Likewise.
10312 * string/memchr.c: Likewise.
10313 * string/memcmp.c: Likewise.
10314 * string/memrchr.c: Likewise.
10315 * string/rawmemchr.c: Likewise.
10316 * sysdeps/posix/getcwd.c: Likewise.
10317 * time/strftime_l.c: Likewise.
10318
3b100462
JM
103192012-01-30 Joseph Myers <joseph@codesourcery.com>
10320
10321 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10322 * config.make.in (config-cflags-sse2avx): Define.
10323 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10324 Fix typo.
10325
607998af
CM
103262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10327
10328 * scripts/config.guess: Update from upstream config git repository.
10329 * scripts/config.sub: Likewise.
10330
3601428f
CM
103312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10332
3ac8b282
CM
10333 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10334 (EM_NUM): Update.
10335 (R_TILEPRO_*, R_TILEGX_*): New macros.
10336
e034841e
CM
10337 * scripts/firstversions.awk: Fix bug in version range handling.
10338
540d7568
CM
10339 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10340
3601428f
CM
10341 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10342
463de862
CM
10343 * include/sys/epoll.h: New file.
10344 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10345 libc_hidden_def.
10346
73139a76
UD
103472012-01-28 Ulrich Drepper <drepper@gmail.com>
10348
96bc5b45
UD
10349 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10350 Avoid unnecessary __WORDSIZE == 64 test.
10351 (fmaxf): Use VEX format if possible.
10352 (fmax): Likewise.
10353 (fminf): Likewise.
10354 (fmin): Likewise.
10355
56f6f6a2
UD
10356 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10357 * math/math_private.h: Remove libc_fegetround* and
10358 libc_fesetround*.
10359 * sysdeps/i386/configure.in: Check for -msse2avx.
10360 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10361 also if SSE2AVX is defined.
10362 Remove libc_fegetround* and libc_fesetround*.
10363 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10364 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10366 of HAS_YMM_USABLE.
10367 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10368 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10370 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10371 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10372
73139a76
UD
10373 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10374
d73f93a4
AZ
103752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376
10377 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10378 size is not set.
10379 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10380
6ee65ed6
UD
103812012-01-27 Ulrich Drepper <drepper@gmail.com>
10382
10383 [BZ #13618]
10384 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10385 relocation.
10386 * Makeconfig (libm): Define.
10387 * elf/Makefile: Add rules to build and run tst-relsort1.
10388 * elf/tst-relsort1.c: New file.
10389 * elf/tst-relsort1mod1.c: New file.
10390 * elf/tst-relsort1mod2.c: New file.
10391
8db21882
JM
103922012-01-27 Joseph Myers <joseph@codesourcery.com>
10393
10394 * math/s_ldexp.c: Remove __STDC__ conditionals.
10395 * math/s_ldexpf.c: Likewise.
10396 * math/s_ldexpl.c: Likewise.
10397 * math/s_nextafter.c: Likewise.
10398 * math/s_nexttowardf.c: Likewise.
10399 * math/s_significand.c: Likewise.
10400 * math/s_significandf.c: Likewise.
10401 * math/s_significandl.c: Likewise.
10402 * math/w_jnl.c: Likewise.
10403 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10404 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10405 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10406 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10407 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10408 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10409 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10410 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10411 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10422 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10423 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10424 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10425 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10427 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10428 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10429 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10430 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10431 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10432 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10433 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10434 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10435 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10436 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10437 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10438 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10439 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10440 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10441 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10442 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10443 * sysdeps/ieee754/k_standard.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10476 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10483 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10487 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10488 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10489 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10491 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10492 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10493 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10494 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10495 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10496 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10497 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10498 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10499 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10500 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10501 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10503 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10505 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10506 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10521 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10522 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10523 * sysdeps/ieee754/s_matherr.c: Likewise.
10524 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10525 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10526 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10527 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10528
965a54a4
JM
105292012-01-26 Joseph Myers <joseph@codesourcery.com>
10530
10531 * crypt/md5.h: Remove __STDC__ conditionals.
10532 * libio/libioP.h: Likewise.
10533 * locale/programs/config.h: Likewise.
10534 * sysdeps/generic/sysdep.h: Likewise.
10535 * sysdeps/i386/asm-syntax.h: Likewise.
10536 * sysdeps/s390/asm-syntax.h: Likewise.
10537 * sysdeps/unix/sysdep.h: Likewise.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10540
7071ad79
JM
105412012-01-26 Joseph Myers <joseph@codesourcery.com>
10542
10543 * libio/libio.h: Remove __STDC__ conditionals.
10544 * malloc/obstack.h: Likewise.
10545 * math/complex.h: Likewise.
10546 * math/math.h: Likewise.
10547 * sysdeps/generic/_G_config.h: Likewise.
10548 * sysdeps/gnu/_G_config.h: Likewise.
10549 * sysdeps/mach/hurd/_G_config.h: Likewise.
10550 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10551 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10552 * sysdeps/sparc/bits/mathdef.h: Likewise.
10553
afc5ed09
UD
105542012-01-26 Ulrich Drepper <drepper@gmail.com>
10555
10556 [BZ #13583]
10557 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10558 Clean up HAS_* macros.
afc5ed09 10559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10560 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10561 possible.
10562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10563 HAS_AVX.
10564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10569
bdb6de1d
JM
105702012-01-25 Joseph Myers <joseph@codesourcery.com>
10571
10572 * elf/tst-unique3.cc (gets): Remove declaration.
10573 * elf/tst-unique3lib.cc (gets): Likewise.
10574 * elf/tst-unique3lib2.cc (gets): Likewise.
10575 * elf/tst-unique4.cc (gets): Likewise.
10576
b15549e6
UD
105772012-01-24 Ulrich Drepper <drepper@gmail.com>
10578
10579 * include/stdio.h: Add C++ protection. Add gets declarations and
10580 definitions.
10581 * debug/tst-chk1.c: Don't declare gets here.
10582 * stdio-common/tst-gets.c: Likewise.
10583
a037381f
JM
105842012-01-24 Joseph Myers <joseph@codesourcery.com>
10585
10586 * posix/glob: Remove directory.
10587
f1d4aa75
JM
105882012-01-24 Joseph Myers <joseph@codesourcery.com>
10589
10590 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10591
81c0c964
PT
105922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10593
10594 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10595 of the non-standard EPFNOSUPPORT.
10596
0ea698ae
ST
105972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10598
10599 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10600 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10601 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10602
d220b117
UD
106032012-01-21 Ulrich Drepper <drepper@gmail.com>
10604
10605 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10606
3e1aa84e
UD
106072012-01-20 Ulrich Drepper <drepper@gmail.com>
10608
10609 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10610 transient errors.
10611 * nscd/grpcache.c (cache_addgr): Likewise.
10612 * nscd/hstcache.c (cache_addhst): Likewise.
10613 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10614 * nscd/pwdcache.c (cache_addpw): Likewise.
10615 * nscd/servicescache.c (cache_addserv): Likewise.
10616
400aa020
UD
106172012-01-16 Ulrich Drepper <drepper@gmail.com>
10618
d77e7869
UD
10619 * malloc/malloc.c: Various cleanups.
10620 * malloc/hooks.c: Likewise.
10621
400aa020
UD
10622 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10623 * stdlib/bug-fmtmsg1.c: New file.
10624
10625 * stdlib/fmtmsg.c (init): Add missing unlock.
10626 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10627
e0a309cf
MP
106282012-01-12 Marek Polacek <polacek@redhat.com>
10629
10630 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10631 and _GNU_SOURCE.
10632
929d11c7
WS
106332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10634
10635 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10636 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10637 macro to ensure uniqueness of label name.
10638 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10639 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10640
41d0e869
UD
106412012-01-11 Ulrich Drepper <drepper@gmail.com>
10642
0cc5ed3b
UD
10643 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10644
41d0e869
UD
10645 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10646 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10647 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10649
a47a831a
UD
106502012-01-10 Ulrich Drepper <drepper@gmail.com>
10651
daa891c0
UD
10652 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10653
10654 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10655 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10656 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10657
e58ef0f2
UD
10658 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10659
a47a831a 10660 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10661 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10662 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10664
10665 * math/bits/math-finite.h: Add ldexp support.
10666
a0bfc9c7
MP
106672012-01-10 Marek Polacek <polacek@redhat.com>
10668
10669 * locale/programs/localedef.h (show_archive_content): Add noreturn
10670 attribute.
10671
d6e97a1d
UD
106722012-01-09 Ulrich Drepper <drepper@gmail.com>
10673
10674 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10675
d5835c26
UD
106762012-01-08 Ulrich Drepper <drepper@gmail.com>
10677
e5f484c6
UD
10678 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10679
d5835c26
UD
10680 * io/Makefile (headers): Add bits/poll2.h.
10681
d1f741e9
WS
106822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10683
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10685 typo #include statement.
10686
ec09c1c4
UD
106872012-01-08 Ulrich Drepper <drepper@gmail.com>
10688
10689 * include/sys/cdefs.h: Define __attribute_alloc_size.
10690 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10691 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10692 * elf/pldd.c: Likewise.
10693 * iconv/iconv_charmap.c: Likewise.
10694 * iconv/iconvconfig.c: Likewise.
10695 * iconv/strtab.c: Likewise.
10696 * locale/programs/locale.c: Likewise.
10697 * locale/programs/localedef.h: Likewise.
10698 * locale/programs/simple-hash.c: Likewise.
10699 * nscd/nscd.h: Likewise.
10700 * nss/makedb.c: Likewise.
10701 * sysdeps/generic/ldconfig.h: Likewise.
10702 * locale/programs/localedef.c: Remove xmalloc prototype.
10703 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10704
20b38e03
PP
107052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10706
10707 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10708 appropriate.
10709
a0da5fe1
UD
107102012-01-08 Ulrich Drepper <drepper@gmail.com>
10711
1d5a644a 10712 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10713 * math/tst-CMPLX.c: New file.
1d5a644a 10714
8784a6db
UD
10715 * math/complex.h (CMPLXL): Fix typo.
10716
d9a216c0
UD
10717 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10718 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10719 GLIBC_2.16.
10720 * debug/tst-chk1.c: Add poll and ppoll tests.
10721 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10722 * include/sys/poll.h: Add hidden proto for ppoll.
10723 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10724 * sysdeps/mach/hurd/ppoll.c: Likewise.
10725 * io/ppoll.c: Likewise.
10726 * debug/poll_chk.c: New file.
10727 * debug/ppoll_chk.c: New file.
10728 * include/bits/poll2.h: New file.
10729 * io/bits/poll2.h: New file.
10730
ac097f5c
UD
10731 [BZ #1350]
10732 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10733
2119dcfa
UD
10734 * configure.in: static is always set to yes. Remove.
10735 * config.make.in: Don't set build-static.
10736 * Makeconfig: Remove use of build-static.
10737 * dlfcn/Makefile: Likewise.
10738 * elf/Makefile: Likewise.
10739 * math/Makefile: Likewise.
10740 * misc/Makefile: Likewise.
10741 * nptl/Makefile: Likewise.
10742 * sysdeps/mach/hurd/Makefile: Likewise.
10743
121766a9
UD
10744 * configure.in: PWD_P is not used anymore.
10745 * config.make.in: Remove PWD_P entry.
10746
51a1d39c 10747 * configure.in: Remove last remnants of RANLIB.
8720d066 10748 No need to check for signed size_t anymore.
215f4bdc
UD
10749 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10750 and IA-64.
3857022a 10751 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10752 * aclocal.m4: Likewise.
10753
d3ed7225
UD
10754 * wcsmbs/mbrtoc16.c: Implement using towc function.
10755 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10756 * wcsmbs/wcsmbsload.c: Likewise.
10757 * iconv/gconv_simple.c: Likewise.
10758 * iconv/gconv_int.h: Likewise.
10759 * iconv/gconv_builtin.h: Likewise.
10760 * iconv/iconv_prog.c: Remove CHAR16 handling.
10761
10762 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10763
10764 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10765
a0da5fe1
UD
10766 * configure.in: Remove --with-elf and --enable-bounded options.
10767 Dont set base_machine for ia64. More non-ELF conditions removed.
10768 Remove testing and setting of leading underscore information.
10769 * config.make.in (build-bounded): Set to no.
10770 * config.h.in: Remove NO_UNDERSCORES entry.
10771 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10772 them.
10773 * csu/start.c: Remove !NO_UNDERSCORE code.
10774 * locale/localeinfo.h: Likewise.
10775 * sysdeps/generic/machine-gmon.h: Likewise.
10776 * sysdeps/generic/sysdep.h: Likewise.
10777 * sysdeps/i386/sysdep.h: Likewise.
10778 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10779 * sysdeps/mach/sysdep.h: Likewise.
10780 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10781 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10782 * sysdeps/sh/sysdep.h: Likewise.
10783 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10784 * sysdeps/unix/i386/sysdep.S: Likewise.
10785 * sysdeps/unix/sparc/start.c: Likewise.
10786 * sysdeps/unix/sparc/sysdep.S: Likewise.
10787 * sysdeps/unix/sparc/sysdep.h: Likewise.
10788 * sysdeps/unix/start.c: Likewise.
10789 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10790 * sysdeps/x86_64/sysdep.h: Likewise.
10791
df78418a
UD
107922012-01-07 Ulrich Drepper <drepper@gmail.com>
10793
a784e502
UD
10794 [BZ #13553]
10795 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10796 for non-gcc.
10797 * argp/argp-fmtstream.h: Use const instead __const.
10798 * argp/argp.h: Likewise.
10799 * assert/assert.h: Likewise.
10800 * bits/fenv.h: Likewise.
10801 * bits/sched.h: Likewise.
10802 * bits/sigset.h: Likewise.
10803 * bits/sigthread.h: Likewise.
10804 * catgets/nl_types.h: Likewise.
10805 * conform/data/pthread.h-data: Likewise.
10806 * crypt/crypt-private.h: Likewise.
10807 * crypt/crypt.h: Likewise.
10808 * crypt/crypt_util.c: Likewise.
10809 * ctype/ctype.h: Likewise.
10810 * debug/execinfo.h: Likewise.
10811 * debug/mbsnrtowcs_chk.c: Likewise.
10812 * debug/mbsrtowcs_chk.c: Likewise.
10813 * debug/wcsnrtombs_chk.c: Likewise.
10814 * debug/wcsrtombs_chk.c: Likewise.
10815 * debug/wcstombs_chk.c: Likewise.
10816 * dirent/dirent.h: Likewise.
10817 * dlfcn/dlfcn.h: Likewise.
10818 * elf/neededtest4.c: Likewise.
10819 * grp/grp.h: Likewise.
10820 * gshadow/gshadow.h: Likewise.
10821 * iconv/gconv.h: Likewise.
10822 * iconv/gconv_int.h: Likewise.
10823 * iconv/gconv_simple.c: Likewise.
10824 * iconv/iconv.h: Likewise.
10825 * iconv/loop.c: Likewise.
10826 * iconv/skeleton.c: Likewise.
10827 * include/aio.h: Likewise.
10828 * include/aliases.h: Likewise.
10829 * include/argz.h: Likewise.
10830 * include/arpa/inet.h: Likewise.
10831 * include/assert.h: Likewise.
10832 * include/dirent.h: Likewise.
10833 * include/dlfcn.h: Likewise.
10834 * include/execinfo.h: Likewise.
10835 * include/fcntl.h: Likewise.
10836 * include/fenv.h: Likewise.
10837 * include/glob.h: Likewise.
10838 * include/grp.h: Likewise.
10839 * include/libintl.h: Likewise.
10840 * include/mntent.h: Likewise.
10841 * include/netdb.h: Likewise.
10842 * include/pwd.h: Likewise.
10843 * include/rpc/netdb.h: Likewise.
10844 * include/sched.h: Likewise.
10845 * include/search.h: Likewise.
10846 * include/shadow.h: Likewise.
10847 * include/signal.h: Likewise.
10848 * include/stdio.h: Likewise.
10849 * include/stdlib.h: Likewise.
10850 * include/string.h: Likewise.
10851 * include/sys/socket.h: Likewise.
10852 * include/sys/stat.h: Likewise.
10853 * include/sys/statfs.h: Likewise.
10854 * include/sys/statvfs.h: Likewise.
10855 * include/sys/syslog.h: Likewise.
10856 * include/sys/time.h: Likewise.
10857 * include/sys/uio.h: Likewise.
10858 * include/time.h: Likewise.
10859 * include/unistd.h: Likewise.
10860 * include/utmp.h: Likewise.
10861 * include/wchar.h: Likewise.
10862 * include/wctype.h: Likewise.
10863 * inet/aliases.h: Likewise.
10864 * inet/arpa/inet.h: Likewise.
10865 * inet/netinet/ether.h: Likewise.
10866 * inet/netinet/in.h: Likewise.
10867 * intl/libintl.h: Likewise.
10868 * io/bits/fcntl2.h: Likewise.
10869 * io/fcntl.h: Likewise.
10870 * io/ftw.h: Likewise.
10871 * io/sys/poll.h: Likewise.
10872 * io/sys/stat.h: Likewise.
10873 * io/sys/statfs.h: Likewise.
10874 * io/sys/statvfs.h: Likewise.
10875 * io/utime.h: Likewise.
10876 * libio/bits/stdio.h: Likewise.
10877 * libio/bits/stdio2.h: Likewise.
10878 * libio/libio.h: Likewise.
10879 * libio/libioP.h: Likewise.
10880 * libio/stdio.h: Likewise.
10881 * locale/lc-ctype.c: Likewise.
10882 * locale/locale.h: Likewise.
10883 * login/utmp.h: Likewise.
10884 * malloc/arena.c: Likewise.
10885 * malloc/malloc.c: Likewise.
10886 * malloc/malloc.h: Likewise.
10887 * malloc/mcheck.c: Likewise.
10888 * malloc/mtrace.c: Likewise.
10889 * math/bits/mathcalls.h: Likewise.
10890 * math/fenv.h: Likewise.
10891 * math/math_private.h: Likewise.
10892 * misc/bits/error.h: Likewise.
10893 * misc/bits/syslog.h: Likewise.
10894 * misc/err.h: Likewise.
10895 * misc/error.h: Likewise.
10896 * misc/fstab.h: Likewise.
10897 * misc/mntent.h: Likewise.
10898 * misc/regexp.h: Likewise.
10899 * misc/search.h: Likewise.
10900 * misc/sgtty.h: Likewise.
10901 * misc/sys/mman.h: Likewise.
10902 * misc/sys/syslog.h: Likewise.
10903 * misc/sys/uio.h: Likewise.
10904 * misc/sys/xattr.h: Likewise.
10905 * misc/ttyent.h: Likewise.
10906 * nis/rpcsvc/ypclnt.h: Likewise.
10907 * nss/nss.h: Likewise.
10908 * posix/bits/unistd.h: Likewise.
10909 * posix/fnmatch.h: Likewise.
10910 * posix/glob.h: Likewise.
10911 * posix/sched.h: Likewise.
10912 * posix/spawn.h: Likewise.
10913 * posix/sys/wait.h: Likewise.
10914 * posix/unistd.h: Likewise.
10915 * posix/wordexp.h: Likewise.
10916 * pwd/pwd.h: Likewise.
10917 * resolv/netdb.h: Likewise.
10918 * resource/sys/resource.h: Likewise.
10919 * rt/aio.h: Likewise.
10920 * rt/bits/mqueue2.h: Likewise.
10921 * rt/mqueue.h: Likewise.
10922 * shadow/shadow.h: Likewise.
10923 * signal/signal.h: Likewise.
10924 * socket/send.c: Likewise.
10925 * socket/sendto.c: Likewise.
10926 * socket/sys/socket.h: Likewise.
10927 * stdio-common/printf.h: Likewise.
10928 * stdlib/bits/stdlib.h: Likewise.
10929 * stdlib/fmtmsg.h: Likewise.
10930 * stdlib/monetary.h: Likewise.
10931 * stdlib/stdlib.h: Likewise.
10932 * stdlib/ucontext.h: Likewise.
10933 * streams/stropts.h: Likewise.
10934 * string/argz.h: Likewise.
10935 * string/bits/string2.h: Likewise.
10936 * string/string.h: Likewise.
10937 * string/strings.h: Likewise.
10938 * sunrpc/rpc/auth.h: Likewise.
10939 * sunrpc/rpc/auth_des.h: Likewise.
10940 * sunrpc/rpc/clnt.h: Likewise.
10941 * sunrpc/rpc/netdb.h: Likewise.
10942 * sunrpc/rpc/pmap_clnt.h: Likewise.
10943 * sunrpc/rpc/xdr.h: Likewise.
10944 * sysdeps/generic/inttypes.h: Likewise.
10945 * sysdeps/generic/net/if.h: Likewise.
10946 * sysdeps/generic/sys/swap.h: Likewise.
10947 * sysdeps/gnu/net/if.h: Likewise.
10948 * sysdeps/gnu/utmpx.h: Likewise.
10949 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10950 * sysdeps/i386/i486/bits/string.h: Likewise.
10951 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10952 * sysdeps/s390/bits/string.h: Likewise.
10953 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10954 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10955 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10956 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10957 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10958 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10959 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10960 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10961 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10962 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10963 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10964 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10965 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10966 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10967 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10968 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10969 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10971 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10973 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10974 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10975 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10976 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10977 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10978 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10979 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10981 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10982 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10983 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10984 * sysvipc/sys/ipc.h: Likewise.
10985 * sysvipc/sys/msg.h: Likewise.
10986 * sysvipc/sys/sem.h: Likewise.
10987 * sysvipc/sys/shm.h: Likewise.
10988 * termios/termios.h: Likewise.
10989 * time/sys/time.h: Likewise.
10990 * time/time.h: Likewise.
10991 * wcsmbs/bits/wchar2.h: Likewise.
10992 * wcsmbs/uchar.h: Likewise.
10993 * wcsmbs/wchar.h: Likewise.
10994 * wctype/wctype.h: Likewise.
10995
0269750c
UD
10996 [BZ #13551]
10997 * Makeconfig: Remove all but ELF support including AIX support.
10998 * Makerules: Likewise.
10999 * config.h.in: Likewise.
11000 * config.make.in: Likewise.
11001 * configure: Likewise.
11002 * configure.in: Likewise.
11003 * csu/Makefile: Likewise.
11004 * csu/version.c: Likewise.
11005 * debug/Makefile: Likewise.
11006 * dlfcn/Makefile: Likewise.
11007 * elf/Makefile: Likewise.
11008 * extra-lib.mk: Likewise.
11009 * iconv/Makefile: Likewise.
11010 * include/libc-symbols.h: Likewise.
11011 * include/shlib-compat.h: Likewise.
11012 * resolv/Makefile: Likewise.
11013 * resolv/res_libc.c: Likewise.
11014 * rt/Makefile: Likewise.
11015 * sysdeps/i386/asm-syntax.h: Likewise.
11016 * sysdeps/i386/sysdep.h: Likewise.
11017 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11018 * sysdeps/mach/sysdep.h: Likewise.
11019 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
11020 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
11021 * sysdeps/s390/asm-syntax.h: Likewise.
11022 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11023 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11024 * sysdeps/sh/sysdep.h: Likewise.
11025 * sysdeps/unix/sparc/sysdep.h: Likewise.
11026 * sysdeps/wordsize-32/divdi3.c: Likewise.
11027 * sysdeps/x86_64/sysdep.h: Likewise.
11028
00bbd29b
UD
11029 * argp/Versions: Remove _argp_unlock_xxx.
11030
11031 [BZ #13559]
11032 * abilist/ld.abilist: Update. Adjust for removal of tls option.
11033 * abilist/libBrokenLocale.abilist: Likewise.
11034 * abilist/libanl.abilist: Likewise.
11035 * abilist/libc.abilist: Likewise.
11036 * abilist/libcrypt.abilist: Likewise.
11037 * abilist/libdl.abilist: Likewise.
11038 * abilist/libm.abilist: Likewise.
11039 * abilist/libnsl.abilist: Likewise.
11040 * abilist/libpthread.abilist: Likewise.
11041 * abilist/libresolv.abilist: Likewise.
11042 * abilist/librt.abilist: Likewise.
11043 * abilist/libthread_db.abilist: Likewise.
11044 * abilist/libutil.abilist: Likewise.
11045 * abilist/libnss_db.abilist: New file.
11046
11047 * scripts/abilist.awk: Add support for indirect functions.
11048
a2693a0e
UD
11049 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11050
3f05895f
UD
11051 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11052
ecb6fb48
UD
11053 * shlib-versions: Remove entries for ports architectures.
11054
664f8cb9
UD
11055 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11056 files in ports.
11057 * elf/stackguard-macros.h: Remove support for IA-64.
11058 * elf/tst-auditmod1.c: Likewise.
11059 * sysdeps/generic/ldsodefs.h: Likewise.
11060
7ae81d88
UD
11061 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11062 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11063 configure files.
11064
bdeba135
UD
11065 [BZ #13552]
11066 * configure.in: Remove --enable-omitfp support.
11067 * FAQ.in: Adjust.
11068 * config.make.in: Likewise.
11069 * Makeconfig: Likewise.
11070 * manual/install.texi: Likewise.
11071
d75a0a62
UD
11072 In case anyone cares, the IA-64 architecture could move to ports.
11073 * sysdeps/ia64/*: Removed.
11074 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11075 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11076
dcc9756b
UD
11077 [BZ #13555]
11078 * configure.in: Remove entries for unsupported architectures.
11079
d3761ebc 11080 [BZ #13533]
9954432e
UD
11081 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11082 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11083 routines.
11084 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11085 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11086 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11087 fall back to using wcrtomb.
11088 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11089 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11090 renaming.
11091 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11092 * wcsmbs/tst-c16c32-1.c: New file.
11093
11094 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11095 local variable.
11096
c3a87236
UD
11097 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11098
28926a1b
UD
11099 * elf/tst-unique3.cc: Add explicit declaration of gets.
11100 * elf/tst-unique3lib.cc: Likewise.
11101 * elf/tst-unique3lib2.cc: Likewise.
11102 * elf/tst-unique4.cc: Likewise.
11103
df78418a
UD
11104 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11105
8ecd6b2a
JM
111062012-01-06 Joseph Myers <joseph@codesourcery.com>
11107
11108 [BZ #13566]
11109 * assert/assert.h (static_assert): Don't define for C++.
11110 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11111 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11112
9f115170
UD
111132012-01-03 Ulrich Drepper <drepper@gmail.com>
11114
5e0d0300
UD
11115 * iconv/loop.c (single loop): Fix assertion in storing of
11116 remaining bytes.
11117
9f115170
UD
11118 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11119
81fb02b0
UD
111202012-01-01 Ulrich Drepper <drepper@gmail.com>
11121
11122 * posix/getconf.c: Update copyright year.
11123 * nss/getent.c: Likewise.
a316c1f6 11124 * nss/makedb.c: Likewise.
81fb02b0
UD
11125 * iconv/iconvconfig.c: Likewise.
11126 * iconv/iconv_prog.c: Likewise.
11127 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11128 * elf/pldd.c: Likewise.
11129 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11130 * catgets/gencat.c: Likewise.
11131 * csu/version.c: Likewise.
11132 * elf/ldd.bash.in: Likewise.
11133 * elf/sprof.c (print_version): Likewise.
11134 * locale/programs/locale.c: Likewise.
11135 * locale/programs/localedef.c: Likewise.
a316c1f6 11136 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11137 * nscd/nscd.c (print_version): Likewise.
11138 * debug/xtrace.sh: Likewise.
11139 * malloc/memusage.sh: Likewise.
11140 * malloc/mtrace.pl: Likewise.
11141 * debug/catchsegv.sh: Likewise.
11142
2ba92745
JJ
111432011-12-30 Jakub Jelinek <jakub@redhat.com>
11144
11145 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11146 pure attribute.
11147
dadebdae
UD
111482011-12-24 Ulrich Drepper <drepper@gmail.com>
11149
d3761ebc 11150 [BZ #13533]
db6af3eb
UD
11151 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11152 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11153 transformations.
11154 * iconv/gconv_int.h: Likewise.
11155 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11156 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11157 from libc for GLIBC_2.16.
11158 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11159 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11160 * wcsmbs/uchar.h: Really define mbstate_t.
11161 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11162 * wcsmbs/c16rtomb.c: New file.
11163 * wcsmbs/mbrtoc16.c: New file.
11164 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11165 for C/POSIX locale.
11166 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11167 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11168
dadebdae
UD
11169 * wcsmbs/wchar.h: Add missing __restrict.
11170
67371b56
UD
111712011-12-23 Ulrich Drepper <drepper@gmail.com>
11172
74033a25
UD
11173 [BZ #13532]
11174 * time/Makefile (routines): Add timespec_get.
11175 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11176 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11177 timespec for ISO C11.
11178 * time/timespec_get.c: New file.
11179 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11180 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11181
380d7e87
UD
11182 [BZ #13531]
11183 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11184 * stdlib/stdlib.h: Declare aligned_alloc.
11185 * Versions.def: Add GLIBC_2.16 for libc.
11186 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11187
4e9e7a35
UD
11188 [BZ 13527]
11189 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11190 ISO C11.
11191
380d7e87 11192 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11193 code.
11194
03a71829
UD
11195 [BZ #13528]
11196 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11197
839e283e
UD
11198 [BZ #13529]
11199 * assert/assert.h (static_assert): Define.
11200
ce5294e2 11201 * version.h: Update for 2.16 development version.
90fa7312 11202
8d44e150 11203 [BZ #13526]
d7809905
UD
11204 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11205 _ISOC11_SOURCE.
11206
c0da14cd
UD
11207 * version.h (RELEASE): Bump for 2.15 release.
11208 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11209
530a3249
MP
11210 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11211 Patch by Marek Polacek <mpolacek@redhat.com>.
11212
67371b56
UD
11213 * bits/byteswap.h: Protect long long constants with __extension__.
11214 * sysdeps/i386/bits/byteswap.h: Likewise.
11215 * sysdeps/ia64/bits/byteswap.h: Likewise.
11216 * sysdeps/s390/bits/byteswap.h: Likewise.
11217 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11218
15db4de1
LD
112192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11220
11221 [BZ #13540]
bbe315ea
LD
11222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11223 destination buffer.
15db4de1
LD
11224 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11225
2b2596b1
MP
112262011-12-23 Marek Polacek <polacek@redhat.com>
11227
11228 * elf/dl-addr.c (determine_info): Add inline keyword.
11229 * elf/tst-auditmod4b.c (check_avx): Likewise.
11230 * elf/tst-auditmod6b.c (check_avx): Likewise.
11231 * elf/tst-auditmod6c.c (check_avx): Likewise.
11232 * elf/tst-auditmod7b.c (check_avx): Likewise.
11233
70c6c246
UD
112342011-12-23 Ulrich Drepper <drepper@gmail.com>
11235
11236 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11237 !__SSE_MATH__.
11238
c044cf14
LD
112392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11240
15db4de1 11241 [BZ #13540]
c044cf14
LD
11242 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11243 processing for last bytes.
11244
6b13d9d9
BH
112452011-08-06 Bruno Haible <bruno@clisp.org>
11246
d455f537
BH
11247 [BZ #13061]
11248 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11249 U+0385, not to U+1FEE.
11250
6b13d9d9
BH
11251 [BZ #13062]
11252 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11253 entry for U+00A5 U+0301.
11254
db910efd
UD
112552011-12-22 Ulrich Drepper <drepper@gmail.com>
11256
27deeafc
UD
11257 [BZ #13166]
11258 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11259 buffer for the output is too small.
11260
aed9d171
UD
11261 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11262 optimization.
11263
db910efd
UD
11264 [BZ #13185]
11265 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11266 SSE flags if possible.
11267
2bd779ae
LD
112682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11269
e7f9dac3 11270 [BZ #13540]
2bd779ae
LD
11271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11272 processing for last bytes.
11273
154bfc16
JM
112742011-12-22 Joseph Myers <joseph@codesourcery.com>
11275
11276 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11277 (syscall-list-default-options, syscall-list-default-condition)
11278 (syscall-list-includes): Define.
11279 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11280 list of ABIs and options and #if conditions for each ABI. Do not
11281 handle common syscalls between ABIs specially.
11282 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11283 Remove.
11284 (syscall-list-variants, syscall-list-32bit-options)
11285 (syscall-list-32bit-condition, syscall-list-64bit-options)
11286 (syscall-list-64bit-condition): Define.
11287 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11288 (syscall-list-variants, syscall-list-32bit-options)
11289 (syscall-list-32bit-condition, syscall-list-64bit-options)
11290 (syscall-list-64bit-condition): Define.
11291 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11292 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/x86_64/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
21eaf3a5
UD
113022011-12-22 Ulrich Drepper <drepper@gmail.com>
11303
16c6f992
UD
11304 * locale/iso-639.def: Add brx entry.
11305
41043168
UD
11306 [BZ #13328]
11307 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11308 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11309
21eaf3a5
UD
11310 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11311 __feraiseexcept_renamed.
11312
e3a851a2
UD
113132011-12-21 Ulrich Drepper <drepper@gmail.com>
11314
4920765e
UD
11315 [BZ #13538]
11316 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11317 EPOLLET with unsigned values.
11318 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11319 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11320
e3a851a2
UD
11321 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11322 to large cancellation.
11323 * math/s_cacoshf.c: Likewise.
11324 * math/s_cacoshl.c: Likewise.
11325
b27e24b8
RK
113262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11327
11328 [BZ #13305]
aebefeee 11329 [BZ #12786]
b27e24b8
RK
11330 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11331 * math/s_cacoshf.c: Likewise.
11332 * math/s_cacoshl.c: Likewise.
11333
ee190f67
UD
113342011-12-21 Ulrich Drepper <drepper@gmail.com>
11335
11336 [BZ #13439]
11337 * iconv/gconv.h: Define __GCONV_SWAP.
11338 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11339 * iconvdata/utf-16.c: Likewise.
11340 * iconvdata/utf-32.c: Likewise.
11341
707f25df
AS
113422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11343
11344 [BZ #13524]
11345 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11346 numerator after shifting it by one limb.
11347
d2daaa1e
RÁE
113482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11349
11350 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11351 under [__USE_EXTERN_INLINES].
11352
a4647e72
UD
113532011-12-17 Ulrich Drepper <drepper@gmail.com>
11354
11355 [BZ #13446]
11356 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11357
f0b264f1
AZ
113582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359
11360 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11361 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11362 optimized code.
11363 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11364 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11365 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11366 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11367 for strncasecmp/strncasecmp_l compilation.
11368 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11369 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11370
8ef4f244
MP
113712011-12-08 Marek Polacek <mpolacek@redhat.com>
11372
11373 [BZ #13484]
11374 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11375 of __asm__.
11376
97ac2654
UD
113772011-12-17 Ulrich Drepper <drepper@gmail.com>
11378
11379 [BZ #13506]
11380 * time/tzfile.c (__tzfile_read): Check values from file header.
11381
91d2a845
WS
113822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11383
11384 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11385 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11386 * powerpc/powerpc32/dl-start.S: Likewise.
11387 * powerpc/powerpc32/elf/start.S: Likewise.
11388 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11389 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11390 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11391 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11392 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11393 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11394 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11395 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11396 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11397 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11398 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11399 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11400 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11401 * powerpc/powerpc32/memset.S: Likewise.
11402 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11403 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11404 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11405 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11406 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11407 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11408 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11409 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11410 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11411 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11412 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11413 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11414 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11415
a1267ba1
AZ
114162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11417
11418 * math/libm-test.inc: Added more nearbyint tests.
11419 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11420 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11421 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11422 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11423
ad8ac1bd
RL
114242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11425
11426 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11427 FD_CLOEXEC.
11428
1d3e4b61
UD
114292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11430
11431 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11432 Add wcscpy-ssse3 wcscpy-c.
11433 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11434 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11435 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11436 * sysdeps/x86_64/wcschr.S: New file.
11437 * sysdeps/x86_64/wcsrchr.S: New file.
11438 * string/test-strcmp.c: Remove checking of wcscmp function for
11439 wrong alignments.
11440 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11441 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11442 wcsrchr-sse2 wcsrchr-c.
11443 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11444 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11445 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11446 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11447 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11448 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11449 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11450 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11451 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11452 * wcsmbc/wcschr.c (WCSCHR): New macro.
11453
5b330a2d
UD
114542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11455
11456 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11457 * wcsmbs/test-wcsrchr.c: New file.
11458 * string/test-strrchr.c: Add wcsrchr support.
11459 (WIDE): New macro.
11460 * wcsmbs/test-wcscpy.c: New file.
11461 * string/test-strcpy.c: Add wcscpy support.
11462 (WIDE): New macro.
26428b7c 11463
f039c043
UD
114642011-12-10 Ulrich Drepper <drepper@gmail.com>
11465
11466 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11467 the inner loop.
11468
850fb039
AS
114692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11470
11471 [BZ #13472]
11472 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11473
4efbd5cb
UD
114742011-12-04 Ulrich Drepper <drepper@gmail.com>
11475
52ff5dd0 11476 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11477 Minor optimizations.
52ff5dd0 11478
4efbd5cb
UD
11479 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11480 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11481 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11482
8a426e12
UD
114832011-12-03 Ulrich Drepper <drepper@gmail.com>
11484
aff2453d
UD
11485 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11486 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11487 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11488 for gcc to avoid warnings.
11489 * inet/Makefile (tests): Add tst-checks.
11490 * inet/tst-checks.c: New file.
11491
11492 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11493 warning.
11494
11495 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11496 __wmemcmp_sse2.
11497
11498 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11499 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11500
8a426e12
UD
11501 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11502
9bea3473
UD
115032011-12-02 Ulrich Drepper <drepper@gmail.com>
11504
3a965496
UD
11505 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11506 problem.
11507
9bea3473
UD
11508 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11509
f101631b
UD
115102011-11-29 Joseph Myers <joseph@codesourcery.com>
11511
11512 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11513 conditional on GCC version.
11514 (__arch_compare_and_exchange_val_8_acq)
11515 (__arch_compare_and_exchange_val_16_acq)
11516 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11517 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11518 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11519
a98275aa
UD
115202011-12-02 Joseph Myers <joseph@codesourcery.com>
11521
11522 * sysdeps/sh/backtrace.c: New file.
11523
d4cc29a2
AS
115242011-12-02 Andreas Schwab <schwab@redhat.com>
11525
11526 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11527 parenthesis.
11528
6257af2d
AS
115292011-12-01 Andreas Schwab <schwab@redhat.com>
11530
11531 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11532 falling back to utime.
11533
b5f44c1a
AS
115342011-11-30 Andreas Schwab <schwab@redhat.com>
11535
11536 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11537 expectations for float.
11538
f3a6cc0a
AS
115392011-11-29 Andreas Schwab <schwab@redhat.com>
11540
11541 * locale/weight.h (findidx): Add parameter len.
11542 * locale/weightwc.h (findidx): Likewise.
11543 * posix/fnmatch_loop.c (FCT): Adjust caller.
11544 * posix/regcomp.c (build_equiv_class): Likewise.
11545 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11546 * posix/regexec.c (check_node_accept_bytes): Likewise.
11547 * string/strcoll_l.c (STRCOLL): Likewise.
11548 * string/strxfrm_l.c (STRXFRM): Likewise.
11549
9d65ea3a
UD
115502011-11-17 Ulrich Drepper <drepper@gmail.com>
11551
11552 * Makefile.in: Remove CVSOPT handling.
11553 * configure.in: Remove use of AC_REVISION.
11554 * iconvdata/Makefile (distribute): No need to filter out CVS.
11555 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11556 handling.
11557
5583a086
AS
115582011-11-16 Andreas Schwab <schwab@redhat.com>
11559
11560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11561 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11562 [USE_AS_STRNCASECMP_L]: Likewise.
11563 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11564 NO_TLS_DIRECT_SEG_REFS.
11565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11566 Fix argument offsets for non-PIC.
11567 [USE_AS_STRNCASECMP_L]: Likewise.
11568 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11569 NO_TLS_DIRECT_SEG_REFS.
11570
d62a8200
UD
115712011-11-15 Ulrich Drepper <drepper@gmail.com>
11572
9d65ea3a 11573 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11574 O_CLOEXEC.
11575 * locale/loadlocale.c (_nl_load_locale): Likewise.
11576
09f93bd3
AS
115772011-11-15 Andreas Schwab <schwab@redhat.com>
11578
446514f9
AS
11579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11580 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11581 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11582 (SYSCALL_GETTIME): Set errno on error.
11583
09f93bd3
AS
11584 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11585 count references to noai6ai_cached.
11586
312be3f9
UD
115872011-11-15 Ulrich Drepper <drepper@gmail.com>
11588
11589 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11590
11591 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11592 FD_CLOEXEC for /proc/self/maps.
11593
11594 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11595 FD_CLOEXEC for /proc/meminfo.
11596
11597 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11598 gai.conf.
11599
11600 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11601 FD_CLOEXEC for given file.
11602
11603 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11604
11605 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11606 FD_CLOEXEC for /etc/hosts.
11607 (_gethtent): Likewise.
11608
11609 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11610
11611 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11612 cancellation and set FD_CLOEXEC for /etc/netgroup.
11613
11614 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11615 reading /etc/publickey.
11616
11617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11618 allow cancellation when reading /etc/group.
11619
11620 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11621 cancellation.
11622 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11623
11624 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11625 when using data file.
11626
11627 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11628
11629 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11630 (write_nis_obj): Use "c" and "e" in fopen.
11631
11632 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11633
11634 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11635
11636 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11637
11638 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11639
11640 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11641 locale.alias.
11642
11643 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11644
11645 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11646
11647 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11648
11649 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11650 file parsing and set FD_CLOEXEC.
11651
82af0fa8
UD
116522011-11-14 Ulrich Drepper <drepper@gmail.com>
11653
11654 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11655
a5fb313c
AS
116562011-11-14 Andreas Schwab <schwab@redhat.com>
11657
11658 * malloc/arena.c (arena_get2): Don't call reused_arena when
11659 _int_new_arena failed.
11660
6abf3465
UD
116612011-11-14 Ulrich Drepper <drepper@gmail.com>
11662
11663 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11664 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11665 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11666 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11668 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11669 to compile strcasecmp and strncasecmp.
11670 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11671 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11672
11673 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11674
76e3966e
UD
116752011-11-13 Ulrich Drepper <drepper@gmail.com>
11676
11677 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11678 locale-defines.sym to gen-as-const-headers.
11679 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11680 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11682 to compile strcasecmp and strncasecmp.
11683 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11684 strcasecmp_l and strncasecmp_l.
11685 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11686 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11687 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11688 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11689 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11690 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11691 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11692 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11693 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11694 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11695 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11696
ab26144e
UD
116972011-11-12 Ulrich Drepper <drepper@gmail.com>
11698
7edb22ef
UD
11699 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11700 result of SYSDEP_GETTIME_CPU to retval.
11701 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11702 parameter list to macro. Remove trailing semicolon. Adjust users.
11703
9694fc44
UD
11704 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11705 variable.
11706
8ad89ef8
UD
11707 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11708 mantissa words.
11709 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11710
0c822ef9
UD
11711 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11712 from unused variable.
11713
874e0564
UD
11714 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11715 DWARF definitions.
11716 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11717 for assembling.
11718
3a2edc79
UD
11719 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11720 over namespaces.
11721
f3c2577f
UD
11722 * sunrpc/rpc_prot.c (rejected): Fix case value.
11723
294ce126
UD
11724 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11725 unsigned long long int to avoid warnings in shift.
11726
5e2b63c6
UD
11727 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11728 of use of trans.
11729 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11730 variable tmp.
11731
e7f4b08e
UD
11732 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11733 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11734 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11735
ab26144e
UD
11736 * nis/nis_table.c (nis_list): Use variable of correct type for
11737 result of __follow_path call.
11738
8a6d5255
AZ
117392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11740
11741 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11742 of math functions ceil, trunc, floor, round, and sqrt, when
11743 avaliable on the platform.
11744 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11745 name clash.
11746 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11747 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11748 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11749
aaddc98c
MP
117502011-10-30 Marek Polacek <mpolacek@redhat.com>
11751
11752 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11753 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11754
95b7042b
RM
117552011-11-11 Roland McGrath <roland@hack.frob.com>
11756
11757 * include/unistd.h: Fix __readlink return type.
11758 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11759
57769839
UD
117602011-11-11 Ulrich Drepper <drepper@gmail.com>
11761
11762 * stdlib/ucontext.h: Undo last change for makecontext.
11763
edc5984d
AS
117642011-11-11 Andreas Schwab <schwab@redhat.com>
11765
98591e58
AS
11766 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11767
edc5984d
AS
11768 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11769 * setjmp/setjmp.h: Mark functions as non-leaf.
11770 * setjmp/bits/setjmp2.h: Likewise.
11771 * stdlib/ucontext.h: Likewise.
11772
77cdc054
AS
117732011-11-10 Andreas Schwab <schwab@redhat.com>
11774
11775 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11776 (reused_arena): Don't check arena limit.
11777 (arena_get2): Atomically check arena limit.
11778
fe72eebd
UD
117792011-11-08 Ulrich Drepper <drepper@gmail.com>
11780
5f078c32
UD
11781 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11782 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11783
fe72eebd
UD
11784 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11785 instructions.
11786
ae1bc2fa
AS
117872011-11-07 Andreas Schwab <schwab@redhat.com>
11788
7583a88d
AS
11789 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11790 handler when locking.
11791
ae1bc2fa
AS
11792 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11793 Fix size of allocated buffer.
11794
10fb0bfa
AS
117952011-11-04 Andreas Schwab <schwab@redhat.com>
11796
998832a4
AS
11797 [BZ #10103]
11798 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11799 declarations for long double functions.
11800 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11801
10fb0bfa
AS
11802 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11803
3d7ba52b
AS
118042011-11-03 Andreas Schwab <schwab@redhat.com>
11805
a9ae54a1
AS
11806 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11807 installed.
11808
3d7ba52b
AS
11809 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11810 is disabled.
11811
bc8db248
ST
118122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11813
11814 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11815
45b96dd6
AS
118162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11817
647776f6
AS
11818 * include/alloca.h (stackinfo_alloca_round): Define.
11819 (extend_alloca): Use it.
11820 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11821 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11822 here.
11823
d91a8b93
AS
11824 * scripts/check-local-headers.sh: Ignore libaudit.h.
11825
45b96dd6
AS
11826 * nscd/Makefile (extra-objs): Make recursively expanded.
11827
432d41ce
UD
118282011-11-01 Ulrich Drepper <drepper@gmail.com>
11829
34372fc6
UD
11830 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11832
fadb59f8
UD
11833 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11834 * posix/tst-rfc3484-2.c: Likewise.
11835 * posix/tst-rfc3484-3.c: Likewise.
11836
78239589
UD
11837 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11838 process_vm_writev.
11839 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11840 process_vm_writev.
11841 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11842 process_vm_writev from libc using GLIBC_2.15 version.
11843
432d41ce
UD
11844 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11845
02f9c6cf
PP
118462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11847
11848 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11849 stack usage.
11850
3a2c0242
UD
118512011-10-31 Ulrich Drepper <drepper@gmail.com>
11852
f4ec4833
UD
11853 [BZ #13367]
11854 * nss/getent.c (initgroups_keys): Show error message in case no group
11855 names are given.
11856
3a2c0242
UD
11857 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11858 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11859 __bump_nl_timestamp.
11860 * nscd/connections (nscd_init): When host database is served open
11861 netlink socket and request notification about configuration changes.
11862 (main_loop_poll): Track netlink file descriptor and bump timestamp
11863 in case data becomes available.
11864 (main_loop_epoll): Likewise.
11865 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11866 (database_pers_head): Add extra_data fileds.
11867 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11868 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11869 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11870 Adjust caller.
11871 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11872 in6ai data, call __free_in6ai.
11873 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11874 Add -DHAVE_NETLINK.
11875 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11876 interface information. Reuse previous data if netlink timestamp
11877 is not changed.
11878 (__bump_nl_timestamp): New function.
11879 (__free_in6ai): New function.
11880
636064eb
UD
118812011-10-30 Ulrich Drepper <drepper@gmail.com>
11882
11883 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11884 close_not_cancel_no_status here.
11885 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11886
9beb2334
UD
118872011-10-29 Ulrich Drepper <drepper@gmail.com>
11888
6ef76f3b
UD
11889 [BZ #13276]
11890 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11891 return value.
11892
0ffc4f3e 11893 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11894 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11895 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11896
cb95113e
UD
118972011-07-03 Andreas Jaeger <aj@suse.de>
11898
11899 [BZ #10709]
11900 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11901 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11902 * math/libm-test.inc (sin_test): Add test case.
11903
a1b560ff
UD
119042011-10-29 Ulrich Drepper <drepper@gmail.com>
11905
c9aaface
UD
11906 [BZ #13337]
11907 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11908 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11909
d272e7f1
UD
11910 * elf/chroot_canon.c (chroot_canon): Cleanups.
11911
1bc33071
UD
11912 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11913
1760874d
TJ
11914 [BZ #13335]
11915 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11916 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11917
51d91b18
UD
11918 * string/test-strchr.c: Make usable for strchrnul testing.
11919 * string/test-strchrnul.c: New file.
11920 * string/Makefile (strop-tests): Add strchrnul.
11921
a1b560ff 11922 * po/it.po: Update from translation team.
b611fb81 11923 * po/es.po: Likewise.
a1b560ff 11924
a5b81e1f
UD
119252011-10-28 Ulrich Drepper <drepper@gmail.com>
11926
fd52bc6d
UD
11927 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11928 the three constants needed as parameters. Drop the others.
11929 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11930 __m128i_strloadu_tolower.
52e4b9eb
UD
11931 Create and initialize variable zero and use it in all the places
11932 where _mm_setzero_si128 was used.
fd52bc6d 11933
a5b81e1f
UD
11934 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11935 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11936 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11937 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11938 anymore.
11939 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11940 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11941 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11942 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11943 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11944 __mpranred, __mptan.
11945 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11946 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11947 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11948 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11949 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11950 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11951 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11952 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11953 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11954
b4343346
AS
119552011-10-28 Andreas Schwab <schwab@redhat.com>
11956
0c92d8a8
AS
11957 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11958 redefine if SHARED.
11959 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11960
b4343346
AS
11961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11962 wide char related routines to wcsmbs subdir.
11963
3871f58f
AS
119642011-10-27 Andreas Schwab <schwab@redhat.com>
11965
11966 [BZ #13344]
11967 * misc/sys/cdefs.h (__THROWNL): Define.
11968 * posix/unistd.h: Use __THREADNL instead of __THREAD
11969 for memory synchronization functions.
11970
94d44d9f
RM
119712011-10-26 Roland McGrath <roland@hack.frob.com>
11972
21b64b15 11973 [BZ #13349]
94d44d9f
RM
11974 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11975 doesn't exist.
11976 * manual/stdio.texi (Obstack Streams): Node removed.
11977
f6ce9294
AS
119782011-10-26 Andreas Schwab <schwab@redhat.com>
11979
80479147
AS
11980 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11981 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11983
f6ce9294
AS
11984 * math/math_private.h (math_force_eval): Allow non-addressable
11985 arguments.
11986 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11987
618280a1
UD
119882011-10-25 Ulrich Drepper <drepper@gmail.com>
11989
e0016b11
UD
11990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11991 file is not needed.
11992
11993 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11995 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11996 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11998 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11999 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12000 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
12001 Add AVX variants.
12002 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
12003 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
12004 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
12005 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
12006 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
12007 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
12019 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
12020 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
12021
12022 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
12023 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
12024
618280a1
UD
12025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
12026 place. Use VEX encoding when compiling for AVX.
12027
37822576
AS
120282011-10-25 Andreas Schwab <schwab@redhat.com>
12029
1f1e1947
AS
12030 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
12031 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12032
37822576
AS
12033 * string/test-strchr.c (do_test): Don't generate NUL bytes.
12034
31ea014d
UD
120352011-10-25 Ulrich Drepper <drepper@gmail.com>
12036
d7826aa1 12037 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12038 useless if() expression.
d7826aa1
UD
12039 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12049 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12050 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12051 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12052 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12053 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12054 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12055 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12056 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12057 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12058
31ea014d
UD
12059 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12060
16437fec
AS
120612011-10-25 Andreas Schwab <schwab@redhat.com>
12062
12063 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12064 condition.
12065 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12066
31d3cc00
UD
120672011-10-25 Ulrich Drepper <drepper@gmail.com>
12068
12069 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12070 .text section. Avoid duplicate constants.
12071 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12081 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12083 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12086 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12088 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12089 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12091 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12094 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12095 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12096 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12097 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12098 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12099 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12100 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12102 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12103 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12104 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12105 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12106 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12107 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12109 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12110 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12113 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12114 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12115 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12116
58985aa9
UD
121172011-10-24 Ulrich Drepper <drepper@gmail.com>
12118
202c9deb
UD
12119 * sysdeps/x86_64/dla.h: Move to ...
12120 * sysdeps/x86_64/fpu/dla.h: ...here.
12121 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12122 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12123
af968f62
UD
12124 * config.make.in: Add have-mfma4 entry.
12125 * configure.in: Substitute libc_cv_cc_fma4.
12126 * math/Makefile (dbl-only-routines): Add sincostab.
12127 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12128 Use __sincostab not sincos.
12129 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12130 name is a macro.
12131 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12132 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12135 using __copysign.
12136 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12137 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12138 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12139 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12140 and __inv.
12141 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12142 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12143 __copysign.
12144 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12145 define aliases when function name is a macro.
12146 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12147 sysdeps/ieee754/dbl-64/sincos.tbl.
12148 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12149 fma4-enabled routines.
12150 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12151 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12152 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12153 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12154 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12155 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12156 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12157 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12158 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12159 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12160 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12161 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12162 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12163 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12165 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12166 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12167 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12168 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12169 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12170 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12171 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12172 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12173 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12174 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12175 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12176 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12177 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12178 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12179 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12180
58985aa9
UD
12181 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12182 rename.
12183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12184 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12189 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12191
a201fbcf
AS
121922011-10-24 Andreas Schwab <schwab@redhat.com>
12193
12194 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12195
fc2ee42a
LD
121962011-10-23 Ulrich Drepper <drepper@gmail.com>
12197
bb3129bd
UD
12198 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12199
0275fff8
UD
12200 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12201 prediction.
12202 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12203
2fa2ae85
UD
12204 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12205 Remove unused variable magic_bits.
12206 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12207
fc2ee42a
LD
12208 * string/strnlen.c: Define and use STRNLEN macro.
12209 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12210 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12212 * wcsmbs/wcslen.c: Define and use WCSLEN.
12213 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12214 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12215 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12216 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12217 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12218 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12219 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12220
ce7dd29f
LD
122212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12222
12223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12224 strnlen-sse2-no-bsf.
12225 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12227 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12228 Add strnlen support.
12229 (USE_AS_STRNLEN): New macro.
12230 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12231 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12232 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12233 * sysdeps/x86_64/wcslen.S: New file.
12234
979c70a3
MZ
122352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12236
12237 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12238 XMM-moves are used for copying on small sizes.
12239
2d09f82f
LD
122402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12241
12242 * wcsmbs/Makefile (strop-tests): Add wcschr.
12243 * wcsmbs/test-wcschr.c: New file.
12244 * string/test-strchr.c: Update.
12245 Add wcschr support.
12246 (WIDE): New macro.
12247
619fccca
LD
122482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12249
2d09f82f 12250 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12251 * wcsmbs/test-wcslen.c: New file.
12252 * string/test-strlen.c: Update.
12253 Add wcslen support.
12254 (WIDE): New macro.
12255
09f699ea
UD
122562011-10-23 Ulrich Drepper <drepper@gmail.com>
12257
12258 * po/it.po: Update from translation team.
12259
95584d3b
LD
122602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12261
12262 * sysdeps/x86_64/wcscmp.S: Update.
12263 Fix wrong comparison semantics.
12264 wcscmp shall use signed comparison not unsigned.
12265 Don't use substraction to avoid overflow bug.
12266 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12267 * wcsmbc/wcscmp.c: Likewise.
12268 * string/test-strcmp.c: Likewise.
12269 Add new tests to check cases with negative values.
12270
c8b3296b
UD
122712011-10-23 Ulrich Drepper <drepper@gmail.com>
12272
12273 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12274 * sysdeps/x86_64/dla.h: ...here. New file.
12275 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12276 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12277 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12278 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12280 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12284
246ad57a
AS
122852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12286
12287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12288 __ynl_finite aliases.
12289
a1a87169
UD
122902011-10-22 Ulrich Drepper <drepper@gmail.com>
12291
0d355eb7
UD
12292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12293
a1a87169
UD
12294 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12295 define DLA_FMA.
12296 [DLA_FMA] (EMULV): Use DLA_FMA.
12297 [DLA_FMA] (MUL12): Use EMULV.
12298 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12299 that are not needed.
12300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12303 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12307
ee2aafe0
AS
123082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12309
12310 * math/s_nan.c: Undef __nan.
12311 * math/s_nanf.c: Undef __nanf.
12312 * math/s_nanl.c: Undef __nanl.
12313 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12314 "math_private.h".
12315
bc62c2fb
UD
123162011-10-22 Ulrich Drepper <drepper@gmail.com>
12317
77425c63
UD
12318 * math/s_catan.c: Add branch predictions.
12319 * math/s_catanf.c: Likewise.
12320 * math/s_catanh.c: Likewise.
12321 * math/s_catanhf.c: Likewise.
12322 * math/s_catanhl.c: Likewise.
12323 * math/s_catanl.c: Likewise.
12324 * math/s_cexp.c: Likewise.
12325 * math/s_cexpf.c: Likewise.
12326 * math/s_cexpl.c: Likewise.
12327 * math/s_clog.c: Likewise.
12328 * math/s_clog10.c: Likewise.
12329 * math/s_clog10f.c: Likewise.
12330 * math/s_clog10l.c: Likewise.
12331 * math/s_clogf.c: Likewise.
12332 * math/s_clogl.c: Likewise.
12333 * math/s_csqrt.c: Likewise.
12334 * math/s_csqrtf.c: Likewise.
12335 * math/s_csqrtl.c: Likewise.
12336 * math/s_ctanf.c: Likewise.
12337 * math/s_ctanh.c: Likewise.
12338 * math/s_ctanhf.c: Likewise.
12339 * math/s_ctanhl.c: Likewise.
12340 * math/s_ctanl.c: Likewise.
12341
bc62c2fb
UD
12342 * math/math_private.h: Define __nan, __nanf, __nanl.
12343 * math/s_cacosh.c: Include <math_private.h>.
12344 * math/s_cacoshl.c: Likewise.
12345 * math/s_casinh.c: Likewise.
12346 * math/s_casinhf.c: Likewise.
12347 * math/s_casinhl.c: Likewise.
12348 * math/s_ccos.c: Rely entire on ccosh.
12349 * math/s_ccosf.c: Rely entire on ccoshf.
12350 * math/s_ccosl.c: Rely entirely on ccoshl.
12351 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12352 Remove tests for FE_INVALID.
12353 * math/s_ccoshf.c: Likewise.
12354 * math/s_ccoshl.c: Likewise.
12355 * math/s_csin.c: Likewise.
12356 * math/s_csinf.c: Likewise.
12357 * math/s_csinh.c Likewise.
12358 * math/s_csinhf.c: Likewise.
12359 * math/s_csinhl.c: Likewise.
12360 * math/s_csinl.c: Likewise.
12361 * math/s_ctan.c: Likewise.
12362 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12363 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12364 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12365
8ec250a4
UD
123662011-10-21 Ulrich Drepper <drepper@gmail.com>
12367
c196fed8
UD
12368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12369 compilation problems.
12370
8ec250a4
UD
12371 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12372 __builtin_expect.
12373
8d4f46c6
UD
123742011-10-20 Ulrich Drepper <drepper@gmail.com>
12375
ed72b654
UD
12376 * sysdeps/i386/configure.in: Test for -mfma4 option.
12377 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12378 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12379 COMMON_CPUID_INDEX_80000001.
12380 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12381 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12382 use it if FMA3 is not supported.
12383 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12384
8d4f46c6
UD
12385 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12386 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12387
d45c60c2
AS
123882011-10-20 Andreas Schwab <schwab@redhat.com>
12389
12390 [BZ #12892]
12391 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12392 it would create a cycle with a link time dependency.
12393
d9a4d2ab
UD
123942011-10-19 Ulrich Drepper <drepper@gmail.com>
12395
855d1560
UD
12396 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12397 instruction.
12398 * string/Makefile (strop-tests): Add rawmemchr.
12399 * string/test-rawmemchr.c: New file.
12400
d9a4d2ab
UD
12401 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12402 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12403 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12404 when compiling str{,n}casecmp and when AVX is available. Hook up
12405 new optimized code in initializers.
12406
8f3b1ffe
AS
124072011-10-19 Andreas Schwab <schwab@redhat.com>
12408
12409 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12410 __feraiseexcept instead of feraiseexcept.
12411
d38f1dba
UD
124122011-10-18 Ulrich Drepper <drepper@gmail.com>
12413
d9a8d0ab
UD
12414 * math/math_private.h: Define defaults for libc_fetestexcept and
12415 libc_feupdateenv.
12416 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12417 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12419 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12421 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12422 libc_fetestexcept and libc_feupdateenv.
12423
4855e3dd
UD
12424 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12425 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12426 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12427 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12428 libc_feholdexcept_setround.
12429
581d30e3
UD
12430 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12431 Add s_nearbyint-c and s_nearbyintf-c.
12432 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12433 nearbyintf inlines.
12434 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12435 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12436 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12437 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12438
d38f1dba
UD
12439 * math/math_private.h: Define defaults for libc_fegetround,
12440 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12441 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12442 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12443 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12444 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12445 standard functions.
12446 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12447 Remove comments and hacks for old compiler versions.
12448 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12449 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12450 libc_feholdexceptl.
12451
caa6c9d8
AS
124522011-10-18 Andreas Schwab <schwab@redhat.com>
12453
12454 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12455 (__feraiseexcept_renamed): Add __NTH.
12456 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12457 namespace violations.
12458
97c066e6
UD
124592011-10-17 Ulrich Drepper <drepper@gmail.com>
12460
99ce7b04
UD
12461 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12462
1004d182
UD
12463 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12464
228a984d
UD
12465 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12466 recently added interfaces.
12467 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12468
c8553a6a
UD
12469 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12470 about macro parameter expansion.
12471
ed22dcf6
UD
12472 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12473 __NO_MATH_INLINES is defined. Cleanups.
12474
12475 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12476 and __floorf is target has SSE4.1.
12477 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12478 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12479 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12480 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12481
b171c137
UD
12482 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12483 name.
12484 (floorf): Likewise.
12485
97c066e6
UD
12486 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12487
629f62ef
AS
124882011-10-17 Andreas Schwab <schwab@redhat.com>
12489
49a43d80
AS
12490 * misc/sys/cdefs.h: Fix last change.
12491
629f62ef
AS
12492 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12493 database lookup.
12494
e453f6cd
UD
124952011-10-16 Ulrich Drepper <drepper@gmail.com>
12496
aa78043a
UD
12497 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12498
ad0f5cad
UD
12499 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12500 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12501 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12505 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12506 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12507 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12508 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12509 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12510 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12511 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12512 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12513 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12514 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12515 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12516 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12517 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12518 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12519 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12520 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12521
12522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12523 ceil, ceilf, floor, floorf.
12524
12525 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12526 Perform IRELATIVE relocations last.
12527
e453f6cd
UD
12528 * elf/do-rel.h: Add another parameter nrelative, replacing the
12529 local variable with the same name. Change name of the function
12530 to end in Rel or Rela (uppercase).
12531 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12532 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12533 elf_dynamic_do_##reloc function.
12534
fd5bdc09
UD
125352011-10-15 Ulrich Drepper <drepper@gmail.com>
12536
79b195b5
UD
12537 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12538 is sufficient, at least on modern CPUs.
12539
d4a28569
UD
12540 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12541
b61099b5
UD
12542 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12543 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12544
bcf01e6d
UD
12545 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12546 __expl_finite.
12547 * math/bits/math-finite.h: Add entries for exp.
12548 * math/e_expl.c: Add __*_finite alias.
12549 * sysdeps/i386/fpu/e_exp.S: Likewise.
12550 * sysdeps/i386/fpu/e_expf.S: Likewise.
12551 * sysdeps/i386/fpu/e_expl.c: Likewise.
12552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12553 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12554 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12556 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12557 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12558 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12559
ba1a0d59
UD
12560 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12561 is sufficient, at least on modern CPUs.
12562
fd5bdc09
UD
12563 * ctype/ctype-info.c (__ctype_init): Define.
12564 * include/ctype.h (__ctype_init): Declare.
12565 (__ctype_b_loc): The variable is always initialized.
12566 (__ctype_toupper_loc): Likewise.
12567 (__ctype_tolower_loc): Likewise.
12568 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12569 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12570
7872cfb0
AS
125712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12572
b468825a
AS
12573 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12574
7872cfb0
AS
12575 * configure.in: Also look in $cxxmachine/include for C++ system
12576 headers.
12577
be13f7bf
LD
125782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12579
12580 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12581 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12582 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12583 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12584 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12585 (USE_AS_WMEMCMP): New macro.
12586 Fixing indents.
12587 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12588 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12589 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12590 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12592 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12593 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12594 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12595 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12596 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12597 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12598 (USE_AS_WMEMCMP): New macro.
12599 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12600 * sysdeps/string/test-memcmp.c: Update.
12601 Fix simple_wmemcmp.
12602 Add new tests.
12603 * wcsmbs/wmemcmp.c: Update.
12604 (WMEMCMP): New macro.
12605 Fix overflow bug.
12606
556a2007
AJ
126072011-10-12 Andreas Jaeger <aj@suse.de>
12608
12609 [BZ #13268]
12610 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12611
538faaa7
UD
126122011-10-15 Ulrich Drepper <drepper@gmail.com>
12613
ab6737ff
UD
12614 * libio/iofwide.c (do_length): Avoid warning.
12615
538faaa7
UD
12616 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12617
396a21b1
UD
126182011-10-14 Ulrich Drepper <drepper@gmail.com>
12619
cdf2901f
UD
12620 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12621
38ad40ce
UD
12622 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12623 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12624 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12625 * sysdeps/i386/i686/fpu/e_log.S: New file.
12626 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12627 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12628
396a21b1
UD
12629 * ctype/ctype.h: Add support for inlined isXXX functions when
12630 compiling C++ code.
12631
6b1f68c9
AS
126322011-10-14 Andreas Schwab <schwab@redhat.com>
12633
349290c0
AS
12634 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12635
6b1f68c9
AS
12636 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12637
f2282d42
RM
126382011-10-13 Roland McGrath <roland@hack.frob.com>
12639
12640 [BZ #13291]
12641 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12642
5298ffa8
AS
126432011-10-13 Andreas Schwab <schwab@redhat.com>
12644
714fad23
AS
12645 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12646 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12647 feraiseexcept.
12648
81dcc7fb
AS
12649 * sysdeps/x86_64/memrchr.S: Check for zero size.
12650
5298ffa8
AS
12651 * string/stratcliff.c: Add memrchr tests.
12652
951fbcec
LD
126532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12654
12655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12656 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12657 rawmemchr-sse2 rawmemchr-sse2-bsf.
12658 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12659 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12660 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12661 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12662 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12663 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12664 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12665 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12666 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12667 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12668 * string/memrchr.c (MEMRCHR): New macro.
12669
0ac5ae23
UD
126702011-10-12 Ulrich Drepper <drepper@gmail.com>
12671
12672 Add integration with gcc's -ffinite-math-only and optimize wrapper
12673 functions in libm.
12674 * Versions.def: Define GLIBC_2.15 version for libm.
12675 * math/Makefile (headers): Add bits/math-finite.h.
12676 * math/bits/math-finite.h: New file.
12677 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12678 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12679 * math/e_acoshl.c: Add __*_finite alias.
12680 * math/e_acosl.c: Likewise.
12681 * math/e_asinl.c: Likewise.
12682 * math/e_atan2l.c: Likewise.
12683 * math/e_atanhl.c: Likewise.
12684 * math/e_coshl.c: Likewise.
12685 * math/e_exp10.c: Likewise.
12686 * math/e_exp10f.c: Likewise.
12687 * math/e_exp10l.c: Likewise.
12688 * math/e_exp2l.c: Likewise.
12689 * math/e_fmodl.c: Likewise.
12690 * math/e_gammal_r.c: Likewise.
12691 * math/e_hypotl.c: Likewise.
12692 * math/e_j0l.c: Likewise.
12693 * math/e_j1l.c: Likewise.
12694 * math/e_jnl.c: Likewise.
12695 * math/e_lgammal_r.c: Likewise.
12696 * math/e_log10l.c: Likewise.
12697 * math/e_log2l.c: Likewise.
12698 * math/e_logl.c: Likewise.
12699 * math/e_powl.c: Likewise.
12700 * math/e_sinhl.c: Likewise.
12701 * math/e_sqrtl.c: Likewise.
12702 * math/e_scalb.c: Completely rewritten and optimized.
12703 * math/e_scalbf.c: Likewise.
12704 * math/e_scalbl.c: Likewise.
12705 * math/w_acos.c: Likewise.
12706 * math/w_acosf.c: Likewise.
12707 * math/w_acosl.c: Likewise.
12708 * math/w_acosh.c: Likewise.
12709 * math/w_acoshf.c: Likewise.
12710 * math/w_acoshl.c: Likewise.
12711 * math/w_asin.c: Likewise.
12712 * math/w_asinf.c: Likewise.
12713 * math/w_asinl.c: Likewise.
12714 * math/w_atan2.c: Likewise.
12715 * math/w_atan2f.c: Likewise.
12716 * math/w_atan2l.c: Likewise.
12717 * math/w_atanh.c: Likewise.
12718 * math/w_atanhf.c: Likewise.
12719 * math/w_atanhl.c: Likewise.
12720 * math/w_exp10.c: Likewise.
12721 * math/w_exp10f.c: Likewise.
12722 * math/w_exp10l.c: Likewise.
12723 * math/w_fmod.c: Likewise.
12724 * math/w_fmodf.c: Likewise.
12725 * math/w_fmodl.c: Likewise.
12726 * math/w_j0.c: Likewise.
12727 * math/w_j0f.c: Likewise.
12728 * math/w_j0l.c: Likewise.
12729 * math/w_j1.c: Likewise.
12730 * math/w_j1f.c: Likewise.
12731 * math/w_j1l.c: Likewise.
12732 * math/w_jn.c: Likewise.
12733 * math/w_jnf.c: Likewise.
12734 * math/w_log.c: Likewise.
12735 * math/w_logf.c: Likewise.
12736 * math/w_logl.c: Likewise.
12737 * math/w_log10.c: Likewise.
12738 * math/w_log10f.c: Likewise.
12739 * math/w_log10l.c: Likewise.
12740 * math/w_log2.c: Likewise.
12741 * math/w_log2f.c: Likewise.
12742 * math/w_log2l.c: Likewise.
12743 * math/w_pow.c: Likewise.
12744 * math/w_powf.c: Likewise.
12745 * math/w_powl.c: Likewise.
12746 * math/w_remainder.c: Likewise.
12747 * math/w_remainderf.c: Likewise.
12748 * math/w_remainderl.c: Likewise.
12749 * math/w_scalb.c: Likewise.
12750 * math/w_scalbf.c: Likewise.
12751 * math/w_scalbl.c: Likewise.
12752 * math/w_sqrt.c: Likewise.
12753 * math/w_sqrtf.c: Likewise.
12754 * math/w_sqrtl.c: Likewise.
12755 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12756 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12757 used.
12758 * math/math_private.h: Declare __kernel_standard_f.
12759 * math/w_cosh.c: Remove cruft and optimize a bit.
12760 * math/w_coshf.c: Likewise.
12761 * math/w_coshl.c: Likewise.
12762 * math/w_exp2.c: Likewise.
12763 * math/w_exp2f.c: Likewise.
12764 * math/w_exp2l.c: Likewise.
12765 * math/w_hypot.c: Likewise.
12766 * math/w_hypotf.c: Likewise.
12767 * math/w_hypotl.c: Likewise.
12768 * math/w_lgamma.c: Likewise.
12769 * math/w_lgamma_r.c: Likewise.
12770 * math/w_lgammaf.c: Likewise.
12771 * math/w_lgammaf_r.c: Likewise.
12772 * math/w_lgammal.c: Likewise.
12773 * math/w_lgammal_r.c: Likewise.
12774 * math/w_sinh.c: Likewise.
12775 * math/w_sinhf.c: Likewise.
12776 * math/w_sinhl.c: Likewise.
12777 * math/w_tgamma.c: Likewise.
12778 * math/w_tgammaf.c: Likewise.
12779 * math/w_tgammal.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12782 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12783 Minor optimizations. Pretty printing. Remove cruft.
12784 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12785 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12786 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12787 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12788 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12789 * sysdeps/i386/fpu/e_asin.S: Likewise.
12790 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12791 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12792 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12793 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12794 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12795 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12796 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12797 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12798 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12799 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12800 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12801 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12802 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12803 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12804 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12805 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12806 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12807 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12808 * sysdeps/i386/fpu/e_log.S: Likewise.
12809 * sysdeps/i386/fpu/e_log10.S: Likewise.
12810 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12811 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12812 * sysdeps/i386/fpu/e_log2.S: Likewise.
12813 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12814 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12815 * sysdeps/i386/fpu/e_logf.S: Likewise.
12816 * sysdeps/i386/fpu/e_logl.S: Likewise.
12817 * sysdeps/i386/fpu/e_pow.S: Likewise.
12818 * sysdeps/i386/fpu/e_powf.S: Likewise.
12819 * sysdeps/i386/fpu/e_powl.S: Likewise.
12820 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12821 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12822 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12823 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12824 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12825 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12826 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12827 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12828 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12832 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12833 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12834 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12850 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12851 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12852 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12853 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12854 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12855 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12856 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12857 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12858 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12859 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12860 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12861 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12862 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12863 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12864 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12865 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12866 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12867 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12868 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12869 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12870 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12871 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12875 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12876 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12878 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12879 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12881 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12882 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12884 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12885 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12886 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12887 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12888 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12889 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12890 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12892 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12893 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12899 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12900 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12901 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12902 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12903 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12904 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12905 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12907 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12909 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12910 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12912 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12914 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12915 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12916 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12917 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12920 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12921 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12922 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12923 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12924 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12925 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12926 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12927 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12928 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12929 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12930 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12931 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12932 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12934 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12935 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12937 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12938 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12939 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12940 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12941 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12942 (__isnanf): Likewise.
12943 (__isinf_ns): Likewise.
12944 (__isinf_nsf): Likewise.
12945 (__finite): Likewise.
12946 (__finitef): Likewise.
12947 (__ieee754_sqrt): Define as macro.
12948 (__ieee754_sqrtf): Define as macro.
12949 (__ieee754_sqrtl): Define as macro.
12950 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12951 inlined copy.
12952 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12953 __FINITE_MATH_ONLY__ consistent.
12954 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12955
12cc2fcd
AS
129562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12957
a843a204
AS
12958 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12959 of rawmemchr.
12960
12cc2fcd
AS
12961 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12962
c853acd5
UD
129632011-10-09 Ulrich Drepper <drepper@gmail.com>
12964
12965 * po/ja.po: Update from translation team.
12966
c658d255
RM
129672011-10-08 Roland McGrath <roland@hack.frob.com>
12968
110946e4
RM
12969 * locale/programs/locarchive.c (prepare_address_space): New function.
12970 (create_archive, enlarge_archive, open_archive): Use it.
12971
50604220
RM
12972 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12973 inside [SHARED], where it is used.
12974
c658d255
RM
12975 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12976
12977 * nss/getent.c (netgroup_keys): Remove unused variable.
12978 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12979
6a621eb7
UD
129802011-10-08 Ulrich Drepper <drepper@gmail.com>
12981
7edb55ce
UD
12982 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12983 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12984 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12985 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12986 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12987 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12988 * math/Makefile (libm-calls): Add s_isinf_ns.
12989 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12990 * math/multc3.c: Likewise.
12991 * math/s_casin.c: Likewise.
12992 * math/s_casinf.c: Likewise.
12993 * math/s_casinl.c: Likewise.
12994 * math/s_ccos.c: Likewise.
12995 * math/s_ccosf.c: Likewise.
12996 * math/s_ccosl.c: Likewise.
12997 * math/s_ctan.c: Likewise.
12998 * math/s_ctanf.c: Likewise.
12999 * math/s_ctanh.c: Likewise.
13000 * math/s_ctanhf.c: Likewise.
13001 * math/s_ctanhl.c: Likewise.
13002 * math/s_ctanl.c: Likewise.
13003 * math/w_fmod.c: Likewise.
13004 * math/w_fmodf.c: Likewise.
13005 * math/w_fmodl.c: Likewise.
13006 * math/w_remainder.c: Likewise.
13007 * math/w_remainderf.c: Likewise.
13008 * math/w_remainderl.c: Likewise.
13009 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
13010 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
13011 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
13012 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
13013 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
13014 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
13015 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
13016 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
13017
187da0ae
UD
13018 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
13019 of the number.
13020 * stdio-common/printf_fphex.c: Likewise.
13021 * stdio-common/printf_size.c: Likewise.
13022
9277c064
UD
13023 * math/e_exp10.c: Include math_private.h using <...> not "...".
13024 * math/e_exp10f.c: Likewise.
13025 * math/e_exp10l.c: Likewise.
13026 * math/e_exp2l.c: Likewise.
13027 * math/e_j0l.c: Likewise.
13028 * math/e_j1l.c: Likewise.
13029 * math/e_jnl.c: Likewise.
13030 * math/e_lgammal_r.c: Likewise.
13031 * math/e_rem_pio2l.c: Likewise.
13032 * math/e_scalb.c: Likewise.
13033 * math/e_scalbf.c: Likewise.
13034 * math/e_scalbl.c: Likewise.
13035 * math/k_cosl.c: Likewise.
13036 * math/k_sinl.c: Likewise.
13037 * math/k_tanl.c: Likewise.
13038 * math/s_cacoshf.c: Likewise.
13039 * math/s_catan.c: Likewise.
13040 * math/s_catanf.c: Likewise.
13041 * math/s_catanh.c: Likewise.
13042 * math/s_catanhf.c: Likewise.
13043 * math/s_catanhl.c: Likewise.
13044 * math/s_catanl.c: Likewise.
13045 * math/s_ccosh.c: Likewise.
13046 * math/s_ccoshf.c: Likewise.
13047 * math/s_ccoshl.c: Likewise.
13048 * math/s_cexp.c: Likewise.
13049 * math/s_cexpf.c: Likewise.
13050 * math/s_cexpl.c: Likewise.
13051 * math/s_clog.c: Likewise.
13052 * math/s_clog10.c: Likewise.
13053 * math/s_clog10f.c: Likewise.
13054 * math/s_clog10l.c: Likewise.
13055 * math/s_clogf.c: Likewise.
13056 * math/s_clogl.c: Likewise.
13057 * math/s_csin.c: Likewise.
13058 * math/s_csinf.c: Likewise.
13059 * math/s_csinh.c: Likewise.
13060 * math/s_csinhf.c: Likewise.
13061 * math/s_csinhl.c: Likewise.
13062 * math/s_csinl.c: Likewise.
13063 * math/s_csqrt.c: Likewise.
13064 * math/s_csqrtf.c: Likewise.
13065 * math/s_csqrtl.c: Likewise.
13066 * math/s_ctan.c: Likewise.
13067 * math/s_ctanf.c: Likewise.
13068 * math/s_ctanh.c: Likewise.
13069 * math/s_ctanhf.c: Likewise.
13070 * math/s_ctanhl.c: Likewise.
13071 * math/s_ctanl.c: Likewise.
13072 * math/s_ldexp.c: Likewise.
13073 * math/s_ldexpf.c: Likewise.
13074 * math/s_ldexpl.c: Likewise.
13075 * math/s_significand.c: Likewise.
13076 * math/s_significandf.c: Likewise.
13077 * math/s_significandl.c: Likewise.
13078 * math/w_acos.c: Likewise.
13079 * math/w_acosf.c: Likewise.
13080 * math/w_acosh.c: Likewise.
13081 * math/w_acoshf.c: Likewise.
13082 * math/w_acoshl.c: Likewise.
13083 * math/w_acosl.c: Likewise.
13084 * math/w_asin.c: Likewise.
13085 * math/w_asinf.c: Likewise.
13086 * math/w_asinl.c: Likewise.
13087 * math/w_atan2.c: Likewise.
13088 * math/w_atan2f.c: Likewise.
13089 * math/w_atan2l.c: Likewise.
13090 * math/w_atanh.c: Likewise.
13091 * math/w_atanhf.c: Likewise.
13092 * math/w_atanhl.c: Likewise.
13093 * math/w_cosh.c: Likewise.
13094 * math/w_coshf.c: Likewise.
13095 * math/w_coshl.c: Likewise.
13096 * math/w_dremf.c: Likewise.
13097 * math/w_exp10.c: Likewise.
13098 * math/w_exp10f.c: Likewise.
13099 * math/w_exp10l.c: Likewise.
13100 * math/w_exp2.c: Likewise.
13101 * math/w_exp2f.c: Likewise.
13102 * math/w_fmod.c: Likewise.
13103 * math/w_fmodf.c: Likewise.
13104 * math/w_fmodl.c: Likewise.
13105 * math/w_hypot.c: Likewise.
13106 * math/w_hypotf.c: Likewise.
13107 * math/w_hypotl.c: Likewise.
13108 * math/w_j0.c: Likewise.
13109 * math/w_j0f.c: Likewise.
13110 * math/w_j0l.c: Likewise.
13111 * math/w_j1.c: Likewise.
13112 * math/w_j1f.c: Likewise.
13113 * math/w_j1l.c: Likewise.
13114 * math/w_jn.c: Likewise.
13115 * math/w_jnf.c: Likewise.
13116 * math/w_jnl.c: Likewise.
13117 * math/w_lgamma.c: Likewise.
13118 * math/w_lgamma_r.c: Likewise.
13119 * math/w_lgammaf.c: Likewise.
13120 * math/w_lgammaf_r.c: Likewise.
13121 * math/w_lgammal.c: Likewise.
13122 * math/w_lgammal_r.c: Likewise.
13123 * math/w_log.c: Likewise.
13124 * math/w_log10.c: Likewise.
13125 * math/w_log10f.c: Likewise.
13126 * math/w_log10l.c: Likewise.
13127 * math/w_log2.c: Likewise.
13128 * math/w_log2f.c: Likewise.
13129 * math/w_log2l.c: Likewise.
13130 * math/w_logf.c: Likewise.
13131 * math/w_logl.c: Likewise.
13132 * math/w_pow.c: Likewise.
13133 * math/w_powf.c: Likewise.
13134 * math/w_powl.c: Likewise.
13135 * math/w_remainder.c: Likewise.
13136 * math/w_remainderf.c: Likewise.
13137 * math/w_remainderl.c: Likewise.
13138 * math/w_scalb.c: Likewise.
13139 * math/w_scalbf.c: Likewise.
13140 * math/w_scalbl.c: Likewise.
13141 * math/w_sinh.c: Likewise.
13142 * math/w_sinhf.c: Likewise.
13143 * math/w_sinhl.c: Likewise.
13144 * math/w_sqrt.c: Likewise.
13145 * math/w_sqrtf.c: Likewise.
13146 * math/w_sqrtl.c: Likewise.
13147 * math/w_tgamma.c: Likewise.
13148 * math/w_tgammaf.c: Likewise.
13149 * math/w_tgammal.c: Likewise.
13150
6a621eb7
UD
13151 * po/ja.po: Update from translation team.
13152
bf582445
AJ
131532011-09-29 Andreas Jaeger <aj@suse.de>
13154
f9efbf3a
AJ
13155 [BZ #13179]
13156 * sunrpc/netname.c (netname2host): Fix logic.
13157
bf582445
AJ
13158 [BZ #6779]
13159 [BZ #6783]
13160 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13161 correctly.
13162 * math/w_remainder.c (__remainder): Likewise.
13163 * math/w_remainderf.c (__remainderf): Likewise.
13164 * math/libm-test.inc (remainder_test): Add test cases.
13165
48693bea
AK
131662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13167
13168 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13169 sdiv_qrnnd.
13170
42622229
LD
131712011-10-07 Ulrich Drepper <drepper@gmail.com>
13172
13173 * string/test-memcmp.c: Avoid unncessary #defines.
13174 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13175
093ecf92
LD
131762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13177
13178 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13179 Use new sse2 version for core i3 - i7 as it's faster
13180 than sse42 version.
13181 (bit_Prefer_PMINUB_for_stringop): New.
13182 * sysdeps/x86_64/rawmemchr.S: Update.
13183 Replace with faster SSE2 version.
13184 * sysdeps/x86_64/memrchr.S: New file.
13185 * sysdeps/x86_64/memchr.S: Update.
13186 Replace with faster SSE2 version.
13187
fde56e5c
MP
131882011-09-12 Marek Polacek <mpolacek@redhat.com>
13189
13190 * elf/dl-load.c (lose): Add cast to avoid warning.
13191
21fd49a9
UD
131922011-10-07 Ulrich Drepper <drepper@gmail.com>
13193
5a06e643
UD
13194 * po/ca.po: Update from translation team.
13195
684ae515
UD
13196 * inet/getnetgrent_r.c: Hook up nscd.
13197 * nscd/Makefile (routines): Add nscd_netgroup.
13198 (nscd-modules): Add netgroupcache.
13199 (CFLAGS-netgroupcache.c): Define.
13200 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13201 (cache_search): Add const to second parameter.
13202 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13203 INNETGR.
13204 (dbs): Add netgrdb entry.
13205 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13206 (verify_persistent_db): Handle netgrdb.
13207 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13208 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13209 GETFDNETGR.
13210 (netgroup_response_header): Define.
13211 (innetgroup_response_header): Define.
13212 (datahead): Add netgroup_response_header and innetgroup_response_header
13213 elements.
13214 * nscd/nscd.conf: Add entries for netgroup cache.
13215 * nscd/nscd.h (dbtype): Add netgrdb.
13216 (_PATH_NSCD_NETGROUP_DB): Define.
13217 (netgroup_iov_disabled): Declare.
13218 (xmalloc, xcalloc, xrealloc): Move declarations here.
13219 (cache_search): Adjust prototype.
13220 Add netgroup-related prototypes.
13221 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13222 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13223 (__nscd_innetgr): Declare.
13224 * nscd/selinux.c (perms): Use access_vector_t as element type and
13225 add netgroup-related initializers.
13226 * nscd/netgroupcache.c: New file.
13227 * nscd/nscd_netgroup.c: New file.
13228 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13229 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13230 For four parameters use innetgr.
13231 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13232 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13233 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13234 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13235
21fd49a9
UD
13236 * nscd/connections.c (register_traced_file): Don't register file
13237 for disabled databases.
13238
054c0457
UD
132392011-10-06 Ulrich Drepper <drepper@gmail.com>
13240
32b63198
UD
13241 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13242
054c0457
UD
13243 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13244 from tree and freeing node.
13245
64031225
JO
132462011-09-25 Jiri Olsa <jolsa@redhat.com>
13247
13248 * nss/nsswitch.c (__nss_database_lookup): Handle
13249 nss_parse_service_list out of memory case.
13250
0490345c
JO
132512011-09-15 Jiri Olsa <jolsa@redhat.com>
13252
13253 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13254 out of memory case.
13255
3a62d00d
AS
132562011-10-04 Andreas Schwab <schwab@redhat.com>
13257
13258 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13259 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13260 pass it down.
13261 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13262 elf_machine_rela, elf_machine_lazy_rel.
13263 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13264 (ELF_DYNAMIC_DO_REL): Likewise.
13265 (ELF_DYNAMIC_DO_RELA): Likewise.
13266 (ELF_DYNAMIC_RELOCATE): Likewise.
13267 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13268 to ELF_DYNAMIC_DO_REL.
13269 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13270 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13271 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13272 elf_machine_rela.
13273 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13274 skip_ifunc, don't call ifunc function if non-zero.
13275 (elf_machine_rela): Likewise.
13276 (elf_machine_lazy_rel): Likewise.
13277 (elf_machine_lazy_rela): Likewise.
13278 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13279 (elf_machine_lazy_rel): Likewise.
13280 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13281 Likewise.
13282 (elf_machine_lazy_rel): Likewise.
13283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13284 Likewise.
13285 (elf_machine_lazy_rel): Likewise.
13286 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13287 (elf_machine_lazy_rel): Likewise.
13288 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13289 (elf_machine_lazy_rel): Likewise.
13290 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13291 (elf_machine_lazy_rel): Likewise.
13292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13293 (elf_machine_lazy_rel): Likewise.
13294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13295 (elf_machine_lazy_rel): Likewise.
13296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13297 (elf_machine_lazy_rel): Likewise.
13298
68577918
UD
132992011-09-28 Ulrich Drepper <drepper@gmail.com>
13300
13301 * nss/nss_files/files-init.c (_nss_files_init): Use static
13302 initialization for all the *_traced_file variables.
13303
68822d74
AS
133042011-09-28 Andreas Schwab <schwab@redhat.com>
13305
13306 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13307
2056100b
RM
133082011-09-27 Roland McGrath <roland@hack.frob.com>
13309
13310 [BZ #13226]
13311 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13312
32c76b63
AS
133132011-09-27 Andreas Schwab <schwab@redhat.com>
13314
13315 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13316 Reread the line before reparsing it.
13317
bf972c9d
AS
133182011-09-26 Andreas Schwab <schwab@redhat.com>
13319
13320 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13321
e057a1b5
JM
133222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13323 Maxim Kuvyrkov <maxim@codesourcery.com>
13324 Joseph Myers <joseph@codesourcery.com>
13325
13326 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13327 if needed for __stack_chk_guard.
13328
bc7e1c36
RM
133292011-09-19 Roland McGrath <roland@hack.frob.com>
13330
ecb1482f
RM
13331 * sysdeps/posix/spawni.c (script_execute): Always define it.
13332 It will be optimized away if unused.
13333 (maybe_script_execute): New function.
13334 (__spawni): Call it.
13335
bc7e1c36
RM
13336 * Makerules: Don't include tls.make.
13337 (config-tls): Always set to thread.
13338 * tls.make.c: File removed.
13339
1c3b002b
MF
133402011-09-19 Mike Frysinger <vapier@gentoo.org>
13341
13342 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13343 * config.make.in (CPPFLAGS-config): New substituted variable.
13344
2840865d
UD
133452011-09-15 Ulrich Drepper <drepper@gmail.com>
13346
88738eb6
UD
13347 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13348
cbf645a6 13349 [BZ #13192]
2840865d
UD
13350 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13351 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13352
b402e91a
RM
133532011-09-15 Roland McGrath <roland@hack.frob.com>
13354
13355 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13356 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13357 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13358 (CALL_FAIL): Likewise.
13359 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13360 (CALL_FAIL): Macro removed.
13361 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13362
4c1a1f71
UD
133632011-09-15 Ulrich Drepper <drepper@gmail.com>
13364
13365 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13366 for __FINITE_MATH_ONLY__ == 1.
13367
edc121be
AS
133682011-09-15 Andreas Schwab <schwab@redhat.com>
13369
13370 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13371 __ieee754_sqrt instead of sqrt.
13372 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13373 __ieee754_sqrtf instead of sqrtf.
13374 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13375 __floorf instead of floorf.
13376 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13377 __floorf, __truncf instead of floorf, truncf.
13378
cd205654
UD
133792011-09-14 Ulrich Drepper <drepper@gmail.com>
13380
ee4d0315
UD
13381 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13382
cd205654
UD
13383 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13384 __extern_always_inline.
13385 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13386 32-bit.
13387
48b67d71
AS
133882011-09-14 Andreas Schwab <schwab@redhat.com>
13389
13390 * elf/rtld.c (dl_main): Also relocate in dependency order when
13391 doing symbol dependency testing.
13392
1ae12c75
AS
133932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13394
13395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13396 Always define `refsym'.
13397
995a80df
AS
133982011-09-13 Andreas Schwab <schwab@redhat.com>
13399
e529793b
AS
13400 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13401 (__FD_ELT): Renamed from __FDELT.
13402 * misc/bits/select2.h (__FD_ELT): Likewise.
13403 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13404 __FD_MASK instead of __FDELT, __FDMASK.
13405 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13406 Likewise.
13407 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13408 Likewise.
13409
52d4fef8
AS
13410 * elf/Makefile (gen-ldd): Fix pattern.
13411
995a80df
AS
13412 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13413 (init_tls): Likewise.
13414
8682f8b0
UD
134152011-09-12 Ulrich Drepper <drepper@gmail.com>
13416
13417 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13418
de82006d
AS
134192011-09-12 Andreas Schwab <schwab@redhat.com>
13420
a7c8e6a1
AS
13421 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13422 `struct cmsghdr *' instead of `void *'.
13423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13424 Likewise.
13425
0f31fe77
AS
134262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13427
13428 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13429 if non-absolute.
13430 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13431 ldd_rewrite_script.
0f31fe77 13432
32b4c839
UD
134332011-09-11 Ulrich Drepper <drepper@gmail.com>
13434
83cd1420
UD
13435 * configure.in: Remove --with-tls option.
13436 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13437 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13438 out in case it is missing.
13439 * sysdeps/ia64/elf/configure.in: Likewise.
13440 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13441 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13442 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13443 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13444 * sysdeps/sh/elf/configure.in: Likewise.
13445 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13446 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13447 * sysdeps/x86_64/elf/configure.in: Likewise.
13448 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13449 * sysdeps/mach/hurd/tls.h: Likewise.
13450
633f745d
UD
13451 [BZ #13067]
13452 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13453
f318beb8
UD
13454 [BZ #13090]
13455 * configure.in: Fix use of AC_INIT.
13456
32b4c839
UD
13457 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13458
3ce1f295
UD
134592011-09-10 Ulrich Drepper <drepper@gmail.com>
13460
bb016596
UD
13461 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13462 __set_errno.
8e58439c
UD
13463 * malloc/hooks.c: Likewise.
13464
aebae053 13465 [BZ #11929]
02d46fc4
UD
13466 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13467 variables statically.
13468 (narenas): Initialize.
13469 (list_lock): Initialize.
bb016596
UD
13470 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13471 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13472 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13473 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13474 Add initializers to main_arena and mp_.
13475 (malloc_state): Remove pagesize member. Change all users to use
13476 GLRO(dl_pagesize).
13477
13478 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13479 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13480 is always initialized.
13481
22a89187
UD
13482 * malloc/malloc.c: Removed unused configurations and dead code.
13483 * malloc/arena.c: Likewise.
13484 * malloc/hooks.c: Likewise.
02d46fc4 13485 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13486
d063d164
UD
13487 * include/tls.h: Removed. USE___THREAD must always be defined.
13488 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13489 * elf/dl-libc.c: Likewise.
13490 * elf/dl-tsd.c: Likewise.
13491 * include/errno.h: Likewise.
13492 * include/netdb.h: Likewise.
13493 * include/resolv.h: Likewise.
13494 * inet/herrno-loc.c: Likewise.
13495 * inet/herrno.c: Likewise.
13496 * malloc/arena.c: Likewise.
13497 * malloc/hooks.c: Likewise.
13498 * malloc/malloc.c: Likewise.
13499 * resolv/res-state.c: Likewise.
13500 * resolv/res_libc.c: Likewise.
13501 * sysdeps/i386/dl-machine.h: Likewise.
13502 * sysdeps/ia64/dl-machine.h: Likewise.
13503 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13504 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13505 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13506 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13507 * sysdeps/sh/dl-machine.h: Likewise.
13508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13509 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13510 * sysdeps/unix/i386/sysdep.S: Likewise.
13511 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13512 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13513 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13516 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13517 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13521 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13522 * sysdeps/x86_64/dl-machine.h: Likewise.
13523 * tls.make.c: Likewise.
13524
3ce1f295
UD
13525 * configure.in: Remove --with-__thread option. Make tests for
13526 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13527 tls_model attribute fail if no support is available. Remove
13528 USE_IN_LIBIO.
13529 * Makeconfig: Adjust for dropped configure option. All features are
13530 now mandatory.
13531 * Makerules: Likewise.
13532 * Versions.def: Likewise.
13533 * argp/argp-fmtstream.c: Likewise.
13534 * argp/argp-fmtstream.h: Likewise.
13535 * argp/argp-help.c: Likewise.
13536 * assert/assert.c: Likewise.
13537 * config.h.in: Likewise.
13538 * config.make.in: Likewise.
13539 * configure: Likewise.
13540 * configure.in: Likewise.
13541 * csu/Versions: Likewise.
13542 * csu/init.c: Likewise.
13543 * elf/tst-audit2.c: Likewise.
13544 * elf/tst-tls10.c: Likewise.
13545 * elf/tst-tls10.h: Likewise.
13546 * elf/tst-tls11.c: Likewise.
13547 * elf/tst-tls12.c: Likewise.
13548 * elf/tst-tls14.c: Likewise.
13549 * elf/tst-tlsmod11.c: Likewise.
13550 * elf/tst-tlsmod12.c: Likewise.
13551 * elf/tst-tlsmod13.c: Likewise.
13552 * elf/tst-tlsmod13a.c: Likewise.
13553 * elf/tst-tlsmod14a.c: Likewise.
13554 * elf/tst-tlsmod15b.c: Likewise.
13555 * elf/tst-tlsmod16a.c: Likewise.
13556 * elf/tst-tlsmod16b.c: Likewise.
13557 * elf/tst-tlsmod7.c: Likewise.
13558 * elf/tst-tlsmod8.c: Likewise.
13559 * elf/tst-tlsmod9.c: Likewise.
13560 * gmon/gmon.c: Likewise.
13561 * grp/fgetgrent_r.c: Likewise.
13562 * grp/putgrent.c: Likewise.
13563 * hurd/fopenport.c: Likewise.
13564 * include/libc-symbols.h: Likewise.
13565 * include/tls.h: Likewise.
13566 * intl/gettextP.h: Likewise.
13567 * intl/loadinfo.h: Likewise.
13568 * locale/global-locale.c: Likewise.
13569 * locale/localeinfo.h: Likewise.
13570 * mach/devstream.c: Likewise.
13571 * malloc/arena.c: Likewise.
13572 * malloc/set-freeres.c: Likewise.
13573 * misc/err.c: Likewise.
13574 * misc/getttyent.c: Likewise.
13575 * misc/mntent_r.c: Likewise.
13576 * posix/getopt.c: Likewise.
13577 * posix/wordexp.c: Likewise.
13578 * pwd/fgetpwent_r.c: Likewise.
13579 * resolv/Versions: Likewise.
13580 * resolv/res_hconf.c: Likewise.
13581 * shadow/fgetspent_r.c: Likewise.
13582 * shadow/putspent.c: Likewise.
13583 * stdio-common/printf_fphex.c: Likewise.
13584 * stdio-common/tmpfile.c: Likewise.
13585 * stdlib/abort.c: Likewise.
13586 * stdlib/fmtmsg.c: Likewise.
13587 * sunrpc/auth_unix.c: Likewise.
13588 * sunrpc/clnt_perr.c: Likewise.
13589 * sunrpc/clnt_tcp.c: Likewise.
13590 * sunrpc/clnt_udp.c: Likewise.
13591 * sunrpc/clnt_unix.c: Likewise.
13592 * sunrpc/openchild.c: Likewise.
13593 * sunrpc/svc_simple.c: Likewise.
13594 * sunrpc/svc_tcp.c: Likewise.
13595 * sunrpc/svc_udp.c: Likewise.
13596 * sunrpc/svc_unix.c: Likewise.
13597 * sunrpc/xdr.c: Likewise.
13598 * sunrpc/xdr_array.c: Likewise.
13599 * sunrpc/xdr_rec.c: Likewise.
13600 * sunrpc/xdr_ref.c: Likewise.
13601 * sunrpc/xdr_stdio.c: Likewise.
13602
1248c1c4
PB
136032011-09-09 Ulrich Drepper <drepper@gmail.com>
13604
13605 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13606
136072011-07-03 Andreas Jaeger <aj@suse.de>
13608
13609 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13610 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13611 regenerate with gen-libm-tests.pl.
13612
136132010-05-12 Petr Baudis <pasky@suse.cz>
13614
13615 [BZ #11589]
13616 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13617 around j0() zero points by switching to j1().
13618 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13619 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13621 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13622
f22e1074
UD
136232011-09-09 Ulrich Drepper <drepper@gmail.com>
13624
f19009c1
UD
13625 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13626 instead of 0.
13627 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13628 instead of 0. .
13629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13630 Patch in part by Pavel Roskin <proski@gnu.org>.
13631
3f8cc204
UD
13632 [BZ #13138]
13633 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13634 realloc.
13635 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13636 Free memory block if necessary.
13637
f22e1074
UD
13638 [BZ #12847]
13639 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13640 be NULL. Don't lock in this case.
13641
0a2349f9
RM
136422011-09-09 Roland McGrath <roland@hack.frob.com>
13643
13644 * elf/elf.h (ELFOSABI_GNU): New macro.
13645 (ELFOSABI_LINUX): Define to that.
13646
f3cdd467
DZ
136472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13648
13649 * string/strncat.c (strncat): Undef the symbol in case it has been
13650 defined in bits/string.h.
13651
74718d13
UD
136522011-09-09 Ulrich Drepper <drepper@gmail.com>
13653
633e9e0f
UD
13654 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13655
0a2349f9 13656 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13657 link map.
13658
f9924780
AJ
136592011-08-17 Andreas Jaeger <aj@suse.de>
13660
13661 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13662
7f5517aa
PP
136632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13664 Ian Lance Taylor <iant@google.com>
13665
13666 * math/libm-test.inc (lround_test): New testcase.
13667 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13668
762011fe
UD
136692011-09-08 Ulrich Drepper <drepper@gmail.com>
13670
92963737
UD
13671 * Makefile: Remove support for automatic cvs check-ins.
13672 * Makerules: Likewise.
13673 * config.make.in: Likewise.
13674 * configure.in: Likewise.
13675 * intl/Makefile: Likewise.
13676 * locale/Makefile: Likewise.
13677 * po/Makefile: Likewise.
13678 * posix/Makefile: Likewise.
13679 * sysdeps/gnu/Makefile: Likewise.
13680 * sysdeps/mach/hurd/Makefile: Likewise.
13681 * sysdeps/sparc/sparc32/Makefile: Likewise.
13682
b0727fd8
JS
13683 [BZ #13118]
13684 * posix/Makefile (bug-regex32-ENV): Define.
13685 Patch by John Stanley <jpsinthemix@verizon.net>.
13686
a0f33f99
UD
13687 * misc/Makefile (headers): Add bits/select2.h.
13688 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13689 * misc/bits/select2.h: New file.
13690 * include/bits/select2.h: New file.
13691 * debug/Makefile (routines): Add fdelt_chk.
13692 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13693 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13694 FD_ISSET.
13695 * debug/fdelt_chk.c: New file.
13696
762011fe
UD
13697 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13698 * wcsmbs/test-wmemcmp.c: Likewise.
13699 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13700 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13701
137022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13703
13704 * string/Makefile (strop-tests): Add memcmp.
13705 * string/test-wmemcmp.c: New file.
13706 * string/test-memcmp.c: Add wmemcmp support.
13707
7f513ec8
RM
137082011-09-08 Roland McGrath <roland@hack.frob.com>
13709
0442afb4
RM
13710 [BZ #13153]
13711 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13712 2011-07-19 change.
13713
7f513ec8
RM
13714 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13715 garbage value in a __mach_port_mod_refs call in the cases of the
13716 task-self and thread-self ports.
13717
a12b2239
ST
137182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13719
13720 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13721
610f9ab4
AS
137222011-09-08 Andreas Schwab <schwab@redhat.com>
13723
7f513ec8 13724 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13725
48882a1a
LD
137262011-09-07 Ulrich Drepper <drepper@gmail.com>
13727
b49865be
UD
13728 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13729
fdc86bc9
UD
13730 * elf/dl-libc.c (dlerror_run): Pass back error code from
13731 dl_catch_error.
13732
c966526a
UD
13733 [BZ #13123]
13734 * elf/dl-load.c (lose): Free l_origin if it is valid.
13735
48882a1a
LD
13736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13737 names.
13738 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13741 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13742 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13743 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13744
77a2a8b4
AZ
137452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13746
13747 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13748 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13749 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13750 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13751 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13752 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13753 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13754 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13755 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13756 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13757
24f579d8
AM
137582011-08-15 Alan Modra <amodra@gmail.com>
13759
13760 [BZ #13092]
13761 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13762 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13763 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13764 ppc_mcount to static-only-routines.
13765 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13766 __mcount_internal.
13767 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13768 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13769
3d4837df
UD
137702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13771
13772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13773 for finite and infinity parameters.
13774
22700377
WS
137752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13776
13777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13778 and add nop instructions for throughput optimization.
13779 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13780
5025581e
WS
137812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13782
13783 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13784 aligned copy for power7 with vector-scalar instructions.
13785 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13786
08a300c9
L
137872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13788
13789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13790 AVX check.
13791
59178ef9
AS
137922011-09-07 Andreas Schwab <schwab@redhat.com>
13793
13794 [BZ #13144]
13795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13796 last change.
13797
e38ba7ab
UD
137982011-09-07 Ulrich Drepper <drepper@gmail.com>
13799
13800 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13801 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13802 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13803 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13804 clock_gettime.
13805
d53a73ac
UD
138062011-09-06 Ulrich Drepper <drepper@gmail.com>
13807
fc8bffcc
UD
13808 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13809 Forgot to demangle the pointer.
13810
ceaa0c5d
UD
13811 * sysdeps/i386/sysdep.h: Define atom_text_section.
13812 * sysdeps/x86_64/sysdep.h: Likewise.
13813 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13814 section with atom_text_section.
13815 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13817 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13819 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13820
a77d3c17
UD
13821 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13822 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13823 already be defined. Change to take two parameters and don't assign
13824 result to variable. Adjust all users.
13825 Define INTERNAL_GETTIME if not already defined.
13826 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13827 call.
13828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13829 HAVE_CLOCK_GETTIME_VSYSCALL.
13830 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13831
d53a73ac
UD
13832 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13833 gettimeofday vsyscall, just use time.
13834
a8f84144
AS
138352011-09-06 Andreas Schwab <schwab@redhat.com>
13836
13837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13838 <errno.h>.
13839
ef606249
UD
138402011-09-06 Ulrich Drepper <drepper@gmail.com>
13841
13842 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13843 syscall on x86-64.
13844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13845 syscall.
13846 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13847 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13848 syscall if possible.
13849
6585cb60
UD
138502011-09-05 Ulrich Drepper <drepper@gmail.com>
13851
13852 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13853 e_ident. Don't pass to find_mapsXX.
13854 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13855
a5f524e4
LD
138562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13857
13858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13859 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13860 * sysdeps/x86_64/multiarch/strchr.S: Update.
13861 Check bit_slow_BSF bit.
13862 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13863 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13864 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13865
554881ef
UD
138662011-09-05 Ulrich Drepper <drepper@gmail.com>
13867
d96de963
UD
13868 [BZ #13134]
13869 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13870 before glibc 2.15.
13871 (tryshell): Define.
13872 (__spawni): Change last parameter to be flag. Test
13873 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13874 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13875 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13876 * posix/spawni.c: Likewise.
13877 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13878 * posix/spawnp.c: Likewise. Change normal version to use
13879 SPAWN_XFLAGS_USE_PATH.
13880 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13881 SPAWN_XFLAGS_TRY_SHELL.
13882
d48e5868
UD
13883 [BZ #13150]
13884 * posix/glob.h: Remove gcc 1.x support.
13885
554881ef
UD
13886 [BZ #13068]
13887 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13888
693fb948
LD
138892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13890
13891 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13892 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13893 strrchr-sse2-bsf
13894 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13895 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13897 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13898 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13899 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13900
1b48c537
UD
139012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13902
49d42c37
UD
13903 * sysdeps/x86_64/wcscmp.S: New file.
13904
1b48c537
UD
13905 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13906 wcscmp-c wcscmp-sse2
13907 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13908 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13909 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13910 * wcsmbs/wcscmp.c: Allow renaming.
13911
15c95c5d
DM
139122011-09-05 David S. Miller <davem@davemloft.net>
13913
13914 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13915 stack slot, rather than the struct return pointer slot.
13916 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13917 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13919 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13920
2f0ad8f3
UD
139212011-09-05 Ulrich Drepper <drepper@gmail.com>
13922
d88ae418
UD
13923 * po/ja.po: Update from translation team.
13924
2f0ad8f3
UD
13925 [BZ #13144]
13926 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13927 kernel in 64-bit binaries.
13928
5f4318d1
DM
139292011-09-01 David S. Miller <davem@davemloft.net>
13930
13931 * elf/elf.h (HWCAP_SPARC_*): Move to..
13932 * sysdeps/sparc/sysdep.h: this new file and add new values.
13933 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13934 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13935 _DL_HWCAP_COUNT to 24.
13936 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13937 entries.
13938 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13939 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13940 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13941 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13942 instead of magic constants.
13943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13944
3ba57516
DM
139452011-08-31 David S. Miller <davem@davemloft.net>
13946
13947 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13948 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13949 Reimplement to do errno handling inline.
13950 (SYSCALL_ERROR_HANDLER): New macro.
13951 (__SYSCALL_STRING): Do not do errno handling in asm.
13952 (__CLONE_SYSCALL_STRING): Delete.
13953 (__INTERNAL_SYSCALL_STRING): Delete.
13954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13955 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13956 (PSEUDO): Reimplement to do errno handling inline.
13957 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13958 (SYSCALL_ERROR_HANDLER): New macro.
13959 (__SYSCALL_STRING): Do not do errno handling in asm.
13960 (__CLONE_SYSCALL_STRING): Delete.
13961 (__INTERNAL_SYSCALL_STRING): Delete.
13962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13963 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13964 i386.
13965 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13966 (inline_syscall*): Add 'err' argument.
13967 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13968 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13969 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13970 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13971
13972 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13973 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13974
2bc17433
AS
139752011-08-30 Andreas Schwab <schwab@redhat.com>
13976
13977 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13978
fbeb5f4d
JO
139792011-08-29 Jiri Olsa <jolsa@redhat.com>
13980
13981 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13982 directive.
13983
ad69cc26
DM
139842011-08-24 David S. Miller <davem@davemloft.net>
13985
13986 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13987
39dd69df
AS
139882011-08-24 Andreas Schwab <schwab@redhat.com>
13989
13990 * elf/Makefile: Add rules to build and run unload8 test.
13991 * elf/unload8.c: New file.
13992 * elf/unload8mod1.c: New file.
13993 * elf/unload8mod1x.c: New file.
13994 * elf/unload8mod2.c: New file.
13995 * elf/unload8mod3.c: New file.
13996
13997 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13998 it wasn't used.
13999
2c0b250a
DM
140002011-08-23 David S. Miller <davem@davemloft.net>
14001
14002 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
14003 subtract stack bias.
14004 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
14005 %sp not %fp in calculations.
14006 (_JMPBUF_UNWINDS_ADJ): Likewise.
14007
22044b48
DM
14008 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
14009 (aio_suspend): Call it to force an exception region around the
14010 AIO_MISC_WAIT() invocation.
14011
2cae4995
AS
140122011-08-23 Andreas Schwab <schwab@redhat.com>
14013
14014 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
14015 backslash.
14016
873a772e
AJ
140172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
14018
14019 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
14020 protection macro.
14021 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
14022 and <dl-machine.h>.
14023 (Elf64_FuncDesc): Remove.
14024
25ad0df1
DM
140252011-08-22 David S. Miller <davem@davemloft.net>
14026
14027 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
14028 sigaltstack check, add missing cfi directives.
14029 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
14030 missing cfi directives, and sigaltstack handling.
14031
e888bcbe
AS
140322011-08-16 Andreas Schwab <schwab@redhat.com>
14033
14034 [BZ #11724]
14035 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14036 object is seen twice.
14037 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14038
14039 * elf/Makefile (distribute): Add tst-initorder2.c.
14040 (tests): Add tst-initorder2.
14041 (modules-names): Add tst-initorder2a tst-initorder2b
14042 tst-initorder2c tst-initorder2d. Add rules to build them.
14043 ($(objpfx)tst-initorder2.out): New rule.
14044 * elf/tst-initorder2.c: New file.
14045 * elf/tst-initorder2.exp: New file.
14046
87162f46
AS
140472011-08-22 Andreas Schwab <schwab@redhat.com>
14048
70538b7f
AS
14049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14050
f55ffe58
AS
14051 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14052 dependencies back to end of function.
14053
87162f46
AS
14054 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14055 $(elfobjdir)/ld.so.
14056
91b392a4
UD
140572011-08-21 Ulrich Drepper <drepper@gmail.com>
14058
14059 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14060 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14061 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14062 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14063 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14064 of __vdso_gettimeofday.
14065 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14066 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14067 attribute_hidden.
14068 (_libc_vdso_platform_setup): Remove initialization of
14069 __vdso_gettimeofday and __vdso_time.
14070
5c43483f
UD
140712011-08-20 Ulrich Drepper <drepper@gmail.com>
14072
775a77e7
UD
14073 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14074 and fgetc_unlocked.
14075 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14076 getc_unlocked.
89f447ed 14077
49c74ba9
UD
14078 * elf/dl-open.c (add_to_global): Report additions to the global scope
14079 for LD_DEBUG=scopes.
14080 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14081 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14082
5c43483f
UD
14083 [BZ #13114]
14084 * stdio-common/Makefile (tests): Add bug24.
14085 * stdio-common/bug24.c: New file.
14086
a101b025
AJ
140872011-08-19 Andreas Jaeger <aj@suse.de>
14088
14089 [BZ #13114]
14090 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14091 non-existant file when using close-on-exec mode.
14092
c88f1766
UD
140932011-08-20 Ulrich Drepper <drepper@gmail.com>
14094
0276a718
UD
14095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14096 the very first instruction.
14097
c88f1766
UD
14098 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14099 the CFI state in the end.
14100 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14101 inclusion of dl-trampoline.h.
14102 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14103
51ccffa0
AS
141042011-08-19 Andreas Schwab <schwab@redhat.com>
14105
94d7165f
AS
14106 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14107 expectations for long double.
14108
51ccffa0
AS
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14110 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14111
fd708658 141122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14113
14114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14115 artificual limit depends upon the system page size.
14116
44f0a71e
UD
141172011-08-17 Ulrich Drepper <drepper@gmail.com>
14118
14119 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14120 * resolv/Makefile: Define CFLAGS-libresolv.
14121
8de79a24
AS
141222011-08-17 Andreas Schwab <schwab@redhat.com>
14123
14124 * nss/makedb.c (compute_tables): Make variables used in nested
14125 function static.
14126
27724598
UD
141272011-08-17 Ulrich Drepper <drepper@gmail.com>
14128
c5305d88
UD
14129 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14130 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14131 if buffer was too small.
14132
27724598
UD
14133 * elf/pldd.c (main): Attach to all threads in the process.
14134 Rewrite /proc handling to use *at functions.
14135
076fe015
UD
141362011-08-16 Ulrich Drepper <drepper@gmail.com>
14137
174baab3
UD
14138 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14139 specifies first scope to show.
14140 (dl_open_worker): Update callers. Move printing scope of new
14141 object to before the relocation.
44f0a71e 14142 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14143 * sysdeps/generic/ldsodefs.h: Update declaration.
14144
076fe015
UD
14145 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14146 string for the scope number.
14147
a60df2c3
UD
141482011-08-14 Ulrich Drepper <drepper@gmail.com>
14149
14150 * nscd/servicescache.c (cache_addserv): Make sure written is always
14151 initialized.
14152
5e4287d1
RM
141532011-08-14 Roland McGrath <roland@hack.frob.com>
14154
85ae0589
RM
14155 * sysdeps/i386/i486/bits/atomic.h
14156 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14157 statement expression, so as to suppress "set but not used" warning.
14158 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14159
69f63097
RM
14160 * string/strncat.c (STRNCAT): Use prototype definition.
14161
675456ef
RM
14162 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14163 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14164 -Iprograms here.
14165 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14166 (localedef-modules): Add localedef.
14167 (locale-modules): Add locale.
14168
5e4287d1
RM
14169 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14170 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14171 to avoid a warning.
14172
9c96ff23
DM
141732011-08-14 David S. Miller <davem@davemloft.net>
14174
14175 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14176 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14177
f9ddf089
UD
141782011-08-13 Ulrich Drepper <drepper@gmail.com>
14179
44f0a71e 14180 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14181 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14182 * elf/rtld.c (dl_main): Set l_name of vDSO.
14183 Call _dl_show_scope when DL_DEBUG_SCOPES.
14184 (process_dl_debug): Recognize scopes flag and also set it for all.
14185 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14186 Declare _dl_show_scope.
14187
1dc27704
UD
14188 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14189 (do_dlopen): Pass caller_dlopen to dl_open.
14190 (__libc_dlopen_mode): Initialize caller_dlopen.
14191
f9ddf089
UD
14192 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14193 of libc. Make tolower call locale-independent. Optimize a bit by
14194 using isdigit instead of isalnum.
14195 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14196
9ac533d3
UD
141972011-08-12 Ulrich Drepper <drepper@gmail.com>
14198
14199 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14200 was a dependency or dynamically loaded.
14201
89edf2e9
UD
142022011-08-11 Ulrich Drepper <drepper@gmail.com>
14203
8e999d29
UD
14204 * intl/l10nflist.c: Allow architecture-specific pop function.
14205 * sysdeps/x86_64/l10nflist.c: New file.
14206
89edf2e9
UD
14207 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14208 classification.
14209
14d96785
AS
142102011-08-10 Andreas Schwab <schwab@redhat.com>
14211
14212 * include/dirent.h: Add libc_hidden_proto for scandirat and
14213 scandirat64. Don't declare __scandirat64.
14214 * dirent/scandirat.c: Add libc_hidden_def.
14215 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14216 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14217
6761ac04
DM
142182011-08-10 David S. Miller <davem@davemloft.net>
14219
14220 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14221 enum.
14222 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14223 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14224 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14225
c55fbd1e
UD
142262011-08-09 Ulrich Drepper <drepper@gmail.com>
14227
14228 * Versions.def [libc]: Add GLIBC_2.15.
14229 * dirent/Makefile (routines): Add scandirat and scandirat64.
14230 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14231 GLIBC_2.15.
14232 * dirent/dirent.h: Declare scandirat and scandirat64.
14233 * dirent/scandirat.c: New file.
14234 * dirent/scandirat64.c: New file.
14235 * sysdeps/wordsize-64/scandirat.c: New file.
14236 * sysdeps/wordsize-64/scandirat64.c: New file.
14237 * dirent/opendir.c: Define opendirat.
14238 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14239 using scandirat.
14240 * dirent/scandir64.c: Adjust for scandir.c change.
14241 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14242 __scandirat64, and __scandir_cancel_handler.
14243 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14244 additional parameter and use openat instead of open (outside of ld.so).
14245 Add new __opendir as wrapper around __opendirat.
14246 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14247 here without requiring old scandirat implementation.
14248
879165f2
UD
142492011-08-08 Ulrich Drepper <drepper@gmail.com>
14250
14251 * dirent/scandir.c (cancel_handler): Renamed to
14252 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14253 defined. Adjust users.
14254 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14255 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14256
cb7e923b
UD
142572011-08-04 Ulrich Drepper <drepper@gmail.com>
14258
16292edd
UD
14259 * string/test-string.h (IMPL): Use __STRING to expand name and then
14260 stringify it.
14261
cb7e923b
UD
14262 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14263 of cleanups.
14264
cff82933
LD
142652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14266
14267 * string/Makefile: Update.
14268 (strop-tests): Append strncat.
14269 * string/test-wcscmp.c: New file.
14270 New comprehensive test for wcscmp.
14271 * string/test-strcmp.c: Update.
14272 (WIDE): New define.
14273
9be9bfcc
AS
142742011-07-22 Andreas Schwab <schwab@redhat.com>
14275
14276 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14277 line.
14278
2e96f1c7
AS
142792011-07-26 Andreas Schwab <schwab@redhat.com>
14280
14281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14282 encoding to ACE if AI_IDN.
14283
85188888
JJ
142842011-08-01 Jakub Jelinek <jakub@redhat.com>
14285
14286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14287 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14288
5fa16e9b
LD
142892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14290
14291 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14292 Fix overflow bug in strncat.
14293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14294
14295 * string/test-strncat.c: Update.
14296 Add new tests for checking overflow bugs.
14297
142982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14299
14300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14301 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14302 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14303 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14305 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14306 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14307 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14308 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14309
14310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14311 (USE_AS_STRCAT): Define.
14312 Add strcat and strncat support.
14313 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14314
8c1a459f
AS
143152011-07-25 Andreas Schwab <schwab@redhat.com>
14316
14317 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14318 __n bigger than INT_MAX+1.
14319 (__strncmp_g): Likewise.
14320
bba33c28
UD
143212011-07-23 Ulrich Drepper <drepper@gmail.com>
14322
798be72d
UD
14323 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14324 * libio/stido.h: Likewise.
14325
8accd4dc
UD
14326 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14327 (AF_NFC): Define.
14328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14329 (AF_NFC): Define.
14330
cbff0d96
UD
14331 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14334 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14336
9191c04a
UD
14337 [BZ #13021]
14338 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14339 installed.
14340
bba33c28
UD
14341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14342 typo.
14343 (_dl_x86_64_save_sse): Likewise.
14344
90f139dd
UD
143452011-07-22 Ulrich Drepper <drepper@gmail.com>
14346
1aae088a
UD
14347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14348 OSXSAVE.
14349 (_dl_x86_64_save_sse): Likewise.
14350
8e2045f5
UD
14351 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14352
90f139dd
UD
14353 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14354
1d002f25
AS
143552011-07-21 Andreas Schwab <schwab@redhat.com>
14356
14357 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14358 change.
14359 (_dl_x86_64_save_sse): Use correct AVX check.
14360
21137f89
UD
143612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14362
14363 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14364 bug in strncpy/strncat.
14365 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14366
a65c0b7a
UD
143672011-07-21 Ulrich Drepper <drepper@gmail.com>
14368
14369 * string/tester.c (test_strcat): Add tests for different alignments
14370 of source and destination.
14371 (test_strncat): Likewise.
14372
6986b98a
UD
143732011-07-20 Ulrich Drepper <drepper@gmail.com>
14374
90bb2039
UD
14375 [BZ #12852]
14376 * posix/glob.c (glob): Check passed in values before using them in
14377 expressions to avoid some overflows.
14378 (glob_in_dir): Likewise.
14379
5644ef54
UD
14380 [BZ #13007]
14381 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14382 check for AVX enablement so that we don't crash with old kernels and
14383 new hardware.
14384 * elf/tst-audit4.c: Add same checks here.
14385 * elf/tst-audit6.c: Likewise.
14386
14387 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14388
bfc9dc9b
AS
143892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14390
14391 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14392
702e64bb
UD
143932011-07-20 Ulrich Drepper <drepper@gmail.com>
14394
14395 * po/cs.po: Update from translation team.
14396 * po/bg.po: Likewise.
14397
295e904f
MP
143982011-07-12 Marek Polacek <mpolacek@redhat.com>
14399
14400 * misc/sys/cdefs.h: Add support for const attribute.
14401 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14402 to gnu_dev_{major,minor,makedev} functions.
14403
3ff94596
MP
144042011-07-20 Marek Polacek <mpolacek@redhat.com>
14405
14406 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14407
28b59fca
AS
144082011-07-20 Andreas Schwab <schwab@redhat.com>
14409
14410 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14411 strlen results.
14412
19df733e
AK
144132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14414
14415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14416 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14417 register in order to avoid conflicts with the soft frame pointer
14418 being held in r11 when necessary.
14419 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14420 (INTERNAL_VSYSCALL_NCS): Likewise.
14421
c8835729
MP
144222011-07-14 Marek Polacek <mpolacek@redhat.com>
14423
14424 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14425 * elf/dl-fini.c (_dl_fini): Adjust caller.
14426 * elf/dl-close.c (_dl_close_worker): Likewise.
14427 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14428
b902330c
MP
144292011-07-15 Marek Polacek <mpolacek@redhat.com>
14430
8991e135
MP
14431 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14432 "aux_cache->nlibs < 0".
14433
b902330c
MP
14434 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14435 in the reload-count case.
14436
99710781
LD
144372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14438
14439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14440 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14441 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14442 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14443 * sysdeps/x86_64/multiarch/strcat.S: New file.
14444 * sysdeps/x86_64/multiarch/strncat.S: New file.
14445 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14446 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14447 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14448 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14449 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14450 (USE_AS_STRCAT): Define.
14451 Add strcat and strncat support.
14452 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14453 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14454 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14455 * string/strncat.c: Update.
14456 (USE_AS_STRNCAT): Define.
14457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14458 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14459 and i7.
14460 * sysdeps/x86_64/multiarch/init-arch.h
14461 (bit_Prefer_PMINUB_for_stringop): New.
14462 (index_Prefer_PMINUB_for_stringop): Likewise.
14463 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14464 bit_Prefer_PMINUB_for_stringop.
14465
7dc6bd90
UD
144662011-07-19 Ulrich Drepper <drepper@gmail.com>
14467
14468 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14469 buffer64.
14470 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14471 of casting of buffer.
14472 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14473 buffer32 and buffer64.
14474 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14475 writes instead of casting of buffer.
14476 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14477 buffer32.
14478 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14479 casting of buffer.
14480
e0e72284
AS
144812011-07-19 Andreas Schwab <schwab@redhat.com>
14482
14483 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14484
feb1eb0b
UD
144852011-07-19 Ulrich Drepper <drepper@gmail.com>
14486
14487 * nscd/nscd.c (termination_handler): Don't do anything for a database
14488 if it has not yet been initialized.
14489
298711ff
UD
144902011-07-18 Ulrich Drepper <drepper@gmail.com>
14491
14492 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14493
144942011-07-15 Marek Polacek <mpolacek@redhat.com>
14495
14496 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14497
f9d68389
UD
144982011-07-18 Ulrich Drepper <drepper@gmail.com>
14499
14500 * po/nl.po: Update from translation team.
14501 * po/sv.po: Likewise.
14502
db290cf5
RM
145032011-07-16 Roland McGrath <roland@hack.frob.com>
14504
14505 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14506 now disallowed by GCC.
5c550700 14507
fd5e21c7
RM
14508 * configure.in (use-default-link): Default to yes if a test -shared
14509 link meets our qualifications.
14510 * configure: Regenerated.
14511
5c550700
RM
14512 * config.make.in (output-format): New variable.
14513 * configure.in: Check for ld --print-output-format support.
14514 * configure: Regenerated.
14515 * Makerules ($(common-objpfx)format.lds)
14516 [$(output-format) != unknown]: Just use $(output-format),
14517 instead of the linker-script munging.
14518
9fa2c032
RM
145192011-07-14 Roland McGrath <roland@hack.frob.com>
14520
a6928d51
RM
14521 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14522 of $(common-objpfx)shlib.lds.
14523 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14524
661607b3
RM
14525 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14526 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14527
9fa2c032
RM
14528 * configure.in (-z relro check): Adjust test code to add a large
14529 writable data section after it.
14530 * configure: Regenerated.
14531
defe9061
RM
145322011-07-11 Roland McGrath <roland@hack.frob.com>
14533
14534 * configure.in (-z relro check): Fix test code to make the variable
14535 truly const.
14536 * configure: Regenerated.
14537
319b9ad4
UD
145382011-07-11 Ulrich Drepper <drepper@gmail.com>
14539
14540 * nscd/nscd.h (struct traced_file): Define.
14541 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14542 elements. Add traced_files.
14543 (inotify_fd): Declare.
14544 (register_traced_file): Declare.
14545 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14546 (inotify_fd): Export.
14547 (resolv_conf_descr): Remove.
14548 (nscd_init): Move inotify descriptor creation to main.
14549 Don't register files for notification here.
14550 (register_traced_file): New function.
14551 (invalidate_cache): Don't use reset_res to determine whether to call
14552 res_init, go through the list of registered files.
14553 (main_loop_poll): The inotify descriptors are now stored in the
14554 structures for the traced files.
14555 (main_loop_epoll): Likewise
14556 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14557 to __nss_disable_nscd.
14558 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14559 for a database anymore. Check the records for all the registered
14560 files instead.
14561 * nss/Makefile (libnss_files-routines): Add files-init.
14562 (libnss_db-routines): Add db-init.
14563 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14564 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14565 * nss/nss_db/db-init.c: New file.
14566 * nss/nss_files/files-init.c: New file.
14567 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14568 __nss_lookup_function.
14569 (__nss_lookup_function): Call nss_load_library.
14570 (nss_load_all_libraries): New function.
14571 (__nss_disable_nscd): Take parameter with callback function for files
14572 to register. Set is_nscd. Load all the DSOs for the NSS modules
14573 used for the cached services.
14574 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14575 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14576 options for features to all the files in nscd.
14577
14578 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14579
23bee3e8
RM
145802011-07-10 Roland McGrath <roland@hack.frob.com>
14581
14582 * csu/elf-init.c (__libc_csu_init): Comment typo.
14583
46a5b7f0
UD
145842011-07-09 Ulrich Drepper <drepper@gmail.com>
14585
14586 * po/pl.po: Update from translation team.
14587 * po/ja.po: Likewise.
14588 * po/ru.po: Likewise.
14589 * po/ko.po: Likewise.
14590 * po/fr.po: Likewise.
14591
d30cf5bb
RM
145922011-07-09 Roland McGrath <roland@hack.frob.com>
14593
113ddea4
RM
14594 * configure.in (.ctors/.dtors header and trailer check):
14595 Use an empirical test on a built program.
14596 * configure: Regenerated.
14597
574920b4
RM
14598 * configure.in (-z relro check): Use an empirical test on a built DSO.
14599 Detect, but do not require, on ia64.
14600 * configure: Regenerated.
14601
d30cf5bb
RM
14602 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14603 Update tests that use readelf to use $READELF instead.
14604 * configure: Regenerated.
14605
8538fdb3
UD
146062011-07-08 Ulrich Drepper <drepper@gmail.com>
14607
14608 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14609 if the result is not used.
14610
04d08991
AJ
146112011-07-05 Andreas Jaeger <aj@suse.de>
14612
14613 [BZ#9696]
14614 * stdlib/tst-strtod.c: Add testcase.
14615
de283087
AD
146162011-07-07 Ulrich Drepper <drepper@gmail.com>
14617
4e5f31c8 14618 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14619 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14620 The latter has a higher limit. Take additional parameter to pass to
14621 the new function.
14622 (__pathconf): Pass file to __statfs_link_max.
14623 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14624 __statfs_link_max.
14625 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14626 __statfs_link_max.
14627
de283087
AD
14628 [BZ #12868]
14629 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14630 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14631 Handle Lustre.
14632 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14633 (__statfs_filesize_max): Likewise.
14634 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14635
c75fa153
AJ
146362011-07-05 Andreas Jaeger <aj@suse.de>
14637
14638 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14639
1a544854
UD
146402011-07-06 Marek Polacek <mpolacek@redhat.com>
14641
14642 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14643 `status' variable.
14644 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14645 Likewise.
14646
6f0eec67
UD
146472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14648
14649 * Makefile (strop-tests): Add strncat.
14650 * string/test-strncat.c: New file.
14651
aae30307
UD
146522011-06-30 Marek Polacek <mpolacek@redhat.com>
14653
14654 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14655
c0cfb5eb
UD
146562011-06-21 Andreas Jaeger <aj@suse.de>
14657
14658 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14659 Copy rule from iconvdata/Makefile.
14660
01636b21
UD
146612011-07-06 Ulrich Drepper <drepper@gmail.com>
14662
14663 [BZ #12922]
14664 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14665 but no long options are defined, just return 'W'.
14666
9895c8bc
UD
146672011-06-22 Marek Polacek <mpolacek@redhat.com>
14668
14669 [BZ #9696]
14670 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14671
5d4cf042
UD
146722011-07-06 Ulrich Drepper <drepper@gmail.com>
14673
14674 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14675 netgroups to read.
960e5535 14676 (innetgr): Likewise.
5d4cf042 14677
751eb97e
RM
146782011-07-05 Roland McGrath <roland@hack.frob.com>
14679
14680 * config.make.in (install_root): Default to $(DESTDIR).
14681
f15f1e45
UD
146822011-07-05 Ulrich Drepper <drepper@gmail.com>
14683
14684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14685
4e34ac6a
RM
146862011-07-02 Roland McGrath <roland@hack.frob.com>
14687
5e9b6af4
RM
14688 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14689
84f9ea0f
RM
14690 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14691 containing directory rather than embedding absolute directory names.
14692
ea5ee9f7
RM
14693 * scripts/check-local-headers.sh: Rewritten using awk.
14694 Match by word, not by line. Print error messages for matches.
14695 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14696
1b74661a
RM
14697 * Makerules [shlib-lds-flags empty]:
14698 ($(common-objpfx)libc_pic.opts): New target.
14699 ($(common-objpfx)libc_pic.os.clean): New target.
14700 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14701
14702 * config.make.in (OBJCOPY): New variable.
14703 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14704 * configure: Regenerated.
14705
f781ef40
RM
14706 * config.make.in (use-default-link): New variable.
14707 * configure.in (use_default_link): Grok --with-default-link to set it.
14708 * configure: Regenerated.
14709 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14710 (shlib-lds, shlib-lds-flags): Define to empty.
14711
2d4fa81e
RM
14712 * Makerules (shlib-lds): New variable.
14713 (shlib-lds-flags): New variable.
14714 (build-shlib, build-moduile, build-module-asneeded): Use it.
14715 ($(common-objpfx)libc.so): Use $(shlib-lds).
14716 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14717 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14718
31fffa6b
RM
14719 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14720 DT_FLAGS/DT_FLAGS_1 with zero flags.
14721
4e34ac6a
RM
14722 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14723 linker script munging.
14724
fcfc776b
UD
147252011-07-02 Ulrich Drepper <drepper@gmail.com>
14726
14727 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14728 as 128-bit value.
14729 * crypt/sha512.c (sha512_process_block): Perform total addition using
14730 128-bit if possible.
14731 (__sha512_finish_ctx): Likewise.
14732 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14733 as 64-bit value.
14734 * crypt/sha256.c (SWAP64): Define.
14735 (sha256_process_block): Perform total addition using 64-bit if
14736 possible.
14737 (__sha256_finish_ctx): Likewise.
14738
99231d9a
UD
147392011-07-01 Ulrich Drepper <drepper@gmail.com>
14740
14741 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14743 * nscd/hstcache.c (cache_addhst): Likewise.
14744 * nscd/grpcache.c (cache_addgr): Likewise.
14745 * nscd/aicache.c (addhstaiX): Likewise
14746 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14747
445b4a53
TK
147482011-07-01 Thorsten Kukuk <kukuk@suse.de>
14749
14750 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14751 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14752 * nscd/hstcache.c (cache_addhst): Likewise.
14753 * nscd/grpcache.c (cache_addgr): Likewise.
14754 * nscd/aicache.c (addhstaiX): Likewise
14755
6d4d8e8e
AS
147562011-07-01 Andreas Schwab <schwab@redhat.com>
14757
14758 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14759 domain only when needed.
14760
89f654c5
AS
147612011-06-30 Andreas Schwab <schwab@redhat.com>
14762
14763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14764 is always restored.
14765
cf3b23ff
UD
147662011-06-29 Ulrich Drepper <drepper@gmail.com>
14767
14768 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14769 are re-adding the entry.
14770 * nscd/servicescache.c (cache_addserv): Likewise.
14771
751626f9
AJ
147722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14773
14774 * sysdeps/generic/dl-irel.h: fix protection against multiple
14775 inclusions.
14776 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14777
9113ea1f
UD
147782011-06-28 Ulrich Drepper <drepper@gmail.com>
14779
5c0b8d90
UD
14780 [BZ #12935]
14781 * malloc/memusage.sh: Fix quoting in message.
14782 * debug/xtrace.sh: Likewise.
14783
9113ea1f
UD
14784 * configure.in: Remove support for --experimental-malloc option, make
14785 it the default.
14786 * config.make.in: Likewise.
14787 * malloc/Makefile: Likewise.
14788
a4172181
AS
147892011-06-27 Andreas Schwab <schwab@redhat.com>
14790
14791 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14792 two-byte characters.
14793
78a7eee7
RM
147942011-06-27 Roland McGrath <roland@hack.frob.com>
14795
62bede13
RM
14796 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14797 AC_CACHE_CHECK invocation.
14798 * configure: Regenerated.
14799
78a7eee7
RM
14800 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14801
5ce33a62
UD
148022011-06-27 Ulrich Drepper <drepper@gmail.com>
14803
034807a9
UD
14804 [BZ #12350]
14805 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14806 bit from old_res_options.
14807
4902da17
UD
14808 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14809
5ce33a62
UD
14810 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14811 value type for setfct.
14812
c2344f56
L
148132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14814
14815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14816 __gettimeofday instead of gettimeofday.
14817
68468076
UD
148182011-06-26 Ulrich Drepper <drepper@gmail.com>
14819
14820 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14821
acb0d739
L
148222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14823
14824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14825
14826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14827 info.
14828
8912479f
L
148292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14830
14831 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14832 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14833 strcpy-sse2-unaligned strncpy-sse2-unaligned
14834 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14835 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14836 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14837 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14838 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14840 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14841 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14842 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14843 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14844 (STRCPY): Support SSE2 and SSSE3 versions.
14845
d5495a11
UD
148462011-06-24 Ulrich Drepper <drepper@gmail.com>
14847
14848 [BZ #12874]
14849 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14850 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14851 kernels which artificially limit size of requests.
14852
0b1cbaae
L
148532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14854
14855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14856 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14857 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14858 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14859 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14860 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14861 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14862 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14865 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14866 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14867 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14868 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14869 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14871 Enable unaligned load optimization for Intel Core i3, i5 and i7
14872 processors.
14873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14874 Define.
14875 (index_Fast_Unaligned_Load): Define.
14876 (HAS_FAST_UNALIGNED_LOAD): Define.
14877
07f494a0
MP
148782011-06-23 Marek Polacek <mpolacek@redhat.com>
14879
14880 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14881
fa3fc0fe
UD
148822011-06-22 Ulrich Drepper <drepper@gmail.com>
14883
14884 [BZ #12907]
14885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14886 until it is clear that the information is realy needed.
14887 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14888
e12df166
AS
148892011-06-22 Andreas Schwab <schwab@redhat.com>
14890
14891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14892
852eb34d
UD
148932011-06-22 Ulrich Drepper <drepper@gmail.com>
14894
84e2a551
UD
14895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14896 /sys/devices/system/cpu/online if it is usable.
14897
852eb34d
UD
14898 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14899 reading the information from the /proc filesystem to once a second.
14900
6e502e19
UD
149012011-06-21 Andreas Jaeger <aj@suse.de>
14902
14903 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14904 NULL after inclusion of kernel headers.
14905
75d39ff2
UD
149062011-06-21 Ulrich Drepper <drepper@gmail.com>
14907
51f9aa6a
UD
14908 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14909 calls to internal_setent.
14910
c0244a9d
UD
14911 [BZ #12885]
14912 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14913 addresses using gethostbyname4_r ignore IPv4 addresses.
14914
c5e3c2ae
UD
14915 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14916 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14917
75d39ff2
UD
14918 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14919
42675c6f
DM
149202011-06-20 David S. Miller <davem@davemloft.net>
14921
14922 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14923 inclusions.
14924 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14925
14926 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14927 (elf_irel): Use it.
14928 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14929 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14930 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14931 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14932 * sysdeps/x86_64/dl-irel.h: Likewise.
14933
14934 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14935 * elf/dl-sym.c: Likewise.
14936
57912a71
UD
149372011-06-15 Ulrich Drepper <drepper@gmail.com>
14938
14939 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14940 need to dereference resplen2.
14941
ee22793d
AS
149422011-06-14 Andreas Schwab <schwab@redhat.com>
14943
14944 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14945
a9e836b0
UD
149462011-06-15 Ulrich Drepper <drepper@gmail.com>
14947
77fb9117
UD
14948 * Makeconfig: Define vardbdir and inst_vardbdir.
14949 * nss/Makefile: Add rules to install db-Makefile.
14950
40c1b22c
UD
14951 * nss/nss_db/db-XXX.c: Cleanup.
14952
9f2da732
UD
14953 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14954 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14955 GLIBC_PRIVATE.
14956 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14957 * nss/makedb.c: Implement -g option to specify that value strings
14958 are generated and should not be added to table iterated over for
14959 get*ent calls.
14960 * nss/nss_db/db-initgroups.c: New file.
14961
82e9a1f7
UD
14962 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14963 interface.
14964
c41af17e
UD
14965 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14966 (internal_getgrouplist): Adjust to name change.
14967 Update use_initgroups_entry if this is not the first call.
14968 * nss/databases.def: Add initgroups entry.
14969
a9e836b0
UD
14970 * nss/makedb.c (compute_tables): Check result of multiple hash table
14971 sizes to minimize maximum chain length.
14972
2666d441
UD
149732011-06-14 Ulrich Drepper <drepper@gmail.com>
14974
14975 * Versions.def: Add entry for libnss_db.
14976 * shlib-versions: Likewise.
14977 * nss/Makefile: Add rules to build libnss_db.
14978 * nss/Versions: Add libnss_db information. Organize libnss_files
14979 entries better.
14980 * nss/db-Makefile: Add gshadow support. Change rules for the new
14981 makedb progra. Some minor improvements to generate smaller files.
14982 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14983 here from...
14984 * nss/makedb.c: ...here.
14985 Improve database format to be smaller and require less memory at
14986 runtime.
14987 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14988 db anymore.
14989 * nss/nss_db/db-netgrp.c: Likewise.
14990 * nss/nss_db/db-open.c: Likewise.
14991 * nss/nss_files/flies-XXX.x: Adjust comments.
14992 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14993 * nss/nss_files/files-grp.c: Likewise.
14994 * nss/nss_files/files-hosts.c: Likewise.
14995 * nss/nss_files/files-network.c: Likewise.
14996 * nss/nss_files/files-proto.c: Likewise.
14997 * nss/nss_files/files-pwd.c: Likewise.
14998 * nss/nss_files/files-rpc.c: Likewise.
14999 * nss/nss_files/files-service.c: Likewise.
15000 * nss/nss_files/files-sgrp.c: Likewise.
15001 * nss/nss_files/files-spwd.c: Likewise.
15002 * nss/nss_db/db-alias.c: Removed.
15003 * nss/nss_db/dummy-db.h: Removed.
15004
9ee76b5a
UD
150052011-06-02 Ulrich Drepper <drepper@gmail.com>
15006
15007 * nss/makedb.c: Rewritten to not use database library.
15008 * nss/Makefile: Update to build new makedb program.
15009
c71ca1f8
AJ
150102011-06-14 Andreas Jaeger <aj@suse.de>
15011
15012 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
15013 memset declaration.
15014
3154bfb8
UD
150152011-06-10 Andreas Schwab <schwab@redhat.com>
15016
15017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
15018 tmpbuf.
15019
b350afab
RM
150202011-06-10 Roland McGrath <roland@hack.frob.com>
15021
decd4e50
RM
15022 * Makerules (shlib.lds): Fail if the linker script comes out empty.
15023 * elf/Makefile ($(objpfx)ld.so): Likewise.
15024
5615eaf2
RM
15025 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
15026 Don't list ld.so twice in dependencies.
15027
15028 * posix/bug-regex31.c: Include <stdlib.h>.
15029
15030 * nscd/hstcache.c (cache_addhst): Remove unused variable.
15031
15032 * nis/nss_compat/compat-spwd.c
15033 (getspent_next_nss_netgr): Remove unused variable.
15034 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
15035
15036 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15037 nonmembers" output to use the right array.
15038
15039 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15040
15041 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15042
15043 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15044 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15045 * catgets/gencat.c (read_input_file): Likewise.
15046 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15047
15048 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15049 variable definition inside #if's controlling its use.
15050
15051 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15052
15053 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15054
15055 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15056
15057 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15058 unreachable code.
15059
15060 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15061
b68e08db
RM
15062 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15063 * configure: Regenerated.
15064
b350afab
RM
15065 * Makerules: Revert last change.
15066 * elf/Makefile: Likewise.
15067
28368601
RM
150682011-06-09 Roland McGrath <roland@hack.frob.com>
15069
15070 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15071 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15072 (reloc-link): Likewise.
15073
11988f8f
UD
150742011-06-09 Ulrich Drepper <drepper@gmail.com>
15075
15076 * elf/Makefile: Add rules to build pldd.
15077 * elf/pldd.c: New file.
15078 * elf/pldd-xx.c: New file.
15079
e80fab37
UD
150802011-06-07 Ulrich Drepper <drepper@gmail.com>
15081
15082 * version.h: Update for 2.15 development version.
15083
9b849836
DM
150842011-06-07 David S. Miller <davem@davemloft.net>
15085
15086 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15087 ifuncs.
15088 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15089 elf_machine_lazy_rel): Likewise.
15090 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15092 elf_machine_lazy_rel): Likewise.
15093 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15094 dl_hwcap via passed in argument.
15095 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15096 Likewise.
15097
5a31b283
AK
150982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15099
15100 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15101
069e52f8
RM
151022011-06-06 Roland McGrath <roland@hack.frob.com>
15103
15104 [BZ #12849]
15105 * manual/fdl-1.1.texi: New file, verbatim from:
15106 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15107 * manual/lgpl-2.1.texi: New file, verbatim from:
15108 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15109 * manual/Makefile (licenses): New variable, list those new file names.
15110 (texis): Use it.
15111 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15112
15113 * manual/fdl.texi: File removed.
15114 * manual/lesser.texi: File removed.
15115 * manual/libc.texinfo (Copying, Documentation License):
15116 Use new @include file names, put @appendix directive before @include.
15117
f16846a5
JJ
151182011-06-04 Jakub Jelinek <jakub@redhat.com>
15119
15120 [BZ #12841]
15121 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15122 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15123 (mq_open): Add __NTH.
15124
3d29045b
L
151252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15126
15127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15128 Assume Intel Core i3/i5/i7 processor if AVX is available.
15129
8c297311
UD
151302011-05-31 Ulrich Drepper <drepper@gmail.com>
15131
15132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15133 typo.
15134
c8fc0c91
UD
151352011-05-31 Andreas Schwab <schwab@redhat.com>
15136
15137 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15138 memory. Use alloca_account. Fix memory leak when retrying.
15139
5b27a807
UD
151402011-05-31 Ulrich Drepper <drepper@gmail.com>
15141
356f8bc6
UD
15142 * version.h (RELEASE): Bump for 2.14 release.
15143 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15144
5b27a807
UD
15145 * config.make.in (RANLIB): Remove entry.
15146
01f16ab0
UD
151472011-05-30 Ulrich Drepper <drepper@gmail.com>
15148
41fce8bd
UD
15149 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15150 (libc.pot): Work around missing support for .ksh extension in xgettext.
15151
4769ae77
UD
15152 [BZ #12684]
15153 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15154 if both request failed.
15155 (send_dg): In case of server errors clear resplen or *resplen2.
15156
6b1e7d19
UD
15157 [BZ #12454]
15158 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15159 when there are multiple maps.
15160 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15161 (_dl_fini): Remove test here.
15162
01f16ab0
UD
15163 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15164
b1ebd700
UD
151652011-05-29 Ulrich Drepper <drepper@gmail.com>
15166
7ae22829
UD
15167 [BZ #12350]
15168 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15169 bit from old_res_options.
15170 (gaih_inet): Likewise.
15171
553149f6 15172 [BZ #11099]
18a84741 15173 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15174 as signed.
15175
652ffab1
UD
15176 * resolv/res_init.c (res_setoptions): Make the code more compact.
15177
16985fd0
UD
15178 [BZ #11558]
15179 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15180 set RES_USEVC.
15181
0464f746
UD
15182 [BZ #11634]
15183 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15184
7d17596c
UD
15185 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15186
cf6bbbd7
UD
15187 [BZ #11781]
15188 * malloc/malloc.h: Declare malloc hook variables as volatile.
15189
13f1ab36
UD
15190 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15191 in last patch.
15192
b1ebd700
UD
15193 [BZ #11799]
15194 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15195 raise in the comment.
80e2212d
UD
15196 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15197 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15198 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15199
ce67228d
UD
152002011-05-28 Ulrich Drepper <drepper@gmail.com>
15201
8887a920
UD
15202 [BZ #12811]
15203 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15204 grow the buffers more if it already has to be sufficient.
15205 (build_wcs_upper_buffer): Likewise.
15206 * posix/regexec.c (check_matching): Likewise.
15207 (clean_state_log_if_needed): Likewise.
15208 (extend_buffers): Don't enlarge buffers beyond size of the input
15209 buffer.
15210 Patches mostly by Emil Wojak <emil@wojak.eu>.
15211 * posix/bug-regex32.c: New file.
15212 * posix/Makefile (tests): Add bug-regex32.
15213
4f031072
UD
15214 * locale/findlocale.c (_nl_find_locale): Return right away if
15215 _nl_explode_name failed.
15216 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15217
d0478f0c
UD
15218 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15219
de81b246
UD
15220 * debug/xtrace.sh: Unify messages.
15221 * malloc/memusage.sh: Likewise.
15222
c738465a
UD
15223 [BZ #12813]
15224 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15225 time symbol from vDSO. Substitute with vsyscall if not available.
15226 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15227 __vdso_time.
15228
f1f929d7
UD
15229 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15230 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15231 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15232 Add sendmmsg and internal_sendmmsg.
15233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15234 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15235 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15236
ce67228d
UD
15237 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15238 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15240
e57420c6
UD
152412011-05-27 Ulrich Drepper <drepper@gmail.com>
15242
a8509ca5
UD
15243 [BZ #12813]
15244 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15245 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15246 available.
15247 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15248 __vdso_getcpu.
15249
e57420c6
UD
15250 [BZ #12814]
15251 * iconvdata/Makefile (tests): Add bug-iconv9.
15252 * iconvdata/bug-iconv9.c: New file.
15253
4d07db15
AS
152542011-05-27 Andreas Schwab <schwab@redhat.com>
15255
15256 [BZ #12814]
15257 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15258
ea486f69
JJ
152592011-05-25 Jakub Jelinek <jakub@redhat.com>
15260
15261 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15262 (struct user_regs_struct): Change intcs field back to cs.
15263
6f038433
UD
152642011-05-25 Ulrich Drepper <drepper@gmail.com>
15265
15266 * po/ja.po: Update from translation team.
15267
67f86a25
UD
152682011-05-23 Ulrich Drepper <drepper@gmail.com>
15269
15270 [BZ #12795]
15271 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15272 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15273
def7fbd6
AS
152742011-05-20 Andreas Schwab <schwab@redhat.com>
15275
15276 * stdlib/longlong.h: Update from GCC.
15277
f50ef8f1
AS
152782011-05-23 Andreas Schwab <schwab@redhat.com>
15279
15280 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15281 parameter name.
15282 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15283 Add parameter name.
15284 (__sysconf): Pass it down.
15285
de7ce8f1
UD
152862011-05-22 Ulrich Drepper <drepper@gmail.com>
15287
f2962a71
UD
15288 [BZ #12671]
15289 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15290 some situations.
15291 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15292 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15293 add in in __libc_use_alloca calls. Adjust callers.
15294 (glob): Use malloc in some situations.
15295
de7ce8f1
UD
15296 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15297 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15298 pltexit.
15299
aec84f53
UD
153002011-05-21 Ulrich Drepper <drepper@gmail.com>
15301
05bb4a68
UD
15302 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15303 and CLOCK_BOOTTIME_ALARM.
15304
7ea72f99
UD
15305 [BZ #12782]
15306 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15307 is returned.
15308
7e4afad5
UD
15309 * string/_strerror.c (__strerror_r): Print negative errors as signed
15310 numbers.
15311
8e211fec
UD
15312 [BZ #12777]
15313 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15314 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15315 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15316
f7d82dc9
UD
15317 * configure.in: Fix typo in redirection and correct removal of test
15318 files in two cases.
15319
cc9e536d
UD
15320 [BZ #12788]
15321 * locale/setlocale.c (new_composite_name): Fix test to check for
15322 identical name of all categories.
15323
aec84f53
UD
15324 [BZ #12792]
15325 * libio/filedoalloc.c (local_isatty): New function.
15326 (_IO_file_doallocate): Use local_isatty.
15327 * stdio-common/perror.c (perror): In case a new stream is used
15328 forward the stream error.
15329 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15330 error flag.
15331
78e64fdc
RT
153322011-05-20 Ulrich Drepper <drepper@gmail.com>
15333
34a9094f
UD
15334 [BZ #11869]
15335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15336 alloca.
15337 * include/alloca.h (extend_alloca_account): Define.
15338
78e64fdc
RT
15339 [BZ #11857]
15340 * posix/regex.h: Fix comments with documentation of user-accessible
15341 fields after compilation and describe correct free'ing of pattern
15342 after re_compile_pattern.
15343 Patch by Reuben Thomas <rrt@sc3d.org>.
15344
457bddfc
RA
153452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15346
15347 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15348 and -mno-altivec to prevent the compiler from using Altivec and/or
15349 VSX instructions when the corresponding registers are not available.
15350
a4527b51
AS
153512011-05-19 Andreas Schwab <schwab@redhat.com>
15352
15353 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15354
ed690b2f
UD
153552011-05-19 Ulrich Drepper <drepper@gmail.com>
15356
15357 * libio/freopen.c (freopen): Use __dup2, not dup2.
15358 * libio/freopen64.c (freopen64): Likewise.
15359
8db73634
L
153602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15361
15362 [BZ #12775]
15363 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15364 * math/Makefile (tests): Add test-powl.
15365 (CFLAGS-test-powl.c): Define.
15366 * math/test-powl.c: New file.
15367
0a197a9d
L
153682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15369
15370 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15371
ee30c380
UD
153722011-05-17 Ulrich Drepper <drepper@gmail.com>
15373
15374 [BZ #11837]
15375 * iconvdata/gb18030.c: Update to GB18020-2005.
15376
6ce75379
UD
153772011-05-16 Ulrich Drepper <drepper@gmail.com>
15378
a4b89fd8
AR
15379 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15380 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15381 Patch by Aharon Robbins <arnold@skeeve.com>.
15382
ea389b12
UD
15383 [BZ #11892]
15384 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15385 on the stack.
15386
68a3f91f
UD
15387 [BZ #11895]
15388 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15389 through underflows.
15390
15cc7dd1
UD
15391 [BZ #12766]
15392 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15393 point to strings before performing equality test for error_one_per_line
15394 mode.
15395
f3799213
UD
15396 [BZ #11697]
15397 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15398
d79a9c94
UD
15399 [BZ #11820]
15400 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15401 (struct user_fpregs_struct): Avoid __uint*_t types.
15402
56e5eb46
UD
15403 [BZ #6420]
15404 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15405 symbol info. Use it instead of calling _dl_addr locally.
15406 (lock_and_info): New function.
15407 (tr_freehook): Call lock_and_info and pass symbol info as additional
15408 parameter to tr_where.
15409 (tr_mallochook): Likewise.
15410 (tr_reallochook): Likewise.
15411 (tr_memalignhook): Likewise.
15412
6ce75379
UD
15413 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15414 used and couldn't be at all thread-safe.
15415
f8a3b5bf
UD
154162011-05-15 Ulrich Drepper <drepper@gmail.com>
15417
94b7cc37
UD
15418 * libio/freopen.c (freopen): Don't close old file descriptor
15419 before the new one is opened. Instead dup the new file descriptor
15420 to the old one after the new stream is created.
15421 * libio/freopen64.c (freopen64): Likewise.
15422 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15423 * libio/fileops.c (_IO_new_file_close_it): Handle new
15424 _IO_FLAGS2_NOCLOSE flag.
15425 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15426 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15427 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15428 _IO_FLAGS2_NOCLOSE flag.
15429 * include/unistd.h: Add hidden_proto for dup3.
15430 Define __have_dup3.
15431 * io/dup3.c: Define hidden symbol.
15432 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15433
bd25564e
UD
15434 [BZ #7101]
15435 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15436 when an incomplete long option is used.
15437 * posix/tst-getopt_long1.c: New file.
15438 * posix/Makefile (tests): Add tst-getopt_long1.
15439
c84cfef4
UD
15440 [BZ #10138]
15441 * scripts/config.guess: Update from autoconf-2.68.
15442 * scripts/config.sub: Likewise.
15443
3b85df27
UD
15444 [BZ #10157]
15445 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15446 tests into ...
15447 (has_cpuclock): ...this. New function.
15448 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15449 macro here based on has_cpuclock code.
15450
15a856b1
UD
15451 [BZ #10149]
15452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15453 First byte (not low byte) is now always NUL.
15454 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15455
05f399e6
UD
15456 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15457 Use non-cancelable interfaces.
15458
10a52685 15459 [BZ #9809]
94ecc67d
UD
15460 * locale/iso-639.def: Add entry for Sorani.
15461
f8a3b5bf
UD
15462 [BZ #11901]
15463 * include/stdlib.h: Move include protection to the right place.
15464 Define abort_msg_s. Declare __abort_msg with it.
15465 * stdlib/abort.c (__abort_msg): Adjust type.
15466 * assert/assert.c (__assert_fail_base): New function. Majority
15467 of code from __assert_fail. Allocate memory for __abort_msg with
15468 mmap.
15469 (__assert_fail): Now call __assert_fail_base.
15470 * assert/assert-perr.c: Remove bulk of implementation. Use
15471 __assert_fail_base.
15472 * include/assert.hL Declare __assert_fail_base.
15473 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15474 mmap.
15475 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15476
1af4e298
UD
154772011-05-14 Ulrich Drepper <drepper@gmail.com>
15478
f8a3b5bf 15479 [BZ #11952]
d26dfc60
MG
15480 [BZ #12453]
15481 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15482 until all modules are registered in the DTV.
15483 * elf/Makefile: Add rules to build and run tst-tls19.
15484 * elf/tst-tls19.c: New file.
15485 * elf/tst-tls19mod1.c: New file.
15486 * elf/tst-tls19mod2.c: New file.
15487 * elf/tst-tls19mod3.c: New file.
15488 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15489
2fc54d6f
UD
15490 [BZ #12083]
15491 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15492 correctly.
15493
98d76b46
UD
15494 [BZ #12601]
15495 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15496 two-byte sequence errors.
15497 * iconvdata/Makefile (tests): Add bug-iconv8.
15498 * iconvdata/bug-iconv8.c: New file.
15499
da3c19ef
UD
15500 [BZ #12626]
15501 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15502 buf2 definition.
15503
ca408c15
UD
15504 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15505
d6f67f7d
UD
15506 [BZ #12432]
15507 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15508 (dummy_getcfa): New function.
15509 (init): Get _Unwind_GetCFA address, use dummy if not found.
15510 (backtrace_helper): In recursion check, also check whether CFA changes.
15511 (__backtrace): Completely initialize arg.
15512
1af4e298 15513 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15514 storing incomplete byte sequence in state object. Avoid testing for
15515 guaranteed too small input if we know there is enough data available.
1af4e298 15516
da62f81b
AS
155172011-05-11 Andreas Schwab <schwab@redhat.com>
15518
15519 * Makeconfig (+link-pie): Indent.
15520 * Rules (binaries-pie): Define if $(have-fpie) and
15521 $(build-shared).
15522 (binaries-shared): Also filter out $(binaries-pie).
15523 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15524 * nscd/Makefile (others-pie): Add nscd.
15525 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15526 ($(objpfx)nscd): Remove command override.
15527 * login/Makefile (others-pie): Add pt_chown.
15528 ($(objpfx)pt_chown): Remove command override.
15529 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15530 remove command overrides.
15531
fcabc0f8
UD
155322011-05-13 Ulrich Drepper <drepper@gmail.com>
15533
20030ae6
UD
15534 * libio/tst_putwc.c: Fix error messages.
15535
fcabc0f8
UD
15536 [BZ #12724]
15537 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15538 currently writing and seek to current position when not.
15539 * libio/Makefile (tests): Add bug-fclose1.
15540 * libio/bug-fclose1.c: New file.
15541
320a5dc0
PB
155422011-05-12 Ulrich Drepper <drepper@gmail.com>
15543
15544 [BZ #12511]
15545 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15546 don't set DF_1_NODELETE here.
15547 (do_lookup_x): When entering new entry test for copy relocation
15548 and if necessary set DF_1_NODELETE flag.
15549 * elf/tst-unique4.cc: New file.
15550 * elf/tst-unique4.h: New file.
15551 * elf/tst-unique4lib.cc: New file.
15552 * elf/Makefile: Add rules to build and run tst-unique4.
15553 Patch by Piotr Bury <pbury@goahead.com>.
15554
22836f52
UD
155552011-05-11 Ulrich Drepper <drepper@gmail.com>
15556
f574184a
UD
15557 [BZ #12052]
15558 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15559
e1fb097f
UD
15560 [BZ #12625]
15561 * misc/mntent_r.c (addmntent): Flush the stream after the output
15562
22836f52
UD
15563 [BZ #12393]
15564 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15565 (is_trusted_path_normalize): Skip initial colon. Append slash
15566 to empty buffer. Duplicate is_trusted_path code but allow
15567 constructed patch to be prefix.
15568 (is_dst): Allow $ORIGIN followed by /.
15569 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15570 Correct testing of result of is_trusted_path_normalize
15571 (decompose_rpath): Fix warning.
15572
7b3b0b2a
UD
155732011-05-10 Ulrich Drepper <drepper@gmail.com>
15574
15575 [BZ #11257]
15576 * grp/initgroups.c (internal_getgrouplist): When we found the service
15577 list through the initgroups entry in nsswitch.conf do not always
15578 continue on a successful lookup. Don't always use the
eac80ce2 15579 __nss_group_database value if it is set.
7b3b0b2a
UD
15580 * nss/nsswitch.conf (initgroups): Change action for successful db
15581 lookup to continue for compatibility.
15582
2a81eaa5
UD
155832011-05-09 Ulrich Drepper <drepper@gmail.com>
15584
be97a69e
UD
15585 [BZ #11532]
15586 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15587 and CP774 modules.
15588 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15589 and CP774 modules.
15590 * iconvdata/tst-tables.sh: Likewise.
15591 * iconvdata/cp770.c: New file.
15592 * iconvdata/cp771.c: New file.
15593 * iconvdata/cp772.c: New file.
15594 * iconvdata/cp773.c: New file.
15595 * iconvdata/cp774.c: New file.
15596 * iconvdata/testdata/CP770: New file.
15597 * iconvdata/testdata/CP770..UTF8: New file.
15598 * iconvdata/testdata/CP771: New file.
15599 * iconvdata/testdata/CP771..UTF8: New file.
15600 * iconvdata/testdata/CP772: New file.
15601 * iconvdata/testdata/CP772..UTF8: New file.
15602 * iconvdata/testdata/CP773: New file.
15603 * iconvdata/testdata/CP773..UTF8: New file.
15604 * iconvdata/testdata/CP774: New file.
15605 * iconvdata/testdata/CP774..UTF8: New file.
15606
15607 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15608 END CHARMAP line.
15609 * iconvdata/gen-8bit-gap.sh: Likewise.
15610 * iconvdata/gen-8bit.sh: Likewise.
15611
c1e9e399
UD
15612 * locale/iso-639.def: Add ary entry.
15613
24c55fb3 15614 [BZ #11258]
96b4b1b0
UD
15615 * locale/C-translit.h.in: Add U20A1 transliteration.
15616
bdc2f971
KB
15617 [BZ #12178]
15618 * locale/iso-639.def: Add wae entry.
15619 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15620
2952b117
UD
15621 [BZ #12545]
15622 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15623 for n.
15624
2a81eaa5
UD
15625 [BZ #12711]
15626 * locale/C-translit.h.in: Add entry for U20B9.
15627 Patch by pravin.d.s@gmail.com.
15628
28377d1b
UD
156292011-05-08 Ulrich Drepper <drepper@gmail.com>
15630
7fb90fb8
UD
15631 [BZ #12713]
15632 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15633 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15634 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15635 in rtld. Use *stat64.
7fb90fb8 15636 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15637 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15638 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15639 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15640 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15641 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15642 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15643 __fstatat64 macros.
7fb90fb8
UD
15644 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15645 * dirent/rewinddir.c: Add libc_hidden_def.
15646 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15647 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15648
28377d1b
UD
15649 * include/dirent.h (__alloc_dir): Add flags parameter.
15650 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15651 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15652 __alloc_dir.
15653 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15654 from fdopendir if O_CLOEXEC is already set.
15655
66bdbaa4
AM
156562011-03-15 Alan Modra <amodra@gmail.com>
15657
15658 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15659 l_tls_firstbyte_offset non-zero. Save padding offset in
15660 l_tls_firstbyte_offset for later use.
15661 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15662 freeing static tls block.
15663
95721191
JN
156642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15665
15666 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15667 where #ifdef was intended. The intent is to prevent ARG_MAX from
15668 being defined by the kernel headers.
15669
f87dfb1f
UD
156702011-05-07 Ulrich Drepper <drepper@gmail.com>
15671
15672 [BZ #12734]
15673 * resolv/resolv.h: Define RES_NOTLDQUERY.
15674 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15675 no-tld-query and set RES_NOTLDQUERY.
15676 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15677 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15678 modern BIND to search name as TLD unless forbidden.
15679
47c3cd7a
UD
156802011-05-07 Petr Baudis <pasky@suse.cz>
15681 Ulrich Drepper <drepper@gmail.com>
15682
15683 [BZ #12393]
15684 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15685 (is_trusted_path): ...to here.
c1e9ea35 15686 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15687 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15688 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15689
8a35c912
PP
156902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15691
15692 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15693 __BEGIN/__END_DECLS.
15694
acd41f47
UD
156952011-05-06 Ulrich Drepper <drepper@gmail.com>
15696
15697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15698 NSS_STATUS_NOTFOUND if no record was found.
15699
597df647
AS
157002011-05-05 Andreas Schwab <schwab@redhat.com>
15701
15702 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15703 (headers-not-in-tirpc): Remove rpc/netdb.h
15704 * resolv/netdb.h: Revert last change.
15705
b9af1301
PP
157062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15707
15708 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15709 circular dependency between libgcc.a and libc.a.
15710
4e34d5f5
AS
157112011-05-05 Andreas Schwab <schwab@redhat.com>
15712
15713 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15714 * nis/Makefile: Don't install rpcsvc/*.
15715 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15716 instead of <rpc/types.h>.
15717 (MAXHOSTNAMELEN): Define.
15718
00ee369c
AS
157192011-05-03 Andreas Schwab <schwab@redhat.com>
15720
15721 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15722
0b592a30
MB
157232011-04-28 Maciej Babinski <mbabinski@google.com>
15724
15725 [BZ #12714]
15726 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15727 gethostbyname4_r when IPv6 results are possible.
15728
6e04cbbe
UD
157292011-05-02 Ulrich Drepper <drepper@gmail.com>
15730
15731 [BZ #12723]
15732 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15733 _PC_PIPE_BUF handling.
15734
e4ecafe0
BH
157352011-04-30 Bruno Haible <bruno@clisp.org>
15736
15737 [BZ #12717]
15738 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15739 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15740 to 'int'.
15741 * inet/getnameinfo.c (getnameinfo): Likewise.
15742
125ee683
UD
157432011-04-29 Ulrich Drepper <drepper@gmail.com>
15744
15745 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15746 to groups setting in database lookup.
15747 * nss/nsswitch.conf: Add initgroups entry.
15748
b722481a
EB
157492011-04-22 Ulrich Drepper <drepper@gmail.com>
15750
15751 [BZ #12685]
15752 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15753 mode string.
15754 Patch by Eric Blake <eblake@redhat.com>.
15755
4df46dbd
L
157562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15757
15758 * sunrpc/Makefile (need-export-routines): Add svc_run.
15759 (routines): Remove svc_run.
15760 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15761 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15762 * sunrpc/svc_run.c (svc_run): Likewise.
15763 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15764
e84142d2
UD
157652011-04-21 Ulrich Drepper <drepper@gmail.com>
15766
15767 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15768 problem in reallocation in last patch.
15769
877175d8
UD
157702011-04-20 Ulrich Drepper <drepper@gmail.com>
15771
15772 * sunrpc/Makefile: Move inclusion of Rules.
15773
ab8eed78
UD
157742011-04-19 Ulrich Drepper <drepper@gmail.com>
15775
15776 * nss/nss_files/files-initgroups.c: New file.
15777 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15778 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15779 _nss_files_initgroups_dyn.
15780
e3d8f584
RS
157812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15782
15783 * elf/elf.h (R_ARM_IRELATIVE): Define.
15784
af190f45
UD
157852011-04-19 Ulrich Drepper <drepper@gmail.com>
15786
15787 * po/ru.po: Update from translation team.
15788
53cf59ef
UD
157892011-04-17 Ulrich Drepper <drepper@gmail.com>
15790
15791 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15792 dependencies.
15793
4c559bcd
MF
157942011-02-06 Mike Frysinger <vapier@gentoo.org>
15795
15796 [BZ #12653]
15797 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15798 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15800 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15802
4420675c
AS
158032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15804
15805 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15806 differing bytes.
15807 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15808 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15809 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15810
75ea32ab
UD
158112011-04-17 Ulrich Drepper <drepper@gmail.com>
15812
15813 [BZ #12420]
15814 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15815 storing it.
15816 * stdlib/bug-getcontext.c: New file.
15817 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15818
27390476
AK
158192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15820
15821 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15822 instructions into .machine "z9-109".
15823 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15824 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15825
10442705
AK
158262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15827
15828 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15829 between environment variables and auxiliary vector.
15830
7b57bfe5
UD
158312011-04-16 Ulrich Drepper <drepper@gmail.com>
15832
15833 * Makefile: Add rules to build linkobj/libc.so.
15834 * include/libc-symbols.h: Define libc_hidden_nolink.
15835 * include/rpc/auth.h: Mark functions which are to be hidden.
15836 * include/rpc/auth_des.h: Likewise.
15837 * include/rpc/auth_unix.h: Likewise.
15838 * include/rpc/clnt.h: Likewise.
15839 * include/rpc/des_crypt.h: Likewise.
15840 * include/rpc/key_prot.h: Likewise.
15841 * include/rpc/pmap_clnt.h: Likewise.
15842 * include/rpc/pmap_prot.h: Likewise.
15843 * include/rpc/pmap_rmt.h: Likewise.
15844 * include/rpc/rpc_msg.h: Likewise.
15845 * include/rpc/svc.h: Likewise.
15846 * include/rpc/svc_auth.h: Likewise.
15847 * include/rpc/xdr.h: Likewise.
15848 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15849 * nss/Makefile: Likewise.
15850 * sunrpc/Makefile: Don't install headers. Build library with normal
15851 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15852 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15853 for the compat linking library. Remove use of INTDEF/INTUSE.
15854 * sunrpc/auth_none.c: Likewise.
15855 * sunrpc/auth_unix.c: Likewise.
15856 * sunrpc/authdes_prot.c: Likewise.
15857 * sunrpc/authuxprot.c: Likewise.
15858 * sunrpc/clnt_gen.c: Likewise.
15859 * sunrpc/clnt_perr.c: Likewise.
15860 * sunrpc/clnt_raw.c: Likewise.
15861 * sunrpc/clnt_simp.c: Likewise.
15862 * sunrpc/clnt_tcp.c: Likewise.
15863 * sunrpc/clnt_udp.c: Likewise.
15864 * sunrpc/clnt_unix.c: Likewise.
15865 * sunrpc/des_crypt.c: Likewise.
15866 * sunrpc/des_soft.c: Likewise.
15867 * sunrpc/get_myaddr.c: Likewise.
15868 * sunrpc/key_call.c: Likewise.
15869 * sunrpc/key_prot.c: Likewise.
15870 * sunrpc/netname.c: Likewise.
15871 * sunrpc/pm_getmaps.c: Likewise.
15872 * sunrpc/pm_getport.c: Likewise.
15873 * sunrpc/pmap_clnt.c: Likewise.
15874 * sunrpc/pmap_prot.c: Likewise.
15875 * sunrpc/pmap_prot2.c: Likewise.
15876 * sunrpc/pmap_rmt.c: Likewise.
15877 * sunrpc/publickey.c: Likewise.
15878 * sunrpc/rpc_cmsg.c: Likewise.
15879 * sunrpc/rpc_common.c: Likewise.
15880 * sunrpc/rpc_dtable.c: Likewise.
15881 * sunrpc/rpc_prot.c: Likewise.
15882 * sunrpc/rpc_thread.c: Likewise.
15883 * sunrpc/rtime.c: Likewise.
15884 * sunrpc/svc.c: Likewise.
15885 * sunrpc/svc_auth.c: Likewise.
15886 * sunrpc/svc_authux.c: Likewise.
15887 * sunrpc/svc_raw.c: Likewise.
15888 * sunrpc/svc_run.c: Likewise.
15889 * sunrpc/svc_simple.c: Likewise.
15890 * sunrpc/svc_tcp.c: Likewise.
15891 * sunrpc/svc_udp.c: Likewise.
15892 * sunrpc/svc_unix.c: Likewise.
15893 * sunrpc/svcauth_des.c: Likewise.
15894 * sunrpc/xcrypt.c: Likewise.
15895 * sunrpc/xdr.c: Likewise.
15896 * sunrpc/xdr_array.c: Likewise.
15897 * sunrpc/xdr_float.c: Likewise.
15898 * sunrpc/xdr_intXX_t.c: Likewise.
15899 * sunrpc/xdr_mem.c: Likewise.
15900 * sunrpc/xdr_rec.c: Likewise.
15901 * sunrpc/xdr_ref.c: Likewise.
15902 * sunrpc/xdr_sizeof.c: Likewise.
15903 * sunrpc/xdr_stdio.c: Likewise.
15904
e6c61494
UD
159052011-04-10 Ulrich Drepper <drepper@gmail.com>
15906
15907 [BZ #12650]
15908 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15909 * sysdeps/ia64/dl-tls.h: Likewise.
15910 * sysdeps/powerpc/dl-tls.h: Likewise.
15911 * sysdeps/s390/dl-tls.h: Likewise.
15912 * sysdeps/sh/dl-tls.h: Likewise.
15913 * sysdeps/sparc/dl-tls.h: Likewise.
15914 * sysdeps/x86_64/dl-tls.h: Likewise.
15915 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15916
34fe483e
AS
159172011-03-14 Andreas Schwab <schwab@redhat.com>
15918
15919 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15920 rpath element also skip the following colon.
15921 (expand_dynamic_string_token): Add is_path parameter and pass
15922 down to DL_DST_REQUIRED and _dl_dst_substitute.
15923 (decompose_rpath): Call expand_dynamic_string_token with
15924 non-zero is_path. Ignore empty rpaths.
15925 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15926 with zero is_path.
15927
f12a32e6
AS
159282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15929
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15931 Make cancelable.
15932
38a7d692
UD
159332011-04-09 Ulrich Drepper <drepper@gmail.com>
15934
15935 [BZ #12655]
15936 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15937 Patch by Filipe David Manana <fdmanana@apache.org>.
15938
e451d22b
AS
159392011-04-07 Andreas Schwab <schwab@redhat.com>
15940
15941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15942 Maintain aligned stack.
15943 (CHECK_RSP): Remove unused macro.
15944
dedc7c7b
UD
159452011-04-03 Ulrich Drepper <drepper@gmail.com>
15946
15947 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15948 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15949
94521213
UD
159502011-04-02 Ulrich Drepper <drepper@gmail.com>
15951
15952 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15953
8cb700c0 15954 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15955
0354e355
L
159562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15957
15958 [BZ #12518]
15959 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15960 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15961 * sysdeps/x86_64/memmove.c: New file.
15962 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15963 (memcpy): Renamed to ...
15964 (__new_memcpy): This.
15965 (memcpy): Provide GLIBC_2_14 memcpy.
15966 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15967 (memcpy): Provide GLIBC_2_2_5 memcpy.
15968
8593482f
UD
159692011-04-01 Ulrich Drepper <drepper@gmail.com>
15970
15971 [BZ #12631]
15972 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15973
81a5726b
AS
159742011-03-30 Andreas Schwab <schwab@redhat.com>
15975
15976 * misc/syncfs.c: New file.
15977 * misc/Makefile (routines): Add syncfs.
15978 * posix/unistd.h: Declare syncfs.
15979 * sysdeps/unix/syscalls.list: Add syncfs.
15980
00e5419f
AS
159812011-04-01 Andreas Schwab <schwab@redhat.com>
15982
15983 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15984 open_by_handle_at.
15985 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15986 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15987 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15988 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15989 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15990 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15991 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15992
748876bf
UD
159932011-04-01 Ulrich Drepper <drepper@gmail.com>
15994
658e451d
UD
15995 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15997 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16002
748876bf
UD
16003 * io/Makefile: Compile fallocate.c, fallocate64.c, and
16004 sync_file_range.c with -fexceptions.
16005 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
16006 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
16007 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16008 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16009 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16010 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
16012 sync_file_range as cancellation point
16013 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
16014 now a wrapper around __call_sync_file_range with cancellation handling.
16015 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
16016 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
16017 function name to __call_sync_file_range.
16018 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
16019 Add call_sync_file_range.
748876bf 16020
6e63d5e1
AS
160212011-04-01 Andreas Schwab <schwab@redhat.com>
16022
16023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 16024 bits/timex.h.
6e63d5e1 16025
46998f74
UD
160262011-04-01 Ulrich Drepper <drepper@gmail.com>
16027
4c1423ed
UD
16028 * iconv/iconv.h: Fix typo in comment.
16029 * io/fcntl.h: Likewise.
16030 * libio/stdio.h: Likewise.
16031 * posix/spawn.h: Likewise.
16032 * posix/unistd.h: Likewise.
16033 * stdlib/stdlib.h: Likewise.
16034 * time/time.h: Likewise.
16035 * wcsmbs/wchar.h: Likewise.
16036
158648c0
UD
16037 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16038 open_by_handle): Add.
16039 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16040 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16041 Augment a few comments.
16042 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16046 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16047 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16048 open_by_handle.
16049
46998f74
UD
16050 * io/fcntl.h (AT_EMPTY_PATH): Define.
16051
83fe108b
UD
160522011-03-30 Ulrich Drepper <drepper@gmail.com>
16053
16054 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16055 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16056 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16057 to...
16058 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16059 * Versions.def: Add GLIBC_2.14.
16060 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16061 Export.
83fe108b 16062
bb242059
UD
160632011-03-22 Ulrich Drepper <drepper@gmail.com>
16064
16065 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16066 round counter.
16067 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16068
c97a1282
L
160692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16070
16071 [BZ #12597]
16072 * string/test-strncmp.c (do_page_test): New function.
16073 (check2): Likewise.
16074 (test_main): Call check2.
16075 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16076
2a115601
UD
160772011-03-20 Ulrich Drepper <drepper@gmail.com>
16078
16079 [BZ #12587]
16080 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16081 Handle cache information in CPU leaf 4.
16082 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16083
8126d904
UD
160842011-03-18 Ulrich Drepper <drepper@gmail.com>
16085
042c49c6 16086 [BZ #12583]
8126d904
UD
16087 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16088 character representation.
16089 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16090
ccfe366e
RA
160912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16092
16093 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16094 END(__isnan) to END(__isnanf) to match function entry point/label
16095 EALIGN(__isnanf,...).
16096
c6e13027
JJ
160972011-03-10 Jakub Jelinek <jakub@redhat.com>
16098
16099 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16100
33f85a3f
UD
161012011-03-10 Ulrich Drepper <drepper@gmail.com>
16102
028478fa
UD
16103 [BZ #12510]
16104 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16105 copy from the symbol referenced in the relocation to initialize the
16106 used variable.
16107 Patch by Piotr Bury <pbury@goahead.com>.
16108 * elf/Makefile: Add rules to build and tst-unique3.
16109 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16110 * elf/tst-unique3.cc: New file.
16111 * elf/tst-unique3.h: New file.
16112 * elf/tst-unique3lib.cc: New file.
16113 * elf/tst-unique3lib2.cc: New file.
16114
33f85a3f
UD
16115 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16116
03592fc7
MF
161172011-03-10 Mike Frysinger <vapier@gentoo.org>
16118
16119 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16120 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16121 to _start.
03592fc7 16122
6a5ee102
UD
161232011-03-06 Ulrich Drepper <drepper@gmail.com>
16124
16125 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16126 to-be-loaded object along a path to loader is ld.so.
16127
7e4ba49c
HJ
161282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16129 Ulrich Drepper <drepper@gmail.com>
16130
16131 * sysdeps/x86_64/memset.S: After aligning destination, code
16132 branches to different locations depending on the value of
16133 misalignment, when multiarch is enabled. Fix this.
16134
161352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16136
16137 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16138 Set _x86_64_preferred_memory_instruction for AMD processsors.
16139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16140 Set bit_Prefer_SSE_for_memop for AMD processors.
16141
13a804de
UD
161422011-03-04 Ulrich Drepper <drepper@gmail.com>
16143
16144 * libio/fmemopen.c (fmemopen): Optimize a bit.
16145
9d25c392
AS
161462011-03-03 Andreas Schwab <schwab@redhat.com>
16147
16148 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16149
a5543c6a
RM
161502011-03-03 Roland McGrath <roland@redhat.com>
16151
16152 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16153
012d35f7
DM
161542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16155
7e4ba49c 16156 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16157 __bzero_ultra1 instead of __memset_ultra1.
16158
4bff6e01
AS
161592011-02-23 Andreas Schwab <schwab@redhat.com>
16160 Ulrich Drepper <drepper@gmail.com>
16161
16162 [BZ #12509]
16163 * include/link.h (struct link_map): Add l_orig_initfini.
16164 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16165 returning unsuccessfully.
16166 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16167 close of a file loaded at startup, restore the original l_initfini
16168 list.
16169 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16170 list, store the pointer.
16171 * elf/Makefile ($(objpfx)noload-mem): New rule.
16172 (noload-ENV): Define.
16173 (tests): Add $(objpfx)noload-mem.
16174 * elf/noload.c: Include <memcheck.h>.
16175 (main): Call mtrace. Close all opened handles.
16176
f2092faf
AS
161772011-02-17 Andreas Schwab <schwab@redhat.com>
16178
16179 [BZ #12454]
16180 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16181 dependencies are missing.
16182
6c8a2e88
ST
161832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16184
f2092faf 16185 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16186 Hurd needs munmap.
16187 * sysdeps/mach/hurd/ifreq.h: New file.
16188
84a42118
PB
161892011-01-27 Petr Baudis <pasky@suse.cz>
16190 Ulrich Drepper <drepper@gmail.com>
16191
071f805e 16192 [BZ 12445]#
84a42118
PB
16193 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16194 to extend_alloca().
16195 * stdio-common/bug23.c: New file.
16196 * stdio-common/Makefile (tests): Add bug23.
16197
e23fe25b
AS
161982010-09-28 Andreas Schwab <schwab@redhat.com>
16199 Ulrich Drepper <drepper@gmail.com>
16200
16201 [BZ #12489]
16202 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16203 before performing relro protection. At old place add assertion
16204 to make sure nothing changed.
16205
d3f02e10
NS
162062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16207 Glauber de Oliveira Costa <glommer@gmail.com>
16208
16209 * elf/elf.h: Add new ARM TLS relocs.
16210
d55fd7a5
RA
162112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16212
16213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16214 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16215 cast from r3.
16216 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16217 'tests' variable.
16218 * sysdeps/wordsize-64/tst-writev.c: New file.
16219
2206397e
RA
162202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16221
16222 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16223 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16224 insns in _dl_start to prevent a TOC reference before relocs are
16225 resolved.
16226
e9433893
UD
162272011-02-15 Ulrich Drepper <drepper@gmail.com>
16228
16229 [BZ #12469]
16230 * Makeconfig: Remove RANLIB definition.
16231 * Makerules: Don't use RANLIB.
16232 * aclocal.m4: Remove ranlib test.
16233 * configure.in: No need to check for ranlib.
16234 * elf/rtld-Rules: Don't use RANLIB.
16235
f75286c6
ST
162362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16237
8e31c82d
ST
16238 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16239 protection macro.
16240 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16241 inclusion protection macro.
16242
f75286c6
ST
16243 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16244 SIGRTMIN and SIGRTMAX and print information in that case only when
16245 SIGRTMIN is defined.
16246
c1d0e639
JJ
162472011-02-11 Jakub Jelinek <jakub@redhat.com>
16248
16249 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16250 arginfo fn returning -1.
16251
16252 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16253 and thousands string is zero terminated.
16254
edf9294e
AS
162552011-02-03 Andreas Schwab <schwab@redhat.com>
16256
16257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16258 sysdeps/unix/sysv/linux/bits/socket.h.
16259
2b7e92df
ST
162602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16261
edf9294e
AS
16262 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16263 (__CPU_COUNT): Remove old macros.
16264 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16265 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16266 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16267 (__sched_cpualloc, __sched_cpufree): Add declarations.
16268
a4c7ea7b
UD
162692011-02-05 Ulrich Drepper <drepper@gmail.com>
16270
16271 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16272 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16273 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16274 (readdhstai): Return value of addhstaiX call.
16275 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16276 (addgrbyX): Return value returned by cache_addgr.
16277 (readdgrbyname): Return value returned by addgrbyX.
16278 (readdgrbygid): Likewise.
16279 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16280 (addpwbyX): Return value returned by cache_addpw.
16281 (readdpwbyname): Return value returned by addhstbyX.
16282 (readdpwbyuid): Likewise.
16283 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16284 (addservbyX): Return value returned by cache_addserv.
16285 (readdservbyname): Return value returned by addservbyX:
16286 (readdservbyport): Likewise.
16287 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16288 (addhstbyX): Return value returned by cache_addhst.
16289 (readdhstbyname): Return value returned by addhstbyX.
16290 (readdhstbyaddr): Likewise.
16291 (readdhstbynamev6): Likewise.
16292 (readdhstbyaddrv6): Likewise.
16293 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16294 (readdinitgroups): Return value returned by addinitgroupsX.
16295 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16296 (prune_cache): Keep track of timeout value of re-added entries.
16297 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16298 * nscd/nscd.h: Adjust prototypes of readd* functions.
16299
a0bf67cc
RM
163002011-02-04 Roland McGrath <roland@redhat.com>
16301
16302 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16303 (nis_stats): Likewise.
16304 * nis/nis_modify.c (nis_modify): Likewise.
16305 * nis/nis_remove.c (nis_remove): Likewise.
16306 * nis/nis_add.c (nis_add): Likewise.
16307
16308 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16309
16310 * posix/fnmatch_loop.c: Add some consts.
16311
16312 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16313
435b95eb
L
163142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16315
16316 [BZ #12460]
16317 * config.make.in (config-cflags-novzeroupper): Define.
16318 * configure.in: Substitute libc_cv_cc_novzeroupper.
16319 * elf/Makefile (AVX-CFLAGS): Define.
16320 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16321 (CFLAGS-tst-auditmod4a.c): Likewise.
16322 (CFLAGS-tst-auditmod4b.c): Likewise.
16323 (CFLAGS-tst-auditmod6b.c): Likewise.
16324 (CFLAGS-tst-auditmod6c.c): Likewise.
16325 (CFLAGS-tst-auditmod7b.c): Likewise.
16326 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16327
8517b15e
UD
163282011-02-02 Ulrich Drepper <drepper@gmail.com>
16329
16330 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16331 function to the callback.
16332 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16333
10a656fe
AS
163342011-02-02 Andreas Schwab <schwab@redhat.com>
16335
16336 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16337 of errno.
16338
968dad0a
UD
163392011-01-19 Ulrich Drepper <drepper@gmail.com>
16340
9f94d2ea 16341 [BZ #11724]
968dad0a
UD
16342 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16343 of constructors.
16344 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16345 of destructors.
16346 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16347
16348 [BZ #11724]
16349 * elf/Makefile: Add rules to build and run new test.
16350 * elf/tst-initorder.c: New file.
16351 * elf/tst-initorder.exp: New file.
16352 * elf/tst-initordera1.c: New file.
16353 * elf/tst-initordera2.c: New file.
16354 * elf/tst-initordera3.c: New file.
16355 * elf/tst-initordera4.c: New file.
16356 * elf/tst-initorderb1.c: New file.
16357 * elf/tst-initorderb2.c: New file.
16358 * elf/tst-order-a1.c: New file.
16359 * elf/tst-order-a2.c: New file.
16360 * elf/tst-order-a3.c: New file.
16361 * elf/tst-order-a4.c: New file.
16362 * elf/tst-order-b1.c: New file.
16363 * elf/tst-order-b2.c: New file.
16364 * elf/tst-order-main.c: New file.
16365 New test case by George Gensure <werkt0@gmail.com>.
16366
86e92359
UD
163672010-10-01 Andreas Schwab <schwab@redhat.com>
16368
16369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16370 decoding ACE if AI_CANONIDN.
16371
5d5732b0
UD
163722011-01-18 Ulrich Drepper <drepper@gmail.com>
16373
16374 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16375
a77e8cbc
UD
163762011-01-17 Ulrich Drepper <drepper@gmail.com>
16377
6392473f
UD
16378 * version.h (RELEASE): Bump for 2.13 release.
16379 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16380
620a0529
UD
16381 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16382
18ba70a5
UD
16383 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16384 MADV_NOHUGEPAGE.
32465c3e
UD
16385 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16386 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16387 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16391
c0dafcf1
UD
16392 * posix/getconf.c: Update copyright year.
16393 * catgets/gencat.c: Likewise.
16394 * csu/version.c: Likewise.
16395 * debug/catchsegv.sh: Likewise.
16396 * debug/xtrace.sh: Likewise.
16397 * elf/ldconfig.c: Likewise.
16398 * elf/ldd.bash.in: Likewise.
16399 * elf/sprof.c (print_version): Likewise.
16400 * iconv/iconv_prog.c: Likewise.
16401 * iconv/iconvconfig.c: Likewise.
16402 * locale/programs/locale.c: Likewise.
16403 * locale/programs/localedef.c: Likewise.
16404 * malloc/memusage.sh: Likewise.
16405 * malloc/mtrace.pl: Likewise.
16406 * nscd/nscd.c (print_version): Likewise.
16407 * nss/getent.c: Likewise.
16408
a77e8cbc
UD
16409 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16410 PF_CAIF, and PF_ALG.
16411 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16412
77e8bddf
AS
164132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16414
1f20b93a
AS
16415 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16416 (modules-names): Use them.
16417 (ifunc-test-modules, ifunc-pie-tests): Define.
16418 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16419 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16420 (test-extras): Likewise.
16421 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16422 $(compile-command.c).
16423 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16424 (all-built-dso): Define.
16425 (check-textrel.out, check-execstack.out): Depend on it.
16426
77e8bddf
AS
16427 * configure.in: Don't override --enable-multi-arch.
16428
bc425b33
UD
164292011-01-15 Ulrich Drepper <drepper@gmail.com>
16430
16431 [BZ #6812]
16432 * nscd/hstcache.c (tryagain): Define.
16433 (cache_addhst): Return tryagain not notfound for temporary errors.
16434 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16435 failed.
16436
794c3ad3
UD
164372011-01-14 Ulrich Drepper <drepper@gmail.com>
16438
70181fdd
UD
16439 [BZ #10563]
16440 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16441 to make the syscall.
16442 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16443
794c3ad3
UD
16444 [BZ #12378]
16445 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16446 and fall back to matching as normal character if the string ends before
16447 the matching ']' is found. This is what POSIX requires.
16448 * posix/testfnm.c: Adjust test result.
16449 * posix/globtest.sh: Adjust test result. Add new test.
16450 * posix/tst-fnmatch.input: Likewise.
16451 * posix/tst-fnmatch2.c: Add new test.
16452
68dc9497
AS
164532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16454
16455 * elf/Makefile (check-execstack): Revert last change. Depend on
16456 check-execstack.h.
16457 (check-execstack.h): New target.
16458 (generated): Add check-execstack.h.
16459 * elf/check-execstack.c: Include "check-execstack.h".
16460 (main): Revert last change.
16461 (handle_file): Return zero if GNU_STACK is absent and
16462 DEFAULT_STACK_PERMS doesn't include PF_X.
16463
451f001b
UD
164642011-01-13 Ulrich Drepper <drepper@gmail.com>
16465
cfa28e56
UD
16466 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16467 in child fails because the descriptor is already closed.
8cf8ce17
UD
16468 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16469 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16470 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16471
1086d70d
UD
16472 [BZ #12397]
16473 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16474 syscall.
16475
451f001b
UD
16476 [BZ #10484]
16477 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16478 temporary buffer used to handle multi lookups locally.
a85b5cb4 16479 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16480
08769175
UD
164812011-01-12 Ulrich Drepper <drepper@gmail.com>
16482
16483 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16484 loader is ld.so.
16485
5e49c52e
UD
164862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16487
16488 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16489 alignment for SSE2.
16490
60522a5f
UD
164912011-01-12 Ulrich Drepper <drepper@gmail.com>
16492
16493 [BZ #12394]
16494 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16495 characters. When rounding increased number of integer digits recompute
16496 number of groups.
16497 * stdio-common/tst-grouping.c: New file.
16498 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16499
f257bbd7
UD
165002011-01-09 Ulrich Drepper <drepper@gmail.com>
16501
16502 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16503 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16504
16505 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16506 void.
16507 * bits/select.h: Likewise.
16508
fa9c15cb
UD
165092011-01-08 Ulrich Drepper <drepper@gmail.com>
16510
16511 * po/ja.po: Update from translation team.
16512
16c2895f
DM
165132011-01-04 David S. Miller <davem@sunset.davemloft.net>
16514
16515 [BZ #11155]
16516 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16517 implementation just like for lxstat, fxstatat, et al.
16518
2543fef2
JM
165192010-12-27 Jim Meyering <meyering@redhat.com>
16520
16521 [BZ #12348]
16522 * posix/regexec.c (build_trtable): Return failure indication upon
16523 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16524
98727dbe
UD
165252010-12-25 Ulrich Drepper <drepper@gmail.com>
16526
5bd6dc5c
UD
16527 [BZ #12201]
16528 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16529 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16530 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16531 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16532
97983464
UD
16533 [BZ #12207]
16534 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16535
98727dbe
UD
16536 [BZ #12204]
16537 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16538 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16539
4a531bb0
L
165402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16541
16542 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16543 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16544 script has SORT_BY_INIT_PRIORITY.
16545 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16546 NO_CTORS_DTORS_SECTIONS is defined.
16547 * elf/soinit.c: Likewise.
16548 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16549 NO_CTORS_DTORS_SECTIONS is defined.
16550 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16551 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16552 * sysdeps/sh/init-first.c: Likewise.
16553 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16554
07eb4b71
UD
165552010-12-24 Ulrich Drepper <drepper@gmail.com>
16556
16557 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16558 always use the slow path.
16559
30950a5f
RA
165602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16561
16562 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16563 similar rule which adds the sysdep directories to the header search in
16564 order to pick up the correct platform stackinfo.h.
16565 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16566 perform test if it is, otherwise return successfully without testing.
16567 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16568 DEFAULT_STACK_PERMS define in stackinfo.h.
16569 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16570 defined in stackinfo.h.
16571 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16572 DEFAULT_STACK_PERMS defined in stackinfo.h.
16573 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16574 * sysdeps/ia64/stackinfo.h: Likewise.
16575 * sysdeps/s390/stackinfo.h: Likewise.
16576 * sysdeps/sh/stackinfo.h: Likewise.
16577 * sysdeps/sparc/stackinfo.h: Likewise.
16578 * sysdeps/x86_64/stackinfo.h: Likewise.
16579 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16580 PF_X for powerpc64. Retain PF_X for powerpc32.
16581
db753e2c
UD
165822010-12-19 Ulrich Drepper <drepper@gmail.com>
16583
14b697f7
UD
16584 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16585 accurately.
db753e2c
UD
16586 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16587 GETDENTS_64BIT_ALIGNED.
16588
28300719
UD
165892010-12-14 Ulrich Drepper <dreper@gmail.com>
16590
14b697f7 16591 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16592
4f197237
AS
165932010-12-10 Andreas Schwab <schwab@redhat.com>
16594
dbb0472f
AS
16595 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16596 _GNU_SOURCE.
16597
4f197237
AS
16598 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16599 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16600 Remove __restrict.
16601 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16602 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16603
fb88ac72
UD
166042010-12-09 Ulrich Drepper <drepper@gmail.com>
16605
16606 [BZ #11655]
16607 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16608 are initialized.
16609
42acbb92
JJ
166102010-12-09 Jakub Jelinek <jakub@redhat.com>
16611
16612 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16613
c038d98d
UD
166142010-12-03 Ulrich Drepper <drepper@gmail.com>
16615
16616 * po/it.po: Update from translation team.
16617
3a4a2499
L
166182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16619
16620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16621 unused codes.
16622
1e24cf6e
UD
166232010-11-30 Ulrich Drepper <drepper@gmail.com>
16624
16625 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16626
a7690819
AS
166272010-11-24 Andreas Schwab <schwab@redhat.com>
16628
16629 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16630 specially.
16631 (gaih_getanswer_slice): Likewise.
16632
3bf8d1b1
JJ
166332010-10-20 Jakub Jelinek <jakub@redhat.com>
16634
16635 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16636
6db52fbb
PB
166372010-05-31 Petr Baudis <pasky@suse.cz>
16638
16639 [BZ #11149]
16640 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16641 silently even in the chroot mode.
16642
eaca7569
UD
166432010-11-22 Ulrich Drepper <drepper@gmail.com>
16644
16645 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16646 last patch a bit. Pretty printing
16647
3056dcdb
UD
166482010-05-31 Petr Baudis <pasky@suse.cz>
16649
16650 [BZ #10085]
16651 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16652 initialization of skip_initgroups_dyn.
16653
cf7c9078
UD
166542010-11-19 Ulrich Drepper <drepper@gmail.com>
16655
16656 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16658
a1fb5e3e
UD
166592010-11-16 Ulrich Drepper <drepper@gmail.com>
16660
16661 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16662
3540d66b
AS
166632010-11-11 Andreas Schwab <schwab@redhat.com>
16664
16665 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16666 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16667 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16668 ($(objpfx)tst-fnmatch-mem): New rule.
16669 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16670 * posix/tst-fnmatch.c (main): Call mtrace.
16671
13b69574
L
166722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16673
16674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16675 Support Intel processor model 6 and model 0x2c.
16676
da93d214
LM
166772010-11-10 Luis Machado <luisgpm@br.ibm.com>
16678
16679 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16680 signed comparison.
16681
8ca52c6e
L
166822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16683
16684 [BZ #12205]
16685 * string/test-strncasecmp.c (check_result): New function.
16686 (do_one_test): Use it.
16687 (check1): New function.
16688 (test_main): Use it.
16689 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16690 Support strcasecmp and strncasecmp.
16691
69da074d
UD
166922010-11-08 Ulrich Drepper <drepper@gmail.com>
16693
16694 [BZ #12194]
16695 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16696 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16697
ff02d528
L
166982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16699
16700 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16701 IFUNC support.
16702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16703 memset-x86-64.
16704 * sysdeps/x86_64/multiarch/bzero.S: New file.
16705 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16706 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16707 * sysdeps/x86_64/multiarch/memset.S: New file.
16708 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16710 Set bit_Prefer_SSE_for_memop for Intel processors.
16711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16712 Define.
16713 (index_Prefer_SSE_for_memop): Define.
16714 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16715
344d0b54
LM
167162010-11-04 Luis Machado <luisgpm@br.ibm.com>
16717
16718 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16719 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16720
c0dde15b
UD
167212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16722
16723 [BZ #12191]
16724 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16725 (__x86_64_raw_data_cache_size_half): Likewise.
16726 (__x86_64_raw_shared_cache_size): Likewise.
16727 (__x86_64_raw_shared_cache_size_half): Likewise.
16728
16729 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16734 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16735 and __x86_64_raw_shared_cache_size_half. Round
16736 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16737 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16738 to multiple of 256 bytes.
16739
0e516e0e
MS
167402010-11-03 Ulrich Drepper <drepper@gmail.com>
16741
16742 [BZ #12167]
16743 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16744 of inacessible symlinks. Verify result of symlink before returning it.
16745 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16746 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16747
0e012e87
ER
167482010-10-28 Erich Ritz <erichritz@gmail.com>
16749
16750 * math/math.h (isinf): Fix typo in comment.
16751
de0ff7bc
UD
167522010-11-01 Ulrich Drepper <drepper@gmail.com>
16753
16754 * po/da.po: Update from translation team.
16755
fa41c84d
UD
167562010-10-26 Ulrich Drepper <drepper@gmail.com>
16757
16758 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16759 is added to the list.
16760
f0967738
AK
167612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16762 Ulrich Drepper <drepper@gmail.com>
16763
16764 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16765 the global list here. Move code to...
16766 (_dl_add_to_namespace_list): ...here. New function.
16767 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16768 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16769 * elf/dl-load.c (lose): Don't remove the element from the list.
16770 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16771 (_dl_map_object): Likewise.
16772
167732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16774
16775 [BZ #12159]
16776 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16777 into all bytes of SSE register.
16778 Patch by Richard Li <richardpku@gmail.com>.
16779
f0967738 167802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16781
16782 [BZ #12140]
16783 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16784 perturbing.
16785
d0b9e94f
MB
167862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16787
16788 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16789 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16790 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16791 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16793 submachine.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16795
8e9f92e9
AS
167962010-10-22 Andreas Schwab <schwab@redhat.com>
16797
16798 * include/dlfcn.h (__RTLD_SECURE): Define.
16799 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16800 mode & __RTLD_SECURE instead.
16801 (open_path): Rename preloaded parameter to secure.
16802 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16803 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16804 * elf/dl-deps.c (openaux): Likewise.
16805 * elf/rtld.c (struct map_args): Remove is_preloaded.
16806 (map_doit): Don't use it.
16807 (dl_main): Likewise.
16808 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16809 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16810
bc96fbda
AS
168112010-09-09 Andreas Schwab <schwab@redhat.com>
16812
16813 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16814 (sysd-rules-targets): Remove duplicates.
16815 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16816 rtld-%.$o dependency.
16817
22cd1c9b
AS
168182010-10-18 Andreas Schwab <schwab@redhat.com>
16819
16820 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16821 _dl_map_object do it.
16822
18edac48
UD
168232010-10-19 Ulrich Drepper <drepper@gmail.com>
16824
16825 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16826 fast fma builtins, define the macros in the C99 standard.
16827 (FP_FAST_FMAF): Likewise.
16828 (FP_FAST_FMAL): Likewise.
16829 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16830
16831 * bits/mathdef.h: Update copyright year.
16832 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16833
d2050124
MM
168342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16835
16836 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16837 builtins, define the macros in the C99 standard.
16838 (FP_FAST_FMAF): Likewise.
16839 (FP_FAST_FMAL): Likewise.
16840 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16841 multiply/add.
16842 (FP_FAST_FMAF): Likewise.
16843
475facd1
JJ
168442010-10-15 Jakub Jelinek <jakub@redhat.com>
16845
16846 [BZ #3268]
16847 * math/libm-test.inc (fma_test): Some new testcases.
16848 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16849 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16850 y and infinite z. Do multiplication by C already in long double.
16851 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16853 y and infinite z. Do bitwise or of inexact bit into u.d.
16854 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16855 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16856 * sysdeps/i386/fpu/s_fma.S: Removed.
16857 * sysdeps/i386/fpu/s_fmal.S: Removed.
16858
7c08a05c
JJ
168592010-10-16 Jakub Jelinek <jakub@redhat.com>
16860
16861 [BZ #3268]
16862 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16864 computation is not scheduled after fetestexcept. Fix value
16865 of minimum denormal long double.
16866
f3f7372d
JJ
168672010-10-14 Jakub Jelinek <jakub@redhat.com>
16868
16869 [BZ #3268]
16870 * math/libm-test.inc (fma_test): Add some more tests.
16871 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16872 correctly.
16873
14d43591
AS
168742010-10-15 Andreas Schwab <schwab@redhat.com>
16875
16876 * scripts/data/localplt-s390-linux-gnu.data: New file.
16877 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16878
5e908464
JJ
168792010-10-13 Jakub Jelinek <jakub@redhat.com>
16880
16881 [BZ #3268]
16882 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16883 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16884 instead of dbl-64.
16885 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16886 inlines.
16887 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16889 if one of x and y is very large and the other is subnormal.
16890 * sysdeps/s390/fpu/s_fmaf.c: New file.
16891 * sysdeps/s390/fpu/s_fma.c: New file.
16892 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16893 * sysdeps/powerpc/fpu/s_fma.S: New file.
16894 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16895 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16896 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16897
168982010-10-12 Jakub Jelinek <jakub@redhat.com>
16899
16900 [BZ #3268]
16901 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16902 fma tests.
16903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16904 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16905 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16906 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16907 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16908 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16909 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16910
b833d51f
UD
169112010-10-12 Ulrich Drepper <drepper@redhat.com>
16912
16913 [BZ #12078]
16914 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16915 * posix/bug-regex31.input: Add test case.
16916
1751705d
UD
169172010-10-11 Ulrich Drepper <drepper@gmail.com>
16918
e9b9cbf5
UD
16919 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16920 * posix/bug-regex31.input: New file.
16921
16922 [BZ #12078]
16923 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16924 (parse_sub_exp): Fix last change, use postorder.
16925
ef06edbe
UD
16926 * posix/bug-regex31.c: New file.
16927 * posix/Makefile: Add rules to build and run bug-regex31.
16928
a129c80d
UD
16929 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16930
16931 [BZ #12078]
16932 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16933
b76b818e
UD
16934 [BZ #12108]
16935 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16936 to have entries in sys_siglist.
16937
1751705d
UD
16938 [BZ #12093]
16939 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16940 be NULL.
16941
9ff8d36f
JJ
169422010-10-07 Jakub Jelinek <jakub@redhat.com>
16943
16944 [BZ #3268]
16945 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16946 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16947 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16948 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16949 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16950 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16951 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16952 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16953 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16954 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16955 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16956 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16957 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16958 * math/ftestexcept.c (fetestexcept): Likewise.
16959 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16960 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16961 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16962 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16963 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16964 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16965 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16966
af325969
UD
169672010-10-11 Ulrich Drepper <drepper@gmail.com>
16968
c579b202 16969 [BZ #12107]
af325969
UD
16970 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16971 newline.
16972
67a67b95
UD
169732010-10-06 Ulrich Drepper <drepper@gmail.com>
16974
16975 * string/bug-strstr1.c: New file.
16976 * string/Makefile: Add rules to build and run bug-strstr1.
16977
5fb308bc
EB
169782010-10-05 Eric Blake <eblake@redhat.com>
16979
16980 [BZ #12092]
16981 * string/str-two-way.h (two_way_long_needle): Always clear memory
16982 when skipping input due to the shift table.
16983
45db99c7
UD
169842010-10-03 Ulrich Drepper <drepper@gmail.com>
16985
3b111893
UD
16986 [BZ #12005]
16987 * malloc/mcheck.c: Handle large requests.
16988
45db99c7
UD
16989 [BZ #12077]
16990 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16991 for strncmp and strncasecmp.
16992 * string/stratcliff.c: Add tests for strcmp and strncmp.
16993 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16994
cf7a1eb8
NI
169952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16996
16997 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16998 __set_fpscr.
16999
6484ba5e
AJ
170002010-09-30 Andreas Jaeger <aj@suse.de>
17001
17002 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
17003 (CGROUP_SUPER_MAGIC): Define.
17004 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17005 Handle btrfs and cgroup file systems.
17006 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17007 Likewise.
17008
91c42559
LM
170092010-09-27 Luis Machado <luisgpm@br.ibm.com>
17010
17011 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
17012 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
17013
87a97932
AK
170142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17015
17016 [BZ #12067]
17017 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
17018 trying to locate the ELF header.
17019
c21cc9bc
AS
170202010-09-27 Andreas Schwab <schwab@redhat.com>
17021
17022 [BZ #11611]
17023 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
17024 Mask out sign-bit copies when constructing f_fsid.
17025
315970f6
PB
170262010-09-24 Petr Baudis <pasky@suse.cz>
17027
17028 * debug/stack_chk_fail_local.c: Add missing licence exception.
17029 * debug/warning-nop.c: Likewise.
17030
1ac7a2c7
JM
170312010-09-15 Joseph Myers <joseph@codesourcery.com>
17032
17033 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
17034 implementing getdents64 using getdents syscall, set d_type if
17035 __ASSUME_GETDENTS32_D_TYPE.
17036
56801c50
AS
170372010-09-16 Andreas Schwab <schwab@redhat.com>
17038
17039 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17040 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17041
dda51327
UD
170422010-09-21 Ulrich Drepper <drepper@redhat.com>
17043
17044 [BZ #12037]
17045 * posix/unistd.h: Undo change of feature selection for ftruncate from
17046 2010-01-11.
17047
8ffcee4a
UD
170482010-09-20 Ulrich Drepper <drepper@redhat.com>
17049
a545ecd9 17050 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17051 detection.
17052
e24f0a8b
AS
170532010-09-20 Andreas Schwab <schwab@redhat.com>
17054
17055 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17056 fanotify_mark.
17057 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17058
7291c56f
AS
170592010-09-14 Andreas Schwab <schwab@redhat.com>
17060
17061 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17062 variables after CHECK_SP call.
17063 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17064
bc5fb037
AS
170652010-09-13 Andreas Schwab <schwab@redhat.com>
17066 Ulrich Drepper <drepper@redhat.com>
17067
17068 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17069 re-relocationg ld.so.
17070 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17071 _dl_init_paths call.
17072 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17073 here anymore.
17074
e66e7419
UD
170752010-09-14 Ulrich Drepper <drepper@redhat.com>
17076
17077 * resolv/res_init.c (__res_vinit): Count the default server we added.
17078
c044aa75
CLT
170792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17080 Ulrich Drepper <drepper@redhat.com>
17081
17082 [BZ #11968]
17083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17084 (____longjmp_chk): Use %ebx for saving value across system call.
17085 Add unwind info.
17086
32cf4069
AS
170872010-09-06 Andreas Schwab <schwab@redhat.com>
17088
17089 * manual/Makefile: Don't mix pattern rules with normal rules.
17090
817328ee
AS
170912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17092
17093 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17094 operation.
17095 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17096 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17097 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17098 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17099 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17100 Likewise.
17101
29fddf61
UD
171022010-09-04 Ulrich Drepper <drepper@redhat.com>
17103
17104 [BZ #11979]
17105 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17106 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17107
0959ffc9
UD
171082010-09-02 Ulrich Drepper <drepper@redhat.com>
17109
17110 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17111 * sysdeps/x86_64/addmul_1.S: Likewise.
17112 * sysdeps/x86_64/lshift.S: Likewise.
17113 * sysdeps/x86_64/mul_1.S: Likewise.
17114 * sysdeps/x86_64/rshift.S: Likewise.
17115 * sysdeps/x86_64/sub_n.S: Likewise.
17116 * sysdeps/x86_64/submul_1.S: Likewise.
17117
ece29840
ST
171182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17119
0959ffc9
UD
17120 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17121 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17122 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17123 * bits/sched.h [__need_schedparam]
ece29840 17124 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17125 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17126 (__defined_schedparam): Define to 1.
ece29840
ST
17127 (__sched_param): New structure, identical to sched_param.
17128 (__need_schedparam): Undefine.
17129
e53a31fe
MF
171302010-08-31 Mike Frysinger <vapier@gentoo.org>
17131
fdc0c10d
MF
17132 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17133 (epoll_create1): Declare.
17134
e53a31fe
MF
17135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17136
a726d796
AS
171372010-08-31 Andreas Schwab <schwab@redhat.com>
17138
17139 [BZ #7066]
17140 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17141 shifting retval into place.
17142
2f3e3dc7
UD
171432010-09-01 Ulrich Drepper <drepper@redhat.com>
17144
f2933da9
UD
17145 * nis/rpcsvc/nis.h: Update copyright notice.
17146 * nis/rpcsvc/nis.x: Likewise.
17147 * nis/rpcsvc/nis_callback.h: Likewise.
17148 * nis/rpcsvc/nis_callback.x: Likewise.
17149 * nis/rpcsvc/nis_object.x: Likewise.
17150 * nis/rpcsvc/nis_tags.h: Likewise.
17151 * nis/rpcsvc/yp.h: Likewise.
17152 * nis/rpcsvc/yp.x: Likewise.
17153 * nis/rpcsvc/ypupd.h: Likewise.
17154 * nis/yp_xdr.c: Likewise.
17155 * nis/ypupdate_xdr.c: Likewise.
17156
2f3e3dc7
UD
17157 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17158 mainly the body of pmap_getport. Add parameters to specify timeouts.
17159 (pmap_getport): Use __libc_rpc_getport.
17160 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17161 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17162 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17163
f3dcc2f9
AS
171642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17165
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17167 fanotify_mark.
17168
6d34eb5b
RM
171692010-08-27 Roland McGrath <roland@redhat.com>
17170
17171 * sysdeps/i386/i686/multiarch/Makefile
17172 (CFLAGS-varshift.c): New variable.
17173
9ea3de11
UD
171742010-08-27 Ulrich Drepper <drepper@redhat.com>
17175
c96d23fc
UD
17176 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17177 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17178
9ea3de11
UD
17179 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17180
17181 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17182
623aac7f
L
171832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17184
17185 * sysdeps/x86_64/strlen.S: Unroll the loop.
17186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17187 strlen-sse2 strlen-sse2-bsf.
17188 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17189 __strlen_no_bsf if bit_Slow_BSF is set.
17190 (__strlen_sse42): Removed.
17191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17192 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17193
8b2b7715
RM
171942010-08-25 Roland McGrath <roland@redhat.com>
17195
17196 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17197 * sysdeps/x86_64/multiarch/varshift.c: New file.
17198 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17199 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17200 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17201 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17202
e73015f2
L
172032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17204
17205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17206 strlen-sse2 strlen-sse2-bsf.
17207 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17208 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17209 (__strlen_sse2): Removed.
17210 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17211 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17213 bit_Slow_BSF for Atom.
17214 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17215 (index_Slow_BSF): Define.
17216 (HAS_SLOW_BSF): Define.
17217
df24a73e
UD
172182010-08-25 Ulrich Drepper <drepper@redhat.com>
17219
17220 [BZ #10851]
17221 * resolv/res_init.c (__res_vinit): When no server address at all
17222 is given default to loopback.
17223
f2ac4868
RM
172242010-08-24 Roland McGrath <roland@redhat.com>
17225
09055553
RM
17226 * configure.in: Remove config-name.h generation.
17227 * configure: Regenerated.
17228 * config-name.in: File removed.
17229 * scripts/config-uname.sh: New file.
17230 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17231 ($(objdir)config-name.h): New target.
17232
f2ac4868
RM
17233 * sunrpc/rpc_parse.h: Avoid nested comment.
17234
73f27d5e
RH
172352010-08-24 Richard Henderson <rth@redhat.com>
17236 Ulrich Drepper <drepper@redhat.com>
17237 H.J. Lu <hongjiu.lu@intel.com>
17238
17239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17240 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17241 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17242 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17243 _mm_alignr_epi8 with _mm_loadu_si128.
17244 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17245 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17246 (__m128i_shift_right): Removed.
17247 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17248 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17249 * sysdeps/x86_64/multiarch/varshift.h: New file.
17250 * sysdeps/x86_64/multiarch/varshift.S: New file.
17251
84b9230c
MF
172522010-08-21 Mike Frysinger <vapier@gentoo.org>
17253
17254 * configure.in: Move assembler checks to before sysdep dir checking.
17255
9bbd0ddc
PB
172562010-08-20 Petr Baudis <pasky@suse.cz>
17257
17258 * LICENSES: Sync the sunrpc license.
17259
9da4bb31
UD
172602010-08-19 Ulrich Drepper <drepper@redhat.com>
17261
a7ab6ec8
UD
17262 * sunrpc/auth_des.c: Update copyright notice once again.
17263 * sunrpc/auth_none.c: Likewise.
17264 * sunrpc/auth_unix.c: Likewise.
17265 * sunrpc/authdes_prot.c: Likewise.
17266 * sunrpc/authuxprot.c: Likewise.
17267 * sunrpc/bindrsvprt.c: Likewise.
17268 * sunrpc/clnt_gen.c: Likewise.
17269 * sunrpc/clnt_perr.c: Likewise.
17270 * sunrpc/clnt_raw.c: Likewise.
17271 * sunrpc/clnt_simp.c: Likewise.
17272 * sunrpc/clnt_tcp.c: Likewise.
17273 * sunrpc/clnt_udp.c: Likewise.
17274 * sunrpc/clnt_unix.c: Likewise.
17275 * sunrpc/des_crypt.c: Likewise.
17276 * sunrpc/des_soft.c: Likewise.
17277 * sunrpc/get_myaddr.c: Likewise.
17278 * sunrpc/getrpcport.c: Likewise.
17279 * sunrpc/key_call.c: Likewise.
17280 * sunrpc/key_prot.c: Likewise.
17281 * sunrpc/openchild.c: Likewise.
17282 * sunrpc/pm_getmaps.c: Likewise.
17283 * sunrpc/pm_getport.c: Likewise.
17284 * sunrpc/pmap_clnt.c: Likewise.
17285 * sunrpc/pmap_prot.c: Likewise.
17286 * sunrpc/pmap_prot2.c: Likewise.
17287 * sunrpc/pmap_rmt.c: Likewise.
17288 * sunrpc/rpc/auth.h: Likewise.
17289 * sunrpc/rpc/auth_unix.h: Likewise.
17290 * sunrpc/rpc/clnt.h: Likewise.
17291 * sunrpc/rpc/des_crypt.h: Likewise.
17292 * sunrpc/rpc/key_prot.h: Likewise.
17293 * sunrpc/rpc/netdb.h: Likewise.
17294 * sunrpc/rpc/pmap_clnt.h: Likewise.
17295 * sunrpc/rpc/pmap_prot.h: Likewise.
17296 * sunrpc/rpc/pmap_rmt.h: Likewise.
17297 * sunrpc/rpc/rpc.h: Likewise.
17298 * sunrpc/rpc/rpc_des.h: Likewise.
17299 * sunrpc/rpc/rpc_msg.h: Likewise.
17300 * sunrpc/rpc/svc.h: Likewise.
17301 * sunrpc/rpc/svc_auth.h: Likewise.
17302 * sunrpc/rpc/types.h: Likewise.
17303 * sunrpc/rpc/xdr.h: Likewise.
17304 * sunrpc/rpc_clntout.c: Likewise.
17305 * sunrpc/rpc_cmsg.c: Likewise.
17306 * sunrpc/rpc_common.c: Likewise.
17307 * sunrpc/rpc_cout.c: Likewise.
17308 * sunrpc/rpc_dtable.c: Likewise.
17309 * sunrpc/rpc_hout.c: Likewise.
17310 * sunrpc/rpc_main.c: Likewise.
17311 * sunrpc/rpc_parse.c: Likewise.
17312 * sunrpc/rpc_parse.h: Likewise.
17313 * sunrpc/rpc_prot.c: Likewise.
17314 * sunrpc/rpc_sample.c: Likewise.
17315 * sunrpc/rpc_scan.c: Likewise.
17316 * sunrpc/rpc_scan.h: Likewise.
17317 * sunrpc/rpc_svcout.c: Likewise.
17318 * sunrpc/rpc_tblout.c: Likewise.
17319 * sunrpc/rpc_util.c: Likewise.
17320 * sunrpc/rpc_util.h: Likewise.
17321 * sunrpc/rpcinfo.c: Likewise.
17322 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17323 * sunrpc/rpcsvc/key_prot.x: Likewise.
17324 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17325 * sunrpc/rpcsvc/mount.x: Likewise.
17326 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17327 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17328 * sunrpc/rpcsvc/rex.x: Likewise.
17329 * sunrpc/rpcsvc/rstat.x: Likewise.
17330 * sunrpc/rpcsvc/rusers.x: Likewise.
17331 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17332 * sunrpc/rpcsvc/spray.x: Likewise.
17333 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17334 * sunrpc/rtime.c: Likewise.
17335 * sunrpc/svc.c: Likewise.
17336 * sunrpc/svc_auth.c: Likewise.
17337 * sunrpc/svc_authux.c: Likewise.
17338 * sunrpc/svc_raw.c: Likewise.
17339 * sunrpc/svc_run.c: Likewise.
17340 * sunrpc/svc_simple.c: Likewise.
17341 * sunrpc/svc_tcp.c: Likewise.
17342 * sunrpc/svc_udp.c: Likewise.
17343 * sunrpc/svc_unix.c: Likewise.
17344 * sunrpc/svcauth_des.c: Likewise.
17345 * sunrpc/xcrypt.c: Likewise.
17346 * sunrpc/xdr.c: Likewise.
17347 * sunrpc/xdr_array.c: Likewise.
17348 * sunrpc/xdr_float.c: Likewise.
17349 * sunrpc/xdr_mem.c: Likewise.
17350 * sunrpc/xdr_rec.c: Likewise.
17351 * sunrpc/xdr_ref.c: Likewise.
17352 * sunrpc/xdr_sizeof.c: Likewise.
17353 * sunrpc/xdr_stdio.c: Likewise.
17354
9da4bb31
UD
17355 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17356 handling.
17357
bdaa77bc
AS
173582010-08-19 Andreas Schwab <schwab@redhat.com>
17359
17360 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17361
fe2f79db
LM
173622010-08-19 Luis Machado <luisgpm@br.ibm.com>
17363
17364 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17366 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17367 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17368 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17369 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17370 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17371 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17373 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17374 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17376 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17377 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17378
b9b42ee0
AB
173792010-07-26 Anton Blanchard <anton@samba.org>
17380
17381 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17382 * malloc/arena.c (heap_trim): Likewise.
17383
1c06ba31
UD
173842010-08-16 Ulrich Drepper <drepper@redhat.com>
17385
17386 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17387 here. Not...
17388 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17389 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17390
f8392f40
L
173912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17392
17393 * sysdeps/i386/elf/Makefile: New file.
17394
3162f12e
AS
173952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17396
17397 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17398 from fanotify_init.
17399 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17401
28c90b2c
UD
174022010-08-15 Ulrich Drepper <drepper@redhat.com>
17403
17404 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17405 of strncasecmp_l.
1feccb6c 17406 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17407
ca6bb004
UD
174082010-08-14 Ulrich Drepper <drepper@redhat.com>
17409
e9f82e0d
UD
17410 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17411 strncase_l-nonascii.
17412 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17413 Add strncase_l-ssse3.
17414 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17415 * sysdeps/x86_64/strcmp.S: Likewise.
17416 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17417 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17418 * sysdeps/x86_64/strncase.S: New file.
17419 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17420 * sysdeps/x86_64/strncase_l.S: New file.
17421 * string/Makefile (strop-tests): Add strncasecmp.
17422 * string/test-strncasecmp.c: New file.
17423
17424 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17425 warning.
17426
ca6bb004
UD
17427 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17428 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17429
052fa7b3
AS
174302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17431
17432 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17433
962dba78
UD
174342010-08-12 Ulrich Drepper <drepper@redhat.com>
17435
17436 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17437 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17438 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17439
bebff237
AM
174402010-05-01 Alan Modra <amodra@gmail.com>
17441
17442 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17443 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17444 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17445 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17446 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17447 tidying. Don't tail-call __sigjmp_save for static lib.
17448 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17449 save location.
17450 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17451 (CALL_MCOUNT): Add eh info, and nop after bl.
17452 (TAIL_CALL_SYSCALL_ERROR): New macro.
17453 (PSEUDO_RET): Use it.
17454 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17455 Correct save location of integer regs and cr.
17456 (_dl_profile_resolve): Correct cr save location. Delete nops
17457 after bl when SHARED. Reduce cfi size a little by better
17458 placement of cfi directives.
17459 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17460 make a stack frame. Instead use parm save area as a temp.
17461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17462 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17464 Don't make a stack frame for parent, use parm save area.
17465 Increase child stack frame to 112 bytes. Don't save unused reg,
17466 and adjust reg usage. Set up cfi on error recovery and
17467 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17469 (__makecontext): Add dummy nop after jump to exit.
17470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17471 Use correct parm save area and cr save, reduce stack frame.
17472 Correct cfi for possible PSEUDO_RET frame setup.
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17474 Branch to local label emitted by PSEUDO_RET rather than
17475 __syscall_error.
17476
02637374
AS
174772010-08-12 Andreas Schwab <schwab@redhat.com>
17478
17479 [BZ #11904]
17480 * locale/programs/locale.c (print_assignment): New function.
17481 (show_locale_vars): Use it.
17482
c3e2f19b
UD
174832010-08-11 Ulrich Drepper <drepper@redhat.com>
17484
3cdaa6ad
UD
17485 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17486 field.
17487 (struct statfs64): Likewise.
17488 (_STATFS_F_FLAGS): Define.
17489 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17490 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17491 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17492 (ST_VALID): Define locally.
17493 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17494 __statvfs_getflags, use the provided value.
17495 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17496 __ASSUME_STATFS_F_FLAGS.
17497
754f7da3
UD
17498 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17499
10b3bedc
UD
17500 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17501 Add sys/fanotify.h.
17502 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17503 fanotify_mask for GLIBC_2.13.
17504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17505 fanotify_init and fanotify_mark.
17506 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17507 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17508
c08fb0d7
UD
17509 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17510 Add prlimit.
17511 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17512 prlimit64 for GLIBC_2.13.
17513 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17514 prlimit64.
17515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17516 syscall.
17517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17519 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17520 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17521 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17522 add prlimit alias.
17523 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17524
15bac72b
UD
17525 [BZ #11903]
17526 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17527 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17528
c3e2f19b
UD
17529 * nss/Makefile: Add rules to build and run tst-nss-test1.
17530 * shlib-versions: Add entry for libnss_test1.
17531 * nss/nss_test1.c: New file.
17532 * nss/tst-nss-test1.c: New file.
17533
17534 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17535 (__nss_configure_lookup): Set appropriate entry in
17536 __nss_configure_lookup to true.
17537 * nss/nsswitch.h: Define enum with indeces of databases in
17538 databases and __nss_database_custom arrays. Declare
17539 __nss_database_custom.
17540 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17541 to avoid using nscd when custom rules are installed.
17542 * nss/getXXbyYY_r.c: Likewise.
17543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17544
17545 * nss/nss_files/files-parse.c: Whitespace fixes.
17546
f15ce4d8
UD
175472010-08-09 Ulrich Drepper <drepper@redhat.com>
17548
17549 [BZ #11883]
17550 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17551 * posix/fnmatch_loop.c: Likewise.
17552
d22e4cc9
AK
175532010-07-17 Andi Kleen <ak@linux.intel.com>
17554
17555 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17556 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17557 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17558 * Versions.def [GLIBC_2.13]: Add.
17559
805bc17d
UD
175602010-08-06 Ulrich Drepper <drepper@redhat.com>
17561
17562 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17563 Also fail if tpwd after pwuid call is NULL.
17564
5a42321d
ST
175652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17566
17567 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17568 when converting to ms.
17569
fd3ebeda
ST
175702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17571
17572 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17573 EOPNOTSUPP errors with ENOTTY.
17574 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17575 EOPNOTSUPP errors with ENOTTY.
17576
73507d3a
UD
175772010-07-31 Ulrich Drepper <drepper@redhat.com>
17578
17579 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17580 Add strcasecmp_l-ssse3.
17581 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17582 strcasecmp.
17583 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17584 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17586
fe36dd02
UD
175872010-07-30 Ulrich Drepper <drepper@redhat.com>
17588
66f6765a
UD
17589 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17590
42e08a54
UD
17591 * string/Makefile (strop-tests): Add strcasecmp.
17592 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17593 strcasecmp_l-nonascii.
17594 (gen-as-const-headers): Add locale-defines.sym.
17595 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17596 * sysdeps/x86_64/strcasecmp.S: New file.
17597 * sysdeps/x86_64/strcasecmp_l.S: New file.
17598 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17599 * sysdeps/x86_64/locale-defines.sym: New file.
17600 * string/test-strcasecmp.c: New file.
17601
fe36dd02
UD
17602 * string/test-strcasestr.c: Test both ends of the range of characters.
17603 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17604
48cbc0d6
RM
176052010-07-29 Roland McGrath <roland@redhat.com>
17606
76e6d6bc 17607 [BZ #11856]
48cbc0d6
RM
17608 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17609
880113d9
UD
176102010-07-27 Ulrich Drepper <drepper@redhat.com>
17611
17612 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17613 for ld.so.
17614
deb9cabb
AS
176152010-07-27 Andreas Schwab <schwab@redhat.com>
17616
17617 * manual/memory.texi (Malloc Tunable Parameters): Document
17618 M_PERTURB.
17619
1c7570ff
RM
176202010-07-26 Roland McGrath <roland@redhat.com>
17621
17622 [BZ #11840]
17623 * configure.in (-fgnu89-inline check): Set and substitute
17624 gnu89_inline, not libc_cv_gnu89_inline.
17625 * configure: Regenerated.
17626 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17627
24fb0f88
UD
176282010-07-26 Ulrich Drepper <drepper@redhat.com>
17629
17630 * string/test-strnlen.c: New file.
17631 * string/Makefile (strop-tests): Add strnlen.
17632 * string/tester.c (test_strnlen): Add a few more test cases.
17633 * string/tst-strlen.c: Better error reporting.
17634
17635 * sysdeps/x86_64/strnlen.S: New file.
17636
8e96b93a
UD
176372010-07-24 Ulrich Drepper <drepper@redhat.com>
17638
17639 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17640 lower-latency instructions.
17641
dbc676d4
UD
176422010-07-23 Ulrich Drepper <drepper@redhat.com>
17643
17644 * string/test-strcasestr.c: New file.
17645 * string/test-strstr.c: New file.
17646 * string/Makefile (strop-tests): Add strstr and strcasestr.
17647 * string/str-two-way.h: Don't undefine MAX.
17648 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17649
f6a31e0e
AS
176502010-07-21 Andreas Schwab <schwab@redhat.com>
17651
17652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17653 strcasestr-nonascii.
17654 (CFLAGS-strcasestr-nonascii.c): Define.
17655 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17657 Remove unused attribute.
17658
5dbc3b6c
RM
176592010-07-20 Roland McGrath <roland@redhat.com>
17660
17661 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17662 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17663 ld.so.cache was broken. With it, there is no way to disable dsocaps
17664 like LD_HWCAP_MASK can disable hwcaps.
17665
23d101d8
EPM
176662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17667
17668 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17669
cc9f2e47
UD
176702010-07-16 Ulrich Drepper <drepper@redhat.com>
17671
17672 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17673 call in strcasestr.
17674 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17675 __strcasestr_sse42_nonascii.
17676 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17677 strcasestr-nonascii.c.
17678 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17679
77c1b069
LM
176802010-06-15 Luis Machado <luisgpm@br.ibm.com>
17681
17682 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17683 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17684 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17685 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17686
440566c3
UD
176872010-07-09 Ulrich Drepper <drepper@redhat.com>
17688
17689 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17690 fcntl.
17691
5be9d05d
AS
176922010-07-06 Andreas Schwab <schwab@redhat.com>
17693
c30b7ee2 17694 [BZ #11577]
5be9d05d
AS
17695 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17696 dl_signal_cerror.
17697
8a492a67
UD
176982010-07-06 Ulrich Drepper <drepper@redhat.com>
17699
17700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17701 _PC_PIPE_BUF using F_GETPIPE_SZ.
17702
713df3d5
RM
177032010-07-05 Roland McGrath <roland@redhat.com>
17704
17705 * manual/arith.texi (Rounding Functions): Fix rint description
17706 implicit in round description.
17707
702e8f14
UD
177082010-07-02 Ulrich Drepper <drepper@redhat.com>
17709
17710 * elf/Makefile: Fix linking for a few tests to make recent linker
17711 happy.
17712
52ed8be9
AS
177132010-06-30 Andreas Schwab <schwab@redhat.com>
17714
17715 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17716 $(common-objpfx)libc_nonshared.a.
17717
f47c9a11
LM
177182010-06-21 Luis Machado <luisgpm@br.ibm.com>
17719
17720 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17721 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17722 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17723 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17724 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17725 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17726 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17727 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17742 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17743 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17744 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17745 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17746 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17747 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17748 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17749 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17750 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17751 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17752 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17753 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17768
6fb8cbcb
L
177692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17772 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17773 * string/memmove.c (memmove): Renamed to ...
17774 (MEMMOVE): ...this. Default to memmove.
17775 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17776 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17777 (END_CHK): Define.
17778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17779 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17780 mempcpy-ssse3-back memmove-ssse3-back.
17781 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17782 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17784 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17785 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17786 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17787 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17788 * sysdeps/x86_64/multiarch/memmove.c: New file.
17789 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17790 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17791 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17792 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17793 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17794 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17795 Define.
17796 (index_Fast_Copy_Backward): Define.
17797 (HAS_ARCH_FEATURE): Define.
17798 (HAS_FAST_REP_STRING): Define.
17799 (HAS_FAST_COPY_BACKWARD): Define.
17800
4e733bac 178012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17802
17803 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17804 Restore proper fallback handling.
17805
63c4ed22
UD
178062010-06-19 Ulrich Drepper <drepper@redhat.com>
17807
ac2b484c
UD
17808 [BZ #11701]
17809 * posix/group_member.c (__group_member): Correct checking loop.
17810
63c4ed22
UD
17811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17812 OOM in getpwuid_r correctly. Return error number when the caller
17813 should return, otherwise -1.
17814 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17815 call returning > 0 value.
17816 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17817
765ade4b
AS
178182010-06-07 Andreas Schwab <schwab@redhat.com>
17819
17820 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17821 libc_nonshared.a from targets in modules-names.
17822
80da2e09
KS
178232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17824
17825 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17826 requires it.
17827
158db122
LM
178282010-06-10 Luis Machado <luisgpm@br.ibm.com>
17829
17830 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17831 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17834
caa78cf8
AS
178352010-06-02 Andreas Schwab <schwab@redhat.com>
17836
17837 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17838
b2ef2c01
UD
178392010-06-14 Ulrich Drepper <drepper@redhat.com>
17840
17841 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17842 and F_GETPIPE_SZ.
17843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17848 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17849
fbd643b6
RM
178502010-06-14 Roland McGrath <roland@redhat.com>
17851
17852 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17853
f32f2869
JJ
178542010-06-07 Jakub Jelinek <jakub@redhat.com>
17855
17856 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17857 __REDIRECT followed by __THROW.
17858 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17859 * posix/getopt.h (getopt): Likewise.
17860
2a50c078
EPM
178612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17862
17863 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17864 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17865 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17866 in AT_FLAGS.
17867 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17868 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17869
eb5ad2eb
LM
178702010-05-28 Luis Machado <luisgpm@br.ibm.com>
17871
17872 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17873
3c88fe1e
L
178742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 [BZ #11640]
17877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17878 Properly check family and model.
17879
d2f73151
TY
178802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17881
17882 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17883
ebd2e13d
LM
178842010-05-24 Luis Machado <luisgpm@br.ibm.com>
17885
17886 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17887
b32b8b45
UD
178882010-05-21 Ulrich Drepper <drepper@redhat.com>
17889
17890 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17891 symbol reference.
17892
9acbe24d
AS
178932010-05-19 Andreas Schwab <schwab@redhat.com>
17894
17895 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17896 symbol reference.
17897
f0ccf6ea
AS
178982010-05-21 Andreas Schwab <schwab@redhat.com>
17899
3d04ff3a
AS
17900 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17901 and internal_recvmmsg.
17902 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17903 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17904 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17905 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17906
f0ccf6ea
AS
17907 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17908 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17909 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17910
5b08ac57
AS
179112010-05-20 Andreas Schwab <schwab@redhat.com>
17912
17913 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17914
4828935d
LM
179152010-05-17 Luis Machado <luisgpm@br.ibm.com>
17916
17917 POWER7 optimizations.
17918 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17919 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17920
373d545e
UD
179212010-05-19 Ulrich Drepper <drepper@redhat.com>
17922
17923 * version.h: Update for 2.13 development version.
17924
21a2b1ae
AS
179252010-05-12 Andrew Stubbs <ams@codesourcery.com>
17926
17927 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17928 exceptions. Return 0.
17929
3f7dcb2b
RM
179302010-05-07 Roland McGrath <roland@redhat.com>
17931
17932 * elf/ldconfig.c (main): Add a const.
17933
5f24d53a 179342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17935
a160f8d8
UD
17936 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17937 (args_options): Add no-idn option.
17938 (ahosts_keys_int): Add idn_flags to ai_flags.
17939 (parse_option): Handle 'i' option to clear idn_flags.
17940
5f24d53a
UD
17941 * malloc/malloc.c (_int_free): Possible race in the most recently
17942 added check. Only act on the data if no current modification
17943 happened.
265bb1ce
UD
17944
17945See ChangeLog.17 for earlier changes.