]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
tile: Get rid of ASM_TYPE_DIRECTIVE
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b67e9372
MP
12012-08-02 Marek Polacek <polacek@redhat.com>
2
3 [BZ#14150]
4 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5 libc_cv_asm_type_prefix with %.
6 * configure: Regenerated.
7 * include/libc-symbols.h: Remove comment about ASM_TYPE_DIRECTIVE_PREFIX.
8 Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16 * elf/tst-unique2mod1.c: Likewise.
17 * elf/tst-unique1mod2.c: Likewise.
18 * elf/tst-unique1mod1.c: Likewise.
19 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21 Replace ASM_TYPE_DIRECTIVE with .type.
22 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23 * sysdeps/i386/sysdep.h: Likewise.
24 * sysdeps/x86_64/sysdep.h: Likewise.
25 * sysdeps/sh/sysdep.h: Likewise.
26 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27 * sysdeps/powerpc/sysdep.h: Likewise.
28 * sysdeps/powerpc/powerpc32/sysdep.h: Replace ASM_TYPE_DIRECTIVE with .type.
29 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31 * sysdeps/i386/fpu/e_powf.S: Likewise.
32 * sysdeps/i386/fpu/e_expl.S: Likewise.
33 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35 * sysdeps/i386/fpu/e_pow.S: Likewise.
36 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40 * sysdeps/i386/fpu/e_log2.S: Likewise.
41 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43 * sysdeps/i386/fpu/e_powl.S: Likewise.
44 * sysdeps/i386/fpu/e_log10f.S: Likewise.
45 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46 * sysdeps/i386/fpu/e_logl.S: Likewise.
47 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52 * sysdeps/i386/fpu/e_log.S: Likewise.
53 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54 * sysdeps/i386/fpu/e_logf.S: Likewise.
55 * sysdeps/i386/fpu/e_log10l.S: Likewise.
56 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
58 * sysdeps/i386/fpu/e_log10.S: Likewise.
59 * sysdeps/i386/fpu/s_frexp.S: Likewise.
60 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61 * sysdeps/i386/fpu/s_asinh.S: Likewise.
62 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
66 * sysdeps/i386/i686/strtok.S: Likewise.
67 * sysdeps/i386/i386-mcount.S: Likewise.
68 * sysdeps/i386/strtok.S: Likewise.
69 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
74 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
76 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78 * sysdeps/x86_64/_mcount.S: Likewise.
79 * sysdeps/x86_64/strtok.S: Likewise.
80 * sysdeps/sh/_mcount.S: Likewise.
81
2747bf9a
RM
822012-08-01 Roland McGrath <roland@hack.frob.com>
83
84 * libio/iofopen.c: Include <fcntl.h>.
85 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
86 (_IO_fopen64, fopen64): Define as aliases.
87 * libio/iofopen64.c: Include <fcntl.h>.
88 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
89 Conditionalize body on this.
90 * sysdeps/wordsize-64/iofopen.c: File removed.
91 * sysdeps/wordsize-64/iofopen64.c: File removed.
92
3fb791b8
MP
932012-08-01 Marek Polacek <polacek@redhat.com>
94
95 * libc/Makeconfig: Use elf in place of binfmt-subdir.
96 Use dlfcn directly instead of a variable.
97 (binfmt-subdir): Do not define.
98 (dlfcn): Likewise.
99
a9f1039f
JM
1002012-08-01 Joseph Myers <joseph@codesourcery.com>
101
23bddc06
JM
102 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
103 Remove all definitions.
104 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
105 <kernel-features.h>.
106 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
107 (miss_F_GETOWN_EX): Remove all definitions.
108 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
109 macro definition.
110 [!__ASSUME_FCNTL64]: Remove conditional code.
111 [__ASSUME_FCNTL64]: Make code unconditional.
112 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
113 <kernel-features.h>.
114 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
115 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
116 (lockf64) [__NR_fcntl64]: Make code unconditional.
117 (lockf64) [__ASSUME_FCNTL64]: Likewise.
118
a9f1039f
JM
119 * sysdeps/unix/sysv/linux/kernel-features.h
120 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
121 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
122 Make code unconditional.
123 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
124 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
126 [__NR_vfork]: Make code unconditional.
127 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
128 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
130 [__NR_vfork]: Make code unconditional.
131 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
132 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
133
09c0ee5f
RM
1342012-08-01 Roland McGrath <roland@hack.frob.com>
135
48aec5b9
RM
136 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
137 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
138
cd97c966
RM
139 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
140 Define mkstemp64 as an alias.
3f55550c
RM
141 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
142 Define mkstemps64 as an alias.
cd97c966
RM
143 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
144 Define mkostemp64 as an alias.
b8625cfc
RM
145 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
146 Define mkostemps64 as an alias.
cd97c966
RM
147 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
148 Conditionalize body on this.
149 * misc/mkostemp64.c: Likewise.
b8625cfc 150 * misc/mkostemps64.c: Likewise.
3f55550c 151 * misc/mkstemps64.c: Likewise.
cd97c966
RM
152 * sysdeps/wordsize-64/mkstemp64.c: File removed.
153 * sysdeps/wordsize-64/mkostemp64.c: File removed.
154 * sysdeps/wordsize-64/mkostemp.c: File removed.
155 * sysdeps/wordsize-64/mkstemp.c: File removed.
156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
157 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
158 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
159 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
160
09c0ee5f
RM
161 [BZ #14138]
162 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
163 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
164 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
165 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
166
167 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
168 compat_symbol macros from <shlib-compat.h> rather than the underlying
169 default_symbol_version and symbol_version macros, so that DEFAULT
170 lines in shlib-versions are respected.
171 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
172
7e66ee51
FW
1732012-08-01 Florian Weimer <fweimer@redhat.com>
174
175 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
176 Declare with warn_unused_result.
177 (setgid, setregid, setegid, setresgid): Likewise.
178 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
179 Likewise.
180 * WUR-REPORT: Remove set*id functions.
181
d2a54255
PT
1822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
183
184 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
185
7ecdb005
RM
1862012-07-31 Roland McGrath <roland@hack.frob.com>
187
789bd351
RM
188 * include/sys/socket.h (__libc_accept, __libc_accept4):
189 Add attribute_hidden.
190 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
191
40ce302d
RM
192 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
193 use of PTR_MANGLE.
194 * inet/getnetgrent_r.c (setup): Likewise.
195
7ecdb005
RM
196 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
197
e2eabb2c
DM
1982012-07-31 David S. Miller <davem@davemloft.net>
199
200 * sysdeps/sparc/fpu/libm-test-ulps: Update.
201
d0419dbf
JM
2022012-07-31 Joseph Myers <joseph@codesourcery.com>
203
204 [BZ #13629]
205 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
206 value between 1.0 and 2.0 and smaller part has absolute value less
207 than 1.0.
208 * math/s_clog10.c (__clog10): Likewise.
209 * math/s_clog10f.c (__clog10f): Likewise.
210 * math/s_clog10l.c (__clog10l): Likewise.
211 * math/s_clogf.c (__clogf): Likewise.
212 * math/s_clogl.c (__clogl): Likewise.
213 * math/libm-test.inc (clog_test): Add more tests.
214 (clog10_test): Likewise.
215 * sysdeps/i386/fpu/libm-test-ulps: Update.
216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
217
2bc13872
FW
2182012-07-31 Florian Weimer <fweimer@redhat.com>
219
220 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
221 Exit with zero in case no suitable GID is found, and write a
222 message to standard error.
223
bea9b193
RM
2242012-07-30 Roland McGrath <roland@hack.frob.com>
225
226 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
227 rather than to 1.
228 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
229 (MAXPATHLEN): Removed.
230 (NOGROUP, NODEV): New macros.
231 (setbit, clrbit, isset, isclr): New macros.
232 (howmany, roundup, powerof2): New macros.
233 (DEV_BSIZE): New macro.
234
235 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
236 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
237
238 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
239 definition on [!__NO_LONG_DOUBLE_MATH].
240
241 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
242 PTR_MANGLE and PTR_DEMANGLE.
243
244 * socket/accept4.c (accept4): Rename to __libc_accept4.
245 Define accept4 as a weak alias.
246
247 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
248 on [_DIRENT_HAVE_D_TYPE].
249 * io/ftw.c (ftw_dir): Likewise.
250
251 * io/xmknod.c (__xmknod): Don't check PATH for being null.
252
253 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
254
255 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
256 Use the BSD numbers rather than the arbitrary ones we had.
257 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
258 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
259 (SIGXCPU, SIGXFSZ): New macros.
260 (_NSIG): Now 32.
261
262 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
263 initializer on [_LIBC_REENTRANT].
264
265 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
266 definitions inside [_POSIX_MAPPED_FILES].
267
268 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
269
270 * dirent/opendir.c: Include <fcntl.h>.
271
272 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
273 (__libc_getspecific): Likewise.
274 (__libc_key_create): Likewise.
275
276 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
277 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
278 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
279 (tmpfile64): Define as alias.
280 * sysdeps/wordsize-64/tmpfile.c: File removed.
281 * sysdeps/wordsize-64/tmpfile64.c: File removed.
282 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
284
285 * stdio-common/vfscanf.c: Include <stdbool.h>.
286 * nss/makedb.c: Likewise.
287 * stdio-common/_i18n_number.h: Likewise.
288 * argp/argp-help.c: Likewise.
289 * posix/wordexp.c: Likewise.
290 * sysdeps/posix/spawni.c: Likewise.
291 * nss/nss_files/files-initgroups.c: Likewise.
292 * stdio-common/reg-modifier.c: Include <stdlib.h>.
293 * nss/nss_files/files-initgroups.c: Likewise.
294 * nss/nss_db/db-netgrp.c: Likewise.
295 * nss/nss_db/db-initgroups.c: Likewise.
296 * io/fchmodat.c: Include <sys/stat.h>.
297
298 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
299 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
300
301 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
302 [HAVE_MMAP].
303
304 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
305 Add multiple inclusion protection.
306
e5abc686
DM
3072012-07-27 David S. Miller <davem@davemloft.net>
308
309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
310
815e6fa3
GB
3112012-07-27 Gary Benson <gbenson@redhat.com>
312
313 [BZ #14298]
314 * elf/rtld.c: Include <stap-probe.h>.
315 (dl_main): Added static probes "init_start" and "init_complete".
316 * elf/dl-load.c: Include <stap-probe.h>.
317 (lose): Take new parameter "nsid".
318 Added static probe "map_failed".
319 (_dl_map_object_from_fd): Pass namespace id to lose.
320 Added static probe "map_start".
321 (open_verify): Pass namespace id to lose.
322 * elf/dl-open.c: Include <stap-probe.h>.
323 (dl_open_worker) Added static probes "map_complete", "reloc_start"
324 and "reloc_complete".
325 * elf/dl-close.c: Include <stap-probe.h>.
326 (_dl_close_worker): Added static probes "unmap_start" and
327 "unmap_complete".
328 * elf/rtld-debugger-interface.txt: New file documenting the above.
329
9f98c16c
RM
3302012-07-26 Roland McGrath <roland@hack.frob.com>
331
332 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
333 rather than a string variable.
334 * sunrpc/rpc_main.c (h_output): Likewise.
335 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
336
f3c22df3
PT
3372012-07-26 Pino Toscano <toscano.pino@tiscali.it>
338
339 * inet/check_native.c: New file.
340
3129cfc6
JM
3412012-07-26 Joseph Myers <joseph@codesourcery.com>
342
da865e95
JM
343 [BZ #13629]
344 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
345 if larger part has absolute value 1.0.
346 * math/s_clog10.c (__clog10): Likewise.
347 * math/s_clog10f.c (__clog10f): Likewise.
348 * math/s_clog10l.c (__clog10l): Likewise.
349 * math/s_clogf.c (__clogf): Likewise.
350 * math/s_clogl.c (__clogl): Likewise.
351 * math/libm-test.inc (clog_test): Add more tests.
352 (clog10_test): Likewise.
353 * sysdeps/i386/fpu/libm-test-ulps: Update.
354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
355
3129cfc6
JM
356 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
357 (pltexit): Likewise.
358 (La_regs): Likewise.
359 (La_retval): Likewise.
360 (int_retval): Likewise.
361 Update #error for removed macros to refer only to definitions in
362 tst-audit.h.
363 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
364 macro.
365 (pltexit): Likewise.
366 (La_regs): Likewise.
367 (La_retval): Likewise.
368 (int_retval): Likewise.
369 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
370 macro.
371 (pltexit): Likewise.
372 (La_regs): Likewise.
373 (La_retval): Likewise.
374 (int_retval): Likewise.
375 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
376 macro.
377 (pltexit): Likewise.
378 (La_regs): Likewise.
379 (La_retval): Likewise.
380 (int_retval): Likewise.
381 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
382 macro.
383 (pltexit): Likewise.
384 (La_regs): Likewise.
385 (La_retval): Likewise.
386 (int_retval): Likewise.
387 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
388 macro.
389 (pltexit): Likewise.
390 (La_regs): Likewise.
391 (La_retval): Likewise.
392 (int_retval): Likewise.
393 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
394 macro.
395 (pltexit): Likewise.
396 (La_regs): Likewise.
397 (La_retval): Likewise.
398 (int_retval): Likewise.
399 * sysdeps/generic/tst-audit.h: Update comment to refer only to
400 macro definitions in tst-audit.h.
401 * sysdeps/i386/tst-audit.h: New file.
402 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
403 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
404 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
405 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
406 * sysdeps/sh/tst-audit.h: Likewise.
407 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
408 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
409 * sysdeps/x86_64/tst-audit.h: Likewise.
410
bfc07087
AJ
4112012-07-26 Andreas Jaeger <aj@suse.de>
412
b1b2aaf8
AJ
413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
414 ptrace.
415
416 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
417 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
418 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
419 PTRACE_O_MASK.
420 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
421 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
423
bfc07087
AJ
424 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
425 value.
426
427 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
428 _sigsys.
429 (si_call_addr, si_syscall, si_arch): Define new macro.
430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
431 _sigsys.
432 (si_call_addr, si_syscall, si_arch): Define new marcro.
433 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
434 _sigsys.
435 (si_call_addr, si_syscall, si_arch): Define new macro.
436 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
437 _sigsys.
438 (si_call_addr, si_syscall, si_arch): Define new macro.
439
89b4b02f
JM
4402012-07-25 Joseph Myers <joseph@codesourcery.com>
441
442 [BZ #13717]
443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
444 Change to 2.4.21 where previously 2.4.1.
445 * sysdeps/unix/sysv/linux/configure: Regenerated.
446 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
447 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
448 Linux kernel version.
449 (__ASSUME_STD_AUXV): Remove.
450 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
451 kernel version.
452 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
453 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
454 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
455 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
456 (__ASSUME_NETLINK_SUPPORT): Likewise.
457 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
458 (__no_netlink_support): Remove conditional definition.
459 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
460 Remove.
461 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
462 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
463 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
464 (if_nameindex_ioctl): Remove.
465 (if_nameindex_netlink): Do not handle __no_netlink_support.
466 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
467 code.
468 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
469 Remove conditional code.
470 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
471 code.
472 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
473 unconditional.
474 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
475 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
476 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
477 Remove.
478 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
479 [!__ASSUME_STD_AUXV]: Remove conditional code.
480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
481 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
482 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
484 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
485 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
486 code.
487 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
489 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
490 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
491 conditional code.
492 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
494 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
495 code.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
497 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
498 conditional code.
499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
500 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
501 code unconditional.
502 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
503 conditional code.
504 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
505 unconditional.
506 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
507 conditional code.
508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
509 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
510 unconditional.
511 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
512 conditional code.
513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
514 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
515 code unconditional.
516 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
517 conditional code.
518 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
519 unconditional.
520 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
521 conditional code.
522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
523 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
524 code unconditional.
525 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
526 conditional code.
527 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
528 unconditional.
529 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
530 conditional code.
531
842a39cd
AS
5322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
533
534 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
535 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
536 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
537 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
538 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
539 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
540 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
541 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
542 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
543 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
544 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
545 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
546 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
547 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
548 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
549 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
550 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
552 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
554 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
555 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
556 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
557
84b3fd84
FW
5582012-07-25 Florian Weimer <fweimer@redhat.com>
559
560 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
561 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
562 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
563 Introduce __libc_secure_getenv.
0c7936d5
FW
564 * stdlib/Versions (2.17): Add secure_getenv
565 (GLIBC_PRIVATE): Add __libc_secure_getenv.
566 * stdlib/secure-getenv.c: Rename __secure_getenv to
567 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
568 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
569 * stdlib/tst-secure-getenv.c: New.
570 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
571 * manual/startup.texi (Environment Access): Document
572 secure_getenv.
84b3fd84
FW
573 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
574 __libc_secure_getenv.
575 * inet/ruserpass.c (ruserpass): Likewise.
576 * malloc/mtrace.c (mtrace): Likewise.
577 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 578 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
579 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
580 * sysdeps/posix/tempname.c: Likewise. Evaluate
581 HAVE_SECURE_GETENV.
582 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 583 __secure_getenv to __libc_secure_getenv.
84b3fd84 584 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
586 Likewise.
587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
588 Likewise.
589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 596
56e49b71
JM
5972012-07-25 Joseph Myers <joseph@codesourcery.com>
598
599 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
600 (struct La_i86_retval): Likewise.
601 (struct La_x86_64_regs): Likewise.
602 (struct La_x86_64_retval): Likewise.
603 (struct La_x32_regs): Likewise.
604 (struct La_x32_retval): Likewise.
605 (struct La_ppc32_regs): Likewise.
606 (struct La_ppc32_retval): Likewise.
607 (struct La_ppc64_regs): Likewise.
608 (struct La_ppc64_retval): Likewise.
609 (struct La_sh_regs): Likewise.
610 (struct La_sh_retval): Likewise.
611 (struct La_s390_32_regs): Likewise.
612 (struct La_s390_32_retval): Likewise.
613 (struct La_s390_64_regs): Likewise.
614 (struct La_s390_64_retval): Likewise.
615 (struct La_sparc32_regs): Likewise.
616 (struct La_sparc32_retval): Likewise.
617 (struct La_sparc64_regs): Likewise.
618 (struct La_sparc64_retval): Likewise.
619 (struct audit_ifaces): Remove architecture-specific pltenter and
620 pltexit members.
621 * sysdeps/i386/ldsodefs.h: New file.
622 * sysdeps/powerpc/ldsodefs.h: Likewise.
623 * sysdeps/s390/ldsodefs.h: Likewise.
624 * sysdeps/sh/ldsodefs.h: Likewise.
625 * sysdeps/sparc/ldsodefs.h: Likewise.
626 * sysdeps/x86_64/ldsodefs.h: Likewise.
627
354691b7
MP
6282012-07-25 Marek Polacek <polacek@redhat.com>
629
630 [BZ #6808]
631 * math/libm-test.inc (yn_test): Add another test.
632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
633 to ERANGE when the result is +-Inf.
634 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
635 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
636 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
637 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
638
bf9e2071
JM
6392012-07-24 Joseph Myers <joseph@codesourcery.com>
640
641 * conform/data/time.h-data (NULL): Use macro-constant. Require
642 equal to 0.
643 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
644 clock_t.
645 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
646
57633811
TS
6472012-07-23 Thomas Schwinge <thomas@codesourcery.com>
648
649 * configure.in <sysdeps resolving>: Correct printing
650 Implies_before.
651 * configure: Regenerate.
652
c23c33b0
TS
6532012-07-22 Thomas Schwinge <thomas@codesourcery.com>
654
655 * math/w_ilogb.c: Include <limits.h>.
656 * math/w_ilogbl.c: Likewise.
657
b5982523
JM
6582012-07-20 Joseph Myers <joseph@codesourcery.com>
659
660 * manual/lang.texi (__va_copy): Document primarily as ISO C99
661 va_copy. Document allowing for unavailable va_copy only as
662 pre-C99 compatibility.
663 * manual/string.texi (Copying and Concatenation): Use va_copy
664 instead of __va_copy in concat example.
665
ac4ea442
PT
6662012-07-20 Pino Toscano <toscano.pino@tiscali.it>
667
668 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
669 (__sendto): Use create_address_port. Initialize APORT and deallocate
670 it if not null.
671
f98eafbd
PT
672 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
673 with O_NOLINK passed to __file_name_lookup.
674
898c7aab
PT
675 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
676 with O_NOLINK passed to __file_name_lookup.
677
0ced335a
PT
678 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
679 negative N or less than NGIDS.
680
b3404dbd
PT
681 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
682 type to string_t. Set ERANGE as errno and return it if NAME is not big
683 enough. Use memcpy instead of strncpy.
684
0f48659e
JM
6852012-07-20 Joseph Myers <joseph@codesourcery.com>
686
687 * elf/Makefile (check-data): Remove.
688 (localplt.data): New vpath directive.
689 ($(objpfx)check-localplt.out): Use localplt.data from vpath
690 instead of $(check-data).
691 * scripts/data/localplt-generic.data: Move to ...
692 * sysdeps/generic/localplt.data: ... here.
693 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
694 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
695 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
697 ... here.
698 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
700 ... here.
701 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
703 ... here.
704 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
706 ... here.
707 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
709 ... here.
710 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
712 ... here.
713
d37cbdaa
AZ
7142012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
717 PPC32 and PPC64 files.
718 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
719 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
720
46f85fc2
AK
7212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
722
723 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
724 __makecontext_ret to ...
725 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
726 ... here and call exit if uc_link is NULL. New file.
727 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
728 __makecontext_ret.S.
729 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
730 __makecontext_ret to ...
731 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
732 ... here and call exit if uc_link is NULL. New file.
733 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
734 __makecontext_ret.S.
735
08f43f9b
AK
7362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
737
738 * elf/elf.h (R_390_IRELATIVE): New definition.
739 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
740 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
741 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
742 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
743 (elf_machine_lazy_rel): Likewise.
744 * sysdeps/s390/dl-irel.h: New file.
745 * sysdeps/s390/s390-64/memcpy.S: New asm code.
746 * sysdeps/s390/s390-64/memset.S: New asm code.
747 * sysdeps/s390/s390-64/memcmp.S: New asm code.
748 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
749 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
750 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
751 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
752 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
753 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
754 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
755 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
756 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
757 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
758 * sysdeps/s390/s390-32/memcpy.S: New asm code.
759 * sysdeps/s390/s390-32/memset.S: New asm code.
760 * sysdeps/s390/s390-32/memcmp.S: New asm code.
761
3b05db33
MP
7622012-07-17 Marek Polacek <polacek@redhat.com>
763
764 [BZ #14349]
765 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
766 * sysdeps/s390/s390-64/configure.in: Likewise.
767 * sysdeps/sparc/configure.in: Likewise.
768 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
769 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
770 * sysdeps/i386/configure.in: Likewise.
771 * sysdeps/x86_64/configure.in: Likewise.
772 * sysdeps/sh/configure.in: Likewise.
773 * sysdeps/s390/s390-32/configure: Regenerated.
774 * sysdeps/s390/s390-64/configure: Likewise.
775 * sysdeps/x86_64/configure: Likewise.
776 * sysdeps/sh/configure: Likewise.
777 * sysdeps/powerpc/powerpc64/configure: Likewise.
778 * sysdeps/powerpc/powerpc32/configure: Likewise.
779 * sysdeps/sparc/configure: Likwise.
780 * sysdeps/i386/configure: Likewise.
781
a66877c6
MP
782 * elf/dl-open.c: Comment fixes.
783
cfc82fd8
JM
7842012-07-17 Joseph Myers <joseph@codesourcery.com>
785
bd29910a
JM
786 * Makefile [CXX] (check-data): Remove.
787 [CXX] (c++-types.data): New vpath directive.
788 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
789 vpath. Do not allow for C++ type data being missing.
790 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
791 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
792 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
793 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
794 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
795 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
796 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
798 ... here.
799 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
801 ... here.
802 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
804 ... here.
805 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
807 ... here.
808 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
810 ... here.
811 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
813 ... here.
814 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
816 ... here.
817 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
819
cfc82fd8
JM
820 * elf/tls-macros.h (TLS_LE): Move architecture-specific
821 definitions to architecture-specific files.
822 (TLS_IE): Likewise.
823 (TLS_LD): Likewise.
824 (TLS_GD): Likewise.
825 * sysdeps/i386/tls-macros.h: New file.
826 * sysdeps/powerpc/tls-macros.h: Likewise.
827 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
828 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
829 * sysdeps/sh/tls-macros.h: Likewise.
830 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
831 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
832 * sysdeps/x86_64/tls-macros.h: Likewise.
833
f7db3170
TS
8342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
835
07cbfc23
TS
836 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
837 zero value for regular exit case.
838
f7db3170
TS
839 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
840 (__start_context): Preserve zero value for regular exit case.
841
dc97c227
TS
8422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
843 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
844
845 * manual/setjmp.texi (setcontext): Clarify normal process
846 termination when uc_link is the null pointer.
847 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
848 exit call.
849
d0cd7d02
AS
8502012-07-16 Andreas Schwab <schwab@linux-m68k.org>
851
852 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
853 preprocessor. Test for each exception mask separately.
854
dd318934
AJ
8552012-07-16 Andreas Jaeger <aj@suse.de>
856
857 * po/ru.po: Update from translation team.
858
8048311a
JM
8592012-07-15 Joseph Myers <joseph@codesourcery.com>
860
861 * conform/data/string.h-data (NULL): Use macro-constant. Require
862 equal to 0.
863 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
864 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
865 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
866 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
867 [ISO || ISO99 || ISO11] (*_t): Do not allow.
868
b637d46e
AJ
8692012-07-13 Andreas Jaeger <aj@suse.de>
870
871 * po/fr.po: Update from translation team.
872
541428fe
MP
8732012-07-12 Marek Polacek <polacek@redhat.com>
874
875 [BZ #14173]
876 * math/libm-test.inc (yn_test): Add test for BZ #14173.
877 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
878 loop condition.
879
ec332e94
JM
8802012-07-12 Joseph Myers <joseph@codesourcery.com>
881
882 [BZ #13717]
883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
884 Change to 2.4.1 where previously 2.4.0.
885 * sysdeps/unix/sysv/linux/configure: Regenerated.
886 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
887 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
888 version.
889 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
890 (__ASSUME_AT_CLKTCK): Remove.
891 (__ASSUME_AT_PAGESIZE): Likewise.
892 (__ASSUME_AT_XID): Likewise.
893 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
894 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
895 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
896 unconditionally.
897 (HAVE_AUX_PAGESIZE): Likewise.
898 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
899 [__ASSUME_AT_CLKTCK]: Make code unconditional.
900 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
901
7b6e99be
JB
9022012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
903
904 [BZ #14307]
905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
906 the temporary buffer used to invoke __gethostbyname2_r,
907 __gethostbyaddr_r and gethostbyname4_r to make room for struct
908 host_data / struct gaih_addrtuple.
909 * resolv/nss_dns/dns-host.c (global scope): Move definition of
910 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
911 header file nss/nsswitch.h.
912 * nss/nsswitch.h (global scope): Add definition of implementation
913 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
914 resolv/nss_dns/dns-host.c).
915
608404eb
AJ
9162012-07-11 Andreas Jaeger <aj@suse.de>
917
918 * po/fr.po: Update from translation team.
919
71220aca
AJ
920 * po/sv.po: Update from translation team
921 * po/fr.po: Another update from translation team.
922
28cfe843
AZ
9232012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924
925 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
926 for subnormals or multiply small sinh result by itself.
927 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
929
6b90f981
DM
9302012-07-11 David S. Miller <davem@davemloft.net>
931
932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
933
c6825772
AS
9342012-07-10 Andreas Schwab <schwab@linux-m68k.org>
935
936 [BZ #14347]
937 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
938 (INTERNAL_MARK): Shift it here.
939
7b8e0d49
MP
9402012-07-10 Marek Polacek <polacek@redhat.com>
941
942 [BZ #14151]
943 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
944 libc_cv_asm_global_directive with .globl.
945 * configure: Regenerated.
946 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
947 with .globl.
948 * sysdeps/i386/configure: Regenerated.
949 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
950 with .globl.
951 * sysdeps/x86_64/configure: Regenerated.
952 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
953 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
954 * elf/tst-unique2mod2.c: Likewise.
955 * elf/tst-unique2mod1.c: Likewise.
956 * elf/tst-unique1mod2.c: Likewise.
957 * elf/tst-unique1mod1.c: Likewise.
958 * sysdeps/s390/s390-32/sysdep.h: Likewise.
959 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
961 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
962 * sysdeps/mach/sysdep.h: Likewise.
963 * sysdeps/i386/sysdep.h: Likewise.
964 * sysdeps/i386/i386-mcount.S: Likewise.
965 * sysdeps/x86_64/_mcount.S: Likewise.
966 * sysdeps/x86_64/sysdep.h: Likewise.
967 * sysdeps/sh/_mcount.S: Likewise.
968 * sysdeps/sh/sysdep.h: Likewise.
969 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
970 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
971 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
972 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
973 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
974 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
975 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
976 * locale/localeinfo.h: Likewise.
977 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
978 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
979
6c55cda3
RM
9802012-07-09 Roland McGrath <roland@hack.frob.com>
981
982 [BZ #14336]
983 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
984 system".
985 * manual/message.texi (The Uniforum approach): Likewise.
986 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
987 (glibc iconv Implementation): Likewise.
988
638a572e
JM
9892012-07-09 Joseph Myers <joseph@codesourcery.com>
990
991 [BZ #14337]
992 * math/s_clog.c (__clog): Avoid scaling a value down where that
993 could result in underflow.
994 * math/s_clog10.c (__clog10): Likewise.
995 * math/s_clog10f.c (__clog10f): Likewise.
996 * math/s_clog10l.c (__clog10l): Likewise.
997 * math/s_clogf.c (__clogf): Likewise.
998 * math/s_clogl.c (__clogl): Likewise.
999 * math/libm-test.inc (clog_test): Add more tests.
1000 (clog10_test): Likewise.
1001 * sysdeps/i386/fpu/libm-test-ulps: Update.
1002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1003
261f4859
AS
10042012-07-06 Andreas Schwab <schwab@linux-m68k.org>
1005
0abaf3e4
AS
1006 [BZ #14283]
1007 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
1008 by 7 not 8 to examine high bit of fractional part.
1009
261f4859
AS
1010 [BZ #14042]
1011 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
1012 for call to __mcount_internal.
1013 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
1014 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
1015 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
1016
f17ac40d
JM
10172012-07-06 Joseph Myers <joseph@codesourcery.com>
1018
9ad63c23
JM
1019 [BZ #14154]
1020 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
1021 approximation for values within 0x1p-13f of an odd multiple of
1022 pi/4.
1023 * math/libm-test.inc (tan_test): Do not allow spurious underflow
1024 exception. Add more tests.
1025 * sysdeps/i386/fpu/libm-test-ulps: Update.
1026
f17ac40d
JM
1027 [BZ #6778]
1028 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
1029 inputs and return -1 for them. Do not check for +Inf in case not
1030 reachable for +Inf.
1031 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1032 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
1033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1034 and return -1 for them. Do not check for +Inf in case not
1035 reachable for +Inf.
1036 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
1037 define.
1038 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
1039 and return -1 for them. Do not check for +Inf in case not
1040 reachable for +Inf.
1041 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
1042 spurious underflow.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1045
fb21f89b
MF
10462012-07-06 Mike Frysinger <vapier@gentoo.org>
1047
1048 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
1049
cdfe2c5e
JM
10502012-07-05 Joseph Myers <joseph@codesourcery.com>
1051
1052 [BZ #14157]
1053 [BZ #14331]
1054 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
1055 could result in spurious underflow. Scale down values above
1056 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
1057 * math/s_csqrtf.c (__csqrtf): Likewise.
1058 * math/s_csqrtl.c (__csqrtl): Likewise.
1059 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
1060 spurious underflow.
1061 * sysdeps/i386/fpu/libm-test-ulps: Update.
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1063
70d35b67
AS
10642012-07-04 Andreas Schwab <schwab@linux-m68k.org>
1065
704bc459
AS
1066 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
1067 xopen-msg.sed.
1068 * catgets/xopen-msg.awk: New file.
1069 * catgets/xopen-msg.sed: Removed.
1070
70d35b67
AS
1071 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
1072 po2text.sed.
1073 * intl/po2test.awk: New file.
1074 * intl/po2test.sed: Removed.
1075
ca61cf32
JM
10762012-07-04 Joseph Myers <joseph@codesourcery.com>
1077
1078 [BZ #14328]
1079 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
1080 or multiply small sinh result by itself.
1081 * math/s_ctanf.c (__ctanf): Likewise.
1082 * math/s_ctanh.c (__ctanh): Likewise.
1083 * math/s_ctanhf.c (__ctanhf): Likewise.
1084 * math/s_ctanhl.c (__ctanhl): Likewise.
1085 * math/s_ctanl.c (__ctanl): Likewise.
1086 * math/libm-test.inc (ctan_test_tonearest): New function.
1087 (ctan_test_towardzero): Likewise.
1088 (ctan_test_downward): Likewise.
1089 (ctan_test_upward): Likewise.
1090 (ctanh_test_tonearest): Likewise.
1091 (ctanh_test_towardzero): Likewise.
1092 (ctanh_test_downward): Likewise.
1093 (ctanh_test_upward): Likewise.
1094 (main): Call these new functions.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1097
ca48a46a
MF
10982012-07-03 Mike Frysinger <vapier@gentoo.org>
1099
1100 * .gitignore: Delete /ports entry.
1101
9d63d37d
AJ
11022012-07-03 Andreas Jaeger <aj@suse.de>
1103
1104 * po/bg.po: Update from translation team.
1105 * po/cs.po: Likewise.
1106 * po/de.po: Likewise.
1107 * po/hr.po: Likewise.
1108 * po/nl.pl: Likewise.
1109 * po/pl.po: Likewise.
1110 * po/vi.po: Likewise.
1111
370ca3d2
JM
11122012-07-03 Joseph Myers <joseph@codesourcery.com>
1113
95f5a9a8
JM
1114 * Makeconfig [!+link] (+link-before-libc): New variable.
1115 [!+link] (+link-after-libc): Likewise.
1116 [!+link] (+link-tests): Likewise.
1117 [!+link] (+link): Define in terms of $(+link-before-libc) and
1118 $(+link-after-libc).
1119 [!+link-static] (+link-static-before-libc): New variable.
1120 [!+link-static] (+link-static-after-libc): Likewise.
1121 [!+link-static] (+link-static-tests): Likewise.
1122 [!+link-static] (+link-static): Define in terms of
1123 $(+link-static-before-libc) and $(+link-static-after-libc).
1124 [build-shared] (link-libc-before-gnulib): New variable.
1125 [build-shared] (link-libc-tests): Likewise.
1126 [build-shared] (link-libc): Define in terms of
1127 $(link-libc-before-gnulib).
1128 [!build-shared] (link-libc-tests): New variable.
1129 (link-libc-static-tests): New variable.
1130 [!gnulib] (gnulib-arch): New variable.
1131 [!gnulib] (gnulib-tests): Likewise.
1132 [!gnulib] (static-gnulib-arch): Likewise.
1133 [!gnulib] (static-gnulib-tests): Likewise.
1134 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1135 Define with "=" instead of ":=".
1136 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1137 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1138 * Rules (binaries-all-notests): New variable.
1139 (binaries-all-tests): Likewise.
1140 (binaries-static-notests): Likewise.
1141 (binaries-static-tests): Likewise.
1142 (binaries-all): Define using $(binaries-all-notests) and
1143 $(binaries-all-tests).
1144 (binaries-static): Define using $(binaries-static-notests) and
1145 $(binaries-static-tests).
1146 (binaries-shared-tests): New variable.
1147 (binaries-shared-notests): Likewise.
1148 (binaries-shared): Remove variable.
1149 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1150 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1151 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1152 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1153 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1154 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1155 * elf/Makefile (sln-modules): New variable.
1156 (extra-objs): Add $(sln-modules:=.o).
1157 (ldconfig-modules): Add static-stubs.
1158 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1159 * elf/static-stubs.c: New file.
1160
7a845b2c
JM
1161 [BZ #14283]
1162 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1163 by 7 not 8 to examine high bit of fractional part. Use volatile
1164 variables when splitting into final array of floats if
1165 __FLT_EVAL_METHOD__ != 0.
1166 * math/libm-test.inc (cos_test): Add another test.
1167 (sin_test): Likewise.
1168 * sysdeps/i386/fpu/libm-test-ulps: Update.
1169
e2283f38
JM
1170 [BZ #14273]
1171 * math/libm-test.inc (cosh_test): Add more tests.
1172
370ca3d2
JM
1173 * version.h (RELEASE): Set to "development".
1174 (VERSION): Set to "2.16.90".
1175
ee9247c3
CD
11762012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1177
1178 * NEWS: Update copyright. Remove last-updated date.
1179 Mention math library bug fixes and timezone data changes.
1180 * README: Mention GNU/Hurd, x32, and HPPA support status.
1181
4648c381
TS
11822012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1183
1184 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1185
aac78a43
AJ
11862012-06-27 Andreas Jaeger <aj@suse.de>
1187
1188 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1189
ed3dbfad
AJ
11902012-06-25 Andreas Jaeger <aj@suse.de>
1191
1192 * sysdeps/s390/fpu/libm-test-ulps: Update.
1193
4d0ee855
AS
11942012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1195 Thomas Schwinge <thomas@codesourcery.com>
1196
1197 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1198 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1199 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1200 fanotify_mark.
1201
af1bce34
TS
12022012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1203
a9fa33ba
TS
1204 * sysdeps/mach/start.c: Remove file.
1205 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1206 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1207 * sysdeps/sh/init-first.c: Likewise.
1208
58f902b8
TS
1209 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1210 registers for frame unwinding purposes, add CFI directives.
1211 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1213 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1214 Likewise.
1215
1518f58b
TS
1216 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1217 __fortify_fail returning.
1218 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1219
db9b5059
TS
1220 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1221 sysdeps/sh/____longjmp_chk.S.
1222 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1223 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1224 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1225 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1226
967705fe
TS
1227 * sysdeps/sh/abort-instr.h: New file.
1228 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1229 process in case exit returns.
1230
a9def8c4
TS
1231 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1232 initialize the GOT register before use.
1233
2a649725
TS
1234 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1235 calculation of ARGC > 4.
1236
af1bce34
TS
1237 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1238 meaningful names to some local labels.
1239
d230f50a
KK
12402012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1241 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1242
1243 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1244 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1245 (__arch_compare_and_exchange_val_16_acq): Likewise.
1246 (__arch_compare_and_exchange_val_32_acq): Likewise.
1247 (atomic_exchange_and_add): Fix gUSA sequence.
1248 (atomic_add): Likewise.
1249 (atomic_add_negative): Likewise.
1250 (atomic_add_zero): Likewise.
1251 (atomic_bit_test_set): Likewise.
1252
0479b305
AS
12532012-06-22 Andreas Schwab <schwab@redhat.com>
1254
1255 [BZ #13579]
1256 * include/link.h (struct link_map): Add l_free_initfini.
1257 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1258 l_initfini.
1259 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1260 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1261 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1262 set.
1263
0e3933b9
CD
12642012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1265
1266 * configure.in: Use AC_LANG_SOURCE.
1267 * configure: Regenerate.
1268
4248b1b1
RM
12692012-06-22 Roland McGrath <roland@hack.frob.com>
1270
1271 * configure.in (libc_cv_localstatedir): New substituted variable.
1272 * configure: Regenerated.
1273 * config.make.in (localstatedir): New variable, substituted from
1274 libc_cv_localstatedir.
1275 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1276 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1277 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1278 * sysdeps/gnu/configure: Regenerated.
1279
006dd861
JL
12802012-06-21 Jeff Law <law@redhat.com>
1281
1282 [BZ #14277]
1283 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1284 free. Simplify list management for _LIBC case.
1285
79662d42
JM
12862012-06-21 Joseph Myers <joseph@codesourcery.com>
1287
b7abb4bf
JM
1288 [BZ #14273]
1289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1290 Clear sign bit of 64-bit integer value before comparing against
1291 overflow value.
1292
79662d42
JM
1293 * sysdeps/mach/configure: Regenerated.
1294
1f150908
L
12952012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 [BZ #14278]
1298 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1299
28363bbf
JL
13002012-06-21 Jeff Law <law@redhat.com>
1301
1302 [BZ #13882]
1303 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1304 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1305 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1306 * elf/dl-open.c (dl_open_worker): Likewise.
1307
09615db4
CD
13082012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1309
1310 * scripts/list-sources.sh: Scan PORTS for translations.
1311 * po/libc.pot: Regenerated.
1312
2174c6dd
AJ
13132012-06-21 Andreas Jaeger <aj@suse.de>
1314
1315 [BZ #12194]
1316 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1317 warning.
1318 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1319 * bits/byteswap-16.h (__bswap_16): Likewise.
1320 * bits/byteswap.h (__bswap_constant_16): Likewise.
1321
3ee947b1
L
13222012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1323
1324 [BZ #14117]
a2f34833
L
1325 * sysdeps/i386/fpu_control.h: Removed.
1326 * sysdeps/x86_64/fpu_control.h: Moved to ...
1327 * sysdeps/x86/fpu_control.h: Here.
1328
3ee947b1
L
1329 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1330 (_FPU_SETCW): Likewise.
1331
ed1825f8
L
13322012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1333
25f1282a
L
1334 [BZ #14117]
1335 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1336 * sysdeps/x86/fpu/bits/mathinline.h: This.
1337 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1338
ed1825f8
L
1339 [BZ #14050]
1340 [BZ #14117]
1341 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1342 functions if __x86_64__ is defined.
1343
36d54b74
CLT
13442012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1345
1346 * string/endian.h: Add !__ASSEMBLER__ condition for including
1347 conversion interfaces.
1348
10285c21
JM
13492012-06-15 Joseph Myers <joseph@codesourcery.com>
1350
1351 [BZ #14241]
1352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1353 of ABS(x) in calculating zero to negative powers other than odd
1354 integers.
1355 * math/libm-test.inc (pow_test): Add more tests.
1356
06c5abbd
AJ
13572012-06-15 Andreas Jaeger <aj@suse.de>
1358
1359 * manual/contrib.texi (Contributors): Update entry of Liubov
1360 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1361 Machado Filho.
1362
a3aeac40
CH
13632012-06-15 Cyril Hrubis <metan@ucw.cz>
1364
1365 * string/string.h: Add __wur to GNU version of strerror_r.
1366
49bdf4c1
L
13672012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1368
1369 [BZ #14229]
1370 * string/Makefile (tests): Add tst-strtok_r.
1371 * string/tst-strtok_r.c: New file.
1372 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1373 RAX_LP/RDX_LP on SAVE_PTR.
1374
834f9b8d
RM
13752012-06-14 Roland McGrath <roland@hack.frob.com>
1376
1377 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1378
75fa1921
JM
13792012-06-14 Joseph Myers <joseph@codesourcery.com>
1380
1381 * libm_test.inc (csqrt_test): Allow more spurious underflow
1382 exceptions.
1383 (j0_test): Likewise.
1384 (j1_test): Likewise.
1385 (y0_test): Likewise.
1386 (y1_test): Likewise.
1387
771766df
CD
13882012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1389
1390 * po/Makefile (libc.pot): Use UTF-8 charset.
1391
ceb9e56b
PP
13922012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1393
1394 [BZ #14210]
1395 Suppress sign-conversion warning from FD_SET.
1396 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1397 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1398 not unsigned long int.
1399 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1400
ddb28975
L
14012012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1402
1403 [BZ #14050]
1404 [BZ #14117]
1405 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1406 __extern_always_inline instead of __extern_inline.
1407 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1408 (__signbit): Likewise.
1409 (__signbitl): Support C++ namespace.
1410 (lrintf): New inline function.
1411 (lrint): Likewise.
1412 (llrintf): Likewise.
1413 (llrint): Likewise.
1414 (fmaxf): Likewise.
1415 (fmax): Likewise.
1416 (fminf): Likewise.
1417 (fmin): Likewise.
1418 (rint): Likewise.
1419 (rintf): Likewise.
1420 (ceil): Likewise.
1421 (ceilf): Likewise.
1422 (floor): Likewise.
1423 (floorf): Likewise.
1424 (nearbyint): Likewise.
1425 (nearbyintf): Likewise.
1426
d7b4fb26
TS
14272012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1428
1429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1430 non-default versions.
1431
eb55f5c2
RM
14322012-06-11 Roland McGrath <roland@hack.frob.com>
1433
1434 [BZ #14218]
1435 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1436
366af02c
TS
14372012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1438
99ff6e5c
TS
1439 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1440 (FE_UPWARD, FE_DOWNWARD): Don't define.
1441 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1442 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1443
366af02c
TS
1444 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1445 reading it.
1446 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1447 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1448
793ea851
KK
14492012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1450
1451 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1453 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1454 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1455
a728a38f
L
14562012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1457
1458 [BZ #14117]
c08010c7
L
1459 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1460 * sysdeps/i386/fpu/Implies: New file.
1461 * sysdeps/x86_64/fpu/Implies: Likewise.
1462 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1463 * sysdeps/x86/fpu/bits/fenv.h: This.
1464
a728a38f
L
1465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1466 __SSE_MATH__.
1467
6e230d11
SP
14682012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1469
1470 [BZ #14134]
1471 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1472 character 0xffff that matches the last element of the
1473 conversion table.
1474
1b671feb
AZ
14752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1478 fmodl commit.
1479
6043738b
AZ
14802012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1483 values higher than 25.6283.
1484
34ae0b32
AZ
14852012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1486
1487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1488 subnormal exponent extraction and add some __builtin_expect.
1489 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1490 Fix for subnormal mantissa calculation.
1491
1214ec8f
MF
14922012-06-04 Mike Frysinger <vapier@gentoo.org>
1493
1494 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1495 cpu2 is -1 and errno is not ENOSYS.
1496
f3d1f93c
L
14972012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 [BZ #14117]
0e4a3cd7
L
1500 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1501 * sysdeps/x86/bits/string.h: This.
1502 * sysdeps/x86_64/bits/string.h: Removed.
1503
6704c645
L
1504 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1505 if not compiling for x86-64, but compiling for >= i486.
1506
48495318
L
1507 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1508 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1509
14adcbfc
L
1510 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1511 New macro from Linux kernel 3.4.0.
1512 (FP_XSTATE_MAGIC2): Likewise.
1513 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1514 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1515 (struct _fpx_sw_bytes): New struct.
1516 (struct _xsave_hdr): Likewise.
1517 (struct _ymmh_state): Likewise.
1518 (struct _xstate): Likewise.
1519
68e408ab
L
1520 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1521 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1523 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1524 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1525 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1526
f3d1f93c
L
1527 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1528 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1529 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1530 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1531 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1532 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1533
d9dc34cd
TMQMF
15342012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1535
1536 [BZ #13743]
1537 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1538 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1539 (sysdep_headers): Include sys/platform/ppc.h.
1540 * sysdeps/powerpc/test-gettimebase.c: Test for
1541 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1542 * manual/Makefile (appendices): Include platform.texi.
1543 * manual/contrib.texi (Contributors): Update @node pointers.
1544 * manual/maint.texi (Maintenance): Likewise.
1545 (Platform): New node.
1546 * manual/platform.texi: New file. Document the new features.
1547
4af3879c
SP
15482012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1549 Jakub Jelinek <jakub@redhat.com>
1550
1551 [BZ #14188]
1552 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1553 where __builtin_expect is unavailable.
1554
2fd6ff13
DM
15552012-06-03 David S. Miller <davem@davemloft.net>
1556
1557 * stdlib/longlong.h: Updated from GCC.
1558
173f7220
AS
15592012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1560
1561 [BZ #14042]
1562 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1563 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1564 __mcount_internal.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1566 (GLIBC_2.16): Likewise.
1567
f34a1c6f
L
15682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1569
1570 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1571
88a4576f
JM
15722012-06-01 Joseph Myers <joseph@codesourcery.com>
1573
ea32bcdd
JM
1574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1575 (default-abi): New variable.
1576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1577 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1578 variable.
1579 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1580 Likewise.
1581 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1582 Likewise.
1583 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1584 Likewise.
1585
88a4576f
JM
1586 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1587 definition. Document in comment.
1588
402fe938
DM
15892012-06-01 David S. Miller <davem@davemloft.net>
1590
1591 * stdlib/longlong.h: Updated from GCC.
1592
3553723f
L
15932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 [BZ #14117]
3bd872c4
L
1596 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1597 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1598 sys/debugreg.h sys/io.h here.
1599 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1600 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1601 sys/io.h.
1602 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1603 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1604 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1605 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1606 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1607 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1608
3553723f
L
1609 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1610 Define only if __x86_64__ is defined.
1611
4842e4fe
JM
16122012-06-01 Joseph Myers <joseph@codesourcery.com>
1613
c5bfe3d5
JM
1614 [BZ #14048]
1615 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1616 Use int64_t for variable i.
1617 * math/libm-test.inc (fmod_test): Add more tests.
1618
4842e4fe
JM
1619 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1620 z computation is not scheduled after fetestexcept.
1621 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1622 Use math_force_eval instead of asm to ensure calculation scheduled
1623 before exception test.
1624 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1625 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1626
efb73488
AJ
16272012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1628
1629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1630 computation is not scheduled after fetestexcept.
1631
29bcce7c
L
16322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1633
1634 [BZ #14117]
1635 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1636 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1637
73a68f94
AZ
16382012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639
1640 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1641 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1642
67b6df78
L
16432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1644
edf2933a 1645 [BZ #14117]
ebc64a18
L
1646 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1647 <bits/wordsize.h>.
1648 (__WCHAR_MIN): Support __WORDSIZE == 64.
1649 (__WCHAR_MAX): Likewise.
1650
edf2933a
L
1651 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1653
57c6cf40
L
1654 [BZ #14183]
1655 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1656 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1657
67b6df78 1658 [BZ #14117]
8eb6281e
L
1659 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1660 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1661
aac639f4
L
1662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1663 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1664
67b6df78
L
1665 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1666 Defined to 1 if __x86_64__ isn't defined.
1667 (_STAT_VER_LINUX_OLD): New.
1668 (st_atime): Remove duplicate.
1669 (st_mtime): Likewise.
1670 (st_ctime): Likewise.
1671
1c2cfe81
DM
16722012-05-31 David S. Miller <davem@davemloft.net>
1673
1674 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1675 entries.
1676
5be8418c
AS
16772012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1678
e7725326
AS
1679 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1680 gen-libm-test.pl.
1681
5be8418c
AS
1682 [BZ #14132]
1683 * elf/dl-reloc.c: Include <_itoa.h>.
1684 (_dl_reloc_bad_type): Remove use of INTUSE.
1685 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1686 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1687 * stdio-common/psiginfo.c (psiginfo): Likewise.
1688 * stdio-common/psignal.c (psignal): Likewise.
1689 * string/strsignal.c (strsignal): Likewise.
1690 * include/signal.h (_sys_siglist): Declare hidden proto.
1691 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1692 INTVARDEF with libc_hidden_data_def.
1693 * stdio-common/itoa-udigits.c: Likewise.
1694 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1695 (_itoa_lower_digits_internal): Remove declaration.
1696 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1697 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1698 (_sys_sigabbrev_internal): Remove aliases.
1699 (_sys_siglist): Define hidden alias.
1700
507352f1
MT
17012012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1702
1703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1704 bits/sysctl.h.
1705
42bbb1c3
L
17062012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 [BZ #14117]
6bd784b6
L
1709 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1710 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1711
8bca20f0
L
1712 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1713 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1714 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1715 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1717 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1718
f9e890a9
L
1719 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1720 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1721 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1722
471101a1
L
1723 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1724 with __addr.
1725 (insw): Likewise.
1726 (insl): Likewise.
1727 (outsb): Likewise.
1728 (outsw): Likewise.
1729 (outsl): Likewise.
1730
6451c862
L
1731 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1733 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1734
a254b8c9
L
1735 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1736 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1737 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1738 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1739 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1740 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1741
b8dfdd92
L
1742 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1743 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1744
578cd270
L
1745 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1746 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1747
de662f5f
L
1748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1750 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1751
25653439
L
1752 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1753 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1754 to ...
1755 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1756
6bad24a0
L
1757 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1758 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1759 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1760
42bbb1c3
L
1761 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1762 for x86-64.
1763 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1764
2d10d547
JM
17652012-05-31 Joseph Myers <joseph@codesourcery.com>
1766
1767 * math/math.h (M_El): Use two more decimal places.
1768 (M_LOG2El): Likewise.
1769 (M_LOG10El): Likewise.
1770 (M_LN2l): Likewise.
1771 (M_LN10l): Likewise.
1772 (M_PIl): Likewise.
1773 (M_PI_2l): Likewise.
1774 (M_PI_4l): Likewise.
1775 (M_1_PIl): Likewise.
1776 (M_2_PIl): Likewise.
1777 (M_2_SQRTPIl): Likewise.
1778 (M_SQRT2l): Likewise.
1779 (M_SQRT1_2l): Likewise.
1780
f230c29b
DM
17812012-05-31 David S. Miller <davem@davemloft.net>
1782
1783 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1784 values between float registers.
1785 * sysdeps/sparc/sparc64/memset.S: Likewise.
1786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1787
fed806c3
MF
17882012-05-31 Mike Frysinger <vapier@gentoo.org>
1789
1790 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1791 -D_FORTIFY_SOURCE=1.
1792 (CPPFLAGS-tst-longjmp_chk.c): Define.
1793 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1794 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1795 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1796 CFLAGS-tst-wchar-h.c.
1797
30917259
MP
17982012-05-31 Marek Polacek <polacek@redhat.com>
1799
1800 [BZ #14132]
1801 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1802 __endmntent_internal): Remove declaration.
1803 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1804 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1805 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1806
1c58d5dc
DM
18072012-05-30 David S. Miller <davem@davemloft.net>
1808
1809 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1810 (___Q_simulate_exceptions): Use real FP ops rather than writing
1811 into the %fsr.
1812 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1813 Likewise.
1814
7dc00e0d
L
18152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1816
1817 [BZ #14117]
0bd53985
L
1818 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1819 * sysdeps/x86/bits/xtitypes.h: This.
1820
3a257e66
L
1821 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1822 * sysdeps/x86/bits/wordsize.h: This.
1823
62f62904
L
1824 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1825 * sysdeps/x86/bits/huge_vall.h: This.
1826
404fe9d9
L
1827 * sysdeps/i386/bits/select.h: Removed.
1828 * sysdeps/x86_64/bits/select.h: Renamed to ...
1829 * sysdeps/x86/bits/select.h: This.
1830
d48d0446
L
1831 * sysdeps/i386/bits/setjmp.h: Removed.
1832 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1833 * sysdeps/x86/bits/setjmp.h: This.
1834
7dc00e0d
L
1835 * sysdeps/i386/bits/mathdef.h: Removed.
1836 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1837 * sysdeps/x86/bits/mathdef.h: This.
1838
03277f8f
AS
18392012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1840
1841 [BZ #14132]
1842 * include/sys/socket.h (__connect_internal)
1843 (__libc_sa_len_internal): Remove declaration.
1844 (__connect, __libc_sa_len): Declare hidden_proto.
1845 (SA_LEN): Remove use of INTUSE.
1846 * socket/connect.c: Add libc_hidden_def.
1847 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1848 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1849 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1850 alias.
1851 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1853 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1854 of adding _internal alias.
1855
13764867
L
18562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 [BZ #14117]
6bd97696
L
1859 * sysdeps/i386/bits/link.h: Removed.
1860 * sysdeps/i386/bits/linkmap.h: Likewise.
1861 * sysdeps/x86_64/bits/link.h: Renamed to ...
1862 * sysdeps/x86/bits/link.h: This.
1863 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1864 * sysdeps/x86/bits/linkmap.h: This.
1865
f726f0bb
L
1866 * sysdeps/i386/bits/endian.h: Removed.
1867 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1868 * sysdeps/x86/bits/endian.h: This.
1869
13764867
L
1870 * sysdeps/i386/bits/byteswap.h: Removed.
1871 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1872 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1873 * sysdeps/x86/bits/byteswap.h: This.
1874 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1875 * sysdeps/x86/bits/byteswap-16.h: This.
1876 * sysdeps/i386/Implies: Add x86.
1877 * sysdeps/x86_64/Implies: Likewise.
1878
ae251b0b
DM
18792012-05-30 David S. Miller <davem@davemloft.net>
1880
1881 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1882 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1883 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1884 (FP_TRAPPING_EXCEPTIONS): Define.
1885 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1886 (FP_TRAPPING_EXCEPTIONS): Define.
1887 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1888 subnormals only when inexact has been signalled or underflow
1889 exceptions are enabled.
1890 (_FP_PACK_CANONICAL): Likewise.
1891
d5c90867
L
18922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1893
1894 [BZ #14183]
1895 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1896 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1897
63f1549e
RH
18982012-05-30 Richard Henderson <rth@twiddle.net>
1899
8d8f2279
RH
1900 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1901 with #ifndef NOT_IN_libc.
1902
63f1549e
RH
1903 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1904 marked to avoid plt entry.
1905
0ab0291b
L
19062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1907
1908 [BZ #14112]
1909 * Makeconfig (default-abi): New macro.
1910 (abi-includes): Likewise.
1911 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1912 $(abi-$(default-abi)-lib-soname) for soname if defined.
1913 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1914 abi-variants.
1915 * Makefile (installed-stubs): Likewise.
1916 * include/stubs-biarch.h: Removed.
1917 * scripts/lib-names.awk: Only handle one library at a time.
1918 * scripts/soversions.awk: Remove WORDSIZE support.
1919 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1920 entries.
1921 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1922 Removed.
1923 (syscall-list-default-condition): Likewise.
1924 (syscall-list-default-condition): Likewise.
1925 (syscall-list-includes): Likewise.
1926 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1927 syscall-list-* with abi-*. Handle undefined abi-variants.
1928 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1929 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1930 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1931 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1932 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1933 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1934 Removed.
1935 (syscall-list-32-options): Likewise.
1936 (syscall-list-32-condition): Likewise.
1937 (syscall-list-64-options): Likewise.
1938 (syscall-list-64-condition): Likewise.
1939 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1940 macro.
1941 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1942 Renamed to ...
1943 (abi-*): This.
1944 (abi-64-ld-soname): New macro.
1945 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1946 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1947 Renamed to ...
1948 (abi-*): This.
1949 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1950 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1951
4da0431d
JM
19522012-05-30 Joseph Myers <joseph@codesourcery.com>
1953
3a85279c
JM
1954 * sysdeps/unix/sysv/linux/kernel-features.h
1955 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1956 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1957 include <kernel-features.h>.
1958 [!__NR_ftruncate64]: Remove conditional code.
1959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1960 [__NR_ftruncate64]: Make code unconditional.
1961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1962 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1963 include <kernel-features.h>.
1964 [!__NR_ftruncate64]: Remove conditional code.
1965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1966 [__NR_ftruncate64]: Make code unconditional.
1967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1969 include <kernel-features.h>.
1970 [!__NR_ftruncate64]: Remove conditional code.
1971 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1972 [__NR_ftruncate64]: Make code unconditional.
1973 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1975 include <kernel-features.h>.
1976 [!__NR_ftruncate64]: Remove conditional code.
1977 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1978 [__NR_ftruncate64]: Make code unconditional.
1979 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1980
4da0431d
JM
1981 * configure.in (libc_cv_fpie): Weaken to a compile test using
1982 LIBC_TRY_CC_OPTION.
1983 * configure: Regenerated.
1984
11ef492c
AK
19852012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1986
1987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1991 Refreshed.
1992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1998 Refreshed.
1999
d66ef399
DM
20002012-05-27 David S. Miller <davem@davemloft.net>
2001
2002 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
2003 (___Q_zero): New.
2004 (__Q_simulate_exceptions): Return void. Change to simulate
2005 exceptions by writing into the %fsr.
2006 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
2007 (__Qp_handle_exceptions): Likewise.
2008 (numbers): Delete.
2009 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
2010 __Qp_handle_exceptions.
2011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
2012 __Qp_handle_exceptions.
2013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2014 as unused and give dummy FP_RND_NEAREST initializer.
2015 (FP_INHIBIT_RESULTS): Define.
2016 (___Q_simulate_exceptions): Update declaration.
2017 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
2018 formatting.
2019 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
2020 as unused and give dummy FP_RND_NEAREST initializer.
2021 (__Qp_handle_exceptions): Update declaration.
2022 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
2023 formatting.
2024
04fb54b5
TS
20252012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2026
2027 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
2028 the temporary FPU control word.
2029 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2030 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
2031 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2032 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2033 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2034 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2035 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2036 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2037 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2038 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
2039 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2040
3f99608f
KK
20412012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2042
2043 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
2044 fields.
2045
65a4de4e
CLT
20462012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
2047
2048 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
2049 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
2050 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
2051 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
2052 Likewise.
2053 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
2054 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
2055 Likewise.
2056
15749d40
UD
20572012-05-27 Ulrich Drepper <drepper@gmail.com>
2058
2059 * po/h.po: Update from translation team.
2060
25dbcb27
AS
20612012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2062
3d3f8e55
AS
2063 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
2064
25dbcb27
AS
2065 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
2066 handling of denormals.
2067 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2068 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
2069 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2070 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2072 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
2073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
2074 Likewise.
2075
7ad47a80 20762012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
2077
2078 [BZ #14152]
2079 * math/libm-test.inc (fma_test): Don't always expect underflow
2080 exception.
2081
9c6ea9fa
SP
20822012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2083
2084 [BZ #12416]
2085 * elf/tst-execstack.c: Include stackinfo.h.
2086 (do_test): Adjust test case to ensure that pthread_getattr_np
2087 behaviour remains the same after marking stack executable.
2088
a8239222
JM
20892012-05-25 Joseph Myers <joseph@codesourcery.com>
2090
2091 * sysdeps/unix/sysv/linux/kernel-features.h
2092 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2093 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2094 kernel-features.h.
2095 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2096 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2097 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2098 kernel-features.h.
2099 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2100 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2101
918b5606
L
21022012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 * configure.in: Define the default includes to being none.
2105 * configure: Regenerated.
2106
3a097cc7
RM
21072012-05-25 Roland McGrath <roland@hack.frob.com>
2108
8422c9a5
RM
2109 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2110 * sysdeps/x86_64/setjmp.S: Likewise.
2111 * sysdeps/i386/bsd-setjmp.S: Likewise.
2112 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2113 * sysdeps/i386/setjmp.S: Likewise.
2114 * sysdeps/i386/__longjmp.S: Likewise.
2115 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2116 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2117
3a097cc7
RM
2118 * include/stap-probe.h: New file.
2119 * configure.in: Handle --enable-systemtap.
2120 * configure: Regenerated.
2121 * config.h.in (USE_STAP_PROBE): New #undef.
2122 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2123 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2124 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2125
21708942
JM
21262012-05-25 Joseph Myers <joseph@codesourcery.com>
2127
2128 [BZ #13717]
2129 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2130 to 2.4.0 where earlier.
2131 * sysdeps/unix/sysv/linux/configure: Regenerated.
2132 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2133 <kernel-features.h>.
2134 [__ASSUME_32BITUIDS]: Make code unconditional.
2135 [!__ASSUME_32BITUIDS]: Remove conditional code.
2136 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2137 <kernel-features.h>.
2138 [__ASSUME_32BITUIDS]: Make code unconditional.
2139 [!__ASSUME_32BITUIDS]: Remove conditional code.
2140 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2141 [__ASSUME_32BITUIDS]: Make code unconditional.
2142 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2143 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2144 <kernel-features.h>.
2145 [__ASSUME_32BITUIDS]: Make code unconditional.
2146 [!__ASSUME_32BITUIDS]: Remove conditional code.
2147 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2148 <kernel-features.h>.
2149 [__ASSUME_32BITUIDS]: Make code unconditional.
2150 [!__ASSUME_32BITUIDS]: Remove conditional code.
2151 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2152 <kernel-features.h>.
2153 [__ASSUME_32BITUIDS]: Make code unconditional.
2154 [!__ASSUME_32BITUIDS]: Remove conditional code.
2155 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2156 <kernel-features.h>.
2157 [__ASSUME_32BITUIDS]: Make code unconditional.
2158 [!__ASSUME_32BITUIDS]: Remove conditional code.
2159 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2160 <kernel-features.h>.
2161 [__ASSUME_32BITUIDS]: Make code unconditional.
2162 [!__ASSUME_32BITUIDS]: Remove conditional code.
2163 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2164 <kernel-features.h>.
2165 [__ASSUME_32BITUIDS]: Make code unconditional.
2166 [!__ASSUME_32BITUIDS]: Remove conditional code.
2167 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2168 <kernel-features.h>.
2169 [__ASSUME_32BITUIDS]: Make code unconditional.
2170 [!__ASSUME_32BITUIDS]: Remove conditional code.
2171 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2172 <kernel-features.h>.
2173 [__ASSUME_32BITUIDS]: Make code unconditional.
2174 [!__ASSUME_32BITUIDS]: Remove conditional code.
2175 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2176 <kernel-features.h>.
2177 [__ASSUME_32BITUIDS]: Make code unconditional.
2178 [!__ASSUME_32BITUIDS]: Remove conditional code.
2179 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2180 <kernel-features.h>.
2181 [__ASSUME_32BITUIDS]: Make code unconditional.
2182 [!__ASSUME_32BITUIDS]: Remove conditional code.
2183 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2184 <kernel-features.h>.
2185 [__NR_setresgid] (__setresgid): Do not declare.
2186 [__ASSUME_32BITUIDS]: Make code unconditional.
2187 [!__ASSUME_32BITUIDS]: Remove conditional code.
2188 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2189 <kernel-features.h>.
2190 [__NR_setresuid] (__setresuid): Do not declare.
2191 [__ASSUME_32BITUIDS]: Make code unconditional.
2192 [!__ASSUME_32BITUIDS]: Remove conditional code.
2193 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
2210 <kernel-features.h>.
2211 [__ASSUME_32BITUIDS]: Make code unconditional.
2212 [!__ASSUME_32BITUIDS]: Remove conditional code.
2213 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2214 <kernel-features.h>.
2215 [__ASSUME_32BITUIDS]: Make code unconditional.
2216 [!__ASSUME_32BITUIDS]: Remove conditional code.
2217 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2218 <kernel-features.h>.
2219 [__ASSUME_32BITUIDS]: Make code unconditional.
2220 [!__ASSUME_32BITUIDS]: Remove conditional code.
2221 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2222 <kernel-features.h>.
2223 [__ASSUME_32BITUIDS]: Make code unconditional.
2224 [!__ASSUME_32BITUIDS]: Remove conditional code.
2225 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2226 <kernel-features.h>.
2227 [__ASSUME_32BITUIDS]: Make code unconditional.
2228 [!__ASSUME_32BITUIDS]: Remove conditional code.
2229 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2230 <kernel-features.h>.
2231 [__ASSUME_32BITUIDS]: Make code unconditional.
2232 [!__ASSUME_32BITUIDS]: Remove conditional code.
2233 * sysdeps/unix/sysv/linux/kernel-features.h
2234 (__ASSUME_SETRESUID_SYSCALL): Remove.
2235 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2236 (__ASSUME_32BITUIDS): Likewise.
2237 (__ASSUME_LDT_WORKS): Likewise.
2238 (__ASSUME_O_DIRECTORY): Likewise.
2239 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2240 architecture but not kernel version.
2241 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2242 (__ASSUME_MMAP2_SYSCALL): Likewise.
2243 (__ASSUME_STAT64_SYSCALL): Likewise.
2244 (__ASSUME_IPC64): Likewise.
2245 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2246 <kernel-features.h>.
2247 [__ASSUME_32BITUIDS]: Make code unconditional.
2248 [!__ASSUME_32BITUIDS]: Remove conditional code.
2249 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2250 <kernel-features.h>.
2251 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2252 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2253 132096]: Remove conditional code.
2254 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2255 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
2260 <kernel-features.h>.
2261 [__ASSUME_32BITUIDS]: Make code unconditional.
2262 [!__ASSUME_32BITUIDS]: Remove conditional code.
2263 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2264 <kernel-features.h>.
2265 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2266 unconditional.
2267 (__setresgid): Do not declare.
2268 [__ASSUME_32BITUIDS]: Make code unconditional.
2269 [!__ASSUME_32BITUIDS]: Remove conditional code.
2270 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2271 <kernel-features.h>.
2272 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2273 unconditional.
2274 (__setresuid): Do not declare.
2275 [__ASSUME_32BITUIDS]: Make code unconditional.
2276 [!__ASSUME_32BITUIDS]: Remove conditional code.
2277 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2278 <kernel-features.h>.
2279 [__ASSUME_32BITUIDS]: Make code unconditional.
2280 [!__ASSUME_32BITUIDS]: Remove conditional code.
2281 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2282 <kernel-features.h>.
2283 [__ASSUME_32BITUIDS]: Make code unconditional.
2284 [!__ASSUME_32BITUIDS]: Remove conditional code.
2285
a386f1cc
RH
22862012-05-25 Richard Henderson <rth@twiddle.net>
2287
2288 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2289 dl_hwcap to ifunc resolver.
2290 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2291 elf_ifunc_invoke.
2292 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2293 dl_hwcap to ifunc resolver.
2294 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2295
b6550497
JM
22962012-05-24 Joseph Myers <joseph@codesourcery.com>
2297
2298 [BZ #14153]
2299 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2300 for |x| <= 2**-26, not 2**-57.
2301 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2302 exception.
2303
b0bc23a1
JL
23042012-05-24 Jeff Law <law@redhat.com>
2305
2306 * stdio-common/Makefile (tests): Add bug25.
2307 * stdio-common/bug25.c: New test.
2308
347c92e9
L
23092012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 [BZ #13576]
2312 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2313 multiple of MALLOC_ALIGNMENT in size.
2314 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2315
6bcc8b3f
JM
23162012-05-24 Joseph Myers <joseph@codesourcery.com>
2317
2318 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2319 Require >= 256.
2320 (FILENAME_MAX): Use macro-int-constant.
2321 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2322 (_IOFBF): Use macro-int-constant.
2323 (_IOLBF): Likewise.
2324 (_IONBF): Likewise.
2325 (SEEK_CUR): Likewise.
2326 (SEEK_END): Likewise.
2327 (SEEK_SET): Likewise.
2328 (TMP_MAX): Likewise.
2329 (EOF): Use macro-int-constant. Require < 0.
2330 (NULL): Use macro-constant. Require == 0.
2331 (stdin): Require type to be FILE *.
2332 (stdout): Likewise.
2333 (stderr): Likewise.
2334 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2335 macro-int-constant.
2336 (EXIT_SUCCESS): Likewise.
2337 (NULL): Use macro-constant. Require == 0.
2338 (RAND_MAX): Use macro-int-constant.
2339 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2340 [C99-based standards] (strtof): Require function.
2341 [C99-based standards] (strtold): Likewise.
2342 [C99-based standards] (strtoll): Likewise.
2343 [C99-based standards] (strtoull): Likewise.
2344 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2345 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2346 [ISO || ISO99 || ISO11] (math.h): Likewise.
2347 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2348 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2350
d18ea0c5
AS
23512012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2352
2353 [BZ #14132]
56d25bb8
AS
2354 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2355 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2356 * intl/dgettext.c (DCGETTEXT): Likewise.
2357 * intl/gettext.c (DCGETTEXT): Likewise.
2358 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2359 * posix/regex_internal.h (gettext): Likewise.
2360 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2361 Remove declaration.
2362 * include/argz.h (__argz_count_internal)
2363 (__argz_stringify_internal): Remove declaration.
2364 (__argz_count, __argz_stringify): Declare hidden proto.
2365 * intl/dcgettext.c: Remove use of INTDEF.
2366 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2367 * string/argz-stringify.c: Likewise.
2368 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2369 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2370 Declare hidden proto.
d18ea0c5
AS
2371 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2372 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2373 Declare hidden proto.
2374 * include/stdio.h (__asprintf_internal): Don't declare.
2375 (__asprintf): Don't define as macro. Declare hidden proto.
2376 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2377 (__fsetlocking): Declare hidden proto.
2378 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2379 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2380 hidden proto.
2381 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2382 (_IO_setlinebuf): Remove use of INTUSE.
2383 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2384 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2385 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2386 Remove declaration.
2387 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2388 (_IO_do_flush): Remove use of INTUSE.
2389 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2390 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2391 (_IO_adjust_column, _IO_least_wmarker)
2392 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2393 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2394 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2395 (_IO_default_doallocate, _IO_wdefault_doallocate)
2396 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2397 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2398 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2399 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2400 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2401 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2402 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2403 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2404 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2405 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2406 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2407 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2408 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2409 proto.
2410 (_IO_flush_all_internal, _IO_adjust_column_internal)
2411 (_IO_default_uflow_internal, _IO_default_finish_internal)
2412 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2413 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2414 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2415 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2416 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2417 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2418 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2419 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2420 (_IO_file_close_internal, _IO_file_close_it_internal)
2421 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2422 (_IO_file_init_internal, _IO_file_attach_internal)
2423 (_IO_file_fopen_internal, _IO_file_read_internal)
2424 (_IO_file_sync_internal, _IO_file_seek_internal)
2425 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2426 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2427 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2428 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2429 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2430 (_IO_list_all_internal, _IO_link_in_internal)
2431 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2432 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2433 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2434 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2435 (_IO_do_write_internal, _IO_padn_internal)
2436 (_IO_getline_info_internal, _IO_getline_internal)
2437 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2438 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2439 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2440 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2441 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2442 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2443 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2444 with libc_hidden_ver, remove use of INTUSE.
2445 * libio/genops.c: Likewise.
2446 * libio/freopen.c: Likewise.
2447 * libio/freopen64.c: Likewise.
2448 * libio/iofclose.c: Likewise.
2449 * libio/iofdopen.c: Likewise.
2450 * libio/iofflush.c: Likewise.
2451 * libio/iofflush_u.c: Likewise.
2452 * libio/iofgets.c: Likewise.
2453 * libio/iofgets_u.c: Likewise.
2454 * libio/iofopen.c: Likewise.
2455 * libio/iofopncook.c: Likewise.
2456 * libio/iofread.c: Likewise.
2457 * libio/iofread_u.c: Likewise.
2458 * libio/ioftell.c: Likewise.
2459 * libio/iofwrite.c: Likewise.
2460 * libio/iogetline.c: Likewise.
2461 * libio/iogets.c: Likewise.
2462 * libio/iogetwline.c: Likewise.
2463 * libio/iopadn.c: Likewise.
2464 * libio/iopopen.c: Likewise.
2465 * libio/ioseekoff.c: Likewise.
2466 * libio/ioseekpos.c: Likewise.
2467 * libio/iosetbuffer.c: Likewise.
2468 * libio/iosetvbuf.c: Likewise.
2469 * libio/ioungetc.c: Likewise.
2470 * libio/ioungetwc.c: Likewise.
2471 * libio/iovdprintf.c: Likewise.
2472 * libio/iovsprintf.c: Likewise.
2473 * libio/iovsscanf.c: Likewise.
2474 * libio/memstream.c: Likewise.
2475 * libio/obprintf.c: Likewise.
2476 * libio/oldfileops.c: Likewise.
2477 * libio/oldiofclose.c: Likewise.
2478 * libio/oldiofdopen.c: Likewise.
2479 * libio/oldiofopen.c: Likewise.
2480 * libio/oldiopopen.c: Likewise.
2481 * libio/oldstdfiles.c: Likewise.
2482 * libio/putc.c: Likewise.
2483 * libio/setbuf.c: Likewise.
2484 * libio/setlinebuf.c: Likewise.
2485 * libio/stdfiles.c: Likewise.
2486 * libio/strops.c: Likewise.
2487 * libio/vasprintf.c: Likewise.
2488 * libio/vscanf.c: Likewise.
2489 * libio/vsnprintf.c: Likewise.
2490 * libio/vswprintf.c: Likewise.
2491 * libio/wfiledoalloc.c: Likewise.
2492 * libio/wfileops.c: Likewise.
2493 * libio/wgenops.c: Likewise.
2494 * libio/wmemstream.c: Likewise.
2495 * libio/wstrops.c: Likewise.
2496 * libio/__fpurge.c: Likewise.
2497 * libio/__fsetlocking.c: Likewise.
2498 * assert/assert.c: Likewise.
2499 * debug/fgets_chk.c: Likewise.
2500 * debug/fgets_u_chk.c: Likewise.
2501 * debug/fread_chk.c: Likewise.
2502 * debug/fread_u_chk.c: Likewise.
2503 * debug/gets_chk.c: Likewise.
2504 * debug/obprintf_chk.c: Likewise.
2505 * debug/vasprintf_chk.c: Likewise.
2506 * debug/vdprintf_chk.c: Likewise.
2507 * debug/vsnprintf_chk.c: Likewise.
2508 * debug/vsprintf_chk.c: Likewise.
2509 * malloc/mtrace.c: Likewise.
2510 * misc/error.c: Likewise.
2511 * misc/syslog.c: Likewise.
2512 * stdio-common/asprintf.c: Likewise.
2513 * stdio-common/fxprintf.c: Likewise.
2514 * stdio-common/getw.c: Likewise.
2515 * stdio-common/isoc99_fscanf.c: Likewise.
2516 * stdio-common/isoc99_scanf.c: Likewise.
2517 * stdio-common/isoc99_vfscanf.c: Likewise.
2518 * stdio-common/isoc99_vscanf.c: Likewise.
2519 * stdio-common/isoc99_vsscanf.c: Likewise.
2520 * stdio-common/printf-prs.c: Likewise.
2521 * stdio-common/printf_fp.c: Likewise.
2522 * stdio-common/printf_fphex.c: Likewise.
2523 * stdio-common/printf_size.c: Likewise.
2524 * stdio-common/putw.c: Likewise.
2525 * stdio-common/scanf.c: Likewise.
2526 * stdio-common/sprintf.c: Likewise.
2527 * stdio-common/tmpfile.c: Likewise.
2528 * stdio-common/vfprintf.c: Likewise.
2529 * stdio-common/vfscanf.c: Likewise.
2530 * stdlib/strfmon_l.c: Likewise.
2531 * sunrpc/openchild.c: Likewise.
2532 * sunrpc/xdr_stdio.c: Likewise.
2533 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2534 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2535
d6c33fda
RM
25362012-05-24 Roland McGrath <roland@hack.frob.com>
2537
c1487492
RM
2538 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2539
2540 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2541 in the third column, to generate for the shared library an IFUNC
2542 that uses _dl_vdso_vsym.
2543 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2544 * Makeconfig (object-suffixes-noshared): New variable.
2545
2546 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2547 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2548 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2549 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2550
d6c33fda
RM
2551 [BZ #14132]
2552 * include/sys/time.h (__gettimeofday): Remove macro.
2553 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2554 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2555 Remove INTDEF.
2556 (__gettimeofday): Add libc_hidden_def.
2557 (gettimeofday): Add libc_hidden_weak.
2558 * sysdeps/mach/gettimeofday.c: Likewise.
2559 * sysdeps/posix/gettimeofday.c: Likewise.
2560 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2561 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2563 (__gettimeofday_internal): Remove strong_alias.
2564 (__gettimeofday): Add libc_hidden_def.
2565 (gettimeofday): Add libc_hidden_weak.
2566 * sysdeps/unix/syscalls.list (gettimeofday):
2567 Remove __gettimeofday_internal alias.
2568
b5a2bbe6
L
25692012-05-24 Daniel Jacobowitz <drow@false.org>
2570 H.J. Lu <hongjiu.lu@intel.com>
2571
2572 [BZ #12495]
2573 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2574 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2575 (largebin_index_32_big): New.
2576 (largebin_index): Use it for 16-byte alignment.
2577 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2578 correction with front_misalign.
2579
cfba4fda
L
25802012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2581
7f907421
L
2582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2584 Likewise.
2585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2586 Likewise.
2587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2588 Likewise.
2589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2590 Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2592 Likewise.
2593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2594 Likewise.
2595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2596 Likewise.
2597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2598 Likewise.
2599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2600 Likewise.
2601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2602 Likewise.
2603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2604 Likewise.
2605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2606 Likewise.
2607
cfba4fda
L
2608 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2609 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2610
80bad0cc
JM
26112012-05-24 Joseph Myers <joseph@codesourcery.com>
2612
7a25eb06
JM
2613 [BZ #10846]
2614 [BZ #14036]
2615 * math/libm-test.inc (exp_test): Add test from bug 14036.
2616 (pow_test): Add test from bug 10846.
2617
795405f9
JM
2618 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2619 and other flags.
2620 (special_function): Do not include flags in test name.
2621 (parse_args): Likewise.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2624 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2625 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2627
80bad0cc
JM
2628 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2629 exceptions.
2630 * math/libm-test.inc ("Philosophy"): Update comment about
2631 exception testing.
2632 (UNDERFLOW_EXCEPTION): New macro.
2633 (UNDERFLOW_EXCEPTION_OK): Likewise.
2634 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2635 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2636 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2637 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2638 (INVALID_EXCEPTION_OK): Update value.
2639 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2640 (OVERFLOW_EXCEPTION_OK): Likewise.
2641 (IGNORE_ZERO_INF_SIGN): Likewise.
2642 (test_exceptions): Handle underflow exceptions.
2643 (acos_test): Update for underflow exception expectations.
2644 (cexp_test): Likewise.
2645 (clog_test): Likewise.
2646 (clog10_test): Likewise.
2647 (csqrt_test): Likewise.
2648 (ctan_test): Likewise.
2649 (ctanh_test): Likewise.
2650 (exp_test): Likewise.
2651 (exp10_test): Likewise.
2652 (exp2_test): Likewise.
2653 (expm1_test): Likewise.
2654 (fma_test): Likewise.
2655 (j0_test): Likewise.
2656 (jn_test): Likewise.
2657 (nexttoward_test): Likewise.
2658 (pow_test): Likewise.
2659 (scalbn_test): Likewise.
2660 (scalbln_test): Likewise.
2661 (tan_test): Likewise.
2662 (y1_test): Likewise.
2663 * sysdeps/i386/fpu/libm-test-ulps: Update.
2664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2665
9e0e3d0b
DM
26662012-05-23 David S. Miller <davem@davemloft.net>
2667
2668 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2669 (__libc_sigaction): Remove unused local variables.
2670
ccd0a08f
L
26712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2674
62bdf9a6
PE
26752012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2676
f8591f80
PE
2677 mktime: avoid signed integer overflow
2678 * time/mktime.c (__mktime_internal): Do not mishandle the case
2679 where diff == INT_MIN.
2680
94c7d826
PE
2681 mktime: simplify computation of average
2682 * time/mktime.c (ranged_convert): Use new time_t_avg function
2683 instead of rolling our own (probably-slower) code.
2684
ce73d683
PE
2685 mktime: do not assume signed right shift propagates sign bit
2686 * time/mktime.c (isdst_differ): New static function.
2687 (__mktime_internal): No need to normalize tm_isdst now.
2688 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2689 tm_isdst values.
2690
72a22e59
PE
2691 mktime: merge another wrapv change from gnulib
2692 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2693 from some compilers.
2694
68605433
PE
2695 mktime: remove incorrect attempt at unusual arithmetics
2696 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2697 The code didn't really work on such machines anyway.
2698 (TYPE_MINIMUM): Assume two's complement.
2699 (twos_complement_arithmetic): Verify that long_int and time_t
2700 are two's complement (or unsigned, in the latter case).
2701
03cf7fe3
PE
2702 mktime: check signed shifts on long_int and time_t, too
2703 * time/mktime.c (SHR): Check that shifts work as desired
2704 on the types long_int and time_t too, as SHR is used on
2705 such types.
2706
f04dfbc2
PE
2707 mktime: do not assume 'long' is wide enough
2708 * time/mktime.c (verify): Move decl up.
2709 (long_int): New type.
2710 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2711 to remove assumption in the code that 'long' is wide enough to
2712 store year values. This assumption is not true on x32 and on
2713 some non-glibc platforms.
2714
62bdf9a6
PE
2715 mktime: merge wrapv change from gnulib
2716 * time/mktime.c (WRAPV): New macro.
2717 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2718 (guess_time_tm, __mktime_internal): Do not assume that signed
2719 integer overflow wraps around; modern compilers generate code
2720 where this assumption is no longer valid.
2721
5e292e4f
L
27222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2725 Replace "jmp L(pseudo_end)" with "ret".
2726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2727 Likewise.
2728
8caf8c87
AJ
27292012-05-23 Andreas Jaeger <aj@suse.de>
2730
2731 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2732 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2733
1a09dc56
AJ
27342012-05-23 Andreas Jaeger <aj@suse.de>
2735 Maximilian Attems <max@stro.at>
2736
2737 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2738 New macros.
2739
1c87aba0
L
27402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2741
2742 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2743 code so that pseudo_end is just ret and the stack pointer is
2744 correct also for static library in error case.
2745
40e45bd5
JM
27462012-05-23 Joseph Myers <joseph@codesourcery.com>
2747
c2670533
JM
2748 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2749 move to syscalls.list.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2754
40e45bd5
JM
2755 * manual/install.texi (Running make install): Do not mention Linux
2756 kernel version for which pt_chown is not needed.
2757 (Linux): Do not mention problems with nscd with 2.0 kernels.
2758 * INSTALL: Regenerated.
2759
be08eda5
AJ
27602012-05-23 Andreas Jaeger <aj@suse.de>
2761
2762 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2763 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2764 macro.
2765 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2766 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2767 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2769 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2773 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2774 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2775 * sysdeps/unix/sysv/linux/bits/in.h
2776 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2777
a6a056bb
RM
27782012-05-22 Roland McGrath <roland@hack.frob.com>
2779
2780 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2781 (PREPARE_VERSION): Just use assert instead, it will be elided
2782 under [NDEBUG] anyway.
2783
c9009328
L
27842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 * sysdeps/unix/sysv/linux/Makefile: Include
2787 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2788 (sysdep_routines): Remove sysctl.
c9009328
L
2789 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2790 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2791 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2792 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2793 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2794
73338355
AJ
27952012-05-22 Andreas Jaeger <aj@suse.de>
2796
2797 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2798 that pseudo_end is just ret and the stack pointer is correct also
2799 for static library in error case.
2800
d44638b0
PP
28012012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2802
2803 [BZ #14122]
2804 * nss/nsswitch.c (defconfig_entries): New variable.
2805 (__nss_database_lookup): Don't leak defconfig entries.
2806 (nss_parse_service_list): Don't leak on error paths.
2807 (free_database_entries): New function.
2808 (free_defconfig): New function.
2809 (free_mem): Move common code to free_database_entries.
2810
31a39bd8
L
28112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2812
da0331a8
L
2813 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2814 Add arch_prctl.
2815 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2816
31a39bd8
L
2817 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2818 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2820 New macro.
2821 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2822 (INTERNAL_SYSCALL_TYPES): Likewise.
2823 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2824 (LOAD_REGS_TYPES_[1-6]): Likewise.
2825 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2826 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2827
45470df3
AZ
28282012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2829
2830 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2831 copysignl for GLIBC_2_0.
2832 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2833 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2834 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2835 logbl for GLIBC_2_0.
2836 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2838
98a61bcb
L
28392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2840
a4f6e481
L
2841 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2842 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2843
f63d5db6
L
2844 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2845 Use "neg %eax".
2846
98a61bcb
L
2847 * time/mktime.c: Update copyright years.
2848
95770f14
PE
28492012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2850
6226efbd
PE
2851 mktime: merge comment-quoting-style change from gnulib
2852 * time/mktime.c: Quote 'like this' in comments.
2853 The GNU coding standards suggest that we no longer quote `like this',
2854 as "`" and "'" are typically rendered asymmetrically nowadays.
2855 The typical gnulib style is to quote 'like this' when quoting
2856 code, and "like this" when quoting English.
2857
b99e4f78
PE
2858 * time/mktime.c (compile-command): Add "-I.".
2859
643e01e6
PE
2860 mktime: merge mktime-internal.h change from gnulib
2861 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2862
2554247d
PE
2863 mktime: merge time_r change from gnulib
2864 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2865
826dd0ab
PE
2866 mktime: merge DEBUG change from gnulib
2867 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2868 case system <time.h> has a #define.
2869
bd83aabe
PE
2870 mktime: merge <sys/types.h> change from gnulib
2871 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2872 since <time.t> is now guaranteed to define time_t.
2873
95770f14
PE
2874 mktime: merge HAVE_CONFIG_H change from gnulib
2875 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2876
5e1a27a9
L
28772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2878
0e44a77e
L
2879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2880 Use "neg %eax".
2881
5e1a27a9
L
2882 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2883 __rlim_t cast.
2884 (struct rusage): Use anonymous union to pad each field to
2885 __syscall_slong_t.
2886
46259bec
DM
28872012-05-21 David S. Miller <davem@davemloft.net>
2888
2889 * Makefules (o-iterator): Remove .s cases.
2890 (compile-command.s): Delete.
2891 (COMPILE.s): Delete.
2892 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2893
59f0c22e
JM
28942012-05-21 Joseph Myers <joseph@codesourcery.com>
2895
2896 * configure.in (libc_cv_predef_stack_protector): Only consider
2897 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2898 * configure: Regenerated.
2899
20c07380
L
29002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2901
bbb3154b
L
2902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2903 New macro. Use R*LP on int and pointer.
2904 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2905 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2906 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2907 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2908
20c07380
L
2909 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2910 [__WORDSIZE_TIME64_COMPAT32] instead of
2911 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2912 (struct utmp): Likewise.
2913 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2914 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2915 Renamed to ...
2916 (__WORDSIZE_TIME64_COMPAT32): This.
2917 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2918 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2919 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2920 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2921 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2922 (__WORDSIZE_TIME64_COMPAT32): New macro.
2923
d8d1017e
AJ
29242012-05-21 Andreas Jaeger <aj@suse.de>
2925
2926 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2927 only if [SHARED]. Add prototype for __wcschr_ia32.
2928
6c7fb145
RM
29292012-05-21 Roland McGrath <roland@hack.frob.com>
2930
2931 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2932 of %rbp unmolested in the jmp_buf while mangling the low bits.
2933 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2934 unmolested high bits of %rbp while demangling the low bits.
2935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2936
66274218
AJ
29372012-05-21 Andreas Jaeger <aj@suse.de>
2938
07c58f8f
AJ
2939 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2940 * sunrpc/svc_simple.c: Use it for registerrpc.
2941 * sunrpc/xcrypt.c: Use it for passwd2des.
2942
66274218
AJ
2943 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2944
61f65140
L
29452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2946
2947 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2948 Don't define if [__SYSCALL_WORDSIZE != 32].
2949 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2950 New macro.
2951
5fefb436
AJ
29522012-05-21 Bruno Haible <bruno@clisp.org>
2953 Andreas Jaeger <aj@suse.de>
2954
2955 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2956 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2957 inptr and inend for must_buffer_ch.
2958 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2959 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2960 * stdio-common/Makefile (tests): Remove bug15.
2961 (bug15-ENV): Remove macro.
2962 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2963 anymore.
2964
d8e272ab
AJ
29652012-05-19 Andreas Jaeger <aj@suse.de>
2966 Roland McGrath <roland@hack.frob.com>
2967
2968 * manual/contrib.texi: Completely rewritten. It contains now an
2969 alphabetical list of contributors and their contributions.
2970
4a56a162
RH
29712012-05-21 Richard Henderson <rth@twiddle.net>
2972
2973 * misc/getauxval.c (__getauxval): Use unsigned long int.
2974 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2975 (getauxval): Use unsigned long int.
2976
d024d23c
L
29772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2980
cbc00a03
RM
29812012-05-21 Roland McGrath <roland@hack.frob.com>
2982
2983 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2984 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2985 __alignof__ (long double).
2986
478143fa
AZ
29872012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988
2989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2990
c7683a6d
RH
29912012-05-20 Richard Henderson <rth@twiddle.net>
2992
2993 * misc/getauxval.c: New file.
2994 * misc/sys/auxv.h: New file.
2995 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2996 (routines): Add getauxval.
2997 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2998 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2999 * elf/dl-sysdep.c (_dl_auxv): Remove.
3000 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
3001 * elf/dl-support.c (_dl_auxv): New variable.
3002 (_dl_aux_init): Initialize it.
3003 * manual/startup.texi (Auxiliary Vector): New node.
3004 * sysdeps/generic/bits/hwcap.h: New file.
3005 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
3006 * sysdeps/powerpc/sysdep.h: ... here. Include it.
3007 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
3008 * sysdeps/sparc/sysdep.h: ... here. Include it.
3009 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
3010 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3012 Update.
c7683a6d
RH
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
3014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
3015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
3016 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
3017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
3019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
3020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
3021
a6f1845d
AZ
30222012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3025
cbcbe830
DM
30262012-05-19 David S. Miller <davem@davemloft.net>
3027
3028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3029
e0b16cc2
JM
30302012-05-19 Joseph Myers <joseph@codesourcery.com>
3031
3032 [BZ #14123]
3033 * math/s_ccosh.c: Include <float.h>
3034 (__ccosh): Avoid internal overflow calculating sinh and cosh
3035 values before multiplying by sin and cos values.
3036 * math/s_ccoshf.c: Likewise.
3037 * math/s_ccoshl.c: Likewise.
3038 * math/s_csin.c: Likewise.
3039 * math/s_csinf.c: Likewise.
3040 * math/s_csinl.c: Likewise.
3041 * math/s_csinh.c: Likewise.
3042 * math/s_csinhf.c: Likewise.
3043 * math/s_csinhl.c: Likewise.
3044 * math/libm-test.inc (ccos_test): Add more tests.
3045 (ccosh_test): Likewise.
3046 (csin_test): Likewise.
3047 (csinh_test): Likewise.
3048 * sysdeps/i386/fpu/libm-test-ulps: Update.
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3050
6ad13e08
L
30512012-05-19 H.J. Lu <hongjiu.lu@intel.com>
3052
f66f0ce8
L
3053 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
3054 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3055
6ad13e08
L
3056 * sysdeps/x86_64/x32/_itoa.h: Add comment.
3057
b1d072a7
JM
30582012-05-19 Joseph Myers <joseph@codesourcery.com>
3059
3060 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
3061 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
3062 * sysdeps/powerpc/soft-fp/Versions: Likewise.
3063 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
3064 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
3065 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
3066 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
3067 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
3068 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
3069 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
3070 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
3071 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
3072 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
3073 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
3074 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
3075 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
3076 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
3077 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
3078 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
3079 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
3080 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3081 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3082 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3083 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3084 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3085 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3086 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3087 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3088 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3089 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3090 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3091
9eae47cb
AJ
30922012-05-18 Andreas Jaeger <aj@suse.de>
3093
3094 * csu/.gitignore: Delete.
3095
bb07f69f
L
30962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3097
3098 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3099 (timex): Use __syscall_slong_t.
3100
e6bdb741
AJ
31012012-05-18 Andreas Jaeger <aj@suse.de>
3102 Carlos O'Donell <carlos_odonell@mentor.com>
3103
3104 * manual/install.texi (Configuring and compiling): Update
3105 description about files modified in the source directory.
d6c33fda 3106 * INSTALL: Regenerated.
e6bdb741 3107
1b74487e
L
31082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3109
3110 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3111 value. Use "or" to set return value to -1.
3112 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3113 negate return value.
3114
a88b64b9
TMQMF
31152012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3116
3117 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3118 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3119 failure if the compiler has Graphite support disabled.
3120 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3121 Likewise.
3122 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3123 CFLAGS-memmove.c): Likewise.
3124 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3125 Likewise.
3126
3707636e
L
31272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3128
610b8622
L
3129 * sysdeps/x86_64/x32/_itoa.h: New file.
3130
7cd195df
L
3131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3132 getdents system call only if kernel and user dirents have the
3133 same d_ino and d_off.
3134
94b07d20
L
3135 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3136 LLONG_MAX != LONG_MAX.
3137 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3138 (_fitoa_word): Likewise.
3139
18298070
L
3140 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3141 years.
3142 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3143 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3144 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3145
553c7ea4
L
3146 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3147 include <bits/wordsize.h>. Check __x86_64__ instead of
3148 __WORDSIZE.
3149 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3150 if __x86_64__ is defined. Use anonymous union on fpstate.
3151
3707636e
L
3152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3153 anonymous union.
3154
b53ef01a
AS
31552012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3156
37fb1dc0
AS
3157 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3158 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3159 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3160 Refer to _rtld_local_ro instead of _rtld_global_ro.
3161 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3162 Likewise.
3163 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3164 Likewise.
3165 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3166 Likewise.
3167 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3168 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3169 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3170
b53ef01a
AS
3171 * sysdeps/powerpc/powerpc32/dl-machine.c
3172 (__elf_machine_runtime_setup) [PROF]: Don't reference
3173 _dl_prof_resolve.
3174
7a185db2
AJ
31752012-05-18 Andreas Jaeger <aj@suse.de>
3176
3177 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3178 function only available for GCCs before 3.4 since GCC 3.4
3179 introduced a builtin.
3180 (lrint): Likewise.
3181 (llrintf): Likewise.
3182 (llrint): Likewise.
3183 (fmaxf): Likewise.
3184 (fmax): Likewise.
3185 (fminf): Likewise.
3186 (fmin): Likewise.
3187 (rint): Likewise.
3188 (rintf): Likewise.
3189 (nearbyint): Likewise.
3190 (nearbyintf): Likewise.
3191 (ceil): Likewise.
3192 (ceilf): Likewise.
3193 (floor): Likewise.
3194 (floorf): Likewise.
3195
3e5aef87
L
31962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3197
428bd707
L
3198 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3199 on both fields and cast pointer to __syscall_ulong_t.
3200
3e5aef87
L
3201 * bits/types.h (__fsword_t): New type.
3202 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3203 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3204 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3205 (__FSWORD_T_TYPE): Likewise.
3206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3207 (__FSWORD_T_TYPE): Likewise.
3208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3209 (__FSWORD_T_TYPE): Likewise.
3210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3211 (__FSWORD_T_TYPE): Likewise.
3212 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3213 __SWORD_TYPE with __fsword_t.
3214 (statfs64): Likewise.
3215
1ba7c3dc
DM
32162012-05-17 David S. Miller <davem@davemloft.net>
3217
3218 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3219
59910343
AJ
32202012-05-17 Andreas Jaeger <aj@suse.de>
3221
3222 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3223 warning.
3224
2e4c1e9e
L
32252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3226
3227 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3228
de7f5ce7
AJ
32292012-05-17 Andreas Jaeger <aj@suse.de>
3230
3231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3232 when it is used.
3233
286abc3d
CM
32342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3235
3236 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3237
477cc68e
L
32382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3239
3240 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3241 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3242
1a0994f5
CD
32432012-05-17 Andreas Jaeger <aj@suse.de>
3244 Carlos O'Donell <carlos_odonell@mentor.com>
3245
3246 [BZ #14059]
3247 * sysdeps/x86_64/multiarch/init-arch.h
3248 (bit_YMM_Usable): Rename to...
3249 (bit_AVX_Usable): ... this.
3250 (bit_FMA4_Usable): New macro.
3251 (bit_XMM_state): New macro.
3252 (bit_YMM_state): New macro.
3253 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3254 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3255 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3256 (CPUID_OSXSAVE): New macro.
3257 (CPUID_AVX): New macro.
3258 (CPUID_FMA4): New macro.
3259 (index_YMM_Usable): Rename to...
3260 (index_AVX_Usable): ... this.
3261 (HAS_AVX): Use HAS_ARCH_FEATURE.
3262 (HAS_FMA4): Likewise.
3263 (HAS_YMM_USABLE): Remove.
3264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3265 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3266 are present.
3267 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3268 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3269 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3270 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3271 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3272
0af797de
CM
32732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3274
3275 * math/libm-test.c: Support platforms without multiple rounding modes.
3276 * math/bug-nextafter.c: Support platforms without FP exceptions.
3277 * math/bug-nexttoward.c: Likewise.
3278 * math/test-fenv.c: Likewise.
3279 * math/test-misc.c: Likewise.
3280 * stdlib/bug-getcontext.c: Likewise.
3281
e39745ff
AJ
32822012-05-17 Andreas Jaeger <aj@suse.de>
3283
3284 * manual/examples/search.c (critter_cmp): Change signature to
3285 avoid warnings.
3286 * manual/string.texi (Collation Functions): Likewise.
3287
48970aba
L
32882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3289
3290 * bits/types.h: Fold copyright years.
3291 * bits/typesizes.h: Likewise.
3292 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3293 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3296 * time/time.h: Likewise.
3297
bedee953
PP
32982012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3299
3300 [BZ #208]
3301 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3302 in instead of returning them. Return void.
3303 (__libc_mallinfo): Accumulate over all arenas.
3304 (__malloc_stats): Adjust for change in int_mallinfo interface.
3305
61653dfb
RM
33062012-05-16 Roland McGrath <roland@hack.frob.com>
3307
30b99d79
RM
3308 [BZ #10375]
3309 * configure.in (NM): Add AC_CHECK_TOOL for it.
3310 (libc_extra_cflags): New substituted variable.
3311 Check for -fstack-protector being used implicitly.
3312 * configure: Regenerated.
3313 * config.make.in (config-extra-cflags): New variable,
3314 gets @libc_extra_cflags@.
3315 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3316
61653dfb
RM
3317 [BZ #10375]
3318 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3319 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3320 * configure: Regenerated.
3321 * config.make.in (CPPUNDEFS): New substituted variable.
3322 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3323 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3324 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3325
661768bb
L
33262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3327
3328 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3329 (mq_attr): Use __syscall_slong_t.
3330
d4261567
L
33312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3334 Check __x86_64__ instead of __WORDSIZE.
3335 (_STAT_VER_LINUX): Likewise.
3336 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3337 __syscall_ulong_t and __syscall_slong_t.
3338 (stat64): Likewise.
3339
cf3ff365
L
33402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3341
3342 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3343
76cf3e4d
L
33442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3345
3346 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3347
a637753a
L
33482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3351 __syscall_ulong_t.
3352
d5e05119
L
3353 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3354 include <bits/wordsize.h>. Check __x86_64__ instead of
3355 __WORDSIZE.
3356 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3357 defined.
3358 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3359
f62ee380
L
3360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3361 include <bits/wordsize.h>. Check __x86_64__ instead of
3362 __WORDSIZE.
3363 (user_regs_struct): Use "__extension__ unsigned long long"
3364 instead of "unsigned long" if __x86_64__ is defined.
3365 (user): Likewise. Pad after pointer field if __ILP32__ is
3366 defined.
3367
4e124ced
JM
33682012-05-16 Joseph Myers <joseph@codesourcery.com>
3369
6a3951a0
JM
3370 * configure.in (makeinfo): Require version 4.5 or later. Allow
3371 versions 5 to 9.
3372 * configure: Regenerated.
3373 * manual/install.texi (texinfo): Increase version requirement to
3374 4.5 or later.
3375 * INSTALL: Regenerated.
3376
4e124ced
JM
3377 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3378
953ca31a
L
33792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3380
3381 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3382
617aca05
L
3383 * sysdeps/x86_64/x32/ffs.c: New file.
3384
5762f7ae
L
3385 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3386 __syscall_ulong_t.
3387 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3388 defined. Use __syscall_ulong_t.
3389 (shminfo): Use __syscall_ulong_t.
3390 (shm_info): Likewise.
3391
a26b6856
L
3392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3393 __syscall_ulong_t.
3394
cb2b9ef7
L
3395 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3396 <bits/wordsize.h>.
3397 (msgqnum_t): Use __syscall_ulong_t.
3398 (msglen_t): Likewise.
3399 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3400 __syscall_ulong_t.
3401
34683bb0
L
3402 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3404
84a68786
L
3405 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3406
48baa5f1
L
3407 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3408 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3409
180be88b
L
3410 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3411 __syscall_slong_t.
3412
5e90c8ad
L
3413 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3414 include <bits/wordsize.h>. Check __x86_64__ instead of
3415 __WORDSIZE.
3416
23dfb58b
L
3417 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3418 "unsigned long long int" if __x86_64__ is defined.
3419 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3420
ce5d54b0
L
3421 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3422 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3423 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3424
13dc9eac
L
3425 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3426 <stdint.h>.
3427 (GET_PC): Cast to uintptr_t first.
3428 (GET_FRAME): Likewise.
3429 (GET_STACK): Likewise.
3430
a7895d15
L
3431 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3432 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3433 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3434 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3435 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3436 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3437 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3439 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3440 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3441 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3442 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3443 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3444 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3445 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3446 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3448 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3449 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3450 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3452 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3453 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3454 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3455 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3456 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3458 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3459 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3460
656416c9
AS
34612012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3462
5bd66283
AS
3463 * Makerules (+depfiles): Also collect depfiles from .oS in
3464 $(extra-objs).
3465 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3466 .oS, $(libnldbl-routines)).
3467
656416c9
AS
3468 * Makerules (native-compile-mkdep-flags): Define.
3469 * sunrpc/Makefile (extra-objs): Add $(addprefix
3470 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3471 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3472 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3473 calling $(make-target-directory).
3474
a46f2169
L
34752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3476
3477 * bits/types.h (__snseconds_t): Removed.
3478 * time/time.h (struct timespec): Replace __snseconds_t with
3479 __syscall_slong_t.
3480 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3481 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3482 Likewise.
3483 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3484 (__SNSECONDS_T_TYPE): Likewise.
3485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3486 (__SNSECONDS_T_TYPE): Likewise.
3487 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3488 (__SNSECONDS_T_TYPE): Likewise.
3489
6af6528b
L
34902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3491
3492 * sysdeps/mach/hurd/bits/typesizes.h
3493 (__SYSCALL_SLONG_TYPE): New macro.
3494 (__SYSCALL_ULONG_TYPE): Likewise.
3495
de986b56
L
34962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3497
3498 * bits/types.h (__syscall_slong_t): New type.
3499 (__syscall_ulong_t): Likewise.
3500
3501 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3502 (__SYSCALL_ULONG_TYPE): Likewise.
3503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3504 (__SYSCALL_SLONG_TYPE): Likewise.
3505 (__SYSCALL_ULONG_TYPE): Likewise.
3506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3507 (__SYSCALL_SLONG_TYPE): Likewise.
3508 (__SYSCALL_ULONG_TYPE): Likewise.
3509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3510 (__SYSCALL_SLONG_TYPE): Likewise.
3511 (__SYSCALL_ULONG_TYPE): Likewise.
3512
85736dc7
L
35132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3514
3515 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3516 Add sigaltstack-offsets.sym.
3517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3518 <sigaltstack-offsets.h>.
3519 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3520 longjmp_msg pointer.
3521 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3522 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3523 signal stack.
3524 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3525
cc03b296
JM
35262012-05-15 Joseph Myers <joseph@codesourcery.com>
3527
a9538892
JM
3528 * elf/stackguard-macros.h: Remove file.
3529 * sysdeps/generic/stackguard-macros.h: New file.
3530 * sysdeps/i386/stackguard-macros.h: Likewise.
3531 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3532 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3533 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3534 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3535 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3536 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3537 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3538 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3539 <elf/stackguard-macros.h>.
3540
cc03b296
JM
3541 [BZ #14109]
3542 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3543 __aligned__ in attribute.
3544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3545 (gregset_t): Likewise.
3546
93171016
L
35472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3548
3549 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3550 * sysdeps/x86_64/64/Implies-after: Here. New file.
3551 * sysdeps/x86_64/x32/Implies-after: New file.
3552
d86813a0
L
35532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3556 and access return value for _dl_profile_fixup. Use R10_LP to
3557 load frame size.
3558
2953ec75
L
35592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3562
3b550e9e
L
35632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3566 * sysdeps/x86_64/x32/sysdep.h: New file.
3567
eda41706
L
35682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3569
3570 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3571 * sysdeps/x86_64/setjmp.S: Likewise.
3572
9ea01d93
AZ
35732012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3574
3575 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3576 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3577 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3578 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3579 remove unused global constant.
3580
02a91938
CM
35812012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3582
3583 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3584 include of <not-cancel.h>.
3585
6540185f
RM
35862012-05-15 Roland McGrath <roland@hack.frob.com>
3587
3588 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3589
509072a0
AJ
35902012-05-15 Jeff Law <law@redhat.com>
3591 Andreas Jaeger <aj@suse.de>
3592
3593 [BZ #13594]
3594 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3595 out from...
3596 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3597 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3598 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3599 code changing __hst_map_handle.map.
3600
ba75122d
RM
36012012-05-15 Roland McGrath <roland@hack.frob.com>
3602
3603 * configure.in (sysnames): Look for Implies-before and Implies-after
3604 files.
3605 * configure: Regenerated.
3606
890d8bd8
L
36072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3610 8-byte data alignment with LP_SIZE alignment.
3611
f6ee6623
L
36122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3613
3614 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3615 into R10_LP.
3616
ea2626f6
L
36172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3618
3619 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3620
085f715e
L
36212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3624 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3625 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3626 Likewise.
3627 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3628
be8498fc
L
36292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3630
3631 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3632 (stackinfo_sub_sp): Likewise.
3633
70bc83b9
L
36342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3635
3636 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3637 RAX_LP.
3638
9bc0b730
L
36392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3640
3641 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3642 into R*_LP.
3643
6d2850e7
L
36442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3645
3646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3647 sizes into R*_LP.
3648
3cb84561
L
36492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3650
3651 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3652
54e2ed81
L
36532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3654
3655 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3656 into R11_LP and load __x86_64_shared_cache_size_half into
3657 R8_LP.
3658
8a17f349
L
36592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3662 R8_LP.
3663
777b1eea
AZ
36642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3665
3666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3667 logb for POWER7.
3668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3669 logbf for POWER7.
3670 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3671 logbl for POWER7.
3672 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3673 powerpc32/power7/fpu/s_logb.c via #include.
3674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3675 powerpc32/power7/fpu/s_logbf.c via #include.
3676 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3677 powerpc32/power7/fpu/s_logbl.c via #include.
3678
d20d4ac2
JM
36792012-05-15 Joseph Myers <joseph@codesourcery.com>
3680
3681 * README.libm: Remove file.
3682
6cdef1ab
L
36832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3686 count for x32. Use R*_LP and omit operand-size suffix.
3687
0b254d8f
L
36882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3689
3690 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3691 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3692 * sysdeps/x86_64/x32/shlib-versions: New file.
3693
ceb809dc
RM
36942012-05-14 Roland McGrath <roland@hack.frob.com>
3695
3696 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3697 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3698 Use _dl_fatal_printf instead.
3699
37f1abd4
JM
37002012-05-14 Joseph Myers <joseph@codesourcery.com>
3701
3702 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3703 set if not set by the user. Do not allow for being unset.
3704 * sysdeps/unix/sysv/linux/configure: Regenerated.
3705
11de3a33
L
37062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3707
3708 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3709 the `q' suffix from lea and replace .quad with ASM_ADDR.
3710
e02f153a
L
37112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3712
3713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3714 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3715 instead of $17.
3716 (PTR_DEMANGLE): Likewise.
3717
520ae0fd
L
37182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3719
3720 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3721 (LP_OP): Likewise.
3722 (ASM_ADDR): Likewise.
3723 (RAX_LP): Likewise.
3724 (RBP_LP): Likewise.
3725 (RBX_LP): Likewise.
3726 (RCX_LP): Likewise.
3727 (RDI_LP): Likewise.
3728 (RSI_LP): Likewise.
3729 (RSP_LP): Likewise.
3730 (R8_LP): Likewise.
3731 (R9_LP): Likewise.
3732 (R10_LP): Likewise.
3733 (R10_LP): Likewise.
3734 (R11_LP): Likewise.
3735 (R12_LP): Likewise.
3736 (R13_LP): Likewise.
3737 (R14_LP): Likewise.
3738 (R15_LP): Likewise.
3739
b985be81
L
37402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3741
3742 * sysdeps/x86_64/x32/dl-machine.h: New file.
3743
6a4888ff
AJ
37442012-05-14 Andreas Jaeger <aj@suse.de>
3745
3746 * manual/Makefile (subdir): Remove export of subdir.
3747 (all): Remove target.
3748 (.PHONY): Remove all from list.
3749 (mkinstalldirs): Remove.
3750 (.PHONY): Remove installdirs from list.
3751 ($(inst_infodir)/libc.info): Use make-target-directory.
3752 (installdirs): Remove.
3753 (subdir_%): Remove.
3754 (glibc-targets): Remove.
3755 (lib): Remove.
3756 (stubs): Remove.
3757 ($(objpfx)stubs ../po/manual.pot): Remove.
3758 ($(objpfx)stamp%): Remove.
3759 (make-target-directory): Remove.
3760 (subdir_install): Remove.
3761 (routines): Remove.
3762 (aux): Remove.
3763 (sources): Remove.
3764 (objects): Remove.
3765 (headers): Remove.
3766
3767 [BZ #13750]
3768 * manual/.gitignore: Remove, it's not needed anymore.
3769 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3770 all files in it.
3771 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3772 directory.
3773 (texis): Renamed to $(objpfx)texis.
3774 (texis-path): New, contains path to generated files.
3775 (chapters.%): Use texis-path for complete path, add extra argument
3776 libc-texinfo.sh.
3777 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3778 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3779 (summary,texi, stamp-summary): Use complete path of
3780 files. Generate files in build dir.
3781 (dir-add.texi): Build in build dir.
3782 (libm-err.texi,stamp-libm-err): Likewise.
3783 (version.texi, stamp-version): Likewise.
3784 (.%c.texi): Likewise.
3785 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3786 (mostlyclean): Remove target.
3787 (realclean): Remove target.
3788 (generated): Add new variable with contents from mostlyclean and
3789 realclean, remove entries duplicated in common-mostlyclean, add
3790 stamp-libm-err and stamp-version.
3791 (generated-dirs): Add libc directory.
3792 ($(inst_infodir)/libc.info): Install files from build dir.
3793
3794 * manual/install.texi (Configuring and compiling): Adjust since
3795 the info files are not part of the tar ball anymore.
3796
7ac77294
AJ
37972012-05-14 Andreas Jaeger <aj@suse.de>
3798
3799 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3800 variable.
3801
ffb7875d
JM
38022012-05-14 Joseph Myers <joseph@codesourcery.com>
3803
3804 [BZ #13717]
3805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3806 to 2.2.0 where earlier.
3807 * sysdeps/unix/sysv/linux/configure: Regenerated.
3808 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3809 Remove conditional code.
3810 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3811 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3812 Remove conditional code.
3813 [!__NR_lchown]: Likewise.
3814 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3815 [__NR_lchown]: Likewise.
3816 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3817 comment referencing __ASSUME_LCHOWN_SYSCALL.
3818 * sysdeps/unix/sysv/linux/i386/sigaction.c
3819 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3820 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3822 Remove conditional code.
3823 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3824 (__protocol_available): Remove #if 0 code.
3825 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3826 conditional code.
3827 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3828 * sysdeps/unix/sysv/linux/kernel-features.h
3829 (__ASSUME_GETCWD_SYSCALL): Don't define.
3830 (__ASSUME_REALTIME_SIGNALS): Likewise.
3831 (__ASSUME_PREAD_SYSCALL): Likewise.
3832 (__ASSUME_PWRITE_SYSCALL): Likewise.
3833 (__ASSUME_POLL_SYSCALL): Likewise.
3834 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3835 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3836 non-SPARC.
3837 (__ASSUME_SIOCGIFNAME): Don't define.
3838 (__ASSUME_MSG_NOSIGNAL): Likewise.
3839 (__ASSUME_SENDFILE): Define unconditionally.
3840 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3841 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3842 conditional code.
3843 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3844 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3845 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3846 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3847 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3848 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3849 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3863 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3866 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3869 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3872 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3874 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3875 Remove conditional code.
3876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3877 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3878 Remove conditional code.
3879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3880 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3881 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3882 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3883 Remove conditional code.
3884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3885 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3886 Remove conditional code.
3887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3888 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3889 Remove conditional code.
3890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3891 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3892 Remove conditional code.
3893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3894 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3895 Remove conditional code.
3896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3897 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3900 * sysdeps/unix/sysv/linux/sigaction.c
3901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3903 * sysdeps/unix/sysv/linux/sigpending.c
3904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3906 * sysdeps/unix/sysv/linux/sigprocmask.c
3907 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3908 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3909 * sysdeps/unix/sysv/linux/sigsuspend.c
3910 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3911 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3912 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3913 (__libc_missing_rt_sigs): Remove.
3914 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3915 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3916 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3917 Remove conditional code.
3918 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3919 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3920 return 1.
3921 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3922 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3923 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3924 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3925
1bfb7291
AJ
39262012-05-14 Andreas Jaeger <aj@suse.de>
3927
caae5a81
AJ
3928 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3929 it's not used in glibc.
3930 (__coshm1): Likewise.
3931 (__acosh1p): Likewise.
3932 (__sgn): Likewise.
3933
1bfb7291
AJ
3934 * manual/string.texi (Copying and Concatenation): Add missing
3935 variable in concat example.
3936 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3937
c044d724
L
39382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3939
144c5467 3940 [BZ #14103]
c044d724
L
3941 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3942 __builtin_clzl with __builtin_clzll.
3943
2523c62b
L
39442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3945
3946 [BZ #14104]
3947 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3948 libc_freeres_ptr.
3949
d7bb4c42
LD
39502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3951
3952 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3953 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3954 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3955 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3956
9dc4e1fb
MF
39572012-05-14 Mike Frysinger <vapier@gentoo.org>
3958
3959 * NEWS: Update ia64 info.
3960
c7df0112
AS
39612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3962
3963 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3964 used as bcopy.
3965
dc70356c
TS
39662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3967
3968 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3969 * sysdeps/unix/syscalls.list (dup3): Likewise.
3970 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3971 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3972
9fb1a21f
L
39732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3976 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3977
4822a2a5
L
39782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3981 thread pointer.
3982 (TLS_IE): Use mov/add instead of movq/addq to load thread
3983 pointer.
3984 (TLS_GD_PREFIX): New.
3985 (TLS_GD): Use it.
3986
842b81d6
DM
39872012-05-11 David S. Miller <davem@davemloft.net>
3988
3989 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3990 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3991 (_FPU_SETCW): Likewise.
3992
1cf463cd
L
39932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3994
3995 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3996 is 32-byte aligned.
3997
60cc4a18
AS
39982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3999
4000 [BZ #11837]
4001 * iconvdata/gb18030.c: Update tables.
4002 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
4003 characters specially.
4004 (BODY for TO_LOOP): Add encoding of missing ranges.
4005
febb44a4
TS
40062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
4007
4008 [BZ #13673]
4009 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
4010 * sysdeps/mach/hurd/dup3.c: Likewise.
4011 * sysdeps/mach/hurd/readlinkat.c: Likewise.
4012 * sysdeps/powerpc/memmove.c:: Likewise.
4013
0a10fb9e
L
40142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4015
4016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
4017 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
4018
df8a552f
L
40192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4020
4021 * elf/elf.h (R_X86_64_RELATIVE64): New.
4022 (R_X86_64_NUM): Updated.
4023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4024 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
4025 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
4026 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
4027 tst-quad1pie tst-quad2pie
4028 (modules-names): Add tst-quadmod1 tst-quadmod2.
4029 ($(objpfx)tst-quad1): New dependency.
4030 ($(objpfx)tst-quad2): Likewise.
4031 ($(objpfx)tst-quad1pie): Likewise.
4032 ($(objpfx)tst-quad2pie): Likewise.
4033 * sysdeps/x86_64/tst-quad1.c: New file.
4034 * sysdeps/x86_64/tst-quad1pie.c: New file.
4035 * sysdeps/x86_64/tst-quad2.c: Likewise.
4036 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
4037 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
4038 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
4039 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
4040 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
4041
f34d6f84
ST
40422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4043
f42d41d1
ST
4044 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
4045 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
4046 * streams/stropts.h (t_scalar_t): Define type.
4047
3c3571fc
ST
4048 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
4049 (_PATH_PRESERVE): Set to "/var/lib".
4050 (_PATH_RWHODIR): Set to "/var/spool/rwho".
4051
61f06bd3
ST
4052 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
4053 instead of int.
4054
918d4d71
ST
4055 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
4056 if __dir_mkfile succeeded.
4057
f34d6f84
ST
4058 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
4059 checking for _hurd_dtablesize. Unlock it right after having
4060 finished _hurd_dtable allocation.
4061
10589b4a
TS
40622012-05-10 Thomas Schwinge <thomas@schwinge.name>
4063
674cdbc7
TS
4064 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
4065 * sysdeps/mach/hurd/configure: Regenerated.
4066 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
4067 special-casing to...
4068 * sysdeps/gnu/configure.in: ... this new file.
4069 * sysdeps/unix/sysv/linux/configure: Regenerated.
4070 * sysdeps/gnu/configure: New generated file.
4071
8e41b99f
TS
4072 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
4073 for Linux: use nsec instead of usec, as well as:
4074 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
4075 members of type struct timespec.
4076 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
4077 New macros.
4078 (struct stat64): Likewise.
4079 (_STATBUF_ST_NSEC): New macro.
4080 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4081
10589b4a
TS
4082 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4083 __strtoul_internal rather than strtoul.
4084
63643c85
PT
40852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4086
4087 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4088 and reject them.
4089
3faebe6a
ST
40902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4091
4092 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4093 which preserves existing values.
4094 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4095
c6474b07
PT
40962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4097
4098 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4099 TIMEOUT values. Return EINVAL for NFDS values either negative or
4100 greater than FD_SETSIZE.
4101
1043890b
ST
41022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4103
4104 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4105 allocated, call __vm_protect to finish enabling the existing space, and
4106 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4107 allocate the remainder.
4108
37ed8b9b
PT
41092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4110
4111 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4112 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4113
db653660
ST
41142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4115
37ed8b9b
PT
4116 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4117 sysdeps/mach/hurd/readlink.c.
b29d4053 4118
db653660
ST
4119 * posix/tst-sysconf.c (posix_options): Only use
4120 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4121 _POSIX_SYNCHRONIZED_IO when they are defined
4122 * sysdeps/mach/hurd/bits/posix_opt.h:
4123 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4124 (_XOPEN_REALTIME): Undefine macro.
4125 (_XOPEN_REALTIME_THREADS): Undefine macro.
4126 (_XOPEN_SHM): Undefine macro.
4127 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4128 macro to -1.
4129 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4130 macro to -1.
4131 (_POSIX_ASYNC_IO): Undefine macro.
4132 (_POSIX_PRIORITIZED_IO): Undefine macro.
4133 (_POSIX_SPIN_LOCKS): Define macro to -1.
4134
ee16e894
ST
4135 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4136 SA_NODEFER, SA_RESETHAND.
4137 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4138 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4139 F_DUPFD_CLOEXEC.
4140
6103ae3b
TS
41412012-05-10 Thomas Schwinge <thomas@schwinge.name>
4142
4143 * elf/Makefile (pldd-modules): Define unconditionally.
4144
80b4e5f3
TS
41452012-05-10 Thomas Schwinge <thomas@schwinge.name>
4146
4147 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4148
edadcbd6
ST
41492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4150
4151 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4152 Return ENOENT when name is empty.
4153 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4154
80694780
TS
41552012-05-10 Thomas Schwinge <thomas@schwinge.name>
4156
1792c087
TS
4157 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4158
80694780
TS
4159 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4160
6b645f0d
ST
41612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4162
80694780
TS
4163 Fix mlock in all cases except non-readable pages.
4164 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4165 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4166
6b645f0d
ST
4167 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4168 (__mkdir): When path is `/', just fail with EEXIST.
4169 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4170
e468f8a3
TS
41712012-05-10 Thomas Schwinge <thomas@schwinge.name>
4172
4173 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4174 <sys/uio.h> (for writev).
4175 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4176 and <sys/param.h> (for MIN).
4177
a4186cff
PT
41782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4179
4180 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4181 REQUESTED_TIME. Properly set the remaining time and return EINTR
4182 if interrupted.
4183
510bbf14
TS
41842012-05-10 Thomas Schwinge <thomas@schwinge.name>
4185
4186 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4187 Depend on against $(link-rpcuserlibs).
4188
5d5722e8
ST
41892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4190
a4186cff
PT
4191 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4192 (__libc_stack_end): Do not use attribute_relro.
4193 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4194 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4195 to libthread-provided value.
a4186cff
PT
4196 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4197 attribute_relro.
5d5722e8 4198
37233df9
TS
41992012-05-10 Thomas Schwinge <thomas@schwinge.name>
4200
be971a2b
TS
4201 [BZ #3748]
4202 * bits/libc-lock.h (__libc_once_get): New macro.
4203 * sysdeps/mach/bits/libc-lock.h: Likewise.
4204 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4206 instead of using implementation details.
4207
37233df9
TS
4208 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4209 * libio/freopen.c: Likewise.
4210 * libio/freopen64.c: Likewise.
4211 * misc/syslog.c: Likewise.
4212 * nscd/connections.c: Likewise.
4213 * nscd/netgroupcache.c: Likewise.
4214 * sysdeps/posix/getcwd.c: Likewise.
4215
38de94a5
RM
42162012-05-10 Roland McGrath <roland@hack.frob.com>
4217
4218 * math/w_ilogbf.c: Add #include <limits.h>.
4219
67530489
ST
42202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4221
a4186cff 4222 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4223 path instead of returning without unlocking.
4224
67530489
ST
4225 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4226 immediate-write ioctls.
4227 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4228
5aa3a74a
TS
42292012-05-10 Thomas Schwinge <thomas@schwinge.name>
4230
18bad2ae
TS
4231 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4232 __builtin_frame_address instead of making assumptions about the
4233 location of the return address relative to DATA. Force early load of
4234 the return address.
4235 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4236 __builtin_frame_address.
4237
5aa3a74a
TS
4238 dup3 for GNU Hurd.
4239 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4240 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4241 implement dup3 and do some further code clean-ups.
4242 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4243 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4244
ecd0de9a
ST
42452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4246
cd9fa985
ST
4247 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4248
a4186cff
PT
4249 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4250 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4251 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4252 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4253 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4254 d->port.lock.
802ca5a5 4255
a4186cff
PT
4256 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4257 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4258 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4259
bcf55240
TS
42602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4261
6960eb42
TS
4262 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4263 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4264 definitions.
4265
eb43375f
TS
4266 accept4 for GNU Hurd.
4267 * include/sys/socket.h (__libc_accept4): New prototype.
4268 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4269 to implement __libc_accept4.
4270 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4271 __libc_accept4.
4272 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4273
bcf55240
TS
4274 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4275 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4276 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4277 signal-defines.sym.
4278
6178c55b
ST
42792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4280
a4186cff 4281 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4282
6f080c2f
TS
42832012-05-10 Thomas Schwinge <thomas@schwinge.name>
4284
4285 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4286 assertion on O_CLOEXEC flag.
4287 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4288 * hurd/intern-fd.c: Likewise.
4289 * hurd/port2fd.c: Likewise.
4290
bcfe3a54
ST
42912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4292
4293 [BZ #3906]
4294 * bits/in.h (IPV6_PKTINFO): Define new macro.
4295 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4296
89c9aa49
AZ
42972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4298
4299 [BZ #13954]
4300 [BZ #13955]
4301 [BZ #13956]
4302 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4304 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4305 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4307 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4308 * math/libm-test.inc (logb_test) : Additional logb tests.
4309
021db4be
AJ
43102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4311 Andreas Jaeger <aj@suse.de>
4312
4313 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4314 * configure: Regenerated.
4315 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4316 * config.make.in (link-obsolete-rpc): New substituted variable.
4317 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4318 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4319 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4320 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4321 so that libc.a contains the symbols.
4322 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4323 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4324 * sunrpc/auth_none.c: Likewise.
4325 * sunrpc/auth_unix.c: Likewise.
4326 * sunrpc/authdes_prot.c: Likewise.
4327 * sunrpc/authuxprot.c: Likewise.
4328 * sunrpc/clnt_gen.c: Likewise.
4329 * sunrpc/clnt_perr.c: Likewise.
4330 * sunrpc/clnt_raw.c: Likewise.
4331 * sunrpc/clnt_simp.c: Likewise.
4332 * sunrpc/clnt_tcp.c: Likewise.
4333 * sunrpc/clnt_udp.c: Likewise.
4334 * sunrpc/clnt_unix.c: Likewise.
4335 * sunrpc/des_crypt.c: Likewise.
4336 * sunrpc/des_soft.c: Likewise.
4337 * sunrpc/get_myaddr.c: Likewise.
4338 * sunrpc/key_call.c: Likewise.
4339 * sunrpc/key_prot.c: Likewise.
4340 * sunrpc/netname.c: Likewise.
4341 * sunrpc/pm_getmaps.c: Likewise.
4342 * sunrpc/pm_getport.c: Likewise.
4343 * sunrpc/pmap_clnt.c: Likewise.
4344 * sunrpc/pmap_prot.c: Likewise.
4345 * sunrpc/pmap_prot2.c: Likewise.
4346 * sunrpc/pmap_rmt.c: Likewise.
4347 * sunrpc/publickey.c: Likewise.
4348 * sunrpc/rpc_cmsg.c: Likewise.
4349 * sunrpc/rpc_common.c: Likewise.
4350 * sunrpc/rpc_dtable.c: Likewise.
4351 * sunrpc/rpc_prot.c: Likewise.
4352 * sunrpc/rpc_thread.c: Likewise.
4353 * sunrpc/rtime.c: Likewise.
4354 * sunrpc/svc.c: Likewise.
4355 * sunrpc/svc_auth.c: Likewise.
4356 * sunrpc/svc_raw.c: Likewise.
4357 * sunrpc/svc_run.c: Likewise.
4358 * sunrpc/svc_tcp.c: Likewise.
4359 * sunrpc/svc_udp.c: Likewise.
4360 * sunrpc/svc_unix.c: Likewise.
4361 * sunrpc/svcauth_des.c: Likewise.
4362 * sunrpc/xcrypt.c: Likewise.
4363 * sunrpc/xdr.c: Likewise.
4364 * sunrpc/xdr_array.c: Likewise.
4365 * sunrpc/xdr_float.c: Likewise.
4366 * sunrpc/xdr_intXX_t.c: Likewise.
4367 * sunrpc/xdr_mem.c: Likewise.
4368 * sunrpc/xdr_rec.c: Likewise.
4369 * sunrpc/xdr_ref.c: Likewise.
4370 * sunrpc/xdr_sizeof.c: Likewise.
4371 * sunrpc/xdr_stdio.c: Likewise.
4372
b5c086a2
RM
43732012-05-10 Roland McGrath <roland@hack.frob.com>
4374
4375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4376 change. Update copyright years.
4377
6d74dd09
JM
43782012-05-10 Joseph Myers <joseph@codesourcery.com>
4379
4380 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4381
28e72501
MK
43822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4383 Joseph Myers <joseph@codesourcery.com>
4384 Paul Pluzhnikov <ppluzhnikov@google.com>
4385
4386 [BZ #14012]
4387 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4388 requiring rpcgen.
4389 [cross-compiling] (extra-libs): Likewise.
4390 [cross-compiling] (extra-libs-others): Likewise.
4391 [cross-compiling] (librpcsvc-routines): Likewise.
4392 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4393 [cross-compiling] (omit-deps): Likewise.
4394 (sunrpc-CPPFLAGS): New variable.
4395 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4396 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4397 (cross-rpcgen-objs): New variable.
4398 (extra-objs): Append $(cross-rpcgen-objs).
4399 ($(cross-rpcgen-objs)): New rule.
4400 ($(objpfx)cross-rpcgen): Likewise.
4401 (rpcgen-cmd): Define to use $(built-program-file). Expand
4402 comment.
4403 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4404 ($(objpfx)x%.stmp): Likewise.
4405 * sunrpc/proto.h [IS_IN_build] (_): Define.
4406 [IS_IN_build] (_libc_intl_domainname): Likewise.
4407
c8c59454
L
44082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4409
4410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4411 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4412 and R_X86_64_TPOFF64.
4413
6f27cd16
JM
44142012-05-10 Joseph Myers <joseph@codesourcery.com>
4415
4416 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4417 sysdeps/unix/sysv/syscalls.list.
4418 (stime): Likewise.
4419 (utime): Likewise.
4420 * sysdeps/unix/sysv/syscalls.list: Remove file.
4421
02467e1c
PE
44222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4423
4424 [BZ #3440]
4425 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4426 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4427 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4428 (__LC_IDENTIFICATION): Make these macros useful in #if
4429 expressions, as required by C99.
4430
da392631
AS
44312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4432
4433 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4434 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4435 after this.
4436
8115f29b
L
44372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * stdlib/longlong.h: Updated from GCC.
4440
bdd74070
AJ
44412012-05-09 Andreas Jaeger <aj@suse.de>
4442
edfe0dbe
AJ
4443 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4444 default is first entry.
4445 (run_mode): Set type.
4446 (main): Remove informal message about syslog.
4447 (options): Fix typo.
4448
bcfe3a54
ST
4449 [BZ #14053]
4450 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4451 to asm.
bcfe3a54
ST
4452 (lrint): Likewise.
4453 (llrintf): Likewise.
4454 (llrint): Likewise.
4455 (rint): Likewise.
4456 (rintf): Likewise.
4457 (nearbyint): Likewise.
4458 (nearbyintf): Likewise.
bdd74070 4459
91d8d69e
AJ
44602012-05-09 Andreas Jaeger <aj@suse.de>
4461 Pedro Alves <palves@redhat.com>
4462
4463 * nscd/nscd.c (run_mode): Use enum.
4464 (main): Cleanup coding style issue.
4465
bb90b80b
AJ
44662012-05-09 Alexandre Oliva <aoliva@redhat.com>
4467 Andreas Jaeger <aj@suse.de>
4468
bcfe3a54
ST
4469 * nscd/nscd.c (go_background): Replaced with...
4470 (run_mode): ... this.
bb90b80b 4471 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4472 (options): Add -F --foreground.
4473 (main): Implement it.
4474 (parse_opt): Parse it.
bb90b80b 4475
1a4b75a1
AJ
44762012-05-09 Andreas Jaeger <aj@suse.de>
4477
4478 [BZ #14083]
4479 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4480 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4481 -Wconversion warning.
4482 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4483 Likewise.
4484
b1cc2472
JM
44852012-05-09 Joseph Myers <joseph@codesourcery.com>
4486
4487 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4488 == 0.
4489 (LC_ALL): Use macro-int-constant.
4490 (LC_COLLATE): Likewise.
4491 (LC_CTYPE): Likewise.
4492 (LC_MESSAGES): Likewise.
4493 (LC_MONETARY): Likewise.
4494 (LC_NUMERIC): Likewise.
4495 (LC_TIME): Likewise.
4496 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4497 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4499 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4500 Specify type.
4501 [C99-based standards] (float_t): Expect type.
4502 [C99-based standards] (double_t): Expect type.
4503 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4504 type.
4505 [C99-based standards] (HUGE_VALL): Likewise.
4506 [C99-based standards] (INFINITY): Likewise.
4507 [C99-based standards] (NAN): Likewise.
4508 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4509 [C99-based standards] (FP_NAN): Likewise.
4510 [C99-based standards] (FP_NORMAL): Likewise.
4511 [C99-based standards] (FP_SUBNORMAL): Likewise.
4512 [C99-based standards] (FP_ZERO): Likewise.
4513 [C99-based standards] (FP_FAST_FMA): Use
4514 optional-macro-int-constant. Specify type. Require == 1.
4515 [C99-based standards] (FP_FAST_FMAF): Likewise.
4516 [C99-based standards] (FP_FAST_FMAL): Likewise.
4517 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4518 [C99-based standards] (FP_ILOGBNAN): Likewise.
4519 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4520 Specify type.
4521 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4522 [C99-based standards] (math_errhandling): Specify type.
4523 [ISO99 || ISO11] (signgam): Do not allow.
4524 [non-C99-based standards] (copysignf): Do not allow.
4525 [non-C99-based standards] (exp2f): Likewise.
4526 [non-C99-based standards] (log2f): Likewise.
4527 [non-C99-based standards] (modff): Allow.
4528 [non-C99-based standards] (erff): Do not allow.
4529 [non-C99-based standards] (erfcf): Likewise.
4530 [non-C99-based standards] (gammaf): Likewise.
4531 [non-C99-based standards] (hypotf): Likewise.
4532 [non-C99-based standards] (j0f): Likewise.
4533 [non-C99-based standards] (j1f): Likewise.
4534 [non-C99-based standards] (jnf): Likewise.
4535 [non-C99-based standards] (lgammaf): Likewise.
4536 [non-C99-based standards] (tgammaf): Likewise.
4537 [non-C99-based standards] (y0f): Likewise.
4538 [non-C99-based standards] (y1f): Likewise.
4539 [non-C99-based standards] (ynf): Likewise.
4540 [non-C99-based standards] (isnanf): Likewise.
4541 [non-C99-based standards] (acoshf): Likewise.
4542 [non-C99-based standards] (asinhf): Likewise.
4543 [non-C99-based standards] (atanhf): Likewise.
4544 [non-C99-based standards] (cbrtf): Likewise.
4545 [non-C99-based standards] (expm1f): Likewise.
4546 [non-C99-based standards] (ilogbf): Likewise.
4547 [non-C99-based standards] (log1pf): Likewise.
4548 [non-C99-based standards] (logbf): Likewise.
4549 [non-C99-based standards] (nextafterf): Likewise.
4550 [non-C99-based standards] (remainderf): Likewise.
4551 [non-C99-based standards] (rintf): Likewise.
4552 [non-C99-based standards] (scalbf): Likewise.
4553 [non-C99-based standards] (copysignl): Likewise.
4554 [non-C99-based standards] (exp2l): Likewise.
4555 [non-C99-based standards] (log2l): Likewise.
4556 [non-C99-based standards] (modfl): Allow.
4557 [non-C99-based standards] (erfl): Do not allow.
4558 [non-C99-based standards] (erfcl): Likewise.
4559 [non-C99-based standards] (gammal): Likewise.
4560 [non-C99-based standards] (hypotl): Likewise.
4561 [non-C99-based standards] (j0l): Likewise.
4562 [non-C99-based standards] (j1l): Likewise.
4563 [non-C99-based standards] (jnl): Likewise.
4564 [non-C99-based standards] (lgammal): Likewise.
4565 [non-C99-based standards] (tgammal): Likewise.
4566 [non-C99-based standards] (y0l): Likewise.
4567 [non-C99-based standards] (y1l): Likewise.
4568 [non-C99-based standards] (ynl): Likewise.
4569 [non-C99-based standards] (isnanl): Likewise.
4570 [non-C99-based standards] (acoshl): Likewise.
4571 [non-C99-based standards] (asinhl): Likewise.
4572 [non-C99-based standards] (atanhl): Likewise.
4573 [non-C99-based standards] (cbrtl): Likewise.
4574 [non-C99-based standards] (expm1l): Likewise.
4575 [non-C99-based standards] (ilogbl): Likewise.
4576 [non-C99-based standards] (log1pl): Likewise.
4577 [non-C99-based standards] (logbl): Likewise.
4578 [non-C99-based standards] (nextafterl): Likewise.
4579 [non-C99-based standards] (remainderl): Likewise.
4580 [non-C99-based standards] (rintl): Likewise.
4581 [non-C99-based standards] (scalbl): Likewise.
4582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4583 [non-C99-based standards] (FP_*): Do not allow.
4584 [C99-based standards] (FP_*): Change to
4585 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4586 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4587 allow.
4588 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4589 (SIG_ERR): Likewise.
4590 [X/Open-based standards] (SIG_HOLD): Likewise.
4591 (SIG_IGN): Likewise.
4592 (SIGABRT): Use macro-int-constant. Specify type. Require
4593 positive value.
4594 (SIGFPE): Likewise.
4595 (SIGILL): Likewise.
4596 (SIGINT): Likewise.
4597 (SIGSEGV): Likewise.
4598 (SIGTER): Likewise.
4599 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4600 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4601 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4602 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4603 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4604 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4605 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4606 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4607 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4608 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4609 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4610 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4611 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4612 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4613 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4614 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4615 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4616 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4617 [X/Open-based standards] (SIGTRAP): Likewise.
4618 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4619 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4620 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4621 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4622 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4623 allow.
4624
b9f1922d
IW
46252012-05-08 Ian Wienand <ianw@vmware.com>
4626
4627 [BZ #14080]
4628 * time/tzset.c (__tzset_parse_tz): Update default rules for
4629 daylight time changes in the Energy Policy Act of 2005.
4630
1db86e88
AJ
46312012-05-09 Andreas Jaeger <aj@suse.de>
4632
4633 [BZ #13983]
4634 * elf/ldconfig.c (parse_conf): Change string to make clear that
4635 ldconfig only issued a warning if ld.so.conf does not exist.
4636
dee4a4e3
DM
46372012-05-08 David S. Miller <davem@davemloft.net>
4638
ee0db190
DM
4639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4640 movxtod instead of popping the value on the stack.
4641
dee4a4e3
DM
4642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4643
6a43ec98
CD
46442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4645
4646 * config.h.in: Add HAVE_ARM_PCS_VFP.
4647
05c2c961
RMG
46482012-05-08 Roland Mc Grath <roland@hack.frob.com>
4649
bcfe3a54
ST
4650 [BZ #13979]
4651 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4652 checking but the checks are disabled for any reason.
05c2c961 4653
4b30f61a
L
46542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4655
4656 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4657 and ELF64_R_TYPE with ELFW(R_TYPE).
4658
eee2bc67
JM
46592012-05-08 Joseph Myers <joseph@codesourcery.com>
4660
7ea5391a
JM
4661 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4662 (ulimit): Likewise.
4663
eee2bc67
JM
4664 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4665 (settimeofday): Likewise.
4666
abb66a67
MF
46672012-05-08 Mike Frysinger <vapier@gentoo.org>
4668
4669 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4670 a struct th_u2 inside the union, and move tu_block/tu_code into
4671 a new th_u3 union of tu_block/tu_code inside of that. Move
4672 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4673 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4674 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4675 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4676 (th_stuff): Change to th_u1.tu_stuff.
4677 (th_data): Define.
4678 (th_msg): Change to th_u1.th_u2.tu_data.
4679
7f18b530
DM
46802012-05-07 David S. Miller <davem@davemloft.net>
4681
05760585
DM
4682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4683
7f18b530
DM
4684 [BZ #14074]
4685 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4686 (SETUP_PIC_REG): Use it.
4687 (SETUP_PIC_REG_LEAF): Use it.
4688
495fd99f
JM
46892012-05-07 Joseph Myers <joseph@codesourcery.com>
4690
4691 [BZ #13885]
4692 [BZ #13923]
4693 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4694 USE_AS_EXPM1L.
4695 (EXPL_FINITE): Likewise.
4696 (FLDLOG): Likewise.
4697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4698 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4699 e_expl.S.
4700 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4701 USE_AS_EXPM1L.
4702 (EXPL_FINITE): Likewise.
4703 (FLDLOG): Likewise.
4704 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4705 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4706 e_expl.S.
4707 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4708 test of -max_value argument for long double.
4709 * sysdeps/i386/fpu/libm-test-ulps: Update.
4710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4711
6693d694
DM
47122012-05-06 David S. Miller <davem@davemloft.net>
4713
4714 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4715 quad soft-float symbols whose references which are compiler
4716 generated.
4717 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4718
6c23e11c
JM
47192012-05-06 Joseph Myers <joseph@codesourcery.com>
4720
d8b82cad
JM
4721 [BZ #13884]
4722 [BZ #13914]
4723 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4724 USE_AS_EXP10L.
4725 (EXPL_FINITE): Likewise.
4726 (FLDLOG): Likewise.
4727 (c0): Likewise.
4728 (c1): Likewise.
4729 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4730 Adjust comments for base varying.
4731 (__expl_finite): Change alias to EXPL_FINITE.
4732 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4733 e_expl.S.
4734 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4735 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4737 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4738 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4739 USE_AS_EXP10L.
4740 (EXPL_FINITE): Likewise.
4741 (FLDLOG): Likewise.
4742 (c0): Likewise.
4743 (c1): Likewise.
4744 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4745 Adjust comments for base varying.
4746 (__expl_finite): Change alias to EXPL_FINITE.
4747 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4748 tests for bugs.
4749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4750
6c23e11c
JM
4751 [BZ #14064]
4752 * math/libm-test.inc (check_float_internal): Correct ulp
4753 calculation for subnormal expected results.
4754
29ba805c
AJ
47552012-05-06 Andreas Jaeger <aj@suse.de>
4756
4757 * Makeconfig (+math-flags): New, set to -frounding-math.
4758 (+cflags): Add +math-flags so that all of glibc gets compiled with
4759 it.
4760
4761 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4762
7b17aeda
JM
47632012-05-05 Joseph Myers <joseph@codesourcery.com>
4764
5779f134
JM
4765 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4766 Disable one test.
4767
41498f4d
JM
4768 [BZ #13787]
4769 [BZ #13922]
4770 [BZ #14036]
4771 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4772 (__ieee754_expl): Allow for and saturate large arguments.
4773 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4774 (u_threshold): Likewise.
4775 (__exp): Call __ieee754_exp before checking for overflow and
4776 underflow.
4777 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4778 (u_threshold): Likewise.
4779 (__expf): Call __ieee754_expf before checking for overflow and
4780 underflow.
4781 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4782 (u_threshold): Likewise.
4783 (__expl): Call __ieee754_expl before checking for overflow and
4784 underflow.
4785 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4786 (__ieee754_expl): Allow for and saturate large arguments.
4787 * math/libm-test.inc (exp_test): Add another test. Do not allow
4788 missing overflow exception on overflow.
4789 (expm1_test): Do not allow missing overflow exception on overflow.
4790
6698b8bf
JM
4791 * sysdeps/i386/fpu/e_expl.c: Move to ...
4792 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4793 rather than using inline asm.
4794 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4795 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4796 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4797
7b17aeda
JM
4798 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4799 (nice): Likewise.
4800 (poll): Likewise.
4801 (signal): Likewise.
4802 (time): Likewise.
4803 (times): Likewise.
4804
f7c85819
JM
48052012-05-04 Joseph Myers <joseph@codesourcery.com>
4806
4807 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4808 sysdeps/unix/common/syscalls.list.
4809 (fchmod): Likewise.
4810 (fchown): Likewise.
4811 (ftruncate): Likewise.
4812 (getrusage): Likewise.
4813 (gettimeofday): Likewise.
4814 (setpgid): Likewise.
4815 (setregid): Likewise.
4816 (setreuid): Likewise.
4817 (sigaction): Likewise.
4818 (truncate): Likewise.
4819 (vhangup): Likewise.
4820 * sysdeps/unix/common/syscalls.list: Remove file.
4821 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4822 * sysdeps/unix/sysv/linux/Implies: Likewise.
4823
336270d0
L
48242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4825
4826 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4828 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4829 Moved to ...
4830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4831 Here.
4832 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4833 to ...
4834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4835 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4836 to ...
4837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4838 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4839 to ...
4840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4841 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4842 to ...
4843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4844 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4845 to ...
4846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4847 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4848 to ...
4849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4850 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4851 to ...
4852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4853 Here.
4854 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4855 to ...
4856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4857 Here.
4858 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4859 to ...
4860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4861 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4862 Moved to ...
4863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4864 Here.
4865 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4866 to ...
4867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4868
d128e450
JM
48692012-05-04 Joseph Myers <joseph@codesourcery.com>
4870
fa8ee516
JM
4871 * sysdeps/unix/common/bits/dirent.h: Remove file.
4872 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4873
d128e450
JM
4874 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4875 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4876 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4877 * sysdeps/unix/bsd/isatty.c: Likewise.
4878 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4879 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4880 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4881
ff8faaf0 48822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4883
62881be4 4884 [BZ #13563]
31dc8730
AZ
4885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4886 long double comparison inaccuracies.
4887 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4889
6fef930c
AS
48902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4891
4892 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4894
8f203e6c
JM
48952012-05-04 Joseph Myers <joseph@codesourcery.com>
4896
4897 [BZ #14049]
4898 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4899 nonzero digits before rounding a hex value.
4900 * stdlib/tst-strtod.c (tests): Add another test.
4901
5197d9c2
AK
49022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4903
4904 * sysdeps/s390/fpu/libm-test-ulps: Update.
4905
f0c1dedf
AJ
49062012-05-03 Andreas Jaeger <aj@suse.de>
4907
4908 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4909 does not get optimized out.
4910 (malloc_opt_barrier): New.
4911
a65ef2ae 49122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4913 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4914
2b942cb7 4915 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4916 intermediate file deletion.
2b942cb7 4917 (generated): Add .symlist files.
a65ef2ae 4918
54b71e02
JM
49192012-05-03 Joseph Myers <joseph@codesourcery.com>
4920
4921 [BZ #13775]
4922 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4923 Redirect under this condition.
4924 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4925 [__USE_GNU] (__dprintf_chk): Not under this condition.
4926 [__USE_GNU] (__vdprintf_chk): Likewise.
4927 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4928 under this condition.
4929 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4930 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4931 [__USE_XOPEN2K8] (vdprintf): Likewise.
4932 [__USE_GNU] (__dprintf_chk): Not under this condition.
4933 [__USE_GNU] (__vdprintf_chk): Likewise.
4934 [__USE_GNU] (dprintf): Likewise.
4935 [__USE_GNU] (vdprintf): Likewise.
4936
d3dfcc41
RM
49372012-05-03 Roland McGrath <roland@hack.frob.com>
4938
4939 * elf/Makefile (common-generated): Set this instead of generated for
4940 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4941 $(all-built-dso)-derived lists.
4942
7ac30cc5
AJ
49432012-05-03 Andreas Jaeger <aj@suse.de>
4944
0c51e550
AJ
4945 * sysdeps/i386/fpu/libm-test-ulps: Update.
4946
7ac30cc5
AJ
4947 * FAQ: Removed.
4948 * FAQ.in: Likewise.
4949 * scripts/gen-FAQ.pl: Likewise.
4950 * manual/install.texi (Installation): Point to online location of
4951 FAQ.
4952 * Makefile (files-for-dist): Remove FAQ.
4953 (FAQ): Remove.
4954
d4c2917f
AM
49552012-05-02 Allan McRae <allan@archlinux.org>
4956
4957 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4958 (LDFLAGS-reldepmod5.so): Likewise.
4959 (LDFLAGS-reldep6mod1.so): Likewise.
4960 (LDFLAGS-reldep6mod4.so): Likewise.
4961 (LDFLAGS-reldep8mod3.so): Likewise.
4962 (LDFLAGS-unload4mod1.so): Likewise.
4963 (LDFLAGS-unload4mod2.so): Likewise.
4964 (LDFLAGS-tst-initorder): Likewise.
4965 (LDFLAGS-tst-initordera2.so): Likewise.
4966 (LDFLAGS-tst-initordera3.so): Likewise.
4967 (LDFLAGS-tst-initordera4.so): Likewise.
4968 (LDFLAGS-tst-initorderb2.so): Likewise.
4969 (LDFLAGS-noload): Likewise.
4970 (LDFLAGS-next): Likewise.
4971 (LDFLAGS-order2mod1.so): Likewise.
4972 (LDFLAGS-order2mod2.so): Likewise.
4973 (LDFLAGS-tst-initorder2): Likewise.
4974 (LDFLAGS-tst-initorder2a.so): Likewise.
4975 (LDFLAGS-tst-initorder2b.so): Likewise.
4976 (LDFLAGS-tst-initorder2c.so): Likewise.
4977 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4978
d77f993f
DM
49792012-05-02 David S. Miller <davem@davemloft.net>
4980
4981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4982
171a70b4
PP
49832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4984
4985 [BZ #14055]
4986 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4987
0be196ad
AJ
49882012-05-02 Andreas Jaeger <aj@suse.de>
4989
4990 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4991 since we manipulate rounding mode.
4992 (CPPFLAGS-test-idouble.c): Likewise.
4993 (CPPFLAGS-test-ifloat.c): Likewise.
4994 (CFLAGS-test-ldouble.c): Likewise.
4995 (CFLAGS-test-double.c): Likewise.
4996 (CFLAGS-test-float.c): Likewise.
4997 (CFLAGS-test-misc.c): Likewise.
4998 (CFLAGS-test-test-fenv.c): Likewise.
4999
4f9d04aa
AZ
50002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5001
2b942cb7
RM
5002 [BZ #2550]
5003 [BZ #2570]
5004 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
5005 comparisons to determine direction to adjust input.
4f9d04aa 5006
82a79e7d
RM
50072012-05-01 Roland McGrath <roland@hack.frob.com>
5008
f5a01ca9
RM
5009 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
5010 output to the target.
5011
90fe4186
RM
5012 * scripts/localplt.awk: New file.
5013 * elf/Makefile ($(objpfx)check-localplt): Target removed.
5014 (check-localplt-CFLAGS): Variable removed.
5015 ($(all-built-dso:=.jmprel)): New static pattern rule.
5016 (generated): Add those targets.
5017 (localplt-built-dso): New variable.
5018 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
5019
5020 * elf/check-localplt.c: File removed.
5021
82397ed6
RM
5022 * scripts/check-execstack.awk: New file.
5023 * elf/Makefile ($(objpfx)check-execstack): Target removed.
5024 (check-execstack-CFLAGS): Variable removed.
5025 ($(objpfx)check-execstack.h): Target removed.
5026 ($(objpfx)execstack-default): New target.
5027 (generated): Add that instead of check-execstack.h.
5028 ($(all-built-dso:=.phdr)): New static pattern rule.
5029 (generated): Add those targets.
5030 * elf/check-execstack.c: File removed.
5031
82a79e7d
RM
5032 * scripts/check-textrel.awk: New file.
5033 * elf/Makefile ($(objpfx)check-textrel): Target removed.
5034 (check-textrel-CFLAGS): Variable removed.
5035 (all-built-dso): Use := to define.o
5036 ($(all-built-dso:=.dyn)): New static pattern rule.
5037 (generated): Add those targets.
5038 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
5039 * config.make.in (READELF): New substituted variable.
5040 * elf/check-textrel.c: File removed.
5041
62fde54f 50422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 5043
615605c9
JM
5044 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5045 allow.
5046 * conform/data/ctype.h-data [C99-based standards] (isblank):
5047 Expect function.
5048 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
5049 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
5050 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5051 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
5052 Specify type. Require positive value.
5053 (EILSEQ): Likewise.
5054 (ERANGE): Likewise.
5055 [ISO || POSIX] (EILSEQ): Do not expect.
5056 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
5057 Specify type. Require positive value.
5058 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
5064 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
5070 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
5071 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
5073 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
5076 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
5077 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
5078 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
5079 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
5080 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5081 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5082 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5083 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5084 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5085 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5086 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5093 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5098 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5103 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5104 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5110 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5111 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5114 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5116 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5117 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5123 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5129 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5130 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5132 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5133 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5134 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5135 Require >= 2.
5136 (FLT_ROUNDS): Expect as macro, not constant.
5137 (FLT_MANT_DIG): Use macro-int-constant.
5138 (DBL_MANT_DIG): Likewise.
5139 (LDBL_MANT_DIG): Likewise.
5140 (FLT_DIG): Likewise.
5141 (DBL_DIG): Likewise.
5142 (LDBL_DIG): Likewise.
5143 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5144 (DBL_MIN_EXP): Likewise.
5145 (LDBL_MIN_EXP): Likewise.
5146 (FLT_MAX_EXP): Use macro-int-constant.
5147 (DBL_MAX_EXP): Likewise.
5148 (LDBL_MAX_EXP): Likewise.
5149 (FLT_MAX_10_EXP): Likewise.
5150 (DBL_MAX_10_EXP): Likewise.
5151 (LDBL_MAX_10_EXP): Likewise.
5152 (FLT_MAX): Use macro-constant.
5153 (DBL_MAX): Likewise.
5154 (LDBL_MAX): Likewise.
5155 (FLT_EPSILON): Use macro-constant. Give upper bound.
5156 (DBL_EPSILON): Likewise.
5157 (LDBL_EPSILON): Likewise.
5158 (FLT_MIN): Likewise.
5159 (DBL_MIN): Likewise.
5160 (LDBL_MIN): Likewise.
5161 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5162 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5163 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5164 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5165 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5166 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5167 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5168 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5169 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5170 [ISO11] (FLT_TRUE_MIN): Likewise.
5171 [ISO11] (LDBL_TRUE_MIN): Likewise.
5172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5173 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5174 (SCHAR_MIN): Use macro-int-constant. Specify type.
5175 (SCHAR_MAX): Likewise.
5176 (UCHAR_MAX): Likewise.
5177 (CHAR_MIN): Likewise.
5178 (CHAR_MAX): Likewise.
5179 (MB_LEN_MAX): Use macro-int-constant.
5180 (SHRT_MIN): Use macro-int-constant. Specify type.
5181 (SHRT_MAX): Likewise.
5182 (USHRT_MAX): Likewise.
5183 (INT_MAX): Likewise.
5184 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5185 bound negative.
5186 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5187 bound with "U".
5188 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5189 bound with "L".
5190 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5191 bound negative. Suffix upper bound with "L".
5192 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5193 bound with "UL".
5194 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5195 Specify type.
5196 [C99-based standards] (LLONG_MAX): Likewise.
5197 [C99-based standards] (ULLONG_MAX): Likewise.
5198 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5199 == 0.
5200 [ISO11] (max_align_t): Require type.
5201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5202
c9140a62
JM
5203 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5204 from $CFLAGS, without defining away __attribute__ calls.
5205 (checknamespace): Use $CFLAGS_namespace.
5206
9af0bf29
JM
5207 * conform/conformtest.pl (@keywords): Only include C99 keywords
5208 for standards based on C99 or C11.
5209
343222a2
JM
5210 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5211 Disable tests.
5212 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5213 UNIX98]: Likewise.
5214
661f8cf0
JM
5215 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5216 usability of symbols in #if.
5217
ee74b9cb
JM
5218 * conform/conformtest.pl: If macro or constant types start
5219 "promoted:", expect the symbol to be of the following type
5220 promoted by the integer promotions.
62fde54f 5221
aafc49b3
JM
5222 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5223 in one place. Also handle "macro-constant".
5224
fefdf574
JM
5225 * conform/conformtest.pl: Only accept expected macro values with
5226 "==". Parse all "macro" lines in one place.
5227 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5228
f2d922fe
JM
5229 * conform/conformtest.pl: Handle braced types on "constant" lines
5230 instead of handling "typed-constant".
5231 * conform/data/signal.h-data: Use "constant" instead of
5232 "typed-constant".
5233
d22956c9
JM
5234 * conform/conformtest.pl: Handle "optional-" at start of lines in
5235 one place rather than duplicating several cases. Handle each
5236 format of "macro" line with initial "optional-".
5237
028e2e38
JM
5238 * conform/conformtest.pl: Only accept expected constant or
5239 optional-constant values with "==". Parse all "constant" lines in
5240 one place. Parse all "optional-constant" lines in one place.
5241 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5242 * conform/data/fmtmsg.h-data: Likewise.
5243 * conform/data/netinet/in.h-data: Likewise.
5244 * conform/data/tar.h-data: Likewise.
5245 * conform/data/limits.h-data: Use "==" form on "constant" and
5246 "optional-constant" lines.
5247
1b8f2850
JM
5248 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5249 Use -std=c99 for XOPEN2K.
5250 (@knownproblems): Remove.
5251 (newtoken): Don't check %isknown.
5252
a05a144b
JM
5253 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5254 Do not expect macro.
5255 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5267 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5268 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5285 [XPG3] (acosh): Likewise.
5286 [XPG3] (asinh): Likewise.
5287 [XPG3] (atanh): Likewise.
5288 [XPG3] (cbrt): Likewise.
5289 [XPG3] (expm1): Likewise.
5290 [XPG3] (ilogb): Likewise.
5291 [XPG3] (log1p): Likewise.
5292 [XPG3] (logb): Likewise.
5293 [XPG3] (nextafter): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5296 [XPG3] (remainder): Likewise.
5297 [XPG3] (rint): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5305 [UNIX98 || XOPEN2K] (scalb): Expect.
5306 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5307 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5308 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5309 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5311 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5312 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5313 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5314 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5315 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5316 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5317 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5352 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5353 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5354 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5355 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5356 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5357 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5358 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5359 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5360 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5362 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5363 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5364 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5365 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5366 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5367 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5368 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5369 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5370 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5371 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5372 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5373 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5374 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5375 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5376 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5377 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5378 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5379 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5380 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5381 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5382 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5383 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5384 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5385 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5386 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5387 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5388 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5389 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5390 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5391 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5392 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5393 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5394 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5395 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5396 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5397 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5398 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5399 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5400 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5401 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5402 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5403 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5404 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5405 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5406 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5408 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5409 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5410 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5411 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5412 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5413 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5414 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5415 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5417 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5418 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5419 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5420 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5421 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5422 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5423 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5424 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5425 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5426 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5427 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5428 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5429 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5430 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5431 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5432 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5433 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5434 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5435 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5436 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5437 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5438 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5439 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5440 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5441 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5442 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5443
73c5ebe3
JM
5444 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5445 _XOPEN_SOURCE_EXTENDED for XPG4.
5446
39c33b6c
JM
5447 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5448
62fde54f
JM
5449 * Makeconfig (localtime): Remove variable.
5450 (inst_localtime-file): Likewise.
5451
0741d64c
AS
54522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5453
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5455 Update.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5457 Update.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5459 Update.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5461 Update.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5463 Update.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5465 Update.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5467 Update.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5469 Update.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5471 Update.
5472
7cb029ee
JM
54732012-05-01 Joseph Myers <joseph@codesourcery.com>
5474
5475 [BZ #2550]
5476 [BZ #2570]
5477 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5478 comparisons to determine direction to adjust input.
5479 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5480 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5481 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5482 Likewise.
5483 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5484 Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5486 Likewise.
5487 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5488 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5489 Likewise.
5490 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5491 Likewise.
5492 * math/libm-test.inc (nexttoward_test): Add more tests.
5493
412bd966
AS
54942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5495
5496 [BZ #14040]
5497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5498 in version GLIBC_2.1, not GLIBC_2.0.
5499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5500 Likewise.
5501
9568c0c2
JM
55022012-04-30 Joseph Myers <joseph@codesourcery.com>
5503
adfbc8ac
JM
5504 [BZ #13942]
5505 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5506 (1 - x) * (1 + x).
5507 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5508 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5509 * math/libm-test.inc (acos_test): Add more tests.
5510 (asin_test): Likewise.
5511 * sysdeps/i386/fpu/libm-test-ulps: Update.
5512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5513
5ba3cc69
JM
5514 [BZ #14034]
5515 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5516 of square root.
5517 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5518 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5519 * math/libm-test.inc (acos_test_tonearest): New function.
5520 (acos_test_towardzero): Likewise.
5521 (acos_test_downward): Likewise.
5522 (acos_test_upward): Likewise.
5523 (asin_test_tonearest): Likewise.
5524 (asin_test_towardzero): Likewise.
5525 (asin_test_downward): Likewise.
5526 (asin_test_upward): Likewise.
5527 (main): Call the new functions.
5528 * sysdeps/i386/fpu/libm-test-ulps: Update.
5529 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5530
9568c0c2
JM
5531 [BZ #13884]
5532 [BZ #13924]
5533 * math/e_exp10.c: Include <float.h>.
5534 (__ieee754_exp10): Handle underflow here rather than multiplying
5535 large negative argument by M_LN10.
5536 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5537 of __ieee754_expf.
5538 * math/e_exp10l.c: Include <float.h>.
5539 (__ieee754_exp10l): Handle underflow here rather than multiplying
5540 large negative argument by M_LN10l.
5541 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5542 spurious overflow exception on underflow.
5543
5ac3ea17
MP
55442012-04-29 Marek Polacek <polacek@redhat.com>
5545
5546 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5547 (__fortify_function): New macro.
5548 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5549 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5550 __extern_always_inline.
5551 * libio/bits/stdio2.h: Likewise.
5552 * libio/bits/stdio.h: Likewise.
5553 * string/string.h: Likewise.
5554 * string/bits/string3.h: Likewise.
5555 * include/stdio.h: Likewise.
5556 * stdlib/bits/stdlib.h: Likewise.
5557 * stdlib/stdlib.h: Likewise.
5558 * rt/bits/mqueue2.h: Likewise.
5559 * rt/mqueue.h: Likewise.
5560 * posix/bits/unistd.h: Likewise.
5561 * posix/unistd.h: Likewise.
5562 * io/bits/poll2.h: Likewise.
5563 * io/bits/fcntl2.h: Likewise.
5564 * io/fcntl.h: Likewise.
5565 * io/sys/poll.h: Likewise.
5566 * misc/bits/syslog.h: Likewise.
5567 * misc/bits/syslog-ldbl.h: Likewise.
5568 * misc/sys/syslog.h: Likewise.
5569 * socket/bits/socket2.h: Likewise.
5570 * socket/sys/socket.h: Likewise.
5571 * debug/tst-chk1.c: Likewise.
5572 * wcsmbs/bits/wchar2.h: Likewise.
5573 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5574 * wcsmbs/wchar.h: Likewise.
5575
ecf0ebfb
AJ
55762012-04-29 Andreas Jaeger <aj@suse.de>
5577
5578 * Makerules (tests): Remove enable-check-abi protection.
5579 (check-abi-warn): Remove.
5580 (check-abi-%): Remove check-abi-warn usage.
5581
5582 * configure.in: Remove check-abi configure option.
5583 * configure: Regenerated.
5584 * config.make.in (enable-check-abi): Remove.
5585
6d5c57fa
AS
55862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5587
24c5d07e 5588 [BZ #14033]
ded5180a
AS
5589 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5590 double functions to double *_finite functions.
5591
7e0d315d
AS
5592 [BZ #13941]
5593 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5594 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5595 LDBL_MIN_EXP.
5596 * stdio-common/Makefile (tests): Add tst-sprintf3.
5597 * stdio-common/tst-sprintf3.c: New file.
5598
6d5c57fa
AS
5599 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5600 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5601
0749ff8b
JM
56022012-04-28 Joseph Myers <joseph@codesourcery.com>
5603
5604 * conform/conformtest.pl: Remove duplicate typed-constant
5605 handling.
5606
8dbd5d7b
DM
56072012-04-28 David S. Miller <davem@davemloft.net>
5608
5609 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5610 (check-abi-%): Remove AWK script prerequisite and explicit
5611 abilist directory.
5612 (check-abi): Rewrite to just diff the symlist with the abilist.
5613 (config-tls, config-abi-config): Delete, no longer used.
5614 (update-abi-%): Remove AWK script and explicit abilist directory.
5615 (update-abi): Rewrite to simply compare and conditionally copy the
5616 symlist and the sysdep abilist file. Remove update-abi-config
5617 checks.
5618 * abilist/ld.abilist: Remove.
5619 * abilist/libBrokenLocale.abilist: Remove.
5620 * abilist/libanl.abilist: Remove.
5621 * abilist/libcrypt.abilist: Remove.
5622 * abilist/libdl.abilist: Remove.
5623 * abilist/librt.abilist: Remove.
5624 * abilist/libthread_db.abilist: Remove.
5625 * abilist/libutil.abilist: Remove.
5626 * scripts/extract-abilist.awk: Remove.
5627 * scripts/merge-abilist.awk: Remove.
5628 * sysdeps/generic/libcidn.abilist: New file.
5629 * sysdeps/generic/libnss_compat.abilist: New file.
5630 * sysdeps/generic/libnss_db.abilist: New file.
5631 * sysdeps/generic/libnss_dns.abilist: New file.
5632 * sysdeps/generic/libnss_files.abilist: New file.
5633 * sysdeps/generic/libnss_hesiod.abilist: New file.
5634 * sysdeps/generic/libnss_nis.abilist: New file.
5635 * sysdeps/generic/libnss_nisplus.abilist: New file.
5636 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5637 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5638 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5639 file.
5640 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5641 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5642 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5643 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5644 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5645 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5646 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5647 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5648 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5649 file.
5650 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5651 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5652 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5653 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5654 file.
5655 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5656 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5657 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5658 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5659 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5660 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5661 file.
5662 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5663 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5664 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5665 file.
5666 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5668 New file.
5669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5670 New file.
5671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5672 New file.
5673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5674 New file.
5675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5676 New file.
5677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5678 New file.
5679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5680 New file.
5681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5682 New file.
5683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5684 New file.
5685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5686 New file.
5687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5688 New file.
5689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5690 New file.
5691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5692 New file.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5694 file.
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5696 New file.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5698 New file.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5700 file.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5702 New file.
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5704 New file.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5706 file.
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5708 New file.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5710 New file.
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5712 New file.
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5714 New file.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5716 New file.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5718 New file.
5719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5721 file.
5722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5723 New file.
5724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5725 file.
5726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5727 file.
5728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5729 file.
5730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5731 file.
5732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5733 file.
5734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5735 New file.
5736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5737 file.
5738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5739 file.
5740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5741 New file.
5742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5743 file.
5744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5746 file.
5747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5748 New file.
5749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5750 file.
5751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5752 file.
5753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5754 file.
5755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5756 file.
5757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5758 file.
5759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5760 New file.
5761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5762 file.
5763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5764 file.
5765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5766 New file.
5767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5768 file.
5769 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5770 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5771 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5772 file.
5773 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5774 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5775 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5776 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5777 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5778 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5779 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5780 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5781 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5782 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5785 file.
5786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5787 New file.
5788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5789 file.
5790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5791 file.
5792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5793 file.
5794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5795 file.
5796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5797 file.
5798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5799 New file.
5800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5801 New file.
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5803 file.
5804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5805 New file.
5806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5807 file.
5808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5810 file.
5811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5812 New file.
5813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5814 file.
5815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5816 file.
5817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5818 file.
5819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5820 file.
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5822 file.
5823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5824 New file.
5825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5826 New file.
5827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5828 file.
5829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5830 New file.
5831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5832 file.
5833
41d73a1b
JM
58342012-04-28 Joseph Myers <joseph@codesourcery.com>
5835
5836 * conform/conformtest.pl: Fix typo in handling typed-constant from
5837 allow-header.
5838
28aeeda4
JM
58392012-04-27 Joseph Myers <joseph@codesourcery.com>
5840
adae8f5e
JM
5841 * README: Cut down references to pre-2.6 Linux kernels and
5842 Linuxthreads. Update lists of configurations in libc and ports
5843 and sort alphabetically. Say "or newer" with Linux kernel version
5844 requirements.
5845
28aeeda4
JM
5846 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5847
a462cb63
RA
58482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5849
5850 [BZ #887]
5851 * math/libm-test.inc (logb_test_downward): New test to expose
5852 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5853 rounding mode.
5854
6ad3493e
JM
58552012-04-27 Joseph Myers <joseph@codesourcery.com>
5856
5857 [BZ #14027]
5858 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5859 to be done.
5860 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5861 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5862
2ce4f015
JM
58632012-04-26 Joseph Myers <joseph@codesourcery.com>
5864
5aeb141a
JM
5865 * sysdeps/unix/i386/brk.S: Remove file.
5866 * sysdeps/unix/i386/dl-brk.S: Likewise.
5867 * sysdeps/unix/i386/pipe.S: Likewise.
5868 * sysdeps/unix/i386/sigreturn.S: Likewise.
5869 * sysdeps/unix/i386/syscall.S: Likewise.
5870 * sysdeps/unix/i386/vfork.S: Likewise.
5871 * sysdeps/unix/i386/wait.S: Likewise.
5872
7143acae
JM
5873 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5874 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5875
2ce4f015
JM
5876 * configure.in (arm*-none*): Do not allow without
5877 --enable-hacker-mode.
5878 (netbsd*): Remove case setting base_os.
5879 (386bsd*): Likewise.
5880 (freebsd*): Likewise.
5881 (bsdi*): Likewise.
5882 (osf*): Likewise.
5883 (sunos*): Likewise.
5884 (ultrix*): Likewise.
5885 (newsos*): Likewise.
5886 (dynix*): Likewise.
5887 (*bsd*): Likewise.
5888 (sysv*): Likewise.
5889 (isc*): Likewise.
5890 (esix*): Likewise.
5891 (sco*): Likewise.
5892 (minix*): Likewise.
5893 (irix4*): Likewise.
5894 (irix6*): Likewise.
5895 (solaris[2-9]*): Likewise.
5896 (none): Likewise.
5897 * configure: Regenerated.
5898
0ac229c8
AZ
58992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900
5901 [BZ #11521]
5902 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5903 overflow or cancellation in calculating denominator.
5904 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5906 down expression to avoid unexpected rounding in newer GCCs.
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5908
33f244f4
DM
59092012-04-26 David S. Miller <davem@davemloft.net>
5910
5911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5912 long-double compat symbols.
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5926
cfa1f3e8
DM
59272012-04-25 David S. Miller <davem@davemloft.net>
5928
5929 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5930 HWCAP_* values only after the memory barriers have been defined.
5931 (atomic_full_barrier): Define.
5932 (atomic_read_barrier): Define.
5933 (atomic_write_barrier): Define.
5934
6e236b92
SP
59352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5936
5937 * shlib-versions: Add libgcc_s version information.
5938 * sysdeps/generic/libgcc_s.h: Remove.
5939 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5940 libgcc_s.h.
5941 * sysdeps/gnu/unwind-resume.c: Likewise.
5942 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5943
aab39a09
DM
59442012-04-25 David S. Miller <davem@davemloft.net>
5945
5946 * sysdeps/unix/sparc/brk.S: Delete.
5947 * sysdeps/unix/sparc/dl-brk.S: Delete.
5948 * sysdeps/unix/sparc/pipe.S: Delete.
5949 * sysdeps/unix/sparc/sysdep.S: Delete.
5950 * sysdeps/unix/sparc/sysdep.h: Delete.
5951 * sysdeps/unix/sparc/vfork.S: Delete.
5952 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5953 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5955 ret_ERRVAL, r0, r1, MOVE): Define.
5956 (JUMPTARGET): Remove.
5957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5958 sysdeps/unix/sparc/sysdep.h
5959 (ENTRY, END): Remove.
5960 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5961
a3cc4f48
JM
59622012-04-25 Joseph Myers <joseph@codesourcery.com>
5963
2ed8cda2
JM
5964 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5965 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5966 -DIS_IN_build.
5967
35d76d59
JM
5968 * timezone/README: Update upstream location and email address for
5969 tzcode and tzdata.
5970 * timezone/zdump.c: Update from tzcode 2012b.
5971 * timezone/zic.c: Likewise.
5972
a3cc4f48
JM
5973 * configure.in (libc_cv_as_needed): Remove test.
5974 * configure: Regenerated.
5975 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5976 conditional definition.
5977 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5978 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5979 * config.make.in (have-as-needed): Remove variable.
5980
ceab42c3
SP
59812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5982 Paul Pluzhnikov <ppluzhnikov@google.com>
5983
5984 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5985 strings correctly.
5986
3ce2865f
CLT
59872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5988
5989 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5990 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5991 * sysdeps/sh/strlen.S: Likewise.
5992
f37e0d68
JM
59932012-04-24 Joseph Myers <joseph@codesourcery.com>
5994
ae186e9a
JM
5995 * sysdeps/unix/fork.S: Remove file.
5996 * sysdeps/unix/i386/fork.S: Likewise.
5997 * sysdeps/unix/sparc/fork.S: Likewise.
5998
b96914af
JM
5999 * sysdeps/unix/system.c: Remove file.
6000 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
6001
f37e0d68
JM
6002 * sysdeps/unix/getegid.S: Remove file.
6003 * sysdeps/unix/geteuid.S: Likewise.
6004
87ef29ca
RM
60052012-04-24 Roland McGrath <roland@hack.frob.com>
6006
83bcd236
RM
6007 * scripts/check-localplt.awk: New file.
6008 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
6009 of diff.
6010 * scripts/data/localplt-generic.data: Add a comment.
6011
87ef29ca
RM
6012 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
6013 NODE when __dir_mkfile failed.
6014 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6015 Reported by Ludovic Courtès <ludo@gnu.org>.
6016
e5a6e567
AJ
60172012-04-24 Andreas Jaeger <aj@suse.de>
6018
6019 * Makerules (common-clean): Also remove gen-as-const-headers
6020 files.
6021
c1820385
JM
60222012-04-24 Joseph Myers <joseph@codesourcery.com>
6023
6024 * Makerules (native-compile): Do not change working directory for
6025 build. Use $(OUTPUT_OPTION) in command.
6026 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
6027
94e02fc4
AZ
60282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6029
6030 [BZ #13886]
6031 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
6032 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
6033 * math/libm-test.inc (floor_test): Add more tests.
6034 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
6035
3a533ca3
JM
60362012-04-24 Joseph Myers <joseph@codesourcery.com>
6037
940ab4b3
JM
6038 * sysdeps/unix/getdents.c: Remove file.
6039 * sysdeps/unix/sysv/getdents.c: Likewise.
6040 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
6041
90e037bd
JM
6042 * sysdeps/unix/syscalls.list (madvise): Add syscall from
6043 sysdeps/unix/mman/syscalls.list.
6044 (mmap): Likewise.
6045 (mprotect): Likewise.
6046 (msync): Likewise.
6047 (munmap): Likewise.
6048 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
6049 * sysdeps/unix/mman/syscalls.list: Remove.
6050 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
6051
3a533ca3
JM
6052 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
6053 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
6054 * configure: Regenerated.
6055 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
6056 $(libgcc_s_suffix).
6057 * config.make.in (libgcc_s_suffix): Remove variable.
6058
1ad743de
JM
60592012-04-23 Joseph Myers <joseph@codesourcery.com>
6060
4ad451e2
JM
6061 * sysdeps/unix/sysv/gethostname.c: Move to ...
6062 * sysdeps/posix/gethostname.c: ... here.
6063
5e37ce39
JM
6064 * sysdeps/unix/execve.S: Remove file.
6065
1ad743de
JM
6066 * sysdeps/unix/_exit.S: Remove file.
6067
4e681b5b
AJ
60682012-04-23 Andreas Jaeger <aj@suse.de>
6069
6070 [BZ #13739]
6071 * manual/Makefile: Remove make dist support, there's no
6072 need for a stand-alone documentation tar ball.
6073 (TEXI2DVI): Define always, it's not in Makeconfig.
6074 (dist): Removed.
6075 (tar-it): Removed.
6076 (edition): Removed.
6077 (glibc-doc-$(edition).tar): Removed
6078 (%.Z): Removed.
6079 (%.gz): Removed.
6080 (%.uu): Removed.
6081 (ETAGS): Remove, it's in Makeconfig.
6082 (move-if-change): Remove, it's in Makeconfig.
6083
c0baea34
PE
60842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6085
6086 [BZ #13970]
6087 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6088 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6089 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6090 (strtod_l, strtof_l, strtold_l): Remove __wur.
6091 It is not necessarily an error to ignore strtol's return value.
6092 One can reliably look at the stored endptr to decide whether
6093 the number had valid syntax.
6094
7c0616fa
AJ
60952012-04-21 Andreas Jaeger <aj@suse.de>
6096
803cb6b7 6097 [BZ #13739]
7c0616fa
AJ
6098 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6099
b0fe253f
JM
61002012-04-21 Joseph Myers <joseph@codesourcery.com>
6101
6102 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6103 * sysdeps/unix/sysv/Versions: Remove file.
6104
8280f22d
MT
61052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6106
6107 [BZ #13927]
6108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6109
75ce411f 61102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6111
6112 [BZ #7064]
6113 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6114 version from __vm86.
6115
097d59fa
JM
61162012-04-20 Joseph Myers <joseph@codesourcery.com>
6117
a90f3bcb
JM
6118 * sysdeps/unix/common/lxstat.c: Remove file.
6119 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6120
edc7ea78
JM
6121 * sysdeps/unix/sysv/Makefile: Remove file.
6122
cb78c221
JM
6123 * sysdeps/unix/sysv/direct.h: Remove file.
6124
efa6a45f
JM
6125 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6126 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6127 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6128 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6129 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6130 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6131 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6132
9c9f2d0c
JM
6133 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6134
4541c83b
JM
6135 * sysdeps/unix/xmknod.c: Remove file.
6136 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6137
f5d153a0
JM
6138 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6139
aa746595
JM
6140 * sysdeps/unix/sysv/i386/time.S: Remove file.
6141
cce5905e
JM
6142 * sysdeps/unix/fxstat.c: Remove file.
6143 * sysdeps/unix/xstat.c: Likewise.
6144 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6145
37fa3841
JM
6146 * sysdeps/unix/sysv/sigaction.c: Remove file.
6147
ff1962a3
JM
6148 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6149 (sysdep_headers): Remove variable.
6150 [termio.h not in sysdep_headers] (generated): Likewise.
6151 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6152 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6153 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6154 * sysdeps/unix/sysv/tcflow.c: Likewise.
6155 * sysdeps/unix/sysv/tcflush.c: Likewise.
6156 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6157 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6158 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6159 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6160 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6161
e7740d31
JM
6162 * sysdeps/unix/siglist.c: Remove file.
6163
ee06f18b
JM
6164 * sysdeps/unix/getppid.S: Remove file.
6165
097d59fa
JM
6166 * sysdeps/unix/mkdir.c: Remove file.
6167 * sysdeps/unix/rmdir.c: Likewise.
6168
ff3d51ec
AS
61692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6170
6171 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6172 ERR_MAX value.
6173 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6174 errlist-compat value.
6175
50f81fd7
DM
61762012-04-18 David S. Miller <davem@davemloft.net>
6177
6178 * sysdeps/generic/memcopy.h (reg_char): Delete.
6179 * debug/strcat_chk.c: Use char, not reg_char.
6180 * debug/strcpy_chk.c: Likewise.
6181 * debug/strncat_chk.c: Likewise.
6182 * debug/strncpy_chk.c: Likewise.
6183 * string/memchr.c: Likewise.
6184 * string/memrchr.c: Likewise.
6185 * string/rawmemchr.c: Likewise.
6186 * string/strcat.c: Likewise.
6187 * string/strchr.c: Likewise.
6188 * string/strchrnul.c: Likewise.
6189 * string/strcmp.c: Likewise.
6190 * string/strcpy.c: Likewise.
6191 * string/strncat.c: Likewise.
6192 * string/strncmp.c: Likewise.
6193 * string/strncpy.c: Likewise.
6194
8ff41c46
WS
61952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6196
6197 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6198 __builtin_memcopy is called when src and dest ranges are known to not
6199 overlap.
6200
6b652f46
WS
62012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6202
6203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6204 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6205 fwd_align_merge macro call.
6206 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6207 bwd_align_merge macro call.
6208 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6209
b282631e
WS
62102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6211
6212 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6213 bwd_align_merge macros.
6214 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6215 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6216 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6217
95aa737c
DM
62182012-04-18 David S. Miller <davem@davemloft.net>
6219
6220 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6221
7a99a614
AJ
62222012-04-18 Andreas Jaeger <aj@suse.de>
6223
6224 [BZ# 6794]
6225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6226 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6227 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6228
6229 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6230 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6231 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6232
6233 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6234 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6235 Adjust for changed ldbl-128 files.
6236
6237 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6238 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6239 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6240
e5270c23
DM
62412012-04-17 David S. Miller <davem@davemloft.net>
6242
6243 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6244
fb5e92c9
AS
62452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6246
6247 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6248 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6249 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6250 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6251 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6252 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6253
76da7265
AZ
62542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6255
6256 [BZ #6794]
6257 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6258 * math/libm-test.inc: Add ilogb errno and exception tests.
6259 * math/w_ilogb.c: New file: ilogb wrapper.
6260 * math/w_ilogbf.c: New file: ilogbf wrapper.
6261 * math/w_ilogbl.c: New file: ilogbl wrapper.
6262 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6263 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6264 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6265 exception being thrown with 0.0 as argument.
6266 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6267 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6268 exception being thrown with 0.0 as argument.
6269 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6270 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6271 exception being thrown with 0.0 as argument.
6272 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6273 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6274 exception being thrown with 0.0 as argument.
6275 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6276 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6277 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6278 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6279 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6280 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6281 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6282 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6283 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6284
0396e69d
PB
62852012-04-17 Petr Baudis <pasky@ucw.cz>
6286
6287 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6288 with altivec.
6289
750b5926
MP
62902012-04-16 Marek Polacek <polacek@redhat.com>
6291
6292 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6293
751728a1
MP
62942012-04-16 Marek Polacek <polacek@redhat.com>
6295
6296 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6297 operands of fdivp instruction.
6298
34a27407
L
62992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6300
6301 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6302 * elf/tst-auditmod3b.c: Likewise.
6303 * elf/tst-auditmod4b.c: Likewise.
6304 * elf/tst-auditmod5b.c: Likewise.
6305 * elf/tst-auditmod6b.c: Likewise.
6306 * elf/tst-auditmod6c.c: Likewise.
6307 * elf/tst-auditmod7b.c: Likewise.
6308 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6309 * sysdeps/x86_64/preconfigure.in: Likewise.
6310 * sysdeps/x86_64/preconfigure: Regenerated.
6311
7e73e17d
L
63122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6313
6314 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6315 __ILP32__.
6316
c7a6ab72
AB
63172012-04-13 Antoine Balestrat <merkil33@gmail.com>
6318
6319 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6320 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6321
a9e8e0e0
CL
63222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6323
6324 [BZ #13973]
6325 * locale/iso-639.def: Fix gl language name. Spotted by
6326 Yaron Shahrabani.
6327
ec98af7d
RM
63282012-04-12 Roland McGrath <roland@hack.frob.com>
6329
6330 [BZ #2074]
6331 * libio/libio.h (__io_write_fn): Update comment.
6332
247c3ede
PB
63332012-04-12 Petr Baudis <pasky@ucw.cz>
6334
6335 [BZ #2074]
6336 * stdio.texi (Hook Functions): The user provided writer function
6337 is not allowed to return -1.
6338
55939d6d
DM
63392012-04-11 David S. Miller <davem@davemloft.net>
6340
6341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6342
90020f5a
MF
63432012-04-11 Mike Frysinger <vapier@gentoo.org>
6344
6345 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6346 Add a leading slash to rtkaio.
6347
288f9098
JM
63482012-04-11 Jim Meyering <meyering@redhat.com>
6349
90020f5a
MF
6350 [BZ #11959]
6351 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6352 It is not necessarily an error to ignore fwrite's return
6353 value. One can reliably use ferror to test for errors after
6354 the fact.
288f9098 6355
4be2b570
L
63562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 * bits/types.h (__snseconds_t): New type.
6359 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6360
6361 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6363 (__SNSECONDS_T_TYPE): Likewise.
6364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6365 (__SNSECONDS_T_TYPE): Likewise.
6366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6367 (__SNSECONDS_T_TYPE): Likewise.
6368
288f9098 63692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6370
6371 [BZ #2636]
6372 * manual/time.texi (Processor Time): Return type of times is
6373 elapsed real time since an arbitrary point in the past.
6374 (CPU Time): Move CLK_TCK from here...
6375 (Processor Time): ...to here. Correct description.
6376 * manual/conf.texi (Constants for Sysconf): Correct description of
6377 _SC_CLK_TCK.
6378
d7dd4413
DM
63792012-04-10 David S. Miller <davem@davemloft.net>
6380
6381 [BZ #13967]
6382 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6383 where the is a gap between DT_REL(A) and DT_JMPREL.
6384
b46068fc
L
63852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6386
6387 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6388 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6389 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6390
73d65cc3
SP
63912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6392
6393 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6394 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6395 (dl_main): Handle --inhibit-cache.
6396 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6397 _dl_inhibit_cache.
6398 * elf/dl-load.c (_dl_map_object): Use it.
6399 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6400
bcc8d661
JM
64012012-04-09 Joseph Myers <joseph@codesourcery.com>
6402
8f9a2fae
JM
6403 [BZ #13872]
6404 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6405 (__ieee754_powl): Saturate large exponents rather than testing for
6406 overflow of y*log2(x).
6407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6408 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6409 exceptions.
6410
bcc8d661
JM
6411 [BZ #11521]
6412 * math/s_ctan.c: Include <float.h>.
6413 (__ctan): Avoid internal overflow or cancellation in calculating
6414 denominator.
6415 * math/s_ctanf.c: Likewise.
6416 * math/s_ctanl.c: Likewise.
6417 * math/s_ctanh.c: Likewise.
6418 * math/s_ctanhf.c: Likewise.
6419 * math/s_ctanhl.c: Likewise.
6420 * math/libm-test.inc (ctan_test): Add more tests.
6421 (ctanh_test): Likewise.
6422 * sysdeps/i386/fpu/libm-test-ulps: Update.
6423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6424
823fbbb4
AJ
64252012-04-09 Andreas Jaeger <aj@suse.de>
6426
03879793
AJ
6427 [BZ #6894]
6428 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6429 is an optional BSD extension.
6430
823fbbb4
AJ
6431 [BZ #10254]
6432 * manual/stdio.texi (Opening Streams): Document additional fopen
6433 parameters.
6434
8de131cb
RM
64352012-04-09 Roland McGrath <roland@hack.frob.com>
6436
6437 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6438 %eax without telling the compiler.
6439
c0ed9d7d
CD
64402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6441
6442 [BZ # 13963]
6443 * manual/install.texi: Use sourceware.org.
6444
c483f6b4
JM
64452012-04-09 Joseph Myers <joseph@codesourcery.com>
6446
d7dd9453
JM
6447 [BZ #13873]
6448 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6449 (__ieee754_pow): Generate overflow and underflow using huge*huge
6450 and tiny*tiny rather than just returning constant infinity or zero
6451 for large exponents.
6452 * math/libm-test.inc (pow_test): Require overflow exceptions for
6453 applicable cases of large exponents.
6454
c483f6b4
JM
6455 [BZ #706]
6456 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6457 (__ieee754_pow): Use iterative multiplication algorithm only for
6458 integer exponents with absolute value below 1024. Check for odd
6459 integer exponents when using algorithm for real exponents.
6460 * math/libm-test.inc (pow_test): Add more tests.
6461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6462
d2de7579
JM
64632012-04-08 Joseph Myers <joseph@codesourcery.com>
6464
6465 [BZ #13705]
6466 * math/libm-test.inc (exp_test): Do not allow overflow exception
6467 on underflow test.
6468
f77f1232
AJ
64692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6470
6471 [BZ #13705]
6472 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6473 instead of __kernel_standard_f.
6474
3884932b
MF
64752012-04-08 Mike Frysinger <vapier@gentoo.org>
6476
6477 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6478 * sysdeps/x86_64/memset_chk.S: Likewise.
6479
54472e9c
AJ
64802012-04-08 Andreas Jaeger <aj@suse.de>
6481
6ab0fbfc
AJ
6482 [BZ #10153]
6483 * manual/startup.texi (Environment Access): Describe return value
6484 for putenv and setenv.
6485
61efba8c
AJ
6486 [BZ #6895]
6487 * manual/filesys.texi (Directory Entries): Add description for
6488 DT_LNK.
6489
95c3f29a
AJ
6490 [BZ #6890]
6491 * manual/filesys.texi (Directory Entries): Clarify that it's file
6492 system not operating system in the description of DT_UNKNOWN.
6493
54472e9c
AJ
6494 [BZ #6578]
6495 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6496
624254b1
SC
64972012-04-08 Stephen Compall <s11@member.fsf.org>
6498
6499 [BZ #6649]
6500 * manual/llio.texi (Opening and Closing Files): Add cross
6501 reference to explain mode argument.
6502
1e4920e0
MF
65032012-04-07 Mike Frysinger <vapier@gentoo.org>
6504
6505 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6506 * sysdeps/x86_64/memset_chk.S: Likewise.
6507
5ed848f3
DM
65082012-04-07 David S. Miller <davem@davemloft.net>
6509
6510 * elf/elf.h (R_SPARC_WDISP10): Define.
6511 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6512 R_SPARC_SIZE32.
6513 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6514 R_SPARC_SIZE64 and R_SPARC_H34.
6515
96154cd8
CD
65162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6517
6518 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6519 conditions and remove no longer applicable assertion.
6520
9904dc47
L
65212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6522
6523 * bits/byteswap.h: Include <features.h>.
6524 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6525 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6526
f8887d0a
L
65272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6528
6529 * bits/byteswap.h (__bswap_16): Removed.
6530 Include <bits/byteswap-16.h> to get __bswap_16.
6531 * sysdeps/i386/bits/byteswap.h: Likewise.
6532 * sysdeps/s390/bits/byteswap.h: Likewise.
6533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6534 * bits/byteswap-16.h: New file.
6535 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6536 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6537 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6538 * string/Makefile (headers): Add bits/byteswap-16.h.
6539
62470f60
PP
65402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6541
6542 [BZ #13895]
6543 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6544 extra indirection.
6545 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6546 * nss/tst-nss-static.c: New.
6547
4dad7bab
RM
65482012-04-06 Robert Millan <rmh@gnu.org>
6549
6550 [BZ #6486]
6551 * manual/llio.texi (File Position Primitive): lseek
6552 refers to WHENCE when it really means OFFSET.
6553
e9142a17
AJ
65542012-04-06 Andreas Jaeger <aj@suse.de>
6555
2c040eff
AJ
6556 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6557 strncmp declarations.
6558
e9142a17
AJ
6559 * abilist/libc.abilist: Add __poll and __ppoll.
6560
ff9f1c5f
DM
65612012-04-05 David S. Miller <davem@davemloft.net>
6562
dcd2ae90
DM
6563 * scripts/check-local-headers.sh: Accept a host triplet in the
6564 path matched by the exclude regexp.
6565
993eb054
DM
6566 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6567 definition.
6568 * sysdeps/powerpc/powerpc32/dl-machine.h
6569 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6570 * sysdeps/s390/s390-32/dl-machine.h
6571 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6572 * sysdeps/sparc/sparc32/dl-machine.h
6573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6574 * sysdeps/sparc/sparc64/dl-machine.h
6575 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6576
ff9f1c5f
DM
6577 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6578 lazy binding.
48e2e132 6579 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6580 undefined symbol errors.
6581
48e2e132 6582 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6583 DT_NEEDED entries.
6584
e80d6f94
MM
65852012-04-05 Michael Matz <matz@suse.de>
6586
6587 [BZ #13592]
6588 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6589
349fa79f
AJ
65902012-04-05 Andreas Jaeger <aj@suse.de>
6591
6592 [BZ #13908]
6593 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6594 comment.
6595
f402708f
KK
65962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6597
6598 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6599 which ROUND is no valid rounding mode.
6600
2ecccfc9
KK
66012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6602
6603 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6604 read again.
6605 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6606
8a53f50f
KK
66072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6608
6609 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6610 an exception using FPU order intentionally.
6611
66122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6613
6614 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6615 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6616 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6617 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6618
d653abb7
SJ
66192012-04-05 Simon Josefsson <simon@josefsson.org>
6620
6621 [BZ #12340]
6622 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6623 EINVAL when BUFLEN is too smal.
6624
c3b1bf7d
TS
66252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6626
6627 [BZ #13553]
6628 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6629 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6630
b1aa60f3
AJ
66312012-04-03 Andreas Jaeger <aj@suse.de>
6632
c3b1bf7d 6633 [BZ #13938]
67f60a26
AJ
6634 * manual/setjmp.texi (System V contexts): Fix sentence.
6635
b1aa60f3
AJ
6636 [BZ #13926]
6637 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6638 New macro for this case.
6639 [!__GNUC__] (__bswap_64): New inline function for this case.
6640 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6641 * bits/byteswap.h: Likewise.
6642 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6643 ull, guard with __GLIBC_HAVE_LONG_LONG.
6644
6645 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6646 __GLIBC_HAVE_LONG_LONG.
6647
6648 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6649 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6650
39c59c35
TMQMF
66512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6652
6653 [BZ #13691]
6654 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6655 inptr and inend, rather than using last_ch.
6656
135ffda8
DM
66572012-04-02 David S. Miller <davem@davemloft.net>
6658
6659 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6660 * stdio-common/printf-parse.h (read_int): Change return type to
6661 'int', return -1 on INT_MAX overflow.
6662 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6663 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6664 overflows INT_MAX. Check for overflow of in-format-string precision
6665 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6666 SIZE_MAX not INT_MAX for integer overflow test.
6667 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6668 skip the construct in the format string but do not record anything.
6669 * stdio-common/bug22.c: Adjust to test both width/prevision
6670 INT_MAX overflow as well as total length INT_MAX overflow. Check
6671 explicitly for proper errno values.
6672
228c019e
TS
66732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6674
302cadd3
TS
6675 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6676 CHAR_MAX.
6677 * string/test-strcmp.c [! WIDE]: Likewise.
6678 * time/tst-mktime2.c: Likewise for INT_MAX.
6679 * string/test-string.h: #include <sys/param.h> for MIN.
6680
228c019e
TS
6681 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6682 * sysdeps/i386/init-first.c (init): Likewise.
6683 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6684 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6685 * sysdeps/sh/init-first.c (init): Likewise.
6686
cfa633f5
UD
66872012-04-01 Ulrich Drepper <drepper@gmail.com>
6688
6689 * po/ru.po: Update from translation team.
d1635ef8 6690 * po/vi.po: Likewise.
cfa633f5 6691
6cd0a5ea
SP
66922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6693
6694 * resolv/nss_dns/dns-host.c: Merge copyright years.
6695
4b43400f
LD
66962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6697
6698 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6699 Optimize memcpy with prefetch if
6700 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6701 src, dst pointers have unequal 16 byte alignments.
6702
48c41d04
SP
67032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6704
6705 [BZ #13928]
6706 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6707 from a CNAME entry and return the minimum ttl for the query.
6708 (gaih_getanswer_slice): Likewise.
6709
b8dc394d
JL
67102012-03-30 Jeff Law <law@redhat.com>
6711
6712 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6713 due to long keys.
6714 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6715 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6716
2f5a5ed0
JL
6717 * resolv/nss_dns/dns-host.c: Update copyright year.
6718
1d39e359
UD
67192012-03-30 Ulrich Drepper <drepper@gmail.com>
6720
c030f70c 6721 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6722 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6723
1d39e359
UD
6724 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6725 comments for sendmmsg.
6726
67272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6728
6729 [BZ #13691]
6730 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6731 with only 1 character between 0x0041 and 0x01b0.
6732 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6733 * wcsmbs/tst-mbsnrtowcs.c: New file.
6734
20fde227
DM
67352012-03-29 David S. Miller <davem@davemloft.net>
6736
6737 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6738 small copies by hand.
6739
984a4237
JL
67402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6741
6742 [BZ #13761]
6743 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6744 _nss_compat_initgroups_dyn): Fall back to malloc/free
6745 for large group memberships.
6746
18c9d62b
DM
67472012-03-28 David S. Miller <davem@davemloft.net>
6748
88d85d4f
DM
6749 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6750 that branches into memcpy.
6751 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6754 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6756 bits.
6757 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6758 implementation too.
6759 * sysdeps/sparc/mempcpy.S: New file.
6760
e5aa83e1
DM
6761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6762 the IFUNC routine in the libc case.
6763 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6764
88570753
DM
6765 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6766 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6767 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6769 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6770 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6771 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6772 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6773
249d7567
DM
6774 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6775 loop to 256 bytes instead of 64 bytes and fix test signedness.
6776
18c9d62b
DM
6777 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6778 * sysdeps/sparc/sparc32/Makefile: rather than here...
6779 * sysdeps/sparc/sparc64/Makefile: and here.
6780
05f3d1f6
UD
67812012-03-28 Ulrich Drepper <drepper@gmail.com>
6782
6783 * malloc/mallocbug.c: Avoid warnings about unused variables.
6784
86ae07a8
JL
67852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6786
6787 [BZ #13760]
6788 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6789 in the right place. Discard and retry query if response is
6790 larger than input buffer size.
6791
41bf21a1
JM
67922012-03-28 Joseph Myers <joseph@codesourcery.com>
6793
d6270972
JM
6794 [BZ #369]
6795 [BZ #2678]
6796 [BZ #3866]
6797 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6798 x for large integer exponent.
6799 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6800 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6801 sign of result as needed afterwards.
6802 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6803 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6804 result for underflowing pow the same as for overflow.
6805 (__kernel_standard_l): Handle powl overflow and underflow here
6806 rather than calling __kernel_standard.
6807 * math/libm-test.inc (pow_test): Add more tests.
6808
414fca03 6809 [BZ #3868]
41bf21a1
JM
6810 [BZ #13879]
6811 [BZ #13910]
6812 [BZ #13911]
6813 [BZ #13912]
6814 [BZ #13913]
6815 [BZ #13915]
6816 [BZ #13916]
6817 [BZ #13917]
6818 [BZ #13918]
6819 [BZ #13919]
6820 [BZ #13920]
6821 [BZ #13921]
6822 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6823 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6824 (__kernel_standard_l): New function.
6825 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6826 __kernel_standard.
6827 * math/w_acosl.c (__acosl): Likewise.
6828 * math/w_asinl.c (__asinl): Likewise.
6829 * math/w_atan2l.c (__atan2l): Likewise.
6830 * math/w_atanhl.c (__atanhl): Likewise.
6831 * math/w_coshl.c (__coshl): Likewise.
6832 * math/w_exp10l.c (__exp10l): Likewise.
6833 * math/w_exp2l.c (__exp2l): Likewise.
6834 * math/w_fmodl.c (__fmodl): Likewise.
6835 * math/w_hypotl.c (__hypotl): Likewise.
6836 * math/w_j0l.c (__j0l, __y0l): Likewise.
6837 * math/w_j1l.c (__j1l, __y1l): Likewise.
6838 * math/w_jnl.c (__jnl, __ynl): Likewise.
6839 * math/w_lgammal.c (__lgammal): Likewise.
6840 * math/w_log10l.c (__log10l): Likewise.
6841 * math/w_log2l.c (__log2l): Likewise.
6842 * math/w_logl.c (__logl): Likewise.
6843 * math/w_powl.c (__powl): Likewise.
6844 * math/w_remainderl.c (__remainderl): Likewise.
6845 * math/w_scalbl.c (sysv_scalbl): Likewise.
6846 * math/w_sinhl.c (__sinhl): Likewise.
6847 * math/w_sqrtl.c (__sqrtl): Likewise.
6848 * math/w_tgammal.c (__tgammal): Likewise.
6849 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6850 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6851 * math/libm-test.inc (acos_test): Add more tests.
6852 (acosh_test): Likewise.
6853 (asin_test): Likewise.
6854 (atanh_test): Likewise.
6855 (exp_test): Likewise.
6856 (exp10_test): Likewise.
6857 (exp2_test): Likewise.
6858 (expm1_test): Likewise.
6859 (lgamma_test): Likewise.
6860 (log_test): Likewise.
6861 (log10_test): Likewise.
6862 (log1p_test): Likewise.
6863 (log2_test): Likewise.
6864 (pow_test): Do not allow some spurious overflow exceptions.
6865 (sqrt_test): Add more tests.
6866 (tgamma_test): Likewise.
6867 (y0_test): Likewise.
6868 (y1_test): Likewise.
6869 (yn_test): Likewise.
6870
dd62fda6
AB
68712012-03-27 Anton Blanchard <anton@samba.org>
6872
6873 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6874 MAP_HUGETLB.
6875 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6876 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6877 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6878
1e3cdfda
AJ
68792012-03-27 David S. Miller <davem@davemloft.net>
6880
b855ab85
DM
6881 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6882
1e3cdfda
AJ
6883 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6884 have-as-vis3 check.
6885
68862012-03-27 Andreas Jaeger <aj@suse.de>
6887
6888 * sysdeps/x86_64/elf/configure.in: Moved to ...
6889 * sysdeps/x86_64/configure.in: ... here.
6890 * sysdeps/x86_64/elf/start.S: Moved to ...
6891 * sysdeps/x86_64/start.S: ... here.
6892 * sysdeps/x86_64/elf/configure: Delete.
6893
6894 * sysdeps/x86_64/configure.in: Merge contents from
6895 sysdeps/i386/configure.in (without i686 check).
6896
6897 * sysdeps/i386/elf/Versions: Merge into ...
6898 * sysdeps/i386/Versions: ... this.
6899 * sysdeps/i386/elf/Versions: Delete file.
6900 * sysdeps/i386/elf/start.S: Moved to ...
6901 * sysdeps/i386/start.S: ...here.
6902 * sysdeps/i386/elf/configure.in: Merge into...
6903 * sysdeps/i386/configure.in: ...here.
6904 * sysdeps/i386/elf/configure.in: Delete file.
6905 * sysdeps/i386/elf/configure: Delete file.
6906
6907 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6908 * debug/backtracesyms.c: ... here.
6909 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6910 * debug/backtracesymsfd.c: ... here.
6911 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6912 * sysdeps/generic/ifunc-sel.h: ... here.
6913
6914 * sysdeps/unix/i386/start.c: Delete file.
6915 * sysdeps/unix/sparc/start.c: Delete file.
6916 * sysdeps/unix/start.c: Delete file.
6917
6918 * sysdeps/sh/elf/configure.in: Moved to ...
6919 * sysdeps/sh/configure.in: ... here.
6920 * sysdeps/sh/elf/start.S: Moved to ...
6921 * sysdeps/sh/start.S: ... here.
6922 * sysdeps/sh/elf/configure: Delete file.
6923
6924 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6925 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6926 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6927 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6928 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6929 * sysdeps/powerpc/powerpc64/start.S: here.
6930 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6931 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6932 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6933 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6934 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6935
6936 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6937 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6938 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6939 * sysdeps/powerpc/powerpc32/start.S: ... here.
6940 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6941 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6942 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6943
6944 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6945 * sysdeps/powerpc/ifunc-sel.h: ... here.
6946 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6947 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6948
6949 * sysdeps/sparc/elf/configure.in: Moved to ...
6950 * sysdeps/sparc/configure.in: ... here.
6951 * sysdeps/sparc/elf/configure: Delete file.
6952 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6953 * sysdeps/sparc/sparc32/start.S: ... here.
6954 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6955 * sysdeps/sparc/sparc64/start.S: ... here.
6956 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6957 * sysdeps/sparc/sparc32/Makefile: ... this.
6958 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6959 * sysdeps/sparc/sparc64/Makefile: ... this.
6960
6961 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6962 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6963 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6964 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6965 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6966 * sysdeps/s390/s390-32/setjmp.S: ... here.
6967 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6968 * sysdeps/s390/s390-32/configure.in: ... here.
6969 * sysdeps/s390/s390-32/elf/configure: Delete file.
6970 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6971 * sysdeps/s390/s390-32/start.S: ... here.
6972
6973 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6974 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6975 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6976 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6977 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6978 * sysdeps/s390/s390-64/setjmp.S: ... here.
6979 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6980 * sysdeps/s390/s390-64/configure.in: ... here
6981 * sysdeps/s390/s390-64/elf/configure: Delete file.
6982 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6983 * sysdeps/s390/s390-64/start.S: ... here.
6984 * sysdeps/s390/s390-64/elf/configure: Delete.
6985
6986 * configure.in: Remove support for elf directories in sysdeps.
6987
6988 * configure: Regenerated.
6989 * sysdeps/i386/configure: Regenerated.
6990 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6991 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6992 * sysdeps/s390/s390-32/configure: Regenerated.
6993 * sysdeps/s390/s390-64/configure: Regenerated.
6994 * sysdeps/sh/configure: Regenerated.
6995 * sysdeps/sparc/configure: Regenerated.
6996 * sysdeps/x86_64/configure: Regenerated.
6997
a3f61311
AS
69982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6999
c876e002
AS
7000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7001
a3f61311
AS
7002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
7003 denormal result into account.
7004
ac4c54f0
RM
70052012-03-25 Roland McGrath <roland@hack.frob.com>
7006
7007 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
7008 Reported by Allan McRae <allan@archlinux.org>.
7009
6a9b9c02
JL
70102012-03-23 Jeff Law <law@redhat.com>
7011
7012 * nss/getnssent.c (__nss_getent): Fix typo.
7013
4c42a0c1
DM
70142012-03-23 David S. Miller <davem@davemloft.net>
7015
7016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7017
1532c7ac
L
70182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
7019
7020 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
7021 to pad to uint64_t for each field.
7022 (dl_tls_index): Replace unsigned long with uint64_t.
7023
3ff42526
PP
70242012-03-23 Daniel Jacobowitz <dmj@google.com>
7025 Paul Pluzhnikov <ppluzhnikov@google.com>
7026
7027 [BZ #6528]
7028 * grp/Makefile (otherlibs): Don't set it.
7029 * inet/Makefile (otherlibs): Likewise.
7030 * login/Makefile (otherlibs): Likewise.
7031 * nscd/Makefile (otherlibs): Likewise.
7032 * posix/Makefile (otherlibs): Likewise.
7033 * pwd/Makefile (otherlibs): Likewise.
7034 * rt/Makefile (otherlibs): Likewise.
7035 * sunrpc/Makefile (otherlibs): Likewise.
7036 * nss/Makefile (otherlibs): Likewise.
7037 Add libnss_files to routines and static-only-routines.
7038 ($(objpfx)getent): Remove rule.
7039 * resolv/Makefile: Add libnss_dns and libresolv to routines and
7040 static-only-routines.
7041
7c69cd14
JM
70422012-03-22 Joseph Myers <joseph@codesourcery.com>
7043
7044 [BZ #13892]
7045 * math/s_cexp.c: Include <float.h>.
7046 (__cexp): Handle exp result overflowing not necessarily
7047 overflowing both real and imaginary parts of result.
7048 * math/s_cexpf.c: Likewise.
7049 * math/s_cexpl.c: Likewise.
7050 * math/libm-test.inc (cexp_test): Add more tests.
7051 * sysdeps/i386/fpu/libm-test-ulps: Update.
7052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053
81b035fe
L
70542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7055
7056 * include/link.h (ELFW): New macro.
7057 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
7058 Replace ELF64_R_TYPE with ELFW(R_TYPE).
7059
1da7940c
L
70602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7061
7062 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
7063 with uint64_t.
7064
b749dbb9
L
70652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7066
7067 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
7068 declaration.
7069 (struct La_x32_retval): Likewise.
7070
2ff87f3f
L
70712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
7072
7073 * sysdeps/x86_64/preconfigure.in: New file.
7074 * sysdeps/x86_64/preconfigure: New generated file.
7075
c0df8e69
JM
70762012-03-22 Joseph Myers <joseph@codesourcery.com>
7077
48e44791
JM
7078 [BZ #13824]
7079 * math/e_exp2l.c: Include <float.h>.
7080 (__ieee754_exp2l): Handle overflow and underflow cases
7081 separately. Only pass fractional part of argument to
7082 __ieee754_expl.
7083 * math/libm-test.inc (exp2_test): Add more tests.
7084
c0df8e69
JM
7085 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7086 negating x to take absolute value.
7087 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7088 Likewise.
7089 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7091 Likewise.
7092 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7093 computing low part if x was negated.
7094 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7095
c8e43ba7
L
70962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7097
7098 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7099 la_x32_gnu_pltexit.
7100 (pltexit): Cast int_retval to ptrdiff_t.
7101 * elf/tst-auditmod3b.c: Likewise.
7102 * elf/tst-auditmod4b.c: Likewise.
7103 * elf/tst-auditmod5b.c: Likewise.
7104 * elf/tst-auditmod6b.c: Likewise.
7105 * elf/tst-auditmod6c.c: Likewise.
7106 * elf/tst-auditmod7b.c: Likewise.
7107
7108 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7109 and x32_gnu_pltexit.
7110
7111 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7112 __ELF_NATIVE_CLASS.
7113 (La_x32_regs): New macro.
7114 (La_x32_retval): Likewise.
7115 (la_x32_gnu_pltenter): New function prototype.
7116 (la_x32_gnu_pltexit): Likewise.
7117
7998fa78
AS
71182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7119
dcb33988
AS
7120 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7121 exponent.
7122
233fc563
AS
7123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7124
7998fa78
AS
7125 * configure.in (libc_cv_cc_nofma): Check for option to disable
7126 generation of FMA instructions.
7127 * configure: Regenerate.
7128 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7129 * sysdeps/ieee754/dbl-64/Makefile: New file.
7130 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7131 Remove brandred-fma4.
7132 (CFLAGS-brandred-fma4.c): Remove.
7133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7134 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7135 define.
7136 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7137 define.
7138
8e95c99a
L
71392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7140
7141 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7142 LLONG_MAX != LONG_MAX.
7143 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7144 (_fitoa_word): Likewise.
7145 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7146 LLONG_MAX != LONG_MAX.
7147 * stdio-common/_itowa.h: Include <_itoa.h>.
7148 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7149 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7150 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7151 only if not defined.
7152 (_ITOA_WORD_TYPE): Likewise.
7153 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7154 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7155
6f4db457
DM
71562012-03-21 David S. Miller <davem@davemloft.net>
7157
7158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7159
7785fe5a
L
71602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7161
7162 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7163 of x86_64 when setting libc_cv_slibdir, libdir and
7164 libc_cv_localedir.
7165 * sysdeps/unix/sysv/linux/configure: Regenerated.
7166
4535cd55
JM
71672012-03-21 Joseph Myers <joseph@codesourcery.com>
7168
7169 * manual/lang.texi (Old Varargs): Remove section.
7170 (How Variadic): Update menu.
7171 (va_start): Do not mention varargs.h.
7172
17228132
TS
71732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7174 Joseph Myers <joseph@codesourcery.com>
7175
7176 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7177 link test.
7178 * configure: Regenerated.
7179
8149f976
TS
71802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7181
05f3d1f6
UD
7182 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7183 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7184 conformtest.pl
8149f976 7185
1a4ac776
JM
71862012-03-21 Joseph Myers <joseph@codesourcery.com>
7187
be22ce65
JM
7188 * NOTES: Remove.
7189 * Makefile (files-for-dist): Remove NOTES.
7190 (NOTES): Remove rule.
7191 * README: Don't refer to NOTES.
7192 * manual/creature.texi: Don't include macros.texi.
7193 * manual/intro.texi (creature.texi): Remove comment referring to
7194 NOTES.
7195
40b601fb
JM
7196 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7197 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7198 * configure: Regenerated.
7199 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7200 LIBC_TRY_CC_OPTION.
7201 (libc_cv_as_i686): Likewise.
7202 (libc_cv_cc_avx): Likewise.
7203 (libc_cv_cc_sse2avx): Likewise.
7204 (libc_cv_cc_fma4): Likewise.
7205 (libc_cv_cc_novzeroupper): Likewise.
7206 * sysdeps/i386/configure: Regenerated.
7207
1a4ac776
JM
7208 [BZ #13883]
7209 * sysdeps/i386/fpu/s_cexp.S: Remove.
7210 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7211 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7212 * math/libm-test.inc (cexp_test): Add more tests.
7213 * sysdeps/i386/fpu/libm-test-ulps: Update.
7214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7215
a458e7fe
AM
72162012-03-21 Allan McRae <allan@archlinux.org>
7217
7218 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7219
0cb7efc5
JM
72202012-03-21 Joseph Myers <joseph@codesourcery.com>
7221
7222 [BZ #13871]
7223 * math/w_exp2.c: Do not include <float.h>.
7224 (o_threshold, u_threshold): Remove.
7225 (__exp2): Calculate result before checking finiteness and calling
7226 __kernel_standard.
7227 * math/w_exp2f.c: Likewise.
7228 * math/w_exp2l.c: Likewise.
7229 * math/libm-test.inc (exp2_test): Require overflow exception for
7230 1e6 input.
2460d3aa
JM
7231
7232 [BZ #3866]
7233 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7234 range of signed 64-bit integers before using fistpll. Remove
7235 checks for whether integers fit in mantissa bits.
7236 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7237 the range of signed 32-bit integers before using fistpl. Remove
7238 checks for whether integers fit in mantissa bits.
7239 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7240 (__ieee754_powl): Test for y outside the range of signed 64-bit
7241 integers before using fistpll. Reduce 64-bit values to 63-bit
7242 ones as needed.
7243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7244 divide-by-zero is raised for zero to large negative powers.
7245 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7246 (__ieee754_powl): Test for y outside the range of signed 64-bit
7247 integers before using fistpll. Reduce 64-bit values to 63-bit
7248 ones as needed.
7249 * math/libm-test.inc (pow_test): Add more tests.
7250
eb96ffb0
L
72512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7252
7253 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7254 <stdio-common/_itoa.h>.
7255 * debug/segfault.c: Likewise.
7256 * elf/dl-cache.c: Likewise.
7257 * elf/dl-minimal.c: Likewise.
7258 * elf/dl-misc.c: Likewise.
7259 * elf/dl-sysdep.c: Likewise.
7260 * elf/dl-version.c: Likewise.
7261 * elf/rtld.c: Likewise.
7262 * hurd/hurdsock.c: Likewise.
7263 * hurd/lookup-retry.c: Likewise.
7264 * malloc/malloc.c: Likewise.
7265 * malloc/mtrace.c: Likewise.
7266 * nscd/nscd_getgr_r.c: Likewise.
7267 * nscd/nscd_getpw_r.c: Likewise.
7268 * nscd/nscd_getserv_r.c: Likewise.
7269 * posix/getopt_init.c: Likewise.
7270 * posix/wordexp.c: Likewise.
7271 * stdio-common/_itoa.c: Likewise.
7272 * stdio-common/printf_fphex.c: Likewise.
7273 * stdio-common/vfprintf.c: Likewise.
7274 * string/_strerror.c: Likewise.
7275 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7276 * sysdeps/i386/i686/hp-timing.h: Likewise.
7277 * sysdeps/mach/_strerror.c: Likewise.
7278 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7279 * sysdeps/mach/hurd/sethostid.c: Likewise.
7280 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7281 * sysdeps/mach/xpg-strerror.c: Likewise.
7282 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7283 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7284 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7285 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7286 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7287 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7288 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7289 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7290 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7291 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7292 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7293 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7296 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7297 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7299 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7300 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7301 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7302 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7303
7304 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7305
7306 * stdio-common/_itoa.h: Moved to ...
7307 * sysdeps/generic/_itoa.h: Here.
7308
7309 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7310
7311 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7312 instead of "_itoa.h" and "_itowa.h".
7313 * stdio-common/vfprintf.: Likewise.
7314
d1af992d
L
73152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7318 <bits/wordsize.h>.
7319 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7320 (__signbit): Likwise.
7321 (llrintf): Likwise.
7322 (llrint): Likwise.
7323
114883e0
L
73242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7327 __WORDSIZE != 64.
7328
c135cc1b
JM
73292012-03-20 Joseph Myers <joseph@codesourcery.com>
7330
7331 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7332 OVERFLOW_EXCEPTION_OK.
7333 * math/libm-test.inc ("Philosophy"): Update comment about
7334 exception testing.
7335 (OVERFLOW_EXCEPTION): Define.
7336 (OVERFLOW_EXCEPTION_OK): Likewise.
7337 (INVALID_EXCEPTION_OK): Renumber.
7338 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7339 (IGNORE_ZERO_INF_SIGN): Likewise.
7340 (test_exceptions): Handle FE_OVERFLOW.
7341 (exp10_test): Expect overflow exceptions.
7342 (exp2_test): Likewise.
7343 (expm1_test): Likewise.
7344 (nextafter_test): Likewise.
7345 (pow_test): Likewise.
7346 (scalbn_test): Likewise.
7347 (scalbln_test): Likewise.
7348
95443d88
L
73492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7350
7351 * sysdeps/x86_64/bits/atomic.h
7352 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7353 64bit integer.
7354 (atomic_exchange_acq): Likewise.
7355 (__arch_exchange_and_add_body): Likewise.
7356 (__arch_add_body): Likewise.
7357 (atomic_add_negative): Likewise.
7358 (atomic_add_zero): Likewise.
7359
490df6c4
L
73602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7361
c2722551 7362 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7363 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7364
5e52b189
L
73652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7366
7367 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7368 Check __x86_64__ instead of __WORDSIZE.
7369
a9879d4c
L
73702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7371
7372 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7373
5df98260
DM
73742012-03-19 David S. Miller <davem@davemloft.net>
7375
e1497744
DM
7376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7377
5df98260
DM
7378 * sysdeps/sparc/fpu/fenv_private.h: New file.
7379 * sysdeps/sparc/fpu/math_private.h: Use it.
7380 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7381 Remove.
7382 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7383 (libc_feholdexcept_setroundl): Remove.
7384 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7385 Remove.
7386 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7387 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7388
b4c35121
L
73892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7390
7391 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7392 int64_t instead of long int.
7393 (INSERT_WORDS64): Likwise.
7394
56965fd7
L
73952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7396
7397 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7398 _Unwind_GetCFA return to _Unwind_Ptr first.
7399
83d1aec8
JM
74002012-03-19 Joseph Myers <joseph@codesourcery.com>
7401
1897ad44
JM
7402 [BZ #13629]
7403 * math/s_clog.c: Include <float.h>.
7404 (__clog): Scale large or subnormal inputs.
7405 * math/s_clogf.c: Likewise.
7406 * math/s_clogl.c: Likewise.
7407 * math/s_clog10.c: Include <float.h>.
7408 (M_LOG10_2): Define.
7409 (__clog10): Scale large or subnormal inputs.
7410 * math/s_clog10f.c: Likewise.
7411 * math/s_clog10l.c: Likewise.
7412 * math/libm-test.inc (clog_test): Add more tests.
7413 (clog10_test): Likewise.
7414 * sysdeps/i386/fpu/libm-test-ulps: Update.
7415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7416
7726d6a9
JM
7417 [BZ #11451]
7418 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7419 x and y.
7420 * math/libm-test.inc (atan2_test): Add another test.
7421
83d1aec8
JM
7422 * Makerules (common-objdir-compile): Remove.
7423 * sysdeps/unix/Makefile (config-generated): Do not add
7424 $(unix-generated) to variable.
7425 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7426 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7427 Remove rule.
7428 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7429 Likewise.
7430 [generic bits/local_lim.h] (before-compile): Do not append to
7431 variable.
7432 [generic bits/local_lim.h] (common-generated): Likewise.
7433 [generic sys/param.h] (before-compile): Do not append to variable.
7434 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7435 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7436 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7437 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7438 include.
7439 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7440 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7441 [generic sys/param.h] ($(addprefix
7442 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7443 [generic sys/param.h] (common-generated): Do not append to
7444 variable.
7445 [generic sys/param.h] (sysdep_headers): Likewise.
7446 [generic bits/errno.h] (before-compile): Do not append to
7447 variable.
7448 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7449 rule.
7450 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7451 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7452 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7453 [generic bits/errno.h] (common-generated): Do not append to
7454 variable.
7455 [generic bits/ioctls.h] (before-compile): Do not append to
7456 variable.
7457 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7458 rule.
7459 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7460 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7461 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7462 rule.
7463 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7464 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7465 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7466 [generic bits/ioctls.h] (common-generated): Do not append to
7467 variable.
7468 [generic sys/syscall.h] (syscall.h): Remove variable.
7469 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7470 rule.
7471 [generic sys/syscall.h] (before-compile): Do not append to
7472 variable.
7473 [generic sys/syscall.h] (common-generated): Likewise.
7474 * sysdeps/unix/errnos-tmpl.c: Remove file.
7475 * sysdeps/unix/errnos.awk: Likewise.
7476 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7477 * sysdeps/unix/ioctls.awk: Likewise.
7478 * sysdeps/unix/mk-local_lim.c: Likewise.
7479 * sysdeps/unix/snarf-ioctls: Likewise.
7480
4851a949
RH
74812012-03-19 Richard Henderson <rth@twiddle.net>
7482
bd37f2ee
RH
7483 * sysdeps/i386/fpu/fenv_private.h: New file.
7484 * sysdeps/i386/fpu/math_private.h: Use it.
7485 (math_opt_barrier, math_force_eval): Remove.
7486 (libc_feholdexcept_setround_53bit): Remove.
7487 (libc_feupdateenv_53bit): Remove.
7488 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7489 (math_opt_barrier, math_force_eval): Remove.
7490 (libc_feholdexcept): Remove.
7491 (libc_feholdexcept_setround): Remove.
7492 (libc_fetestexcept, libc_fesetenv): Remove.
7493 (libc_feupdateenv_test): Remove.
7494 (libc_feupdateenv, libc_feholdsetround): Remove.
7495 (libc_feresetround): Remove.
7496
d0adc922
RH
7497 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7498 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7499
0fe0f1f8
RH
7500 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7501 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7502 (libc_feupdateenv_testl): New.
7503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7504 (libc_feupdateenv_testf): New.
7505 (libc_feupdateenv): Use libc_feupdateenv_test.
7506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7507 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7508
eb92c487
RH
7509 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7510 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7511 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7512 (libc_feresetround_noex): New.
7513 (libc_feresetround_noexf): New.
7514 (libc_feresetround_noexl): New.
7515 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7516 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7517 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7518 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7519 SET_RESTORE_ROUND.
7520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7521 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7522 (__cos): Likewise.
7523 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7524 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7525 SET_RESTORE_ROUND_NOEX.
7526 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7527 SET_RESTORE_ROUND_NOEXF.
7528 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7529 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7530 (libc_feholdsetroundf): New.
7531 (libc_feresetround, libc_feresetroundf): New.
7532
7d2e8012
RH
7533 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7534 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7535 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7536
b4dabbb4
RH
7537 * sysdeps/generic/math_private.h: Include <fenv.h>.
7538 (default_libc_feholdexcept): New.
7539 (default_libc_feholdexcept_setround): New.
7540 (default_libc_fesetenv, default_libc_feupdateenv): New.
7541 (libc_feholdexcept): Only define if undefined.
7542 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7543 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7544 (libc_feholdexcept_setroundl): Likewise.
7545 (libc_feholdexcept_setround_53bit): Likewise.
7546 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7547 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7548 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7549 (libc_feupdateenv_53bit): Likewise.
7550 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7551 (libc_feholdexcept): Convert from macro to inline function.
7552 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7553 (libc_fesetenv, libc_feupdateenv): Likewise.
7554
4851a949
RH
7555 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7556 not previously defined.
7557 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7558 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7559 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7560 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7561 * sysdeps/ieee754/flt-32/math_private.h: New file.
7562 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7563 math_private.h below SET_FLOAT_WORD.
7564 (__isnan, __isinf_ns, __finite): Remove.
7565 (__isnanf, __isinf_nsf, __finitef): Remove.
7566
e79d442e
AS
75672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7568
7569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7570
90b80344
DM
75712012-03-17 David S. Miller <davem@davemloft.net>
7572
7573 [BZ #6471]
7574 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7575 for 2.16.
7576
edc21804
DM
75772012-03-16 David S. Miller <davem@davemloft.net>
7578
77e927af
DM
7579 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7580 warnings.
7581
374976dd
DM
7582 [BZ #6471]
7583 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7584 properly.
7585 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7586 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7587 sysdep_routines when subdir is sysvipc.
7588 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7589 __getshmlba helper.
7590
edc21804
DM
7591 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7592
473c3ef3
L
75932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7594
7595 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7596 [__LP64__].
7597
eb0f39b6
L
75982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7599
7600 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7601 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7602 (__lround): Renamed to ...
7603 (__llround): This. Replace long int with long long int.
7604 Define lround functions as aliases of llround functions.
7605 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7606
6b6cd74b
L
76072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7608
7609 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7610 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7611 adresses to uintptr_t. Replace "long int" and "unsigned long
7612 int" with "greg_t" on va_arg.
7613
f1a77b01
L
76142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7615
7616 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7617 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7618
7619 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7620 Move e_machine check before EI_CLASS check. Handle x32
7621 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7622 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7623 SKIP_EM_IA_64 and include
7624 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7625
7626 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7627 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7628 (add_system_dir): New macro.
7629
7630 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7631 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7632
11b90b9f
JM
76332012-03-16 Joseph Myers <joseph@codesourcery.com>
7634
c36e1d23
JM
7635 [BZ #2551]
7636 [BZ #2552]
7637 [BZ #2553]
7638 [BZ #2554]
7639 [BZ #2562]
7640 [BZ #2563]
7641 [BZ #2565]
7642 [BZ #2566]
7643 [BZ #2576]
7644 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7645 (y0): Likewise.
7646 * math/w_j0f.c (j0f): Likewise.
7647 (y0f): Likewise.
7648 * math/w_j0l.c (__j0l): Likewise.
7649 (__y0l): Likewise.
7650 * math/w_j1.c (j1): Likewise.
7651 (y1): Likewise.
7652 * math/w_j1f.c (j1f): Likewise.
7653 (y1f): Likewise.
7654 * math/w_j1l.c (__j1l): Likewise.
7655 (__y1l): Likewise.
7656 * math/w_jn.c (jn): Likewise.
7657 (yn): Likewise.
7658 * math/w_jnf.c (jnf): Likewise.
7659 (ynf): Likewise.
7660 * math/w_jnl.c (__jnl): Likewise.
7661 (__ynl): Likewise.
7662 * math/libm-test.inc (j0_test): Add more tests.
7663 (j1_test): Likewise.
7664 (jn_test): Likewise. Add trailing semicolon to existing test.
7665 (y0_test): Likewise.
7666 (y1_test): Likewise.
7667 * sysdeps/i386/fpu/libm-test-ulps: Update.
7668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669
11b90b9f
JM
7670 [BZ #13851]
7671 [BZ #13854]
7672 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7673 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7674 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7675 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7676 (__tanl): Set errno for infinite argument.
7677 * sysdeps/i386/fpu/mptan.c: Remove.
7678 * sysdeps/i386/fpu/s_tan.S: Likewise.
7679 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7680 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7681 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7682 * math/libm-test.inc (tan_test): Add more tests and enable more
7683 tests for double and long double.
7684 * sysdeps/i386/fpu/libm-test-ulps: Update.
7685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7686
6a1bd2a1
JK
76872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7688
7689 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7690 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7691
10a803e0
RM
76922012-03-16 Roland McGrath <roland@hack.frob.com>
7693
7694 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7695 * configure.in: Use it for both main tree and add-ons.
7696 * configure: Regenerated.
7697
f196c7f7
L
76982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7699
7700 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7701
8848d99d
JM
77022012-03-16 Joseph Myers <joseph@codesourcery.com>
7703
96cbe7f4
JM
7704 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7705 in comment.
7706
8848d99d
JM
7707 [BZ #13851]
7708 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7709 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7710 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7711 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7712 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7713 infinite argument.
7714 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7716 != 0 for prec == 2.
7717 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7718 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7719 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7720 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7721 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7722 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7723 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7724 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7725 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7726 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7727 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7728 * math/libm-test.inc (cos_test): Add more tests and enable more
7729 tests for long double.
7730 (sin_test): Likewise.
7731 (sincos_test): Likewise.
7732 * sysdeps/i386/fpu/libm-test-ulps: Update.
7733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7734
dd7f4703
DM
77352012-03-16 David S. Miller <davem@davemloft.net>
7736
7737 * sysdeps/sparc/fpu/math_private.h: New file.
7738
006f1daa
DM
77392012-03-15 David S. Miller <davem@davemloft.net>
7740
c0c83bc8
DM
7741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7742 file.
e6a62e18 7743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7745 file.
e6a62e18
DM
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7752 sysdep routines.
7753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7754
88cb87d9
DM
7755 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7756 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7757
006f1daa 7758 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7760 sparc-ifunc.h
006f1daa 7761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7763 Likewise.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7765 Likewise.
006f1daa
DM
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7770 Likewise.
006f1daa
DM
7771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7776 Likewise.
7777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7778 Likewise.
006f1daa
DM
7779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7783 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7784 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7786 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7792 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7803
11e0098e
AS
78042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7805
7806 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7807 scaling.
7808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7809
e85b09d0
AJ
78102012-03-15 Andreas Jaeger <aj@suse.de>
7811
7812 [BZ #13852]
7813 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7814 ieee754/flt-32 implementation for sin, cos and sincos.
7815 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7816 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7817 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7818 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7819 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7820 ieee754/flt-32 implementation for tan.
7821
7822 * math/libm-test.inc (cos_test): Enable some large input tests for
7823 float as well
7824 (sin_test): Likewise.
7825 (sincos_test): Likewise.
7826 (tan_test): Add tests for large input.
7827
7828 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829
81c64153
AJ
78302012-03-15 Andreas Jaeger <aj@suse.de>
7831
7832 [BZ #13658]
7833 * math/libm-test.inc (cos_test): Add more test cases.
7834 (sin_test): Likewise.
7835 (sincos_test): Likewise.
7836
7bbfa5c6
AJ
78372012-03-15 Andreas Jaeger <aj@suse.de>
7838
7839 [BZ #13837]
7840 * math/libm-test.inc (cos_test): Add a test case for large input
7841 value.
7842 (sin_test): Likewise.
7843 (sincos_test): Likewise.
7844
78452012-03-15 Andreas Jaeger <aj@suse.de>,
7846 Joseph Myers <joseph@codesourcery.com>
7847
7848 [BZ #13658]
0671f479 7849 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7850 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7851 * sysdeps/i386/fpu/branred.c: Likewise.
7852 * sysdeps/i386/fpu/dosincos.c: Likewise.
7853 * sysdeps/i386/fpu/mpa.c: Likewise.
7854 * sysdeps/i386/fpu/s_cos.S: Likewise.
7855 * sysdeps/i386/fpu/s_sin.S: Likewise.
7856 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7857 * sysdeps/i386/fpu/sincos32.c: Likewise.
7858
7859 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7860 Define.
7861 (libc_feupdateenv_53bit): Define.
7862 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7863 Define.
7864 (libc_feupdateenv_53bit): Define.
7865
7866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7867 53 bit (without extend i386 double precision).
7868
7869 * math/libm-test.inc (sincos_test): Add tests for large input.
7870 (sin): Likewise.
7871 (cos): Likewise.
7872
7873 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7874
9cad04ea
AS
78752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7876
7877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7878
f7062b9a
DM
78792012-03-15 David S. Miller <davem@davemloft.net>
7880
7881 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7882 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7883 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7884 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7897 file.
f7062b9a 7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7900 file.
f7062b9a 7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7903 file.
f7062b9a 7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7906 file.
f7062b9a
DM
7907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7908 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7909 fmin/fmax sysdep routines.
7910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7911
7bd951ff
DM
79122012-03-14 David S. Miller <davem@davemloft.net>
7913
559398ab
DM
7914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7937 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7942 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7943 routines.
7944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7945 file.
559398ab 7946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7948 file.
559398ab 7949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7951 file.
559398ab 7952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7954 file.
559398ab 7955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7957 file.
559398ab 7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7960 file.
7961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7962 file.
7963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7964 file.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7966 file.
7967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7968 New file.
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7970 file.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7972 file.
559398ab 7973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7975 file.
559398ab 7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7978 file.
559398ab 7979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7981 file.
559398ab 7982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7984 VIS3 routines.
559398ab
DM
7985
7986 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7987 New file.
7988
5a1c1e32
DM
7989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7990
eae47a36
DM
7991 * sysdeps/sparc/configure.in: New file.
7992 * sysdeps/sparc/configure: Generate.
7993 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7994 * configure: Regenerate.
7995 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7996 * config.make.in (have-as-vis3): New.
7997 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7998 available use -Av9d instead of -Av9a.
7999 * sysdeps/sparc/sparc64/Makefile: Likewise.
8000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
8001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
8002 New file.
8003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
8004 file.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
8006 New file.
8007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
8008 file.
eae47a36
DM
8009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
8010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
8011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
8012 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
8013 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
8014
c0c83bc8
DM
8015 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
8016 fzeros/fnegs to load 0x80000000 into a float register instead of
8017 using the stack.
7bd951ff
DM
8018 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
8019
bd951ccb
JM
80202012-03-14 Joseph Myers <joseph@codesourcery.com>
8021
8022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8023 bits/syscall.h.
8024 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
8025 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
8026 ($(inst_includedir)/bits/syscall.h): Remove rule.
8027 ($(objpfx)bits/syscall.d): Include instead of
8028 $(objpfx)syscall-list.d.
8029 (generated): Change syscall-list.h and syscall-list.d to
8030 bits/syscall.h and bits/syscall.d.
8031
bb4e6db2
RM
80322012-03-14 Roland McGrath <roland@hack.frob.com>
8033
8034 [BZ #13846]
8035 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
8036
aa4a2ae1
JM
80372012-03-14 Joseph Myers <joseph@codesourcery.com>
8038
e456826d
JM
8039 [BZ #13841]
8040 * math/s_csqrt.c: Include <float.h>.
8041 (__csqrt): Scale large or subnormal inputs.
8042 * math/s_csqrtf.c: Likewise.
8043 * math/s_csqrtl.c: Likewise.
8044 * math/libm-test.inc (csqrt_test): Add more tests.
8045 * sysdeps/i386/fpu/libm-test-ulps: Update.
8046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8047
aa4a2ae1
JM
8048 [BZ #13840]
8049 * math/libm-test.inc (hypot_test): Add more tests.
8050
7c10fd35
DM
80512012-03-13 David S. Miller <davem@davemloft.net>
8052
8053 [BZ #13840]
8054 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
8055 double-precision for the calculation instead of scaling.
8056
f453b98b
JM
80572012-03-13 Joseph Myers <joseph@codesourcery.com>
8058
8059 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
8060 manipulate bits before adding and subtracting TWO52[sx].
8061 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
8062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8063 Likewise.
8064 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
8065
09a3453f
DM
80662012-03-13 David S. Miller <davem@davemloft.net>
8067
8e59da90
DM
8068 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
8069 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
8070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
8071 rtld-global-offsets.h
8072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8073
2a8ab7f2
DM
8074 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
8075 large parameters.
8076
10f62770
DM
8077 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
8078
5f0bdb18
DM
8079 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
8080 'err' in the ifdef scope in which it is actually used.
8081
09a3453f
DM
8082 * nss/nss_db/db-init.c: Include string.h
8083
b4b2eb5e
DM
80842012-03-12 David S. Miller <davem@davemloft.net>
8085
98bb2f1c
DM
8086 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8087 masking out of the most significant byte of random value used.
8088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8089 Fix coding style in previous change.
8090
b4b2eb5e
DM
8091 * sysdeps/unix/sysv/linux/kernel-features.h
8092 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8093 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8094 expression.
8095 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8096 later.
8097
6e226b09
DM
80982012-03-11 David S. Miller <davem@davemloft.net>
8099
a1bcbd40
DM
8100 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8101 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8103 for 'resultvar' otherwise things get truncated on 64-bit.
8104
cb9d6174
DM
8105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8106 Fix masking out of the most significant byte of random value used.
8107
6e226b09
DM
8108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8109
058c132d
AS
81102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8111
8112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8113
2d2cd515
DM
81142012-03-09 David S. Miller <davem@davemloft.net>
8115
8116 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8117 variables with appropriate CPP guards.
8118 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8119 frame pointer, not the stack pointer. Correct layout comments. Fix test
8120 on resulting framesize and the management of the outregs buffer for pltexit.
8121 Preserve floating point return values across _dl_call_pltexit call.
8122 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8123 framesize and the management of the outregs buffer for pltexit.
8124 Preserve floating point return values across _dl_call_pltexit
8125 call.
8126 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8127 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8128 (print_exit): Fix format string for return register value.
8129
9a07f9d0
JM
81302012-03-10 Joseph Myers <joseph@codesourcery.com>
8131
8132 * sunrpc/Makefile (others): Add rpcgen.
8133 ($(objpfx)rpcgen): Remove special build rule and dependency on
8134 libc.
8135 * sunrpc/rpcgen.c: New file.
8136
547b5e30
PE
81372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8138
c524201a
PE
8139 [BZ #13673]
8140 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8141 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8142 * sysdeps/i386/crti.S: Likewise.
8143 * sysdeps/i386/crtn.S: Likewise.
8144 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8145 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8146 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8147 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8148 * sysdeps/sh/crti.S: Likewise.
8149 * sysdeps/sh/crtn.S: Likewise.
8150 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8151
7b6235f2
PE
8152 [BZ #13673]
8153 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8154 with URL.
8155 * locale/programs/locfile-kw.gperf: Likewise.
8156 * locale/programs/charmap-kw.h: Regenerated.
8157 * locale/programs/locfile-kw.h: Likewise.
8158
547b5e30
PE
8159 [BZ #13673]
8160 * intl/plural.y: Replace FSF snail mail address with URL.
8161 * intl/plural.c: Regenerated.
8162
5f0a5dae
RH
81632012-03-09 Richard Henderson <rth@twiddle.net>
8164
8165 * include/math_private.h: Remove file.
8166 * math/math_private.h: Move file ...
8167 * sysdeps/generic/math_private.h: ... here.
8168
b8c03620
RH
8169 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8170 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8171 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8172
4e234f5d 8173 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8174 and <math_private.h>.
8175 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8176 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8177 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8178 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8179 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8206 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8228 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8229 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8230 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8231 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8254 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8255 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8257 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8259 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8263 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8264 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8265 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8266 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8267 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8268 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8269 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8270 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8271 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8272 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8273 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8274 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8275 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8276 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8277 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8278 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8279 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8280 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8281 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8282 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8283 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8285 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8286 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8287 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8288 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8289 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8290 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8291 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8292 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8293 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8294 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8296 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8297 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8298 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8299 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8301 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8303 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8305 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8306 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8307 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8309 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8310 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8311 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8312 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8317 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8319 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8320 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8321 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8322 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8323 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8324 * sysdeps/ieee754/k_standard.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8442 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8443 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8444 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8445 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8447 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8452 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8454 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8455 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8457 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8459 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8466 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8474 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8477 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8478 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8479 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8480 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8481 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8482 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8483 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8484 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8485 * sysdeps/ieee754/s_lib_version.c: Likewise.
8486 * sysdeps/ieee754/s_matherr.c: Likewise.
8487 * sysdeps/ieee754/s_signgam.c: Likewise.
8488 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8489 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8490 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8491 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8492 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8493 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8494 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8495 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8496 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8497 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8498 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8499 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8500 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8501 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8502 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8503 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8504 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8505 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8506 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8507 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8509
1991fa03
JM
85102012-03-09 Joseph Myers <joseph@codesourcery.com>
8511
8512 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8513 * sunrpc/rpc_main.c: Likewise.
8514 * sunrpc/rpc_svcout.c: Likewise.
8515
60d6f5a6
DM
85162012-03-09 David S. Miller <davem@davemloft.net>
8517
8518 * include/math_private.h: New file.
8519
4962050e
JM
85202012-03-09 Joseph Myers <joseph@codesourcery.com>
8521
02a6f887
JM
8522 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8523 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8524 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8525 from <bits/socket_type.h>.
8526 (enum __socket_type): Don't define here.
8527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8528 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8529 bits/socket_type.h.
8530
c6e013c1
JM
8531 [BZ #13566]
8532 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8533 checking __USE_GNU.
8534
4962050e
JM
8535 * Makerules ($(inst_includedir)/%.h): New rule.
8536 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8537 (install-others): Remove variable setting.
8538 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8539
38842f45
RH
85402012-03-08 Richard Henderson <rth@twiddle.net>
8541
67bb6da6
RH
8542 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8543 from macro to inline function; merge with the
8544 !__LIBC_INTERNAL_MATH_INLINES version.
8545 (__ieee754_sqrtf): Likewise.
8546
15194b4b
RH
8547 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8548 to inline function.
8549 (__rintf, __floor, __floorf): Likewise.
8550
64e21ede
RH
8551 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8552 macro to inline function.
8553 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8554
38842f45
RH
8555 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8556 not <math/math_private.h>.
8557
c64bf5fe
DM
85582012-03-08 David S. Miller <davem@davemloft.net>
8559
8560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8561 copyright year.
8562 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8563
82d86f28
TS
85642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8565
8566 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8567 normalization.
8568 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8569 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8570
aea5d727
UD
85712012-03-08 Ulrich Drepper <drepper@gmail.com>
8572
8573 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8574 be defined individually, they must be defined as a block. Define
8575 S for printing a string instead of hidint the different by using a
8576 macro for adding the 'l'.
8577 * stdio-common/tst-fphex-wide.c: Adjust.
8578
70bca0a3
MP
85792012-03-07 Marek Polacek <polacek@redhat.com>
8580
8581 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8582
65b81130
MP
85832012-03-08 Marek Polacek <polacek@redhat.com>
8584
8585 [BZ #13806]
8586 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8587 * stdio-common/tst-fphex.c: Define a few macros to make the
8588 test reusable. Use them.
8589 * stdio-common/tst-fphex-wide.c: New file.
8590
07037eeb
JM
85912012-03-08 Joseph Myers <joseph@codesourcery.com>
8592
a7a93d50
JM
8593 [BZ #6911]
8594 * manual/macros.texi (gnusystems): New macro.
8595 (nongnusystems): Likewise.
8596 (gnulinuxhurdsystems): Likewise.
8597 (gnuhurdsystems): Likewise..
8598 (gnulinuxsystems): Likewise.
8599 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8600 variants of the GNU system, not "GNU system".
8601 * manual/conf.texi: Likewise.
8602 * manual/errno.texi: Likewise. Update example of errno macro
8603 expansion.
8604 * manual/filesys.texi: Likewise.
8605 (getumask): Document as specific to GNU/Hurd.
8606 * manual/install.texi: Likewise. Reword some references to
8607 GNU/Linux.
8608 * manual/intro.texi: Likewise.
8609 * manual/io.texi: Likewise.
8610 (File Name Portability): Detail which constraints are inapplicable
8611 to all GNU systems and which are only inapplicable to GNU/Hurd.
8612 * manual/job.texi: Likewise.
8613 * manual/llio.texi: Likewise.
8614 (O_NOCTTY): Document as present on GNU/Linux.
8615 * manual/maint.texi: Likewise.
8616 * manual/memory.texi: Likewise.
8617 * manual/pattern.texi: Likewise.
8618 * manual/pipe.texi: Likewise.
8619 * manual/process.texi: Likewise.
8620 * manual/resource.texi: Likewise.
8621 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8622 child on GNU/Hurd.
8623 * manual/setjmp.texi: Likewise.
8624 * manual/signal.texi: Likewise.
8625 * manual/startup.texi: Likewise.
8626 * manual/stdio.texi: Likewise.
8627 * manual/terminal.texi: Likewise.
8628 (ONLCR): Document as POSIX.
8629 (OXTABS): Document availability on GNU/Linux as XTABS.
8630 (ONOEOT): Document availability separately from other bits.
8631 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8632 * manual/time.texi: Likewise.
8633 * manual/users.texi: Likewise.
8634 * INSTALL: Regenerated.
8635 * sysdeps/gnu/errlist.c: Regenerated.
8636
07037eeb
JM
8637 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8638 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8639 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8640 puts.
8641 * configure: Regenerated.
8642
d1d3431a
JM
86432012-03-07 Joseph Myers <joseph@codesourcery.com>
8644
af6a1e37
JM
8645 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8646 default includes instead of AC_HEADER_CHECK.
8647 * sysdeps/i386/configure: Regenerated.
8648
d1d3431a
JM
8649 [BZ #10716]
8650 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8651 * math/s_cacoshf.c (__cacoshf): Likewise.
8652 * math/s_cacoshl.c (__cacoshl): Likewise.
8653 * math/s_casinh.c (__casinh): Set signs of result from argument.
8654 * math/s_casinhf.c (__casinhf): Likewise.
8655 * math/s_casinhl.c (__casinhl): Likewise.
8656 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8657 (casinh_test): Add more tests.
8658 * sysdeps/i386/fpu/libm-test-ulps: Update.
8659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8660
482ff4da
UD
86612012-03-07 Ulrich Drepper <drepper@gmail.com>
8662
872fda05
UD
8663 * po/zh_TW.po: Update from translation team.
8664
a4300c7a
UD
8665 * login/Makefile (distribute): Remove variable.
8666 * catgets/Makefile: Likewise.
8667 * mach/Makefile: Likewise.
8668 * malloc/Makefile: Likewise.
8669 * misc/Makefile: Likewise.
8670 * iconv/Makefile: Likewise.
8671 * nscd/Makefile: Likewise.
8672 * hurd/Makefile: Likewise.
8673 * manual/Makefile: Likewise.
8674 * locale/Makefile: Likewise.
8675 * intl/Makefile: Likewise.
8676 * conform/Makefile: Likewise.
8677 * nss/Makefile: Likewise.
8678 * time/Makefile: Likewise.
8679 * soft-fp/Makefile: Likewise.
8680 * dirent/Makefile: Likewise.
8681 * gmon/Makefile: Likewise.
8682 * po/Makefile: Likewise.
8683 * rt/Makefile: Likewise.
8684 * socket/Makefile: Likewise.
8685 * math/Makefile: Likewise.
8686 * signal/Makefile: Likewise.
8687 * debug/Makefile: Likewise.
8688 * elf/Makefile: Likewise.
8689 * timezone/Makefile: Likewise.
8690 * stdlib/Makefile: Likewise.
8691 * iconvdata/Makefile: Likewise.
8692 * sunrpc/Makefile: Likewise.
8693 * io/Makefile: Likewise.
8694 * argp/Makefile: Likewise.
8695 * inet/Makefile: Likewise.
8696 * hesiod/Makefile: Likewise.
8697 * grp/Makefile: Likewise.
8698 * csu/Makefile: Likewise.
8699 * wctype/Makefile: Likewise.
8700 * crypt/Makefile: Likewise.
8701 * libio/Makefile: Likewise.
8702 * string/Makefile: Likewise.
8703 * nis/Makefile: Likewise.
8704 * resolv/Makefile: Likewise.
8705 * stdio-common/Makefile: Likewise.
8706 * wcsmbs/Makefile: Likewise.
8707 * dlfcn/Makefile: Likewise.
8708 * posix/Makefile: Likewise.
8709
3b7c4e74 8710 [BZ #6959]
482ff4da
UD
8711 * timezone/Makefile: Don't install timezone files, just the programs
8712 and scripts.
8713
f72ed77d
UD
87142012-03-06 Ulrich Drepper <drepper@gmail.com>
8715
a000466f
UD
8716 * nss/databases.def: Add missing gshadow entry.
8717
f72ed77d
UD
8718 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8719
a53b7a4e
MP
87202012-03-06 Marek Polacek <polacek@redhat.com>
8721
8722 [BZ #13726]
8723 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8724 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8725 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8726 * stdio-common/tst-long-dbl-fphex.c: New file.
8727
e9258400
DM
87282012-03-06 David S. Miller <davem@davemloft.net>
8729
8730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8731 (set_obp_int): New function.
8732 (get_obp_int): New function.
8733 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8734 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8735 Avoid unused variable warnings on 'val' and use builtin_expect.
8736 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8737 __builtin_expect.
e9258400
DM
8738 (INLINE_CLONE_SYSCALL): Likewise.
8739
3bd2c723
DM
87402012-03-05 David S. Miller <davem@davemloft.net>
8741
8742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8743
bbb78d03
AS
87442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8745
884c5db4
AS
8746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8747
bbb78d03
AS
8748 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8749 only for |x| >= 40.
8750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8751
1c9f702a 87522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8753
8754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8755 Replace gettimeofday with __vdso_gettimeofday.
8756
7be16f82
RM
8757 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8758 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8759 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8760
8761 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8762 time with __vdso_time.
8763
ed58a00f
JM
87642012-03-05 Joseph Myers <joseph@codesourcery.com>
8765
8766 * manual/lang.texi (size_t): Note types to which size_t may be
8767 equivalent with the GNU C Library, but do not describe when
8768 differences between them are significant.
8769
30ee4ced
AJ
87702012-03-05 Andreas Jaeger <aj@suse.de>
8771
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8773
b7cd39e8
JM
87742012-03-05 Joseph Myers <joseph@codesourcery.com>
8775
8776 [BZ #3976]
8777 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8778 (__ieee754_pow): Save and restore rounding mode and use
8779 round-to-nearest for main computations.
8780 * math/libm-test.inc (pow_test_tonearest): New function.
8781 (pow_test_towardzero): Likewise.
8782 (pow_test_downward): Likewise.
8783 (pow_test_upward): Likewise.
8784 (main): Call the new functions.
8785 * sysdeps/i386/fpu/libm-test-ulps: Update.
8786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8787
8788 [BZ #3976]
8789 * math/libm-test.inc (cosh_test_tonearest): New function.
8790 (cosh_test_towardzero): Likewise.
8791 (cosh_test_downward): Likewise.
8792 (cosh_test_upward): Likewise.
8793 (sinh_test_tonearest): Likewise.
8794 (sinh_test_towardzero): Likewise.
8795 (sinh_test_downward): Likewise.
8796 (sinh_test_upward): Likewise.
8797 (main): Call the new functions.
8798 * sysdeps/i386/fpu/libm-test-ulps: Update.
8799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8800
6c6a98c9
TV
88012012-03-05 Tom de Vries <tom@codesourcery.com>
8802
8803 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8804 default stack guard is set in last bytes.
8805 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8806
21bb2d2e 88072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8808
21bb2d2e 8809 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8810
21bb2d2e
AJ
8811 [BZ #13656]
8812 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8813 possibly allocate from heap instead of stack.
8814 * stdio-common/bug-vfprintf-nargs.c: New file.
8815 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8816
c6922934
AS
88172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8818
8819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8820
bc957d53
MP
88212012-03-03 Marek Polacek <polacek@redhat.com>
8822
8823 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8824 * math/math_private.h: Likewise.
8825 * stdlib/tst-strtod.c: Likewise.
8826 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8827 * sysdeps/x86_64/bits/atomic.h: Likewise.
8828
6358490d
DM
88292012-03-02 David S. Miller <davem@davemloft.net>
8830
8831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8835 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8836 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8837 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8838 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8839
01ae168d
RM
88402012-03-02 Roland McGrath <roland@hack.frob.com>
8841
d9a17c07
RM
8842 [BZ #13792]
8843 * manual/examples/README: New file, says the example source files
8844 can be used under GPL>=2.
8845 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8846 line containing just "*/".
8847 * manual/examples/add.c: Add copyright header (GPL>=2).
8848 * manual/examples/argp-ex1.c: Likewise.
8849 * manual/examples/argp-ex2.c: Likewise.
8850 * manual/examples/argp-ex3.c: Likewise.
8851 * manual/examples/argp-ex4.c: Likewise.
8852 * manual/examples/atexit.c: Likewise.
8853 * manual/examples/db.c: Likewise.
8854 * manual/examples/dir.c: Likewise.
8855 * manual/examples/dir2.c: Likewise.
8856 * manual/examples/execinfo.c: Likewise.
8857 * manual/examples/filecli.c: Likewise.
8858 * manual/examples/filesrv.c: Likewise.
8859 * manual/examples/fmtmsgexpl.c: Likewise.
8860 * manual/examples/genpass.c: Likewise.
8861 * manual/examples/inetcli.c: Likewise.
8862 * manual/examples/inetsrv.c: Likewise.
8863 * manual/examples/isockad.c: Likewise.
8864 * manual/examples/longopt.c: Likewise.
8865 * manual/examples/memopen.c: Likewise.
8866 * manual/examples/memstrm.c: Likewise.
8867 * manual/examples/mkfsock.c: Likewise.
8868 * manual/examples/mkisock.c: Likewise.
8869 * manual/examples/mygetpass.c: Likewise.
8870 * manual/examples/pipe.c: Likewise.
8871 * manual/examples/popen.c: Likewise.
8872 * manual/examples/rprintf.c: Likewise.
8873 * manual/examples/search.c: Likewise.
8874 * manual/examples/select.c: Likewise.
8875 * manual/examples/setjmp.c: Likewise.
8876 * manual/examples/sigh1.c: Likewise.
8877 * manual/examples/sigusr.c: Likewise.
8878 * manual/examples/stpcpy.c: Likewise.
8879 * manual/examples/strdupa.c: Likewise.
8880 * manual/examples/strftim.c: Likewise.
8881 * manual/examples/strncat.c: Likewise.
8882 * manual/examples/subopt.c: Likewise.
8883 * manual/examples/swapcontext.c: Likewise.
8884 * manual/examples/termios.c: Likewise.
8885 * manual/examples/testopt.c: Likewise.
8886 * manual/examples/testpass.c: Likewise.
8887 * manual/examples/timeval_subtract.c: Likewise.
8888
01ae168d
RM
8889 [BZ #13792]
8890 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8891 function to ...
8892 * manual/timeval_subtract.c.texi: ... here, new file.
8893
49efa33d
DM
88942012-03-02 David S. Miller <davem@davemloft.net>
8895
8896 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8897
28afd92d
JM
88982012-03-02 Joseph Myers <joseph@codesourcery.com>
8899
804360ed
JM
8900 [BZ #3976]
8901 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8902 (__sin): Save and restore rounding mode and use round-to-nearest
8903 for all computations.
8904 (__cos): Save and restore rounding mode and use round-to-nearest
8905 for all computations.
8906 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8907 <fenv.h>.
8908 (tan): Save and restore rounding mode and use round-to-nearest for
8909 all computations.
8910 * math/libm-test.inc (cos_test_tonearest): New function.
8911 (cos_test_towardzero): Likewise.
8912 (cos_test_downward): Likewise.
8913 (cos_test_upward): Likewise.
8914 (sin_test_tonearest): Likewise.
8915 (sin_test_towardzero): Likewise.
8916 (sin_test_downward): Likewise.
8917 (sin_test_upward): Likewise.
8918 (tan_test_tonearest): Likewise.
8919 (tan_test_towardzero): Likewise.
8920 (tan_test_downward): Likewise.
8921 (tan_test_upward): Likewise.
8922 (main): Call the new functions.
8923 * sysdeps/i386/fpu/libm-test-ulps: Update.
8924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8925
a6d06d7b
JM
8926 [BZ #10135]
8927 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8928 small n, then large n, before computing and testing k+n.
8929 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8931 Likewise.
8932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8933 Likewise.
8934 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8935 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8936 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8937 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8938 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8940 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8941 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8942 * math/libm-test.inc (scalbn_test): Add more tests.
8943 (scalbln_test): Likewise.
8944
07e12bb3
JM
8945 * manual/filesys.texi (mode_t): Describe constraints on size and
8946 signedness, not exact equivalence to a particular type.
8947 (ino_t): Likewise.
8948 (ino64_t): Likewise.
8949 (dev_t): Likewise.
8950 (nlink_t): Likewise.
8951 (blkcnt_t): Likewise.
8952 (blkcnt64_t): Likewise.
8953 * manual/llio.texi (off_t): Likewise.
8954
28afd92d
JM
8955 [BZ #3976]
8956 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8957 (__ieee754_exp): Save and restore rounding mode and use
8958 round-to-nearest for all computations.
8959 * math/libm-test.inc (exp_test_tonearest): New function.
8960 (exp_test_towardzero): Likewise.
8961 (exp_test_downward): Likewise.
8962 (exp_test_upward): Likewise.
8963 (main): Call the new functions.
8964 * sysdeps/i386/fpu/libm-test-ulps: Update.
8965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966
b1eeb65d
CD
89672012-03-01 Chris Demetriou <cgd@google.com>
8968
8969 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8970 have predictable order.
8971
53362a4b
DM
89722012-03-01 David S. Miller <davem@davemloft.net>
8973
3c969083
DM
8974 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8975
759707de
DM
8976 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8977 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8978 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8979 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8980
dfdb8ff2
DM
8981 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8982 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8983 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8985 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8986 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8987 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8988 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8989 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8990
ead89f96
DM
8991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8992
7f66bd07
DM
8993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8994 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8995 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8996
53362a4b
DM
8997 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8998 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8999 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9000 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9001 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9002 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9003 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9004 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9005 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9006 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9007 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9008 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9009 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9010 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9011 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9013 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
9014 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
9015 * sysdeps/sparc/elf/configure: Regenerated.
9016
7b1902cb
JM
90172012-03-01 Joseph Myers <joseph@codesourcery.com>
9018
bec039bc
JM
9019 * configure.in (AS, LD): Require binutils 2.20 or later.
9020 * configure: Regenerated.
9021 * manual/install.texi (Tools for Compilation): Give binutils 2.20
9022 as required minimum version.
9023 * INSTALL: Regenerated.
9024
7b1902cb
JM
9025 [BZ #2541]
9026 [BZ #4108]
9027 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
9028 before squaring exponent.
9029 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
9030 bottom long double and 27 bits of top long double before squaring
9031 exponent.
9032 * math/libm-test.inc (erfc_test): Add more tests.
9033 * sysdeps/i386/fpu/libm-test-ulps: Update.
9034 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9036
f775c276
KT
90372012-03-01 Kai Tietz <ktietz@redhat.com>
9038
9039 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
9040 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
9041 containing bit-fields.
9042 * soft-fp/extended.h (_FP_UNION_E): Likewise.
9043 * soft-fp/single.h (_FP_UNION_S): Likewise.
9044 * soft-fp/double.h (_FP_UNION_D): Likewise.
9045
5b8a4d4a
JM
90462012-02-29 Joseph Myers <joseph@codesourcery.com>
9047
0bab47b6
JM
9048 [BZ #13786]
9049 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
9050 not include ../strcmp.S.
9051 [USE_AS_STRNCASECMP_L]: Likewise.
9052 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
9053 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
9054 * sysdeps/i386/i686/multiarch/strncase_l-c.c
9055 (__strncasecmp_l_ia32): Define as alias to
9056 __strncasecmp_l_nonascii.
9057
0fcad3e2
JM
9058 [BZ #5794]
9059 * math/libm-test.inc (expm1_test): Add test for bug 5794.
9060 * sysdeps/i386/fpu/libm-test-ulps: Update.
9061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9062
5b8a4d4a
JM
9063 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
9064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9065
8fdceb2e
JL
90662012-02-29 Jeff Law <law@redhat.com>
9067
9068 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
9069 out of bounds read.
9070
1f393a11
MP
90712012-02-29 Marek Polacek <polacek@redhat.com>
9072
9073 [BZ #13706]
9074 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
9075 * elf/Makefile: Add rules to run tst-unused-dep.out.
9076
8847f037
DM
90772012-02-28 David S. Miller <davem@davemloft.net>
9078
9079 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
9080 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9083 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9084 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9085
169d7f11
JM
90862012-02-29 Joseph Myers <joseph@codesourcery.com>
9087
9088 * math/libm-test.inc (llround_test): Move one test from
9089 lround_test. Use TEST_f_L in moved test.
9090 (lround_test): Move misplaced test to llround_test. Add testcase
9091 from bug 2561.
9092
39adf059
UD
90932012-02-28 Ulrich Drepper <drepper@gmail.com>
9094
9095 * sysdeps/x86_64/fpu/e_expf.S: New file.
9096 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9097
71b5d1c5
SB
90982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9099
9100 [BZ #13637]
9101 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9102 of remain_len that may cause incomplete multi-byte character and
9103 false match.
9104 * posix/bug-regex33.c: New file.
9105 * posix/Makefile (tests): Add bug-regex33.
9106
1f77f049
JM
91072012-02-28 Joseph Myers <joseph@codesourcery.com>
9108
9109 * manual/macros.texi: New file.
9110 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9111 * manual/libc.texinfo: Include macros.texi.
9112 * manual/creatute.texi: Likewise.
9113 * manual/install.texi: Likewise.
9114 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9115 @glibcadj{} in references to the GNU C Library.
9116 * manual/charset.texi: Likewise.
9117 * manual/conf.texi: Likewise.
9118 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9119 when not using those macros.
9120 * manual/creature.texi: Likewise.
9121 * manual/crypt.texi: Likewise.
9122 * manual/errno.texi: Likewise.
9123 * manual/filesys.texi: Likewise.
9124 * manual/header.texi: Likewise.
9125 * manual/install.texi: Likewise.
9126 * manual/intro.texi: Likewise.
9127 * manual/io.texi: Likewise.
9128 * manual/job.texi: Likewise.
9129 * manual/lang.texi: Likewise.
9130 * manual/libc.texiinfo: Likewise.
9131 * manual/llio.texi: Likewise.
9132 * manual/locale.texi: Likewise.
9133 * manual/maint.texi: Likewise.
9134 * manual/math.texi: Likewise.
9135 * manual/memory.texi: Likewise.
9136 * manual/message.texi: Likewise.
9137 * manual/nss.texi: Likewise.
9138 * manual/pattern.texi: Likewise.
9139 * manual/process.texi: Likewise.
9140 * manual/resource.texi: Likewise.
9141 * manual/search.texi: Likewise.
9142 * manual/setjmp.texi: Likewise.
9143 * manual/signal.texi: Likewise.
9144 * manual/socket.texi: Likewise.
9145 * manual/startup.texi: Likewise.
9146 * manual/stdio.texi: Likewise.
9147 * manual/string.texi: Likewise.
9148 * manual/sysinfo.texi: Likewise.
9149 * manual/syslog.texi: Likewise.
9150 * manual/terminal.texi: Likewise.
9151 * manual/time.texi: Likewise.
9152 * manual/users.texi: Likewise.
9153 * INSTALL: Regenerated.
9154 * NOTES: Regenerated.
d40c5d54 9155 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9156
450bf206
AS
91572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9158
9159 * include/dirent.h: Include <dirstream.h> before
9160 <dirent/dirent.h>.
9161
741a235b
DM
91622012-02-28 David S. Miller <davem@davemloft.net>
9163
9164 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9165 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9166 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9167 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9168
d6b5aa58
DM
91692012-02-27 David S. Miller <davem@davemloft.net>
9170
1aff59a3
DM
9171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9173 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9174 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9175
d6b5aa58
DM
9176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9177 frame pointer instead of stack pointer relative arg slot.
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9179 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9180 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9181
433f48bf
CD
91822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9183
9184 [BZ #3992]
9185 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9186
d674b76d
DM
91872012-02-27 David S. Miller <davem@davemloft.net>
9188
9189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9193 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9194 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9195 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9196 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9197
0e7727f7
JM
91982012-02-27 Joseph Myers <joseph@codesourcery.com>
9199
9200 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9201 later. Allow versions 5-9.
43be4ca2 9202 * configure: Regenerated.
0e7727f7
JM
9203 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9204 required minimum version and 4.6 as recommended version. Do not
9205 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9206 * INSTALL: Regenerated.
0e7727f7 9207
a78bc654
DM
92082012-02-27 David S. Miller <davem@davemloft.net>
9209
428d5830
DM
9210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9214 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9215 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9216 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9217 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9218
a78bc654
DM
9219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9220 manipulate bits before adding and subtracting TWO112[sx].
9221 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9222
4579f81c
RM
92232012-02-27 Roland McGrath <roland@hack.frob.com>
9224
36c8acb4
RM
9225 [BZ #13775]
9226 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9227 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9228 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9229 being in POSIX, because they are in 1003.1-2008.
9230
84ad622b
RM
9231 * rt/tst-aio.c: Include <fcntl.h>.
9232 * rt/tst-aio7.c: Likewise.
9233 * rt/tst-aio64.c: Likewise.
9234
4579f81c
RM
9235 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9236
abd923db
JM
92372012-02-27 Joseph Myers <joseph@codesourcery.com>
9238
9239 * manual/install.texi (--with-headers): Describe headers as
9240 interface headers, not private headers.
9241 (Specific advice for GNU/Linux systems): Describe use of headers
9242 from "make headers_install", not private headers from older
9243 kernels.
43be4ca2 9244 * INSTALL: Regenerated.
abd923db
JM
9245 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9246 Change to 2.6.19.
9247 * sysdeps/unix/sysv/linux/configure: Regenerated.
9248
6664049b
JM
9249 * manual/llio.texi (fclean): Remove documentation.
9250
bb8b6697
JM
9251 * manual/Makefile (libc-texi-generated): New variable. Include
9252 version.texi.
9253 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9254 $(libc-texi-generated), not duplicated list of files.
9255 (version.texi, stamp-version): New rules.
9256 (realclean): Remove $(libc-texi-generated), not individual files
9257 from that list. Do not remove dir-add.texinfo.
9258 * manual/libc.texinfo: Comment out uses of edition numbers and
9259 references to printed manual. Remove last-updated dates.
9260 (EDITION): Comment out.
9261 (ISBN): Likewise.
9262 (VERSION, UPDATED): Remove.
9263 (version.texi): Include.
9264
12e5c3b9
AS
92652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9266
9267 * sysdeps/posix/spawni.c: Include <signal.h>.
9268 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9269 * sysdeps/pthread/aio_fsync.c: Likewise.
9270
4efeffc1 92712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9272
ba63ba08
UD
9273 * conform/Makefile (tests): Run only when not cross-compiling and
9274 when fast-check is not defined.
9275
d94a4670
UD
9276 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9277 * conform/data/limits.h-data: Fixes for POSIX2008.
9278 * conform/run-conformtest.sh: Run all tests.
9279 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9280 headers.
9281 * include/bits/dlfcn.h: Likewise.
9282 * include/langinfo.h: Likewise.
9283 * include/monetary.h: Likewise.
9284 * include/sys/poll.h: Likewise.
9285
9286 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9287 for __USE_GNU.
9288 * posix/spawn.h: Define __need_sigset_t.
9289 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9290 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9291 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9292 to get sigevent_t only.
9293 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9294 only for __USE_GNU.
9295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9296 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9297 process_vm_writev only for __USE_GNU.
9298 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9299
9300 * conform/Makefile: For now ignore errors from run-conformtest.
9301 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9302 POSIX to avoid namespace pollution. Don't prepend headers.
9303 * conform/data/aio.h-data: Fixes for POSIX testing.
9304 * conform/data/fcntl.h-data: Likewise.
9305 * conform/data/glob.h-data: Likewise.
9306 * conform/data/grp.h-data: Likewise.
9307 * conform/data/pthread.h-data: Likewise.
9308 * conform/data/pwd.h-data: Likewise.
9309 * conform/data/signal.h-data: Likewise.
9310 * conform/data/spawn.h-data: Likewise.
9311 * conform/data/stdio.h-data: Likewise.
9312 * conform/data/stdlib.h-data: Likewise.
9313 * conform/data/stropts.h-data: Likewise.
9314 * conform/data/sys/mman.h-data: Likewise.
9315 * conform/data/sys/stat.h-data: Likewise.
9316 * conform/data/sys/types.h-data: Likewise.
9317 * conform/data/sys/wait.h-data: Likewise.
9318 * conform/data/time.h-data: Likewise.
9319 * conform/data/unistd.h-data: Likewise.
9320 * conform/data/utime.h-data: Likewise.
9321
9322 * io/sys/stat.h: fchmod was always in POSIX.
9323 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9324 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9325 * rt/aio.h: Define __need_timespec before including <time.h>.
9326 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9327 struct. Add forward declaration of pthread_attr_t and use it in
9328 sigevent.
9329 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9331 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9332 always remove CLK_TCK definition.
9333
c20105c3
AS
93342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9335
9336 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9337
7a270350
UD
93382012-02-25 Ulrich Drepper <drepper@gmail.com>
9339
31341567
UD
9340 * conform/run-conformtest.sh: New file.
9341 * conform/Makefile: Run run-conformtest for tests.
9342 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9343 support.
9344
9345 * conform/data/uchar.h-data: New file.
9346 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9347 * conform/data/arpa/inet.h-data: Likewise.
9348 * conform/data/assert.h-data: Likewise.
9349 * conform/data/complex.h-data: Likewise.
9350 * conform/data/cpio.h-data: Likewise.
9351 * conform/data/ctype.h-data: Likewise.
9352 * conform/data/dirent.h-data: Likewise.
9353 * conform/data/dlfcn.h-data: Likewise.
9354 * conform/data/errno.h-data: Likewise.
9355 * conform/data/fcntl.h-data: Likewise.
9356 * conform/data/float.h-data: Likewise.
9357 * conform/data/fmtmsg.h-data: Likewise.
9358 * conform/data/fnmatch.h-data: Likewise.
9359 * conform/data/ftw.h-data: Likewise.
9360 * conform/data/glob.h-data: Likewise.
9361 * conform/data/grp.h-data: Likewise.
9362 * conform/data/iconv.h-data: Likewise.
9363 * conform/data/inttypes.h-data: Likewise.
9364 * conform/data/langinfo.h-data: Likewise.
9365 * conform/data/libgen.h-data: Likewise.
9366 * conform/data/limits.h-data: Likewise.
9367 * conform/data/locale.h-data: Likewise.
9368 * conform/data/math.h-data: Likewise.
9369 * conform/data/monetary.h-data: Likewise.
9370 * conform/data/mqueue.h-data: Likewise.
9371 * conform/data/ndbm.h-data: Likewise.
9372 * conform/data/net/if.h-data: Likewise.
9373 * conform/data/netdb.h-data: Likewise.
9374 * conform/data/netinet/in.h-data: Likewise.
9375 * conform/data/nl_types.h-data: Likewise.
9376 * conform/data/poll.h-data: Likewise.
9377 * conform/data/pthread.h-data: Likewise.
9378 * conform/data/pwd.h-data: Likewise.
9379 * conform/data/regex.h-data: Likewise.
9380 * conform/data/sched.h-data: Likewise.
9381 * conform/data/search.h-data: Likewise.
9382 * conform/data/semaphore.h-data: Likewise.
9383 * conform/data/setjmp.h-data: Likewise.
9384 * conform/data/signal.h-data: Likewise.
9385 * conform/data/spawn.h-data: Likewise.
9386 * conform/data/stdarg.h-data: Likewise.
9387 * conform/data/stdio.h-data: Likewise.
9388 * conform/data/stdlib.h-data: Likewise.
9389 * conform/data/string.h-data: Likewise.
9390 * conform/data/strings.h-data: Likewise.
9391 * conform/data/stropts.h-data: Likewise.
9392 * conform/data/sys/ipc.h-data: Likewise.
9393 * conform/data/sys/mman.h-data: Likewise.
9394 * conform/data/sys/msg.h-data: Likewise.
9395 * conform/data/sys/resource.h-data: Likewise.
9396 * conform/data/sys/select.h-data: Likewise.
9397 * conform/data/sys/sem.h-data: Likewise.
9398 * conform/data/sys/shm.h-data: Likewise.
9399 * conform/data/sys/socket.h-data: Likewise.
9400 * conform/data/sys/stat.h-data: Likewise.
9401 * conform/data/sys/statvfs.h-data: Likewise.
9402 * conform/data/sys/time.h-data: Likewise.
9403 * conform/data/sys/timeb.h-data: Likewise.
9404 * conform/data/sys/times.h-data: Likewise.
9405 * conform/data/sys/types.h-data: Likewise.
9406 * conform/data/sys/uio.h-data: Likewise.
9407 * conform/data/sys/un.h-data: Likewise.
9408 * conform/data/sys/utsname.h-data: Likewise.
9409 * conform/data/sys/wait.h-data: Likewise.
9410 * conform/data/syslog.h-data: Likewise.
9411 * conform/data/tar.h-data: Likewise.
9412 * conform/data/termios.h-data: Likewise.
9413 * conform/data/utime.h-data: Likewise.
9414 * conform/data/utmpx.h-data: Likewise.
9415 * conform/data/varargs.h-data: Likewise.
9416 * conform/data/wchar.h-data: Likewise.
9417 * conform/data/wctype.h-data: Likewise.
9418 * conform/data/wordexp.h-data: Likewise.
9419
9420 * include/stropts.h: New file.
9421 * include/uchar.h: New file.
9422 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9423 * include/assert.h: Likewise.
9424 * include/ctype.h: Likewise.
9425 * include/dirent.h: Likewise.
9426 * include/dlfcn.h: Likewise.
9427 * include/fcntl.h: Likewise.
9428 * include/fnmatch.h: Likewise.
9429 * include/glob.h: Likewise.
9430 * include/grp.h: Likewise.
9431 * include/libio.h: Likewise.
9432 * include/locale.h: Likewise.
9433 * include/math.h: Likewise.
9434 * include/net/if.h: Likewise.
9435 * include/netdb.h: Likewise.
9436 * include/netinet/in.h: Likewise.
9437 * include/pthread.h: Likewise.
9438 * include/pwd.h: Likewise.
9439 * include/regex.h: Likewise.
9440 * include/sched.h: Likewise.
9441 * include/search.h: Likewise.
9442 * include/setjmp.h: Likewise.
9443 * include/signal.h: Likewise.
9444 * include/stdio.h: Likewise.
9445 * include/stdlib.h: Likewise.
9446 * include/string.h: Likewise.
9447 * include/sys/cdefs.h: Likewise.
9448 * include/sys/mman.h: Likewise.
9449 * include/sys/msg.h: Likewise.
9450 * include/sys/resource.h: Likewise.
9451 * include/sys/select.h: Likewise.
9452 * include/sys/socket.h: Likewise.
9453 * include/sys/stat.h: Likewise.
9454 * include/sys/statvfs.h: Likewise.
9455 * include/sys/time.h: Likewise.
9456 * include/sys/times.h: Likewise.
9457 * include/sys/uio.h: Likewise.
9458 * include/sys/utsname.h: Likewise.
9459 * include/sys/wait.h: Likewise.
9460 * include/termios.h: Likewise.
9461 * include/time.h: Likewise.
9462 * include/ulimit.h: Likewise.
9463 * include/unistd.h: Likewise.
9464 * include/utime.h: Likewise.
9465 * include/wchar.h: Likewise.
9466 * include/wctype.h: Likewise.
9467 * include/wordexp.h: Likewise.
9468
9469 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9470
7a270350
UD
9471 * time/time.h: TIME_UTC must be a macro.
9472 Make timespec_get available for ISO C11 only as well.
9473
7724defc
UD
94742012-02-24 Ulrich Drepper <drepper@gmail.com>
9475
9476 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9477 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9478
6b1d1d46
JM
94792012-02-24 Joseph Myers <joseph@codesourcery.com>
9480
9481 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9482
0f8bbd69
JM
94832012-02-24 Joseph Myers <joseph@codesourcery.com>
9484
9485 * manual/texinfo.tex: Update to version 2012-01-19.16.
9486
66ab80bc
JM
94872012-02-24 Joseph Myers <joseph@codesourcery.com>
9488
9489 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9490
74981cc5
RM
94912012-02-24 Roland McGrath <roland@hack.frob.com>
9492
ee968201
RM
9493 [BZ #13738]
9494 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9495 * manual/fdl-1.3.texi: New file.
9496 * manual/fdl-1.1.texi: File removed.
9497
74981cc5
RM
9498 [BZ #13738]
9499 * manual/libc.texinfo (FDL_VERSION): New @set.
9500 Use it for mention of FDL in cover text.
9501 (Documentation License): Use it in @include file name.
9502
7bb764bc
JM
95032012-02-22 Joseph Myers <joseph@codesourcery.com>
9504 Roland McGrath <roland@hack.frob.com>
9505
9506 [BZ #5461]
9507 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9508 not LONG_LONG_MAX and LONG_LONG_MIN.
9509 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9510 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9511 name.
9512 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9513
6cbeae47
JM
95142012-02-22 Joseph Myers <joseph@codesourcery.com>
9515
9516 [BZ #2547]
9517 [BZ #11365]
9518 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9519 manipulate bits before adding and subtracting TWO23[sx].
9520 * math/libm-test.inc (nearbyint_test): Add more tests.
9521
fe45ce09
JM
95222012-02-22 Joseph Myers <joseph@codesourcery.com>
9523
9524 [BZ #2548]
9525 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9526 bits before adding and subtracting TWO23[sx].
9527 * math/libm-test.inc (rint_test): Add more tests.
9528 (rint_test_tonearest): Likewise.
9529 (rint_test_towardzero): Likewise.
9530 (rint_test_downward): Likewise.
9531 (rint_test_upward: Likewise.
9532
ff3b3d82
JM
95332012-02-22 Joseph Myers <joseph@codesourcery.com>
9534
9535 [BZ #10110]
9536 * include/stdc-predef.h: New file. Extracted from features.h.
9537 * include/features.h: Include stdc-predef.h.
9538 * Makefile (headers): Add stdc-predef.h.
9539 * CONFORMANCE (Compiler limitations): Update.
9540
ef0aab35
JM
95412012-02-22 Joseph Myers <joseph@codesourcery.com>
9542
9543 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9544
58639409
DM
95452012-02-21 David S. Miller <davem@davemloft.net>
9546
9547 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9548 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9549
c0e70b25
DM
95502012-02-20 David S. Miller <davem@davemloft.net>
9551
9552 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9553 using a normal save/restore sequence, rather than allocating a
9554 dummy stack frame just to store a frame pointer and restore.
9555 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9556
fb06851d
JM
95572012-02-21 Joseph Myers <joseph@codesourcery.com>
9558
9559 * manual/install.texi: Fix stray word in line-wrapped comment.
9560
7a8b71c3
DM
95612012-02-20 David S. Miller <davem@davemloft.net>
9562
d510c123
DM
9563 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9564 both binutils and gcc support GOTDATA.
9565
0722d7c2
DM
9566 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9567 "rd %pc" in the PIC register setup sequences.
9568
3d2b3019
DM
9569 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9570 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9571 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9572 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9573 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9575 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9578 (SYSCALL_ERROR_HANDLER): Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9580 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9581 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9582 (SYSCALL_ERROR_HANDLER): Likewise.
9583
c80098a9
DM
9584 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9585 (HAVE_GCC_GOTDATA): New.
9586 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9587 relocation support in both binutils and gcc.
9588 * sysdeps/sparc/elf/configure: Regenerate.
9589
3a2545a0
DM
9590 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9591 * sysdeps/sparc/sparc32/elf/configure: Delete.
9592 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9593 * sysdeps/sparc/sparc64/elf/configure: Delete.
9594 * sysdeps/sparc/elf/configure.in: New file.
9595 * sysdeps/sparc/elf/configure: Generate.
9596
7a8b71c3
DM
9597 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9598 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9599 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9600 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9601 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9602
f1e86fca
JM
96032012-02-21 Joseph Myers <joseph@codesourcery.com>
9604
9605 * manual/install.texi: Do not mention specific glibc version
9606 numbers.
9607 * manual/libc.texinfo (VERSION, UPDATED): Update.
9608 (@copying): Use @copyright{} and range of years.
9609
0e7dfaef
JM
96102012-02-21 Joseph Myers <joseph@codesourcery.com>
9611
9612 [BZ #13695]
9613 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9614 [crti.S not in sysdirs] (generated): Do not append.
9615 [crti.S not in sysdirs] (omit-deps): Likewise.
9616 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9617 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9618 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9619 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9620 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9621 Likewise.
9622 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9623 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9624 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9625 * csu/defs.awk: Remove file.
9626 * sysdeps/generic/initfini.c: Likewise.
9627 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9628 variable.
9629 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9630 Likewise.
9631
599af3ca
JM
96322012-02-20 Joseph Myers <joseph@codesourcery.com>
9633
9634 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9635 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9636 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9637 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9638 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9640 <bits/epoll.h>.
9641 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9642 (__EPOLL_PACKED): Define to empty if not defined by
9643 <bits/epoll.h>.
9644 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9645 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9646 bits/epoll.h.
9647
0e499750
JM
96482012-02-20 Joseph Myers <joseph@codesourcery.com>
9649
9650 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9651 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9652 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9653 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9654 <bits/timerfd.h>.
9655 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9657 bits/timerfd.h.
9658
5ad91f6e
JM
96592012-02-20 Joseph Myers <joseph@codesourcery.com>
9660
9661 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9662 in C locale.
9663 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9664 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9667
06b99b02
AJ
96682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9669
9670 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9671 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9672
7638c0fd
AS
96732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9674
9675 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9676 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9677 defined.
9678 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9679 Likewise.
9680 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9681 entry for 2.16.
9682
92221550
AJ
96832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9684
9685 * math/w_acos.c: Use non-signaling floating-point comparisons.
9686 * math/w_acosf.c: Likewise.
9687 * math/w_acosh.c: Likewise.
9688 * math/w_acoshf.c: Likewise.
9689 * math/w_acoshl.c: Likewise.
9690 * math/w_acosl.c: Likewise.
9691 * math/w_asin.c: Likewise.
9692 * math/w_asinf.c: Likewise.
9693 * math/w_asinl.c: Likewise.
9694 * math/w_atanh.c: Likewise.
9695 * math/w_atanhf.c: Likewise.
9696 * math/w_atanhl.c: Likewise.
9697 * math/w_exp2.c: Likewise.
9698 * math/w_exp2f.c: Likewise.
9699 * math/w_exp2l.c: Likewise.
9700 * math/w_j0.c: Likewise.
9701 * math/w_j0f.c: Likewise.
9702 * math/w_j0l.c: Likewise.
9703 * math/w_j1.c: Likewise.
9704 * math/w_j1f.c: Likewise.
9705 * math/w_j1l.c: Likewise.
9706 * math/w_jn.c: Likewise.
9707 * math/w_jnf.c: Likewise.
9708 * math/w_log.c: Likewise.
9709 * math/w_log10.c: Likewise.
9710 * math/w_log10f.c: Likewise.
9711 * math/w_log10l.c: Likewise.
9712 * math/w_log2.c: Likewise.
9713 * math/w_log2f.c: Likewise.
9714 * math/w_log2l.c: Likewise.
9715 * math/w_logf.c: Likewise.
9716 * math/w_logl.c: Likewise.
9717 * math/w_sqrt.c: Likewise.
9718 * math/w_sqrtf.c: Likewise.
9719 * math/w_sqrtl.c: Likewise.
9720 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9721 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9722 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9724 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9725
ebaf36eb
JM
97262012-02-19 Joseph Myers <joseph@codesourcery.com>
9727
9728 [BZ #9739]
9729 * manual/string.texi (strnlen): Use correct parameter name in
9730 equivalent expression.
9731
71c254a6
JM
97322012-02-19 Joseph Myers <joseph@codesourcery.com>
9733
9734 [BZ #11174]
9735 * manual/users.texi (seteuid): Consistently use neweuid for
9736 argument name.
9737
16d2c631
JM
97382012-02-19 Joseph Myers <joseph@codesourcery.com>
9739
9740 [BZ #13704]
9741 * manual/nss.texi (Services in the NSS configuration): Correct
9742 list of services in example configuration file.
9743
cd837b09
NB
97442012-02-19 Nick Bowler <nbowler@draconx.ca>
9745
9746 [BZ #11322]
9747 * manual/arith.texi: Remove statements about negative zero
9748 behaving identically to zero.
9749
02c4bbad
JM
97502012-02-18 Joseph Myers <joseph@codesourcery.com>
9751
9752 [BZ #5993]
9753 * manual/install.texi: Do not document upgrading from libc5.
9754
366842e7
JM
97552012-02-18 Joseph Myers <joseph@codesourcery.com>
9756
9757 [BZ #4596]
9758 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9759
dd54084d
DM
97602012-02-18 David S. Miller <davem@davemloft.net>
9761
9762 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9763 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9764 %o7 across the call.
9765 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9766 instead.
9767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9768 SETUP_PIC_REG_LEAF.
9769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9770 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9771 * sysdeps/sparc/crtn.S: Likewise.
9772
2bcc53a3
UD
97732012-02-17 Ulrich Drepper <drepper@gmail.com>
9774
9775 * aout/Makefile: Remove.
9776
09c093b5
RK
97772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9778
9779 [BZ #13058]
9780 * manual/examples/argp-ex1.c (main): Format definition in GNU
9781 style.
9782 * manual/examples/argp-ex2.c (main): Likewise.
9783 * manual/examples/argp-ex3.c (main): Likewise.
9784 * manual/examples/argp-ex4.c (main): Likewise.
9785 * manual/examples/longopt.c (main): Use new-style prototype
9786 definition.
9787 * manual/examples/strncat.c (main): Specify return type and use
9788 (void) for arguments.
9789 * manual/examples/subopt.c (main): Use char **argv argument.
9790
2ee633a2
JM
97912012-02-17 Joseph Myers <joseph@codesourcery.com>
9792
9793 [BZ #5077]
9794 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9795 rounding modes.
9796
0520adde
FB
97972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9798
9799 [BZ #6907]
9800 * manual/string.texi (strchr): Change when strchrnul is
9801 recommended.
9802
3f4081cd
DGM
98032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9804
9805 [BZ #174]
9806 * manual/locale.texi (setlocale): Document LOCPATH.
9807
d1b10e78
JM
98082012-02-17 Joseph Myers <joseph@codesourcery.com>
9809
9810 [BZ #10210]
9811 * manual/process.texi (execle): Move @dots{} before last argument.
9812
79c6869c
PB
98132012-02-17 Paul Bolle <pebolle@tiscali.nl>
9814
9815 [BZ #12047]
9816 * manual/charset.texi (Generic Charset Conversion): Fix typo
9817 (LC_TYPE -> LC_CTYPE).
9818
cc6e48bc
NB
98192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9820
9821 [BZ #5805]
9822 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9823 (scalbnf): Likewise.
9824 (scalbnl): Likewise.
9825 (scalbln): Likewise.
9826 (scalblnf): Likewise.
9827 (scalblnl): Likewise.
9828 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9829 (vwarnx): Likewise.
9830 (verr): Likewise.
9831 (verrx): Likewise.
9832 * manual/filesys.texi (telldir): Use braces around return type.
9833 * manual/llio.texi (mmap): Add space after comma.
9834 (mmap64): Likewise.
9835 * manual/math.texi (jn): Use @var{} on parameter names.
9836 (jnf): Likewise.
9837 (jnl): Likewise.
9838 (yn): Likewise.
9839 (ynf): Likewise.
9840 (ynl): Likewise.
9841 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9842 line.
9843 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9844 "...".
9845 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9846 (sched_get_priority_max): Likewise.
9847 * manual/signal.texi (sigvec): Add space after comma.
9848 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9849 names.
9850 (if_indextoname): Likewise.
9851 (if_freenameindex): Likewise.
9852 (sendto): Use ',' instead of '.' in prototype.
9853 * manual/startup.texi (syscall): Use @dots{} instead of literal
9854 "...".
9855 * manual/stdio.texi (__fpending): Separate initial words of
9856 paragraph from @deftypefun line.
9857 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9858 "...".
9859 (vsyslog): Use @var{} on parameter names.
9860 * manual/terminal.texi (stty): Use @var{} on parameter names.
9861 * manual/users.texi (getutmp): Use @var{} on parameter names.
9862 (getutmpx): Likewise.
9863
5b23062f
JM
98642012-02-17 Joseph Myers <joseph@codesourcery.com>
9865
9866 [BZ #6884]
9867 * manual/stdio.texi (fopen): Fix typos in description of
9868 ",ccs=STRING".
9869
8dee4833
AJ
98702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9871
9872 [BZ #4026]
9873 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9874 get clock_id definition.
9875
9078ce93
TS
98762012-02-17 Thomas Schwinge <thomas@schwinge.name>
9877
9878 [BZ #4822]
9879 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9880 (madvise): Cast every argument to void on its own.
9881
3835c55f
JM
98822012-02-17 Joseph Myers <joseph@codesourcery.com>
9883
9884 [BZ #9902]
9885 * manual/startup.texi (Exit Status): Fix typo.
9886
35c47e37
JM
98872012-02-17 Joseph Myers <joseph@codesourcery.com>
9888
9889 [BZ #10140]
9890 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9891 * manual/examples/argp-ex2.c: Likewise.
9892 * manual/examples/argp-ex3.c: Likewise.
9893
e3b69ca7
RH
98942012-02-16 Richard Henderson <rth@redhat.com>
9895
9896 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9897 * sysdeps/s390/s390-32/initfini.c: Remove.
9898 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9899 * sysdeps/s390/s390-64/initfini.c: Remove.
9900
df83af67
KK
99012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9902
9903 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9904 compiler output for sysdeps/generic/initfini.c.
9905 * sysdeps/sh/elf/initfini.c: Remove file.
9906
f63f3380
DM
99072012-02-16 David S. Miller <davem@davemloft.net>
9908
fb59b3a4
DM
9909 [BZ #11494]
9910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9911
f63f3380
DM
9912 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9913 * sysdeps/sparc/crti.S: New file.
9914 * sysdeps/sparc/crtn.S: New file.
9915 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9916 * sysdeps/sparc/sparc64/Makefile: Likewise.
9917
df6a4a4a
MF
99182012-02-15 Mike Frysinger <vapier@gentoo.org>
9919
6dd8f3dc 9920 [BZ #3335]
df6a4a4a
MF
9921 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9922
1cac7236
RM
99232012-02-15 Roland McGrath <roland@hack.frob.com>
9924
d2c736f8
RM
9925 [BZ #4822]
9926 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9927
1cac7236
RM
9928 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9929 (write, read, close): Likewise.
9930 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9931
8e475601
JM
99322012-02-15 Joseph Myers <joseph@codesourcery.com>
9933
9934 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9935 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9936 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9937 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9938 <bits/signalfd.h>.
9939 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9941 bits/signalfd.h.
9942
ed656b40
MP
99432012-02-14 Marek Polacek <polacek@redhat.com>
9944
9945 * sysdeps/x86_64/crti.S: New file.
9946 * sysdeps/x86_64/crtn.S: New file.
9947 * sysdeps/x86_64/elf/initfini.c: Remove file.
9948
2a979d3a
JM
99492012-02-13 Joseph Myers <joseph@codesourcery.com>
9950
9951 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9952 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9953 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9954 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9955 <bits/inotify.h>.
9956 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9958 bits/inotify.h.
9959
2a418ac3
JM
99602012-02-13 Joseph Myers <joseph@codesourcery.com>
9961
9962 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9963 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9964 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9965 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9966 <bits/eventfd.h>.
9967 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9969 bits/eventfd.h.
9970
fb779be7
TS
99712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9972
e19e83c5
RM
9973 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9974 __feraiseexcept instead of feraiseexcept.
7c35ffed 9975
fb779be7
TS
9976 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9977 nanosleep invocations.
9978 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9979 strings, and add error checking for a nanosleep invocations.
9980
59ba27a6
PE
99812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9982
9983 Replace FSF snail mail address with URLs, as per GNU coding standards.
9984 Most of the snail mail addresses were wrong anyway, and omitting
9985 them makes the source code easier to maintain. Almost all of the
9986 changes are to license notices and to locale LC_IDENTIFICATION
9987 addresses, except for this one:
9988 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9989 not its snail mail address.
9990
57b957eb
RH
99912012-02-09 Richard Henderson <rth@twiddle.net>
9992
af850b1c
RH
9993 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9994 of kernel-features.h.
9995
57b957eb
RH
9996 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9997
6b73181a
MP
99982012-02-08 Marek Polacek <polacek@redhat.com>
9999
10000 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
10001 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
10002 * sysdeps/gnu/_G_config.h: Likewise.
10003 * sysdeps/generic/_G_config.h: Likewise.
10004
26ecc33a
AS
100052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
10006
6c6dbc63
AS
10007 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
10008 tests.
10009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10010
e216c012
AS
10011 * sysdeps/powerpc/powerpc32/crti.S: New file.
10012 * sysdeps/powerpc/powerpc32/crtn.S: New file.
10013 * sysdeps/powerpc/powerpc64/crti.S: New file.
10014 * sysdeps/powerpc/powerpc64/crtn.S: New file.
10015
26ecc33a
AS
10016 * Makeconfig (have-initfini): Don't set.
10017 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
10018 * configure.in (nopic_initfini): Don't substitute.
10019 * config.h.in (HAVE_INITFINI): Don't #undef.
10020 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
10021 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
10022
3add8e13
JM
100232012-02-08 Joseph Myers <joseph@codesourcery.com>
10024
10025 Support crti.S and crtn.S provided directly by architectures.
10026 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
10027 [crti.S in sysdirs] (omit-deps): Likewise.
10028 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
10029 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
10030 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
10031 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
10032 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
10033 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
10034 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
10035 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
10036 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
10037 compiler output for sysdeps/generic/initfini.c.
10038 * sysdeps/i386/elf/Makefile: Remove file.
10039 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
10040
a22f12b4
MP
100412012-02-07 Marek Polacek <polacek@redhat.com>
10042
10043 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
10044 * sysdeps/gnu/_G_config.h: Likewise.
10045 * sysdeps/mach/hurd/_G_config.h: Likewise.
10046
148cf100
MP
100472012-02-07 Marek Polacek <polacek@redhat.com>
10048
10049 * math/Makefile (tests): Add tst-CMPLX2.
10050 * math/tst-CMPLX2.c: New file.
10051
cfdc0dd7
AS
100522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
10053
84ba42c4
AS
10054 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10055
cfdc0dd7
AS
10056 * math/libm-test.inc (jn_test): Add missing L suffix.
10057
622c86f4
MP
100582012-02-06 Marek Polacek <polacek@redhat.com>
10059
10060 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
10061 * sysdeps/i386/fpu/e_powf.S: Likewise.
10062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10063 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10064 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10065 * sysdeps/i386/fpu/e_pow.S: Likewise.
10066 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10067 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10068 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10069 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10070 * sysdeps/i386/fpu/e_log2.S: Likewise.
10071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10072 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10073 * sysdeps/i386/fpu/e_powl.S: Likewise.
10074 * sysdeps/i386/fpu/s_log1p.S: Likewise.
10075 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10076 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10077 * sysdeps/i386/fpu/e_logl.S: Likewise.
10078 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10079 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
10080 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10081 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10082 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10083 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10084 * sysdeps/i386/fpu/e_log.S: Likewise.
10085 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10086 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10087 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10088 * sysdeps/i386/fpu/e_logf.S: Likewise.
10089 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10090 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10091 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10092 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10093 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10094 * sysdeps/i386/fpu/e_log10.S: Likewise.
10095 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10096 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10097 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10098 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10099 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10100 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10101 * sysdeps/i386/asm-syntax.h: Likewise.
10102 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10103 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10104 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10105 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10106 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10107 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10108 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10109 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10110 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10111 * sysdeps/powerpc/sysdep.h: Likewise.
10112 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10113 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10114
d4a54ac6
JM
101152012-02-06 Joseph Myers <joseph@codesourcery.com>
10116
10117 [BZ #411]
10118 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10119
314054ea
JM
101202012-02-06 Joseph Myers <joseph@codesourcery.com>
10121
10122 * sysdeps/i386/sysdep.h: Include <features.h>.
10123 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10124 version.
10125
d8e0ca50
JM
101262012-02-05 Joseph Myers <joseph@codesourcery.com>
10127
10128 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10129 Define.
10130 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10131 LOAD_PIC_REG_STR.
10132
b1da7dd9
JM
101332012-02-03 Joseph Myers <joseph@codesourcery.com>
10134
10135 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10136 (SETUP_PIC_REG): Use GET_PC_THUNK.
10137 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10138 macro.
10139
9a1d9254
JM
101402012-02-03 Joseph Myers <joseph@codesourcery.com>
10141
10142 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10143 for non-PIC compilation.
10144 (SETUP_PIC_REG): Add .p2align directive.
10145 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10146 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10147 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10148 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10149 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10150 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10151 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10152 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10153 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10154 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10155 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10156 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10157 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10158 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10159 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10160 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10161 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10162 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10163 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10164 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10165 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10167 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10168 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10169 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10171 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10172 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10173 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10174 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10175 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10176 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10177 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10178 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10179 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10180 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10181 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10182 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10183 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10184 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10185 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10186
65dc3b75
JM
101872012-02-03 Joseph Myers <joseph@codesourcery.com>
10188
10189 * math/tst-CMPLX.c: Include <stdio.h>.
10190
d55bf177
JM
101912012-01-31 Joseph Myers <joseph@codesourcery.com>
10192
10193 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10194 float.
10195 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10196 * sysdeps/sparc/bits/mathdef.h: Likewise.
10197
69db4f8f
MP
101982012-01-31 Marek Polacek <polacek@redhat.com>
10199
10200 * libio/libio.h: Don't define _PARAMS.
10201 * locale/programs/config.h: Don't define PARAMS.
10202 * stdlib/strtol_l.c: Likewise.
10203 (__strtol_l): Remove PARAMS from the prototype.
10204
41b81892
UD
102052012-01-31 Ulrich Drepper <drepper@gmail.com>
10206
3b49edc0
UD
10207 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10208 names. Just use the correct names. Remove unnecessary wrapper
10209 functions.
10210 * malloc/arena.c: Likewise.
10211 * malloc/hooks.c: Likewise.
10212
41b81892
UD
10213 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10214 ARENA_TEST says not to. Simplify test for creation of a new arena.
10215 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10216
27a25b6e
UD
102172012-01-30 Ulrich Drepper <drepper@gmail.com>
10218
10219 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10220 into tail calls.
10221 (update_get_addr): New function.
10222 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10223 GET_ADDR_MODULE parameter.
10224
c8a89e7d
JM
102252012-01-30 Joseph Myers <joseph@codesourcery.com>
10226
10227 * crypt/cert.c: Remove __STDC__ conditionals.
10228 * crypt/crypt-entry.c: Likewise.
10229 * crypt/crypt_util.c: Likewise.
10230 * libio/filedoalloc.c: Likewise.
10231 * libio/fileops.c: Likewise.
10232 * libio/genops.c: Likewise.
10233 * libio/iofclose.c: Likewise.
10234 * libio/iofdopen.c: Likewise.
10235 * libio/iofopen.c: Likewise.
10236 * libio/iofopen64.c: Likewise.
10237 * libio/iogetdelim.c: Likewise.
10238 * libio/iopopen.c: Likewise.
10239 * libio/obprintf.c: Likewise.
10240 * libio/oldfileops.c: Likewise.
10241 * libio/oldiofclose.c: Likewise.
10242 * libio/oldiofdopen.c: Likewise.
10243 * libio/oldiofopen.c: Likewise.
10244 * libio/oldiopopen.c: Likewise.
10245 * libio/wfiledoalloc.c: Likewise.
10246 * libio/wgenops.c: Likewise.
10247 * locale/programs/xmalloc.c: Likewise.
10248 * misc/syslog.c: Likewise.
10249 * stdio-common/xbug.c: Likewise.
10250 * string/memchr.c: Likewise.
10251 * string/memcmp.c: Likewise.
10252 * string/memrchr.c: Likewise.
10253 * string/rawmemchr.c: Likewise.
10254 * sysdeps/posix/getcwd.c: Likewise.
10255 * time/strftime_l.c: Likewise.
10256
3b100462
JM
102572012-01-30 Joseph Myers <joseph@codesourcery.com>
10258
10259 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10260 * config.make.in (config-cflags-sse2avx): Define.
10261 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10262 Fix typo.
10263
607998af
CM
102642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10265
10266 * scripts/config.guess: Update from upstream config git repository.
10267 * scripts/config.sub: Likewise.
10268
3601428f
CM
102692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10270
3ac8b282
CM
10271 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10272 (EM_NUM): Update.
10273 (R_TILEPRO_*, R_TILEGX_*): New macros.
10274
e034841e
CM
10275 * scripts/firstversions.awk: Fix bug in version range handling.
10276
540d7568
CM
10277 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10278
3601428f
CM
10279 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10280
463de862
CM
10281 * include/sys/epoll.h: New file.
10282 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10283 libc_hidden_def.
10284
73139a76
UD
102852012-01-28 Ulrich Drepper <drepper@gmail.com>
10286
96bc5b45
UD
10287 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10288 Avoid unnecessary __WORDSIZE == 64 test.
10289 (fmaxf): Use VEX format if possible.
10290 (fmax): Likewise.
10291 (fminf): Likewise.
10292 (fmin): Likewise.
10293
56f6f6a2
UD
10294 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10295 * math/math_private.h: Remove libc_fegetround* and
10296 libc_fesetround*.
10297 * sysdeps/i386/configure.in: Check for -msse2avx.
10298 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10299 also if SSE2AVX is defined.
10300 Remove libc_fegetround* and libc_fesetround*.
10301 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10302 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10303 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10304 of HAS_YMM_USABLE.
10305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10306 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10308 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10309 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10310
73139a76
UD
10311 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10312
d73f93a4
AZ
103132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10314
10315 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10316 size is not set.
10317 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10318
6ee65ed6
UD
103192012-01-27 Ulrich Drepper <drepper@gmail.com>
10320
10321 [BZ #13618]
10322 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10323 relocation.
10324 * Makeconfig (libm): Define.
10325 * elf/Makefile: Add rules to build and run tst-relsort1.
10326 * elf/tst-relsort1.c: New file.
10327 * elf/tst-relsort1mod1.c: New file.
10328 * elf/tst-relsort1mod2.c: New file.
10329
8db21882
JM
103302012-01-27 Joseph Myers <joseph@codesourcery.com>
10331
10332 * math/s_ldexp.c: Remove __STDC__ conditionals.
10333 * math/s_ldexpf.c: Likewise.
10334 * math/s_ldexpl.c: Likewise.
10335 * math/s_nextafter.c: Likewise.
10336 * math/s_nexttowardf.c: Likewise.
10337 * math/s_significand.c: Likewise.
10338 * math/s_significandf.c: Likewise.
10339 * math/s_significandl.c: Likewise.
10340 * math/w_jnl.c: Likewise.
10341 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10342 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10343 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10344 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10345 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10348 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10350 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10360 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10361 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10362 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10363 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10365 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10366 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10367 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10368 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10369 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10370 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10371 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10372 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10374 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10375 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10376 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10377 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10378 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10379 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10380 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10381 * sysdeps/ieee754/k_standard.c: Likewise.
10382 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10383 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10384 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10385 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10386 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10387 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10388 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10389 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10390 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10391 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10392 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10393 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10394 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10395 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10396 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10397 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10398 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10399 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10401 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10404 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10405 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10407 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10409 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10410 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10411 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10412 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10413 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10414 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10415 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10417 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10418 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10419 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10420 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10421 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10422 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10424 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10425 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10429 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10432 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10433 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10434 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10435 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10436 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10437 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10438 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10439 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10440 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10441 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10442 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10443 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10444 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10447 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10448 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10449 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10450 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10451 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10452 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10453 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10454 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10455 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10456 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10457 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10459 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10460 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10461 * sysdeps/ieee754/s_matherr.c: Likewise.
10462 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10463 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10466
965a54a4
JM
104672012-01-26 Joseph Myers <joseph@codesourcery.com>
10468
10469 * crypt/md5.h: Remove __STDC__ conditionals.
10470 * libio/libioP.h: Likewise.
10471 * locale/programs/config.h: Likewise.
10472 * sysdeps/generic/sysdep.h: Likewise.
10473 * sysdeps/i386/asm-syntax.h: Likewise.
10474 * sysdeps/s390/asm-syntax.h: Likewise.
10475 * sysdeps/unix/sysdep.h: Likewise.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10478
7071ad79
JM
104792012-01-26 Joseph Myers <joseph@codesourcery.com>
10480
10481 * libio/libio.h: Remove __STDC__ conditionals.
10482 * malloc/obstack.h: Likewise.
10483 * math/complex.h: Likewise.
10484 * math/math.h: Likewise.
10485 * sysdeps/generic/_G_config.h: Likewise.
10486 * sysdeps/gnu/_G_config.h: Likewise.
10487 * sysdeps/mach/hurd/_G_config.h: Likewise.
10488 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10489 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10490 * sysdeps/sparc/bits/mathdef.h: Likewise.
10491
afc5ed09
UD
104922012-01-26 Ulrich Drepper <drepper@gmail.com>
10493
10494 [BZ #13583]
10495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10496 Clean up HAS_* macros.
afc5ed09 10497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10498 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10499 possible.
10500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10501 HAS_AVX.
10502 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10503 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10504 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10505 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10506 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10507
bdb6de1d
JM
105082012-01-25 Joseph Myers <joseph@codesourcery.com>
10509
10510 * elf/tst-unique3.cc (gets): Remove declaration.
10511 * elf/tst-unique3lib.cc (gets): Likewise.
10512 * elf/tst-unique3lib2.cc (gets): Likewise.
10513 * elf/tst-unique4.cc (gets): Likewise.
10514
b15549e6
UD
105152012-01-24 Ulrich Drepper <drepper@gmail.com>
10516
10517 * include/stdio.h: Add C++ protection. Add gets declarations and
10518 definitions.
10519 * debug/tst-chk1.c: Don't declare gets here.
10520 * stdio-common/tst-gets.c: Likewise.
10521
a037381f
JM
105222012-01-24 Joseph Myers <joseph@codesourcery.com>
10523
10524 * posix/glob: Remove directory.
10525
f1d4aa75
JM
105262012-01-24 Joseph Myers <joseph@codesourcery.com>
10527
10528 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10529
81c0c964
PT
105302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10531
10532 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10533 of the non-standard EPFNOSUPPORT.
10534
0ea698ae
ST
105352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10536
10537 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10538 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10539 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10540
d220b117
UD
105412012-01-21 Ulrich Drepper <drepper@gmail.com>
10542
10543 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10544
3e1aa84e
UD
105452012-01-20 Ulrich Drepper <drepper@gmail.com>
10546
10547 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10548 transient errors.
10549 * nscd/grpcache.c (cache_addgr): Likewise.
10550 * nscd/hstcache.c (cache_addhst): Likewise.
10551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10552 * nscd/pwdcache.c (cache_addpw): Likewise.
10553 * nscd/servicescache.c (cache_addserv): Likewise.
10554
400aa020
UD
105552012-01-16 Ulrich Drepper <drepper@gmail.com>
10556
d77e7869
UD
10557 * malloc/malloc.c: Various cleanups.
10558 * malloc/hooks.c: Likewise.
10559
400aa020
UD
10560 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10561 * stdlib/bug-fmtmsg1.c: New file.
10562
10563 * stdlib/fmtmsg.c (init): Add missing unlock.
10564 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10565
e0a309cf
MP
105662012-01-12 Marek Polacek <polacek@redhat.com>
10567
10568 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10569 and _GNU_SOURCE.
10570
929d11c7
WS
105712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10572
10573 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10574 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10575 macro to ensure uniqueness of label name.
10576 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10577 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10578
41d0e869
UD
105792012-01-11 Ulrich Drepper <drepper@gmail.com>
10580
0cc5ed3b
UD
10581 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10582
41d0e869
UD
10583 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10584 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10585 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10587
a47a831a
UD
105882012-01-10 Ulrich Drepper <drepper@gmail.com>
10589
daa891c0
UD
10590 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10591
10592 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10593 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10594 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10595
e58ef0f2
UD
10596 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10597
a47a831a 10598 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10599 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10601 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10602
10603 * math/bits/math-finite.h: Add ldexp support.
10604
a0bfc9c7
MP
106052012-01-10 Marek Polacek <polacek@redhat.com>
10606
10607 * locale/programs/localedef.h (show_archive_content): Add noreturn
10608 attribute.
10609
d6e97a1d
UD
106102012-01-09 Ulrich Drepper <drepper@gmail.com>
10611
10612 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10613
d5835c26
UD
106142012-01-08 Ulrich Drepper <drepper@gmail.com>
10615
e5f484c6
UD
10616 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10617
d5835c26
UD
10618 * io/Makefile (headers): Add bits/poll2.h.
10619
d1f741e9
WS
106202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10621
10622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10623 typo #include statement.
10624
ec09c1c4
UD
106252012-01-08 Ulrich Drepper <drepper@gmail.com>
10626
10627 * include/sys/cdefs.h: Define __attribute_alloc_size.
10628 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10629 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10630 * elf/pldd.c: Likewise.
10631 * iconv/iconv_charmap.c: Likewise.
10632 * iconv/iconvconfig.c: Likewise.
10633 * iconv/strtab.c: Likewise.
10634 * locale/programs/locale.c: Likewise.
10635 * locale/programs/localedef.h: Likewise.
10636 * locale/programs/simple-hash.c: Likewise.
10637 * nscd/nscd.h: Likewise.
10638 * nss/makedb.c: Likewise.
10639 * sysdeps/generic/ldconfig.h: Likewise.
10640 * locale/programs/localedef.c: Remove xmalloc prototype.
10641 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10642
20b38e03
PP
106432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10644
10645 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10646 appropriate.
10647
a0da5fe1
UD
106482012-01-08 Ulrich Drepper <drepper@gmail.com>
10649
1d5a644a 10650 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10651 * math/tst-CMPLX.c: New file.
1d5a644a 10652
8784a6db
UD
10653 * math/complex.h (CMPLXL): Fix typo.
10654
d9a216c0
UD
10655 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10656 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10657 GLIBC_2.16.
10658 * debug/tst-chk1.c: Add poll and ppoll tests.
10659 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10660 * include/sys/poll.h: Add hidden proto for ppoll.
10661 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10662 * sysdeps/mach/hurd/ppoll.c: Likewise.
10663 * io/ppoll.c: Likewise.
10664 * debug/poll_chk.c: New file.
10665 * debug/ppoll_chk.c: New file.
10666 * include/bits/poll2.h: New file.
10667 * io/bits/poll2.h: New file.
10668
ac097f5c
UD
10669 [BZ #1350]
10670 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10671
2119dcfa
UD
10672 * configure.in: static is always set to yes. Remove.
10673 * config.make.in: Don't set build-static.
10674 * Makeconfig: Remove use of build-static.
10675 * dlfcn/Makefile: Likewise.
10676 * elf/Makefile: Likewise.
10677 * math/Makefile: Likewise.
10678 * misc/Makefile: Likewise.
10679 * nptl/Makefile: Likewise.
10680 * sysdeps/mach/hurd/Makefile: Likewise.
10681
121766a9
UD
10682 * configure.in: PWD_P is not used anymore.
10683 * config.make.in: Remove PWD_P entry.
10684
51a1d39c 10685 * configure.in: Remove last remnants of RANLIB.
8720d066 10686 No need to check for signed size_t anymore.
215f4bdc
UD
10687 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10688 and IA-64.
3857022a 10689 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10690 * aclocal.m4: Likewise.
10691
d3ed7225
UD
10692 * wcsmbs/mbrtoc16.c: Implement using towc function.
10693 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10694 * wcsmbs/wcsmbsload.c: Likewise.
10695 * iconv/gconv_simple.c: Likewise.
10696 * iconv/gconv_int.h: Likewise.
10697 * iconv/gconv_builtin.h: Likewise.
10698 * iconv/iconv_prog.c: Remove CHAR16 handling.
10699
10700 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10701
10702 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10703
a0da5fe1
UD
10704 * configure.in: Remove --with-elf and --enable-bounded options.
10705 Dont set base_machine for ia64. More non-ELF conditions removed.
10706 Remove testing and setting of leading underscore information.
10707 * config.make.in (build-bounded): Set to no.
10708 * config.h.in: Remove NO_UNDERSCORES entry.
10709 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10710 them.
10711 * csu/start.c: Remove !NO_UNDERSCORE code.
10712 * locale/localeinfo.h: Likewise.
10713 * sysdeps/generic/machine-gmon.h: Likewise.
10714 * sysdeps/generic/sysdep.h: Likewise.
10715 * sysdeps/i386/sysdep.h: Likewise.
10716 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10717 * sysdeps/mach/sysdep.h: Likewise.
10718 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10720 * sysdeps/sh/sysdep.h: Likewise.
10721 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10722 * sysdeps/unix/i386/sysdep.S: Likewise.
10723 * sysdeps/unix/sparc/start.c: Likewise.
10724 * sysdeps/unix/sparc/sysdep.S: Likewise.
10725 * sysdeps/unix/sparc/sysdep.h: Likewise.
10726 * sysdeps/unix/start.c: Likewise.
10727 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10728 * sysdeps/x86_64/sysdep.h: Likewise.
10729
df78418a
UD
107302012-01-07 Ulrich Drepper <drepper@gmail.com>
10731
a784e502
UD
10732 [BZ #13553]
10733 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10734 for non-gcc.
10735 * argp/argp-fmtstream.h: Use const instead __const.
10736 * argp/argp.h: Likewise.
10737 * assert/assert.h: Likewise.
10738 * bits/fenv.h: Likewise.
10739 * bits/sched.h: Likewise.
10740 * bits/sigset.h: Likewise.
10741 * bits/sigthread.h: Likewise.
10742 * catgets/nl_types.h: Likewise.
10743 * conform/data/pthread.h-data: Likewise.
10744 * crypt/crypt-private.h: Likewise.
10745 * crypt/crypt.h: Likewise.
10746 * crypt/crypt_util.c: Likewise.
10747 * ctype/ctype.h: Likewise.
10748 * debug/execinfo.h: Likewise.
10749 * debug/mbsnrtowcs_chk.c: Likewise.
10750 * debug/mbsrtowcs_chk.c: Likewise.
10751 * debug/wcsnrtombs_chk.c: Likewise.
10752 * debug/wcsrtombs_chk.c: Likewise.
10753 * debug/wcstombs_chk.c: Likewise.
10754 * dirent/dirent.h: Likewise.
10755 * dlfcn/dlfcn.h: Likewise.
10756 * elf/neededtest4.c: Likewise.
10757 * grp/grp.h: Likewise.
10758 * gshadow/gshadow.h: Likewise.
10759 * iconv/gconv.h: Likewise.
10760 * iconv/gconv_int.h: Likewise.
10761 * iconv/gconv_simple.c: Likewise.
10762 * iconv/iconv.h: Likewise.
10763 * iconv/loop.c: Likewise.
10764 * iconv/skeleton.c: Likewise.
10765 * include/aio.h: Likewise.
10766 * include/aliases.h: Likewise.
10767 * include/argz.h: Likewise.
10768 * include/arpa/inet.h: Likewise.
10769 * include/assert.h: Likewise.
10770 * include/dirent.h: Likewise.
10771 * include/dlfcn.h: Likewise.
10772 * include/execinfo.h: Likewise.
10773 * include/fcntl.h: Likewise.
10774 * include/fenv.h: Likewise.
10775 * include/glob.h: Likewise.
10776 * include/grp.h: Likewise.
10777 * include/libintl.h: Likewise.
10778 * include/mntent.h: Likewise.
10779 * include/netdb.h: Likewise.
10780 * include/pwd.h: Likewise.
10781 * include/rpc/netdb.h: Likewise.
10782 * include/sched.h: Likewise.
10783 * include/search.h: Likewise.
10784 * include/shadow.h: Likewise.
10785 * include/signal.h: Likewise.
10786 * include/stdio.h: Likewise.
10787 * include/stdlib.h: Likewise.
10788 * include/string.h: Likewise.
10789 * include/sys/socket.h: Likewise.
10790 * include/sys/stat.h: Likewise.
10791 * include/sys/statfs.h: Likewise.
10792 * include/sys/statvfs.h: Likewise.
10793 * include/sys/syslog.h: Likewise.
10794 * include/sys/time.h: Likewise.
10795 * include/sys/uio.h: Likewise.
10796 * include/time.h: Likewise.
10797 * include/unistd.h: Likewise.
10798 * include/utmp.h: Likewise.
10799 * include/wchar.h: Likewise.
10800 * include/wctype.h: Likewise.
10801 * inet/aliases.h: Likewise.
10802 * inet/arpa/inet.h: Likewise.
10803 * inet/netinet/ether.h: Likewise.
10804 * inet/netinet/in.h: Likewise.
10805 * intl/libintl.h: Likewise.
10806 * io/bits/fcntl2.h: Likewise.
10807 * io/fcntl.h: Likewise.
10808 * io/ftw.h: Likewise.
10809 * io/sys/poll.h: Likewise.
10810 * io/sys/stat.h: Likewise.
10811 * io/sys/statfs.h: Likewise.
10812 * io/sys/statvfs.h: Likewise.
10813 * io/utime.h: Likewise.
10814 * libio/bits/stdio.h: Likewise.
10815 * libio/bits/stdio2.h: Likewise.
10816 * libio/libio.h: Likewise.
10817 * libio/libioP.h: Likewise.
10818 * libio/stdio.h: Likewise.
10819 * locale/lc-ctype.c: Likewise.
10820 * locale/locale.h: Likewise.
10821 * login/utmp.h: Likewise.
10822 * malloc/arena.c: Likewise.
10823 * malloc/malloc.c: Likewise.
10824 * malloc/malloc.h: Likewise.
10825 * malloc/mcheck.c: Likewise.
10826 * malloc/mtrace.c: Likewise.
10827 * math/bits/mathcalls.h: Likewise.
10828 * math/fenv.h: Likewise.
10829 * math/math_private.h: Likewise.
10830 * misc/bits/error.h: Likewise.
10831 * misc/bits/syslog.h: Likewise.
10832 * misc/err.h: Likewise.
10833 * misc/error.h: Likewise.
10834 * misc/fstab.h: Likewise.
10835 * misc/mntent.h: Likewise.
10836 * misc/regexp.h: Likewise.
10837 * misc/search.h: Likewise.
10838 * misc/sgtty.h: Likewise.
10839 * misc/sys/mman.h: Likewise.
10840 * misc/sys/syslog.h: Likewise.
10841 * misc/sys/uio.h: Likewise.
10842 * misc/sys/xattr.h: Likewise.
10843 * misc/ttyent.h: Likewise.
10844 * nis/rpcsvc/ypclnt.h: Likewise.
10845 * nss/nss.h: Likewise.
10846 * posix/bits/unistd.h: Likewise.
10847 * posix/fnmatch.h: Likewise.
10848 * posix/glob.h: Likewise.
10849 * posix/sched.h: Likewise.
10850 * posix/spawn.h: Likewise.
10851 * posix/sys/wait.h: Likewise.
10852 * posix/unistd.h: Likewise.
10853 * posix/wordexp.h: Likewise.
10854 * pwd/pwd.h: Likewise.
10855 * resolv/netdb.h: Likewise.
10856 * resource/sys/resource.h: Likewise.
10857 * rt/aio.h: Likewise.
10858 * rt/bits/mqueue2.h: Likewise.
10859 * rt/mqueue.h: Likewise.
10860 * shadow/shadow.h: Likewise.
10861 * signal/signal.h: Likewise.
10862 * socket/send.c: Likewise.
10863 * socket/sendto.c: Likewise.
10864 * socket/sys/socket.h: Likewise.
10865 * stdio-common/printf.h: Likewise.
10866 * stdlib/bits/stdlib.h: Likewise.
10867 * stdlib/fmtmsg.h: Likewise.
10868 * stdlib/monetary.h: Likewise.
10869 * stdlib/stdlib.h: Likewise.
10870 * stdlib/ucontext.h: Likewise.
10871 * streams/stropts.h: Likewise.
10872 * string/argz.h: Likewise.
10873 * string/bits/string2.h: Likewise.
10874 * string/string.h: Likewise.
10875 * string/strings.h: Likewise.
10876 * sunrpc/rpc/auth.h: Likewise.
10877 * sunrpc/rpc/auth_des.h: Likewise.
10878 * sunrpc/rpc/clnt.h: Likewise.
10879 * sunrpc/rpc/netdb.h: Likewise.
10880 * sunrpc/rpc/pmap_clnt.h: Likewise.
10881 * sunrpc/rpc/xdr.h: Likewise.
10882 * sysdeps/generic/inttypes.h: Likewise.
10883 * sysdeps/generic/net/if.h: Likewise.
10884 * sysdeps/generic/sys/swap.h: Likewise.
10885 * sysdeps/gnu/net/if.h: Likewise.
10886 * sysdeps/gnu/utmpx.h: Likewise.
10887 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10888 * sysdeps/i386/i486/bits/string.h: Likewise.
10889 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10890 * sysdeps/s390/bits/string.h: Likewise.
10891 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10892 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10893 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10894 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10895 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10896 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10897 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10898 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10899 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10900 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10901 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10902 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10903 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10904 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10905 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10906 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10907 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10911 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10912 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10913 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10914 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10915 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10916 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10917 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10918 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10919 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10920 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10921 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10922 * sysvipc/sys/ipc.h: Likewise.
10923 * sysvipc/sys/msg.h: Likewise.
10924 * sysvipc/sys/sem.h: Likewise.
10925 * sysvipc/sys/shm.h: Likewise.
10926 * termios/termios.h: Likewise.
10927 * time/sys/time.h: Likewise.
10928 * time/time.h: Likewise.
10929 * wcsmbs/bits/wchar2.h: Likewise.
10930 * wcsmbs/uchar.h: Likewise.
10931 * wcsmbs/wchar.h: Likewise.
10932 * wctype/wctype.h: Likewise.
10933
0269750c
UD
10934 [BZ #13551]
10935 * Makeconfig: Remove all but ELF support including AIX support.
10936 * Makerules: Likewise.
10937 * config.h.in: Likewise.
10938 * config.make.in: Likewise.
10939 * configure: Likewise.
10940 * configure.in: Likewise.
10941 * csu/Makefile: Likewise.
10942 * csu/version.c: Likewise.
10943 * debug/Makefile: Likewise.
10944 * dlfcn/Makefile: Likewise.
10945 * elf/Makefile: Likewise.
10946 * extra-lib.mk: Likewise.
10947 * iconv/Makefile: Likewise.
10948 * include/libc-symbols.h: Likewise.
10949 * include/shlib-compat.h: Likewise.
10950 * resolv/Makefile: Likewise.
10951 * resolv/res_libc.c: Likewise.
10952 * rt/Makefile: Likewise.
10953 * sysdeps/i386/asm-syntax.h: Likewise.
10954 * sysdeps/i386/sysdep.h: Likewise.
10955 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10956 * sysdeps/mach/sysdep.h: Likewise.
10957 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10958 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10959 * sysdeps/s390/asm-syntax.h: Likewise.
10960 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10961 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10962 * sysdeps/sh/sysdep.h: Likewise.
10963 * sysdeps/unix/sparc/sysdep.h: Likewise.
10964 * sysdeps/wordsize-32/divdi3.c: Likewise.
10965 * sysdeps/x86_64/sysdep.h: Likewise.
10966
00bbd29b
UD
10967 * argp/Versions: Remove _argp_unlock_xxx.
10968
10969 [BZ #13559]
10970 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10971 * abilist/libBrokenLocale.abilist: Likewise.
10972 * abilist/libanl.abilist: Likewise.
10973 * abilist/libc.abilist: Likewise.
10974 * abilist/libcrypt.abilist: Likewise.
10975 * abilist/libdl.abilist: Likewise.
10976 * abilist/libm.abilist: Likewise.
10977 * abilist/libnsl.abilist: Likewise.
10978 * abilist/libpthread.abilist: Likewise.
10979 * abilist/libresolv.abilist: Likewise.
10980 * abilist/librt.abilist: Likewise.
10981 * abilist/libthread_db.abilist: Likewise.
10982 * abilist/libutil.abilist: Likewise.
10983 * abilist/libnss_db.abilist: New file.
10984
10985 * scripts/abilist.awk: Add support for indirect functions.
10986
a2693a0e
UD
10987 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10988
3f05895f
UD
10989 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10990
ecb6fb48
UD
10991 * shlib-versions: Remove entries for ports architectures.
10992
664f8cb9
UD
10993 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10994 files in ports.
10995 * elf/stackguard-macros.h: Remove support for IA-64.
10996 * elf/tst-auditmod1.c: Likewise.
10997 * sysdeps/generic/ldsodefs.h: Likewise.
10998
7ae81d88
UD
10999 * sysdeps/unix/sysv/linux/configure.in: Ports should define
11000 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
11001 configure files.
11002
bdeba135
UD
11003 [BZ #13552]
11004 * configure.in: Remove --enable-omitfp support.
11005 * FAQ.in: Adjust.
11006 * config.make.in: Likewise.
11007 * Makeconfig: Likewise.
11008 * manual/install.texi: Likewise.
11009
d75a0a62
UD
11010 In case anyone cares, the IA-64 architecture could move to ports.
11011 * sysdeps/ia64/*: Removed.
11012 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 11013 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 11014
dcc9756b
UD
11015 [BZ #13555]
11016 * configure.in: Remove entries for unsupported architectures.
11017
d3761ebc 11018 [BZ #13533]
9954432e
UD
11019 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
11020 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
11021 routines.
11022 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
11023 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
11024 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
11025 fall back to using wcrtomb.
11026 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
11027 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
11028 renaming.
11029 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
11030 * wcsmbs/tst-c16c32-1.c: New file.
11031
11032 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
11033 local variable.
11034
c3a87236
UD
11035 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
11036
28926a1b
UD
11037 * elf/tst-unique3.cc: Add explicit declaration of gets.
11038 * elf/tst-unique3lib.cc: Likewise.
11039 * elf/tst-unique3lib2.cc: Likewise.
11040 * elf/tst-unique4.cc: Likewise.
11041
df78418a
UD
11042 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
11043
8ecd6b2a
JM
110442012-01-06 Joseph Myers <joseph@codesourcery.com>
11045
11046 [BZ #13566]
11047 * assert/assert.h (static_assert): Don't define for C++.
11048 * libio/stdio.h (gets): Do declare for C++ <= C++11.
11049 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
11050
9f115170
UD
110512012-01-03 Ulrich Drepper <drepper@gmail.com>
11052
5e0d0300
UD
11053 * iconv/loop.c (single loop): Fix assertion in storing of
11054 remaining bytes.
11055
9f115170
UD
11056 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
11057
81fb02b0
UD
110582012-01-01 Ulrich Drepper <drepper@gmail.com>
11059
11060 * posix/getconf.c: Update copyright year.
11061 * nss/getent.c: Likewise.
a316c1f6 11062 * nss/makedb.c: Likewise.
81fb02b0
UD
11063 * iconv/iconvconfig.c: Likewise.
11064 * iconv/iconv_prog.c: Likewise.
11065 * elf/ldconfig.c: Likewise.
a316c1f6
UD
11066 * elf/pldd.c: Likewise.
11067 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
11068 * catgets/gencat.c: Likewise.
11069 * csu/version.c: Likewise.
11070 * elf/ldd.bash.in: Likewise.
11071 * elf/sprof.c (print_version): Likewise.
11072 * locale/programs/locale.c: Likewise.
11073 * locale/programs/localedef.c: Likewise.
a316c1f6 11074 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
11075 * nscd/nscd.c (print_version): Likewise.
11076 * debug/xtrace.sh: Likewise.
11077 * malloc/memusage.sh: Likewise.
11078 * malloc/mtrace.pl: Likewise.
11079 * debug/catchsegv.sh: Likewise.
11080
2ba92745
JJ
110812011-12-30 Jakub Jelinek <jakub@redhat.com>
11082
11083 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11084 pure attribute.
11085
dadebdae
UD
110862011-12-24 Ulrich Drepper <drepper@gmail.com>
11087
d3761ebc 11088 [BZ #13533]
db6af3eb
UD
11089 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11090 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11091 transformations.
11092 * iconv/gconv_int.h: Likewise.
11093 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11094 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11095 from libc for GLIBC_2.16.
11096 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11097 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11098 * wcsmbs/uchar.h: Really define mbstate_t.
11099 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11100 * wcsmbs/c16rtomb.c: New file.
11101 * wcsmbs/mbrtoc16.c: New file.
11102 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11103 for C/POSIX locale.
11104 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11105 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11106
dadebdae
UD
11107 * wcsmbs/wchar.h: Add missing __restrict.
11108
67371b56
UD
111092011-12-23 Ulrich Drepper <drepper@gmail.com>
11110
74033a25
UD
11111 [BZ #13532]
11112 * time/Makefile (routines): Add timespec_get.
11113 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11114 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11115 timespec for ISO C11.
11116 * time/timespec_get.c: New file.
11117 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11118 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11119
380d7e87
UD
11120 [BZ #13531]
11121 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11122 * stdlib/stdlib.h: Declare aligned_alloc.
11123 * Versions.def: Add GLIBC_2.16 for libc.
11124 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11125
4e9e7a35
UD
11126 [BZ 13527]
11127 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11128 ISO C11.
11129
380d7e87 11130 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11131 code.
11132
03a71829
UD
11133 [BZ #13528]
11134 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11135
839e283e
UD
11136 [BZ #13529]
11137 * assert/assert.h (static_assert): Define.
11138
ce5294e2 11139 * version.h: Update for 2.16 development version.
90fa7312 11140
8d44e150 11141 [BZ #13526]
d7809905
UD
11142 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11143 _ISOC11_SOURCE.
11144
c0da14cd
UD
11145 * version.h (RELEASE): Bump for 2.15 release.
11146 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11147
530a3249
MP
11148 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11149 Patch by Marek Polacek <mpolacek@redhat.com>.
11150
67371b56
UD
11151 * bits/byteswap.h: Protect long long constants with __extension__.
11152 * sysdeps/i386/bits/byteswap.h: Likewise.
11153 * sysdeps/ia64/bits/byteswap.h: Likewise.
11154 * sysdeps/s390/bits/byteswap.h: Likewise.
11155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11156
15db4de1
LD
111572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11158
11159 [BZ #13540]
bbe315ea
LD
11160 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11161 destination buffer.
15db4de1
LD
11162 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11163
2b2596b1
MP
111642011-12-23 Marek Polacek <polacek@redhat.com>
11165
11166 * elf/dl-addr.c (determine_info): Add inline keyword.
11167 * elf/tst-auditmod4b.c (check_avx): Likewise.
11168 * elf/tst-auditmod6b.c (check_avx): Likewise.
11169 * elf/tst-auditmod6c.c (check_avx): Likewise.
11170 * elf/tst-auditmod7b.c (check_avx): Likewise.
11171
70c6c246
UD
111722011-12-23 Ulrich Drepper <drepper@gmail.com>
11173
11174 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11175 !__SSE_MATH__.
11176
c044cf14
LD
111772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11178
15db4de1 11179 [BZ #13540]
c044cf14
LD
11180 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11181 processing for last bytes.
11182
6b13d9d9
BH
111832011-08-06 Bruno Haible <bruno@clisp.org>
11184
d455f537
BH
11185 [BZ #13061]
11186 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11187 U+0385, not to U+1FEE.
11188
6b13d9d9
BH
11189 [BZ #13062]
11190 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11191 entry for U+00A5 U+0301.
11192
db910efd
UD
111932011-12-22 Ulrich Drepper <drepper@gmail.com>
11194
27deeafc
UD
11195 [BZ #13166]
11196 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11197 buffer for the output is too small.
11198
aed9d171
UD
11199 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11200 optimization.
11201
db910efd
UD
11202 [BZ #13185]
11203 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11204 SSE flags if possible.
11205
2bd779ae
LD
112062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11207
e7f9dac3 11208 [BZ #13540]
2bd779ae
LD
11209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11210 processing for last bytes.
11211
154bfc16
JM
112122011-12-22 Joseph Myers <joseph@codesourcery.com>
11213
11214 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11215 (syscall-list-default-options, syscall-list-default-condition)
11216 (syscall-list-includes): Define.
11217 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11218 list of ABIs and options and #if conditions for each ABI. Do not
11219 handle common syscalls between ABIs specially.
11220 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11221 Remove.
11222 (syscall-list-variants, syscall-list-32bit-options)
11223 (syscall-list-32bit-condition, syscall-list-64bit-options)
11224 (syscall-list-64bit-condition): Define.
11225 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11226 (syscall-list-variants, syscall-list-32bit-options)
11227 (syscall-list-32bit-condition, syscall-list-64bit-options)
11228 (syscall-list-64bit-condition): Define.
11229 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11230 Remove.
11231 (syscall-list-variants, syscall-list-32bit-options)
11232 (syscall-list-32bit-condition, syscall-list-64bit-options)
11233 (syscall-list-64bit-condition): Define.
11234 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11235 Remove.
11236 (syscall-list-variants, syscall-list-32bit-options)
11237 (syscall-list-32bit-condition, syscall-list-64bit-options)
11238 (syscall-list-64bit-condition): Define.
11239
21eaf3a5
UD
112402011-12-22 Ulrich Drepper <drepper@gmail.com>
11241
16c6f992
UD
11242 * locale/iso-639.def: Add brx entry.
11243
41043168
UD
11244 [BZ #13328]
11245 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11246 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11247
21eaf3a5
UD
11248 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11249 __feraiseexcept_renamed.
11250
e3a851a2
UD
112512011-12-21 Ulrich Drepper <drepper@gmail.com>
11252
4920765e
UD
11253 [BZ #13538]
11254 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11255 EPOLLET with unsigned values.
11256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11257 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11258
e3a851a2
UD
11259 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11260 to large cancellation.
11261 * math/s_cacoshf.c: Likewise.
11262 * math/s_cacoshl.c: Likewise.
11263
b27e24b8
RK
112642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11265
11266 [BZ #13305]
aebefeee 11267 [BZ #12786]
b27e24b8
RK
11268 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11269 * math/s_cacoshf.c: Likewise.
11270 * math/s_cacoshl.c: Likewise.
11271
ee190f67
UD
112722011-12-21 Ulrich Drepper <drepper@gmail.com>
11273
11274 [BZ #13439]
11275 * iconv/gconv.h: Define __GCONV_SWAP.
11276 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11277 * iconvdata/utf-16.c: Likewise.
11278 * iconvdata/utf-32.c: Likewise.
11279
707f25df
AS
112802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11281
11282 [BZ #13524]
11283 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11284 numerator after shifting it by one limb.
11285
d2daaa1e
RÁE
112862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11287
11288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11289 under [__USE_EXTERN_INLINES].
11290
a4647e72
UD
112912011-12-17 Ulrich Drepper <drepper@gmail.com>
11292
11293 [BZ #13446]
11294 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11295
f0b264f1
AZ
112962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11297
11298 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11299 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11300 optimized code.
11301 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11302 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11303 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11304 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11305 for strncasecmp/strncasecmp_l compilation.
11306 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11307 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11308
8ef4f244
MP
113092011-12-08 Marek Polacek <mpolacek@redhat.com>
11310
11311 [BZ #13484]
11312 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11313 of __asm__.
11314
97ac2654
UD
113152011-12-17 Ulrich Drepper <drepper@gmail.com>
11316
11317 [BZ #13506]
11318 * time/tzfile.c (__tzfile_read): Check values from file header.
11319
91d2a845
WS
113202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11321
11322 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11323 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11324 * powerpc/powerpc32/dl-start.S: Likewise.
11325 * powerpc/powerpc32/elf/start.S: Likewise.
11326 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11327 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11328 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11329 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11330 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11331 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11332 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11333 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11334 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11335 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11336 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11337 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11338 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11339 * powerpc/powerpc32/memset.S: Likewise.
11340 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11341 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11342 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11343 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11344 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11345 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11346 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11347 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11348 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11349 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11350 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11351 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11352 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11353
a1267ba1
AZ
113542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11355
11356 * math/libm-test.inc: Added more nearbyint tests.
11357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11358 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11360 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11361
ad8ac1bd
RL
113622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11363
11364 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11365 FD_CLOEXEC.
11366
1d3e4b61
UD
113672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11368
11369 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11370 Add wcscpy-ssse3 wcscpy-c.
11371 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11372 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11373 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11374 * sysdeps/x86_64/wcschr.S: New file.
11375 * sysdeps/x86_64/wcsrchr.S: New file.
11376 * string/test-strcmp.c: Remove checking of wcscmp function for
11377 wrong alignments.
11378 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11379 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11380 wcsrchr-sse2 wcsrchr-c.
11381 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11382 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11383 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11384 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11385 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11386 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11387 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11388 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11389 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11390 * wcsmbc/wcschr.c (WCSCHR): New macro.
11391
5b330a2d
UD
113922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11393
11394 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11395 * wcsmbs/test-wcsrchr.c: New file.
11396 * string/test-strrchr.c: Add wcsrchr support.
11397 (WIDE): New macro.
11398 * wcsmbs/test-wcscpy.c: New file.
11399 * string/test-strcpy.c: Add wcscpy support.
11400 (WIDE): New macro.
26428b7c 11401
f039c043
UD
114022011-12-10 Ulrich Drepper <drepper@gmail.com>
11403
11404 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11405 the inner loop.
11406
850fb039
AS
114072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11408
11409 [BZ #13472]
11410 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11411
4efbd5cb
UD
114122011-12-04 Ulrich Drepper <drepper@gmail.com>
11413
52ff5dd0 11414 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11415 Minor optimizations.
52ff5dd0 11416
4efbd5cb
UD
11417 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11418 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11419 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11420
8a426e12
UD
114212011-12-03 Ulrich Drepper <drepper@gmail.com>
11422
aff2453d
UD
11423 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11424 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11425 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11426 for gcc to avoid warnings.
11427 * inet/Makefile (tests): Add tst-checks.
11428 * inet/tst-checks.c: New file.
11429
11430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11431 warning.
11432
11433 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11434 __wmemcmp_sse2.
11435
11436 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11437 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11438
8a426e12
UD
11439 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11440
9bea3473
UD
114412011-12-02 Ulrich Drepper <drepper@gmail.com>
11442
3a965496
UD
11443 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11444 problem.
11445
9bea3473
UD
11446 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11447
f101631b
UD
114482011-11-29 Joseph Myers <joseph@codesourcery.com>
11449
11450 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11451 conditional on GCC version.
11452 (__arch_compare_and_exchange_val_8_acq)
11453 (__arch_compare_and_exchange_val_16_acq)
11454 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11455 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11456 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11457
a98275aa
UD
114582011-12-02 Joseph Myers <joseph@codesourcery.com>
11459
11460 * sysdeps/sh/backtrace.c: New file.
11461
d4cc29a2
AS
114622011-12-02 Andreas Schwab <schwab@redhat.com>
11463
11464 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11465 parenthesis.
11466
6257af2d
AS
114672011-12-01 Andreas Schwab <schwab@redhat.com>
11468
11469 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11470 falling back to utime.
11471
b5f44c1a
AS
114722011-11-30 Andreas Schwab <schwab@redhat.com>
11473
11474 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11475 expectations for float.
11476
f3a6cc0a
AS
114772011-11-29 Andreas Schwab <schwab@redhat.com>
11478
11479 * locale/weight.h (findidx): Add parameter len.
11480 * locale/weightwc.h (findidx): Likewise.
11481 * posix/fnmatch_loop.c (FCT): Adjust caller.
11482 * posix/regcomp.c (build_equiv_class): Likewise.
11483 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11484 * posix/regexec.c (check_node_accept_bytes): Likewise.
11485 * string/strcoll_l.c (STRCOLL): Likewise.
11486 * string/strxfrm_l.c (STRXFRM): Likewise.
11487
9d65ea3a
UD
114882011-11-17 Ulrich Drepper <drepper@gmail.com>
11489
11490 * Makefile.in: Remove CVSOPT handling.
11491 * configure.in: Remove use of AC_REVISION.
11492 * iconvdata/Makefile (distribute): No need to filter out CVS.
11493 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11494 handling.
11495
5583a086
AS
114962011-11-16 Andreas Schwab <schwab@redhat.com>
11497
11498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11499 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11500 [USE_AS_STRNCASECMP_L]: Likewise.
11501 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11502 NO_TLS_DIRECT_SEG_REFS.
11503 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11504 Fix argument offsets for non-PIC.
11505 [USE_AS_STRNCASECMP_L]: Likewise.
11506 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11507 NO_TLS_DIRECT_SEG_REFS.
11508
d62a8200
UD
115092011-11-15 Ulrich Drepper <drepper@gmail.com>
11510
9d65ea3a 11511 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11512 O_CLOEXEC.
11513 * locale/loadlocale.c (_nl_load_locale): Likewise.
11514
09f93bd3
AS
115152011-11-15 Andreas Schwab <schwab@redhat.com>
11516
446514f9
AS
11517 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11518 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11519 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11520 (SYSCALL_GETTIME): Set errno on error.
11521
09f93bd3
AS
11522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11523 count references to noai6ai_cached.
11524
312be3f9
UD
115252011-11-15 Ulrich Drepper <drepper@gmail.com>
11526
11527 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11528
11529 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11530 FD_CLOEXEC for /proc/self/maps.
11531
11532 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11533 FD_CLOEXEC for /proc/meminfo.
11534
11535 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11536 gai.conf.
11537
11538 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11539 FD_CLOEXEC for given file.
11540
11541 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11542
11543 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11544 FD_CLOEXEC for /etc/hosts.
11545 (_gethtent): Likewise.
11546
11547 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11548
11549 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11550 cancellation and set FD_CLOEXEC for /etc/netgroup.
11551
11552 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11553 reading /etc/publickey.
11554
11555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11556 allow cancellation when reading /etc/group.
11557
11558 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11559 cancellation.
11560 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11561
11562 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11563 when using data file.
11564
11565 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11566
11567 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11568 (write_nis_obj): Use "c" and "e" in fopen.
11569
11570 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11571
11572 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11573
11574 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11575
11576 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11577
11578 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11579 locale.alias.
11580
11581 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11582
11583 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11584
11585 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11586
11587 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11588 file parsing and set FD_CLOEXEC.
11589
82af0fa8
UD
115902011-11-14 Ulrich Drepper <drepper@gmail.com>
11591
11592 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11593
a5fb313c
AS
115942011-11-14 Andreas Schwab <schwab@redhat.com>
11595
11596 * malloc/arena.c (arena_get2): Don't call reused_arena when
11597 _int_new_arena failed.
11598
6abf3465
UD
115992011-11-14 Ulrich Drepper <drepper@gmail.com>
11600
11601 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11602 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11603 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11604 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11605 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11606 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11607 to compile strcasecmp and strncasecmp.
11608 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11609 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11610
11611 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11612
76e3966e
UD
116132011-11-13 Ulrich Drepper <drepper@gmail.com>
11614
11615 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11616 locale-defines.sym to gen-as-const-headers.
11617 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11618 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11620 to compile strcasecmp and strncasecmp.
11621 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11622 strcasecmp_l and strncasecmp_l.
11623 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11624 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11625 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11626 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11627 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11628 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11629 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11630 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11631 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11632 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11633 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11634
ab26144e
UD
116352011-11-12 Ulrich Drepper <drepper@gmail.com>
11636
7edb22ef
UD
11637 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11638 result of SYSDEP_GETTIME_CPU to retval.
11639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11640 parameter list to macro. Remove trailing semicolon. Adjust users.
11641
9694fc44
UD
11642 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11643 variable.
11644
8ad89ef8
UD
11645 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11646 mantissa words.
11647 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11648
0c822ef9
UD
11649 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11650 from unused variable.
11651
874e0564
UD
11652 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11653 DWARF definitions.
11654 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11655 for assembling.
11656
3a2edc79
UD
11657 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11658 over namespaces.
11659
f3c2577f
UD
11660 * sunrpc/rpc_prot.c (rejected): Fix case value.
11661
294ce126
UD
11662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11663 unsigned long long int to avoid warnings in shift.
11664
5e2b63c6
UD
11665 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11666 of use of trans.
11667 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11668 variable tmp.
11669
e7f4b08e
UD
11670 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11671 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11673
ab26144e
UD
11674 * nis/nis_table.c (nis_list): Use variable of correct type for
11675 result of __follow_path call.
11676
8a6d5255
AZ
116772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11678
11679 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11680 of math functions ceil, trunc, floor, round, and sqrt, when
11681 avaliable on the platform.
11682 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11683 name clash.
11684 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11685 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11686 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11687
aaddc98c
MP
116882011-10-30 Marek Polacek <mpolacek@redhat.com>
11689
11690 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11692
95b7042b
RM
116932011-11-11 Roland McGrath <roland@hack.frob.com>
11694
11695 * include/unistd.h: Fix __readlink return type.
11696 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11697
57769839
UD
116982011-11-11 Ulrich Drepper <drepper@gmail.com>
11699
11700 * stdlib/ucontext.h: Undo last change for makecontext.
11701
edc5984d
AS
117022011-11-11 Andreas Schwab <schwab@redhat.com>
11703
98591e58
AS
11704 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11705
edc5984d
AS
11706 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11707 * setjmp/setjmp.h: Mark functions as non-leaf.
11708 * setjmp/bits/setjmp2.h: Likewise.
11709 * stdlib/ucontext.h: Likewise.
11710
77cdc054
AS
117112011-11-10 Andreas Schwab <schwab@redhat.com>
11712
11713 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11714 (reused_arena): Don't check arena limit.
11715 (arena_get2): Atomically check arena limit.
11716
fe72eebd
UD
117172011-11-08 Ulrich Drepper <drepper@gmail.com>
11718
5f078c32
UD
11719 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11720 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11721
fe72eebd
UD
11722 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11723 instructions.
11724
ae1bc2fa
AS
117252011-11-07 Andreas Schwab <schwab@redhat.com>
11726
7583a88d
AS
11727 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11728 handler when locking.
11729
ae1bc2fa
AS
11730 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11731 Fix size of allocated buffer.
11732
10fb0bfa
AS
117332011-11-04 Andreas Schwab <schwab@redhat.com>
11734
998832a4
AS
11735 [BZ #10103]
11736 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11737 declarations for long double functions.
11738 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11739
10fb0bfa
AS
11740 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11741
3d7ba52b
AS
117422011-11-03 Andreas Schwab <schwab@redhat.com>
11743
a9ae54a1
AS
11744 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11745 installed.
11746
3d7ba52b
AS
11747 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11748 is disabled.
11749
bc8db248
ST
117502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11751
11752 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11753
45b96dd6
AS
117542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11755
647776f6
AS
11756 * include/alloca.h (stackinfo_alloca_round): Define.
11757 (extend_alloca): Use it.
11758 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11759 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11760 here.
11761
d91a8b93
AS
11762 * scripts/check-local-headers.sh: Ignore libaudit.h.
11763
45b96dd6
AS
11764 * nscd/Makefile (extra-objs): Make recursively expanded.
11765
432d41ce
UD
117662011-11-01 Ulrich Drepper <drepper@gmail.com>
11767
34372fc6
UD
11768 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11770
fadb59f8
UD
11771 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11772 * posix/tst-rfc3484-2.c: Likewise.
11773 * posix/tst-rfc3484-3.c: Likewise.
11774
78239589
UD
11775 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11776 process_vm_writev.
11777 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11778 process_vm_writev.
11779 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11780 process_vm_writev from libc using GLIBC_2.15 version.
11781
432d41ce
UD
11782 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11783
02f9c6cf
PP
117842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11785
11786 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11787 stack usage.
11788
3a2c0242
UD
117892011-10-31 Ulrich Drepper <drepper@gmail.com>
11790
f4ec4833
UD
11791 [BZ #13367]
11792 * nss/getent.c (initgroups_keys): Show error message in case no group
11793 names are given.
11794
3a2c0242
UD
11795 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11796 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11797 __bump_nl_timestamp.
11798 * nscd/connections (nscd_init): When host database is served open
11799 netlink socket and request notification about configuration changes.
11800 (main_loop_poll): Track netlink file descriptor and bump timestamp
11801 in case data becomes available.
11802 (main_loop_epoll): Likewise.
11803 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11804 (database_pers_head): Add extra_data fileds.
11805 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11806 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11807 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11808 Adjust caller.
11809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11810 in6ai data, call __free_in6ai.
11811 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11812 Add -DHAVE_NETLINK.
11813 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11814 interface information. Reuse previous data if netlink timestamp
11815 is not changed.
11816 (__bump_nl_timestamp): New function.
11817 (__free_in6ai): New function.
11818
636064eb
UD
118192011-10-30 Ulrich Drepper <drepper@gmail.com>
11820
11821 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11822 close_not_cancel_no_status here.
11823 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11824
9beb2334
UD
118252011-10-29 Ulrich Drepper <drepper@gmail.com>
11826
6ef76f3b
UD
11827 [BZ #13276]
11828 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11829 return value.
11830
0ffc4f3e 11831 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11832 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11833 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11834
cb95113e
UD
118352011-07-03 Andreas Jaeger <aj@suse.de>
11836
11837 [BZ #10709]
11838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11839 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11840 * math/libm-test.inc (sin_test): Add test case.
11841
a1b560ff
UD
118422011-10-29 Ulrich Drepper <drepper@gmail.com>
11843
c9aaface
UD
11844 [BZ #13337]
11845 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11846 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11847
d272e7f1
UD
11848 * elf/chroot_canon.c (chroot_canon): Cleanups.
11849
1bc33071
UD
11850 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11851
1760874d
TJ
11852 [BZ #13335]
11853 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11854 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11855
51d91b18
UD
11856 * string/test-strchr.c: Make usable for strchrnul testing.
11857 * string/test-strchrnul.c: New file.
11858 * string/Makefile (strop-tests): Add strchrnul.
11859
a1b560ff 11860 * po/it.po: Update from translation team.
b611fb81 11861 * po/es.po: Likewise.
a1b560ff 11862
a5b81e1f
UD
118632011-10-28 Ulrich Drepper <drepper@gmail.com>
11864
fd52bc6d
UD
11865 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11866 the three constants needed as parameters. Drop the others.
11867 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11868 __m128i_strloadu_tolower.
52e4b9eb
UD
11869 Create and initialize variable zero and use it in all the places
11870 where _mm_setzero_si128 was used.
fd52bc6d 11871
a5b81e1f
UD
11872 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11873 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11874 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11875 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11876 anymore.
11877 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11878 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11879 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11880 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11881 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11882 __mpranred, __mptan.
11883 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11884 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11885 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11886 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11887 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11888 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11889 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11890 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11891 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11892
b4343346
AS
118932011-10-28 Andreas Schwab <schwab@redhat.com>
11894
0c92d8a8
AS
11895 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11896 redefine if SHARED.
11897 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11898
b4343346
AS
11899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11900 wide char related routines to wcsmbs subdir.
11901
3871f58f
AS
119022011-10-27 Andreas Schwab <schwab@redhat.com>
11903
11904 [BZ #13344]
11905 * misc/sys/cdefs.h (__THROWNL): Define.
11906 * posix/unistd.h: Use __THREADNL instead of __THREAD
11907 for memory synchronization functions.
11908
94d44d9f
RM
119092011-10-26 Roland McGrath <roland@hack.frob.com>
11910
21b64b15 11911 [BZ #13349]
94d44d9f
RM
11912 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11913 doesn't exist.
11914 * manual/stdio.texi (Obstack Streams): Node removed.
11915
f6ce9294
AS
119162011-10-26 Andreas Schwab <schwab@redhat.com>
11917
80479147
AS
11918 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11919 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11920 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11921
f6ce9294
AS
11922 * math/math_private.h (math_force_eval): Allow non-addressable
11923 arguments.
11924 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11925
618280a1
UD
119262011-10-25 Ulrich Drepper <drepper@gmail.com>
11927
e0016b11
UD
11928 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11929 file is not needed.
11930
11931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11932 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11934 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11937 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11938 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11939 Add AVX variants.
11940 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11941 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11942 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11943 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11944 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11945 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11946 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11948 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11949 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11950 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11951 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11952 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11953 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11954 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11955 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11956 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11957 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11958 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11959
11960 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11961 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11962
618280a1
UD
11963 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11964 place. Use VEX encoding when compiling for AVX.
11965
37822576
AS
119662011-10-25 Andreas Schwab <schwab@redhat.com>
11967
1f1e1947
AS
11968 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11969 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11970
37822576
AS
11971 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11972
31ea014d
UD
119732011-10-25 Ulrich Drepper <drepper@gmail.com>
11974
d7826aa1 11975 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11976 useless if() expression.
d7826aa1
UD
11977 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11978 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11979 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11980 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11982 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11983 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11986 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11987 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11988 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11989 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11990 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11991 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11992 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11993 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11994 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11995 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11996
31ea014d
UD
11997 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11998
16437fec
AS
119992011-10-25 Andreas Schwab <schwab@redhat.com>
12000
12001 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
12002 condition.
12003 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12004
31d3cc00
UD
120052011-10-25 Ulrich Drepper <drepper@gmail.com>
12006
12007 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
12008 .text section. Avoid duplicate constants.
12009 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12013 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12017 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12018 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
12019 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12020 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12021 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12022 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12023 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12025 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12026 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12027 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12029 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12030 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12031 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12032 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
12033 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
12034 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
12035 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
12036 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
12037 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
12038 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
12039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
12040 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
12041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12042 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
12043 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
12044 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
12045 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
12046 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
12047 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
12048 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
12049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
12050 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
12051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
12052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
12053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
12054
58985aa9
UD
120552011-10-24 Ulrich Drepper <drepper@gmail.com>
12056
202c9deb
UD
12057 * sysdeps/x86_64/dla.h: Move to ...
12058 * sysdeps/x86_64/fpu/dla.h: ...here.
12059 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
12060 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 12061
af968f62
UD
12062 * config.make.in: Add have-mfma4 entry.
12063 * configure.in: Substitute libc_cv_cc_fma4.
12064 * math/Makefile (dbl-only-routines): Add sincostab.
12065 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
12066 Use __sincostab not sincos.
12067 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
12068 name is a macro.
12069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
12073 using __copysign.
12074 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
12075 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
12076 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
12077 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
12078 and __inv.
12079 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
12080 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12081 __copysign.
12082 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12083 define aliases when function name is a macro.
12084 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12085 sysdeps/ieee754/dbl-64/sincos.tbl.
12086 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12087 fma4-enabled routines.
12088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12089 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12090 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12091 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12092 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12093 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12095 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12096 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12097 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12098 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12099 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12100 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12101 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12102 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12103 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12104 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12105 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12106 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12107 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12108 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12109 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12110 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12111 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12112 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12113 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12115 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12116 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12117 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12118
58985aa9
UD
12119 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12120 rename.
12121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12124 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12129
a201fbcf
AS
121302011-10-24 Andreas Schwab <schwab@redhat.com>
12131
12132 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12133
fc2ee42a
LD
121342011-10-23 Ulrich Drepper <drepper@gmail.com>
12135
bb3129bd
UD
12136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12137
0275fff8
UD
12138 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12139 prediction.
12140 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12141
2fa2ae85
UD
12142 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12143 Remove unused variable magic_bits.
12144 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12145
fc2ee42a
LD
12146 * string/strnlen.c: Define and use STRNLEN macro.
12147 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12148 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12150 * wcsmbs/wcslen.c: Define and use WCSLEN.
12151 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12152 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12153 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12154 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12155 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12156 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12157 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12158
ce7dd29f
LD
121592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12160
12161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12162 strnlen-sse2-no-bsf.
12163 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12164 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12165 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12166 Add strnlen support.
12167 (USE_AS_STRNLEN): New macro.
12168 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12169 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12170 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12171 * sysdeps/x86_64/wcslen.S: New file.
12172
979c70a3
MZ
121732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12174
12175 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12176 XMM-moves are used for copying on small sizes.
12177
2d09f82f
LD
121782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12179
12180 * wcsmbs/Makefile (strop-tests): Add wcschr.
12181 * wcsmbs/test-wcschr.c: New file.
12182 * string/test-strchr.c: Update.
12183 Add wcschr support.
12184 (WIDE): New macro.
12185
619fccca
LD
121862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12187
2d09f82f 12188 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12189 * wcsmbs/test-wcslen.c: New file.
12190 * string/test-strlen.c: Update.
12191 Add wcslen support.
12192 (WIDE): New macro.
12193
09f699ea
UD
121942011-10-23 Ulrich Drepper <drepper@gmail.com>
12195
12196 * po/it.po: Update from translation team.
12197
95584d3b
LD
121982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12199
12200 * sysdeps/x86_64/wcscmp.S: Update.
12201 Fix wrong comparison semantics.
12202 wcscmp shall use signed comparison not unsigned.
12203 Don't use substraction to avoid overflow bug.
12204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12205 * wcsmbc/wcscmp.c: Likewise.
12206 * string/test-strcmp.c: Likewise.
12207 Add new tests to check cases with negative values.
12208
c8b3296b
UD
122092011-10-23 Ulrich Drepper <drepper@gmail.com>
12210
12211 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12212 * sysdeps/x86_64/dla.h: ...here. New file.
12213 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12220 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12222
246ad57a
AS
122232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12224
12225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12226 __ynl_finite aliases.
12227
a1a87169
UD
122282011-10-22 Ulrich Drepper <drepper@gmail.com>
12229
0d355eb7
UD
12230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12231
a1a87169
UD
12232 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12233 define DLA_FMA.
12234 [DLA_FMA] (EMULV): Use DLA_FMA.
12235 [DLA_FMA] (MUL12): Use EMULV.
12236 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12237 that are not needed.
12238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12245
ee2aafe0
AS
122462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12247
12248 * math/s_nan.c: Undef __nan.
12249 * math/s_nanf.c: Undef __nanf.
12250 * math/s_nanl.c: Undef __nanl.
12251 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12252 "math_private.h".
12253
bc62c2fb
UD
122542011-10-22 Ulrich Drepper <drepper@gmail.com>
12255
77425c63
UD
12256 * math/s_catan.c: Add branch predictions.
12257 * math/s_catanf.c: Likewise.
12258 * math/s_catanh.c: Likewise.
12259 * math/s_catanhf.c: Likewise.
12260 * math/s_catanhl.c: Likewise.
12261 * math/s_catanl.c: Likewise.
12262 * math/s_cexp.c: Likewise.
12263 * math/s_cexpf.c: Likewise.
12264 * math/s_cexpl.c: Likewise.
12265 * math/s_clog.c: Likewise.
12266 * math/s_clog10.c: Likewise.
12267 * math/s_clog10f.c: Likewise.
12268 * math/s_clog10l.c: Likewise.
12269 * math/s_clogf.c: Likewise.
12270 * math/s_clogl.c: Likewise.
12271 * math/s_csqrt.c: Likewise.
12272 * math/s_csqrtf.c: Likewise.
12273 * math/s_csqrtl.c: Likewise.
12274 * math/s_ctanf.c: Likewise.
12275 * math/s_ctanh.c: Likewise.
12276 * math/s_ctanhf.c: Likewise.
12277 * math/s_ctanhl.c: Likewise.
12278 * math/s_ctanl.c: Likewise.
12279
bc62c2fb
UD
12280 * math/math_private.h: Define __nan, __nanf, __nanl.
12281 * math/s_cacosh.c: Include <math_private.h>.
12282 * math/s_cacoshl.c: Likewise.
12283 * math/s_casinh.c: Likewise.
12284 * math/s_casinhf.c: Likewise.
12285 * math/s_casinhl.c: Likewise.
12286 * math/s_ccos.c: Rely entire on ccosh.
12287 * math/s_ccosf.c: Rely entire on ccoshf.
12288 * math/s_ccosl.c: Rely entirely on ccoshl.
12289 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12290 Remove tests for FE_INVALID.
12291 * math/s_ccoshf.c: Likewise.
12292 * math/s_ccoshl.c: Likewise.
12293 * math/s_csin.c: Likewise.
12294 * math/s_csinf.c: Likewise.
12295 * math/s_csinh.c Likewise.
12296 * math/s_csinhf.c: Likewise.
12297 * math/s_csinhl.c: Likewise.
12298 * math/s_csinl.c: Likewise.
12299 * math/s_ctan.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12301 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12302 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12303
8ec250a4
UD
123042011-10-21 Ulrich Drepper <drepper@gmail.com>
12305
c196fed8
UD
12306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12307 compilation problems.
12308
8ec250a4
UD
12309 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12310 __builtin_expect.
12311
8d4f46c6
UD
123122011-10-20 Ulrich Drepper <drepper@gmail.com>
12313
ed72b654
UD
12314 * sysdeps/i386/configure.in: Test for -mfma4 option.
12315 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12316 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12317 COMMON_CPUID_INDEX_80000001.
12318 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12319 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12320 use it if FMA3 is not supported.
12321 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12322
8d4f46c6
UD
12323 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12324 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12325
d45c60c2
AS
123262011-10-20 Andreas Schwab <schwab@redhat.com>
12327
12328 [BZ #12892]
12329 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12330 it would create a cycle with a link time dependency.
12331
d9a4d2ab
UD
123322011-10-19 Ulrich Drepper <drepper@gmail.com>
12333
855d1560
UD
12334 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12335 instruction.
12336 * string/Makefile (strop-tests): Add rawmemchr.
12337 * string/test-rawmemchr.c: New file.
12338
d9a4d2ab
UD
12339 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12340 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12341 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12342 when compiling str{,n}casecmp and when AVX is available. Hook up
12343 new optimized code in initializers.
12344
8f3b1ffe
AS
123452011-10-19 Andreas Schwab <schwab@redhat.com>
12346
12347 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12348 __feraiseexcept instead of feraiseexcept.
12349
d38f1dba
UD
123502011-10-18 Ulrich Drepper <drepper@gmail.com>
12351
d9a8d0ab
UD
12352 * math/math_private.h: Define defaults for libc_fetestexcept and
12353 libc_feupdateenv.
12354 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12355 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12356 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12357 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12358 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12359 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12360 libc_fetestexcept and libc_feupdateenv.
12361
4855e3dd
UD
12362 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12363 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12364 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12365 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12366 libc_feholdexcept_setround.
12367
581d30e3
UD
12368 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12369 Add s_nearbyint-c and s_nearbyintf-c.
12370 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12371 nearbyintf inlines.
12372 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12373 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12374 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12375 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12376
d38f1dba
UD
12377 * math/math_private.h: Define defaults for libc_fegetround,
12378 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12379 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12380 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12382 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12383 standard functions.
12384 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12385 Remove comments and hacks for old compiler versions.
12386 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12387 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12388 libc_feholdexceptl.
12389
caa6c9d8
AS
123902011-10-18 Andreas Schwab <schwab@redhat.com>
12391
12392 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12393 (__feraiseexcept_renamed): Add __NTH.
12394 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12395 namespace violations.
12396
97c066e6
UD
123972011-10-17 Ulrich Drepper <drepper@gmail.com>
12398
99ce7b04
UD
12399 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12400
1004d182
UD
12401 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12402
228a984d
UD
12403 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12404 recently added interfaces.
12405 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12406
c8553a6a
UD
12407 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12408 about macro parameter expansion.
12409
ed22dcf6
UD
12410 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12411 __NO_MATH_INLINES is defined. Cleanups.
12412
12413 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12414 and __floorf is target has SSE4.1.
12415 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12416 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12417 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12418 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12419
b171c137
UD
12420 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12421 name.
12422 (floorf): Likewise.
12423
97c066e6
UD
12424 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12425
629f62ef
AS
124262011-10-17 Andreas Schwab <schwab@redhat.com>
12427
49a43d80
AS
12428 * misc/sys/cdefs.h: Fix last change.
12429
629f62ef
AS
12430 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12431 database lookup.
12432
e453f6cd
UD
124332011-10-16 Ulrich Drepper <drepper@gmail.com>
12434
aa78043a
UD
12435 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12436
ad0f5cad
UD
12437 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12438 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12439 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12440 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12442 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12443 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12445 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12446 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12447 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12448 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12449 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12450 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12451 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12452 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12453 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12454 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12455 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12456 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12457 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12458 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12459
12460 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12461 ceil, ceilf, floor, floorf.
12462
12463 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12464 Perform IRELATIVE relocations last.
12465
e453f6cd
UD
12466 * elf/do-rel.h: Add another parameter nrelative, replacing the
12467 local variable with the same name. Change name of the function
12468 to end in Rel or Rela (uppercase).
12469 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12470 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12471 elf_dynamic_do_##reloc function.
12472
fd5bdc09
UD
124732011-10-15 Ulrich Drepper <drepper@gmail.com>
12474
79b195b5
UD
12475 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12476 is sufficient, at least on modern CPUs.
12477
d4a28569
UD
12478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12479
b61099b5
UD
12480 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12481 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12482
bcf01e6d
UD
12483 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12484 __expl_finite.
12485 * math/bits/math-finite.h: Add entries for exp.
12486 * math/e_expl.c: Add __*_finite alias.
12487 * sysdeps/i386/fpu/e_exp.S: Likewise.
12488 * sysdeps/i386/fpu/e_expf.S: Likewise.
12489 * sysdeps/i386/fpu/e_expl.c: Likewise.
12490 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12491 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12492 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12494 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12497
ba1a0d59
UD
12498 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12499 is sufficient, at least on modern CPUs.
12500
fd5bdc09
UD
12501 * ctype/ctype-info.c (__ctype_init): Define.
12502 * include/ctype.h (__ctype_init): Declare.
12503 (__ctype_b_loc): The variable is always initialized.
12504 (__ctype_toupper_loc): Likewise.
12505 (__ctype_tolower_loc): Likewise.
12506 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12507 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12508
7872cfb0
AS
125092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12510
b468825a
AS
12511 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12512
7872cfb0
AS
12513 * configure.in: Also look in $cxxmachine/include for C++ system
12514 headers.
12515
be13f7bf
LD
125162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12517
12518 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12519 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12520 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12521 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12522 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12523 (USE_AS_WMEMCMP): New macro.
12524 Fixing indents.
12525 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12526 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12527 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12528 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12530 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12531 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12532 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12533 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12534 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12535 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12536 (USE_AS_WMEMCMP): New macro.
12537 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12538 * sysdeps/string/test-memcmp.c: Update.
12539 Fix simple_wmemcmp.
12540 Add new tests.
12541 * wcsmbs/wmemcmp.c: Update.
12542 (WMEMCMP): New macro.
12543 Fix overflow bug.
12544
556a2007
AJ
125452011-10-12 Andreas Jaeger <aj@suse.de>
12546
12547 [BZ #13268]
12548 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12549
538faaa7
UD
125502011-10-15 Ulrich Drepper <drepper@gmail.com>
12551
ab6737ff
UD
12552 * libio/iofwide.c (do_length): Avoid warning.
12553
538faaa7
UD
12554 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12555
396a21b1
UD
125562011-10-14 Ulrich Drepper <drepper@gmail.com>
12557
cdf2901f
UD
12558 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12559
38ad40ce
UD
12560 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12561 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12562 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12563 * sysdeps/i386/i686/fpu/e_log.S: New file.
12564 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12565 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12566
396a21b1
UD
12567 * ctype/ctype.h: Add support for inlined isXXX functions when
12568 compiling C++ code.
12569
6b1f68c9
AS
125702011-10-14 Andreas Schwab <schwab@redhat.com>
12571
349290c0
AS
12572 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12573
6b1f68c9
AS
12574 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12575
f2282d42
RM
125762011-10-13 Roland McGrath <roland@hack.frob.com>
12577
12578 [BZ #13291]
12579 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12580
5298ffa8
AS
125812011-10-13 Andreas Schwab <schwab@redhat.com>
12582
714fad23
AS
12583 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12584 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12585 feraiseexcept.
12586
81dcc7fb
AS
12587 * sysdeps/x86_64/memrchr.S: Check for zero size.
12588
5298ffa8
AS
12589 * string/stratcliff.c: Add memrchr tests.
12590
951fbcec
LD
125912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12592
12593 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12594 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12595 rawmemchr-sse2 rawmemchr-sse2-bsf.
12596 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12597 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12598 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12599 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12600 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12601 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12602 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12603 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12604 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12605 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12606 * string/memrchr.c (MEMRCHR): New macro.
12607
0ac5ae23
UD
126082011-10-12 Ulrich Drepper <drepper@gmail.com>
12609
12610 Add integration with gcc's -ffinite-math-only and optimize wrapper
12611 functions in libm.
12612 * Versions.def: Define GLIBC_2.15 version for libm.
12613 * math/Makefile (headers): Add bits/math-finite.h.
12614 * math/bits/math-finite.h: New file.
12615 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12616 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12617 * math/e_acoshl.c: Add __*_finite alias.
12618 * math/e_acosl.c: Likewise.
12619 * math/e_asinl.c: Likewise.
12620 * math/e_atan2l.c: Likewise.
12621 * math/e_atanhl.c: Likewise.
12622 * math/e_coshl.c: Likewise.
12623 * math/e_exp10.c: Likewise.
12624 * math/e_exp10f.c: Likewise.
12625 * math/e_exp10l.c: Likewise.
12626 * math/e_exp2l.c: Likewise.
12627 * math/e_fmodl.c: Likewise.
12628 * math/e_gammal_r.c: Likewise.
12629 * math/e_hypotl.c: Likewise.
12630 * math/e_j0l.c: Likewise.
12631 * math/e_j1l.c: Likewise.
12632 * math/e_jnl.c: Likewise.
12633 * math/e_lgammal_r.c: Likewise.
12634 * math/e_log10l.c: Likewise.
12635 * math/e_log2l.c: Likewise.
12636 * math/e_logl.c: Likewise.
12637 * math/e_powl.c: Likewise.
12638 * math/e_sinhl.c: Likewise.
12639 * math/e_sqrtl.c: Likewise.
12640 * math/e_scalb.c: Completely rewritten and optimized.
12641 * math/e_scalbf.c: Likewise.
12642 * math/e_scalbl.c: Likewise.
12643 * math/w_acos.c: Likewise.
12644 * math/w_acosf.c: Likewise.
12645 * math/w_acosl.c: Likewise.
12646 * math/w_acosh.c: Likewise.
12647 * math/w_acoshf.c: Likewise.
12648 * math/w_acoshl.c: Likewise.
12649 * math/w_asin.c: Likewise.
12650 * math/w_asinf.c: Likewise.
12651 * math/w_asinl.c: Likewise.
12652 * math/w_atan2.c: Likewise.
12653 * math/w_atan2f.c: Likewise.
12654 * math/w_atan2l.c: Likewise.
12655 * math/w_atanh.c: Likewise.
12656 * math/w_atanhf.c: Likewise.
12657 * math/w_atanhl.c: Likewise.
12658 * math/w_exp10.c: Likewise.
12659 * math/w_exp10f.c: Likewise.
12660 * math/w_exp10l.c: Likewise.
12661 * math/w_fmod.c: Likewise.
12662 * math/w_fmodf.c: Likewise.
12663 * math/w_fmodl.c: Likewise.
12664 * math/w_j0.c: Likewise.
12665 * math/w_j0f.c: Likewise.
12666 * math/w_j0l.c: Likewise.
12667 * math/w_j1.c: Likewise.
12668 * math/w_j1f.c: Likewise.
12669 * math/w_j1l.c: Likewise.
12670 * math/w_jn.c: Likewise.
12671 * math/w_jnf.c: Likewise.
12672 * math/w_log.c: Likewise.
12673 * math/w_logf.c: Likewise.
12674 * math/w_logl.c: Likewise.
12675 * math/w_log10.c: Likewise.
12676 * math/w_log10f.c: Likewise.
12677 * math/w_log10l.c: Likewise.
12678 * math/w_log2.c: Likewise.
12679 * math/w_log2f.c: Likewise.
12680 * math/w_log2l.c: Likewise.
12681 * math/w_pow.c: Likewise.
12682 * math/w_powf.c: Likewise.
12683 * math/w_powl.c: Likewise.
12684 * math/w_remainder.c: Likewise.
12685 * math/w_remainderf.c: Likewise.
12686 * math/w_remainderl.c: Likewise.
12687 * math/w_scalb.c: Likewise.
12688 * math/w_scalbf.c: Likewise.
12689 * math/w_scalbl.c: Likewise.
12690 * math/w_sqrt.c: Likewise.
12691 * math/w_sqrtf.c: Likewise.
12692 * math/w_sqrtl.c: Likewise.
12693 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12694 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12695 used.
12696 * math/math_private.h: Declare __kernel_standard_f.
12697 * math/w_cosh.c: Remove cruft and optimize a bit.
12698 * math/w_coshf.c: Likewise.
12699 * math/w_coshl.c: Likewise.
12700 * math/w_exp2.c: Likewise.
12701 * math/w_exp2f.c: Likewise.
12702 * math/w_exp2l.c: Likewise.
12703 * math/w_hypot.c: Likewise.
12704 * math/w_hypotf.c: Likewise.
12705 * math/w_hypotl.c: Likewise.
12706 * math/w_lgamma.c: Likewise.
12707 * math/w_lgamma_r.c: Likewise.
12708 * math/w_lgammaf.c: Likewise.
12709 * math/w_lgammaf_r.c: Likewise.
12710 * math/w_lgammal.c: Likewise.
12711 * math/w_lgammal_r.c: Likewise.
12712 * math/w_sinh.c: Likewise.
12713 * math/w_sinhf.c: Likewise.
12714 * math/w_sinhl.c: Likewise.
12715 * math/w_tgamma.c: Likewise.
12716 * math/w_tgammaf.c: Likewise.
12717 * math/w_tgammal.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12720 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12721 Minor optimizations. Pretty printing. Remove cruft.
12722 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12723 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12724 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12725 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12726 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12727 * sysdeps/i386/fpu/e_asin.S: Likewise.
12728 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12729 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12730 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12731 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12732 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12733 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12734 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12735 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12736 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12737 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12738 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12739 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12740 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12741 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12742 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12743 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12744 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12745 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12746 * sysdeps/i386/fpu/e_log.S: Likewise.
12747 * sysdeps/i386/fpu/e_log10.S: Likewise.
12748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12749 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12750 * sysdeps/i386/fpu/e_log2.S: Likewise.
12751 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12752 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12753 * sysdeps/i386/fpu/e_logf.S: Likewise.
12754 * sysdeps/i386/fpu/e_logl.S: Likewise.
12755 * sysdeps/i386/fpu/e_pow.S: Likewise.
12756 * sysdeps/i386/fpu/e_powf.S: Likewise.
12757 * sysdeps/i386/fpu/e_powl.S: Likewise.
12758 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12759 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12760 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12761 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12764 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12765 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12766 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12777 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12778 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12780 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12781 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12782 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12784 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12785 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12786 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12787 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12788 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12789 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12790 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12791 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12793 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12794 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12795 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12796 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12797 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12798 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12799 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12801 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12802 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12803 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12804 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12805 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12806 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12807 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12808 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12858 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12860 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12862 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12863 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12864 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12865 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12866 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12867 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12868 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12869 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12870 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12871 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12872 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12873 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12874 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12875 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12876 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12877 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12878 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12879 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12880 (__isnanf): Likewise.
12881 (__isinf_ns): Likewise.
12882 (__isinf_nsf): Likewise.
12883 (__finite): Likewise.
12884 (__finitef): Likewise.
12885 (__ieee754_sqrt): Define as macro.
12886 (__ieee754_sqrtf): Define as macro.
12887 (__ieee754_sqrtl): Define as macro.
12888 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12889 inlined copy.
12890 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12891 __FINITE_MATH_ONLY__ consistent.
12892 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12893
12cc2fcd
AS
128942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12895
a843a204
AS
12896 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12897 of rawmemchr.
12898
12cc2fcd
AS
12899 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12900
c853acd5
UD
129012011-10-09 Ulrich Drepper <drepper@gmail.com>
12902
12903 * po/ja.po: Update from translation team.
12904
c658d255
RM
129052011-10-08 Roland McGrath <roland@hack.frob.com>
12906
110946e4
RM
12907 * locale/programs/locarchive.c (prepare_address_space): New function.
12908 (create_archive, enlarge_archive, open_archive): Use it.
12909
50604220
RM
12910 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12911 inside [SHARED], where it is used.
12912
c658d255
RM
12913 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12914
12915 * nss/getent.c (netgroup_keys): Remove unused variable.
12916 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12917
6a621eb7
UD
129182011-10-08 Ulrich Drepper <drepper@gmail.com>
12919
7edb55ce
UD
12920 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12923 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12924 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12925 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12926 * math/Makefile (libm-calls): Add s_isinf_ns.
12927 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12928 * math/multc3.c: Likewise.
12929 * math/s_casin.c: Likewise.
12930 * math/s_casinf.c: Likewise.
12931 * math/s_casinl.c: Likewise.
12932 * math/s_ccos.c: Likewise.
12933 * math/s_ccosf.c: Likewise.
12934 * math/s_ccosl.c: Likewise.
12935 * math/s_ctan.c: Likewise.
12936 * math/s_ctanf.c: Likewise.
12937 * math/s_ctanh.c: Likewise.
12938 * math/s_ctanhf.c: Likewise.
12939 * math/s_ctanhl.c: Likewise.
12940 * math/s_ctanl.c: Likewise.
12941 * math/w_fmod.c: Likewise.
12942 * math/w_fmodf.c: Likewise.
12943 * math/w_fmodl.c: Likewise.
12944 * math/w_remainder.c: Likewise.
12945 * math/w_remainderf.c: Likewise.
12946 * math/w_remainderl.c: Likewise.
12947 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12948 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12951 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12952 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12953 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12954 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12955
187da0ae
UD
12956 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12957 of the number.
12958 * stdio-common/printf_fphex.c: Likewise.
12959 * stdio-common/printf_size.c: Likewise.
12960
9277c064
UD
12961 * math/e_exp10.c: Include math_private.h using <...> not "...".
12962 * math/e_exp10f.c: Likewise.
12963 * math/e_exp10l.c: Likewise.
12964 * math/e_exp2l.c: Likewise.
12965 * math/e_j0l.c: Likewise.
12966 * math/e_j1l.c: Likewise.
12967 * math/e_jnl.c: Likewise.
12968 * math/e_lgammal_r.c: Likewise.
12969 * math/e_rem_pio2l.c: Likewise.
12970 * math/e_scalb.c: Likewise.
12971 * math/e_scalbf.c: Likewise.
12972 * math/e_scalbl.c: Likewise.
12973 * math/k_cosl.c: Likewise.
12974 * math/k_sinl.c: Likewise.
12975 * math/k_tanl.c: Likewise.
12976 * math/s_cacoshf.c: Likewise.
12977 * math/s_catan.c: Likewise.
12978 * math/s_catanf.c: Likewise.
12979 * math/s_catanh.c: Likewise.
12980 * math/s_catanhf.c: Likewise.
12981 * math/s_catanhl.c: Likewise.
12982 * math/s_catanl.c: Likewise.
12983 * math/s_ccosh.c: Likewise.
12984 * math/s_ccoshf.c: Likewise.
12985 * math/s_ccoshl.c: Likewise.
12986 * math/s_cexp.c: Likewise.
12987 * math/s_cexpf.c: Likewise.
12988 * math/s_cexpl.c: Likewise.
12989 * math/s_clog.c: Likewise.
12990 * math/s_clog10.c: Likewise.
12991 * math/s_clog10f.c: Likewise.
12992 * math/s_clog10l.c: Likewise.
12993 * math/s_clogf.c: Likewise.
12994 * math/s_clogl.c: Likewise.
12995 * math/s_csin.c: Likewise.
12996 * math/s_csinf.c: Likewise.
12997 * math/s_csinh.c: Likewise.
12998 * math/s_csinhf.c: Likewise.
12999 * math/s_csinhl.c: Likewise.
13000 * math/s_csinl.c: Likewise.
13001 * math/s_csqrt.c: Likewise.
13002 * math/s_csqrtf.c: Likewise.
13003 * math/s_csqrtl.c: Likewise.
13004 * math/s_ctan.c: Likewise.
13005 * math/s_ctanf.c: Likewise.
13006 * math/s_ctanh.c: Likewise.
13007 * math/s_ctanhf.c: Likewise.
13008 * math/s_ctanhl.c: Likewise.
13009 * math/s_ctanl.c: Likewise.
13010 * math/s_ldexp.c: Likewise.
13011 * math/s_ldexpf.c: Likewise.
13012 * math/s_ldexpl.c: Likewise.
13013 * math/s_significand.c: Likewise.
13014 * math/s_significandf.c: Likewise.
13015 * math/s_significandl.c: Likewise.
13016 * math/w_acos.c: Likewise.
13017 * math/w_acosf.c: Likewise.
13018 * math/w_acosh.c: Likewise.
13019 * math/w_acoshf.c: Likewise.
13020 * math/w_acoshl.c: Likewise.
13021 * math/w_acosl.c: Likewise.
13022 * math/w_asin.c: Likewise.
13023 * math/w_asinf.c: Likewise.
13024 * math/w_asinl.c: Likewise.
13025 * math/w_atan2.c: Likewise.
13026 * math/w_atan2f.c: Likewise.
13027 * math/w_atan2l.c: Likewise.
13028 * math/w_atanh.c: Likewise.
13029 * math/w_atanhf.c: Likewise.
13030 * math/w_atanhl.c: Likewise.
13031 * math/w_cosh.c: Likewise.
13032 * math/w_coshf.c: Likewise.
13033 * math/w_coshl.c: Likewise.
13034 * math/w_dremf.c: Likewise.
13035 * math/w_exp10.c: Likewise.
13036 * math/w_exp10f.c: Likewise.
13037 * math/w_exp10l.c: Likewise.
13038 * math/w_exp2.c: Likewise.
13039 * math/w_exp2f.c: Likewise.
13040 * math/w_fmod.c: Likewise.
13041 * math/w_fmodf.c: Likewise.
13042 * math/w_fmodl.c: Likewise.
13043 * math/w_hypot.c: Likewise.
13044 * math/w_hypotf.c: Likewise.
13045 * math/w_hypotl.c: Likewise.
13046 * math/w_j0.c: Likewise.
13047 * math/w_j0f.c: Likewise.
13048 * math/w_j0l.c: Likewise.
13049 * math/w_j1.c: Likewise.
13050 * math/w_j1f.c: Likewise.
13051 * math/w_j1l.c: Likewise.
13052 * math/w_jn.c: Likewise.
13053 * math/w_jnf.c: Likewise.
13054 * math/w_jnl.c: Likewise.
13055 * math/w_lgamma.c: Likewise.
13056 * math/w_lgamma_r.c: Likewise.
13057 * math/w_lgammaf.c: Likewise.
13058 * math/w_lgammaf_r.c: Likewise.
13059 * math/w_lgammal.c: Likewise.
13060 * math/w_lgammal_r.c: Likewise.
13061 * math/w_log.c: Likewise.
13062 * math/w_log10.c: Likewise.
13063 * math/w_log10f.c: Likewise.
13064 * math/w_log10l.c: Likewise.
13065 * math/w_log2.c: Likewise.
13066 * math/w_log2f.c: Likewise.
13067 * math/w_log2l.c: Likewise.
13068 * math/w_logf.c: Likewise.
13069 * math/w_logl.c: Likewise.
13070 * math/w_pow.c: Likewise.
13071 * math/w_powf.c: Likewise.
13072 * math/w_powl.c: Likewise.
13073 * math/w_remainder.c: Likewise.
13074 * math/w_remainderf.c: Likewise.
13075 * math/w_remainderl.c: Likewise.
13076 * math/w_scalb.c: Likewise.
13077 * math/w_scalbf.c: Likewise.
13078 * math/w_scalbl.c: Likewise.
13079 * math/w_sinh.c: Likewise.
13080 * math/w_sinhf.c: Likewise.
13081 * math/w_sinhl.c: Likewise.
13082 * math/w_sqrt.c: Likewise.
13083 * math/w_sqrtf.c: Likewise.
13084 * math/w_sqrtl.c: Likewise.
13085 * math/w_tgamma.c: Likewise.
13086 * math/w_tgammaf.c: Likewise.
13087 * math/w_tgammal.c: Likewise.
13088
6a621eb7
UD
13089 * po/ja.po: Update from translation team.
13090
bf582445
AJ
130912011-09-29 Andreas Jaeger <aj@suse.de>
13092
f9efbf3a
AJ
13093 [BZ #13179]
13094 * sunrpc/netname.c (netname2host): Fix logic.
13095
bf582445
AJ
13096 [BZ #6779]
13097 [BZ #6783]
13098 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13099 correctly.
13100 * math/w_remainder.c (__remainder): Likewise.
13101 * math/w_remainderf.c (__remainderf): Likewise.
13102 * math/libm-test.inc (remainder_test): Add test cases.
13103
48693bea
AK
131042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13105
13106 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13107 sdiv_qrnnd.
13108
42622229
LD
131092011-10-07 Ulrich Drepper <drepper@gmail.com>
13110
13111 * string/test-memcmp.c: Avoid unncessary #defines.
13112 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13113
093ecf92
LD
131142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13115
13116 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13117 Use new sse2 version for core i3 - i7 as it's faster
13118 than sse42 version.
13119 (bit_Prefer_PMINUB_for_stringop): New.
13120 * sysdeps/x86_64/rawmemchr.S: Update.
13121 Replace with faster SSE2 version.
13122 * sysdeps/x86_64/memrchr.S: New file.
13123 * sysdeps/x86_64/memchr.S: Update.
13124 Replace with faster SSE2 version.
13125
fde56e5c
MP
131262011-09-12 Marek Polacek <mpolacek@redhat.com>
13127
13128 * elf/dl-load.c (lose): Add cast to avoid warning.
13129
21fd49a9
UD
131302011-10-07 Ulrich Drepper <drepper@gmail.com>
13131
5a06e643
UD
13132 * po/ca.po: Update from translation team.
13133
684ae515
UD
13134 * inet/getnetgrent_r.c: Hook up nscd.
13135 * nscd/Makefile (routines): Add nscd_netgroup.
13136 (nscd-modules): Add netgroupcache.
13137 (CFLAGS-netgroupcache.c): Define.
13138 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13139 (cache_search): Add const to second parameter.
13140 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13141 INNETGR.
13142 (dbs): Add netgrdb entry.
13143 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13144 (verify_persistent_db): Handle netgrdb.
13145 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13146 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13147 GETFDNETGR.
13148 (netgroup_response_header): Define.
13149 (innetgroup_response_header): Define.
13150 (datahead): Add netgroup_response_header and innetgroup_response_header
13151 elements.
13152 * nscd/nscd.conf: Add entries for netgroup cache.
13153 * nscd/nscd.h (dbtype): Add netgrdb.
13154 (_PATH_NSCD_NETGROUP_DB): Define.
13155 (netgroup_iov_disabled): Declare.
13156 (xmalloc, xcalloc, xrealloc): Move declarations here.
13157 (cache_search): Adjust prototype.
13158 Add netgroup-related prototypes.
13159 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13160 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13161 (__nscd_innetgr): Declare.
13162 * nscd/selinux.c (perms): Use access_vector_t as element type and
13163 add netgroup-related initializers.
13164 * nscd/netgroupcache.c: New file.
13165 * nscd/nscd_netgroup.c: New file.
13166 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13167 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13168 For four parameters use innetgr.
13169 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13170 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13171 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13172 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13173
21fd49a9
UD
13174 * nscd/connections.c (register_traced_file): Don't register file
13175 for disabled databases.
13176
054c0457
UD
131772011-10-06 Ulrich Drepper <drepper@gmail.com>
13178
32b63198
UD
13179 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13180
054c0457
UD
13181 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13182 from tree and freeing node.
13183
64031225
JO
131842011-09-25 Jiri Olsa <jolsa@redhat.com>
13185
13186 * nss/nsswitch.c (__nss_database_lookup): Handle
13187 nss_parse_service_list out of memory case.
13188
0490345c
JO
131892011-09-15 Jiri Olsa <jolsa@redhat.com>
13190
13191 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13192 out of memory case.
13193
3a62d00d
AS
131942011-10-04 Andreas Schwab <schwab@redhat.com>
13195
13196 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13197 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13198 pass it down.
13199 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13200 elf_machine_rela, elf_machine_lazy_rel.
13201 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13202 (ELF_DYNAMIC_DO_REL): Likewise.
13203 (ELF_DYNAMIC_DO_RELA): Likewise.
13204 (ELF_DYNAMIC_RELOCATE): Likewise.
13205 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13206 to ELF_DYNAMIC_DO_REL.
13207 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13208 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13209 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13210 elf_machine_rela.
13211 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13212 skip_ifunc, don't call ifunc function if non-zero.
13213 (elf_machine_rela): Likewise.
13214 (elf_machine_lazy_rel): Likewise.
13215 (elf_machine_lazy_rela): Likewise.
13216 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13217 (elf_machine_lazy_rel): Likewise.
13218 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13219 Likewise.
13220 (elf_machine_lazy_rel): Likewise.
13221 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13222 Likewise.
13223 (elf_machine_lazy_rel): Likewise.
13224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13225 (elf_machine_lazy_rel): Likewise.
13226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13227 (elf_machine_lazy_rel): Likewise.
13228 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13229 (elf_machine_lazy_rel): Likewise.
13230 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13231 (elf_machine_lazy_rel): Likewise.
13232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13233 (elf_machine_lazy_rel): Likewise.
13234 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13235 (elf_machine_lazy_rel): Likewise.
13236
68577918
UD
132372011-09-28 Ulrich Drepper <drepper@gmail.com>
13238
13239 * nss/nss_files/files-init.c (_nss_files_init): Use static
13240 initialization for all the *_traced_file variables.
13241
68822d74
AS
132422011-09-28 Andreas Schwab <schwab@redhat.com>
13243
13244 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13245
2056100b
RM
132462011-09-27 Roland McGrath <roland@hack.frob.com>
13247
13248 [BZ #13226]
13249 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13250
32c76b63
AS
132512011-09-27 Andreas Schwab <schwab@redhat.com>
13252
13253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13254 Reread the line before reparsing it.
13255
bf972c9d
AS
132562011-09-26 Andreas Schwab <schwab@redhat.com>
13257
13258 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13259
e057a1b5
JM
132602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13261 Maxim Kuvyrkov <maxim@codesourcery.com>
13262 Joseph Myers <joseph@codesourcery.com>
13263
13264 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13265 if needed for __stack_chk_guard.
13266
bc7e1c36
RM
132672011-09-19 Roland McGrath <roland@hack.frob.com>
13268
ecb1482f
RM
13269 * sysdeps/posix/spawni.c (script_execute): Always define it.
13270 It will be optimized away if unused.
13271 (maybe_script_execute): New function.
13272 (__spawni): Call it.
13273
bc7e1c36
RM
13274 * Makerules: Don't include tls.make.
13275 (config-tls): Always set to thread.
13276 * tls.make.c: File removed.
13277
1c3b002b
MF
132782011-09-19 Mike Frysinger <vapier@gentoo.org>
13279
13280 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13281 * config.make.in (CPPFLAGS-config): New substituted variable.
13282
2840865d
UD
132832011-09-15 Ulrich Drepper <drepper@gmail.com>
13284
88738eb6
UD
13285 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13286
cbf645a6 13287 [BZ #13192]
2840865d
UD
13288 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13289 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13290
b402e91a
RM
132912011-09-15 Roland McGrath <roland@hack.frob.com>
13292
13293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13294 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13296 (CALL_FAIL): Likewise.
13297 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13298 (CALL_FAIL): Macro removed.
13299 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13300
4c1a1f71
UD
133012011-09-15 Ulrich Drepper <drepper@gmail.com>
13302
13303 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13304 for __FINITE_MATH_ONLY__ == 1.
13305
edc121be
AS
133062011-09-15 Andreas Schwab <schwab@redhat.com>
13307
13308 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13309 __ieee754_sqrt instead of sqrt.
13310 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13311 __ieee754_sqrtf instead of sqrtf.
13312 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13313 __floorf instead of floorf.
13314 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13315 __floorf, __truncf instead of floorf, truncf.
13316
cd205654
UD
133172011-09-14 Ulrich Drepper <drepper@gmail.com>
13318
ee4d0315
UD
13319 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13320
cd205654
UD
13321 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13322 __extern_always_inline.
13323 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13324 32-bit.
13325
48b67d71
AS
133262011-09-14 Andreas Schwab <schwab@redhat.com>
13327
13328 * elf/rtld.c (dl_main): Also relocate in dependency order when
13329 doing symbol dependency testing.
13330
1ae12c75
AS
133312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13332
13333 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13334 Always define `refsym'.
13335
995a80df
AS
133362011-09-13 Andreas Schwab <schwab@redhat.com>
13337
e529793b
AS
13338 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13339 (__FD_ELT): Renamed from __FDELT.
13340 * misc/bits/select2.h (__FD_ELT): Likewise.
13341 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13342 __FD_MASK instead of __FDELT, __FDMASK.
13343 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13344 Likewise.
13345 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13346 Likewise.
13347
52d4fef8
AS
13348 * elf/Makefile (gen-ldd): Fix pattern.
13349
995a80df
AS
13350 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13351 (init_tls): Likewise.
13352
8682f8b0
UD
133532011-09-12 Ulrich Drepper <drepper@gmail.com>
13354
13355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13356
de82006d
AS
133572011-09-12 Andreas Schwab <schwab@redhat.com>
13358
a7c8e6a1
AS
13359 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13360 `struct cmsghdr *' instead of `void *'.
13361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13362 Likewise.
13363
0f31fe77
AS
133642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13365
13366 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13367 if non-absolute.
13368 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13369 ldd_rewrite_script.
0f31fe77 13370
32b4c839
UD
133712011-09-11 Ulrich Drepper <drepper@gmail.com>
13372
83cd1420
UD
13373 * configure.in: Remove --with-tls option.
13374 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13375 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13376 out in case it is missing.
13377 * sysdeps/ia64/elf/configure.in: Likewise.
13378 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13379 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13380 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13381 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13382 * sysdeps/sh/elf/configure.in: Likewise.
13383 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13384 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13385 * sysdeps/x86_64/elf/configure.in: Likewise.
13386 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13387 * sysdeps/mach/hurd/tls.h: Likewise.
13388
633f745d
UD
13389 [BZ #13067]
13390 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13391
f318beb8
UD
13392 [BZ #13090]
13393 * configure.in: Fix use of AC_INIT.
13394
32b4c839
UD
13395 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13396
3ce1f295
UD
133972011-09-10 Ulrich Drepper <drepper@gmail.com>
13398
bb016596
UD
13399 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13400 __set_errno.
8e58439c
UD
13401 * malloc/hooks.c: Likewise.
13402
aebae053 13403 [BZ #11929]
02d46fc4
UD
13404 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13405 variables statically.
13406 (narenas): Initialize.
13407 (list_lock): Initialize.
bb016596
UD
13408 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13409 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13410 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13411 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13412 Add initializers to main_arena and mp_.
13413 (malloc_state): Remove pagesize member. Change all users to use
13414 GLRO(dl_pagesize).
13415
13416 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13417 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13418 is always initialized.
13419
22a89187
UD
13420 * malloc/malloc.c: Removed unused configurations and dead code.
13421 * malloc/arena.c: Likewise.
13422 * malloc/hooks.c: Likewise.
02d46fc4 13423 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13424
d063d164
UD
13425 * include/tls.h: Removed. USE___THREAD must always be defined.
13426 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13427 * elf/dl-libc.c: Likewise.
13428 * elf/dl-tsd.c: Likewise.
13429 * include/errno.h: Likewise.
13430 * include/netdb.h: Likewise.
13431 * include/resolv.h: Likewise.
13432 * inet/herrno-loc.c: Likewise.
13433 * inet/herrno.c: Likewise.
13434 * malloc/arena.c: Likewise.
13435 * malloc/hooks.c: Likewise.
13436 * malloc/malloc.c: Likewise.
13437 * resolv/res-state.c: Likewise.
13438 * resolv/res_libc.c: Likewise.
13439 * sysdeps/i386/dl-machine.h: Likewise.
13440 * sysdeps/ia64/dl-machine.h: Likewise.
13441 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13442 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13443 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13444 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13445 * sysdeps/sh/dl-machine.h: Likewise.
13446 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13447 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13448 * sysdeps/unix/i386/sysdep.S: Likewise.
13449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13450 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13451 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13452 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13453 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13454 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13455 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13458 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13459 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13460 * sysdeps/x86_64/dl-machine.h: Likewise.
13461 * tls.make.c: Likewise.
13462
3ce1f295
UD
13463 * configure.in: Remove --with-__thread option. Make tests for
13464 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13465 tls_model attribute fail if no support is available. Remove
13466 USE_IN_LIBIO.
13467 * Makeconfig: Adjust for dropped configure option. All features are
13468 now mandatory.
13469 * Makerules: Likewise.
13470 * Versions.def: Likewise.
13471 * argp/argp-fmtstream.c: Likewise.
13472 * argp/argp-fmtstream.h: Likewise.
13473 * argp/argp-help.c: Likewise.
13474 * assert/assert.c: Likewise.
13475 * config.h.in: Likewise.
13476 * config.make.in: Likewise.
13477 * configure: Likewise.
13478 * configure.in: Likewise.
13479 * csu/Versions: Likewise.
13480 * csu/init.c: Likewise.
13481 * elf/tst-audit2.c: Likewise.
13482 * elf/tst-tls10.c: Likewise.
13483 * elf/tst-tls10.h: Likewise.
13484 * elf/tst-tls11.c: Likewise.
13485 * elf/tst-tls12.c: Likewise.
13486 * elf/tst-tls14.c: Likewise.
13487 * elf/tst-tlsmod11.c: Likewise.
13488 * elf/tst-tlsmod12.c: Likewise.
13489 * elf/tst-tlsmod13.c: Likewise.
13490 * elf/tst-tlsmod13a.c: Likewise.
13491 * elf/tst-tlsmod14a.c: Likewise.
13492 * elf/tst-tlsmod15b.c: Likewise.
13493 * elf/tst-tlsmod16a.c: Likewise.
13494 * elf/tst-tlsmod16b.c: Likewise.
13495 * elf/tst-tlsmod7.c: Likewise.
13496 * elf/tst-tlsmod8.c: Likewise.
13497 * elf/tst-tlsmod9.c: Likewise.
13498 * gmon/gmon.c: Likewise.
13499 * grp/fgetgrent_r.c: Likewise.
13500 * grp/putgrent.c: Likewise.
13501 * hurd/fopenport.c: Likewise.
13502 * include/libc-symbols.h: Likewise.
13503 * include/tls.h: Likewise.
13504 * intl/gettextP.h: Likewise.
13505 * intl/loadinfo.h: Likewise.
13506 * locale/global-locale.c: Likewise.
13507 * locale/localeinfo.h: Likewise.
13508 * mach/devstream.c: Likewise.
13509 * malloc/arena.c: Likewise.
13510 * malloc/set-freeres.c: Likewise.
13511 * misc/err.c: Likewise.
13512 * misc/getttyent.c: Likewise.
13513 * misc/mntent_r.c: Likewise.
13514 * posix/getopt.c: Likewise.
13515 * posix/wordexp.c: Likewise.
13516 * pwd/fgetpwent_r.c: Likewise.
13517 * resolv/Versions: Likewise.
13518 * resolv/res_hconf.c: Likewise.
13519 * shadow/fgetspent_r.c: Likewise.
13520 * shadow/putspent.c: Likewise.
13521 * stdio-common/printf_fphex.c: Likewise.
13522 * stdio-common/tmpfile.c: Likewise.
13523 * stdlib/abort.c: Likewise.
13524 * stdlib/fmtmsg.c: Likewise.
13525 * sunrpc/auth_unix.c: Likewise.
13526 * sunrpc/clnt_perr.c: Likewise.
13527 * sunrpc/clnt_tcp.c: Likewise.
13528 * sunrpc/clnt_udp.c: Likewise.
13529 * sunrpc/clnt_unix.c: Likewise.
13530 * sunrpc/openchild.c: Likewise.
13531 * sunrpc/svc_simple.c: Likewise.
13532 * sunrpc/svc_tcp.c: Likewise.
13533 * sunrpc/svc_udp.c: Likewise.
13534 * sunrpc/svc_unix.c: Likewise.
13535 * sunrpc/xdr.c: Likewise.
13536 * sunrpc/xdr_array.c: Likewise.
13537 * sunrpc/xdr_rec.c: Likewise.
13538 * sunrpc/xdr_ref.c: Likewise.
13539 * sunrpc/xdr_stdio.c: Likewise.
13540
1248c1c4
PB
135412011-09-09 Ulrich Drepper <drepper@gmail.com>
13542
13543 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13544
135452011-07-03 Andreas Jaeger <aj@suse.de>
13546
13547 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13548 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13549 regenerate with gen-libm-tests.pl.
13550
135512010-05-12 Petr Baudis <pasky@suse.cz>
13552
13553 [BZ #11589]
13554 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13555 around j0() zero points by switching to j1().
13556 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13559 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13560
f22e1074
UD
135612011-09-09 Ulrich Drepper <drepper@gmail.com>
13562
f19009c1
UD
13563 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13564 instead of 0.
13565 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13566 instead of 0. .
13567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13568 Patch in part by Pavel Roskin <proski@gnu.org>.
13569
3f8cc204
UD
13570 [BZ #13138]
13571 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13572 realloc.
13573 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13574 Free memory block if necessary.
13575
f22e1074
UD
13576 [BZ #12847]
13577 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13578 be NULL. Don't lock in this case.
13579
0a2349f9
RM
135802011-09-09 Roland McGrath <roland@hack.frob.com>
13581
13582 * elf/elf.h (ELFOSABI_GNU): New macro.
13583 (ELFOSABI_LINUX): Define to that.
13584
f3cdd467
DZ
135852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13586
13587 * string/strncat.c (strncat): Undef the symbol in case it has been
13588 defined in bits/string.h.
13589
74718d13
UD
135902011-09-09 Ulrich Drepper <drepper@gmail.com>
13591
633e9e0f
UD
13592 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13593
0a2349f9 13594 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13595 link map.
13596
f9924780
AJ
135972011-08-17 Andreas Jaeger <aj@suse.de>
13598
13599 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13600
7f5517aa
PP
136012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13602 Ian Lance Taylor <iant@google.com>
13603
13604 * math/libm-test.inc (lround_test): New testcase.
13605 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13606
762011fe
UD
136072011-09-08 Ulrich Drepper <drepper@gmail.com>
13608
92963737
UD
13609 * Makefile: Remove support for automatic cvs check-ins.
13610 * Makerules: Likewise.
13611 * config.make.in: Likewise.
13612 * configure.in: Likewise.
13613 * intl/Makefile: Likewise.
13614 * locale/Makefile: Likewise.
13615 * po/Makefile: Likewise.
13616 * posix/Makefile: Likewise.
13617 * sysdeps/gnu/Makefile: Likewise.
13618 * sysdeps/mach/hurd/Makefile: Likewise.
13619 * sysdeps/sparc/sparc32/Makefile: Likewise.
13620
b0727fd8
JS
13621 [BZ #13118]
13622 * posix/Makefile (bug-regex32-ENV): Define.
13623 Patch by John Stanley <jpsinthemix@verizon.net>.
13624
a0f33f99
UD
13625 * misc/Makefile (headers): Add bits/select2.h.
13626 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13627 * misc/bits/select2.h: New file.
13628 * include/bits/select2.h: New file.
13629 * debug/Makefile (routines): Add fdelt_chk.
13630 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13631 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13632 FD_ISSET.
13633 * debug/fdelt_chk.c: New file.
13634
762011fe
UD
13635 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13636 * wcsmbs/test-wmemcmp.c: Likewise.
13637 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13638 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13639
136402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13641
13642 * string/Makefile (strop-tests): Add memcmp.
13643 * string/test-wmemcmp.c: New file.
13644 * string/test-memcmp.c: Add wmemcmp support.
13645
7f513ec8
RM
136462011-09-08 Roland McGrath <roland@hack.frob.com>
13647
0442afb4
RM
13648 [BZ #13153]
13649 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13650 2011-07-19 change.
13651
7f513ec8
RM
13652 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13653 garbage value in a __mach_port_mod_refs call in the cases of the
13654 task-self and thread-self ports.
13655
a12b2239
ST
136562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13657
13658 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13659
610f9ab4
AS
136602011-09-08 Andreas Schwab <schwab@redhat.com>
13661
7f513ec8 13662 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13663
48882a1a
LD
136642011-09-07 Ulrich Drepper <drepper@gmail.com>
13665
b49865be
UD
13666 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13667
fdc86bc9
UD
13668 * elf/dl-libc.c (dlerror_run): Pass back error code from
13669 dl_catch_error.
13670
c966526a
UD
13671 [BZ #13123]
13672 * elf/dl-load.c (lose): Free l_origin if it is valid.
13673
48882a1a
LD
13674 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13675 names.
13676 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13678 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13679 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13680 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13681 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13682
77a2a8b4
AZ
136832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13684
13685 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13686 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13687 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13688 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13689 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13690 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13691 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13692 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13693 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13694 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13695
24f579d8
AM
136962011-08-15 Alan Modra <amodra@gmail.com>
13697
13698 [BZ #13092]
13699 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13700 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13701 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13702 ppc_mcount to static-only-routines.
13703 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13704 __mcount_internal.
13705 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13706 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13707
3d4837df
UD
137082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13709
13710 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13711 for finite and infinity parameters.
13712
22700377
WS
137132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13714
13715 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13716 and add nop instructions for throughput optimization.
13717 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13718
5025581e
WS
137192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13720
13721 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13722 aligned copy for power7 with vector-scalar instructions.
13723 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13724
08a300c9
L
137252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13726
13727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13728 AVX check.
13729
59178ef9
AS
137302011-09-07 Andreas Schwab <schwab@redhat.com>
13731
13732 [BZ #13144]
13733 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13734 last change.
13735
e38ba7ab
UD
137362011-09-07 Ulrich Drepper <drepper@gmail.com>
13737
13738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13739 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13740 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13741 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13742 clock_gettime.
13743
d53a73ac
UD
137442011-09-06 Ulrich Drepper <drepper@gmail.com>
13745
fc8bffcc
UD
13746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13747 Forgot to demangle the pointer.
13748
ceaa0c5d
UD
13749 * sysdeps/i386/sysdep.h: Define atom_text_section.
13750 * sysdeps/x86_64/sysdep.h: Likewise.
13751 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13752 section with atom_text_section.
13753 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13754 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13755 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13757 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13758
a77d3c17
UD
13759 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13760 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13761 already be defined. Change to take two parameters and don't assign
13762 result to variable. Adjust all users.
13763 Define INTERNAL_GETTIME if not already defined.
13764 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13765 call.
13766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13767 HAVE_CLOCK_GETTIME_VSYSCALL.
13768 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13769
d53a73ac
UD
13770 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13771 gettimeofday vsyscall, just use time.
13772
a8f84144
AS
137732011-09-06 Andreas Schwab <schwab@redhat.com>
13774
13775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13776 <errno.h>.
13777
ef606249
UD
137782011-09-06 Ulrich Drepper <drepper@gmail.com>
13779
13780 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13781 syscall on x86-64.
13782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13783 syscall.
13784 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13785 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13786 syscall if possible.
13787
6585cb60
UD
137882011-09-05 Ulrich Drepper <drepper@gmail.com>
13789
13790 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13791 e_ident. Don't pass to find_mapsXX.
13792 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13793
a5f524e4
LD
137942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13795
13796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13797 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13798 * sysdeps/x86_64/multiarch/strchr.S: Update.
13799 Check bit_slow_BSF bit.
13800 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13801 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13802 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13803
554881ef
UD
138042011-09-05 Ulrich Drepper <drepper@gmail.com>
13805
d96de963
UD
13806 [BZ #13134]
13807 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13808 before glibc 2.15.
13809 (tryshell): Define.
13810 (__spawni): Change last parameter to be flag. Test
13811 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13812 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13813 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13814 * posix/spawni.c: Likewise.
13815 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13816 * posix/spawnp.c: Likewise. Change normal version to use
13817 SPAWN_XFLAGS_USE_PATH.
13818 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13819 SPAWN_XFLAGS_TRY_SHELL.
13820
d48e5868
UD
13821 [BZ #13150]
13822 * posix/glob.h: Remove gcc 1.x support.
13823
554881ef
UD
13824 [BZ #13068]
13825 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13826
693fb948
LD
138272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13828
13829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13830 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13831 strrchr-sse2-bsf
13832 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13833 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13834 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13835 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13837 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13838
1b48c537
UD
138392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13840
49d42c37
UD
13841 * sysdeps/x86_64/wcscmp.S: New file.
13842
1b48c537
UD
13843 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13844 wcscmp-c wcscmp-sse2
13845 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13846 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13847 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13848 * wcsmbs/wcscmp.c: Allow renaming.
13849
15c95c5d
DM
138502011-09-05 David S. Miller <davem@davemloft.net>
13851
13852 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13853 stack slot, rather than the struct return pointer slot.
13854 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13855 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13857 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13858
2f0ad8f3
UD
138592011-09-05 Ulrich Drepper <drepper@gmail.com>
13860
d88ae418
UD
13861 * po/ja.po: Update from translation team.
13862
2f0ad8f3
UD
13863 [BZ #13144]
13864 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13865 kernel in 64-bit binaries.
13866
5f4318d1
DM
138672011-09-01 David S. Miller <davem@davemloft.net>
13868
13869 * elf/elf.h (HWCAP_SPARC_*): Move to..
13870 * sysdeps/sparc/sysdep.h: this new file and add new values.
13871 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13872 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13873 _DL_HWCAP_COUNT to 24.
13874 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13875 entries.
13876 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13877 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13878 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13879 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13880 instead of magic constants.
13881 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13882
3ba57516
DM
138832011-08-31 David S. Miller <davem@davemloft.net>
13884
13885 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13886 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13887 Reimplement to do errno handling inline.
13888 (SYSCALL_ERROR_HANDLER): New macro.
13889 (__SYSCALL_STRING): Do not do errno handling in asm.
13890 (__CLONE_SYSCALL_STRING): Delete.
13891 (__INTERNAL_SYSCALL_STRING): Delete.
13892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13893 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13894 (PSEUDO): Reimplement to do errno handling inline.
13895 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13896 (SYSCALL_ERROR_HANDLER): New macro.
13897 (__SYSCALL_STRING): Do not do errno handling in asm.
13898 (__CLONE_SYSCALL_STRING): Delete.
13899 (__INTERNAL_SYSCALL_STRING): Delete.
13900 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13901 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13902 i386.
13903 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13904 (inline_syscall*): Add 'err' argument.
13905 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13906 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13907 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13908 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13909
13910 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13911 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13912
2bc17433
AS
139132011-08-30 Andreas Schwab <schwab@redhat.com>
13914
13915 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13916
fbeb5f4d
JO
139172011-08-29 Jiri Olsa <jolsa@redhat.com>
13918
13919 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13920 directive.
13921
ad69cc26
DM
139222011-08-24 David S. Miller <davem@davemloft.net>
13923
13924 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13925
39dd69df
AS
139262011-08-24 Andreas Schwab <schwab@redhat.com>
13927
13928 * elf/Makefile: Add rules to build and run unload8 test.
13929 * elf/unload8.c: New file.
13930 * elf/unload8mod1.c: New file.
13931 * elf/unload8mod1x.c: New file.
13932 * elf/unload8mod2.c: New file.
13933 * elf/unload8mod3.c: New file.
13934
13935 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13936 it wasn't used.
13937
2c0b250a
DM
139382011-08-23 David S. Miller <davem@davemloft.net>
13939
13940 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13941 subtract stack bias.
13942 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13943 %sp not %fp in calculations.
13944 (_JMPBUF_UNWINDS_ADJ): Likewise.
13945
22044b48
DM
13946 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13947 (aio_suspend): Call it to force an exception region around the
13948 AIO_MISC_WAIT() invocation.
13949
2cae4995
AS
139502011-08-23 Andreas Schwab <schwab@redhat.com>
13951
13952 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13953 backslash.
13954
873a772e
AJ
139552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13956
13957 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13958 protection macro.
13959 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13960 and <dl-machine.h>.
13961 (Elf64_FuncDesc): Remove.
13962
25ad0df1
DM
139632011-08-22 David S. Miller <davem@davemloft.net>
13964
13965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13966 sigaltstack check, add missing cfi directives.
13967 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13968 missing cfi directives, and sigaltstack handling.
13969
e888bcbe
AS
139702011-08-16 Andreas Schwab <schwab@redhat.com>
13971
13972 [BZ #11724]
13973 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13974 object is seen twice.
13975 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13976
13977 * elf/Makefile (distribute): Add tst-initorder2.c.
13978 (tests): Add tst-initorder2.
13979 (modules-names): Add tst-initorder2a tst-initorder2b
13980 tst-initorder2c tst-initorder2d. Add rules to build them.
13981 ($(objpfx)tst-initorder2.out): New rule.
13982 * elf/tst-initorder2.c: New file.
13983 * elf/tst-initorder2.exp: New file.
13984
87162f46
AS
139852011-08-22 Andreas Schwab <schwab@redhat.com>
13986
70538b7f
AS
13987 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13988
f55ffe58
AS
13989 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13990 dependencies back to end of function.
13991
87162f46
AS
13992 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13993 $(elfobjdir)/ld.so.
13994
91b392a4
UD
139952011-08-21 Ulrich Drepper <drepper@gmail.com>
13996
13997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13998 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13999 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
14000 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
14001 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
14002 of __vdso_gettimeofday.
14003 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
14004 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
14005 attribute_hidden.
14006 (_libc_vdso_platform_setup): Remove initialization of
14007 __vdso_gettimeofday and __vdso_time.
14008
5c43483f
UD
140092011-08-20 Ulrich Drepper <drepper@gmail.com>
14010
775a77e7
UD
14011 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
14012 and fgetc_unlocked.
14013 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
14014 getc_unlocked.
89f447ed 14015
49c74ba9
UD
14016 * elf/dl-open.c (add_to_global): Report additions to the global scope
14017 for LD_DEBUG=scopes.
14018 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 14019 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 14020
5c43483f
UD
14021 [BZ #13114]
14022 * stdio-common/Makefile (tests): Add bug24.
14023 * stdio-common/bug24.c: New file.
14024
a101b025
AJ
140252011-08-19 Andreas Jaeger <aj@suse.de>
14026
14027 [BZ #13114]
14028 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
14029 non-existant file when using close-on-exec mode.
14030
c88f1766
UD
140312011-08-20 Ulrich Drepper <drepper@gmail.com>
14032
0276a718
UD
14033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
14034 the very first instruction.
14035
c88f1766
UD
14036 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
14037 the CFI state in the end.
14038 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
14039 inclusion of dl-trampoline.h.
14040 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
14041
51ccffa0
AS
140422011-08-19 Andreas Schwab <schwab@redhat.com>
14043
94d7165f
AS
14044 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
14045 expectations for long double.
14046
51ccffa0
AS
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
14048 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
14049
fd708658 140502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
14051
14052 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
14053 artificual limit depends upon the system page size.
14054
44f0a71e
UD
140552011-08-17 Ulrich Drepper <drepper@gmail.com>
14056
14057 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
14058 * resolv/Makefile: Define CFLAGS-libresolv.
14059
8de79a24
AS
140602011-08-17 Andreas Schwab <schwab@redhat.com>
14061
14062 * nss/makedb.c (compute_tables): Make variables used in nested
14063 function static.
14064
27724598
UD
140652011-08-17 Ulrich Drepper <drepper@gmail.com>
14066
c5305d88
UD
14067 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
14068 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
14069 if buffer was too small.
14070
27724598
UD
14071 * elf/pldd.c (main): Attach to all threads in the process.
14072 Rewrite /proc handling to use *at functions.
14073
076fe015
UD
140742011-08-16 Ulrich Drepper <drepper@gmail.com>
14075
174baab3
UD
14076 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
14077 specifies first scope to show.
14078 (dl_open_worker): Update callers. Move printing scope of new
14079 object to before the relocation.
44f0a71e 14080 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14081 * sysdeps/generic/ldsodefs.h: Update declaration.
14082
076fe015
UD
14083 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14084 string for the scope number.
14085
a60df2c3
UD
140862011-08-14 Ulrich Drepper <drepper@gmail.com>
14087
14088 * nscd/servicescache.c (cache_addserv): Make sure written is always
14089 initialized.
14090
5e4287d1
RM
140912011-08-14 Roland McGrath <roland@hack.frob.com>
14092
85ae0589
RM
14093 * sysdeps/i386/i486/bits/atomic.h
14094 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14095 statement expression, so as to suppress "set but not used" warning.
14096 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14097
69f63097
RM
14098 * string/strncat.c (STRNCAT): Use prototype definition.
14099
675456ef
RM
14100 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14101 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14102 -Iprograms here.
14103 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14104 (localedef-modules): Add localedef.
14105 (locale-modules): Add locale.
14106
5e4287d1
RM
14107 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14108 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14109 to avoid a warning.
14110
9c96ff23
DM
141112011-08-14 David S. Miller <davem@davemloft.net>
14112
14113 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14114 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14115
f9ddf089
UD
141162011-08-13 Ulrich Drepper <drepper@gmail.com>
14117
44f0a71e 14118 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14119 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14120 * elf/rtld.c (dl_main): Set l_name of vDSO.
14121 Call _dl_show_scope when DL_DEBUG_SCOPES.
14122 (process_dl_debug): Recognize scopes flag and also set it for all.
14123 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14124 Declare _dl_show_scope.
14125
1dc27704
UD
14126 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14127 (do_dlopen): Pass caller_dlopen to dl_open.
14128 (__libc_dlopen_mode): Initialize caller_dlopen.
14129
f9ddf089
UD
14130 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14131 of libc. Make tolower call locale-independent. Optimize a bit by
14132 using isdigit instead of isalnum.
14133 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14134
9ac533d3
UD
141352011-08-12 Ulrich Drepper <drepper@gmail.com>
14136
14137 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14138 was a dependency or dynamically loaded.
14139
89edf2e9
UD
141402011-08-11 Ulrich Drepper <drepper@gmail.com>
14141
8e999d29
UD
14142 * intl/l10nflist.c: Allow architecture-specific pop function.
14143 * sysdeps/x86_64/l10nflist.c: New file.
14144
89edf2e9
UD
14145 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14146 classification.
14147
14d96785
AS
141482011-08-10 Andreas Schwab <schwab@redhat.com>
14149
14150 * include/dirent.h: Add libc_hidden_proto for scandirat and
14151 scandirat64. Don't declare __scandirat64.
14152 * dirent/scandirat.c: Add libc_hidden_def.
14153 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14154 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14155
6761ac04
DM
141562011-08-10 David S. Miller <davem@davemloft.net>
14157
14158 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14159 enum.
14160 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14161 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14162 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14163
c55fbd1e
UD
141642011-08-09 Ulrich Drepper <drepper@gmail.com>
14165
14166 * Versions.def [libc]: Add GLIBC_2.15.
14167 * dirent/Makefile (routines): Add scandirat and scandirat64.
14168 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14169 GLIBC_2.15.
14170 * dirent/dirent.h: Declare scandirat and scandirat64.
14171 * dirent/scandirat.c: New file.
14172 * dirent/scandirat64.c: New file.
14173 * sysdeps/wordsize-64/scandirat.c: New file.
14174 * sysdeps/wordsize-64/scandirat64.c: New file.
14175 * dirent/opendir.c: Define opendirat.
14176 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14177 using scandirat.
14178 * dirent/scandir64.c: Adjust for scandir.c change.
14179 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14180 __scandirat64, and __scandir_cancel_handler.
14181 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14182 additional parameter and use openat instead of open (outside of ld.so).
14183 Add new __opendir as wrapper around __opendirat.
14184 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14185 here without requiring old scandirat implementation.
14186
879165f2
UD
141872011-08-08 Ulrich Drepper <drepper@gmail.com>
14188
14189 * dirent/scandir.c (cancel_handler): Renamed to
14190 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14191 defined. Adjust users.
14192 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14193 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14194
cb7e923b
UD
141952011-08-04 Ulrich Drepper <drepper@gmail.com>
14196
16292edd
UD
14197 * string/test-string.h (IMPL): Use __STRING to expand name and then
14198 stringify it.
14199
cb7e923b
UD
14200 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14201 of cleanups.
14202
cff82933
LD
142032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14204
14205 * string/Makefile: Update.
14206 (strop-tests): Append strncat.
14207 * string/test-wcscmp.c: New file.
14208 New comprehensive test for wcscmp.
14209 * string/test-strcmp.c: Update.
14210 (WIDE): New define.
14211
9be9bfcc
AS
142122011-07-22 Andreas Schwab <schwab@redhat.com>
14213
14214 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14215 line.
14216
2e96f1c7
AS
142172011-07-26 Andreas Schwab <schwab@redhat.com>
14218
14219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14220 encoding to ACE if AI_IDN.
14221
85188888
JJ
142222011-08-01 Jakub Jelinek <jakub@redhat.com>
14223
14224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14225 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14226
5fa16e9b
LD
142272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14228
14229 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14230 Fix overflow bug in strncat.
14231 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14232
14233 * string/test-strncat.c: Update.
14234 Add new tests for checking overflow bugs.
14235
142362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14237
14238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14239 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14240 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14241 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14242 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14243 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14244 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14245 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14246 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14247
14248 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14249 (USE_AS_STRCAT): Define.
14250 Add strcat and strncat support.
14251 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14252
8c1a459f
AS
142532011-07-25 Andreas Schwab <schwab@redhat.com>
14254
14255 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14256 __n bigger than INT_MAX+1.
14257 (__strncmp_g): Likewise.
14258
bba33c28
UD
142592011-07-23 Ulrich Drepper <drepper@gmail.com>
14260
798be72d
UD
14261 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14262 * libio/stido.h: Likewise.
14263
8accd4dc
UD
14264 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14265 (AF_NFC): Define.
14266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14267 (AF_NFC): Define.
14268
cbff0d96
UD
14269 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14270 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14271 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14272 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14274
9191c04a
UD
14275 [BZ #13021]
14276 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14277 installed.
14278
bba33c28
UD
14279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14280 typo.
14281 (_dl_x86_64_save_sse): Likewise.
14282
90f139dd
UD
142832011-07-22 Ulrich Drepper <drepper@gmail.com>
14284
1aae088a
UD
14285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14286 OSXSAVE.
14287 (_dl_x86_64_save_sse): Likewise.
14288
8e2045f5
UD
14289 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14290
90f139dd
UD
14291 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14292
1d002f25
AS
142932011-07-21 Andreas Schwab <schwab@redhat.com>
14294
14295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14296 change.
14297 (_dl_x86_64_save_sse): Use correct AVX check.
14298
21137f89
UD
142992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14300
14301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14302 bug in strncpy/strncat.
14303 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14304
a65c0b7a
UD
143052011-07-21 Ulrich Drepper <drepper@gmail.com>
14306
14307 * string/tester.c (test_strcat): Add tests for different alignments
14308 of source and destination.
14309 (test_strncat): Likewise.
14310
6986b98a
UD
143112011-07-20 Ulrich Drepper <drepper@gmail.com>
14312
90bb2039
UD
14313 [BZ #12852]
14314 * posix/glob.c (glob): Check passed in values before using them in
14315 expressions to avoid some overflows.
14316 (glob_in_dir): Likewise.
14317
5644ef54
UD
14318 [BZ #13007]
14319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14320 check for AVX enablement so that we don't crash with old kernels and
14321 new hardware.
14322 * elf/tst-audit4.c: Add same checks here.
14323 * elf/tst-audit6.c: Likewise.
14324
14325 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14326
bfc9dc9b
AS
143272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14328
14329 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14330
702e64bb
UD
143312011-07-20 Ulrich Drepper <drepper@gmail.com>
14332
14333 * po/cs.po: Update from translation team.
14334 * po/bg.po: Likewise.
14335
295e904f
MP
143362011-07-12 Marek Polacek <mpolacek@redhat.com>
14337
14338 * misc/sys/cdefs.h: Add support for const attribute.
14339 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14340 to gnu_dev_{major,minor,makedev} functions.
14341
3ff94596
MP
143422011-07-20 Marek Polacek <mpolacek@redhat.com>
14343
14344 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14345
28b59fca
AS
143462011-07-20 Andreas Schwab <schwab@redhat.com>
14347
14348 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14349 strlen results.
14350
19df733e
AK
143512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14352
14353 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14354 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14355 register in order to avoid conflicts with the soft frame pointer
14356 being held in r11 when necessary.
14357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14358 (INTERNAL_VSYSCALL_NCS): Likewise.
14359
c8835729
MP
143602011-07-14 Marek Polacek <mpolacek@redhat.com>
14361
14362 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14363 * elf/dl-fini.c (_dl_fini): Adjust caller.
14364 * elf/dl-close.c (_dl_close_worker): Likewise.
14365 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14366
b902330c
MP
143672011-07-15 Marek Polacek <mpolacek@redhat.com>
14368
8991e135
MP
14369 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14370 "aux_cache->nlibs < 0".
14371
b902330c
MP
14372 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14373 in the reload-count case.
14374
99710781
LD
143752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14376
14377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14378 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14379 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14380 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14381 * sysdeps/x86_64/multiarch/strcat.S: New file.
14382 * sysdeps/x86_64/multiarch/strncat.S: New file.
14383 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14384 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14385 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14386 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14388 (USE_AS_STRCAT): Define.
14389 Add strcat and strncat support.
14390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14391 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14392 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14393 * string/strncat.c: Update.
14394 (USE_AS_STRNCAT): Define.
14395 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14396 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14397 and i7.
14398 * sysdeps/x86_64/multiarch/init-arch.h
14399 (bit_Prefer_PMINUB_for_stringop): New.
14400 (index_Prefer_PMINUB_for_stringop): Likewise.
14401 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14402 bit_Prefer_PMINUB_for_stringop.
14403
7dc6bd90
UD
144042011-07-19 Ulrich Drepper <drepper@gmail.com>
14405
14406 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14407 buffer64.
14408 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14409 of casting of buffer.
14410 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14411 buffer32 and buffer64.
14412 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14413 writes instead of casting of buffer.
14414 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14415 buffer32.
14416 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14417 casting of buffer.
14418
e0e72284
AS
144192011-07-19 Andreas Schwab <schwab@redhat.com>
14420
14421 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14422
feb1eb0b
UD
144232011-07-19 Ulrich Drepper <drepper@gmail.com>
14424
14425 * nscd/nscd.c (termination_handler): Don't do anything for a database
14426 if it has not yet been initialized.
14427
298711ff
UD
144282011-07-18 Ulrich Drepper <drepper@gmail.com>
14429
14430 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14431
144322011-07-15 Marek Polacek <mpolacek@redhat.com>
14433
14434 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14435
f9d68389
UD
144362011-07-18 Ulrich Drepper <drepper@gmail.com>
14437
14438 * po/nl.po: Update from translation team.
14439 * po/sv.po: Likewise.
14440
db290cf5
RM
144412011-07-16 Roland McGrath <roland@hack.frob.com>
14442
14443 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14444 now disallowed by GCC.
5c550700 14445
fd5e21c7
RM
14446 * configure.in (use-default-link): Default to yes if a test -shared
14447 link meets our qualifications.
14448 * configure: Regenerated.
14449
5c550700
RM
14450 * config.make.in (output-format): New variable.
14451 * configure.in: Check for ld --print-output-format support.
14452 * configure: Regenerated.
14453 * Makerules ($(common-objpfx)format.lds)
14454 [$(output-format) != unknown]: Just use $(output-format),
14455 instead of the linker-script munging.
14456
9fa2c032
RM
144572011-07-14 Roland McGrath <roland@hack.frob.com>
14458
a6928d51
RM
14459 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14460 of $(common-objpfx)shlib.lds.
14461 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14462
661607b3
RM
14463 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14464 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14465
9fa2c032
RM
14466 * configure.in (-z relro check): Adjust test code to add a large
14467 writable data section after it.
14468 * configure: Regenerated.
14469
defe9061
RM
144702011-07-11 Roland McGrath <roland@hack.frob.com>
14471
14472 * configure.in (-z relro check): Fix test code to make the variable
14473 truly const.
14474 * configure: Regenerated.
14475
319b9ad4
UD
144762011-07-11 Ulrich Drepper <drepper@gmail.com>
14477
14478 * nscd/nscd.h (struct traced_file): Define.
14479 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14480 elements. Add traced_files.
14481 (inotify_fd): Declare.
14482 (register_traced_file): Declare.
14483 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14484 (inotify_fd): Export.
14485 (resolv_conf_descr): Remove.
14486 (nscd_init): Move inotify descriptor creation to main.
14487 Don't register files for notification here.
14488 (register_traced_file): New function.
14489 (invalidate_cache): Don't use reset_res to determine whether to call
14490 res_init, go through the list of registered files.
14491 (main_loop_poll): The inotify descriptors are now stored in the
14492 structures for the traced files.
14493 (main_loop_epoll): Likewise
14494 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14495 to __nss_disable_nscd.
14496 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14497 for a database anymore. Check the records for all the registered
14498 files instead.
14499 * nss/Makefile (libnss_files-routines): Add files-init.
14500 (libnss_db-routines): Add db-init.
14501 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14502 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14503 * nss/nss_db/db-init.c: New file.
14504 * nss/nss_files/files-init.c: New file.
14505 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14506 __nss_lookup_function.
14507 (__nss_lookup_function): Call nss_load_library.
14508 (nss_load_all_libraries): New function.
14509 (__nss_disable_nscd): Take parameter with callback function for files
14510 to register. Set is_nscd. Load all the DSOs for the NSS modules
14511 used for the cached services.
14512 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14513 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14514 options for features to all the files in nscd.
14515
14516 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14517
23bee3e8
RM
145182011-07-10 Roland McGrath <roland@hack.frob.com>
14519
14520 * csu/elf-init.c (__libc_csu_init): Comment typo.
14521
46a5b7f0
UD
145222011-07-09 Ulrich Drepper <drepper@gmail.com>
14523
14524 * po/pl.po: Update from translation team.
14525 * po/ja.po: Likewise.
14526 * po/ru.po: Likewise.
14527 * po/ko.po: Likewise.
14528 * po/fr.po: Likewise.
14529
d30cf5bb
RM
145302011-07-09 Roland McGrath <roland@hack.frob.com>
14531
113ddea4
RM
14532 * configure.in (.ctors/.dtors header and trailer check):
14533 Use an empirical test on a built program.
14534 * configure: Regenerated.
14535
574920b4
RM
14536 * configure.in (-z relro check): Use an empirical test on a built DSO.
14537 Detect, but do not require, on ia64.
14538 * configure: Regenerated.
14539
d30cf5bb
RM
14540 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14541 Update tests that use readelf to use $READELF instead.
14542 * configure: Regenerated.
14543
8538fdb3
UD
145442011-07-08 Ulrich Drepper <drepper@gmail.com>
14545
14546 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14547 if the result is not used.
14548
04d08991
AJ
145492011-07-05 Andreas Jaeger <aj@suse.de>
14550
14551 [BZ#9696]
14552 * stdlib/tst-strtod.c: Add testcase.
14553
de283087
AD
145542011-07-07 Ulrich Drepper <drepper@gmail.com>
14555
4e5f31c8 14556 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14557 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14558 The latter has a higher limit. Take additional parameter to pass to
14559 the new function.
14560 (__pathconf): Pass file to __statfs_link_max.
14561 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14562 __statfs_link_max.
14563 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14564 __statfs_link_max.
14565
de283087
AD
14566 [BZ #12868]
14567 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14569 Handle Lustre.
14570 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14571 (__statfs_filesize_max): Likewise.
14572 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14573
c75fa153
AJ
145742011-07-05 Andreas Jaeger <aj@suse.de>
14575
14576 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14577
1a544854
UD
145782011-07-06 Marek Polacek <mpolacek@redhat.com>
14579
14580 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14581 `status' variable.
14582 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14583 Likewise.
14584
6f0eec67
UD
145852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14586
14587 * Makefile (strop-tests): Add strncat.
14588 * string/test-strncat.c: New file.
14589
aae30307
UD
145902011-06-30 Marek Polacek <mpolacek@redhat.com>
14591
14592 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14593
c0cfb5eb
UD
145942011-06-21 Andreas Jaeger <aj@suse.de>
14595
14596 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14597 Copy rule from iconvdata/Makefile.
14598
01636b21
UD
145992011-07-06 Ulrich Drepper <drepper@gmail.com>
14600
14601 [BZ #12922]
14602 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14603 but no long options are defined, just return 'W'.
14604
9895c8bc
UD
146052011-06-22 Marek Polacek <mpolacek@redhat.com>
14606
14607 [BZ #9696]
14608 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14609
5d4cf042
UD
146102011-07-06 Ulrich Drepper <drepper@gmail.com>
14611
14612 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14613 netgroups to read.
960e5535 14614 (innetgr): Likewise.
5d4cf042 14615
751eb97e
RM
146162011-07-05 Roland McGrath <roland@hack.frob.com>
14617
14618 * config.make.in (install_root): Default to $(DESTDIR).
14619
f15f1e45
UD
146202011-07-05 Ulrich Drepper <drepper@gmail.com>
14621
14622 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14623
4e34ac6a
RM
146242011-07-02 Roland McGrath <roland@hack.frob.com>
14625
5e9b6af4
RM
14626 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14627
84f9ea0f
RM
14628 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14629 containing directory rather than embedding absolute directory names.
14630
ea5ee9f7
RM
14631 * scripts/check-local-headers.sh: Rewritten using awk.
14632 Match by word, not by line. Print error messages for matches.
14633 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14634
1b74661a
RM
14635 * Makerules [shlib-lds-flags empty]:
14636 ($(common-objpfx)libc_pic.opts): New target.
14637 ($(common-objpfx)libc_pic.os.clean): New target.
14638 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14639
14640 * config.make.in (OBJCOPY): New variable.
14641 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14642 * configure: Regenerated.
14643
f781ef40
RM
14644 * config.make.in (use-default-link): New variable.
14645 * configure.in (use_default_link): Grok --with-default-link to set it.
14646 * configure: Regenerated.
14647 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14648 (shlib-lds, shlib-lds-flags): Define to empty.
14649
2d4fa81e
RM
14650 * Makerules (shlib-lds): New variable.
14651 (shlib-lds-flags): New variable.
14652 (build-shlib, build-moduile, build-module-asneeded): Use it.
14653 ($(common-objpfx)libc.so): Use $(shlib-lds).
14654 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14655 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14656
31fffa6b
RM
14657 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14658 DT_FLAGS/DT_FLAGS_1 with zero flags.
14659
4e34ac6a
RM
14660 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14661 linker script munging.
14662
fcfc776b
UD
146632011-07-02 Ulrich Drepper <drepper@gmail.com>
14664
14665 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14666 as 128-bit value.
14667 * crypt/sha512.c (sha512_process_block): Perform total addition using
14668 128-bit if possible.
14669 (__sha512_finish_ctx): Likewise.
14670 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14671 as 64-bit value.
14672 * crypt/sha256.c (SWAP64): Define.
14673 (sha256_process_block): Perform total addition using 64-bit if
14674 possible.
14675 (__sha256_finish_ctx): Likewise.
14676
99231d9a
UD
146772011-07-01 Ulrich Drepper <drepper@gmail.com>
14678
14679 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14680 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14681 * nscd/hstcache.c (cache_addhst): Likewise.
14682 * nscd/grpcache.c (cache_addgr): Likewise.
14683 * nscd/aicache.c (addhstaiX): Likewise
14684 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14685
445b4a53
TK
146862011-07-01 Thorsten Kukuk <kukuk@suse.de>
14687
14688 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14690 * nscd/hstcache.c (cache_addhst): Likewise.
14691 * nscd/grpcache.c (cache_addgr): Likewise.
14692 * nscd/aicache.c (addhstaiX): Likewise
14693
6d4d8e8e
AS
146942011-07-01 Andreas Schwab <schwab@redhat.com>
14695
14696 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14697 domain only when needed.
14698
89f654c5
AS
146992011-06-30 Andreas Schwab <schwab@redhat.com>
14700
14701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14702 is always restored.
14703
cf3b23ff
UD
147042011-06-29 Ulrich Drepper <drepper@gmail.com>
14705
14706 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14707 are re-adding the entry.
14708 * nscd/servicescache.c (cache_addserv): Likewise.
14709
751626f9
AJ
147102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14711
14712 * sysdeps/generic/dl-irel.h: fix protection against multiple
14713 inclusions.
14714 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14715
9113ea1f
UD
147162011-06-28 Ulrich Drepper <drepper@gmail.com>
14717
5c0b8d90
UD
14718 [BZ #12935]
14719 * malloc/memusage.sh: Fix quoting in message.
14720 * debug/xtrace.sh: Likewise.
14721
9113ea1f
UD
14722 * configure.in: Remove support for --experimental-malloc option, make
14723 it the default.
14724 * config.make.in: Likewise.
14725 * malloc/Makefile: Likewise.
14726
a4172181
AS
147272011-06-27 Andreas Schwab <schwab@redhat.com>
14728
14729 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14730 two-byte characters.
14731
78a7eee7
RM
147322011-06-27 Roland McGrath <roland@hack.frob.com>
14733
62bede13
RM
14734 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14735 AC_CACHE_CHECK invocation.
14736 * configure: Regenerated.
14737
78a7eee7
RM
14738 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14739
5ce33a62
UD
147402011-06-27 Ulrich Drepper <drepper@gmail.com>
14741
034807a9
UD
14742 [BZ #12350]
14743 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14744 bit from old_res_options.
14745
4902da17
UD
14746 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14747
5ce33a62
UD
14748 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14749 value type for setfct.
14750
c2344f56
L
147512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14752
14753 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14754 __gettimeofday instead of gettimeofday.
14755
68468076
UD
147562011-06-26 Ulrich Drepper <drepper@gmail.com>
14757
14758 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14759
acb0d739
L
147602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14763
14764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14765 info.
14766
8912479f
L
147672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14768
14769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14770 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14771 strcpy-sse2-unaligned strncpy-sse2-unaligned
14772 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14773 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14774 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14775 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14776 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14777 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14779 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14780 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14781 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14782 (STRCPY): Support SSE2 and SSSE3 versions.
14783
d5495a11
UD
147842011-06-24 Ulrich Drepper <drepper@gmail.com>
14785
14786 [BZ #12874]
14787 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14788 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14789 kernels which artificially limit size of requests.
14790
0b1cbaae
L
147912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14792
14793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14794 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14795 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14796 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14797 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14798 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14799 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14800 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14801 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14802 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14803 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14804 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14805 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14806 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14807 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14809 Enable unaligned load optimization for Intel Core i3, i5 and i7
14810 processors.
14811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14812 Define.
14813 (index_Fast_Unaligned_Load): Define.
14814 (HAS_FAST_UNALIGNED_LOAD): Define.
14815
07f494a0
MP
148162011-06-23 Marek Polacek <mpolacek@redhat.com>
14817
14818 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14819
fa3fc0fe
UD
148202011-06-22 Ulrich Drepper <drepper@gmail.com>
14821
14822 [BZ #12907]
14823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14824 until it is clear that the information is realy needed.
14825 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14826
e12df166
AS
148272011-06-22 Andreas Schwab <schwab@redhat.com>
14828
14829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14830
852eb34d
UD
148312011-06-22 Ulrich Drepper <drepper@gmail.com>
14832
84e2a551
UD
14833 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14834 /sys/devices/system/cpu/online if it is usable.
14835
852eb34d
UD
14836 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14837 reading the information from the /proc filesystem to once a second.
14838
6e502e19
UD
148392011-06-21 Andreas Jaeger <aj@suse.de>
14840
14841 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14842 NULL after inclusion of kernel headers.
14843
75d39ff2
UD
148442011-06-21 Ulrich Drepper <drepper@gmail.com>
14845
51f9aa6a
UD
14846 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14847 calls to internal_setent.
14848
c0244a9d
UD
14849 [BZ #12885]
14850 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14851 addresses using gethostbyname4_r ignore IPv4 addresses.
14852
c5e3c2ae
UD
14853 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14854 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14855
75d39ff2
UD
14856 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14857
42675c6f
DM
148582011-06-20 David S. Miller <davem@davemloft.net>
14859
14860 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14861 inclusions.
14862 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14863
14864 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14865 (elf_irel): Use it.
14866 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14867 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14868 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14869 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14870 * sysdeps/x86_64/dl-irel.h: Likewise.
14871
14872 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14873 * elf/dl-sym.c: Likewise.
14874
57912a71
UD
148752011-06-15 Ulrich Drepper <drepper@gmail.com>
14876
14877 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14878 need to dereference resplen2.
14879
ee22793d
AS
148802011-06-14 Andreas Schwab <schwab@redhat.com>
14881
14882 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14883
a9e836b0
UD
148842011-06-15 Ulrich Drepper <drepper@gmail.com>
14885
77fb9117
UD
14886 * Makeconfig: Define vardbdir and inst_vardbdir.
14887 * nss/Makefile: Add rules to install db-Makefile.
14888
40c1b22c
UD
14889 * nss/nss_db/db-XXX.c: Cleanup.
14890
9f2da732
UD
14891 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14892 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14893 GLIBC_PRIVATE.
14894 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14895 * nss/makedb.c: Implement -g option to specify that value strings
14896 are generated and should not be added to table iterated over for
14897 get*ent calls.
14898 * nss/nss_db/db-initgroups.c: New file.
14899
82e9a1f7
UD
14900 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14901 interface.
14902
c41af17e
UD
14903 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14904 (internal_getgrouplist): Adjust to name change.
14905 Update use_initgroups_entry if this is not the first call.
14906 * nss/databases.def: Add initgroups entry.
14907
a9e836b0
UD
14908 * nss/makedb.c (compute_tables): Check result of multiple hash table
14909 sizes to minimize maximum chain length.
14910
2666d441
UD
149112011-06-14 Ulrich Drepper <drepper@gmail.com>
14912
14913 * Versions.def: Add entry for libnss_db.
14914 * shlib-versions: Likewise.
14915 * nss/Makefile: Add rules to build libnss_db.
14916 * nss/Versions: Add libnss_db information. Organize libnss_files
14917 entries better.
14918 * nss/db-Makefile: Add gshadow support. Change rules for the new
14919 makedb progra. Some minor improvements to generate smaller files.
14920 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14921 here from...
14922 * nss/makedb.c: ...here.
14923 Improve database format to be smaller and require less memory at
14924 runtime.
14925 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14926 db anymore.
14927 * nss/nss_db/db-netgrp.c: Likewise.
14928 * nss/nss_db/db-open.c: Likewise.
14929 * nss/nss_files/flies-XXX.x: Adjust comments.
14930 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14931 * nss/nss_files/files-grp.c: Likewise.
14932 * nss/nss_files/files-hosts.c: Likewise.
14933 * nss/nss_files/files-network.c: Likewise.
14934 * nss/nss_files/files-proto.c: Likewise.
14935 * nss/nss_files/files-pwd.c: Likewise.
14936 * nss/nss_files/files-rpc.c: Likewise.
14937 * nss/nss_files/files-service.c: Likewise.
14938 * nss/nss_files/files-sgrp.c: Likewise.
14939 * nss/nss_files/files-spwd.c: Likewise.
14940 * nss/nss_db/db-alias.c: Removed.
14941 * nss/nss_db/dummy-db.h: Removed.
14942
9ee76b5a
UD
149432011-06-02 Ulrich Drepper <drepper@gmail.com>
14944
14945 * nss/makedb.c: Rewritten to not use database library.
14946 * nss/Makefile: Update to build new makedb program.
14947
c71ca1f8
AJ
149482011-06-14 Andreas Jaeger <aj@suse.de>
14949
14950 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14951 memset declaration.
14952
3154bfb8
UD
149532011-06-10 Andreas Schwab <schwab@redhat.com>
14954
14955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14956 tmpbuf.
14957
b350afab
RM
149582011-06-10 Roland McGrath <roland@hack.frob.com>
14959
decd4e50
RM
14960 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14961 * elf/Makefile ($(objpfx)ld.so): Likewise.
14962
5615eaf2
RM
14963 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14964 Don't list ld.so twice in dependencies.
14965
14966 * posix/bug-regex31.c: Include <stdlib.h>.
14967
14968 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14969
14970 * nis/nss_compat/compat-spwd.c
14971 (getspent_next_nss_netgr): Remove unused variable.
14972 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14973
14974 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14975 nonmembers" output to use the right array.
14976
14977 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14978
14979 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14980
14981 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14982 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14983 * catgets/gencat.c (read_input_file): Likewise.
14984 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14985
14986 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14987 variable definition inside #if's controlling its use.
14988
14989 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14990
14991 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14992
14993 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14994
14995 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14996 unreachable code.
14997
14998 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14999
b68e08db
RM
15000 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
15001 * configure: Regenerated.
15002
b350afab
RM
15003 * Makerules: Revert last change.
15004 * elf/Makefile: Likewise.
15005
28368601
RM
150062011-06-09 Roland McGrath <roland@hack.frob.com>
15007
15008 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
15009 * elf/Makefile ($(objpfx)librtld.os): Likewise.
15010 (reloc-link): Likewise.
15011
11988f8f
UD
150122011-06-09 Ulrich Drepper <drepper@gmail.com>
15013
15014 * elf/Makefile: Add rules to build pldd.
15015 * elf/pldd.c: New file.
15016 * elf/pldd-xx.c: New file.
15017
e80fab37
UD
150182011-06-07 Ulrich Drepper <drepper@gmail.com>
15019
15020 * version.h: Update for 2.15 development version.
15021
9b849836
DM
150222011-06-07 David S. Miller <davem@davemloft.net>
15023
15024 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
15025 ifuncs.
15026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
15027 elf_machine_lazy_rel): Likewise.
15028 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
15030 elf_machine_lazy_rel): Likewise.
15031 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
15032 dl_hwcap via passed in argument.
15033 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
15034 Likewise.
15035
5a31b283
AK
150362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15037
15038 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
15039
069e52f8
RM
150402011-06-06 Roland McGrath <roland@hack.frob.com>
15041
15042 [BZ #12849]
15043 * manual/fdl-1.1.texi: New file, verbatim from:
15044 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
15045 * manual/lgpl-2.1.texi: New file, verbatim from:
15046 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
15047 * manual/Makefile (licenses): New variable, list those new file names.
15048 (texis): Use it.
15049 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
15050
15051 * manual/fdl.texi: File removed.
15052 * manual/lesser.texi: File removed.
15053 * manual/libc.texinfo (Copying, Documentation License):
15054 Use new @include file names, put @appendix directive before @include.
15055
f16846a5
JJ
150562011-06-04 Jakub Jelinek <jakub@redhat.com>
15057
15058 [BZ #12841]
15059 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
15060 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
15061 (mq_open): Add __NTH.
15062
3d29045b
L
150632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
15064
15065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15066 Assume Intel Core i3/i5/i7 processor if AVX is available.
15067
8c297311
UD
150682011-05-31 Ulrich Drepper <drepper@gmail.com>
15069
15070 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
15071 typo.
15072
c8fc0c91
UD
150732011-05-31 Andreas Schwab <schwab@redhat.com>
15074
15075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
15076 memory. Use alloca_account. Fix memory leak when retrying.
15077
5b27a807
UD
150782011-05-31 Ulrich Drepper <drepper@gmail.com>
15079
356f8bc6
UD
15080 * version.h (RELEASE): Bump for 2.14 release.
15081 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15082
5b27a807
UD
15083 * config.make.in (RANLIB): Remove entry.
15084
01f16ab0
UD
150852011-05-30 Ulrich Drepper <drepper@gmail.com>
15086
41fce8bd
UD
15087 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15088 (libc.pot): Work around missing support for .ksh extension in xgettext.
15089
4769ae77
UD
15090 [BZ #12684]
15091 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15092 if both request failed.
15093 (send_dg): In case of server errors clear resplen or *resplen2.
15094
6b1e7d19
UD
15095 [BZ #12454]
15096 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15097 when there are multiple maps.
15098 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15099 (_dl_fini): Remove test here.
15100
01f16ab0
UD
15101 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15102
b1ebd700
UD
151032011-05-29 Ulrich Drepper <drepper@gmail.com>
15104
7ae22829
UD
15105 [BZ #12350]
15106 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15107 bit from old_res_options.
15108 (gaih_inet): Likewise.
15109
553149f6 15110 [BZ #11099]
18a84741 15111 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15112 as signed.
15113
652ffab1
UD
15114 * resolv/res_init.c (res_setoptions): Make the code more compact.
15115
16985fd0
UD
15116 [BZ #11558]
15117 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15118 set RES_USEVC.
15119
0464f746
UD
15120 [BZ #11634]
15121 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15122
7d17596c
UD
15123 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15124
cf6bbbd7
UD
15125 [BZ #11781]
15126 * malloc/malloc.h: Declare malloc hook variables as volatile.
15127
13f1ab36
UD
15128 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15129 in last patch.
15130
b1ebd700
UD
15131 [BZ #11799]
15132 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15133 raise in the comment.
80e2212d
UD
15134 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15135 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15136 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15137
ce67228d
UD
151382011-05-28 Ulrich Drepper <drepper@gmail.com>
15139
8887a920
UD
15140 [BZ #12811]
15141 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15142 grow the buffers more if it already has to be sufficient.
15143 (build_wcs_upper_buffer): Likewise.
15144 * posix/regexec.c (check_matching): Likewise.
15145 (clean_state_log_if_needed): Likewise.
15146 (extend_buffers): Don't enlarge buffers beyond size of the input
15147 buffer.
15148 Patches mostly by Emil Wojak <emil@wojak.eu>.
15149 * posix/bug-regex32.c: New file.
15150 * posix/Makefile (tests): Add bug-regex32.
15151
4f031072
UD
15152 * locale/findlocale.c (_nl_find_locale): Return right away if
15153 _nl_explode_name failed.
15154 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15155
d0478f0c
UD
15156 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15157
de81b246
UD
15158 * debug/xtrace.sh: Unify messages.
15159 * malloc/memusage.sh: Likewise.
15160
c738465a
UD
15161 [BZ #12813]
15162 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15163 time symbol from vDSO. Substitute with vsyscall if not available.
15164 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15165 __vdso_time.
15166
f1f929d7
UD
15167 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15168 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15169 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15170 Add sendmmsg and internal_sendmmsg.
15171 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15172 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15173 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15174
ce67228d
UD
15175 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15176 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15177 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15178
e57420c6
UD
151792011-05-27 Ulrich Drepper <drepper@gmail.com>
15180
a8509ca5
UD
15181 [BZ #12813]
15182 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15183 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15184 available.
15185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15186 __vdso_getcpu.
15187
e57420c6
UD
15188 [BZ #12814]
15189 * iconvdata/Makefile (tests): Add bug-iconv9.
15190 * iconvdata/bug-iconv9.c: New file.
15191
4d07db15
AS
151922011-05-27 Andreas Schwab <schwab@redhat.com>
15193
15194 [BZ #12814]
15195 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15196
ea486f69
JJ
151972011-05-25 Jakub Jelinek <jakub@redhat.com>
15198
15199 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15200 (struct user_regs_struct): Change intcs field back to cs.
15201
6f038433
UD
152022011-05-25 Ulrich Drepper <drepper@gmail.com>
15203
15204 * po/ja.po: Update from translation team.
15205
67f86a25
UD
152062011-05-23 Ulrich Drepper <drepper@gmail.com>
15207
15208 [BZ #12795]
15209 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15210 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15211
def7fbd6
AS
152122011-05-20 Andreas Schwab <schwab@redhat.com>
15213
15214 * stdlib/longlong.h: Update from GCC.
15215
f50ef8f1
AS
152162011-05-23 Andreas Schwab <schwab@redhat.com>
15217
15218 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15219 parameter name.
15220 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15221 Add parameter name.
15222 (__sysconf): Pass it down.
15223
de7ce8f1
UD
152242011-05-22 Ulrich Drepper <drepper@gmail.com>
15225
f2962a71
UD
15226 [BZ #12671]
15227 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15228 some situations.
15229 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15230 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15231 add in in __libc_use_alloca calls. Adjust callers.
15232 (glob): Use malloc in some situations.
15233
de7ce8f1
UD
15234 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15235 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15236 pltexit.
15237
aec84f53
UD
152382011-05-21 Ulrich Drepper <drepper@gmail.com>
15239
05bb4a68
UD
15240 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15241 and CLOCK_BOOTTIME_ALARM.
15242
7ea72f99
UD
15243 [BZ #12782]
15244 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15245 is returned.
15246
7e4afad5
UD
15247 * string/_strerror.c (__strerror_r): Print negative errors as signed
15248 numbers.
15249
8e211fec
UD
15250 [BZ #12777]
15251 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15252 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15253 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15254
f7d82dc9
UD
15255 * configure.in: Fix typo in redirection and correct removal of test
15256 files in two cases.
15257
cc9e536d
UD
15258 [BZ #12788]
15259 * locale/setlocale.c (new_composite_name): Fix test to check for
15260 identical name of all categories.
15261
aec84f53
UD
15262 [BZ #12792]
15263 * libio/filedoalloc.c (local_isatty): New function.
15264 (_IO_file_doallocate): Use local_isatty.
15265 * stdio-common/perror.c (perror): In case a new stream is used
15266 forward the stream error.
15267 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15268 error flag.
15269
78e64fdc
RT
152702011-05-20 Ulrich Drepper <drepper@gmail.com>
15271
34a9094f
UD
15272 [BZ #11869]
15273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15274 alloca.
15275 * include/alloca.h (extend_alloca_account): Define.
15276
78e64fdc
RT
15277 [BZ #11857]
15278 * posix/regex.h: Fix comments with documentation of user-accessible
15279 fields after compilation and describe correct free'ing of pattern
15280 after re_compile_pattern.
15281 Patch by Reuben Thomas <rrt@sc3d.org>.
15282
457bddfc
RA
152832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15284
15285 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15286 and -mno-altivec to prevent the compiler from using Altivec and/or
15287 VSX instructions when the corresponding registers are not available.
15288
a4527b51
AS
152892011-05-19 Andreas Schwab <schwab@redhat.com>
15290
15291 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15292
ed690b2f
UD
152932011-05-19 Ulrich Drepper <drepper@gmail.com>
15294
15295 * libio/freopen.c (freopen): Use __dup2, not dup2.
15296 * libio/freopen64.c (freopen64): Likewise.
15297
8db73634
L
152982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15299
15300 [BZ #12775]
15301 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15302 * math/Makefile (tests): Add test-powl.
15303 (CFLAGS-test-powl.c): Define.
15304 * math/test-powl.c: New file.
15305
0a197a9d
L
153062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15307
15308 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15309
ee30c380
UD
153102011-05-17 Ulrich Drepper <drepper@gmail.com>
15311
15312 [BZ #11837]
15313 * iconvdata/gb18030.c: Update to GB18020-2005.
15314
6ce75379
UD
153152011-05-16 Ulrich Drepper <drepper@gmail.com>
15316
a4b89fd8
AR
15317 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15318 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15319 Patch by Aharon Robbins <arnold@skeeve.com>.
15320
ea389b12
UD
15321 [BZ #11892]
15322 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15323 on the stack.
15324
68a3f91f
UD
15325 [BZ #11895]
15326 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15327 through underflows.
15328
15cc7dd1
UD
15329 [BZ #12766]
15330 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15331 point to strings before performing equality test for error_one_per_line
15332 mode.
15333
f3799213
UD
15334 [BZ #11697]
15335 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15336
d79a9c94
UD
15337 [BZ #11820]
15338 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15339 (struct user_fpregs_struct): Avoid __uint*_t types.
15340
56e5eb46
UD
15341 [BZ #6420]
15342 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15343 symbol info. Use it instead of calling _dl_addr locally.
15344 (lock_and_info): New function.
15345 (tr_freehook): Call lock_and_info and pass symbol info as additional
15346 parameter to tr_where.
15347 (tr_mallochook): Likewise.
15348 (tr_reallochook): Likewise.
15349 (tr_memalignhook): Likewise.
15350
6ce75379
UD
15351 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15352 used and couldn't be at all thread-safe.
15353
f8a3b5bf
UD
153542011-05-15 Ulrich Drepper <drepper@gmail.com>
15355
94b7cc37
UD
15356 * libio/freopen.c (freopen): Don't close old file descriptor
15357 before the new one is opened. Instead dup the new file descriptor
15358 to the old one after the new stream is created.
15359 * libio/freopen64.c (freopen64): Likewise.
15360 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15361 * libio/fileops.c (_IO_new_file_close_it): Handle new
15362 _IO_FLAGS2_NOCLOSE flag.
15363 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15364 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15365 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15366 _IO_FLAGS2_NOCLOSE flag.
15367 * include/unistd.h: Add hidden_proto for dup3.
15368 Define __have_dup3.
15369 * io/dup3.c: Define hidden symbol.
15370 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15371
bd25564e
UD
15372 [BZ #7101]
15373 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15374 when an incomplete long option is used.
15375 * posix/tst-getopt_long1.c: New file.
15376 * posix/Makefile (tests): Add tst-getopt_long1.
15377
c84cfef4
UD
15378 [BZ #10138]
15379 * scripts/config.guess: Update from autoconf-2.68.
15380 * scripts/config.sub: Likewise.
15381
3b85df27
UD
15382 [BZ #10157]
15383 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15384 tests into ...
15385 (has_cpuclock): ...this. New function.
15386 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15387 macro here based on has_cpuclock code.
15388
15a856b1
UD
15389 [BZ #10149]
15390 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15391 First byte (not low byte) is now always NUL.
15392 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15393
05f399e6
UD
15394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15395 Use non-cancelable interfaces.
15396
10a52685 15397 [BZ #9809]
94ecc67d
UD
15398 * locale/iso-639.def: Add entry for Sorani.
15399
f8a3b5bf
UD
15400 [BZ #11901]
15401 * include/stdlib.h: Move include protection to the right place.
15402 Define abort_msg_s. Declare __abort_msg with it.
15403 * stdlib/abort.c (__abort_msg): Adjust type.
15404 * assert/assert.c (__assert_fail_base): New function. Majority
15405 of code from __assert_fail. Allocate memory for __abort_msg with
15406 mmap.
15407 (__assert_fail): Now call __assert_fail_base.
15408 * assert/assert-perr.c: Remove bulk of implementation. Use
15409 __assert_fail_base.
15410 * include/assert.hL Declare __assert_fail_base.
15411 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15412 mmap.
15413 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15414
1af4e298
UD
154152011-05-14 Ulrich Drepper <drepper@gmail.com>
15416
f8a3b5bf 15417 [BZ #11952]
d26dfc60
MG
15418 [BZ #12453]
15419 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15420 until all modules are registered in the DTV.
15421 * elf/Makefile: Add rules to build and run tst-tls19.
15422 * elf/tst-tls19.c: New file.
15423 * elf/tst-tls19mod1.c: New file.
15424 * elf/tst-tls19mod2.c: New file.
15425 * elf/tst-tls19mod3.c: New file.
15426 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15427
2fc54d6f
UD
15428 [BZ #12083]
15429 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15430 correctly.
15431
98d76b46
UD
15432 [BZ #12601]
15433 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15434 two-byte sequence errors.
15435 * iconvdata/Makefile (tests): Add bug-iconv8.
15436 * iconvdata/bug-iconv8.c: New file.
15437
da3c19ef
UD
15438 [BZ #12626]
15439 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15440 buf2 definition.
15441
ca408c15
UD
15442 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15443
d6f67f7d
UD
15444 [BZ #12432]
15445 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15446 (dummy_getcfa): New function.
15447 (init): Get _Unwind_GetCFA address, use dummy if not found.
15448 (backtrace_helper): In recursion check, also check whether CFA changes.
15449 (__backtrace): Completely initialize arg.
15450
1af4e298 15451 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15452 storing incomplete byte sequence in state object. Avoid testing for
15453 guaranteed too small input if we know there is enough data available.
1af4e298 15454
da62f81b
AS
154552011-05-11 Andreas Schwab <schwab@redhat.com>
15456
15457 * Makeconfig (+link-pie): Indent.
15458 * Rules (binaries-pie): Define if $(have-fpie) and
15459 $(build-shared).
15460 (binaries-shared): Also filter out $(binaries-pie).
15461 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15462 * nscd/Makefile (others-pie): Add nscd.
15463 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15464 ($(objpfx)nscd): Remove command override.
15465 * login/Makefile (others-pie): Add pt_chown.
15466 ($(objpfx)pt_chown): Remove command override.
15467 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15468 remove command overrides.
15469
fcabc0f8
UD
154702011-05-13 Ulrich Drepper <drepper@gmail.com>
15471
20030ae6
UD
15472 * libio/tst_putwc.c: Fix error messages.
15473
fcabc0f8
UD
15474 [BZ #12724]
15475 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15476 currently writing and seek to current position when not.
15477 * libio/Makefile (tests): Add bug-fclose1.
15478 * libio/bug-fclose1.c: New file.
15479
320a5dc0
PB
154802011-05-12 Ulrich Drepper <drepper@gmail.com>
15481
15482 [BZ #12511]
15483 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15484 don't set DF_1_NODELETE here.
15485 (do_lookup_x): When entering new entry test for copy relocation
15486 and if necessary set DF_1_NODELETE flag.
15487 * elf/tst-unique4.cc: New file.
15488 * elf/tst-unique4.h: New file.
15489 * elf/tst-unique4lib.cc: New file.
15490 * elf/Makefile: Add rules to build and run tst-unique4.
15491 Patch by Piotr Bury <pbury@goahead.com>.
15492
22836f52
UD
154932011-05-11 Ulrich Drepper <drepper@gmail.com>
15494
f574184a
UD
15495 [BZ #12052]
15496 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15497
e1fb097f
UD
15498 [BZ #12625]
15499 * misc/mntent_r.c (addmntent): Flush the stream after the output
15500
22836f52
UD
15501 [BZ #12393]
15502 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15503 (is_trusted_path_normalize): Skip initial colon. Append slash
15504 to empty buffer. Duplicate is_trusted_path code but allow
15505 constructed patch to be prefix.
15506 (is_dst): Allow $ORIGIN followed by /.
15507 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15508 Correct testing of result of is_trusted_path_normalize
15509 (decompose_rpath): Fix warning.
15510
7b3b0b2a
UD
155112011-05-10 Ulrich Drepper <drepper@gmail.com>
15512
15513 [BZ #11257]
15514 * grp/initgroups.c (internal_getgrouplist): When we found the service
15515 list through the initgroups entry in nsswitch.conf do not always
15516 continue on a successful lookup. Don't always use the
eac80ce2 15517 __nss_group_database value if it is set.
7b3b0b2a
UD
15518 * nss/nsswitch.conf (initgroups): Change action for successful db
15519 lookup to continue for compatibility.
15520
2a81eaa5
UD
155212011-05-09 Ulrich Drepper <drepper@gmail.com>
15522
be97a69e
UD
15523 [BZ #11532]
15524 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15525 and CP774 modules.
15526 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15527 and CP774 modules.
15528 * iconvdata/tst-tables.sh: Likewise.
15529 * iconvdata/cp770.c: New file.
15530 * iconvdata/cp771.c: New file.
15531 * iconvdata/cp772.c: New file.
15532 * iconvdata/cp773.c: New file.
15533 * iconvdata/cp774.c: New file.
15534 * iconvdata/testdata/CP770: New file.
15535 * iconvdata/testdata/CP770..UTF8: New file.
15536 * iconvdata/testdata/CP771: New file.
15537 * iconvdata/testdata/CP771..UTF8: New file.
15538 * iconvdata/testdata/CP772: New file.
15539 * iconvdata/testdata/CP772..UTF8: New file.
15540 * iconvdata/testdata/CP773: New file.
15541 * iconvdata/testdata/CP773..UTF8: New file.
15542 * iconvdata/testdata/CP774: New file.
15543 * iconvdata/testdata/CP774..UTF8: New file.
15544
15545 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15546 END CHARMAP line.
15547 * iconvdata/gen-8bit-gap.sh: Likewise.
15548 * iconvdata/gen-8bit.sh: Likewise.
15549
c1e9e399
UD
15550 * locale/iso-639.def: Add ary entry.
15551
24c55fb3 15552 [BZ #11258]
96b4b1b0
UD
15553 * locale/C-translit.h.in: Add U20A1 transliteration.
15554
bdc2f971
KB
15555 [BZ #12178]
15556 * locale/iso-639.def: Add wae entry.
15557 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15558
2952b117
UD
15559 [BZ #12545]
15560 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15561 for n.
15562
2a81eaa5
UD
15563 [BZ #12711]
15564 * locale/C-translit.h.in: Add entry for U20B9.
15565 Patch by pravin.d.s@gmail.com.
15566
28377d1b
UD
155672011-05-08 Ulrich Drepper <drepper@gmail.com>
15568
7fb90fb8
UD
15569 [BZ #12713]
15570 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15571 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15572 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15573 in rtld. Use *stat64.
7fb90fb8 15574 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15575 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15576 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15577 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15578 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15579 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15580 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15581 __fstatat64 macros.
7fb90fb8
UD
15582 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15583 * dirent/rewinddir.c: Add libc_hidden_def.
15584 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15585 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15586
28377d1b
UD
15587 * include/dirent.h (__alloc_dir): Add flags parameter.
15588 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15589 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15590 __alloc_dir.
15591 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15592 from fdopendir if O_CLOEXEC is already set.
15593
66bdbaa4
AM
155942011-03-15 Alan Modra <amodra@gmail.com>
15595
15596 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15597 l_tls_firstbyte_offset non-zero. Save padding offset in
15598 l_tls_firstbyte_offset for later use.
15599 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15600 freeing static tls block.
15601
95721191
JN
156022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15603
15604 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15605 where #ifdef was intended. The intent is to prevent ARG_MAX from
15606 being defined by the kernel headers.
15607
f87dfb1f
UD
156082011-05-07 Ulrich Drepper <drepper@gmail.com>
15609
15610 [BZ #12734]
15611 * resolv/resolv.h: Define RES_NOTLDQUERY.
15612 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15613 no-tld-query and set RES_NOTLDQUERY.
15614 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15615 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15616 modern BIND to search name as TLD unless forbidden.
15617
47c3cd7a
UD
156182011-05-07 Petr Baudis <pasky@suse.cz>
15619 Ulrich Drepper <drepper@gmail.com>
15620
15621 [BZ #12393]
15622 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15623 (is_trusted_path): ...to here.
c1e9ea35 15624 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15625 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15626 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15627
8a35c912
PP
156282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15629
15630 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15631 __BEGIN/__END_DECLS.
15632
acd41f47
UD
156332011-05-06 Ulrich Drepper <drepper@gmail.com>
15634
15635 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15636 NSS_STATUS_NOTFOUND if no record was found.
15637
597df647
AS
156382011-05-05 Andreas Schwab <schwab@redhat.com>
15639
15640 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15641 (headers-not-in-tirpc): Remove rpc/netdb.h
15642 * resolv/netdb.h: Revert last change.
15643
b9af1301
PP
156442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15645
15646 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15647 circular dependency between libgcc.a and libc.a.
15648
4e34d5f5
AS
156492011-05-05 Andreas Schwab <schwab@redhat.com>
15650
15651 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15652 * nis/Makefile: Don't install rpcsvc/*.
15653 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15654 instead of <rpc/types.h>.
15655 (MAXHOSTNAMELEN): Define.
15656
00ee369c
AS
156572011-05-03 Andreas Schwab <schwab@redhat.com>
15658
15659 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15660
0b592a30
MB
156612011-04-28 Maciej Babinski <mbabinski@google.com>
15662
15663 [BZ #12714]
15664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15665 gethostbyname4_r when IPv6 results are possible.
15666
6e04cbbe
UD
156672011-05-02 Ulrich Drepper <drepper@gmail.com>
15668
15669 [BZ #12723]
15670 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15671 _PC_PIPE_BUF handling.
15672
e4ecafe0
BH
156732011-04-30 Bruno Haible <bruno@clisp.org>
15674
15675 [BZ #12717]
15676 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15677 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15678 to 'int'.
15679 * inet/getnameinfo.c (getnameinfo): Likewise.
15680
125ee683
UD
156812011-04-29 Ulrich Drepper <drepper@gmail.com>
15682
15683 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15684 to groups setting in database lookup.
15685 * nss/nsswitch.conf: Add initgroups entry.
15686
b722481a
EB
156872011-04-22 Ulrich Drepper <drepper@gmail.com>
15688
15689 [BZ #12685]
15690 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15691 mode string.
15692 Patch by Eric Blake <eblake@redhat.com>.
15693
4df46dbd
L
156942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15695
15696 * sunrpc/Makefile (need-export-routines): Add svc_run.
15697 (routines): Remove svc_run.
15698 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15699 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15700 * sunrpc/svc_run.c (svc_run): Likewise.
15701 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15702
e84142d2
UD
157032011-04-21 Ulrich Drepper <drepper@gmail.com>
15704
15705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15706 problem in reallocation in last patch.
15707
877175d8
UD
157082011-04-20 Ulrich Drepper <drepper@gmail.com>
15709
15710 * sunrpc/Makefile: Move inclusion of Rules.
15711
ab8eed78
UD
157122011-04-19 Ulrich Drepper <drepper@gmail.com>
15713
15714 * nss/nss_files/files-initgroups.c: New file.
15715 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15716 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15717 _nss_files_initgroups_dyn.
15718
e3d8f584
RS
157192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15720
15721 * elf/elf.h (R_ARM_IRELATIVE): Define.
15722
af190f45
UD
157232011-04-19 Ulrich Drepper <drepper@gmail.com>
15724
15725 * po/ru.po: Update from translation team.
15726
53cf59ef
UD
157272011-04-17 Ulrich Drepper <drepper@gmail.com>
15728
15729 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15730 dependencies.
15731
4c559bcd
MF
157322011-02-06 Mike Frysinger <vapier@gentoo.org>
15733
15734 [BZ #12653]
15735 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15736 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15737 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15738 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15739 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15740
4420675c
AS
157412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15742
15743 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15744 differing bytes.
15745 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15748
75ea32ab
UD
157492011-04-17 Ulrich Drepper <drepper@gmail.com>
15750
15751 [BZ #12420]
15752 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15753 storing it.
15754 * stdlib/bug-getcontext.c: New file.
15755 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15756
27390476
AK
157572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15758
15759 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15760 instructions into .machine "z9-109".
15761 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15762 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15763
10442705
AK
157642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15765
15766 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15767 between environment variables and auxiliary vector.
15768
7b57bfe5
UD
157692011-04-16 Ulrich Drepper <drepper@gmail.com>
15770
15771 * Makefile: Add rules to build linkobj/libc.so.
15772 * include/libc-symbols.h: Define libc_hidden_nolink.
15773 * include/rpc/auth.h: Mark functions which are to be hidden.
15774 * include/rpc/auth_des.h: Likewise.
15775 * include/rpc/auth_unix.h: Likewise.
15776 * include/rpc/clnt.h: Likewise.
15777 * include/rpc/des_crypt.h: Likewise.
15778 * include/rpc/key_prot.h: Likewise.
15779 * include/rpc/pmap_clnt.h: Likewise.
15780 * include/rpc/pmap_prot.h: Likewise.
15781 * include/rpc/pmap_rmt.h: Likewise.
15782 * include/rpc/rpc_msg.h: Likewise.
15783 * include/rpc/svc.h: Likewise.
15784 * include/rpc/svc_auth.h: Likewise.
15785 * include/rpc/xdr.h: Likewise.
15786 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15787 * nss/Makefile: Likewise.
15788 * sunrpc/Makefile: Don't install headers. Build library with normal
15789 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15790 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15791 for the compat linking library. Remove use of INTDEF/INTUSE.
15792 * sunrpc/auth_none.c: Likewise.
15793 * sunrpc/auth_unix.c: Likewise.
15794 * sunrpc/authdes_prot.c: Likewise.
15795 * sunrpc/authuxprot.c: Likewise.
15796 * sunrpc/clnt_gen.c: Likewise.
15797 * sunrpc/clnt_perr.c: Likewise.
15798 * sunrpc/clnt_raw.c: Likewise.
15799 * sunrpc/clnt_simp.c: Likewise.
15800 * sunrpc/clnt_tcp.c: Likewise.
15801 * sunrpc/clnt_udp.c: Likewise.
15802 * sunrpc/clnt_unix.c: Likewise.
15803 * sunrpc/des_crypt.c: Likewise.
15804 * sunrpc/des_soft.c: Likewise.
15805 * sunrpc/get_myaddr.c: Likewise.
15806 * sunrpc/key_call.c: Likewise.
15807 * sunrpc/key_prot.c: Likewise.
15808 * sunrpc/netname.c: Likewise.
15809 * sunrpc/pm_getmaps.c: Likewise.
15810 * sunrpc/pm_getport.c: Likewise.
15811 * sunrpc/pmap_clnt.c: Likewise.
15812 * sunrpc/pmap_prot.c: Likewise.
15813 * sunrpc/pmap_prot2.c: Likewise.
15814 * sunrpc/pmap_rmt.c: Likewise.
15815 * sunrpc/publickey.c: Likewise.
15816 * sunrpc/rpc_cmsg.c: Likewise.
15817 * sunrpc/rpc_common.c: Likewise.
15818 * sunrpc/rpc_dtable.c: Likewise.
15819 * sunrpc/rpc_prot.c: Likewise.
15820 * sunrpc/rpc_thread.c: Likewise.
15821 * sunrpc/rtime.c: Likewise.
15822 * sunrpc/svc.c: Likewise.
15823 * sunrpc/svc_auth.c: Likewise.
15824 * sunrpc/svc_authux.c: Likewise.
15825 * sunrpc/svc_raw.c: Likewise.
15826 * sunrpc/svc_run.c: Likewise.
15827 * sunrpc/svc_simple.c: Likewise.
15828 * sunrpc/svc_tcp.c: Likewise.
15829 * sunrpc/svc_udp.c: Likewise.
15830 * sunrpc/svc_unix.c: Likewise.
15831 * sunrpc/svcauth_des.c: Likewise.
15832 * sunrpc/xcrypt.c: Likewise.
15833 * sunrpc/xdr.c: Likewise.
15834 * sunrpc/xdr_array.c: Likewise.
15835 * sunrpc/xdr_float.c: Likewise.
15836 * sunrpc/xdr_intXX_t.c: Likewise.
15837 * sunrpc/xdr_mem.c: Likewise.
15838 * sunrpc/xdr_rec.c: Likewise.
15839 * sunrpc/xdr_ref.c: Likewise.
15840 * sunrpc/xdr_sizeof.c: Likewise.
15841 * sunrpc/xdr_stdio.c: Likewise.
15842
e6c61494
UD
158432011-04-10 Ulrich Drepper <drepper@gmail.com>
15844
15845 [BZ #12650]
15846 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15847 * sysdeps/ia64/dl-tls.h: Likewise.
15848 * sysdeps/powerpc/dl-tls.h: Likewise.
15849 * sysdeps/s390/dl-tls.h: Likewise.
15850 * sysdeps/sh/dl-tls.h: Likewise.
15851 * sysdeps/sparc/dl-tls.h: Likewise.
15852 * sysdeps/x86_64/dl-tls.h: Likewise.
15853 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15854
34fe483e
AS
158552011-03-14 Andreas Schwab <schwab@redhat.com>
15856
15857 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15858 rpath element also skip the following colon.
15859 (expand_dynamic_string_token): Add is_path parameter and pass
15860 down to DL_DST_REQUIRED and _dl_dst_substitute.
15861 (decompose_rpath): Call expand_dynamic_string_token with
15862 non-zero is_path. Ignore empty rpaths.
15863 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15864 with zero is_path.
15865
f12a32e6
AS
158662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15867
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15869 Make cancelable.
15870
38a7d692
UD
158712011-04-09 Ulrich Drepper <drepper@gmail.com>
15872
15873 [BZ #12655]
15874 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15875 Patch by Filipe David Manana <fdmanana@apache.org>.
15876
e451d22b
AS
158772011-04-07 Andreas Schwab <schwab@redhat.com>
15878
15879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15880 Maintain aligned stack.
15881 (CHECK_RSP): Remove unused macro.
15882
dedc7c7b
UD
158832011-04-03 Ulrich Drepper <drepper@gmail.com>
15884
15885 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15886 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15887
94521213
UD
158882011-04-02 Ulrich Drepper <drepper@gmail.com>
15889
15890 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15891
8cb700c0 15892 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15893
0354e355
L
158942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15895
15896 [BZ #12518]
15897 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15898 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15899 * sysdeps/x86_64/memmove.c: New file.
15900 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15901 (memcpy): Renamed to ...
15902 (__new_memcpy): This.
15903 (memcpy): Provide GLIBC_2_14 memcpy.
15904 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15905 (memcpy): Provide GLIBC_2_2_5 memcpy.
15906
8593482f
UD
159072011-04-01 Ulrich Drepper <drepper@gmail.com>
15908
15909 [BZ #12631]
15910 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15911
81a5726b
AS
159122011-03-30 Andreas Schwab <schwab@redhat.com>
15913
15914 * misc/syncfs.c: New file.
15915 * misc/Makefile (routines): Add syncfs.
15916 * posix/unistd.h: Declare syncfs.
15917 * sysdeps/unix/syscalls.list: Add syncfs.
15918
00e5419f
AS
159192011-04-01 Andreas Schwab <schwab@redhat.com>
15920
15921 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15922 open_by_handle_at.
15923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15926 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15927 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15928 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15930
748876bf
UD
159312011-04-01 Ulrich Drepper <drepper@gmail.com>
15932
658e451d
UD
15933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15934 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15936 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15937 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15939 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15940
748876bf
UD
15941 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15942 sync_file_range.c with -fexceptions.
15943 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15944 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15945 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15946 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15947 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15948 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15949 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15950 sync_file_range as cancellation point
15951 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15952 now a wrapper around __call_sync_file_range with cancellation handling.
15953 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15954 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15955 function name to __call_sync_file_range.
15956 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15957 Add call_sync_file_range.
748876bf 15958
6e63d5e1
AS
159592011-04-01 Andreas Schwab <schwab@redhat.com>
15960
15961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15962 bits/timex.h.
6e63d5e1 15963
46998f74
UD
159642011-04-01 Ulrich Drepper <drepper@gmail.com>
15965
4c1423ed
UD
15966 * iconv/iconv.h: Fix typo in comment.
15967 * io/fcntl.h: Likewise.
15968 * libio/stdio.h: Likewise.
15969 * posix/spawn.h: Likewise.
15970 * posix/unistd.h: Likewise.
15971 * stdlib/stdlib.h: Likewise.
15972 * time/time.h: Likewise.
15973 * wcsmbs/wchar.h: Likewise.
15974
158648c0
UD
15975 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15976 open_by_handle): Add.
15977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15978 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15979 Augment a few comments.
15980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15984 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15985 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15986 open_by_handle.
15987
46998f74
UD
15988 * io/fcntl.h (AT_EMPTY_PATH): Define.
15989
83fe108b
UD
159902011-03-30 Ulrich Drepper <drepper@gmail.com>
15991
15992 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15993 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15994 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15995 to...
15996 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15997 * Versions.def: Add GLIBC_2.14.
15998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15999 Export.
83fe108b 16000
bb242059
UD
160012011-03-22 Ulrich Drepper <drepper@gmail.com>
16002
16003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
16004 round counter.
16005 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16006
c97a1282
L
160072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
16008
16009 [BZ #12597]
16010 * string/test-strncmp.c (do_page_test): New function.
16011 (check2): Likewise.
16012 (test_main): Call check2.
16013 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
16014
2a115601
UD
160152011-03-20 Ulrich Drepper <drepper@gmail.com>
16016
16017 [BZ #12587]
16018 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
16019 Handle cache information in CPU leaf 4.
16020 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
16021
8126d904
UD
160222011-03-18 Ulrich Drepper <drepper@gmail.com>
16023
042c49c6 16024 [BZ #12583]
8126d904
UD
16025 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
16026 character representation.
16027 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
16028
ccfe366e
RA
160292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
16030
16031 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
16032 END(__isnan) to END(__isnanf) to match function entry point/label
16033 EALIGN(__isnanf,...).
16034
c6e13027
JJ
160352011-03-10 Jakub Jelinek <jakub@redhat.com>
16036
16037 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
16038
33f85a3f
UD
160392011-03-10 Ulrich Drepper <drepper@gmail.com>
16040
028478fa
UD
16041 [BZ #12510]
16042 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
16043 copy from the symbol referenced in the relocation to initialize the
16044 used variable.
16045 Patch by Piotr Bury <pbury@goahead.com>.
16046 * elf/Makefile: Add rules to build and tst-unique3.
16047 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
16048 * elf/tst-unique3.cc: New file.
16049 * elf/tst-unique3.h: New file.
16050 * elf/tst-unique3lib.cc: New file.
16051 * elf/tst-unique3lib2.cc: New file.
16052
33f85a3f
UD
16053 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
16054
03592fc7
MF
160552011-03-10 Mike Frysinger <vapier@gentoo.org>
16056
16057 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
16058 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
16059 to _start.
03592fc7 16060
6a5ee102
UD
160612011-03-06 Ulrich Drepper <drepper@gmail.com>
16062
16063 * elf/dl-load.c (_dl_map_object): If we are looking for the first
16064 to-be-loaded object along a path to loader is ld.so.
16065
7e4ba49c
HJ
160662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16067 Ulrich Drepper <drepper@gmail.com>
16068
16069 * sysdeps/x86_64/memset.S: After aligning destination, code
16070 branches to different locations depending on the value of
16071 misalignment, when multiarch is enabled. Fix this.
16072
160732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
16074
16075 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
16076 Set _x86_64_preferred_memory_instruction for AMD processsors.
16077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16078 Set bit_Prefer_SSE_for_memop for AMD processors.
16079
13a804de
UD
160802011-03-04 Ulrich Drepper <drepper@gmail.com>
16081
16082 * libio/fmemopen.c (fmemopen): Optimize a bit.
16083
9d25c392
AS
160842011-03-03 Andreas Schwab <schwab@redhat.com>
16085
16086 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16087
a5543c6a
RM
160882011-03-03 Roland McGrath <roland@redhat.com>
16089
16090 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16091
012d35f7
DM
160922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16093
7e4ba49c 16094 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16095 __bzero_ultra1 instead of __memset_ultra1.
16096
4bff6e01
AS
160972011-02-23 Andreas Schwab <schwab@redhat.com>
16098 Ulrich Drepper <drepper@gmail.com>
16099
16100 [BZ #12509]
16101 * include/link.h (struct link_map): Add l_orig_initfini.
16102 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16103 returning unsuccessfully.
16104 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16105 close of a file loaded at startup, restore the original l_initfini
16106 list.
16107 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16108 list, store the pointer.
16109 * elf/Makefile ($(objpfx)noload-mem): New rule.
16110 (noload-ENV): Define.
16111 (tests): Add $(objpfx)noload-mem.
16112 * elf/noload.c: Include <memcheck.h>.
16113 (main): Call mtrace. Close all opened handles.
16114
f2092faf
AS
161152011-02-17 Andreas Schwab <schwab@redhat.com>
16116
16117 [BZ #12454]
16118 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16119 dependencies are missing.
16120
6c8a2e88
ST
161212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16122
f2092faf 16123 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16124 Hurd needs munmap.
16125 * sysdeps/mach/hurd/ifreq.h: New file.
16126
84a42118
PB
161272011-01-27 Petr Baudis <pasky@suse.cz>
16128 Ulrich Drepper <drepper@gmail.com>
16129
071f805e 16130 [BZ 12445]#
84a42118
PB
16131 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16132 to extend_alloca().
16133 * stdio-common/bug23.c: New file.
16134 * stdio-common/Makefile (tests): Add bug23.
16135
e23fe25b
AS
161362010-09-28 Andreas Schwab <schwab@redhat.com>
16137 Ulrich Drepper <drepper@gmail.com>
16138
16139 [BZ #12489]
16140 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16141 before performing relro protection. At old place add assertion
16142 to make sure nothing changed.
16143
d3f02e10
NS
161442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16145 Glauber de Oliveira Costa <glommer@gmail.com>
16146
16147 * elf/elf.h: Add new ARM TLS relocs.
16148
d55fd7a5
RA
161492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16150
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16152 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16153 cast from r3.
16154 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16155 'tests' variable.
16156 * sysdeps/wordsize-64/tst-writev.c: New file.
16157
2206397e
RA
161582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16159
16160 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16161 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16162 insns in _dl_start to prevent a TOC reference before relocs are
16163 resolved.
16164
e9433893
UD
161652011-02-15 Ulrich Drepper <drepper@gmail.com>
16166
16167 [BZ #12469]
16168 * Makeconfig: Remove RANLIB definition.
16169 * Makerules: Don't use RANLIB.
16170 * aclocal.m4: Remove ranlib test.
16171 * configure.in: No need to check for ranlib.
16172 * elf/rtld-Rules: Don't use RANLIB.
16173
f75286c6
ST
161742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16175
8e31c82d
ST
16176 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16177 protection macro.
16178 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16179 inclusion protection macro.
16180
f75286c6
ST
16181 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16182 SIGRTMIN and SIGRTMAX and print information in that case only when
16183 SIGRTMIN is defined.
16184
c1d0e639
JJ
161852011-02-11 Jakub Jelinek <jakub@redhat.com>
16186
16187 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16188 arginfo fn returning -1.
16189
16190 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16191 and thousands string is zero terminated.
16192
edf9294e
AS
161932011-02-03 Andreas Schwab <schwab@redhat.com>
16194
16195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16196 sysdeps/unix/sysv/linux/bits/socket.h.
16197
2b7e92df
ST
161982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16199
edf9294e
AS
16200 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16201 (__CPU_COUNT): Remove old macros.
16202 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16203 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16204 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16205 (__sched_cpualloc, __sched_cpufree): Add declarations.
16206
a4c7ea7b
UD
162072011-02-05 Ulrich Drepper <drepper@gmail.com>
16208
16209 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16210 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16211 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16212 (readdhstai): Return value of addhstaiX call.
16213 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16214 (addgrbyX): Return value returned by cache_addgr.
16215 (readdgrbyname): Return value returned by addgrbyX.
16216 (readdgrbygid): Likewise.
16217 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16218 (addpwbyX): Return value returned by cache_addpw.
16219 (readdpwbyname): Return value returned by addhstbyX.
16220 (readdpwbyuid): Likewise.
16221 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16222 (addservbyX): Return value returned by cache_addserv.
16223 (readdservbyname): Return value returned by addservbyX:
16224 (readdservbyport): Likewise.
16225 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16226 (addhstbyX): Return value returned by cache_addhst.
16227 (readdhstbyname): Return value returned by addhstbyX.
16228 (readdhstbyaddr): Likewise.
16229 (readdhstbynamev6): Likewise.
16230 (readdhstbyaddrv6): Likewise.
16231 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16232 (readdinitgroups): Return value returned by addinitgroupsX.
16233 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16234 (prune_cache): Keep track of timeout value of re-added entries.
16235 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16236 * nscd/nscd.h: Adjust prototypes of readd* functions.
16237
a0bf67cc
RM
162382011-02-04 Roland McGrath <roland@redhat.com>
16239
16240 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16241 (nis_stats): Likewise.
16242 * nis/nis_modify.c (nis_modify): Likewise.
16243 * nis/nis_remove.c (nis_remove): Likewise.
16244 * nis/nis_add.c (nis_add): Likewise.
16245
16246 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16247
16248 * posix/fnmatch_loop.c: Add some consts.
16249
16250 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16251
435b95eb
L
162522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16253
16254 [BZ #12460]
16255 * config.make.in (config-cflags-novzeroupper): Define.
16256 * configure.in: Substitute libc_cv_cc_novzeroupper.
16257 * elf/Makefile (AVX-CFLAGS): Define.
16258 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16259 (CFLAGS-tst-auditmod4a.c): Likewise.
16260 (CFLAGS-tst-auditmod4b.c): Likewise.
16261 (CFLAGS-tst-auditmod6b.c): Likewise.
16262 (CFLAGS-tst-auditmod6c.c): Likewise.
16263 (CFLAGS-tst-auditmod7b.c): Likewise.
16264 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16265
8517b15e
UD
162662011-02-02 Ulrich Drepper <drepper@gmail.com>
16267
16268 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16269 function to the callback.
16270 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16271
10a656fe
AS
162722011-02-02 Andreas Schwab <schwab@redhat.com>
16273
16274 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16275 of errno.
16276
968dad0a
UD
162772011-01-19 Ulrich Drepper <drepper@gmail.com>
16278
9f94d2ea 16279 [BZ #11724]
968dad0a
UD
16280 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16281 of constructors.
16282 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16283 of destructors.
16284 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16285
16286 [BZ #11724]
16287 * elf/Makefile: Add rules to build and run new test.
16288 * elf/tst-initorder.c: New file.
16289 * elf/tst-initorder.exp: New file.
16290 * elf/tst-initordera1.c: New file.
16291 * elf/tst-initordera2.c: New file.
16292 * elf/tst-initordera3.c: New file.
16293 * elf/tst-initordera4.c: New file.
16294 * elf/tst-initorderb1.c: New file.
16295 * elf/tst-initorderb2.c: New file.
16296 * elf/tst-order-a1.c: New file.
16297 * elf/tst-order-a2.c: New file.
16298 * elf/tst-order-a3.c: New file.
16299 * elf/tst-order-a4.c: New file.
16300 * elf/tst-order-b1.c: New file.
16301 * elf/tst-order-b2.c: New file.
16302 * elf/tst-order-main.c: New file.
16303 New test case by George Gensure <werkt0@gmail.com>.
16304
86e92359
UD
163052010-10-01 Andreas Schwab <schwab@redhat.com>
16306
16307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16308 decoding ACE if AI_CANONIDN.
16309
5d5732b0
UD
163102011-01-18 Ulrich Drepper <drepper@gmail.com>
16311
16312 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16313
a77e8cbc
UD
163142011-01-17 Ulrich Drepper <drepper@gmail.com>
16315
6392473f
UD
16316 * version.h (RELEASE): Bump for 2.13 release.
16317 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16318
620a0529
UD
16319 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16320
18ba70a5
UD
16321 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16322 MADV_NOHUGEPAGE.
32465c3e
UD
16323 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16324 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16325 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16326 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16327 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16328 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16329
c0dafcf1
UD
16330 * posix/getconf.c: Update copyright year.
16331 * catgets/gencat.c: Likewise.
16332 * csu/version.c: Likewise.
16333 * debug/catchsegv.sh: Likewise.
16334 * debug/xtrace.sh: Likewise.
16335 * elf/ldconfig.c: Likewise.
16336 * elf/ldd.bash.in: Likewise.
16337 * elf/sprof.c (print_version): Likewise.
16338 * iconv/iconv_prog.c: Likewise.
16339 * iconv/iconvconfig.c: Likewise.
16340 * locale/programs/locale.c: Likewise.
16341 * locale/programs/localedef.c: Likewise.
16342 * malloc/memusage.sh: Likewise.
16343 * malloc/mtrace.pl: Likewise.
16344 * nscd/nscd.c (print_version): Likewise.
16345 * nss/getent.c: Likewise.
16346
a77e8cbc
UD
16347 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16348 PF_CAIF, and PF_ALG.
16349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16350
77e8bddf
AS
163512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16352
1f20b93a
AS
16353 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16354 (modules-names): Use them.
16355 (ifunc-test-modules, ifunc-pie-tests): Define.
16356 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16357 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16358 (test-extras): Likewise.
16359 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16360 $(compile-command.c).
16361 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16362 (all-built-dso): Define.
16363 (check-textrel.out, check-execstack.out): Depend on it.
16364
77e8bddf
AS
16365 * configure.in: Don't override --enable-multi-arch.
16366
bc425b33
UD
163672011-01-15 Ulrich Drepper <drepper@gmail.com>
16368
16369 [BZ #6812]
16370 * nscd/hstcache.c (tryagain): Define.
16371 (cache_addhst): Return tryagain not notfound for temporary errors.
16372 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16373 failed.
16374
794c3ad3
UD
163752011-01-14 Ulrich Drepper <drepper@gmail.com>
16376
70181fdd
UD
16377 [BZ #10563]
16378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16379 to make the syscall.
16380 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16381
794c3ad3
UD
16382 [BZ #12378]
16383 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16384 and fall back to matching as normal character if the string ends before
16385 the matching ']' is found. This is what POSIX requires.
16386 * posix/testfnm.c: Adjust test result.
16387 * posix/globtest.sh: Adjust test result. Add new test.
16388 * posix/tst-fnmatch.input: Likewise.
16389 * posix/tst-fnmatch2.c: Add new test.
16390
68dc9497
AS
163912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16392
16393 * elf/Makefile (check-execstack): Revert last change. Depend on
16394 check-execstack.h.
16395 (check-execstack.h): New target.
16396 (generated): Add check-execstack.h.
16397 * elf/check-execstack.c: Include "check-execstack.h".
16398 (main): Revert last change.
16399 (handle_file): Return zero if GNU_STACK is absent and
16400 DEFAULT_STACK_PERMS doesn't include PF_X.
16401
451f001b
UD
164022011-01-13 Ulrich Drepper <drepper@gmail.com>
16403
cfa28e56
UD
16404 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16405 in child fails because the descriptor is already closed.
8cf8ce17
UD
16406 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16407 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16409
1086d70d
UD
16410 [BZ #12397]
16411 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16412 syscall.
16413
451f001b
UD
16414 [BZ #10484]
16415 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16416 temporary buffer used to handle multi lookups locally.
a85b5cb4 16417 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16418
08769175
UD
164192011-01-12 Ulrich Drepper <drepper@gmail.com>
16420
16421 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16422 loader is ld.so.
16423
5e49c52e
UD
164242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16425
16426 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16427 alignment for SSE2.
16428
60522a5f
UD
164292011-01-12 Ulrich Drepper <drepper@gmail.com>
16430
16431 [BZ #12394]
16432 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16433 characters. When rounding increased number of integer digits recompute
16434 number of groups.
16435 * stdio-common/tst-grouping.c: New file.
16436 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16437
f257bbd7
UD
164382011-01-09 Ulrich Drepper <drepper@gmail.com>
16439
16440 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16441 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16442
16443 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16444 void.
16445 * bits/select.h: Likewise.
16446
fa9c15cb
UD
164472011-01-08 Ulrich Drepper <drepper@gmail.com>
16448
16449 * po/ja.po: Update from translation team.
16450
16c2895f
DM
164512011-01-04 David S. Miller <davem@sunset.davemloft.net>
16452
16453 [BZ #11155]
16454 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16455 implementation just like for lxstat, fxstatat, et al.
16456
2543fef2
JM
164572010-12-27 Jim Meyering <meyering@redhat.com>
16458
16459 [BZ #12348]
16460 * posix/regexec.c (build_trtable): Return failure indication upon
16461 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16462
98727dbe
UD
164632010-12-25 Ulrich Drepper <drepper@gmail.com>
16464
5bd6dc5c
UD
16465 [BZ #12201]
16466 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16467 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16468 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16469 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16470
97983464
UD
16471 [BZ #12207]
16472 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16473
98727dbe
UD
16474 [BZ #12204]
16475 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16476 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16477
4a531bb0
L
164782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16481 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16482 script has SORT_BY_INIT_PRIORITY.
16483 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16484 NO_CTORS_DTORS_SECTIONS is defined.
16485 * elf/soinit.c: Likewise.
16486 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16487 NO_CTORS_DTORS_SECTIONS is defined.
16488 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16489 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16490 * sysdeps/sh/init-first.c: Likewise.
16491 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16492
07eb4b71
UD
164932010-12-24 Ulrich Drepper <drepper@gmail.com>
16494
16495 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16496 always use the slow path.
16497
30950a5f
RA
164982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16499
16500 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16501 similar rule which adds the sysdep directories to the header search in
16502 order to pick up the correct platform stackinfo.h.
16503 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16504 perform test if it is, otherwise return successfully without testing.
16505 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16506 DEFAULT_STACK_PERMS define in stackinfo.h.
16507 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16508 defined in stackinfo.h.
16509 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16510 DEFAULT_STACK_PERMS defined in stackinfo.h.
16511 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16512 * sysdeps/ia64/stackinfo.h: Likewise.
16513 * sysdeps/s390/stackinfo.h: Likewise.
16514 * sysdeps/sh/stackinfo.h: Likewise.
16515 * sysdeps/sparc/stackinfo.h: Likewise.
16516 * sysdeps/x86_64/stackinfo.h: Likewise.
16517 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16518 PF_X for powerpc64. Retain PF_X for powerpc32.
16519
db753e2c
UD
165202010-12-19 Ulrich Drepper <drepper@gmail.com>
16521
14b697f7
UD
16522 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16523 accurately.
db753e2c
UD
16524 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16525 GETDENTS_64BIT_ALIGNED.
16526
28300719
UD
165272010-12-14 Ulrich Drepper <dreper@gmail.com>
16528
14b697f7 16529 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16530
4f197237
AS
165312010-12-10 Andreas Schwab <schwab@redhat.com>
16532
dbb0472f
AS
16533 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16534 _GNU_SOURCE.
16535
4f197237
AS
16536 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16537 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16538 Remove __restrict.
16539 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16540 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16541
fb88ac72
UD
165422010-12-09 Ulrich Drepper <drepper@gmail.com>
16543
16544 [BZ #11655]
16545 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16546 are initialized.
16547
42acbb92
JJ
165482010-12-09 Jakub Jelinek <jakub@redhat.com>
16549
16550 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16551
c038d98d
UD
165522010-12-03 Ulrich Drepper <drepper@gmail.com>
16553
16554 * po/it.po: Update from translation team.
16555
3a4a2499
L
165562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16557
16558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16559 unused codes.
16560
1e24cf6e
UD
165612010-11-30 Ulrich Drepper <drepper@gmail.com>
16562
16563 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16564
a7690819
AS
165652010-11-24 Andreas Schwab <schwab@redhat.com>
16566
16567 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16568 specially.
16569 (gaih_getanswer_slice): Likewise.
16570
3bf8d1b1
JJ
165712010-10-20 Jakub Jelinek <jakub@redhat.com>
16572
16573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16574
6db52fbb
PB
165752010-05-31 Petr Baudis <pasky@suse.cz>
16576
16577 [BZ #11149]
16578 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16579 silently even in the chroot mode.
16580
eaca7569
UD
165812010-11-22 Ulrich Drepper <drepper@gmail.com>
16582
16583 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16584 last patch a bit. Pretty printing
16585
3056dcdb
UD
165862010-05-31 Petr Baudis <pasky@suse.cz>
16587
16588 [BZ #10085]
16589 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16590 initialization of skip_initgroups_dyn.
16591
cf7c9078
UD
165922010-11-19 Ulrich Drepper <drepper@gmail.com>
16593
16594 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16595 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16596
a1fb5e3e
UD
165972010-11-16 Ulrich Drepper <drepper@gmail.com>
16598
16599 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16600
3540d66b
AS
166012010-11-11 Andreas Schwab <schwab@redhat.com>
16602
16603 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16604 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16605 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16606 ($(objpfx)tst-fnmatch-mem): New rule.
16607 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16608 * posix/tst-fnmatch.c (main): Call mtrace.
16609
13b69574
L
166102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16611
16612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16613 Support Intel processor model 6 and model 0x2c.
16614
da93d214
LM
166152010-11-10 Luis Machado <luisgpm@br.ibm.com>
16616
16617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16618 signed comparison.
16619
8ca52c6e
L
166202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16621
16622 [BZ #12205]
16623 * string/test-strncasecmp.c (check_result): New function.
16624 (do_one_test): Use it.
16625 (check1): New function.
16626 (test_main): Use it.
16627 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16628 Support strcasecmp and strncasecmp.
16629
69da074d
UD
166302010-11-08 Ulrich Drepper <drepper@gmail.com>
16631
16632 [BZ #12194]
16633 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16634 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16635
ff02d528
L
166362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16639 IFUNC support.
16640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16641 memset-x86-64.
16642 * sysdeps/x86_64/multiarch/bzero.S: New file.
16643 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16644 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16645 * sysdeps/x86_64/multiarch/memset.S: New file.
16646 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16648 Set bit_Prefer_SSE_for_memop for Intel processors.
16649 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16650 Define.
16651 (index_Prefer_SSE_for_memop): Define.
16652 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16653
344d0b54
LM
166542010-11-04 Luis Machado <luisgpm@br.ibm.com>
16655
16656 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16657 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16658
c0dde15b
UD
166592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16660
16661 [BZ #12191]
16662 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16663 (__x86_64_raw_data_cache_size_half): Likewise.
16664 (__x86_64_raw_shared_cache_size): Likewise.
16665 (__x86_64_raw_shared_cache_size_half): Likewise.
16666
16667 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16668 (__x86_64_raw_data_cache_size_half): Likewise.
16669 (__x86_64_raw_shared_cache_size): Likewise.
16670 (__x86_64_raw_shared_cache_size_half): Likewise.
16671 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16672 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16673 and __x86_64_raw_shared_cache_size_half. Round
16674 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16675 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16676 to multiple of 256 bytes.
16677
0e516e0e
MS
166782010-11-03 Ulrich Drepper <drepper@gmail.com>
16679
16680 [BZ #12167]
16681 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16682 of inacessible symlinks. Verify result of symlink before returning it.
16683 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16684 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16685
0e012e87
ER
166862010-10-28 Erich Ritz <erichritz@gmail.com>
16687
16688 * math/math.h (isinf): Fix typo in comment.
16689
de0ff7bc
UD
166902010-11-01 Ulrich Drepper <drepper@gmail.com>
16691
16692 * po/da.po: Update from translation team.
16693
fa41c84d
UD
166942010-10-26 Ulrich Drepper <drepper@gmail.com>
16695
16696 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16697 is added to the list.
16698
f0967738
AK
166992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16700 Ulrich Drepper <drepper@gmail.com>
16701
16702 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16703 the global list here. Move code to...
16704 (_dl_add_to_namespace_list): ...here. New function.
16705 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16706 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16707 * elf/dl-load.c (lose): Don't remove the element from the list.
16708 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16709 (_dl_map_object): Likewise.
16710
167112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16712
16713 [BZ #12159]
16714 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16715 into all bytes of SSE register.
16716 Patch by Richard Li <richardpku@gmail.com>.
16717
f0967738 167182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16719
16720 [BZ #12140]
16721 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16722 perturbing.
16723
d0b9e94f
MB
167242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16725
16726 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16727 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16728 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16729 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16731 submachine.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16733
8e9f92e9
AS
167342010-10-22 Andreas Schwab <schwab@redhat.com>
16735
16736 * include/dlfcn.h (__RTLD_SECURE): Define.
16737 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16738 mode & __RTLD_SECURE instead.
16739 (open_path): Rename preloaded parameter to secure.
16740 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16741 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16742 * elf/dl-deps.c (openaux): Likewise.
16743 * elf/rtld.c (struct map_args): Remove is_preloaded.
16744 (map_doit): Don't use it.
16745 (dl_main): Likewise.
16746 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16747 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16748
bc96fbda
AS
167492010-09-09 Andreas Schwab <schwab@redhat.com>
16750
16751 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16752 (sysd-rules-targets): Remove duplicates.
16753 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16754 rtld-%.$o dependency.
16755
22cd1c9b
AS
167562010-10-18 Andreas Schwab <schwab@redhat.com>
16757
16758 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16759 _dl_map_object do it.
16760
18edac48
UD
167612010-10-19 Ulrich Drepper <drepper@gmail.com>
16762
16763 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16764 fast fma builtins, define the macros in the C99 standard.
16765 (FP_FAST_FMAF): Likewise.
16766 (FP_FAST_FMAL): Likewise.
16767 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16768
16769 * bits/mathdef.h: Update copyright year.
16770 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16771
d2050124
MM
167722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16773
16774 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16775 builtins, define the macros in the C99 standard.
16776 (FP_FAST_FMAF): Likewise.
16777 (FP_FAST_FMAL): Likewise.
16778 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16779 multiply/add.
16780 (FP_FAST_FMAF): Likewise.
16781
475facd1
JJ
167822010-10-15 Jakub Jelinek <jakub@redhat.com>
16783
16784 [BZ #3268]
16785 * math/libm-test.inc (fma_test): Some new testcases.
16786 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16787 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16788 y and infinite z. Do multiplication by C already in long double.
16789 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16791 y and infinite z. Do bitwise or of inexact bit into u.d.
16792 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16793 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16794 * sysdeps/i386/fpu/s_fma.S: Removed.
16795 * sysdeps/i386/fpu/s_fmal.S: Removed.
16796
7c08a05c
JJ
167972010-10-16 Jakub Jelinek <jakub@redhat.com>
16798
16799 [BZ #3268]
16800 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16802 computation is not scheduled after fetestexcept. Fix value
16803 of minimum denormal long double.
16804
f3f7372d
JJ
168052010-10-14 Jakub Jelinek <jakub@redhat.com>
16806
16807 [BZ #3268]
16808 * math/libm-test.inc (fma_test): Add some more tests.
16809 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16810 correctly.
16811
14d43591
AS
168122010-10-15 Andreas Schwab <schwab@redhat.com>
16813
16814 * scripts/data/localplt-s390-linux-gnu.data: New file.
16815 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16816
5e908464
JJ
168172010-10-13 Jakub Jelinek <jakub@redhat.com>
16818
16819 [BZ #3268]
16820 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16821 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16822 instead of dbl-64.
16823 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16824 inlines.
16825 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16827 if one of x and y is very large and the other is subnormal.
16828 * sysdeps/s390/fpu/s_fmaf.c: New file.
16829 * sysdeps/s390/fpu/s_fma.c: New file.
16830 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16831 * sysdeps/powerpc/fpu/s_fma.S: New file.
16832 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16833 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16834 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16835
168362010-10-12 Jakub Jelinek <jakub@redhat.com>
16837
16838 [BZ #3268]
16839 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16840 fma tests.
16841 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16842 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16843 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16844 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16845 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16846 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16847 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16848
b833d51f
UD
168492010-10-12 Ulrich Drepper <drepper@redhat.com>
16850
16851 [BZ #12078]
16852 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16853 * posix/bug-regex31.input: Add test case.
16854
1751705d
UD
168552010-10-11 Ulrich Drepper <drepper@gmail.com>
16856
e9b9cbf5
UD
16857 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16858 * posix/bug-regex31.input: New file.
16859
16860 [BZ #12078]
16861 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16862 (parse_sub_exp): Fix last change, use postorder.
16863
ef06edbe
UD
16864 * posix/bug-regex31.c: New file.
16865 * posix/Makefile: Add rules to build and run bug-regex31.
16866
a129c80d
UD
16867 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16868
16869 [BZ #12078]
16870 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16871
b76b818e
UD
16872 [BZ #12108]
16873 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16874 to have entries in sys_siglist.
16875
1751705d
UD
16876 [BZ #12093]
16877 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16878 be NULL.
16879
9ff8d36f
JJ
168802010-10-07 Jakub Jelinek <jakub@redhat.com>
16881
16882 [BZ #3268]
16883 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16884 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16885 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16886 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16887 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16888 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16889 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16890 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16891 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16892 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16893 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16894 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16895 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16896 * math/ftestexcept.c (fetestexcept): Likewise.
16897 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16898 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16899 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16900 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16901 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16902 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16903 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16904
af325969
UD
169052010-10-11 Ulrich Drepper <drepper@gmail.com>
16906
c579b202 16907 [BZ #12107]
af325969
UD
16908 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16909 newline.
16910
67a67b95
UD
169112010-10-06 Ulrich Drepper <drepper@gmail.com>
16912
16913 * string/bug-strstr1.c: New file.
16914 * string/Makefile: Add rules to build and run bug-strstr1.
16915
5fb308bc
EB
169162010-10-05 Eric Blake <eblake@redhat.com>
16917
16918 [BZ #12092]
16919 * string/str-two-way.h (two_way_long_needle): Always clear memory
16920 when skipping input due to the shift table.
16921
45db99c7
UD
169222010-10-03 Ulrich Drepper <drepper@gmail.com>
16923
3b111893
UD
16924 [BZ #12005]
16925 * malloc/mcheck.c: Handle large requests.
16926
45db99c7
UD
16927 [BZ #12077]
16928 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16929 for strncmp and strncasecmp.
16930 * string/stratcliff.c: Add tests for strcmp and strncmp.
16931 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16932
cf7a1eb8
NI
169332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16934
16935 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16936 __set_fpscr.
16937
6484ba5e
AJ
169382010-09-30 Andreas Jaeger <aj@suse.de>
16939
16940 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16941 (CGROUP_SUPER_MAGIC): Define.
16942 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16943 Handle btrfs and cgroup file systems.
16944 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16945 Likewise.
16946
91c42559
LM
169472010-09-27 Luis Machado <luisgpm@br.ibm.com>
16948
16949 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16950 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16951
87a97932
AK
169522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16953
16954 [BZ #12067]
16955 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16956 trying to locate the ELF header.
16957
c21cc9bc
AS
169582010-09-27 Andreas Schwab <schwab@redhat.com>
16959
16960 [BZ #11611]
16961 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16962 Mask out sign-bit copies when constructing f_fsid.
16963
315970f6
PB
169642010-09-24 Petr Baudis <pasky@suse.cz>
16965
16966 * debug/stack_chk_fail_local.c: Add missing licence exception.
16967 * debug/warning-nop.c: Likewise.
16968
1ac7a2c7
JM
169692010-09-15 Joseph Myers <joseph@codesourcery.com>
16970
16971 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16972 implementing getdents64 using getdents syscall, set d_type if
16973 __ASSUME_GETDENTS32_D_TYPE.
16974
56801c50
AS
169752010-09-16 Andreas Schwab <schwab@redhat.com>
16976
16977 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16978 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16979
dda51327
UD
169802010-09-21 Ulrich Drepper <drepper@redhat.com>
16981
16982 [BZ #12037]
16983 * posix/unistd.h: Undo change of feature selection for ftruncate from
16984 2010-01-11.
16985
8ffcee4a
UD
169862010-09-20 Ulrich Drepper <drepper@redhat.com>
16987
a545ecd9 16988 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16989 detection.
16990
e24f0a8b
AS
169912010-09-20 Andreas Schwab <schwab@redhat.com>
16992
16993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16994 fanotify_mark.
16995 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16996
7291c56f
AS
169972010-09-14 Andreas Schwab <schwab@redhat.com>
16998
16999 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
17000 variables after CHECK_SP call.
17001 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
17002
bc5fb037
AS
170032010-09-13 Andreas Schwab <schwab@redhat.com>
17004 Ulrich Drepper <drepper@redhat.com>
17005
17006 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
17007 re-relocationg ld.so.
17008 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
17009 _dl_init_paths call.
17010 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
17011 here anymore.
17012
e66e7419
UD
170132010-09-14 Ulrich Drepper <drepper@redhat.com>
17014
17015 * resolv/res_init.c (__res_vinit): Count the default server we added.
17016
c044aa75
CLT
170172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
17018 Ulrich Drepper <drepper@redhat.com>
17019
17020 [BZ #11968]
17021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
17022 (____longjmp_chk): Use %ebx for saving value across system call.
17023 Add unwind info.
17024
32cf4069
AS
170252010-09-06 Andreas Schwab <schwab@redhat.com>
17026
17027 * manual/Makefile: Don't mix pattern rules with normal rules.
17028
817328ee
AS
170292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
17030
17031 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
17032 operation.
17033 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17034 * libio/iofopncook.c (_IO_cookie_init): Likewise.
17035 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17036 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17037 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17038 Likewise.
17039
29fddf61
UD
170402010-09-04 Ulrich Drepper <drepper@redhat.com>
17041
17042 [BZ #11979]
17043 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
17044 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
17045
0959ffc9
UD
170462010-09-02 Ulrich Drepper <drepper@redhat.com>
17047
17048 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
17049 * sysdeps/x86_64/addmul_1.S: Likewise.
17050 * sysdeps/x86_64/lshift.S: Likewise.
17051 * sysdeps/x86_64/mul_1.S: Likewise.
17052 * sysdeps/x86_64/rshift.S: Likewise.
17053 * sysdeps/x86_64/sub_n.S: Likewise.
17054 * sysdeps/x86_64/submul_1.S: Likewise.
17055
ece29840
ST
170562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
17057
0959ffc9
UD
17058 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
17059 Define __sched_param instead of SCHED_* and sched_param when
ece29840 17060 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 17061 * bits/sched.h [__need_schedparam]
ece29840 17062 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
17063 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
17064 (__defined_schedparam): Define to 1.
ece29840
ST
17065 (__sched_param): New structure, identical to sched_param.
17066 (__need_schedparam): Undefine.
17067
e53a31fe
MF
170682010-08-31 Mike Frysinger <vapier@gentoo.org>
17069
fdc0c10d
MF
17070 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
17071 (epoll_create1): Declare.
17072
e53a31fe
MF
17073 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
17074
a726d796
AS
170752010-08-31 Andreas Schwab <schwab@redhat.com>
17076
17077 [BZ #7066]
17078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
17079 shifting retval into place.
17080
2f3e3dc7
UD
170812010-09-01 Ulrich Drepper <drepper@redhat.com>
17082
f2933da9
UD
17083 * nis/rpcsvc/nis.h: Update copyright notice.
17084 * nis/rpcsvc/nis.x: Likewise.
17085 * nis/rpcsvc/nis_callback.h: Likewise.
17086 * nis/rpcsvc/nis_callback.x: Likewise.
17087 * nis/rpcsvc/nis_object.x: Likewise.
17088 * nis/rpcsvc/nis_tags.h: Likewise.
17089 * nis/rpcsvc/yp.h: Likewise.
17090 * nis/rpcsvc/yp.x: Likewise.
17091 * nis/rpcsvc/ypupd.h: Likewise.
17092 * nis/yp_xdr.c: Likewise.
17093 * nis/ypupdate_xdr.c: Likewise.
17094
2f3e3dc7
UD
17095 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17096 mainly the body of pmap_getport. Add parameters to specify timeouts.
17097 (pmap_getport): Use __libc_rpc_getport.
17098 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17099 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17100 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17101
f3dcc2f9
AS
171022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17103
17104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17105 fanotify_mark.
17106
6d34eb5b
RM
171072010-08-27 Roland McGrath <roland@redhat.com>
17108
17109 * sysdeps/i386/i686/multiarch/Makefile
17110 (CFLAGS-varshift.c): New variable.
17111
9ea3de11
UD
171122010-08-27 Ulrich Drepper <drepper@redhat.com>
17113
c96d23fc
UD
17114 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17115 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17116
9ea3de11
UD
17117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17118
17119 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17120
623aac7f
L
171212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 * sysdeps/x86_64/strlen.S: Unroll the loop.
17124 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17125 strlen-sse2 strlen-sse2-bsf.
17126 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17127 __strlen_no_bsf if bit_Slow_BSF is set.
17128 (__strlen_sse42): Removed.
17129 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17130 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17131
8b2b7715
RM
171322010-08-25 Roland McGrath <roland@redhat.com>
17133
17134 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17135 * sysdeps/x86_64/multiarch/varshift.c: New file.
17136 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17137 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17138 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17139 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17140
e73015f2
L
171412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17144 strlen-sse2 strlen-sse2-bsf.
17145 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17146 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17147 (__strlen_sse2): Removed.
17148 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17149 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17151 bit_Slow_BSF for Atom.
17152 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17153 (index_Slow_BSF): Define.
17154 (HAS_SLOW_BSF): Define.
17155
df24a73e
UD
171562010-08-25 Ulrich Drepper <drepper@redhat.com>
17157
17158 [BZ #10851]
17159 * resolv/res_init.c (__res_vinit): When no server address at all
17160 is given default to loopback.
17161
f2ac4868
RM
171622010-08-24 Roland McGrath <roland@redhat.com>
17163
09055553
RM
17164 * configure.in: Remove config-name.h generation.
17165 * configure: Regenerated.
17166 * config-name.in: File removed.
17167 * scripts/config-uname.sh: New file.
17168 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17169 ($(objdir)config-name.h): New target.
17170
f2ac4868
RM
17171 * sunrpc/rpc_parse.h: Avoid nested comment.
17172
73f27d5e
RH
171732010-08-24 Richard Henderson <rth@redhat.com>
17174 Ulrich Drepper <drepper@redhat.com>
17175 H.J. Lu <hongjiu.lu@intel.com>
17176
17177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17179 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17180 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17181 _mm_alignr_epi8 with _mm_loadu_si128.
17182 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17183 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17184 (__m128i_shift_right): Removed.
17185 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17186 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17187 * sysdeps/x86_64/multiarch/varshift.h: New file.
17188 * sysdeps/x86_64/multiarch/varshift.S: New file.
17189
84b9230c
MF
171902010-08-21 Mike Frysinger <vapier@gentoo.org>
17191
17192 * configure.in: Move assembler checks to before sysdep dir checking.
17193
9bbd0ddc
PB
171942010-08-20 Petr Baudis <pasky@suse.cz>
17195
17196 * LICENSES: Sync the sunrpc license.
17197
9da4bb31
UD
171982010-08-19 Ulrich Drepper <drepper@redhat.com>
17199
a7ab6ec8
UD
17200 * sunrpc/auth_des.c: Update copyright notice once again.
17201 * sunrpc/auth_none.c: Likewise.
17202 * sunrpc/auth_unix.c: Likewise.
17203 * sunrpc/authdes_prot.c: Likewise.
17204 * sunrpc/authuxprot.c: Likewise.
17205 * sunrpc/bindrsvprt.c: Likewise.
17206 * sunrpc/clnt_gen.c: Likewise.
17207 * sunrpc/clnt_perr.c: Likewise.
17208 * sunrpc/clnt_raw.c: Likewise.
17209 * sunrpc/clnt_simp.c: Likewise.
17210 * sunrpc/clnt_tcp.c: Likewise.
17211 * sunrpc/clnt_udp.c: Likewise.
17212 * sunrpc/clnt_unix.c: Likewise.
17213 * sunrpc/des_crypt.c: Likewise.
17214 * sunrpc/des_soft.c: Likewise.
17215 * sunrpc/get_myaddr.c: Likewise.
17216 * sunrpc/getrpcport.c: Likewise.
17217 * sunrpc/key_call.c: Likewise.
17218 * sunrpc/key_prot.c: Likewise.
17219 * sunrpc/openchild.c: Likewise.
17220 * sunrpc/pm_getmaps.c: Likewise.
17221 * sunrpc/pm_getport.c: Likewise.
17222 * sunrpc/pmap_clnt.c: Likewise.
17223 * sunrpc/pmap_prot.c: Likewise.
17224 * sunrpc/pmap_prot2.c: Likewise.
17225 * sunrpc/pmap_rmt.c: Likewise.
17226 * sunrpc/rpc/auth.h: Likewise.
17227 * sunrpc/rpc/auth_unix.h: Likewise.
17228 * sunrpc/rpc/clnt.h: Likewise.
17229 * sunrpc/rpc/des_crypt.h: Likewise.
17230 * sunrpc/rpc/key_prot.h: Likewise.
17231 * sunrpc/rpc/netdb.h: Likewise.
17232 * sunrpc/rpc/pmap_clnt.h: Likewise.
17233 * sunrpc/rpc/pmap_prot.h: Likewise.
17234 * sunrpc/rpc/pmap_rmt.h: Likewise.
17235 * sunrpc/rpc/rpc.h: Likewise.
17236 * sunrpc/rpc/rpc_des.h: Likewise.
17237 * sunrpc/rpc/rpc_msg.h: Likewise.
17238 * sunrpc/rpc/svc.h: Likewise.
17239 * sunrpc/rpc/svc_auth.h: Likewise.
17240 * sunrpc/rpc/types.h: Likewise.
17241 * sunrpc/rpc/xdr.h: Likewise.
17242 * sunrpc/rpc_clntout.c: Likewise.
17243 * sunrpc/rpc_cmsg.c: Likewise.
17244 * sunrpc/rpc_common.c: Likewise.
17245 * sunrpc/rpc_cout.c: Likewise.
17246 * sunrpc/rpc_dtable.c: Likewise.
17247 * sunrpc/rpc_hout.c: Likewise.
17248 * sunrpc/rpc_main.c: Likewise.
17249 * sunrpc/rpc_parse.c: Likewise.
17250 * sunrpc/rpc_parse.h: Likewise.
17251 * sunrpc/rpc_prot.c: Likewise.
17252 * sunrpc/rpc_sample.c: Likewise.
17253 * sunrpc/rpc_scan.c: Likewise.
17254 * sunrpc/rpc_scan.h: Likewise.
17255 * sunrpc/rpc_svcout.c: Likewise.
17256 * sunrpc/rpc_tblout.c: Likewise.
17257 * sunrpc/rpc_util.c: Likewise.
17258 * sunrpc/rpc_util.h: Likewise.
17259 * sunrpc/rpcinfo.c: Likewise.
17260 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17261 * sunrpc/rpcsvc/key_prot.x: Likewise.
17262 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17263 * sunrpc/rpcsvc/mount.x: Likewise.
17264 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17265 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17266 * sunrpc/rpcsvc/rex.x: Likewise.
17267 * sunrpc/rpcsvc/rstat.x: Likewise.
17268 * sunrpc/rpcsvc/rusers.x: Likewise.
17269 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17270 * sunrpc/rpcsvc/spray.x: Likewise.
17271 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17272 * sunrpc/rtime.c: Likewise.
17273 * sunrpc/svc.c: Likewise.
17274 * sunrpc/svc_auth.c: Likewise.
17275 * sunrpc/svc_authux.c: Likewise.
17276 * sunrpc/svc_raw.c: Likewise.
17277 * sunrpc/svc_run.c: Likewise.
17278 * sunrpc/svc_simple.c: Likewise.
17279 * sunrpc/svc_tcp.c: Likewise.
17280 * sunrpc/svc_udp.c: Likewise.
17281 * sunrpc/svc_unix.c: Likewise.
17282 * sunrpc/svcauth_des.c: Likewise.
17283 * sunrpc/xcrypt.c: Likewise.
17284 * sunrpc/xdr.c: Likewise.
17285 * sunrpc/xdr_array.c: Likewise.
17286 * sunrpc/xdr_float.c: Likewise.
17287 * sunrpc/xdr_mem.c: Likewise.
17288 * sunrpc/xdr_rec.c: Likewise.
17289 * sunrpc/xdr_ref.c: Likewise.
17290 * sunrpc/xdr_sizeof.c: Likewise.
17291 * sunrpc/xdr_stdio.c: Likewise.
17292
9da4bb31
UD
17293 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17294 handling.
17295
bdaa77bc
AS
172962010-08-19 Andreas Schwab <schwab@redhat.com>
17297
17298 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17299
fe2f79db
LM
173002010-08-19 Luis Machado <luisgpm@br.ibm.com>
17301
17302 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17303 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17304 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17305 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17306 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17307 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17308 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17309 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17311 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17312 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17313 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17314 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17315 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17316
b9b42ee0
AB
173172010-07-26 Anton Blanchard <anton@samba.org>
17318
17319 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17320 * malloc/arena.c (heap_trim): Likewise.
17321
1c06ba31
UD
173222010-08-16 Ulrich Drepper <drepper@redhat.com>
17323
17324 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17325 here. Not...
17326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17327 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17328
f8392f40
L
173292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17330
17331 * sysdeps/i386/elf/Makefile: New file.
17332
3162f12e
AS
173332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17334
17335 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17336 from fanotify_init.
17337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17339
28c90b2c
UD
173402010-08-15 Ulrich Drepper <drepper@redhat.com>
17341
17342 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17343 of strncasecmp_l.
1feccb6c 17344 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17345
ca6bb004
UD
173462010-08-14 Ulrich Drepper <drepper@redhat.com>
17347
e9f82e0d
UD
17348 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17349 strncase_l-nonascii.
17350 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17351 Add strncase_l-ssse3.
17352 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17353 * sysdeps/x86_64/strcmp.S: Likewise.
17354 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17355 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17356 * sysdeps/x86_64/strncase.S: New file.
17357 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17358 * sysdeps/x86_64/strncase_l.S: New file.
17359 * string/Makefile (strop-tests): Add strncasecmp.
17360 * string/test-strncasecmp.c: New file.
17361
17362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17363 warning.
17364
ca6bb004
UD
17365 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17366 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17367
052fa7b3
AS
173682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17369
17370 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17371
962dba78
UD
173722010-08-12 Ulrich Drepper <drepper@redhat.com>
17373
17374 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17375 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17376 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17377
bebff237
AM
173782010-05-01 Alan Modra <amodra@gmail.com>
17379
17380 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17381 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17382 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17383 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17384 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17385 tidying. Don't tail-call __sigjmp_save for static lib.
17386 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17387 save location.
17388 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17389 (CALL_MCOUNT): Add eh info, and nop after bl.
17390 (TAIL_CALL_SYSCALL_ERROR): New macro.
17391 (PSEUDO_RET): Use it.
17392 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17393 Correct save location of integer regs and cr.
17394 (_dl_profile_resolve): Correct cr save location. Delete nops
17395 after bl when SHARED. Reduce cfi size a little by better
17396 placement of cfi directives.
17397 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17398 make a stack frame. Instead use parm save area as a temp.
17399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17400 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17402 Don't make a stack frame for parent, use parm save area.
17403 Increase child stack frame to 112 bytes. Don't save unused reg,
17404 and adjust reg usage. Set up cfi on error recovery and
17405 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17407 (__makecontext): Add dummy nop after jump to exit.
17408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17409 Use correct parm save area and cr save, reduce stack frame.
17410 Correct cfi for possible PSEUDO_RET frame setup.
17411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17412 Branch to local label emitted by PSEUDO_RET rather than
17413 __syscall_error.
17414
02637374
AS
174152010-08-12 Andreas Schwab <schwab@redhat.com>
17416
17417 [BZ #11904]
17418 * locale/programs/locale.c (print_assignment): New function.
17419 (show_locale_vars): Use it.
17420
c3e2f19b
UD
174212010-08-11 Ulrich Drepper <drepper@redhat.com>
17422
3cdaa6ad
UD
17423 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17424 field.
17425 (struct statfs64): Likewise.
17426 (_STATFS_F_FLAGS): Define.
17427 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17428 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17429 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17430 (ST_VALID): Define locally.
17431 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17432 __statvfs_getflags, use the provided value.
17433 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17434 __ASSUME_STATFS_F_FLAGS.
17435
754f7da3
UD
17436 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17437
10b3bedc
UD
17438 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17439 Add sys/fanotify.h.
17440 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17441 fanotify_mask for GLIBC_2.13.
17442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17443 fanotify_init and fanotify_mark.
17444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17445 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17446
c08fb0d7
UD
17447 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17448 Add prlimit.
17449 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17450 prlimit64 for GLIBC_2.13.
17451 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17452 prlimit64.
17453 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17454 syscall.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17456 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17457 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17460 add prlimit alias.
17461 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17462
15bac72b
UD
17463 [BZ #11903]
17464 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17465 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17466
c3e2f19b
UD
17467 * nss/Makefile: Add rules to build and run tst-nss-test1.
17468 * shlib-versions: Add entry for libnss_test1.
17469 * nss/nss_test1.c: New file.
17470 * nss/tst-nss-test1.c: New file.
17471
17472 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17473 (__nss_configure_lookup): Set appropriate entry in
17474 __nss_configure_lookup to true.
17475 * nss/nsswitch.h: Define enum with indeces of databases in
17476 databases and __nss_database_custom arrays. Declare
17477 __nss_database_custom.
17478 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17479 to avoid using nscd when custom rules are installed.
17480 * nss/getXXbyYY_r.c: Likewise.
17481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17482
17483 * nss/nss_files/files-parse.c: Whitespace fixes.
17484
f15ce4d8
UD
174852010-08-09 Ulrich Drepper <drepper@redhat.com>
17486
17487 [BZ #11883]
17488 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17489 * posix/fnmatch_loop.c: Likewise.
17490
d22e4cc9
AK
174912010-07-17 Andi Kleen <ak@linux.intel.com>
17492
17493 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17494 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17495 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17496 * Versions.def [GLIBC_2.13]: Add.
17497
805bc17d
UD
174982010-08-06 Ulrich Drepper <drepper@redhat.com>
17499
17500 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17501 Also fail if tpwd after pwuid call is NULL.
17502
5a42321d
ST
175032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17504
17505 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17506 when converting to ms.
17507
fd3ebeda
ST
175082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17509
17510 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17511 EOPNOTSUPP errors with ENOTTY.
17512 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17513 EOPNOTSUPP errors with ENOTTY.
17514
73507d3a
UD
175152010-07-31 Ulrich Drepper <drepper@redhat.com>
17516
17517 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17518 Add strcasecmp_l-ssse3.
17519 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17520 strcasecmp.
17521 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17522 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17523 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17524
fe36dd02
UD
175252010-07-30 Ulrich Drepper <drepper@redhat.com>
17526
66f6765a
UD
17527 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17528
42e08a54
UD
17529 * string/Makefile (strop-tests): Add strcasecmp.
17530 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17531 strcasecmp_l-nonascii.
17532 (gen-as-const-headers): Add locale-defines.sym.
17533 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17534 * sysdeps/x86_64/strcasecmp.S: New file.
17535 * sysdeps/x86_64/strcasecmp_l.S: New file.
17536 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17537 * sysdeps/x86_64/locale-defines.sym: New file.
17538 * string/test-strcasecmp.c: New file.
17539
fe36dd02
UD
17540 * string/test-strcasestr.c: Test both ends of the range of characters.
17541 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17542
48cbc0d6
RM
175432010-07-29 Roland McGrath <roland@redhat.com>
17544
76e6d6bc 17545 [BZ #11856]
48cbc0d6
RM
17546 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17547
880113d9
UD
175482010-07-27 Ulrich Drepper <drepper@redhat.com>
17549
17550 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17551 for ld.so.
17552
deb9cabb
AS
175532010-07-27 Andreas Schwab <schwab@redhat.com>
17554
17555 * manual/memory.texi (Malloc Tunable Parameters): Document
17556 M_PERTURB.
17557
1c7570ff
RM
175582010-07-26 Roland McGrath <roland@redhat.com>
17559
17560 [BZ #11840]
17561 * configure.in (-fgnu89-inline check): Set and substitute
17562 gnu89_inline, not libc_cv_gnu89_inline.
17563 * configure: Regenerated.
17564 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17565
24fb0f88
UD
175662010-07-26 Ulrich Drepper <drepper@redhat.com>
17567
17568 * string/test-strnlen.c: New file.
17569 * string/Makefile (strop-tests): Add strnlen.
17570 * string/tester.c (test_strnlen): Add a few more test cases.
17571 * string/tst-strlen.c: Better error reporting.
17572
17573 * sysdeps/x86_64/strnlen.S: New file.
17574
8e96b93a
UD
175752010-07-24 Ulrich Drepper <drepper@redhat.com>
17576
17577 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17578 lower-latency instructions.
17579
dbc676d4
UD
175802010-07-23 Ulrich Drepper <drepper@redhat.com>
17581
17582 * string/test-strcasestr.c: New file.
17583 * string/test-strstr.c: New file.
17584 * string/Makefile (strop-tests): Add strstr and strcasestr.
17585 * string/str-two-way.h: Don't undefine MAX.
17586 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17587
f6a31e0e
AS
175882010-07-21 Andreas Schwab <schwab@redhat.com>
17589
17590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17591 strcasestr-nonascii.
17592 (CFLAGS-strcasestr-nonascii.c): Define.
17593 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17594 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17595 Remove unused attribute.
17596
5dbc3b6c
RM
175972010-07-20 Roland McGrath <roland@redhat.com>
17598
17599 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17600 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17601 ld.so.cache was broken. With it, there is no way to disable dsocaps
17602 like LD_HWCAP_MASK can disable hwcaps.
17603
23d101d8
EPM
176042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17605
17606 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17607
cc9f2e47
UD
176082010-07-16 Ulrich Drepper <drepper@redhat.com>
17609
17610 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17611 call in strcasestr.
17612 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17613 __strcasestr_sse42_nonascii.
17614 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17615 strcasestr-nonascii.c.
17616 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17617
77c1b069
LM
176182010-06-15 Luis Machado <luisgpm@br.ibm.com>
17619
17620 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17621 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17622 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17623 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17624
440566c3
UD
176252010-07-09 Ulrich Drepper <drepper@redhat.com>
17626
17627 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17628 fcntl.
17629
5be9d05d
AS
176302010-07-06 Andreas Schwab <schwab@redhat.com>
17631
c30b7ee2 17632 [BZ #11577]
5be9d05d
AS
17633 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17634 dl_signal_cerror.
17635
8a492a67
UD
176362010-07-06 Ulrich Drepper <drepper@redhat.com>
17637
17638 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17639 _PC_PIPE_BUF using F_GETPIPE_SZ.
17640
713df3d5
RM
176412010-07-05 Roland McGrath <roland@redhat.com>
17642
17643 * manual/arith.texi (Rounding Functions): Fix rint description
17644 implicit in round description.
17645
702e8f14
UD
176462010-07-02 Ulrich Drepper <drepper@redhat.com>
17647
17648 * elf/Makefile: Fix linking for a few tests to make recent linker
17649 happy.
17650
52ed8be9
AS
176512010-06-30 Andreas Schwab <schwab@redhat.com>
17652
17653 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17654 $(common-objpfx)libc_nonshared.a.
17655
f47c9a11
LM
176562010-06-21 Luis Machado <luisgpm@br.ibm.com>
17657
17658 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17659 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17660 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17661 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17662 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17663 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17664 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17665 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17680 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17681 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17682 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17683 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17684 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17685 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17686 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17687 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17688 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17689 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17690 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17691 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17706
6fb8cbcb
L
177072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17708
17709 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17710 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17711 * string/memmove.c (memmove): Renamed to ...
17712 (MEMMOVE): ...this. Default to memmove.
17713 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17714 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17715 (END_CHK): Define.
17716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17717 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17718 mempcpy-ssse3-back memmove-ssse3-back.
17719 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17721 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17722 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17723 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17724 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17725 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17726 * sysdeps/x86_64/multiarch/memmove.c: New file.
17727 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17728 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17729 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17730 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17731 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17732 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17733 Define.
17734 (index_Fast_Copy_Backward): Define.
17735 (HAS_ARCH_FEATURE): Define.
17736 (HAS_FAST_REP_STRING): Define.
17737 (HAS_FAST_COPY_BACKWARD): Define.
17738
4e733bac 177392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17740
17741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17742 Restore proper fallback handling.
17743
63c4ed22
UD
177442010-06-19 Ulrich Drepper <drepper@redhat.com>
17745
ac2b484c
UD
17746 [BZ #11701]
17747 * posix/group_member.c (__group_member): Correct checking loop.
17748
63c4ed22
UD
17749 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17750 OOM in getpwuid_r correctly. Return error number when the caller
17751 should return, otherwise -1.
17752 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17753 call returning > 0 value.
17754 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17755
765ade4b
AS
177562010-06-07 Andreas Schwab <schwab@redhat.com>
17757
17758 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17759 libc_nonshared.a from targets in modules-names.
17760
80da2e09
KS
177612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17762
17763 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17764 requires it.
17765
158db122
LM
177662010-06-10 Luis Machado <luisgpm@br.ibm.com>
17767
17768 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17769 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17772
caa78cf8
AS
177732010-06-02 Andreas Schwab <schwab@redhat.com>
17774
17775 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17776
b2ef2c01
UD
177772010-06-14 Ulrich Drepper <drepper@redhat.com>
17778
17779 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17780 and F_GETPIPE_SZ.
17781 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17782 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17783 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17787
fbd643b6
RM
177882010-06-14 Roland McGrath <roland@redhat.com>
17789
17790 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17791
f32f2869
JJ
177922010-06-07 Jakub Jelinek <jakub@redhat.com>
17793
17794 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17795 __REDIRECT followed by __THROW.
17796 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17797 * posix/getopt.h (getopt): Likewise.
17798
2a50c078
EPM
177992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17800
17801 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17802 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17803 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17804 in AT_FLAGS.
17805 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17806 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17807
eb5ad2eb
LM
178082010-05-28 Luis Machado <luisgpm@br.ibm.com>
17809
17810 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17811
3c88fe1e
L
178122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 [BZ #11640]
17815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17816 Properly check family and model.
17817
d2f73151
TY
178182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17819
17820 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17821
ebd2e13d
LM
178222010-05-24 Luis Machado <luisgpm@br.ibm.com>
17823
17824 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17825
b32b8b45
UD
178262010-05-21 Ulrich Drepper <drepper@redhat.com>
17827
17828 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17829 symbol reference.
17830
9acbe24d
AS
178312010-05-19 Andreas Schwab <schwab@redhat.com>
17832
17833 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17834 symbol reference.
17835
f0ccf6ea
AS
178362010-05-21 Andreas Schwab <schwab@redhat.com>
17837
3d04ff3a
AS
17838 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17839 and internal_recvmmsg.
17840 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17841 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17842 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17843 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17844
f0ccf6ea
AS
17845 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17846 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17847 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17848
5b08ac57
AS
178492010-05-20 Andreas Schwab <schwab@redhat.com>
17850
17851 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17852
4828935d
LM
178532010-05-17 Luis Machado <luisgpm@br.ibm.com>
17854
17855 POWER7 optimizations.
17856 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17857 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17858
373d545e
UD
178592010-05-19 Ulrich Drepper <drepper@redhat.com>
17860
17861 * version.h: Update for 2.13 development version.
17862
21a2b1ae
AS
178632010-05-12 Andrew Stubbs <ams@codesourcery.com>
17864
17865 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17866 exceptions. Return 0.
17867
3f7dcb2b
RM
178682010-05-07 Roland McGrath <roland@redhat.com>
17869
17870 * elf/ldconfig.c (main): Add a const.
17871
5f24d53a 178722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17873
a160f8d8
UD
17874 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17875 (args_options): Add no-idn option.
17876 (ahosts_keys_int): Add idn_flags to ai_flags.
17877 (parse_option): Handle 'i' option to clear idn_flags.
17878
5f24d53a
UD
17879 * malloc/malloc.c (_int_free): Possible race in the most recently
17880 added check. Only act on the data if no current modification
17881 happened.
265bb1ce
UD
17882
17883See ChangeLog.17 for earlier changes.