]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ia64: fix byteswap conversion warning
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7aab07e4
JM
12012-08-03 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #13717]
4 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5 Change to 2.6.0 everywhere.
6 * sysdeps/unix/sysv/linux/configure: Regenerated.
7 * sysdeps/unix/sysv/linux/kernel-features.h
8 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10 kernel versions.
11 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12 (__ASSUME_FUTEX_REQUEUE): Remove.
13 (__ASSUME_STATFS64): Define unconditionally.
14 (__ASSUME_AT_SECURE): Likewise.
15 (__ASSUME_CORRECT_SI_PID): Likewise.
16 (__ASSUME_TGKILL): Define without depending on kernel version for
17 i386.
18 (__ASSUME_UTIMES): Likewise.
19 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20 kernel version.
21 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22 (__ASSUME_TMPFS_NAME): Likewise.
23 * README: Update reference to Linux kernel versions.
24
b67e9372
MP
252012-08-02 Marek Polacek <polacek@redhat.com>
26
27 [BZ#14150]
28 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29 libc_cv_asm_type_prefix with %.
30 * configure: Regenerated.
d2441631
RM
31 * include/libc-symbols.h: Remove comment about
32 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
33 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40 * elf/tst-unique2mod1.c: Likewise.
41 * elf/tst-unique1mod2.c: Likewise.
42 * elf/tst-unique1mod1.c: Likewise.
43 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
45 Replace ASM_TYPE_DIRECTIVE with .type.
46 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47 * sysdeps/i386/sysdep.h: Likewise.
48 * sysdeps/x86_64/sysdep.h: Likewise.
49 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
50 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 52 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
53 * sysdeps/powerpc/powerpc32/sysdep.h:
54 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
55 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57 * sysdeps/i386/fpu/e_powf.S: Likewise.
58 * sysdeps/i386/fpu/e_expl.S: Likewise.
59 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61 * sysdeps/i386/fpu/e_pow.S: Likewise.
62 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64 * sysdeps/i386/fpu/s_expm1.S: Likewise.
65 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
66 * sysdeps/i386/fpu/e_log2.S: Likewise.
67 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68 * sysdeps/i386/fpu/e_scalb.S: Likewise.
69 * sysdeps/i386/fpu/e_powl.S: Likewise.
70 * sysdeps/i386/fpu/e_log10f.S: Likewise.
71 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72 * sysdeps/i386/fpu/e_logl.S: Likewise.
73 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
76 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78 * sysdeps/i386/fpu/e_log.S: Likewise.
79 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80 * sysdeps/i386/fpu/e_logf.S: Likewise.
81 * sysdeps/i386/fpu/e_log10l.S: Likewise.
82 * sysdeps/i386/fpu/e_atanh.S: Likewise.
83 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
84 * sysdeps/i386/fpu/e_log10.S: Likewise.
85 * sysdeps/i386/fpu/s_frexp.S: Likewise.
86 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87 * sysdeps/i386/fpu/s_asinh.S: Likewise.
88 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
89 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
91 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
92 * sysdeps/i386/i686/strtok.S: Likewise.
93 * sysdeps/i386/i386-mcount.S: Likewise.
94 * sysdeps/i386/strtok.S: Likewise.
95 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
96 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
97 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
98 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
99 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
100 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
101 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
102 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
103 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
104 * sysdeps/x86_64/_mcount.S: Likewise.
105 * sysdeps/x86_64/strtok.S: Likewise.
106 * sysdeps/sh/_mcount.S: Likewise.
107
2747bf9a
RM
1082012-08-01 Roland McGrath <roland@hack.frob.com>
109
110 * libio/iofopen.c: Include <fcntl.h>.
111 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
112 (_IO_fopen64, fopen64): Define as aliases.
113 * libio/iofopen64.c: Include <fcntl.h>.
114 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
115 Conditionalize body on this.
116 * sysdeps/wordsize-64/iofopen.c: File removed.
117 * sysdeps/wordsize-64/iofopen64.c: File removed.
118
3fb791b8
MP
1192012-08-01 Marek Polacek <polacek@redhat.com>
120
121 * libc/Makeconfig: Use elf in place of binfmt-subdir.
122 Use dlfcn directly instead of a variable.
123 (binfmt-subdir): Do not define.
124 (dlfcn): Likewise.
125
a9f1039f
JM
1262012-08-01 Joseph Myers <joseph@codesourcery.com>
127
23bddc06
JM
128 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
129 Remove all definitions.
130 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
131 <kernel-features.h>.
132 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
133 (miss_F_GETOWN_EX): Remove all definitions.
134 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
135 macro definition.
136 [!__ASSUME_FCNTL64]: Remove conditional code.
137 [__ASSUME_FCNTL64]: Make code unconditional.
138 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
139 <kernel-features.h>.
140 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
141 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
142 (lockf64) [__NR_fcntl64]: Make code unconditional.
143 (lockf64) [__ASSUME_FCNTL64]: Likewise.
144
a9f1039f
JM
145 * sysdeps/unix/sysv/linux/kernel-features.h
146 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
147 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
148 Make code unconditional.
149 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
150 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
152 [__NR_vfork]: Make code unconditional.
153 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
154 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
156 [__NR_vfork]: Make code unconditional.
157 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
158 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
159
09c0ee5f
RM
1602012-08-01 Roland McGrath <roland@hack.frob.com>
161
48aec5b9
RM
162 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
163 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
164
cd97c966
RM
165 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
166 Define mkstemp64 as an alias.
3f55550c
RM
167 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
168 Define mkstemps64 as an alias.
cd97c966
RM
169 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
170 Define mkostemp64 as an alias.
b8625cfc
RM
171 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
172 Define mkostemps64 as an alias.
cd97c966
RM
173 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
174 Conditionalize body on this.
175 * misc/mkostemp64.c: Likewise.
b8625cfc 176 * misc/mkostemps64.c: Likewise.
3f55550c 177 * misc/mkstemps64.c: Likewise.
cd97c966
RM
178 * sysdeps/wordsize-64/mkstemp64.c: File removed.
179 * sysdeps/wordsize-64/mkostemp64.c: File removed.
180 * sysdeps/wordsize-64/mkostemp.c: File removed.
181 * sysdeps/wordsize-64/mkstemp.c: File removed.
182 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
183 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
185 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
186
09c0ee5f
RM
187 [BZ #14138]
188 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
189 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
190 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
191 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
192
193 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
194 compat_symbol macros from <shlib-compat.h> rather than the underlying
195 default_symbol_version and symbol_version macros, so that DEFAULT
196 lines in shlib-versions are respected.
197 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
198
7e66ee51
FW
1992012-08-01 Florian Weimer <fweimer@redhat.com>
200
201 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
202 Declare with warn_unused_result.
203 (setgid, setregid, setegid, setresgid): Likewise.
204 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
205 Likewise.
206 * WUR-REPORT: Remove set*id functions.
207
d2a54255
PT
2082012-07-31 Pino Toscano <toscano.pino@tiscali.it>
209
210 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
211
7ecdb005
RM
2122012-07-31 Roland McGrath <roland@hack.frob.com>
213
789bd351
RM
214 * include/sys/socket.h (__libc_accept, __libc_accept4):
215 Add attribute_hidden.
216 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
217
40ce302d
RM
218 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
219 use of PTR_MANGLE.
220 * inet/getnetgrent_r.c (setup): Likewise.
221
7ecdb005
RM
222 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
223
e2eabb2c
DM
2242012-07-31 David S. Miller <davem@davemloft.net>
225
226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
227
d0419dbf
JM
2282012-07-31 Joseph Myers <joseph@codesourcery.com>
229
230 [BZ #13629]
231 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
232 value between 1.0 and 2.0 and smaller part has absolute value less
233 than 1.0.
234 * math/s_clog10.c (__clog10): Likewise.
235 * math/s_clog10f.c (__clog10f): Likewise.
236 * math/s_clog10l.c (__clog10l): Likewise.
237 * math/s_clogf.c (__clogf): Likewise.
238 * math/s_clogl.c (__clogl): Likewise.
239 * math/libm-test.inc (clog_test): Add more tests.
240 (clog10_test): Likewise.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
2bc13872
FW
2442012-07-31 Florian Weimer <fweimer@redhat.com>
245
246 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
247 Exit with zero in case no suitable GID is found, and write a
248 message to standard error.
249
bea9b193
RM
2502012-07-30 Roland McGrath <roland@hack.frob.com>
251
252 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
253 rather than to 1.
254 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
255 (MAXPATHLEN): Removed.
256 (NOGROUP, NODEV): New macros.
257 (setbit, clrbit, isset, isclr): New macros.
258 (howmany, roundup, powerof2): New macros.
259 (DEV_BSIZE): New macro.
260
261 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
262 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
263
264 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
265 definition on [!__NO_LONG_DOUBLE_MATH].
266
267 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
268 PTR_MANGLE and PTR_DEMANGLE.
269
270 * socket/accept4.c (accept4): Rename to __libc_accept4.
271 Define accept4 as a weak alias.
272
273 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
274 on [_DIRENT_HAVE_D_TYPE].
275 * io/ftw.c (ftw_dir): Likewise.
276
277 * io/xmknod.c (__xmknod): Don't check PATH for being null.
278
279 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
280
281 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
282 Use the BSD numbers rather than the arbitrary ones we had.
283 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
284 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
285 (SIGXCPU, SIGXFSZ): New macros.
286 (_NSIG): Now 32.
287
288 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
289 initializer on [_LIBC_REENTRANT].
290
291 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
292 definitions inside [_POSIX_MAPPED_FILES].
293
294 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
295
296 * dirent/opendir.c: Include <fcntl.h>.
297
298 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
299 (__libc_getspecific): Likewise.
300 (__libc_key_create): Likewise.
301
302 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
303 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
304 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
305 (tmpfile64): Define as alias.
306 * sysdeps/wordsize-64/tmpfile.c: File removed.
307 * sysdeps/wordsize-64/tmpfile64.c: File removed.
308 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
309 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
310
311 * stdio-common/vfscanf.c: Include <stdbool.h>.
312 * nss/makedb.c: Likewise.
313 * stdio-common/_i18n_number.h: Likewise.
314 * argp/argp-help.c: Likewise.
315 * posix/wordexp.c: Likewise.
316 * sysdeps/posix/spawni.c: Likewise.
317 * nss/nss_files/files-initgroups.c: Likewise.
318 * stdio-common/reg-modifier.c: Include <stdlib.h>.
319 * nss/nss_files/files-initgroups.c: Likewise.
320 * nss/nss_db/db-netgrp.c: Likewise.
321 * nss/nss_db/db-initgroups.c: Likewise.
322 * io/fchmodat.c: Include <sys/stat.h>.
323
324 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
325 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
326
327 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
328 [HAVE_MMAP].
329
330 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
331 Add multiple inclusion protection.
332
e5abc686
DM
3332012-07-27 David S. Miller <davem@davemloft.net>
334
335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
336
815e6fa3
GB
3372012-07-27 Gary Benson <gbenson@redhat.com>
338
339 [BZ #14298]
340 * elf/rtld.c: Include <stap-probe.h>.
341 (dl_main): Added static probes "init_start" and "init_complete".
342 * elf/dl-load.c: Include <stap-probe.h>.
343 (lose): Take new parameter "nsid".
344 Added static probe "map_failed".
345 (_dl_map_object_from_fd): Pass namespace id to lose.
346 Added static probe "map_start".
347 (open_verify): Pass namespace id to lose.
348 * elf/dl-open.c: Include <stap-probe.h>.
349 (dl_open_worker) Added static probes "map_complete", "reloc_start"
350 and "reloc_complete".
351 * elf/dl-close.c: Include <stap-probe.h>.
352 (_dl_close_worker): Added static probes "unmap_start" and
353 "unmap_complete".
354 * elf/rtld-debugger-interface.txt: New file documenting the above.
355
9f98c16c
RM
3562012-07-26 Roland McGrath <roland@hack.frob.com>
357
358 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
359 rather than a string variable.
360 * sunrpc/rpc_main.c (h_output): Likewise.
361 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
362
f3c22df3
PT
3632012-07-26 Pino Toscano <toscano.pino@tiscali.it>
364
365 * inet/check_native.c: New file.
366
3129cfc6
JM
3672012-07-26 Joseph Myers <joseph@codesourcery.com>
368
da865e95
JM
369 [BZ #13629]
370 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
371 if larger part has absolute value 1.0.
372 * math/s_clog10.c (__clog10): Likewise.
373 * math/s_clog10f.c (__clog10f): Likewise.
374 * math/s_clog10l.c (__clog10l): Likewise.
375 * math/s_clogf.c (__clogf): Likewise.
376 * math/s_clogl.c (__clogl): Likewise.
377 * math/libm-test.inc (clog_test): Add more tests.
378 (clog10_test): Likewise.
379 * sysdeps/i386/fpu/libm-test-ulps: Update.
380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
381
3129cfc6
JM
382 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
383 (pltexit): Likewise.
384 (La_regs): Likewise.
385 (La_retval): Likewise.
386 (int_retval): Likewise.
387 Update #error for removed macros to refer only to definitions in
388 tst-audit.h.
389 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
390 macro.
391 (pltexit): Likewise.
392 (La_regs): Likewise.
393 (La_retval): Likewise.
394 (int_retval): Likewise.
395 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
396 macro.
397 (pltexit): Likewise.
398 (La_regs): Likewise.
399 (La_retval): Likewise.
400 (int_retval): Likewise.
401 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
402 macro.
403 (pltexit): Likewise.
404 (La_regs): Likewise.
405 (La_retval): Likewise.
406 (int_retval): Likewise.
407 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
408 macro.
409 (pltexit): Likewise.
410 (La_regs): Likewise.
411 (La_retval): Likewise.
412 (int_retval): Likewise.
413 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
414 macro.
415 (pltexit): Likewise.
416 (La_regs): Likewise.
417 (La_retval): Likewise.
418 (int_retval): Likewise.
419 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
420 macro.
421 (pltexit): Likewise.
422 (La_regs): Likewise.
423 (La_retval): Likewise.
424 (int_retval): Likewise.
425 * sysdeps/generic/tst-audit.h: Update comment to refer only to
426 macro definitions in tst-audit.h.
427 * sysdeps/i386/tst-audit.h: New file.
428 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
429 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
430 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
431 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
432 * sysdeps/sh/tst-audit.h: Likewise.
433 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
434 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
435 * sysdeps/x86_64/tst-audit.h: Likewise.
436
bfc07087
AJ
4372012-07-26 Andreas Jaeger <aj@suse.de>
438
b1b2aaf8
AJ
439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
440 ptrace.
441
442 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
443 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
444 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
445 PTRACE_O_MASK.
446 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
447 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
449
bfc07087
AJ
450 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
451 value.
452
453 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
454 _sigsys.
455 (si_call_addr, si_syscall, si_arch): Define new macro.
456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
457 _sigsys.
458 (si_call_addr, si_syscall, si_arch): Define new marcro.
459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
460 _sigsys.
461 (si_call_addr, si_syscall, si_arch): Define new macro.
462 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
463 _sigsys.
464 (si_call_addr, si_syscall, si_arch): Define new macro.
465
89b4b02f
JM
4662012-07-25 Joseph Myers <joseph@codesourcery.com>
467
468 [BZ #13717]
469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
470 Change to 2.4.21 where previously 2.4.1.
471 * sysdeps/unix/sysv/linux/configure: Regenerated.
472 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
473 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
474 Linux kernel version.
475 (__ASSUME_STD_AUXV): Remove.
476 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
477 kernel version.
478 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
479 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
480 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
481 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
482 (__ASSUME_NETLINK_SUPPORT): Likewise.
483 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
484 (__no_netlink_support): Remove conditional definition.
485 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
486 Remove.
487 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
488 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
489 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
490 (if_nameindex_ioctl): Remove.
491 (if_nameindex_netlink): Do not handle __no_netlink_support.
492 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
493 code.
494 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
495 Remove conditional code.
496 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
497 code.
498 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
499 unconditional.
500 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
501 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
502 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
503 Remove.
504 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
505 [!__ASSUME_STD_AUXV]: Remove conditional code.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
507 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
508 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
510 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
511 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
512 code.
513 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
515 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
516 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
517 conditional code.
518 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
520 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
521 code.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
523 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
524 conditional code.
525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
526 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
527 code unconditional.
528 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
529 conditional code.
530 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
531 unconditional.
532 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
533 conditional code.
534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
535 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
536 unconditional.
537 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
538 conditional code.
539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
540 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
541 code unconditional.
542 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
543 conditional code.
544 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
545 unconditional.
546 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
547 conditional code.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
549 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
550 code unconditional.
551 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
552 conditional code.
553 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
554 unconditional.
555 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
556 conditional code.
557
842a39cd
AS
5582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
559
560 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
561 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
562 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
563 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
564 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
565 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
566 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
567 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
568 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
569 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
570 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
571 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
572 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
573 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
576 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
580 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
583
84b3fd84
FW
5842012-07-25 Florian Weimer <fweimer@redhat.com>
585
586 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
587 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
588 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
589 Introduce __libc_secure_getenv.
0c7936d5
FW
590 * stdlib/Versions (2.17): Add secure_getenv
591 (GLIBC_PRIVATE): Add __libc_secure_getenv.
592 * stdlib/secure-getenv.c: Rename __secure_getenv to
593 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
594 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
595 * stdlib/tst-secure-getenv.c: New.
596 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
597 * manual/startup.texi (Environment Access): Document
598 secure_getenv.
84b3fd84
FW
599 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
600 __libc_secure_getenv.
601 * inet/ruserpass.c (ruserpass): Likewise.
602 * malloc/mtrace.c (mtrace): Likewise.
603 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 604 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
605 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
606 * sysdeps/posix/tempname.c: Likewise. Evaluate
607 HAVE_SECURE_GETENV.
608 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 609 __secure_getenv to __libc_secure_getenv.
84b3fd84 610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
612 Likewise.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
614 Likewise.
615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 622
56e49b71
JM
6232012-07-25 Joseph Myers <joseph@codesourcery.com>
624
625 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
626 (struct La_i86_retval): Likewise.
627 (struct La_x86_64_regs): Likewise.
628 (struct La_x86_64_retval): Likewise.
629 (struct La_x32_regs): Likewise.
630 (struct La_x32_retval): Likewise.
631 (struct La_ppc32_regs): Likewise.
632 (struct La_ppc32_retval): Likewise.
633 (struct La_ppc64_regs): Likewise.
634 (struct La_ppc64_retval): Likewise.
635 (struct La_sh_regs): Likewise.
636 (struct La_sh_retval): Likewise.
637 (struct La_s390_32_regs): Likewise.
638 (struct La_s390_32_retval): Likewise.
639 (struct La_s390_64_regs): Likewise.
640 (struct La_s390_64_retval): Likewise.
641 (struct La_sparc32_regs): Likewise.
642 (struct La_sparc32_retval): Likewise.
643 (struct La_sparc64_regs): Likewise.
644 (struct La_sparc64_retval): Likewise.
645 (struct audit_ifaces): Remove architecture-specific pltenter and
646 pltexit members.
647 * sysdeps/i386/ldsodefs.h: New file.
648 * sysdeps/powerpc/ldsodefs.h: Likewise.
649 * sysdeps/s390/ldsodefs.h: Likewise.
650 * sysdeps/sh/ldsodefs.h: Likewise.
651 * sysdeps/sparc/ldsodefs.h: Likewise.
652 * sysdeps/x86_64/ldsodefs.h: Likewise.
653
354691b7
MP
6542012-07-25 Marek Polacek <polacek@redhat.com>
655
656 [BZ #6808]
657 * math/libm-test.inc (yn_test): Add another test.
658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
659 to ERANGE when the result is +-Inf.
660 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
661 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
662 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
663 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
664
bf9e2071
JM
6652012-07-24 Joseph Myers <joseph@codesourcery.com>
666
667 * conform/data/time.h-data (NULL): Use macro-constant. Require
668 equal to 0.
669 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
670 clock_t.
671 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
672
57633811
TS
6732012-07-23 Thomas Schwinge <thomas@codesourcery.com>
674
675 * configure.in <sysdeps resolving>: Correct printing
676 Implies_before.
677 * configure: Regenerate.
678
c23c33b0
TS
6792012-07-22 Thomas Schwinge <thomas@codesourcery.com>
680
681 * math/w_ilogb.c: Include <limits.h>.
682 * math/w_ilogbl.c: Likewise.
683
b5982523
JM
6842012-07-20 Joseph Myers <joseph@codesourcery.com>
685
686 * manual/lang.texi (__va_copy): Document primarily as ISO C99
687 va_copy. Document allowing for unavailable va_copy only as
688 pre-C99 compatibility.
689 * manual/string.texi (Copying and Concatenation): Use va_copy
690 instead of __va_copy in concat example.
691
ac4ea442
PT
6922012-07-20 Pino Toscano <toscano.pino@tiscali.it>
693
694 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
695 (__sendto): Use create_address_port. Initialize APORT and deallocate
696 it if not null.
697
f98eafbd
PT
698 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
699 with O_NOLINK passed to __file_name_lookup.
700
898c7aab
PT
701 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
702 with O_NOLINK passed to __file_name_lookup.
703
0ced335a
PT
704 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
705 negative N or less than NGIDS.
706
b3404dbd
PT
707 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
708 type to string_t. Set ERANGE as errno and return it if NAME is not big
709 enough. Use memcpy instead of strncpy.
710
0f48659e
JM
7112012-07-20 Joseph Myers <joseph@codesourcery.com>
712
713 * elf/Makefile (check-data): Remove.
714 (localplt.data): New vpath directive.
715 ($(objpfx)check-localplt.out): Use localplt.data from vpath
716 instead of $(check-data).
717 * scripts/data/localplt-generic.data: Move to ...
718 * sysdeps/generic/localplt.data: ... here.
719 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
720 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
721 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
723 ... here.
724 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
726 ... here.
727 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
729 ... here.
730 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
732 ... here.
733 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
735 ... here.
736 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
738 ... here.
739
d37cbdaa
AZ
7402012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
741
742 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
743 PPC32 and PPC64 files.
744 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
745 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
746
46f85fc2
AK
7472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
748
749 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
750 __makecontext_ret to ...
751 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
752 ... here and call exit if uc_link is NULL. New file.
753 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
754 __makecontext_ret.S.
755 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
756 __makecontext_ret to ...
757 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
758 ... here and call exit if uc_link is NULL. New file.
759 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
760 __makecontext_ret.S.
761
08f43f9b
AK
7622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
763
764 * elf/elf.h (R_390_IRELATIVE): New definition.
765 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
766 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
767 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
768 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
769 (elf_machine_lazy_rel): Likewise.
770 * sysdeps/s390/dl-irel.h: New file.
771 * sysdeps/s390/s390-64/memcpy.S: New asm code.
772 * sysdeps/s390/s390-64/memset.S: New asm code.
773 * sysdeps/s390/s390-64/memcmp.S: New asm code.
774 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
775 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
776 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
777 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
778 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
779 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
780 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
781 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
782 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
783 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
784 * sysdeps/s390/s390-32/memcpy.S: New asm code.
785 * sysdeps/s390/s390-32/memset.S: New asm code.
786 * sysdeps/s390/s390-32/memcmp.S: New asm code.
787
3b05db33
MP
7882012-07-17 Marek Polacek <polacek@redhat.com>
789
790 [BZ #14349]
791 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
792 * sysdeps/s390/s390-64/configure.in: Likewise.
793 * sysdeps/sparc/configure.in: Likewise.
794 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
795 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
796 * sysdeps/i386/configure.in: Likewise.
797 * sysdeps/x86_64/configure.in: Likewise.
798 * sysdeps/sh/configure.in: Likewise.
799 * sysdeps/s390/s390-32/configure: Regenerated.
800 * sysdeps/s390/s390-64/configure: Likewise.
801 * sysdeps/x86_64/configure: Likewise.
802 * sysdeps/sh/configure: Likewise.
803 * sysdeps/powerpc/powerpc64/configure: Likewise.
804 * sysdeps/powerpc/powerpc32/configure: Likewise.
805 * sysdeps/sparc/configure: Likwise.
806 * sysdeps/i386/configure: Likewise.
807
a66877c6
MP
808 * elf/dl-open.c: Comment fixes.
809
cfc82fd8
JM
8102012-07-17 Joseph Myers <joseph@codesourcery.com>
811
bd29910a
JM
812 * Makefile [CXX] (check-data): Remove.
813 [CXX] (c++-types.data): New vpath directive.
814 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
815 vpath. Do not allow for C++ type data being missing.
816 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
817 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
818 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
819 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
820 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
821 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
822 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
824 ... here.
825 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
827 ... here.
828 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
830 ... here.
831 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
833 ... here.
834 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
836 ... here.
837 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
839 ... here.
840 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
842 ... here.
843 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
845
cfc82fd8
JM
846 * elf/tls-macros.h (TLS_LE): Move architecture-specific
847 definitions to architecture-specific files.
848 (TLS_IE): Likewise.
849 (TLS_LD): Likewise.
850 (TLS_GD): Likewise.
851 * sysdeps/i386/tls-macros.h: New file.
852 * sysdeps/powerpc/tls-macros.h: Likewise.
853 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
854 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
855 * sysdeps/sh/tls-macros.h: Likewise.
856 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
857 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
858 * sysdeps/x86_64/tls-macros.h: Likewise.
859
f7db3170
TS
8602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
861
07cbfc23
TS
862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
863 zero value for regular exit case.
864
f7db3170
TS
865 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
866 (__start_context): Preserve zero value for regular exit case.
867
dc97c227
TS
8682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
869 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
870
871 * manual/setjmp.texi (setcontext): Clarify normal process
872 termination when uc_link is the null pointer.
873 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
874 exit call.
875
d0cd7d02
AS
8762012-07-16 Andreas Schwab <schwab@linux-m68k.org>
877
878 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
879 preprocessor. Test for each exception mask separately.
880
dd318934
AJ
8812012-07-16 Andreas Jaeger <aj@suse.de>
882
883 * po/ru.po: Update from translation team.
884
8048311a
JM
8852012-07-15 Joseph Myers <joseph@codesourcery.com>
886
887 * conform/data/string.h-data (NULL): Use macro-constant. Require
888 equal to 0.
889 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
890 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
891 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
892 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
894
b637d46e
AJ
8952012-07-13 Andreas Jaeger <aj@suse.de>
896
897 * po/fr.po: Update from translation team.
898
541428fe
MP
8992012-07-12 Marek Polacek <polacek@redhat.com>
900
901 [BZ #14173]
902 * math/libm-test.inc (yn_test): Add test for BZ #14173.
903 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
904 loop condition.
905
ec332e94
JM
9062012-07-12 Joseph Myers <joseph@codesourcery.com>
907
908 [BZ #13717]
909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
910 Change to 2.4.1 where previously 2.4.0.
911 * sysdeps/unix/sysv/linux/configure: Regenerated.
912 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
913 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
914 version.
915 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
916 (__ASSUME_AT_CLKTCK): Remove.
917 (__ASSUME_AT_PAGESIZE): Likewise.
918 (__ASSUME_AT_XID): Likewise.
919 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
920 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
921 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
922 unconditionally.
923 (HAVE_AUX_PAGESIZE): Likewise.
924 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
925 [__ASSUME_AT_CLKTCK]: Make code unconditional.
926 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
927
7b6e99be
JB
9282012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
929
930 [BZ #14307]
931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
932 the temporary buffer used to invoke __gethostbyname2_r,
933 __gethostbyaddr_r and gethostbyname4_r to make room for struct
934 host_data / struct gaih_addrtuple.
935 * resolv/nss_dns/dns-host.c (global scope): Move definition of
936 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
937 header file nss/nsswitch.h.
938 * nss/nsswitch.h (global scope): Add definition of implementation
939 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
940 resolv/nss_dns/dns-host.c).
941
608404eb
AJ
9422012-07-11 Andreas Jaeger <aj@suse.de>
943
944 * po/fr.po: Update from translation team.
945
71220aca
AJ
946 * po/sv.po: Update from translation team
947 * po/fr.po: Another update from translation team.
948
28cfe843
AZ
9492012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
950
951 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
952 for subnormals or multiply small sinh result by itself.
953 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
955
6b90f981
DM
9562012-07-11 David S. Miller <davem@davemloft.net>
957
958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
959
c6825772
AS
9602012-07-10 Andreas Schwab <schwab@linux-m68k.org>
961
962 [BZ #14347]
963 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
964 (INTERNAL_MARK): Shift it here.
965
7b8e0d49
MP
9662012-07-10 Marek Polacek <polacek@redhat.com>
967
968 [BZ #14151]
969 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
970 libc_cv_asm_global_directive with .globl.
971 * configure: Regenerated.
972 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
973 with .globl.
974 * sysdeps/i386/configure: Regenerated.
975 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
976 with .globl.
977 * sysdeps/x86_64/configure: Regenerated.
978 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
979 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
980 * elf/tst-unique2mod2.c: Likewise.
981 * elf/tst-unique2mod1.c: Likewise.
982 * elf/tst-unique1mod2.c: Likewise.
983 * elf/tst-unique1mod1.c: Likewise.
984 * sysdeps/s390/s390-32/sysdep.h: Likewise.
985 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
986 * sysdeps/s390/s390-64/sysdep.h: Likewise.
987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
988 * sysdeps/mach/sysdep.h: Likewise.
989 * sysdeps/i386/sysdep.h: Likewise.
990 * sysdeps/i386/i386-mcount.S: Likewise.
991 * sysdeps/x86_64/_mcount.S: Likewise.
992 * sysdeps/x86_64/sysdep.h: Likewise.
993 * sysdeps/sh/_mcount.S: Likewise.
994 * sysdeps/sh/sysdep.h: Likewise.
995 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
996 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
997 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
998 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
999 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
1000 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
1001 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
1002 * locale/localeinfo.h: Likewise.
1003 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
1004 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
1005
6c55cda3
RM
10062012-07-09 Roland McGrath <roland@hack.frob.com>
1007
1008 [BZ #14336]
1009 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
1010 system".
1011 * manual/message.texi (The Uniforum approach): Likewise.
1012 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
1013 (glibc iconv Implementation): Likewise.
1014
638a572e
JM
10152012-07-09 Joseph Myers <joseph@codesourcery.com>
1016
1017 [BZ #14337]
1018 * math/s_clog.c (__clog): Avoid scaling a value down where that
1019 could result in underflow.
1020 * math/s_clog10.c (__clog10): Likewise.
1021 * math/s_clog10f.c (__clog10f): Likewise.
1022 * math/s_clog10l.c (__clog10l): Likewise.
1023 * math/s_clogf.c (__clogf): Likewise.
1024 * math/s_clogl.c (__clogl): Likewise.
1025 * math/libm-test.inc (clog_test): Add more tests.
1026 (clog10_test): Likewise.
1027 * sysdeps/i386/fpu/libm-test-ulps: Update.
1028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1029
261f4859
AS
10302012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1031
0abaf3e4
AS
1032 [BZ #14283]
1033 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1034 by 7 not 8 to examine high bit of fractional part.
1035
261f4859
AS
1036 [BZ #14042]
1037 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1038 for call to __mcount_internal.
1039 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1040 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1041 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1042
f17ac40d
JM
10432012-07-06 Joseph Myers <joseph@codesourcery.com>
1044
9ad63c23
JM
1045 [BZ #14154]
1046 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1047 approximation for values within 0x1p-13f of an odd multiple of
1048 pi/4.
1049 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1050 exception. Add more tests.
1051 * sysdeps/i386/fpu/libm-test-ulps: Update.
1052
f17ac40d
JM
1053 [BZ #6778]
1054 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1055 inputs and return -1 for them. Do not check for +Inf in case not
1056 reachable for +Inf.
1057 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1058 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1060 and return -1 for them. Do not check for +Inf in case not
1061 reachable for +Inf.
1062 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1063 define.
1064 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1065 and return -1 for them. Do not check for +Inf in case not
1066 reachable for +Inf.
1067 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1068 spurious underflow.
1069 * sysdeps/i386/fpu/libm-test-ulps: Update.
1070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1071
fb21f89b
MF
10722012-07-06 Mike Frysinger <vapier@gentoo.org>
1073
1074 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1075
cdfe2c5e
JM
10762012-07-05 Joseph Myers <joseph@codesourcery.com>
1077
1078 [BZ #14157]
1079 [BZ #14331]
1080 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1081 could result in spurious underflow. Scale down values above
1082 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1083 * math/s_csqrtf.c (__csqrtf): Likewise.
1084 * math/s_csqrtl.c (__csqrtl): Likewise.
1085 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1086 spurious underflow.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1089
70d35b67
AS
10902012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1091
704bc459
AS
1092 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1093 xopen-msg.sed.
1094 * catgets/xopen-msg.awk: New file.
1095 * catgets/xopen-msg.sed: Removed.
1096
70d35b67
AS
1097 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1098 po2text.sed.
1099 * intl/po2test.awk: New file.
1100 * intl/po2test.sed: Removed.
1101
ca61cf32
JM
11022012-07-04 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #14328]
1105 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1106 or multiply small sinh result by itself.
1107 * math/s_ctanf.c (__ctanf): Likewise.
1108 * math/s_ctanh.c (__ctanh): Likewise.
1109 * math/s_ctanhf.c (__ctanhf): Likewise.
1110 * math/s_ctanhl.c (__ctanhl): Likewise.
1111 * math/s_ctanl.c (__ctanl): Likewise.
1112 * math/libm-test.inc (ctan_test_tonearest): New function.
1113 (ctan_test_towardzero): Likewise.
1114 (ctan_test_downward): Likewise.
1115 (ctan_test_upward): Likewise.
1116 (ctanh_test_tonearest): Likewise.
1117 (ctanh_test_towardzero): Likewise.
1118 (ctanh_test_downward): Likewise.
1119 (ctanh_test_upward): Likewise.
1120 (main): Call these new functions.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1123
ca48a46a
MF
11242012-07-03 Mike Frysinger <vapier@gentoo.org>
1125
1126 * .gitignore: Delete /ports entry.
1127
9d63d37d
AJ
11282012-07-03 Andreas Jaeger <aj@suse.de>
1129
1130 * po/bg.po: Update from translation team.
1131 * po/cs.po: Likewise.
1132 * po/de.po: Likewise.
1133 * po/hr.po: Likewise.
1134 * po/nl.pl: Likewise.
1135 * po/pl.po: Likewise.
1136 * po/vi.po: Likewise.
1137
370ca3d2
JM
11382012-07-03 Joseph Myers <joseph@codesourcery.com>
1139
95f5a9a8
JM
1140 * Makeconfig [!+link] (+link-before-libc): New variable.
1141 [!+link] (+link-after-libc): Likewise.
1142 [!+link] (+link-tests): Likewise.
1143 [!+link] (+link): Define in terms of $(+link-before-libc) and
1144 $(+link-after-libc).
1145 [!+link-static] (+link-static-before-libc): New variable.
1146 [!+link-static] (+link-static-after-libc): Likewise.
1147 [!+link-static] (+link-static-tests): Likewise.
1148 [!+link-static] (+link-static): Define in terms of
1149 $(+link-static-before-libc) and $(+link-static-after-libc).
1150 [build-shared] (link-libc-before-gnulib): New variable.
1151 [build-shared] (link-libc-tests): Likewise.
1152 [build-shared] (link-libc): Define in terms of
1153 $(link-libc-before-gnulib).
1154 [!build-shared] (link-libc-tests): New variable.
1155 (link-libc-static-tests): New variable.
1156 [!gnulib] (gnulib-arch): New variable.
1157 [!gnulib] (gnulib-tests): Likewise.
1158 [!gnulib] (static-gnulib-arch): Likewise.
1159 [!gnulib] (static-gnulib-tests): Likewise.
1160 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1161 Define with "=" instead of ":=".
1162 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1163 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1164 * Rules (binaries-all-notests): New variable.
1165 (binaries-all-tests): Likewise.
1166 (binaries-static-notests): Likewise.
1167 (binaries-static-tests): Likewise.
1168 (binaries-all): Define using $(binaries-all-notests) and
1169 $(binaries-all-tests).
1170 (binaries-static): Define using $(binaries-static-notests) and
1171 $(binaries-static-tests).
1172 (binaries-shared-tests): New variable.
1173 (binaries-shared-notests): Likewise.
1174 (binaries-shared): Remove variable.
1175 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1176 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1177 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1178 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1179 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1180 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1181 * elf/Makefile (sln-modules): New variable.
1182 (extra-objs): Add $(sln-modules:=.o).
1183 (ldconfig-modules): Add static-stubs.
1184 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1185 * elf/static-stubs.c: New file.
1186
7a845b2c
JM
1187 [BZ #14283]
1188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1189 by 7 not 8 to examine high bit of fractional part. Use volatile
1190 variables when splitting into final array of floats if
1191 __FLT_EVAL_METHOD__ != 0.
1192 * math/libm-test.inc (cos_test): Add another test.
1193 (sin_test): Likewise.
1194 * sysdeps/i386/fpu/libm-test-ulps: Update.
1195
e2283f38
JM
1196 [BZ #14273]
1197 * math/libm-test.inc (cosh_test): Add more tests.
1198
370ca3d2
JM
1199 * version.h (RELEASE): Set to "development".
1200 (VERSION): Set to "2.16.90".
1201
ee9247c3
CD
12022012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1203
1204 * NEWS: Update copyright. Remove last-updated date.
1205 Mention math library bug fixes and timezone data changes.
1206 * README: Mention GNU/Hurd, x32, and HPPA support status.
1207
4648c381
TS
12082012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1209
1210 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1211
aac78a43
AJ
12122012-06-27 Andreas Jaeger <aj@suse.de>
1213
1214 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1215
ed3dbfad
AJ
12162012-06-25 Andreas Jaeger <aj@suse.de>
1217
1218 * sysdeps/s390/fpu/libm-test-ulps: Update.
1219
4d0ee855
AS
12202012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1221 Thomas Schwinge <thomas@codesourcery.com>
1222
1223 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1224 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1226 fanotify_mark.
1227
af1bce34
TS
12282012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1229
a9fa33ba
TS
1230 * sysdeps/mach/start.c: Remove file.
1231 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1232 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1233 * sysdeps/sh/init-first.c: Likewise.
1234
58f902b8
TS
1235 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1236 registers for frame unwinding purposes, add CFI directives.
1237 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1238 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1239 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1240 Likewise.
1241
1518f58b
TS
1242 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1243 __fortify_fail returning.
1244 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1245
db9b5059
TS
1246 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1247 sysdeps/sh/____longjmp_chk.S.
1248 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1249 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1250 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1251 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1252
967705fe
TS
1253 * sysdeps/sh/abort-instr.h: New file.
1254 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1255 process in case exit returns.
1256
a9def8c4
TS
1257 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1258 initialize the GOT register before use.
1259
2a649725
TS
1260 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1261 calculation of ARGC > 4.
1262
af1bce34
TS
1263 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1264 meaningful names to some local labels.
1265
d230f50a
KK
12662012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1267 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1268
1269 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1270 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1271 (__arch_compare_and_exchange_val_16_acq): Likewise.
1272 (__arch_compare_and_exchange_val_32_acq): Likewise.
1273 (atomic_exchange_and_add): Fix gUSA sequence.
1274 (atomic_add): Likewise.
1275 (atomic_add_negative): Likewise.
1276 (atomic_add_zero): Likewise.
1277 (atomic_bit_test_set): Likewise.
1278
0479b305
AS
12792012-06-22 Andreas Schwab <schwab@redhat.com>
1280
1281 [BZ #13579]
1282 * include/link.h (struct link_map): Add l_free_initfini.
1283 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1284 l_initfini.
1285 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1286 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1287 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1288 set.
1289
0e3933b9
CD
12902012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1291
1292 * configure.in: Use AC_LANG_SOURCE.
1293 * configure: Regenerate.
1294
4248b1b1
RM
12952012-06-22 Roland McGrath <roland@hack.frob.com>
1296
1297 * configure.in (libc_cv_localstatedir): New substituted variable.
1298 * configure: Regenerated.
1299 * config.make.in (localstatedir): New variable, substituted from
1300 libc_cv_localstatedir.
1301 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1302 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1303 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1304 * sysdeps/gnu/configure: Regenerated.
1305
006dd861
JL
13062012-06-21 Jeff Law <law@redhat.com>
1307
1308 [BZ #14277]
1309 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1310 free. Simplify list management for _LIBC case.
1311
79662d42
JM
13122012-06-21 Joseph Myers <joseph@codesourcery.com>
1313
b7abb4bf
JM
1314 [BZ #14273]
1315 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1316 Clear sign bit of 64-bit integer value before comparing against
1317 overflow value.
1318
79662d42
JM
1319 * sysdeps/mach/configure: Regenerated.
1320
1f150908
L
13212012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1322
1323 [BZ #14278]
1324 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1325
28363bbf
JL
13262012-06-21 Jeff Law <law@redhat.com>
1327
1328 [BZ #13882]
1329 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1330 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1331 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1332 * elf/dl-open.c (dl_open_worker): Likewise.
1333
09615db4
CD
13342012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1335
1336 * scripts/list-sources.sh: Scan PORTS for translations.
1337 * po/libc.pot: Regenerated.
1338
2174c6dd
AJ
13392012-06-21 Andreas Jaeger <aj@suse.de>
1340
1341 [BZ #12194]
1342 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1343 warning.
1344 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1345 * bits/byteswap-16.h (__bswap_16): Likewise.
1346 * bits/byteswap.h (__bswap_constant_16): Likewise.
1347
3ee947b1
L
13482012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1349
1350 [BZ #14117]
a2f34833
L
1351 * sysdeps/i386/fpu_control.h: Removed.
1352 * sysdeps/x86_64/fpu_control.h: Moved to ...
1353 * sysdeps/x86/fpu_control.h: Here.
1354
3ee947b1
L
1355 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1356 (_FPU_SETCW): Likewise.
1357
ed1825f8
L
13582012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1359
25f1282a
L
1360 [BZ #14117]
1361 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1362 * sysdeps/x86/fpu/bits/mathinline.h: This.
1363 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1364
ed1825f8
L
1365 [BZ #14050]
1366 [BZ #14117]
1367 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1368 functions if __x86_64__ is defined.
1369
36d54b74
CLT
13702012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1371
1372 * string/endian.h: Add !__ASSEMBLER__ condition for including
1373 conversion interfaces.
1374
10285c21
JM
13752012-06-15 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #14241]
1378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1379 of ABS(x) in calculating zero to negative powers other than odd
1380 integers.
1381 * math/libm-test.inc (pow_test): Add more tests.
1382
06c5abbd
AJ
13832012-06-15 Andreas Jaeger <aj@suse.de>
1384
1385 * manual/contrib.texi (Contributors): Update entry of Liubov
1386 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1387 Machado Filho.
1388
a3aeac40
CH
13892012-06-15 Cyril Hrubis <metan@ucw.cz>
1390
1391 * string/string.h: Add __wur to GNU version of strerror_r.
1392
49bdf4c1
L
13932012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 [BZ #14229]
1396 * string/Makefile (tests): Add tst-strtok_r.
1397 * string/tst-strtok_r.c: New file.
1398 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1399 RAX_LP/RDX_LP on SAVE_PTR.
1400
834f9b8d
RM
14012012-06-14 Roland McGrath <roland@hack.frob.com>
1402
1403 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1404
75fa1921
JM
14052012-06-14 Joseph Myers <joseph@codesourcery.com>
1406
1407 * libm_test.inc (csqrt_test): Allow more spurious underflow
1408 exceptions.
1409 (j0_test): Likewise.
1410 (j1_test): Likewise.
1411 (y0_test): Likewise.
1412 (y1_test): Likewise.
1413
771766df
CD
14142012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1415
1416 * po/Makefile (libc.pot): Use UTF-8 charset.
1417
ceb9e56b
PP
14182012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1419
1420 [BZ #14210]
1421 Suppress sign-conversion warning from FD_SET.
1422 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1423 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1424 not unsigned long int.
1425 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1426
ddb28975
L
14272012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 [BZ #14050]
1430 [BZ #14117]
1431 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1432 __extern_always_inline instead of __extern_inline.
1433 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1434 (__signbit): Likewise.
1435 (__signbitl): Support C++ namespace.
1436 (lrintf): New inline function.
1437 (lrint): Likewise.
1438 (llrintf): Likewise.
1439 (llrint): Likewise.
1440 (fmaxf): Likewise.
1441 (fmax): Likewise.
1442 (fminf): Likewise.
1443 (fmin): Likewise.
1444 (rint): Likewise.
1445 (rintf): Likewise.
1446 (ceil): Likewise.
1447 (ceilf): Likewise.
1448 (floor): Likewise.
1449 (floorf): Likewise.
1450 (nearbyint): Likewise.
1451 (nearbyintf): Likewise.
1452
d7b4fb26
TS
14532012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1454
1455 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1456 non-default versions.
1457
eb55f5c2
RM
14582012-06-11 Roland McGrath <roland@hack.frob.com>
1459
1460 [BZ #14218]
1461 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1462
366af02c
TS
14632012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1464
99ff6e5c
TS
1465 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1466 (FE_UPWARD, FE_DOWNWARD): Don't define.
1467 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1468 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1469
366af02c
TS
1470 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1471 reading it.
1472 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1473 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1474
793ea851
KK
14752012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1476
1477 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1479 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1480 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1481
a728a38f
L
14822012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 [BZ #14117]
c08010c7
L
1485 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1486 * sysdeps/i386/fpu/Implies: New file.
1487 * sysdeps/x86_64/fpu/Implies: Likewise.
1488 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1489 * sysdeps/x86/fpu/bits/fenv.h: This.
1490
a728a38f
L
1491 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1492 __SSE_MATH__.
1493
6e230d11
SP
14942012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1495
1496 [BZ #14134]
1497 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1498 character 0xffff that matches the last element of the
1499 conversion table.
1500
1b671feb
AZ
15012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1502
1503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1504 fmodl commit.
1505
6043738b
AZ
15062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507
1508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1509 values higher than 25.6283.
1510
34ae0b32
AZ
15112012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1512
1513 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1514 subnormal exponent extraction and add some __builtin_expect.
1515 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1516 Fix for subnormal mantissa calculation.
1517
1214ec8f
MF
15182012-06-04 Mike Frysinger <vapier@gentoo.org>
1519
1520 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1521 cpu2 is -1 and errno is not ENOSYS.
1522
f3d1f93c
L
15232012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 [BZ #14117]
0e4a3cd7
L
1526 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1527 * sysdeps/x86/bits/string.h: This.
1528 * sysdeps/x86_64/bits/string.h: Removed.
1529
6704c645
L
1530 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1531 if not compiling for x86-64, but compiling for >= i486.
1532
48495318
L
1533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1534 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1535
14adcbfc
L
1536 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1537 New macro from Linux kernel 3.4.0.
1538 (FP_XSTATE_MAGIC2): Likewise.
1539 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1540 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1541 (struct _fpx_sw_bytes): New struct.
1542 (struct _xsave_hdr): Likewise.
1543 (struct _ymmh_state): Likewise.
1544 (struct _xstate): Likewise.
1545
68e408ab
L
1546 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1547 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1548 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1549 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1550 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1551 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1552
f3d1f93c
L
1553 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1554 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1555 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1556 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1557 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1558 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1559
d9dc34cd
TMQMF
15602012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1561
1562 [BZ #13743]
1563 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1564 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1565 (sysdep_headers): Include sys/platform/ppc.h.
1566 * sysdeps/powerpc/test-gettimebase.c: Test for
1567 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1568 * manual/Makefile (appendices): Include platform.texi.
1569 * manual/contrib.texi (Contributors): Update @node pointers.
1570 * manual/maint.texi (Maintenance): Likewise.
1571 (Platform): New node.
1572 * manual/platform.texi: New file. Document the new features.
1573
4af3879c
SP
15742012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 Jakub Jelinek <jakub@redhat.com>
1576
1577 [BZ #14188]
1578 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1579 where __builtin_expect is unavailable.
1580
2fd6ff13
DM
15812012-06-03 David S. Miller <davem@davemloft.net>
1582
1583 * stdlib/longlong.h: Updated from GCC.
1584
173f7220
AS
15852012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1586
1587 [BZ #14042]
1588 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1589 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1590 __mcount_internal.
1591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1592 (GLIBC_2.16): Likewise.
1593
f34a1c6f
L
15942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1595
1596 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1597
88a4576f
JM
15982012-06-01 Joseph Myers <joseph@codesourcery.com>
1599
ea32bcdd
JM
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1601 (default-abi): New variable.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1603 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1604 variable.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1608 Likewise.
1609 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1610 Likewise.
1611
88a4576f
JM
1612 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1613 definition. Document in comment.
1614
402fe938
DM
16152012-06-01 David S. Miller <davem@davemloft.net>
1616
1617 * stdlib/longlong.h: Updated from GCC.
1618
3553723f
L
16192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1620
1621 [BZ #14117]
3bd872c4
L
1622 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1623 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1624 sys/debugreg.h sys/io.h here.
1625 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1626 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1627 sys/io.h.
1628 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1629 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1630 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1631 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1632 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1633 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1634
3553723f
L
1635 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1636 Define only if __x86_64__ is defined.
1637
4842e4fe
JM
16382012-06-01 Joseph Myers <joseph@codesourcery.com>
1639
c5bfe3d5
JM
1640 [BZ #14048]
1641 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1642 Use int64_t for variable i.
1643 * math/libm-test.inc (fmod_test): Add more tests.
1644
4842e4fe
JM
1645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1646 z computation is not scheduled after fetestexcept.
1647 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1648 Use math_force_eval instead of asm to ensure calculation scheduled
1649 before exception test.
1650 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1651 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1652
efb73488
AJ
16532012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1654
1655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1656 computation is not scheduled after fetestexcept.
1657
29bcce7c
L
16582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1659
1660 [BZ #14117]
1661 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1662 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1663
73a68f94
AZ
16642012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1665
1666 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1667 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1668
67b6df78
L
16692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1670
edf2933a 1671 [BZ #14117]
ebc64a18
L
1672 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1673 <bits/wordsize.h>.
1674 (__WCHAR_MIN): Support __WORDSIZE == 64.
1675 (__WCHAR_MAX): Likewise.
1676
edf2933a
L
1677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1679
57c6cf40
L
1680 [BZ #14183]
1681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1682 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1683
67b6df78 1684 [BZ #14117]
8eb6281e
L
1685 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1687
aac639f4
L
1688 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1689 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1690
67b6df78
L
1691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1692 Defined to 1 if __x86_64__ isn't defined.
1693 (_STAT_VER_LINUX_OLD): New.
1694 (st_atime): Remove duplicate.
1695 (st_mtime): Likewise.
1696 (st_ctime): Likewise.
1697
1c2cfe81
DM
16982012-05-31 David S. Miller <davem@davemloft.net>
1699
1700 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1701 entries.
1702
5be8418c
AS
17032012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1704
e7725326
AS
1705 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1706 gen-libm-test.pl.
1707
5be8418c
AS
1708 [BZ #14132]
1709 * elf/dl-reloc.c: Include <_itoa.h>.
1710 (_dl_reloc_bad_type): Remove use of INTUSE.
1711 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1712 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1713 * stdio-common/psiginfo.c (psiginfo): Likewise.
1714 * stdio-common/psignal.c (psignal): Likewise.
1715 * string/strsignal.c (strsignal): Likewise.
1716 * include/signal.h (_sys_siglist): Declare hidden proto.
1717 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1718 INTVARDEF with libc_hidden_data_def.
1719 * stdio-common/itoa-udigits.c: Likewise.
1720 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1721 (_itoa_lower_digits_internal): Remove declaration.
1722 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1723 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1724 (_sys_sigabbrev_internal): Remove aliases.
1725 (_sys_siglist): Define hidden alias.
1726
507352f1
MT
17272012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1728
1729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1730 bits/sysctl.h.
1731
42bbb1c3
L
17322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 [BZ #14117]
6bd784b6
L
1735 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1736 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1737
8bca20f0
L
1738 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1739 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1740 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1741 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1743 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1744
f9e890a9
L
1745 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1746 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1747 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1748
471101a1
L
1749 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1750 with __addr.
1751 (insw): Likewise.
1752 (insl): Likewise.
1753 (outsb): Likewise.
1754 (outsw): Likewise.
1755 (outsl): Likewise.
1756
6451c862
L
1757 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1759 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1760
a254b8c9
L
1761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1762 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1764 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1765 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1766 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1767
b8dfdd92
L
1768 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1769 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1770
578cd270
L
1771 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1772 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1773
de662f5f
L
1774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1776 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1777
25653439
L
1778 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1779 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1780 to ...
1781 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1782
6bad24a0
L
1783 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1784 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1785 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1786
42bbb1c3
L
1787 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1788 for x86-64.
1789 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1790
2d10d547
JM
17912012-05-31 Joseph Myers <joseph@codesourcery.com>
1792
1793 * math/math.h (M_El): Use two more decimal places.
1794 (M_LOG2El): Likewise.
1795 (M_LOG10El): Likewise.
1796 (M_LN2l): Likewise.
1797 (M_LN10l): Likewise.
1798 (M_PIl): Likewise.
1799 (M_PI_2l): Likewise.
1800 (M_PI_4l): Likewise.
1801 (M_1_PIl): Likewise.
1802 (M_2_PIl): Likewise.
1803 (M_2_SQRTPIl): Likewise.
1804 (M_SQRT2l): Likewise.
1805 (M_SQRT1_2l): Likewise.
1806
f230c29b
DM
18072012-05-31 David S. Miller <davem@davemloft.net>
1808
1809 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1810 values between float registers.
1811 * sysdeps/sparc/sparc64/memset.S: Likewise.
1812 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1813
fed806c3
MF
18142012-05-31 Mike Frysinger <vapier@gentoo.org>
1815
1816 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1817 -D_FORTIFY_SOURCE=1.
1818 (CPPFLAGS-tst-longjmp_chk.c): Define.
1819 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1820 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1821 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1822 CFLAGS-tst-wchar-h.c.
1823
30917259
MP
18242012-05-31 Marek Polacek <polacek@redhat.com>
1825
1826 [BZ #14132]
1827 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1828 __endmntent_internal): Remove declaration.
1829 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1830 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1831 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1832
1c58d5dc
DM
18332012-05-30 David S. Miller <davem@davemloft.net>
1834
1835 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1836 (___Q_simulate_exceptions): Use real FP ops rather than writing
1837 into the %fsr.
1838 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1839 Likewise.
1840
7dc00e0d
L
18412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1842
1843 [BZ #14117]
0bd53985
L
1844 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1845 * sysdeps/x86/bits/xtitypes.h: This.
1846
3a257e66
L
1847 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1848 * sysdeps/x86/bits/wordsize.h: This.
1849
62f62904
L
1850 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1851 * sysdeps/x86/bits/huge_vall.h: This.
1852
404fe9d9
L
1853 * sysdeps/i386/bits/select.h: Removed.
1854 * sysdeps/x86_64/bits/select.h: Renamed to ...
1855 * sysdeps/x86/bits/select.h: This.
1856
d48d0446
L
1857 * sysdeps/i386/bits/setjmp.h: Removed.
1858 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1859 * sysdeps/x86/bits/setjmp.h: This.
1860
7dc00e0d
L
1861 * sysdeps/i386/bits/mathdef.h: Removed.
1862 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1863 * sysdeps/x86/bits/mathdef.h: This.
1864
03277f8f
AS
18652012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1866
1867 [BZ #14132]
1868 * include/sys/socket.h (__connect_internal)
1869 (__libc_sa_len_internal): Remove declaration.
1870 (__connect, __libc_sa_len): Declare hidden_proto.
1871 (SA_LEN): Remove use of INTUSE.
1872 * socket/connect.c: Add libc_hidden_def.
1873 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1874 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1875 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1876 alias.
1877 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1879 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1880 of adding _internal alias.
1881
13764867
L
18822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 [BZ #14117]
6bd97696
L
1885 * sysdeps/i386/bits/link.h: Removed.
1886 * sysdeps/i386/bits/linkmap.h: Likewise.
1887 * sysdeps/x86_64/bits/link.h: Renamed to ...
1888 * sysdeps/x86/bits/link.h: This.
1889 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1890 * sysdeps/x86/bits/linkmap.h: This.
1891
f726f0bb
L
1892 * sysdeps/i386/bits/endian.h: Removed.
1893 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1894 * sysdeps/x86/bits/endian.h: This.
1895
13764867
L
1896 * sysdeps/i386/bits/byteswap.h: Removed.
1897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1898 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1899 * sysdeps/x86/bits/byteswap.h: This.
1900 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1901 * sysdeps/x86/bits/byteswap-16.h: This.
1902 * sysdeps/i386/Implies: Add x86.
1903 * sysdeps/x86_64/Implies: Likewise.
1904
ae251b0b
DM
19052012-05-30 David S. Miller <davem@davemloft.net>
1906
1907 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1908 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1910 (FP_TRAPPING_EXCEPTIONS): Define.
1911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1912 (FP_TRAPPING_EXCEPTIONS): Define.
1913 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1914 subnormals only when inexact has been signalled or underflow
1915 exceptions are enabled.
1916 (_FP_PACK_CANONICAL): Likewise.
1917
d5c90867
L
19182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 [BZ #14183]
1921 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1922 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1923
63f1549e
RH
19242012-05-30 Richard Henderson <rth@twiddle.net>
1925
8d8f2279
RH
1926 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1927 with #ifndef NOT_IN_libc.
1928
63f1549e
RH
1929 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1930 marked to avoid plt entry.
1931
0ab0291b
L
19322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1933
1934 [BZ #14112]
1935 * Makeconfig (default-abi): New macro.
1936 (abi-includes): Likewise.
1937 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1938 $(abi-$(default-abi)-lib-soname) for soname if defined.
1939 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1940 abi-variants.
1941 * Makefile (installed-stubs): Likewise.
1942 * include/stubs-biarch.h: Removed.
1943 * scripts/lib-names.awk: Only handle one library at a time.
1944 * scripts/soversions.awk: Remove WORDSIZE support.
1945 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1946 entries.
1947 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1948 Removed.
1949 (syscall-list-default-condition): Likewise.
1950 (syscall-list-default-condition): Likewise.
1951 (syscall-list-includes): Likewise.
1952 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1953 syscall-list-* with abi-*. Handle undefined abi-variants.
1954 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1955 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1956 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1957 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1958 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1959 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1960 Removed.
1961 (syscall-list-32-options): Likewise.
1962 (syscall-list-32-condition): Likewise.
1963 (syscall-list-64-options): Likewise.
1964 (syscall-list-64-condition): Likewise.
1965 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1966 macro.
1967 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1968 Renamed to ...
1969 (abi-*): This.
1970 (abi-64-ld-soname): New macro.
1971 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1972 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1973 Renamed to ...
1974 (abi-*): This.
1975 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1976 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1977
4da0431d
JM
19782012-05-30 Joseph Myers <joseph@codesourcery.com>
1979
3a85279c
JM
1980 * sysdeps/unix/sysv/linux/kernel-features.h
1981 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1982 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1983 include <kernel-features.h>.
1984 [!__NR_ftruncate64]: Remove conditional code.
1985 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1986 [__NR_ftruncate64]: Make code unconditional.
1987 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1988 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1989 include <kernel-features.h>.
1990 [!__NR_ftruncate64]: Remove conditional code.
1991 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1992 [__NR_ftruncate64]: Make code unconditional.
1993 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1995 include <kernel-features.h>.
1996 [!__NR_ftruncate64]: Remove conditional code.
1997 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1998 [__NR_ftruncate64]: Make code unconditional.
1999 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2001 include <kernel-features.h>.
2002 [!__NR_ftruncate64]: Remove conditional code.
2003 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2004 [__NR_ftruncate64]: Make code unconditional.
2005 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
2006
4da0431d
JM
2007 * configure.in (libc_cv_fpie): Weaken to a compile test using
2008 LIBC_TRY_CC_OPTION.
2009 * configure: Regenerated.
2010
11ef492c
AK
20112012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2012
2013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
2015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2017 Refreshed.
2018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
2020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
2021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
2022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
2023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2024 Refreshed.
2025
d66ef399
DM
20262012-05-27 David S. Miller <davem@davemloft.net>
2027
2028 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2029 (___Q_zero): New.
2030 (__Q_simulate_exceptions): Return void. Change to simulate
2031 exceptions by writing into the %fsr.
2032 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2033 (__Qp_handle_exceptions): Likewise.
2034 (numbers): Delete.
2035 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2036 __Qp_handle_exceptions.
2037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2038 __Qp_handle_exceptions.
2039 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2040 as unused and give dummy FP_RND_NEAREST initializer.
2041 (FP_INHIBIT_RESULTS): Define.
2042 (___Q_simulate_exceptions): Update declaration.
2043 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2044 formatting.
2045 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2046 as unused and give dummy FP_RND_NEAREST initializer.
2047 (__Qp_handle_exceptions): Update declaration.
2048 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2049 formatting.
2050
04fb54b5
TS
20512012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2052
2053 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2054 the temporary FPU control word.
2055 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2056 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2058 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2059 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2060 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2061 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2062 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2063 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2064 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2066
3f99608f
KK
20672012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2068
2069 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2070 fields.
2071
65a4de4e
CLT
20722012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2073
2074 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2075 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2076 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2077 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2078 Likewise.
2079 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2080 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2081 Likewise.
2082
15749d40
UD
20832012-05-27 Ulrich Drepper <drepper@gmail.com>
2084
2085 * po/h.po: Update from translation team.
2086
25dbcb27
AS
20872012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2088
3d3f8e55
AS
2089 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2090
25dbcb27
AS
2091 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2092 handling of denormals.
2093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2094 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2095 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2100 Likewise.
2101
7ad47a80 21022012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2103
2104 [BZ #14152]
2105 * math/libm-test.inc (fma_test): Don't always expect underflow
2106 exception.
2107
9c6ea9fa
SP
21082012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2109
2110 [BZ #12416]
2111 * elf/tst-execstack.c: Include stackinfo.h.
2112 (do_test): Adjust test case to ensure that pthread_getattr_np
2113 behaviour remains the same after marking stack executable.
2114
a8239222
JM
21152012-05-25 Joseph Myers <joseph@codesourcery.com>
2116
2117 * sysdeps/unix/sysv/linux/kernel-features.h
2118 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2119 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2120 kernel-features.h.
2121 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2122 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2123 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2124 kernel-features.h.
2125 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2126 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2127
918b5606
L
21282012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2129
2130 * configure.in: Define the default includes to being none.
2131 * configure: Regenerated.
2132
3a097cc7
RM
21332012-05-25 Roland McGrath <roland@hack.frob.com>
2134
8422c9a5
RM
2135 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2136 * sysdeps/x86_64/setjmp.S: Likewise.
2137 * sysdeps/i386/bsd-setjmp.S: Likewise.
2138 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2139 * sysdeps/i386/setjmp.S: Likewise.
2140 * sysdeps/i386/__longjmp.S: Likewise.
2141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2142 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2143
3a097cc7
RM
2144 * include/stap-probe.h: New file.
2145 * configure.in: Handle --enable-systemtap.
2146 * configure: Regenerated.
2147 * config.h.in (USE_STAP_PROBE): New #undef.
2148 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2149 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2150 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2151
21708942
JM
21522012-05-25 Joseph Myers <joseph@codesourcery.com>
2153
2154 [BZ #13717]
2155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2156 to 2.4.0 where earlier.
2157 * sysdeps/unix/sysv/linux/configure: Regenerated.
2158 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2159 <kernel-features.h>.
2160 [__ASSUME_32BITUIDS]: Make code unconditional.
2161 [!__ASSUME_32BITUIDS]: Remove conditional code.
2162 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2163 <kernel-features.h>.
2164 [__ASSUME_32BITUIDS]: Make code unconditional.
2165 [!__ASSUME_32BITUIDS]: Remove conditional code.
2166 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2167 [__ASSUME_32BITUIDS]: Make code unconditional.
2168 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2169 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2170 <kernel-features.h>.
2171 [__ASSUME_32BITUIDS]: Make code unconditional.
2172 [!__ASSUME_32BITUIDS]: Remove conditional code.
2173 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2174 <kernel-features.h>.
2175 [__ASSUME_32BITUIDS]: Make code unconditional.
2176 [!__ASSUME_32BITUIDS]: Remove conditional code.
2177 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2178 <kernel-features.h>.
2179 [__ASSUME_32BITUIDS]: Make code unconditional.
2180 [!__ASSUME_32BITUIDS]: Remove conditional code.
2181 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2182 <kernel-features.h>.
2183 [__ASSUME_32BITUIDS]: Make code unconditional.
2184 [!__ASSUME_32BITUIDS]: Remove conditional code.
2185 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2186 <kernel-features.h>.
2187 [__ASSUME_32BITUIDS]: Make code unconditional.
2188 [!__ASSUME_32BITUIDS]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2190 <kernel-features.h>.
2191 [__ASSUME_32BITUIDS]: Make code unconditional.
2192 [!__ASSUME_32BITUIDS]: Remove conditional code.
2193 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2194 <kernel-features.h>.
2195 [__ASSUME_32BITUIDS]: Make code unconditional.
2196 [!__ASSUME_32BITUIDS]: Remove conditional code.
2197 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2198 <kernel-features.h>.
2199 [__ASSUME_32BITUIDS]: Make code unconditional.
2200 [!__ASSUME_32BITUIDS]: Remove conditional code.
2201 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2202 <kernel-features.h>.
2203 [__ASSUME_32BITUIDS]: Make code unconditional.
2204 [!__ASSUME_32BITUIDS]: Remove conditional code.
2205 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
2210 <kernel-features.h>.
2211 [__NR_setresgid] (__setresgid): Do not declare.
2212 [__ASSUME_32BITUIDS]: Make code unconditional.
2213 [!__ASSUME_32BITUIDS]: Remove conditional code.
2214 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2215 <kernel-features.h>.
2216 [__NR_setresuid] (__setresuid): Do not declare.
2217 [__ASSUME_32BITUIDS]: Make code unconditional.
2218 [!__ASSUME_32BITUIDS]: Remove conditional code.
2219 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2220 <kernel-features.h>.
2221 [__ASSUME_32BITUIDS]: Make code unconditional.
2222 [!__ASSUME_32BITUIDS]: Remove conditional code.
2223 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2224 <kernel-features.h>.
2225 [__ASSUME_32BITUIDS]: Make code unconditional.
2226 [!__ASSUME_32BITUIDS]: Remove conditional code.
2227 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2228 <kernel-features.h>.
2229 [__ASSUME_32BITUIDS]: Make code unconditional.
2230 [!__ASSUME_32BITUIDS]: Remove conditional code.
2231 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2232 <kernel-features.h>.
2233 [__ASSUME_32BITUIDS]: Make code unconditional.
2234 [!__ASSUME_32BITUIDS]: Remove conditional code.
2235 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2236 <kernel-features.h>.
2237 [__ASSUME_32BITUIDS]: Make code unconditional.
2238 [!__ASSUME_32BITUIDS]: Remove conditional code.
2239 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2240 <kernel-features.h>.
2241 [__ASSUME_32BITUIDS]: Make code unconditional.
2242 [!__ASSUME_32BITUIDS]: Remove conditional code.
2243 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2244 <kernel-features.h>.
2245 [__ASSUME_32BITUIDS]: Make code unconditional.
2246 [!__ASSUME_32BITUIDS]: Remove conditional code.
2247 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2248 <kernel-features.h>.
2249 [__ASSUME_32BITUIDS]: Make code unconditional.
2250 [!__ASSUME_32BITUIDS]: Remove conditional code.
2251 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2252 <kernel-features.h>.
2253 [__ASSUME_32BITUIDS]: Make code unconditional.
2254 [!__ASSUME_32BITUIDS]: Remove conditional code.
2255 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
2260 (__ASSUME_SETRESUID_SYSCALL): Remove.
2261 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2262 (__ASSUME_32BITUIDS): Likewise.
2263 (__ASSUME_LDT_WORKS): Likewise.
2264 (__ASSUME_O_DIRECTORY): Likewise.
2265 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2266 architecture but not kernel version.
2267 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2268 (__ASSUME_MMAP2_SYSCALL): Likewise.
2269 (__ASSUME_STAT64_SYSCALL): Likewise.
2270 (__ASSUME_IPC64): Likewise.
2271 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2272 <kernel-features.h>.
2273 [__ASSUME_32BITUIDS]: Make code unconditional.
2274 [!__ASSUME_32BITUIDS]: Remove conditional code.
2275 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2276 <kernel-features.h>.
2277 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2278 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2279 132096]: Remove conditional code.
2280 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2281 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2282 <kernel-features.h>.
2283 [__ASSUME_32BITUIDS]: Make code unconditional.
2284 [!__ASSUME_32BITUIDS]: Remove conditional code.
2285 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2286 <kernel-features.h>.
2287 [__ASSUME_32BITUIDS]: Make code unconditional.
2288 [!__ASSUME_32BITUIDS]: Remove conditional code.
2289 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2290 <kernel-features.h>.
2291 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2292 unconditional.
2293 (__setresgid): Do not declare.
2294 [__ASSUME_32BITUIDS]: Make code unconditional.
2295 [!__ASSUME_32BITUIDS]: Remove conditional code.
2296 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2297 <kernel-features.h>.
2298 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2299 unconditional.
2300 (__setresuid): Do not declare.
2301 [__ASSUME_32BITUIDS]: Make code unconditional.
2302 [!__ASSUME_32BITUIDS]: Remove conditional code.
2303 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2304 <kernel-features.h>.
2305 [__ASSUME_32BITUIDS]: Make code unconditional.
2306 [!__ASSUME_32BITUIDS]: Remove conditional code.
2307 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2308 <kernel-features.h>.
2309 [__ASSUME_32BITUIDS]: Make code unconditional.
2310 [!__ASSUME_32BITUIDS]: Remove conditional code.
2311
a386f1cc
RH
23122012-05-25 Richard Henderson <rth@twiddle.net>
2313
2314 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2315 dl_hwcap to ifunc resolver.
2316 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2317 elf_ifunc_invoke.
2318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2319 dl_hwcap to ifunc resolver.
2320 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2321
b6550497
JM
23222012-05-24 Joseph Myers <joseph@codesourcery.com>
2323
2324 [BZ #14153]
2325 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2326 for |x| <= 2**-26, not 2**-57.
2327 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2328 exception.
2329
b0bc23a1
JL
23302012-05-24 Jeff Law <law@redhat.com>
2331
2332 * stdio-common/Makefile (tests): Add bug25.
2333 * stdio-common/bug25.c: New test.
2334
347c92e9
L
23352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2336
2337 [BZ #13576]
2338 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2339 multiple of MALLOC_ALIGNMENT in size.
2340 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2341
6bcc8b3f
JM
23422012-05-24 Joseph Myers <joseph@codesourcery.com>
2343
2344 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2345 Require >= 256.
2346 (FILENAME_MAX): Use macro-int-constant.
2347 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2348 (_IOFBF): Use macro-int-constant.
2349 (_IOLBF): Likewise.
2350 (_IONBF): Likewise.
2351 (SEEK_CUR): Likewise.
2352 (SEEK_END): Likewise.
2353 (SEEK_SET): Likewise.
2354 (TMP_MAX): Likewise.
2355 (EOF): Use macro-int-constant. Require < 0.
2356 (NULL): Use macro-constant. Require == 0.
2357 (stdin): Require type to be FILE *.
2358 (stdout): Likewise.
2359 (stderr): Likewise.
2360 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2361 macro-int-constant.
2362 (EXIT_SUCCESS): Likewise.
2363 (NULL): Use macro-constant. Require == 0.
2364 (RAND_MAX): Use macro-int-constant.
2365 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2366 [C99-based standards] (strtof): Require function.
2367 [C99-based standards] (strtold): Likewise.
2368 [C99-based standards] (strtoll): Likewise.
2369 [C99-based standards] (strtoull): Likewise.
2370 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2371 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2372 [ISO || ISO99 || ISO11] (math.h): Likewise.
2373 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2374 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2376
d18ea0c5
AS
23772012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2378
2379 [BZ #14132]
56d25bb8
AS
2380 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2381 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2382 * intl/dgettext.c (DCGETTEXT): Likewise.
2383 * intl/gettext.c (DCGETTEXT): Likewise.
2384 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2385 * posix/regex_internal.h (gettext): Likewise.
2386 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2387 Remove declaration.
2388 * include/argz.h (__argz_count_internal)
2389 (__argz_stringify_internal): Remove declaration.
2390 (__argz_count, __argz_stringify): Declare hidden proto.
2391 * intl/dcgettext.c: Remove use of INTDEF.
2392 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2393 * string/argz-stringify.c: Likewise.
2394 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2395 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2396 Declare hidden proto.
d18ea0c5
AS
2397 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2398 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2399 Declare hidden proto.
2400 * include/stdio.h (__asprintf_internal): Don't declare.
2401 (__asprintf): Don't define as macro. Declare hidden proto.
2402 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2403 (__fsetlocking): Declare hidden proto.
2404 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2405 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2406 hidden proto.
2407 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2408 (_IO_setlinebuf): Remove use of INTUSE.
2409 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2410 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2411 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2412 Remove declaration.
2413 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2414 (_IO_do_flush): Remove use of INTUSE.
2415 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2416 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2417 (_IO_adjust_column, _IO_least_wmarker)
2418 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2419 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2420 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2421 (_IO_default_doallocate, _IO_wdefault_doallocate)
2422 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2423 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2424 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2425 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2426 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2427 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2428 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2429 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2430 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2431 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2432 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2433 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2434 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2435 proto.
2436 (_IO_flush_all_internal, _IO_adjust_column_internal)
2437 (_IO_default_uflow_internal, _IO_default_finish_internal)
2438 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2439 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2440 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2441 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2442 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2443 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2444 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2445 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2446 (_IO_file_close_internal, _IO_file_close_it_internal)
2447 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2448 (_IO_file_init_internal, _IO_file_attach_internal)
2449 (_IO_file_fopen_internal, _IO_file_read_internal)
2450 (_IO_file_sync_internal, _IO_file_seek_internal)
2451 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2452 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2453 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2454 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2455 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2456 (_IO_list_all_internal, _IO_link_in_internal)
2457 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2458 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2459 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2460 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2461 (_IO_do_write_internal, _IO_padn_internal)
2462 (_IO_getline_info_internal, _IO_getline_internal)
2463 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2464 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2465 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2466 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2467 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2468 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2469 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2470 with libc_hidden_ver, remove use of INTUSE.
2471 * libio/genops.c: Likewise.
2472 * libio/freopen.c: Likewise.
2473 * libio/freopen64.c: Likewise.
2474 * libio/iofclose.c: Likewise.
2475 * libio/iofdopen.c: Likewise.
2476 * libio/iofflush.c: Likewise.
2477 * libio/iofflush_u.c: Likewise.
2478 * libio/iofgets.c: Likewise.
2479 * libio/iofgets_u.c: Likewise.
2480 * libio/iofopen.c: Likewise.
2481 * libio/iofopncook.c: Likewise.
2482 * libio/iofread.c: Likewise.
2483 * libio/iofread_u.c: Likewise.
2484 * libio/ioftell.c: Likewise.
2485 * libio/iofwrite.c: Likewise.
2486 * libio/iogetline.c: Likewise.
2487 * libio/iogets.c: Likewise.
2488 * libio/iogetwline.c: Likewise.
2489 * libio/iopadn.c: Likewise.
2490 * libio/iopopen.c: Likewise.
2491 * libio/ioseekoff.c: Likewise.
2492 * libio/ioseekpos.c: Likewise.
2493 * libio/iosetbuffer.c: Likewise.
2494 * libio/iosetvbuf.c: Likewise.
2495 * libio/ioungetc.c: Likewise.
2496 * libio/ioungetwc.c: Likewise.
2497 * libio/iovdprintf.c: Likewise.
2498 * libio/iovsprintf.c: Likewise.
2499 * libio/iovsscanf.c: Likewise.
2500 * libio/memstream.c: Likewise.
2501 * libio/obprintf.c: Likewise.
2502 * libio/oldfileops.c: Likewise.
2503 * libio/oldiofclose.c: Likewise.
2504 * libio/oldiofdopen.c: Likewise.
2505 * libio/oldiofopen.c: Likewise.
2506 * libio/oldiopopen.c: Likewise.
2507 * libio/oldstdfiles.c: Likewise.
2508 * libio/putc.c: Likewise.
2509 * libio/setbuf.c: Likewise.
2510 * libio/setlinebuf.c: Likewise.
2511 * libio/stdfiles.c: Likewise.
2512 * libio/strops.c: Likewise.
2513 * libio/vasprintf.c: Likewise.
2514 * libio/vscanf.c: Likewise.
2515 * libio/vsnprintf.c: Likewise.
2516 * libio/vswprintf.c: Likewise.
2517 * libio/wfiledoalloc.c: Likewise.
2518 * libio/wfileops.c: Likewise.
2519 * libio/wgenops.c: Likewise.
2520 * libio/wmemstream.c: Likewise.
2521 * libio/wstrops.c: Likewise.
2522 * libio/__fpurge.c: Likewise.
2523 * libio/__fsetlocking.c: Likewise.
2524 * assert/assert.c: Likewise.
2525 * debug/fgets_chk.c: Likewise.
2526 * debug/fgets_u_chk.c: Likewise.
2527 * debug/fread_chk.c: Likewise.
2528 * debug/fread_u_chk.c: Likewise.
2529 * debug/gets_chk.c: Likewise.
2530 * debug/obprintf_chk.c: Likewise.
2531 * debug/vasprintf_chk.c: Likewise.
2532 * debug/vdprintf_chk.c: Likewise.
2533 * debug/vsnprintf_chk.c: Likewise.
2534 * debug/vsprintf_chk.c: Likewise.
2535 * malloc/mtrace.c: Likewise.
2536 * misc/error.c: Likewise.
2537 * misc/syslog.c: Likewise.
2538 * stdio-common/asprintf.c: Likewise.
2539 * stdio-common/fxprintf.c: Likewise.
2540 * stdio-common/getw.c: Likewise.
2541 * stdio-common/isoc99_fscanf.c: Likewise.
2542 * stdio-common/isoc99_scanf.c: Likewise.
2543 * stdio-common/isoc99_vfscanf.c: Likewise.
2544 * stdio-common/isoc99_vscanf.c: Likewise.
2545 * stdio-common/isoc99_vsscanf.c: Likewise.
2546 * stdio-common/printf-prs.c: Likewise.
2547 * stdio-common/printf_fp.c: Likewise.
2548 * stdio-common/printf_fphex.c: Likewise.
2549 * stdio-common/printf_size.c: Likewise.
2550 * stdio-common/putw.c: Likewise.
2551 * stdio-common/scanf.c: Likewise.
2552 * stdio-common/sprintf.c: Likewise.
2553 * stdio-common/tmpfile.c: Likewise.
2554 * stdio-common/vfprintf.c: Likewise.
2555 * stdio-common/vfscanf.c: Likewise.
2556 * stdlib/strfmon_l.c: Likewise.
2557 * sunrpc/openchild.c: Likewise.
2558 * sunrpc/xdr_stdio.c: Likewise.
2559 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2560 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2561
d6c33fda
RM
25622012-05-24 Roland McGrath <roland@hack.frob.com>
2563
c1487492
RM
2564 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2565
2566 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2567 in the third column, to generate for the shared library an IFUNC
2568 that uses _dl_vdso_vsym.
2569 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2570 * Makeconfig (object-suffixes-noshared): New variable.
2571
2572 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2573 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2574 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2575 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2576
d6c33fda
RM
2577 [BZ #14132]
2578 * include/sys/time.h (__gettimeofday): Remove macro.
2579 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2580 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2581 Remove INTDEF.
2582 (__gettimeofday): Add libc_hidden_def.
2583 (gettimeofday): Add libc_hidden_weak.
2584 * sysdeps/mach/gettimeofday.c: Likewise.
2585 * sysdeps/posix/gettimeofday.c: Likewise.
2586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2587 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2589 (__gettimeofday_internal): Remove strong_alias.
2590 (__gettimeofday): Add libc_hidden_def.
2591 (gettimeofday): Add libc_hidden_weak.
2592 * sysdeps/unix/syscalls.list (gettimeofday):
2593 Remove __gettimeofday_internal alias.
2594
b5a2bbe6
L
25952012-05-24 Daniel Jacobowitz <drow@false.org>
2596 H.J. Lu <hongjiu.lu@intel.com>
2597
2598 [BZ #12495]
2599 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2600 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2601 (largebin_index_32_big): New.
2602 (largebin_index): Use it for 16-byte alignment.
2603 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2604 correction with front_misalign.
2605
cfba4fda
L
26062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2607
7f907421
L
2608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2610 Likewise.
2611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2612 Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2614 Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2616 Likewise.
2617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2618 Likewise.
2619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2620 Likewise.
2621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2622 Likewise.
2623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2624 Likewise.
2625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2626 Likewise.
2627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2628 Likewise.
2629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2630 Likewise.
2631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2632 Likewise.
2633
cfba4fda
L
2634 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2635 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2636
80bad0cc
JM
26372012-05-24 Joseph Myers <joseph@codesourcery.com>
2638
7a25eb06
JM
2639 [BZ #10846]
2640 [BZ #14036]
2641 * math/libm-test.inc (exp_test): Add test from bug 14036.
2642 (pow_test): Add test from bug 10846.
2643
795405f9
JM
2644 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2645 and other flags.
2646 (special_function): Do not include flags in test name.
2647 (parse_args): Likewise.
2648 * sysdeps/i386/fpu/libm-test-ulps: Update.
2649 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2650 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2651 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2653
80bad0cc
JM
2654 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2655 exceptions.
2656 * math/libm-test.inc ("Philosophy"): Update comment about
2657 exception testing.
2658 (UNDERFLOW_EXCEPTION): New macro.
2659 (UNDERFLOW_EXCEPTION_OK): Likewise.
2660 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2661 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2662 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2663 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2664 (INVALID_EXCEPTION_OK): Update value.
2665 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2666 (OVERFLOW_EXCEPTION_OK): Likewise.
2667 (IGNORE_ZERO_INF_SIGN): Likewise.
2668 (test_exceptions): Handle underflow exceptions.
2669 (acos_test): Update for underflow exception expectations.
2670 (cexp_test): Likewise.
2671 (clog_test): Likewise.
2672 (clog10_test): Likewise.
2673 (csqrt_test): Likewise.
2674 (ctan_test): Likewise.
2675 (ctanh_test): Likewise.
2676 (exp_test): Likewise.
2677 (exp10_test): Likewise.
2678 (exp2_test): Likewise.
2679 (expm1_test): Likewise.
2680 (fma_test): Likewise.
2681 (j0_test): Likewise.
2682 (jn_test): Likewise.
2683 (nexttoward_test): Likewise.
2684 (pow_test): Likewise.
2685 (scalbn_test): Likewise.
2686 (scalbln_test): Likewise.
2687 (tan_test): Likewise.
2688 (y1_test): Likewise.
2689 * sysdeps/i386/fpu/libm-test-ulps: Update.
2690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2691
9e0e3d0b
DM
26922012-05-23 David S. Miller <davem@davemloft.net>
2693
2694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2695 (__libc_sigaction): Remove unused local variables.
2696
ccd0a08f
L
26972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2698
2699 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2700
62bdf9a6
PE
27012012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2702
f8591f80
PE
2703 mktime: avoid signed integer overflow
2704 * time/mktime.c (__mktime_internal): Do not mishandle the case
2705 where diff == INT_MIN.
2706
94c7d826
PE
2707 mktime: simplify computation of average
2708 * time/mktime.c (ranged_convert): Use new time_t_avg function
2709 instead of rolling our own (probably-slower) code.
2710
ce73d683
PE
2711 mktime: do not assume signed right shift propagates sign bit
2712 * time/mktime.c (isdst_differ): New static function.
2713 (__mktime_internal): No need to normalize tm_isdst now.
2714 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2715 tm_isdst values.
2716
72a22e59
PE
2717 mktime: merge another wrapv change from gnulib
2718 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2719 from some compilers.
2720
68605433
PE
2721 mktime: remove incorrect attempt at unusual arithmetics
2722 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2723 The code didn't really work on such machines anyway.
2724 (TYPE_MINIMUM): Assume two's complement.
2725 (twos_complement_arithmetic): Verify that long_int and time_t
2726 are two's complement (or unsigned, in the latter case).
2727
03cf7fe3
PE
2728 mktime: check signed shifts on long_int and time_t, too
2729 * time/mktime.c (SHR): Check that shifts work as desired
2730 on the types long_int and time_t too, as SHR is used on
2731 such types.
2732
f04dfbc2
PE
2733 mktime: do not assume 'long' is wide enough
2734 * time/mktime.c (verify): Move decl up.
2735 (long_int): New type.
2736 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2737 to remove assumption in the code that 'long' is wide enough to
2738 store year values. This assumption is not true on x32 and on
2739 some non-glibc platforms.
2740
62bdf9a6
PE
2741 mktime: merge wrapv change from gnulib
2742 * time/mktime.c (WRAPV): New macro.
2743 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2744 (guess_time_tm, __mktime_internal): Do not assume that signed
2745 integer overflow wraps around; modern compilers generate code
2746 where this assumption is no longer valid.
2747
5e292e4f
L
27482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2749
2750 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2751 Replace "jmp L(pseudo_end)" with "ret".
2752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2753 Likewise.
2754
8caf8c87
AJ
27552012-05-23 Andreas Jaeger <aj@suse.de>
2756
2757 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2758 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2759
1a09dc56
AJ
27602012-05-23 Andreas Jaeger <aj@suse.de>
2761 Maximilian Attems <max@stro.at>
2762
2763 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2764 New macros.
2765
1c87aba0
L
27662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2767
2768 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2769 code so that pseudo_end is just ret and the stack pointer is
2770 correct also for static library in error case.
2771
40e45bd5
JM
27722012-05-23 Joseph Myers <joseph@codesourcery.com>
2773
c2670533
JM
2774 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2775 move to syscalls.list.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2780
40e45bd5
JM
2781 * manual/install.texi (Running make install): Do not mention Linux
2782 kernel version for which pt_chown is not needed.
2783 (Linux): Do not mention problems with nscd with 2.0 kernels.
2784 * INSTALL: Regenerated.
2785
be08eda5
AJ
27862012-05-23 Andreas Jaeger <aj@suse.de>
2787
2788 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2789 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2790 macro.
2791 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2793 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2794 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2795 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2798 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2800 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2801 * sysdeps/unix/sysv/linux/bits/in.h
2802 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2803
a6a056bb
RM
28042012-05-22 Roland McGrath <roland@hack.frob.com>
2805
2806 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2807 (PREPARE_VERSION): Just use assert instead, it will be elided
2808 under [NDEBUG] anyway.
2809
c9009328
L
28102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * sysdeps/unix/sysv/linux/Makefile: Include
2813 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2814 (sysdep_routines): Remove sysctl.
c9009328
L
2815 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2816 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2817 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2819 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2820
73338355
AJ
28212012-05-22 Andreas Jaeger <aj@suse.de>
2822
2823 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2824 that pseudo_end is just ret and the stack pointer is correct also
2825 for static library in error case.
2826
d44638b0
PP
28272012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2828
2829 [BZ #14122]
2830 * nss/nsswitch.c (defconfig_entries): New variable.
2831 (__nss_database_lookup): Don't leak defconfig entries.
2832 (nss_parse_service_list): Don't leak on error paths.
2833 (free_database_entries): New function.
2834 (free_defconfig): New function.
2835 (free_mem): Move common code to free_database_entries.
2836
31a39bd8
L
28372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2838
da0331a8
L
2839 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2840 Add arch_prctl.
2841 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2842
31a39bd8
L
2843 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2844 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2846 New macro.
2847 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2848 (INTERNAL_SYSCALL_TYPES): Likewise.
2849 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2850 (LOAD_REGS_TYPES_[1-6]): Likewise.
2851 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2852 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2853
45470df3
AZ
28542012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2855
2856 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2857 copysignl for GLIBC_2_0.
2858 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2859 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2861 logbl for GLIBC_2_0.
2862 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2863 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2864
98a61bcb
L
28652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2866
a4f6e481
L
2867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2869
f63d5db6
L
2870 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2871 Use "neg %eax".
2872
98a61bcb
L
2873 * time/mktime.c: Update copyright years.
2874
95770f14
PE
28752012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2876
6226efbd
PE
2877 mktime: merge comment-quoting-style change from gnulib
2878 * time/mktime.c: Quote 'like this' in comments.
2879 The GNU coding standards suggest that we no longer quote `like this',
2880 as "`" and "'" are typically rendered asymmetrically nowadays.
2881 The typical gnulib style is to quote 'like this' when quoting
2882 code, and "like this" when quoting English.
2883
b99e4f78
PE
2884 * time/mktime.c (compile-command): Add "-I.".
2885
643e01e6
PE
2886 mktime: merge mktime-internal.h change from gnulib
2887 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2888
2554247d
PE
2889 mktime: merge time_r change from gnulib
2890 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2891
826dd0ab
PE
2892 mktime: merge DEBUG change from gnulib
2893 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2894 case system <time.h> has a #define.
2895
bd83aabe
PE
2896 mktime: merge <sys/types.h> change from gnulib
2897 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2898 since <time.t> is now guaranteed to define time_t.
2899
95770f14
PE
2900 mktime: merge HAVE_CONFIG_H change from gnulib
2901 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2902
5e1a27a9
L
29032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2904
0e44a77e
L
2905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2906 Use "neg %eax".
2907
5e1a27a9
L
2908 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2909 __rlim_t cast.
2910 (struct rusage): Use anonymous union to pad each field to
2911 __syscall_slong_t.
2912
46259bec
DM
29132012-05-21 David S. Miller <davem@davemloft.net>
2914
2915 * Makefules (o-iterator): Remove .s cases.
2916 (compile-command.s): Delete.
2917 (COMPILE.s): Delete.
2918 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2919
59f0c22e
JM
29202012-05-21 Joseph Myers <joseph@codesourcery.com>
2921
2922 * configure.in (libc_cv_predef_stack_protector): Only consider
2923 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2924 * configure: Regenerated.
2925
20c07380
L
29262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2927
bbb3154b
L
2928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2929 New macro. Use R*LP on int and pointer.
2930 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2931 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2932 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2933 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2934
20c07380
L
2935 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2936 [__WORDSIZE_TIME64_COMPAT32] instead of
2937 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2938 (struct utmp): Likewise.
2939 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2940 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2941 Renamed to ...
2942 (__WORDSIZE_TIME64_COMPAT32): This.
2943 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2944 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2945 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2947 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2948 (__WORDSIZE_TIME64_COMPAT32): New macro.
2949
d8d1017e
AJ
29502012-05-21 Andreas Jaeger <aj@suse.de>
2951
2952 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2953 only if [SHARED]. Add prototype for __wcschr_ia32.
2954
6c7fb145
RM
29552012-05-21 Roland McGrath <roland@hack.frob.com>
2956
2957 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2958 of %rbp unmolested in the jmp_buf while mangling the low bits.
2959 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2960 unmolested high bits of %rbp while demangling the low bits.
2961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2962
66274218
AJ
29632012-05-21 Andreas Jaeger <aj@suse.de>
2964
07c58f8f
AJ
2965 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2966 * sunrpc/svc_simple.c: Use it for registerrpc.
2967 * sunrpc/xcrypt.c: Use it for passwd2des.
2968
66274218
AJ
2969 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2970
61f65140
L
29712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2974 Don't define if [__SYSCALL_WORDSIZE != 32].
2975 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2976 New macro.
2977
5fefb436
AJ
29782012-05-21 Bruno Haible <bruno@clisp.org>
2979 Andreas Jaeger <aj@suse.de>
2980
2981 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2982 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2983 inptr and inend for must_buffer_ch.
2984 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2985 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2986 * stdio-common/Makefile (tests): Remove bug15.
2987 (bug15-ENV): Remove macro.
2988 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2989 anymore.
2990
d8e272ab
AJ
29912012-05-19 Andreas Jaeger <aj@suse.de>
2992 Roland McGrath <roland@hack.frob.com>
2993
2994 * manual/contrib.texi: Completely rewritten. It contains now an
2995 alphabetical list of contributors and their contributions.
2996
4a56a162
RH
29972012-05-21 Richard Henderson <rth@twiddle.net>
2998
2999 * misc/getauxval.c (__getauxval): Use unsigned long int.
3000 * misc/sys/auxv.h: Include <sys/cdefs.h>.
3001 (getauxval): Use unsigned long int.
3002
d024d23c
L
30032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
3004
3005 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3006
cbc00a03
RM
30072012-05-21 Roland McGrath <roland@hack.frob.com>
3008
3009 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
3010 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
3011 __alignof__ (long double).
3012
478143fa
AZ
30132012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014
3015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3016
c7683a6d
RH
30172012-05-20 Richard Henderson <rth@twiddle.net>
3018
3019 * misc/getauxval.c: New file.
3020 * misc/sys/auxv.h: New file.
3021 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
3022 (routines): Add getauxval.
3023 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
3024 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
3025 * elf/dl-sysdep.c (_dl_auxv): Remove.
3026 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3027 * elf/dl-support.c (_dl_auxv): New variable.
3028 (_dl_aux_init): Initialize it.
3029 * manual/startup.texi (Auxiliary Vector): New node.
3030 * sysdeps/generic/bits/hwcap.h: New file.
3031 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3032 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3033 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3034 * sysdeps/sparc/sysdep.h: ... here. Include it.
3035 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3038 Update.
c7683a6d
RH
3039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3042 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3047
a6f1845d
AZ
30482012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3049
3050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3051
cbcbe830
DM
30522012-05-19 David S. Miller <davem@davemloft.net>
3053
3054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3055
e0b16cc2
JM
30562012-05-19 Joseph Myers <joseph@codesourcery.com>
3057
3058 [BZ #14123]
3059 * math/s_ccosh.c: Include <float.h>
3060 (__ccosh): Avoid internal overflow calculating sinh and cosh
3061 values before multiplying by sin and cos values.
3062 * math/s_ccoshf.c: Likewise.
3063 * math/s_ccoshl.c: Likewise.
3064 * math/s_csin.c: Likewise.
3065 * math/s_csinf.c: Likewise.
3066 * math/s_csinl.c: Likewise.
3067 * math/s_csinh.c: Likewise.
3068 * math/s_csinhf.c: Likewise.
3069 * math/s_csinhl.c: Likewise.
3070 * math/libm-test.inc (ccos_test): Add more tests.
3071 (ccosh_test): Likewise.
3072 (csin_test): Likewise.
3073 (csinh_test): Likewise.
3074 * sysdeps/i386/fpu/libm-test-ulps: Update.
3075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3076
6ad13e08
L
30772012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3078
f66f0ce8
L
3079 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3080 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3081
6ad13e08
L
3082 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3083
b1d072a7
JM
30842012-05-19 Joseph Myers <joseph@codesourcery.com>
3085
3086 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3087 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3088 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3089 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3090 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3091 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3092 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3093 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3094 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3095 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3096 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3097 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3098 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3099 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3100 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3101 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3102 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3103 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3104 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3105 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3106 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3107 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3108 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3109 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3110 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3111 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3112 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3113 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3114 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3115 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3116 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3117
9eae47cb
AJ
31182012-05-18 Andreas Jaeger <aj@suse.de>
3119
3120 * csu/.gitignore: Delete.
3121
bb07f69f
L
31222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3123
3124 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3125 (timex): Use __syscall_slong_t.
3126
e6bdb741
AJ
31272012-05-18 Andreas Jaeger <aj@suse.de>
3128 Carlos O'Donell <carlos_odonell@mentor.com>
3129
3130 * manual/install.texi (Configuring and compiling): Update
3131 description about files modified in the source directory.
d6c33fda 3132 * INSTALL: Regenerated.
e6bdb741 3133
1b74487e
L
31342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3135
3136 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3137 value. Use "or" to set return value to -1.
3138 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3139 negate return value.
3140
a88b64b9
TMQMF
31412012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3142
3143 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3144 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3145 failure if the compiler has Graphite support disabled.
3146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3147 Likewise.
3148 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3149 CFLAGS-memmove.c): Likewise.
3150 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3151 Likewise.
3152
3707636e
L
31532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3154
610b8622
L
3155 * sysdeps/x86_64/x32/_itoa.h: New file.
3156
7cd195df
L
3157 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3158 getdents system call only if kernel and user dirents have the
3159 same d_ino and d_off.
3160
94b07d20
L
3161 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3162 LLONG_MAX != LONG_MAX.
3163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3164 (_fitoa_word): Likewise.
3165
18298070
L
3166 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3167 years.
3168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3169 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3170 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3171
553c7ea4
L
3172 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3173 include <bits/wordsize.h>. Check __x86_64__ instead of
3174 __WORDSIZE.
3175 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3176 if __x86_64__ is defined. Use anonymous union on fpstate.
3177
3707636e
L
3178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3179 anonymous union.
3180
b53ef01a
AS
31812012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3182
37fb1dc0
AS
3183 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3184 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3185 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3186 Refer to _rtld_local_ro instead of _rtld_global_ro.
3187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3188 Likewise.
3189 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3190 Likewise.
3191 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3192 Likewise.
3193 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3194 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3195 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3196
b53ef01a
AS
3197 * sysdeps/powerpc/powerpc32/dl-machine.c
3198 (__elf_machine_runtime_setup) [PROF]: Don't reference
3199 _dl_prof_resolve.
3200
7a185db2
AJ
32012012-05-18 Andreas Jaeger <aj@suse.de>
3202
3203 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3204 function only available for GCCs before 3.4 since GCC 3.4
3205 introduced a builtin.
3206 (lrint): Likewise.
3207 (llrintf): Likewise.
3208 (llrint): Likewise.
3209 (fmaxf): Likewise.
3210 (fmax): Likewise.
3211 (fminf): Likewise.
3212 (fmin): Likewise.
3213 (rint): Likewise.
3214 (rintf): Likewise.
3215 (nearbyint): Likewise.
3216 (nearbyintf): Likewise.
3217 (ceil): Likewise.
3218 (ceilf): Likewise.
3219 (floor): Likewise.
3220 (floorf): Likewise.
3221
3e5aef87
L
32222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3223
428bd707
L
3224 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3225 on both fields and cast pointer to __syscall_ulong_t.
3226
3e5aef87
L
3227 * bits/types.h (__fsword_t): New type.
3228 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3229 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3231 (__FSWORD_T_TYPE): Likewise.
3232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3233 (__FSWORD_T_TYPE): Likewise.
3234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3235 (__FSWORD_T_TYPE): Likewise.
3236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3237 (__FSWORD_T_TYPE): Likewise.
3238 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3239 __SWORD_TYPE with __fsword_t.
3240 (statfs64): Likewise.
3241
1ba7c3dc
DM
32422012-05-17 David S. Miller <davem@davemloft.net>
3243
3244 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3245
59910343
AJ
32462012-05-17 Andreas Jaeger <aj@suse.de>
3247
3248 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3249 warning.
3250
2e4c1e9e
L
32512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3252
3253 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3254
de7f5ce7
AJ
32552012-05-17 Andreas Jaeger <aj@suse.de>
3256
3257 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3258 when it is used.
3259
286abc3d
CM
32602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3261
3262 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3263
477cc68e
L
32642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3265
3266 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3267 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3268
1a0994f5
CD
32692012-05-17 Andreas Jaeger <aj@suse.de>
3270 Carlos O'Donell <carlos_odonell@mentor.com>
3271
3272 [BZ #14059]
3273 * sysdeps/x86_64/multiarch/init-arch.h
3274 (bit_YMM_Usable): Rename to...
3275 (bit_AVX_Usable): ... this.
3276 (bit_FMA4_Usable): New macro.
3277 (bit_XMM_state): New macro.
3278 (bit_YMM_state): New macro.
3279 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3280 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3281 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3282 (CPUID_OSXSAVE): New macro.
3283 (CPUID_AVX): New macro.
3284 (CPUID_FMA4): New macro.
3285 (index_YMM_Usable): Rename to...
3286 (index_AVX_Usable): ... this.
3287 (HAS_AVX): Use HAS_ARCH_FEATURE.
3288 (HAS_FMA4): Likewise.
3289 (HAS_YMM_USABLE): Remove.
3290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3291 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3292 are present.
3293 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3294 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3295 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3296 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3297 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3298
0af797de
CM
32992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3300
3301 * math/libm-test.c: Support platforms without multiple rounding modes.
3302 * math/bug-nextafter.c: Support platforms without FP exceptions.
3303 * math/bug-nexttoward.c: Likewise.
3304 * math/test-fenv.c: Likewise.
3305 * math/test-misc.c: Likewise.
3306 * stdlib/bug-getcontext.c: Likewise.
3307
e39745ff
AJ
33082012-05-17 Andreas Jaeger <aj@suse.de>
3309
3310 * manual/examples/search.c (critter_cmp): Change signature to
3311 avoid warnings.
3312 * manual/string.texi (Collation Functions): Likewise.
3313
48970aba
L
33142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3315
3316 * bits/types.h: Fold copyright years.
3317 * bits/typesizes.h: Likewise.
3318 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3322 * time/time.h: Likewise.
3323
bedee953
PP
33242012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3325
3326 [BZ #208]
3327 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3328 in instead of returning them. Return void.
3329 (__libc_mallinfo): Accumulate over all arenas.
3330 (__malloc_stats): Adjust for change in int_mallinfo interface.
3331
61653dfb
RM
33322012-05-16 Roland McGrath <roland@hack.frob.com>
3333
30b99d79
RM
3334 [BZ #10375]
3335 * configure.in (NM): Add AC_CHECK_TOOL for it.
3336 (libc_extra_cflags): New substituted variable.
3337 Check for -fstack-protector being used implicitly.
3338 * configure: Regenerated.
3339 * config.make.in (config-extra-cflags): New variable,
3340 gets @libc_extra_cflags@.
3341 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3342
61653dfb
RM
3343 [BZ #10375]
3344 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3345 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3346 * configure: Regenerated.
3347 * config.make.in (CPPUNDEFS): New substituted variable.
3348 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3349 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3350 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3351
661768bb
L
33522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3355 (mq_attr): Use __syscall_slong_t.
3356
d4261567
L
33572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3360 Check __x86_64__ instead of __WORDSIZE.
3361 (_STAT_VER_LINUX): Likewise.
3362 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3363 __syscall_ulong_t and __syscall_slong_t.
3364 (stat64): Likewise.
3365
cf3ff365
L
33662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3367
3368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3369
76cf3e4d
L
33702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3371
3372 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3373
a637753a
L
33742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3377 __syscall_ulong_t.
3378
d5e05119
L
3379 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3380 include <bits/wordsize.h>. Check __x86_64__ instead of
3381 __WORDSIZE.
3382 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3383 defined.
3384 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3385
f62ee380
L
3386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3387 include <bits/wordsize.h>. Check __x86_64__ instead of
3388 __WORDSIZE.
3389 (user_regs_struct): Use "__extension__ unsigned long long"
3390 instead of "unsigned long" if __x86_64__ is defined.
3391 (user): Likewise. Pad after pointer field if __ILP32__ is
3392 defined.
3393
4e124ced
JM
33942012-05-16 Joseph Myers <joseph@codesourcery.com>
3395
6a3951a0
JM
3396 * configure.in (makeinfo): Require version 4.5 or later. Allow
3397 versions 5 to 9.
3398 * configure: Regenerated.
3399 * manual/install.texi (texinfo): Increase version requirement to
3400 4.5 or later.
3401 * INSTALL: Regenerated.
3402
4e124ced
JM
3403 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3404
953ca31a
L
34052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3406
3407 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3408
617aca05
L
3409 * sysdeps/x86_64/x32/ffs.c: New file.
3410
5762f7ae
L
3411 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3412 __syscall_ulong_t.
3413 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3414 defined. Use __syscall_ulong_t.
3415 (shminfo): Use __syscall_ulong_t.
3416 (shm_info): Likewise.
3417
a26b6856
L
3418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3419 __syscall_ulong_t.
3420
cb2b9ef7
L
3421 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3422 <bits/wordsize.h>.
3423 (msgqnum_t): Use __syscall_ulong_t.
3424 (msglen_t): Likewise.
3425 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3426 __syscall_ulong_t.
3427
34683bb0
L
3428 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3429 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3430
84a68786
L
3431 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3432
48baa5f1
L
3433 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3434 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3435
180be88b
L
3436 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3437 __syscall_slong_t.
3438
5e90c8ad
L
3439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3440 include <bits/wordsize.h>. Check __x86_64__ instead of
3441 __WORDSIZE.
3442
23dfb58b
L
3443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3444 "unsigned long long int" if __x86_64__ is defined.
3445 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3446
ce5d54b0
L
3447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3448 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3449 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3450
13dc9eac
L
3451 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3452 <stdint.h>.
3453 (GET_PC): Cast to uintptr_t first.
3454 (GET_FRAME): Likewise.
3455 (GET_STACK): Likewise.
3456
a7895d15
L
3457 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3461 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3462 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3463 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3464 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3465 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3466 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3470 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3471 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3474 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3478 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3482 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3483 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3485 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3486
656416c9
AS
34872012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3488
5bd66283
AS
3489 * Makerules (+depfiles): Also collect depfiles from .oS in
3490 $(extra-objs).
3491 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3492 .oS, $(libnldbl-routines)).
3493
656416c9
AS
3494 * Makerules (native-compile-mkdep-flags): Define.
3495 * sunrpc/Makefile (extra-objs): Add $(addprefix
3496 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3497 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3498 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3499 calling $(make-target-directory).
3500
a46f2169
L
35012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 * bits/types.h (__snseconds_t): Removed.
3504 * time/time.h (struct timespec): Replace __snseconds_t with
3505 __syscall_slong_t.
3506 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3507 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3508 Likewise.
3509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3510 (__SNSECONDS_T_TYPE): Likewise.
3511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3512 (__SNSECONDS_T_TYPE): Likewise.
3513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3514 (__SNSECONDS_T_TYPE): Likewise.
3515
6af6528b
L
35162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * sysdeps/mach/hurd/bits/typesizes.h
3519 (__SYSCALL_SLONG_TYPE): New macro.
3520 (__SYSCALL_ULONG_TYPE): Likewise.
3521
de986b56
L
35222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3523
3524 * bits/types.h (__syscall_slong_t): New type.
3525 (__syscall_ulong_t): Likewise.
3526
3527 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3528 (__SYSCALL_ULONG_TYPE): Likewise.
3529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3530 (__SYSCALL_SLONG_TYPE): Likewise.
3531 (__SYSCALL_ULONG_TYPE): Likewise.
3532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3533 (__SYSCALL_SLONG_TYPE): Likewise.
3534 (__SYSCALL_ULONG_TYPE): Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3536 (__SYSCALL_SLONG_TYPE): Likewise.
3537 (__SYSCALL_ULONG_TYPE): Likewise.
3538
85736dc7
L
35392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3540
3541 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3542 Add sigaltstack-offsets.sym.
3543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3544 <sigaltstack-offsets.h>.
3545 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3546 longjmp_msg pointer.
3547 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3548 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3549 signal stack.
3550 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3551
cc03b296
JM
35522012-05-15 Joseph Myers <joseph@codesourcery.com>
3553
a9538892
JM
3554 * elf/stackguard-macros.h: Remove file.
3555 * sysdeps/generic/stackguard-macros.h: New file.
3556 * sysdeps/i386/stackguard-macros.h: Likewise.
3557 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3558 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3559 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3561 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3562 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3563 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3564 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3565 <elf/stackguard-macros.h>.
3566
cc03b296
JM
3567 [BZ #14109]
3568 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3569 __aligned__ in attribute.
3570 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3571 (gregset_t): Likewise.
3572
93171016
L
35732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3574
3575 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3576 * sysdeps/x86_64/64/Implies-after: Here. New file.
3577 * sysdeps/x86_64/x32/Implies-after: New file.
3578
d86813a0
L
35792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3580
3581 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3582 and access return value for _dl_profile_fixup. Use R10_LP to
3583 load frame size.
3584
2953ec75
L
35852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3588
3b550e9e
L
35892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3590
3591 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3592 * sysdeps/x86_64/x32/sysdep.h: New file.
3593
eda41706
L
35942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3595
3596 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3597 * sysdeps/x86_64/setjmp.S: Likewise.
3598
9ea01d93
AZ
35992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3600
3601 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3603 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3605 remove unused global constant.
3606
02a91938
CM
36072012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3608
3609 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3610 include of <not-cancel.h>.
3611
6540185f
RM
36122012-05-15 Roland McGrath <roland@hack.frob.com>
3613
3614 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3615
509072a0
AJ
36162012-05-15 Jeff Law <law@redhat.com>
3617 Andreas Jaeger <aj@suse.de>
3618
3619 [BZ #13594]
3620 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3621 out from...
3622 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3623 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3624 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3625 code changing __hst_map_handle.map.
3626
ba75122d
RM
36272012-05-15 Roland McGrath <roland@hack.frob.com>
3628
3629 * configure.in (sysnames): Look for Implies-before and Implies-after
3630 files.
3631 * configure: Regenerated.
3632
890d8bd8
L
36332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3634
3635 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3636 8-byte data alignment with LP_SIZE alignment.
3637
f6ee6623
L
36382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3641 into R10_LP.
3642
ea2626f6
L
36432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3644
3645 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3646
085f715e
L
36472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3650 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3654
be8498fc
L
36552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3656
3657 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3658 (stackinfo_sub_sp): Likewise.
3659
70bc83b9
L
36602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3663 RAX_LP.
3664
9bc0b730
L
36652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3668 into R*_LP.
3669
6d2850e7
L
36702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3671
3672 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3673 sizes into R*_LP.
3674
3cb84561
L
36752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3676
3677 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3678
54e2ed81
L
36792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3682 into R11_LP and load __x86_64_shared_cache_size_half into
3683 R8_LP.
3684
8a17f349
L
36852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3688 R8_LP.
3689
777b1eea
AZ
36902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3691
3692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3693 logb for POWER7.
3694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3695 logbf for POWER7.
3696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3697 logbl for POWER7.
3698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3699 powerpc32/power7/fpu/s_logb.c via #include.
3700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3701 powerpc32/power7/fpu/s_logbf.c via #include.
3702 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3703 powerpc32/power7/fpu/s_logbl.c via #include.
3704
d20d4ac2
JM
37052012-05-15 Joseph Myers <joseph@codesourcery.com>
3706
3707 * README.libm: Remove file.
3708
6cdef1ab
L
37092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3710
3711 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3712 count for x32. Use R*_LP and omit operand-size suffix.
3713
0b254d8f
L
37142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3715
3716 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3717 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3718 * sysdeps/x86_64/x32/shlib-versions: New file.
3719
ceb809dc
RM
37202012-05-14 Roland McGrath <roland@hack.frob.com>
3721
3722 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3723 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3724 Use _dl_fatal_printf instead.
3725
37f1abd4
JM
37262012-05-14 Joseph Myers <joseph@codesourcery.com>
3727
3728 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3729 set if not set by the user. Do not allow for being unset.
3730 * sysdeps/unix/sysv/linux/configure: Regenerated.
3731
11de3a33
L
37322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3735 the `q' suffix from lea and replace .quad with ASM_ADDR.
3736
e02f153a
L
37372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3738
3739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3740 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3741 instead of $17.
3742 (PTR_DEMANGLE): Likewise.
3743
520ae0fd
L
37442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3745
3746 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3747 (LP_OP): Likewise.
3748 (ASM_ADDR): Likewise.
3749 (RAX_LP): Likewise.
3750 (RBP_LP): Likewise.
3751 (RBX_LP): Likewise.
3752 (RCX_LP): Likewise.
3753 (RDI_LP): Likewise.
3754 (RSI_LP): Likewise.
3755 (RSP_LP): Likewise.
3756 (R8_LP): Likewise.
3757 (R9_LP): Likewise.
3758 (R10_LP): Likewise.
3759 (R10_LP): Likewise.
3760 (R11_LP): Likewise.
3761 (R12_LP): Likewise.
3762 (R13_LP): Likewise.
3763 (R14_LP): Likewise.
3764 (R15_LP): Likewise.
3765
b985be81
L
37662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/x86_64/x32/dl-machine.h: New file.
3769
6a4888ff
AJ
37702012-05-14 Andreas Jaeger <aj@suse.de>
3771
3772 * manual/Makefile (subdir): Remove export of subdir.
3773 (all): Remove target.
3774 (.PHONY): Remove all from list.
3775 (mkinstalldirs): Remove.
3776 (.PHONY): Remove installdirs from list.
3777 ($(inst_infodir)/libc.info): Use make-target-directory.
3778 (installdirs): Remove.
3779 (subdir_%): Remove.
3780 (glibc-targets): Remove.
3781 (lib): Remove.
3782 (stubs): Remove.
3783 ($(objpfx)stubs ../po/manual.pot): Remove.
3784 ($(objpfx)stamp%): Remove.
3785 (make-target-directory): Remove.
3786 (subdir_install): Remove.
3787 (routines): Remove.
3788 (aux): Remove.
3789 (sources): Remove.
3790 (objects): Remove.
3791 (headers): Remove.
3792
3793 [BZ #13750]
3794 * manual/.gitignore: Remove, it's not needed anymore.
3795 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3796 all files in it.
3797 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3798 directory.
3799 (texis): Renamed to $(objpfx)texis.
3800 (texis-path): New, contains path to generated files.
3801 (chapters.%): Use texis-path for complete path, add extra argument
3802 libc-texinfo.sh.
3803 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3804 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3805 (summary,texi, stamp-summary): Use complete path of
3806 files. Generate files in build dir.
3807 (dir-add.texi): Build in build dir.
3808 (libm-err.texi,stamp-libm-err): Likewise.
3809 (version.texi, stamp-version): Likewise.
3810 (.%c.texi): Likewise.
3811 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3812 (mostlyclean): Remove target.
3813 (realclean): Remove target.
3814 (generated): Add new variable with contents from mostlyclean and
3815 realclean, remove entries duplicated in common-mostlyclean, add
3816 stamp-libm-err and stamp-version.
3817 (generated-dirs): Add libc directory.
3818 ($(inst_infodir)/libc.info): Install files from build dir.
3819
3820 * manual/install.texi (Configuring and compiling): Adjust since
3821 the info files are not part of the tar ball anymore.
3822
7ac77294
AJ
38232012-05-14 Andreas Jaeger <aj@suse.de>
3824
3825 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3826 variable.
3827
ffb7875d
JM
38282012-05-14 Joseph Myers <joseph@codesourcery.com>
3829
3830 [BZ #13717]
3831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3832 to 2.2.0 where earlier.
3833 * sysdeps/unix/sysv/linux/configure: Regenerated.
3834 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3835 Remove conditional code.
3836 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3837 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3838 Remove conditional code.
3839 [!__NR_lchown]: Likewise.
3840 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3841 [__NR_lchown]: Likewise.
3842 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3843 comment referencing __ASSUME_LCHOWN_SYSCALL.
3844 * sysdeps/unix/sysv/linux/i386/sigaction.c
3845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3847 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3848 Remove conditional code.
3849 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3850 (__protocol_available): Remove #if 0 code.
3851 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3852 conditional code.
3853 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3854 * sysdeps/unix/sysv/linux/kernel-features.h
3855 (__ASSUME_GETCWD_SYSCALL): Don't define.
3856 (__ASSUME_REALTIME_SIGNALS): Likewise.
3857 (__ASSUME_PREAD_SYSCALL): Likewise.
3858 (__ASSUME_PWRITE_SYSCALL): Likewise.
3859 (__ASSUME_POLL_SYSCALL): Likewise.
3860 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3861 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3862 non-SPARC.
3863 (__ASSUME_SIOCGIFNAME): Don't define.
3864 (__ASSUME_MSG_NOSIGNAL): Likewise.
3865 (__ASSUME_SENDFILE): Define unconditionally.
3866 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3867 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3868 conditional code.
3869 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3870 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3871 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3872 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3873 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3874 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3875 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3880 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3886 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3900 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3901 Remove conditional code.
3902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3903 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3904 Remove conditional code.
3905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3906 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3907 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3908 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3909 Remove conditional code.
3910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3911 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3912 Remove conditional code.
3913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3914 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3915 Remove conditional code.
3916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3917 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3918 Remove conditional code.
3919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3920 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3921 Remove conditional code.
3922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3923 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3926 * sysdeps/unix/sysv/linux/sigaction.c
3927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3929 * sysdeps/unix/sysv/linux/sigpending.c
3930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3932 * sysdeps/unix/sysv/linux/sigprocmask.c
3933 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3934 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3935 * sysdeps/unix/sysv/linux/sigsuspend.c
3936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3939 (__libc_missing_rt_sigs): Remove.
3940 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3941 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3942 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3943 Remove conditional code.
3944 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3945 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3946 return 1.
3947 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3948 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3950 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3951
1bfb7291
AJ
39522012-05-14 Andreas Jaeger <aj@suse.de>
3953
caae5a81
AJ
3954 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3955 it's not used in glibc.
3956 (__coshm1): Likewise.
3957 (__acosh1p): Likewise.
3958 (__sgn): Likewise.
3959
1bfb7291
AJ
3960 * manual/string.texi (Copying and Concatenation): Add missing
3961 variable in concat example.
3962 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3963
c044d724
L
39642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3965
144c5467 3966 [BZ #14103]
c044d724
L
3967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3968 __builtin_clzl with __builtin_clzll.
3969
2523c62b
L
39702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3971
3972 [BZ #14104]
3973 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3974 libc_freeres_ptr.
3975
d7bb4c42
LD
39762012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3977
3978 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3979 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3980 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3981 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3982
9dc4e1fb
MF
39832012-05-14 Mike Frysinger <vapier@gentoo.org>
3984
3985 * NEWS: Update ia64 info.
3986
c7df0112
AS
39872012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3988
3989 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3990 used as bcopy.
3991
dc70356c
TS
39922012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3993
3994 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3995 * sysdeps/unix/syscalls.list (dup3): Likewise.
3996 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3997 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3998
9fb1a21f
L
39992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4000
4001 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
4002 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
4003
4822a2a5
L
40042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
4005
4006 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
4007 thread pointer.
4008 (TLS_IE): Use mov/add instead of movq/addq to load thread
4009 pointer.
4010 (TLS_GD_PREFIX): New.
4011 (TLS_GD): Use it.
4012
842b81d6
DM
40132012-05-11 David S. Miller <davem@davemloft.net>
4014
4015 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
4016 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
4017 (_FPU_SETCW): Likewise.
4018
1cf463cd
L
40192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
4022 is 32-byte aligned.
4023
60cc4a18
AS
40242012-05-11 Andreas Schwab <schwab@linux-m68k.org>
4025
4026 [BZ #11837]
4027 * iconvdata/gb18030.c: Update tables.
4028 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4029 characters specially.
4030 (BODY for TO_LOOP): Add encoding of missing ranges.
4031
febb44a4
TS
40322012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4033
4034 [BZ #13673]
4035 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4036 * sysdeps/mach/hurd/dup3.c: Likewise.
4037 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4038 * sysdeps/powerpc/memmove.c:: Likewise.
4039
0a10fb9e
L
40402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4041
4042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4043 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4044
df8a552f
L
40452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4046
4047 * elf/elf.h (R_X86_64_RELATIVE64): New.
4048 (R_X86_64_NUM): Updated.
4049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4050 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4051 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4052 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4053 tst-quad1pie tst-quad2pie
4054 (modules-names): Add tst-quadmod1 tst-quadmod2.
4055 ($(objpfx)tst-quad1): New dependency.
4056 ($(objpfx)tst-quad2): Likewise.
4057 ($(objpfx)tst-quad1pie): Likewise.
4058 ($(objpfx)tst-quad2pie): Likewise.
4059 * sysdeps/x86_64/tst-quad1.c: New file.
4060 * sysdeps/x86_64/tst-quad1pie.c: New file.
4061 * sysdeps/x86_64/tst-quad2.c: Likewise.
4062 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4063 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4064 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4065 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4066 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4067
f34d6f84
ST
40682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4069
f42d41d1
ST
4070 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4071 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4072 * streams/stropts.h (t_scalar_t): Define type.
4073
3c3571fc
ST
4074 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4075 (_PATH_PRESERVE): Set to "/var/lib".
4076 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4077
61f06bd3
ST
4078 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4079 instead of int.
4080
918d4d71
ST
4081 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4082 if __dir_mkfile succeeded.
4083
f34d6f84
ST
4084 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4085 checking for _hurd_dtablesize. Unlock it right after having
4086 finished _hurd_dtable allocation.
4087
10589b4a
TS
40882012-05-10 Thomas Schwinge <thomas@schwinge.name>
4089
674cdbc7
TS
4090 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4091 * sysdeps/mach/hurd/configure: Regenerated.
4092 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4093 special-casing to...
4094 * sysdeps/gnu/configure.in: ... this new file.
4095 * sysdeps/unix/sysv/linux/configure: Regenerated.
4096 * sysdeps/gnu/configure: New generated file.
4097
8e41b99f
TS
4098 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4099 for Linux: use nsec instead of usec, as well as:
4100 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4101 members of type struct timespec.
4102 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4103 New macros.
4104 (struct stat64): Likewise.
4105 (_STATBUF_ST_NSEC): New macro.
4106 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4107
10589b4a
TS
4108 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4109 __strtoul_internal rather than strtoul.
4110
63643c85
PT
41112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4112
4113 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4114 and reject them.
4115
3faebe6a
ST
41162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4117
4118 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4119 which preserves existing values.
4120 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4121
c6474b07
PT
41222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4123
4124 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4125 TIMEOUT values. Return EINVAL for NFDS values either negative or
4126 greater than FD_SETSIZE.
4127
1043890b
ST
41282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4129
4130 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4131 allocated, call __vm_protect to finish enabling the existing space, and
4132 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4133 allocate the remainder.
4134
37ed8b9b
PT
41352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4136
4137 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4138 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4139
db653660
ST
41402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4141
37ed8b9b
PT
4142 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4143 sysdeps/mach/hurd/readlink.c.
b29d4053 4144
db653660
ST
4145 * posix/tst-sysconf.c (posix_options): Only use
4146 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4147 _POSIX_SYNCHRONIZED_IO when they are defined
4148 * sysdeps/mach/hurd/bits/posix_opt.h:
4149 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4150 (_XOPEN_REALTIME): Undefine macro.
4151 (_XOPEN_REALTIME_THREADS): Undefine macro.
4152 (_XOPEN_SHM): Undefine macro.
4153 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4154 macro to -1.
4155 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4156 macro to -1.
4157 (_POSIX_ASYNC_IO): Undefine macro.
4158 (_POSIX_PRIORITIZED_IO): Undefine macro.
4159 (_POSIX_SPIN_LOCKS): Define macro to -1.
4160
ee16e894
ST
4161 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4162 SA_NODEFER, SA_RESETHAND.
4163 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4164 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4165 F_DUPFD_CLOEXEC.
4166
6103ae3b
TS
41672012-05-10 Thomas Schwinge <thomas@schwinge.name>
4168
4169 * elf/Makefile (pldd-modules): Define unconditionally.
4170
80b4e5f3
TS
41712012-05-10 Thomas Schwinge <thomas@schwinge.name>
4172
4173 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4174
edadcbd6
ST
41752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4176
4177 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4178 Return ENOENT when name is empty.
4179 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4180
80694780
TS
41812012-05-10 Thomas Schwinge <thomas@schwinge.name>
4182
1792c087
TS
4183 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4184
80694780
TS
4185 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4186
6b645f0d
ST
41872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4188
80694780
TS
4189 Fix mlock in all cases except non-readable pages.
4190 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4191 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4192
6b645f0d
ST
4193 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4194 (__mkdir): When path is `/', just fail with EEXIST.
4195 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4196
e468f8a3
TS
41972012-05-10 Thomas Schwinge <thomas@schwinge.name>
4198
4199 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4200 <sys/uio.h> (for writev).
4201 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4202 and <sys/param.h> (for MIN).
4203
a4186cff
PT
42042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4205
4206 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4207 REQUESTED_TIME. Properly set the remaining time and return EINTR
4208 if interrupted.
4209
510bbf14
TS
42102012-05-10 Thomas Schwinge <thomas@schwinge.name>
4211
4212 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4213 Depend on against $(link-rpcuserlibs).
4214
5d5722e8
ST
42152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4216
a4186cff
PT
4217 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4218 (__libc_stack_end): Do not use attribute_relro.
4219 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4220 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4221 to libthread-provided value.
a4186cff
PT
4222 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4223 attribute_relro.
5d5722e8 4224
37233df9
TS
42252012-05-10 Thomas Schwinge <thomas@schwinge.name>
4226
be971a2b
TS
4227 [BZ #3748]
4228 * bits/libc-lock.h (__libc_once_get): New macro.
4229 * sysdeps/mach/bits/libc-lock.h: Likewise.
4230 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4231 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4232 instead of using implementation details.
4233
37233df9
TS
4234 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4235 * libio/freopen.c: Likewise.
4236 * libio/freopen64.c: Likewise.
4237 * misc/syslog.c: Likewise.
4238 * nscd/connections.c: Likewise.
4239 * nscd/netgroupcache.c: Likewise.
4240 * sysdeps/posix/getcwd.c: Likewise.
4241
38de94a5
RM
42422012-05-10 Roland McGrath <roland@hack.frob.com>
4243
4244 * math/w_ilogbf.c: Add #include <limits.h>.
4245
67530489
ST
42462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4247
a4186cff 4248 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4249 path instead of returning without unlocking.
4250
67530489
ST
4251 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4252 immediate-write ioctls.
4253 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4254
5aa3a74a
TS
42552012-05-10 Thomas Schwinge <thomas@schwinge.name>
4256
18bad2ae
TS
4257 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4258 __builtin_frame_address instead of making assumptions about the
4259 location of the return address relative to DATA. Force early load of
4260 the return address.
4261 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4262 __builtin_frame_address.
4263
5aa3a74a
TS
4264 dup3 for GNU Hurd.
4265 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4266 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4267 implement dup3 and do some further code clean-ups.
4268 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4269 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4270
ecd0de9a
ST
42712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4272
cd9fa985
ST
4273 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4274
a4186cff
PT
4275 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4276 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4277 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4278 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4279 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4280 d->port.lock.
802ca5a5 4281
a4186cff
PT
4282 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4283 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4284 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4285
bcf55240
TS
42862012-05-10 Thomas Schwinge <thomas@schwinge.name>
4287
6960eb42
TS
4288 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4289 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4290 definitions.
4291
eb43375f
TS
4292 accept4 for GNU Hurd.
4293 * include/sys/socket.h (__libc_accept4): New prototype.
4294 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4295 to implement __libc_accept4.
4296 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4297 __libc_accept4.
4298 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4299
bcf55240
TS
4300 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4301 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4302 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4303 signal-defines.sym.
4304
6178c55b
ST
43052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4306
a4186cff 4307 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4308
6f080c2f
TS
43092012-05-10 Thomas Schwinge <thomas@schwinge.name>
4310
4311 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4312 assertion on O_CLOEXEC flag.
4313 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4314 * hurd/intern-fd.c: Likewise.
4315 * hurd/port2fd.c: Likewise.
4316
bcfe3a54
ST
43172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4318
4319 [BZ #3906]
4320 * bits/in.h (IPV6_PKTINFO): Define new macro.
4321 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4322
89c9aa49
AZ
43232012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4324
4325 [BZ #13954]
4326 [BZ #13955]
4327 [BZ #13956]
4328 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4330 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4333 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4334 * math/libm-test.inc (logb_test) : Additional logb tests.
4335
021db4be
AJ
43362012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4337 Andreas Jaeger <aj@suse.de>
4338
4339 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4340 * configure: Regenerated.
4341 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4342 * config.make.in (link-obsolete-rpc): New substituted variable.
4343 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4344 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4345 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4346 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4347 so that libc.a contains the symbols.
4348 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4349 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4350 * sunrpc/auth_none.c: Likewise.
4351 * sunrpc/auth_unix.c: Likewise.
4352 * sunrpc/authdes_prot.c: Likewise.
4353 * sunrpc/authuxprot.c: Likewise.
4354 * sunrpc/clnt_gen.c: Likewise.
4355 * sunrpc/clnt_perr.c: Likewise.
4356 * sunrpc/clnt_raw.c: Likewise.
4357 * sunrpc/clnt_simp.c: Likewise.
4358 * sunrpc/clnt_tcp.c: Likewise.
4359 * sunrpc/clnt_udp.c: Likewise.
4360 * sunrpc/clnt_unix.c: Likewise.
4361 * sunrpc/des_crypt.c: Likewise.
4362 * sunrpc/des_soft.c: Likewise.
4363 * sunrpc/get_myaddr.c: Likewise.
4364 * sunrpc/key_call.c: Likewise.
4365 * sunrpc/key_prot.c: Likewise.
4366 * sunrpc/netname.c: Likewise.
4367 * sunrpc/pm_getmaps.c: Likewise.
4368 * sunrpc/pm_getport.c: Likewise.
4369 * sunrpc/pmap_clnt.c: Likewise.
4370 * sunrpc/pmap_prot.c: Likewise.
4371 * sunrpc/pmap_prot2.c: Likewise.
4372 * sunrpc/pmap_rmt.c: Likewise.
4373 * sunrpc/publickey.c: Likewise.
4374 * sunrpc/rpc_cmsg.c: Likewise.
4375 * sunrpc/rpc_common.c: Likewise.
4376 * sunrpc/rpc_dtable.c: Likewise.
4377 * sunrpc/rpc_prot.c: Likewise.
4378 * sunrpc/rpc_thread.c: Likewise.
4379 * sunrpc/rtime.c: Likewise.
4380 * sunrpc/svc.c: Likewise.
4381 * sunrpc/svc_auth.c: Likewise.
4382 * sunrpc/svc_raw.c: Likewise.
4383 * sunrpc/svc_run.c: Likewise.
4384 * sunrpc/svc_tcp.c: Likewise.
4385 * sunrpc/svc_udp.c: Likewise.
4386 * sunrpc/svc_unix.c: Likewise.
4387 * sunrpc/svcauth_des.c: Likewise.
4388 * sunrpc/xcrypt.c: Likewise.
4389 * sunrpc/xdr.c: Likewise.
4390 * sunrpc/xdr_array.c: Likewise.
4391 * sunrpc/xdr_float.c: Likewise.
4392 * sunrpc/xdr_intXX_t.c: Likewise.
4393 * sunrpc/xdr_mem.c: Likewise.
4394 * sunrpc/xdr_rec.c: Likewise.
4395 * sunrpc/xdr_ref.c: Likewise.
4396 * sunrpc/xdr_sizeof.c: Likewise.
4397 * sunrpc/xdr_stdio.c: Likewise.
4398
b5c086a2
RM
43992012-05-10 Roland McGrath <roland@hack.frob.com>
4400
4401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4402 change. Update copyright years.
4403
6d74dd09
JM
44042012-05-10 Joseph Myers <joseph@codesourcery.com>
4405
4406 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4407
28e72501
MK
44082012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4409 Joseph Myers <joseph@codesourcery.com>
4410 Paul Pluzhnikov <ppluzhnikov@google.com>
4411
4412 [BZ #14012]
4413 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4414 requiring rpcgen.
4415 [cross-compiling] (extra-libs): Likewise.
4416 [cross-compiling] (extra-libs-others): Likewise.
4417 [cross-compiling] (librpcsvc-routines): Likewise.
4418 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4419 [cross-compiling] (omit-deps): Likewise.
4420 (sunrpc-CPPFLAGS): New variable.
4421 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4422 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4423 (cross-rpcgen-objs): New variable.
4424 (extra-objs): Append $(cross-rpcgen-objs).
4425 ($(cross-rpcgen-objs)): New rule.
4426 ($(objpfx)cross-rpcgen): Likewise.
4427 (rpcgen-cmd): Define to use $(built-program-file). Expand
4428 comment.
4429 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4430 ($(objpfx)x%.stmp): Likewise.
4431 * sunrpc/proto.h [IS_IN_build] (_): Define.
4432 [IS_IN_build] (_libc_intl_domainname): Likewise.
4433
c8c59454
L
44342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4435
4436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4437 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4438 and R_X86_64_TPOFF64.
4439
6f27cd16
JM
44402012-05-10 Joseph Myers <joseph@codesourcery.com>
4441
4442 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4443 sysdeps/unix/sysv/syscalls.list.
4444 (stime): Likewise.
4445 (utime): Likewise.
4446 * sysdeps/unix/sysv/syscalls.list: Remove file.
4447
02467e1c
PE
44482012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4449
4450 [BZ #3440]
4451 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4452 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4453 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4454 (__LC_IDENTIFICATION): Make these macros useful in #if
4455 expressions, as required by C99.
4456
da392631
AS
44572012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4458
4459 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4460 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4461 after this.
4462
8115f29b
L
44632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4464
4465 * stdlib/longlong.h: Updated from GCC.
4466
bdd74070
AJ
44672012-05-09 Andreas Jaeger <aj@suse.de>
4468
edfe0dbe
AJ
4469 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4470 default is first entry.
4471 (run_mode): Set type.
4472 (main): Remove informal message about syslog.
4473 (options): Fix typo.
4474
bcfe3a54
ST
4475 [BZ #14053]
4476 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4477 to asm.
bcfe3a54
ST
4478 (lrint): Likewise.
4479 (llrintf): Likewise.
4480 (llrint): Likewise.
4481 (rint): Likewise.
4482 (rintf): Likewise.
4483 (nearbyint): Likewise.
4484 (nearbyintf): Likewise.
bdd74070 4485
91d8d69e
AJ
44862012-05-09 Andreas Jaeger <aj@suse.de>
4487 Pedro Alves <palves@redhat.com>
4488
4489 * nscd/nscd.c (run_mode): Use enum.
4490 (main): Cleanup coding style issue.
4491
bb90b80b
AJ
44922012-05-09 Alexandre Oliva <aoliva@redhat.com>
4493 Andreas Jaeger <aj@suse.de>
4494
bcfe3a54
ST
4495 * nscd/nscd.c (go_background): Replaced with...
4496 (run_mode): ... this.
bb90b80b 4497 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4498 (options): Add -F --foreground.
4499 (main): Implement it.
4500 (parse_opt): Parse it.
bb90b80b 4501
1a4b75a1
AJ
45022012-05-09 Andreas Jaeger <aj@suse.de>
4503
4504 [BZ #14083]
4505 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4506 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4507 -Wconversion warning.
4508 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4509 Likewise.
4510
b1cc2472
JM
45112012-05-09 Joseph Myers <joseph@codesourcery.com>
4512
4513 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4514 == 0.
4515 (LC_ALL): Use macro-int-constant.
4516 (LC_COLLATE): Likewise.
4517 (LC_CTYPE): Likewise.
4518 (LC_MESSAGES): Likewise.
4519 (LC_MONETARY): Likewise.
4520 (LC_NUMERIC): Likewise.
4521 (LC_TIME): Likewise.
4522 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4523 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4525 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4526 Specify type.
4527 [C99-based standards] (float_t): Expect type.
4528 [C99-based standards] (double_t): Expect type.
4529 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4530 type.
4531 [C99-based standards] (HUGE_VALL): Likewise.
4532 [C99-based standards] (INFINITY): Likewise.
4533 [C99-based standards] (NAN): Likewise.
4534 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4535 [C99-based standards] (FP_NAN): Likewise.
4536 [C99-based standards] (FP_NORMAL): Likewise.
4537 [C99-based standards] (FP_SUBNORMAL): Likewise.
4538 [C99-based standards] (FP_ZERO): Likewise.
4539 [C99-based standards] (FP_FAST_FMA): Use
4540 optional-macro-int-constant. Specify type. Require == 1.
4541 [C99-based standards] (FP_FAST_FMAF): Likewise.
4542 [C99-based standards] (FP_FAST_FMAL): Likewise.
4543 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4544 [C99-based standards] (FP_ILOGBNAN): Likewise.
4545 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4546 Specify type.
4547 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4548 [C99-based standards] (math_errhandling): Specify type.
4549 [ISO99 || ISO11] (signgam): Do not allow.
4550 [non-C99-based standards] (copysignf): Do not allow.
4551 [non-C99-based standards] (exp2f): Likewise.
4552 [non-C99-based standards] (log2f): Likewise.
4553 [non-C99-based standards] (modff): Allow.
4554 [non-C99-based standards] (erff): Do not allow.
4555 [non-C99-based standards] (erfcf): Likewise.
4556 [non-C99-based standards] (gammaf): Likewise.
4557 [non-C99-based standards] (hypotf): Likewise.
4558 [non-C99-based standards] (j0f): Likewise.
4559 [non-C99-based standards] (j1f): Likewise.
4560 [non-C99-based standards] (jnf): Likewise.
4561 [non-C99-based standards] (lgammaf): Likewise.
4562 [non-C99-based standards] (tgammaf): Likewise.
4563 [non-C99-based standards] (y0f): Likewise.
4564 [non-C99-based standards] (y1f): Likewise.
4565 [non-C99-based standards] (ynf): Likewise.
4566 [non-C99-based standards] (isnanf): Likewise.
4567 [non-C99-based standards] (acoshf): Likewise.
4568 [non-C99-based standards] (asinhf): Likewise.
4569 [non-C99-based standards] (atanhf): Likewise.
4570 [non-C99-based standards] (cbrtf): Likewise.
4571 [non-C99-based standards] (expm1f): Likewise.
4572 [non-C99-based standards] (ilogbf): Likewise.
4573 [non-C99-based standards] (log1pf): Likewise.
4574 [non-C99-based standards] (logbf): Likewise.
4575 [non-C99-based standards] (nextafterf): Likewise.
4576 [non-C99-based standards] (remainderf): Likewise.
4577 [non-C99-based standards] (rintf): Likewise.
4578 [non-C99-based standards] (scalbf): Likewise.
4579 [non-C99-based standards] (copysignl): Likewise.
4580 [non-C99-based standards] (exp2l): Likewise.
4581 [non-C99-based standards] (log2l): Likewise.
4582 [non-C99-based standards] (modfl): Allow.
4583 [non-C99-based standards] (erfl): Do not allow.
4584 [non-C99-based standards] (erfcl): Likewise.
4585 [non-C99-based standards] (gammal): Likewise.
4586 [non-C99-based standards] (hypotl): Likewise.
4587 [non-C99-based standards] (j0l): Likewise.
4588 [non-C99-based standards] (j1l): Likewise.
4589 [non-C99-based standards] (jnl): Likewise.
4590 [non-C99-based standards] (lgammal): Likewise.
4591 [non-C99-based standards] (tgammal): Likewise.
4592 [non-C99-based standards] (y0l): Likewise.
4593 [non-C99-based standards] (y1l): Likewise.
4594 [non-C99-based standards] (ynl): Likewise.
4595 [non-C99-based standards] (isnanl): Likewise.
4596 [non-C99-based standards] (acoshl): Likewise.
4597 [non-C99-based standards] (asinhl): Likewise.
4598 [non-C99-based standards] (atanhl): Likewise.
4599 [non-C99-based standards] (cbrtl): Likewise.
4600 [non-C99-based standards] (expm1l): Likewise.
4601 [non-C99-based standards] (ilogbl): Likewise.
4602 [non-C99-based standards] (log1pl): Likewise.
4603 [non-C99-based standards] (logbl): Likewise.
4604 [non-C99-based standards] (nextafterl): Likewise.
4605 [non-C99-based standards] (remainderl): Likewise.
4606 [non-C99-based standards] (rintl): Likewise.
4607 [non-C99-based standards] (scalbl): Likewise.
4608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4609 [non-C99-based standards] (FP_*): Do not allow.
4610 [C99-based standards] (FP_*): Change to
4611 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4612 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4613 allow.
4614 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4615 (SIG_ERR): Likewise.
4616 [X/Open-based standards] (SIG_HOLD): Likewise.
4617 (SIG_IGN): Likewise.
4618 (SIGABRT): Use macro-int-constant. Specify type. Require
4619 positive value.
4620 (SIGFPE): Likewise.
4621 (SIGILL): Likewise.
4622 (SIGINT): Likewise.
4623 (SIGSEGV): Likewise.
4624 (SIGTER): Likewise.
4625 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4626 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4627 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4628 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4629 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4630 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4631 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4632 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4633 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4634 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4635 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4636 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4637 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4638 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4639 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4640 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4641 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4642 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4643 [X/Open-based standards] (SIGTRAP): Likewise.
4644 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4645 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4646 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4647 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4648 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4649 allow.
4650
b9f1922d
IW
46512012-05-08 Ian Wienand <ianw@vmware.com>
4652
4653 [BZ #14080]
4654 * time/tzset.c (__tzset_parse_tz): Update default rules for
4655 daylight time changes in the Energy Policy Act of 2005.
4656
1db86e88
AJ
46572012-05-09 Andreas Jaeger <aj@suse.de>
4658
4659 [BZ #13983]
4660 * elf/ldconfig.c (parse_conf): Change string to make clear that
4661 ldconfig only issued a warning if ld.so.conf does not exist.
4662
dee4a4e3
DM
46632012-05-08 David S. Miller <davem@davemloft.net>
4664
ee0db190
DM
4665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4666 movxtod instead of popping the value on the stack.
4667
dee4a4e3
DM
4668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4669
6a43ec98
CD
46702012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4671
4672 * config.h.in: Add HAVE_ARM_PCS_VFP.
4673
05c2c961
RMG
46742012-05-08 Roland Mc Grath <roland@hack.frob.com>
4675
bcfe3a54
ST
4676 [BZ #13979]
4677 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4678 checking but the checks are disabled for any reason.
05c2c961 4679
4b30f61a
L
46802012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4681
4682 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4683 and ELF64_R_TYPE with ELFW(R_TYPE).
4684
eee2bc67
JM
46852012-05-08 Joseph Myers <joseph@codesourcery.com>
4686
7ea5391a
JM
4687 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4688 (ulimit): Likewise.
4689
eee2bc67
JM
4690 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4691 (settimeofday): Likewise.
4692
abb66a67
MF
46932012-05-08 Mike Frysinger <vapier@gentoo.org>
4694
4695 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4696 a struct th_u2 inside the union, and move tu_block/tu_code into
4697 a new th_u3 union of tu_block/tu_code inside of that. Move
4698 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4699 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4700 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4701 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4702 (th_stuff): Change to th_u1.tu_stuff.
4703 (th_data): Define.
4704 (th_msg): Change to th_u1.th_u2.tu_data.
4705
7f18b530
DM
47062012-05-07 David S. Miller <davem@davemloft.net>
4707
05760585
DM
4708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4709
7f18b530
DM
4710 [BZ #14074]
4711 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4712 (SETUP_PIC_REG): Use it.
4713 (SETUP_PIC_REG_LEAF): Use it.
4714
495fd99f
JM
47152012-05-07 Joseph Myers <joseph@codesourcery.com>
4716
4717 [BZ #13885]
4718 [BZ #13923]
4719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4720 USE_AS_EXPM1L.
4721 (EXPL_FINITE): Likewise.
4722 (FLDLOG): Likewise.
4723 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4724 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4725 e_expl.S.
4726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4727 USE_AS_EXPM1L.
4728 (EXPL_FINITE): Likewise.
4729 (FLDLOG): Likewise.
4730 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4731 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4732 e_expl.S.
4733 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4734 test of -max_value argument for long double.
4735 * sysdeps/i386/fpu/libm-test-ulps: Update.
4736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4737
6693d694
DM
47382012-05-06 David S. Miller <davem@davemloft.net>
4739
4740 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4741 quad soft-float symbols whose references which are compiler
4742 generated.
4743 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4744
6c23e11c
JM
47452012-05-06 Joseph Myers <joseph@codesourcery.com>
4746
d8b82cad
JM
4747 [BZ #13884]
4748 [BZ #13914]
4749 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4750 USE_AS_EXP10L.
4751 (EXPL_FINITE): Likewise.
4752 (FLDLOG): Likewise.
4753 (c0): Likewise.
4754 (c1): Likewise.
4755 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4756 Adjust comments for base varying.
4757 (__expl_finite): Change alias to EXPL_FINITE.
4758 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4759 e_expl.S.
4760 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4761 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4763 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4764 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4765 USE_AS_EXP10L.
4766 (EXPL_FINITE): Likewise.
4767 (FLDLOG): Likewise.
4768 (c0): Likewise.
4769 (c1): Likewise.
4770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4771 Adjust comments for base varying.
4772 (__expl_finite): Change alias to EXPL_FINITE.
4773 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4774 tests for bugs.
4775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4776
6c23e11c
JM
4777 [BZ #14064]
4778 * math/libm-test.inc (check_float_internal): Correct ulp
4779 calculation for subnormal expected results.
4780
29ba805c
AJ
47812012-05-06 Andreas Jaeger <aj@suse.de>
4782
4783 * Makeconfig (+math-flags): New, set to -frounding-math.
4784 (+cflags): Add +math-flags so that all of glibc gets compiled with
4785 it.
4786
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4788
7b17aeda
JM
47892012-05-05 Joseph Myers <joseph@codesourcery.com>
4790
5779f134
JM
4791 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4792 Disable one test.
4793
41498f4d
JM
4794 [BZ #13787]
4795 [BZ #13922]
4796 [BZ #14036]
4797 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4798 (__ieee754_expl): Allow for and saturate large arguments.
4799 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4800 (u_threshold): Likewise.
4801 (__exp): Call __ieee754_exp before checking for overflow and
4802 underflow.
4803 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4804 (u_threshold): Likewise.
4805 (__expf): Call __ieee754_expf before checking for overflow and
4806 underflow.
4807 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4808 (u_threshold): Likewise.
4809 (__expl): Call __ieee754_expl before checking for overflow and
4810 underflow.
4811 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4812 (__ieee754_expl): Allow for and saturate large arguments.
4813 * math/libm-test.inc (exp_test): Add another test. Do not allow
4814 missing overflow exception on overflow.
4815 (expm1_test): Do not allow missing overflow exception on overflow.
4816
6698b8bf
JM
4817 * sysdeps/i386/fpu/e_expl.c: Move to ...
4818 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4819 rather than using inline asm.
4820 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4821 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4822 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4823
7b17aeda
JM
4824 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4825 (nice): Likewise.
4826 (poll): Likewise.
4827 (signal): Likewise.
4828 (time): Likewise.
4829 (times): Likewise.
4830
f7c85819
JM
48312012-05-04 Joseph Myers <joseph@codesourcery.com>
4832
4833 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4834 sysdeps/unix/common/syscalls.list.
4835 (fchmod): Likewise.
4836 (fchown): Likewise.
4837 (ftruncate): Likewise.
4838 (getrusage): Likewise.
4839 (gettimeofday): Likewise.
4840 (setpgid): Likewise.
4841 (setregid): Likewise.
4842 (setreuid): Likewise.
4843 (sigaction): Likewise.
4844 (truncate): Likewise.
4845 (vhangup): Likewise.
4846 * sysdeps/unix/common/syscalls.list: Remove file.
4847 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4848 * sysdeps/unix/sysv/linux/Implies: Likewise.
4849
336270d0
L
48502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4851
4852 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4854 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4855 Moved to ...
4856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4857 Here.
4858 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4859 to ...
4860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4861 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4862 to ...
4863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4865 to ...
4866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4867 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4868 to ...
4869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4870 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4871 to ...
4872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4873 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4874 to ...
4875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4876 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4877 to ...
4878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4879 Here.
4880 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4881 to ...
4882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4883 Here.
4884 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4885 to ...
4886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4887 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4888 Moved to ...
4889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4890 Here.
4891 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4892 to ...
4893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4894
d128e450
JM
48952012-05-04 Joseph Myers <joseph@codesourcery.com>
4896
fa8ee516
JM
4897 * sysdeps/unix/common/bits/dirent.h: Remove file.
4898 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4899
d128e450
JM
4900 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4901 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4902 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4903 * sysdeps/unix/bsd/isatty.c: Likewise.
4904 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4905 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4906 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4907
ff8faaf0 49082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4909
62881be4 4910 [BZ #13563]
31dc8730
AZ
4911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4912 long double comparison inaccuracies.
4913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4915
6fef930c
AS
49162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4917
4918 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4920
8f203e6c
JM
49212012-05-04 Joseph Myers <joseph@codesourcery.com>
4922
4923 [BZ #14049]
4924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4925 nonzero digits before rounding a hex value.
4926 * stdlib/tst-strtod.c (tests): Add another test.
4927
5197d9c2
AK
49282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4929
4930 * sysdeps/s390/fpu/libm-test-ulps: Update.
4931
f0c1dedf
AJ
49322012-05-03 Andreas Jaeger <aj@suse.de>
4933
4934 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4935 does not get optimized out.
4936 (malloc_opt_barrier): New.
4937
a65ef2ae 49382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4939 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4940
2b942cb7 4941 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4942 intermediate file deletion.
2b942cb7 4943 (generated): Add .symlist files.
a65ef2ae 4944
54b71e02
JM
49452012-05-03 Joseph Myers <joseph@codesourcery.com>
4946
4947 [BZ #13775]
4948 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4949 Redirect under this condition.
4950 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4951 [__USE_GNU] (__dprintf_chk): Not under this condition.
4952 [__USE_GNU] (__vdprintf_chk): Likewise.
4953 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4954 under this condition.
4955 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4956 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4957 [__USE_XOPEN2K8] (vdprintf): Likewise.
4958 [__USE_GNU] (__dprintf_chk): Not under this condition.
4959 [__USE_GNU] (__vdprintf_chk): Likewise.
4960 [__USE_GNU] (dprintf): Likewise.
4961 [__USE_GNU] (vdprintf): Likewise.
4962
d3dfcc41
RM
49632012-05-03 Roland McGrath <roland@hack.frob.com>
4964
4965 * elf/Makefile (common-generated): Set this instead of generated for
4966 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4967 $(all-built-dso)-derived lists.
4968
7ac30cc5
AJ
49692012-05-03 Andreas Jaeger <aj@suse.de>
4970
0c51e550
AJ
4971 * sysdeps/i386/fpu/libm-test-ulps: Update.
4972
7ac30cc5
AJ
4973 * FAQ: Removed.
4974 * FAQ.in: Likewise.
4975 * scripts/gen-FAQ.pl: Likewise.
4976 * manual/install.texi (Installation): Point to online location of
4977 FAQ.
4978 * Makefile (files-for-dist): Remove FAQ.
4979 (FAQ): Remove.
4980
d4c2917f
AM
49812012-05-02 Allan McRae <allan@archlinux.org>
4982
4983 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4984 (LDFLAGS-reldepmod5.so): Likewise.
4985 (LDFLAGS-reldep6mod1.so): Likewise.
4986 (LDFLAGS-reldep6mod4.so): Likewise.
4987 (LDFLAGS-reldep8mod3.so): Likewise.
4988 (LDFLAGS-unload4mod1.so): Likewise.
4989 (LDFLAGS-unload4mod2.so): Likewise.
4990 (LDFLAGS-tst-initorder): Likewise.
4991 (LDFLAGS-tst-initordera2.so): Likewise.
4992 (LDFLAGS-tst-initordera3.so): Likewise.
4993 (LDFLAGS-tst-initordera4.so): Likewise.
4994 (LDFLAGS-tst-initorderb2.so): Likewise.
4995 (LDFLAGS-noload): Likewise.
4996 (LDFLAGS-next): Likewise.
4997 (LDFLAGS-order2mod1.so): Likewise.
4998 (LDFLAGS-order2mod2.so): Likewise.
4999 (LDFLAGS-tst-initorder2): Likewise.
5000 (LDFLAGS-tst-initorder2a.so): Likewise.
5001 (LDFLAGS-tst-initorder2b.so): Likewise.
5002 (LDFLAGS-tst-initorder2c.so): Likewise.
5003 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
5004
d77f993f
DM
50052012-05-02 David S. Miller <davem@davemloft.net>
5006
5007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5008
171a70b4
PP
50092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5010
5011 [BZ #14055]
5012 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
5013
0be196ad
AJ
50142012-05-02 Andreas Jaeger <aj@suse.de>
5015
5016 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
5017 since we manipulate rounding mode.
5018 (CPPFLAGS-test-idouble.c): Likewise.
5019 (CPPFLAGS-test-ifloat.c): Likewise.
5020 (CFLAGS-test-ldouble.c): Likewise.
5021 (CFLAGS-test-double.c): Likewise.
5022 (CFLAGS-test-float.c): Likewise.
5023 (CFLAGS-test-misc.c): Likewise.
5024 (CFLAGS-test-test-fenv.c): Likewise.
5025
4f9d04aa
AZ
50262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027
2b942cb7
RM
5028 [BZ #2550]
5029 [BZ #2570]
5030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5031 comparisons to determine direction to adjust input.
4f9d04aa 5032
82a79e7d
RM
50332012-05-01 Roland McGrath <roland@hack.frob.com>
5034
f5a01ca9
RM
5035 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5036 output to the target.
5037
90fe4186
RM
5038 * scripts/localplt.awk: New file.
5039 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5040 (check-localplt-CFLAGS): Variable removed.
5041 ($(all-built-dso:=.jmprel)): New static pattern rule.
5042 (generated): Add those targets.
5043 (localplt-built-dso): New variable.
5044 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5045
5046 * elf/check-localplt.c: File removed.
5047
82397ed6
RM
5048 * scripts/check-execstack.awk: New file.
5049 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5050 (check-execstack-CFLAGS): Variable removed.
5051 ($(objpfx)check-execstack.h): Target removed.
5052 ($(objpfx)execstack-default): New target.
5053 (generated): Add that instead of check-execstack.h.
5054 ($(all-built-dso:=.phdr)): New static pattern rule.
5055 (generated): Add those targets.
5056 * elf/check-execstack.c: File removed.
5057
82a79e7d
RM
5058 * scripts/check-textrel.awk: New file.
5059 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5060 (check-textrel-CFLAGS): Variable removed.
5061 (all-built-dso): Use := to define.o
5062 ($(all-built-dso:=.dyn)): New static pattern rule.
5063 (generated): Add those targets.
5064 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5065 * config.make.in (READELF): New substituted variable.
5066 * elf/check-textrel.c: File removed.
5067
62fde54f 50682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5069
615605c9
JM
5070 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5071 allow.
5072 * conform/data/ctype.h-data [C99-based standards] (isblank):
5073 Expect function.
5074 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5075 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5077 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5078 Specify type. Require positive value.
5079 (EILSEQ): Likewise.
5080 (ERANGE): Likewise.
5081 [ISO || POSIX] (EILSEQ): Do not expect.
5082 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5083 Specify type. Require positive value.
5084 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5086 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5093 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5098 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5103 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5110 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5111 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5114 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5116 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5117 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5123 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5135 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5136 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5137 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5138 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5139 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5142 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5144 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5147 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5148 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5149 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5150 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5151 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5152 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5153 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5154 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5155 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5156 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5157 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5158 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5159 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5160 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5161 Require >= 2.
5162 (FLT_ROUNDS): Expect as macro, not constant.
5163 (FLT_MANT_DIG): Use macro-int-constant.
5164 (DBL_MANT_DIG): Likewise.
5165 (LDBL_MANT_DIG): Likewise.
5166 (FLT_DIG): Likewise.
5167 (DBL_DIG): Likewise.
5168 (LDBL_DIG): Likewise.
5169 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5170 (DBL_MIN_EXP): Likewise.
5171 (LDBL_MIN_EXP): Likewise.
5172 (FLT_MAX_EXP): Use macro-int-constant.
5173 (DBL_MAX_EXP): Likewise.
5174 (LDBL_MAX_EXP): Likewise.
5175 (FLT_MAX_10_EXP): Likewise.
5176 (DBL_MAX_10_EXP): Likewise.
5177 (LDBL_MAX_10_EXP): Likewise.
5178 (FLT_MAX): Use macro-constant.
5179 (DBL_MAX): Likewise.
5180 (LDBL_MAX): Likewise.
5181 (FLT_EPSILON): Use macro-constant. Give upper bound.
5182 (DBL_EPSILON): Likewise.
5183 (LDBL_EPSILON): Likewise.
5184 (FLT_MIN): Likewise.
5185 (DBL_MIN): Likewise.
5186 (LDBL_MIN): Likewise.
5187 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5188 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5189 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5190 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5191 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5192 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5193 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5194 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5195 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5196 [ISO11] (FLT_TRUE_MIN): Likewise.
5197 [ISO11] (LDBL_TRUE_MIN): Likewise.
5198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5199 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5200 (SCHAR_MIN): Use macro-int-constant. Specify type.
5201 (SCHAR_MAX): Likewise.
5202 (UCHAR_MAX): Likewise.
5203 (CHAR_MIN): Likewise.
5204 (CHAR_MAX): Likewise.
5205 (MB_LEN_MAX): Use macro-int-constant.
5206 (SHRT_MIN): Use macro-int-constant. Specify type.
5207 (SHRT_MAX): Likewise.
5208 (USHRT_MAX): Likewise.
5209 (INT_MAX): Likewise.
5210 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5211 bound negative.
5212 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5213 bound with "U".
5214 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5215 bound with "L".
5216 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5217 bound negative. Suffix upper bound with "L".
5218 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5219 bound with "UL".
5220 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5221 Specify type.
5222 [C99-based standards] (LLONG_MAX): Likewise.
5223 [C99-based standards] (ULLONG_MAX): Likewise.
5224 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5225 == 0.
5226 [ISO11] (max_align_t): Require type.
5227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5228
c9140a62
JM
5229 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5230 from $CFLAGS, without defining away __attribute__ calls.
5231 (checknamespace): Use $CFLAGS_namespace.
5232
9af0bf29
JM
5233 * conform/conformtest.pl (@keywords): Only include C99 keywords
5234 for standards based on C99 or C11.
5235
343222a2
JM
5236 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5237 Disable tests.
5238 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5239 UNIX98]: Likewise.
5240
661f8cf0
JM
5241 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5242 usability of symbols in #if.
5243
ee74b9cb
JM
5244 * conform/conformtest.pl: If macro or constant types start
5245 "promoted:", expect the symbol to be of the following type
5246 promoted by the integer promotions.
62fde54f 5247
aafc49b3
JM
5248 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5249 in one place. Also handle "macro-constant".
5250
fefdf574
JM
5251 * conform/conformtest.pl: Only accept expected macro values with
5252 "==". Parse all "macro" lines in one place.
5253 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5254
f2d922fe
JM
5255 * conform/conformtest.pl: Handle braced types on "constant" lines
5256 instead of handling "typed-constant".
5257 * conform/data/signal.h-data: Use "constant" instead of
5258 "typed-constant".
5259
d22956c9
JM
5260 * conform/conformtest.pl: Handle "optional-" at start of lines in
5261 one place rather than duplicating several cases. Handle each
5262 format of "macro" line with initial "optional-".
5263
028e2e38
JM
5264 * conform/conformtest.pl: Only accept expected constant or
5265 optional-constant values with "==". Parse all "constant" lines in
5266 one place. Parse all "optional-constant" lines in one place.
5267 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5268 * conform/data/fmtmsg.h-data: Likewise.
5269 * conform/data/netinet/in.h-data: Likewise.
5270 * conform/data/tar.h-data: Likewise.
5271 * conform/data/limits.h-data: Use "==" form on "constant" and
5272 "optional-constant" lines.
5273
1b8f2850
JM
5274 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5275 Use -std=c99 for XOPEN2K.
5276 (@knownproblems): Remove.
5277 (newtoken): Don't check %isknown.
5278
a05a144b
JM
5279 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5280 Do not expect macro.
5281 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5293 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5294 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5305 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5306 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5307 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5308 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5309 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5311 [XPG3] (acosh): Likewise.
5312 [XPG3] (asinh): Likewise.
5313 [XPG3] (atanh): Likewise.
5314 [XPG3] (cbrt): Likewise.
5315 [XPG3] (expm1): Likewise.
5316 [XPG3] (ilogb): Likewise.
5317 [XPG3] (log1p): Likewise.
5318 [XPG3] (logb): Likewise.
5319 [XPG3] (nextafter): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5322 [XPG3] (remainder): Likewise.
5323 [XPG3] (rint): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5331 [UNIX98 || XOPEN2K] (scalb): Expect.
5332 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5333 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5352 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5353 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5354 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5355 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5356 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5357 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5358 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5359 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5360 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5362 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5363 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5364 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5365 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5366 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5367 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5368 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5369 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5370 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5371 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5372 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5373 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5374 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5375 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5376 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5377 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5378 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5379 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5380 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5381 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5382 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5383 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5384 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5385 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5386 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5387 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5388 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5389 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5390 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5391 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5392 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5393 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5394 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5395 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5396 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5397 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5398 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5399 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5400 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5401 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5403 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5404 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5405 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5406 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5408 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5409 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5410 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5412 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5413 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5414 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5415 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5417 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5418 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5419 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5420 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5421 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5422 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5423 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5424 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5425 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5426 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5427 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5428 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5429 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5430 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5431 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5432 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5433 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5434 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5435 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5436 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5437 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5438 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5439 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5440 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5441 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5442 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5443 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5444 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5445 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5446 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5447 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5448 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5449 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5450 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5451 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5452 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5453 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5454 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5455 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5456 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5457 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5458 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5459 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5460 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5461 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5462 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5463 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5464 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5465 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5466 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5467 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5468 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5469
73c5ebe3
JM
5470 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5471 _XOPEN_SOURCE_EXTENDED for XPG4.
5472
39c33b6c
JM
5473 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5474
62fde54f
JM
5475 * Makeconfig (localtime): Remove variable.
5476 (inst_localtime-file): Likewise.
5477
0741d64c
AS
54782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5479
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5481 Update.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5483 Update.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5485 Update.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5487 Update.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5489 Update.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5491 Update.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5493 Update.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5495 Update.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5497 Update.
5498
7cb029ee
JM
54992012-05-01 Joseph Myers <joseph@codesourcery.com>
5500
5501 [BZ #2550]
5502 [BZ #2570]
5503 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5504 comparisons to determine direction to adjust input.
5505 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5506 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5508 Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5510 Likewise.
5511 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5512 Likewise.
5513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5515 Likewise.
5516 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5517 Likewise.
5518 * math/libm-test.inc (nexttoward_test): Add more tests.
5519
412bd966
AS
55202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5521
5522 [BZ #14040]
5523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5524 in version GLIBC_2.1, not GLIBC_2.0.
5525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5526 Likewise.
5527
9568c0c2
JM
55282012-04-30 Joseph Myers <joseph@codesourcery.com>
5529
adfbc8ac
JM
5530 [BZ #13942]
5531 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5532 (1 - x) * (1 + x).
5533 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5534 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5535 * math/libm-test.inc (acos_test): Add more tests.
5536 (asin_test): Likewise.
5537 * sysdeps/i386/fpu/libm-test-ulps: Update.
5538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5539
5ba3cc69
JM
5540 [BZ #14034]
5541 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5542 of square root.
5543 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5544 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5545 * math/libm-test.inc (acos_test_tonearest): New function.
5546 (acos_test_towardzero): Likewise.
5547 (acos_test_downward): Likewise.
5548 (acos_test_upward): Likewise.
5549 (asin_test_tonearest): Likewise.
5550 (asin_test_towardzero): Likewise.
5551 (asin_test_downward): Likewise.
5552 (asin_test_upward): Likewise.
5553 (main): Call the new functions.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5556
9568c0c2
JM
5557 [BZ #13884]
5558 [BZ #13924]
5559 * math/e_exp10.c: Include <float.h>.
5560 (__ieee754_exp10): Handle underflow here rather than multiplying
5561 large negative argument by M_LN10.
5562 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5563 of __ieee754_expf.
5564 * math/e_exp10l.c: Include <float.h>.
5565 (__ieee754_exp10l): Handle underflow here rather than multiplying
5566 large negative argument by M_LN10l.
5567 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5568 spurious overflow exception on underflow.
5569
5ac3ea17
MP
55702012-04-29 Marek Polacek <polacek@redhat.com>
5571
5572 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5573 (__fortify_function): New macro.
5574 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5575 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5576 __extern_always_inline.
5577 * libio/bits/stdio2.h: Likewise.
5578 * libio/bits/stdio.h: Likewise.
5579 * string/string.h: Likewise.
5580 * string/bits/string3.h: Likewise.
5581 * include/stdio.h: Likewise.
5582 * stdlib/bits/stdlib.h: Likewise.
5583 * stdlib/stdlib.h: Likewise.
5584 * rt/bits/mqueue2.h: Likewise.
5585 * rt/mqueue.h: Likewise.
5586 * posix/bits/unistd.h: Likewise.
5587 * posix/unistd.h: Likewise.
5588 * io/bits/poll2.h: Likewise.
5589 * io/bits/fcntl2.h: Likewise.
5590 * io/fcntl.h: Likewise.
5591 * io/sys/poll.h: Likewise.
5592 * misc/bits/syslog.h: Likewise.
5593 * misc/bits/syslog-ldbl.h: Likewise.
5594 * misc/sys/syslog.h: Likewise.
5595 * socket/bits/socket2.h: Likewise.
5596 * socket/sys/socket.h: Likewise.
5597 * debug/tst-chk1.c: Likewise.
5598 * wcsmbs/bits/wchar2.h: Likewise.
5599 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5600 * wcsmbs/wchar.h: Likewise.
5601
ecf0ebfb
AJ
56022012-04-29 Andreas Jaeger <aj@suse.de>
5603
5604 * Makerules (tests): Remove enable-check-abi protection.
5605 (check-abi-warn): Remove.
5606 (check-abi-%): Remove check-abi-warn usage.
5607
5608 * configure.in: Remove check-abi configure option.
5609 * configure: Regenerated.
5610 * config.make.in (enable-check-abi): Remove.
5611
6d5c57fa
AS
56122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5613
24c5d07e 5614 [BZ #14033]
ded5180a
AS
5615 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5616 double functions to double *_finite functions.
5617
7e0d315d
AS
5618 [BZ #13941]
5619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5620 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5621 LDBL_MIN_EXP.
5622 * stdio-common/Makefile (tests): Add tst-sprintf3.
5623 * stdio-common/tst-sprintf3.c: New file.
5624
6d5c57fa
AS
5625 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5626 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5627
0749ff8b
JM
56282012-04-28 Joseph Myers <joseph@codesourcery.com>
5629
5630 * conform/conformtest.pl: Remove duplicate typed-constant
5631 handling.
5632
8dbd5d7b
DM
56332012-04-28 David S. Miller <davem@davemloft.net>
5634
5635 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5636 (check-abi-%): Remove AWK script prerequisite and explicit
5637 abilist directory.
5638 (check-abi): Rewrite to just diff the symlist with the abilist.
5639 (config-tls, config-abi-config): Delete, no longer used.
5640 (update-abi-%): Remove AWK script and explicit abilist directory.
5641 (update-abi): Rewrite to simply compare and conditionally copy the
5642 symlist and the sysdep abilist file. Remove update-abi-config
5643 checks.
5644 * abilist/ld.abilist: Remove.
5645 * abilist/libBrokenLocale.abilist: Remove.
5646 * abilist/libanl.abilist: Remove.
5647 * abilist/libcrypt.abilist: Remove.
5648 * abilist/libdl.abilist: Remove.
5649 * abilist/librt.abilist: Remove.
5650 * abilist/libthread_db.abilist: Remove.
5651 * abilist/libutil.abilist: Remove.
5652 * scripts/extract-abilist.awk: Remove.
5653 * scripts/merge-abilist.awk: Remove.
5654 * sysdeps/generic/libcidn.abilist: New file.
5655 * sysdeps/generic/libnss_compat.abilist: New file.
5656 * sysdeps/generic/libnss_db.abilist: New file.
5657 * sysdeps/generic/libnss_dns.abilist: New file.
5658 * sysdeps/generic/libnss_files.abilist: New file.
5659 * sysdeps/generic/libnss_hesiod.abilist: New file.
5660 * sysdeps/generic/libnss_nis.abilist: New file.
5661 * sysdeps/generic/libnss_nisplus.abilist: New file.
5662 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5663 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5664 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5665 file.
5666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5667 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5668 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5669 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5670 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5671 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5672 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5673 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5674 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5675 file.
5676 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5677 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5678 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5679 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5680 file.
5681 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5682 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5684 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5685 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5686 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5687 file.
5688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5689 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5690 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5691 file.
5692 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5694 New file.
5695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5696 New file.
5697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5698 New file.
5699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5700 New file.
5701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5702 New file.
5703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5704 New file.
5705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5706 New file.
5707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5708 New file.
5709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5710 New file.
5711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5712 New file.
5713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5714 New file.
5715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5716 New file.
5717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5718 New file.
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5720 file.
5721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5722 New file.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5724 New file.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5726 file.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5728 New file.
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5730 New file.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5732 file.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5734 New file.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5736 New file.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5738 New file.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5740 New file.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5742 New file.
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5744 New file.
5745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5747 file.
5748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5749 New file.
5750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5751 file.
5752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5753 file.
5754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5755 file.
5756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5757 file.
5758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5759 file.
5760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5761 New file.
5762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5763 file.
5764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5765 file.
5766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5767 New file.
5768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5769 file.
5770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5772 file.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5774 New file.
5775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5776 file.
5777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5778 file.
5779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5780 file.
5781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5782 file.
5783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5784 file.
5785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5786 New file.
5787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5788 file.
5789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5790 file.
5791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5792 New file.
5793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5794 file.
5795 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5796 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5797 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5798 file.
5799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5800 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5801 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5803 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5804 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5805 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5806 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5807 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5808 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5811 file.
5812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5813 New file.
5814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5815 file.
5816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5817 file.
5818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5819 file.
5820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5821 file.
5822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5823 file.
5824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5825 New file.
5826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5827 New file.
5828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5829 file.
5830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5831 New file.
5832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5833 file.
5834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5836 file.
5837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5838 New file.
5839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5840 file.
5841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5842 file.
5843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5844 file.
5845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5846 file.
5847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5848 file.
5849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5850 New file.
5851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5852 New file.
5853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5854 file.
5855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5856 New file.
5857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5858 file.
5859
41d73a1b
JM
58602012-04-28 Joseph Myers <joseph@codesourcery.com>
5861
5862 * conform/conformtest.pl: Fix typo in handling typed-constant from
5863 allow-header.
5864
28aeeda4
JM
58652012-04-27 Joseph Myers <joseph@codesourcery.com>
5866
adae8f5e
JM
5867 * README: Cut down references to pre-2.6 Linux kernels and
5868 Linuxthreads. Update lists of configurations in libc and ports
5869 and sort alphabetically. Say "or newer" with Linux kernel version
5870 requirements.
5871
28aeeda4
JM
5872 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5873
a462cb63
RA
58742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5875
5876 [BZ #887]
5877 * math/libm-test.inc (logb_test_downward): New test to expose
5878 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5879 rounding mode.
5880
6ad3493e
JM
58812012-04-27 Joseph Myers <joseph@codesourcery.com>
5882
5883 [BZ #14027]
5884 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5885 to be done.
5886 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5887 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5888
2ce4f015
JM
58892012-04-26 Joseph Myers <joseph@codesourcery.com>
5890
5aeb141a
JM
5891 * sysdeps/unix/i386/brk.S: Remove file.
5892 * sysdeps/unix/i386/dl-brk.S: Likewise.
5893 * sysdeps/unix/i386/pipe.S: Likewise.
5894 * sysdeps/unix/i386/sigreturn.S: Likewise.
5895 * sysdeps/unix/i386/syscall.S: Likewise.
5896 * sysdeps/unix/i386/vfork.S: Likewise.
5897 * sysdeps/unix/i386/wait.S: Likewise.
5898
7143acae
JM
5899 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5900 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5901
2ce4f015
JM
5902 * configure.in (arm*-none*): Do not allow without
5903 --enable-hacker-mode.
5904 (netbsd*): Remove case setting base_os.
5905 (386bsd*): Likewise.
5906 (freebsd*): Likewise.
5907 (bsdi*): Likewise.
5908 (osf*): Likewise.
5909 (sunos*): Likewise.
5910 (ultrix*): Likewise.
5911 (newsos*): Likewise.
5912 (dynix*): Likewise.
5913 (*bsd*): Likewise.
5914 (sysv*): Likewise.
5915 (isc*): Likewise.
5916 (esix*): Likewise.
5917 (sco*): Likewise.
5918 (minix*): Likewise.
5919 (irix4*): Likewise.
5920 (irix6*): Likewise.
5921 (solaris[2-9]*): Likewise.
5922 (none): Likewise.
5923 * configure: Regenerated.
5924
0ac229c8
AZ
59252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926
5927 [BZ #11521]
5928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5929 overflow or cancellation in calculating denominator.
5930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5932 down expression to avoid unexpected rounding in newer GCCs.
5933 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5934
33f244f4
DM
59352012-04-26 David S. Miller <davem@davemloft.net>
5936
5937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5938 long-double compat symbols.
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5952
cfa1f3e8
DM
59532012-04-25 David S. Miller <davem@davemloft.net>
5954
5955 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5956 HWCAP_* values only after the memory barriers have been defined.
5957 (atomic_full_barrier): Define.
5958 (atomic_read_barrier): Define.
5959 (atomic_write_barrier): Define.
5960
6e236b92
SP
59612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5962
5963 * shlib-versions: Add libgcc_s version information.
5964 * sysdeps/generic/libgcc_s.h: Remove.
5965 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5966 libgcc_s.h.
5967 * sysdeps/gnu/unwind-resume.c: Likewise.
5968 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5969
aab39a09
DM
59702012-04-25 David S. Miller <davem@davemloft.net>
5971
5972 * sysdeps/unix/sparc/brk.S: Delete.
5973 * sysdeps/unix/sparc/dl-brk.S: Delete.
5974 * sysdeps/unix/sparc/pipe.S: Delete.
5975 * sysdeps/unix/sparc/sysdep.S: Delete.
5976 * sysdeps/unix/sparc/sysdep.h: Delete.
5977 * sysdeps/unix/sparc/vfork.S: Delete.
5978 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5979 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5981 ret_ERRVAL, r0, r1, MOVE): Define.
5982 (JUMPTARGET): Remove.
5983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5984 sysdeps/unix/sparc/sysdep.h
5985 (ENTRY, END): Remove.
5986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5987
a3cc4f48
JM
59882012-04-25 Joseph Myers <joseph@codesourcery.com>
5989
2ed8cda2
JM
5990 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5991 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5992 -DIS_IN_build.
5993
35d76d59
JM
5994 * timezone/README: Update upstream location and email address for
5995 tzcode and tzdata.
5996 * timezone/zdump.c: Update from tzcode 2012b.
5997 * timezone/zic.c: Likewise.
5998
a3cc4f48
JM
5999 * configure.in (libc_cv_as_needed): Remove test.
6000 * configure: Regenerated.
6001 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
6002 conditional definition.
6003 [$(have-as-needed) != yes] (no-as-needed): Likewise.
6004 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
6005 * config.make.in (have-as-needed): Remove variable.
6006
ceab42c3
SP
60072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6008 Paul Pluzhnikov <ppluzhnikov@google.com>
6009
6010 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
6011 strings correctly.
6012
3ce2865f
CLT
60132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
6014
6015 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
6016 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
6017 * sysdeps/sh/strlen.S: Likewise.
6018
f37e0d68
JM
60192012-04-24 Joseph Myers <joseph@codesourcery.com>
6020
ae186e9a
JM
6021 * sysdeps/unix/fork.S: Remove file.
6022 * sysdeps/unix/i386/fork.S: Likewise.
6023 * sysdeps/unix/sparc/fork.S: Likewise.
6024
b96914af
JM
6025 * sysdeps/unix/system.c: Remove file.
6026 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6027
f37e0d68
JM
6028 * sysdeps/unix/getegid.S: Remove file.
6029 * sysdeps/unix/geteuid.S: Likewise.
6030
87ef29ca
RM
60312012-04-24 Roland McGrath <roland@hack.frob.com>
6032
83bcd236
RM
6033 * scripts/check-localplt.awk: New file.
6034 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6035 of diff.
6036 * scripts/data/localplt-generic.data: Add a comment.
6037
87ef29ca
RM
6038 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6039 NODE when __dir_mkfile failed.
6040 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6041 Reported by Ludovic Courtès <ludo@gnu.org>.
6042
e5a6e567
AJ
60432012-04-24 Andreas Jaeger <aj@suse.de>
6044
6045 * Makerules (common-clean): Also remove gen-as-const-headers
6046 files.
6047
c1820385
JM
60482012-04-24 Joseph Myers <joseph@codesourcery.com>
6049
6050 * Makerules (native-compile): Do not change working directory for
6051 build. Use $(OUTPUT_OPTION) in command.
6052 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6053
94e02fc4
AZ
60542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055
6056 [BZ #13886]
6057 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6058 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6059 * math/libm-test.inc (floor_test): Add more tests.
6060 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6061
3a533ca3
JM
60622012-04-24 Joseph Myers <joseph@codesourcery.com>
6063
940ab4b3
JM
6064 * sysdeps/unix/getdents.c: Remove file.
6065 * sysdeps/unix/sysv/getdents.c: Likewise.
6066 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6067
90e037bd
JM
6068 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6069 sysdeps/unix/mman/syscalls.list.
6070 (mmap): Likewise.
6071 (mprotect): Likewise.
6072 (msync): Likewise.
6073 (munmap): Likewise.
6074 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6075 * sysdeps/unix/mman/syscalls.list: Remove.
6076 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6077
3a533ca3
JM
6078 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6079 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6080 * configure: Regenerated.
6081 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6082 $(libgcc_s_suffix).
6083 * config.make.in (libgcc_s_suffix): Remove variable.
6084
1ad743de
JM
60852012-04-23 Joseph Myers <joseph@codesourcery.com>
6086
4ad451e2
JM
6087 * sysdeps/unix/sysv/gethostname.c: Move to ...
6088 * sysdeps/posix/gethostname.c: ... here.
6089
5e37ce39
JM
6090 * sysdeps/unix/execve.S: Remove file.
6091
1ad743de
JM
6092 * sysdeps/unix/_exit.S: Remove file.
6093
4e681b5b
AJ
60942012-04-23 Andreas Jaeger <aj@suse.de>
6095
6096 [BZ #13739]
6097 * manual/Makefile: Remove make dist support, there's no
6098 need for a stand-alone documentation tar ball.
6099 (TEXI2DVI): Define always, it's not in Makeconfig.
6100 (dist): Removed.
6101 (tar-it): Removed.
6102 (edition): Removed.
6103 (glibc-doc-$(edition).tar): Removed
6104 (%.Z): Removed.
6105 (%.gz): Removed.
6106 (%.uu): Removed.
6107 (ETAGS): Remove, it's in Makeconfig.
6108 (move-if-change): Remove, it's in Makeconfig.
6109
c0baea34
PE
61102013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6111
6112 [BZ #13970]
6113 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6114 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6115 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6116 (strtod_l, strtof_l, strtold_l): Remove __wur.
6117 It is not necessarily an error to ignore strtol's return value.
6118 One can reliably look at the stored endptr to decide whether
6119 the number had valid syntax.
6120
7c0616fa
AJ
61212012-04-21 Andreas Jaeger <aj@suse.de>
6122
803cb6b7 6123 [BZ #13739]
7c0616fa
AJ
6124 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6125
b0fe253f
JM
61262012-04-21 Joseph Myers <joseph@codesourcery.com>
6127
6128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6129 * sysdeps/unix/sysv/Versions: Remove file.
6130
8280f22d
MT
61312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6132
6133 [BZ #13927]
6134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6135
75ce411f 61362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6137
6138 [BZ #7064]
6139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6140 version from __vm86.
6141
097d59fa
JM
61422012-04-20 Joseph Myers <joseph@codesourcery.com>
6143
a90f3bcb
JM
6144 * sysdeps/unix/common/lxstat.c: Remove file.
6145 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6146
edc7ea78
JM
6147 * sysdeps/unix/sysv/Makefile: Remove file.
6148
cb78c221
JM
6149 * sysdeps/unix/sysv/direct.h: Remove file.
6150
efa6a45f
JM
6151 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6152 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6153 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6154 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6155 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6156 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6157 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6158
9c9f2d0c
JM
6159 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6160
4541c83b
JM
6161 * sysdeps/unix/xmknod.c: Remove file.
6162 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6163
f5d153a0
JM
6164 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6165
aa746595
JM
6166 * sysdeps/unix/sysv/i386/time.S: Remove file.
6167
cce5905e
JM
6168 * sysdeps/unix/fxstat.c: Remove file.
6169 * sysdeps/unix/xstat.c: Likewise.
6170 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6171
37fa3841
JM
6172 * sysdeps/unix/sysv/sigaction.c: Remove file.
6173
ff1962a3
JM
6174 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6175 (sysdep_headers): Remove variable.
6176 [termio.h not in sysdep_headers] (generated): Likewise.
6177 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6178 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6179 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6180 * sysdeps/unix/sysv/tcflow.c: Likewise.
6181 * sysdeps/unix/sysv/tcflush.c: Likewise.
6182 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6183 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6184 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6185 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6186 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6187
e7740d31
JM
6188 * sysdeps/unix/siglist.c: Remove file.
6189
ee06f18b
JM
6190 * sysdeps/unix/getppid.S: Remove file.
6191
097d59fa
JM
6192 * sysdeps/unix/mkdir.c: Remove file.
6193 * sysdeps/unix/rmdir.c: Likewise.
6194
ff3d51ec
AS
61952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6196
6197 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6198 ERR_MAX value.
6199 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6200 errlist-compat value.
6201
50f81fd7
DM
62022012-04-18 David S. Miller <davem@davemloft.net>
6203
6204 * sysdeps/generic/memcopy.h (reg_char): Delete.
6205 * debug/strcat_chk.c: Use char, not reg_char.
6206 * debug/strcpy_chk.c: Likewise.
6207 * debug/strncat_chk.c: Likewise.
6208 * debug/strncpy_chk.c: Likewise.
6209 * string/memchr.c: Likewise.
6210 * string/memrchr.c: Likewise.
6211 * string/rawmemchr.c: Likewise.
6212 * string/strcat.c: Likewise.
6213 * string/strchr.c: Likewise.
6214 * string/strchrnul.c: Likewise.
6215 * string/strcmp.c: Likewise.
6216 * string/strcpy.c: Likewise.
6217 * string/strncat.c: Likewise.
6218 * string/strncmp.c: Likewise.
6219 * string/strncpy.c: Likewise.
6220
8ff41c46
WS
62212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6222
6223 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6224 __builtin_memcopy is called when src and dest ranges are known to not
6225 overlap.
6226
6b652f46
WS
62272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6228
6229 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6230 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6231 fwd_align_merge macro call.
6232 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6233 bwd_align_merge macro call.
6234 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6235
b282631e
WS
62362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6237
6238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6239 bwd_align_merge macros.
6240 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6241 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6242 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6243
95aa737c
DM
62442012-04-18 David S. Miller <davem@davemloft.net>
6245
6246 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6247
7a99a614
AJ
62482012-04-18 Andreas Jaeger <aj@suse.de>
6249
6250 [BZ# 6794]
6251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6252 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6253 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6254
6255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6256 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6258
6259 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6260 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6261 Adjust for changed ldbl-128 files.
6262
6263 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6264 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6265 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6266
e5270c23
DM
62672012-04-17 David S. Miller <davem@davemloft.net>
6268
6269 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6270
fb5e92c9
AS
62712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6272
6273 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6274 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6275 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6276 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6277 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6278 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6279
76da7265
AZ
62802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6281
6282 [BZ #6794]
6283 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6284 * math/libm-test.inc: Add ilogb errno and exception tests.
6285 * math/w_ilogb.c: New file: ilogb wrapper.
6286 * math/w_ilogbf.c: New file: ilogbf wrapper.
6287 * math/w_ilogbl.c: New file: ilogbl wrapper.
6288 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6289 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6290 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6291 exception being thrown with 0.0 as argument.
6292 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6293 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6294 exception being thrown with 0.0 as argument.
6295 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6296 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6297 exception being thrown with 0.0 as argument.
6298 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6299 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6300 exception being thrown with 0.0 as argument.
6301 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6302 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6304 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6305 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6306 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6307 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6308 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6309 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6310
0396e69d
PB
63112012-04-17 Petr Baudis <pasky@ucw.cz>
6312
6313 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6314 with altivec.
6315
750b5926
MP
63162012-04-16 Marek Polacek <polacek@redhat.com>
6317
6318 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6319
751728a1
MP
63202012-04-16 Marek Polacek <polacek@redhat.com>
6321
6322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6323 operands of fdivp instruction.
6324
34a27407
L
63252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6326
6327 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6328 * elf/tst-auditmod3b.c: Likewise.
6329 * elf/tst-auditmod4b.c: Likewise.
6330 * elf/tst-auditmod5b.c: Likewise.
6331 * elf/tst-auditmod6b.c: Likewise.
6332 * elf/tst-auditmod6c.c: Likewise.
6333 * elf/tst-auditmod7b.c: Likewise.
6334 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6335 * sysdeps/x86_64/preconfigure.in: Likewise.
6336 * sysdeps/x86_64/preconfigure: Regenerated.
6337
7e73e17d
L
63382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6339
6340 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6341 __ILP32__.
6342
c7a6ab72
AB
63432012-04-13 Antoine Balestrat <merkil33@gmail.com>
6344
6345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6346 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6347
a9e8e0e0
CL
63482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6349
6350 [BZ #13973]
6351 * locale/iso-639.def: Fix gl language name. Spotted by
6352 Yaron Shahrabani.
6353
ec98af7d
RM
63542012-04-12 Roland McGrath <roland@hack.frob.com>
6355
6356 [BZ #2074]
6357 * libio/libio.h (__io_write_fn): Update comment.
6358
247c3ede
PB
63592012-04-12 Petr Baudis <pasky@ucw.cz>
6360
6361 [BZ #2074]
6362 * stdio.texi (Hook Functions): The user provided writer function
6363 is not allowed to return -1.
6364
55939d6d
DM
63652012-04-11 David S. Miller <davem@davemloft.net>
6366
6367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6368
90020f5a
MF
63692012-04-11 Mike Frysinger <vapier@gentoo.org>
6370
6371 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6372 Add a leading slash to rtkaio.
6373
288f9098
JM
63742012-04-11 Jim Meyering <meyering@redhat.com>
6375
90020f5a
MF
6376 [BZ #11959]
6377 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6378 It is not necessarily an error to ignore fwrite's return
6379 value. One can reliably use ferror to test for errors after
6380 the fact.
288f9098 6381
4be2b570
L
63822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6383
6384 * bits/types.h (__snseconds_t): New type.
6385 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6386
6387 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6389 (__SNSECONDS_T_TYPE): Likewise.
6390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6391 (__SNSECONDS_T_TYPE): Likewise.
6392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6393 (__SNSECONDS_T_TYPE): Likewise.
6394
288f9098 63952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6396
6397 [BZ #2636]
6398 * manual/time.texi (Processor Time): Return type of times is
6399 elapsed real time since an arbitrary point in the past.
6400 (CPU Time): Move CLK_TCK from here...
6401 (Processor Time): ...to here. Correct description.
6402 * manual/conf.texi (Constants for Sysconf): Correct description of
6403 _SC_CLK_TCK.
6404
d7dd4413
DM
64052012-04-10 David S. Miller <davem@davemloft.net>
6406
6407 [BZ #13967]
6408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6409 where the is a gap between DT_REL(A) and DT_JMPREL.
6410
b46068fc
L
64112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6412
6413 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6414 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6415 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6416
73d65cc3
SP
64172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6418
6419 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6420 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6421 (dl_main): Handle --inhibit-cache.
6422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6423 _dl_inhibit_cache.
6424 * elf/dl-load.c (_dl_map_object): Use it.
6425 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6426
bcc8d661
JM
64272012-04-09 Joseph Myers <joseph@codesourcery.com>
6428
8f9a2fae
JM
6429 [BZ #13872]
6430 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6431 (__ieee754_powl): Saturate large exponents rather than testing for
6432 overflow of y*log2(x).
6433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6434 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6435 exceptions.
6436
bcc8d661
JM
6437 [BZ #11521]
6438 * math/s_ctan.c: Include <float.h>.
6439 (__ctan): Avoid internal overflow or cancellation in calculating
6440 denominator.
6441 * math/s_ctanf.c: Likewise.
6442 * math/s_ctanl.c: Likewise.
6443 * math/s_ctanh.c: Likewise.
6444 * math/s_ctanhf.c: Likewise.
6445 * math/s_ctanhl.c: Likewise.
6446 * math/libm-test.inc (ctan_test): Add more tests.
6447 (ctanh_test): Likewise.
6448 * sysdeps/i386/fpu/libm-test-ulps: Update.
6449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6450
823fbbb4
AJ
64512012-04-09 Andreas Jaeger <aj@suse.de>
6452
03879793
AJ
6453 [BZ #6894]
6454 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6455 is an optional BSD extension.
6456
823fbbb4
AJ
6457 [BZ #10254]
6458 * manual/stdio.texi (Opening Streams): Document additional fopen
6459 parameters.
6460
8de131cb
RM
64612012-04-09 Roland McGrath <roland@hack.frob.com>
6462
6463 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6464 %eax without telling the compiler.
6465
c0ed9d7d
CD
64662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6467
6468 [BZ # 13963]
6469 * manual/install.texi: Use sourceware.org.
6470
c483f6b4
JM
64712012-04-09 Joseph Myers <joseph@codesourcery.com>
6472
d7dd9453
JM
6473 [BZ #13873]
6474 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6475 (__ieee754_pow): Generate overflow and underflow using huge*huge
6476 and tiny*tiny rather than just returning constant infinity or zero
6477 for large exponents.
6478 * math/libm-test.inc (pow_test): Require overflow exceptions for
6479 applicable cases of large exponents.
6480
c483f6b4
JM
6481 [BZ #706]
6482 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6483 (__ieee754_pow): Use iterative multiplication algorithm only for
6484 integer exponents with absolute value below 1024. Check for odd
6485 integer exponents when using algorithm for real exponents.
6486 * math/libm-test.inc (pow_test): Add more tests.
6487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6488
d2de7579
JM
64892012-04-08 Joseph Myers <joseph@codesourcery.com>
6490
6491 [BZ #13705]
6492 * math/libm-test.inc (exp_test): Do not allow overflow exception
6493 on underflow test.
6494
f77f1232
AJ
64952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6496
6497 [BZ #13705]
6498 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6499 instead of __kernel_standard_f.
6500
3884932b
MF
65012012-04-08 Mike Frysinger <vapier@gentoo.org>
6502
6503 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6504 * sysdeps/x86_64/memset_chk.S: Likewise.
6505
54472e9c
AJ
65062012-04-08 Andreas Jaeger <aj@suse.de>
6507
6ab0fbfc
AJ
6508 [BZ #10153]
6509 * manual/startup.texi (Environment Access): Describe return value
6510 for putenv and setenv.
6511
61efba8c
AJ
6512 [BZ #6895]
6513 * manual/filesys.texi (Directory Entries): Add description for
6514 DT_LNK.
6515
95c3f29a
AJ
6516 [BZ #6890]
6517 * manual/filesys.texi (Directory Entries): Clarify that it's file
6518 system not operating system in the description of DT_UNKNOWN.
6519
54472e9c
AJ
6520 [BZ #6578]
6521 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6522
624254b1
SC
65232012-04-08 Stephen Compall <s11@member.fsf.org>
6524
6525 [BZ #6649]
6526 * manual/llio.texi (Opening and Closing Files): Add cross
6527 reference to explain mode argument.
6528
1e4920e0
MF
65292012-04-07 Mike Frysinger <vapier@gentoo.org>
6530
6531 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6532 * sysdeps/x86_64/memset_chk.S: Likewise.
6533
5ed848f3
DM
65342012-04-07 David S. Miller <davem@davemloft.net>
6535
6536 * elf/elf.h (R_SPARC_WDISP10): Define.
6537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6538 R_SPARC_SIZE32.
6539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6540 R_SPARC_SIZE64 and R_SPARC_H34.
6541
96154cd8
CD
65422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6543
6544 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6545 conditions and remove no longer applicable assertion.
6546
9904dc47
L
65472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6548
6549 * bits/byteswap.h: Include <features.h>.
6550 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6551 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6552
f8887d0a
L
65532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6554
6555 * bits/byteswap.h (__bswap_16): Removed.
6556 Include <bits/byteswap-16.h> to get __bswap_16.
6557 * sysdeps/i386/bits/byteswap.h: Likewise.
6558 * sysdeps/s390/bits/byteswap.h: Likewise.
6559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6560 * bits/byteswap-16.h: New file.
6561 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6562 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6563 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6564 * string/Makefile (headers): Add bits/byteswap-16.h.
6565
62470f60
PP
65662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6567
6568 [BZ #13895]
6569 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6570 extra indirection.
6571 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6572 * nss/tst-nss-static.c: New.
6573
4dad7bab
RM
65742012-04-06 Robert Millan <rmh@gnu.org>
6575
6576 [BZ #6486]
6577 * manual/llio.texi (File Position Primitive): lseek
6578 refers to WHENCE when it really means OFFSET.
6579
e9142a17
AJ
65802012-04-06 Andreas Jaeger <aj@suse.de>
6581
2c040eff
AJ
6582 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6583 strncmp declarations.
6584
e9142a17
AJ
6585 * abilist/libc.abilist: Add __poll and __ppoll.
6586
ff9f1c5f
DM
65872012-04-05 David S. Miller <davem@davemloft.net>
6588
dcd2ae90
DM
6589 * scripts/check-local-headers.sh: Accept a host triplet in the
6590 path matched by the exclude regexp.
6591
993eb054
DM
6592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6593 definition.
6594 * sysdeps/powerpc/powerpc32/dl-machine.h
6595 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6596 * sysdeps/s390/s390-32/dl-machine.h
6597 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6598 * sysdeps/sparc/sparc32/dl-machine.h
6599 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6600 * sysdeps/sparc/sparc64/dl-machine.h
6601 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6602
ff9f1c5f
DM
6603 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6604 lazy binding.
48e2e132 6605 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6606 undefined symbol errors.
6607
48e2e132 6608 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6609 DT_NEEDED entries.
6610
e80d6f94
MM
66112012-04-05 Michael Matz <matz@suse.de>
6612
6613 [BZ #13592]
6614 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6615
349fa79f
AJ
66162012-04-05 Andreas Jaeger <aj@suse.de>
6617
6618 [BZ #13908]
6619 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6620 comment.
6621
f402708f
KK
66222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6623
6624 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6625 which ROUND is no valid rounding mode.
6626
2ecccfc9
KK
66272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6628
6629 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6630 read again.
6631 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6632
8a53f50f
KK
66332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6634
6635 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6636 an exception using FPU order intentionally.
6637
66382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6639
6640 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6641 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6642 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6643 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6644
d653abb7
SJ
66452012-04-05 Simon Josefsson <simon@josefsson.org>
6646
6647 [BZ #12340]
6648 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6649 EINVAL when BUFLEN is too smal.
6650
c3b1bf7d
TS
66512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6652
6653 [BZ #13553]
6654 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6655 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6656
b1aa60f3
AJ
66572012-04-03 Andreas Jaeger <aj@suse.de>
6658
c3b1bf7d 6659 [BZ #13938]
67f60a26
AJ
6660 * manual/setjmp.texi (System V contexts): Fix sentence.
6661
b1aa60f3
AJ
6662 [BZ #13926]
6663 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6664 New macro for this case.
6665 [!__GNUC__] (__bswap_64): New inline function for this case.
6666 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6667 * bits/byteswap.h: Likewise.
6668 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6669 ull, guard with __GLIBC_HAVE_LONG_LONG.
6670
6671 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6672 __GLIBC_HAVE_LONG_LONG.
6673
6674 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6675 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6676
39c59c35
TMQMF
66772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6678
6679 [BZ #13691]
6680 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6681 inptr and inend, rather than using last_ch.
6682
135ffda8
DM
66832012-04-02 David S. Miller <davem@davemloft.net>
6684
6685 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6686 * stdio-common/printf-parse.h (read_int): Change return type to
6687 'int', return -1 on INT_MAX overflow.
6688 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6689 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6690 overflows INT_MAX. Check for overflow of in-format-string precision
6691 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6692 SIZE_MAX not INT_MAX for integer overflow test.
6693 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6694 skip the construct in the format string but do not record anything.
6695 * stdio-common/bug22.c: Adjust to test both width/prevision
6696 INT_MAX overflow as well as total length INT_MAX overflow. Check
6697 explicitly for proper errno values.
6698
228c019e
TS
66992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6700
302cadd3
TS
6701 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6702 CHAR_MAX.
6703 * string/test-strcmp.c [! WIDE]: Likewise.
6704 * time/tst-mktime2.c: Likewise for INT_MAX.
6705 * string/test-string.h: #include <sys/param.h> for MIN.
6706
228c019e
TS
6707 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6708 * sysdeps/i386/init-first.c (init): Likewise.
6709 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6710 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6711 * sysdeps/sh/init-first.c (init): Likewise.
6712
cfa633f5
UD
67132012-04-01 Ulrich Drepper <drepper@gmail.com>
6714
6715 * po/ru.po: Update from translation team.
d1635ef8 6716 * po/vi.po: Likewise.
cfa633f5 6717
6cd0a5ea
SP
67182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6719
6720 * resolv/nss_dns/dns-host.c: Merge copyright years.
6721
4b43400f
LD
67222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6723
6724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6725 Optimize memcpy with prefetch if
6726 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6727 src, dst pointers have unequal 16 byte alignments.
6728
48c41d04
SP
67292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6730
6731 [BZ #13928]
6732 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6733 from a CNAME entry and return the minimum ttl for the query.
6734 (gaih_getanswer_slice): Likewise.
6735
b8dc394d
JL
67362012-03-30 Jeff Law <law@redhat.com>
6737
6738 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6739 due to long keys.
6740 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6741 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6742
2f5a5ed0
JL
6743 * resolv/nss_dns/dns-host.c: Update copyright year.
6744
1d39e359
UD
67452012-03-30 Ulrich Drepper <drepper@gmail.com>
6746
c030f70c 6747 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6748 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6749
1d39e359
UD
6750 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6751 comments for sendmmsg.
6752
67532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6754
6755 [BZ #13691]
6756 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6757 with only 1 character between 0x0041 and 0x01b0.
6758 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6759 * wcsmbs/tst-mbsnrtowcs.c: New file.
6760
20fde227
DM
67612012-03-29 David S. Miller <davem@davemloft.net>
6762
6763 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6764 small copies by hand.
6765
984a4237
JL
67662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6767
6768 [BZ #13761]
6769 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6770 _nss_compat_initgroups_dyn): Fall back to malloc/free
6771 for large group memberships.
6772
18c9d62b
DM
67732012-03-28 David S. Miller <davem@davemloft.net>
6774
88d85d4f
DM
6775 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6776 that branches into memcpy.
6777 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6778 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6780 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6782 bits.
6783 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6784 implementation too.
6785 * sysdeps/sparc/mempcpy.S: New file.
6786
e5aa83e1
DM
6787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6788 the IFUNC routine in the libc case.
6789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6790
88570753
DM
6791 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6792 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6793 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6794 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6795 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6796 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6797 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6798 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6799
249d7567
DM
6800 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6801 loop to 256 bytes instead of 64 bytes and fix test signedness.
6802
18c9d62b
DM
6803 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6804 * sysdeps/sparc/sparc32/Makefile: rather than here...
6805 * sysdeps/sparc/sparc64/Makefile: and here.
6806
05f3d1f6
UD
68072012-03-28 Ulrich Drepper <drepper@gmail.com>
6808
6809 * malloc/mallocbug.c: Avoid warnings about unused variables.
6810
86ae07a8
JL
68112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6812
6813 [BZ #13760]
6814 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6815 in the right place. Discard and retry query if response is
6816 larger than input buffer size.
6817
41bf21a1
JM
68182012-03-28 Joseph Myers <joseph@codesourcery.com>
6819
d6270972
JM
6820 [BZ #369]
6821 [BZ #2678]
6822 [BZ #3866]
6823 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6824 x for large integer exponent.
6825 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6826 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6827 sign of result as needed afterwards.
6828 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6829 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6830 result for underflowing pow the same as for overflow.
6831 (__kernel_standard_l): Handle powl overflow and underflow here
6832 rather than calling __kernel_standard.
6833 * math/libm-test.inc (pow_test): Add more tests.
6834
414fca03 6835 [BZ #3868]
41bf21a1
JM
6836 [BZ #13879]
6837 [BZ #13910]
6838 [BZ #13911]
6839 [BZ #13912]
6840 [BZ #13913]
6841 [BZ #13915]
6842 [BZ #13916]
6843 [BZ #13917]
6844 [BZ #13918]
6845 [BZ #13919]
6846 [BZ #13920]
6847 [BZ #13921]
6848 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6849 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6850 (__kernel_standard_l): New function.
6851 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6852 __kernel_standard.
6853 * math/w_acosl.c (__acosl): Likewise.
6854 * math/w_asinl.c (__asinl): Likewise.
6855 * math/w_atan2l.c (__atan2l): Likewise.
6856 * math/w_atanhl.c (__atanhl): Likewise.
6857 * math/w_coshl.c (__coshl): Likewise.
6858 * math/w_exp10l.c (__exp10l): Likewise.
6859 * math/w_exp2l.c (__exp2l): Likewise.
6860 * math/w_fmodl.c (__fmodl): Likewise.
6861 * math/w_hypotl.c (__hypotl): Likewise.
6862 * math/w_j0l.c (__j0l, __y0l): Likewise.
6863 * math/w_j1l.c (__j1l, __y1l): Likewise.
6864 * math/w_jnl.c (__jnl, __ynl): Likewise.
6865 * math/w_lgammal.c (__lgammal): Likewise.
6866 * math/w_log10l.c (__log10l): Likewise.
6867 * math/w_log2l.c (__log2l): Likewise.
6868 * math/w_logl.c (__logl): Likewise.
6869 * math/w_powl.c (__powl): Likewise.
6870 * math/w_remainderl.c (__remainderl): Likewise.
6871 * math/w_scalbl.c (sysv_scalbl): Likewise.
6872 * math/w_sinhl.c (__sinhl): Likewise.
6873 * math/w_sqrtl.c (__sqrtl): Likewise.
6874 * math/w_tgammal.c (__tgammal): Likewise.
6875 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6876 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6877 * math/libm-test.inc (acos_test): Add more tests.
6878 (acosh_test): Likewise.
6879 (asin_test): Likewise.
6880 (atanh_test): Likewise.
6881 (exp_test): Likewise.
6882 (exp10_test): Likewise.
6883 (exp2_test): Likewise.
6884 (expm1_test): Likewise.
6885 (lgamma_test): Likewise.
6886 (log_test): Likewise.
6887 (log10_test): Likewise.
6888 (log1p_test): Likewise.
6889 (log2_test): Likewise.
6890 (pow_test): Do not allow some spurious overflow exceptions.
6891 (sqrt_test): Add more tests.
6892 (tgamma_test): Likewise.
6893 (y0_test): Likewise.
6894 (y1_test): Likewise.
6895 (yn_test): Likewise.
6896
dd62fda6
AB
68972012-03-27 Anton Blanchard <anton@samba.org>
6898
6899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6900 MAP_HUGETLB.
6901 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6903 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6904
1e3cdfda
AJ
69052012-03-27 David S. Miller <davem@davemloft.net>
6906
b855ab85
DM
6907 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6908
1e3cdfda
AJ
6909 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6910 have-as-vis3 check.
6911
69122012-03-27 Andreas Jaeger <aj@suse.de>
6913
6914 * sysdeps/x86_64/elf/configure.in: Moved to ...
6915 * sysdeps/x86_64/configure.in: ... here.
6916 * sysdeps/x86_64/elf/start.S: Moved to ...
6917 * sysdeps/x86_64/start.S: ... here.
6918 * sysdeps/x86_64/elf/configure: Delete.
6919
6920 * sysdeps/x86_64/configure.in: Merge contents from
6921 sysdeps/i386/configure.in (without i686 check).
6922
6923 * sysdeps/i386/elf/Versions: Merge into ...
6924 * sysdeps/i386/Versions: ... this.
6925 * sysdeps/i386/elf/Versions: Delete file.
6926 * sysdeps/i386/elf/start.S: Moved to ...
6927 * sysdeps/i386/start.S: ...here.
6928 * sysdeps/i386/elf/configure.in: Merge into...
6929 * sysdeps/i386/configure.in: ...here.
6930 * sysdeps/i386/elf/configure.in: Delete file.
6931 * sysdeps/i386/elf/configure: Delete file.
6932
6933 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6934 * debug/backtracesyms.c: ... here.
6935 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6936 * debug/backtracesymsfd.c: ... here.
6937 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6938 * sysdeps/generic/ifunc-sel.h: ... here.
6939
6940 * sysdeps/unix/i386/start.c: Delete file.
6941 * sysdeps/unix/sparc/start.c: Delete file.
6942 * sysdeps/unix/start.c: Delete file.
6943
6944 * sysdeps/sh/elf/configure.in: Moved to ...
6945 * sysdeps/sh/configure.in: ... here.
6946 * sysdeps/sh/elf/start.S: Moved to ...
6947 * sysdeps/sh/start.S: ... here.
6948 * sysdeps/sh/elf/configure: Delete file.
6949
6950 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6951 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6952 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6953 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6954 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6955 * sysdeps/powerpc/powerpc64/start.S: here.
6956 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6957 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6958 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6959 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6960 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6961
6962 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6963 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6964 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6965 * sysdeps/powerpc/powerpc32/start.S: ... here.
6966 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6967 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6968 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6969
6970 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6971 * sysdeps/powerpc/ifunc-sel.h: ... here.
6972 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6973 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6974
6975 * sysdeps/sparc/elf/configure.in: Moved to ...
6976 * sysdeps/sparc/configure.in: ... here.
6977 * sysdeps/sparc/elf/configure: Delete file.
6978 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6979 * sysdeps/sparc/sparc32/start.S: ... here.
6980 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6981 * sysdeps/sparc/sparc64/start.S: ... here.
6982 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6983 * sysdeps/sparc/sparc32/Makefile: ... this.
6984 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6985 * sysdeps/sparc/sparc64/Makefile: ... this.
6986
6987 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6988 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6989 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6990 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6991 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6992 * sysdeps/s390/s390-32/setjmp.S: ... here.
6993 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6994 * sysdeps/s390/s390-32/configure.in: ... here.
6995 * sysdeps/s390/s390-32/elf/configure: Delete file.
6996 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6997 * sysdeps/s390/s390-32/start.S: ... here.
6998
6999 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
7000 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
7001 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
7002 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
7003 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
7004 * sysdeps/s390/s390-64/setjmp.S: ... here.
7005 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
7006 * sysdeps/s390/s390-64/configure.in: ... here
7007 * sysdeps/s390/s390-64/elf/configure: Delete file.
7008 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
7009 * sysdeps/s390/s390-64/start.S: ... here.
7010 * sysdeps/s390/s390-64/elf/configure: Delete.
7011
7012 * configure.in: Remove support for elf directories in sysdeps.
7013
7014 * configure: Regenerated.
7015 * sysdeps/i386/configure: Regenerated.
7016 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7017 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7018 * sysdeps/s390/s390-32/configure: Regenerated.
7019 * sysdeps/s390/s390-64/configure: Regenerated.
7020 * sysdeps/sh/configure: Regenerated.
7021 * sysdeps/sparc/configure: Regenerated.
7022 * sysdeps/x86_64/configure: Regenerated.
7023
a3f61311
AS
70242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
7025
c876e002
AS
7026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7027
a3f61311
AS
7028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7029 denormal result into account.
7030
ac4c54f0
RM
70312012-03-25 Roland McGrath <roland@hack.frob.com>
7032
7033 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7034 Reported by Allan McRae <allan@archlinux.org>.
7035
6a9b9c02
JL
70362012-03-23 Jeff Law <law@redhat.com>
7037
7038 * nss/getnssent.c (__nss_getent): Fix typo.
7039
4c42a0c1
DM
70402012-03-23 David S. Miller <davem@davemloft.net>
7041
7042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7043
1532c7ac
L
70442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7047 to pad to uint64_t for each field.
7048 (dl_tls_index): Replace unsigned long with uint64_t.
7049
3ff42526
PP
70502012-03-23 Daniel Jacobowitz <dmj@google.com>
7051 Paul Pluzhnikov <ppluzhnikov@google.com>
7052
7053 [BZ #6528]
7054 * grp/Makefile (otherlibs): Don't set it.
7055 * inet/Makefile (otherlibs): Likewise.
7056 * login/Makefile (otherlibs): Likewise.
7057 * nscd/Makefile (otherlibs): Likewise.
7058 * posix/Makefile (otherlibs): Likewise.
7059 * pwd/Makefile (otherlibs): Likewise.
7060 * rt/Makefile (otherlibs): Likewise.
7061 * sunrpc/Makefile (otherlibs): Likewise.
7062 * nss/Makefile (otherlibs): Likewise.
7063 Add libnss_files to routines and static-only-routines.
7064 ($(objpfx)getent): Remove rule.
7065 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7066 static-only-routines.
7067
7c69cd14
JM
70682012-03-22 Joseph Myers <joseph@codesourcery.com>
7069
7070 [BZ #13892]
7071 * math/s_cexp.c: Include <float.h>.
7072 (__cexp): Handle exp result overflowing not necessarily
7073 overflowing both real and imaginary parts of result.
7074 * math/s_cexpf.c: Likewise.
7075 * math/s_cexpl.c: Likewise.
7076 * math/libm-test.inc (cexp_test): Add more tests.
7077 * sysdeps/i386/fpu/libm-test-ulps: Update.
7078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7079
81b035fe
L
70802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7081
7082 * include/link.h (ELFW): New macro.
7083 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7084 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7085
1da7940c
L
70862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7087
7088 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7089 with uint64_t.
7090
b749dbb9
L
70912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7092
7093 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7094 declaration.
7095 (struct La_x32_retval): Likewise.
7096
2ff87f3f
L
70972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7098
7099 * sysdeps/x86_64/preconfigure.in: New file.
7100 * sysdeps/x86_64/preconfigure: New generated file.
7101
c0df8e69
JM
71022012-03-22 Joseph Myers <joseph@codesourcery.com>
7103
48e44791
JM
7104 [BZ #13824]
7105 * math/e_exp2l.c: Include <float.h>.
7106 (__ieee754_exp2l): Handle overflow and underflow cases
7107 separately. Only pass fractional part of argument to
7108 __ieee754_expl.
7109 * math/libm-test.inc (exp2_test): Add more tests.
7110
c0df8e69
JM
7111 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7112 negating x to take absolute value.
7113 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7114 Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7117 Likewise.
7118 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7119 computing low part if x was negated.
7120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7121
c8e43ba7
L
71222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7125 la_x32_gnu_pltexit.
7126 (pltexit): Cast int_retval to ptrdiff_t.
7127 * elf/tst-auditmod3b.c: Likewise.
7128 * elf/tst-auditmod4b.c: Likewise.
7129 * elf/tst-auditmod5b.c: Likewise.
7130 * elf/tst-auditmod6b.c: Likewise.
7131 * elf/tst-auditmod6c.c: Likewise.
7132 * elf/tst-auditmod7b.c: Likewise.
7133
7134 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7135 and x32_gnu_pltexit.
7136
7137 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7138 __ELF_NATIVE_CLASS.
7139 (La_x32_regs): New macro.
7140 (La_x32_retval): Likewise.
7141 (la_x32_gnu_pltenter): New function prototype.
7142 (la_x32_gnu_pltexit): Likewise.
7143
7998fa78
AS
71442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7145
dcb33988
AS
7146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7147 exponent.
7148
233fc563
AS
7149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7150
7998fa78
AS
7151 * configure.in (libc_cv_cc_nofma): Check for option to disable
7152 generation of FMA instructions.
7153 * configure: Regenerate.
7154 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7155 * sysdeps/ieee754/dbl-64/Makefile: New file.
7156 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7157 Remove brandred-fma4.
7158 (CFLAGS-brandred-fma4.c): Remove.
7159 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7160 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7161 define.
7162 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7163 define.
7164
8e95c99a
L
71652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7166
7167 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7168 LLONG_MAX != LONG_MAX.
7169 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7170 (_fitoa_word): Likewise.
7171 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7172 LLONG_MAX != LONG_MAX.
7173 * stdio-common/_itowa.h: Include <_itoa.h>.
7174 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7175 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7176 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7177 only if not defined.
7178 (_ITOA_WORD_TYPE): Likewise.
7179 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7180 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7181
6f4db457
DM
71822012-03-21 David S. Miller <davem@davemloft.net>
7183
7184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7185
7785fe5a
L
71862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7187
7188 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7189 of x86_64 when setting libc_cv_slibdir, libdir and
7190 libc_cv_localedir.
7191 * sysdeps/unix/sysv/linux/configure: Regenerated.
7192
4535cd55
JM
71932012-03-21 Joseph Myers <joseph@codesourcery.com>
7194
7195 * manual/lang.texi (Old Varargs): Remove section.
7196 (How Variadic): Update menu.
7197 (va_start): Do not mention varargs.h.
7198
17228132
TS
71992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7200 Joseph Myers <joseph@codesourcery.com>
7201
7202 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7203 link test.
7204 * configure: Regenerated.
7205
8149f976
TS
72062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7207
05f3d1f6
UD
7208 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7209 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7210 conformtest.pl
8149f976 7211
1a4ac776
JM
72122012-03-21 Joseph Myers <joseph@codesourcery.com>
7213
be22ce65
JM
7214 * NOTES: Remove.
7215 * Makefile (files-for-dist): Remove NOTES.
7216 (NOTES): Remove rule.
7217 * README: Don't refer to NOTES.
7218 * manual/creature.texi: Don't include macros.texi.
7219 * manual/intro.texi (creature.texi): Remove comment referring to
7220 NOTES.
7221
40b601fb
JM
7222 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7223 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7224 * configure: Regenerated.
7225 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7226 LIBC_TRY_CC_OPTION.
7227 (libc_cv_as_i686): Likewise.
7228 (libc_cv_cc_avx): Likewise.
7229 (libc_cv_cc_sse2avx): Likewise.
7230 (libc_cv_cc_fma4): Likewise.
7231 (libc_cv_cc_novzeroupper): Likewise.
7232 * sysdeps/i386/configure: Regenerated.
7233
1a4ac776
JM
7234 [BZ #13883]
7235 * sysdeps/i386/fpu/s_cexp.S: Remove.
7236 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7237 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7238 * math/libm-test.inc (cexp_test): Add more tests.
7239 * sysdeps/i386/fpu/libm-test-ulps: Update.
7240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7241
a458e7fe
AM
72422012-03-21 Allan McRae <allan@archlinux.org>
7243
7244 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7245
0cb7efc5
JM
72462012-03-21 Joseph Myers <joseph@codesourcery.com>
7247
7248 [BZ #13871]
7249 * math/w_exp2.c: Do not include <float.h>.
7250 (o_threshold, u_threshold): Remove.
7251 (__exp2): Calculate result before checking finiteness and calling
7252 __kernel_standard.
7253 * math/w_exp2f.c: Likewise.
7254 * math/w_exp2l.c: Likewise.
7255 * math/libm-test.inc (exp2_test): Require overflow exception for
7256 1e6 input.
2460d3aa
JM
7257
7258 [BZ #3866]
7259 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7260 range of signed 64-bit integers before using fistpll. Remove
7261 checks for whether integers fit in mantissa bits.
7262 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7263 the range of signed 32-bit integers before using fistpl. Remove
7264 checks for whether integers fit in mantissa bits.
7265 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7266 (__ieee754_powl): Test for y outside the range of signed 64-bit
7267 integers before using fistpll. Reduce 64-bit values to 63-bit
7268 ones as needed.
7269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7270 divide-by-zero is raised for zero to large negative powers.
7271 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7272 (__ieee754_powl): Test for y outside the range of signed 64-bit
7273 integers before using fistpll. Reduce 64-bit values to 63-bit
7274 ones as needed.
7275 * math/libm-test.inc (pow_test): Add more tests.
7276
eb96ffb0
L
72772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7278
7279 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7280 <stdio-common/_itoa.h>.
7281 * debug/segfault.c: Likewise.
7282 * elf/dl-cache.c: Likewise.
7283 * elf/dl-minimal.c: Likewise.
7284 * elf/dl-misc.c: Likewise.
7285 * elf/dl-sysdep.c: Likewise.
7286 * elf/dl-version.c: Likewise.
7287 * elf/rtld.c: Likewise.
7288 * hurd/hurdsock.c: Likewise.
7289 * hurd/lookup-retry.c: Likewise.
7290 * malloc/malloc.c: Likewise.
7291 * malloc/mtrace.c: Likewise.
7292 * nscd/nscd_getgr_r.c: Likewise.
7293 * nscd/nscd_getpw_r.c: Likewise.
7294 * nscd/nscd_getserv_r.c: Likewise.
7295 * posix/getopt_init.c: Likewise.
7296 * posix/wordexp.c: Likewise.
7297 * stdio-common/_itoa.c: Likewise.
7298 * stdio-common/printf_fphex.c: Likewise.
7299 * stdio-common/vfprintf.c: Likewise.
7300 * string/_strerror.c: Likewise.
7301 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7302 * sysdeps/i386/i686/hp-timing.h: Likewise.
7303 * sysdeps/mach/_strerror.c: Likewise.
7304 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7305 * sysdeps/mach/hurd/sethostid.c: Likewise.
7306 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7307 * sysdeps/mach/xpg-strerror.c: Likewise.
7308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7309 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7310 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7311 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7312 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7313 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7314 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7315 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7316 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7317 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7318 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7319 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7320 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7321 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7322 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7323 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7324 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7326 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7327 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7328 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7329
7330 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7331
7332 * stdio-common/_itoa.h: Moved to ...
7333 * sysdeps/generic/_itoa.h: Here.
7334
7335 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7336
7337 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7338 instead of "_itoa.h" and "_itowa.h".
7339 * stdio-common/vfprintf.: Likewise.
7340
d1af992d
L
73412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7342
7343 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7344 <bits/wordsize.h>.
7345 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7346 (__signbit): Likwise.
7347 (llrintf): Likwise.
7348 (llrint): Likwise.
7349
114883e0
L
73502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7351
7352 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7353 __WORDSIZE != 64.
7354
c135cc1b
JM
73552012-03-20 Joseph Myers <joseph@codesourcery.com>
7356
7357 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7358 OVERFLOW_EXCEPTION_OK.
7359 * math/libm-test.inc ("Philosophy"): Update comment about
7360 exception testing.
7361 (OVERFLOW_EXCEPTION): Define.
7362 (OVERFLOW_EXCEPTION_OK): Likewise.
7363 (INVALID_EXCEPTION_OK): Renumber.
7364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7365 (IGNORE_ZERO_INF_SIGN): Likewise.
7366 (test_exceptions): Handle FE_OVERFLOW.
7367 (exp10_test): Expect overflow exceptions.
7368 (exp2_test): Likewise.
7369 (expm1_test): Likewise.
7370 (nextafter_test): Likewise.
7371 (pow_test): Likewise.
7372 (scalbn_test): Likewise.
7373 (scalbln_test): Likewise.
7374
95443d88
L
73752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7376
7377 * sysdeps/x86_64/bits/atomic.h
7378 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7379 64bit integer.
7380 (atomic_exchange_acq): Likewise.
7381 (__arch_exchange_and_add_body): Likewise.
7382 (__arch_add_body): Likewise.
7383 (atomic_add_negative): Likewise.
7384 (atomic_add_zero): Likewise.
7385
490df6c4
L
73862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7387
c2722551 7388 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7389 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7390
5e52b189
L
73912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7392
7393 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7394 Check __x86_64__ instead of __WORDSIZE.
7395
a9879d4c
L
73962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7397
7398 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7399
5df98260
DM
74002012-03-19 David S. Miller <davem@davemloft.net>
7401
e1497744
DM
7402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7403
5df98260
DM
7404 * sysdeps/sparc/fpu/fenv_private.h: New file.
7405 * sysdeps/sparc/fpu/math_private.h: Use it.
7406 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7407 Remove.
7408 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7409 (libc_feholdexcept_setroundl): Remove.
7410 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7411 Remove.
7412 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7413 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7414
b4c35121
L
74152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7416
7417 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7418 int64_t instead of long int.
7419 (INSERT_WORDS64): Likwise.
7420
56965fd7
L
74212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7422
7423 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7424 _Unwind_GetCFA return to _Unwind_Ptr first.
7425
83d1aec8
JM
74262012-03-19 Joseph Myers <joseph@codesourcery.com>
7427
1897ad44
JM
7428 [BZ #13629]
7429 * math/s_clog.c: Include <float.h>.
7430 (__clog): Scale large or subnormal inputs.
7431 * math/s_clogf.c: Likewise.
7432 * math/s_clogl.c: Likewise.
7433 * math/s_clog10.c: Include <float.h>.
7434 (M_LOG10_2): Define.
7435 (__clog10): Scale large or subnormal inputs.
7436 * math/s_clog10f.c: Likewise.
7437 * math/s_clog10l.c: Likewise.
7438 * math/libm-test.inc (clog_test): Add more tests.
7439 (clog10_test): Likewise.
7440 * sysdeps/i386/fpu/libm-test-ulps: Update.
7441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7442
7726d6a9
JM
7443 [BZ #11451]
7444 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7445 x and y.
7446 * math/libm-test.inc (atan2_test): Add another test.
7447
83d1aec8
JM
7448 * Makerules (common-objdir-compile): Remove.
7449 * sysdeps/unix/Makefile (config-generated): Do not add
7450 $(unix-generated) to variable.
7451 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7452 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7453 Remove rule.
7454 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7455 Likewise.
7456 [generic bits/local_lim.h] (before-compile): Do not append to
7457 variable.
7458 [generic bits/local_lim.h] (common-generated): Likewise.
7459 [generic sys/param.h] (before-compile): Do not append to variable.
7460 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7461 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7462 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7463 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7464 include.
7465 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7466 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7467 [generic sys/param.h] ($(addprefix
7468 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7469 [generic sys/param.h] (common-generated): Do not append to
7470 variable.
7471 [generic sys/param.h] (sysdep_headers): Likewise.
7472 [generic bits/errno.h] (before-compile): Do not append to
7473 variable.
7474 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7475 rule.
7476 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7477 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7478 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7479 [generic bits/errno.h] (common-generated): Do not append to
7480 variable.
7481 [generic bits/ioctls.h] (before-compile): Do not append to
7482 variable.
7483 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7484 rule.
7485 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7486 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7487 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7488 rule.
7489 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7490 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7491 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7492 [generic bits/ioctls.h] (common-generated): Do not append to
7493 variable.
7494 [generic sys/syscall.h] (syscall.h): Remove variable.
7495 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7496 rule.
7497 [generic sys/syscall.h] (before-compile): Do not append to
7498 variable.
7499 [generic sys/syscall.h] (common-generated): Likewise.
7500 * sysdeps/unix/errnos-tmpl.c: Remove file.
7501 * sysdeps/unix/errnos.awk: Likewise.
7502 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7503 * sysdeps/unix/ioctls.awk: Likewise.
7504 * sysdeps/unix/mk-local_lim.c: Likewise.
7505 * sysdeps/unix/snarf-ioctls: Likewise.
7506
4851a949
RH
75072012-03-19 Richard Henderson <rth@twiddle.net>
7508
bd37f2ee
RH
7509 * sysdeps/i386/fpu/fenv_private.h: New file.
7510 * sysdeps/i386/fpu/math_private.h: Use it.
7511 (math_opt_barrier, math_force_eval): Remove.
7512 (libc_feholdexcept_setround_53bit): Remove.
7513 (libc_feupdateenv_53bit): Remove.
7514 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7515 (math_opt_barrier, math_force_eval): Remove.
7516 (libc_feholdexcept): Remove.
7517 (libc_feholdexcept_setround): Remove.
7518 (libc_fetestexcept, libc_fesetenv): Remove.
7519 (libc_feupdateenv_test): Remove.
7520 (libc_feupdateenv, libc_feholdsetround): Remove.
7521 (libc_feresetround): Remove.
7522
d0adc922
RH
7523 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7524 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7525
0fe0f1f8
RH
7526 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7527 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7528 (libc_feupdateenv_testl): New.
7529 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7530 (libc_feupdateenv_testf): New.
7531 (libc_feupdateenv): Use libc_feupdateenv_test.
7532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7533 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7534
eb92c487
RH
7535 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7536 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7537 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7538 (libc_feresetround_noex): New.
7539 (libc_feresetround_noexf): New.
7540 (libc_feresetround_noexl): New.
7541 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7542 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7543 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7544 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7545 SET_RESTORE_ROUND.
7546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7548 (__cos): Likewise.
7549 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7550 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7551 SET_RESTORE_ROUND_NOEX.
7552 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7553 SET_RESTORE_ROUND_NOEXF.
7554 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7555 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7556 (libc_feholdsetroundf): New.
7557 (libc_feresetround, libc_feresetroundf): New.
7558
7d2e8012
RH
7559 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7560 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7561 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7562
b4dabbb4
RH
7563 * sysdeps/generic/math_private.h: Include <fenv.h>.
7564 (default_libc_feholdexcept): New.
7565 (default_libc_feholdexcept_setround): New.
7566 (default_libc_fesetenv, default_libc_feupdateenv): New.
7567 (libc_feholdexcept): Only define if undefined.
7568 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7569 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7570 (libc_feholdexcept_setroundl): Likewise.
7571 (libc_feholdexcept_setround_53bit): Likewise.
7572 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7573 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7574 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7575 (libc_feupdateenv_53bit): Likewise.
7576 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7577 (libc_feholdexcept): Convert from macro to inline function.
7578 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7579 (libc_fesetenv, libc_feupdateenv): Likewise.
7580
4851a949
RH
7581 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7582 not previously defined.
7583 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7584 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7585 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7586 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7587 * sysdeps/ieee754/flt-32/math_private.h: New file.
7588 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7589 math_private.h below SET_FLOAT_WORD.
7590 (__isnan, __isinf_ns, __finite): Remove.
7591 (__isnanf, __isinf_nsf, __finitef): Remove.
7592
e79d442e
AS
75932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7594
7595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7596
90b80344
DM
75972012-03-17 David S. Miller <davem@davemloft.net>
7598
7599 [BZ #6471]
7600 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7601 for 2.16.
7602
edc21804
DM
76032012-03-16 David S. Miller <davem@davemloft.net>
7604
77e927af
DM
7605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7606 warnings.
7607
374976dd
DM
7608 [BZ #6471]
7609 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7610 properly.
7611 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7612 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7613 sysdep_routines when subdir is sysvipc.
7614 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7615 __getshmlba helper.
7616
edc21804
DM
7617 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7618
473c3ef3
L
76192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7620
7621 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7622 [__LP64__].
7623
eb0f39b6
L
76242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7625
7626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7627 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7628 (__lround): Renamed to ...
7629 (__llround): This. Replace long int with long long int.
7630 Define lround functions as aliases of llround functions.
7631 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7632
6b6cd74b
L
76332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7634
7635 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7636 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7637 adresses to uintptr_t. Replace "long int" and "unsigned long
7638 int" with "greg_t" on va_arg.
7639
f1a77b01
L
76402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7641
7642 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7643 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7644
7645 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7646 Move e_machine check before EI_CLASS check. Handle x32
7647 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7648 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7649 SKIP_EM_IA_64 and include
7650 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7651
7652 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7653 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7654 (add_system_dir): New macro.
7655
7656 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7657 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7658
11b90b9f
JM
76592012-03-16 Joseph Myers <joseph@codesourcery.com>
7660
c36e1d23
JM
7661 [BZ #2551]
7662 [BZ #2552]
7663 [BZ #2553]
7664 [BZ #2554]
7665 [BZ #2562]
7666 [BZ #2563]
7667 [BZ #2565]
7668 [BZ #2566]
7669 [BZ #2576]
7670 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7671 (y0): Likewise.
7672 * math/w_j0f.c (j0f): Likewise.
7673 (y0f): Likewise.
7674 * math/w_j0l.c (__j0l): Likewise.
7675 (__y0l): Likewise.
7676 * math/w_j1.c (j1): Likewise.
7677 (y1): Likewise.
7678 * math/w_j1f.c (j1f): Likewise.
7679 (y1f): Likewise.
7680 * math/w_j1l.c (__j1l): Likewise.
7681 (__y1l): Likewise.
7682 * math/w_jn.c (jn): Likewise.
7683 (yn): Likewise.
7684 * math/w_jnf.c (jnf): Likewise.
7685 (ynf): Likewise.
7686 * math/w_jnl.c (__jnl): Likewise.
7687 (__ynl): Likewise.
7688 * math/libm-test.inc (j0_test): Add more tests.
7689 (j1_test): Likewise.
7690 (jn_test): Likewise. Add trailing semicolon to existing test.
7691 (y0_test): Likewise.
7692 (y1_test): Likewise.
7693 * sysdeps/i386/fpu/libm-test-ulps: Update.
7694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7695
11b90b9f
JM
7696 [BZ #13851]
7697 [BZ #13854]
7698 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7699 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7700 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7702 (__tanl): Set errno for infinite argument.
7703 * sysdeps/i386/fpu/mptan.c: Remove.
7704 * sysdeps/i386/fpu/s_tan.S: Likewise.
7705 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7706 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7707 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7708 * math/libm-test.inc (tan_test): Add more tests and enable more
7709 tests for double and long double.
7710 * sysdeps/i386/fpu/libm-test-ulps: Update.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7712
6a1bd2a1
JK
77132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7714
7715 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7716 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7717
10a803e0
RM
77182012-03-16 Roland McGrath <roland@hack.frob.com>
7719
7720 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7721 * configure.in: Use it for both main tree and add-ons.
7722 * configure: Regenerated.
7723
f196c7f7
L
77242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7725
7726 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7727
8848d99d
JM
77282012-03-16 Joseph Myers <joseph@codesourcery.com>
7729
96cbe7f4
JM
7730 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7731 in comment.
7732
8848d99d
JM
7733 [BZ #13851]
7734 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7735 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7736 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7737 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7738 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7739 infinite argument.
7740 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7742 != 0 for prec == 2.
7743 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7744 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7745 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7746 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7747 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7748 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7749 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7750 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7751 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7752 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7753 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7754 * math/libm-test.inc (cos_test): Add more tests and enable more
7755 tests for long double.
7756 (sin_test): Likewise.
7757 (sincos_test): Likewise.
7758 * sysdeps/i386/fpu/libm-test-ulps: Update.
7759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7760
dd7f4703
DM
77612012-03-16 David S. Miller <davem@davemloft.net>
7762
7763 * sysdeps/sparc/fpu/math_private.h: New file.
7764
006f1daa
DM
77652012-03-15 David S. Miller <davem@davemloft.net>
7766
c0c83bc8
DM
7767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7768 file.
e6a62e18 7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7771 file.
e6a62e18
DM
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7778 sysdep routines.
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7780
88cb87d9
DM
7781 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7782 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7783
006f1daa 7784 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7786 sparc-ifunc.h
006f1daa 7787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7789 Likewise.
7790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7791 Likewise.
006f1daa
DM
7792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7796 Likewise.
006f1daa
DM
7797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7802 Likewise.
7803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7804 Likewise.
006f1daa
DM
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7829
11e0098e
AS
78302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7831
7832 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7833 scaling.
7834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7835
e85b09d0
AJ
78362012-03-15 Andreas Jaeger <aj@suse.de>
7837
7838 [BZ #13852]
7839 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7840 ieee754/flt-32 implementation for sin, cos and sincos.
7841 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7842 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7843 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7844 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7845 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7846 ieee754/flt-32 implementation for tan.
7847
7848 * math/libm-test.inc (cos_test): Enable some large input tests for
7849 float as well
7850 (sin_test): Likewise.
7851 (sincos_test): Likewise.
7852 (tan_test): Add tests for large input.
7853
7854 * sysdeps/i386/fpu/libm-test-ulps: Update.
7855
81c64153
AJ
78562012-03-15 Andreas Jaeger <aj@suse.de>
7857
7858 [BZ #13658]
7859 * math/libm-test.inc (cos_test): Add more test cases.
7860 (sin_test): Likewise.
7861 (sincos_test): Likewise.
7862
7bbfa5c6
AJ
78632012-03-15 Andreas Jaeger <aj@suse.de>
7864
7865 [BZ #13837]
7866 * math/libm-test.inc (cos_test): Add a test case for large input
7867 value.
7868 (sin_test): Likewise.
7869 (sincos_test): Likewise.
7870
78712012-03-15 Andreas Jaeger <aj@suse.de>,
7872 Joseph Myers <joseph@codesourcery.com>
7873
7874 [BZ #13658]
0671f479 7875 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7876 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7877 * sysdeps/i386/fpu/branred.c: Likewise.
7878 * sysdeps/i386/fpu/dosincos.c: Likewise.
7879 * sysdeps/i386/fpu/mpa.c: Likewise.
7880 * sysdeps/i386/fpu/s_cos.S: Likewise.
7881 * sysdeps/i386/fpu/s_sin.S: Likewise.
7882 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7883 * sysdeps/i386/fpu/sincos32.c: Likewise.
7884
7885 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7886 Define.
7887 (libc_feupdateenv_53bit): Define.
7888 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7889 Define.
7890 (libc_feupdateenv_53bit): Define.
7891
7892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7893 53 bit (without extend i386 double precision).
7894
7895 * math/libm-test.inc (sincos_test): Add tests for large input.
7896 (sin): Likewise.
7897 (cos): Likewise.
7898
7899 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7900
9cad04ea
AS
79012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7902
7903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7904
f7062b9a
DM
79052012-03-15 David S. Miller <davem@davemloft.net>
7906
7907 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7908 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7909 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7910 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7923 file.
f7062b9a 7924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7926 file.
f7062b9a 7927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7929 file.
f7062b9a 7930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7932 file.
f7062b9a
DM
7933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7935 fmin/fmax sysdep routines.
7936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7937
7bd951ff
DM
79382012-03-14 David S. Miller <davem@davemloft.net>
7939
559398ab
DM
7940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7969 routines.
7970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7971 file.
559398ab 7972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7974 file.
559398ab 7975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7977 file.
559398ab 7978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7980 file.
559398ab 7981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7983 file.
559398ab 7984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7986 file.
7987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7988 file.
7989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7990 file.
7991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7992 file.
7993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7994 New file.
7995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7996 file.
7997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7998 file.
559398ab 7999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
8000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
8001 file.
559398ab 8002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
8003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
8004 file.
559398ab 8005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
8006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
8007 file.
559398ab 8008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
8009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
8010 VIS3 routines.
559398ab
DM
8011
8012 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8013 New file.
8014
5a1c1e32
DM
8015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8016
eae47a36
DM
8017 * sysdeps/sparc/configure.in: New file.
8018 * sysdeps/sparc/configure: Generate.
8019 * configure.in (libc_cv_sparc_as_vis3): Substitute.
8020 * configure: Regenerate.
8021 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
8022 * config.make.in (have-as-vis3): New.
8023 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
8024 available use -Av9d instead of -Av9a.
8025 * sysdeps/sparc/sparc64/Makefile: Likewise.
8026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8028 New file.
8029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8030 file.
8031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8032 New file.
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8034 file.
eae47a36
DM
8035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8040
c0c83bc8
DM
8041 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8042 fzeros/fnegs to load 0x80000000 into a float register instead of
8043 using the stack.
7bd951ff
DM
8044 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8045
bd951ccb
JM
80462012-03-14 Joseph Myers <joseph@codesourcery.com>
8047
8048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8049 bits/syscall.h.
8050 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8051 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8052 ($(inst_includedir)/bits/syscall.h): Remove rule.
8053 ($(objpfx)bits/syscall.d): Include instead of
8054 $(objpfx)syscall-list.d.
8055 (generated): Change syscall-list.h and syscall-list.d to
8056 bits/syscall.h and bits/syscall.d.
8057
bb4e6db2
RM
80582012-03-14 Roland McGrath <roland@hack.frob.com>
8059
8060 [BZ #13846]
8061 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8062
aa4a2ae1
JM
80632012-03-14 Joseph Myers <joseph@codesourcery.com>
8064
e456826d
JM
8065 [BZ #13841]
8066 * math/s_csqrt.c: Include <float.h>.
8067 (__csqrt): Scale large or subnormal inputs.
8068 * math/s_csqrtf.c: Likewise.
8069 * math/s_csqrtl.c: Likewise.
8070 * math/libm-test.inc (csqrt_test): Add more tests.
8071 * sysdeps/i386/fpu/libm-test-ulps: Update.
8072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8073
aa4a2ae1
JM
8074 [BZ #13840]
8075 * math/libm-test.inc (hypot_test): Add more tests.
8076
7c10fd35
DM
80772012-03-13 David S. Miller <davem@davemloft.net>
8078
8079 [BZ #13840]
8080 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8081 double-precision for the calculation instead of scaling.
8082
f453b98b
JM
80832012-03-13 Joseph Myers <joseph@codesourcery.com>
8084
8085 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8086 manipulate bits before adding and subtracting TWO52[sx].
8087 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8089 Likewise.
8090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8091
09a3453f
DM
80922012-03-13 David S. Miller <davem@davemloft.net>
8093
8e59da90
DM
8094 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8095 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8097 rtld-global-offsets.h
8098 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8099
2a8ab7f2
DM
8100 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8101 large parameters.
8102
10f62770
DM
8103 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8104
5f0bdb18
DM
8105 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8106 'err' in the ifdef scope in which it is actually used.
8107
09a3453f
DM
8108 * nss/nss_db/db-init.c: Include string.h
8109
b4b2eb5e
DM
81102012-03-12 David S. Miller <davem@davemloft.net>
8111
98bb2f1c
DM
8112 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8113 masking out of the most significant byte of random value used.
8114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8115 Fix coding style in previous change.
8116
b4b2eb5e
DM
8117 * sysdeps/unix/sysv/linux/kernel-features.h
8118 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8119 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8120 expression.
8121 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8122 later.
8123
6e226b09
DM
81242012-03-11 David S. Miller <davem@davemloft.net>
8125
a1bcbd40
DM
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8127 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8129 for 'resultvar' otherwise things get truncated on 64-bit.
8130
cb9d6174
DM
8131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8132 Fix masking out of the most significant byte of random value used.
8133
6e226b09
DM
8134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8135
058c132d
AS
81362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8137
8138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8139
2d2cd515
DM
81402012-03-09 David S. Miller <davem@davemloft.net>
8141
8142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8143 variables with appropriate CPP guards.
8144 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8145 frame pointer, not the stack pointer. Correct layout comments. Fix test
8146 on resulting framesize and the management of the outregs buffer for pltexit.
8147 Preserve floating point return values across _dl_call_pltexit call.
8148 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8149 framesize and the management of the outregs buffer for pltexit.
8150 Preserve floating point return values across _dl_call_pltexit
8151 call.
8152 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8153 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8154 (print_exit): Fix format string for return register value.
8155
9a07f9d0
JM
81562012-03-10 Joseph Myers <joseph@codesourcery.com>
8157
8158 * sunrpc/Makefile (others): Add rpcgen.
8159 ($(objpfx)rpcgen): Remove special build rule and dependency on
8160 libc.
8161 * sunrpc/rpcgen.c: New file.
8162
547b5e30
PE
81632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8164
c524201a
PE
8165 [BZ #13673]
8166 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8167 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8168 * sysdeps/i386/crti.S: Likewise.
8169 * sysdeps/i386/crtn.S: Likewise.
8170 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8171 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8172 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8173 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8174 * sysdeps/sh/crti.S: Likewise.
8175 * sysdeps/sh/crtn.S: Likewise.
8176 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8177
7b6235f2
PE
8178 [BZ #13673]
8179 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8180 with URL.
8181 * locale/programs/locfile-kw.gperf: Likewise.
8182 * locale/programs/charmap-kw.h: Regenerated.
8183 * locale/programs/locfile-kw.h: Likewise.
8184
547b5e30
PE
8185 [BZ #13673]
8186 * intl/plural.y: Replace FSF snail mail address with URL.
8187 * intl/plural.c: Regenerated.
8188
5f0a5dae
RH
81892012-03-09 Richard Henderson <rth@twiddle.net>
8190
8191 * include/math_private.h: Remove file.
8192 * math/math_private.h: Move file ...
8193 * sysdeps/generic/math_private.h: ... here.
8194
b8c03620
RH
8195 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8196 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8197 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8198
4e234f5d 8199 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8200 and <math_private.h>.
8201 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8202 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8203 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8204 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8205 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8289 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8290 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8291 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8292 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8293 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8294 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8295 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8296 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8297 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8298 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8299 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8301 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8302 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8303 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8305 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8306 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8307 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8309 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8310 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8311 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8312 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8317 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8319 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8320 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8321 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8322 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8323 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8325 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8326 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8327 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8328 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8329 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8330 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8334 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8335 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8336 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8337 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8338 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8339 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8340 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8341 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8342 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8344 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8346 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8347 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8349 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8350 * sysdeps/ieee754/k_standard.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8477 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8478 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8483 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8485 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8487 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8488 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8489 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8490 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8491 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8493 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8494 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8495 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8496 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8497 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8498 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8499 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8500 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8501 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8502 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8503 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8504 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8505 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8506 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8507 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8508 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8509 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8510 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8511 * sysdeps/ieee754/s_lib_version.c: Likewise.
8512 * sysdeps/ieee754/s_matherr.c: Likewise.
8513 * sysdeps/ieee754/s_signgam.c: Likewise.
8514 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8515 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8516 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8517 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8518 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8519 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8520 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8521 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8522 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8523 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8524 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8525 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8526 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8527 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8528 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8529 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8530 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8531 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8532 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8535
1991fa03
JM
85362012-03-09 Joseph Myers <joseph@codesourcery.com>
8537
8538 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8539 * sunrpc/rpc_main.c: Likewise.
8540 * sunrpc/rpc_svcout.c: Likewise.
8541
60d6f5a6
DM
85422012-03-09 David S. Miller <davem@davemloft.net>
8543
8544 * include/math_private.h: New file.
8545
4962050e
JM
85462012-03-09 Joseph Myers <joseph@codesourcery.com>
8547
02a6f887
JM
8548 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8549 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8550 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8551 from <bits/socket_type.h>.
8552 (enum __socket_type): Don't define here.
8553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8555 bits/socket_type.h.
8556
c6e013c1
JM
8557 [BZ #13566]
8558 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8559 checking __USE_GNU.
8560
4962050e
JM
8561 * Makerules ($(inst_includedir)/%.h): New rule.
8562 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8563 (install-others): Remove variable setting.
8564 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8565
38842f45
RH
85662012-03-08 Richard Henderson <rth@twiddle.net>
8567
67bb6da6
RH
8568 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8569 from macro to inline function; merge with the
8570 !__LIBC_INTERNAL_MATH_INLINES version.
8571 (__ieee754_sqrtf): Likewise.
8572
15194b4b
RH
8573 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8574 to inline function.
8575 (__rintf, __floor, __floorf): Likewise.
8576
64e21ede
RH
8577 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8578 macro to inline function.
8579 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8580
38842f45
RH
8581 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8582 not <math/math_private.h>.
8583
c64bf5fe
DM
85842012-03-08 David S. Miller <davem@davemloft.net>
8585
8586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8587 copyright year.
8588 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8589
82d86f28
TS
85902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8591
8592 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8593 normalization.
8594 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8595 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8596
aea5d727
UD
85972012-03-08 Ulrich Drepper <drepper@gmail.com>
8598
8599 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8600 be defined individually, they must be defined as a block. Define
8601 S for printing a string instead of hidint the different by using a
8602 macro for adding the 'l'.
8603 * stdio-common/tst-fphex-wide.c: Adjust.
8604
70bca0a3
MP
86052012-03-07 Marek Polacek <polacek@redhat.com>
8606
8607 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8608
65b81130
MP
86092012-03-08 Marek Polacek <polacek@redhat.com>
8610
8611 [BZ #13806]
8612 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8613 * stdio-common/tst-fphex.c: Define a few macros to make the
8614 test reusable. Use them.
8615 * stdio-common/tst-fphex-wide.c: New file.
8616
07037eeb
JM
86172012-03-08 Joseph Myers <joseph@codesourcery.com>
8618
a7a93d50
JM
8619 [BZ #6911]
8620 * manual/macros.texi (gnusystems): New macro.
8621 (nongnusystems): Likewise.
8622 (gnulinuxhurdsystems): Likewise.
8623 (gnuhurdsystems): Likewise..
8624 (gnulinuxsystems): Likewise.
8625 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8626 variants of the GNU system, not "GNU system".
8627 * manual/conf.texi: Likewise.
8628 * manual/errno.texi: Likewise. Update example of errno macro
8629 expansion.
8630 * manual/filesys.texi: Likewise.
8631 (getumask): Document as specific to GNU/Hurd.
8632 * manual/install.texi: Likewise. Reword some references to
8633 GNU/Linux.
8634 * manual/intro.texi: Likewise.
8635 * manual/io.texi: Likewise.
8636 (File Name Portability): Detail which constraints are inapplicable
8637 to all GNU systems and which are only inapplicable to GNU/Hurd.
8638 * manual/job.texi: Likewise.
8639 * manual/llio.texi: Likewise.
8640 (O_NOCTTY): Document as present on GNU/Linux.
8641 * manual/maint.texi: Likewise.
8642 * manual/memory.texi: Likewise.
8643 * manual/pattern.texi: Likewise.
8644 * manual/pipe.texi: Likewise.
8645 * manual/process.texi: Likewise.
8646 * manual/resource.texi: Likewise.
8647 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8648 child on GNU/Hurd.
8649 * manual/setjmp.texi: Likewise.
8650 * manual/signal.texi: Likewise.
8651 * manual/startup.texi: Likewise.
8652 * manual/stdio.texi: Likewise.
8653 * manual/terminal.texi: Likewise.
8654 (ONLCR): Document as POSIX.
8655 (OXTABS): Document availability on GNU/Linux as XTABS.
8656 (ONOEOT): Document availability separately from other bits.
8657 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8658 * manual/time.texi: Likewise.
8659 * manual/users.texi: Likewise.
8660 * INSTALL: Regenerated.
8661 * sysdeps/gnu/errlist.c: Regenerated.
8662
07037eeb
JM
8663 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8664 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8665 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8666 puts.
8667 * configure: Regenerated.
8668
d1d3431a
JM
86692012-03-07 Joseph Myers <joseph@codesourcery.com>
8670
af6a1e37
JM
8671 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8672 default includes instead of AC_HEADER_CHECK.
8673 * sysdeps/i386/configure: Regenerated.
8674
d1d3431a
JM
8675 [BZ #10716]
8676 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8677 * math/s_cacoshf.c (__cacoshf): Likewise.
8678 * math/s_cacoshl.c (__cacoshl): Likewise.
8679 * math/s_casinh.c (__casinh): Set signs of result from argument.
8680 * math/s_casinhf.c (__casinhf): Likewise.
8681 * math/s_casinhl.c (__casinhl): Likewise.
8682 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8683 (casinh_test): Add more tests.
8684 * sysdeps/i386/fpu/libm-test-ulps: Update.
8685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8686
482ff4da
UD
86872012-03-07 Ulrich Drepper <drepper@gmail.com>
8688
872fda05
UD
8689 * po/zh_TW.po: Update from translation team.
8690
a4300c7a
UD
8691 * login/Makefile (distribute): Remove variable.
8692 * catgets/Makefile: Likewise.
8693 * mach/Makefile: Likewise.
8694 * malloc/Makefile: Likewise.
8695 * misc/Makefile: Likewise.
8696 * iconv/Makefile: Likewise.
8697 * nscd/Makefile: Likewise.
8698 * hurd/Makefile: Likewise.
8699 * manual/Makefile: Likewise.
8700 * locale/Makefile: Likewise.
8701 * intl/Makefile: Likewise.
8702 * conform/Makefile: Likewise.
8703 * nss/Makefile: Likewise.
8704 * time/Makefile: Likewise.
8705 * soft-fp/Makefile: Likewise.
8706 * dirent/Makefile: Likewise.
8707 * gmon/Makefile: Likewise.
8708 * po/Makefile: Likewise.
8709 * rt/Makefile: Likewise.
8710 * socket/Makefile: Likewise.
8711 * math/Makefile: Likewise.
8712 * signal/Makefile: Likewise.
8713 * debug/Makefile: Likewise.
8714 * elf/Makefile: Likewise.
8715 * timezone/Makefile: Likewise.
8716 * stdlib/Makefile: Likewise.
8717 * iconvdata/Makefile: Likewise.
8718 * sunrpc/Makefile: Likewise.
8719 * io/Makefile: Likewise.
8720 * argp/Makefile: Likewise.
8721 * inet/Makefile: Likewise.
8722 * hesiod/Makefile: Likewise.
8723 * grp/Makefile: Likewise.
8724 * csu/Makefile: Likewise.
8725 * wctype/Makefile: Likewise.
8726 * crypt/Makefile: Likewise.
8727 * libio/Makefile: Likewise.
8728 * string/Makefile: Likewise.
8729 * nis/Makefile: Likewise.
8730 * resolv/Makefile: Likewise.
8731 * stdio-common/Makefile: Likewise.
8732 * wcsmbs/Makefile: Likewise.
8733 * dlfcn/Makefile: Likewise.
8734 * posix/Makefile: Likewise.
8735
3b7c4e74 8736 [BZ #6959]
482ff4da
UD
8737 * timezone/Makefile: Don't install timezone files, just the programs
8738 and scripts.
8739
f72ed77d
UD
87402012-03-06 Ulrich Drepper <drepper@gmail.com>
8741
a000466f
UD
8742 * nss/databases.def: Add missing gshadow entry.
8743
f72ed77d
UD
8744 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8745
a53b7a4e
MP
87462012-03-06 Marek Polacek <polacek@redhat.com>
8747
8748 [BZ #13726]
8749 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8750 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8751 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8752 * stdio-common/tst-long-dbl-fphex.c: New file.
8753
e9258400
DM
87542012-03-06 David S. Miller <davem@davemloft.net>
8755
8756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8757 (set_obp_int): New function.
8758 (get_obp_int): New function.
8759 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8761 Avoid unused variable warnings on 'val' and use builtin_expect.
8762 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8763 __builtin_expect.
e9258400
DM
8764 (INLINE_CLONE_SYSCALL): Likewise.
8765
3bd2c723
DM
87662012-03-05 David S. Miller <davem@davemloft.net>
8767
8768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8769
bbb78d03
AS
87702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8771
884c5db4
AS
8772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8773
bbb78d03
AS
8774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8775 only for |x| >= 40.
8776 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8777
1c9f702a 87782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8779
8780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8781 Replace gettimeofday with __vdso_gettimeofday.
8782
7be16f82
RM
8783 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8784 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8785 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8786
8787 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8788 time with __vdso_time.
8789
ed58a00f
JM
87902012-03-05 Joseph Myers <joseph@codesourcery.com>
8791
8792 * manual/lang.texi (size_t): Note types to which size_t may be
8793 equivalent with the GNU C Library, but do not describe when
8794 differences between them are significant.
8795
30ee4ced
AJ
87962012-03-05 Andreas Jaeger <aj@suse.de>
8797
8798 * sysdeps/i386/fpu/libm-test-ulps: Update.
8799
b7cd39e8
JM
88002012-03-05 Joseph Myers <joseph@codesourcery.com>
8801
8802 [BZ #3976]
8803 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8804 (__ieee754_pow): Save and restore rounding mode and use
8805 round-to-nearest for main computations.
8806 * math/libm-test.inc (pow_test_tonearest): New function.
8807 (pow_test_towardzero): Likewise.
8808 (pow_test_downward): Likewise.
8809 (pow_test_upward): Likewise.
8810 (main): Call the new functions.
8811 * sysdeps/i386/fpu/libm-test-ulps: Update.
8812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8813
8814 [BZ #3976]
8815 * math/libm-test.inc (cosh_test_tonearest): New function.
8816 (cosh_test_towardzero): Likewise.
8817 (cosh_test_downward): Likewise.
8818 (cosh_test_upward): Likewise.
8819 (sinh_test_tonearest): Likewise.
8820 (sinh_test_towardzero): Likewise.
8821 (sinh_test_downward): Likewise.
8822 (sinh_test_upward): Likewise.
8823 (main): Call the new functions.
8824 * sysdeps/i386/fpu/libm-test-ulps: Update.
8825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826
6c6a98c9
TV
88272012-03-05 Tom de Vries <tom@codesourcery.com>
8828
8829 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8830 default stack guard is set in last bytes.
8831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8832
21bb2d2e 88332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8834
21bb2d2e 8835 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8836
21bb2d2e
AJ
8837 [BZ #13656]
8838 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8839 possibly allocate from heap instead of stack.
8840 * stdio-common/bug-vfprintf-nargs.c: New file.
8841 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8842
c6922934
AS
88432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8844
8845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8846
bc957d53
MP
88472012-03-03 Marek Polacek <polacek@redhat.com>
8848
8849 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8850 * math/math_private.h: Likewise.
8851 * stdlib/tst-strtod.c: Likewise.
8852 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8853 * sysdeps/x86_64/bits/atomic.h: Likewise.
8854
6358490d
DM
88552012-03-02 David S. Miller <davem@davemloft.net>
8856
8857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8861 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8862 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8863 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8864 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8865
01ae168d
RM
88662012-03-02 Roland McGrath <roland@hack.frob.com>
8867
d9a17c07
RM
8868 [BZ #13792]
8869 * manual/examples/README: New file, says the example source files
8870 can be used under GPL>=2.
8871 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8872 line containing just "*/".
8873 * manual/examples/add.c: Add copyright header (GPL>=2).
8874 * manual/examples/argp-ex1.c: Likewise.
8875 * manual/examples/argp-ex2.c: Likewise.
8876 * manual/examples/argp-ex3.c: Likewise.
8877 * manual/examples/argp-ex4.c: Likewise.
8878 * manual/examples/atexit.c: Likewise.
8879 * manual/examples/db.c: Likewise.
8880 * manual/examples/dir.c: Likewise.
8881 * manual/examples/dir2.c: Likewise.
8882 * manual/examples/execinfo.c: Likewise.
8883 * manual/examples/filecli.c: Likewise.
8884 * manual/examples/filesrv.c: Likewise.
8885 * manual/examples/fmtmsgexpl.c: Likewise.
8886 * manual/examples/genpass.c: Likewise.
8887 * manual/examples/inetcli.c: Likewise.
8888 * manual/examples/inetsrv.c: Likewise.
8889 * manual/examples/isockad.c: Likewise.
8890 * manual/examples/longopt.c: Likewise.
8891 * manual/examples/memopen.c: Likewise.
8892 * manual/examples/memstrm.c: Likewise.
8893 * manual/examples/mkfsock.c: Likewise.
8894 * manual/examples/mkisock.c: Likewise.
8895 * manual/examples/mygetpass.c: Likewise.
8896 * manual/examples/pipe.c: Likewise.
8897 * manual/examples/popen.c: Likewise.
8898 * manual/examples/rprintf.c: Likewise.
8899 * manual/examples/search.c: Likewise.
8900 * manual/examples/select.c: Likewise.
8901 * manual/examples/setjmp.c: Likewise.
8902 * manual/examples/sigh1.c: Likewise.
8903 * manual/examples/sigusr.c: Likewise.
8904 * manual/examples/stpcpy.c: Likewise.
8905 * manual/examples/strdupa.c: Likewise.
8906 * manual/examples/strftim.c: Likewise.
8907 * manual/examples/strncat.c: Likewise.
8908 * manual/examples/subopt.c: Likewise.
8909 * manual/examples/swapcontext.c: Likewise.
8910 * manual/examples/termios.c: Likewise.
8911 * manual/examples/testopt.c: Likewise.
8912 * manual/examples/testpass.c: Likewise.
8913 * manual/examples/timeval_subtract.c: Likewise.
8914
01ae168d
RM
8915 [BZ #13792]
8916 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8917 function to ...
8918 * manual/timeval_subtract.c.texi: ... here, new file.
8919
49efa33d
DM
89202012-03-02 David S. Miller <davem@davemloft.net>
8921
8922 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8923
28afd92d
JM
89242012-03-02 Joseph Myers <joseph@codesourcery.com>
8925
804360ed
JM
8926 [BZ #3976]
8927 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8928 (__sin): Save and restore rounding mode and use round-to-nearest
8929 for all computations.
8930 (__cos): Save and restore rounding mode and use round-to-nearest
8931 for all computations.
8932 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8933 <fenv.h>.
8934 (tan): Save and restore rounding mode and use round-to-nearest for
8935 all computations.
8936 * math/libm-test.inc (cos_test_tonearest): New function.
8937 (cos_test_towardzero): Likewise.
8938 (cos_test_downward): Likewise.
8939 (cos_test_upward): Likewise.
8940 (sin_test_tonearest): Likewise.
8941 (sin_test_towardzero): Likewise.
8942 (sin_test_downward): Likewise.
8943 (sin_test_upward): Likewise.
8944 (tan_test_tonearest): Likewise.
8945 (tan_test_towardzero): Likewise.
8946 (tan_test_downward): Likewise.
8947 (tan_test_upward): Likewise.
8948 (main): Call the new functions.
8949 * sysdeps/i386/fpu/libm-test-ulps: Update.
8950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8951
a6d06d7b
JM
8952 [BZ #10135]
8953 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8954 small n, then large n, before computing and testing k+n.
8955 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8956 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8957 Likewise.
8958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8959 Likewise.
8960 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8961 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8962 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8963 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8964 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8965 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8966 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8968 * math/libm-test.inc (scalbn_test): Add more tests.
8969 (scalbln_test): Likewise.
8970
07e12bb3
JM
8971 * manual/filesys.texi (mode_t): Describe constraints on size and
8972 signedness, not exact equivalence to a particular type.
8973 (ino_t): Likewise.
8974 (ino64_t): Likewise.
8975 (dev_t): Likewise.
8976 (nlink_t): Likewise.
8977 (blkcnt_t): Likewise.
8978 (blkcnt64_t): Likewise.
8979 * manual/llio.texi (off_t): Likewise.
8980
28afd92d
JM
8981 [BZ #3976]
8982 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8983 (__ieee754_exp): Save and restore rounding mode and use
8984 round-to-nearest for all computations.
8985 * math/libm-test.inc (exp_test_tonearest): New function.
8986 (exp_test_towardzero): Likewise.
8987 (exp_test_downward): Likewise.
8988 (exp_test_upward): Likewise.
8989 (main): Call the new functions.
8990 * sysdeps/i386/fpu/libm-test-ulps: Update.
8991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8992
b1eeb65d
CD
89932012-03-01 Chris Demetriou <cgd@google.com>
8994
8995 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8996 have predictable order.
8997
53362a4b
DM
89982012-03-01 David S. Miller <davem@davemloft.net>
8999
3c969083
DM
9000 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
9001
759707de
DM
9002 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
9003 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
9004 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
9005 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
9006
dfdb8ff2
DM
9007 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
9008 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
9009 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
9010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
9011 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
9012 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
9013 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
9014 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
9015 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
9016
ead89f96
DM
9017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9018
7f66bd07
DM
9019 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
9020 * sysdeps/sparc/fpu/libm-test-ulps: to here.
9021 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
9022
53362a4b
DM
9023 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
9024 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9025 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9026 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9027 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9028 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9029 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9030 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9031 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9032 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9033 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9034 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9035 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9036 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9037 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9039 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9040 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9041 * sysdeps/sparc/elf/configure: Regenerated.
9042
7b1902cb
JM
90432012-03-01 Joseph Myers <joseph@codesourcery.com>
9044
bec039bc
JM
9045 * configure.in (AS, LD): Require binutils 2.20 or later.
9046 * configure: Regenerated.
9047 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9048 as required minimum version.
9049 * INSTALL: Regenerated.
9050
7b1902cb
JM
9051 [BZ #2541]
9052 [BZ #4108]
9053 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9054 before squaring exponent.
9055 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9056 bottom long double and 27 bits of top long double before squaring
9057 exponent.
9058 * math/libm-test.inc (erfc_test): Add more tests.
9059 * sysdeps/i386/fpu/libm-test-ulps: Update.
9060 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9062
f775c276
KT
90632012-03-01 Kai Tietz <ktietz@redhat.com>
9064
9065 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9066 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9067 containing bit-fields.
9068 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9069 * soft-fp/single.h (_FP_UNION_S): Likewise.
9070 * soft-fp/double.h (_FP_UNION_D): Likewise.
9071
5b8a4d4a
JM
90722012-02-29 Joseph Myers <joseph@codesourcery.com>
9073
0bab47b6
JM
9074 [BZ #13786]
9075 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9076 not include ../strcmp.S.
9077 [USE_AS_STRNCASECMP_L]: Likewise.
9078 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9079 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9080 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9081 (__strncasecmp_l_ia32): Define as alias to
9082 __strncasecmp_l_nonascii.
9083
0fcad3e2
JM
9084 [BZ #5794]
9085 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9086 * sysdeps/i386/fpu/libm-test-ulps: Update.
9087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9088
5b8a4d4a
JM
9089 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9091
8fdceb2e
JL
90922012-02-29 Jeff Law <law@redhat.com>
9093
9094 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9095 out of bounds read.
9096
1f393a11
MP
90972012-02-29 Marek Polacek <polacek@redhat.com>
9098
9099 [BZ #13706]
9100 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9101 * elf/Makefile: Add rules to run tst-unused-dep.out.
9102
8847f037
DM
91032012-02-28 David S. Miller <davem@davemloft.net>
9104
9105 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9106 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9109 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9110 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9111
169d7f11
JM
91122012-02-29 Joseph Myers <joseph@codesourcery.com>
9113
9114 * math/libm-test.inc (llround_test): Move one test from
9115 lround_test. Use TEST_f_L in moved test.
9116 (lround_test): Move misplaced test to llround_test. Add testcase
9117 from bug 2561.
9118
39adf059
UD
91192012-02-28 Ulrich Drepper <drepper@gmail.com>
9120
9121 * sysdeps/x86_64/fpu/e_expf.S: New file.
9122 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9123
71b5d1c5
SB
91242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9125
9126 [BZ #13637]
9127 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9128 of remain_len that may cause incomplete multi-byte character and
9129 false match.
9130 * posix/bug-regex33.c: New file.
9131 * posix/Makefile (tests): Add bug-regex33.
9132
1f77f049
JM
91332012-02-28 Joseph Myers <joseph@codesourcery.com>
9134
9135 * manual/macros.texi: New file.
9136 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9137 * manual/libc.texinfo: Include macros.texi.
9138 * manual/creatute.texi: Likewise.
9139 * manual/install.texi: Likewise.
9140 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9141 @glibcadj{} in references to the GNU C Library.
9142 * manual/charset.texi: Likewise.
9143 * manual/conf.texi: Likewise.
9144 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9145 when not using those macros.
9146 * manual/creature.texi: Likewise.
9147 * manual/crypt.texi: Likewise.
9148 * manual/errno.texi: Likewise.
9149 * manual/filesys.texi: Likewise.
9150 * manual/header.texi: Likewise.
9151 * manual/install.texi: Likewise.
9152 * manual/intro.texi: Likewise.
9153 * manual/io.texi: Likewise.
9154 * manual/job.texi: Likewise.
9155 * manual/lang.texi: Likewise.
9156 * manual/libc.texiinfo: Likewise.
9157 * manual/llio.texi: Likewise.
9158 * manual/locale.texi: Likewise.
9159 * manual/maint.texi: Likewise.
9160 * manual/math.texi: Likewise.
9161 * manual/memory.texi: Likewise.
9162 * manual/message.texi: Likewise.
9163 * manual/nss.texi: Likewise.
9164 * manual/pattern.texi: Likewise.
9165 * manual/process.texi: Likewise.
9166 * manual/resource.texi: Likewise.
9167 * manual/search.texi: Likewise.
9168 * manual/setjmp.texi: Likewise.
9169 * manual/signal.texi: Likewise.
9170 * manual/socket.texi: Likewise.
9171 * manual/startup.texi: Likewise.
9172 * manual/stdio.texi: Likewise.
9173 * manual/string.texi: Likewise.
9174 * manual/sysinfo.texi: Likewise.
9175 * manual/syslog.texi: Likewise.
9176 * manual/terminal.texi: Likewise.
9177 * manual/time.texi: Likewise.
9178 * manual/users.texi: Likewise.
9179 * INSTALL: Regenerated.
9180 * NOTES: Regenerated.
d40c5d54 9181 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9182
450bf206
AS
91832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * include/dirent.h: Include <dirstream.h> before
9186 <dirent/dirent.h>.
9187
741a235b
DM
91882012-02-28 David S. Miller <davem@davemloft.net>
9189
9190 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9191 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9192 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9193 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9194
d6b5aa58
DM
91952012-02-27 David S. Miller <davem@davemloft.net>
9196
1aff59a3
DM
9197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9199 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9200 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9201
d6b5aa58
DM
9202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9203 frame pointer instead of stack pointer relative arg slot.
9204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9205 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9206 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9207
433f48bf
CD
92082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9209
9210 [BZ #3992]
9211 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9212
d674b76d
DM
92132012-02-27 David S. Miller <davem@davemloft.net>
9214
9215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9221 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9222 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9223
0e7727f7
JM
92242012-02-27 Joseph Myers <joseph@codesourcery.com>
9225
9226 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9227 later. Allow versions 5-9.
43be4ca2 9228 * configure: Regenerated.
0e7727f7
JM
9229 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9230 required minimum version and 4.6 as recommended version. Do not
9231 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9232 * INSTALL: Regenerated.
0e7727f7 9233
a78bc654
DM
92342012-02-27 David S. Miller <davem@davemloft.net>
9235
428d5830
DM
9236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9240 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9241 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9242 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9243 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9244
a78bc654
DM
9245 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9246 manipulate bits before adding and subtracting TWO112[sx].
9247 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9248
4579f81c
RM
92492012-02-27 Roland McGrath <roland@hack.frob.com>
9250
36c8acb4
RM
9251 [BZ #13775]
9252 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9253 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9254 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9255 being in POSIX, because they are in 1003.1-2008.
9256
84ad622b
RM
9257 * rt/tst-aio.c: Include <fcntl.h>.
9258 * rt/tst-aio7.c: Likewise.
9259 * rt/tst-aio64.c: Likewise.
9260
4579f81c
RM
9261 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9262
abd923db
JM
92632012-02-27 Joseph Myers <joseph@codesourcery.com>
9264
9265 * manual/install.texi (--with-headers): Describe headers as
9266 interface headers, not private headers.
9267 (Specific advice for GNU/Linux systems): Describe use of headers
9268 from "make headers_install", not private headers from older
9269 kernels.
43be4ca2 9270 * INSTALL: Regenerated.
abd923db
JM
9271 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9272 Change to 2.6.19.
9273 * sysdeps/unix/sysv/linux/configure: Regenerated.
9274
6664049b
JM
9275 * manual/llio.texi (fclean): Remove documentation.
9276
bb8b6697
JM
9277 * manual/Makefile (libc-texi-generated): New variable. Include
9278 version.texi.
9279 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9280 $(libc-texi-generated), not duplicated list of files.
9281 (version.texi, stamp-version): New rules.
9282 (realclean): Remove $(libc-texi-generated), not individual files
9283 from that list. Do not remove dir-add.texinfo.
9284 * manual/libc.texinfo: Comment out uses of edition numbers and
9285 references to printed manual. Remove last-updated dates.
9286 (EDITION): Comment out.
9287 (ISBN): Likewise.
9288 (VERSION, UPDATED): Remove.
9289 (version.texi): Include.
9290
12e5c3b9
AS
92912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9292
9293 * sysdeps/posix/spawni.c: Include <signal.h>.
9294 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9295 * sysdeps/pthread/aio_fsync.c: Likewise.
9296
4efeffc1 92972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9298
ba63ba08
UD
9299 * conform/Makefile (tests): Run only when not cross-compiling and
9300 when fast-check is not defined.
9301
d94a4670
UD
9302 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9303 * conform/data/limits.h-data: Fixes for POSIX2008.
9304 * conform/run-conformtest.sh: Run all tests.
9305 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9306 headers.
9307 * include/bits/dlfcn.h: Likewise.
9308 * include/langinfo.h: Likewise.
9309 * include/monetary.h: Likewise.
9310 * include/sys/poll.h: Likewise.
9311
9312 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9313 for __USE_GNU.
9314 * posix/spawn.h: Define __need_sigset_t.
9315 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9316 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9317 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9318 to get sigevent_t only.
9319 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9320 only for __USE_GNU.
9321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9322 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9323 process_vm_writev only for __USE_GNU.
9324 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9325
9326 * conform/Makefile: For now ignore errors from run-conformtest.
9327 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9328 POSIX to avoid namespace pollution. Don't prepend headers.
9329 * conform/data/aio.h-data: Fixes for POSIX testing.
9330 * conform/data/fcntl.h-data: Likewise.
9331 * conform/data/glob.h-data: Likewise.
9332 * conform/data/grp.h-data: Likewise.
9333 * conform/data/pthread.h-data: Likewise.
9334 * conform/data/pwd.h-data: Likewise.
9335 * conform/data/signal.h-data: Likewise.
9336 * conform/data/spawn.h-data: Likewise.
9337 * conform/data/stdio.h-data: Likewise.
9338 * conform/data/stdlib.h-data: Likewise.
9339 * conform/data/stropts.h-data: Likewise.
9340 * conform/data/sys/mman.h-data: Likewise.
9341 * conform/data/sys/stat.h-data: Likewise.
9342 * conform/data/sys/types.h-data: Likewise.
9343 * conform/data/sys/wait.h-data: Likewise.
9344 * conform/data/time.h-data: Likewise.
9345 * conform/data/unistd.h-data: Likewise.
9346 * conform/data/utime.h-data: Likewise.
9347
9348 * io/sys/stat.h: fchmod was always in POSIX.
9349 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9350 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9351 * rt/aio.h: Define __need_timespec before including <time.h>.
9352 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9353 struct. Add forward declaration of pthread_attr_t and use it in
9354 sigevent.
9355 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9356 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9357 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9358 always remove CLK_TCK definition.
9359
c20105c3
AS
93602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9361
9362 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9363
7a270350
UD
93642012-02-25 Ulrich Drepper <drepper@gmail.com>
9365
31341567
UD
9366 * conform/run-conformtest.sh: New file.
9367 * conform/Makefile: Run run-conformtest for tests.
9368 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9369 support.
9370
9371 * conform/data/uchar.h-data: New file.
9372 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9373 * conform/data/arpa/inet.h-data: Likewise.
9374 * conform/data/assert.h-data: Likewise.
9375 * conform/data/complex.h-data: Likewise.
9376 * conform/data/cpio.h-data: Likewise.
9377 * conform/data/ctype.h-data: Likewise.
9378 * conform/data/dirent.h-data: Likewise.
9379 * conform/data/dlfcn.h-data: Likewise.
9380 * conform/data/errno.h-data: Likewise.
9381 * conform/data/fcntl.h-data: Likewise.
9382 * conform/data/float.h-data: Likewise.
9383 * conform/data/fmtmsg.h-data: Likewise.
9384 * conform/data/fnmatch.h-data: Likewise.
9385 * conform/data/ftw.h-data: Likewise.
9386 * conform/data/glob.h-data: Likewise.
9387 * conform/data/grp.h-data: Likewise.
9388 * conform/data/iconv.h-data: Likewise.
9389 * conform/data/inttypes.h-data: Likewise.
9390 * conform/data/langinfo.h-data: Likewise.
9391 * conform/data/libgen.h-data: Likewise.
9392 * conform/data/limits.h-data: Likewise.
9393 * conform/data/locale.h-data: Likewise.
9394 * conform/data/math.h-data: Likewise.
9395 * conform/data/monetary.h-data: Likewise.
9396 * conform/data/mqueue.h-data: Likewise.
9397 * conform/data/ndbm.h-data: Likewise.
9398 * conform/data/net/if.h-data: Likewise.
9399 * conform/data/netdb.h-data: Likewise.
9400 * conform/data/netinet/in.h-data: Likewise.
9401 * conform/data/nl_types.h-data: Likewise.
9402 * conform/data/poll.h-data: Likewise.
9403 * conform/data/pthread.h-data: Likewise.
9404 * conform/data/pwd.h-data: Likewise.
9405 * conform/data/regex.h-data: Likewise.
9406 * conform/data/sched.h-data: Likewise.
9407 * conform/data/search.h-data: Likewise.
9408 * conform/data/semaphore.h-data: Likewise.
9409 * conform/data/setjmp.h-data: Likewise.
9410 * conform/data/signal.h-data: Likewise.
9411 * conform/data/spawn.h-data: Likewise.
9412 * conform/data/stdarg.h-data: Likewise.
9413 * conform/data/stdio.h-data: Likewise.
9414 * conform/data/stdlib.h-data: Likewise.
9415 * conform/data/string.h-data: Likewise.
9416 * conform/data/strings.h-data: Likewise.
9417 * conform/data/stropts.h-data: Likewise.
9418 * conform/data/sys/ipc.h-data: Likewise.
9419 * conform/data/sys/mman.h-data: Likewise.
9420 * conform/data/sys/msg.h-data: Likewise.
9421 * conform/data/sys/resource.h-data: Likewise.
9422 * conform/data/sys/select.h-data: Likewise.
9423 * conform/data/sys/sem.h-data: Likewise.
9424 * conform/data/sys/shm.h-data: Likewise.
9425 * conform/data/sys/socket.h-data: Likewise.
9426 * conform/data/sys/stat.h-data: Likewise.
9427 * conform/data/sys/statvfs.h-data: Likewise.
9428 * conform/data/sys/time.h-data: Likewise.
9429 * conform/data/sys/timeb.h-data: Likewise.
9430 * conform/data/sys/times.h-data: Likewise.
9431 * conform/data/sys/types.h-data: Likewise.
9432 * conform/data/sys/uio.h-data: Likewise.
9433 * conform/data/sys/un.h-data: Likewise.
9434 * conform/data/sys/utsname.h-data: Likewise.
9435 * conform/data/sys/wait.h-data: Likewise.
9436 * conform/data/syslog.h-data: Likewise.
9437 * conform/data/tar.h-data: Likewise.
9438 * conform/data/termios.h-data: Likewise.
9439 * conform/data/utime.h-data: Likewise.
9440 * conform/data/utmpx.h-data: Likewise.
9441 * conform/data/varargs.h-data: Likewise.
9442 * conform/data/wchar.h-data: Likewise.
9443 * conform/data/wctype.h-data: Likewise.
9444 * conform/data/wordexp.h-data: Likewise.
9445
9446 * include/stropts.h: New file.
9447 * include/uchar.h: New file.
9448 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9449 * include/assert.h: Likewise.
9450 * include/ctype.h: Likewise.
9451 * include/dirent.h: Likewise.
9452 * include/dlfcn.h: Likewise.
9453 * include/fcntl.h: Likewise.
9454 * include/fnmatch.h: Likewise.
9455 * include/glob.h: Likewise.
9456 * include/grp.h: Likewise.
9457 * include/libio.h: Likewise.
9458 * include/locale.h: Likewise.
9459 * include/math.h: Likewise.
9460 * include/net/if.h: Likewise.
9461 * include/netdb.h: Likewise.
9462 * include/netinet/in.h: Likewise.
9463 * include/pthread.h: Likewise.
9464 * include/pwd.h: Likewise.
9465 * include/regex.h: Likewise.
9466 * include/sched.h: Likewise.
9467 * include/search.h: Likewise.
9468 * include/setjmp.h: Likewise.
9469 * include/signal.h: Likewise.
9470 * include/stdio.h: Likewise.
9471 * include/stdlib.h: Likewise.
9472 * include/string.h: Likewise.
9473 * include/sys/cdefs.h: Likewise.
9474 * include/sys/mman.h: Likewise.
9475 * include/sys/msg.h: Likewise.
9476 * include/sys/resource.h: Likewise.
9477 * include/sys/select.h: Likewise.
9478 * include/sys/socket.h: Likewise.
9479 * include/sys/stat.h: Likewise.
9480 * include/sys/statvfs.h: Likewise.
9481 * include/sys/time.h: Likewise.
9482 * include/sys/times.h: Likewise.
9483 * include/sys/uio.h: Likewise.
9484 * include/sys/utsname.h: Likewise.
9485 * include/sys/wait.h: Likewise.
9486 * include/termios.h: Likewise.
9487 * include/time.h: Likewise.
9488 * include/ulimit.h: Likewise.
9489 * include/unistd.h: Likewise.
9490 * include/utime.h: Likewise.
9491 * include/wchar.h: Likewise.
9492 * include/wctype.h: Likewise.
9493 * include/wordexp.h: Likewise.
9494
9495 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9496
7a270350
UD
9497 * time/time.h: TIME_UTC must be a macro.
9498 Make timespec_get available for ISO C11 only as well.
9499
7724defc
UD
95002012-02-24 Ulrich Drepper <drepper@gmail.com>
9501
9502 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9503 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9504
6b1d1d46
JM
95052012-02-24 Joseph Myers <joseph@codesourcery.com>
9506
9507 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9508
0f8bbd69
JM
95092012-02-24 Joseph Myers <joseph@codesourcery.com>
9510
9511 * manual/texinfo.tex: Update to version 2012-01-19.16.
9512
66ab80bc
JM
95132012-02-24 Joseph Myers <joseph@codesourcery.com>
9514
9515 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9516
74981cc5
RM
95172012-02-24 Roland McGrath <roland@hack.frob.com>
9518
ee968201
RM
9519 [BZ #13738]
9520 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9521 * manual/fdl-1.3.texi: New file.
9522 * manual/fdl-1.1.texi: File removed.
9523
74981cc5
RM
9524 [BZ #13738]
9525 * manual/libc.texinfo (FDL_VERSION): New @set.
9526 Use it for mention of FDL in cover text.
9527 (Documentation License): Use it in @include file name.
9528
7bb764bc
JM
95292012-02-22 Joseph Myers <joseph@codesourcery.com>
9530 Roland McGrath <roland@hack.frob.com>
9531
9532 [BZ #5461]
9533 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9534 not LONG_LONG_MAX and LONG_LONG_MIN.
9535 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9536 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9537 name.
9538 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9539
6cbeae47
JM
95402012-02-22 Joseph Myers <joseph@codesourcery.com>
9541
9542 [BZ #2547]
9543 [BZ #11365]
9544 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9545 manipulate bits before adding and subtracting TWO23[sx].
9546 * math/libm-test.inc (nearbyint_test): Add more tests.
9547
fe45ce09
JM
95482012-02-22 Joseph Myers <joseph@codesourcery.com>
9549
9550 [BZ #2548]
9551 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9552 bits before adding and subtracting TWO23[sx].
9553 * math/libm-test.inc (rint_test): Add more tests.
9554 (rint_test_tonearest): Likewise.
9555 (rint_test_towardzero): Likewise.
9556 (rint_test_downward): Likewise.
9557 (rint_test_upward: Likewise.
9558
ff3b3d82
JM
95592012-02-22 Joseph Myers <joseph@codesourcery.com>
9560
9561 [BZ #10110]
9562 * include/stdc-predef.h: New file. Extracted from features.h.
9563 * include/features.h: Include stdc-predef.h.
9564 * Makefile (headers): Add stdc-predef.h.
9565 * CONFORMANCE (Compiler limitations): Update.
9566
ef0aab35
JM
95672012-02-22 Joseph Myers <joseph@codesourcery.com>
9568
9569 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9570
58639409
DM
95712012-02-21 David S. Miller <davem@davemloft.net>
9572
9573 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9574 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9575
c0e70b25
DM
95762012-02-20 David S. Miller <davem@davemloft.net>
9577
9578 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9579 using a normal save/restore sequence, rather than allocating a
9580 dummy stack frame just to store a frame pointer and restore.
9581 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9582
fb06851d
JM
95832012-02-21 Joseph Myers <joseph@codesourcery.com>
9584
9585 * manual/install.texi: Fix stray word in line-wrapped comment.
9586
7a8b71c3
DM
95872012-02-20 David S. Miller <davem@davemloft.net>
9588
d510c123
DM
9589 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9590 both binutils and gcc support GOTDATA.
9591
0722d7c2
DM
9592 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9593 "rd %pc" in the PIC register setup sequences.
9594
3d2b3019
DM
9595 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9596 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9597 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9598 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9599 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9602 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9604 (SYSCALL_ERROR_HANDLER): Likewise.
9605 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9608 (SYSCALL_ERROR_HANDLER): Likewise.
9609
c80098a9
DM
9610 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9611 (HAVE_GCC_GOTDATA): New.
9612 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9613 relocation support in both binutils and gcc.
9614 * sysdeps/sparc/elf/configure: Regenerate.
9615
3a2545a0
DM
9616 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9617 * sysdeps/sparc/sparc32/elf/configure: Delete.
9618 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9619 * sysdeps/sparc/sparc64/elf/configure: Delete.
9620 * sysdeps/sparc/elf/configure.in: New file.
9621 * sysdeps/sparc/elf/configure: Generate.
9622
7a8b71c3
DM
9623 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9624 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9626 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9627 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9628
f1e86fca
JM
96292012-02-21 Joseph Myers <joseph@codesourcery.com>
9630
9631 * manual/install.texi: Do not mention specific glibc version
9632 numbers.
9633 * manual/libc.texinfo (VERSION, UPDATED): Update.
9634 (@copying): Use @copyright{} and range of years.
9635
0e7dfaef
JM
96362012-02-21 Joseph Myers <joseph@codesourcery.com>
9637
9638 [BZ #13695]
9639 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9640 [crti.S not in sysdirs] (generated): Do not append.
9641 [crti.S not in sysdirs] (omit-deps): Likewise.
9642 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9643 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9644 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9645 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9646 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9647 Likewise.
9648 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9649 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9650 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9651 * csu/defs.awk: Remove file.
9652 * sysdeps/generic/initfini.c: Likewise.
9653 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9654 variable.
9655 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9656 Likewise.
9657
599af3ca
JM
96582012-02-20 Joseph Myers <joseph@codesourcery.com>
9659
9660 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9661 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9662 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9665 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9666 <bits/epoll.h>.
9667 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9668 (__EPOLL_PACKED): Define to empty if not defined by
9669 <bits/epoll.h>.
9670 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9672 bits/epoll.h.
9673
0e499750
JM
96742012-02-20 Joseph Myers <joseph@codesourcery.com>
9675
9676 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9677 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9678 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9679 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9680 <bits/timerfd.h>.
9681 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9683 bits/timerfd.h.
9684
5ad91f6e
JM
96852012-02-20 Joseph Myers <joseph@codesourcery.com>
9686
9687 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9688 in C locale.
9689 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9690 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9693
06b99b02
AJ
96942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9695
9696 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9697 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9698
7638c0fd
AS
96992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9700
9701 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9702 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9703 defined.
9704 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9705 Likewise.
9706 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9707 entry for 2.16.
9708
92221550
AJ
97092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9710
9711 * math/w_acos.c: Use non-signaling floating-point comparisons.
9712 * math/w_acosf.c: Likewise.
9713 * math/w_acosh.c: Likewise.
9714 * math/w_acoshf.c: Likewise.
9715 * math/w_acoshl.c: Likewise.
9716 * math/w_acosl.c: Likewise.
9717 * math/w_asin.c: Likewise.
9718 * math/w_asinf.c: Likewise.
9719 * math/w_asinl.c: Likewise.
9720 * math/w_atanh.c: Likewise.
9721 * math/w_atanhf.c: Likewise.
9722 * math/w_atanhl.c: Likewise.
9723 * math/w_exp2.c: Likewise.
9724 * math/w_exp2f.c: Likewise.
9725 * math/w_exp2l.c: Likewise.
9726 * math/w_j0.c: Likewise.
9727 * math/w_j0f.c: Likewise.
9728 * math/w_j0l.c: Likewise.
9729 * math/w_j1.c: Likewise.
9730 * math/w_j1f.c: Likewise.
9731 * math/w_j1l.c: Likewise.
9732 * math/w_jn.c: Likewise.
9733 * math/w_jnf.c: Likewise.
9734 * math/w_log.c: Likewise.
9735 * math/w_log10.c: Likewise.
9736 * math/w_log10f.c: Likewise.
9737 * math/w_log10l.c: Likewise.
9738 * math/w_log2.c: Likewise.
9739 * math/w_log2f.c: Likewise.
9740 * math/w_log2l.c: Likewise.
9741 * math/w_logf.c: Likewise.
9742 * math/w_logl.c: Likewise.
9743 * math/w_sqrt.c: Likewise.
9744 * math/w_sqrtf.c: Likewise.
9745 * math/w_sqrtl.c: Likewise.
9746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9747 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9748 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9749 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9750 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9751
ebaf36eb
JM
97522012-02-19 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #9739]
9755 * manual/string.texi (strnlen): Use correct parameter name in
9756 equivalent expression.
9757
71c254a6
JM
97582012-02-19 Joseph Myers <joseph@codesourcery.com>
9759
9760 [BZ #11174]
9761 * manual/users.texi (seteuid): Consistently use neweuid for
9762 argument name.
9763
16d2c631
JM
97642012-02-19 Joseph Myers <joseph@codesourcery.com>
9765
9766 [BZ #13704]
9767 * manual/nss.texi (Services in the NSS configuration): Correct
9768 list of services in example configuration file.
9769
cd837b09
NB
97702012-02-19 Nick Bowler <nbowler@draconx.ca>
9771
9772 [BZ #11322]
9773 * manual/arith.texi: Remove statements about negative zero
9774 behaving identically to zero.
9775
02c4bbad
JM
97762012-02-18 Joseph Myers <joseph@codesourcery.com>
9777
9778 [BZ #5993]
9779 * manual/install.texi: Do not document upgrading from libc5.
9780
366842e7
JM
97812012-02-18 Joseph Myers <joseph@codesourcery.com>
9782
9783 [BZ #4596]
9784 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9785
dd54084d
DM
97862012-02-18 David S. Miller <davem@davemloft.net>
9787
9788 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9789 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9790 %o7 across the call.
9791 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9792 instead.
9793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9794 SETUP_PIC_REG_LEAF.
9795 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9796 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9797 * sysdeps/sparc/crtn.S: Likewise.
9798
2bcc53a3
UD
97992012-02-17 Ulrich Drepper <drepper@gmail.com>
9800
9801 * aout/Makefile: Remove.
9802
09c093b5
RK
98032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9804
9805 [BZ #13058]
9806 * manual/examples/argp-ex1.c (main): Format definition in GNU
9807 style.
9808 * manual/examples/argp-ex2.c (main): Likewise.
9809 * manual/examples/argp-ex3.c (main): Likewise.
9810 * manual/examples/argp-ex4.c (main): Likewise.
9811 * manual/examples/longopt.c (main): Use new-style prototype
9812 definition.
9813 * manual/examples/strncat.c (main): Specify return type and use
9814 (void) for arguments.
9815 * manual/examples/subopt.c (main): Use char **argv argument.
9816
2ee633a2
JM
98172012-02-17 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #5077]
9820 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9821 rounding modes.
9822
0520adde
FB
98232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9824
9825 [BZ #6907]
9826 * manual/string.texi (strchr): Change when strchrnul is
9827 recommended.
9828
3f4081cd
DGM
98292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9830
9831 [BZ #174]
9832 * manual/locale.texi (setlocale): Document LOCPATH.
9833
d1b10e78
JM
98342012-02-17 Joseph Myers <joseph@codesourcery.com>
9835
9836 [BZ #10210]
9837 * manual/process.texi (execle): Move @dots{} before last argument.
9838
79c6869c
PB
98392012-02-17 Paul Bolle <pebolle@tiscali.nl>
9840
9841 [BZ #12047]
9842 * manual/charset.texi (Generic Charset Conversion): Fix typo
9843 (LC_TYPE -> LC_CTYPE).
9844
cc6e48bc
NB
98452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9846
9847 [BZ #5805]
9848 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9849 (scalbnf): Likewise.
9850 (scalbnl): Likewise.
9851 (scalbln): Likewise.
9852 (scalblnf): Likewise.
9853 (scalblnl): Likewise.
9854 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9855 (vwarnx): Likewise.
9856 (verr): Likewise.
9857 (verrx): Likewise.
9858 * manual/filesys.texi (telldir): Use braces around return type.
9859 * manual/llio.texi (mmap): Add space after comma.
9860 (mmap64): Likewise.
9861 * manual/math.texi (jn): Use @var{} on parameter names.
9862 (jnf): Likewise.
9863 (jnl): Likewise.
9864 (yn): Likewise.
9865 (ynf): Likewise.
9866 (ynl): Likewise.
9867 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9868 line.
9869 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9870 "...".
9871 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9872 (sched_get_priority_max): Likewise.
9873 * manual/signal.texi (sigvec): Add space after comma.
9874 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9875 names.
9876 (if_indextoname): Likewise.
9877 (if_freenameindex): Likewise.
9878 (sendto): Use ',' instead of '.' in prototype.
9879 * manual/startup.texi (syscall): Use @dots{} instead of literal
9880 "...".
9881 * manual/stdio.texi (__fpending): Separate initial words of
9882 paragraph from @deftypefun line.
9883 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9884 "...".
9885 (vsyslog): Use @var{} on parameter names.
9886 * manual/terminal.texi (stty): Use @var{} on parameter names.
9887 * manual/users.texi (getutmp): Use @var{} on parameter names.
9888 (getutmpx): Likewise.
9889
5b23062f
JM
98902012-02-17 Joseph Myers <joseph@codesourcery.com>
9891
9892 [BZ #6884]
9893 * manual/stdio.texi (fopen): Fix typos in description of
9894 ",ccs=STRING".
9895
8dee4833
AJ
98962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9897
9898 [BZ #4026]
9899 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9900 get clock_id definition.
9901
9078ce93
TS
99022012-02-17 Thomas Schwinge <thomas@schwinge.name>
9903
9904 [BZ #4822]
9905 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9906 (madvise): Cast every argument to void on its own.
9907
3835c55f
JM
99082012-02-17 Joseph Myers <joseph@codesourcery.com>
9909
9910 [BZ #9902]
9911 * manual/startup.texi (Exit Status): Fix typo.
9912
35c47e37
JM
99132012-02-17 Joseph Myers <joseph@codesourcery.com>
9914
9915 [BZ #10140]
9916 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9917 * manual/examples/argp-ex2.c: Likewise.
9918 * manual/examples/argp-ex3.c: Likewise.
9919
e3b69ca7
RH
99202012-02-16 Richard Henderson <rth@redhat.com>
9921
9922 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9923 * sysdeps/s390/s390-32/initfini.c: Remove.
9924 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9925 * sysdeps/s390/s390-64/initfini.c: Remove.
9926
df83af67
KK
99272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9928
9929 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9930 compiler output for sysdeps/generic/initfini.c.
9931 * sysdeps/sh/elf/initfini.c: Remove file.
9932
f63f3380
DM
99332012-02-16 David S. Miller <davem@davemloft.net>
9934
fb59b3a4
DM
9935 [BZ #11494]
9936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9937
f63f3380
DM
9938 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9939 * sysdeps/sparc/crti.S: New file.
9940 * sysdeps/sparc/crtn.S: New file.
9941 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9942 * sysdeps/sparc/sparc64/Makefile: Likewise.
9943
df6a4a4a
MF
99442012-02-15 Mike Frysinger <vapier@gentoo.org>
9945
6dd8f3dc 9946 [BZ #3335]
df6a4a4a
MF
9947 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9948
1cac7236
RM
99492012-02-15 Roland McGrath <roland@hack.frob.com>
9950
d2c736f8
RM
9951 [BZ #4822]
9952 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9953
1cac7236
RM
9954 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9955 (write, read, close): Likewise.
9956 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9957
8e475601
JM
99582012-02-15 Joseph Myers <joseph@codesourcery.com>
9959
9960 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9961 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9962 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9963 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9964 <bits/signalfd.h>.
9965 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9967 bits/signalfd.h.
9968
ed656b40
MP
99692012-02-14 Marek Polacek <polacek@redhat.com>
9970
9971 * sysdeps/x86_64/crti.S: New file.
9972 * sysdeps/x86_64/crtn.S: New file.
9973 * sysdeps/x86_64/elf/initfini.c: Remove file.
9974
2a979d3a
JM
99752012-02-13 Joseph Myers <joseph@codesourcery.com>
9976
9977 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9978 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9979 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9980 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9981 <bits/inotify.h>.
9982 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9984 bits/inotify.h.
9985
2a418ac3
JM
99862012-02-13 Joseph Myers <joseph@codesourcery.com>
9987
9988 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9989 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9990 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9991 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9992 <bits/eventfd.h>.
9993 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9995 bits/eventfd.h.
9996
fb779be7
TS
99972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9998
e19e83c5
RM
9999 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
10000 __feraiseexcept instead of feraiseexcept.
7c35ffed 10001
fb779be7
TS
10002 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
10003 nanosleep invocations.
10004 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
10005 strings, and add error checking for a nanosleep invocations.
10006
59ba27a6
PE
100072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
10008
10009 Replace FSF snail mail address with URLs, as per GNU coding standards.
10010 Most of the snail mail addresses were wrong anyway, and omitting
10011 them makes the source code easier to maintain. Almost all of the
10012 changes are to license notices and to locale LC_IDENTIFICATION
10013 addresses, except for this one:
10014 * manual/libc.texinfo: In "Published by", give the FSF's URL,
10015 not its snail mail address.
10016
57b957eb
RH
100172012-02-09 Richard Henderson <rth@twiddle.net>
10018
af850b1c
RH
10019 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
10020 of kernel-features.h.
10021
57b957eb
RH
10022 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
10023
6b73181a
MP
100242012-02-08 Marek Polacek <polacek@redhat.com>
10025
10026 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10027 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10028 * sysdeps/gnu/_G_config.h: Likewise.
10029 * sysdeps/generic/_G_config.h: Likewise.
10030
26ecc33a
AS
100312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10032
6c6dbc63
AS
10033 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10034 tests.
10035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10036
e216c012
AS
10037 * sysdeps/powerpc/powerpc32/crti.S: New file.
10038 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10039 * sysdeps/powerpc/powerpc64/crti.S: New file.
10040 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10041
26ecc33a
AS
10042 * Makeconfig (have-initfini): Don't set.
10043 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10044 * configure.in (nopic_initfini): Don't substitute.
10045 * config.h.in (HAVE_INITFINI): Don't #undef.
10046 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10047 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10048
3add8e13
JM
100492012-02-08 Joseph Myers <joseph@codesourcery.com>
10050
10051 Support crti.S and crtn.S provided directly by architectures.
10052 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10053 [crti.S in sysdirs] (omit-deps): Likewise.
10054 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10055 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10056 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10057 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10058 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10059 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10060 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10061 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10062 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10063 compiler output for sysdeps/generic/initfini.c.
10064 * sysdeps/i386/elf/Makefile: Remove file.
10065 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10066
a22f12b4
MP
100672012-02-07 Marek Polacek <polacek@redhat.com>
10068
10069 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10070 * sysdeps/gnu/_G_config.h: Likewise.
10071 * sysdeps/mach/hurd/_G_config.h: Likewise.
10072
148cf100
MP
100732012-02-07 Marek Polacek <polacek@redhat.com>
10074
10075 * math/Makefile (tests): Add tst-CMPLX2.
10076 * math/tst-CMPLX2.c: New file.
10077
cfdc0dd7
AS
100782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10079
84ba42c4
AS
10080 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10081
cfdc0dd7
AS
10082 * math/libm-test.inc (jn_test): Add missing L suffix.
10083
622c86f4
MP
100842012-02-06 Marek Polacek <polacek@redhat.com>
10085
10086 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10087 * sysdeps/i386/fpu/e_powf.S: Likewise.
10088 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10089 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10090 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10091 * sysdeps/i386/fpu/e_pow.S: Likewise.
10092 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10094 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10095 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10096 * sysdeps/i386/fpu/e_log2.S: Likewise.
10097 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10099 * sysdeps/i386/fpu/e_powl.S: Likewise.
10100 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10101 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10102 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10103 * sysdeps/i386/fpu/e_logl.S: Likewise.
10104 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10105 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10106 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10107 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10108 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10109 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10110 * sysdeps/i386/fpu/e_log.S: Likewise.
10111 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10112 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10113 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10114 * sysdeps/i386/fpu/e_logf.S: Likewise.
10115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10116 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10117 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10118 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10119 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10120 * sysdeps/i386/fpu/e_log10.S: Likewise.
10121 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10122 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10123 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10124 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10125 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10126 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10127 * sysdeps/i386/asm-syntax.h: Likewise.
10128 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10129 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10130 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10131 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10132 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10133 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10134 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10135 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10136 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10137 * sysdeps/powerpc/sysdep.h: Likewise.
10138 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10139 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10140
d4a54ac6
JM
101412012-02-06 Joseph Myers <joseph@codesourcery.com>
10142
10143 [BZ #411]
10144 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10145
314054ea
JM
101462012-02-06 Joseph Myers <joseph@codesourcery.com>
10147
10148 * sysdeps/i386/sysdep.h: Include <features.h>.
10149 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10150 version.
10151
d8e0ca50
JM
101522012-02-05 Joseph Myers <joseph@codesourcery.com>
10153
10154 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10155 Define.
10156 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10157 LOAD_PIC_REG_STR.
10158
b1da7dd9
JM
101592012-02-03 Joseph Myers <joseph@codesourcery.com>
10160
10161 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10162 (SETUP_PIC_REG): Use GET_PC_THUNK.
10163 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10164 macro.
10165
9a1d9254
JM
101662012-02-03 Joseph Myers <joseph@codesourcery.com>
10167
10168 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10169 for non-PIC compilation.
10170 (SETUP_PIC_REG): Add .p2align directive.
10171 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10172 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10173 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10174 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10175 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10176 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10178 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10179 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10180 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10181 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10182 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10183 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10184 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10185 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10186 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10187 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10188 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10189 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10190 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10191 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10192 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10193 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10194 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10195 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10197 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10198 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10199 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10200 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10201 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10202 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10203 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10204 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10205 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10206 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10207 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10208 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10209 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10210 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10211 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10212
65dc3b75
JM
102132012-02-03 Joseph Myers <joseph@codesourcery.com>
10214
10215 * math/tst-CMPLX.c: Include <stdio.h>.
10216
d55bf177
JM
102172012-01-31 Joseph Myers <joseph@codesourcery.com>
10218
10219 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10220 float.
10221 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10222 * sysdeps/sparc/bits/mathdef.h: Likewise.
10223
69db4f8f
MP
102242012-01-31 Marek Polacek <polacek@redhat.com>
10225
10226 * libio/libio.h: Don't define _PARAMS.
10227 * locale/programs/config.h: Don't define PARAMS.
10228 * stdlib/strtol_l.c: Likewise.
10229 (__strtol_l): Remove PARAMS from the prototype.
10230
41b81892
UD
102312012-01-31 Ulrich Drepper <drepper@gmail.com>
10232
3b49edc0
UD
10233 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10234 names. Just use the correct names. Remove unnecessary wrapper
10235 functions.
10236 * malloc/arena.c: Likewise.
10237 * malloc/hooks.c: Likewise.
10238
41b81892
UD
10239 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10240 ARENA_TEST says not to. Simplify test for creation of a new arena.
10241 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10242
27a25b6e
UD
102432012-01-30 Ulrich Drepper <drepper@gmail.com>
10244
10245 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10246 into tail calls.
10247 (update_get_addr): New function.
10248 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10249 GET_ADDR_MODULE parameter.
10250
c8a89e7d
JM
102512012-01-30 Joseph Myers <joseph@codesourcery.com>
10252
10253 * crypt/cert.c: Remove __STDC__ conditionals.
10254 * crypt/crypt-entry.c: Likewise.
10255 * crypt/crypt_util.c: Likewise.
10256 * libio/filedoalloc.c: Likewise.
10257 * libio/fileops.c: Likewise.
10258 * libio/genops.c: Likewise.
10259 * libio/iofclose.c: Likewise.
10260 * libio/iofdopen.c: Likewise.
10261 * libio/iofopen.c: Likewise.
10262 * libio/iofopen64.c: Likewise.
10263 * libio/iogetdelim.c: Likewise.
10264 * libio/iopopen.c: Likewise.
10265 * libio/obprintf.c: Likewise.
10266 * libio/oldfileops.c: Likewise.
10267 * libio/oldiofclose.c: Likewise.
10268 * libio/oldiofdopen.c: Likewise.
10269 * libio/oldiofopen.c: Likewise.
10270 * libio/oldiopopen.c: Likewise.
10271 * libio/wfiledoalloc.c: Likewise.
10272 * libio/wgenops.c: Likewise.
10273 * locale/programs/xmalloc.c: Likewise.
10274 * misc/syslog.c: Likewise.
10275 * stdio-common/xbug.c: Likewise.
10276 * string/memchr.c: Likewise.
10277 * string/memcmp.c: Likewise.
10278 * string/memrchr.c: Likewise.
10279 * string/rawmemchr.c: Likewise.
10280 * sysdeps/posix/getcwd.c: Likewise.
10281 * time/strftime_l.c: Likewise.
10282
3b100462
JM
102832012-01-30 Joseph Myers <joseph@codesourcery.com>
10284
10285 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10286 * config.make.in (config-cflags-sse2avx): Define.
10287 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10288 Fix typo.
10289
607998af
CM
102902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10291
10292 * scripts/config.guess: Update from upstream config git repository.
10293 * scripts/config.sub: Likewise.
10294
3601428f
CM
102952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10296
3ac8b282
CM
10297 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10298 (EM_NUM): Update.
10299 (R_TILEPRO_*, R_TILEGX_*): New macros.
10300
e034841e
CM
10301 * scripts/firstversions.awk: Fix bug in version range handling.
10302
540d7568
CM
10303 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10304
3601428f
CM
10305 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10306
463de862
CM
10307 * include/sys/epoll.h: New file.
10308 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10309 libc_hidden_def.
10310
73139a76
UD
103112012-01-28 Ulrich Drepper <drepper@gmail.com>
10312
96bc5b45
UD
10313 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10314 Avoid unnecessary __WORDSIZE == 64 test.
10315 (fmaxf): Use VEX format if possible.
10316 (fmax): Likewise.
10317 (fminf): Likewise.
10318 (fmin): Likewise.
10319
56f6f6a2
UD
10320 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10321 * math/math_private.h: Remove libc_fegetround* and
10322 libc_fesetround*.
10323 * sysdeps/i386/configure.in: Check for -msse2avx.
10324 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10325 also if SSE2AVX is defined.
10326 Remove libc_fegetround* and libc_fesetround*.
10327 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10328 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10330 of HAS_YMM_USABLE.
10331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10332 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10333 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10334 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10335 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10336
73139a76
UD
10337 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10338
d73f93a4
AZ
103392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10340
10341 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10342 size is not set.
10343 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10344
6ee65ed6
UD
103452012-01-27 Ulrich Drepper <drepper@gmail.com>
10346
10347 [BZ #13618]
10348 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10349 relocation.
10350 * Makeconfig (libm): Define.
10351 * elf/Makefile: Add rules to build and run tst-relsort1.
10352 * elf/tst-relsort1.c: New file.
10353 * elf/tst-relsort1mod1.c: New file.
10354 * elf/tst-relsort1mod2.c: New file.
10355
8db21882
JM
103562012-01-27 Joseph Myers <joseph@codesourcery.com>
10357
10358 * math/s_ldexp.c: Remove __STDC__ conditionals.
10359 * math/s_ldexpf.c: Likewise.
10360 * math/s_ldexpl.c: Likewise.
10361 * math/s_nextafter.c: Likewise.
10362 * math/s_nexttowardf.c: Likewise.
10363 * math/s_significand.c: Likewise.
10364 * math/s_significandf.c: Likewise.
10365 * math/s_significandl.c: Likewise.
10366 * math/w_jnl.c: Likewise.
10367 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10368 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10369 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10370 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10371 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10373 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10374 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10375 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10376 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10383 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10386 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10387 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10388 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10389 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10391 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10392 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10393 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10394 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10395 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10396 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10398 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10399 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10401 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10402 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10403 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10404 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10405 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10406 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10407 * sysdeps/ieee754/k_standard.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10440 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10443 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10448 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10457 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10461 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10462 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10463 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10464 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10465 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10466 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10467 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10468 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10469 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10470 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10471 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10473 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10474 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10475 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10476 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10477 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10478 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10479 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10480 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10481 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10482 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10483 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10484 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10485 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10487 * sysdeps/ieee754/s_matherr.c: Likewise.
10488 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10489 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10490 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10491 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10492
965a54a4
JM
104932012-01-26 Joseph Myers <joseph@codesourcery.com>
10494
10495 * crypt/md5.h: Remove __STDC__ conditionals.
10496 * libio/libioP.h: Likewise.
10497 * locale/programs/config.h: Likewise.
10498 * sysdeps/generic/sysdep.h: Likewise.
10499 * sysdeps/i386/asm-syntax.h: Likewise.
10500 * sysdeps/s390/asm-syntax.h: Likewise.
10501 * sysdeps/unix/sysdep.h: Likewise.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10504
7071ad79
JM
105052012-01-26 Joseph Myers <joseph@codesourcery.com>
10506
10507 * libio/libio.h: Remove __STDC__ conditionals.
10508 * malloc/obstack.h: Likewise.
10509 * math/complex.h: Likewise.
10510 * math/math.h: Likewise.
10511 * sysdeps/generic/_G_config.h: Likewise.
10512 * sysdeps/gnu/_G_config.h: Likewise.
10513 * sysdeps/mach/hurd/_G_config.h: Likewise.
10514 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10515 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10516 * sysdeps/sparc/bits/mathdef.h: Likewise.
10517
afc5ed09
UD
105182012-01-26 Ulrich Drepper <drepper@gmail.com>
10519
10520 [BZ #13583]
10521 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10522 Clean up HAS_* macros.
afc5ed09 10523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10524 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10525 possible.
10526 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10527 HAS_AVX.
10528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10533
bdb6de1d
JM
105342012-01-25 Joseph Myers <joseph@codesourcery.com>
10535
10536 * elf/tst-unique3.cc (gets): Remove declaration.
10537 * elf/tst-unique3lib.cc (gets): Likewise.
10538 * elf/tst-unique3lib2.cc (gets): Likewise.
10539 * elf/tst-unique4.cc (gets): Likewise.
10540
b15549e6
UD
105412012-01-24 Ulrich Drepper <drepper@gmail.com>
10542
10543 * include/stdio.h: Add C++ protection. Add gets declarations and
10544 definitions.
10545 * debug/tst-chk1.c: Don't declare gets here.
10546 * stdio-common/tst-gets.c: Likewise.
10547
a037381f
JM
105482012-01-24 Joseph Myers <joseph@codesourcery.com>
10549
10550 * posix/glob: Remove directory.
10551
f1d4aa75
JM
105522012-01-24 Joseph Myers <joseph@codesourcery.com>
10553
10554 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10555
81c0c964
PT
105562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10557
10558 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10559 of the non-standard EPFNOSUPPORT.
10560
0ea698ae
ST
105612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10562
10563 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10564 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10565 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10566
d220b117
UD
105672012-01-21 Ulrich Drepper <drepper@gmail.com>
10568
10569 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10570
3e1aa84e
UD
105712012-01-20 Ulrich Drepper <drepper@gmail.com>
10572
10573 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10574 transient errors.
10575 * nscd/grpcache.c (cache_addgr): Likewise.
10576 * nscd/hstcache.c (cache_addhst): Likewise.
10577 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10578 * nscd/pwdcache.c (cache_addpw): Likewise.
10579 * nscd/servicescache.c (cache_addserv): Likewise.
10580
400aa020
UD
105812012-01-16 Ulrich Drepper <drepper@gmail.com>
10582
d77e7869
UD
10583 * malloc/malloc.c: Various cleanups.
10584 * malloc/hooks.c: Likewise.
10585
400aa020
UD
10586 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10587 * stdlib/bug-fmtmsg1.c: New file.
10588
10589 * stdlib/fmtmsg.c (init): Add missing unlock.
10590 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10591
e0a309cf
MP
105922012-01-12 Marek Polacek <polacek@redhat.com>
10593
10594 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10595 and _GNU_SOURCE.
10596
929d11c7
WS
105972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10598
10599 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10600 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10601 macro to ensure uniqueness of label name.
10602 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10603 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10604
41d0e869
UD
106052012-01-11 Ulrich Drepper <drepper@gmail.com>
10606
0cc5ed3b
UD
10607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10608
41d0e869
UD
10609 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10610 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10613
a47a831a
UD
106142012-01-10 Ulrich Drepper <drepper@gmail.com>
10615
daa891c0
UD
10616 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10617
10618 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10619 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10620 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10621
e58ef0f2
UD
10622 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10623
a47a831a 10624 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10625 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10626 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10628
10629 * math/bits/math-finite.h: Add ldexp support.
10630
a0bfc9c7
MP
106312012-01-10 Marek Polacek <polacek@redhat.com>
10632
10633 * locale/programs/localedef.h (show_archive_content): Add noreturn
10634 attribute.
10635
d6e97a1d
UD
106362012-01-09 Ulrich Drepper <drepper@gmail.com>
10637
10638 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10639
d5835c26
UD
106402012-01-08 Ulrich Drepper <drepper@gmail.com>
10641
e5f484c6
UD
10642 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10643
d5835c26
UD
10644 * io/Makefile (headers): Add bits/poll2.h.
10645
d1f741e9
WS
106462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10647
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10649 typo #include statement.
10650
ec09c1c4
UD
106512012-01-08 Ulrich Drepper <drepper@gmail.com>
10652
10653 * include/sys/cdefs.h: Define __attribute_alloc_size.
10654 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10655 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10656 * elf/pldd.c: Likewise.
10657 * iconv/iconv_charmap.c: Likewise.
10658 * iconv/iconvconfig.c: Likewise.
10659 * iconv/strtab.c: Likewise.
10660 * locale/programs/locale.c: Likewise.
10661 * locale/programs/localedef.h: Likewise.
10662 * locale/programs/simple-hash.c: Likewise.
10663 * nscd/nscd.h: Likewise.
10664 * nss/makedb.c: Likewise.
10665 * sysdeps/generic/ldconfig.h: Likewise.
10666 * locale/programs/localedef.c: Remove xmalloc prototype.
10667 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10668
20b38e03
PP
106692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10670
10671 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10672 appropriate.
10673
a0da5fe1
UD
106742012-01-08 Ulrich Drepper <drepper@gmail.com>
10675
1d5a644a 10676 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10677 * math/tst-CMPLX.c: New file.
1d5a644a 10678
8784a6db
UD
10679 * math/complex.h (CMPLXL): Fix typo.
10680
d9a216c0
UD
10681 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10682 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10683 GLIBC_2.16.
10684 * debug/tst-chk1.c: Add poll and ppoll tests.
10685 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10686 * include/sys/poll.h: Add hidden proto for ppoll.
10687 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10688 * sysdeps/mach/hurd/ppoll.c: Likewise.
10689 * io/ppoll.c: Likewise.
10690 * debug/poll_chk.c: New file.
10691 * debug/ppoll_chk.c: New file.
10692 * include/bits/poll2.h: New file.
10693 * io/bits/poll2.h: New file.
10694
ac097f5c
UD
10695 [BZ #1350]
10696 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10697
2119dcfa
UD
10698 * configure.in: static is always set to yes. Remove.
10699 * config.make.in: Don't set build-static.
10700 * Makeconfig: Remove use of build-static.
10701 * dlfcn/Makefile: Likewise.
10702 * elf/Makefile: Likewise.
10703 * math/Makefile: Likewise.
10704 * misc/Makefile: Likewise.
10705 * nptl/Makefile: Likewise.
10706 * sysdeps/mach/hurd/Makefile: Likewise.
10707
121766a9
UD
10708 * configure.in: PWD_P is not used anymore.
10709 * config.make.in: Remove PWD_P entry.
10710
51a1d39c 10711 * configure.in: Remove last remnants of RANLIB.
8720d066 10712 No need to check for signed size_t anymore.
215f4bdc
UD
10713 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10714 and IA-64.
3857022a 10715 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10716 * aclocal.m4: Likewise.
10717
d3ed7225
UD
10718 * wcsmbs/mbrtoc16.c: Implement using towc function.
10719 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10720 * wcsmbs/wcsmbsload.c: Likewise.
10721 * iconv/gconv_simple.c: Likewise.
10722 * iconv/gconv_int.h: Likewise.
10723 * iconv/gconv_builtin.h: Likewise.
10724 * iconv/iconv_prog.c: Remove CHAR16 handling.
10725
10726 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10727
10728 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10729
a0da5fe1
UD
10730 * configure.in: Remove --with-elf and --enable-bounded options.
10731 Dont set base_machine for ia64. More non-ELF conditions removed.
10732 Remove testing and setting of leading underscore information.
10733 * config.make.in (build-bounded): Set to no.
10734 * config.h.in: Remove NO_UNDERSCORES entry.
10735 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10736 them.
10737 * csu/start.c: Remove !NO_UNDERSCORE code.
10738 * locale/localeinfo.h: Likewise.
10739 * sysdeps/generic/machine-gmon.h: Likewise.
10740 * sysdeps/generic/sysdep.h: Likewise.
10741 * sysdeps/i386/sysdep.h: Likewise.
10742 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10743 * sysdeps/mach/sysdep.h: Likewise.
10744 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10745 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10746 * sysdeps/sh/sysdep.h: Likewise.
10747 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10748 * sysdeps/unix/i386/sysdep.S: Likewise.
10749 * sysdeps/unix/sparc/start.c: Likewise.
10750 * sysdeps/unix/sparc/sysdep.S: Likewise.
10751 * sysdeps/unix/sparc/sysdep.h: Likewise.
10752 * sysdeps/unix/start.c: Likewise.
10753 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10754 * sysdeps/x86_64/sysdep.h: Likewise.
10755
df78418a
UD
107562012-01-07 Ulrich Drepper <drepper@gmail.com>
10757
a784e502
UD
10758 [BZ #13553]
10759 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10760 for non-gcc.
10761 * argp/argp-fmtstream.h: Use const instead __const.
10762 * argp/argp.h: Likewise.
10763 * assert/assert.h: Likewise.
10764 * bits/fenv.h: Likewise.
10765 * bits/sched.h: Likewise.
10766 * bits/sigset.h: Likewise.
10767 * bits/sigthread.h: Likewise.
10768 * catgets/nl_types.h: Likewise.
10769 * conform/data/pthread.h-data: Likewise.
10770 * crypt/crypt-private.h: Likewise.
10771 * crypt/crypt.h: Likewise.
10772 * crypt/crypt_util.c: Likewise.
10773 * ctype/ctype.h: Likewise.
10774 * debug/execinfo.h: Likewise.
10775 * debug/mbsnrtowcs_chk.c: Likewise.
10776 * debug/mbsrtowcs_chk.c: Likewise.
10777 * debug/wcsnrtombs_chk.c: Likewise.
10778 * debug/wcsrtombs_chk.c: Likewise.
10779 * debug/wcstombs_chk.c: Likewise.
10780 * dirent/dirent.h: Likewise.
10781 * dlfcn/dlfcn.h: Likewise.
10782 * elf/neededtest4.c: Likewise.
10783 * grp/grp.h: Likewise.
10784 * gshadow/gshadow.h: Likewise.
10785 * iconv/gconv.h: Likewise.
10786 * iconv/gconv_int.h: Likewise.
10787 * iconv/gconv_simple.c: Likewise.
10788 * iconv/iconv.h: Likewise.
10789 * iconv/loop.c: Likewise.
10790 * iconv/skeleton.c: Likewise.
10791 * include/aio.h: Likewise.
10792 * include/aliases.h: Likewise.
10793 * include/argz.h: Likewise.
10794 * include/arpa/inet.h: Likewise.
10795 * include/assert.h: Likewise.
10796 * include/dirent.h: Likewise.
10797 * include/dlfcn.h: Likewise.
10798 * include/execinfo.h: Likewise.
10799 * include/fcntl.h: Likewise.
10800 * include/fenv.h: Likewise.
10801 * include/glob.h: Likewise.
10802 * include/grp.h: Likewise.
10803 * include/libintl.h: Likewise.
10804 * include/mntent.h: Likewise.
10805 * include/netdb.h: Likewise.
10806 * include/pwd.h: Likewise.
10807 * include/rpc/netdb.h: Likewise.
10808 * include/sched.h: Likewise.
10809 * include/search.h: Likewise.
10810 * include/shadow.h: Likewise.
10811 * include/signal.h: Likewise.
10812 * include/stdio.h: Likewise.
10813 * include/stdlib.h: Likewise.
10814 * include/string.h: Likewise.
10815 * include/sys/socket.h: Likewise.
10816 * include/sys/stat.h: Likewise.
10817 * include/sys/statfs.h: Likewise.
10818 * include/sys/statvfs.h: Likewise.
10819 * include/sys/syslog.h: Likewise.
10820 * include/sys/time.h: Likewise.
10821 * include/sys/uio.h: Likewise.
10822 * include/time.h: Likewise.
10823 * include/unistd.h: Likewise.
10824 * include/utmp.h: Likewise.
10825 * include/wchar.h: Likewise.
10826 * include/wctype.h: Likewise.
10827 * inet/aliases.h: Likewise.
10828 * inet/arpa/inet.h: Likewise.
10829 * inet/netinet/ether.h: Likewise.
10830 * inet/netinet/in.h: Likewise.
10831 * intl/libintl.h: Likewise.
10832 * io/bits/fcntl2.h: Likewise.
10833 * io/fcntl.h: Likewise.
10834 * io/ftw.h: Likewise.
10835 * io/sys/poll.h: Likewise.
10836 * io/sys/stat.h: Likewise.
10837 * io/sys/statfs.h: Likewise.
10838 * io/sys/statvfs.h: Likewise.
10839 * io/utime.h: Likewise.
10840 * libio/bits/stdio.h: Likewise.
10841 * libio/bits/stdio2.h: Likewise.
10842 * libio/libio.h: Likewise.
10843 * libio/libioP.h: Likewise.
10844 * libio/stdio.h: Likewise.
10845 * locale/lc-ctype.c: Likewise.
10846 * locale/locale.h: Likewise.
10847 * login/utmp.h: Likewise.
10848 * malloc/arena.c: Likewise.
10849 * malloc/malloc.c: Likewise.
10850 * malloc/malloc.h: Likewise.
10851 * malloc/mcheck.c: Likewise.
10852 * malloc/mtrace.c: Likewise.
10853 * math/bits/mathcalls.h: Likewise.
10854 * math/fenv.h: Likewise.
10855 * math/math_private.h: Likewise.
10856 * misc/bits/error.h: Likewise.
10857 * misc/bits/syslog.h: Likewise.
10858 * misc/err.h: Likewise.
10859 * misc/error.h: Likewise.
10860 * misc/fstab.h: Likewise.
10861 * misc/mntent.h: Likewise.
10862 * misc/regexp.h: Likewise.
10863 * misc/search.h: Likewise.
10864 * misc/sgtty.h: Likewise.
10865 * misc/sys/mman.h: Likewise.
10866 * misc/sys/syslog.h: Likewise.
10867 * misc/sys/uio.h: Likewise.
10868 * misc/sys/xattr.h: Likewise.
10869 * misc/ttyent.h: Likewise.
10870 * nis/rpcsvc/ypclnt.h: Likewise.
10871 * nss/nss.h: Likewise.
10872 * posix/bits/unistd.h: Likewise.
10873 * posix/fnmatch.h: Likewise.
10874 * posix/glob.h: Likewise.
10875 * posix/sched.h: Likewise.
10876 * posix/spawn.h: Likewise.
10877 * posix/sys/wait.h: Likewise.
10878 * posix/unistd.h: Likewise.
10879 * posix/wordexp.h: Likewise.
10880 * pwd/pwd.h: Likewise.
10881 * resolv/netdb.h: Likewise.
10882 * resource/sys/resource.h: Likewise.
10883 * rt/aio.h: Likewise.
10884 * rt/bits/mqueue2.h: Likewise.
10885 * rt/mqueue.h: Likewise.
10886 * shadow/shadow.h: Likewise.
10887 * signal/signal.h: Likewise.
10888 * socket/send.c: Likewise.
10889 * socket/sendto.c: Likewise.
10890 * socket/sys/socket.h: Likewise.
10891 * stdio-common/printf.h: Likewise.
10892 * stdlib/bits/stdlib.h: Likewise.
10893 * stdlib/fmtmsg.h: Likewise.
10894 * stdlib/monetary.h: Likewise.
10895 * stdlib/stdlib.h: Likewise.
10896 * stdlib/ucontext.h: Likewise.
10897 * streams/stropts.h: Likewise.
10898 * string/argz.h: Likewise.
10899 * string/bits/string2.h: Likewise.
10900 * string/string.h: Likewise.
10901 * string/strings.h: Likewise.
10902 * sunrpc/rpc/auth.h: Likewise.
10903 * sunrpc/rpc/auth_des.h: Likewise.
10904 * sunrpc/rpc/clnt.h: Likewise.
10905 * sunrpc/rpc/netdb.h: Likewise.
10906 * sunrpc/rpc/pmap_clnt.h: Likewise.
10907 * sunrpc/rpc/xdr.h: Likewise.
10908 * sysdeps/generic/inttypes.h: Likewise.
10909 * sysdeps/generic/net/if.h: Likewise.
10910 * sysdeps/generic/sys/swap.h: Likewise.
10911 * sysdeps/gnu/net/if.h: Likewise.
10912 * sysdeps/gnu/utmpx.h: Likewise.
10913 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10914 * sysdeps/i386/i486/bits/string.h: Likewise.
10915 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10916 * sysdeps/s390/bits/string.h: Likewise.
10917 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10918 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10919 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10920 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10921 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10922 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10923 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10924 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10925 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10926 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10927 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10928 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10929 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10930 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10931 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10932 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10933 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10935 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10936 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10938 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10939 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10940 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10941 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10942 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10944 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10945 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10946 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10947 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10948 * sysvipc/sys/ipc.h: Likewise.
10949 * sysvipc/sys/msg.h: Likewise.
10950 * sysvipc/sys/sem.h: Likewise.
10951 * sysvipc/sys/shm.h: Likewise.
10952 * termios/termios.h: Likewise.
10953 * time/sys/time.h: Likewise.
10954 * time/time.h: Likewise.
10955 * wcsmbs/bits/wchar2.h: Likewise.
10956 * wcsmbs/uchar.h: Likewise.
10957 * wcsmbs/wchar.h: Likewise.
10958 * wctype/wctype.h: Likewise.
10959
0269750c
UD
10960 [BZ #13551]
10961 * Makeconfig: Remove all but ELF support including AIX support.
10962 * Makerules: Likewise.
10963 * config.h.in: Likewise.
10964 * config.make.in: Likewise.
10965 * configure: Likewise.
10966 * configure.in: Likewise.
10967 * csu/Makefile: Likewise.
10968 * csu/version.c: Likewise.
10969 * debug/Makefile: Likewise.
10970 * dlfcn/Makefile: Likewise.
10971 * elf/Makefile: Likewise.
10972 * extra-lib.mk: Likewise.
10973 * iconv/Makefile: Likewise.
10974 * include/libc-symbols.h: Likewise.
10975 * include/shlib-compat.h: Likewise.
10976 * resolv/Makefile: Likewise.
10977 * resolv/res_libc.c: Likewise.
10978 * rt/Makefile: Likewise.
10979 * sysdeps/i386/asm-syntax.h: Likewise.
10980 * sysdeps/i386/sysdep.h: Likewise.
10981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10982 * sysdeps/mach/sysdep.h: Likewise.
10983 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10984 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10985 * sysdeps/s390/asm-syntax.h: Likewise.
10986 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10987 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10988 * sysdeps/sh/sysdep.h: Likewise.
10989 * sysdeps/unix/sparc/sysdep.h: Likewise.
10990 * sysdeps/wordsize-32/divdi3.c: Likewise.
10991 * sysdeps/x86_64/sysdep.h: Likewise.
10992
00bbd29b
UD
10993 * argp/Versions: Remove _argp_unlock_xxx.
10994
10995 [BZ #13559]
10996 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10997 * abilist/libBrokenLocale.abilist: Likewise.
10998 * abilist/libanl.abilist: Likewise.
10999 * abilist/libc.abilist: Likewise.
11000 * abilist/libcrypt.abilist: Likewise.
11001 * abilist/libdl.abilist: Likewise.
11002 * abilist/libm.abilist: Likewise.
11003 * abilist/libnsl.abilist: Likewise.
11004 * abilist/libpthread.abilist: Likewise.
11005 * abilist/libresolv.abilist: Likewise.
11006 * abilist/librt.abilist: Likewise.
11007 * abilist/libthread_db.abilist: Likewise.
11008 * abilist/libutil.abilist: Likewise.
11009 * abilist/libnss_db.abilist: New file.
11010
11011 * scripts/abilist.awk: Add support for indirect functions.
11012
a2693a0e
UD
11013 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
11014
3f05895f
UD
11015 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
11016
ecb6fb48
UD
11017 * shlib-versions: Remove entries for ports architectures.
11018
664f8cb9
UD
11019 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
11020 files in ports.
11021 * elf/stackguard-macros.h: Remove support for IA-64.
11022 * elf/tst-auditmod1.c: Likewise.
11023 * sysdeps/generic/ldsodefs.h: Likewise.
11024
7ae81d88
UD
11025 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11026 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11027 configure files.
11028
bdeba135
UD
11029 [BZ #13552]
11030 * configure.in: Remove --enable-omitfp support.
11031 * FAQ.in: Adjust.
11032 * config.make.in: Likewise.
11033 * Makeconfig: Likewise.
11034 * manual/install.texi: Likewise.
11035
d75a0a62
UD
11036 In case anyone cares, the IA-64 architecture could move to ports.
11037 * sysdeps/ia64/*: Removed.
11038 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11039 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11040
dcc9756b
UD
11041 [BZ #13555]
11042 * configure.in: Remove entries for unsupported architectures.
11043
d3761ebc 11044 [BZ #13533]
9954432e
UD
11045 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11046 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11047 routines.
11048 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11049 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11050 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11051 fall back to using wcrtomb.
11052 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11053 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11054 renaming.
11055 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11056 * wcsmbs/tst-c16c32-1.c: New file.
11057
11058 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11059 local variable.
11060
c3a87236
UD
11061 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11062
28926a1b
UD
11063 * elf/tst-unique3.cc: Add explicit declaration of gets.
11064 * elf/tst-unique3lib.cc: Likewise.
11065 * elf/tst-unique3lib2.cc: Likewise.
11066 * elf/tst-unique4.cc: Likewise.
11067
df78418a
UD
11068 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11069
8ecd6b2a
JM
110702012-01-06 Joseph Myers <joseph@codesourcery.com>
11071
11072 [BZ #13566]
11073 * assert/assert.h (static_assert): Don't define for C++.
11074 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11075 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11076
9f115170
UD
110772012-01-03 Ulrich Drepper <drepper@gmail.com>
11078
5e0d0300
UD
11079 * iconv/loop.c (single loop): Fix assertion in storing of
11080 remaining bytes.
11081
9f115170
UD
11082 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11083
81fb02b0
UD
110842012-01-01 Ulrich Drepper <drepper@gmail.com>
11085
11086 * posix/getconf.c: Update copyright year.
11087 * nss/getent.c: Likewise.
a316c1f6 11088 * nss/makedb.c: Likewise.
81fb02b0
UD
11089 * iconv/iconvconfig.c: Likewise.
11090 * iconv/iconv_prog.c: Likewise.
11091 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11092 * elf/pldd.c: Likewise.
11093 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11094 * catgets/gencat.c: Likewise.
11095 * csu/version.c: Likewise.
11096 * elf/ldd.bash.in: Likewise.
11097 * elf/sprof.c (print_version): Likewise.
11098 * locale/programs/locale.c: Likewise.
11099 * locale/programs/localedef.c: Likewise.
a316c1f6 11100 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11101 * nscd/nscd.c (print_version): Likewise.
11102 * debug/xtrace.sh: Likewise.
11103 * malloc/memusage.sh: Likewise.
11104 * malloc/mtrace.pl: Likewise.
11105 * debug/catchsegv.sh: Likewise.
11106
2ba92745
JJ
111072011-12-30 Jakub Jelinek <jakub@redhat.com>
11108
11109 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11110 pure attribute.
11111
dadebdae
UD
111122011-12-24 Ulrich Drepper <drepper@gmail.com>
11113
d3761ebc 11114 [BZ #13533]
db6af3eb
UD
11115 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11116 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11117 transformations.
11118 * iconv/gconv_int.h: Likewise.
11119 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11120 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11121 from libc for GLIBC_2.16.
11122 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11123 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11124 * wcsmbs/uchar.h: Really define mbstate_t.
11125 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11126 * wcsmbs/c16rtomb.c: New file.
11127 * wcsmbs/mbrtoc16.c: New file.
11128 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11129 for C/POSIX locale.
11130 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11131 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11132
dadebdae
UD
11133 * wcsmbs/wchar.h: Add missing __restrict.
11134
67371b56
UD
111352011-12-23 Ulrich Drepper <drepper@gmail.com>
11136
74033a25
UD
11137 [BZ #13532]
11138 * time/Makefile (routines): Add timespec_get.
11139 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11140 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11141 timespec for ISO C11.
11142 * time/timespec_get.c: New file.
11143 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11144 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11145
380d7e87
UD
11146 [BZ #13531]
11147 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11148 * stdlib/stdlib.h: Declare aligned_alloc.
11149 * Versions.def: Add GLIBC_2.16 for libc.
11150 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11151
4e9e7a35
UD
11152 [BZ 13527]
11153 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11154 ISO C11.
11155
380d7e87 11156 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11157 code.
11158
03a71829
UD
11159 [BZ #13528]
11160 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11161
839e283e
UD
11162 [BZ #13529]
11163 * assert/assert.h (static_assert): Define.
11164
ce5294e2 11165 * version.h: Update for 2.16 development version.
90fa7312 11166
8d44e150 11167 [BZ #13526]
d7809905
UD
11168 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11169 _ISOC11_SOURCE.
11170
c0da14cd
UD
11171 * version.h (RELEASE): Bump for 2.15 release.
11172 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11173
530a3249
MP
11174 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11175 Patch by Marek Polacek <mpolacek@redhat.com>.
11176
67371b56
UD
11177 * bits/byteswap.h: Protect long long constants with __extension__.
11178 * sysdeps/i386/bits/byteswap.h: Likewise.
11179 * sysdeps/ia64/bits/byteswap.h: Likewise.
11180 * sysdeps/s390/bits/byteswap.h: Likewise.
11181 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11182
15db4de1
LD
111832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11184
11185 [BZ #13540]
bbe315ea
LD
11186 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11187 destination buffer.
15db4de1
LD
11188 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11189
2b2596b1
MP
111902011-12-23 Marek Polacek <polacek@redhat.com>
11191
11192 * elf/dl-addr.c (determine_info): Add inline keyword.
11193 * elf/tst-auditmod4b.c (check_avx): Likewise.
11194 * elf/tst-auditmod6b.c (check_avx): Likewise.
11195 * elf/tst-auditmod6c.c (check_avx): Likewise.
11196 * elf/tst-auditmod7b.c (check_avx): Likewise.
11197
70c6c246
UD
111982011-12-23 Ulrich Drepper <drepper@gmail.com>
11199
11200 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11201 !__SSE_MATH__.
11202
c044cf14
LD
112032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11204
15db4de1 11205 [BZ #13540]
c044cf14
LD
11206 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11207 processing for last bytes.
11208
6b13d9d9
BH
112092011-08-06 Bruno Haible <bruno@clisp.org>
11210
d455f537
BH
11211 [BZ #13061]
11212 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11213 U+0385, not to U+1FEE.
11214
6b13d9d9
BH
11215 [BZ #13062]
11216 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11217 entry for U+00A5 U+0301.
11218
db910efd
UD
112192011-12-22 Ulrich Drepper <drepper@gmail.com>
11220
27deeafc
UD
11221 [BZ #13166]
11222 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11223 buffer for the output is too small.
11224
aed9d171
UD
11225 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11226 optimization.
11227
db910efd
UD
11228 [BZ #13185]
11229 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11230 SSE flags if possible.
11231
2bd779ae
LD
112322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11233
e7f9dac3 11234 [BZ #13540]
2bd779ae
LD
11235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11236 processing for last bytes.
11237
154bfc16
JM
112382011-12-22 Joseph Myers <joseph@codesourcery.com>
11239
11240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11241 (syscall-list-default-options, syscall-list-default-condition)
11242 (syscall-list-includes): Define.
11243 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11244 list of ABIs and options and #if conditions for each ABI. Do not
11245 handle common syscalls between ABIs specially.
11246 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11247 Remove.
11248 (syscall-list-variants, syscall-list-32bit-options)
11249 (syscall-list-32bit-condition, syscall-list-64bit-options)
11250 (syscall-list-64bit-condition): Define.
11251 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11252 (syscall-list-variants, syscall-list-32bit-options)
11253 (syscall-list-32bit-condition, syscall-list-64bit-options)
11254 (syscall-list-64bit-condition): Define.
11255 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11256 Remove.
11257 (syscall-list-variants, syscall-list-32bit-options)
11258 (syscall-list-32bit-condition, syscall-list-64bit-options)
11259 (syscall-list-64bit-condition): Define.
11260 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11261 Remove.
11262 (syscall-list-variants, syscall-list-32bit-options)
11263 (syscall-list-32bit-condition, syscall-list-64bit-options)
11264 (syscall-list-64bit-condition): Define.
11265
21eaf3a5
UD
112662011-12-22 Ulrich Drepper <drepper@gmail.com>
11267
16c6f992
UD
11268 * locale/iso-639.def: Add brx entry.
11269
41043168
UD
11270 [BZ #13328]
11271 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11272 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11273
21eaf3a5
UD
11274 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11275 __feraiseexcept_renamed.
11276
e3a851a2
UD
112772011-12-21 Ulrich Drepper <drepper@gmail.com>
11278
4920765e
UD
11279 [BZ #13538]
11280 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11281 EPOLLET with unsigned values.
11282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11284
e3a851a2
UD
11285 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11286 to large cancellation.
11287 * math/s_cacoshf.c: Likewise.
11288 * math/s_cacoshl.c: Likewise.
11289
b27e24b8
RK
112902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11291
11292 [BZ #13305]
aebefeee 11293 [BZ #12786]
b27e24b8
RK
11294 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11295 * math/s_cacoshf.c: Likewise.
11296 * math/s_cacoshl.c: Likewise.
11297
ee190f67
UD
112982011-12-21 Ulrich Drepper <drepper@gmail.com>
11299
11300 [BZ #13439]
11301 * iconv/gconv.h: Define __GCONV_SWAP.
11302 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11303 * iconvdata/utf-16.c: Likewise.
11304 * iconvdata/utf-32.c: Likewise.
11305
707f25df
AS
113062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11307
11308 [BZ #13524]
11309 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11310 numerator after shifting it by one limb.
11311
d2daaa1e
RÁE
113122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11313
11314 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11315 under [__USE_EXTERN_INLINES].
11316
a4647e72
UD
113172011-12-17 Ulrich Drepper <drepper@gmail.com>
11318
11319 [BZ #13446]
11320 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11321
f0b264f1
AZ
113222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323
11324 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11325 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11326 optimized code.
11327 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11328 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11329 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11330 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11331 for strncasecmp/strncasecmp_l compilation.
11332 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11333 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11334
8ef4f244
MP
113352011-12-08 Marek Polacek <mpolacek@redhat.com>
11336
11337 [BZ #13484]
11338 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11339 of __asm__.
11340
97ac2654
UD
113412011-12-17 Ulrich Drepper <drepper@gmail.com>
11342
11343 [BZ #13506]
11344 * time/tzfile.c (__tzfile_read): Check values from file header.
11345
91d2a845
WS
113462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11347
11348 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11349 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11350 * powerpc/powerpc32/dl-start.S: Likewise.
11351 * powerpc/powerpc32/elf/start.S: Likewise.
11352 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11353 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11354 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11355 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11356 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11357 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11358 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11359 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11360 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11361 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11362 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11363 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11364 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11365 * powerpc/powerpc32/memset.S: Likewise.
11366 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11367 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11368 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11369 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11370 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11371 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11372 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11373 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11374 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11375 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11376 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11377 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11378 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11379
a1267ba1
AZ
113802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11381
11382 * math/libm-test.inc: Added more nearbyint tests.
11383 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11384 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11385 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11386 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11387
ad8ac1bd
RL
113882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11389
11390 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11391 FD_CLOEXEC.
11392
1d3e4b61
UD
113932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11394
11395 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11396 Add wcscpy-ssse3 wcscpy-c.
11397 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11398 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11399 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11400 * sysdeps/x86_64/wcschr.S: New file.
11401 * sysdeps/x86_64/wcsrchr.S: New file.
11402 * string/test-strcmp.c: Remove checking of wcscmp function for
11403 wrong alignments.
11404 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11405 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11406 wcsrchr-sse2 wcsrchr-c.
11407 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11408 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11409 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11410 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11411 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11412 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11413 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11414 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11415 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11416 * wcsmbc/wcschr.c (WCSCHR): New macro.
11417
5b330a2d
UD
114182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11419
11420 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11421 * wcsmbs/test-wcsrchr.c: New file.
11422 * string/test-strrchr.c: Add wcsrchr support.
11423 (WIDE): New macro.
11424 * wcsmbs/test-wcscpy.c: New file.
11425 * string/test-strcpy.c: Add wcscpy support.
11426 (WIDE): New macro.
26428b7c 11427
f039c043
UD
114282011-12-10 Ulrich Drepper <drepper@gmail.com>
11429
11430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11431 the inner loop.
11432
850fb039
AS
114332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11434
11435 [BZ #13472]
11436 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11437
4efbd5cb
UD
114382011-12-04 Ulrich Drepper <drepper@gmail.com>
11439
52ff5dd0 11440 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11441 Minor optimizations.
52ff5dd0 11442
4efbd5cb
UD
11443 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11444 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11445 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11446
8a426e12
UD
114472011-12-03 Ulrich Drepper <drepper@gmail.com>
11448
aff2453d
UD
11449 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11450 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11451 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11452 for gcc to avoid warnings.
11453 * inet/Makefile (tests): Add tst-checks.
11454 * inet/tst-checks.c: New file.
11455
11456 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11457 warning.
11458
11459 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11460 __wmemcmp_sse2.
11461
11462 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11463 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11464
8a426e12
UD
11465 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11466
9bea3473
UD
114672011-12-02 Ulrich Drepper <drepper@gmail.com>
11468
3a965496
UD
11469 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11470 problem.
11471
9bea3473
UD
11472 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11473
f101631b
UD
114742011-11-29 Joseph Myers <joseph@codesourcery.com>
11475
11476 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11477 conditional on GCC version.
11478 (__arch_compare_and_exchange_val_8_acq)
11479 (__arch_compare_and_exchange_val_16_acq)
11480 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11481 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11482 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11483
a98275aa
UD
114842011-12-02 Joseph Myers <joseph@codesourcery.com>
11485
11486 * sysdeps/sh/backtrace.c: New file.
11487
d4cc29a2
AS
114882011-12-02 Andreas Schwab <schwab@redhat.com>
11489
11490 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11491 parenthesis.
11492
6257af2d
AS
114932011-12-01 Andreas Schwab <schwab@redhat.com>
11494
11495 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11496 falling back to utime.
11497
b5f44c1a
AS
114982011-11-30 Andreas Schwab <schwab@redhat.com>
11499
11500 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11501 expectations for float.
11502
f3a6cc0a
AS
115032011-11-29 Andreas Schwab <schwab@redhat.com>
11504
11505 * locale/weight.h (findidx): Add parameter len.
11506 * locale/weightwc.h (findidx): Likewise.
11507 * posix/fnmatch_loop.c (FCT): Adjust caller.
11508 * posix/regcomp.c (build_equiv_class): Likewise.
11509 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11510 * posix/regexec.c (check_node_accept_bytes): Likewise.
11511 * string/strcoll_l.c (STRCOLL): Likewise.
11512 * string/strxfrm_l.c (STRXFRM): Likewise.
11513
9d65ea3a
UD
115142011-11-17 Ulrich Drepper <drepper@gmail.com>
11515
11516 * Makefile.in: Remove CVSOPT handling.
11517 * configure.in: Remove use of AC_REVISION.
11518 * iconvdata/Makefile (distribute): No need to filter out CVS.
11519 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11520 handling.
11521
5583a086
AS
115222011-11-16 Andreas Schwab <schwab@redhat.com>
11523
11524 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11525 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11526 [USE_AS_STRNCASECMP_L]: Likewise.
11527 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11528 NO_TLS_DIRECT_SEG_REFS.
11529 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11530 Fix argument offsets for non-PIC.
11531 [USE_AS_STRNCASECMP_L]: Likewise.
11532 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11533 NO_TLS_DIRECT_SEG_REFS.
11534
d62a8200
UD
115352011-11-15 Ulrich Drepper <drepper@gmail.com>
11536
9d65ea3a 11537 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11538 O_CLOEXEC.
11539 * locale/loadlocale.c (_nl_load_locale): Likewise.
11540
09f93bd3
AS
115412011-11-15 Andreas Schwab <schwab@redhat.com>
11542
446514f9
AS
11543 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11544 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11545 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11546 (SYSCALL_GETTIME): Set errno on error.
11547
09f93bd3
AS
11548 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11549 count references to noai6ai_cached.
11550
312be3f9
UD
115512011-11-15 Ulrich Drepper <drepper@gmail.com>
11552
11553 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11554
11555 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11556 FD_CLOEXEC for /proc/self/maps.
11557
11558 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11559 FD_CLOEXEC for /proc/meminfo.
11560
11561 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11562 gai.conf.
11563
11564 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11565 FD_CLOEXEC for given file.
11566
11567 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11568
11569 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11570 FD_CLOEXEC for /etc/hosts.
11571 (_gethtent): Likewise.
11572
11573 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11574
11575 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11576 cancellation and set FD_CLOEXEC for /etc/netgroup.
11577
11578 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11579 reading /etc/publickey.
11580
11581 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11582 allow cancellation when reading /etc/group.
11583
11584 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11585 cancellation.
11586 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11587
11588 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11589 when using data file.
11590
11591 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11592
11593 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11594 (write_nis_obj): Use "c" and "e" in fopen.
11595
11596 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11597
11598 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11599
11600 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11601
11602 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11603
11604 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11605 locale.alias.
11606
11607 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11608
11609 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11610
11611 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11612
11613 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11614 file parsing and set FD_CLOEXEC.
11615
82af0fa8
UD
116162011-11-14 Ulrich Drepper <drepper@gmail.com>
11617
11618 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11619
a5fb313c
AS
116202011-11-14 Andreas Schwab <schwab@redhat.com>
11621
11622 * malloc/arena.c (arena_get2): Don't call reused_arena when
11623 _int_new_arena failed.
11624
6abf3465
UD
116252011-11-14 Ulrich Drepper <drepper@gmail.com>
11626
11627 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11628 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11629 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11630 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11632 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11633 to compile strcasecmp and strncasecmp.
11634 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11635 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11636
11637 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11638
76e3966e
UD
116392011-11-13 Ulrich Drepper <drepper@gmail.com>
11640
11641 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11642 locale-defines.sym to gen-as-const-headers.
11643 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11644 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11646 to compile strcasecmp and strncasecmp.
11647 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11648 strcasecmp_l and strncasecmp_l.
11649 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11650 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11651 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11652 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11653 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11654 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11655 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11656 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11657 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11658 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11659 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11660
ab26144e
UD
116612011-11-12 Ulrich Drepper <drepper@gmail.com>
11662
7edb22ef
UD
11663 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11664 result of SYSDEP_GETTIME_CPU to retval.
11665 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11666 parameter list to macro. Remove trailing semicolon. Adjust users.
11667
9694fc44
UD
11668 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11669 variable.
11670
8ad89ef8
UD
11671 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11672 mantissa words.
11673 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11674
0c822ef9
UD
11675 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11676 from unused variable.
11677
874e0564
UD
11678 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11679 DWARF definitions.
11680 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11681 for assembling.
11682
3a2edc79
UD
11683 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11684 over namespaces.
11685
f3c2577f
UD
11686 * sunrpc/rpc_prot.c (rejected): Fix case value.
11687
294ce126
UD
11688 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11689 unsigned long long int to avoid warnings in shift.
11690
5e2b63c6
UD
11691 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11692 of use of trans.
11693 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11694 variable tmp.
11695
e7f4b08e
UD
11696 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11697 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11698 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11699
ab26144e
UD
11700 * nis/nis_table.c (nis_list): Use variable of correct type for
11701 result of __follow_path call.
11702
8a6d5255
AZ
117032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704
11705 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11706 of math functions ceil, trunc, floor, round, and sqrt, when
11707 avaliable on the platform.
11708 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11709 name clash.
11710 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11711 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11712 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11713
aaddc98c
MP
117142011-10-30 Marek Polacek <mpolacek@redhat.com>
11715
11716 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11717 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11718
95b7042b
RM
117192011-11-11 Roland McGrath <roland@hack.frob.com>
11720
11721 * include/unistd.h: Fix __readlink return type.
11722 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11723
57769839
UD
117242011-11-11 Ulrich Drepper <drepper@gmail.com>
11725
11726 * stdlib/ucontext.h: Undo last change for makecontext.
11727
edc5984d
AS
117282011-11-11 Andreas Schwab <schwab@redhat.com>
11729
98591e58
AS
11730 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11731
edc5984d
AS
11732 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11733 * setjmp/setjmp.h: Mark functions as non-leaf.
11734 * setjmp/bits/setjmp2.h: Likewise.
11735 * stdlib/ucontext.h: Likewise.
11736
77cdc054
AS
117372011-11-10 Andreas Schwab <schwab@redhat.com>
11738
11739 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11740 (reused_arena): Don't check arena limit.
11741 (arena_get2): Atomically check arena limit.
11742
fe72eebd
UD
117432011-11-08 Ulrich Drepper <drepper@gmail.com>
11744
5f078c32
UD
11745 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11746 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11747
fe72eebd
UD
11748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11749 instructions.
11750
ae1bc2fa
AS
117512011-11-07 Andreas Schwab <schwab@redhat.com>
11752
7583a88d
AS
11753 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11754 handler when locking.
11755
ae1bc2fa
AS
11756 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11757 Fix size of allocated buffer.
11758
10fb0bfa
AS
117592011-11-04 Andreas Schwab <schwab@redhat.com>
11760
998832a4
AS
11761 [BZ #10103]
11762 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11763 declarations for long double functions.
11764 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11765
10fb0bfa
AS
11766 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11767
3d7ba52b
AS
117682011-11-03 Andreas Schwab <schwab@redhat.com>
11769
a9ae54a1
AS
11770 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11771 installed.
11772
3d7ba52b
AS
11773 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11774 is disabled.
11775
bc8db248
ST
117762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11777
11778 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11779
45b96dd6
AS
117802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11781
647776f6
AS
11782 * include/alloca.h (stackinfo_alloca_round): Define.
11783 (extend_alloca): Use it.
11784 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11785 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11786 here.
11787
d91a8b93
AS
11788 * scripts/check-local-headers.sh: Ignore libaudit.h.
11789
45b96dd6
AS
11790 * nscd/Makefile (extra-objs): Make recursively expanded.
11791
432d41ce
UD
117922011-11-01 Ulrich Drepper <drepper@gmail.com>
11793
34372fc6
UD
11794 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11795 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11796
fadb59f8
UD
11797 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11798 * posix/tst-rfc3484-2.c: Likewise.
11799 * posix/tst-rfc3484-3.c: Likewise.
11800
78239589
UD
11801 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11802 process_vm_writev.
11803 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11804 process_vm_writev.
11805 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11806 process_vm_writev from libc using GLIBC_2.15 version.
11807
432d41ce
UD
11808 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11809
02f9c6cf
PP
118102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11811
11812 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11813 stack usage.
11814
3a2c0242
UD
118152011-10-31 Ulrich Drepper <drepper@gmail.com>
11816
f4ec4833
UD
11817 [BZ #13367]
11818 * nss/getent.c (initgroups_keys): Show error message in case no group
11819 names are given.
11820
3a2c0242
UD
11821 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11822 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11823 __bump_nl_timestamp.
11824 * nscd/connections (nscd_init): When host database is served open
11825 netlink socket and request notification about configuration changes.
11826 (main_loop_poll): Track netlink file descriptor and bump timestamp
11827 in case data becomes available.
11828 (main_loop_epoll): Likewise.
11829 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11830 (database_pers_head): Add extra_data fileds.
11831 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11832 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11833 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11834 Adjust caller.
11835 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11836 in6ai data, call __free_in6ai.
11837 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11838 Add -DHAVE_NETLINK.
11839 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11840 interface information. Reuse previous data if netlink timestamp
11841 is not changed.
11842 (__bump_nl_timestamp): New function.
11843 (__free_in6ai): New function.
11844
636064eb
UD
118452011-10-30 Ulrich Drepper <drepper@gmail.com>
11846
11847 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11848 close_not_cancel_no_status here.
11849 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11850
9beb2334
UD
118512011-10-29 Ulrich Drepper <drepper@gmail.com>
11852
6ef76f3b
UD
11853 [BZ #13276]
11854 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11855 return value.
11856
0ffc4f3e 11857 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11858 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11859 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11860
cb95113e
UD
118612011-07-03 Andreas Jaeger <aj@suse.de>
11862
11863 [BZ #10709]
11864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11865 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11866 * math/libm-test.inc (sin_test): Add test case.
11867
a1b560ff
UD
118682011-10-29 Ulrich Drepper <drepper@gmail.com>
11869
c9aaface
UD
11870 [BZ #13337]
11871 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11872 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11873
d272e7f1
UD
11874 * elf/chroot_canon.c (chroot_canon): Cleanups.
11875
1bc33071
UD
11876 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11877
1760874d
TJ
11878 [BZ #13335]
11879 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11880 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11881
51d91b18
UD
11882 * string/test-strchr.c: Make usable for strchrnul testing.
11883 * string/test-strchrnul.c: New file.
11884 * string/Makefile (strop-tests): Add strchrnul.
11885
a1b560ff 11886 * po/it.po: Update from translation team.
b611fb81 11887 * po/es.po: Likewise.
a1b560ff 11888
a5b81e1f
UD
118892011-10-28 Ulrich Drepper <drepper@gmail.com>
11890
fd52bc6d
UD
11891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11892 the three constants needed as parameters. Drop the others.
11893 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11894 __m128i_strloadu_tolower.
52e4b9eb
UD
11895 Create and initialize variable zero and use it in all the places
11896 where _mm_setzero_si128 was used.
fd52bc6d 11897
a5b81e1f
UD
11898 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11899 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11900 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11901 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11902 anymore.
11903 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11904 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11905 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11906 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11907 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11908 __mpranred, __mptan.
11909 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11910 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11911 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11912 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11913 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11914 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11916 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11917 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11918
b4343346
AS
119192011-10-28 Andreas Schwab <schwab@redhat.com>
11920
0c92d8a8
AS
11921 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11922 redefine if SHARED.
11923 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11924
b4343346
AS
11925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11926 wide char related routines to wcsmbs subdir.
11927
3871f58f
AS
119282011-10-27 Andreas Schwab <schwab@redhat.com>
11929
11930 [BZ #13344]
11931 * misc/sys/cdefs.h (__THROWNL): Define.
11932 * posix/unistd.h: Use __THREADNL instead of __THREAD
11933 for memory synchronization functions.
11934
94d44d9f
RM
119352011-10-26 Roland McGrath <roland@hack.frob.com>
11936
21b64b15 11937 [BZ #13349]
94d44d9f
RM
11938 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11939 doesn't exist.
11940 * manual/stdio.texi (Obstack Streams): Node removed.
11941
f6ce9294
AS
119422011-10-26 Andreas Schwab <schwab@redhat.com>
11943
80479147
AS
11944 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11945 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11946 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11947
f6ce9294
AS
11948 * math/math_private.h (math_force_eval): Allow non-addressable
11949 arguments.
11950 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11951
618280a1
UD
119522011-10-25 Ulrich Drepper <drepper@gmail.com>
11953
e0016b11
UD
11954 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11955 file is not needed.
11956
11957 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11958 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11959 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11960 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11961 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11962 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11963 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11964 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11965 Add AVX variants.
11966 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11967 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11968 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11969 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11970 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11971 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11972 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11973 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11974 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11975 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11976 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11977 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11979 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11980 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11981 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11982 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11983 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11984 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11985
11986 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11987 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11988
618280a1
UD
11989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11990 place. Use VEX encoding when compiling for AVX.
11991
37822576
AS
119922011-10-25 Andreas Schwab <schwab@redhat.com>
11993
1f1e1947
AS
11994 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11995 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11996
37822576
AS
11997 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11998
31ea014d
UD
119992011-10-25 Ulrich Drepper <drepper@gmail.com>
12000
d7826aa1 12001 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 12002 useless if() expression.
d7826aa1
UD
12003 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12004 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12005 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12007 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12008 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
12009 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12013 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12014 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12015 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
12016 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12017 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
12018 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
12019 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12020 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12021 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
12022
31ea014d
UD
12023 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
12024
16437fec
AS
120252011-10-25 Andreas Schwab <schwab@redhat.com>
12026
12027 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12028 condition.
12029 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12030
31d3cc00
UD
120312011-10-25 Ulrich Drepper <drepper@gmail.com>
12032
12033 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12034 .text section. Avoid duplicate constants.
12035 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12036 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12037 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12039 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12045 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12047 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12048 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12049 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12050 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12051 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12052 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12053 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12054 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12055 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12056 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12057 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12058 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12059 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12060 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12061 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12062 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12063 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12064 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12065 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12066 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12067 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12068 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12069 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12070 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12071 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12072 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12073 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12074 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12077 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12078 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12079 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12080
58985aa9
UD
120812011-10-24 Ulrich Drepper <drepper@gmail.com>
12082
202c9deb
UD
12083 * sysdeps/x86_64/dla.h: Move to ...
12084 * sysdeps/x86_64/fpu/dla.h: ...here.
12085 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12086 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12087
af968f62
UD
12088 * config.make.in: Add have-mfma4 entry.
12089 * configure.in: Substitute libc_cv_cc_fma4.
12090 * math/Makefile (dbl-only-routines): Add sincostab.
12091 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12092 Use __sincostab not sincos.
12093 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12094 name is a macro.
12095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12099 using __copysign.
12100 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12101 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12102 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12103 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12104 and __inv.
12105 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12106 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12107 __copysign.
12108 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12109 define aliases when function name is a macro.
12110 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12111 sysdeps/ieee754/dbl-64/sincos.tbl.
12112 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12113 fma4-enabled routines.
12114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12115 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12116 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12117 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12118 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12119 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12120 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12121 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12122 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12123 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12124 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12125 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12126 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12127 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12129 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12130 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12131 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12132 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12133 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12134 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12135 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12136 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12137 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12138 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12139 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12141 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12142 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12143 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12144
58985aa9
UD
12145 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12146 rename.
12147 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12155
a201fbcf
AS
121562011-10-24 Andreas Schwab <schwab@redhat.com>
12157
12158 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12159
fc2ee42a
LD
121602011-10-23 Ulrich Drepper <drepper@gmail.com>
12161
bb3129bd
UD
12162 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12163
0275fff8
UD
12164 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12165 prediction.
12166 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12167
2fa2ae85
UD
12168 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12169 Remove unused variable magic_bits.
12170 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12171
fc2ee42a
LD
12172 * string/strnlen.c: Define and use STRNLEN macro.
12173 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12174 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12176 * wcsmbs/wcslen.c: Define and use WCSLEN.
12177 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12178 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12179 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12180 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12181 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12182 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12183 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12184
ce7dd29f
LD
121852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12186
12187 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12188 strnlen-sse2-no-bsf.
12189 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12191 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12192 Add strnlen support.
12193 (USE_AS_STRNLEN): New macro.
12194 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12195 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12196 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12197 * sysdeps/x86_64/wcslen.S: New file.
12198
979c70a3
MZ
121992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12200
12201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12202 XMM-moves are used for copying on small sizes.
12203
2d09f82f
LD
122042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12205
12206 * wcsmbs/Makefile (strop-tests): Add wcschr.
12207 * wcsmbs/test-wcschr.c: New file.
12208 * string/test-strchr.c: Update.
12209 Add wcschr support.
12210 (WIDE): New macro.
12211
619fccca
LD
122122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12213
2d09f82f 12214 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12215 * wcsmbs/test-wcslen.c: New file.
12216 * string/test-strlen.c: Update.
12217 Add wcslen support.
12218 (WIDE): New macro.
12219
09f699ea
UD
122202011-10-23 Ulrich Drepper <drepper@gmail.com>
12221
12222 * po/it.po: Update from translation team.
12223
95584d3b
LD
122242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12225
12226 * sysdeps/x86_64/wcscmp.S: Update.
12227 Fix wrong comparison semantics.
12228 wcscmp shall use signed comparison not unsigned.
12229 Don't use substraction to avoid overflow bug.
12230 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12231 * wcsmbc/wcscmp.c: Likewise.
12232 * string/test-strcmp.c: Likewise.
12233 Add new tests to check cases with negative values.
12234
c8b3296b
UD
122352011-10-23 Ulrich Drepper <drepper@gmail.com>
12236
12237 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12238 * sysdeps/x86_64/dla.h: ...here. New file.
12239 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12248
246ad57a
AS
122492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12250
12251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12252 __ynl_finite aliases.
12253
a1a87169
UD
122542011-10-22 Ulrich Drepper <drepper@gmail.com>
12255
0d355eb7
UD
12256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12257
a1a87169
UD
12258 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12259 define DLA_FMA.
12260 [DLA_FMA] (EMULV): Use DLA_FMA.
12261 [DLA_FMA] (MUL12): Use EMULV.
12262 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12263 that are not needed.
12264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12271
ee2aafe0
AS
122722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12273
12274 * math/s_nan.c: Undef __nan.
12275 * math/s_nanf.c: Undef __nanf.
12276 * math/s_nanl.c: Undef __nanl.
12277 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12278 "math_private.h".
12279
bc62c2fb
UD
122802011-10-22 Ulrich Drepper <drepper@gmail.com>
12281
77425c63
UD
12282 * math/s_catan.c: Add branch predictions.
12283 * math/s_catanf.c: Likewise.
12284 * math/s_catanh.c: Likewise.
12285 * math/s_catanhf.c: Likewise.
12286 * math/s_catanhl.c: Likewise.
12287 * math/s_catanl.c: Likewise.
12288 * math/s_cexp.c: Likewise.
12289 * math/s_cexpf.c: Likewise.
12290 * math/s_cexpl.c: Likewise.
12291 * math/s_clog.c: Likewise.
12292 * math/s_clog10.c: Likewise.
12293 * math/s_clog10f.c: Likewise.
12294 * math/s_clog10l.c: Likewise.
12295 * math/s_clogf.c: Likewise.
12296 * math/s_clogl.c: Likewise.
12297 * math/s_csqrt.c: Likewise.
12298 * math/s_csqrtf.c: Likewise.
12299 * math/s_csqrtl.c: Likewise.
12300 * math/s_ctanf.c: Likewise.
12301 * math/s_ctanh.c: Likewise.
12302 * math/s_ctanhf.c: Likewise.
12303 * math/s_ctanhl.c: Likewise.
12304 * math/s_ctanl.c: Likewise.
12305
bc62c2fb
UD
12306 * math/math_private.h: Define __nan, __nanf, __nanl.
12307 * math/s_cacosh.c: Include <math_private.h>.
12308 * math/s_cacoshl.c: Likewise.
12309 * math/s_casinh.c: Likewise.
12310 * math/s_casinhf.c: Likewise.
12311 * math/s_casinhl.c: Likewise.
12312 * math/s_ccos.c: Rely entire on ccosh.
12313 * math/s_ccosf.c: Rely entire on ccoshf.
12314 * math/s_ccosl.c: Rely entirely on ccoshl.
12315 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12316 Remove tests for FE_INVALID.
12317 * math/s_ccoshf.c: Likewise.
12318 * math/s_ccoshl.c: Likewise.
12319 * math/s_csin.c: Likewise.
12320 * math/s_csinf.c: Likewise.
12321 * math/s_csinh.c Likewise.
12322 * math/s_csinhf.c: Likewise.
12323 * math/s_csinhl.c: Likewise.
12324 * math/s_csinl.c: Likewise.
12325 * math/s_ctan.c: Likewise.
12326 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12327 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12328 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12329
8ec250a4
UD
123302011-10-21 Ulrich Drepper <drepper@gmail.com>
12331
c196fed8
UD
12332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12333 compilation problems.
12334
8ec250a4
UD
12335 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12336 __builtin_expect.
12337
8d4f46c6
UD
123382011-10-20 Ulrich Drepper <drepper@gmail.com>
12339
ed72b654
UD
12340 * sysdeps/i386/configure.in: Test for -mfma4 option.
12341 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12342 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12343 COMMON_CPUID_INDEX_80000001.
12344 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12345 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12346 use it if FMA3 is not supported.
12347 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12348
8d4f46c6
UD
12349 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12350 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12351
d45c60c2
AS
123522011-10-20 Andreas Schwab <schwab@redhat.com>
12353
12354 [BZ #12892]
12355 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12356 it would create a cycle with a link time dependency.
12357
d9a4d2ab
UD
123582011-10-19 Ulrich Drepper <drepper@gmail.com>
12359
855d1560
UD
12360 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12361 instruction.
12362 * string/Makefile (strop-tests): Add rawmemchr.
12363 * string/test-rawmemchr.c: New file.
12364
d9a4d2ab
UD
12365 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12367 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12368 when compiling str{,n}casecmp and when AVX is available. Hook up
12369 new optimized code in initializers.
12370
8f3b1ffe
AS
123712011-10-19 Andreas Schwab <schwab@redhat.com>
12372
12373 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12374 __feraiseexcept instead of feraiseexcept.
12375
d38f1dba
UD
123762011-10-18 Ulrich Drepper <drepper@gmail.com>
12377
d9a8d0ab
UD
12378 * math/math_private.h: Define defaults for libc_fetestexcept and
12379 libc_feupdateenv.
12380 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12381 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12382 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12383 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12384 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12385 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12386 libc_fetestexcept and libc_feupdateenv.
12387
4855e3dd
UD
12388 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12389 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12390 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12391 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12392 libc_feholdexcept_setround.
12393
581d30e3
UD
12394 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12395 Add s_nearbyint-c and s_nearbyintf-c.
12396 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12397 nearbyintf inlines.
12398 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12399 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12400 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12401 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12402
d38f1dba
UD
12403 * math/math_private.h: Define defaults for libc_fegetround,
12404 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12405 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12406 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12407 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12408 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12409 standard functions.
12410 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12411 Remove comments and hacks for old compiler versions.
12412 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12413 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12414 libc_feholdexceptl.
12415
caa6c9d8
AS
124162011-10-18 Andreas Schwab <schwab@redhat.com>
12417
12418 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12419 (__feraiseexcept_renamed): Add __NTH.
12420 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12421 namespace violations.
12422
97c066e6
UD
124232011-10-17 Ulrich Drepper <drepper@gmail.com>
12424
99ce7b04
UD
12425 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12426
1004d182
UD
12427 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12428
228a984d
UD
12429 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12430 recently added interfaces.
12431 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12432
c8553a6a
UD
12433 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12434 about macro parameter expansion.
12435
ed22dcf6
UD
12436 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12437 __NO_MATH_INLINES is defined. Cleanups.
12438
12439 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12440 and __floorf is target has SSE4.1.
12441 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12442 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12443 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12444 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12445
b171c137
UD
12446 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12447 name.
12448 (floorf): Likewise.
12449
97c066e6
UD
12450 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12451
629f62ef
AS
124522011-10-17 Andreas Schwab <schwab@redhat.com>
12453
49a43d80
AS
12454 * misc/sys/cdefs.h: Fix last change.
12455
629f62ef
AS
12456 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12457 database lookup.
12458
e453f6cd
UD
124592011-10-16 Ulrich Drepper <drepper@gmail.com>
12460
aa78043a
UD
12461 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12462
ad0f5cad
UD
12463 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12464 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12465 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12468 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12469 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12470 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12471 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12472 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12473 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12474 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12475 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12476 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12477 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12478 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12479 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12480 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12481 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12482 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12483 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12484 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12485
12486 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12487 ceil, ceilf, floor, floorf.
12488
12489 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12490 Perform IRELATIVE relocations last.
12491
e453f6cd
UD
12492 * elf/do-rel.h: Add another parameter nrelative, replacing the
12493 local variable with the same name. Change name of the function
12494 to end in Rel or Rela (uppercase).
12495 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12496 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12497 elf_dynamic_do_##reloc function.
12498
fd5bdc09
UD
124992011-10-15 Ulrich Drepper <drepper@gmail.com>
12500
79b195b5
UD
12501 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12502 is sufficient, at least on modern CPUs.
12503
d4a28569
UD
12504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12505
b61099b5
UD
12506 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12507 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12508
bcf01e6d
UD
12509 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12510 __expl_finite.
12511 * math/bits/math-finite.h: Add entries for exp.
12512 * math/e_expl.c: Add __*_finite alias.
12513 * sysdeps/i386/fpu/e_exp.S: Likewise.
12514 * sysdeps/i386/fpu/e_expf.S: Likewise.
12515 * sysdeps/i386/fpu/e_expl.c: Likewise.
12516 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12517 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12518 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12519 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12520 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12521 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12522 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12523
ba1a0d59
UD
12524 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12525 is sufficient, at least on modern CPUs.
12526
fd5bdc09
UD
12527 * ctype/ctype-info.c (__ctype_init): Define.
12528 * include/ctype.h (__ctype_init): Declare.
12529 (__ctype_b_loc): The variable is always initialized.
12530 (__ctype_toupper_loc): Likewise.
12531 (__ctype_tolower_loc): Likewise.
12532 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12533 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12534
7872cfb0
AS
125352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12536
b468825a
AS
12537 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12538
7872cfb0
AS
12539 * configure.in: Also look in $cxxmachine/include for C++ system
12540 headers.
12541
be13f7bf
LD
125422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12543
12544 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12545 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12546 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12547 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12548 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12549 (USE_AS_WMEMCMP): New macro.
12550 Fixing indents.
12551 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12552 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12553 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12554 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12556 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12557 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12558 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12559 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12560 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12561 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12562 (USE_AS_WMEMCMP): New macro.
12563 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12564 * sysdeps/string/test-memcmp.c: Update.
12565 Fix simple_wmemcmp.
12566 Add new tests.
12567 * wcsmbs/wmemcmp.c: Update.
12568 (WMEMCMP): New macro.
12569 Fix overflow bug.
12570
556a2007
AJ
125712011-10-12 Andreas Jaeger <aj@suse.de>
12572
12573 [BZ #13268]
12574 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12575
538faaa7
UD
125762011-10-15 Ulrich Drepper <drepper@gmail.com>
12577
ab6737ff
UD
12578 * libio/iofwide.c (do_length): Avoid warning.
12579
538faaa7
UD
12580 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12581
396a21b1
UD
125822011-10-14 Ulrich Drepper <drepper@gmail.com>
12583
cdf2901f
UD
12584 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12585
38ad40ce
UD
12586 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12587 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12588 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12589 * sysdeps/i386/i686/fpu/e_log.S: New file.
12590 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12591 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12592
396a21b1
UD
12593 * ctype/ctype.h: Add support for inlined isXXX functions when
12594 compiling C++ code.
12595
6b1f68c9
AS
125962011-10-14 Andreas Schwab <schwab@redhat.com>
12597
349290c0
AS
12598 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12599
6b1f68c9
AS
12600 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12601
f2282d42
RM
126022011-10-13 Roland McGrath <roland@hack.frob.com>
12603
12604 [BZ #13291]
12605 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12606
5298ffa8
AS
126072011-10-13 Andreas Schwab <schwab@redhat.com>
12608
714fad23
AS
12609 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12610 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12611 feraiseexcept.
12612
81dcc7fb
AS
12613 * sysdeps/x86_64/memrchr.S: Check for zero size.
12614
5298ffa8
AS
12615 * string/stratcliff.c: Add memrchr tests.
12616
951fbcec
LD
126172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12618
12619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12620 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12621 rawmemchr-sse2 rawmemchr-sse2-bsf.
12622 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12623 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12624 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12625 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12626 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12627 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12628 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12629 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12630 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12631 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12632 * string/memrchr.c (MEMRCHR): New macro.
12633
0ac5ae23
UD
126342011-10-12 Ulrich Drepper <drepper@gmail.com>
12635
12636 Add integration with gcc's -ffinite-math-only and optimize wrapper
12637 functions in libm.
12638 * Versions.def: Define GLIBC_2.15 version for libm.
12639 * math/Makefile (headers): Add bits/math-finite.h.
12640 * math/bits/math-finite.h: New file.
12641 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12642 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12643 * math/e_acoshl.c: Add __*_finite alias.
12644 * math/e_acosl.c: Likewise.
12645 * math/e_asinl.c: Likewise.
12646 * math/e_atan2l.c: Likewise.
12647 * math/e_atanhl.c: Likewise.
12648 * math/e_coshl.c: Likewise.
12649 * math/e_exp10.c: Likewise.
12650 * math/e_exp10f.c: Likewise.
12651 * math/e_exp10l.c: Likewise.
12652 * math/e_exp2l.c: Likewise.
12653 * math/e_fmodl.c: Likewise.
12654 * math/e_gammal_r.c: Likewise.
12655 * math/e_hypotl.c: Likewise.
12656 * math/e_j0l.c: Likewise.
12657 * math/e_j1l.c: Likewise.
12658 * math/e_jnl.c: Likewise.
12659 * math/e_lgammal_r.c: Likewise.
12660 * math/e_log10l.c: Likewise.
12661 * math/e_log2l.c: Likewise.
12662 * math/e_logl.c: Likewise.
12663 * math/e_powl.c: Likewise.
12664 * math/e_sinhl.c: Likewise.
12665 * math/e_sqrtl.c: Likewise.
12666 * math/e_scalb.c: Completely rewritten and optimized.
12667 * math/e_scalbf.c: Likewise.
12668 * math/e_scalbl.c: Likewise.
12669 * math/w_acos.c: Likewise.
12670 * math/w_acosf.c: Likewise.
12671 * math/w_acosl.c: Likewise.
12672 * math/w_acosh.c: Likewise.
12673 * math/w_acoshf.c: Likewise.
12674 * math/w_acoshl.c: Likewise.
12675 * math/w_asin.c: Likewise.
12676 * math/w_asinf.c: Likewise.
12677 * math/w_asinl.c: Likewise.
12678 * math/w_atan2.c: Likewise.
12679 * math/w_atan2f.c: Likewise.
12680 * math/w_atan2l.c: Likewise.
12681 * math/w_atanh.c: Likewise.
12682 * math/w_atanhf.c: Likewise.
12683 * math/w_atanhl.c: Likewise.
12684 * math/w_exp10.c: Likewise.
12685 * math/w_exp10f.c: Likewise.
12686 * math/w_exp10l.c: Likewise.
12687 * math/w_fmod.c: Likewise.
12688 * math/w_fmodf.c: Likewise.
12689 * math/w_fmodl.c: Likewise.
12690 * math/w_j0.c: Likewise.
12691 * math/w_j0f.c: Likewise.
12692 * math/w_j0l.c: Likewise.
12693 * math/w_j1.c: Likewise.
12694 * math/w_j1f.c: Likewise.
12695 * math/w_j1l.c: Likewise.
12696 * math/w_jn.c: Likewise.
12697 * math/w_jnf.c: Likewise.
12698 * math/w_log.c: Likewise.
12699 * math/w_logf.c: Likewise.
12700 * math/w_logl.c: Likewise.
12701 * math/w_log10.c: Likewise.
12702 * math/w_log10f.c: Likewise.
12703 * math/w_log10l.c: Likewise.
12704 * math/w_log2.c: Likewise.
12705 * math/w_log2f.c: Likewise.
12706 * math/w_log2l.c: Likewise.
12707 * math/w_pow.c: Likewise.
12708 * math/w_powf.c: Likewise.
12709 * math/w_powl.c: Likewise.
12710 * math/w_remainder.c: Likewise.
12711 * math/w_remainderf.c: Likewise.
12712 * math/w_remainderl.c: Likewise.
12713 * math/w_scalb.c: Likewise.
12714 * math/w_scalbf.c: Likewise.
12715 * math/w_scalbl.c: Likewise.
12716 * math/w_sqrt.c: Likewise.
12717 * math/w_sqrtf.c: Likewise.
12718 * math/w_sqrtl.c: Likewise.
12719 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12720 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12721 used.
12722 * math/math_private.h: Declare __kernel_standard_f.
12723 * math/w_cosh.c: Remove cruft and optimize a bit.
12724 * math/w_coshf.c: Likewise.
12725 * math/w_coshl.c: Likewise.
12726 * math/w_exp2.c: Likewise.
12727 * math/w_exp2f.c: Likewise.
12728 * math/w_exp2l.c: Likewise.
12729 * math/w_hypot.c: Likewise.
12730 * math/w_hypotf.c: Likewise.
12731 * math/w_hypotl.c: Likewise.
12732 * math/w_lgamma.c: Likewise.
12733 * math/w_lgamma_r.c: Likewise.
12734 * math/w_lgammaf.c: Likewise.
12735 * math/w_lgammaf_r.c: Likewise.
12736 * math/w_lgammal.c: Likewise.
12737 * math/w_lgammal_r.c: Likewise.
12738 * math/w_sinh.c: Likewise.
12739 * math/w_sinhf.c: Likewise.
12740 * math/w_sinhl.c: Likewise.
12741 * math/w_tgamma.c: Likewise.
12742 * math/w_tgammaf.c: Likewise.
12743 * math/w_tgammal.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12745 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12746 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12747 Minor optimizations. Pretty printing. Remove cruft.
12748 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12749 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12750 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12751 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12752 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12753 * sysdeps/i386/fpu/e_asin.S: Likewise.
12754 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12755 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12756 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12757 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12758 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12759 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12761 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12762 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12763 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12764 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12765 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12766 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12767 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12768 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12769 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12770 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12771 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12772 * sysdeps/i386/fpu/e_log.S: Likewise.
12773 * sysdeps/i386/fpu/e_log10.S: Likewise.
12774 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12775 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12776 * sysdeps/i386/fpu/e_log2.S: Likewise.
12777 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12778 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12779 * sysdeps/i386/fpu/e_logf.S: Likewise.
12780 * sysdeps/i386/fpu/e_logl.S: Likewise.
12781 * sysdeps/i386/fpu/e_pow.S: Likewise.
12782 * sysdeps/i386/fpu/e_powf.S: Likewise.
12783 * sysdeps/i386/fpu/e_powl.S: Likewise.
12784 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12785 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12786 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12787 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12788 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12789 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12790 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12791 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12792 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12793 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12797 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12799 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12800 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12802 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12803 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12804 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12806 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12807 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12814 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12815 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12816 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12817 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12818 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12819 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12820 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12821 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12822 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12823 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12824 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12825 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12826 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12827 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12828 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12829 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12830 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12832 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12862 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12863 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12864 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12865 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12867 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12868 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12869 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12870 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12871 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12872 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12873 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12874 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12875 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12876 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12877 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12878 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12879 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12880 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12881 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12882 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12884 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12885 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12886 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12887 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12888 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12889 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12890 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12891 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12892 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12893 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12894 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12895 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12896 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12897 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12898 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12900 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12901 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12903 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12904 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12905 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12906 (__isnanf): Likewise.
12907 (__isinf_ns): Likewise.
12908 (__isinf_nsf): Likewise.
12909 (__finite): Likewise.
12910 (__finitef): Likewise.
12911 (__ieee754_sqrt): Define as macro.
12912 (__ieee754_sqrtf): Define as macro.
12913 (__ieee754_sqrtl): Define as macro.
12914 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12915 inlined copy.
12916 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12917 __FINITE_MATH_ONLY__ consistent.
12918 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12919
12cc2fcd
AS
129202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12921
a843a204
AS
12922 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12923 of rawmemchr.
12924
12cc2fcd
AS
12925 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12926
c853acd5
UD
129272011-10-09 Ulrich Drepper <drepper@gmail.com>
12928
12929 * po/ja.po: Update from translation team.
12930
c658d255
RM
129312011-10-08 Roland McGrath <roland@hack.frob.com>
12932
110946e4
RM
12933 * locale/programs/locarchive.c (prepare_address_space): New function.
12934 (create_archive, enlarge_archive, open_archive): Use it.
12935
50604220
RM
12936 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12937 inside [SHARED], where it is used.
12938
c658d255
RM
12939 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12940
12941 * nss/getent.c (netgroup_keys): Remove unused variable.
12942 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12943
6a621eb7
UD
129442011-10-08 Ulrich Drepper <drepper@gmail.com>
12945
7edb55ce
UD
12946 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12947 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12949 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12950 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12951 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12952 * math/Makefile (libm-calls): Add s_isinf_ns.
12953 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12954 * math/multc3.c: Likewise.
12955 * math/s_casin.c: Likewise.
12956 * math/s_casinf.c: Likewise.
12957 * math/s_casinl.c: Likewise.
12958 * math/s_ccos.c: Likewise.
12959 * math/s_ccosf.c: Likewise.
12960 * math/s_ccosl.c: Likewise.
12961 * math/s_ctan.c: Likewise.
12962 * math/s_ctanf.c: Likewise.
12963 * math/s_ctanh.c: Likewise.
12964 * math/s_ctanhf.c: Likewise.
12965 * math/s_ctanhl.c: Likewise.
12966 * math/s_ctanl.c: Likewise.
12967 * math/w_fmod.c: Likewise.
12968 * math/w_fmodf.c: Likewise.
12969 * math/w_fmodl.c: Likewise.
12970 * math/w_remainder.c: Likewise.
12971 * math/w_remainderf.c: Likewise.
12972 * math/w_remainderl.c: Likewise.
12973 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12974 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12975 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12977 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12978 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12979 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12980 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12981
187da0ae
UD
12982 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12983 of the number.
12984 * stdio-common/printf_fphex.c: Likewise.
12985 * stdio-common/printf_size.c: Likewise.
12986
9277c064
UD
12987 * math/e_exp10.c: Include math_private.h using <...> not "...".
12988 * math/e_exp10f.c: Likewise.
12989 * math/e_exp10l.c: Likewise.
12990 * math/e_exp2l.c: Likewise.
12991 * math/e_j0l.c: Likewise.
12992 * math/e_j1l.c: Likewise.
12993 * math/e_jnl.c: Likewise.
12994 * math/e_lgammal_r.c: Likewise.
12995 * math/e_rem_pio2l.c: Likewise.
12996 * math/e_scalb.c: Likewise.
12997 * math/e_scalbf.c: Likewise.
12998 * math/e_scalbl.c: Likewise.
12999 * math/k_cosl.c: Likewise.
13000 * math/k_sinl.c: Likewise.
13001 * math/k_tanl.c: Likewise.
13002 * math/s_cacoshf.c: Likewise.
13003 * math/s_catan.c: Likewise.
13004 * math/s_catanf.c: Likewise.
13005 * math/s_catanh.c: Likewise.
13006 * math/s_catanhf.c: Likewise.
13007 * math/s_catanhl.c: Likewise.
13008 * math/s_catanl.c: Likewise.
13009 * math/s_ccosh.c: Likewise.
13010 * math/s_ccoshf.c: Likewise.
13011 * math/s_ccoshl.c: Likewise.
13012 * math/s_cexp.c: Likewise.
13013 * math/s_cexpf.c: Likewise.
13014 * math/s_cexpl.c: Likewise.
13015 * math/s_clog.c: Likewise.
13016 * math/s_clog10.c: Likewise.
13017 * math/s_clog10f.c: Likewise.
13018 * math/s_clog10l.c: Likewise.
13019 * math/s_clogf.c: Likewise.
13020 * math/s_clogl.c: Likewise.
13021 * math/s_csin.c: Likewise.
13022 * math/s_csinf.c: Likewise.
13023 * math/s_csinh.c: Likewise.
13024 * math/s_csinhf.c: Likewise.
13025 * math/s_csinhl.c: Likewise.
13026 * math/s_csinl.c: Likewise.
13027 * math/s_csqrt.c: Likewise.
13028 * math/s_csqrtf.c: Likewise.
13029 * math/s_csqrtl.c: Likewise.
13030 * math/s_ctan.c: Likewise.
13031 * math/s_ctanf.c: Likewise.
13032 * math/s_ctanh.c: Likewise.
13033 * math/s_ctanhf.c: Likewise.
13034 * math/s_ctanhl.c: Likewise.
13035 * math/s_ctanl.c: Likewise.
13036 * math/s_ldexp.c: Likewise.
13037 * math/s_ldexpf.c: Likewise.
13038 * math/s_ldexpl.c: Likewise.
13039 * math/s_significand.c: Likewise.
13040 * math/s_significandf.c: Likewise.
13041 * math/s_significandl.c: Likewise.
13042 * math/w_acos.c: Likewise.
13043 * math/w_acosf.c: Likewise.
13044 * math/w_acosh.c: Likewise.
13045 * math/w_acoshf.c: Likewise.
13046 * math/w_acoshl.c: Likewise.
13047 * math/w_acosl.c: Likewise.
13048 * math/w_asin.c: Likewise.
13049 * math/w_asinf.c: Likewise.
13050 * math/w_asinl.c: Likewise.
13051 * math/w_atan2.c: Likewise.
13052 * math/w_atan2f.c: Likewise.
13053 * math/w_atan2l.c: Likewise.
13054 * math/w_atanh.c: Likewise.
13055 * math/w_atanhf.c: Likewise.
13056 * math/w_atanhl.c: Likewise.
13057 * math/w_cosh.c: Likewise.
13058 * math/w_coshf.c: Likewise.
13059 * math/w_coshl.c: Likewise.
13060 * math/w_dremf.c: Likewise.
13061 * math/w_exp10.c: Likewise.
13062 * math/w_exp10f.c: Likewise.
13063 * math/w_exp10l.c: Likewise.
13064 * math/w_exp2.c: Likewise.
13065 * math/w_exp2f.c: Likewise.
13066 * math/w_fmod.c: Likewise.
13067 * math/w_fmodf.c: Likewise.
13068 * math/w_fmodl.c: Likewise.
13069 * math/w_hypot.c: Likewise.
13070 * math/w_hypotf.c: Likewise.
13071 * math/w_hypotl.c: Likewise.
13072 * math/w_j0.c: Likewise.
13073 * math/w_j0f.c: Likewise.
13074 * math/w_j0l.c: Likewise.
13075 * math/w_j1.c: Likewise.
13076 * math/w_j1f.c: Likewise.
13077 * math/w_j1l.c: Likewise.
13078 * math/w_jn.c: Likewise.
13079 * math/w_jnf.c: Likewise.
13080 * math/w_jnl.c: Likewise.
13081 * math/w_lgamma.c: Likewise.
13082 * math/w_lgamma_r.c: Likewise.
13083 * math/w_lgammaf.c: Likewise.
13084 * math/w_lgammaf_r.c: Likewise.
13085 * math/w_lgammal.c: Likewise.
13086 * math/w_lgammal_r.c: Likewise.
13087 * math/w_log.c: Likewise.
13088 * math/w_log10.c: Likewise.
13089 * math/w_log10f.c: Likewise.
13090 * math/w_log10l.c: Likewise.
13091 * math/w_log2.c: Likewise.
13092 * math/w_log2f.c: Likewise.
13093 * math/w_log2l.c: Likewise.
13094 * math/w_logf.c: Likewise.
13095 * math/w_logl.c: Likewise.
13096 * math/w_pow.c: Likewise.
13097 * math/w_powf.c: Likewise.
13098 * math/w_powl.c: Likewise.
13099 * math/w_remainder.c: Likewise.
13100 * math/w_remainderf.c: Likewise.
13101 * math/w_remainderl.c: Likewise.
13102 * math/w_scalb.c: Likewise.
13103 * math/w_scalbf.c: Likewise.
13104 * math/w_scalbl.c: Likewise.
13105 * math/w_sinh.c: Likewise.
13106 * math/w_sinhf.c: Likewise.
13107 * math/w_sinhl.c: Likewise.
13108 * math/w_sqrt.c: Likewise.
13109 * math/w_sqrtf.c: Likewise.
13110 * math/w_sqrtl.c: Likewise.
13111 * math/w_tgamma.c: Likewise.
13112 * math/w_tgammaf.c: Likewise.
13113 * math/w_tgammal.c: Likewise.
13114
6a621eb7
UD
13115 * po/ja.po: Update from translation team.
13116
bf582445
AJ
131172011-09-29 Andreas Jaeger <aj@suse.de>
13118
f9efbf3a
AJ
13119 [BZ #13179]
13120 * sunrpc/netname.c (netname2host): Fix logic.
13121
bf582445
AJ
13122 [BZ #6779]
13123 [BZ #6783]
13124 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13125 correctly.
13126 * math/w_remainder.c (__remainder): Likewise.
13127 * math/w_remainderf.c (__remainderf): Likewise.
13128 * math/libm-test.inc (remainder_test): Add test cases.
13129
48693bea
AK
131302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13131
13132 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13133 sdiv_qrnnd.
13134
42622229
LD
131352011-10-07 Ulrich Drepper <drepper@gmail.com>
13136
13137 * string/test-memcmp.c: Avoid unncessary #defines.
13138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13139
093ecf92
LD
131402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13141
13142 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13143 Use new sse2 version for core i3 - i7 as it's faster
13144 than sse42 version.
13145 (bit_Prefer_PMINUB_for_stringop): New.
13146 * sysdeps/x86_64/rawmemchr.S: Update.
13147 Replace with faster SSE2 version.
13148 * sysdeps/x86_64/memrchr.S: New file.
13149 * sysdeps/x86_64/memchr.S: Update.
13150 Replace with faster SSE2 version.
13151
fde56e5c
MP
131522011-09-12 Marek Polacek <mpolacek@redhat.com>
13153
13154 * elf/dl-load.c (lose): Add cast to avoid warning.
13155
21fd49a9
UD
131562011-10-07 Ulrich Drepper <drepper@gmail.com>
13157
5a06e643
UD
13158 * po/ca.po: Update from translation team.
13159
684ae515
UD
13160 * inet/getnetgrent_r.c: Hook up nscd.
13161 * nscd/Makefile (routines): Add nscd_netgroup.
13162 (nscd-modules): Add netgroupcache.
13163 (CFLAGS-netgroupcache.c): Define.
13164 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13165 (cache_search): Add const to second parameter.
13166 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13167 INNETGR.
13168 (dbs): Add netgrdb entry.
13169 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13170 (verify_persistent_db): Handle netgrdb.
13171 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13172 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13173 GETFDNETGR.
13174 (netgroup_response_header): Define.
13175 (innetgroup_response_header): Define.
13176 (datahead): Add netgroup_response_header and innetgroup_response_header
13177 elements.
13178 * nscd/nscd.conf: Add entries for netgroup cache.
13179 * nscd/nscd.h (dbtype): Add netgrdb.
13180 (_PATH_NSCD_NETGROUP_DB): Define.
13181 (netgroup_iov_disabled): Declare.
13182 (xmalloc, xcalloc, xrealloc): Move declarations here.
13183 (cache_search): Adjust prototype.
13184 Add netgroup-related prototypes.
13185 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13186 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13187 (__nscd_innetgr): Declare.
13188 * nscd/selinux.c (perms): Use access_vector_t as element type and
13189 add netgroup-related initializers.
13190 * nscd/netgroupcache.c: New file.
13191 * nscd/nscd_netgroup.c: New file.
13192 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13193 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13194 For four parameters use innetgr.
13195 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13196 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13197 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13198 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13199
21fd49a9
UD
13200 * nscd/connections.c (register_traced_file): Don't register file
13201 for disabled databases.
13202
054c0457
UD
132032011-10-06 Ulrich Drepper <drepper@gmail.com>
13204
32b63198
UD
13205 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13206
054c0457
UD
13207 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13208 from tree and freeing node.
13209
64031225
JO
132102011-09-25 Jiri Olsa <jolsa@redhat.com>
13211
13212 * nss/nsswitch.c (__nss_database_lookup): Handle
13213 nss_parse_service_list out of memory case.
13214
0490345c
JO
132152011-09-15 Jiri Olsa <jolsa@redhat.com>
13216
13217 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13218 out of memory case.
13219
3a62d00d
AS
132202011-10-04 Andreas Schwab <schwab@redhat.com>
13221
13222 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13223 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13224 pass it down.
13225 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13226 elf_machine_rela, elf_machine_lazy_rel.
13227 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13228 (ELF_DYNAMIC_DO_REL): Likewise.
13229 (ELF_DYNAMIC_DO_RELA): Likewise.
13230 (ELF_DYNAMIC_RELOCATE): Likewise.
13231 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13232 to ELF_DYNAMIC_DO_REL.
13233 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13234 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13235 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13236 elf_machine_rela.
13237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13238 skip_ifunc, don't call ifunc function if non-zero.
13239 (elf_machine_rela): Likewise.
13240 (elf_machine_lazy_rel): Likewise.
13241 (elf_machine_lazy_rela): Likewise.
13242 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13243 (elf_machine_lazy_rel): Likewise.
13244 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13245 Likewise.
13246 (elf_machine_lazy_rel): Likewise.
13247 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13248 Likewise.
13249 (elf_machine_lazy_rel): Likewise.
13250 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13251 (elf_machine_lazy_rel): Likewise.
13252 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13253 (elf_machine_lazy_rel): Likewise.
13254 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13255 (elf_machine_lazy_rel): Likewise.
13256 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13257 (elf_machine_lazy_rel): Likewise.
13258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13259 (elf_machine_lazy_rel): Likewise.
13260 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13261 (elf_machine_lazy_rel): Likewise.
13262
68577918
UD
132632011-09-28 Ulrich Drepper <drepper@gmail.com>
13264
13265 * nss/nss_files/files-init.c (_nss_files_init): Use static
13266 initialization for all the *_traced_file variables.
13267
68822d74
AS
132682011-09-28 Andreas Schwab <schwab@redhat.com>
13269
13270 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13271
2056100b
RM
132722011-09-27 Roland McGrath <roland@hack.frob.com>
13273
13274 [BZ #13226]
13275 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13276
32c76b63
AS
132772011-09-27 Andreas Schwab <schwab@redhat.com>
13278
13279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13280 Reread the line before reparsing it.
13281
bf972c9d
AS
132822011-09-26 Andreas Schwab <schwab@redhat.com>
13283
13284 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13285
e057a1b5
JM
132862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13287 Maxim Kuvyrkov <maxim@codesourcery.com>
13288 Joseph Myers <joseph@codesourcery.com>
13289
13290 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13291 if needed for __stack_chk_guard.
13292
bc7e1c36
RM
132932011-09-19 Roland McGrath <roland@hack.frob.com>
13294
ecb1482f
RM
13295 * sysdeps/posix/spawni.c (script_execute): Always define it.
13296 It will be optimized away if unused.
13297 (maybe_script_execute): New function.
13298 (__spawni): Call it.
13299
bc7e1c36
RM
13300 * Makerules: Don't include tls.make.
13301 (config-tls): Always set to thread.
13302 * tls.make.c: File removed.
13303
1c3b002b
MF
133042011-09-19 Mike Frysinger <vapier@gentoo.org>
13305
13306 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13307 * config.make.in (CPPFLAGS-config): New substituted variable.
13308
2840865d
UD
133092011-09-15 Ulrich Drepper <drepper@gmail.com>
13310
88738eb6
UD
13311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13312
cbf645a6 13313 [BZ #13192]
2840865d
UD
13314 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13315 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13316
b402e91a
RM
133172011-09-15 Roland McGrath <roland@hack.frob.com>
13318
13319 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13320 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13322 (CALL_FAIL): Likewise.
13323 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13324 (CALL_FAIL): Macro removed.
13325 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13326
4c1a1f71
UD
133272011-09-15 Ulrich Drepper <drepper@gmail.com>
13328
13329 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13330 for __FINITE_MATH_ONLY__ == 1.
13331
edc121be
AS
133322011-09-15 Andreas Schwab <schwab@redhat.com>
13333
13334 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13335 __ieee754_sqrt instead of sqrt.
13336 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13337 __ieee754_sqrtf instead of sqrtf.
13338 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13339 __floorf instead of floorf.
13340 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13341 __floorf, __truncf instead of floorf, truncf.
13342
cd205654
UD
133432011-09-14 Ulrich Drepper <drepper@gmail.com>
13344
ee4d0315
UD
13345 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13346
cd205654
UD
13347 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13348 __extern_always_inline.
13349 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13350 32-bit.
13351
48b67d71
AS
133522011-09-14 Andreas Schwab <schwab@redhat.com>
13353
13354 * elf/rtld.c (dl_main): Also relocate in dependency order when
13355 doing symbol dependency testing.
13356
1ae12c75
AS
133572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13358
13359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13360 Always define `refsym'.
13361
995a80df
AS
133622011-09-13 Andreas Schwab <schwab@redhat.com>
13363
e529793b
AS
13364 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13365 (__FD_ELT): Renamed from __FDELT.
13366 * misc/bits/select2.h (__FD_ELT): Likewise.
13367 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13368 __FD_MASK instead of __FDELT, __FDMASK.
13369 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13370 Likewise.
13371 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13372 Likewise.
13373
52d4fef8
AS
13374 * elf/Makefile (gen-ldd): Fix pattern.
13375
995a80df
AS
13376 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13377 (init_tls): Likewise.
13378
8682f8b0
UD
133792011-09-12 Ulrich Drepper <drepper@gmail.com>
13380
13381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13382
de82006d
AS
133832011-09-12 Andreas Schwab <schwab@redhat.com>
13384
a7c8e6a1
AS
13385 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13386 `struct cmsghdr *' instead of `void *'.
13387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13388 Likewise.
13389
0f31fe77
AS
133902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13391
13392 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13393 if non-absolute.
13394 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13395 ldd_rewrite_script.
0f31fe77 13396
32b4c839
UD
133972011-09-11 Ulrich Drepper <drepper@gmail.com>
13398
83cd1420
UD
13399 * configure.in: Remove --with-tls option.
13400 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13401 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13402 out in case it is missing.
13403 * sysdeps/ia64/elf/configure.in: Likewise.
13404 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13405 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13406 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13407 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13408 * sysdeps/sh/elf/configure.in: Likewise.
13409 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13410 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13411 * sysdeps/x86_64/elf/configure.in: Likewise.
13412 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13413 * sysdeps/mach/hurd/tls.h: Likewise.
13414
633f745d
UD
13415 [BZ #13067]
13416 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13417
f318beb8
UD
13418 [BZ #13090]
13419 * configure.in: Fix use of AC_INIT.
13420
32b4c839
UD
13421 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13422
3ce1f295
UD
134232011-09-10 Ulrich Drepper <drepper@gmail.com>
13424
bb016596
UD
13425 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13426 __set_errno.
8e58439c
UD
13427 * malloc/hooks.c: Likewise.
13428
aebae053 13429 [BZ #11929]
02d46fc4
UD
13430 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13431 variables statically.
13432 (narenas): Initialize.
13433 (list_lock): Initialize.
bb016596
UD
13434 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13435 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13436 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13437 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13438 Add initializers to main_arena and mp_.
13439 (malloc_state): Remove pagesize member. Change all users to use
13440 GLRO(dl_pagesize).
13441
13442 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13443 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13444 is always initialized.
13445
22a89187
UD
13446 * malloc/malloc.c: Removed unused configurations and dead code.
13447 * malloc/arena.c: Likewise.
13448 * malloc/hooks.c: Likewise.
02d46fc4 13449 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13450
d063d164
UD
13451 * include/tls.h: Removed. USE___THREAD must always be defined.
13452 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13453 * elf/dl-libc.c: Likewise.
13454 * elf/dl-tsd.c: Likewise.
13455 * include/errno.h: Likewise.
13456 * include/netdb.h: Likewise.
13457 * include/resolv.h: Likewise.
13458 * inet/herrno-loc.c: Likewise.
13459 * inet/herrno.c: Likewise.
13460 * malloc/arena.c: Likewise.
13461 * malloc/hooks.c: Likewise.
13462 * malloc/malloc.c: Likewise.
13463 * resolv/res-state.c: Likewise.
13464 * resolv/res_libc.c: Likewise.
13465 * sysdeps/i386/dl-machine.h: Likewise.
13466 * sysdeps/ia64/dl-machine.h: Likewise.
13467 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13468 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13469 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13470 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13471 * sysdeps/sh/dl-machine.h: Likewise.
13472 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13473 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13474 * sysdeps/unix/i386/sysdep.S: Likewise.
13475 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13476 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13477 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13480 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13481 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13485 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13486 * sysdeps/x86_64/dl-machine.h: Likewise.
13487 * tls.make.c: Likewise.
13488
3ce1f295
UD
13489 * configure.in: Remove --with-__thread option. Make tests for
13490 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13491 tls_model attribute fail if no support is available. Remove
13492 USE_IN_LIBIO.
13493 * Makeconfig: Adjust for dropped configure option. All features are
13494 now mandatory.
13495 * Makerules: Likewise.
13496 * Versions.def: Likewise.
13497 * argp/argp-fmtstream.c: Likewise.
13498 * argp/argp-fmtstream.h: Likewise.
13499 * argp/argp-help.c: Likewise.
13500 * assert/assert.c: Likewise.
13501 * config.h.in: Likewise.
13502 * config.make.in: Likewise.
13503 * configure: Likewise.
13504 * configure.in: Likewise.
13505 * csu/Versions: Likewise.
13506 * csu/init.c: Likewise.
13507 * elf/tst-audit2.c: Likewise.
13508 * elf/tst-tls10.c: Likewise.
13509 * elf/tst-tls10.h: Likewise.
13510 * elf/tst-tls11.c: Likewise.
13511 * elf/tst-tls12.c: Likewise.
13512 * elf/tst-tls14.c: Likewise.
13513 * elf/tst-tlsmod11.c: Likewise.
13514 * elf/tst-tlsmod12.c: Likewise.
13515 * elf/tst-tlsmod13.c: Likewise.
13516 * elf/tst-tlsmod13a.c: Likewise.
13517 * elf/tst-tlsmod14a.c: Likewise.
13518 * elf/tst-tlsmod15b.c: Likewise.
13519 * elf/tst-tlsmod16a.c: Likewise.
13520 * elf/tst-tlsmod16b.c: Likewise.
13521 * elf/tst-tlsmod7.c: Likewise.
13522 * elf/tst-tlsmod8.c: Likewise.
13523 * elf/tst-tlsmod9.c: Likewise.
13524 * gmon/gmon.c: Likewise.
13525 * grp/fgetgrent_r.c: Likewise.
13526 * grp/putgrent.c: Likewise.
13527 * hurd/fopenport.c: Likewise.
13528 * include/libc-symbols.h: Likewise.
13529 * include/tls.h: Likewise.
13530 * intl/gettextP.h: Likewise.
13531 * intl/loadinfo.h: Likewise.
13532 * locale/global-locale.c: Likewise.
13533 * locale/localeinfo.h: Likewise.
13534 * mach/devstream.c: Likewise.
13535 * malloc/arena.c: Likewise.
13536 * malloc/set-freeres.c: Likewise.
13537 * misc/err.c: Likewise.
13538 * misc/getttyent.c: Likewise.
13539 * misc/mntent_r.c: Likewise.
13540 * posix/getopt.c: Likewise.
13541 * posix/wordexp.c: Likewise.
13542 * pwd/fgetpwent_r.c: Likewise.
13543 * resolv/Versions: Likewise.
13544 * resolv/res_hconf.c: Likewise.
13545 * shadow/fgetspent_r.c: Likewise.
13546 * shadow/putspent.c: Likewise.
13547 * stdio-common/printf_fphex.c: Likewise.
13548 * stdio-common/tmpfile.c: Likewise.
13549 * stdlib/abort.c: Likewise.
13550 * stdlib/fmtmsg.c: Likewise.
13551 * sunrpc/auth_unix.c: Likewise.
13552 * sunrpc/clnt_perr.c: Likewise.
13553 * sunrpc/clnt_tcp.c: Likewise.
13554 * sunrpc/clnt_udp.c: Likewise.
13555 * sunrpc/clnt_unix.c: Likewise.
13556 * sunrpc/openchild.c: Likewise.
13557 * sunrpc/svc_simple.c: Likewise.
13558 * sunrpc/svc_tcp.c: Likewise.
13559 * sunrpc/svc_udp.c: Likewise.
13560 * sunrpc/svc_unix.c: Likewise.
13561 * sunrpc/xdr.c: Likewise.
13562 * sunrpc/xdr_array.c: Likewise.
13563 * sunrpc/xdr_rec.c: Likewise.
13564 * sunrpc/xdr_ref.c: Likewise.
13565 * sunrpc/xdr_stdio.c: Likewise.
13566
1248c1c4
PB
135672011-09-09 Ulrich Drepper <drepper@gmail.com>
13568
13569 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13570
135712011-07-03 Andreas Jaeger <aj@suse.de>
13572
13573 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13574 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13575 regenerate with gen-libm-tests.pl.
13576
135772010-05-12 Petr Baudis <pasky@suse.cz>
13578
13579 [BZ #11589]
13580 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13581 around j0() zero points by switching to j1().
13582 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13583 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13586
f22e1074
UD
135872011-09-09 Ulrich Drepper <drepper@gmail.com>
13588
f19009c1
UD
13589 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13590 instead of 0.
13591 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13592 instead of 0. .
13593 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13594 Patch in part by Pavel Roskin <proski@gnu.org>.
13595
3f8cc204
UD
13596 [BZ #13138]
13597 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13598 realloc.
13599 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13600 Free memory block if necessary.
13601
f22e1074
UD
13602 [BZ #12847]
13603 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13604 be NULL. Don't lock in this case.
13605
0a2349f9
RM
136062011-09-09 Roland McGrath <roland@hack.frob.com>
13607
13608 * elf/elf.h (ELFOSABI_GNU): New macro.
13609 (ELFOSABI_LINUX): Define to that.
13610
f3cdd467
DZ
136112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13612
13613 * string/strncat.c (strncat): Undef the symbol in case it has been
13614 defined in bits/string.h.
13615
74718d13
UD
136162011-09-09 Ulrich Drepper <drepper@gmail.com>
13617
633e9e0f
UD
13618 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13619
0a2349f9 13620 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13621 link map.
13622
f9924780
AJ
136232011-08-17 Andreas Jaeger <aj@suse.de>
13624
13625 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13626
7f5517aa
PP
136272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13628 Ian Lance Taylor <iant@google.com>
13629
13630 * math/libm-test.inc (lround_test): New testcase.
13631 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13632
762011fe
UD
136332011-09-08 Ulrich Drepper <drepper@gmail.com>
13634
92963737
UD
13635 * Makefile: Remove support for automatic cvs check-ins.
13636 * Makerules: Likewise.
13637 * config.make.in: Likewise.
13638 * configure.in: Likewise.
13639 * intl/Makefile: Likewise.
13640 * locale/Makefile: Likewise.
13641 * po/Makefile: Likewise.
13642 * posix/Makefile: Likewise.
13643 * sysdeps/gnu/Makefile: Likewise.
13644 * sysdeps/mach/hurd/Makefile: Likewise.
13645 * sysdeps/sparc/sparc32/Makefile: Likewise.
13646
b0727fd8
JS
13647 [BZ #13118]
13648 * posix/Makefile (bug-regex32-ENV): Define.
13649 Patch by John Stanley <jpsinthemix@verizon.net>.
13650
a0f33f99
UD
13651 * misc/Makefile (headers): Add bits/select2.h.
13652 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13653 * misc/bits/select2.h: New file.
13654 * include/bits/select2.h: New file.
13655 * debug/Makefile (routines): Add fdelt_chk.
13656 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13657 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13658 FD_ISSET.
13659 * debug/fdelt_chk.c: New file.
13660
762011fe
UD
13661 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13662 * wcsmbs/test-wmemcmp.c: Likewise.
13663 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13664 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13665
136662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13667
13668 * string/Makefile (strop-tests): Add memcmp.
13669 * string/test-wmemcmp.c: New file.
13670 * string/test-memcmp.c: Add wmemcmp support.
13671
7f513ec8
RM
136722011-09-08 Roland McGrath <roland@hack.frob.com>
13673
0442afb4
RM
13674 [BZ #13153]
13675 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13676 2011-07-19 change.
13677
7f513ec8
RM
13678 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13679 garbage value in a __mach_port_mod_refs call in the cases of the
13680 task-self and thread-self ports.
13681
a12b2239
ST
136822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13683
13684 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13685
610f9ab4
AS
136862011-09-08 Andreas Schwab <schwab@redhat.com>
13687
7f513ec8 13688 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13689
48882a1a
LD
136902011-09-07 Ulrich Drepper <drepper@gmail.com>
13691
b49865be
UD
13692 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13693
fdc86bc9
UD
13694 * elf/dl-libc.c (dlerror_run): Pass back error code from
13695 dl_catch_error.
13696
c966526a
UD
13697 [BZ #13123]
13698 * elf/dl-load.c (lose): Free l_origin if it is valid.
13699
48882a1a
LD
13700 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13701 names.
13702 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13703 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13704 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13705 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13706 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13707 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13708
77a2a8b4
AZ
137092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13710
13711 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13712 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13713 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13714 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13715 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13716 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13717 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13718 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13719 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13720 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13721
24f579d8
AM
137222011-08-15 Alan Modra <amodra@gmail.com>
13723
13724 [BZ #13092]
13725 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13726 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13727 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13728 ppc_mcount to static-only-routines.
13729 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13730 __mcount_internal.
13731 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13732 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13733
3d4837df
UD
137342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13735
13736 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13737 for finite and infinity parameters.
13738
22700377
WS
137392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13740
13741 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13742 and add nop instructions for throughput optimization.
13743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13744
5025581e
WS
137452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13746
13747 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13748 aligned copy for power7 with vector-scalar instructions.
13749 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13750
08a300c9
L
137512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13752
13753 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13754 AVX check.
13755
59178ef9
AS
137562011-09-07 Andreas Schwab <schwab@redhat.com>
13757
13758 [BZ #13144]
13759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13760 last change.
13761
e38ba7ab
UD
137622011-09-07 Ulrich Drepper <drepper@gmail.com>
13763
13764 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13765 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13766 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13767 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13768 clock_gettime.
13769
d53a73ac
UD
137702011-09-06 Ulrich Drepper <drepper@gmail.com>
13771
fc8bffcc
UD
13772 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13773 Forgot to demangle the pointer.
13774
ceaa0c5d
UD
13775 * sysdeps/i386/sysdep.h: Define atom_text_section.
13776 * sysdeps/x86_64/sysdep.h: Likewise.
13777 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13778 section with atom_text_section.
13779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13780 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13781 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13784
a77d3c17
UD
13785 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13786 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13787 already be defined. Change to take two parameters and don't assign
13788 result to variable. Adjust all users.
13789 Define INTERNAL_GETTIME if not already defined.
13790 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13791 call.
13792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13793 HAVE_CLOCK_GETTIME_VSYSCALL.
13794 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13795
d53a73ac
UD
13796 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13797 gettimeofday vsyscall, just use time.
13798
a8f84144
AS
137992011-09-06 Andreas Schwab <schwab@redhat.com>
13800
13801 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13802 <errno.h>.
13803
ef606249
UD
138042011-09-06 Ulrich Drepper <drepper@gmail.com>
13805
13806 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13807 syscall on x86-64.
13808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13809 syscall.
13810 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13811 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13812 syscall if possible.
13813
6585cb60
UD
138142011-09-05 Ulrich Drepper <drepper@gmail.com>
13815
13816 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13817 e_ident. Don't pass to find_mapsXX.
13818 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13819
a5f524e4
LD
138202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13821
13822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13823 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13824 * sysdeps/x86_64/multiarch/strchr.S: Update.
13825 Check bit_slow_BSF bit.
13826 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13827 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13828 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13829
554881ef
UD
138302011-09-05 Ulrich Drepper <drepper@gmail.com>
13831
d96de963
UD
13832 [BZ #13134]
13833 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13834 before glibc 2.15.
13835 (tryshell): Define.
13836 (__spawni): Change last parameter to be flag. Test
13837 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13838 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13839 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13840 * posix/spawni.c: Likewise.
13841 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13842 * posix/spawnp.c: Likewise. Change normal version to use
13843 SPAWN_XFLAGS_USE_PATH.
13844 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13845 SPAWN_XFLAGS_TRY_SHELL.
13846
d48e5868
UD
13847 [BZ #13150]
13848 * posix/glob.h: Remove gcc 1.x support.
13849
554881ef
UD
13850 [BZ #13068]
13851 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13852
693fb948
LD
138532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13854
13855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13856 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13857 strrchr-sse2-bsf
13858 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13859 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13860 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13861 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13862 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13863 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13864
1b48c537
UD
138652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13866
49d42c37
UD
13867 * sysdeps/x86_64/wcscmp.S: New file.
13868
1b48c537
UD
13869 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13870 wcscmp-c wcscmp-sse2
13871 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13872 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13873 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13874 * wcsmbs/wcscmp.c: Allow renaming.
13875
15c95c5d
DM
138762011-09-05 David S. Miller <davem@davemloft.net>
13877
13878 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13879 stack slot, rather than the struct return pointer slot.
13880 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13881 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13883 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13884
2f0ad8f3
UD
138852011-09-05 Ulrich Drepper <drepper@gmail.com>
13886
d88ae418
UD
13887 * po/ja.po: Update from translation team.
13888
2f0ad8f3
UD
13889 [BZ #13144]
13890 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13891 kernel in 64-bit binaries.
13892
5f4318d1
DM
138932011-09-01 David S. Miller <davem@davemloft.net>
13894
13895 * elf/elf.h (HWCAP_SPARC_*): Move to..
13896 * sysdeps/sparc/sysdep.h: this new file and add new values.
13897 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13898 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13899 _DL_HWCAP_COUNT to 24.
13900 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13901 entries.
13902 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13903 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13904 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13906 instead of magic constants.
13907 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13908
3ba57516
DM
139092011-08-31 David S. Miller <davem@davemloft.net>
13910
13911 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13913 Reimplement to do errno handling inline.
13914 (SYSCALL_ERROR_HANDLER): New macro.
13915 (__SYSCALL_STRING): Do not do errno handling in asm.
13916 (__CLONE_SYSCALL_STRING): Delete.
13917 (__INTERNAL_SYSCALL_STRING): Delete.
13918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13919 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13920 (PSEUDO): Reimplement to do errno handling inline.
13921 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13922 (SYSCALL_ERROR_HANDLER): New macro.
13923 (__SYSCALL_STRING): Do not do errno handling in asm.
13924 (__CLONE_SYSCALL_STRING): Delete.
13925 (__INTERNAL_SYSCALL_STRING): Delete.
13926 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13927 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13928 i386.
13929 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13930 (inline_syscall*): Add 'err' argument.
13931 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13932 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13933 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13934 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13935
13936 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13937 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13938
2bc17433
AS
139392011-08-30 Andreas Schwab <schwab@redhat.com>
13940
13941 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13942
fbeb5f4d
JO
139432011-08-29 Jiri Olsa <jolsa@redhat.com>
13944
13945 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13946 directive.
13947
ad69cc26
DM
139482011-08-24 David S. Miller <davem@davemloft.net>
13949
13950 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13951
39dd69df
AS
139522011-08-24 Andreas Schwab <schwab@redhat.com>
13953
13954 * elf/Makefile: Add rules to build and run unload8 test.
13955 * elf/unload8.c: New file.
13956 * elf/unload8mod1.c: New file.
13957 * elf/unload8mod1x.c: New file.
13958 * elf/unload8mod2.c: New file.
13959 * elf/unload8mod3.c: New file.
13960
13961 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13962 it wasn't used.
13963
2c0b250a
DM
139642011-08-23 David S. Miller <davem@davemloft.net>
13965
13966 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13967 subtract stack bias.
13968 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13969 %sp not %fp in calculations.
13970 (_JMPBUF_UNWINDS_ADJ): Likewise.
13971
22044b48
DM
13972 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13973 (aio_suspend): Call it to force an exception region around the
13974 AIO_MISC_WAIT() invocation.
13975
2cae4995
AS
139762011-08-23 Andreas Schwab <schwab@redhat.com>
13977
13978 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13979 backslash.
13980
873a772e
AJ
139812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13982
13983 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13984 protection macro.
13985 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13986 and <dl-machine.h>.
13987 (Elf64_FuncDesc): Remove.
13988
25ad0df1
DM
139892011-08-22 David S. Miller <davem@davemloft.net>
13990
13991 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13992 sigaltstack check, add missing cfi directives.
13993 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13994 missing cfi directives, and sigaltstack handling.
13995
e888bcbe
AS
139962011-08-16 Andreas Schwab <schwab@redhat.com>
13997
13998 [BZ #11724]
13999 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
14000 object is seen twice.
14001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14002
14003 * elf/Makefile (distribute): Add tst-initorder2.c.
14004 (tests): Add tst-initorder2.
14005 (modules-names): Add tst-initorder2a tst-initorder2b
14006 tst-initorder2c tst-initorder2d. Add rules to build them.
14007 ($(objpfx)tst-initorder2.out): New rule.
14008 * elf/tst-initorder2.c: New file.
14009 * elf/tst-initorder2.exp: New file.
14010
87162f46
AS
140112011-08-22 Andreas Schwab <schwab@redhat.com>
14012
70538b7f
AS
14013 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
14014
f55ffe58
AS
14015 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
14016 dependencies back to end of function.
14017
87162f46
AS
14018 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14019 $(elfobjdir)/ld.so.
14020
91b392a4
UD
140212011-08-21 Ulrich Drepper <drepper@gmail.com>
14022
14023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
14024 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
14025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14026 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14027 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14028 of __vdso_gettimeofday.
14029 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14030 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14031 attribute_hidden.
14032 (_libc_vdso_platform_setup): Remove initialization of
14033 __vdso_gettimeofday and __vdso_time.
14034
5c43483f
UD
140352011-08-20 Ulrich Drepper <drepper@gmail.com>
14036
775a77e7
UD
14037 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14038 and fgetc_unlocked.
14039 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14040 getc_unlocked.
89f447ed 14041
49c74ba9
UD
14042 * elf/dl-open.c (add_to_global): Report additions to the global scope
14043 for LD_DEBUG=scopes.
14044 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14045 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14046
5c43483f
UD
14047 [BZ #13114]
14048 * stdio-common/Makefile (tests): Add bug24.
14049 * stdio-common/bug24.c: New file.
14050
a101b025
AJ
140512011-08-19 Andreas Jaeger <aj@suse.de>
14052
14053 [BZ #13114]
14054 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14055 non-existant file when using close-on-exec mode.
14056
c88f1766
UD
140572011-08-20 Ulrich Drepper <drepper@gmail.com>
14058
0276a718
UD
14059 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14060 the very first instruction.
14061
c88f1766
UD
14062 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14063 the CFI state in the end.
14064 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14065 inclusion of dl-trampoline.h.
14066 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14067
51ccffa0
AS
140682011-08-19 Andreas Schwab <schwab@redhat.com>
14069
94d7165f
AS
14070 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14071 expectations for long double.
14072
51ccffa0
AS
14073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14074 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14075
fd708658 140762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14077
14078 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14079 artificual limit depends upon the system page size.
14080
44f0a71e
UD
140812011-08-17 Ulrich Drepper <drepper@gmail.com>
14082
14083 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14084 * resolv/Makefile: Define CFLAGS-libresolv.
14085
8de79a24
AS
140862011-08-17 Andreas Schwab <schwab@redhat.com>
14087
14088 * nss/makedb.c (compute_tables): Make variables used in nested
14089 function static.
14090
27724598
UD
140912011-08-17 Ulrich Drepper <drepper@gmail.com>
14092
c5305d88
UD
14093 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14094 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14095 if buffer was too small.
14096
27724598
UD
14097 * elf/pldd.c (main): Attach to all threads in the process.
14098 Rewrite /proc handling to use *at functions.
14099
076fe015
UD
141002011-08-16 Ulrich Drepper <drepper@gmail.com>
14101
174baab3
UD
14102 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14103 specifies first scope to show.
14104 (dl_open_worker): Update callers. Move printing scope of new
14105 object to before the relocation.
44f0a71e 14106 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14107 * sysdeps/generic/ldsodefs.h: Update declaration.
14108
076fe015
UD
14109 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14110 string for the scope number.
14111
a60df2c3
UD
141122011-08-14 Ulrich Drepper <drepper@gmail.com>
14113
14114 * nscd/servicescache.c (cache_addserv): Make sure written is always
14115 initialized.
14116
5e4287d1
RM
141172011-08-14 Roland McGrath <roland@hack.frob.com>
14118
85ae0589
RM
14119 * sysdeps/i386/i486/bits/atomic.h
14120 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14121 statement expression, so as to suppress "set but not used" warning.
14122 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14123
69f63097
RM
14124 * string/strncat.c (STRNCAT): Use prototype definition.
14125
675456ef
RM
14126 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14127 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14128 -Iprograms here.
14129 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14130 (localedef-modules): Add localedef.
14131 (locale-modules): Add locale.
14132
5e4287d1
RM
14133 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14134 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14135 to avoid a warning.
14136
9c96ff23
DM
141372011-08-14 David S. Miller <davem@davemloft.net>
14138
14139 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14140 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14141
f9ddf089
UD
141422011-08-13 Ulrich Drepper <drepper@gmail.com>
14143
44f0a71e 14144 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14145 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14146 * elf/rtld.c (dl_main): Set l_name of vDSO.
14147 Call _dl_show_scope when DL_DEBUG_SCOPES.
14148 (process_dl_debug): Recognize scopes flag and also set it for all.
14149 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14150 Declare _dl_show_scope.
14151
1dc27704
UD
14152 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14153 (do_dlopen): Pass caller_dlopen to dl_open.
14154 (__libc_dlopen_mode): Initialize caller_dlopen.
14155
f9ddf089
UD
14156 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14157 of libc. Make tolower call locale-independent. Optimize a bit by
14158 using isdigit instead of isalnum.
14159 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14160
9ac533d3
UD
141612011-08-12 Ulrich Drepper <drepper@gmail.com>
14162
14163 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14164 was a dependency or dynamically loaded.
14165
89edf2e9
UD
141662011-08-11 Ulrich Drepper <drepper@gmail.com>
14167
8e999d29
UD
14168 * intl/l10nflist.c: Allow architecture-specific pop function.
14169 * sysdeps/x86_64/l10nflist.c: New file.
14170
89edf2e9
UD
14171 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14172 classification.
14173
14d96785
AS
141742011-08-10 Andreas Schwab <schwab@redhat.com>
14175
14176 * include/dirent.h: Add libc_hidden_proto for scandirat and
14177 scandirat64. Don't declare __scandirat64.
14178 * dirent/scandirat.c: Add libc_hidden_def.
14179 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14180 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14181
6761ac04
DM
141822011-08-10 David S. Miller <davem@davemloft.net>
14183
14184 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14185 enum.
14186 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14187 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14188 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14189
c55fbd1e
UD
141902011-08-09 Ulrich Drepper <drepper@gmail.com>
14191
14192 * Versions.def [libc]: Add GLIBC_2.15.
14193 * dirent/Makefile (routines): Add scandirat and scandirat64.
14194 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14195 GLIBC_2.15.
14196 * dirent/dirent.h: Declare scandirat and scandirat64.
14197 * dirent/scandirat.c: New file.
14198 * dirent/scandirat64.c: New file.
14199 * sysdeps/wordsize-64/scandirat.c: New file.
14200 * sysdeps/wordsize-64/scandirat64.c: New file.
14201 * dirent/opendir.c: Define opendirat.
14202 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14203 using scandirat.
14204 * dirent/scandir64.c: Adjust for scandir.c change.
14205 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14206 __scandirat64, and __scandir_cancel_handler.
14207 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14208 additional parameter and use openat instead of open (outside of ld.so).
14209 Add new __opendir as wrapper around __opendirat.
14210 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14211 here without requiring old scandirat implementation.
14212
879165f2
UD
142132011-08-08 Ulrich Drepper <drepper@gmail.com>
14214
14215 * dirent/scandir.c (cancel_handler): Renamed to
14216 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14217 defined. Adjust users.
14218 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14219 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14220
cb7e923b
UD
142212011-08-04 Ulrich Drepper <drepper@gmail.com>
14222
16292edd
UD
14223 * string/test-string.h (IMPL): Use __STRING to expand name and then
14224 stringify it.
14225
cb7e923b
UD
14226 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14227 of cleanups.
14228
cff82933
LD
142292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14230
14231 * string/Makefile: Update.
14232 (strop-tests): Append strncat.
14233 * string/test-wcscmp.c: New file.
14234 New comprehensive test for wcscmp.
14235 * string/test-strcmp.c: Update.
14236 (WIDE): New define.
14237
9be9bfcc
AS
142382011-07-22 Andreas Schwab <schwab@redhat.com>
14239
14240 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14241 line.
14242
2e96f1c7
AS
142432011-07-26 Andreas Schwab <schwab@redhat.com>
14244
14245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14246 encoding to ACE if AI_IDN.
14247
85188888
JJ
142482011-08-01 Jakub Jelinek <jakub@redhat.com>
14249
14250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14251 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14252
5fa16e9b
LD
142532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14254
14255 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14256 Fix overflow bug in strncat.
14257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14258
14259 * string/test-strncat.c: Update.
14260 Add new tests for checking overflow bugs.
14261
142622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14263
14264 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14265 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14266 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14267 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14268 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14269 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14270 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14271 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14272 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14273
14274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14275 (USE_AS_STRCAT): Define.
14276 Add strcat and strncat support.
14277 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14278
8c1a459f
AS
142792011-07-25 Andreas Schwab <schwab@redhat.com>
14280
14281 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14282 __n bigger than INT_MAX+1.
14283 (__strncmp_g): Likewise.
14284
bba33c28
UD
142852011-07-23 Ulrich Drepper <drepper@gmail.com>
14286
798be72d
UD
14287 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14288 * libio/stido.h: Likewise.
14289
8accd4dc
UD
14290 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14291 (AF_NFC): Define.
14292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14293 (AF_NFC): Define.
14294
cbff0d96
UD
14295 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14296 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14300
9191c04a
UD
14301 [BZ #13021]
14302 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14303 installed.
14304
bba33c28
UD
14305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14306 typo.
14307 (_dl_x86_64_save_sse): Likewise.
14308
90f139dd
UD
143092011-07-22 Ulrich Drepper <drepper@gmail.com>
14310
1aae088a
UD
14311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14312 OSXSAVE.
14313 (_dl_x86_64_save_sse): Likewise.
14314
8e2045f5
UD
14315 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14316
90f139dd
UD
14317 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14318
1d002f25
AS
143192011-07-21 Andreas Schwab <schwab@redhat.com>
14320
14321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14322 change.
14323 (_dl_x86_64_save_sse): Use correct AVX check.
14324
21137f89
UD
143252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14326
14327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14328 bug in strncpy/strncat.
14329 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14330
a65c0b7a
UD
143312011-07-21 Ulrich Drepper <drepper@gmail.com>
14332
14333 * string/tester.c (test_strcat): Add tests for different alignments
14334 of source and destination.
14335 (test_strncat): Likewise.
14336
6986b98a
UD
143372011-07-20 Ulrich Drepper <drepper@gmail.com>
14338
90bb2039
UD
14339 [BZ #12852]
14340 * posix/glob.c (glob): Check passed in values before using them in
14341 expressions to avoid some overflows.
14342 (glob_in_dir): Likewise.
14343
5644ef54
UD
14344 [BZ #13007]
14345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14346 check for AVX enablement so that we don't crash with old kernels and
14347 new hardware.
14348 * elf/tst-audit4.c: Add same checks here.
14349 * elf/tst-audit6.c: Likewise.
14350
14351 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14352
bfc9dc9b
AS
143532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14354
14355 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14356
702e64bb
UD
143572011-07-20 Ulrich Drepper <drepper@gmail.com>
14358
14359 * po/cs.po: Update from translation team.
14360 * po/bg.po: Likewise.
14361
295e904f
MP
143622011-07-12 Marek Polacek <mpolacek@redhat.com>
14363
14364 * misc/sys/cdefs.h: Add support for const attribute.
14365 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14366 to gnu_dev_{major,minor,makedev} functions.
14367
3ff94596
MP
143682011-07-20 Marek Polacek <mpolacek@redhat.com>
14369
14370 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14371
28b59fca
AS
143722011-07-20 Andreas Schwab <schwab@redhat.com>
14373
14374 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14375 strlen results.
14376
19df733e
AK
143772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14378
14379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14380 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14381 register in order to avoid conflicts with the soft frame pointer
14382 being held in r11 when necessary.
14383 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14384 (INTERNAL_VSYSCALL_NCS): Likewise.
14385
c8835729
MP
143862011-07-14 Marek Polacek <mpolacek@redhat.com>
14387
14388 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14389 * elf/dl-fini.c (_dl_fini): Adjust caller.
14390 * elf/dl-close.c (_dl_close_worker): Likewise.
14391 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14392
b902330c
MP
143932011-07-15 Marek Polacek <mpolacek@redhat.com>
14394
8991e135
MP
14395 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14396 "aux_cache->nlibs < 0".
14397
b902330c
MP
14398 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14399 in the reload-count case.
14400
99710781
LD
144012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14402
14403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14404 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14405 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14406 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14407 * sysdeps/x86_64/multiarch/strcat.S: New file.
14408 * sysdeps/x86_64/multiarch/strncat.S: New file.
14409 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14411 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14412 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14413 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14414 (USE_AS_STRCAT): Define.
14415 Add strcat and strncat support.
14416 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14417 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14418 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14419 * string/strncat.c: Update.
14420 (USE_AS_STRNCAT): Define.
14421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14422 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14423 and i7.
14424 * sysdeps/x86_64/multiarch/init-arch.h
14425 (bit_Prefer_PMINUB_for_stringop): New.
14426 (index_Prefer_PMINUB_for_stringop): Likewise.
14427 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14428 bit_Prefer_PMINUB_for_stringop.
14429
7dc6bd90
UD
144302011-07-19 Ulrich Drepper <drepper@gmail.com>
14431
14432 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14433 buffer64.
14434 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14435 of casting of buffer.
14436 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14437 buffer32 and buffer64.
14438 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14439 writes instead of casting of buffer.
14440 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14441 buffer32.
14442 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14443 casting of buffer.
14444
e0e72284
AS
144452011-07-19 Andreas Schwab <schwab@redhat.com>
14446
14447 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14448
feb1eb0b
UD
144492011-07-19 Ulrich Drepper <drepper@gmail.com>
14450
14451 * nscd/nscd.c (termination_handler): Don't do anything for a database
14452 if it has not yet been initialized.
14453
298711ff
UD
144542011-07-18 Ulrich Drepper <drepper@gmail.com>
14455
14456 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14457
144582011-07-15 Marek Polacek <mpolacek@redhat.com>
14459
14460 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14461
f9d68389
UD
144622011-07-18 Ulrich Drepper <drepper@gmail.com>
14463
14464 * po/nl.po: Update from translation team.
14465 * po/sv.po: Likewise.
14466
db290cf5
RM
144672011-07-16 Roland McGrath <roland@hack.frob.com>
14468
14469 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14470 now disallowed by GCC.
5c550700 14471
fd5e21c7
RM
14472 * configure.in (use-default-link): Default to yes if a test -shared
14473 link meets our qualifications.
14474 * configure: Regenerated.
14475
5c550700
RM
14476 * config.make.in (output-format): New variable.
14477 * configure.in: Check for ld --print-output-format support.
14478 * configure: Regenerated.
14479 * Makerules ($(common-objpfx)format.lds)
14480 [$(output-format) != unknown]: Just use $(output-format),
14481 instead of the linker-script munging.
14482
9fa2c032
RM
144832011-07-14 Roland McGrath <roland@hack.frob.com>
14484
a6928d51
RM
14485 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14486 of $(common-objpfx)shlib.lds.
14487 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14488
661607b3
RM
14489 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14490 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14491
9fa2c032
RM
14492 * configure.in (-z relro check): Adjust test code to add a large
14493 writable data section after it.
14494 * configure: Regenerated.
14495
defe9061
RM
144962011-07-11 Roland McGrath <roland@hack.frob.com>
14497
14498 * configure.in (-z relro check): Fix test code to make the variable
14499 truly const.
14500 * configure: Regenerated.
14501
319b9ad4
UD
145022011-07-11 Ulrich Drepper <drepper@gmail.com>
14503
14504 * nscd/nscd.h (struct traced_file): Define.
14505 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14506 elements. Add traced_files.
14507 (inotify_fd): Declare.
14508 (register_traced_file): Declare.
14509 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14510 (inotify_fd): Export.
14511 (resolv_conf_descr): Remove.
14512 (nscd_init): Move inotify descriptor creation to main.
14513 Don't register files for notification here.
14514 (register_traced_file): New function.
14515 (invalidate_cache): Don't use reset_res to determine whether to call
14516 res_init, go through the list of registered files.
14517 (main_loop_poll): The inotify descriptors are now stored in the
14518 structures for the traced files.
14519 (main_loop_epoll): Likewise
14520 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14521 to __nss_disable_nscd.
14522 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14523 for a database anymore. Check the records for all the registered
14524 files instead.
14525 * nss/Makefile (libnss_files-routines): Add files-init.
14526 (libnss_db-routines): Add db-init.
14527 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14528 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14529 * nss/nss_db/db-init.c: New file.
14530 * nss/nss_files/files-init.c: New file.
14531 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14532 __nss_lookup_function.
14533 (__nss_lookup_function): Call nss_load_library.
14534 (nss_load_all_libraries): New function.
14535 (__nss_disable_nscd): Take parameter with callback function for files
14536 to register. Set is_nscd. Load all the DSOs for the NSS modules
14537 used for the cached services.
14538 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14539 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14540 options for features to all the files in nscd.
14541
14542 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14543
23bee3e8
RM
145442011-07-10 Roland McGrath <roland@hack.frob.com>
14545
14546 * csu/elf-init.c (__libc_csu_init): Comment typo.
14547
46a5b7f0
UD
145482011-07-09 Ulrich Drepper <drepper@gmail.com>
14549
14550 * po/pl.po: Update from translation team.
14551 * po/ja.po: Likewise.
14552 * po/ru.po: Likewise.
14553 * po/ko.po: Likewise.
14554 * po/fr.po: Likewise.
14555
d30cf5bb
RM
145562011-07-09 Roland McGrath <roland@hack.frob.com>
14557
113ddea4
RM
14558 * configure.in (.ctors/.dtors header and trailer check):
14559 Use an empirical test on a built program.
14560 * configure: Regenerated.
14561
574920b4
RM
14562 * configure.in (-z relro check): Use an empirical test on a built DSO.
14563 Detect, but do not require, on ia64.
14564 * configure: Regenerated.
14565
d30cf5bb
RM
14566 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14567 Update tests that use readelf to use $READELF instead.
14568 * configure: Regenerated.
14569
8538fdb3
UD
145702011-07-08 Ulrich Drepper <drepper@gmail.com>
14571
14572 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14573 if the result is not used.
14574
04d08991
AJ
145752011-07-05 Andreas Jaeger <aj@suse.de>
14576
14577 [BZ#9696]
14578 * stdlib/tst-strtod.c: Add testcase.
14579
de283087
AD
145802011-07-07 Ulrich Drepper <drepper@gmail.com>
14581
4e5f31c8 14582 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14583 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14584 The latter has a higher limit. Take additional parameter to pass to
14585 the new function.
14586 (__pathconf): Pass file to __statfs_link_max.
14587 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14588 __statfs_link_max.
14589 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14590 __statfs_link_max.
14591
de283087
AD
14592 [BZ #12868]
14593 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14595 Handle Lustre.
14596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14597 (__statfs_filesize_max): Likewise.
14598 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14599
c75fa153
AJ
146002011-07-05 Andreas Jaeger <aj@suse.de>
14601
14602 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14603
1a544854
UD
146042011-07-06 Marek Polacek <mpolacek@redhat.com>
14605
14606 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14607 `status' variable.
14608 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14609 Likewise.
14610
6f0eec67
UD
146112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14612
14613 * Makefile (strop-tests): Add strncat.
14614 * string/test-strncat.c: New file.
14615
aae30307
UD
146162011-06-30 Marek Polacek <mpolacek@redhat.com>
14617
14618 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14619
c0cfb5eb
UD
146202011-06-21 Andreas Jaeger <aj@suse.de>
14621
14622 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14623 Copy rule from iconvdata/Makefile.
14624
01636b21
UD
146252011-07-06 Ulrich Drepper <drepper@gmail.com>
14626
14627 [BZ #12922]
14628 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14629 but no long options are defined, just return 'W'.
14630
9895c8bc
UD
146312011-06-22 Marek Polacek <mpolacek@redhat.com>
14632
14633 [BZ #9696]
14634 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14635
5d4cf042
UD
146362011-07-06 Ulrich Drepper <drepper@gmail.com>
14637
14638 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14639 netgroups to read.
960e5535 14640 (innetgr): Likewise.
5d4cf042 14641
751eb97e
RM
146422011-07-05 Roland McGrath <roland@hack.frob.com>
14643
14644 * config.make.in (install_root): Default to $(DESTDIR).
14645
f15f1e45
UD
146462011-07-05 Ulrich Drepper <drepper@gmail.com>
14647
14648 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14649
4e34ac6a
RM
146502011-07-02 Roland McGrath <roland@hack.frob.com>
14651
5e9b6af4
RM
14652 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14653
84f9ea0f
RM
14654 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14655 containing directory rather than embedding absolute directory names.
14656
ea5ee9f7
RM
14657 * scripts/check-local-headers.sh: Rewritten using awk.
14658 Match by word, not by line. Print error messages for matches.
14659 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14660
1b74661a
RM
14661 * Makerules [shlib-lds-flags empty]:
14662 ($(common-objpfx)libc_pic.opts): New target.
14663 ($(common-objpfx)libc_pic.os.clean): New target.
14664 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14665
14666 * config.make.in (OBJCOPY): New variable.
14667 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14668 * configure: Regenerated.
14669
f781ef40
RM
14670 * config.make.in (use-default-link): New variable.
14671 * configure.in (use_default_link): Grok --with-default-link to set it.
14672 * configure: Regenerated.
14673 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14674 (shlib-lds, shlib-lds-flags): Define to empty.
14675
2d4fa81e
RM
14676 * Makerules (shlib-lds): New variable.
14677 (shlib-lds-flags): New variable.
14678 (build-shlib, build-moduile, build-module-asneeded): Use it.
14679 ($(common-objpfx)libc.so): Use $(shlib-lds).
14680 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14681 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14682
31fffa6b
RM
14683 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14684 DT_FLAGS/DT_FLAGS_1 with zero flags.
14685
4e34ac6a
RM
14686 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14687 linker script munging.
14688
fcfc776b
UD
146892011-07-02 Ulrich Drepper <drepper@gmail.com>
14690
14691 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14692 as 128-bit value.
14693 * crypt/sha512.c (sha512_process_block): Perform total addition using
14694 128-bit if possible.
14695 (__sha512_finish_ctx): Likewise.
14696 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14697 as 64-bit value.
14698 * crypt/sha256.c (SWAP64): Define.
14699 (sha256_process_block): Perform total addition using 64-bit if
14700 possible.
14701 (__sha256_finish_ctx): Likewise.
14702
99231d9a
UD
147032011-07-01 Ulrich Drepper <drepper@gmail.com>
14704
14705 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14706 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14707 * nscd/hstcache.c (cache_addhst): Likewise.
14708 * nscd/grpcache.c (cache_addgr): Likewise.
14709 * nscd/aicache.c (addhstaiX): Likewise
14710 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14711
445b4a53
TK
147122011-07-01 Thorsten Kukuk <kukuk@suse.de>
14713
14714 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14716 * nscd/hstcache.c (cache_addhst): Likewise.
14717 * nscd/grpcache.c (cache_addgr): Likewise.
14718 * nscd/aicache.c (addhstaiX): Likewise
14719
6d4d8e8e
AS
147202011-07-01 Andreas Schwab <schwab@redhat.com>
14721
14722 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14723 domain only when needed.
14724
89f654c5
AS
147252011-06-30 Andreas Schwab <schwab@redhat.com>
14726
14727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14728 is always restored.
14729
cf3b23ff
UD
147302011-06-29 Ulrich Drepper <drepper@gmail.com>
14731
14732 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14733 are re-adding the entry.
14734 * nscd/servicescache.c (cache_addserv): Likewise.
14735
751626f9
AJ
147362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14737
14738 * sysdeps/generic/dl-irel.h: fix protection against multiple
14739 inclusions.
14740 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14741
9113ea1f
UD
147422011-06-28 Ulrich Drepper <drepper@gmail.com>
14743
5c0b8d90
UD
14744 [BZ #12935]
14745 * malloc/memusage.sh: Fix quoting in message.
14746 * debug/xtrace.sh: Likewise.
14747
9113ea1f
UD
14748 * configure.in: Remove support for --experimental-malloc option, make
14749 it the default.
14750 * config.make.in: Likewise.
14751 * malloc/Makefile: Likewise.
14752
a4172181
AS
147532011-06-27 Andreas Schwab <schwab@redhat.com>
14754
14755 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14756 two-byte characters.
14757
78a7eee7
RM
147582011-06-27 Roland McGrath <roland@hack.frob.com>
14759
62bede13
RM
14760 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14761 AC_CACHE_CHECK invocation.
14762 * configure: Regenerated.
14763
78a7eee7
RM
14764 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14765
5ce33a62
UD
147662011-06-27 Ulrich Drepper <drepper@gmail.com>
14767
034807a9
UD
14768 [BZ #12350]
14769 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14770 bit from old_res_options.
14771
4902da17
UD
14772 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14773
5ce33a62
UD
14774 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14775 value type for setfct.
14776
c2344f56
L
147772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14778
14779 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14780 __gettimeofday instead of gettimeofday.
14781
68468076
UD
147822011-06-26 Ulrich Drepper <drepper@gmail.com>
14783
14784 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14785
acb0d739
L
147862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14787
14788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14789
14790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14791 info.
14792
8912479f
L
147932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14794
14795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14796 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14797 strcpy-sse2-unaligned strncpy-sse2-unaligned
14798 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14799 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14800 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14801 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14802 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14805 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14806 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14807 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14808 (STRCPY): Support SSE2 and SSSE3 versions.
14809
d5495a11
UD
148102011-06-24 Ulrich Drepper <drepper@gmail.com>
14811
14812 [BZ #12874]
14813 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14814 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14815 kernels which artificially limit size of requests.
14816
0b1cbaae
L
148172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14818
14819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14820 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14821 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14822 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14823 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14824 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14825 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14826 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14827 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14829 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14830 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14831 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14832 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14833 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14835 Enable unaligned load optimization for Intel Core i3, i5 and i7
14836 processors.
14837 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14838 Define.
14839 (index_Fast_Unaligned_Load): Define.
14840 (HAS_FAST_UNALIGNED_LOAD): Define.
14841
07f494a0
MP
148422011-06-23 Marek Polacek <mpolacek@redhat.com>
14843
14844 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14845
fa3fc0fe
UD
148462011-06-22 Ulrich Drepper <drepper@gmail.com>
14847
14848 [BZ #12907]
14849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14850 until it is clear that the information is realy needed.
14851 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14852
e12df166
AS
148532011-06-22 Andreas Schwab <schwab@redhat.com>
14854
14855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14856
852eb34d
UD
148572011-06-22 Ulrich Drepper <drepper@gmail.com>
14858
84e2a551
UD
14859 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14860 /sys/devices/system/cpu/online if it is usable.
14861
852eb34d
UD
14862 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14863 reading the information from the /proc filesystem to once a second.
14864
6e502e19
UD
148652011-06-21 Andreas Jaeger <aj@suse.de>
14866
14867 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14868 NULL after inclusion of kernel headers.
14869
75d39ff2
UD
148702011-06-21 Ulrich Drepper <drepper@gmail.com>
14871
51f9aa6a
UD
14872 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14873 calls to internal_setent.
14874
c0244a9d
UD
14875 [BZ #12885]
14876 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14877 addresses using gethostbyname4_r ignore IPv4 addresses.
14878
c5e3c2ae
UD
14879 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14880 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14881
75d39ff2
UD
14882 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14883
42675c6f
DM
148842011-06-20 David S. Miller <davem@davemloft.net>
14885
14886 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14887 inclusions.
14888 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14889
14890 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14891 (elf_irel): Use it.
14892 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14893 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14894 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14895 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14896 * sysdeps/x86_64/dl-irel.h: Likewise.
14897
14898 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14899 * elf/dl-sym.c: Likewise.
14900
57912a71
UD
149012011-06-15 Ulrich Drepper <drepper@gmail.com>
14902
14903 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14904 need to dereference resplen2.
14905
ee22793d
AS
149062011-06-14 Andreas Schwab <schwab@redhat.com>
14907
14908 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14909
a9e836b0
UD
149102011-06-15 Ulrich Drepper <drepper@gmail.com>
14911
77fb9117
UD
14912 * Makeconfig: Define vardbdir and inst_vardbdir.
14913 * nss/Makefile: Add rules to install db-Makefile.
14914
40c1b22c
UD
14915 * nss/nss_db/db-XXX.c: Cleanup.
14916
9f2da732
UD
14917 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14918 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14919 GLIBC_PRIVATE.
14920 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14921 * nss/makedb.c: Implement -g option to specify that value strings
14922 are generated and should not be added to table iterated over for
14923 get*ent calls.
14924 * nss/nss_db/db-initgroups.c: New file.
14925
82e9a1f7
UD
14926 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14927 interface.
14928
c41af17e
UD
14929 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14930 (internal_getgrouplist): Adjust to name change.
14931 Update use_initgroups_entry if this is not the first call.
14932 * nss/databases.def: Add initgroups entry.
14933
a9e836b0
UD
14934 * nss/makedb.c (compute_tables): Check result of multiple hash table
14935 sizes to minimize maximum chain length.
14936
2666d441
UD
149372011-06-14 Ulrich Drepper <drepper@gmail.com>
14938
14939 * Versions.def: Add entry for libnss_db.
14940 * shlib-versions: Likewise.
14941 * nss/Makefile: Add rules to build libnss_db.
14942 * nss/Versions: Add libnss_db information. Organize libnss_files
14943 entries better.
14944 * nss/db-Makefile: Add gshadow support. Change rules for the new
14945 makedb progra. Some minor improvements to generate smaller files.
14946 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14947 here from...
14948 * nss/makedb.c: ...here.
14949 Improve database format to be smaller and require less memory at
14950 runtime.
14951 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14952 db anymore.
14953 * nss/nss_db/db-netgrp.c: Likewise.
14954 * nss/nss_db/db-open.c: Likewise.
14955 * nss/nss_files/flies-XXX.x: Adjust comments.
14956 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14957 * nss/nss_files/files-grp.c: Likewise.
14958 * nss/nss_files/files-hosts.c: Likewise.
14959 * nss/nss_files/files-network.c: Likewise.
14960 * nss/nss_files/files-proto.c: Likewise.
14961 * nss/nss_files/files-pwd.c: Likewise.
14962 * nss/nss_files/files-rpc.c: Likewise.
14963 * nss/nss_files/files-service.c: Likewise.
14964 * nss/nss_files/files-sgrp.c: Likewise.
14965 * nss/nss_files/files-spwd.c: Likewise.
14966 * nss/nss_db/db-alias.c: Removed.
14967 * nss/nss_db/dummy-db.h: Removed.
14968
9ee76b5a
UD
149692011-06-02 Ulrich Drepper <drepper@gmail.com>
14970
14971 * nss/makedb.c: Rewritten to not use database library.
14972 * nss/Makefile: Update to build new makedb program.
14973
c71ca1f8
AJ
149742011-06-14 Andreas Jaeger <aj@suse.de>
14975
14976 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14977 memset declaration.
14978
3154bfb8
UD
149792011-06-10 Andreas Schwab <schwab@redhat.com>
14980
14981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14982 tmpbuf.
14983
b350afab
RM
149842011-06-10 Roland McGrath <roland@hack.frob.com>
14985
decd4e50
RM
14986 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14987 * elf/Makefile ($(objpfx)ld.so): Likewise.
14988
5615eaf2
RM
14989 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14990 Don't list ld.so twice in dependencies.
14991
14992 * posix/bug-regex31.c: Include <stdlib.h>.
14993
14994 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14995
14996 * nis/nss_compat/compat-spwd.c
14997 (getspent_next_nss_netgr): Remove unused variable.
14998 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14999
15000 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
15001 nonmembers" output to use the right array.
15002
15003 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
15004
15005 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
15006
15007 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
15008 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
15009 * catgets/gencat.c (read_input_file): Likewise.
15010 * locale/programs/locarchive.c (enlarge_archive): Likewise.
15011
15012 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
15013 variable definition inside #if's controlling its use.
15014
15015 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
15016
15017 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
15018
15019 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
15020
15021 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
15022 unreachable code.
15023
15024 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
15025
b68e08db
RM
15026 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15027 * configure: Regenerated.
15028
b350afab
RM
15029 * Makerules: Revert last change.
15030 * elf/Makefile: Likewise.
15031
28368601
RM
150322011-06-09 Roland McGrath <roland@hack.frob.com>
15033
15034 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15035 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15036 (reloc-link): Likewise.
15037
11988f8f
UD
150382011-06-09 Ulrich Drepper <drepper@gmail.com>
15039
15040 * elf/Makefile: Add rules to build pldd.
15041 * elf/pldd.c: New file.
15042 * elf/pldd-xx.c: New file.
15043
e80fab37
UD
150442011-06-07 Ulrich Drepper <drepper@gmail.com>
15045
15046 * version.h: Update for 2.15 development version.
15047
9b849836
DM
150482011-06-07 David S. Miller <davem@davemloft.net>
15049
15050 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15051 ifuncs.
15052 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15053 elf_machine_lazy_rel): Likewise.
15054 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15056 elf_machine_lazy_rel): Likewise.
15057 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15058 dl_hwcap via passed in argument.
15059 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15060 Likewise.
15061
5a31b283
AK
150622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15063
15064 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15065
069e52f8
RM
150662011-06-06 Roland McGrath <roland@hack.frob.com>
15067
15068 [BZ #12849]
15069 * manual/fdl-1.1.texi: New file, verbatim from:
15070 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15071 * manual/lgpl-2.1.texi: New file, verbatim from:
15072 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15073 * manual/Makefile (licenses): New variable, list those new file names.
15074 (texis): Use it.
15075 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15076
15077 * manual/fdl.texi: File removed.
15078 * manual/lesser.texi: File removed.
15079 * manual/libc.texinfo (Copying, Documentation License):
15080 Use new @include file names, put @appendix directive before @include.
15081
f16846a5
JJ
150822011-06-04 Jakub Jelinek <jakub@redhat.com>
15083
15084 [BZ #12841]
15085 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15086 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15087 (mq_open): Add __NTH.
15088
3d29045b
L
150892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15092 Assume Intel Core i3/i5/i7 processor if AVX is available.
15093
8c297311
UD
150942011-05-31 Ulrich Drepper <drepper@gmail.com>
15095
15096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15097 typo.
15098
c8fc0c91
UD
150992011-05-31 Andreas Schwab <schwab@redhat.com>
15100
15101 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15102 memory. Use alloca_account. Fix memory leak when retrying.
15103
5b27a807
UD
151042011-05-31 Ulrich Drepper <drepper@gmail.com>
15105
356f8bc6
UD
15106 * version.h (RELEASE): Bump for 2.14 release.
15107 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15108
5b27a807
UD
15109 * config.make.in (RANLIB): Remove entry.
15110
01f16ab0
UD
151112011-05-30 Ulrich Drepper <drepper@gmail.com>
15112
41fce8bd
UD
15113 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15114 (libc.pot): Work around missing support for .ksh extension in xgettext.
15115
4769ae77
UD
15116 [BZ #12684]
15117 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15118 if both request failed.
15119 (send_dg): In case of server errors clear resplen or *resplen2.
15120
6b1e7d19
UD
15121 [BZ #12454]
15122 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15123 when there are multiple maps.
15124 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15125 (_dl_fini): Remove test here.
15126
01f16ab0
UD
15127 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15128
b1ebd700
UD
151292011-05-29 Ulrich Drepper <drepper@gmail.com>
15130
7ae22829
UD
15131 [BZ #12350]
15132 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15133 bit from old_res_options.
15134 (gaih_inet): Likewise.
15135
553149f6 15136 [BZ #11099]
18a84741 15137 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15138 as signed.
15139
652ffab1
UD
15140 * resolv/res_init.c (res_setoptions): Make the code more compact.
15141
16985fd0
UD
15142 [BZ #11558]
15143 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15144 set RES_USEVC.
15145
0464f746
UD
15146 [BZ #11634]
15147 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15148
7d17596c
UD
15149 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15150
cf6bbbd7
UD
15151 [BZ #11781]
15152 * malloc/malloc.h: Declare malloc hook variables as volatile.
15153
13f1ab36
UD
15154 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15155 in last patch.
15156
b1ebd700
UD
15157 [BZ #11799]
15158 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15159 raise in the comment.
80e2212d
UD
15160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15162 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15163
ce67228d
UD
151642011-05-28 Ulrich Drepper <drepper@gmail.com>
15165
8887a920
UD
15166 [BZ #12811]
15167 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15168 grow the buffers more if it already has to be sufficient.
15169 (build_wcs_upper_buffer): Likewise.
15170 * posix/regexec.c (check_matching): Likewise.
15171 (clean_state_log_if_needed): Likewise.
15172 (extend_buffers): Don't enlarge buffers beyond size of the input
15173 buffer.
15174 Patches mostly by Emil Wojak <emil@wojak.eu>.
15175 * posix/bug-regex32.c: New file.
15176 * posix/Makefile (tests): Add bug-regex32.
15177
4f031072
UD
15178 * locale/findlocale.c (_nl_find_locale): Return right away if
15179 _nl_explode_name failed.
15180 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15181
d0478f0c
UD
15182 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15183
de81b246
UD
15184 * debug/xtrace.sh: Unify messages.
15185 * malloc/memusage.sh: Likewise.
15186
c738465a
UD
15187 [BZ #12813]
15188 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15189 time symbol from vDSO. Substitute with vsyscall if not available.
15190 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15191 __vdso_time.
15192
f1f929d7
UD
15193 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15194 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15195 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15196 Add sendmmsg and internal_sendmmsg.
15197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15198 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15200
ce67228d
UD
15201 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15202 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15203 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15204
e57420c6
UD
152052011-05-27 Ulrich Drepper <drepper@gmail.com>
15206
a8509ca5
UD
15207 [BZ #12813]
15208 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15209 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15210 available.
15211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15212 __vdso_getcpu.
15213
e57420c6
UD
15214 [BZ #12814]
15215 * iconvdata/Makefile (tests): Add bug-iconv9.
15216 * iconvdata/bug-iconv9.c: New file.
15217
4d07db15
AS
152182011-05-27 Andreas Schwab <schwab@redhat.com>
15219
15220 [BZ #12814]
15221 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15222
ea486f69
JJ
152232011-05-25 Jakub Jelinek <jakub@redhat.com>
15224
15225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15226 (struct user_regs_struct): Change intcs field back to cs.
15227
6f038433
UD
152282011-05-25 Ulrich Drepper <drepper@gmail.com>
15229
15230 * po/ja.po: Update from translation team.
15231
67f86a25
UD
152322011-05-23 Ulrich Drepper <drepper@gmail.com>
15233
15234 [BZ #12795]
15235 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15236 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15237
def7fbd6
AS
152382011-05-20 Andreas Schwab <schwab@redhat.com>
15239
15240 * stdlib/longlong.h: Update from GCC.
15241
f50ef8f1
AS
152422011-05-23 Andreas Schwab <schwab@redhat.com>
15243
15244 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15245 parameter name.
15246 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15247 Add parameter name.
15248 (__sysconf): Pass it down.
15249
de7ce8f1
UD
152502011-05-22 Ulrich Drepper <drepper@gmail.com>
15251
f2962a71
UD
15252 [BZ #12671]
15253 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15254 some situations.
15255 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15256 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15257 add in in __libc_use_alloca calls. Adjust callers.
15258 (glob): Use malloc in some situations.
15259
de7ce8f1
UD
15260 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15261 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15262 pltexit.
15263
aec84f53
UD
152642011-05-21 Ulrich Drepper <drepper@gmail.com>
15265
05bb4a68
UD
15266 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15267 and CLOCK_BOOTTIME_ALARM.
15268
7ea72f99
UD
15269 [BZ #12782]
15270 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15271 is returned.
15272
7e4afad5
UD
15273 * string/_strerror.c (__strerror_r): Print negative errors as signed
15274 numbers.
15275
8e211fec
UD
15276 [BZ #12777]
15277 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15278 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15279 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15280
f7d82dc9
UD
15281 * configure.in: Fix typo in redirection and correct removal of test
15282 files in two cases.
15283
cc9e536d
UD
15284 [BZ #12788]
15285 * locale/setlocale.c (new_composite_name): Fix test to check for
15286 identical name of all categories.
15287
aec84f53
UD
15288 [BZ #12792]
15289 * libio/filedoalloc.c (local_isatty): New function.
15290 (_IO_file_doallocate): Use local_isatty.
15291 * stdio-common/perror.c (perror): In case a new stream is used
15292 forward the stream error.
15293 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15294 error flag.
15295
78e64fdc
RT
152962011-05-20 Ulrich Drepper <drepper@gmail.com>
15297
34a9094f
UD
15298 [BZ #11869]
15299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15300 alloca.
15301 * include/alloca.h (extend_alloca_account): Define.
15302
78e64fdc
RT
15303 [BZ #11857]
15304 * posix/regex.h: Fix comments with documentation of user-accessible
15305 fields after compilation and describe correct free'ing of pattern
15306 after re_compile_pattern.
15307 Patch by Reuben Thomas <rrt@sc3d.org>.
15308
457bddfc
RA
153092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15310
15311 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15312 and -mno-altivec to prevent the compiler from using Altivec and/or
15313 VSX instructions when the corresponding registers are not available.
15314
a4527b51
AS
153152011-05-19 Andreas Schwab <schwab@redhat.com>
15316
15317 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15318
ed690b2f
UD
153192011-05-19 Ulrich Drepper <drepper@gmail.com>
15320
15321 * libio/freopen.c (freopen): Use __dup2, not dup2.
15322 * libio/freopen64.c (freopen64): Likewise.
15323
8db73634
L
153242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15325
15326 [BZ #12775]
15327 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15328 * math/Makefile (tests): Add test-powl.
15329 (CFLAGS-test-powl.c): Define.
15330 * math/test-powl.c: New file.
15331
0a197a9d
L
153322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15333
15334 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15335
ee30c380
UD
153362011-05-17 Ulrich Drepper <drepper@gmail.com>
15337
15338 [BZ #11837]
15339 * iconvdata/gb18030.c: Update to GB18020-2005.
15340
6ce75379
UD
153412011-05-16 Ulrich Drepper <drepper@gmail.com>
15342
a4b89fd8
AR
15343 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15344 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15345 Patch by Aharon Robbins <arnold@skeeve.com>.
15346
ea389b12
UD
15347 [BZ #11892]
15348 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15349 on the stack.
15350
68a3f91f
UD
15351 [BZ #11895]
15352 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15353 through underflows.
15354
15cc7dd1
UD
15355 [BZ #12766]
15356 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15357 point to strings before performing equality test for error_one_per_line
15358 mode.
15359
f3799213
UD
15360 [BZ #11697]
15361 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15362
d79a9c94
UD
15363 [BZ #11820]
15364 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15365 (struct user_fpregs_struct): Avoid __uint*_t types.
15366
56e5eb46
UD
15367 [BZ #6420]
15368 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15369 symbol info. Use it instead of calling _dl_addr locally.
15370 (lock_and_info): New function.
15371 (tr_freehook): Call lock_and_info and pass symbol info as additional
15372 parameter to tr_where.
15373 (tr_mallochook): Likewise.
15374 (tr_reallochook): Likewise.
15375 (tr_memalignhook): Likewise.
15376
6ce75379
UD
15377 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15378 used and couldn't be at all thread-safe.
15379
f8a3b5bf
UD
153802011-05-15 Ulrich Drepper <drepper@gmail.com>
15381
94b7cc37
UD
15382 * libio/freopen.c (freopen): Don't close old file descriptor
15383 before the new one is opened. Instead dup the new file descriptor
15384 to the old one after the new stream is created.
15385 * libio/freopen64.c (freopen64): Likewise.
15386 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15387 * libio/fileops.c (_IO_new_file_close_it): Handle new
15388 _IO_FLAGS2_NOCLOSE flag.
15389 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15390 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15391 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15392 _IO_FLAGS2_NOCLOSE flag.
15393 * include/unistd.h: Add hidden_proto for dup3.
15394 Define __have_dup3.
15395 * io/dup3.c: Define hidden symbol.
15396 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15397
bd25564e
UD
15398 [BZ #7101]
15399 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15400 when an incomplete long option is used.
15401 * posix/tst-getopt_long1.c: New file.
15402 * posix/Makefile (tests): Add tst-getopt_long1.
15403
c84cfef4
UD
15404 [BZ #10138]
15405 * scripts/config.guess: Update from autoconf-2.68.
15406 * scripts/config.sub: Likewise.
15407
3b85df27
UD
15408 [BZ #10157]
15409 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15410 tests into ...
15411 (has_cpuclock): ...this. New function.
15412 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15413 macro here based on has_cpuclock code.
15414
15a856b1
UD
15415 [BZ #10149]
15416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15417 First byte (not low byte) is now always NUL.
15418 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15419
05f399e6
UD
15420 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15421 Use non-cancelable interfaces.
15422
10a52685 15423 [BZ #9809]
94ecc67d
UD
15424 * locale/iso-639.def: Add entry for Sorani.
15425
f8a3b5bf
UD
15426 [BZ #11901]
15427 * include/stdlib.h: Move include protection to the right place.
15428 Define abort_msg_s. Declare __abort_msg with it.
15429 * stdlib/abort.c (__abort_msg): Adjust type.
15430 * assert/assert.c (__assert_fail_base): New function. Majority
15431 of code from __assert_fail. Allocate memory for __abort_msg with
15432 mmap.
15433 (__assert_fail): Now call __assert_fail_base.
15434 * assert/assert-perr.c: Remove bulk of implementation. Use
15435 __assert_fail_base.
15436 * include/assert.hL Declare __assert_fail_base.
15437 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15438 mmap.
15439 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15440
1af4e298
UD
154412011-05-14 Ulrich Drepper <drepper@gmail.com>
15442
f8a3b5bf 15443 [BZ #11952]
d26dfc60
MG
15444 [BZ #12453]
15445 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15446 until all modules are registered in the DTV.
15447 * elf/Makefile: Add rules to build and run tst-tls19.
15448 * elf/tst-tls19.c: New file.
15449 * elf/tst-tls19mod1.c: New file.
15450 * elf/tst-tls19mod2.c: New file.
15451 * elf/tst-tls19mod3.c: New file.
15452 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15453
2fc54d6f
UD
15454 [BZ #12083]
15455 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15456 correctly.
15457
98d76b46
UD
15458 [BZ #12601]
15459 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15460 two-byte sequence errors.
15461 * iconvdata/Makefile (tests): Add bug-iconv8.
15462 * iconvdata/bug-iconv8.c: New file.
15463
da3c19ef
UD
15464 [BZ #12626]
15465 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15466 buf2 definition.
15467
ca408c15
UD
15468 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15469
d6f67f7d
UD
15470 [BZ #12432]
15471 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15472 (dummy_getcfa): New function.
15473 (init): Get _Unwind_GetCFA address, use dummy if not found.
15474 (backtrace_helper): In recursion check, also check whether CFA changes.
15475 (__backtrace): Completely initialize arg.
15476
1af4e298 15477 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15478 storing incomplete byte sequence in state object. Avoid testing for
15479 guaranteed too small input if we know there is enough data available.
1af4e298 15480
da62f81b
AS
154812011-05-11 Andreas Schwab <schwab@redhat.com>
15482
15483 * Makeconfig (+link-pie): Indent.
15484 * Rules (binaries-pie): Define if $(have-fpie) and
15485 $(build-shared).
15486 (binaries-shared): Also filter out $(binaries-pie).
15487 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15488 * nscd/Makefile (others-pie): Add nscd.
15489 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15490 ($(objpfx)nscd): Remove command override.
15491 * login/Makefile (others-pie): Add pt_chown.
15492 ($(objpfx)pt_chown): Remove command override.
15493 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15494 remove command overrides.
15495
fcabc0f8
UD
154962011-05-13 Ulrich Drepper <drepper@gmail.com>
15497
20030ae6
UD
15498 * libio/tst_putwc.c: Fix error messages.
15499
fcabc0f8
UD
15500 [BZ #12724]
15501 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15502 currently writing and seek to current position when not.
15503 * libio/Makefile (tests): Add bug-fclose1.
15504 * libio/bug-fclose1.c: New file.
15505
320a5dc0
PB
155062011-05-12 Ulrich Drepper <drepper@gmail.com>
15507
15508 [BZ #12511]
15509 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15510 don't set DF_1_NODELETE here.
15511 (do_lookup_x): When entering new entry test for copy relocation
15512 and if necessary set DF_1_NODELETE flag.
15513 * elf/tst-unique4.cc: New file.
15514 * elf/tst-unique4.h: New file.
15515 * elf/tst-unique4lib.cc: New file.
15516 * elf/Makefile: Add rules to build and run tst-unique4.
15517 Patch by Piotr Bury <pbury@goahead.com>.
15518
22836f52
UD
155192011-05-11 Ulrich Drepper <drepper@gmail.com>
15520
f574184a
UD
15521 [BZ #12052]
15522 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15523
e1fb097f
UD
15524 [BZ #12625]
15525 * misc/mntent_r.c (addmntent): Flush the stream after the output
15526
22836f52
UD
15527 [BZ #12393]
15528 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15529 (is_trusted_path_normalize): Skip initial colon. Append slash
15530 to empty buffer. Duplicate is_trusted_path code but allow
15531 constructed patch to be prefix.
15532 (is_dst): Allow $ORIGIN followed by /.
15533 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15534 Correct testing of result of is_trusted_path_normalize
15535 (decompose_rpath): Fix warning.
15536
7b3b0b2a
UD
155372011-05-10 Ulrich Drepper <drepper@gmail.com>
15538
15539 [BZ #11257]
15540 * grp/initgroups.c (internal_getgrouplist): When we found the service
15541 list through the initgroups entry in nsswitch.conf do not always
15542 continue on a successful lookup. Don't always use the
eac80ce2 15543 __nss_group_database value if it is set.
7b3b0b2a
UD
15544 * nss/nsswitch.conf (initgroups): Change action for successful db
15545 lookup to continue for compatibility.
15546
2a81eaa5
UD
155472011-05-09 Ulrich Drepper <drepper@gmail.com>
15548
be97a69e
UD
15549 [BZ #11532]
15550 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15551 and CP774 modules.
15552 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15553 and CP774 modules.
15554 * iconvdata/tst-tables.sh: Likewise.
15555 * iconvdata/cp770.c: New file.
15556 * iconvdata/cp771.c: New file.
15557 * iconvdata/cp772.c: New file.
15558 * iconvdata/cp773.c: New file.
15559 * iconvdata/cp774.c: New file.
15560 * iconvdata/testdata/CP770: New file.
15561 * iconvdata/testdata/CP770..UTF8: New file.
15562 * iconvdata/testdata/CP771: New file.
15563 * iconvdata/testdata/CP771..UTF8: New file.
15564 * iconvdata/testdata/CP772: New file.
15565 * iconvdata/testdata/CP772..UTF8: New file.
15566 * iconvdata/testdata/CP773: New file.
15567 * iconvdata/testdata/CP773..UTF8: New file.
15568 * iconvdata/testdata/CP774: New file.
15569 * iconvdata/testdata/CP774..UTF8: New file.
15570
15571 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15572 END CHARMAP line.
15573 * iconvdata/gen-8bit-gap.sh: Likewise.
15574 * iconvdata/gen-8bit.sh: Likewise.
15575
c1e9e399
UD
15576 * locale/iso-639.def: Add ary entry.
15577
24c55fb3 15578 [BZ #11258]
96b4b1b0
UD
15579 * locale/C-translit.h.in: Add U20A1 transliteration.
15580
bdc2f971
KB
15581 [BZ #12178]
15582 * locale/iso-639.def: Add wae entry.
15583 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15584
2952b117
UD
15585 [BZ #12545]
15586 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15587 for n.
15588
2a81eaa5
UD
15589 [BZ #12711]
15590 * locale/C-translit.h.in: Add entry for U20B9.
15591 Patch by pravin.d.s@gmail.com.
15592
28377d1b
UD
155932011-05-08 Ulrich Drepper <drepper@gmail.com>
15594
7fb90fb8
UD
15595 [BZ #12713]
15596 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15597 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15598 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15599 in rtld. Use *stat64.
7fb90fb8 15600 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15601 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15602 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15603 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15604 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15605 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15606 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15607 __fstatat64 macros.
7fb90fb8
UD
15608 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15609 * dirent/rewinddir.c: Add libc_hidden_def.
15610 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15611 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15612
28377d1b
UD
15613 * include/dirent.h (__alloc_dir): Add flags parameter.
15614 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15615 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15616 __alloc_dir.
15617 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15618 from fdopendir if O_CLOEXEC is already set.
15619
66bdbaa4
AM
156202011-03-15 Alan Modra <amodra@gmail.com>
15621
15622 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15623 l_tls_firstbyte_offset non-zero. Save padding offset in
15624 l_tls_firstbyte_offset for later use.
15625 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15626 freeing static tls block.
15627
95721191
JN
156282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15629
15630 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15631 where #ifdef was intended. The intent is to prevent ARG_MAX from
15632 being defined by the kernel headers.
15633
f87dfb1f
UD
156342011-05-07 Ulrich Drepper <drepper@gmail.com>
15635
15636 [BZ #12734]
15637 * resolv/resolv.h: Define RES_NOTLDQUERY.
15638 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15639 no-tld-query and set RES_NOTLDQUERY.
15640 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15641 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15642 modern BIND to search name as TLD unless forbidden.
15643
47c3cd7a
UD
156442011-05-07 Petr Baudis <pasky@suse.cz>
15645 Ulrich Drepper <drepper@gmail.com>
15646
15647 [BZ #12393]
15648 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15649 (is_trusted_path): ...to here.
c1e9ea35 15650 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15651 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15652 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15653
8a35c912
PP
156542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15655
15656 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15657 __BEGIN/__END_DECLS.
15658
acd41f47
UD
156592011-05-06 Ulrich Drepper <drepper@gmail.com>
15660
15661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15662 NSS_STATUS_NOTFOUND if no record was found.
15663
597df647
AS
156642011-05-05 Andreas Schwab <schwab@redhat.com>
15665
15666 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15667 (headers-not-in-tirpc): Remove rpc/netdb.h
15668 * resolv/netdb.h: Revert last change.
15669
b9af1301
PP
156702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15671
15672 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15673 circular dependency between libgcc.a and libc.a.
15674
4e34d5f5
AS
156752011-05-05 Andreas Schwab <schwab@redhat.com>
15676
15677 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15678 * nis/Makefile: Don't install rpcsvc/*.
15679 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15680 instead of <rpc/types.h>.
15681 (MAXHOSTNAMELEN): Define.
15682
00ee369c
AS
156832011-05-03 Andreas Schwab <schwab@redhat.com>
15684
15685 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15686
0b592a30
MB
156872011-04-28 Maciej Babinski <mbabinski@google.com>
15688
15689 [BZ #12714]
15690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15691 gethostbyname4_r when IPv6 results are possible.
15692
6e04cbbe
UD
156932011-05-02 Ulrich Drepper <drepper@gmail.com>
15694
15695 [BZ #12723]
15696 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15697 _PC_PIPE_BUF handling.
15698
e4ecafe0
BH
156992011-04-30 Bruno Haible <bruno@clisp.org>
15700
15701 [BZ #12717]
15702 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15703 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15704 to 'int'.
15705 * inet/getnameinfo.c (getnameinfo): Likewise.
15706
125ee683
UD
157072011-04-29 Ulrich Drepper <drepper@gmail.com>
15708
15709 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15710 to groups setting in database lookup.
15711 * nss/nsswitch.conf: Add initgroups entry.
15712
b722481a
EB
157132011-04-22 Ulrich Drepper <drepper@gmail.com>
15714
15715 [BZ #12685]
15716 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15717 mode string.
15718 Patch by Eric Blake <eblake@redhat.com>.
15719
4df46dbd
L
157202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15721
15722 * sunrpc/Makefile (need-export-routines): Add svc_run.
15723 (routines): Remove svc_run.
15724 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15725 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15726 * sunrpc/svc_run.c (svc_run): Likewise.
15727 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15728
e84142d2
UD
157292011-04-21 Ulrich Drepper <drepper@gmail.com>
15730
15731 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15732 problem in reallocation in last patch.
15733
877175d8
UD
157342011-04-20 Ulrich Drepper <drepper@gmail.com>
15735
15736 * sunrpc/Makefile: Move inclusion of Rules.
15737
ab8eed78
UD
157382011-04-19 Ulrich Drepper <drepper@gmail.com>
15739
15740 * nss/nss_files/files-initgroups.c: New file.
15741 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15742 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15743 _nss_files_initgroups_dyn.
15744
e3d8f584
RS
157452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15746
15747 * elf/elf.h (R_ARM_IRELATIVE): Define.
15748
af190f45
UD
157492011-04-19 Ulrich Drepper <drepper@gmail.com>
15750
15751 * po/ru.po: Update from translation team.
15752
53cf59ef
UD
157532011-04-17 Ulrich Drepper <drepper@gmail.com>
15754
15755 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15756 dependencies.
15757
4c559bcd
MF
157582011-02-06 Mike Frysinger <vapier@gentoo.org>
15759
15760 [BZ #12653]
15761 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15762 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15763 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15764 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15765 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15766
4420675c
AS
157672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15768
15769 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15770 differing bytes.
15771 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15772 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15774
75ea32ab
UD
157752011-04-17 Ulrich Drepper <drepper@gmail.com>
15776
15777 [BZ #12420]
15778 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15779 storing it.
15780 * stdlib/bug-getcontext.c: New file.
15781 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15782
27390476
AK
157832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15784
15785 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15786 instructions into .machine "z9-109".
15787 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15788 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15789
10442705
AK
157902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15791
15792 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15793 between environment variables and auxiliary vector.
15794
7b57bfe5
UD
157952011-04-16 Ulrich Drepper <drepper@gmail.com>
15796
15797 * Makefile: Add rules to build linkobj/libc.so.
15798 * include/libc-symbols.h: Define libc_hidden_nolink.
15799 * include/rpc/auth.h: Mark functions which are to be hidden.
15800 * include/rpc/auth_des.h: Likewise.
15801 * include/rpc/auth_unix.h: Likewise.
15802 * include/rpc/clnt.h: Likewise.
15803 * include/rpc/des_crypt.h: Likewise.
15804 * include/rpc/key_prot.h: Likewise.
15805 * include/rpc/pmap_clnt.h: Likewise.
15806 * include/rpc/pmap_prot.h: Likewise.
15807 * include/rpc/pmap_rmt.h: Likewise.
15808 * include/rpc/rpc_msg.h: Likewise.
15809 * include/rpc/svc.h: Likewise.
15810 * include/rpc/svc_auth.h: Likewise.
15811 * include/rpc/xdr.h: Likewise.
15812 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15813 * nss/Makefile: Likewise.
15814 * sunrpc/Makefile: Don't install headers. Build library with normal
15815 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15816 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15817 for the compat linking library. Remove use of INTDEF/INTUSE.
15818 * sunrpc/auth_none.c: Likewise.
15819 * sunrpc/auth_unix.c: Likewise.
15820 * sunrpc/authdes_prot.c: Likewise.
15821 * sunrpc/authuxprot.c: Likewise.
15822 * sunrpc/clnt_gen.c: Likewise.
15823 * sunrpc/clnt_perr.c: Likewise.
15824 * sunrpc/clnt_raw.c: Likewise.
15825 * sunrpc/clnt_simp.c: Likewise.
15826 * sunrpc/clnt_tcp.c: Likewise.
15827 * sunrpc/clnt_udp.c: Likewise.
15828 * sunrpc/clnt_unix.c: Likewise.
15829 * sunrpc/des_crypt.c: Likewise.
15830 * sunrpc/des_soft.c: Likewise.
15831 * sunrpc/get_myaddr.c: Likewise.
15832 * sunrpc/key_call.c: Likewise.
15833 * sunrpc/key_prot.c: Likewise.
15834 * sunrpc/netname.c: Likewise.
15835 * sunrpc/pm_getmaps.c: Likewise.
15836 * sunrpc/pm_getport.c: Likewise.
15837 * sunrpc/pmap_clnt.c: Likewise.
15838 * sunrpc/pmap_prot.c: Likewise.
15839 * sunrpc/pmap_prot2.c: Likewise.
15840 * sunrpc/pmap_rmt.c: Likewise.
15841 * sunrpc/publickey.c: Likewise.
15842 * sunrpc/rpc_cmsg.c: Likewise.
15843 * sunrpc/rpc_common.c: Likewise.
15844 * sunrpc/rpc_dtable.c: Likewise.
15845 * sunrpc/rpc_prot.c: Likewise.
15846 * sunrpc/rpc_thread.c: Likewise.
15847 * sunrpc/rtime.c: Likewise.
15848 * sunrpc/svc.c: Likewise.
15849 * sunrpc/svc_auth.c: Likewise.
15850 * sunrpc/svc_authux.c: Likewise.
15851 * sunrpc/svc_raw.c: Likewise.
15852 * sunrpc/svc_run.c: Likewise.
15853 * sunrpc/svc_simple.c: Likewise.
15854 * sunrpc/svc_tcp.c: Likewise.
15855 * sunrpc/svc_udp.c: Likewise.
15856 * sunrpc/svc_unix.c: Likewise.
15857 * sunrpc/svcauth_des.c: Likewise.
15858 * sunrpc/xcrypt.c: Likewise.
15859 * sunrpc/xdr.c: Likewise.
15860 * sunrpc/xdr_array.c: Likewise.
15861 * sunrpc/xdr_float.c: Likewise.
15862 * sunrpc/xdr_intXX_t.c: Likewise.
15863 * sunrpc/xdr_mem.c: Likewise.
15864 * sunrpc/xdr_rec.c: Likewise.
15865 * sunrpc/xdr_ref.c: Likewise.
15866 * sunrpc/xdr_sizeof.c: Likewise.
15867 * sunrpc/xdr_stdio.c: Likewise.
15868
e6c61494
UD
158692011-04-10 Ulrich Drepper <drepper@gmail.com>
15870
15871 [BZ #12650]
15872 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15873 * sysdeps/ia64/dl-tls.h: Likewise.
15874 * sysdeps/powerpc/dl-tls.h: Likewise.
15875 * sysdeps/s390/dl-tls.h: Likewise.
15876 * sysdeps/sh/dl-tls.h: Likewise.
15877 * sysdeps/sparc/dl-tls.h: Likewise.
15878 * sysdeps/x86_64/dl-tls.h: Likewise.
15879 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15880
34fe483e
AS
158812011-03-14 Andreas Schwab <schwab@redhat.com>
15882
15883 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15884 rpath element also skip the following colon.
15885 (expand_dynamic_string_token): Add is_path parameter and pass
15886 down to DL_DST_REQUIRED and _dl_dst_substitute.
15887 (decompose_rpath): Call expand_dynamic_string_token with
15888 non-zero is_path. Ignore empty rpaths.
15889 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15890 with zero is_path.
15891
f12a32e6
AS
158922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15893
15894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15895 Make cancelable.
15896
38a7d692
UD
158972011-04-09 Ulrich Drepper <drepper@gmail.com>
15898
15899 [BZ #12655]
15900 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15901 Patch by Filipe David Manana <fdmanana@apache.org>.
15902
e451d22b
AS
159032011-04-07 Andreas Schwab <schwab@redhat.com>
15904
15905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15906 Maintain aligned stack.
15907 (CHECK_RSP): Remove unused macro.
15908
dedc7c7b
UD
159092011-04-03 Ulrich Drepper <drepper@gmail.com>
15910
15911 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15912 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15913
94521213
UD
159142011-04-02 Ulrich Drepper <drepper@gmail.com>
15915
15916 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15917
8cb700c0 15918 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15919
0354e355
L
159202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15921
15922 [BZ #12518]
15923 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15924 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15925 * sysdeps/x86_64/memmove.c: New file.
15926 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15927 (memcpy): Renamed to ...
15928 (__new_memcpy): This.
15929 (memcpy): Provide GLIBC_2_14 memcpy.
15930 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15931 (memcpy): Provide GLIBC_2_2_5 memcpy.
15932
8593482f
UD
159332011-04-01 Ulrich Drepper <drepper@gmail.com>
15934
15935 [BZ #12631]
15936 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15937
81a5726b
AS
159382011-03-30 Andreas Schwab <schwab@redhat.com>
15939
15940 * misc/syncfs.c: New file.
15941 * misc/Makefile (routines): Add syncfs.
15942 * posix/unistd.h: Declare syncfs.
15943 * sysdeps/unix/syscalls.list: Add syncfs.
15944
00e5419f
AS
159452011-04-01 Andreas Schwab <schwab@redhat.com>
15946
15947 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15948 open_by_handle_at.
15949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15950 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15952 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15954 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15956
748876bf
UD
159572011-04-01 Ulrich Drepper <drepper@gmail.com>
15958
658e451d
UD
15959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15960 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15961 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15966
748876bf
UD
15967 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15968 sync_file_range.c with -fexceptions.
15969 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15970 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15971 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15972 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15973 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15974 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15976 sync_file_range as cancellation point
15977 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15978 now a wrapper around __call_sync_file_range with cancellation handling.
15979 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15980 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15981 function name to __call_sync_file_range.
15982 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15983 Add call_sync_file_range.
748876bf 15984
6e63d5e1
AS
159852011-04-01 Andreas Schwab <schwab@redhat.com>
15986
15987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15988 bits/timex.h.
6e63d5e1 15989
46998f74
UD
159902011-04-01 Ulrich Drepper <drepper@gmail.com>
15991
4c1423ed
UD
15992 * iconv/iconv.h: Fix typo in comment.
15993 * io/fcntl.h: Likewise.
15994 * libio/stdio.h: Likewise.
15995 * posix/spawn.h: Likewise.
15996 * posix/unistd.h: Likewise.
15997 * stdlib/stdlib.h: Likewise.
15998 * time/time.h: Likewise.
15999 * wcsmbs/wchar.h: Likewise.
16000
158648c0
UD
16001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
16002 open_by_handle): Add.
16003 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
16004 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
16005 Augment a few comments.
16006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
16007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16008 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16009 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16011 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
16012 open_by_handle.
16013
46998f74
UD
16014 * io/fcntl.h (AT_EMPTY_PATH): Define.
16015
83fe108b
UD
160162011-03-30 Ulrich Drepper <drepper@gmail.com>
16017
16018 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
16019 * sysdeps/unix/sysv/linux/bits/time.h: New file.
16020 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
16021 to...
16022 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
16023 * Versions.def: Add GLIBC_2.14.
16024 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
16025 Export.
83fe108b 16026
bb242059
UD
160272011-03-22 Ulrich Drepper <drepper@gmail.com>
16028
16029 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16030 round counter.
16031 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16032
c97a1282
L
160332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16034
16035 [BZ #12597]
16036 * string/test-strncmp.c (do_page_test): New function.
16037 (check2): Likewise.
16038 (test_main): Call check2.
16039 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16040
2a115601
UD
160412011-03-20 Ulrich Drepper <drepper@gmail.com>
16042
16043 [BZ #12587]
16044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16045 Handle cache information in CPU leaf 4.
16046 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16047
8126d904
UD
160482011-03-18 Ulrich Drepper <drepper@gmail.com>
16049
042c49c6 16050 [BZ #12583]
8126d904
UD
16051 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16052 character representation.
16053 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16054
ccfe366e
RA
160552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16056
16057 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16058 END(__isnan) to END(__isnanf) to match function entry point/label
16059 EALIGN(__isnanf,...).
16060
c6e13027
JJ
160612011-03-10 Jakub Jelinek <jakub@redhat.com>
16062
16063 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16064
33f85a3f
UD
160652011-03-10 Ulrich Drepper <drepper@gmail.com>
16066
028478fa
UD
16067 [BZ #12510]
16068 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16069 copy from the symbol referenced in the relocation to initialize the
16070 used variable.
16071 Patch by Piotr Bury <pbury@goahead.com>.
16072 * elf/Makefile: Add rules to build and tst-unique3.
16073 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16074 * elf/tst-unique3.cc: New file.
16075 * elf/tst-unique3.h: New file.
16076 * elf/tst-unique3lib.cc: New file.
16077 * elf/tst-unique3lib2.cc: New file.
16078
33f85a3f
UD
16079 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16080
03592fc7
MF
160812011-03-10 Mike Frysinger <vapier@gentoo.org>
16082
16083 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16084 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16085 to _start.
03592fc7 16086
6a5ee102
UD
160872011-03-06 Ulrich Drepper <drepper@gmail.com>
16088
16089 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16090 to-be-loaded object along a path to loader is ld.so.
16091
7e4ba49c
HJ
160922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16093 Ulrich Drepper <drepper@gmail.com>
16094
16095 * sysdeps/x86_64/memset.S: After aligning destination, code
16096 branches to different locations depending on the value of
16097 misalignment, when multiarch is enabled. Fix this.
16098
160992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16100
16101 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16102 Set _x86_64_preferred_memory_instruction for AMD processsors.
16103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16104 Set bit_Prefer_SSE_for_memop for AMD processors.
16105
13a804de
UD
161062011-03-04 Ulrich Drepper <drepper@gmail.com>
16107
16108 * libio/fmemopen.c (fmemopen): Optimize a bit.
16109
9d25c392
AS
161102011-03-03 Andreas Schwab <schwab@redhat.com>
16111
16112 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16113
a5543c6a
RM
161142011-03-03 Roland McGrath <roland@redhat.com>
16115
16116 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16117
012d35f7
DM
161182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16119
7e4ba49c 16120 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16121 __bzero_ultra1 instead of __memset_ultra1.
16122
4bff6e01
AS
161232011-02-23 Andreas Schwab <schwab@redhat.com>
16124 Ulrich Drepper <drepper@gmail.com>
16125
16126 [BZ #12509]
16127 * include/link.h (struct link_map): Add l_orig_initfini.
16128 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16129 returning unsuccessfully.
16130 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16131 close of a file loaded at startup, restore the original l_initfini
16132 list.
16133 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16134 list, store the pointer.
16135 * elf/Makefile ($(objpfx)noload-mem): New rule.
16136 (noload-ENV): Define.
16137 (tests): Add $(objpfx)noload-mem.
16138 * elf/noload.c: Include <memcheck.h>.
16139 (main): Call mtrace. Close all opened handles.
16140
f2092faf
AS
161412011-02-17 Andreas Schwab <schwab@redhat.com>
16142
16143 [BZ #12454]
16144 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16145 dependencies are missing.
16146
6c8a2e88
ST
161472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16148
f2092faf 16149 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16150 Hurd needs munmap.
16151 * sysdeps/mach/hurd/ifreq.h: New file.
16152
84a42118
PB
161532011-01-27 Petr Baudis <pasky@suse.cz>
16154 Ulrich Drepper <drepper@gmail.com>
16155
071f805e 16156 [BZ 12445]#
84a42118
PB
16157 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16158 to extend_alloca().
16159 * stdio-common/bug23.c: New file.
16160 * stdio-common/Makefile (tests): Add bug23.
16161
e23fe25b
AS
161622010-09-28 Andreas Schwab <schwab@redhat.com>
16163 Ulrich Drepper <drepper@gmail.com>
16164
16165 [BZ #12489]
16166 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16167 before performing relro protection. At old place add assertion
16168 to make sure nothing changed.
16169
d3f02e10
NS
161702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16171 Glauber de Oliveira Costa <glommer@gmail.com>
16172
16173 * elf/elf.h: Add new ARM TLS relocs.
16174
d55fd7a5
RA
161752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16176
16177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16178 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16179 cast from r3.
16180 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16181 'tests' variable.
16182 * sysdeps/wordsize-64/tst-writev.c: New file.
16183
2206397e
RA
161842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16185
16186 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16187 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16188 insns in _dl_start to prevent a TOC reference before relocs are
16189 resolved.
16190
e9433893
UD
161912011-02-15 Ulrich Drepper <drepper@gmail.com>
16192
16193 [BZ #12469]
16194 * Makeconfig: Remove RANLIB definition.
16195 * Makerules: Don't use RANLIB.
16196 * aclocal.m4: Remove ranlib test.
16197 * configure.in: No need to check for ranlib.
16198 * elf/rtld-Rules: Don't use RANLIB.
16199
f75286c6
ST
162002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16201
8e31c82d
ST
16202 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16203 protection macro.
16204 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16205 inclusion protection macro.
16206
f75286c6
ST
16207 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16208 SIGRTMIN and SIGRTMAX and print information in that case only when
16209 SIGRTMIN is defined.
16210
c1d0e639
JJ
162112011-02-11 Jakub Jelinek <jakub@redhat.com>
16212
16213 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16214 arginfo fn returning -1.
16215
16216 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16217 and thousands string is zero terminated.
16218
edf9294e
AS
162192011-02-03 Andreas Schwab <schwab@redhat.com>
16220
16221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16222 sysdeps/unix/sysv/linux/bits/socket.h.
16223
2b7e92df
ST
162242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16225
edf9294e
AS
16226 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16227 (__CPU_COUNT): Remove old macros.
16228 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16229 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16230 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16231 (__sched_cpualloc, __sched_cpufree): Add declarations.
16232
a4c7ea7b
UD
162332011-02-05 Ulrich Drepper <drepper@gmail.com>
16234
16235 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16236 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16237 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16238 (readdhstai): Return value of addhstaiX call.
16239 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16240 (addgrbyX): Return value returned by cache_addgr.
16241 (readdgrbyname): Return value returned by addgrbyX.
16242 (readdgrbygid): Likewise.
16243 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16244 (addpwbyX): Return value returned by cache_addpw.
16245 (readdpwbyname): Return value returned by addhstbyX.
16246 (readdpwbyuid): Likewise.
16247 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16248 (addservbyX): Return value returned by cache_addserv.
16249 (readdservbyname): Return value returned by addservbyX:
16250 (readdservbyport): Likewise.
16251 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16252 (addhstbyX): Return value returned by cache_addhst.
16253 (readdhstbyname): Return value returned by addhstbyX.
16254 (readdhstbyaddr): Likewise.
16255 (readdhstbynamev6): Likewise.
16256 (readdhstbyaddrv6): Likewise.
16257 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16258 (readdinitgroups): Return value returned by addinitgroupsX.
16259 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16260 (prune_cache): Keep track of timeout value of re-added entries.
16261 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16262 * nscd/nscd.h: Adjust prototypes of readd* functions.
16263
a0bf67cc
RM
162642011-02-04 Roland McGrath <roland@redhat.com>
16265
16266 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16267 (nis_stats): Likewise.
16268 * nis/nis_modify.c (nis_modify): Likewise.
16269 * nis/nis_remove.c (nis_remove): Likewise.
16270 * nis/nis_add.c (nis_add): Likewise.
16271
16272 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16273
16274 * posix/fnmatch_loop.c: Add some consts.
16275
16276 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16277
435b95eb
L
162782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16279
16280 [BZ #12460]
16281 * config.make.in (config-cflags-novzeroupper): Define.
16282 * configure.in: Substitute libc_cv_cc_novzeroupper.
16283 * elf/Makefile (AVX-CFLAGS): Define.
16284 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16285 (CFLAGS-tst-auditmod4a.c): Likewise.
16286 (CFLAGS-tst-auditmod4b.c): Likewise.
16287 (CFLAGS-tst-auditmod6b.c): Likewise.
16288 (CFLAGS-tst-auditmod6c.c): Likewise.
16289 (CFLAGS-tst-auditmod7b.c): Likewise.
16290 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16291
8517b15e
UD
162922011-02-02 Ulrich Drepper <drepper@gmail.com>
16293
16294 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16295 function to the callback.
16296 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16297
10a656fe
AS
162982011-02-02 Andreas Schwab <schwab@redhat.com>
16299
16300 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16301 of errno.
16302
968dad0a
UD
163032011-01-19 Ulrich Drepper <drepper@gmail.com>
16304
9f94d2ea 16305 [BZ #11724]
968dad0a
UD
16306 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16307 of constructors.
16308 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16309 of destructors.
16310 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16311
16312 [BZ #11724]
16313 * elf/Makefile: Add rules to build and run new test.
16314 * elf/tst-initorder.c: New file.
16315 * elf/tst-initorder.exp: New file.
16316 * elf/tst-initordera1.c: New file.
16317 * elf/tst-initordera2.c: New file.
16318 * elf/tst-initordera3.c: New file.
16319 * elf/tst-initordera4.c: New file.
16320 * elf/tst-initorderb1.c: New file.
16321 * elf/tst-initorderb2.c: New file.
16322 * elf/tst-order-a1.c: New file.
16323 * elf/tst-order-a2.c: New file.
16324 * elf/tst-order-a3.c: New file.
16325 * elf/tst-order-a4.c: New file.
16326 * elf/tst-order-b1.c: New file.
16327 * elf/tst-order-b2.c: New file.
16328 * elf/tst-order-main.c: New file.
16329 New test case by George Gensure <werkt0@gmail.com>.
16330
86e92359
UD
163312010-10-01 Andreas Schwab <schwab@redhat.com>
16332
16333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16334 decoding ACE if AI_CANONIDN.
16335
5d5732b0
UD
163362011-01-18 Ulrich Drepper <drepper@gmail.com>
16337
16338 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16339
a77e8cbc
UD
163402011-01-17 Ulrich Drepper <drepper@gmail.com>
16341
6392473f
UD
16342 * version.h (RELEASE): Bump for 2.13 release.
16343 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16344
620a0529
UD
16345 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16346
18ba70a5
UD
16347 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16348 MADV_NOHUGEPAGE.
32465c3e
UD
16349 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16351 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16352 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16354 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16355
c0dafcf1
UD
16356 * posix/getconf.c: Update copyright year.
16357 * catgets/gencat.c: Likewise.
16358 * csu/version.c: Likewise.
16359 * debug/catchsegv.sh: Likewise.
16360 * debug/xtrace.sh: Likewise.
16361 * elf/ldconfig.c: Likewise.
16362 * elf/ldd.bash.in: Likewise.
16363 * elf/sprof.c (print_version): Likewise.
16364 * iconv/iconv_prog.c: Likewise.
16365 * iconv/iconvconfig.c: Likewise.
16366 * locale/programs/locale.c: Likewise.
16367 * locale/programs/localedef.c: Likewise.
16368 * malloc/memusage.sh: Likewise.
16369 * malloc/mtrace.pl: Likewise.
16370 * nscd/nscd.c (print_version): Likewise.
16371 * nss/getent.c: Likewise.
16372
a77e8cbc
UD
16373 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16374 PF_CAIF, and PF_ALG.
16375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16376
77e8bddf
AS
163772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16378
1f20b93a
AS
16379 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16380 (modules-names): Use them.
16381 (ifunc-test-modules, ifunc-pie-tests): Define.
16382 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16383 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16384 (test-extras): Likewise.
16385 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16386 $(compile-command.c).
16387 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16388 (all-built-dso): Define.
16389 (check-textrel.out, check-execstack.out): Depend on it.
16390
77e8bddf
AS
16391 * configure.in: Don't override --enable-multi-arch.
16392
bc425b33
UD
163932011-01-15 Ulrich Drepper <drepper@gmail.com>
16394
16395 [BZ #6812]
16396 * nscd/hstcache.c (tryagain): Define.
16397 (cache_addhst): Return tryagain not notfound for temporary errors.
16398 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16399 failed.
16400
794c3ad3
UD
164012011-01-14 Ulrich Drepper <drepper@gmail.com>
16402
70181fdd
UD
16403 [BZ #10563]
16404 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16405 to make the syscall.
16406 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16407
794c3ad3
UD
16408 [BZ #12378]
16409 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16410 and fall back to matching as normal character if the string ends before
16411 the matching ']' is found. This is what POSIX requires.
16412 * posix/testfnm.c: Adjust test result.
16413 * posix/globtest.sh: Adjust test result. Add new test.
16414 * posix/tst-fnmatch.input: Likewise.
16415 * posix/tst-fnmatch2.c: Add new test.
16416
68dc9497
AS
164172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16418
16419 * elf/Makefile (check-execstack): Revert last change. Depend on
16420 check-execstack.h.
16421 (check-execstack.h): New target.
16422 (generated): Add check-execstack.h.
16423 * elf/check-execstack.c: Include "check-execstack.h".
16424 (main): Revert last change.
16425 (handle_file): Return zero if GNU_STACK is absent and
16426 DEFAULT_STACK_PERMS doesn't include PF_X.
16427
451f001b
UD
164282011-01-13 Ulrich Drepper <drepper@gmail.com>
16429
cfa28e56
UD
16430 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16431 in child fails because the descriptor is already closed.
8cf8ce17
UD
16432 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16433 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16434 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16435
1086d70d
UD
16436 [BZ #12397]
16437 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16438 syscall.
16439
451f001b
UD
16440 [BZ #10484]
16441 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16442 temporary buffer used to handle multi lookups locally.
a85b5cb4 16443 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16444
08769175
UD
164452011-01-12 Ulrich Drepper <drepper@gmail.com>
16446
16447 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16448 loader is ld.so.
16449
5e49c52e
UD
164502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16451
16452 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16453 alignment for SSE2.
16454
60522a5f
UD
164552011-01-12 Ulrich Drepper <drepper@gmail.com>
16456
16457 [BZ #12394]
16458 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16459 characters. When rounding increased number of integer digits recompute
16460 number of groups.
16461 * stdio-common/tst-grouping.c: New file.
16462 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16463
f257bbd7
UD
164642011-01-09 Ulrich Drepper <drepper@gmail.com>
16465
16466 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16467 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16468
16469 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16470 void.
16471 * bits/select.h: Likewise.
16472
fa9c15cb
UD
164732011-01-08 Ulrich Drepper <drepper@gmail.com>
16474
16475 * po/ja.po: Update from translation team.
16476
16c2895f
DM
164772011-01-04 David S. Miller <davem@sunset.davemloft.net>
16478
16479 [BZ #11155]
16480 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16481 implementation just like for lxstat, fxstatat, et al.
16482
2543fef2
JM
164832010-12-27 Jim Meyering <meyering@redhat.com>
16484
16485 [BZ #12348]
16486 * posix/regexec.c (build_trtable): Return failure indication upon
16487 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16488
98727dbe
UD
164892010-12-25 Ulrich Drepper <drepper@gmail.com>
16490
5bd6dc5c
UD
16491 [BZ #12201]
16492 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16493 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16494 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16496
97983464
UD
16497 [BZ #12207]
16498 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16499
98727dbe
UD
16500 [BZ #12204]
16501 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16502 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16503
4a531bb0
L
165042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16505
16506 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16507 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16508 script has SORT_BY_INIT_PRIORITY.
16509 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16510 NO_CTORS_DTORS_SECTIONS is defined.
16511 * elf/soinit.c: Likewise.
16512 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16513 NO_CTORS_DTORS_SECTIONS is defined.
16514 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16515 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16516 * sysdeps/sh/init-first.c: Likewise.
16517 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16518
07eb4b71
UD
165192010-12-24 Ulrich Drepper <drepper@gmail.com>
16520
16521 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16522 always use the slow path.
16523
30950a5f
RA
165242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16525
16526 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16527 similar rule which adds the sysdep directories to the header search in
16528 order to pick up the correct platform stackinfo.h.
16529 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16530 perform test if it is, otherwise return successfully without testing.
16531 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16532 DEFAULT_STACK_PERMS define in stackinfo.h.
16533 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16534 defined in stackinfo.h.
16535 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16536 DEFAULT_STACK_PERMS defined in stackinfo.h.
16537 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16538 * sysdeps/ia64/stackinfo.h: Likewise.
16539 * sysdeps/s390/stackinfo.h: Likewise.
16540 * sysdeps/sh/stackinfo.h: Likewise.
16541 * sysdeps/sparc/stackinfo.h: Likewise.
16542 * sysdeps/x86_64/stackinfo.h: Likewise.
16543 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16544 PF_X for powerpc64. Retain PF_X for powerpc32.
16545
db753e2c
UD
165462010-12-19 Ulrich Drepper <drepper@gmail.com>
16547
14b697f7
UD
16548 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16549 accurately.
db753e2c
UD
16550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16551 GETDENTS_64BIT_ALIGNED.
16552
28300719
UD
165532010-12-14 Ulrich Drepper <dreper@gmail.com>
16554
14b697f7 16555 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16556
4f197237
AS
165572010-12-10 Andreas Schwab <schwab@redhat.com>
16558
dbb0472f
AS
16559 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16560 _GNU_SOURCE.
16561
4f197237
AS
16562 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16563 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16564 Remove __restrict.
16565 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16566 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16567
fb88ac72
UD
165682010-12-09 Ulrich Drepper <drepper@gmail.com>
16569
16570 [BZ #11655]
16571 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16572 are initialized.
16573
42acbb92
JJ
165742010-12-09 Jakub Jelinek <jakub@redhat.com>
16575
16576 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16577
c038d98d
UD
165782010-12-03 Ulrich Drepper <drepper@gmail.com>
16579
16580 * po/it.po: Update from translation team.
16581
3a4a2499
L
165822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16583
16584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16585 unused codes.
16586
1e24cf6e
UD
165872010-11-30 Ulrich Drepper <drepper@gmail.com>
16588
16589 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16590
a7690819
AS
165912010-11-24 Andreas Schwab <schwab@redhat.com>
16592
16593 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16594 specially.
16595 (gaih_getanswer_slice): Likewise.
16596
3bf8d1b1
JJ
165972010-10-20 Jakub Jelinek <jakub@redhat.com>
16598
16599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16600
6db52fbb
PB
166012010-05-31 Petr Baudis <pasky@suse.cz>
16602
16603 [BZ #11149]
16604 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16605 silently even in the chroot mode.
16606
eaca7569
UD
166072010-11-22 Ulrich Drepper <drepper@gmail.com>
16608
16609 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16610 last patch a bit. Pretty printing
16611
3056dcdb
UD
166122010-05-31 Petr Baudis <pasky@suse.cz>
16613
16614 [BZ #10085]
16615 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16616 initialization of skip_initgroups_dyn.
16617
cf7c9078
UD
166182010-11-19 Ulrich Drepper <drepper@gmail.com>
16619
16620 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16621 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16622
a1fb5e3e
UD
166232010-11-16 Ulrich Drepper <drepper@gmail.com>
16624
16625 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16626
3540d66b
AS
166272010-11-11 Andreas Schwab <schwab@redhat.com>
16628
16629 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16630 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16631 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16632 ($(objpfx)tst-fnmatch-mem): New rule.
16633 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16634 * posix/tst-fnmatch.c (main): Call mtrace.
16635
13b69574
L
166362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16639 Support Intel processor model 6 and model 0x2c.
16640
da93d214
LM
166412010-11-10 Luis Machado <luisgpm@br.ibm.com>
16642
16643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16644 signed comparison.
16645
8ca52c6e
L
166462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16647
16648 [BZ #12205]
16649 * string/test-strncasecmp.c (check_result): New function.
16650 (do_one_test): Use it.
16651 (check1): New function.
16652 (test_main): Use it.
16653 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16654 Support strcasecmp and strncasecmp.
16655
69da074d
UD
166562010-11-08 Ulrich Drepper <drepper@gmail.com>
16657
16658 [BZ #12194]
16659 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16661
ff02d528
L
166622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16663
16664 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16665 IFUNC support.
16666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16667 memset-x86-64.
16668 * sysdeps/x86_64/multiarch/bzero.S: New file.
16669 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16670 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16671 * sysdeps/x86_64/multiarch/memset.S: New file.
16672 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16674 Set bit_Prefer_SSE_for_memop for Intel processors.
16675 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16676 Define.
16677 (index_Prefer_SSE_for_memop): Define.
16678 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16679
344d0b54
LM
166802010-11-04 Luis Machado <luisgpm@br.ibm.com>
16681
16682 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16683 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16684
c0dde15b
UD
166852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16686
16687 [BZ #12191]
16688 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16689 (__x86_64_raw_data_cache_size_half): Likewise.
16690 (__x86_64_raw_shared_cache_size): Likewise.
16691 (__x86_64_raw_shared_cache_size_half): Likewise.
16692
16693 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16694 (__x86_64_raw_data_cache_size_half): Likewise.
16695 (__x86_64_raw_shared_cache_size): Likewise.
16696 (__x86_64_raw_shared_cache_size_half): Likewise.
16697 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16698 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16699 and __x86_64_raw_shared_cache_size_half. Round
16700 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16701 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16702 to multiple of 256 bytes.
16703
0e516e0e
MS
167042010-11-03 Ulrich Drepper <drepper@gmail.com>
16705
16706 [BZ #12167]
16707 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16708 of inacessible symlinks. Verify result of symlink before returning it.
16709 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16710 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16711
0e012e87
ER
167122010-10-28 Erich Ritz <erichritz@gmail.com>
16713
16714 * math/math.h (isinf): Fix typo in comment.
16715
de0ff7bc
UD
167162010-11-01 Ulrich Drepper <drepper@gmail.com>
16717
16718 * po/da.po: Update from translation team.
16719
fa41c84d
UD
167202010-10-26 Ulrich Drepper <drepper@gmail.com>
16721
16722 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16723 is added to the list.
16724
f0967738
AK
167252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16726 Ulrich Drepper <drepper@gmail.com>
16727
16728 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16729 the global list here. Move code to...
16730 (_dl_add_to_namespace_list): ...here. New function.
16731 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16732 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16733 * elf/dl-load.c (lose): Don't remove the element from the list.
16734 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16735 (_dl_map_object): Likewise.
16736
167372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16738
16739 [BZ #12159]
16740 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16741 into all bytes of SSE register.
16742 Patch by Richard Li <richardpku@gmail.com>.
16743
f0967738 167442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16745
16746 [BZ #12140]
16747 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16748 perturbing.
16749
d0b9e94f
MB
167502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16751
16752 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16753 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16754 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16755 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16757 submachine.
16758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16759
8e9f92e9
AS
167602010-10-22 Andreas Schwab <schwab@redhat.com>
16761
16762 * include/dlfcn.h (__RTLD_SECURE): Define.
16763 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16764 mode & __RTLD_SECURE instead.
16765 (open_path): Rename preloaded parameter to secure.
16766 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16767 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16768 * elf/dl-deps.c (openaux): Likewise.
16769 * elf/rtld.c (struct map_args): Remove is_preloaded.
16770 (map_doit): Don't use it.
16771 (dl_main): Likewise.
16772 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16773 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16774
bc96fbda
AS
167752010-09-09 Andreas Schwab <schwab@redhat.com>
16776
16777 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16778 (sysd-rules-targets): Remove duplicates.
16779 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16780 rtld-%.$o dependency.
16781
22cd1c9b
AS
167822010-10-18 Andreas Schwab <schwab@redhat.com>
16783
16784 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16785 _dl_map_object do it.
16786
18edac48
UD
167872010-10-19 Ulrich Drepper <drepper@gmail.com>
16788
16789 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16790 fast fma builtins, define the macros in the C99 standard.
16791 (FP_FAST_FMAF): Likewise.
16792 (FP_FAST_FMAL): Likewise.
16793 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16794
16795 * bits/mathdef.h: Update copyright year.
16796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16797
d2050124
MM
167982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16799
16800 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16801 builtins, define the macros in the C99 standard.
16802 (FP_FAST_FMAF): Likewise.
16803 (FP_FAST_FMAL): Likewise.
16804 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16805 multiply/add.
16806 (FP_FAST_FMAF): Likewise.
16807
475facd1
JJ
168082010-10-15 Jakub Jelinek <jakub@redhat.com>
16809
16810 [BZ #3268]
16811 * math/libm-test.inc (fma_test): Some new testcases.
16812 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16813 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16814 y and infinite z. Do multiplication by C already in long double.
16815 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16817 y and infinite z. Do bitwise or of inexact bit into u.d.
16818 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16819 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16820 * sysdeps/i386/fpu/s_fma.S: Removed.
16821 * sysdeps/i386/fpu/s_fmal.S: Removed.
16822
7c08a05c
JJ
168232010-10-16 Jakub Jelinek <jakub@redhat.com>
16824
16825 [BZ #3268]
16826 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16828 computation is not scheduled after fetestexcept. Fix value
16829 of minimum denormal long double.
16830
f3f7372d
JJ
168312010-10-14 Jakub Jelinek <jakub@redhat.com>
16832
16833 [BZ #3268]
16834 * math/libm-test.inc (fma_test): Add some more tests.
16835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16836 correctly.
16837
14d43591
AS
168382010-10-15 Andreas Schwab <schwab@redhat.com>
16839
16840 * scripts/data/localplt-s390-linux-gnu.data: New file.
16841 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16842
5e908464
JJ
168432010-10-13 Jakub Jelinek <jakub@redhat.com>
16844
16845 [BZ #3268]
16846 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16847 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16848 instead of dbl-64.
16849 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16850 inlines.
16851 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16853 if one of x and y is very large and the other is subnormal.
16854 * sysdeps/s390/fpu/s_fmaf.c: New file.
16855 * sysdeps/s390/fpu/s_fma.c: New file.
16856 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16857 * sysdeps/powerpc/fpu/s_fma.S: New file.
16858 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16859 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16860 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16861
168622010-10-12 Jakub Jelinek <jakub@redhat.com>
16863
16864 [BZ #3268]
16865 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16866 fma tests.
16867 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16868 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16869 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16870 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16871 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16872 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16873 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16874
b833d51f
UD
168752010-10-12 Ulrich Drepper <drepper@redhat.com>
16876
16877 [BZ #12078]
16878 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16879 * posix/bug-regex31.input: Add test case.
16880
1751705d
UD
168812010-10-11 Ulrich Drepper <drepper@gmail.com>
16882
e9b9cbf5
UD
16883 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16884 * posix/bug-regex31.input: New file.
16885
16886 [BZ #12078]
16887 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16888 (parse_sub_exp): Fix last change, use postorder.
16889
ef06edbe
UD
16890 * posix/bug-regex31.c: New file.
16891 * posix/Makefile: Add rules to build and run bug-regex31.
16892
a129c80d
UD
16893 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16894
16895 [BZ #12078]
16896 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16897
b76b818e
UD
16898 [BZ #12108]
16899 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16900 to have entries in sys_siglist.
16901
1751705d
UD
16902 [BZ #12093]
16903 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16904 be NULL.
16905
9ff8d36f
JJ
169062010-10-07 Jakub Jelinek <jakub@redhat.com>
16907
16908 [BZ #3268]
16909 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16910 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16911 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16912 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16913 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16914 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16915 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16916 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16917 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16918 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16919 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16920 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16921 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16922 * math/ftestexcept.c (fetestexcept): Likewise.
16923 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16924 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16925 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16926 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16927 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16928 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16929 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16930
af325969
UD
169312010-10-11 Ulrich Drepper <drepper@gmail.com>
16932
c579b202 16933 [BZ #12107]
af325969
UD
16934 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16935 newline.
16936
67a67b95
UD
169372010-10-06 Ulrich Drepper <drepper@gmail.com>
16938
16939 * string/bug-strstr1.c: New file.
16940 * string/Makefile: Add rules to build and run bug-strstr1.
16941
5fb308bc
EB
169422010-10-05 Eric Blake <eblake@redhat.com>
16943
16944 [BZ #12092]
16945 * string/str-two-way.h (two_way_long_needle): Always clear memory
16946 when skipping input due to the shift table.
16947
45db99c7
UD
169482010-10-03 Ulrich Drepper <drepper@gmail.com>
16949
3b111893
UD
16950 [BZ #12005]
16951 * malloc/mcheck.c: Handle large requests.
16952
45db99c7
UD
16953 [BZ #12077]
16954 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16955 for strncmp and strncasecmp.
16956 * string/stratcliff.c: Add tests for strcmp and strncmp.
16957 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16958
cf7a1eb8
NI
169592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16960
16961 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16962 __set_fpscr.
16963
6484ba5e
AJ
169642010-09-30 Andreas Jaeger <aj@suse.de>
16965
16966 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16967 (CGROUP_SUPER_MAGIC): Define.
16968 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16969 Handle btrfs and cgroup file systems.
16970 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16971 Likewise.
16972
91c42559
LM
169732010-09-27 Luis Machado <luisgpm@br.ibm.com>
16974
16975 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16976 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16977
87a97932
AK
169782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16979
16980 [BZ #12067]
16981 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16982 trying to locate the ELF header.
16983
c21cc9bc
AS
169842010-09-27 Andreas Schwab <schwab@redhat.com>
16985
16986 [BZ #11611]
16987 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16988 Mask out sign-bit copies when constructing f_fsid.
16989
315970f6
PB
169902010-09-24 Petr Baudis <pasky@suse.cz>
16991
16992 * debug/stack_chk_fail_local.c: Add missing licence exception.
16993 * debug/warning-nop.c: Likewise.
16994
1ac7a2c7
JM
169952010-09-15 Joseph Myers <joseph@codesourcery.com>
16996
16997 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16998 implementing getdents64 using getdents syscall, set d_type if
16999 __ASSUME_GETDENTS32_D_TYPE.
17000
56801c50
AS
170012010-09-16 Andreas Schwab <schwab@redhat.com>
17002
17003 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
17004 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
17005
dda51327
UD
170062010-09-21 Ulrich Drepper <drepper@redhat.com>
17007
17008 [BZ #12037]
17009 * posix/unistd.h: Undo change of feature selection for ftruncate from
17010 2010-01-11.
17011
8ffcee4a
UD
170122010-09-20 Ulrich Drepper <drepper@redhat.com>
17013
a545ecd9 17014 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
17015 detection.
17016
e24f0a8b
AS
170172010-09-20 Andreas Schwab <schwab@redhat.com>
17018
17019 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
17020 fanotify_mark.
17021 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17022
7291c56f
AS
170232010-09-14 Andreas Schwab <schwab@redhat.com>
17024
17025 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17026 variables after CHECK_SP call.
17027 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17028
bc5fb037
AS
170292010-09-13 Andreas Schwab <schwab@redhat.com>
17030 Ulrich Drepper <drepper@redhat.com>
17031
17032 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17033 re-relocationg ld.so.
17034 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17035 _dl_init_paths call.
17036 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17037 here anymore.
17038
e66e7419
UD
170392010-09-14 Ulrich Drepper <drepper@redhat.com>
17040
17041 * resolv/res_init.c (__res_vinit): Count the default server we added.
17042
c044aa75
CLT
170432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17044 Ulrich Drepper <drepper@redhat.com>
17045
17046 [BZ #11968]
17047 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17048 (____longjmp_chk): Use %ebx for saving value across system call.
17049 Add unwind info.
17050
32cf4069
AS
170512010-09-06 Andreas Schwab <schwab@redhat.com>
17052
17053 * manual/Makefile: Don't mix pattern rules with normal rules.
17054
817328ee
AS
170552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17056
17057 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17058 operation.
17059 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17060 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17061 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17062 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17064 Likewise.
17065
29fddf61
UD
170662010-09-04 Ulrich Drepper <drepper@redhat.com>
17067
17068 [BZ #11979]
17069 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17070 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17071
0959ffc9
UD
170722010-09-02 Ulrich Drepper <drepper@redhat.com>
17073
17074 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17075 * sysdeps/x86_64/addmul_1.S: Likewise.
17076 * sysdeps/x86_64/lshift.S: Likewise.
17077 * sysdeps/x86_64/mul_1.S: Likewise.
17078 * sysdeps/x86_64/rshift.S: Likewise.
17079 * sysdeps/x86_64/sub_n.S: Likewise.
17080 * sysdeps/x86_64/submul_1.S: Likewise.
17081
ece29840
ST
170822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17083
0959ffc9
UD
17084 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17085 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17086 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17087 * bits/sched.h [__need_schedparam]
ece29840 17088 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17089 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17090 (__defined_schedparam): Define to 1.
ece29840
ST
17091 (__sched_param): New structure, identical to sched_param.
17092 (__need_schedparam): Undefine.
17093
e53a31fe
MF
170942010-08-31 Mike Frysinger <vapier@gentoo.org>
17095
fdc0c10d
MF
17096 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17097 (epoll_create1): Declare.
17098
e53a31fe
MF
17099 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17100
a726d796
AS
171012010-08-31 Andreas Schwab <schwab@redhat.com>
17102
17103 [BZ #7066]
17104 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17105 shifting retval into place.
17106
2f3e3dc7
UD
171072010-09-01 Ulrich Drepper <drepper@redhat.com>
17108
f2933da9
UD
17109 * nis/rpcsvc/nis.h: Update copyright notice.
17110 * nis/rpcsvc/nis.x: Likewise.
17111 * nis/rpcsvc/nis_callback.h: Likewise.
17112 * nis/rpcsvc/nis_callback.x: Likewise.
17113 * nis/rpcsvc/nis_object.x: Likewise.
17114 * nis/rpcsvc/nis_tags.h: Likewise.
17115 * nis/rpcsvc/yp.h: Likewise.
17116 * nis/rpcsvc/yp.x: Likewise.
17117 * nis/rpcsvc/ypupd.h: Likewise.
17118 * nis/yp_xdr.c: Likewise.
17119 * nis/ypupdate_xdr.c: Likewise.
17120
2f3e3dc7
UD
17121 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17122 mainly the body of pmap_getport. Add parameters to specify timeouts.
17123 (pmap_getport): Use __libc_rpc_getport.
17124 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17125 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17126 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17127
f3dcc2f9
AS
171282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17129
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17131 fanotify_mark.
17132
6d34eb5b
RM
171332010-08-27 Roland McGrath <roland@redhat.com>
17134
17135 * sysdeps/i386/i686/multiarch/Makefile
17136 (CFLAGS-varshift.c): New variable.
17137
9ea3de11
UD
171382010-08-27 Ulrich Drepper <drepper@redhat.com>
17139
c96d23fc
UD
17140 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17141 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17142
9ea3de11
UD
17143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17144
17145 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17146
623aac7f
L
171472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17148
17149 * sysdeps/x86_64/strlen.S: Unroll the loop.
17150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17151 strlen-sse2 strlen-sse2-bsf.
17152 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17153 __strlen_no_bsf if bit_Slow_BSF is set.
17154 (__strlen_sse42): Removed.
17155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17156 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17157
8b2b7715
RM
171582010-08-25 Roland McGrath <roland@redhat.com>
17159
17160 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17161 * sysdeps/x86_64/multiarch/varshift.c: New file.
17162 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17163 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17164 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17165 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17166
e73015f2
L
171672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17168
17169 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17170 strlen-sse2 strlen-sse2-bsf.
17171 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17172 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17173 (__strlen_sse2): Removed.
17174 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17177 bit_Slow_BSF for Atom.
17178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17179 (index_Slow_BSF): Define.
17180 (HAS_SLOW_BSF): Define.
17181
df24a73e
UD
171822010-08-25 Ulrich Drepper <drepper@redhat.com>
17183
17184 [BZ #10851]
17185 * resolv/res_init.c (__res_vinit): When no server address at all
17186 is given default to loopback.
17187
f2ac4868
RM
171882010-08-24 Roland McGrath <roland@redhat.com>
17189
09055553
RM
17190 * configure.in: Remove config-name.h generation.
17191 * configure: Regenerated.
17192 * config-name.in: File removed.
17193 * scripts/config-uname.sh: New file.
17194 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17195 ($(objdir)config-name.h): New target.
17196
f2ac4868
RM
17197 * sunrpc/rpc_parse.h: Avoid nested comment.
17198
73f27d5e
RH
171992010-08-24 Richard Henderson <rth@redhat.com>
17200 Ulrich Drepper <drepper@redhat.com>
17201 H.J. Lu <hongjiu.lu@intel.com>
17202
17203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17205 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17206 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17207 _mm_alignr_epi8 with _mm_loadu_si128.
17208 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17209 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17210 (__m128i_shift_right): Removed.
17211 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17212 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17213 * sysdeps/x86_64/multiarch/varshift.h: New file.
17214 * sysdeps/x86_64/multiarch/varshift.S: New file.
17215
84b9230c
MF
172162010-08-21 Mike Frysinger <vapier@gentoo.org>
17217
17218 * configure.in: Move assembler checks to before sysdep dir checking.
17219
9bbd0ddc
PB
172202010-08-20 Petr Baudis <pasky@suse.cz>
17221
17222 * LICENSES: Sync the sunrpc license.
17223
9da4bb31
UD
172242010-08-19 Ulrich Drepper <drepper@redhat.com>
17225
a7ab6ec8
UD
17226 * sunrpc/auth_des.c: Update copyright notice once again.
17227 * sunrpc/auth_none.c: Likewise.
17228 * sunrpc/auth_unix.c: Likewise.
17229 * sunrpc/authdes_prot.c: Likewise.
17230 * sunrpc/authuxprot.c: Likewise.
17231 * sunrpc/bindrsvprt.c: Likewise.
17232 * sunrpc/clnt_gen.c: Likewise.
17233 * sunrpc/clnt_perr.c: Likewise.
17234 * sunrpc/clnt_raw.c: Likewise.
17235 * sunrpc/clnt_simp.c: Likewise.
17236 * sunrpc/clnt_tcp.c: Likewise.
17237 * sunrpc/clnt_udp.c: Likewise.
17238 * sunrpc/clnt_unix.c: Likewise.
17239 * sunrpc/des_crypt.c: Likewise.
17240 * sunrpc/des_soft.c: Likewise.
17241 * sunrpc/get_myaddr.c: Likewise.
17242 * sunrpc/getrpcport.c: Likewise.
17243 * sunrpc/key_call.c: Likewise.
17244 * sunrpc/key_prot.c: Likewise.
17245 * sunrpc/openchild.c: Likewise.
17246 * sunrpc/pm_getmaps.c: Likewise.
17247 * sunrpc/pm_getport.c: Likewise.
17248 * sunrpc/pmap_clnt.c: Likewise.
17249 * sunrpc/pmap_prot.c: Likewise.
17250 * sunrpc/pmap_prot2.c: Likewise.
17251 * sunrpc/pmap_rmt.c: Likewise.
17252 * sunrpc/rpc/auth.h: Likewise.
17253 * sunrpc/rpc/auth_unix.h: Likewise.
17254 * sunrpc/rpc/clnt.h: Likewise.
17255 * sunrpc/rpc/des_crypt.h: Likewise.
17256 * sunrpc/rpc/key_prot.h: Likewise.
17257 * sunrpc/rpc/netdb.h: Likewise.
17258 * sunrpc/rpc/pmap_clnt.h: Likewise.
17259 * sunrpc/rpc/pmap_prot.h: Likewise.
17260 * sunrpc/rpc/pmap_rmt.h: Likewise.
17261 * sunrpc/rpc/rpc.h: Likewise.
17262 * sunrpc/rpc/rpc_des.h: Likewise.
17263 * sunrpc/rpc/rpc_msg.h: Likewise.
17264 * sunrpc/rpc/svc.h: Likewise.
17265 * sunrpc/rpc/svc_auth.h: Likewise.
17266 * sunrpc/rpc/types.h: Likewise.
17267 * sunrpc/rpc/xdr.h: Likewise.
17268 * sunrpc/rpc_clntout.c: Likewise.
17269 * sunrpc/rpc_cmsg.c: Likewise.
17270 * sunrpc/rpc_common.c: Likewise.
17271 * sunrpc/rpc_cout.c: Likewise.
17272 * sunrpc/rpc_dtable.c: Likewise.
17273 * sunrpc/rpc_hout.c: Likewise.
17274 * sunrpc/rpc_main.c: Likewise.
17275 * sunrpc/rpc_parse.c: Likewise.
17276 * sunrpc/rpc_parse.h: Likewise.
17277 * sunrpc/rpc_prot.c: Likewise.
17278 * sunrpc/rpc_sample.c: Likewise.
17279 * sunrpc/rpc_scan.c: Likewise.
17280 * sunrpc/rpc_scan.h: Likewise.
17281 * sunrpc/rpc_svcout.c: Likewise.
17282 * sunrpc/rpc_tblout.c: Likewise.
17283 * sunrpc/rpc_util.c: Likewise.
17284 * sunrpc/rpc_util.h: Likewise.
17285 * sunrpc/rpcinfo.c: Likewise.
17286 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17287 * sunrpc/rpcsvc/key_prot.x: Likewise.
17288 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17289 * sunrpc/rpcsvc/mount.x: Likewise.
17290 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17291 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17292 * sunrpc/rpcsvc/rex.x: Likewise.
17293 * sunrpc/rpcsvc/rstat.x: Likewise.
17294 * sunrpc/rpcsvc/rusers.x: Likewise.
17295 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17296 * sunrpc/rpcsvc/spray.x: Likewise.
17297 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17298 * sunrpc/rtime.c: Likewise.
17299 * sunrpc/svc.c: Likewise.
17300 * sunrpc/svc_auth.c: Likewise.
17301 * sunrpc/svc_authux.c: Likewise.
17302 * sunrpc/svc_raw.c: Likewise.
17303 * sunrpc/svc_run.c: Likewise.
17304 * sunrpc/svc_simple.c: Likewise.
17305 * sunrpc/svc_tcp.c: Likewise.
17306 * sunrpc/svc_udp.c: Likewise.
17307 * sunrpc/svc_unix.c: Likewise.
17308 * sunrpc/svcauth_des.c: Likewise.
17309 * sunrpc/xcrypt.c: Likewise.
17310 * sunrpc/xdr.c: Likewise.
17311 * sunrpc/xdr_array.c: Likewise.
17312 * sunrpc/xdr_float.c: Likewise.
17313 * sunrpc/xdr_mem.c: Likewise.
17314 * sunrpc/xdr_rec.c: Likewise.
17315 * sunrpc/xdr_ref.c: Likewise.
17316 * sunrpc/xdr_sizeof.c: Likewise.
17317 * sunrpc/xdr_stdio.c: Likewise.
17318
9da4bb31
UD
17319 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17320 handling.
17321
bdaa77bc
AS
173222010-08-19 Andreas Schwab <schwab@redhat.com>
17323
17324 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17325
fe2f79db
LM
173262010-08-19 Luis Machado <luisgpm@br.ibm.com>
17327
17328 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17329 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17331 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17332 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17333 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17335 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17336 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17338 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17339 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17340 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17341 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17342
b9b42ee0
AB
173432010-07-26 Anton Blanchard <anton@samba.org>
17344
17345 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17346 * malloc/arena.c (heap_trim): Likewise.
17347
1c06ba31
UD
173482010-08-16 Ulrich Drepper <drepper@redhat.com>
17349
17350 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17351 here. Not...
17352 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17353 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17354
f8392f40
L
173552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17356
17357 * sysdeps/i386/elf/Makefile: New file.
17358
3162f12e
AS
173592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17360
17361 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17362 from fanotify_init.
17363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17364 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17365
28c90b2c
UD
173662010-08-15 Ulrich Drepper <drepper@redhat.com>
17367
17368 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17369 of strncasecmp_l.
1feccb6c 17370 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17371
ca6bb004
UD
173722010-08-14 Ulrich Drepper <drepper@redhat.com>
17373
e9f82e0d
UD
17374 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17375 strncase_l-nonascii.
17376 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17377 Add strncase_l-ssse3.
17378 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17379 * sysdeps/x86_64/strcmp.S: Likewise.
17380 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17381 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17382 * sysdeps/x86_64/strncase.S: New file.
17383 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17384 * sysdeps/x86_64/strncase_l.S: New file.
17385 * string/Makefile (strop-tests): Add strncasecmp.
17386 * string/test-strncasecmp.c: New file.
17387
17388 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17389 warning.
17390
ca6bb004
UD
17391 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17392 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17393
052fa7b3
AS
173942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17395
17396 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17397
962dba78
UD
173982010-08-12 Ulrich Drepper <drepper@redhat.com>
17399
17400 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17401 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17402 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17403
bebff237
AM
174042010-05-01 Alan Modra <amodra@gmail.com>
17405
17406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17407 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17408 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17409 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17410 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17411 tidying. Don't tail-call __sigjmp_save for static lib.
17412 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17413 save location.
17414 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17415 (CALL_MCOUNT): Add eh info, and nop after bl.
17416 (TAIL_CALL_SYSCALL_ERROR): New macro.
17417 (PSEUDO_RET): Use it.
17418 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17419 Correct save location of integer regs and cr.
17420 (_dl_profile_resolve): Correct cr save location. Delete nops
17421 after bl when SHARED. Reduce cfi size a little by better
17422 placement of cfi directives.
17423 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17424 make a stack frame. Instead use parm save area as a temp.
17425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17426 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17428 Don't make a stack frame for parent, use parm save area.
17429 Increase child stack frame to 112 bytes. Don't save unused reg,
17430 and adjust reg usage. Set up cfi on error recovery and
17431 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17433 (__makecontext): Add dummy nop after jump to exit.
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17435 Use correct parm save area and cr save, reduce stack frame.
17436 Correct cfi for possible PSEUDO_RET frame setup.
17437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17438 Branch to local label emitted by PSEUDO_RET rather than
17439 __syscall_error.
17440
02637374
AS
174412010-08-12 Andreas Schwab <schwab@redhat.com>
17442
17443 [BZ #11904]
17444 * locale/programs/locale.c (print_assignment): New function.
17445 (show_locale_vars): Use it.
17446
c3e2f19b
UD
174472010-08-11 Ulrich Drepper <drepper@redhat.com>
17448
3cdaa6ad
UD
17449 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17450 field.
17451 (struct statfs64): Likewise.
17452 (_STATFS_F_FLAGS): Define.
17453 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17454 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17455 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17456 (ST_VALID): Define locally.
17457 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17458 __statvfs_getflags, use the provided value.
17459 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17460 __ASSUME_STATFS_F_FLAGS.
17461
754f7da3
UD
17462 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17463
10b3bedc
UD
17464 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17465 Add sys/fanotify.h.
17466 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17467 fanotify_mask for GLIBC_2.13.
17468 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17469 fanotify_init and fanotify_mark.
17470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17471 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17472
c08fb0d7
UD
17473 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17474 Add prlimit.
17475 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17476 prlimit64 for GLIBC_2.13.
17477 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17478 prlimit64.
17479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17480 syscall.
17481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17482 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17483 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17484 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17486 add prlimit alias.
17487 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17488
15bac72b
UD
17489 [BZ #11903]
17490 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17491 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17492
c3e2f19b
UD
17493 * nss/Makefile: Add rules to build and run tst-nss-test1.
17494 * shlib-versions: Add entry for libnss_test1.
17495 * nss/nss_test1.c: New file.
17496 * nss/tst-nss-test1.c: New file.
17497
17498 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17499 (__nss_configure_lookup): Set appropriate entry in
17500 __nss_configure_lookup to true.
17501 * nss/nsswitch.h: Define enum with indeces of databases in
17502 databases and __nss_database_custom arrays. Declare
17503 __nss_database_custom.
17504 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17505 to avoid using nscd when custom rules are installed.
17506 * nss/getXXbyYY_r.c: Likewise.
17507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17508
17509 * nss/nss_files/files-parse.c: Whitespace fixes.
17510
f15ce4d8
UD
175112010-08-09 Ulrich Drepper <drepper@redhat.com>
17512
17513 [BZ #11883]
17514 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17515 * posix/fnmatch_loop.c: Likewise.
17516
d22e4cc9
AK
175172010-07-17 Andi Kleen <ak@linux.intel.com>
17518
17519 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17520 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17521 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17522 * Versions.def [GLIBC_2.13]: Add.
17523
805bc17d
UD
175242010-08-06 Ulrich Drepper <drepper@redhat.com>
17525
17526 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17527 Also fail if tpwd after pwuid call is NULL.
17528
5a42321d
ST
175292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17530
17531 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17532 when converting to ms.
17533
fd3ebeda
ST
175342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17535
17536 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17537 EOPNOTSUPP errors with ENOTTY.
17538 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17539 EOPNOTSUPP errors with ENOTTY.
17540
73507d3a
UD
175412010-07-31 Ulrich Drepper <drepper@redhat.com>
17542
17543 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17544 Add strcasecmp_l-ssse3.
17545 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17546 strcasecmp.
17547 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17548 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17549 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17550
fe36dd02
UD
175512010-07-30 Ulrich Drepper <drepper@redhat.com>
17552
66f6765a
UD
17553 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17554
42e08a54
UD
17555 * string/Makefile (strop-tests): Add strcasecmp.
17556 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17557 strcasecmp_l-nonascii.
17558 (gen-as-const-headers): Add locale-defines.sym.
17559 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17560 * sysdeps/x86_64/strcasecmp.S: New file.
17561 * sysdeps/x86_64/strcasecmp_l.S: New file.
17562 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17563 * sysdeps/x86_64/locale-defines.sym: New file.
17564 * string/test-strcasecmp.c: New file.
17565
fe36dd02
UD
17566 * string/test-strcasestr.c: Test both ends of the range of characters.
17567 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17568
48cbc0d6
RM
175692010-07-29 Roland McGrath <roland@redhat.com>
17570
76e6d6bc 17571 [BZ #11856]
48cbc0d6
RM
17572 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17573
880113d9
UD
175742010-07-27 Ulrich Drepper <drepper@redhat.com>
17575
17576 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17577 for ld.so.
17578
deb9cabb
AS
175792010-07-27 Andreas Schwab <schwab@redhat.com>
17580
17581 * manual/memory.texi (Malloc Tunable Parameters): Document
17582 M_PERTURB.
17583
1c7570ff
RM
175842010-07-26 Roland McGrath <roland@redhat.com>
17585
17586 [BZ #11840]
17587 * configure.in (-fgnu89-inline check): Set and substitute
17588 gnu89_inline, not libc_cv_gnu89_inline.
17589 * configure: Regenerated.
17590 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17591
24fb0f88
UD
175922010-07-26 Ulrich Drepper <drepper@redhat.com>
17593
17594 * string/test-strnlen.c: New file.
17595 * string/Makefile (strop-tests): Add strnlen.
17596 * string/tester.c (test_strnlen): Add a few more test cases.
17597 * string/tst-strlen.c: Better error reporting.
17598
17599 * sysdeps/x86_64/strnlen.S: New file.
17600
8e96b93a
UD
176012010-07-24 Ulrich Drepper <drepper@redhat.com>
17602
17603 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17604 lower-latency instructions.
17605
dbc676d4
UD
176062010-07-23 Ulrich Drepper <drepper@redhat.com>
17607
17608 * string/test-strcasestr.c: New file.
17609 * string/test-strstr.c: New file.
17610 * string/Makefile (strop-tests): Add strstr and strcasestr.
17611 * string/str-two-way.h: Don't undefine MAX.
17612 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17613
f6a31e0e
AS
176142010-07-21 Andreas Schwab <schwab@redhat.com>
17615
17616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17617 strcasestr-nonascii.
17618 (CFLAGS-strcasestr-nonascii.c): Define.
17619 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17621 Remove unused attribute.
17622
5dbc3b6c
RM
176232010-07-20 Roland McGrath <roland@redhat.com>
17624
17625 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17626 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17627 ld.so.cache was broken. With it, there is no way to disable dsocaps
17628 like LD_HWCAP_MASK can disable hwcaps.
17629
23d101d8
EPM
176302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17631
17632 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17633
cc9f2e47
UD
176342010-07-16 Ulrich Drepper <drepper@redhat.com>
17635
17636 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17637 call in strcasestr.
17638 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17639 __strcasestr_sse42_nonascii.
17640 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17641 strcasestr-nonascii.c.
17642 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17643
77c1b069
LM
176442010-06-15 Luis Machado <luisgpm@br.ibm.com>
17645
17646 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17647 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17648 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17649 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17650
440566c3
UD
176512010-07-09 Ulrich Drepper <drepper@redhat.com>
17652
17653 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17654 fcntl.
17655
5be9d05d
AS
176562010-07-06 Andreas Schwab <schwab@redhat.com>
17657
c30b7ee2 17658 [BZ #11577]
5be9d05d
AS
17659 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17660 dl_signal_cerror.
17661
8a492a67
UD
176622010-07-06 Ulrich Drepper <drepper@redhat.com>
17663
17664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17665 _PC_PIPE_BUF using F_GETPIPE_SZ.
17666
713df3d5
RM
176672010-07-05 Roland McGrath <roland@redhat.com>
17668
17669 * manual/arith.texi (Rounding Functions): Fix rint description
17670 implicit in round description.
17671
702e8f14
UD
176722010-07-02 Ulrich Drepper <drepper@redhat.com>
17673
17674 * elf/Makefile: Fix linking for a few tests to make recent linker
17675 happy.
17676
52ed8be9
AS
176772010-06-30 Andreas Schwab <schwab@redhat.com>
17678
17679 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17680 $(common-objpfx)libc_nonshared.a.
17681
f47c9a11
LM
176822010-06-21 Luis Machado <luisgpm@br.ibm.com>
17683
17684 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17685 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17686 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17687 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17688 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17689 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17690 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17691 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17706 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17707 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17708 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17709 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17710 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17711 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17712 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17713 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17714 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17715 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17716 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17717 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17732
6fb8cbcb
L
177332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17736 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17737 * string/memmove.c (memmove): Renamed to ...
17738 (MEMMOVE): ...this. Default to memmove.
17739 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17740 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17741 (END_CHK): Define.
17742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17743 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17744 mempcpy-ssse3-back memmove-ssse3-back.
17745 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17746 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17747 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17748 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17749 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17750 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17751 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17752 * sysdeps/x86_64/multiarch/memmove.c: New file.
17753 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17754 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17755 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17756 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17757 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17758 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17759 Define.
17760 (index_Fast_Copy_Backward): Define.
17761 (HAS_ARCH_FEATURE): Define.
17762 (HAS_FAST_REP_STRING): Define.
17763 (HAS_FAST_COPY_BACKWARD): Define.
17764
4e733bac 177652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17766
17767 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17768 Restore proper fallback handling.
17769
63c4ed22
UD
177702010-06-19 Ulrich Drepper <drepper@redhat.com>
17771
ac2b484c
UD
17772 [BZ #11701]
17773 * posix/group_member.c (__group_member): Correct checking loop.
17774
63c4ed22
UD
17775 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17776 OOM in getpwuid_r correctly. Return error number when the caller
17777 should return, otherwise -1.
17778 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17779 call returning > 0 value.
17780 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17781
765ade4b
AS
177822010-06-07 Andreas Schwab <schwab@redhat.com>
17783
17784 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17785 libc_nonshared.a from targets in modules-names.
17786
80da2e09
KS
177872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17788
17789 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17790 requires it.
17791
158db122
LM
177922010-06-10 Luis Machado <luisgpm@br.ibm.com>
17793
17794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17795 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17796 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17797 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17798
caa78cf8
AS
177992010-06-02 Andreas Schwab <schwab@redhat.com>
17800
17801 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17802
b2ef2c01
UD
178032010-06-14 Ulrich Drepper <drepper@redhat.com>
17804
17805 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17806 and F_GETPIPE_SZ.
17807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17811 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17812 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17813
fbd643b6
RM
178142010-06-14 Roland McGrath <roland@redhat.com>
17815
17816 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17817
f32f2869
JJ
178182010-06-07 Jakub Jelinek <jakub@redhat.com>
17819
17820 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17821 __REDIRECT followed by __THROW.
17822 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17823 * posix/getopt.h (getopt): Likewise.
17824
2a50c078
EPM
178252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17826
17827 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17828 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17829 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17830 in AT_FLAGS.
17831 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17832 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17833
eb5ad2eb
LM
178342010-05-28 Luis Machado <luisgpm@br.ibm.com>
17835
17836 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17837
3c88fe1e
L
178382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17839
17840 [BZ #11640]
17841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17842 Properly check family and model.
17843
d2f73151
TY
178442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17845
17846 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17847
ebd2e13d
LM
178482010-05-24 Luis Machado <luisgpm@br.ibm.com>
17849
17850 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17851
b32b8b45
UD
178522010-05-21 Ulrich Drepper <drepper@redhat.com>
17853
17854 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17855 symbol reference.
17856
9acbe24d
AS
178572010-05-19 Andreas Schwab <schwab@redhat.com>
17858
17859 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17860 symbol reference.
17861
f0ccf6ea
AS
178622010-05-21 Andreas Schwab <schwab@redhat.com>
17863
3d04ff3a
AS
17864 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17865 and internal_recvmmsg.
17866 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17867 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17868 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17869 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17870
f0ccf6ea
AS
17871 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17872 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17873 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17874
5b08ac57
AS
178752010-05-20 Andreas Schwab <schwab@redhat.com>
17876
17877 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17878
4828935d
LM
178792010-05-17 Luis Machado <luisgpm@br.ibm.com>
17880
17881 POWER7 optimizations.
17882 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17883 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17884
373d545e
UD
178852010-05-19 Ulrich Drepper <drepper@redhat.com>
17886
17887 * version.h: Update for 2.13 development version.
17888
21a2b1ae
AS
178892010-05-12 Andrew Stubbs <ams@codesourcery.com>
17890
17891 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17892 exceptions. Return 0.
17893
3f7dcb2b
RM
178942010-05-07 Roland McGrath <roland@redhat.com>
17895
17896 * elf/ldconfig.c (main): Add a const.
17897
5f24d53a 178982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17899
a160f8d8
UD
17900 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17901 (args_options): Add no-idn option.
17902 (ahosts_keys_int): Add idn_flags to ai_flags.
17903 (parse_option): Handle 'i' option to clear idn_flags.
17904
5f24d53a
UD
17905 * malloc/malloc.c (_int_free): Possible race in the most recently
17906 added check. Only act on the data if no current modification
17907 happened.
265bb1ce
UD
17908
17909See ChangeLog.17 for earlier changes.