]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove trailing whitespace in nptl.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
44a988af
OB
12013-06-05 Ondřej Bílka <neleai@seznam.cz>
2
3 * posix/transbug.c: Likewise.
4
9c84384c
JM
52013-06-05 Joseph Myers <joseph@codesourcery.com>
6
7 * crypt/speeds.c: Remove trailing whitespace.
8 * dlfcn/default.c: Likewise.
9 * elf/ifuncdep2.c: Likewise.
10 * elf/ifuncmain1.c: Likewise.
11 * elf/ifuncmain1vis.c: Likewise.
12 * elf/testobj.h: Likewise.
13 * elf/tst-stackguard1.c: Likewise.
14 * gmon/sys/gmon.h: Likewise.
15 * hurd/hurdmsg.c: Likewise.
16 * hurd/new-fd.c: Likewise.
17 * hurd/ports-get.c: Likewise.
18 * iconvdata/ibm1008_420.c: Likewise.
19 * inet/tst-getni1.c: Likewise.
20 * inet/tst-getni2.c: Likewise.
21 * libio/ioungetc.c: Likewise.
22 * libio/wfiledoalloc.c: Likewise.
23 * manual/libm-err-tab.pl: Likewise.
24 * math/w_dremf.c: Likewise.
25 * misc/ftruncate.c: Likewise.
26 * posix/bug-glob2.c: Likewise.
27 * posix/tst-pcre.c: Likewise.
28 * posix/wait4.c: Likewise.
29 * resolv/README: Likewise.
30 * resolv/res_debug.h: Likewise.
31 * resolv/tst-inet_ntop.c: Likewise.
32 * setjmp/bug269-setjmp.c: Likewise.
33 * soft-fp/extended.h: Likewise.
34 * soft-fp/op-1.h: Likewise.
35 * soft-fp/op-2.h: Likewise.
36 * soft-fp/op-4.h: Likewise.
37 * soft-fp/op-8.h: Likewise.
38 * soft-fp/testit.c: Likewise.
39 * stdio-common/bug16.c: Likewise.
40 * stdlib/random.c: Likewise.
41 * sunrpc/rpcsvc/rquota.x: Likewise.
42 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
43 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
67 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
69 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71 * sysdeps/ieee754/s_lib_version.c: Likewise.
72 * sysdeps/mach/hurd/check_fds.c: Likewise.
73 * sysdeps/mach/hurd/getsockname.c: Likewise.
74 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
75 * sysdeps/mach/hurd/recvfrom.c: Likewise.
76 * sysdeps/powerpc/bits/link.h: Likewise.
77 * sysdeps/powerpc/dl-procinfo.c: Likewise.
78 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
79 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
80 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
81 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
82 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
84 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
85 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
86 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
87 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
88 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
89 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
90 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
91 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
92 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
93 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
94 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
95 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
96 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
97 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
98 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
99 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
100 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
101 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
105 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
111 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
112 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
113 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
114 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
115 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
116 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
117 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
118 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
119 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
120 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
121 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
122 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
123 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
124 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
125 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
126 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
129 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
130 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
131 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
132 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
133 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
134 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
135 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
136 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
137 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
138 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
139 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
140 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
141 * sysdeps/powerpc/sysdep.h: Likewise.
142 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
143 * sysdeps/s390/s390-64/sub_n.S: Likewise.
144 * sysdeps/sh/dl-trampoline.S: Likewise.
145 * sysdeps/sh/memset.S: Likewise.
146 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
147 * sysdeps/sh/strlen.S: Likewise.
148 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
149 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
150 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
151 * sysdeps/sparc/sparc32/rem.S: Likewise.
152 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
153 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
154 * sysdeps/sparc/sparc32/strchr.S: Likewise.
155 * sysdeps/sparc/sparc32/udiv.S: Likewise.
156 * sysdeps/sparc/sparc32/urem.S: Likewise.
157 * sysdeps/sparc/sparc64/add_n.S: Likewise.
158 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
159 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
160 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
162 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
163 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
164 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
165 * sysdeps/unix/bsd/times.c: Likewise.
166 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
167 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
171 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
172 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
173 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
174 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
175 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
176 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
177 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
178 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
179 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
180 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
181 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
182 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
183 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
184 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
185 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
186 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
187 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
188 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
189 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
190 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
191 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
192 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
193 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
194 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
195 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
196 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
197 * sysdeps/x86_64/strcspn.S: Likewise.
198
869378a5
RA
1992013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
200
201 * locale/C-translit.h: Revert #include <stdint.h> because this is a
202 generated file. Regenerate properly from gen-translit.pl.
203 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
204 locale/C-translit.h.
205
840e2943
AS
2062013-06-05 Andreas Schwab <schwab@suse.de>
207
208 [BZ #15100]
209 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
210 week as 6 instead of -1.
211 * time/tst-strptime.c (day_tests): Add test case.
212
4c60cb0c
SP
2132013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
214
215 * sysdeps/generic/math_private.h
216 (libc_feholdexcept_setround_53bit): Replace with
217 libc_feholdsetround_53bit.
218 (libc_feupdateenv_53bit): Replace with
219 libc_feresetround_53bit.
220 (SET_RESTORE_ROUND_53BIT): Adjust.
221
d180203e
SP
2222013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
223
96df079a
SP
224 * string/test-strchrnul.c: Add copyright header.
225
d180203e
SP
226 * posix/tst-getaddrinfo4.c: Increase test timeout.
227
8b0ccb2d
CD
2282013-06-03 Carlos O'Donell <carlos@redhat.com>
229
230 [BZ #15536]
231 * math/libm-test.inc (MAX_EXP): Remove
232 (MIN_EXP): Define.
233 (ulp): Use MIN_EXP - MANT_DIG.
234 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
235
3b3c4d40
CD
2362013-05-31 Carlos O'Donell <carlos@redhat.com>
237
238 * po/be.po: Revert last change.
239 * po/zh_CN.po: Likewise.
240 * po/header.pot: Likewise.
241
fab7ce3f
JM
2422013-05-31 Joseph Myers <joseph@codesourcery.com>
243
244 * Makefile ($(common-objpfx)linkobj/libc.so): Define
245 link-libc-deps to empty as target-specific variable.
246 * Makerules (link-libc-args): New variable.
247 (libc-for-link): Likewise.
248 (link-libc-deps): Likewise.
249 (lib%.so): Depend on $(link-libc-deps). Link with
250 $(link-libc-args).
251 (build-module): Link with $(link-libc-args).
252 (build-module-asneeded): Likewise.
253 (build-module-helper-objlist): Filter out $(link-libc-deps) from
254 list of objects.
255 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
256 target-specific variable.
257 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
258 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
259 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
260 libc.
261 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
262 libc and ld.so.
263 ($(objpfx)libpcprofile.so): Likewise.
264 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
265 libc_nonshared.a.
266 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
267 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
268 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
269 $(link-libc-deps).
270 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
271 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
272 * login/Makefile ($(objpfx)libutil.so): Likewise.
273 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
274 * math/Makefile ($(objpfx)libm.so): Likewise.
275 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
276 $(objpfx)libnsl.so): Define libc-for-link as target-specific
277 variable instead of depending directly on libc.
278 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
279 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
280 $(link-libc-deps).
281 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
282 libc.
283 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
284 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
285 ($(objpfx)libanl.so): Likewise.
286 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
287 ld.so.
288 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
289 $(link-libc-deps).
290 * sysdeps/i386/fpu/Makefile: Remove file.
291 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
292 ($(objpfx)libm.so): Remove dependency on ld.so.
293
eca5920c
PF
2942013-05-30 Patsy Franklin <pfrankli@redhat.com>
295
296 [BZ # 15553]
297 * nis/yp_xdr.c (XDRMAXNAME): Define.
298 (XDRMAXRECORD): Define.
299 (xdr_domainname): Use XDRMAXNAME.
300 (xdr_mapname): Likewise.
301 (xdr_peername): Likewise.
302 (xdr_keydat): Use XDRMAXRECORD.
303 (xdr_valdat): Likewise.
304
3052013-05-30 Jeff Law <law@redhat.com>
96945714
JL
306
307 [BZ #14256]
308 * manual/errno.texi (ESTALE): Update to account for more than
309 just NFS file systems.
310 * sysdeps/gnu/errlist.c: Regenerated.
311
b9375348
SP
3122013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
313
314 [BZ #15465]
315 * elf/Makefile (tests): Add tst-null-argv.
316 (modules-names): Add tst-null-argv-lib.
317 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
318 (tst-null-argv-ENV): Set environment for tst-null-argv.
319 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
320 (RTLD_PROGNAME): New macro.
321 * elf/tst-null-argv.c: New test case.
322 * elf/tst-null-argv-lib.c: Library for test case.
323 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
324 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
325 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
326 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
327 * elf/dl-init.c (call_init): Likewise.
328 (_dl_init): Likewise.
329 * elf/dl-load.c (print_search_path): Likewise.
330 (_dl_map_object): Likewise.
331 * elf/dl-lookup.c (do_lookup_x): Likewise.
332 (add_dependency): Likewise.
333 (_dl_lookup_symbol_x): Likewise.
334 (_dl_debug_bindings): Likewise.
335 * elf/dl-open.c (_dl_show_scope): Likewise.
336 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
337 * elf/dl-version.c (match_symbol): Likewise.
338 (_dl_check_map_versions): Likewise.
339 * elf/rtld.c (dl_main): Likewise.
340 (print_unresolved): Use RTLD_PROGNAME.
341 (print_missing_version): Likewise.
342 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
343 (elf_machine_rela): Likewise.
344 * sysdeps/powerpc/powerpc32/dl-machine.c
345 (__process_machine_rela): Likewise.
346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
347 Likewise.
348 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
349 Likewise.
350 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
351 Likewise.
352 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
353 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
354 Likewise.
355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
356 Likewise.
357 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
358
8a9f20c8
CD
3592013-05-28 Carlos O'Donell <carlos@redhat.com>
360
361 * po/be.po: Add descriptive title.
362 * po/zh_CN.po: Likewise.
363 * po/header.pot: Likewise.
364
0e60d68e
MF
3652013-05-28 Mike Frysinger <vapier@gentoo.org>
366
367 * locale/programs/locarchive.c (create_archive): Inlucde fname in
368 error message.
369 (enlarge_archive): Likewise.
370
56b672e9
BN
3712013-05-28 Ben North <ben@redfrontdoor.org>
372
373 * manual/arith.texi (frexp): It is the magnitude of the return
374 value which lies in [0.5, 1), not the return value itself.
375
5e056687
AZ
3762013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
379
2b66ef5d
TS
3802013-05-26 Thomas Schwinge <thomas@codesourcery.com>
381
528c2405
TS
382 * stdio-common/bug26.c (main): Correct fscanf template.
383
07b4c13d
TS
384 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
385 declare _dl_skip_args.
386
ec9dd97c
TS
387 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
388 Don't declare.
389
2b66ef5d
TS
390 * manual/platform.texi: Add missing @end deftypefun.
391
4f8dfe27
JM
3922013-05-24 Joseph Myers <joseph@codesourcery.com>
393
0323d086
JM
394 [BZ #15529]
395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
396 bit of mantissa of 2^16382.
397 * math/libm-test.inc (hypot_test_data): Add more tests.
398
dd4259b9
JM
399 * math/libm-test.inc: Add drem and pow10 to list of tested
400 functions.
401 (pow10_test): New function.
402 (drem_test): Likewise.
403 (drem_test_tonearest): Likewise.
404 (drem_test_towardzero): Likewise.
405 (drem_test_downward): Likewise.
406 (drem_test_upward): Likewise.
407 (main): Call the new functions.
408
4f8dfe27
JM
409 * math/libm-test.inc (finite_test_data): Remove.
410 (finite_test): Run tests from isfinite_test_data.
411 (gamma_test_data): Remove.
412 (gamma_test): Run tests from lgamma_test_data.
413 * sysdeps/i386/fpu/libm-test-ulps: Update.
414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415
d116b7c4
AZ
4162013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
417
418 * manual/platform.texi: Add PowerPC PPR function set documentation.
419 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
420 implementation.
421
e96e3767
CD
4222013-05-24 Carlos O'Donell <carlos@redhat.com>
423
424 * math/libm-test.inc (MAX_EXP): Define.
425 (ULPDIFF): Define.
426 (ulp): New function.
427 (check_float_internal): Use ULPDIFF.
428 (cpow_test): Disable failing test.
429 (check_ulp): Test ulp() implemetnation.
430 (main): Call check_ulp before starting tests.
431
b679a606
JM
4322013-05-24 Joseph Myers <joseph@codesourcery.com>
433
e8bdba36
JM
434 * math/gen-libm-test.pl (generate_testfile): Do not handle
435 START_DATA and END_DATA.
436 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
437 END_DATA.
438 (acos_tonearest_test_data): Likewise.
439 (acos_towardzero_test_data): Likewise.
440 (acos_downward_test_data): Likewise.
441 (acos_upward_test_data): Likewise.
442 (acosh_test_data): Likewise.
443 (asin_test_data): Likewise.
444 (asin_tonearest_test_data): Likewise.
445 (asin_towardzero_test_data): Likewise.
446 (asin_downward_test_data): Likewise.
447 (asin_upward_test_data): Likewise.
448 (asinh_test_data): Likewise.
449 (atan_test_data): Likewise.
450 (atanh_test_data): Likewise.
451 (atan2_test_data): Likewise.
452 (cabs_test_data): Likewise.
453 (cacos_test_data): Likewise.
454 (cacosh_test_data): Likewise.
455 (carg_test_data): Likewise.
456 (casin_test_data): Likewise.
457 (casinh_test_data): Likewise.
458 (catan_test_data): Likewise.
459 (catanh_test_data): Likewise.
460 (cbrt_test_data): Likewise.
461 (ccos_test_data): Likewise.
462 (ccosh_test_data): Likewise.
463 (ceil_test_data): Likewise.
464 (cexp_test_data): Likewise.
465 (cimag_test_data): Likewise.
466 (clog_test_data): Likewise.
467 (clog10_test_data): Likewise.
468 (conj_test_data): Likewise.
469 (copysign_test_data): Likewise.
470 (cos_test_data): Likewise.
471 (cos_tonearest_test_data): Likewise.
472 (cos_towardzero_test_data): Likewise.
473 (cos_downward_test_data): Likewise.
474 (cos_upward_test_data): Likewise.
475 (cosh_test_data): Likewise.
476 (cosh_tonearest_test_data): Likewise.
477 (cosh_towardzero_test_data): Likewise.
478 (cosh_downward_test_data): Likewise.
479 (cosh_upward_test_data): Likewise.
480 (cpow_test_data): Likewise.
481 (cproj_test_data): Likewise.
482 (creal_test_data): Likewise.
483 (csin_test_data): Likewise.
484 (csinh_test_data): Likewise.
485 (csqrt_test_data): Likewise.
486 (ctan_test_data): Likewise.
487 (ctan_tonearest_test_data): Likewise.
488 (ctan_towardzero_test_data): Likewise.
489 (ctan_downward_test_data): Likewise.
490 (ctan_upward_test_data): Likewise.
491 (ctanh_test_data): Likewise.
492 (ctanh_tonearest_test_data): Likewise.
493 (ctanh_towardzero_test_data): Likewise.
494 (ctanh_downward_test_data): Likewise.
495 (ctanh_upward_test_data): Likewise.
496 (erf_test_data): Likewise.
497 (erfc_test_data): Likewise.
498 (exp_test_data): Likewise.
499 (exp_tonearest_test_data): Likewise.
500 (exp_towardzero_test_data): Likewise.
501 (exp_downward_test_data): Likewise.
502 (exp_upward_test_data): Likewise.
503 (exp10_test_data): Likewise.
504 (exp2_test_data): Likewise.
505 (expm1_test_data): Likewise.
506 (fabs_test_data): Likewise.
507 (fdim_test_data): Likewise.
508 (finite_test_data): Likewise.
509 (floor_test_data): Likewise.
510 (fma_test_data): Likewise.
511 (fma_towardzero_test_data): Likewise.
512 (fma_downward_test_data): Likewise.
513 (fma_upward_test_data): Likewise.
514 (fmax_test_data): Likewise.
515 (fmin_test_data): Likewise.
516 (fmod_test_data): Likewise.
517 (fpclassify_test_data): Likewise.
518 (frexp_test_data): Likewise.
519 (gamma_test_data): Likewise.
520 (hypot_test_data): Likewise.
521 (ilogb_test_data): Likewise.
522 (isfinite_test_data): Likewise.
523 (isgreater_test_data): Likewise.
524 (isgreaterequal_test_data): Likewise.
525 (isinf_test_data): Likewise.
526 (isless_test_data): Likewise.
527 (islessequal_test_data): Likewise.
528 (islessgreater_test_data): Likewise.
529 (isnan_test_data): Likewise.
530 (isnormal_test_data): Likewise.
531 (issignaling_test_data): Likewise.
532 (isunordered_test_data): Likewise.
533 (j0_test_data): Likewise.
534 (j1_test_data): Likewise.
535 (jn_test_data): Likewise.
536 (ldexp_test_data): Likewise.
537 (lgamma_test_data): Likewise.
538 (lrint_test_data): Likewise.
539 (lrint_tonearest_test_data): Likewise.
540 (lrint_towardzero_test_data): Likewise.
541 (lrint_downward_test_data): Likewise.
542 (lrint_upward_test_data): Likewise.
543 (llrint_test_data): Likewise.
544 (llrint_tonearest_test_data): Likewise.
545 (llrint_towardzero_test_data): Likewise.
546 (llrint_downward_test_data): Likewise.
547 (llrint_upward_test_data): Likewise.
548 (log_test_data): Likewise.
549 (log10_test_data): Likewise.
550 (log1p_test_data): Likewise.
551 (log2_test_data): Likewise.
552 (logb_test_data): Likewise.
553 (logb_downward_test_data): Likewise.
554 (lround_test_data): Likewise.
555 (llround_test_data): Likewise.
556 (modf_test_data): Likewise.
557 (nearbyint_test_data): Likewise.
558 (nextafter_test_data): Likewise.
559 (nexttoward_test_data): Likewise.
560 (pow_test_data): Likewise.
561 (pow_tonearest_test_data): Likewise.
562 (pow_towardzero_test_data): Likewise.
563 (pow_downward_test_data): Likewise.
564 (pow_upward_test_data): Likewise.
565 (remainder_test_data): Likewise.
566 (remainder_tonearest_test_data): Likewise.
567 (remainder_towardzero_test_data): Likewise.
568 (remainder_downward_test_data): Likewise.
569 (remainder_upward_test_data): Likewise.
570 (remquo_test_data): Likewise.
571 (rint_test_data): Likewise.
572 (rint_tonearest_test_data): Likewise.
573 (rint_towardzero_test_data): Likewise.
574 (rint_downward_test_data): Likewise.
575 (rint_upward_test_data): Likewise.
576 (round_test_data): Likewise.
577 (scalb_test_data): Likewise.
578 (scalbn_test_data): Likewise.
579 (scalbln_test_data): Likewise.
580 (signbit_test_data): Likewise.
581 (sin_test_data): Likewise.
582 (sin_tonearest_test_data): Likewise.
583 (sin_towardzero_test_data): Likewise.
584 (sin_downward_test_data): Likewise.
585 (sin_upward_test_data): Likewise.
586 (sincos_test_data): Likewise.
587 (sinh_test_data): Likewise.
588 (sinh_tonearest_test_data): Likewise.
589 (sinh_towardzero_test_data): Likewise.
590 (sinh_downward_test_data): Likewise.
591 (sinh_upward_test_data): Likewise.
592 (sqrt_test_data): Likewise.
593 (tan_test_data): Likewise.
594 (tan_tonearest_test_data): Likewise.
595 (tan_towardzero_test_data): Likewise.
596 (tan_downward_test_data): Likewise.
597 (tan_upward_test_data): Likewise.
598 (tanh_test_data): Likewise.
599 (tgamma_test_data): Likewise.
600 (trunc_test_data): Likewise.
601 (y0_test_data): Likewise.
602 (y1_test_data): Likewise.
603 (yn_test_data): Likewise.
604 (significand_test_data): Likewise.
605
b679a606
JM
606 * math/gen-libm-test.pl (@functions): Remove variable.
607 (generate_testfile): Don't handle START and END lines.
608 * math/libm-test.inc (START): New macro.
609 (END): Likewise.
610 (END_COMPLEX): Likewise.
611 (acos_test): Use END macro without arguments.
612 (acos_test_tonearest): Likewise.
613 (acos_test_towardzero): Likewise.
614 (acos_test_downward): Likewise.
615 (acos_test_upward): Likewise.
616 (acosh_test): Likewise.
617 (asin_test): Likewise.
618 (asin_test_tonearest): Likewise.
619 (asin_test_towardzero): Likewise.
620 (asin_test_downward): Likewise.
621 (asin_test_upward): Likewise.
622 (asinh_test): Likewise.
623 (atan_test): Likewise.
624 (atanh_test): Likewise.
625 (atan2_test): Likewise.
626 (cabs_test): Likewise.
627 (cacos_test): Use END_COMPLEX macro without arguments.
628 (cacosh_test): Likewise.
629 (carg_test): Use END macro without arguments.
630 (casin_test): Use END_COMPLEX macro without arguments.
631 (casinh_test): Likewise.
632 (catan_test): Likewise.
633 (catanh_test): Likewise.
634 (cbrt_test): Use END macro without arguments.
635 (ccos_test): Use END_COMPLEX macro without arguments.
636 (ccosh_test): Likewise.
637 (ceil_test): Use END macro without arguments.
638 (cexp_test): Use END_COMPLEX macro without arguments.
639 (cimag_test): Use END macro without arguments.
640 (clog_test): Use END_COMPLEX macro without arguments.
641 (clog10_test): Likewise.
642 (conj_test): Likewise.
643 (copysign_test): Use END macro without arguments.
644 (cos_test): Likewise.
645 (cos_test_tonearest): Likewise.
646 (cos_test_towardzero): Likewise.
647 (cos_test_downward): Likewise.
648 (cos_test_upward): Likewise.
649 (cosh_test): Likewise.
650 (cosh_test_tonearest): Likewise.
651 (cosh_test_towardzero): Likewise.
652 (cosh_test_downward): Likewise.
653 (cosh_test_upward): Likewise.
654 (cpow_test): Use END_COMPLEX macro without arguments.
655 (cproj_test): Likewise.
656 (creal_test): Use END macro without arguments.
657 (csin_test): Use END_COMPLEX macro without arguments.
658 (csinh_test): Likewise.
659 (csqrt_test): Likewise.
660 (ctan_test): Likewise.
661 (ctan_test_tonearest): Likewise.
662 (ctan_test_towardzero): Likewise.
663 (ctan_test_downward): Likewise.
664 (ctan_test_upward): Likewise.
665 (ctanh_test): Likewise.
666 (ctanh_test_tonearest): Likewise.
667 (ctanh_test_towardzero): Likewise.
668 (ctanh_test_downward): Likewise.
669 (ctanh_test_upward): Likewise.
670 (erf_test): Use END macro without arguments.
671 (erfc_test): Likewise.
672 (exp_test): Likewise.
673 (exp_test_tonearest): Likewise.
674 (exp_test_towardzero): Likewise.
675 (exp_test_downward): Likewise.
676 (exp_test_upward): Likewise.
677 (exp10_test): Likewise.
678 (exp2_test): Likewise.
679 (expm1_test): Likewise.
680 (fabs_test): Likewise.
681 (fdim_test): Likewise.
682 (finite_test): Likewise.
683 (floor_test): Likewise.
684 (fma_test): Likewise.
685 (fma_test_towardzero): Likewise.
686 (fma_test_downward): Likewise.
687 (fma_test_upward): Likewise.
688 (fmax_test): Likewise.
689 (fmin_test): Likewise.
690 (fmod_test): Likewise.
691 (fpclassify_test): Likewise.
692 (frexp_test): Likewise.
693 (gamma_test): Likewise.
694 (hypot_test): Likewise.
695 (ilogb_test): Likewise.
696 (isfinite_test): Likewise.
697 (isgreater_test): Likewise.
698 (isgreaterequal_test): Likewise.
699 (isinf_test): Likewise.
700 (isless_test): Likewise.
701 (islessequal_test): Likewise.
702 (islessgreater_test): Likewise.
703 (isnan_test): Likewise.
704 (isnormal_test): Likewise.
705 (issignaling_test): Likewise.
706 (isunordered_test): Likewise.
707 (j0_test): Likewise.
708 (j1_test): Likewise.
709 (jn_test): Likewise.
710 (ldexp_test): Likewise.
711 (lgamma_test): Likewise.
712 (lrint_test): Likewise.
713 (lrint_test_tonearest): Likewise.
714 (lrint_test_towardzero): Likewise.
715 (lrint_test_downward): Likewise.
716 (lrint_test_upward): Likewise.
717 (llrint_test): Likewise.
718 (llrint_test_tonearest): Likewise.
719 (llrint_test_towardzero): Likewise.
720 (llrint_test_downward): Likewise.
721 (llrint_test_upward): Likewise.
722 (log_test): Likewise.
723 (log10_test): Likewise.
724 (log1p_test): Likewise.
725 (log2_test): Likewise.
726 (logb_test): Likewise.
727 (logb_test_downward): Likewise.
728 (lround_test): Likewise.
729 (llround_test): Likewise.
730 (modf_test): Likewise.
731 (nearbyint_test): Likewise.
732 (nextafter_test): Likewise.
733 (nexttoward_test): Likewise.
734 (pow_test): Likewise.
735 (pow_test_tonearest): Likewise.
736 (pow_test_towardzero): Likewise.
737 (pow_test_downward): Likewise.
738 (pow_test_upward): Likewise.
739 (remainder_test): Likewise.
740 (remainder_test_tonearest): Likewise.
741 (remainder_test_towardzero): Likewise.
742 (remainder_test_downward): Likewise.
743 (remainder_test_upward): Likewise.
744 (remquo_test): Likewise.
745 (rint_test): Likewise.
746 (rint_test_tonearest): Likewise.
747 (rint_test_towardzero): Likewise.
748 (rint_test_downward): Likewise.
749 (rint_test_upward): Likewise.
750 (round_test): Likewise.
751 (scalb_test): Likewise.
752 (scalbn_test): Likewise.
753 (scalbln_test): Likewise.
754 (signbit_test): Likewise.
755 (sin_test): Likewise.
756 (sin_test_tonearest): Likewise.
757 (sin_test_towardzero): Likewise.
758 (sin_test_downward): Likewise.
759 (sin_test_upward): Likewise.
760 (sincos_test): Likewise.
761 (sinh_test): Likewise.
762 (sinh_test_tonearest): Likewise.
763 (sinh_test_towardzero): Likewise.
764 (sinh_test_downward): Likewise.
765 (sinh_test_upward): Likewise.
766 (sqrt_test): Likewise.
767 (tan_test): Likewise.
768 (tan_test_tonearest): Likewise.
769 (tan_test_towardzero): Likewise.
770 (tan_test_downward): Likewise.
771 (tan_test_upward): Likewise.
772 (tanh_test): Likewise.
773 (tgamma_test): Likewise.
774 (trunc_test): Likewise.
775 (y0_test): Likewise.
776 (y1_test): Likewise.
777 (yn_test): Likewise.
778 (significand_test): Likewise.
779
bae143d2
OB
7802013-05-24 Ondřej Bílka <neleai@seznam.cz>
781
782 [BZ #15381]
783 * libio/genops.c (_IO_no_init): Initialize wide struct info.
784
9323d39b
EM
7852013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
786
d4ea44a0 787 [BZ #14894]
9323d39b
EM
788 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
789 __ppc_mdoio and __ppc_mdoom.
790 * manual/platform.texi: Document new functions __ppc_yield,
791 __ppc_mdoio and __ppc_mdoom.
792
13e23af7
CD
7932013-05-22 Carlos O'Donell <carlos@redhat.com>
794
795 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
796 (main): Mention "tls" pseudo-hwcap is legacy.
797 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
798
351fe550
JM
7992013-05-22 Joseph Myers <joseph@codesourcery.com>
800
801 * math/gen-libm-test.pl (parse_args): Output only string of
802 arguments as text for test name, not full call or descriptions of
803 tests for extra outputs.
804 (generate_testfile): Do not pass function name to parse_args.
805 Generate this_func variable from START.
806 * math/libm-test.inc (struct test_f_f_data): Rename test_name
807 field to arg_str.
808 (struct test_ff_f_data): Likewise.
809 (test_ff_f_data_nexttoward): Likewise.
810 (struct test_fi_f_data): Likewise.
811 (struct test_fl_f_data): Likewise.
812 (struct test_if_f_data): Likewise.
813 (struct test_fff_f_data): Likewise.
814 (struct test_c_f_data): Likewise.
815 (struct test_f_f1_data): Likewise. Remove field extra_name.
816 (struct test_fF_f1_data): Likewise.
817 (struct test_ffI_f1_data): Likewise.
818 (struct test_c_c_data): Rename test_name field to arg_str.
819 (struct test_cc_c_data): Likewise.
820 (struct test_f_i_data): Likewise.
821 (struct test_ff_i_data): Likewise.
822 (struct test_f_l_data): Likewise.
823 (struct test_f_L_data): Likewise.
824 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
825 and extra2_name.
826 (COMMON_TEST_SETUP): New macro.
827 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
828 (COMMON_TEST_CLEANUP): Likewise.
829 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
830 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
831 macros.
832 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
833 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
834 macros.
835 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
836 (RUN_TEST_fff_f): Take argument string. Call new setup and
837 cleanup macros.
838 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
839 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
840 macros.
841 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
842 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
843 macros.
844 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
845 (RUN_TEST_fF_f1): Take argument string. Call new setup and
846 cleanup macros.
847 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
848 (RUN_TEST_fI_f1): Take argument string. Call new setup and
849 cleanup macros.
850 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
851 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
852 cleanup macros.
853 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
854 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
855 macros.
856 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
857 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
858 macros.
859 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
860 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
861 macros.
862 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
863 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
864 cleanup macros.
865 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
866 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
867 cleanup macros.
868 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
869 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
870 macros.
871 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
872 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
873 cleanup macros.
874 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
875 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
876 macros.
877 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
878 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
879 macros.
880 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
881 (RUN_TEST_fFF_11): Take argument string. Call new setup and
882 cleanup macros.
883 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
884
85118d4d
EBM
8852013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
886
887 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
888 to _sifields.sigfault.
889 (si_addr_lsb): Define new macro.
890 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
891 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
892 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
893
7a44c18f
CD
8942013-05-03 Carlos O'Donell <carlos at redhat.com>
895
896 [BZ #15441]
897 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
898 returns -1.
899 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
900 null return -1.
901 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
902 loading the domain.
903
b50a7181
JM
9042013-05-22 Joseph Myers <joseph@codesourcery.com>
905
906 * math/gen-libm-test.pl (parse_args): Do not include expected
907 result in test name.
908 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
909 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
910 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
911 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
912 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
914
051063c8
SP
9152013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
916
3ce9e010
SP
917 * benchtests/Makefile: Sort function entries.
918
051063c8
SP
919 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
920 tanh, asinh, acosh, atanh.
921 * benchtests/acos-inputs: New file.
922 * benchtests/acosh-inputs: New file.
923 * benchtests/asin-inputs: New file.
924 * benchtests/asinh-inputs: New file.
925 * benchtests/atanh-inputs: New file.
926 * benchtests/cosh-inputs: New file.
927 * benchtests/log-inputs: New file.
928 * benchtests/sinh-inputs: New file.
929 * benchtests/tanh-inputs: New file.
930
47c22455
DL
9312013-05-21 Dmitry V. Levin <ldv@altlinux.org>
932
933 [BZ #15339]
934 * posix/tst-getaddrinfo4.c: New test.
935 * posix/Makefile (tests): Add it.
936
3d04f5db
SP
9372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
938
939 [BZ #15339]
940 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
941 when no services were used.
942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
943 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
944
d5dd6189
AS
9452013-05-21 Andreas Schwab <schwab@suse.de>
946
947 [BZ #15014]
948 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
949 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
950 successful.
951 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
952 redundant variable declarations and reallocation of buffer when
953 parsing as IPv6 address. Always set NSS status when called from
954 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
955 buffer too small. Correct computation of needed size.
956 * nss/Makefile (tests): Add test-digits-dots.
957 * nss/test-digits-dots.c: New test.
958
fef94eab
SP
9592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
960
961 * benchtests/Makefile: Remove instructions for adding
962 benchmark tests.
963 * benchtests/README: New file to explain how to execute and
964 enhance the benchmark tests.
965
e39adf43
AS
9662013-05-21 Andreas Schwab <schwab@suse.de>
967
968 [BZ #15493]
969 * setjmp/Makefile (tests): Add tst-sigsetjmp.
970 * setjmp/tst-sigsetjmp.c: New test.
971
b2b671b6
OB
9722013-05-20 Ondřej Bílka <neleai@seznam.cz>
973
974 * sysdeps/x86_64/memset.S (memset): New implementation.
975 (__bzero): Likewise.
976 (__memset_tail): New function.
977
2d48b41c
OB
9782013-05-20 Ondřej Bílka <neleai@seznam.cz>
979
980 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
981 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
982 __memcpy_sse2_unaligned ifunc selection.
983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
984 Add memcpy-sse2-unaligned.S.
985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
986 Add: __memcpy_sse2_unaligned.
987
f16cc3eb
JM
9882013-05-19 Joseph Myers <joseph@codesourcery.com>
989
3e694268
JM
990 [BZ #15490]
991 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
992 math_force_eval before restoring floating-point envrionment.
993 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
995 Likewise.
996 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
997 <math_private.h>.
998 (__nearbyintl): Use math_force_eval before restoring
999 floating-point environment.
1000 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1001
db62a907
JM
1002 * math/gen-libm-test.pl (special_functions): Remove.
1003 (parse_args): Don't handle TEST_extra. Handle functions with no
1004 return value.
1005 * math/libm-test.inc (struct test_sincos_data): Replace with
1006 struct test_fFF_11_data.
1007 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1008 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1009 (sincos_test_data): Change element type to struct
1010 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1011 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1012 RUN_TEST_LOOP_sincos.
1013 * math/README.libm-test: Don't mention special handling of
1014 individual functions.
1015 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1016 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1017 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1018 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1021
f16cc3eb
JM
1022 * math/gen-libm-test.pl (get_variable): Remove function.
1023 (parse_args): Don't show pointer parameters to call in test
1024 names. Use "extra output N" in test names for extra outputs
1025 rather than naming variables.
1026
3779b5b6
JM
10272013-05-18 Joseph Myers <joseph@codesourcery.com>
1028
2ee094ff
JM
1029 [BZ #15488]
1030 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1031 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1032 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1033 double tests.
1034 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1035 disable.
1036 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1037 check_long_double.
1038
3779b5b6
JM
1039 * math/gen-libm-test.pl (@tests): Remove variable.
1040 ($count): Likewise.
1041 (new_test): Remove function.
1042 (show_exceptions): New function.
1043 (special_functions): Use show_exceptions instead of new_test.
1044 (parse_args): Likewise.
1045 (generate_testfile): Pass only function name in generated call to
1046 print_max_error or print_complex_max_error.
1047 (get_ulps): Do not handle complex tests specially.
1048 (output_test): Rename to ...
1049 (get_all_ulps_for_test): ... this. Return a string rather than
1050 printing to a file. Require ulps to be present.
1051 (output_ulps): Generate arrays rather than #defines.
1052 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1053 (struct ulp_data): New type.
1054 (BUILD_COMPLEX_ULP): Remove macro.
1055 (compare_ulp_data): New function.
1056 (find_ulps): Likewise.
1057 (find_test_ulps): Likewise.
1058 (find_function_ulps): Likewise.
1059 (find_complex_function_ulps): Likewise.
1060 (print_max_error): Determine allowed ulps using
1061 find_function_ulps.
1062 (print_complex_max_error): Determine allowed ulps using
1063 find_complex_function_ulps.
1064 (check_float_internal): Determine max ulps using find_test_ulps.
1065 (check_float): Do not take max_ulp parameter. Update call to
1066 check_float_internal.
1067 (check_complex): Likewise.
1068 (check_int): Do not take max_ulp parameter.
1069 (check_long): Likewise.
1070 (check_bool): Likewise.
1071 (check_longlong): Likewise.
1072 (struct test_f_f_data): Remove max_ulp field.
1073 (struct test_ff_f_data): Likewise.
1074 (struct test_ff_f_data_nexttoward): Likewise.
1075 (struct test_fi_f_data): Likewise.
1076 (struct test_fl_f_data): Likewise.
1077 (struct test_if_f_data): Likewise.
1078 (struct test_fff_f_data): Likewise.
1079 (struct test_c_f_data): Likewise.
1080 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1081 (struct test_fF_f1_data): Likewise.
1082 (struct test_ffI_f1_data): Likewise.
1083 (struct test_c_c_data): Remove max_ulp field.
1084 (struct test_cc_c_data): Likewise.
1085 (struct test_f_i_data): Likewise.
1086 (struct test_ff_i_data): Likewise.
1087 (struct test_f_l_data): Likewise.
1088 (struct test_f_L_data): Likewise.
1089 (struct test_sincos_data): Likewise.
1090 (RUN_TEST_f_f): Do not handle ulps.
1091 (RUN_TEST_LOOP_f_f): Likewise.
1092 (RUN_TEST_2_f): Likewise.
1093 (RUN_TEST_LOOP_2_f): Likewise.
1094 (RUN_TEST_fff_f): Likewise.
1095 (RUN_TEST_LOOP_fff_f): Likewise.
1096 (RUN_TEST_c_f): Likewise.
1097 (RUN_TEST_LOOP_c_f): Likewise.
1098 (RUN_TEST_f_f1): Likewise.
1099 (RUN_TEST_LOOP_f_f1): Likewise.
1100 (RUN_TEST_fF_f1): Likewise.
1101 (RUN_TEST_LOOP_fF_f1): Likewise.
1102 (RUN_TEST_fI_f1): Likewise.
1103 (RUN_TEST_LOOP_fI_f1): Likewise.
1104 (RUN_TEST_ffI_f1): Likewise.
1105 (RUN_TEST_LOOP_ffI_f1): Likewise.
1106 (RUN_TEST_c_c): Likewise.
1107 (RUN_TEST_LOOP_c_c): Likewise.
1108 (RUN_TEST_cc_c): Likewise.
1109 (RUN_TEST_LOOP_cc_c): Likewise.
1110 (RUN_TEST_f_i): Likewise.
1111 (RUN_TEST_LOOP_f_i): Likewise.
1112 (RUN_TEST_f_i_tg): Likewise.
1113 (RUN_TEST_LOOP_f_i_tg): Likewise.
1114 (RUN_TEST_ff_i_tg): Likewise.
1115 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1116 (RUN_TEST_f_b): Likewise.
1117 (RUN_TEST_LOOP_f_b): Likewise.
1118 (RUN_TEST_f_b_tg): Likewise.
1119 (RUN_TEST_LOOP_f_b_tg): Likewise.
1120 (RUN_TEST_f_l): Likewise.
1121 (RUN_TEST_LOOP_f_l): Likewise.
1122 (RUN_TEST_f_L): Likewise.
1123 (RUN_TEST_LOOP_f_L): Likewise.
1124 (RUN_TEST_sincos): Likewise.
1125 (RUN_TEST_LOOP_sincos): Likewise.
1126
8269107f
JM
11272013-05-17 Joseph Myers <joseph@codesourcery.com>
1128
bb38759d
JM
1129 [BZ #15480]
1130 [BZ #15485]
1131 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1132 main case of finite arguments, set rounding mode to FE_TONEAREST
1133 and discard exceptions.
1134 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1135 exceptions.
1136 (remainder_tonearest_test_data): New variable.
1137 (remainder_test_tonearest): New function.
1138 (remainder_towardzero_test_data): New variable.
1139 (remainder_test_towardzero): New function.
1140 (remainder_downward_test_data): New variable.
1141 (remainder_test_downward): New function.
1142 (remainder_upward_test_data): New variable.
1143 (remainder_test_upward): New function.
1144 (main): Call the new test functions.
1145
a00bdcf0
JM
1146 * math/libm-test.inc (struct test_f_f1_data): Remove field
1147 extra_init.
1148 (struct test_fF_f1_data): Likewise.
1149 (struct test_ffI_f1_data): Likewise.
1150 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1151 based on value of EXTRA_EXPECTED.
1152 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1153 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1154 EXTRA_VAR based on value of EXTRA_EXPECTED.
1155 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1156 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1157 EXTRA_VAR based on value of EXTRA_EXPECTED.
1158 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1159 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1160 EXTRA_VAR based on value of EXTRA_EXPECTED.
1161 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1162 * math/gen-libm-test.pl (parse_args): Don't output initializers
1163 for extra output values.
1164
de407f79
JM
1165 * math/libm-test.inc (check_int): Expect result to be exactly
1166 equal to expected value and do not handle ulps.
1167 (check_long): Likewise.
1168 (check_longlong): Likewise.
1169
8269107f
JM
1170 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1171 exceptions.
1172 (cimag_test_data): Likewise.
1173 (conj_test_data): Likewise.
1174 (copysign_test_data): Likewise.
1175 (cproj_test_data): Likewise.
1176 (creal_test_data): Likewise.
1177 (fabs_test_data): Likewise.
1178 (fdim_test_data): Likewise.
1179 (finite_test_data): Likewise.
1180 (floor_test_data): Likewise.
1181 (fmax_test_data): Likewise.
1182 (fmin_test_data): Likewise.
1183 (fmod_test_data): Likewise.
1184 (fpclassify_test_data): Likewise.
1185 (frexp_test_data): Likewise.
1186 (ilogb_test_data): Likewise.
1187 (isfinite_test_data): Likewise.
1188 (isgreater_test_data): Likewise.
1189 (isgreaterequal_test_data): Likewise.
1190 (isinf_test_data): Likewise.
1191 (isless_test_data): Likewise.
1192 (islessequal_test_data): Likewise.
1193 (islessgreater_test_data): Likewise.
1194 (isnan_test_data): Likewise.
1195 (isnormal_test_data): Likewise.
1196 (issignaling_test_data): Likewise.
1197 (isunordered_test_data): Likewise.
1198 (ldexp_test_data): Likewise.
1199 (lrint_test_data): Likewise.
1200 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1201 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1202 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1203 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1204 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1205 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1206 test input.
1207 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1208 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1209 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1210 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1211 that test input.
1212 (lrint_downward_test_data): Test for "inexact" exceptions.
1213 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1214 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1215 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1216 test input.
1217 (lrint_upward_test_data): Test for "inexact" exceptions.
1218 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1219 test input.
1220 (llrint_test_data): Test for "inexact" exceptions.
1221 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1222 (llrint_tonearest_test_data): Test for "inexact" exceptions.
1223 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1224 (llrint_towardzero_test_data): Test for "inexact" exceptions.
1225 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1226 (llrint_downward_test_data): Test for "inexact" exceptions.
1227 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1228 (llrint_upward_test_data): Test for "inexact" exceptions.
1229 (logb_test_data): Likewise.
1230 (logb_downward_test_data): Likewise.
1231 (nextafter_test_data): Likewise.
1232 (nexttoward_test_data): Likewise.
1233 (remainder_test_data): Likewise.
1234 (remquo_test_data): Likewise.
1235 (scalbn_test_data): Likewise.
1236 (scalbln_test_data): Likewise.
1237 (signbit_test_data): Likewise.
1238 (sqrt_test_data): Likewise.
1239 (significand_test_data): Likewise.
1240
48a18de1
SP
12412013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1242
1243 [BZ #15424]
1244 * benchtests/bench-modf.c (struct args): Mark arg0 as
1245 volatile.
1246 * scripts/bench.pl: Mark members of struct args as volatile.
1247
13d3b41a
AZ
12482013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249
68191c1d 1250 [BZ # 15497]
13d3b41a
AZ
1251 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
1252 negative infinity on POWER6 or lower.
1253 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
1254
2848b105
MR
12552013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1256
1257 [BZ #15442]
1258 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
1259 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
1260 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
1261 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
1262 (_FP_SETQNAN): New macro.
1263 (_FP_SETQNAN_SEMIRAW): Likewise.
1264 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
1265 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
1266 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
1267 (FP_EXTEND): Use _FP_FRAC_SNANP.
1268 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
1269 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
1270 into account.
1271 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1272 New macro.
1273 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
1274 Likewise.
1275
323e5cb7
JM
12762013-05-16 Joseph Myers <joseph@codesourcery.com>
1277
c58b274f
JM
1278 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
1279 with DIVIDE_BY_ZERO_EXCEPTION.
1280 (gamma_test_data): Likewise.
1281 (lgamma_test_data): Likewise.
1282 (log_test_data): Likewise.
1283 (log10_test_data): Likewise.
1284 (log2_test_data): Likewise.
1285 (tgamma_test_data): Likewise.
1286
0ab34904
JM
1287 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
1288 (acos_test_tonearest): Likewise.
1289 (acos_test_towardzero): Likewise.
1290 (acos_test_downward): Likewise.
1291 (acos_test_upward): Likewise.
1292 (acosh_test): Likewise.
1293 (asin_test): Likewise.
1294 (asin_test_tonearest): Likewise.
1295 (asin_test_towardzero): Likewise.
1296 (asin_test_downward): Likewise.
1297 (asin_test_upward): Likewise.
1298 (asinh_test): Likewise.
1299 (atan_test): Likewise.
1300 (atanh_test): Likewise.
1301 (atan2_test): Likewise.
1302 (cabs_test): Likewise.
1303 (cacos_test): Likewise.
1304 (cacosh_test): Likewise.
1305 (casin_test): Likewise.
1306 (casinh_test): Likewise.
1307 (catan_test): Likewise.
1308 (catanh_test): Likewise.
1309 (cbrt_test): Likewise.
1310 (ccos_test): Likewise.
1311 (ccosh_test): Likewise.
1312 (cexp_test): Likewise.
1313 (clog_test): Likewise.
1314 (clog10_test): Likewise.
1315 (cos_test): Likewise.
1316 (cos_test_tonearest): Likewise.
1317 (cos_test_towardzero): Likewise.
1318 (cos_test_downward): Likewise.
1319 (cos_test_upward): Likewise.
1320 (cosh_test): Likewise.
1321 (cosh_test_tonearest): Likewise.
1322 (cosh_test_towardzero): Likewise.
1323 (cosh_test_downward): Likewise.
1324 (cosh_test_upward): Likewise.
1325 (cpow_test): Likewise.
1326 (csin_test): Likewise.
1327 (csinh_test): Likewise.
1328 (csqrt_test): Likewise.
1329 (ctan_test): Likewise.
1330 (ctan_test_tonearest): Likewise.
1331 (ctan_test_towardzero): Likewise.
1332 (ctan_test_downward): Likewise.
1333 (ctan_test_upward): Likewise.
1334 (ctanh_test): Likewise.
1335 (ctanh_test_tonearest): Likewise.
1336 (ctanh_test_towardzero): Likewise.
1337 (ctanh_test_downward): Likewise.
1338 (ctanh_test_upward): Likewise.
1339 (erf_test): Likewise.
1340 (erfc_test): Likewise.
1341 (exp_test): Likewise.
1342 (exp_test_tonearest): Likewise.
1343 (exp_test_towardzero): Likewise.
1344 (exp_test_downward): Likewise.
1345 (exp_test_upward): Likewise.
1346 (exp10_test): Likewise.
1347 (exp2_test): Likewise.
1348 (expm1_test): Likewise.
1349 (fmod_test): Likewise.
1350 (gamma_test): Likewise.
1351 (hypot_test): Likewise.
1352 (j0_test): Likewise.
1353 (j1_test): Likewise.
1354 (jn_test): Likewise.
1355 (lgamma_test): Likewise.
1356 (log_test): Likewise.
1357 (log10_test): Likewise.
1358 (log1p_test): Likewise.
1359 (log2_test): Likewise.
1360 (logb_test_downward): Likewise.
1361 (pow_test): Likewise.
1362 (pow_test_tonearest): Likewise.
1363 (pow_test_towardzero): Likewise.
1364 (pow_test_downward): Likewise.
1365 (pow_test_upward): Likewise.
1366 (remainder_test): Likewise.
1367 (remquo_test): Likewise.
1368 (sin_test): Likewise.
1369 (sin_test_tonearest): Likewise.
1370 (sin_test_towardzero): Likewise.
1371 (sin_test_downward): Likewise.
1372 (sin_test_upward): Likewise.
1373 (sincos_test): Likewise.
1374 (sinh_test): Likewise.
1375 (sinh_test_tonearest): Likewise.
1376 (sinh_test_towardzero): Likewise.
1377 (sinh_test_downward): Likewise.
1378 (sinh_test_upward): Likewise.
1379 (sqrt_test): Likewise.
1380 (tan_test): Likewise.
1381 (tan_test_tonearest): Likewise.
1382 (tan_test_towardzero): Likewise.
1383 (tan_test_downward): Likewise.
1384 (tan_test_upward): Likewise.
1385 (tanh_test): Likewise.
1386 (tgamma_test): Likewise.
1387 (y0_test): Likewise.
1388 (y1_test): Likewise.
1389 (yn_test): Likewise.
1390
323e5cb7
JM
1391 * math/gen-libm-test.pl (adjust_arg): Remove function.
1392 (special_function): Remove argument $in_func. Only handle
1393 generating output for tables of tests, not inside functions.
1394 (parse_args): Likewise.
1395 (generate_testfile): Remove variable $in_func. Update call to
1396 parse_args.
1397 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
1398 (MINUS_ZERO_INIT): Rename macro to minus_zero.
1399 (PLUS_INFTY_INIT): Rename macro to plus_infty.
1400 (MINUS_INFTY_INIT): Rename macro to minus_infty.
1401 (QNAN_VALUE_INIT): Rename macro to qnan_value.
1402 (MAX_VALUE_INIT): Rename macro to max_value.
1403 (MIN_VALUE_INIT): Rename macro to min_value.
1404 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
1405 (plus_zero): Remove variable.
1406 (minus_zero): Likewise.
1407 (plus_infty): Likewise.
1408 (minus_infty): Likewise.
1409 (qnan_value): Likewise.
1410 (max_value): Likewise.
1411 (min_value): Likewise.
1412 (min_subnorm_value): Likewise.
1413
e054f494
RA
14142013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1415
1416 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
1417 uint64_t or uint32_t usage.
1418 * crypt/sha256-block.c: Likewise.
1419 * crypt/sha256-crypt.c: Likewise.
1420 * crypt/sha256.c: Likewise.
1421 * crypt/sha512-block.c: Likewise.
1422 * crypt/sha512-crypt.c: Likewise.
1423 * crypt/sha512.c: Likewise.
1424 * debug/backtrace-tst.c: Likewise.
1425 * debug/pcprofiledump.c: Likewise.
1426 * elf/cache.c: Likewise.
1427 * elf/dl-cache.c: Likewise.
1428 * elf/dl-misc.c: Likewise.
1429 * elf/dl-profile.c: Likewise.
1430 * elf/dl-support.c: Likewise.
1431 * elf/ldconfig.c: Likewise.
1432 * elf/sprof.c: Likewise.
1433 * iconv/dummy-repertoire.c: Likewise.
1434 * iconv/iconv_charmap.c: Likewise.
1435 * iconv/skeleton.c: Likewise.
1436 * iconvdata/8bit-generic.c: Likewise.
1437 * iconvdata/cp737.h: Likewise.
1438 * iconvdata/cp775.h: Likewise.
1439 * iconvdata/ibm1008.h: Likewise.
1440 * iconvdata/ibm1025.h: Likewise.
1441 * iconvdata/ibm1046.h: Likewise.
1442 * iconvdata/ibm1097.h: Likewise.
1443 * iconvdata/ibm1112.h: Likewise.
1444 * iconvdata/ibm1122.h: Likewise.
1445 * iconvdata/ibm1123.h: Likewise.
1446 * iconvdata/ibm1124.h: Likewise.
1447 * iconvdata/ibm1129.h: Likewise.
1448 * iconvdata/ibm1130.h: Likewise.
1449 * iconvdata/ibm1132.h: Likewise.
1450 * iconvdata/ibm1133.h: Likewise.
1451 * iconvdata/ibm1137.h: Likewise.
1452 * iconvdata/ibm1140.h: Likewise.
1453 * iconvdata/ibm1141.h: Likewise.
1454 * iconvdata/ibm1142.h: Likewise.
1455 * iconvdata/ibm1143.h: Likewise.
1456 * iconvdata/ibm1144.h: Likewise.
1457 * iconvdata/ibm1145.h: Likewise.
1458 * iconvdata/ibm1146.h: Likewise.
1459 * iconvdata/ibm1147.h: Likewise.
1460 * iconvdata/ibm1148.h: Likewise.
1461 * iconvdata/ibm1149.h: Likewise.
1462 * iconvdata/ibm1153.h: Likewise.
1463 * iconvdata/ibm1154.h: Likewise.
1464 * iconvdata/ibm1155.h: Likewise.
1465 * iconvdata/ibm1156.h: Likewise.
1466 * iconvdata/ibm1157.h: Likewise.
1467 * iconvdata/ibm1158.h: Likewise.
1468 * iconvdata/ibm1160.h: Likewise.
1469 * iconvdata/ibm1161.h: Likewise.
1470 * iconvdata/ibm1162.h: Likewise.
1471 * iconvdata/ibm1163.h: Likewise.
1472 * iconvdata/ibm1164.h: Likewise.
1473 * iconvdata/ibm1166.h: Likewise.
1474 * iconvdata/ibm1167.h: Likewise.
1475 * iconvdata/ibm12712.h: Likewise.
1476 * iconvdata/ibm1390.h: Likewise.
1477 * iconvdata/ibm1399.h: Likewise.
1478 * iconvdata/ibm16804.h: Likewise.
1479 * iconvdata/ibm4517.h: Likewise.
1480 * iconvdata/ibm4899.h: Likewise.
1481 * iconvdata/ibm4909.h: Likewise.
1482 * iconvdata/ibm4971.h: Likewise.
1483 * iconvdata/ibm5347.h: Likewise.
1484 * iconvdata/ibm803.h: Likewise.
1485 * iconvdata/ibm856.h: Likewise.
1486 * iconvdata/ibm901.h: Likewise.
1487 * iconvdata/ibm902.h: Likewise.
1488 * iconvdata/ibm9030.h: Likewise.
1489 * iconvdata/ibm9066.h: Likewise.
1490 * iconvdata/ibm921.h: Likewise.
1491 * iconvdata/ibm922.h: Likewise.
1492 * iconvdata/ibm9448.h: Likewise.
1493 * iconvdata/isiri-3342.h: Likewise.
1494 * iconvdata/jis0201.h: Likewise.
1495 * include/link.h: Likewise.
1496 * include/netdb.h: Likewise.
1497 * inet/check_native.c: Likewise.
1498 * inet/check_pf.c: Likewise.
1499 * inet/getipv4sourcefilter.c: Likewise.
1500 * inet/getnameinfo.c: Likewise.
1501 * inet/getsourcefilter.c: Likewise.
1502 * inet/htonl.c: Likewise.
1503 * inet/setipv4sourcefilter.c: Likewise.
1504 * inet/setsourcefilter.c: Likewise.
1505 * inet/test-inet6_opt.c: Likewise.
1506 * inet/tst-network.c: Likewise.
1507 * locale/C-collate.c: Likewise.
1508 * locale/C-ctype.c: Likewise.
1509 * locale/C-time.c: Likewise.
1510 * locale/C-translit.h: Likewise.
1511 * locale/loadarchive.c: Likewise.
1512 * locale/programs/3level.h: Likewise.
1513 * locale/programs/charmap.c: Likewise.
1514 * locale/programs/charmap.h: Likewise.
1515 * locale/programs/ld-address.c: Likewise.
1516 * locale/programs/ld-collate.c: Likewise.
1517 * locale/programs/ld-ctype.c: Likewise.
1518 * locale/programs/ld-identification.c: Likewise.
1519 * locale/programs/ld-measurement.c: Likewise.
1520 * locale/programs/ld-messages.c: Likewise.
1521 * locale/programs/ld-monetary.c: Likewise.
1522 * locale/programs/ld-name.c: Likewise.
1523 * locale/programs/ld-numeric.c: Likewise.
1524 * locale/programs/ld-paper.c: Likewise.
1525 * locale/programs/ld-telephone.c: Likewise.
1526 * locale/programs/ld-time.c: Likewise.
1527 * locale/programs/linereader.c: Likewise.
1528 * locale/programs/locale.c: Likewise.
1529 * locale/programs/locarchive.c: Likewise.
1530 * locale/programs/locfile.h: Likewise.
1531 * locale/programs/repertoire.c: Likewise.
1532 * locale/programs/simple-hash.c: Likewise.
1533 * locale/programs/simple-hash.h: Likewise.
1534 * malloc/memusage.c: Likewise.
1535 * malloc/memusagestat.c: Likewise.
1536 * nis/nis_defaults.c: Likewise.
1537 * nis/nis_hash.c: Likewise.
1538 * nis/nis_print.c: Likewise.
1539 * nis/nis_xdr.c: Likewise.
1540 * nscd/connections.c: Likewise.
1541 * nscd/hstcache.c: Likewise.
1542 * nscd/nscd_gethst_r.c: Likewise.
1543 * nscd/nscd_getserv_r.c: Likewise.
1544 * nscd/nscd_helper.c: Likewise.
1545 * nscd/servicescache.c: Likewise.
1546 * nss/makedb.c: Likewise.
1547 * nss/nss_db/db-XXX.c: Likewise.
1548 * nss/nss_db/db-initgroups.c: Likewise.
1549 * nss/nss_db/db-netgrp.c: Likewise.
1550 * nss/nss_files/files-network.c: Likewise.
1551 * nss/nss_files/files-parse.c: Likewise.
1552 * posix/bug-regex5.c: Likewise.
1553 * posix/fnmatch_loop.c: Likewise.
1554 * posix/regcomp.c: Likewise.
1555 * posix/regexec.c: Likewise.
1556 * posix/tst-rfc3484-2.c: Likewise.
1557 * posix/tst-rfc3484-3.c: Likewise.
1558 * posix/tst-rfc3484.c: Likewise.
1559 * resolv/nss_dns/dns-canon.c: Likewise.
1560 * resolv/nss_dns/dns-network.c: Likewise.
1561 * resolv/res_init.c: Likewise.
1562 * resolv/res_mkquery.c: Likewise.
1563 * resolv/tst-aton.c: Likewise.
1564 * stdlib/cxa_atexit.c: Likewise.
1565 * stdlib/cxa_finalize.c: Likewise.
1566 * stdlib/gen-fpioconst.c: Likewise.
1567 * stdlib/strtol_l.c: Likewise.
1568 * string/tst-endian.c: Likewise.
1569 * sunrpc/auth_des.c: Likewise.
1570 * sunrpc/clnt_udp.c: Likewise.
1571 * sunrpc/rtime.c: Likewise.
1572 * sunrpc/svcauth_des.c: Likewise.
1573 * sunrpc/xdr.c: Likewise.
1574 * sunrpc/xdr_intXX_t.c: Likewise.
1575 * sunrpc/xdr_rec.c: Likewise.
1576 * sysdeps/generic/ldconfig.h: Likewise.
1577 * sysdeps/generic/ldsodefs.h: Likewise.
1578 * sysdeps/generic/memusage.h: Likewise.
1579 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
1582 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1589 * sysdeps/posix/getaddrinfo.c: Likewise.
1590 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1591 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1592 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
1593 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1594 * sysdeps/powerpc/test-gettimebase.c: Likewise.
1595 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1596 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
1597 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
1598 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1599 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
1600 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1601 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1602 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
1603 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
1604 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
1605 * sysdeps/x86_64/dl-tls.h: Likewise.
1606 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
1607 * time/alt_digit.c: Likewise.
1608 * time/era.c: Likewise.
1609 * wcsmbs/tst-c16c32-1.c: Likewise.
1610
8c75f674
JM
16112013-05-16 Joseph Myers <joseph@codesourcery.com>
1612
1613 * math/libm-test.inc (struct test_sincos_data): New type.
1614 (RUN_TEST_LOOP_sincos): New macro.
1615 (sincos_test_data): New variable.
1616 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
1617
e6e49e59
RH
16182013-05-16 Richard Henderson <rth@redhat.com>
1619
1620 * math/atest-exp2.c (LIMB64): New macro.
1621 (CONSTSZ): New macro.
1622 (mp_exp1, mp_exp_m1, mp_log2): New variables.
1623 (hexdig): Move ...
1624 (print_mpn_fp): ... to function scope.
1625 (read_mpn_hex): Remove.
1626 (get_log2): Remove.
1627 (exp2_mpn): Use mp_log2.
1628 (main): Use mp_exp1.
1629
15c7c18d
JM
16302013-05-16 Joseph Myers <joseph@codesourcery.com>
1631
105a07df
JM
1632 * math/libm-test.inc: Remove comment about not testing "inexact"
1633 exceptions.
1634 (INEXACT_EXCEPTION): New macro.
1635 (NO_INEXACT_EXCEPTION): Likewise.
1636 (INVALID_EXCEPTION_OK): Update value.
1637 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1638 (OVERFLOW_EXCEPTION_OK): Likewise.
1639 (UNDERFLOW_EXCEPTION_OK): Likewise.
1640 (IGNORE_ZERO_INF_SIGN): Likewise.
1641 (ERRNO_UNCHANGED): Likewise.
1642 (ERRNO_EDOM): Likewise.
1643 (ERRNO_ERANGE): Likewise.
1644 (test_exceptions): Handle testing "inexact" exceptions.
1645 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
1646 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
1647 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
1648 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
1649 INEXACT_EXCEPTION.
1650 (rint_towardzero_test_data): Likewise.
1651 (rint_downward_test_data): Likewise.
1652 (rint_upward_test_data): Likewise.
1653
e9eee333
JM
1654 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
1655 with OVERFLOW_EXCEPTION.
1656 (exp10_test_data): Likewise.
1657 (exp2_test_data): Likewise.
1658 (expm1_test_data): Likewise.
1659 (lgamma_test_data): Likewise.
1660 (pow_test_data): Likewise.
1661 (tgamma_test_data): Likewise.
1662 (yn_test_data): Remove duplicate test of overflow.
1663
1c38ff73
JM
1664 * math/libm-test.inc (struct test_cc_c_data): New type.
1665 (RUN_TEST_LOOP_cc_c): New macro.
1666 (cpow_test_data): New variable.
1667 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
1668
15c7c18d
JM
1669 * math/libm-test.inc (struct test_f_L_data): New type.
1670 (RUN_TEST_LOOP_f_L): New macro.
1671 (llrint_test_data): New variable.
1672 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
1673 (llrint_tonearest_test_data): New variable.
1674 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
1675 (llrint_towardzero_test_data): New variable.
1676 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
1677 (llrint_downward_test_data): New variable.
1678 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
1679 (llrint_upward_test_data): New variable.
1680 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
1681 (llround_test_data): New variable.
1682 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
1683
f137ff13
PC
16842013-05-13 Peter Collingbourne <pcc@google.com>
1685
1686 * math/atest-exp2.c (get_log2): Remove const attribute.
1687
3608cb24
JM
16882013-05-15 Joseph Myers <joseph@codesourcery.com>
1689
1690 * math/libm-test.inc (struct test_f_l_data): New type.
1691 (RUN_TEST_LOOP_f_l): New macro.
1692 (lrint_test_data): New variable.
1693 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
1694 (lrint_tonearest_test_data): New variable.
1695 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
1696 (lrint_towardzero_test_data): New variable.
1697 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
1698 (lrint_downward_test_data): New variable.
1699 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
1700 (lrint_upward_test_data): New variable.
1701 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
1702 (lround_test_data): New variable.
1703 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
1704
39b1f617
PC
17052013-05-15 Peter Collingbourne <pcc@google.com>
1706
1deff3dc
PC
1707 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
1708 (EXTRACT_WORDS64) Use where appropriate.
1709 (INSERT_WORDS64) Likewise.
1710
791f3ba0
PC
1711 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
1712 constraints with x constraints.
1713 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
1714
39b1f617
PC
1715 * malloc/obstack.c (_obstack_compat): Add initializer.
1716
12fba011
EM
17172013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
1718
1719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
1720 si_trapno and add si_addr_lsb to _sifields.sigfault.
1721 (si_trapno): Remove macro.
1722 (si_addr_lsb): Define new macro.
1723 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1724
d369f531
JM
17252013-05-15 Joseph Myers <joseph@codesourcery.com>
1726
b861c6c4
JM
1727 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
1728 instead of TEST_f_l.
1729 (llrint_test_tonearest): Likewise.
1730 (llrint_test_towardzero): Likewise.
1731 (llrint_test_downward): Likewise.
1732 (llrint_test_upward): Likewise.
1733 (llround_test): Likewise.
1734
7abeee12
JM
1735 * math/libm-test.inc (struct test_f_i_data): Add comment.
1736 (RUN_TEST_LOOP_f_b): New macro.
1737 (RUN_TEST_LOOP_f_b_tg): Likewise.
1738 (finite_test_data): New variable.
1739 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
1740 (isfinite_test_data): New variable.
1741 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1742 (isinf_test_data): New variable.
1743 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1744 (isnan_test_data): New variable.
1745 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1746 (isnormal_test_data): New variable.
1747 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1748 (issignaling_test_data): New variable.
1749 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1750 (signbit_test_data): New variable.
1751 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
1752
cbe8c4d3
JM
1753 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
1754 with INVALID_EXCEPTION.
1755 (acosh_test_data): Likewise.
1756 (asin_test_data): Likewise.
1757 (atanh_test_data): Likewise.
1758 (fmod_test_data): Likewise.
1759 (log_test_data): Likewise.
1760 (log10_test_data): Likewise.
1761 (log2_test_data): Likewise.
1762 (pow_test_data): Likewise.
1763 (sqrt_test_data): Likewise.
1764 (y0_test_data): Likewise.
1765 (y1_test_data): Likewise.
1766 (yn_test_data): Likewise.
1767
5575c0e5
JM
1768 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
1769 function contents.
1770
d369f531
JM
1771 * math/libm-test.inc (struct test_ff_i_data): New type.
1772 (RUN_TEST_LOOP_ff_i_tg): New macro.
1773 (isgreater_test_data): New variable.
1774 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1775 (isgreaterequal_test_data): New variable.
1776 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1777 (isless_test_data): New variable.
1778 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1779 (islessequal_test_data): New variable.
1780 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1781 (islessgreater_test_data): New variable.
1782 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1783 (isunordered_test_data): New variable.
1784 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
1785
781fd748
DM
17862013-05-14 David S. Miller <davem@davemloft.net>
1787
1788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1789
87aa21df
JM
17902013-05-14 Joseph Myers <joseph@codesourcery.com>
1791
5e908270
JM
1792 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
1793
f71172e5
JM
1794 * math/libm-test.inc (struct test_fF_f1_data): Change type of
1795 extra_test to int.
1796 (struct test_f_i_data): Change type of max_ulp to int.
1797
8cfa635a
JM
1798 * math/libm-test.inc (test_ffI_f1_data): New type.
1799 (RUN_TEST_LOOP_ffI_f1): New macro.
1800 (remquo_test_data): New variable.
1801 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
1802
2bcb36b2
JM
1803 * setjmp/tst-setjmp-fp.c: New file.
1804 * setjmp/Makefile (tests): Add tst-setjmp-fp.
1805 (link-libm): New variable.
1806 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
1807
acbd839a
JM
1808 * math/libm-test.inc (struct test_f_i_data): New type.
1809 (RUN_TEST_LOOP_f_i): New macro.
1810 (RUN_TEST_LOOP_f_i_tg): Likewise.
1811 (fpclassify_test_data): New variable.
1812 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
1813 (ilogb_test_data): New variable.
1814 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
1815
e414d745
JM
1816 * math/libm-test.inc (scalbln_test): Correct function name in END
1817 call.
1818
d9c2a0fd
JM
1819 * math/libm-test.inc (struct test_f_f1_data): Add comment.
1820 (RUN_TEST_LOOP_fI_f1): New macro.
1821 (frexp_test_data): New variable.
1822 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
1823
9dc9095d
JM
1824 * math/libm-test.inc (struct test_fF_f1_data): New type.
1825 (RUN_TEST_LOOP_fF_f1): New macro.
1826 (modf_test_data): New variable.
1827 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
1828
87aa21df
JM
1829 * math/libm-test.inc (struct test_f_f1_data): New type.
1830 (RUN_TEST_LOOP_f_f1): New macro.
1831 (gamma_test_data): New variable.
1832 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1833 (lgamma_test_data): New variable.
1834 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
1835
141af660
CD
18362013-05-13 Carlos O'Donell <carlos@redhat.com>
1837
1838 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
1839 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
1840 (main): Comment "tls" pseudo-hwcap.
1841
6d33265c
JM
18422013-05-13 Joseph Myers <joseph@codesourcery.com>
1843
68fc074c
JM
1844 * math/libm-test.inc (struct test_fl_f_data): New type.
1845 (RUN_TEST_LOOP_fl_f): New variable.
1846 (scalbln_test_data): New variable.
1847 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
1848
243216e1
JM
1849 * math/libm-test.inc (struct test_fi_f_data): New type.
1850 (RUN_TEST_LOOP_fi_f): New macro.
1851 (ldexp_test_data): New variable.
1852 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
1853 (scalbn_test_data): New variable.
1854 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
1855
6a1992e2
JM
1856 * math/libm-test.inc (struct test_c_f_data): New type.
1857 (RUN_TEST_LOOP_c_f): New macro.
1858 (cabs_test_data): New variable.
1859 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
1860 (carg_test_data): New variable.
1861 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
1862 (cimag_test_data): New variable.
1863 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
1864 (creal_test_data): New variable.
1865 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
1866
0e400df5
JM
1867 * math/libm-test.inc (struct test_if_f_data): New type.
1868 (RUN_TEST_LOOP_if_f): New macro.
1869 (jn_test_data): New variable.
1870 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
1871 (yn_test_data): New variable.
1872 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
1873
6d33265c
JM
1874 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
1875
f98ece5f
AZ
18762013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1877
1878 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
1879 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
1880
0f7d347b
SP
18812013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1882
43fe811b
SP
1883 * benchtests/Makefile (CPPFLAGS-nonlib): Add
1884 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
1885 (bench-deps): Add bench-timing.h.
1886 * benchtests-bench-skeleton.c: Include bench-timing.h.
1887 (main): Use TIMING_* macros instead of clock_gettime.
1888 * benchtests/bench-timing.h: New file.
1889
0f7d347b
SP
1890 [BZ #14582]
1891 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
1892 Renamed from _LIB_VERSION.
1893 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
1894
601a3a5f
JM
18952013-05-12 Joseph Myers <joseph@codesourcery.com>
1896
4f184d30
JM
1897 * math/libm-test.inc (struct test_fff_f_data): New type.
1898 (RUN_TEST_LOOP_fff_f): New macro.
1899 (fma_test_data): New variable.
1900 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
1901 (fma_towardzero_test_data): New variable.
1902 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
1903 (fma_downward_test_data): New variable.
1904 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
1905 (fma_upward_test_data): New variable.
1906 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
1907
08198877
JM
1908 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
1909 (struct test_c_c_data): New type.
1910 (RUN_TEST_LOOP_c_c): New macro.
1911 (cacos_test_data): New variable.
1912 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
1913 (cacosh_test_data): New variable.
1914 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
1915 (casin_test_data): New variable.
1916 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
1917 (casinh_test_data): New variable.
1918 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
1919 (catan_test_data): New variable.
1920 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
1921 (catanh_test_data): New variable.
1922 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
1923 (ccos_test_data): New variable.
1924 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
1925 (ccosh_test_data): New variable.
1926 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
1927 (cexp_test_data): New variable.
1928 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
1929 (clog_test_data): New variable.
1930 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
1931 (clog10_test_data): New variable.
1932 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
1933 (conj_test_data): New variable.
1934 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
1935 (cproj_test_data): New variable.
1936 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
1937 (csin_test_data): New variable.
1938 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
1939 (csinh_test_data): New variable.
1940 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
1941 (csqrt_test_data): New variable.
1942 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
1943 (ctan_test_data): New variable.
1944 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
1945 (ctan_tonearest_test_data): New variable.
1946 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1947 (ctan_towardzero_test_data): New variable.
1948 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1949 (ctan_downward_test_data): New variable.
1950 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1951 (ctan_upward_test_data): New variable.
1952 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1953 (ctanh_test_data): New variable.
1954 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
1955 (ctanh_tonearest_test_data): New variable.
1956 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
1957 (ctanh_towardzero_test_data): New variable.
1958 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
1959 (ctanh_downward_test_data): New variable.
1960 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
1961 (ctanh_upward_test_data): New variable.
1962 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
1963 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
1964 of BUILD_COMPLEX.
1965
601a3a5f
JM
1966 * math/libm-test.inc (struct test_ff_f_data): New type.
1967 (struct test_ff_f_data_nexttoward): Likewise.
1968 (RUN_TEST_LOOP_2_f): New macro.
1969 (RUN_TEST_LOOP_ff_f): Likewise.
1970 (atan2_test_data): New variable.
1971 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
1972 (copysign_test_data): New variable.
1973 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
1974 (fdim_test_data): New variable.
1975 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
1976 (fmax_test_data): New variable.
1977 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
1978 (fmin_test_data): New variable.
1979 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
1980 (fmod_test_data): New variable.
1981 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
1982 (hypot_test_data): New variable.
1983 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
1984 (nextafter_test_data): New variable.
1985 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
1986 (nexttoward_test_data): New variable.
1987 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
1988 (pow_test_data): New variable.
1989 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
1990 (pow_tonearest_test_data): New variable.
1991 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
1992 (pow_towardzero_test_data): New variable.
1993 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
1994 (pow_downward_test_data): New variable.
1995 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
1996 (pow_upward_test_data): New variable.
1997 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
1998 (remainder_test_data): New variable.
1999 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2000 (scalb_test_data): New variable.
2001 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2002 * sysdeps/i386/fpu/libm-test-ulps: Update.
2003
74c57478
JM
20042013-05-11 Joseph Myers <joseph@codesourcery.com>
2005
8329e4da
JM
2006 * math/libm-test.inc (fma_test): Use max_value instead of local
2007 variable fltmax.
2008 (nextafter_test): Likewise.
2009
74c57478
JM
2010 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2011 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2012 (acos_downward_test_data): New variable.
2013 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2014 (acos_upward_test_data): New variable.
2015 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2016 (acosh_test_data): New variable.
2017 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2018 (asin_test_data): New variable.
2019 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2020 (asin_tonearest_test_data): New variable.
2021 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2022 (asin_towardzero_test_data): New variable.
2023 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2024 (asin_downward_test_data): New variable.
2025 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2026 (asin_upward_test_data): New variable.
2027 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2028 (asinh_test_data): New variable.
2029 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2030 (atan_test_data): New variable.
2031 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2032 (atanh_test_data): New variable.
2033 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2034 (cbrt_test_data): New variable.
2035 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2036 (ceil_test_data): New variable.
2037 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2038 (cos_test_data): New variable.
2039 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2040 (cos_tonearest_test_data): New variable.
2041 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2042 (cos_towardzero_test_data): New variable.
2043 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2044 (cos_downward_test_data): New variable.
2045 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2046 (cos_upward_test_data): New variable.
2047 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2048 (cosh_test_data): New variable.
2049 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2050 (cosh_tonearest_test_data): New variable.
2051 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2052 (cosh_towardzero_test_data): New variable.
2053 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2054 (cosh_downward_test_data): New variable.
2055 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2056 (cosh_upward_test_data): New variable.
2057 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2058 (erf_test_data): New variable.
2059 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2060 (erfc_test_data): New variable.
2061 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2062 (exp_test_data): New variable.
2063 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2064 (exp_tonearest_test_data): New variable.
2065 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2066 (exp_towardzero_test_data): New variable.
2067 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2068 (exp_downward_test_data): New variable.
2069 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2070 (exp_upward_test_data): New variable.
2071 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2072 (exp10_test_data): New variable.
2073 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2074 (exp2_test_data): New variable.
2075 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2076 (expm1_test_data): New variable.
2077 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2078 (fabs_test_data): New variable.
2079 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2080 (floor_test_data): New variable.
2081 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2082 (j0_test_data): New variable.
2083 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2084 (j1_test_data): New variable.
2085 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2086 (log_test_data): New variable.
2087 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2088 (log10_test_data): New variable.
2089 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2090 (log1p_test_data): New variable.
2091 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2092 (log2_test_data): New variable.
2093 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2094 (logb_test_data): New variable.
2095 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2096 (logb_downward_test_data): New variable.
2097 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2098 (nearbyint_test_data): New variable.
2099 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2100 (rint_test_data): New variable.
2101 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2102 (rint_tonearest_test_data): New variable.
2103 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2104 (rint_towardzero_test_data): New variable.
2105 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2106 (rint_downward_test_data): New variable.
2107 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2108 (rint_upward_test_data): New variable.
2109 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2110 (round_test_data): New variable.
2111 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2112 (sin_test_data): New variable.
2113 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2114 (sin_tonearest_test_data): New variable.
2115 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2116 (sin_towardzero_test_data): New variable.
2117 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2118 (sin_downward_test_data): New variable.
2119 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2120 (sin_upward_test_data): New variable.
2121 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2122 (sinh_test_data): New variable.
2123 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2124 (sinh_tonearest_test_data): New variable.
2125 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2126 (sinh_towardzero_test_data): New variable.
2127 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2128 (sinh_downward_test_data): New variable.
2129 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2130 (sinh_upward_test_data): New variable.
2131 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2132 (sqrt_test_data): New variable.
2133 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2134 (tan_test_data): New variable.
2135 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2136 (tan_tonearest_test_data): New variable.
2137 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2138 (tan_towardzero_test_data): New variable.
2139 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2140 (tan_downward_test_data): New variable.
2141 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2142 (tan_upward_test_data): New variable.
2143 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2144 (tanh_test_data): New variable.
2145 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2146 (tgamma_test_data): New variable.
2147 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2148 (trunc_test_data): New variable.
2149 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2150 (y0_test_data): New variable.
2151 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2152 (y1_test_data): New variable.
2153 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2154 (significand_test_data): New variable.
2155 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2156
7187d844
CG
21572013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2158
2159 [BZ #12387]
2160 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2161
f63fae73
PT
21622013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2163
2164 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2165
8a67a4b3
AJ
21662013-05-10 Andreas Jaeger <aj@suse.de>
2167
2168 [BZ #15448]
2169 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2170 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2171
51df539d
JM
21722013-05-10 Joseph Myers <joseph@codesourcery.com>
2173
2174 * math/gen-libm-test.pl (adjust_arg): New function.
2175 (special_functions): Handle generating output in both functions
2176 and arrays.
2177 (parse_args): Likewise.
2178 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2179 $in_func argument to parse_args.
2180 * math/libm-test.inc (struct test_f_f_data): New type.
2181 (IF_ROUND_INIT_): New macro.
2182 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2183 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2184 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2185 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2186 (ROUND_RESTORE_): Likewise.
2187 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2188 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2189 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2190 (ROUND_RESTORE_FE_UPWARD): Likewise.
2191 (RUN_TEST_LOOP_f_f): New macro.
2192 (acos_test_data): New variable.
2193 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2194 (acos_tonearest_test_data): New variable.
2195 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2196
5c637fe5
SP
21972013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2198
2199 * benchtests/bench-skeleton.c (startup): Fix coding style.
2200
ab2b9461
JM
22012013-05-10 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #6809]
2204 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2205 negative infinity argument.
2206 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2207 negative infinity argument.
2208 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2209 negative infinity argument.
2210 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2211 domain errors.
2212
4c0fe6fe
FW
22132013-05-10 Florian Weimer <fweimer@redhat.com>
2214
2215 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2216 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2217 * iconv/iconv_prog.c (main): Likewise.
2218 * locale/programs/charmap-dir.c (charmap_readdir)
2219 (fopen_uncompressed): Likewise.
2220 * locale/programs/locfile.c (siblings_uncached)
2221 (write_locale_data): Use lstat64 instead of lstat.
2222 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
2223 stat.
2224
a3375d29
AJ
22252013-05-10 Andreas Jaeger <aj@suse.de>
2226
2227 [BZ #15395]
2228 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
2229 localization.
2230 Include <locale.h>.
2231
36129722
CD
22322013-05-09 Carlos O'Donell <carlos@redhat.com>
2233
2234 * elf/dl-close.c (_dl_close_worker): Add comments.
2235
faa7f811
JM
22362013-05-09 Joseph Myers <joseph@codesourcery.com>
2237
ed41ffef
JM
2238 [BZ #15359]
2239 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
2240 high part of pi/2.
2241 (__ieee754_rem_pio2l): Update comments.
2242
d0213cd0
JM
2243 [BZ #15429]
2244 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
2245 high part of pi/2.
2246 (__ieee754_rem_pio2l): Update comments.
2247
0d3e777a
JM
2248 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
2249 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
2250
24f56066
JM
2251 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
2252 M_PI_4l.
2253
faa7f811
JM
2254 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
2255 (M_PI_34_LOG10El): Likewise.
2256 (M_PI2_LOG10El): Likewise.
2257 (M_PI4_LOG10El): Likewise.
2258 (M_PI_LOG10El): Likewise.
2259
e9a5e0fd
AZ
22602013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2261
2262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2263
d8cd06db
JM
22642013-05-08 Joseph Myers <joseph@codesourcery.com>
2265
a0d9f9d7
JM
2266 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
2267 (MINUS_ZERO_INIT): Likewise.
2268 (PLUS_INFTY_INIT): Likewise.
2269 (MINUS_INFTY_INIT): Likewise.
2270 (QNAN_VALUE_INIT): Likewise.
2271 (MAX_VALUE_INIT): Likewise.
2272 (MIN_VALUE_INIT): Likewise.
2273 (MIN_SUBNORM_VALUE_INIT): Likewise.
2274 (plus_zero): Initialize with PLUS_ZERO_INIT.
2275 (minus_zero): Initialize with MINUS_ZERO_INIT.
2276 (plus_infty): Initialize with PLUS_INFTY_INIT.
2277 (minus_infty): Initialize with MINUS_INFTY_INIT.
2278 (qnan_value): Initialize with QNAN_VALUE_INIT.
2279 (max_value): Initialize with MAX_VALUE_INIT.
2280 (min_value): Initialize with MIN_VALUE_INIT.
2281 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
2282
ae08db3b
JM
2283 * math/libm-test.inc (RUN_TEST_if_f): New macro.
2284 (jn_test): Use TEST_if_f instead of TEST_ff_f.
2285 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
2286 (yn_test): Use TEST_if_f instead of TEST_ff_f.
2287
f44bf14a
JM
2288 * math/libm-test.inc (RUN_TEST_f_f): New macro.
2289 (RUN_TEST_2_f): Likewise.
2290 (RUN_TEST_ff_f): Likewise.
2291 (RUN_TEST_fi_f): Likewise.
2292 (RUN_TEST_fl_f): Likewise.
2293 (RUN_TEST_fff_f): Likewise.
2294 (RUN_TEST_c_f): Likewise.
2295 (RUN_TEST_f_f1): Likewise.
2296 (RUN_TEST_fF_f1): Likewise.
2297 (RUN_TEST_fI_f1): Likewise.
2298 (RUN_TEST_ffI_f1): Likewise.
2299 (RUN_TEST_c_c): Likewise.
2300 (RUN_TEST_cc_c): Likewise.
2301 (RUN_TEST_f_i): Likewise.
2302 (RUN_TEST_f_i_tg): Likewise.
2303 (RUN_TEST_ff_i_tg): Likewise.
2304 (RUN_TEST_f_b): Likewise.
2305 (RUN_TEST_f_b_tg): Likewise.
2306 (RUN_TEST_f_l): Likewise.
2307 (RUN_TEST_f_L): Likewise.
2308 (RUN_TEST_sincos): Likewise.
2309 * math/gen-libm-test.pl (new_test): Take new argument to indicate
2310 whether to show exceptions. Do not include ");\n" in return
2311 value.
2312 (special_functions): Output call to RUN_TEST_sincos instead of
2313 check_float calls. Update calls to new_test.
2314 (parse_args): Output call to single RUN_TEST_* macro instead of
2315 check_* calls and other assignments. Update calls to new_test.
2316
d8cd06db
JM
2317 [BZ #2546]
2318 [BZ #2560]
2319 [BZ #5159]
2320 [BZ #15426]
2321 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
2322 input to result for tgamma overflow.
2323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
2324 (gamma_coeff): New variable.
2325 (NCOEFF): New macro.
2326 (gamma_positive): New function.
2327 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
2328 underflow here. Use gamma_positive instead of exp (lgamma) for
2329 other arguments.
2330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
2331 (gamma_coeff): New variable.
2332 (NCOEFF): New macro.
2333 (gammaf_positive): New function.
2334 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
2335 underflow here. Use gamma_positive instead of exp (lgamma) for
2336 other arguments.
2337 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
2338 (gamma_coeff): New variable.
2339 (NCOEFF): New macro.
2340 (gammal_positive): New function.
2341 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
2342 underflow here. Use gamma_positive instead of exp (lgamma) for
2343 other arguments.
2344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
2345 (gamma_coeff): New variable.
2346 (NCOEFF): New macro.
2347 (gammal_positive): New function.
2348 (__ieee754_gammal_r): Handle positive infinity, overflow and
2349 underflow here. Handle NaN the same as positive infinity. Remove
2350 check x < 0xffffffff for negative integers. Use gamma_positive
2351 instead of exp (lgamma) for other arguments.
2352 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
2353 (gamma_coeff): New variable.
2354 (NCOEFF): New macro.
2355 (gammal_positive): New function.
2356 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
2357 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2361 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
2362 * sysdeps/generic/math_private.h (__gamma_productf): New
2363 prototype.
2364 (__gamma_product): Likewise.
2365 (__gamma_productl): Likewise.
2366 * math/Makefile (libm-calls): Add gamma_product.
2367 * math/libm-test.inc (tgamma_test): Add more tests.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2370
bb7cf681
OB
23712013-05-08 Ondřej Bílka <neleai@seznam.cz>
2372
2373 * benchtests/bench-skeleton.c (main): Preheat CPU.
2374
ba853947
AJ
23752013-05-07 Aurelien Jarno <aurelien@aurel32.net>
2376
2377 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
2378
8347c74c
RM
23792013-05-07 Roland McGrath <roland@hack.frob.com>
2380
2381 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
2382 and _dl_skip_args_internal.
2383
e8dd4791
CD
23842013-05-07 Carlos O'Donell <carlos@redhat.com>
2385
2386 * manual/message.texi (Message Translation): Talk about users.
2387 Message to key mapping impacts design.
2388
c7405830
RM
23892013-05-06 Roland McGrath <roland@hack.frob.com>
2390
a9173057
RM
2391 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
2392
976e2f03
RM
2393 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
2394
9723ffc5
RM
2395 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
2396 * sysdeps/wordsize-64/glob64.c: ... here.
2397
962e6658
RM
2398 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
2399 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
2400 New macros.
2401
ee586a6d
RM
2402 * debug/getlogin_r_chk.c: Moved to ...
2403 * login/getlogin_r_chk.c: ... here.
2404 * debug/Makefile (routines): Move getlogin_r_chk to ...
2405 * login/Makefile (routines): ... here.
2406 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
2407 * login/Versions (libc: GLIBC_2.4): ... here.
2408
355f9165
RM
2409 * io/poll.c (__poll): Renamed from poll.
2410 Add libc_hidden_def.
2411 (poll): Define as weak alias.
2412
bd9ffde6
RM
2413 * debug/ptsname_r_chk.c: Moved to ...
2414 * login/ptsname_r_chk.c: ... here.
2415 * debug/Makefile (routines): Move ptsname_r_chk to ...
2416 * login/Makefile (routines): ... here.
2417 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
2418 * login/Versions (libc: GLIBC_2.4): ... here.
2419
8fb16a04
RM
2420 * posix/getlogin.c: Moved to ...
2421 * login/getlogin.c: ... here.
2422 * posix/getlogin_r.c: Moved to ...
2423 * login/getlogin_r.c: ... here.
2424 * posix/getlogin_r.c: Moved to ...
2425 * login/getlogin_r.c: ... here.
2426 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
2427 * login/Makefile (routines): ... here.
2428 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
2429 * login/Versions (libc: GLIBC_2.0): ... here.
2430
b99b892f
RM
2431 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
2432 (setrlimit): Define as weak alias.
2433
c7405830
RM
2434 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
2435 Call __ names for open, ftruncate, and close.
2436 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
2437 (truncate): Define as weak alias.
2438
5bf96de5
JM
24392013-05-06 Joseph Myers <joseph@codesourcery.com>
2440
9ea3513c
JM
2441 * math/gen-libm-test.pl (parse_args): Initialize x before each
2442 test of frexp, modf and remquo.
2443
5bf96de5
JM
2444 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
2445 test signgam value.
2446
16e616a7
AZ
24472013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2448
2449 [BZ #15418]
2450 [BZ #15419]
2451 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
2452 internal tests.
2453 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2454
d5e82754
RM
24552013-05-06 Roland McGrath <roland@hack.frob.com>
2456
2457 * elf/dl-writev.h: New file.
2458 * elf/dl-misc.c: Include it.
2459 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
2460 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
2461
a7548d41
JM
24622013-05-04 Joseph Myers <joseph@codesourcery.com>
2463
b7dab1e4
JM
2464 * math/libm-test.inc (noXFails): Remove variable.
2465 (noXPasses): Likewise.
2466 (BUILD_COMPLEX_INT): Remove macro.
2467 (print_screen): Remove xfail argument.
2468 (print_screen_max_error): Likewise.
2469 (update_stats): Likewise.
2470 (print_max_error): Likewise. Update calls to other affected
2471 functions.
2472 (print_complex_max_error): Likewise.
2473 (test_single_exception): Update calls to print_screen.
2474 (test_single_errno): Likewise.
2475 (check_float_internal): Remove xfail argument. Update calls to
2476 other affected functions.
2477 (check_float): Likewise.
2478 (check_complex): Likewise.
2479 (check_int): Likewise.
2480 (check_long): Likewise.
2481 (check_bool): Likewise.
2482 (check_longlong): Likewise.
2483 (main): Don't print noXFails and noXPasses.
2484 * math/gen-libm-test.pl (top level): Don't mention expected
2485 failure handling in comment.
2486 (new_test): Don't handle expected failures.
2487 (parse_args): Don't mention expected failure handling in comment.
2488 (generate_testfile): Don't handle expected failures.
2489 (parse_ulps): Likewise.
2490 (print_ulps_file): Likewise.
2491 (get_failure): Remove function.
2492 (output_test): Don't handle expected failures.
2493 * make/README.libm-test: Don't mention expected failure handling.
2494
a7548d41
JM
2495 * math/libm-test.inc (plus_zero): Make const. Add initializer.
2496 (minus_zero): Likewise.
2497 (plus_infty): Likewise.
2498 (minus_infty): Likewise.
2499 (qnan_value): Likewise.
2500 (max_value): Likewise.
2501 (min_value): Likewise.
2502 (min_subnorm_value): Likewise.
2503 (initialize): Do not initialize those variables dynamically.
2504
60bfd54c
RM
25052013-05-03 Roland McGrath <roland@hack.frob.com>
2506
cc0e6ed8
RM
2507 * io/open.c (__open_2): Moved to ...
2508 * io/open_2.c: ... this new file.
2509 * io/open64.c (__open64_2): Moved to ...
2510 * io/open64_2.c: ... this new file.
2511 * io/openat.c (__openat_2): Moved to ...
2512 * io/openat_2.c: ... this new file.
2513 * io/openat64.c (__openat64_2): Moved to ...
2514 * io/openat64_2.c: ... this new file.
2515 * io/Makefile (routines): Add them.
2516 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
2517 * sysdeps/unix/sysv/linux/open_2.c: File removed.
2518 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
2519 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
2520 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
2521 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
2522 (__openat64): Add hidden_ver.
2523 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
2524 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
2525
60bfd54c
RM
2526 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
2527 Separately conditionalize setting of GLRO(dl_sysinfo) so
2528 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
2529 as well, but the actual setting is only under [NEED_DL_SYSINFO].
2530
83e7640f
AZ
25312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532
2533 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
2534 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
2535 definition.
2536 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
2537 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2538 (_libc_vdso_platform_setup): Add __vdso_time initialization.
2539 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
2540 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
2541
d5dc2af3
JM
25422013-05-03 Joseph Myers <joseph@codesourcery.com>
2543
c31a5b1e
JM
2544 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
2545 test signgam value.
2546
d5dc2af3
JM
2547 * math/libm-test.inc (hypot_test): Do not use
2548 IGNORE_ZERO_INF_SIGN.
2549
164fd39d
AJ
25502013-05-03 Andreas Jaeger <aj@suse.de>
2551
2552 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
2553 Linux 3.9.
2554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
2555 (PF_MAX): Adjust for VSOCK change.
2556
8237f48c
AZ
25572013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2558
2559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2560
9df02941
CD
25612013-05-02 Carlos O'Donell <carlos@redhat.com>
2562
2563 [BZ #15264]
2564 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
2565 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
2566 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2567
d422395e
DM
25682013-05-02 David S. Miller <davem@davemloft.net>
2569
2570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2571
a07c5731
OB
25722013-05-01 Ondřej Bílka <neleai@seznam.cz>
2573
2574 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
2575
1324e37f
RM
25762013-05-01 Roland McGrath <roland@hack.frob.com>
2577
2578 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
2579
0695940b
RS
25802013-05-01 Richard Smith <richard@metafoo.co.uk>
2581
bb5f27ad 2582 [BZ #14952]
0695940b
RS
2583 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
2584 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2585 Use __attribute__ ((__gnu_inline__)).
2586 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
2587 Don't use __attribute__ ((__gnu_inline__)).
2588
10de07f5
JM
25892013-05-01 Joseph Myers <joseph@codesourcery.com>
2590
2591 [BZ #15423]
2592 * math/s_catan.c (__catan): Handle small real or imaginary part of
2593 input specially to avoid spurious underflow.
2594 * math/s_catanf.c (__catanf): Likewise.
2595 * math/s_catanh.c (__catanh): Likewise.
2596 * math/s_catanhf.c (__catanhf): Likewise.
2597 * math/s_catanhl.c (__catanhl): Likewise.
2598 * math/s_catanl.c (__catanl): Likewise.
2599 * math/libm-test.inc (catan_test): Add more tests.
2600 (catanh_test): Likewise.
2601 * sysdeps/i386/fpu/libm-test-ulps: Update.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603
cb4d5414
AZ
26042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605
2606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2607
caf84319
JM
26082013-04-30 Joseph Myers <joseph@codesourcery.com>
2609
2610 [BZ #15416]
2611 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
2612 accurately for denominator in atan2.
2613 * math/s_catanf.c (__catanf): Likewise.
2614 * math/s_catanh.c (__catanh): Likewise.
2615 * math/s_catanhf.c (__catanhf): Likewise.
2616 * math/s_catanhl.c (__catanhl): Likewise.
2617 * math/s_catanl.c (__catanl): Likewise.
2618 * math/libm-test.inc (catan_test): Add more tests.
2619 (catanh_test): Likewise.
2620 * sysdeps/i386/fpu/libm-test-ulps: Update.
2621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2622
d569c6ee
SP
26232013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2624
6dbe713d
SP
2625 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
2626
f0ee064b
SP
2627 * benchtests/Makefile (bench): Remove slow benchmarks.
2628 * benchtests/atan-inputs: Add slow benchmark inputs.
2629 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
2630 (BENCH_FUNC): Accept variant offset.
2631 (VARIANT): Define.
2632 * benchtests/bench-skeleton.c (main): Run benchmark for each
2633 variant.
2634 * benchtests/cos-inputs: Add slow benchmark inputs.
2635 * benchtests/exp-inputs: Likewise.
2636 * benchtests/pow-inputs: Likewise.
2637 * benchtests/sin-inputs: Likewise.
2638 * benchtests/slowatan-inputs: Remove.
2639 * benchtests/slowatan.c: Remove.
2640 * benchtests/slowcos-inputs: Remove.
2641 * benchtests/slowcos.c: Remove.
2642 * benchtests/slowexp-inputs: Remove.
2643 * benchtests/slowexp.c: Remove.
2644 * benchtests/slowpow-inputs: Remove.
2645 * benchtests/slowpow.c: Remove.
2646 * benchtests/slowsin-inputs: Remove.
2647 * benchtests/slowsin.c: Remove.
2648 * benchtests/slowtan-inputs: Remove.
2649 * benchtests/slowtan.c: Remove.
2650 * benchtests/tan-inputs: Add slow benchmark inputs.
2651 * scripts/bench.pl: Parse comments and directives.
2652
d569c6ee
SP
2653 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
2654 in CPPFLAGS.
2655 ($(objpfx)bench-%.c): Remove *-ITER.
2656 * benchtests/bench-modf.c: Remove definition of ITER.
2657 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
2658 (main): Loop for DURATION seconds instead of fixed number of
2659 iterations.
2660 * scripts/bench.pl: Don't expect iterations in parameters.
2661
a6a242fe
RM
26622013-04-29 Roland McGrath <roland@hack.frob.com>
2663
2664 * io/fchdir.c (__fchdir): Renamed from fchdir.
2665 (fchdir): Define as weak alias.
2666
f2da7793
JM
26672013-04-29 Joseph Myers <joseph@codesourcery.com>
2668
2669 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
2670 (ERRNO_EDOM): Likewise.
2671 (ERRNO_ERANGE): Likewise.
2672 (noErrnoTests): New variable.
2673 (init_max_error): Set errno to 0.
2674 (test_single_errno): New function.
2675 (test_errno): Likewise.
2676 (check_float_internal): Call test_errno. Set errno to 0.
2677 (check_complex): Refer to errno tests in comment.
2678 (check_int): Call test_errno. Set errno to 0.
2679 (check_long): Likewise.
2680 (check_bool): Likewise.
2681 (check_longlong): Likewise.
2682 (cos_test): Use ERRNO_* flags for errno tests instead of
2683 check_int.
2684 (expm1_test): Likewise.
2685 (fmod_test): Likewise.
2686 (ilogb_test): Likewise.
2687 (lgamma_test): Likewise.
2688 (pow_test): Likewise.
2689 (remainder_test): Likewise.
2690 (sin_test): Likewise.
2691 (tan_test): Likewise.
2692 (yn_test): Likewise.
2693 (initialize): Set errno to 0.
2694 (main): Print number of errno tests.
2695 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
2696
b1a36ceb
AJ
26972013-04-29 Andreas Jaeger <aj@suse.de>
2698
c3ed8088
AJ
2699 [BZ #15084]
2700 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
2701 and RES_USEVC.
2702
f1a24198
AJ
2703 [BZ #15085]
2704 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
2705 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
2706 unimplemented.
2707
9ce3b2cb
AJ
2708 [BZ #15380]
2709 * stdlib/random.c (__initstate): Return NULL if
2710 __initstate fails.
2711
f1a24198 2712 [BZ #15086]
b1a36ceb
AJ
2713 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
2714 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
2715 RES_SNGLKUPREOP.
2716
7e7b6f36
AZ
27172013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2718
2719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2720
4d14f449
JM
27212013-04-29 Joseph Myers <joseph@codesourcery.com>
2722
2723 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
2724 of individual tests.
2725 (casin_test): Likewise.
2726 (casinh_test): Likewise.
2727
5b4217d7
JM
27282013-04-27 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #15409]
2731 * math/s_catan.c (__catan): Handle arguments with large real or
2732 imaginary part separately without squaring.
2733 * math/s_catanf.c (__catanf): Likewise.
2734 * math/s_catanh.c (__catanh): Likewise.
2735 * math/s_catanhf.c (__catanhf): Likewise.
2736 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2737 and redefine.
2738 (__catanhl): Handle arguments with large real or imaginary part
2739 separately without squaring.
2740 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2741 and redefine.
2742 (__catanl): Handle arguments with large real or imaginary part
2743 separately without squaring.
2744 * math/libm-test.inc (catan_test): Add more tests.
2745 (catanh_test): Likewise.
2746 * sysdeps/i386/fpu/libm-test-ulps: Update.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2748
4220c3ef
AJ
27492013-04-27 Andreas Jaeger <aj@suse.de>
2750
2751 [BZ #15007]
2752 * stdlib/stdlib.h: Update guards for qecvt.
2753 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
2754 <stdlib.h>.
2755
4721b2d1
AM
27562013-04-27 Allan McRae <allan@archlinux.org>
2757
2758 * sysdeps/i386/fpu/libm-test-ulps: Update.
2759
f0302940
JM
27602013-04-26 Joseph Myers <joseph@codesourcery.com>
2761
9457fd95
JM
2762 [BZ #15406]
2763 * math/s_catan.c: Include <float.h>.
2764 (__catan): Ensure underflow exception occurs for underflowed
2765 result.
2766 * math/s_catanf.c: Include <float.h>.
2767 (__catanf): Ensure underflow exception occurs for underflowed
2768 result.
2769 * math/s_catanh.c: Include <float.h>.
2770 (__catanh): Ensure underflow exception occurs for underflowed
2771 result.
2772 * math/s_catanhf.c: Include <float.h>.
2773 (__catanhf): Ensure underflow exception occurs for underflowed
2774 result.
2775 * math/s_catanhl.c: Include <float.h>.
2776 (__catanhl): Ensure underflow exception occurs for underflowed
2777 result.
2778 * math/s_catanl.c: Include <float.h>.
2779 (__catanl): Ensure underflow exception occurs for underflowed
2780 result.
2781 * math/libm-test.inc (catan_test): Add more tests.
2782 (catanh_test): Likewise.
2783
f0302940
JM
2784 [BZ #15405]
2785 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
2786 underflowed result.
2787 * math/s_ccoshf.c (__ccoshf): Likewise.
2788 * math/s_ccoshl.c (__ccoshl): Likewise.
2789 * math/s_csin.c (__csin): Likewise.
2790 * math/s_csinf.c (__csinf): Likewise.
2791 * math/s_csinh.c (__csinh): Likewise.
2792 * math/s_csinhf.c (__csinhf): Likewise.
2793 * math/s_csinhl.c (__csinhl): Likewise.
2794 * math/s_csinl.c (__csinl): Likewise.
2795 * math/libm-test.inc (ccos_test): Add more tests.
2796 (ccosh_test): Likewise.
2797 (csin_test): Likewise.
2798 (csinh_test): Likewise.
2799
aa630f59
AZ
28002013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801
2802 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
2803 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
2804 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
2805 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
2806 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
2807 powerpc/power5+/fpu folders.
2808 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
2809
2810
1b835983
MT
28112013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
2812
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2814
73709b26
JM
28152013-04-25 Joseph Myers <joseph@codesourcery.com>
2816
2817 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
2818 additions to variable.
2819 [$(config-machine) = x86_64] (modules-names): Likewise.
2820 ($(objpfx)tst-audit3): Remove dependency.
2821 ($(objpfx)tst-audit3.out): Likewise.
2822 ($(objpfx)tst-audit4): Likewise.
2823 ($(objpfx)tst-audit4.out): Likewise.
2824 ($(objpfx)tst-audit5): Likewise.
2825 ($(objpfx)tst-audit5.out): Likewise.
2826 ($(objpfx)tst-audit6): Likewise.
2827 ($(objpfx)tst-audit6.out): Likewise.
2828 ($(objpfx)tst-audit7): Likewise.
2829 ($(objpfx)tst-audit7.out): Likewise.
2830 (tst-audit3-ENV): Remove variable.
2831 (tst-audit4-ENV): Likewise.
2832 (tst-audit5-ENV): Likewise.
2833 (tst-audit6-ENV): Likewise.
2834 (tst-audit7-ENV): Likewise.
2835 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
2836 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
2837 addition to variable.
2838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
2839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
2840 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
2841 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
2842 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
2843 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
2844 tst-audit3, tst-audit4 and tst-audit5.
2845 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
2846 tst-audit6 and tst-audit7.
2847 [$(subdir) = elf] (modules-names): Add audit modules for those
2848 tests.
2849 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
2850 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
2851 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
2852 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
2853 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
2854 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
2855 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
2856 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
2857 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
2858 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
2859 [$(subdir) = elf] (tst-audit3-ENV): New variable.
2860 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
2861 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
2862 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
2863 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
2864 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
2865 Likewise.
2866 [$(subdir) = elf && $(config-cflags-avx) = yes]
2867 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
2868 [$(subdir) = elf && $(config-cflags-avx) = yes]
2869 (CFLAGS-tst-auditmod4a.c): Likewise.
2870 [$(subdir) = elf && $(config-cflags-avx) = yes]
2871 (CFLAGS-tst-auditmod4b.c): Likewise.
2872 [$(subdir) = elf && $(config-cflags-avx) = yes]
2873 (CFLAGS-tst-auditmod6b.c): Likewise.
2874 [$(subdir) = elf && $(config-cflags-avx) = yes]
2875 (CFLAGS-tst-auditmod6c.c): Likewise.
2876 [$(subdir) = elf && $(config-cflags-avx) = yes]
2877 (CFLAGS-tst-auditmod7b.c): Likewise.
2878 * elf/tst-audit3.c: Move to ...
2879 * sysdeps/x86_64/tst-audit3.c: ... here.
2880 * elf/tst-audit4.c: Move to ...
2881 * sysdeps/x86_64/tst-audit4.c: ... here.
2882 * elf/tst-audit5.c: Move to ...
2883 * sysdeps/x86_64/tst-audit5.c: ... here.
2884 * elf/tst-audit6.c: Move to ...
2885 * sysdeps/x86_64/tst-audit6.c: ... here.
2886 * elf/tst-audit7.c: Move to ...
2887 * sysdeps/x86_64/tst-audit7.c: ... here.
2888 * elf/tst-auditmod3a.c: Move to ...
2889 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
2890 * elf/tst-auditmod3b.c: Move to ...
2891 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
2892 * elf/tst-auditmod4a.c: Move to ...
2893 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
2894 * elf/tst-auditmod4b.c: Move to ...
2895 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
2896 * elf/tst-auditmod5a.c: Move to ...
2897 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
2898 * elf/tst-auditmod5b.c: Move to ...
2899 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
2900 * elf/tst-auditmod6a.c: Move to ...
2901 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
2902 * elf/tst-auditmod6b.c: Move to ...
2903 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
2904 * elf/tst-auditmod6c.c: Move to ...
2905 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
2906 * elf/tst-auditmod7a.c: Move to ...
2907 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
2908 * elf/tst-auditmod7b.c: Move to ...
2909 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
2910
1ef74943
PP
29112013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
2912
2913 [BZ #15366]
2914 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
2915 define unconditionally.
2916 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
2917 define unconditionally.
2918 (INT8_C, INT16_C, etc.): Likewise.
2919
93fd48c5
MR
29202013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
2921
ae9552cf
MR
2922 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
2923 __ehdr_start with hidden visibility.
2924
93fd48c5
MR
2925 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
2926
418601aa
CD
29272013-04-24 Carlos O'Donell <carlos@redhat.com>
2928
2929 * math/libm-test.inc (cos_test): Use accurate hex constants.
2930 (sincost_test): Likewise.
2931
2f38fbfe
JM
29322013-04-24 Joseph Myers <joseph@codesourcery.com>
2933
5e221800
JM
2934 * math/libm-test.inc (catan_test): Add more tests.
2935 (catanh_test): Likewise.
2936
77f143fd
JM
2937 * math/s_catanf.c (__catanf): Use suffixed floating-point
2938 constants.
2939 * math/s_catanhf.c (__catanhf): Likewise.
2940 * math/s_catanhl.c (__catanhl): Likewise.
2941 * math/s_catanl.c (__catanl): Likewise.
2942
2f38fbfe
JM
2943 [BZ #15394]
2944 * math/s_catan.c (__catan): Calculate imaginary part of result
2945 with log1p not log unless computing log of number close to 0.
2946 * math/s_catanf.c (__catanf): Likewise.
2947 * math/s_catanl.c (__catanl): Likewise.
2948 * math/s_catanh.c (__catanh): Calculate real part of result with
2949 log1p not log unless computing log of number close to 0.
2950 * math/s_catanhf.c (__catanhf): Likewise.
2951 * math/s_catanhl.c (__catanhl): Likewise.
2952 * math/libm-test.inc (catan_test): Add more tests.
2953 (catanh_test): Likewise.
2954 * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956
45d69176
SP
29572013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2958
2959 * benchtests/Makefile: Mention files in which fast and slow
2960 paths of math functions are implemented.
2961
87f51853
RM
29622013-04-23 Roland McGrath <roland@hack.frob.com>
2963
2964 * sysdeps/posix/timespec_get.c: New file.
2965
3c026539
AZ
29662013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
2969 POWER.
2970 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
2971 for POWER.
2972 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
2973 powerpc/power5/fpu folders.
2974 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
2975 * benchtests/Makefile: Add modf testcase.
2976 * benchtests/bench-modf.c: New file: Benchmark test for mo
2977
ff491d14
SP
29782013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2979
2980 [BZ #14888]
2981 * time/Makefile (tests): Add tst-strptime-whitespace.
2982 * time/strptime_l.c (get_number): Use ISSPACE.
2983 (__strptime_internal): Likewise.
2984 * time/tst-strptime-whitespace.c: New test case.
2985
7ed3f4e8
AS
29862013-04-23 Andreas Schwab <schwab@linux-m68k.org>
2987
2988 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
2989 member.
2990 (_nss_files_init): Set it here.
2991
5c95f7b6
HC
29922013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
2993
2994 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
2995 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
2996 unsigned.
2997
d34c9158
JBG
29982013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
2999
3000 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3001
2169712d
SP
30022013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3003
3004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3005 size just once.
3006
29c5de99
DM
30072013-04-21 David S. Miller <davem@davemloft.net>
3008
3009 * po/ru.po: Update Russion translation from translation project.
3010
ccdad15d
AC
30112013-04-17 Adam Conrad <adconrad@0c3.net>
3012
3013 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3014 and setfsgid.
3015
0f122b8d
CD
30162013-04-17 Carlos O'Donell <carlos@redhat.com>
3017
5c5b07da 3018 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3019 * configure: Regenerate.
5c5b07da 3020 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3021 Add example to error message.
3022 * sysdeps/i386/configure: Regenerate.
3023
037714dd
SP
30242013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3025
3026 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3027 slowtan.
3028 * benchtests/cos-inputs: New file.
3029 * benchtests/slowcos-inputs: New file.
3030 * benchtests/slowcos.c: New file.
3031 * benchtests/slowtan-inputs: New file.
3032 * benchtests/slowtan.c: New file.
3033 * benchtests/tan-inputs: New file.
3034
e913141d
RM
30352013-04-16 Roland McGrath <roland@hack.frob.com>
3036
3037 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3038 considered kosher.
3039
a2964074
SP
30402013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3041
4856bcd2
SP
3042 * benchtests/Makefile: Include cppflags-iterator.mk to add
3043 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3044
a2964074
SP
3045 * Makefile.in (bench-clean): New target.
3046 * benchtests/Makefile (bench-clean): Likewise.
3047
9fbf9aca
DH
30482013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3049
3050 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3051
207d1e2a
TS
30522013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3053
3054 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3055
306dfba9
AS
30562013-04-15 Andreas Schwab <schwab@suse.de>
3057
3058 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3059 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3060 * nscd/pwdcache.c (cache_addpw): Likewise.
3061 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3062 more than recsize.
3063
206a6699
SP
30642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3065
3066 * benchtests/Makefile (bench): Write all output to
3067 bench-out.tmp together.
3068
0582f6b3
AS
30692013-04-15 Andreas Schwab <schwab@suse.de>
3070
3071 * nscd/nscd.c (main): Don't fork again after closing files.
3072
acb4325f
SP
30732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3074
5cb26d0a
SP
3075 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3076
acb4325f
SP
3077 * benchtests/Rules (bench-deps): Collect dependencies into a
3078 single variable. Add Makefile to dependencies.
3079 ($(objpfx)bench-%.c): Depend on bench-deps.
3080
47792506
RM
30812013-04-12 Roland McGrath <roland@hack.frob.com>
3082 Xavier Roche <roche+kml2@exalead.com>
3083
3084 [BZ #15361]
3085 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3086 just that it's a file descriptor.
3087 * manual/llio.texi (Synchronizing AIO Operations): Update description
3088 for EBADF error from aio_fsync.
3089
8fc1bee5
SP
30902013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3091
3092 * Rules (bench): Move target definition...
3093 * benchtests/Makefile: ... here.
3094
aba5e333
CD
30952013-04-11 Carlos O'Donell <carlos@redhat.com>
3096
3097 * math/libm-test.inc (cos_test): Fix PI/2 test.
3098 (sincos_test): Likewise.
3099 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3100 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3101
273cdee8
AS
31022013-04-11 Andreas Schwab <schwab@suse.de>
3103
6ecec3b6
AS
3104 [BZ #13988]
3105 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3106 accept exponent character only when digits were seen.
3107 * stdio-common/Makefile (tests): Add bug26.
3108 * stdio-common/bug26.c: New file.
3109
273cdee8
AS
3110 [BZ #14293]
3111 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3112 non-freeable.
3113
8da491f5
SP
31142013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3115
01dc6df9
SP
3116 * Makeconfig (rtld-prefix): Define built linker prefix.
3117 * Rules (run-bench): Use it.
3118 * math/Makefile (run-regen-ulps): Likewise.
3119
8da491f5
SP
3120 * Rules (bench): Remove eval.
3121
abe7f530
SP
31222013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 Roland McGrath <roland@hack.frob.com>
3124 Ondrej Bilka <neleai@seznam.cz>
3125
3126 [BZ #15346]
3127 * time/getdate.c: Include ctype.h and alloca.h.
3128 (__getdate_r): Trim leading and trailing spaces of input.
3129 * time/tst-getdate.c (tests): Add tests with leading and
3130 trailing spaces.
3131
61c23e62
RM
31322013-04-08 Roland McGrath <roland@hack.frob.com>
3133
3134 [BZ #14280]
3135 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3136 when computing value.
3137
7208a313
CD
31382013-04-06 Carlos O'Donell <carlos@redhat.com>
3139
085b2d41
CD
3140 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3141 Use testrun.sh to run libm tests.
3142
7208a313
CD
3143 [BZ #15309]
3144 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3145
872c0acd
MM
31462013-04-06 Marko Myllynen <myllynen@redhat.com>
3147
3148 [BZ #15264]
3149 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3150
26510bdd
CD
31512013-04-06 Carlos O'Donell <carlos@redhat.com>
3152
3153 * Makefile.in (regen-ulps): New target.
3154 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3155 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3156 [ifneq (no,$(PERL)] (regen-ulps): New target.
3157 [ifeq (no,$(PERL)] (regen-ulps): New target.
3158 * math/libm-test.inc (ulps_file_name): Define.
3159 (output_dir): New variable.
3160 (options): Add "output-dir" option.
3161 (parse_opt): Handle 'o' case.
3162 (main): If output_dir is non-NULL use it as a prefix
3163 otherwise use "".
3164 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3165
a01f19c8
CD
31662013-04-06 Carlos O'Donell <carlos@redhat.com>
3167
3168 [BZ #10060, #10062]
3169 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3170 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3171 fail configure if __sync_val_compare_and_swap is not inlined.
3172 * sysdeps/i386/configure: Regenerate.
3173 * configure.in: Build for i686 when configured for i386.
3174 * configure: Regenerate.
3175 * README: Remove i386 reference.
3176
b7a329a5
CD
31772013-04-06 Carlos O'Donell <carlos@redhat.com>
3178
3179 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3181
bf0f50df
TS
31822013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3183
ee091edf
TS
3184 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3185 (lmsnanval): New variables.
3186 (F): Add conversion tests.
3187 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3188 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3189
a8b792d6
TS
3190 * stdio-common/tstdiomisc.c (F): Properly collect individual
3191 tests' results.
3192
a1cbf437
TS
3193 [BZ #14686, #15336]
3194 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3195 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3196 Instead, use input NaN values or generate a qNaN by arithmetic
3197 operation. Also fix bugs to comply with the standard.
3198 * math/libm-test.inc (remainder_test): Add more tests.
3199
8b43a0c9
TS
3200 [BZ #15335, #15342]
3201 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3203 input NaN values or generate a qNaN by arithmetic operation.
3204
d91da4ce
TS
3205 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3206 unreachable code.
3207
bf0f50df
TS
3208 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3209 definitions.
3210
05e166c8
JM
32112013-04-03 Joseph Myers <joseph@codesourcery.com>
3212
3213 [BZ #14478]
3214 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3215 underflowed result.
3216 * math/s_cexpf.c (__cexpf): Likewise.
3217 * math/s_cexpl.c (__cexpl): Likewise.
3218 * math/libm-test.inc (cexp_test): Add more tests.
3219
1cef1b19
AS
32202013-04-03 Andreas Schwab <schwab@suse.de>
3221
3222 [BZ #15330]
3223 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
3224 order arrays from heap if bigger than alloca cutoff.
3225
74d87055
TS
32262013-04-03 Thomas Schwinge <thomas@codesourcery.com>
3227
3228 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
3229 (SNAN_TESTS_double): Refer to GCC PR56831.
3230 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
3231 GCC PR56828.
3232
d755bba4
SP
32332013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3234
90d5d5bb
SP
3235 * Rules (bench): Move bench.out after the run is complete.
3236
73e0cd5d
SP
3237 * Rules (bench): Echo currently running benchmark.
3238
64aabd4b
SP
3239 * benchtests/Makefile (bench): Add atan and slowatan.
3240 * benchtests/atan-inputs: New file.
3241 * benchtests/slowatan-inputs: New file.
3242 * benchtests/slowatan.c: New file.
3243
c871eccd
SP
3244 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
3245 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
3246 its value.
3247
d755bba4
SP
3248 [BZ #15305]
3249 * sysdeps/unix/sysv/linux/kernel-features.h
3250 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
3251 __ASSUME_XFS_RESTRICTED_CHOWN.
3252 * sysdeps/unix/sysv/linux/pathconf.c
3253 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3254 Save and restore errno.
3255
52ce4860
JM
32562013-04-02 Joseph Myers <joseph@codesourcery.com>
3257
3258 [BZ #15327]
3259 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
3260 arguments using __kernel_casinh.
3261 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
3262 arguments using __kernel_casinhf.
3263 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
3264 arguments using __kernel_casinhl.
3265 * math/libm-test.inc (cacosh_test): Add more tests.
3266 * sysdeps/i386/fpu/libm-test-ulps: Update.
3267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3268
81f311c2
SP
32692013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3270
e7906a47
SP
3271 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
3272 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
3273
92e3664b
SP
3274 * bench/Makefile (bench): Add sin and slowsin.
3275 * benchtests/sin-inputs: New file.
3276 * benchtests/slowsin-inputs: New file.
3277 * benchtests/slowsin.c: New file.
3278
81f311c2
SP
3279 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
3280 (bench): Add slowexp and slowpow.
3281 (exp-ITER): Increase iterations.
3282 (pow-ITER): Likewise.
3283 * benchtests/exp-inputs: Change input.
3284 * benchtests/pow-inputs: Likewise.
3285 * benchtests/slowexp-inputs: New file.
3286 * benchtests/slowexp.c: New file.
3287 * benchtests/slowpow-inputs: New file.
3288 * benchtests/slowpow.c: New file.
3289
ab0f1aa9
AZ
32902013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3291
3292 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
3293 instructions.
3294 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3295 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3297 * benchtests/Makefile: Add rint benchtest.
3298 * benchtests/rint-inputs: Input for rint benchtest.
3299
57267616
TS
33002013-04-02 Thomas Schwinge <thomas@codesourcery.com>
3301
3302 * Versions.def (libm): Add GLIBC_2.18.
3303 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
3304 hidden libm prototypes.
3305 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
3306 * math/Makefile (libm-calls): Add s_issignaling.
3307 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
3308 __issignalingf, __issignalingl. Adjust all libm.abilist files.
3309 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
3310 declaration.
3311 * math/math.h [__USE_GNU] (issignaling): New macro.
3312 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
3313 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
3315 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
3316 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3317 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
3318 * manual/arith.texi (issignaling): New section.
3319 * manual/libm-err-tab.pl (@all_functions): Update comment.
3320 * math/gen-libm-test.pl (parse_args): Apply special handling for
3321 issignaling.
3322 * math/libm-test.inc (print_float, issignaling_test): New
3323 functions.
3324 (check_float_internal): Add issignaling checks.
3325 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
3326 default definition.
3327 * sysdeps/powerpc/math-tests.h: New file.
3328 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
3329 tests.
3330 * math/test-snan.c (TEST_FUNC): Likewise.
3331
6142896d
DM
33322013-03-30 David S. Miller <davem@davemloft.net>
3333
3334 * po/de.po: Update from translation team.
3335
ccc8cadf
JM
33362013-03-30 Joseph Myers <joseph@codesourcery.com>
3337
3338 [BZ #10357]
3339 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3340 imaginary part less than 1.0 and real part less than 0.5
3341 specially.
3342 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3343 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3344 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
3345 (cacos_test): Add more tests.
3346 (casin_test): Likewise.
3347 (casinh_test): Likewise.
3348 * sysdeps/i386/fpu/libm-test-ulps: Update.
3349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3350
0f6a8d4b
SP
33512013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3352
0d1029de
SP
3353 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
3354 ONE with its value.
3355
c2d94018
SP
3356 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
3357 (__pow_mp): Replace ONE and MONE with their values.
3358 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
3360 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3361 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
3362 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3363 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3364
27ec37f1
SP
3365 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
3366
a64d7e0e
SP
3367 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
3368 (__pow_mp): Replace ZERO and MZERO with their values.
3369 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3370 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3371 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3373 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3374 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
3375 (__sqr): Likewise.
3376
d26dd3eb
SP
3377 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
3378
0f6a8d4b
SP
3379 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
3380
e57b0c61
RM
33812013-03-28 Roland McGrath <roland@hack.frob.com>
3382
3383 * include/stdlib.h [!SHARED] (__call_tls_dtors):
3384 Declare with __attribute__ ((weak)).
3385 * stdlib/exit.c (__libc_atexit) [!SHARED]:
3386 Call __call_tls_dtors only if it's not NULL.
3387
356b3480
RM
33882013-03-28 Roland McGrath <roland@hack.frob.com>
3389
288f7d79
RM
3390 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
3391 didn't do it already, then set _dl_phdr and _dl_phnum based on the
3392 magic __ehdr_start linker symbol if it's defined.
3393 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
3394 them up here if it was already done.
3395
dc0a0263
RM
3396 * elf/dl-support.c (_dl_phdr): Make pointer to const.
3397 (_dl_aux_init): Use const in cast when setting it.
3398 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
3399 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
3400 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
3401
3d3436ae
RM
3402 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
3403 Declare them here.
3404 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
3405 * csu/libc-tls.c: Nor here.
3406 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
3407
356b3480
RM
3408 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
3409 (__libc_message): Never call vsyslog.
3410
b0f1246a
AM
34112013-03-28 Alan Modra <amodra@gmail.com>
3412
3413 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
3414 Define as empty.
3415 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
3416 Likewise.
3417
fbbe2b9a
AZ
34182013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419
3420 [BZ #15214]
3421 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
3422 underflow.
3423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3424
1728ab37
SP
34252013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3426
7a86be6e
SP
3427 [BZ #15304]
3428 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3429 Don't add gid passed as argument.
3430
1728ab37
SP
3431 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
3432
3a7182a1
JM
34332013-03-27 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #15307]
3436 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3437 imaginary part between 1.0 and 1.5 and real part less than 0.5
3438 specially.
3439 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3440 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3441 * math/libm-test.inc (cacos_test): Add more tests.
3442 (casin_test): Likewise.
3443 (casinh_test): Likewise.
3444 * sysdeps/i386/fpu/libm-test-ulps: Update.
3445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3446
6f2e90e7
SP
34472013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3448
5739f705
SP
3449 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
3450 constants.
3451 (norm): Likewise.
3452 (denorm): Likewise.
3453 (__dbl_mp): Likewise.
3454 (add_magnitudes): Likewise.
3455 (sub_magnitudes): Likewise.
3456 (__add): Likewise.
3457 (__sub): Likewise.
3458 (__mul): Likewise.
3459 (__sqr): Likewise.
3460 (__inv): Likewise.
3461 (__dvd): Likewise.
3462
e375e83d
SP
3463 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
3464 commented code.
3465 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
3466 (__dubcos): Likewise.
3467 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
3468 (__ieee754_acos): Likewise.
3469 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
3470 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
3471 (__exp1): Likewise.
3472 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3474 (log1): Likewise.
3475 (my_log2): Likewise.
3476 (checkint): Likewise.
3477 * sysdeps/ieee754/dbl-64/e_remainder.c
3478 (__ieee754_remainder): Likewise.
3479 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
3480 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
3481 (bsloww): Likewise.
3482 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3483
6f2e90e7
SP
3484 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3485 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
3486 MANTISSA_STORE_T to store computations on mantissa. Use
3487 macros for rounding and division.
3488 (denorm): Likewise.
3489 (__dbl_mp): Likewise.
3490 (add_magnitudes): Likewise.
3491 (sub_magnitudes): Likewise.
3492 (__mul): Likewise.
3493 (__sqr): Likewise.
3494 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3495 powers of two in terms of TWOPOW macro.
3496 (mp_no): Make type of mantissa as MANTISSA_T.
3497 [!RADIXI]: Define RADIXI.
3498 [!TWO52]: Define TWO52.
3499 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3500
fce14d4e
AZ
35012013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502
3503 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
3504 llroundl symbol when building for PPC32.
3505
9ad027fb
MW
35062013-03-24 Mark H Weaver <mhw@netris.org>
3507
3508 * manual/arith.texi (Normalization Functions): Fix prototypes for
3509 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
3510
e42a38dd
AZ
35112013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512
3513 [BZ #13889]
3514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
3515 high value to check if expl overflow.
3516 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
3517 to check for underflow and overflow.
3518 * math/libm-test.inc: Add exp test.
3519
2e0fb521
DL
35202013-03-21 Dmitry V. Levin <ldv@altlinux.org>
3521
3522 [BZ #11120]
3523 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
3524 with NOT_IN_libc.
3525
b5784d95
AZ
35262013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3527
3528 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
3529 symbol.
3530
5aa4a1a1
TS
35312013-03-21 Thomas Schwinge <thomas@codesourcery.com>
3532
bdef0be7
TS
3533 * math/gen-libm-test.pl (parse_args, special_functions): Properly
3534 wrap blocks consisting of several statements.
3535
5aa4a1a1
TS
3536 * sysdeps/generic/math-tests.h: New file.
3537 * sysdeps/i386/fpu/math-tests.h: Likewise.
3538 * math/test-snan.c: Include it.
3539 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
3540
98c48fe5
JM
35412013-03-21 Joseph Myers <joseph@codesourcery.com>
3542
3543 [BZ #15285]
3544 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
3545 (__ieee754_j0l): Do not improve calculations using cos of twice
3546 input for inputs above LDBL_MAX / 2.0L.
3547 (__ieee754_y0l): Likewise.
3548 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
3549 (__ieee754_j1l): Do not improve calculations using cos of twice
3550 input for inputs above LDBL_MAX / 2.0L.
3551 (__ieee754_y1l): Likewise.
3552 * math/libm-test.inc (j0_test): Add another test.
3553 (j1_test): Likewise.
3554 (y0_test): Likewise.
3555 (y1_test): Likewise.
3556 * sysdeps/i386/fpu/libm-test-ulps: Update.
3557
3775a8bc
SP
35582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3559
3560 * Rules ($(objpfx)bench-%.c): Include code from a C source
3561 file.
3562
0a1b2ae6
JM
35632013-03-21 Joseph Myers <joseph@codesourcery.com>
3564
3565 [BZ #15287]
3566 * math/k_casinh.c (__kernel_casinh): Handle arguments with
3567 imaginary part 1.0 and real part less than 0.5 specially.
3568 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3569 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3570 * math/libm-test.inc (cacos_test): Add more tests.
3571 (casin_test): Likewise.
3572 (casinh_test): Likewise.
3573 * sysdeps/i386/fpu/libm-test-ulps: Update.
3574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3575
b33d4ce4
SP
35762013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3577
3578 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
3579 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
3580
bef0b507
JM
35812013-03-20 Joseph Myers <joseph@codesourcery.com>
3582
3583 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
3584 * config.make.in (config-cflags-sse4): Remove variable.
3585 (config-cflags-avx): Likewise.
3586 (config-cflags-sse2avx): Likewise.
3587 (config-cflags-novzeroupper): Likewise.
3588 (config-asflags-i686): Likewise.
3589 (have-mfma4): Likewise.
3590 (have-as-vis3): Likewise.
3591 (MIG): Likewise.
3592 * configure.in (MIG): Do not AC_SUBST.
3593 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
3594 (libc_cv_cc_sse4): Do not AC_SUBST.
3595 (libc_cv_cc_avx): Likewise.
3596 (libc_cv_cc_sse2avx): Likewise.
3597 (libc_cv_cc_novzeroupper): Likewise.
3598 (libc_cv_cc_fma4): Likewise.
3599 (libc_cv_as_i686): Likewise.
3600 (libc_cv_sparc_as_vis3): Likewise.
3601 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
3602 LIBC_CONFIG_VAR.
3603 (config-asflags-i686): Likewise.
3604 (config-cflags-avx): Likewise.
3605 (config-cflags-sse2avx): Likewise.
3606 (have-mfma4): Likewise.
3607 (config-cflags-novzeroupper): Likewise.
3608 * sysdeps/mach/configure.in (MIG): Likewise.
3609 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
3610 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
3611 LIBC_CONFIG_VAR.
3612 (config-cflags-avx): Likewise.
3613 (config-cflags-sse2avx): Likewise.
3614 (have-mfma4): Likewise.
3615 (config-cflags-novzeroupper): Likewise.
3616 * configure: Regenerated.
3617 * sysdeps/i386/configure: Likewise.
3618 * sysdeps/mach/configure: Likewise.
3619 * sysdeps/sparc/configure: Likewise.
3620 * sysdeps/x86_64/configure: Likewise.
3621
912cc4b3
RM
36222013-03-20 Roland McGrath <roland@hack.frob.com>
3623
3624 [BZ #14812]
3625 * locale/programs/localedef.c (options): Put N_ translation marker
3626 on argument names, not just descriptions.
3627
04eed2b0
MS
36282013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3629
3630 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
3631
a065ceff
OB
36322013-03-20 Ondřej Bílka <neleai@seznam.cz>
3633
9bb2a810 3634 [BZ #14176]
a065ceff
OB
3635 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
3636
a600e5ce
RM
36372013-03-19 Roland McGrath <roland@hack.frob.com>
3638
3639 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
3640 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
3641 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
3642 [!BEFORE_ABORT] (before_abort): New function.
3643 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
3644 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
3645 (writev_for_fatal): New function.
3646 (WRITEV_FOR_FATAL): New macro; call that.
3647 (backtrace_and_maps): New function.
3648 (BEFORE_ABORT): New macro; call that.
3649 (struct str_list): Type removed.
3650 (__libc_message, __libc_fatal): Functions removed.
3651 Include <sysdeps/posix/libc_fatal.c> instead.
3652
6b18bea6
JM
36532013-03-19 Joseph Myers <joseph@codesourcery.com>
3654
3655 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
3656 constants.
3657 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
3658 double constants.
3659
aaa8cb4b
AS
36602013-03-19 Andreas Schwab <schwab@suse.de>
3661
44673770
AS
3662 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
3663 * sysdeps/gnu/configure: Regenerate.
3664
aaa8cb4b
AS
3665 * configure.in: Substitute libc_cv_rtlddir.
3666 * configure: Regenerate.
3667 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
3668 * Makeconfig (rtlddir, inst_rtlddir): New variables.
3669 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
3670 * elf/Makefile (install-others, CFLAGS-interp.c)
3671 (ldso_install, common-ldd-rewrite): Likewise.
3672 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
3673 $(inst_slibdir)/$(rtld-installed-name).
3674 * scripts/rellns-sh: Add -p option.
3675 * Makerules (make-shlib-link): Use rellns-sh to get relative name
3676 for source.
3677
d3cfc668
SP
36782013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3679
3680 * manual/nptl.texi: Renamed to ...
3681 * manual/threads.texi: ... this.
3682 * manual/Makefile (chapters): Update.
3683
0e2b9cdd
RM
36842013-03-18 Roland McGrath <roland@hack.frob.com>
3685
3686 [BZ #14812]
3687 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
3688 on argument names, not just descriptions.
0e2b9cdd
RM
3689 * malloc/memusagestat.c (options): Likewise.
3690 * nss/getent.c (options): Likewise.
63270c24
RM
3691
36922013-03-18 Benno Schulenberg <bensberg@justemail.net>
3693
3694 [BZ #14812]
3695 * iconv/iconv_prog.c (options): Put N_ translation marker
3696 on argument names, not just descriptions.
3697 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 3698
b2e1393c
OB
36992013-03-18 Ondrej Bilka <neleai@seznam.cz>
3700
3701 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
3702 implementation which is faster on all x86_64 architectures.
3703 Tested on AMD, Intel Nehalem, SNB, IVB.
3704 * sysdeps/x86_64/strnlen.S: Likewise.
3705
3706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3707 Remove all multiarch strlen and strnlen versions.
3708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3709 Remove strlen and strnlen related parts.
3710
3711 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
3712 Inline strlen part.
3713 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3714
3715 * sysdeps/x86_64/multiarch/strlen.S: Remove.
3716 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
3717 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
3718 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
3719 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3720 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
3721
ec4ff04d
CD
37222013-03-17 Carlos O'Donell <carlos@redhat.com>
3723
3724 * manual/memory.texi (Malloc Tunable Parameters):
3725 Sort parameters alphabetically. Add comments for missing entries.
3726
cd18e90a
DM
37272013-03-17 David S. Miller <davem@davemloft.net>
3728
3729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3730
2a185d32
JM
37312013-03-16 Joseph Myers <joseph@codesourcery.com>
3732
d2f9799e
JM
3733 [BZ #15283]
3734 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
3735 for arguments at most half maximum finite value.
3736 * math/libm-test.inc (j0_test): Add more tests.
3737 (j1_test): Likewise.
3738 (y0_test): Likewise.
3739 (y1_test): Likewise.
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3742
2a185d32
JM
3743 [BZ #14155]
3744 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
3745 1 / x and functions P and Q for arguments above 0x1p256L.
3746 (__ieee754_y0l): Likewise.
3747 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3748 (__ieee754_y1l): Likewise.
3749 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
3750 (j1_test): Likewise.
3751 (y0_test): Likewise.
3752 (y1_test): Likewise.
3753
6cbec759
TS
37542013-03-16 Thomas Schwinge <thomas@codesourcery.com>
3755
3756 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
3757 variable.
3758
bc16e260
RM
37592013-03-15 Roland McGrath <roland@hack.frob.com>
3760
aefc9b8c
RM
3761 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
3762 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
3763 zero since it's initialized to EXEC_PAGESIZE.
3764
bc16e260
RM
3765 * sysdeps/unix/sysv/linux/ldsodefs.h
3766 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
3767 * sysdeps/generic/ldsodefs.h: ... here.
3768
a57da955
TS
37692013-03-15 Thomas Schwinge <thomas@codesourcery.com>
3770
af00a34d
TS
3771 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
3772
495ded2c
TS
3773 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
3774 math/test-snan.c.
3775 * math/test-snan.c: Renamed from
3776 sysdeps/powerpc/fpu/test-powerpc-snan.c.
3777 * math/Makefile (tests): Add test-snan.
3778 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
3779 test-powerpc-snan.
3780
777b0332
TS
3781 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
3782 SUFFIX. Initialize qNaN_var with __builtin_nan family of
3783 functions.
3784 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
3785 __builtin_nan family of functions.
3786 * math/libm-test.inc (initialize): Initialize qnan_value with
3787 __builtin_nan family of functions.
3788 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
3789 Remove variables.
3790 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
3791 Remove functions.
3792 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
3793 storage class. Initialize qNaN_var and sNaN_var with
3794 __builtin_nan and __builtin_nans families of functions,
3795 respectively.
3796
64d063b8
TS
3797 * math/libm-test.inc (acosh_test): Also test with qNaN input.
3798 (sqrt_test): Remove duplicate test with qNaN input.
3799 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
3800 (round_test, signbit_test, significand_test): Note missing +/-Inf
3801 as well as qNaN tests.
3802
67e971f1
TS
3803 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
3804 qNaN_var. Fix a few strings, too.
3805 * math/libm-test.inc (nan_value): Rename to qnan_value.
3806 * math/gen-libm-test.pl (%beautify): Adjust to that.
3807 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
3808 * math/test-misc.c (main): Likewise.
3809 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
3810 to __qnan_bytes, and __qnan_union, respectively.
3811 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
3812 Likewise.
3813 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
3814 and lqnanval, respectively.
3815 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
3816 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
3817 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
3818 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
3819
64487e12
TS
3820 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
3821 * math/test-misc.c (main) [__x86_64__]: Enable test for long
3822 doubles.
3823
e015e27b
TS
3824 * math/test-misc.c (main): Fix copy'n'pastos.
3825 * misc/tst-efgcvt.c (special): Likewise.
3826
a57da955
TS
3827 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
3828 Remove declarations.
3829
1e380345
SP
38302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3831
3832 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
3833 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
3834 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
3835 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
3836
ef26eece
AZ
38372013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3838
3839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
3840 macro to return vdso values correctly in IFUNC implementations.
3841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3842 Optimization by using IFUNC.
3843
8cfdb7e0
SP
38442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3845 Richard Henderson <rth@redhat.com>
3846 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3847
3848 * Makefile.in (bench): New target.
3849 * NEWS: Mention the benchmark framework.
3850 * Rules (bench): Likewise.
3851 (binaries-bench): Generate binaries for functions to
3852 benchmark.
3853 * benchtests/Makefile: New makefile for benchmark tests.
3854 * benchtests/bench-skeleton.c: New skeleton file for benchmark
3855 programs.
3856 * benchtests/exp-inputs: New input file for EXP function.
3857 * benchtests/pow-inputs: New input file for POW function.
3858 * scripts/bench.pl: New script to generate source files for
3859 benchmark programs.
3860
bcda9880
SP
38612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3862
d22ca8cd
SP
3863 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
3864 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
3865 computations on mantissa. Use macros for rounding and
3866 division.
3867 (denorm): Likewise.
3868 (__dbl_mp): Likewise.
3869 (add_magnitudes): Likewise.
3870 (sub_magnitudes): Likewise.
3871 (__mul): Likewise.
3872 (__sqr): Likewise.
3873 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
3874 powers of two in terms of TWOPOW macro.
3875 (mp_no): Make type of mantissa as MANTISSA_T.
3876 [!RADIXI]: Define RADIXI.
3877 [!TWO52]: Define TWO52.
3878 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
3879
bcda9880
SP
3880 * manual/nptl.texi (cindex): Modify threads to pthreads.
3881
06d5adfb
JM
38822013-03-15 Joseph Myers <joseph@codesourcery.com>
3883
3884 * sysdeps/x86_64/preconfigure: Regenerated.
3885
41c7328e
JM
38862013-03-14 Joseph Myers <joseph@codesourcery.com>
3887
3888 [BZ #14155]
3889 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
3890 0x1p28 and above.
3891 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
3892 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
3893 0x1p28 and above.
3894 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
3895 * math/libm-test.inc (j0_test): Do not allow one spurious
3896 underflow exception.
3897 (y1_test): Likewise.
3898
e25cfa60
SP
38992013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3900
0409959c
SP
3901 * manual/Makefile (chapters): Add nptl.
3902 * manual/debug.texi (Debugging Support): Add link to Threads
3903 chapter.
3904 * manual/nptl.texi: New file.
3905
e25cfa60
SP
3906 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
3907
58a1335e
PB
39082013-03-14 Petr Baudis <pasky@ucw.cz>
3909
3910 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
3911 for non-NULL pointer before the memory validity test. Pointed
3912 out by Holger Brunck <holger.brunck@keymile.com>.
3913
9dc7c64f
AS
39142013-03-13 Andreas Schwab <schwab@suse.de>
3915
3916 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
3917 instead of .os.
3918
54206aa6
JM
39192013-03-13 Joseph Myers <joseph@codesourcery.com>
3920
3921 * timezone/zic.c: Update from tzcode 2013b.
3922
e98cdb38
CD
39232013-03-12 Carlos O'Donell <carlos@redhat.com>
3924
3925 * manual/install.texi (Configuring and compiling):
3926 Mention i686 and i586.
3927 * INSTALL: Regenerate.
3928
9967e003
RM
39292013-03-12 Roland McGrath <roland@hack.frob.com>
3930
3931 * sysdeps/init_array/elf-init.c: New file.
3932 * csu/elf-init.c
3933 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
3934 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
3935
3936 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
3937 __gmon_start__ as global, but as static with a .preinit_array pointer.
3938 * sysdeps/init_array/gmon-start.c: New file. Use that.
3939 * sysdeps/init_array/crti.S: New file, empty except for comments.
3940 * sysdeps/init_array/crtn.S: Likewise.
3941
e6b5a293 39422013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
3943
3944 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
3945 definining bcopy.
80f844c9
OB
3946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3947 Remove Prefer_SSE_for_memop.
3948 * sysdeps/x86_64/multiarch/init-arch.h: Remove
3949 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
3950 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
3951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3952 memset-x86-64.
80f844c9 3953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 3954 Remove bzero, memset ifunc support.
80f844c9
OB
3955 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
3956 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
3957 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3958 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3959
fb6b0fcb
AS
39602013-03-11 Andreas Schwab <schwab@suse.de>
3961
3962 [BZ #15234]
3963 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
3964 by SHLIB_COMPAT.
3965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
3966 (GLIBC_2.16): Remove pthread_atfork.
3967
3e6bd4b1
PP
39682013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3969
3970 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
3971 (ptestcases.h): Likewise.
3972
222d7f00
RM
39732013-03-08 Roland McGrath <roland@hack.frob.com>
3974
3975 * Makeconfig ($(common-objpfx)config.status): Depend on
3976 sysdeps/*/preconfigure{,.in} too.
3977
1ba4f030
JM
39782013-03-08 Joseph Myers <joseph@codesourcery.com>
3979
a222d91a
JM
3980 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
3981 (__free_hook): Use void * instead of __malloc_ptr_t.
3982 (__malloc_hook): Likewise.
3983 (__realloc_hook): Likewise.
3984 (__memalign_hook): Likewise.
3985 (__after_morecore_hook): Likewise.
3986 * malloc/arena.c (save_malloc_hook): Likewise.
3987 (save_free_hook): Likewise.
3988 * malloc/hooks.c (malloc_hook_ini): Likewise.
3989 (realloc_hook_ini): Likewise.
3990 (memalign_hook_ini): Likewise.
3991 * malloc/malloc.c (malloc_hook_ini): Likewise.
3992 (realloc_hook_ini): Likewise.
3993 (memalign_hook_ini): Likewise.
3994 (__free_hook): Likewise.
3995 (__malloc_hook): Likewise.
3996 (__realloc_hook): Likewise.
3997 (__memalign_hook): Likewise.
3998 (__libc_malloc): Likewise.
3999 (__libc_free): Likewise.
4000 (__libc_realloc): Likewise.
4001 (__libc_memalign): Likewise.
4002 (__libc_valloc): Likewise.
4003 (__libc_pvalloc): Likewise.
4004 (__libc_calloc): Likewise.
4005 (__posix_memalign): Likewise.
4006 * malloc/morecore.c (__sbrk): Likewise.
4007 (__default_morecore): Likewise.
4008
5cc45e10
JM
4009 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4010
dd54b864
JM
4011 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4012 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4013 __malloc_ptrdiff_t.
4014
1ba4f030
JM
4015 * malloc/malloc.h (__malloc_size_t): Remove macro.
4016 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4017 __malloc_size_t.
4018 (old_memalign_hook): Likewise.
4019 (old_realloc_hook): Likewise.
4020 (struct hdr): Likewise.
4021 (flood): Likewise.
4022 (mallochook): Likewise.
4023 (memalignhook): Likewise.
4024 (reallochook): Likewise.
4025 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4026 (tr_old_realloc_hook): Likewise.
4027 (tr_old_memalign_hook): Likewise.
4028 (tr_mallochook): Likewise.
4029 (tr_reallochook): Likewise.
4030 (tr_memalignhook): Likewise.
4031
edf66e57
AZ
40322013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4033
4034 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4035 default_ldbl_pack and using as default implementation.
4036 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4037 implementation.
4038 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4039 redundant definition.
4040 (ldbl_insert_mantissa): Likewise.
4041 (ldbl_canonicalize): Likewise.
4042 (ldbl_nearbyint): Likewise.
4043 (ldbl_pack): Rename to ldbl_pack_ppc.
4044 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4045 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4046 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4047
6d9145d8
SP
40482013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4049
4050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4051 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4052 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4053 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4055 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4056 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4057 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4058
4dd4e157
AJ
40592013-03-07 Andreas Jaeger <aj@suse.de>
4060
4061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4062 bits/mman-linux.h.
4063
adbb8027
SP
40642013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4065
ce544b5b
SP
4066 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4067 Include mpa.h and declare __MPEXP.
4068 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4069 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4070 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4072 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4073 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4074 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4075
4cc149fd
SP
4076 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4077 (__slowpow): Use long double EXPL and LOGL functions to
4078 compute POW.
4079 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4080 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4081 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4082 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4083 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4084 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4085
e6ebd4a7
SP
4086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4087 intermediate variable to calculate exponent.
4088 (__sqr): Likewise.
4089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4090 Likewise.
4091 (__sqr): Likewise.
4092
82a9811d
SP
4093 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4094 [!NO__SQR]: Define __sqr.
4095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4096 and NO__SQR. Remove all code except __mul and __sqr. Include
4097 sysdeps/ieee754/dbl-64/mpa.c.
4098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4099
adbb8027
SP
4100 [BZ #12723]
4101 * posix/Makefile (tests): Add tst-pathconf.
4102 * posix/tst-pathconf.c: New test case.
4103 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4104 _PC_PIPE_BUF.
4105 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4106
39120df9
PF
41072013-03-06 Patsy Franklin <pfrankli@redhat.com>
4108
4109 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4110
67525cb8
AJ
41112013-03-06 Andreas Jaeger <aj@suse.de>
4112
664a9ce4
AJ
4113 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4114 definition via __MAP_ANONYMOUS.
4115
8e39047d
AJ
4116 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4117 it's not part of Linux headers.
4118
67525cb8
AJ
4119 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4120 (MAP_HUGE_MASK): Define.
4121
4122 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4123 Define.
4124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4126 Define.
4127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4128 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4129 Define.
4130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4131 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4132 Define.
4133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4134
4135 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4136 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4137 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4138 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4139 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4140 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4141
4142 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4143 Handle f2fs.
4144
4145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4146 Handle f2fs and efivarfs.
4147
4148 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4149 f2fs.
4150
4151 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4152 (EFIVARFS_MAGIC): Add.
4153 (F2FS_LINK_MAX): Add.
4154
e1b42695
PP
41552013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4156
4157 * stdio-common/vfprintf.c: Replace __builtin_expect with
4158 __glibc_unlikely.
4159
2d67d91a
JM
41602013-03-06 Joseph Myers <joseph@codesourcery.com>
4161
4162 [BZ #13550]
4163 * sysdeps/generic/bp-sym.h: Remove file.
4164 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4165 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4166 <bp-sym.h> and <bp-asm.h>.
4167 (__longjmp): Don't use BP_SYM.
4168 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4169 and <bp-asm.h>.
4170 (memcpy): Don't use BP_SYM.
4171 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4172 <bp-sym.h> and <bp-asm.h>.
4173 (memcpy): Don't use BP_SYM.
4174 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4175 <bp-asm.h>.
4176 (memcpy): Don't use BP_SYM.
4177 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4178 <bp-asm.h>.
4179 (memset): Don't use BP_SYM.
4180 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4181 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4182 (__bzero): Don't use BP_SYM.
4183 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4184 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4185 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4186 <bp-sym.h> and <bp-asm.h>.
4187 (memcmp): Don't use BP_SYM. Remove comment about bounded
4188 pointers.
4189 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4190 <bp-sym.h> and <bp-asm.h>.
4191 (memcpy): Don't use BP_SYM.
4192 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4193 <bp-sym.h> and <bp-asm.h>.
4194 (memset): Don't use BP_SYM.
4195 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4196 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4197 (__bzero): Don't use BP_SYM.
4198 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4199 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4200 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4201 <bp-sym.h> and <bp-asm.h>.
4202 (strncmp): Don't use BP_SYM. Remove comment about bounded
4203 pointers.
4204 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4205 <bp-sym.h> and <bp-asm.h>.
4206 (memcpy): Don't use BP_SYM.
4207 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4208 <bp-sym.h> and <bp-asm.h>.
4209 (memset): Don't use BP_SYM.
4210 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4211 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4212 (__bzero): Don't use BP_SYM.
4213 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4214 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4215 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4216 <bp-sym.h> and <bp-asm.h>.
4217 (__memchr): Don't use BP_SYM.
4218 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4219 <bp-sym.h> and <bp-asm.h>.
4220 (memcmp): Don't use BP_SYM. Remove comment about bounded
4221 pointers.
4222 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
4223 <bp-sym.h> and <bp-asm.h>.
4224 (memcpy): Don't use BP_SYM.
4225 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
4226 <bp-sym.h> and <bp-asm.h>.
4227 (__mempcpy): Don't use BP_SYM.
4228 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
4229 <bp-sym.h> and <bp-asm.h>.
4230 (__memrchr): Don't use BP_SYM.
4231 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
4232 <bp-sym.h> and <bp-asm.h>.
4233 (memset): Don't use BP_SYM.
4234 (__bzero): Likewise.
4235 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
4236 <bp-sym.h> and <bp-asm.h>.
4237 (__rawmemchr): Don't use BP_SYM.
4238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
4239 <bp-sym.h> and <bp-asm.h>.
4240 (__STRCMP): Don't use BP_SYM.
4241 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
4242 <bp-sym.h> and <bp-asm.h>.
4243 (strchr): Don't use BP_SYM.
4244 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
4245 <bp-sym.h> and <bp-asm.h>.
4246 (__strchrnul): Don't use BP_SYM.
4247 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
4248 <bp-sym.h> and <bp-asm.h>.
4249 (strlen): Don't use BP_SYM.
4250 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
4251 <bp-sym.h> and <bp-asm.h>.
4252 (strncmp): Don't use BP_SYM. Remove comment about bounded
4253 pointers.
4254 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
4255 <bp-sym.h> and <bp-asm.h>.
4256 (__strnlen): Don't use BP_SYM.
4257 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
4258 <bp-sym.h> and <bp-asm.h>.
4259 (__GI__setjmp): Don't use BP_SYM.
4260 (_setjmp): Likewise.
4261 (__sigsetjmp): Likewise.
4262 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
4263 (L(start_addresses)): Don't use BP_SYM.
4264 (_start): Likewise.
4265 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
4266 <bp-asm.h>.
4267 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
4268 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
4269 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4270 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4271 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
4272 <bp-asm.h>.
4273 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
4274 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
4275 about bounded pointers.
4276 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4277 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4278 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
4279 <bp-asm.h>.
4280 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4281 about bounded pointers. Remove GKM FIXME comments.
4282 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4283 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
4284 <bp-asm.h>.
4285 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
4286 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
4287 Remove GKM FIXME comments.
4288 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4289 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4290 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
4291 <bp-asm.h>.
4292 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
4293 about bounded pointers. Remove GKM FIXME comment.
4294 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
4295 and <bp-asm.h>.
4296 (strncmp): Don't use BP_SYM. Remove comment about bounded
4297 pointers.
4298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
4299 <bp-sym.h> and <bp-asm.h>.
4300 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
4302 <bp-sym.h> and <bp-asm.h>.
4303 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4304 comment.
4305
cdcf361f
PP
43062013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4307
4308 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
4309 call free(NULL).
4310
3c4a2b15
DM
43112013-03-05 David S. Miller <davem@davemloft.net>
4312
4313 * po/es.po: Update from translation team.
4314
cdcf361f 43152013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
4316
4317 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
4318 <bits/mman-linux.h>.
4319 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4320 is fine.
4321 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
4322 <bits/mman-linux.h> to end of file.
4323 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4324 is fine.
4325 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
4326 <bits/mman-linux.h> to end of file.
4327 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
4328 is fine.
4329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
4330 <bits/mman-linux.h> to end of file.
4331
4332 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
4333 (MCL_CURRENT, MCL_FUTURE): Define here.
4334
5f67c04f
AK
43352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4336
8a4473cc 4337 [BZ #15232]
5f67c04f
AK
4338 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
4339 attribute_hidden.
4340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4341
c3e94a95
AK
43422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4343
4344 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
4345 fourth parameter needed for rt_sigprocmask syscall.
4346 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4347 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4348 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
4349 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4350 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4351 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
4352
cfb6382a
JM
43532013-03-04 Joseph Myers <joseph@codesourcery.com>
4354
4355 [BZ #13550]
4356 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
4357 comment about bounded pointers.
4358 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
4359 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
4360
539d8e01
AJ
43612013-03-04 Andreas Jaeger <aj@suse.de>
4362
4363 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
4364 common definitions.
4365
4366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
4367 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
4368 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
4369 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
4371 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4372
2e167a70 43732013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
4374
4375 [BZ #15055]
4376 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4377 __ieee754_sqrl instead of __sqrl.
4378
68508633
JM
43792013-03-01 Joseph Myers <joseph@codesourcery.com>
4380
4381 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
4382 * sysdeps/powerpc/fpu_control.h: ... here.
4383 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
4384 * sysdeps/powerpc/bits/fenvinline.h: ... here.
4385 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
4386 * sysdeps/powerpc/bits/mathinline.h: ... here.
4387
7775448e
RM
43882013-03-01 Roland McGrath <roland@hack.frob.com>
4389
4390 * elf/dl-hwcaps.c (_dl_important_hwcaps):
4391 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
4392 to just [NEED_DL_SYSINFO_DSO].
4393 * elf/dl-support.c: Likewise.
4394 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4395 * elf/rtld.c (dl_main): Likewise.
4396 * elf/setup-vdso.h (setup_vdso): Likewise.
4397 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
4398 * sysdeps/unix/sysv/linux/dl-sysdep.c
4399 (_dl_discover_osversion): Likewise.
4400
4e9b5995
CD
44012013-03-01 Carlos O'Donell <carlos@redhat.com>
4402
4403 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
4404 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4405
e23872c8
SP
44062013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4407
e5c74c63
SP
4408 * NEWS: Mention libm performance improvements and non-x86 PI
4409 futex support.
4410
e23872c8
SP
4411 * csu/libc-start.c (__pthread_initialize_minimal): Change
4412 function arguments.
4413 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
4414
b5510883
JM
44152013-02-28 Joseph Myers <joseph@codesourcery.com>
4416
4417 [BZ #13550]
4418 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
4419 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
4420 <bp-sym.h> and <bp-asm.h>.
4421 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4422 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
4423 and <bp-asm.h>.
4424 (memcpy): Don't use BP_SYM.
4425 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
4426 <bp-asm.h>.
4427 (__mpn_add_n): Don't use BP_SYM.
4428 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
4429 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
4430 and <bp-asm.h>.
4431 (__mpn_addmul_1): Don't use BP_SYM.
4432 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4433 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
4434 <bp-sym.h>.
4435 (_setjmp): Don't use BP_SYM.
4436 (__novmx_setjmp): Likewise.
4437 (__GI__setjmp): Likewise.
4438 (__vmx_setjmp): Likewise.
4439 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
4440 <bp-sym.h>.
4441 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
4442 (__bzero): Don't use BP_SYM.
4443 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4444 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4445 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
4446 <bp-sym.h> and <bp-asm.h>.
4447 (memcpy): Don't use BP_SYM.
4448 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
4449 <bp-sym.h> and <bp-asm.h>.
4450 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4451 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
4452 <bp-sym.h> and <bp-asm.h>.
4453 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
4454 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
4455 <bp-asm.h>.
4456 (__mpn_lshift): Don't use BP_SYM.
4457 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4458 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
4459 <bp-asm.h>.
4460 (memset): Don't use BP_SYM.
4461 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4462 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4463 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
4464 <bp-asm.h>.
4465 (__mpn_mul_1): Don't use BP_SYM.
4466 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4467 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
4468 <bp-sym.h> and <bp-asm.h>.
4469 (memcmp): Don't use BP_SYM.
4470 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
4471 <bp-sym.h> and <bp-asm.h>.
4472 (memcpy): Don't use BP_SYM.
4473 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
4474 <bp-sym.h> and <bp-asm.h>.
4475 (memset): Don't use BP_SYM.
4476 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
4477 <bp-sym.h> and <bp-asm.h>.
4478 (strncmp): Don't use BP_SYM.
4479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
4480 <bp-sym.h> and <bp-asm.h>.
4481 (memcpy): Don't use BP_SYM.
4482 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
4483 <bp-sym.h> and <bp-asm.h>.
4484 (memset): Don't use BP_SYM.
4485 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
4486 <bp-sym.h> and <bp-asm.h>.
4487 (__memchr): Don't use BP_SYM.
4488 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
4489 <bp-sym.h> and <bp-asm.h>.
4490 (memcmp): Don't use BP_SYM.
4491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
4492 <bp-sym.h> and <bp-asm.h>.
4493 (memcpy): Don't use BP_SYM.
4494 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
4495 <bp-sym.h> and <bp-asm.h>.
4496 (__mempcpy): Don't use BP_SYM.
4497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
4498 <bp-sym.h> and <bp-asm.h>.
4499 (__memrchr): Don't use BP_SYM.
4500 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
4501 <bp-sym.h> and <bp-asm.h>.
4502 (memset): Don't use BP_SYM.
4503 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
4504 <bp-sym.h> and <bp-asm.h>.
4505 (__rawmemchr): Don't use BP_SYM.
4506 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
4507 <bp-sym.h> and <bp-asm.h>.
4508 (__STRCMP): Don't use BP_SYM.
4509 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
4510 <bp-sym.h> and <bp-asm.h>.
4511 (strchr): Don't use BP_SYM.
4512 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
4513 <bp-sym.h> and <bp-asm.h>.
4514 (__strchrnul): Don't use BP_SYM.
4515 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
4516 <bp-sym.h> and <bp-asm.h>.
4517 (strlen): Don't use BP_SYM.
4518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
4519 <bp-sym.h> and <bp-asm.h>.
4520 (strncmp): Don't use BP_SYM.
4521 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
4522 <bp-sym.h> and <bp-asm.h>.
4523 (__strnlen): Don't use BP_SYM.
4524 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
4525 <bp-asm.h>.
4526 (__mpn_rshift): Don't use BP_SYM.
4527 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
4528 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
4529 <bp-sym.h> and <bp-asm.h>.
4530 (__sigsetjmp): Don't use BP_SYM.
4531 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
4532 (L(start_addresses)): Don't use BP_SYM.
4533 (_start): Likewise.
4534 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
4535 <bp-asm.h>.
4536 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
4537 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4538 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4539 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
4540 <bp-asm.h>.
4541 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
4542 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
4543 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
4544 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
4545 <bp-asm.h>.
4546 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4547 comments.
4548 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
4549 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
4550 <bp-asm.h>.
4551 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
4552 FIXME comments.
4553 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
4554 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
4555 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
4556 <bp-asm.h>.
4557 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
4558 comment.
4559 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
4560 and <bp-asm.h>.
4561 (strncmp): Don't use BP_SYM,
4562 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
4563 <bp-asm.h>.
4564 (__mpn_sub_n): Don't use BP_SYM.
4565 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
4566 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
4567 and <bp-asm.h>.
4568 (__mpn_submul_1): Don't use BP_SYM.
4569 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
4571 <bp-sym.h> and <bp-asm.h>.
4572 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
4574 <bp-sym.h> and <bp-asm.h>.
4575 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
4576 comment.
4577
8d19fe64
SP
45782013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4579
4580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
4581 Use ZK to minimize writes to Z.
4582 (sub_magnitudes): Simplify code a bit.
4583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
4584 Use ZK to minimize writes to Z.
4585 (sub_magnitudes): Simplify code a bit.
4586
85bd816a
RM
45872013-02-27 Roland McGrath <roland@hack.frob.com>
4588
4589 * csu/gmon-start.c: Add special exception to license text.
4590
b5977bf2
RH
45912013-02-27 Richard Henderson <rth@redhat.com>
4592
4593 * scripts/config.guess: Update from config.git.
4594 * scripts/config.sub: Likewise.
4595
11d6e2f2
SP
45962013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4597
09c14ed2
SP
4598 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
4599
a688864e
SP
4600 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
4601
6295157a
SP
4602 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
4603
b8de2202
SP
4604 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
4605
11d6e2f2
SP
4606 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
4607
7e80ddb8
RM
46082013-02-26 Roland McGrath <roland@hack.frob.com>
4609
4610 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
4611 [$(build-shared = yes].
7e80ddb8 4612
7da6d9ed
SP
46132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4614
45f05884
SP
4615 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
4616 (__mul): Reduce iterations for calculating mantissa.
4617
2236d359
SP
4618 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
4619 MPTWO.
4620 (__mpranred): Likewise.
4621
7da6d9ed
SP
4622 [BZ #15160]
4623 * malloc/memusagestat.c (main): Draw graphs for heap and stack
4624 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
4625
b7688c42
PE
46262013-02-26 Paul Eggert <eggert@cs.ucla.edu>
4627
4628 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
4629 Define __attribute__.
4630
53a5c423
SP
46312013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4632
4633 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
4634 unused.
4635 * posix/regex_internal.h (__attribute): Remove.
4636 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
4637 (re_string_context_at): Likewise.
4638 (bitset_not): Use __attribute__ and mark function as possibly
4639 unused.
4640 (bitset_merge): Likewise.
4641 (bitset_mask): Likewise.
4642 (re_string_char_size_at): Likewise.
4643 (re_string_wchar_at): Likewise.
4644 (re_string_elem_size_at): Likewise.
4645
60f5a8b5
SP
46462013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4647
2a983a2e
SP
4648 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
4649 code.
4650 (cc32): Likewise.
4651
e69804d1
SP
4652 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
4653 (__acr): Likewise.
4654 (__cpy): Likewise.
4655 (norm): Likewise.
4656 (denorm): Likewise.
4657 (__dbl_mp): Likewise.
4658 (add_magnitudes): Likewise.
4659 (sub_magnitudes): Likewise.
4660 (__mul): Likewise.
4661 (__inv): Likewise.
4662
2f22a1e8
SP
4663 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
4664 style.
4665
8930ddc7
SP
4666 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
4667 style.
4668
dc60cb11
SP
4669 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
4670 code.
4671
60f5a8b5
SP
4672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
4673 up changes with default code.
4674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
4675 Likewise.
4676
b4d1fd33
AM
46772013-02-24 Allan McRae <allan@archlinux.org>
4678
faf6f8bc
AM
4679 * manual/socket.texi (The Internet Namespace): Order menu items
4680 to match that in the file.
4681
b4d1fd33
AM
4682 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
4683 node listing of the info page menu.
4684
2366713d
JM
46852013-02-21 Joseph Myers <joseph@codesourcery.com>
4686
4687 [BZ #13550]
4688 * sysdeps/i386/bp-asm.h: Remove file.
4689 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4690 (PARMS): Do not use macros from bp-asm.h.
4691 (S1): Likewise.
4692 (S2): Likewise.
4693 (SIZE): Likewise.
4694 (__mpn_add_n): Do not use BP_SYM
4695 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
4696 "bp-asm.h".
4697 (PARMS): Do not use macros from bp-asm.h.
4698 (S1): Likewise.
4699 (SIZE): Likewise.
4700 (__mpn_addmul_1): Do not use BP_SYM
4701 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
4702 "bp-asm.h".
4703 (PARMS): Do not use macros from bp-asm.h.
4704 (SIGMSK): Likewise.
4705 (_setjmp): Likewise. Do not use BP_SYM.
4706 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
4707 "bp-asm.h".
4708 (PARMS): Do not use macros from bp-asm.h.
4709 (SIGMSK): Likewise.
4710 (setjmp): Likewise. Do not use BP_SYM.
4711 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
4712 "bp-asm.h".
4713 (PARMS): Do not use macros from bp-asm.h.
4714 (__frexp): Do not use BP_SYM.
4715 (frexp): Likewise.
4716 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
4717 "bp-asm.h".
4718 (PARMS): Do not use macros from bp-asm.h.
4719 (__frexpf): Do not use BP_SYM.
4720 (frexpf): Likewise.
4721 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
4722 "bp-asm.h".
4723 (PARMS): Do not use macros from bp-asm.h.
4724 (__frexpl): Do not use BP_SYM.
4725 (frexpl): Likewise.
4726 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
4727 "bp-asm.h".
4728 (PARMS): Do not use macros from bp-asm.h.
4729 (__remquo): Do not use BP_SYM.
4730 (remquo): Likewise.
4731 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
4732 "bp-asm.h".
4733 (PARMS): Do not use macros from bp-asm.h.
4734 (__remquof): Do not use BP_SYM.
4735 (remquof): Likewise.
4736 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
4737 "bp-asm.h".
4738 (PARMS): Do not use macros from bp-asm.h.
4739 (__remquol): Do not use BP_SYM.
4740 (remquol): Likewise.
4741 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
4742 "bp-asm.h".
4743 (PARMS): Do not use macros from bp-asm.h.
4744 (DEST): Likewise.
4745 (SRC): Likewise.
4746 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
4747 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
4748 "bp-asm.h".
4749 (PARMS): Do not use macros from bp-asm.h.
4750 (strlen): Do not use BP_SYM.
4751 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
4752 "bp-asm.h".
4753 (PARMS): Do not use macros from bp-asm.h.
4754 (S1): Likewise.
4755 (S2): Likewise.
4756 (SIZE): Likewise.
4757 (__mpn_add_n): Do not use BP_SYM.
4758 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
4759 "bp-asm.h".
4760 (PARMS): Do not use macros from bp-asm.h.
4761 (S1): Likewise.
4762 (SIZE): Likewise.
4763 (__mpn_addmul_1): Do not use BP_SYM.
4764 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
4765 weak_alias.
4766 (bzero): Likewise.
4767 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
4768 "bp-asm.h".
4769 (PARMS): Do not use macros from bp-asm.h.
4770 (S): Likewise.
4771 (SIZE): Likewise.
4772 (__mpn_lshift): Do not use BP_SYM.
4773 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
4774 "bp-asm.h".
4775 (PARMS): Do not use macros from bp-asm.h.
4776 (DEST): Likewise.
4777 (SRC): Likewise.
4778 (LEN): Likewise.
4779 (memcpy): Likewise. Do not use BP_SYM.
4780 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
4781 libc_hidden_def and weak_alias.
4782 (mempcpy): Do not use BP_SYM in weak_alias.
4783 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
4784 "bp-asm.h".
4785 (PARMS): Do not use macros from bp-asm.h.
4786 (DEST): Likewise.
4787 (LEN): Likewise.
4788 [!BZERO_P] (CHR): Likewise.
4789 (memset): Likewise. Do not use BP_SYM.
4790 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
4791 "bp-asm.h".
4792 (PARMS): Do not use macros from bp-asm.h.
4793 (S1): Likewise.
4794 (SIZE): Likewise.
4795 (__mpn_mul_1): Do not use BP_SYM.
4796 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
4797 "bp-asm.h".
4798 (PARMS): Do not use macros from bp-asm.h.
4799 (S): Likewise.
4800 (SIZE): Likewise.
4801 (__mpn_rshift): Do not use BP_SYM.
4802 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
4803 "bp-asm.h".
4804 (PARMS): Do not use macros from bp-asm.h.
4805 (STR): Likewise.
4806 (CHR): Likewise.
4807 (strchr): Likewise. Do not use BP_SYM.
4808 (index): Do not use BP_SYM in weak_alias.
4809 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
4810 "bp-asm.h".
4811 (PARMS): Do not use macros from bp-asm.h.
4812 (DEST): Likewise.
4813 (SRC): Likewise.
4814 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
4815 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
4816 "bp-asm.h".
4817 (PARMS): Do not use macros from bp-asm.h.
4818 (strlen): Do not use BP_SYM.
4819 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
4820 "bp-asm.h".
4821 (PARMS): Do not use macros from bp-asm.h.
4822 (S1): Likewise.
4823 (S2): Likewise.
4824 (SIZE): Likewise.
4825 (__mpn_sub_n): Do not use BP_SYM.
4826 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
4827 "bp-asm.h".
4828 (PARMS): Do not use macros from bp-asm.h.
4829 (S1): Likewise.
4830 (SIZE): Likewise.
4831 (__mpn_submul_1): Do not use BP_SYM.
4832 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
4833 "bp-asm.h".
4834 (PARMS): Do not use macros from bp-asm.h.
4835 (S1): Likewise.
4836 (S2): Likewise.
4837 (SIZE): Likewise.
4838 (__mpn_add_n): Do not use BP_SYM.
4839 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
4840 weak_alias.
4841 (bzero): Likewise.
4842 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
4843 "bp-asm.h".
4844 (PARMS): Do not use macros from bp-asm.h.
4845 (BLK2): Likewise.
4846 (LEN): Likewise.
4847 (memcmp): Do not use BP_SYM.
4848 (bcmp): Do not use BP_SYM in weak_alias.
4849 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
4850 "bp-asm.h".
4851 (PARMS): Do not use macros from bp-asm.h.
4852 (DEST): Likewise.
4853 (SRC): Likewise.
4854 (LEN): Likewise.
4855 (memcpy): Likewise. Do not use BP_SYM.
4856 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
4857 "bp-asm.h".
4858 (PARMS): Do not use macros from bp-asm.h.
4859 (DEST): Likewise.
4860 (SRC): Likewise.
4861 (LEN): Likewise.
4862 (memmove): Likewise. Do not use BP_SYM.
4863 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
4864 "bp-asm.h".
4865 (PARMS): Do not use macros from bp-asm.h.
4866 (DEST): Likewise.
4867 (SRC): Likewise.
4868 (LEN): Likewise.
4869 (__mempcpy): Likewise. Do not use BP_SYM.
4870 (mempcpy): Do not use BP_SYM in weak_alias.
4871 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
4872 "bp-asm.h".
4873 (PARMS): Do not use macros from bp-asm.h.
4874 (DEST): Likewise.
4875 (LEN): Likewise.
4876 [!BZERO_P] (CHR): Likewise.
4877 (memset): Likewise. Do not use BP_SYM.
4878 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
4879 "bp-asm.h".
4880 (PARMS): Do not use macros from bp-asm.h.
4881 (STR2): Likewise.
4882 (strcmp): Do not use BP_SYM.
4883 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
4884 "bp-asm.h".
4885 (PARMS): Do not use macros from bp-asm.h.
4886 (STR): Likewise.
4887 (DELIM): Likewise.
4888 [USE_AS_STRTOK_R] (SAVE): Likewise.
4889 (FUNCTION): Likewise. Do not use BP_SYM.
4890 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
4891 aliases.
4892 (strtok_r): Likewise.
4893 (__GI___strtok_r): Likewise.
4894 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4895 (PARMS): Do not use macros from bp-asm.h.
4896 (S): Likewise.
4897 (SIZE): Likewise.
4898 (__mpn_lshift): Do not use BP_SYM.
4899 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4900 (PARMS): Do not use macros from bp-asm.h.
4901 (STR): Likewise.
4902 (CHR): Likewise.
4903 (__memchr): Do not use BP_SYM.
4904 (memchr): Do not use BP_SYM in weak_alias.
4905 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4906 (PARMS): Do not use macros from bp-asm.h.
4907 (BLK2): Likewise.
4908 (LEN): Likewise.
4909 (memcmp): Do not use BP_SYM.
4910 (bcmp): Do not use BP_SYM in weak_alias.
4911 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
4912 (PARMS): Do not use macros from bp-asm.h.
4913 (S1): Likewise.
4914 (SIZE): Likewise.
4915 (__mpn_mul_1): Do not use BP_SYM.
4916 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
4917 "bp-asm.h".
4918 (PARMS): Do not use macros from bp-asm.h.
4919 (STR): Likewise.
4920 (CHR): Likewise.
4921 (__rawmemchr): Do not use BP_SYM.
4922 (rawmemchr): Do not use BP_SYM in weak_alias.
4923 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
4924 (PARMS): Do not use macros from bp-asm.h.
4925 (S): Likewise.
4926 (SIZE): Likewise.
4927 (__mpn_rshift): Do not use BP_SYM.
4928 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
4929 (PARMS): Do not use macros from bp-asm.h.
4930 (SIGMSK): Likewise.
4931 (__sigsetjmp): Likewise. Do not use BP_SYM.
4932 * sysdeps/i386/start.S: Do not include "bp-sym.h".
4933 (_start): Do not use BP_SYM.
4934 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
4935 (PARMS): Do not use macros from bp-asm.h.
4936 (DEST): Likewise.
4937 (SRC): Likewise.
4938 (__stpcpy): Likewise. Do not use BP_SYM.
4939 (stpcpy): Do not use BP_SYM in weak_alias.
4940 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
4941 "bp-asm.h".
4942 (PARMS): Do not use macros from bp-asm.h.
4943 (DEST): Likewise.
4944 (SRC): Likewise.
4945 (LEN): Likewise.
4946 (__stpncpy): Likewise. Do not use BP_SYM.
4947 (stpncpy): Do not use BP_SYM in weak_alias.
4948 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
4949 (PARMS): Do not use macros from bp-asm.h.
4950 (STR): Likewise.
4951 (CHR): Likewise.
4952 (strchr): Likewise. Do not use BP_SYM.
4953 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
4954 "bp-asm.h".
4955 (PARMS): Do not use macros from bp-asm.h.
4956 (STR): Likewise.
4957 (CHR): Likewise.
4958 (__strchrnul): Likewise. Do not use BP_SYM.
4959 (strchrnul): Do not use BP_SYM in weak_alias.
4960 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
4961 "bp-asm.h".
4962 (PARMS): Do not use macros from bp-asm.h.
4963 (STOP): Likewise.
4964 (strcspn): Do not use BP_SYM.
4965 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
4966 "bp-asm.h".
4967 (PARMS): Do not use macros from bp-asm.h.
4968 (STR): Likewise.
4969 (STOP): Likewise.
4970 (strpbrk): Likewise. Do not use BP_SYM.
4971 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
4972 "bp-asm.h".
4973 (PARMS): Do not use macros from bp-asm.h.
4974 (STR): Likewise.
4975 (CHR): Likewise.
4976 (strrchr): Likewise. Do not use BP_SYM.
4977 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
4978 (PARMS): Do not use macros from bp-asm.h.
4979 (SKIP): Likewise.
4980 (strspn): Do not use BP_SYM.
4981 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
4982 (PARMS): Do not use macros from bp-asm.h.
4983 (STR): Likewise.
4984 (DELIM): Likewise.
4985 (SAVE): Likewise.
4986 (FUNCTION): Likewise. Do not use BP_SYM.
4987 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
4988 aliases.
4989 (strtok_r): Likewise.
4990 (__GI___strtok_r): Likewise.
4991 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
4992 (PARMS): Do not use macros from bp-asm.h.
4993 (S1): Likewise.
4994 (S2): Likewise.
4995 (SIZE): Likewise.
4996 (__mpn_sub_n): Do not use BP_SYM.
4997 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
4998 "bp-asm.h".
4999 (PARMS): Do not use macros from bp-asm.h.
5000 (S1): Likewise.
5001 (SIZE): Likewise.
5002 (__mpn_submul_1): Do not use BP_SYM.
5003 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5004 <bp-sym.h>.
5005 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5006 and <bp-asm.h>.
5007 (PARMS): Do not use macros from bp-asm.h.
5008 (FLAGS): Likewise.
5009 (PTID): Likewise.
5010 (TLS): Likewise.
5011 (CTID): Likewise.
5012 (__clone): Do not use BP_SYM.
5013 (clone): Do not use BP_SYM in weak_alias.
5014 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5015 and <bp-asm.h>.
5016 (PARMS): Do not use macros from bp-asm.h.
5017 (LEN): Likewise.
5018 (__mmap64): Do not use BP_SYM.
5019 (mmap64): Do not use BP_SYM in weak_alias.
5020 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5021 <bp-sym.h> and <bp-asm.h>.
5022 (PARMS): Do not use macros from bp-asm.h.
5023 (__posix_fadvise64_l64): Do not use BP_SYM.
5024 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5025 (PARMS): Do not use macros from bp-asm.h.
5026 (NSOPS): Likewise.
5027 (semtimedop): Do not use BP_SYM.
5028 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5029 and <bp-asm.h>.
5030
582a3cff
AM
50312013-02-21 Allan McRae <allan@archlinux.org>
5032
5033 * manual/message.texi (Charset conversion in gettext):
5034 Move @end statement to beginning of line.
5035
bab8a695
SP
50362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5037
80945231
SP
5038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5039 static.
5040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5041 Likewise.
5042
bab8a695
SP
5043 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5044 (denorm): Likewise.
5045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5047
e21d7aa7
AK
50482013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5049
5050 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5051 tail-call to the resolved function if pltexit isn't needed.
5052
4c7a4263
SP
50532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5054
5055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5056 or Y being zero as being unlikely.
5057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5058 Likewise.
5059
41f49342
CD
50602013-02-20 Carlos O'Donell <carlos@redhat.com>
5061
5062 * manual/nss.texi (System Databases and Name Service Switch):
5063 Remove frobnicate @pxref.
5064
50022a93
TS
50652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5066
5067 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5068 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5069
08cbd996
PM
50702013-02-20 Petr Machata <pmachata@redhat.com>
5071
5072 * elf/elf.h (R_ARM_TARGET1): New macro.
5073 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5074 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5075 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5076 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5077 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5078 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5079 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5080 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5081 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5082 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5083 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5084 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5085 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5086 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5087 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5088 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5089 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5090 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5091 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5092 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5093 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5094 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5095 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5096 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5097 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5098 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5099 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5100 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5101 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5102 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5103 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5104 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5105 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5106 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5107 (R_ARM_THM_GOT_BREL12): Likewise.
5108 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5109 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5110 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5111 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5112 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5113 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5114 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5115 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5116 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5117
c7b275d6
TS
51182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5119
5120 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5121 __attribute_used__ to __attribute__ ((unused)).
5122
20cd7fb3
SP
51232013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5124
5125 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5126 powerpc mpa.c.
5127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5128 comment formatting.
5129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5130
92945b52
JM
51312013-02-19 Joseph Myers <joseph@codesourcery.com>
5132
5133 [BZ #13550]
5134 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5135 Remove macro.
5136 (ENTER): Remove both macro definitions.
5137 (LEAVE): Likewise.
5138 (CHECK_BOUNDS_LOW): Likewise.
5139 (CHECK_BOUNDS_HIGH): Likewise.
5140 (CHECK_BOUNDS_BOTH): Likewise.
5141 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5142 (RETURN_BOUNDED_POINTER): Likewise.
5143 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5144 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5145 (POP_ERRNO_LOCATION_RETURN): Likewise.
5146 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5147 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5148 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5149 macros.
5150 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5151 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5152 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5153 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5154 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5155 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5156 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5157 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5158 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5159 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5160 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5161 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5162 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5163 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5164 removed macros.
5165 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5166 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5167 macros.
5168 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5169 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5170 * sysdeps/i386/i586/memset.S (memset): Likewise.
5171 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5172 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5173 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5174 macros.
5175 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5176 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5177 Change uses of L(2) to L(out).
5178 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5179 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5180 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5181 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5182 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5183 removed macros.
5184 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5185 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5186 macros.
5187 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5188 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5189 (RETURN): Do not use macro LEAVE.
5190 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5191 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5192 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5193 * sysdeps/i386/i686/memset.S (memset): Likewise.
5194 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5195 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5196 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5197 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5198 Likewise.
5199 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5200 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5201 L(1_2) and L(1_3) into L(1).
5202 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5203 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5204 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5205 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5206 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5207 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5208 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5209 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5210 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5211 macros.
5212 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5213 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5214 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5215 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5216 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5217 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5218 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5219 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5220 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5221 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5222 * sysdeps/i386/strrchr.S (strrchr): Likewise.
5223 * sysdeps/i386/strspn.S (strspn): Likewise.
5224 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
5225 conditional code.
5226 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5227 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
5228 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5229 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
5230 L(1_3) into L(1_1).
5231 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
5232 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5233 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
5234 macros.
5235 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5236
2389741a
JJ
52372013-02-19 Jakub Jelinek <jakub@redhat.com>
5238
5239 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
5240 macro.
5241
2016b3cd
SP
52422013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5243
e4f22324
SP
5244 * math/atest-exp.c (exp_mpn): Remove ROUND.
5245 * math/atest-exp2.c (exp_mpn): Likewise.
5246 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
5247
2016b3cd
SP
5248 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
5249 * stdlib/tst-tls-atexit-lib.c: Likewise.
5250 * stdlib/tst-tls-atexit.c: Likewise.
5251
4be9b544
MF
52522013-02-18 Mike Frysinger <vapier@gentoo.org>
5253
5254 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
5255 and __attribute_alloc_size__.
5256
2f62b9ee
MF
52572013-02-18 Mike Frysinger <vapier@gentoo.org>
5258
5259 * include/programs/xmalloc.h: Change __attribute_alloc_size to
5260 __attribute_alloc_size__.
5261 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
5262 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
5263
6ff444c4
MF
52642013-02-18 Mike Frysinger <vapier@gentoo.org>
5265
5266 * include/programs/xmalloc.h: New file.
5267 * catgets/gencat.c: Include it.
5268 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
5269 * elf/pldd.c: Likewise.
5270 * iconv/iconv_charmap.c: Likewise.
5271 * iconv/iconvconfig.c: Likewise.
5272 * iconv/strtab.c: Likewise.
5273 * locale/programs/locale.c: Likewise.
5274 * locale/programs/localedef.h: Likewise.
5275 * locale/programs/simple-hash.c: Likewise.
5276 * nscd/nscd.h: Likewise.
5277 * nss/makedb.c: Likewise.
5278 * sysdeps/generic/ldconfig.h: Likewise.
5279
be179c8a
SP
52802013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5281
ba384f6e
SP
5282 * Versions.def: Add GLIBC_2.18.
5283 * include/link.h (struct link_map): New member l_tls_dtor_count.
5284 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
5285 (__call_tls_dtors): Likewise.
5286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
5287 __cxa_thread_atexit_impl.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5289 Likewise.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5291 Likewise.
5292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5293 Likewise.
5294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5295 Likewise.
5296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
5297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
5298 Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
5300 Likewise.
5301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
5302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5303 Likewise.
5304 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
5305 (tests): Add test case tst-tls-atexit.
5306 (modules-names): Add shared library for tst-tls-atexit.
5307 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
5308 (GLIBC_PRIVATE): Add __call_tls_dtors.
5309 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
5310 for libstdc++.
5311 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
5312 * stdlib/tst-tls-atexit.c: New test case.
5313 * stdlib/tst-tls-atexit-lib.c: New test case.
5314
ffaa74cf 5315 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 5316
be179c8a
SP
5317 * elf/Versions (ld): Add _dl_find_dso_for_object.
5318 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
5319 * elf/dl-open.c (_dl_find_dso_for_object): New function.
5320 (dl_open_worker): Use _dl_find_dso_for_object.
5321 * elf/dl-sym.c (do_sym): Likewise.
5322 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
5323
f78b5caa
AK
53242013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5325
5326 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
5327 Syntactic changes only.
5328 (_dl_runtime_profile): Do a tail-call to the resolved function.
5329
29691210
JM
53302013-02-17 Joseph Myers <joseph@codesourcery.com>
5331
5332 [BZ #13550]
5333 * sysdeps/x86_64/bp-asm.h: Remove file.
5334 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
5335 <bp-sym.h> and <bp-asm.h>.
5336 (__clone): Do not use BP_SYM.
5337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
5338 <bp-sym.h> and <bp-asm.h>.
5339 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5340 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
5341 "bp-asm.h".
5342 (_setjmp): Do not use BP_SYM.
5343 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
5344 "bp-asm.h".
5345 (setjmp): Do not use BP_SYM.
5346 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
5347 libc_hidden_def.
5348 (mempcpy): Do not use BP_SYM in weak_alias.
5349 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
5350 "bp-asm.h".
5351 (strchr): Do not use BP_SYM.
5352 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
5353 "bp-asm.h".
5354 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
5355 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
5356 (_start): Do not use BP_SYM.
5357 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
5358 "bp-asm.h".
5359 (strcat): Do not use BP_SYM.
5360 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
5361 "bp-asm.h".
5362 (STRCMP): Do not use BP_SYM.
5363 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
5364 "bp-asm.h".
5365 (STRCPY): Do not use BP_SYM.
5366 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
5367 "bp-asm.h".
5368 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
5369 "bp-asm.h".
5370 (FUNCTION): Do not use BP_SYM.
5371 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
5372 weak_alias.
5373 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
5374
f238fd19
AJ
53752013-02-17 Andreas Jaeger <aj@suse.de>
5376
5377 * time/Versions: Sort entries.
5378 * string/Versions: Likewise.
5379 * resolv/Versions: Likewise.
5380 * posix/Versions: Likewise.
5381 * iconv/Versions: Likewise.
5382 * elf/Versions: Likewise.
5383 * wcsmbs/Versions: Likewise.
5384
bd07f23c 53852013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 5386
22af19f9
SP
5387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
5388 loop termination condition.
5389
4709fe76
SP
5390 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
5391 variable to calculate EZ.
5392 (__sqr): Likewise.
2d0e0f29
SP
5393
5394 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
5395 the lower precision input.
5396
daaa7713
JM
53972013-02-15 Joseph Myers <joseph@codesourcery.com>
5398
5399 [BZ #13550]
5400 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
5401 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
5402 (run-via-rtld-prefix): Do not handle %-bp tests.
5403 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
5404 (all-object-suffixes): Remove .ob.
5405 (bppfx): Remove variable.
5406 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
5407 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
5408 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
5409 [$(build-bounded) = yes] (libtype.ob): Likewise.
5410 * Makerules (elide-routines.ob): Remove variable.
5411 (do-tests-clean): Do not handle *-bp.out.
5412 (common-mostlyclean): Do not handle *-bp and *-bp.out.
5413 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
5414 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
5415 (tests): Do not include $(tests-bp.out).
5416 (xtests): Do not include $(xtests-bp.out).
5417 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
5418 [$(build-bounded) = yes] ($(addprefix
5419 $(objpfx),$(binaries-bounded))): Remove rule.
5420 ($(objpfx)%-bp.out): Remove rule.
5421 * config.make.in (build-bounded): Remove variable.
5422 * crypt/Makefile [$(build-bounded) = yes]
5423 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
5424 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
5425 append to variable.
5426 [$(build-bounded) = yes] (install-lib): Likewise.
5427 [$(build-bounded) = yes] (generated): Likewise.
5428 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
5429 Remove rule.
5430 * intl/Makefile [$(build-bounded) = yes]
5431 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
5432 * math/Makefile [$(build-bounded) = yes]
5433 ($(tests:%=$(objpfx)%-bp): Likewise.
5434 * misc/Makefile [$(build-bounded) = yes]
5435 ($(objpfx)tst-tsearch-bp): Likewise.
5436 * nptl/Makeconfig (bounded-thread-library): Remove variable.
5437 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
5438 Remove dependency.
5439 * string/Makefile (o-objects.ob): Remove variable.
5440 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
5441 (CFLAGS-.ob): Remove variable.
5442 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
5443 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
5444 both definitions of variable.
5445 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
5446 (ASFLAGS-.ob): Remove variable.
5447
e97ed6dd
JM
54482013-02-14 Joseph Myers <joseph@codesourcery.com>
5449
2bdd4ca6
JM
5450 [BZ #13550]
5451 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
5452 Remove __BOUNDED_POINTERS__ from condition.
5453 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
5454 * string/bits/string2.h [!__NO_STRING_INLINES &&
5455 !__BOUNDED_POINTERS__]: Likewise.
5456 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
5457 Likewise.
5458 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
5459 Remove conditional code.
5460 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
5461 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
5462 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
5463 condition.
5464
e97ed6dd
JM
5465 [BZ #13550]
5466 * csu/libc-start.c: Do not include <bp-sym.h>.
5467 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
5468 * elf/dl-open.c: Do not include <bp-sym.h>.
5469 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
5470 * math/fegetenv.c: Do not include <bp-sym.h>.
5471 (fegetenv): Do not use BP_SYM in versioned symbols.
5472 * nptl/sysdeps/pthread/bits/libc-lockP.h
5473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
5474 <bp-sym.h>.
5475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5476 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
5477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5478 (__pthread_mutex_destroy): Likewise.
5479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5480 (__pthread_mutex_lock): Likewise.
5481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5482 (__pthread_mutex_trylock): Likewise.
5483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5484 (__pthread_mutex_unlock): Likewise.
5485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5486 (__pthread_mutexattr_init): Likewise.
5487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5488 (__pthread_mutexattr_destroy): Likewise.
5489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5490 (__pthread_mutexattr_settype): Likewise.
5491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5492 (__pthread_rwlock_init): Likewise.
5493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5494 (__pthread_rwlock_destroy): Likewise.
5495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5496 (__pthread_rwlock_rdlock): Likewise.
5497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5498 (__pthread_rwlock_tryrdlock): Likewise.
5499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5500 (__pthread_rwlock_wrlock): Likewise.
5501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5502 (__pthread_rwlock_trywrlock): Likewise.
5503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5504 (__pthread_rwlock_unlock): Likewise.
5505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5506 (__pthread_key_create): Likewise.
5507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5508 (__pthread_setspecific): Likewise.
5509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5510 (__pthread_getspecific): Likewise.
5511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
5512 Likewise.
5513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5514 (_pthread_cleanup_push_defer): Likewise.
5515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5516 (_pthread_cleanup_pop_restore): Likewise.
5517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
5518 (pthread_setcancelstate): Likewise.
5519 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
5520 <bp-sym.h>.
5521 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
5522 (memchr): Do not use BP_SYM in weak_alias.
5523 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
5524 (fegetenv): Do not use BP_SYM in versioned symbols.
5525 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
5526 (fesetenv): Do not use BP_SYM in versioned symbols.
5527 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5528 (feupdateenv): Do not use BP_SYM in versioned symbols.
5529 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5530 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5531 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
5532 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
5533 (open64): Do not use BP_SYM in weak_alias.
5534 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
5535 (fegetenv): Do not use BP_SYM in versioned symbols.
5536 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
5537 (fesetenv): Do not use BP_SYM in versioned symbols.
5538 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
5539 (feupdateenv): Do not use BP_SYM in versioned symbols.
5540 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
5541 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
5542 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
5543 (feraiseexcept): Do not use BP_SYM in versioned symbols.
5544 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
5545 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
5546 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
5547 <bp-sym.h>.
5548 (__libc_start_main): Do not use BP_SYM.
5549
d6752ccd
SP
55502013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5551
cb57ce60
SP
5552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
5553 redundant return line.
5554 (norm): Likewise.
5555 (denorm): Likewise.
5556 (dbl_mp): Likewise.
5557 (sub_magnitudes): Likewise.
5558 (__add): Likewise.
5559 (__sub): Likewise.
5560 (__mul): Likewise.
5561 (__inv): Likewise.
5562 (__dvd): Likewise.
5563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
5564 (norm): Likewise.
5565 (denorm): Likewise.
5566 (dbl_mp): Likewise.
5567 (sub_magnitudes): Likewise.
5568 (__add): Likewise.
5569 (__sub): Likewise.
5570 (__mul): Likewise.
5571 (__inv): Likewise.
5572 (__dvd): Likewise.
5573
f414520d
SP
5574 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
5575 instead of __mul.
5576 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5577 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
5578 (cc32): Likewise.
5579
d6752ccd
SP
5580 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
5581 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
5582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
5583 of __mul for squares.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
5585 function
5586 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
5587 Likewise.
5588 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
5589 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5590
70d9946a
JM
55912013-02-13 Joseph Myers <joseph@codesourcery.com>
5592
5593 [BZ #13550]
5594 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
5595 code.
5596 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
5597 prototype or function definition. Rename ubp_* variables and
5598 parameters. Remove argv definitions conditional on
5599 [__BOUNDED_POINTERS__].
5600 * debug/backtrace.c (__backtrace): Do not use __unbounded.
5601 * elf/dl-runtime.c (_dl_fixup): Likewise.
5602 * include/set-hooks.h (RUN_HOOK): Likewise.
5603 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
5604 definition.
5605 * string/strcpy.c (strcpy): Do not use __unbounded.
5606 * sysdeps/generic/frame.h (struct layout): Likewise.
5607 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
5608 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
5609 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
5610 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
5611 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
5612 (__backtrace): Likewise.
5613 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
5614 use __ptrvalue.
5615 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5616 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5617 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5618 Likewise.
5619 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
5620 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
5621 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5622 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5623 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
5624 Do not use __unbounded.
5625 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
5626 Rename __unboundedrlimits parameter to rlimits in prototype.
5627 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
5628 Do not use __unbounded.
5629 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
5630 not use __ptrvalue.
5631 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5632 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
5633 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5634 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
5635 __ptrvalue or __unbounded.
5636 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
5637 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
5638 use __unbounded.
5639 (__new_msgctl): Do not use __ptrvalue.
5640 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
5641 __unbounded.
5642 (__libc_msgrcv): Do not use __ptrvalue.
5643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
5644 startup_info): Do not use __unbounded.
5645 (__libc_start_main): Likewise. Rename ubp_* variables and
5646 parameters. Remove argv definitions conditional on
5647 [__BOUNDED_POINTERS__].
5648 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
5649 __ptrvalue.
5650 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
5651 use __unbounded.
5652 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
5653 or __ptrvalue.
5654 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
5655 use __unbounded.
5656 (__new_shmctl): Do not use __ptrvalue.
5657 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5658 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5659 Likewise.
5660 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5661 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
5662 (__libc_sigaction): Likewise.
5663 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
5665 Likewise.
5666 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5667
cc7834d6
OB
56682013-02-13 Ondřej Bílka <neleai@seznam.cz>
5669
ffb1ec7b 5670 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
5671
5672 * string/mempcpy.c: Implement by calling memcpy.
5673
bdf02814
SP
56742013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5675
c2af38aa
SP
5676 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
5677
4e92d59e
SP
5678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
5679 evaluation.
5680
909279a5
SP
5681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
5682 values in the mantissa.
5683
bdf02814
SP
5684 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
5685 minimize writes to Z.
5686 (sub_magnitudes): Simplify code a bit.
5687
cd525923
RM
56882013-02-12 Roland McGrath <roland@hack.frob.com>
5689
5690 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
5691 from the message. The linker prefixes all warnings with that already.
5692
7e2f0d2d
AS
56932013-02-12 Andreas Schwab <schwab@suse.de>
5694
a445af0b
AS
5695 [BZ #15078]
5696 * posix/regexec.c (extend_buffers): Add parameter min_len.
5697 (check_matching): Pass minimum needed length.
5698 (clean_state_log_if_needed): Likewise.
5699 (get_subexp): Likewise.
5700 * posix/Makefile (tests): Add bug-regex34.
5701 (bug-regex34-ENV): Define.
5702 * posix/bug-regex34.c: New file.
5703
7e2f0d2d
AS
5704 [BZ #11561]
5705 * posix/regcomp.c (parse_bracket_exp): When looking up collating
5706 elements compare against the byte sequence of it, not its name.
5707 * posix/Makefile (tests): Add bug-regex35.
5708 (bug-regex35-ENV): Define.
5709 * posix/bug-regex35.c: New file.
5710
a175b684
TV
57112013-02-11 Tom de Vries <tom@codesourcery.com>
5712
5713 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
5714 comment.
5715 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
5716 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
5717 (CHECK_EOL): Add undef.
5718
310998fe 57192013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
5720
5721 * bits/stdlib-bsearch.h: New file.
5722 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 5723 * stdlib/stdlib.h: Likewise.
41eda41d 5724
8ded91fb
RM
57252013-02-11 Roland McGrath <roland@hack.frob.com>
5726
5727 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
5728 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
5729 declaration.
5730 * manual/search.texi (Array Search Function): Add missing const in
5731 lfind prototype.
5732 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
5733 declaration to use rlim_t.
5734 (Basic Scheduling Functions): Remove erroneous const from
5735 sched_getparam prototype. Remove erroneous * from
5736 sched_get_priority_max and sched_get_priority_min prototypes.
5737 (Resource Usage): Fix summary @comment on vtimes to refer to
5738 sys/vtimes.h rather than vtimes.h.
5739 Add missing *s in vtimes prototype.
5740 (Limits on Resources): Fix ulimit prototype to return long int.
5741 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
5742 prototypes to use long int rather than double.
5743 (BSD Random): Fix initstate and setstate to use char *, not void *.
5744 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
5745 prototype to make second argument 'struct aiocb64 *const[]'.
5746 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
5747 (Status of AIO Operations): Remove erroneous const in aio_return and
5748 aio_return64 prototypes.
5749 (Synchronizing I/O): Fix sync prototype to return void.
5750 * manual/startup.texi (Suboptions): Remove an erroneous const in
5751 getsubopt prototype.
5752 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
5753 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
5754 use size_t rather than int.
5755 (Scanning All Users): Likewise for getpwent_r.
5756 (Setting Groups): Add missing const to setgroups prototype.
5757 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
5758 * manual/socket.texi (Host Names): Fix gethostbyaddr and
5759 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
5760 'const void *' rather than 'const char *'.
5761 (Host Address Functions): Likewise for inet_ntop.
5762 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
5763 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
5764 ssize_t for return value.
5765 (Sending Data): Likewise for send, sendto, sendmsg.
5766 (Socket Option Functions): Add a missing const in setsockopt prototype.
5767 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
5768 use wchar_t for the argument.
5769 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
5770 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
5771 take no arguments.
5772 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
5773 double/float/long double for second argument.
5774 Fix return types of significand, significandf, significandl.
5775 * manual/filesys.texi (Setting Permissions): Use mode_t for second
5776 argument in fchmod prototype.
5777 (File Owner): Use uid_t and gid_t in fchown prototype.
5778 (File Times): Add const to utimes, futimes, and lutimes prototypes.
5779 (Making Special Files): Use mode_t and dev_t in mknod prototype.
5780 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
5781 use 'const struct dirent **' as argument types to CMP function pointer
5782 argument.
5783 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
5784 (File Times): Fix summary magic @comment for struct utimbuf and utime
5785 to refer to utime.h, not time.h.
5786 * manual/string.texi (Argz Functions): Add missing const in
5787 argz_extract and argz_next prototypes.
5788 (Finding Tokens in a String): Likewise for basename.
5789 (String/Array Comparison): Fix typo in wcscasecmp prototype.
5790 (Copying and Concatenation): Fix typo in wmemmove prototype.
5791 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
5792 (Signal Stack): Remove erroneous const in sigstack prototype.
5793 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
5794 prototype.
5795 (Simple Calendar Time): Likewise for stime.
5796 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
5797 prototype.
5798 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
5799 say sys/sysctl.h instead.
5800 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
5801 and vsyslog prototypes.
5802
fe77fe6d
TV
58032013-02-11 Tom de Vries <tom@codesourcery.com>
5804
5805 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
5806 Remove.
5807
3a09b620
RM
58082013-02-11 Roland McGrath <roland@hack.frob.com>
5809
5810 * misc/sys/mman.h: Fix typo in mremap comment.
5811
550a0b89
RM
58122013-02-08 Roland McGrath <roland@hack.frob.com>
5813
5814 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
5815 the '\0' terminator.
5816
a2da1673
JM
58172013-02-08 Joseph Myers <joseph@codesourcery.com>
5818
5819 [BZ #13550]
5820 * debug/segfault.c: Don't include <bp-checks.h>.
5821 * sysdeps/generic/bp-checks.h: Remove file.
5822 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
5823 (__GETDENTS): Don't use CHECK_N.
5824 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
5825 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5826 (__getgroups): Don't use CHECK_N.
5827 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5828 (setgroups): Don't use CHECK_N.
5829 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
5830 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
5831 (__libc_msgrcv): Don't use CHECK_N.
5832 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
5833 (__libc_msgsnd): Don't use CHECK_N.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
5835 <bp-checks.h>.
5836 (__libc_pread): Don't use CHECK_N.
5837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
5838 include <bp-checks.h>.
5839 (__libc_pread64): Don't use CHECK_N.
5840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
5841 include <bp-checks.h>.
5842 (__libc_pwrite): Don't use CHECK_N.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
5844 include <bp-checks.h>.
5845 (__libc_pwrite64): Don't use CHECK_N.
5846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
5847 <bp-checks.h>.
5848 (__libc_pread): Don't use CHECK_N.
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
5850 include <bp-checks.h>.
5851 (__libc_pread64): Don't use CHECK_N.
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
5853 include <bp-checks.h>.
5854 (__libc_pwrite): Don't use CHECK_N.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
5856 include <bp-checks.h>.
5857 (__libc_pwrite64): Don't use CHECK_N.
5858 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
5859 (do_pread): Don't use CHECK_N.
5860 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
5861 (do_pread64): Don't use CHECK_N.
5862 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
5863 (do_pwrite): Don't use CHECK_N.
5864 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
5865 (do_pwrite64): Don't use CHECK_N.
5866 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
5867 (__libc_readv): Don't use CHECK_N.
5868 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
5869 (semop): Don't use CHECK_N.
5870 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
5871 <bp-checks.h>.
5872 (semtimedop): Don't use CHECK_N.
5873 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
5874 (__libc_pread): Don't use CHECK_N.
5875 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
5876 <bp-checks.h>.
5877 (__libc_pread64): Don't use CHECK_N.
5878 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
5879 <bp-checks.h>.
5880 (__libc_pwrite): Don't use CHECK_N.
5881 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
5882 <bp-checks.h>.
5883 (__libc_pwrite64): Don't use CHECK_N.
5884 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
5885 <bp-checks.h>.
5886 (__libc_msgrcv): Don't use CHECK_N.
5887 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
5888 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
5889 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
5890 (__libc_writev): Don't use CHECK_N.
5891
b84660a8
RM
58922013-02-08 Roland McGrath <roland@hack.frob.com>
5893
7f3e75f8
RM
5894 * string/strcpy.c: Removed unused variable.
5895
b84660a8
RM
5896 * Makeconfig (+sysdep-includes): Define with := rather than =.
5897 Use an existing include/ subdir of each sysdeps dir before it.
5898
471514d3
CD
58992013-02-08 Carlos O'Donell <carlos@redhat.com>
5900
5901 * nscd/connection.c (register_traced_file): Comment function.
5902 [HAVE_INOTIFY] (union __inev): Define.
5903 [HAVE_INOTIFY] (inotify_check_files): New function.
5904 [HAVE_INOTIFY] (clear_db_cache): Likewise.
5905 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
5906 clear_db_cache.
5907 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
5908
b2d3c3be
CD
59092013-02-08 Carlos O'Donell <carlos@redhat.com>
5910
5911 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
5912 loaded if not already and that a failure is permanent.
5913
b39949d2
CD
59142013-02-08 Carlos O'Donell <carlos@redhat.com>
5915
ddacd1db 5916 [BZ #15006]
b39949d2
CD
5917 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
5918 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
5919
b2c9eff4
JM
59202013-02-08 Joseph Myers <joseph@codesourcery.com>
5921
f3aae3f3
JM
5922 [BZ #13550]
5923 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
5924 (CHECK_1_NULL_OK): Likewise.
5925 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
5926 (__fxstat): Do not use CHECK_1.
5927 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5928 <bp-checks.h>.
5929 (___fxstat64): Do not use CHECK_1.
5930 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5931 <bp-checks.h>.
5932 (__fxstatat): Do not use CHECK_1.
5933 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5934 <bp-checks.h>.
5935 (__fxstatat64): Do not use CHECK_1.
5936 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
5937 <bp-checks.h>.
5938 (__fxstat): Do not use CHECK_1.
5939 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5940 <bp-checks.h>.
5941 (__fxstatat): Do not use CHECK_1.
5942 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5943 <bp-checks.h>.
5944 (__getresgid): Do not use CHECK_1.
5945 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5946 <bp-checks.h>.
5947 (__getresuid): Do not use CHECK_1.
5948 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
5949 <bp-checks.h>.
5950 (__lxstat): Do not use CHECK_1.
5951 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5952 <bp-checks.h>.
5953 (__old_msgctl): Do not use CHECK_1.
5954 (__new_msgctl): Likewise.
5955 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
5956 <bp-checks.h>.
5957 (__new_setrlimit): Do not use CHECK_1.
5958 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5959 <bp-checks.h>.
5960 (__old_shmctl): Do not use CHECK_1.
5961 (__new_shmctl): Likewise.
5962 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
5963 <bp-checks.h>.
5964 (__xstat): Do not use CHECK_1.
5965 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
5966 (__lxstat): Do not use CHECK_1.
5967 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5968 <bp-checks.h>.
5969 (___lxstat64): Do not use CHECK_1.
5970 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
5971 (__old_msgctl): Do not use CHECK_1.
5972 (__new_msgctl): Likewise.
5973 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
5974 <bp-checks.h>.
5975 (__gettimeofday): Do not use CHECK_1.
5976 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
5977 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
5978 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
5979 <bp-checks.h>.
5980 (__gettimeofday): Do not use CHECK_1.
5981 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
5982 (__old_shmctl): Do not use CHECK_1_NULL_OK.
5983 (__new_shmctl): Do not use CHECK_1.
5984 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
5985 <bp-checks.h>.
5986 (do_sigtimedwait): Do not use CHECK_1.
5987 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
5988 <bp-checks.h>.
5989 (do_sigwaitinfo): Do not use CHECK_1.
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
5991 <bp-checks.h>.
5992 (msgctl): Do not use CHECK_1.
5993 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
5994 <bp-checks.h>.
5995 (shmctl): Do not use CHECK_1.
5996 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
5997 (ustat): Do not use CHECK_1.
5998 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
5999 <bp-checks.h>.
6000 (__fxstat): Do not use CHECK_1.
6001 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6002 <bp-checks.h>.
6003 (__fxstatat): Do not use CHECK_1.
6004 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6005 <bp-checks.h>.
6006 (__lxstat): Do not use CHECK_1.
6007 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6008 <bp-checks.h>.
6009 (__xstat): Do not use CHECK_1.
6010 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6011 (__xstat): Do not use CHECK_1.
6012 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6013 (___xstat64): Do not use CHECK_1.
6014
b2c9eff4
JM
6015 [BZ #13550]
6016 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6017 definitions.
6018 (CHECK_BOUNDS_HIGH): Likewise.
6019 * string/strcpy.c: Do not include <bp-checks.h>.
6020 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6021
f1d70dad
RM
60222013-02-07 Roland McGrath <roland@hack.frob.com>
6023
6024 * nscd/nscd-client.h (__nscd_drop_map_ref):
6025 Add __attribute__ ((unused)).
6026 * nis/nss-nisplus.h (niserr2nss): Likewise.
6027
6028 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6029 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6030
6031 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6032 Remove inline keyword.
6033 * include/rounding-mode.h (round_away): Likewise.
6034 * libio/wfileops.c (adjust_wide_data): Likewise.
6035 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6036 (__m128i_strloadu_tolower): Likewise.
6037 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6038 (__m128i_strloadu_tolower): Likewise.
6039 * time/mktime.c (ydhms_diff): Likewise.
6040 * locale/elem-hash.h (elem_hash): Likewise.
6041 * locale/setlocale.c (setdata): Likewise.
6042 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6043 (re_string_wchar_at): Likewise.
6044 (bitset_not, bitset_merge, bitset_mask): Likewise.
6045 [!(__GNUC__ > 3)] (inline): Remove macro.
6046 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6047 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6048 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6049 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6050 * string/memcmp.c (memcmp_bytes): Likewise.
6051 * locale/programs/locarchive.c (compute_hashval): Likewise.
6052 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6053 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6054 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6055 * nss/getent.c (print_rpc, print_protocols): Likewise.
6056 (print_passwd, print_group, print_aliases): Likewise.
6057 * nis/nss-nisplus.h (niserr2nss): Likewise.
6058 * nscd/connections.c (restart_p): Likewise.
6059 Change return type to bool.
6060
eab55bfb
RM
60612013-02-05 Roland McGrath <roland@hack.frob.com>
6062
7bd642f5
RM
6063 * Makeconfig (all-Depend-files): Add existing
6064 $(sorted-subdirs:=/Depend) files.
6065 (all-subdirs): Remove nss.
6066 * sysdeps/unix/inet/Subdirs: Add it here instead.
6067 * hesiod/Depend: New file.
6068
573c29b2
RM
6069 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6070 instead of calling alloca.
6071
b2e25af0
RM
6072 * io/lseek.c (__lseek): Rename to __libc_lseek.
6073 Define __lseek as an alias.
6074
eab55bfb
RM
6075 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6076
9a0d1941
CD
60772013-02-04 Carlos O'Donell <carlos@redhat.com>
6078
6079 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6080 else clause and remove check for non-standard endianness.
6081
b83bbec4
DM
60822013-02-04 David S. Miller <davem@davemloft.net>
6083
6084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6085
6277fdab
JM
60862013-02-04 Joseph Myers <joseph@codesourcery.com>
6087
6088 [BZ #13550]
6089 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6090 (__ubp_memchr): Remove prototype.
6091 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6092 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6093 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6094 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6095 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6096 Remove alias.
6097 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6098 (__ubp_memchr): Likewise.
6099 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6100 (__ubp_memchr): Likewise.
6101 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6102 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6103 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6104 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6105 CHECK_STRING.
6106 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6107 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6108 (__getcwd): Do not use CHECK_STRING.
6109 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6110 <bp-checks.h>.
6111 (__real_chown): Do not use CHECK_STRING.
6112 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6113 <bp-checks.h>.
6114 (fchownat): Do not use CHECK_STRING.
6115 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6116 CHECK_STRING.
6117 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6118 <bp-checks.h>.
6119 (__lchown): Do not use CHECK_STRING.
6120 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6121 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6122 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6123 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6125 include <bp-checks.h>.
6126 (truncate64): Do not use CHECK_STRING.
6127 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6128 <bp-checks.h>.
6129 (__real_chown): Do not use CHECK_STRING.
6130 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6131 <bp-checks.h>.
6132 (__lchown): Do not use CHECK_STRING.
6133 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6134 <bp-checks.h>.
6135 (__chown): Do not use CHECK_STRING.
6136 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6137 <bp-checks.h>.
6138 (truncate64): Do not use CHECK_STRING.
6139 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6140 Likewise.
6141 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6142 (__xmknod): Do not use CHECK_STRING.
6143 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6144 <bp-checks.h>.
6145 (__xmknodat): Do not use CHECK_STRING.
6146 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6147 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6148
903ae060
AS
61492013-02-04 Andreas Schwab <schwab@suse.de>
6150
6151 [BZ #14142]
6152 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6153 * include/netdb.h: Likewise for h_errno.
6154 * elf/tst-stackguard1.c: Include <tls.h>.
6155
542f9466
JK
61562013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6157
6158 * elf/link.h (struct link_map): Extend the l_addr comment.
6159 * include/link.h (struct link_map): Likewise.
6160
e782a927
JM
61612013-02-01 Joseph Myers <joseph@codesourcery.com>
6162
6163 [BZ #13550]
6164 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6165 (BOUNDED_1): Remove macro.
6166 * debug/backtrace.c: Don't include <bp-checks.h>.
6167 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6168 (__backtrace): Likewise.
6169 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6170 <bp-checks.h>.
6171 (__backtrace): Don't use BOUNDED_1.
6172 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6173 <bp-checks.h>.
6174 (__backtrace): Don't use BOUNDED_1.
6175 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6176 (__backtrace): Don't use BOUNDED_1.
6177 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6178 (shmat): Don't use BOUNDED_N.
6179
8cf28c5e
JM
61802013-01-31 Joseph Myers <joseph@codesourcery.com>
6181
3a7ac8a0
JM
6182 [BZ #13550]
6183 * sysdeps/generic/bp-start.h: Remove file.
6184 * csu/libc-start.c: Don't include <bp-start.h>.
6185 (LIBC_START_MAIN): Set up __environ directly instead of using
6186 INIT_ARGV_and_ENVIRON.
6187 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6188 <bp-start.h>.
6189
f3499f95
JM
6190 [BZ #13550]
6191 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6192 definitions.
6193 (CHECK_FCNTL): Likewise.
6194 (CHECK_N_PAGES): Likewise.
6195
32a45bea
JM
6196 [BZ #13550]
6197 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6198 definitions.
6199 (CHECK_SIGSET_NULL_OK): Likewise.
6200 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6201 <bp-checks.h>.
6202 (sigpending): Don't use CHECK_SIGSET.
6203 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6204 <bp-checks.h>.
6205 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6206 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6207 <bp-checks.h>.
6208 (do_sigsuspend): Don't use CHECK_SIGSET.
6209 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6210 use CHECK_SIGSET.
6211 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6212 (do_sigwait): Don't use CHECK_SIGSET.
6213 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6214 use CHECK_SIGSET.
6215 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6216 include <bp-checks.h>.
6217 (sigpending): Don't use CHECK_SIGSET.
6218 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6219 include <bp-checks.h>.
6220 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6221 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6222 <bp-checks.h>.
6223 (sigpending): Don't use CHECK_SIGSET.
6224 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
6225 <bp-checks.h>.
6226 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6227
2e8a5c8c
JM
6228 [BZ #13550]
6229 * sysdeps/generic/bp-semctl.h: Remove file.
6230 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
6231 <bp-checks.h> and <bp-semctl.h>.
6232 (__old_semctl): Don't use CHECK_SEMCTL.
6233 (__new_semctl): Likewise.
6234 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
6235 and <bp-semctl.h>.
6236 (__old_semctl): Don't use CHECK_SEMCTL.
6237 (__new_semctl): Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
6239 <bp-checks.h> and <bp-semctl.h>.
6240 (__old_semctl): Don't use CHECK_SEMCTL.
6241 (__new_semctl): Likewise.
6242 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
6243 <bp-checks.h> and <bp-semctl.h>.
6244 (semctl): Don't use CHECK_SEMCTL.
6245
c2d54929
JM
6246 [BZ #13550]
6247 * Makerules (elide-bp-thunks): Remove variable.
6248 (elide-routines.oS): Don't use $(elide-bp-thunks).
6249 (elide-routines.os): Likewise.
6250 (elide-routines.o): Likewise.
6251 (elide-routines.op): Likewise.
6252 (elide-routines.og): Likewise.
6253 (objects): Don't use $(bp-thunks).
6254 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
6255 include.
6256 (common-generated): Do not add s-proto-bp.d.
6257 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
6258 (int): Likewise.
6259 (typ): Likewise.
6260 Do not generate makefile rules for bounded-pointer thunks.
6261 * sysdeps/generic/bp-thunks.h: Remove file.
6262 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
6263 * sysdeps/unix/s-proto-bp.S: Likewise.
6264
8cf28c5e
JM
6265 [BZ #15062]
6266 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
6267 parts of result separately when argument is not close to line from
6268 -i to i and one part of argument is small.
6269 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6270 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6271 * math/libm-test.inc (cacos_test): Add more tests.
6272 (casin_test): Likewise.
6273 (casinh_test): Likewise.
6274 * sysdeps/i386/fpu/libm-test-ulps: Update.
6275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6276
c4e33b8d
DM
62772013-01-31 David S. Miller <davem@davemloft.net>
6278
6279 * po/de.po: Update from translation team.
6280
3b60b421
MK
62812013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
6282
6283 * time/tzfile.c: Include stdint.h for SIZE_MAX.
6284
bb931195
TS
62852013-01-25 Thomas Schwinge <thomas@codesourcery.com>
6286
b5a5da23
TS
6287 * configure.in (_AC_PROG_CC_C89): New definition.
6288 * configure: Regenerate.
6289
bb931195
TS
6290 * configure.in (AC_PROG_CPP): New definition.
6291 * configure: Regenerate.
6292
8c53a12c
JM
62932013-01-23 Joseph Myers <joseph@codesourcery.com>
6294
6295 * debug/tst-backtrace.h: New file.
6296 * debug/tst-backtrace2.c: Include tst-backtrace.h.
6297 (ret): Remove variable.
6298 (x): Likewise.
6299 (FAIL): Remove macro.
6300 (NO_INLINE): Likewise.
6301 (fn1): Use match function instead of strstr.
6302 * debug/tst-backtrace3.c: Include tst-backtrace.h.
6303 (ret): Remove variable.
6304 (x): Likewise.
6305 (FAIL): Remove macro.
6306 (NO_INLINE): Likewise.
6307 (fn): Use match function instead of strstr.
6308 * debug/tst-backtrace4.c: Include tst-backtrace.h.
6309 (ret): Remove variable.
6310 (x): Likewise.
6311 (FAIL): Remove macro.
6312 (NO_INLINE): Likewise.
6313 (handle_signal): Use match function instead of strstr.
6314 * debug/tst-backtrace5.c: Include tst-backtrace.h.
6315 (ret): Remove variable.
6316 (x): Likewise.
6317 (FAIL): Remove macro.
6318 (NO_INLINE): Likewise.
6319 (handle_signal): Use match function instead of strstr.
6320
4858fa2a
RM
63212013-01-23 Roland McGrath <roland@hack.frob.com>
6322
6323 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
6324
bae8e7f5
DM
63252013-01-23 David S. Miller <davem@davemloft.net>
6326
6327 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
6328 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
6329 argument of CAS if possible.
6330 * sysdeps/sparc/sparc64/bits/atomic.h
6331 (__arch_compare_and_exchange_val_32_acq): Likewise.
6332 (__arch_compare_and_exchange_val_64_acq): Likewise.
6333
9cbbc4ae
PT
63342013-01-23 Pino Toscano <toscano.pino@tiscali.it>
6335
6336 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
6337 * sysdeps/posix/ulimit.c: ... this.
92a601b8 6338 Include <limits.h>.
67b3f58c 6339 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 6340
5655a0b5
AC
63412013-01-23 Adam Conrad <adconrad@0c3.net>
6342
6343 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
6344 (LDFLAGS-tst-array5): Likewise.
6345
052aff95
JM
63462013-01-23 Joseph Myers <joseph@codesourcery.com>
6347
6348 [BZ #15036]
6349 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
6350 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
6351 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
6352 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
6353
7c1e01aa
DM
63542013-01-21 David S. Miller <davem@davemloft.net>
6355
6356 * sysdeps/sparc/backtrace.c: New file.
6357 * sysdeps/sparc/sparc32/backtrace.h: New file.
6358 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6359 * sysdeps/sparc/sparc64/backtrace.h: New file.
6360 * sysdeps/sparc/sparc64/backtrace.c: Delete.
6361 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
6362 -funwind-tables.
6363
ab087e0a
AS
63642013-01-21 Andreas Schwab <schwab@suse.de>
6365
6366 [BZ #15020]
6367 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
6368 closed its stdout.
6369
ed689c2f
AS
63702013-01-20 Andreas Schwab <schwab@linux-m68k.org>
6371
6372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
6373 "mpa2.h".
6374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6375
31d470ac
JM
63762013-01-18 Joseph Myers <joseph@codesourcery.com>
6377 Mark Mitchell <mark@codesourcery.com>
6378 Tom de Vries <tom@codesourcery.com>
6379 Paul Pluzhnikov <ppluzhnikov@google.com>
6380
6381 * debug/tst-backtrace2.c: New file.
6382 * debug/tst-backtrace3.c: Likewise.
6383 * debug/tst-backtrace4.c: Likewise.
6384 * debug/tst-backtrace5.c: Likewise.
6385 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
6386 (CFLAGS-tst-backtrace3.c): Likewise.
6387 (CFLAGS-tst-backtrace4.c): Likewise.
6388 (CFLAGS-tst-backtrace5.c): Likewise.
6389 (LDFLAGS-tst-backtrace2): Likewise.
6390 (LDFLAGS-tst-backtrace3): Likewise.
6391 (LDFLAGS-tst-backtrace4): Likewise.
6392 (LDFLAGS-tst-backtrace5): Likewise.
6393 (tests): Add new tests tst-backtrace2, tst-backtrace3,
6394 tst-backtrace4 and tst-backtrace5.
6395
90567f30 63962013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
6397 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6398
6399 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
6400 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
6401 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
6402 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6404 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
6405 "+r" and remove output regs list as redundant. Add explicit inline
6406 asm to specify register of return val to work around compiler codegen
6407 bug. Remove (int) cast on return value. Add return type parameter to
6408 use in macro so that this macro does not truncate return value for
6409 64-bit values.
6410 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
6411 pass to INTERNAL_VSYSCALL_NCS.
6412 (INLINE_VSYSCALL): Add 'long int' as return type to
6413 INTERNAL_VSYSCALL_NCS macro invocation.
6414 (INTERNAL_VSYSCALL): Add 'long int' as return type to
6415 INTERNAL_VSYSCALL_NCS macro invocation.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6417
d3b9ea61
SP
64182013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6419
0b57daeb
SP
6420 [BZ #14496]
6421 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
6422 Fix application of SIMD FP exception mask.
6423
caa99d06
SP
6424 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
6425 mp_no from a power of two.
6426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
6427 __mpexp_twomm1. Use __pow_mp.
6428
d3b9ea61
SP
6429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
6430 multiplication.
6431
1dbaee3c
DM
64322013-01-17 David S. Miller <davem@davemloft.net>
6433
6434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6435
728d7b43
JM
64362013-01-17 Joseph Myers <joseph@codesourcery.com>
6437
6438 [BZ #15023]
6439 * include/complex.h: Condition contents on [!_COMPLEX_H].
6440 (__kernel_casinhf): New prototype.
6441 (__kernel_casinh): Likewise.
6442 (__kernel_casinhl): Likewise.
6443 * math/Makefile (libm_calls): Add k_casinh.
6444 * math/k_casinh.c: New file.
6445 * math/k_casinhf.c: Likewise.
6446 * math/k_casinhl.c: Likewise.
6447 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
6448 finite nonzero arguments.
6449 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
6450 finite nonzero arguments.
6451 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
6452 finite nonzero arguments.
6453 * math/s_casinh.c: Do not include <float.h>.
6454 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
6455 * math/s_casinhf.c: Do not include <float.h>.
6456 (__casinhf): Move code for finite nonzero arguments to
6457 k_casinhf.c.
6458 * math/s_casinhl.c: Do not include <float.h>.
6459 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
6460 redefine.
6461 (__casinhl): Move code for finite nonzero arguments to
6462 k_casinhl.c.
6463 * math/libm-test.inc (cacos_test): Add more tests.
6464 * sysdeps/i386/fpu/libm-test-ulps: Update.
6465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6466
2a26ef3a
PT
64672013-01-17 Pino Toscano <toscano.pino@tiscali.it>
6468
6469 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
6470 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
6471 [!HAVE_MREMAP]: Remove [defined linux] case.
6472 * malloc/arena.c: Do not include <malloc-sysdep.h>.
6473
a897655d
SP
64742013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6475
6476 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
6477
881ebe89 64782013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
6479
6480 * elf/elf.h (R_386_SIZE32): New relocation.
6481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
6482 R_386_SIZE32.
6483 (elf_machine_rela): Likewise.
6484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6485 R_X86_64_SIZE64 and R_X86_64_SIZE32.
6486
59981e9b
JM
64872013-01-17 Joseph Myers <joseph@codesourcery.com>
6488
6489 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
6490 (FP_FAST_FMA): Do not define.
6491 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
6492 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
6493 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
6494 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
6495 !_SOFT_FLOAT]: Likewise.
6496 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
6497 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
6498 value.
6499 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
6500 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
6501 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
6502 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
6503 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
6504 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
6505 file.
6506
cfa8054f
AS
65072013-01-16 Andreas Schwab <schwab@suse.de>
6508
6509 [BZ #14327]
6510 * include/stdlib.h (__mktemp): Add declaration.
6511 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
6512 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
6513
dd930cc5
SP
65142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
881ebe89
SP
6516 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
6517 definitions.
6518 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
6519 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
6520 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
6521 definitions here.
6522 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
6523 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
6524 definitions.
6525 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
6526 and ONE.
6527 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
6528 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
6529 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
6530 definitions.
6531 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
6532 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
6533 definitions.
6534 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 6535
dd930cc5
SP
6536 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
6537
c19a9f89
DM
65382013-01-15 David S. Miller <davem@davemloft.net>
6539
1aa61767
DM
6540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6541 trunc{,f} to libm-sysdep_routes.
6542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
6544 file.
6545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
6546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
6547 file.
6548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
6549 file.
6550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
6551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
6552 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
6553 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
6554 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
6555 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
6556 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
6557 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
6558
c42d5e98
DM
6559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6560 nearbyint{,f} to libm-sysdep_routes.
6561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
6563 New file.
6564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
6565 file.
6566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
6567 New file.
6568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
6569 file.
6570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
6571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
6572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
6573 file.
6574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
6575 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
6576 file.
6577 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
6578 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
6579 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
6580
c19a9f89
DM
6581 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6582 libc_feholdexcept and libc_fesetenv.
6583
357679d2
MF
65842013-01-15 Mike Frysinger <vapier@gentoo.org>
6585
6586 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
6587
65a82e3d
DM
65882013-01-14 David S. Miller <davem@davemloft.net>
6589
8b954ab9
DM
6590 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
6591 (SPARC_ASM_VIS2_IFUNC): Likewise.
6592 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
6593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
6594 use of 'siam' instruction.
6595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
6596 Likewise.
6597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
6598 Likewise.
6599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
6600 Likewise.
6601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
6602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
6603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
6604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
6605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
6606 file.
6607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
6608 file.
6609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
6610 file.
6611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
6612 file.
6613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
6614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
6615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
6616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
6617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
6618 new VIS2 routines.
6619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6622 Likewise.
6623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
6628 routines to libm-sysdep_routines.
6629 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
6630
65a82e3d
DM
6631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
6632 fdim/fdimf to libm-sysdep_routines.
6633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
6634 file.
6635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
6636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
6637 file.
6638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
6639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
6640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
6641 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
6642 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
6643 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
6644 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
6645
e34ab705
SP
66462013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6647
2a91b573
SP
6648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
6649 to optimize copies.
6650
1066a534
SP
6651 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
6652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
6653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6654
e34ab705
SP
6655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
6656 local variable MPTWO.
6657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6658 Likewise.
6659
aba5e596
MF
66602013-01-13 Mike Frysinger <vapier@gentoo.org>
6661
6662 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
6663 GLOB_NOESCAPE.
6664
e557e9e5
MF
66652013-01-13 Mike Frysinger <vapier@gentoo.org>
6666
6667 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
6668
0428cec9
MF
66692013-01-13 Mike Frysinger <vapier@gentoo.org>
6670
6671 * manual/pattern.texi (glob_t): Document gl_flags.
6672 (glob64_t): Likewise.
6673
8794a964
DM
66742013-01-11 David S. Miller <davem@davemloft.net>
6675
66438c3f
RM
6676 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
6677 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
6678 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
6679 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
6680 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
6681 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
6682 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
6683 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
6684 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
6685 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
6686 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
6687 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
6688 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
6689
4ae4244d
DM
6690 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6691 sparc V9 rather than using V8 code.
6692 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6693 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6694
8794a964
DM
6695 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6696 Move to...
6697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
6698 Here.
6699
6270516e
RM
67002013-01-11 Roland McGrath <roland@hack.frob.com>
6701
6702 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
6703 not in the main loop.
6704 * configure: Regenerated.
6705
6a57d931
JM
67062013-01-11 Joseph Myers <joseph@codesourcery.com>
6707
6708 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
6709 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
6710 to just #else.
6711 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
6712 [!__GLIBC_HAVE_LONG_LONG] case.
6713 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
6714 condition to just #else.
6715 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
6716 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
6717 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
6718 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
6719 unconditional.
6720 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
6721 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6722 #elif condition to just #else.
6723 * sysdeps/unix/sysv/linux/sys/sysmacros.h
6724 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
6725 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
6726 #elif condition to just #else.
6727
0e8529e9
SE
67282013-01-11 Steve Ellcey <sellcey@mips.com>
6729
6730 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
6731 (EF_MIPS_ARCH_64): Fix value.
6732 (EF_MIPS_ARCH_32R2): New.
6733 (EF_MIPS_ARCH_64R2): New.
6734
740b3dbe
L
67352013-01-11 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 * Makeconfig (+link-pie-before-libc): New.
6738 (+link-pie-after-libc): Likewise.
6739 (+link-pie-tests): Likewise.
6740 (+link-pie): Rewritten.
6741 (link-before-libc): Remove $(config-LDFLAGS).
6742 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
6743 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
6744 (config-LDFLAGS): Renamed to ...
6745 (rtld-LDFLAGS): This.
6746 (rtld-tests-LDFLAGS): New macro.
6747 (link-libc-rpath-link): Likewise.
6748 (link-libc-tests-rpath-link): Likewise.
6749 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
6750 (link-libc): Prepand $(link-libc-rpath-link).
6751 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
6752 (test-program-prefix): New macro.
6753 (test-via-rtld-prefix): Likewise.
6754 (test-program-cmd): Likewise.
6755 (host-test-program-cmd): Likewise.
6756 * Makefile ($(common-objpfx)testrun.sh): Replace
6757 $(run-program-prefix) with $(test-program-prefix).
6758 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
6759 $(rtld-LDFLAGS).
6760 ($(common-objpfx)shlib.lds): Likewise.
6761 (build-module-helper): Likewise.
6762 ($(common-objpfx)format.lds): Likewise.
6763 * Rules (binaries-pie-tests): New.
6764 (binaries-pie-notests): Likewise.
6765 (binaries-pie): Rewritten.
6766 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
6767 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
6768 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
6769 (make-test-out): Replace $(host-built-program-cmd) with
6770 $(host-test-program-cmd).
6771 * config.make.in (build-hardcoded-path-in-tests): New variable.
6772 * configure.in (--enable-hardcoded-path-in-tests): New configure
6773 option.
6774 (hardcoded_path_in_tests): New AC_SUBST.
6775 * configure: Regenerated.
6776 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
6777 $(built-program-cmd) with $(test-program-cmd).
6778 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
6779 (test_program_cmd): This.
6780 * elf/Makefile ($(objpfx)order.out): Run test with
6781 $(test-program-prefix).
6782 ($(objpfx)order2.out): Likewise.
6783 ($(objpfx)tst-initorder.out): Likewise.
6784 ($(objpfx)tst-initorder2.out): Likewise.
6785 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
6786 $(test-program-cmd).
6787 ($(objpfx)tst-array1-static.out): Likewise.
6788 ($(objpfx)tst-array2.out): Likewise.
6789 ($(objpfx)tst-array3.out): Likewise.
6790 ($(objpfx)tst-array4.out): Likewise.
6791 ($(objpfx)tst-array5.out): Likewise.
6792 ($(objpfx)tst-array5-static.out): Likewise.
6793 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
6794 $(test-program-cmd).
6795 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
6796 $(run-program-prefix) with $(test-program-prefix).
6797 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
6798 (test_program_prefix): This.
6799 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
6800 $(run-program-prefix) with $(test-program-prefix).
6801 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
6802 (test_program_prefix): This.
6803 * iconvdata/tst-tables.sh: Likewise.
6804 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
6805 $(run-program-prefix) with $(test-program-prefix).
6806 ($(objpfx)tst-translit.out): Likewise.
6807 ($(objpfx)tst-gettext2.out): Likewise.
6808 ($(objpfx)tst-gettext4.out): Likewise.
6809 ($(objpfx)tst-gettext6.out): Likewise.
6810 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
6811 (test_program_prefix): This.
6812 * intl/tst-gettext2.sh: Likewise.
6813 * intl/tst-gettext4.sh Likewise.
6814 * intl/tst-gettext6.sh: Likewise.
6815 * intl/tst-translit.sh: Likewise.
6816 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
6817 with $(test-program-cmd).
6818 * libio/Makefile ($(objpfx)test-freopen.out): Replace
6819 $(run-program-prefix) with $(test-program-prefix).
6820 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
6821 (test_program_prefix): This.
6822 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
6823 $(run-program-prefix) with $(test-program-prefix).
6824 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
6825 (test_program_prefix): This.
6826 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
6827 * posix/Makefile ($(objpfx)globtest.out): Replace
6828 $(run-via-rtld-prefix) and $(test-wrapper) with
6829 $(test-program-prefix) and $(test-via-rtld-prefix).
6830 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
6831 $(test-program-prefix).
6832 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
6833 $(host-test-program-cmd).
6834 (tst-spawn-ARGS): Likewise.
6835 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
6836 $(test-program-prefix).
6837 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
6838 (test_via_rtld_prefix): This.
6839 (test_wrapper): Renamed to ...
6840 (test_program_prefix): This.
6841 (run_program_prefix): Replaced by test_program_prefix.
6842 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
6843 (test_program_prefix): This.
6844 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
6845 with $(host-test-program-cmd).
6846 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
6847 $(run-program-prefix) with $(test-program-prefix).
6848 ($(objpfx)tst-printf.out): Likewise.
6849 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
6850 $(test-program-cmd).
6851 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
6852 (test_program_prefix): This.
6853 * stdio-common/tst-unbputc.sh: Likewise.
6854 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
6855 $(run-program-prefix) with $(test-program-prefix).
6856 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
6857 (test_program_prefix): This.
6858 * string/Makefile ($(objpfx)tst-svc.out): Replace
6859 $(built-program-cmd) with $(test-program-cmd).
6860
c6fe55cf
AJ
68612013-01-11 Andreas Jaeger <aj@suse.de>
6862
6863 [BZ #15003]
6864 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
6865 value. Sync with Linux 3.7.
6866
9e6919c8
DM
68672013-01-10 David S. Miller <davem@davemloft.net>
6868
6869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
6870 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6871 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6872
1c9f1a02
RM
68732013-01-10 Roland McGrath <roland@hack.frob.com>
6874
6875 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
6876 never set.
6877 * configure: Regenerated.
6878
b9de2dde
DM
68792013-01-10 David S. Miller <davem@davemloft.net>
6880
6881 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
6882 sparc V9 rather than using V8 code.
6883 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
6884 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
6885
e7f68ef4
RM
68862013-01-10 Roland McGrath <roland@hack.frob.com>
6887
6888 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
6889 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
6890 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6891 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
6892 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
6893 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
6894 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
6895 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
6896 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
6897 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
6898 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
6899 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
6900 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
6901 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
6902 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
6903 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
6904 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
6905 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
6906 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
6907 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
6908 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
6909 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
6910 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
6911 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
6912 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
6913 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
6914 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
6915
5a47cc9c
DM
69162013-01-10 David S. Miller <davem@davemloft.net>
6917
6918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6919
4cf8f209
L
69202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6921
6922 * posix/Makefile (tests-static): New variable.
6923 (tests): Add $(tests-static).
6924 (tst-exec-static-ARGS): New variable.
6925 (tst-spawn-static-ARGS): Likewise.
6926 * posix/tst-exec-static.c: New file.
6927 * posix/tst-spawn-static.c: Likewise.
6928 * posix/tst-exec.c: Support run directly.
6929 * posix/tst-spawn.c: Likewise.
6930
fed0faa1
JM
69312013-01-10 Joseph Myers <joseph@codesourcery.com>
6932
828beb13
JM
6933 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
6934 long.
6935 * math/bits/mathcalls.h (llrint): Likewise.
6936 (llround): Likewise.
6937 * stdlib/stdlib.h (struct drand48_data): Likewise.
6938 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
6939 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
6940 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
6941 Likewise.
6942 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
6943 Likewise.
6944 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
6945 (elf_greg_t): Likewise.
6946 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
6947 (__jmp_buf): Likewise.
6948 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
6949 definitions.
6950 (llrint): Likewise, for all definitions.
6951 (llrintl): Likewise.
6952
fed0faa1
JM
6953 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
6954 Remove [__GNUC__] condition.
6955 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
6956 condition to just [__USE_ISOC99].
6957 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
6958
1a20cb20
L
69592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
6960
6961 [BZ #14200]
6962 * sysdeps/unix/sysv/linux/x86/bits/environments.h
6963 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
6964 defined.
6965 (_POSIX_V6_ILP32_OFF32): Likewise.
6966 (_XBS5_ILP32_OFF32): Likewise.
6967 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
6968 (__ILP32_OFFBIG_LDFLAGS): Likewise.
6969
751b85f7
SP
69702013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6971
7490eb81
SP
6972 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
6973
751b85f7
SP
6974 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
6975 doubles __mpexp_twomm1. Adjust usage.
6976 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
6977 Remove.
6978
988197f0
AS
69792013-01-10 Andreas Schwab <schwab@suse.de>
6980
6981 [BZ #14964]
6982 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
6983 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
6984
e83d7298
DM
69852013-01-09 David S. Miller <davem@davemloft.net>
6986
034ed64b 6987 [BZ #15003]
e83d7298
DM
6988 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
6989 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
6990 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
6991 TCP_FASTOPEN): Define.
6992 (tcp_repair_opt): New structure.
6993 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
6994 enum values.
6995 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
6996 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
6997 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
6998 (tcp_cookie_transactions): New structure.
6999
d5e0b9bd
AB
70002013-01-09 Anton Blanchard <anton@samba.org>
7001
7002 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7003 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7004 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7005 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7006
0c07e3ea
JM
70072013-01-09 Joseph Myers <joseph@codesourcery.com>
7008
7009 * include/features.h (__USE_ANSI): Remove.
7010
232f7002
RM
70112013-01-09 Roland McGrath <roland@hack.frob.com>
7012
ad98e30c
RM
7013 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7014
232f7002
RM
7015 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7016
950c99ca
SP
70172013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7018
b5792741
SP
7019 * sysdeps/s390/fpu/libm-test-ulps: Update.
7020
47cf2278
SP
7021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7022
950c99ca
SP
7023 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7024 (__acr): Likewise.
7025 (__cpy): Likewise.
7026 (norm): Likewise.
7027 (denorm): Likewise.
7028 (__mp_dbl): Likewise.
7029 (__dbl_mp): Likewise.
7030 (add_magnitudes): Likewise.
7031 (sub_magnitudes): Likewise.
7032 (__add): Likewise.
7033 (__sub): Likewise.
7034 (__mul): Likewise.
7035 (__inv): Likewise.
7036 (__dvd): Likewise.
7037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7038 (__acr): Likewise.
7039 (__cpy): Likewise.
7040 (norm): Likewise.
7041 (denorm): Likewise.
7042 (__mp_dbl): Likewise.
7043 (__dbl_mp): Likewise.
7044 (add_magnitudes): Likewise.
7045 (sub_magnitudes): Likewise.
7046 (__add): Likewise.
7047 (__sub): Likewise.
7048 (__mul): Likewise.
7049 (__inv): Likewise.
7050 (__dvd): Likewise.
7051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7052 (__acr): Likewise.
7053 (__cpy): Likewise.
7054 (norm): Likewise.
7055 (denorm): Likewise.
7056 (__mp_dbl): Likewise.
7057 (__dbl_mp): Likewise.
7058 (add_magnitudes): Likewise.
7059 (sub_magnitudes): Likewise.
7060 (__add): Likewise.
7061 (__sub): Likewise.
7062 (__mul): Likewise.
7063 (__inv): Likewise.
7064 (__dvd): Likewise.
7065
eede9df9
JM
70662013-01-08 Joseph Myers <joseph@codesourcery.com>
7067
7068 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7069 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7070 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7071 2 && __USE_EXTERN_INLINES]: Likewise.
7072
c40ea3d9
AJ
70732013-01-08 Andreas Jaeger <aj@suse.de>
7074
7075 [BZ# 14985]
7076 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7077 Remove.
7078 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7079 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7080
2ccdea26
AB
70812013-01-07 Anton Blanchard <anton@samba.org>
7082
7083 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7084 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7085 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7086 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7087 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7088 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7089 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7090 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7095 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7096 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7097 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7099 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7100 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7101 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7102 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7103 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7104 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7106 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7107 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7108 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7109 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7110 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7111 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7112 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7113 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7116 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7117 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7118 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7119 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7120 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7121 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7123 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7125 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7126
a9708fed
JM
71272013-01-07 Joseph Myers <joseph@codesourcery.com>
7128
375607b9
JM
7129 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7130 (__MALLOC_PMT): Likewise.
7131 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7132 [__GNUC__], only on [_LIBC].
7133 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7134 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7135 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7136 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7137 forward declaration.
7138 (realloc_hook_ini): Likewise.
7139 (memalign_hook_ini): Likewise.
7140 (__libc_memalign): Do not use __MALLOC_PMT in variable
7141 declaration.
7142 (__libc_valloc): Likewise.
7143 (__libc_pvalloc): Likewise.
7144 (__libc_calloc): Likewise.
7145 (__posix_memalign): Likewise.
7146
a9708fed
JM
7147 [BZ #14996]
7148 * math/s_casinh.c: Include <float.h>.
7149 (__casinh): Do not do computation with squaring and square root
7150 for large arguments.
7151 * math/s_casinhf.c: Include <float.h>.
7152 (__casinhf): Do not do computation with squaring and square root
7153 for large arguments.
7154 * math/s_casinhl.c: Include <float.h>.
7155 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7156 (__casinhl): Do not do computation with squaring and square root
7157 for large arguments.
7158 * math/libm-test.inc (casin_test): Add more tests.
7159 (casinh_test): Likewise.
7160 * sysdeps/i386/fpu/libm-test-ulps: Update.
7161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7162
afec409a
L
71632013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7164
7165 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7166 (__x86_64_raw_data_cache_size): Likewise.
7167 (__x86_64_data_cache_size_half): Likewise.
7168 (__x86_64_raw_data_cache_size_half): Likewise.
7169 (__x86_64_shared_cache_size): Likewise.
7170 (__x86_64_raw_shared_cache_size): Likewise.
7171 (__x86_64_shared_cache_size_half): Likewise.
7172 (__x86_64_raw_shared_cache_size_half): Likewise.
7173 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7174 to ...
7175 (__x86_data_cache_size): This.
7176 (__x86_64_raw_data_cache_size): Renamed to ...
7177 (__x86_raw_data_cache_size): This.
7178 (__x86_64_data_cache_size_half): Renamed to ...
7179 (__x86_data_cache_size_half): This.
7180 (__x86_64_raw_data_cache_size_half): Renamed to ...
7181 (__x86_raw_data_cache_size_half): This.
7182 (__x86_64_shared_cache_size): Renamed to ...
7183 (__x86_shared_cache_size): This.
7184 (__x86_64_raw_shared_cache_size): Renamed to ...
7185 (__x86_raw_shared_cache_size): This.
7186 (__x86_64_shared_cache_size_half): Renamed to ...
7187 (__x86_shared_cache_size_half): This.
7188 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7189 (__x86_raw_shared_cache_size_half): This.
7190 * sysdeps/x86_64/memcpy.S: Updated.
7191 * sysdeps/x86_64/memset.S: Likewise.
7192 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7193 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7195
0b3986d0
DM
71962013-01-04 David S. Miller <davem@davemloft.net>
7197
7198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7199
e47686e9
AS
72002013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7201
d643bac1
AS
7202 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7203 1 to avoid redefinition warning.
7204 (__USE_GNU): Don't define.
7205 (init_signaling_nan): Protoize.
7206
e47686e9
AS
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7208
b18decba
SP
72092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7210
fffb407f
SP
7211 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7213 (__cpymn): Likewise.
7214 (norm): Remove commented code.
7215 (denorm): Likewise.
7216 (__mp_dbl): Likewise.
7217 (__inv): Likewise.
7218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7219 (__cpymn): Likewise.
7220 (norm): Remove commented code.
7221 (denorm): Likewise.
7222 (__mp_dbl): Likewise.
7223 (__inv): Likewise.
7224
b18decba
SP
7225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
7226 mp_no value for 1.0 and 2.0.
7227 (norm): Use RADIXI instead of radixi.d.
7228 (denorm): Likewise.
7229 (__mul): Use 0.0 instead of zero.d.
7230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
7231 mp_no value for 1.0 and 2.0.
7232 (norm): Use RADIXI instead of radixi.d.
7233 (denorm): Likewise.
7234 (__mul): Use 0.0 instead of zero.d.
7235
cdc1c96f
JM
72362013-01-04 Joseph Myers <joseph@codesourcery.com>
7237
7238 [BZ #14994]
7239 * math/s_casinh.c (__casinh): Reduce finite argument to first
7240 quadrant then set signs of results at the end.
7241 * math/s_casinhf.c (__casinhf): Likewise.
7242 * math/s_casinhl.c (__casinhl): Likewise.
7243 * math/libm-test.inc (casin_test): Add more tests.
7244 (casinh_test): Likewise.
7245 * sysdeps/i386/fpu/libm-test-ulps: Update.
7246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7247
302913e1
SP
72482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7249
6420d207
SP
7250 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
7251
a9e48ab4
SP
7252 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
7253
b7837264
SP
7254 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
7255 declarations.
7256 (denorm): Likewise.
7257 (__mp_dbl): Likewise.
7258 (__inv): Likewise.
7259
f8af25d2
SP
7260 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
7261 and adjust the header comment.
7262
302913e1
SP
7263 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
7264 variable name from declaration.
7265
5d7dd1ca
L
72662013-01-03 H.J. Lu <hongjiu.lu@intel.com>
7267
7268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7269 Initialize COMMON_CPUID_INDEX_7 element.
7270 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
7271 (CPUID_RTM): Likewise.
7272 (HAS_RTM): Likewise.
7273 (COMMON_CPUID_INDEX_7): New enum.
7274
2f5f40f4
AS
72752013-01-03 Andreas Schwab <schwab@linux-m68k.org>
7276
7277 [BZ #14981]
7278 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
7279 size is zero, record memory as freed.
7280
4056f4a0
AJ
72812013-01-03 Andreas Jaeger <aj@suse.de>
7282
7283 * po/ia.po: Add new Interlingua translation.
7284
ab15736f 72852012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
7286
7287 * locale/programs/localedef.c: Fix description of '--posix' flag.
7288
568035b7
JM
72892013-01-02 Joseph Myers <joseph@codesourcery.com>
7290
e6898b8d
JM
7291 * NEWS: Update dates in second copyright notice.
7292 * README: Update copyright dates in example.
7293 * manual/libc.texinfo: Update copyright dates.
7294 * scripts/test-installation.pl: Update copyright date in --version
7295 output.
7296
0e2f9562
JM
7297 * hurd/ctty-input.c: Fix copyright notice formatting.
7298 * hurd/ctty-output.c: Likewise.
7299 * hurd/dtable.c: Likewise.
7300 * hurd/hurd-raise.c: Likewise.
7301 * hurd/hurdprio.c: Likewise.
7302 * hurd/msgportdemux.c: Likewise.
7303 * misc/sys/file.h: Likewise.
7304 * misc/sys/ioctl.h: Likewise.
7305 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7306 * sysdeps/mach/hurd/chdir.c: Likewise.
7307 * sysdeps/mach/hurd/fchdir.c: Likewise.
7308 * sysdeps/mach/hurd/rename.c: Likewise.
7309 * sysdeps/mach/hurd/rmdir.c: Likewise.
7310 * sysdeps/mach/hurd/seekdir.c: Likewise.
7311 * sysdeps/mach/hurd/setsid.c: Likewise.
7312 * sysdeps/posix/wait3.c: Likewise.
7313
568035b7
JM
7314 * All files with FSF copyright notices: Update copyright dates
7315 using scripts/update-copyrights.
7316 * intl/plural.c: Regenerated.
7317 * locale/programs/charmap-kw.h: Likewise.
7318 * locale/programs/locfile-kw.h: Likewise.
7319
da08f647
SP
73202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7321
0f5477af
SP
7322 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
7323 four values.
7324
44e0d4c2
SP
7325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
7326 calculation loop and add branch prediction.
7327
4d55b4e5
SP
7328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
7329 check access beyond bounds of m1np.
7330
da08f647
SP
7331 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7332 MPTWO.
7333 (__inv): Remove local variable MPTWO to use the global
7334 constant.
7335 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
7336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7337 variable MPTWO.
7338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
7339 MP3HALFS static const.
7340
8e051029
DM
73412013-01-01 David S. Miller <davem@davemloft.net>
7342
7343 * po/ca.po: Update from translation team.
7344
f4cf5f2d
JM
73452013-01-01 Joseph Myers <joseph@codesourcery.com>
7346
7347 * scripts/update-copyrights: New file.
7348 * Makeconfig: Reformat copyright notice.
7349 * ctype/ctype.h: Likewise.
7350 * debug/swprintf_chk.c: Likewise.
7351 * elf/dl-cache.c: Likewise.
7352 * elf/dl-debug.c: Likewise.
7353 * elf/dl-object.c: Likewise.
7354 * grp/initgroups.c: Likewise.
7355 * hurd/Makefile: Likewise.
7356 * hurd/hurd/signal.h: Likewise.
7357 * hurd/hurdfault.c: Likewise.
7358 * hurd/hurdioctl.c: Likewise.
7359 * hurd/hurdlookup.c: Likewise.
7360 * hurd/intr-msg.c: Likewise.
7361 * iconv/gconv_open.c: Likewise.
7362 * libio/swprintf.c: Likewise.
7363 * locale/lc-ctype.c: Likewise.
7364 * locale/nl_langinfo.c: Likewise.
7365 * mach/Machrules: Likewise.
7366 * mach/Makefile: Likewise.
7367 * malloc/obstack.h: Likewise.
7368 * manual/Makefile: Likewise.
7369 * manual/tsort.awk: Likewise.
7370 * misc/bits/stab.def: Likewise.
7371 * nis/nis_print_group_entry.c: Likewise.
7372 * nis/nis_table.c: Likewise.
7373 * nis/nss_compat/compat-pwd.c: Likewise.
7374 * nis/nss_compat/compat-spwd.c: Likewise.
7375 * po/Makefile: Likewise.
7376 * posix/fnmatch.c: Likewise.
7377 * posix/regex.h: Likewise.
7378 * resolv/Makefile: Likewise.
7379 * resolv/nss_dns/dns-network.c: Likewise.
7380 * resolv/res_hconf.c: Likewise.
7381 * scripts/gen-sorted.awk: Likewise.
7382 * soft-fp/soft-fp.h: Likewise.
7383 * stdio-common/printf.h: Likewise.
7384 * stdlib/monetary.h: Likewise.
7385 * stdlib/random.c: Likewise.
7386 * stdlib/random_r.c: Likewise.
7387 * sysdeps/generic/Makefile: Likewise.
7388 * sysdeps/gnu/Makefile: Likewise.
7389 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7393 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7394 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7395 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7397 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7399 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7400 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7401 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7402 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7403 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
7404 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7405 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7406 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7407 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7408 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7409 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7410 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7411 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
7417 * sysdeps/mach/hurd/errnos.awk: Likewise.
7418 * sysdeps/mach/hurd/fork.c: Likewise.
7419 * sysdeps/mach/hurd/getcwd.c: Likewise.
7420 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
7421 * sysdeps/mach/hurd/mmap.c: Likewise.
7422 * sysdeps/mach/hurd/utimes.c: Likewise.
7423 * sysdeps/mach/hurd/xmknod.c: Likewise.
7424 * sysdeps/posix/profil.c: Likewise.
7425 * sysdeps/posix/readdir_r.c: Likewise.
7426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7427 * sysdeps/powerpc/bits/setjmp.h: Likewise.
7428 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
7429 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7431 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7432 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7433 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7435 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7436 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7437 * sysdeps/pthread/lio_listio.c: Likewise.
7438 * sysdeps/sparc/dl-procinfo.h: Likewise.
7439 * sysdeps/unix/i386/sysdep.S: Likewise.
7440 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
7441 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
7442 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
7443 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7445 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7446 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7447 * sysdeps/unix/sysv/linux/speed.c: Likewise.
7448 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7449 * sysdeps/wordsize-32/divdi3.c: Likewise.
7450 * time/sys/time.h: Likewise.
7451 * wcsmbs/Makefile: Likewise.
7452
0549fbba
DM
74532013-01-01 David S. Miller <davem@davemloft.net>
7454
a141f1a7
DM
7455 * po/fr.po: Update from translation team.
7456
0549fbba
DM
7457 * catgets/gencat.c: Update copyright year.
7458 * csu/version.c: Likewise.
7459 * debug/catchsegv.sh: Likewise.
7460 * debug/pcprofiledump.c: Likewise.
7461 * debug/xtrace.sh: Likewise.
7462 * elf/ldconfig.c: Likewise.
7463 * elf/ldd.bash.in: Likewise.
7464 * elf/pldd.c: Likewise.
7465 * elf/sotruss.ksh: Likewise.
7466 * elf/sprof.c: Likewise.
7467 * iconv/iconv_prog.c: Likewise.
7468 * iconv/iconvconfig.c: Likewise.
7469 * locale/programs/locale.c: Likewise.
7470 * locale/programs/localedef.c: Likewise.
7471 * login/programs/pt_chown.c: Likewise.
7472 * malloc/memusage.sh: Likewise.
7473 * malloc/memusagestat.c: Likewise.
7474 * malloc/mtrace.pl: Likewise.
7475 * nscd/nscd.c: Likewise.
7476 * nss/getent.c: Likewise.
7477 * nss/makedb.c: Likewise.
7478 * posix/getconf.c: Likewise.
7479
18ea052c
SP
74802012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7481
7482 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
7483 numbers.
7484
9c89fca6
MF
74852012-12-30 Mike Frysinger <vapier@gentoo.org>
7486
7487 * math/bits/mathcalls.h (modf): Use __nonnull.
7488
085ec079
SP
74892012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7490
7491 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
7492 (split): Use macro CN instead of the bare value.
7493 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
7494 could be used.
7495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
7496 instead of the bare value.
7497 (power1): Likewise.
7498
6d9f97e1
SP
74992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7500
d63f73be
SP
7501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
7502 __ATAN_TWOM.
7503 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7504
6d9f97e1
SP
7505 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
7506 their values.
7507 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7508 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7509 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
7510 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7511
4c4febf5
AJ
75122012-12-28 Andreas Jaeger <aj@suse.de>
7513
af5843ef
AJ
7514 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
7515 values are from Linux 3.7.
7516
4c4febf5
AJ
7517 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
7518 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
7519
99136f82
SP
75202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7521
2f216c3c 7522 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
7523 TRUE case.
7524
99136f82
SP
7525 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
7526 (norm): Likewise.
7527 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
7528 variables with preprocessor constants.
7529 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7530 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7531 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7532
7fffbdff
BH
75332012-12-27 Bruno Haible <bruno@clisp.org>
7534
7535 [BZ #14317]
7536 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
7537 only if needed.
7538
b76eb5f0
SP
75392012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7540
31a7fe5c
SP
7541 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
7542 and use variable directly.
7543 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
7544
b76eb5f0
SP
7545 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
7546 MPONE.
7547 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
7548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
7549 variable MPONE.
7550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7552 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
7553 include directive. Remove local variable MPONE.
7554 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
7555 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
7556 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7557
2c8bfe7d
DM
75582012-12-25 David S. Miller <davem@davemloft.net>
7559
7560 * version.h (RELEASE): Set to "development".
7561 (VERSION): Set to "2.17.90".
7562 * NEWS: Add 2.18 section.
7563
147d03b0
DM
75642012-12-21 David S. Miller <davem@davemloft.net>
7565
7566 * po/hr.po: Update from translation team.
7567
a8ebb2b9
AK
75682012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7569
7570 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
7571
95b4f1b6
SE
75722012-12-19 Steve Ellcey <sellcey@mips.com>
7573
b2d94007 7574 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 7575
cedb2a90
MS
75762012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7577
7578 * manual/contrib.texi (Contributors): Spelling correction.
7579
bbf527d6
DM
75802012-12-15 David S. Miller <davem@davemloft.net>
7581
7582 * po/ru.po: Update from translation team.
7583
bc38c906
DM
75842012-12-13 David S. Miller <davem@davemloft.net>
7585
85429b1a
DM
7586 * NEWS: Mention IFUNC testsuite enhancements.
7587
d283e353
DM
7588 * po/pl.po: Update from translation team.
7589 * po/bg.po: Likewise.
7590
bc38c906
DM
7591 * manual/contrib.texi (Contributors): Update entries for Hongjiu
7592 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
7593
a181b0d7
DM
75942012-12-11 David S. Miller <davem@davemloft.net>
7595
4641d57e
DM
7596 * po/sv.po: Update from translation team.
7597
f7bc6495
DM
7598 * po/vi.po: Update from translation team.
7599
6fc9048f
DM
7600 * po/cs.po: Update from translation team.
7601
a181b0d7
DM
7602 * po/de.po: Update from translation team.
7603 * po/eo.po: Likewise.
7604 * po/nl.po: Likewise.
7605
f70bfe80
SP
76062012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7607
3c8b4190
SP
7608 [BZ #14246]
7609 * manual/argp.texi (Argp Helper Functions): Move node to follow
7610 Argp Parsing State.
7611
f70bfe80
SP
7612 [BZ #14872]
7613 * manual/conf.texi (Limits on File System Capacity): Mention if
7614 terminating null is included in the max size.
7615
188f0adf
AJ
76162012-12-10 Andreas Jaeger <aj@suse.de>
7617
7618 * po/cs.po: Update from translation team.
7619
56e7d3ad
SP
76202012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7621
7622 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
7623 void pointer and cast to uintptr_t.
7624 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
7625 path.
7626 * sysdeps/s390/s390-64/memcpy.S: Likewise.
7627 * sysdeps/s390/s390-64/memset.S: Likewise.
7628
76f2d2ea 76292012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
7630
7631 [BZ #14833]
7632 * menual/message.texi (Message Translation): Fix typos.
7633 (Helper programs for gettext): Likewise.
7634
67cbf9a2
AS
76352012-12-07 Andreas Schwab <schwab@linux-m68k.org>
7636
7637 [BZ #14898]
7638 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
7639 Change to -1.
7640
682d0e9a
DM
76412012-12-07 David S. Miller <davem@davemloft.net>
7642
7643 * po/libc.pot: Update.
7644
573cd484
RH
76452012-12-07 Richard Henderson <rth@redhat.com>
7646
7e9da188 7647 [BZ #10114]
573cd484
RH
7648 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
7649 normal/normal case to before the switch.
7650 (_FP_DIV): Likewise.
7651
e933a943
MF
76522012-12-06 Carlos O'Donell <carlos@systemhalted.org>
7653 Mike Frysinger <vapier@gentoo.org>
7654
7655 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
7656 check for __NR_fadvise64_64.
7657
82123268
CM
76582012-12-06 Chris Metcalf <cmetcalf@tilera.com>
7659
7660 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
7661 0, not just to plain "0" as a statement.
7662 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
7663 with cw.
7664
d9814526
JM
76652012-12-06 Joseph Myers <joseph@codesourcery.com>
7666
7667 * NEWS: Use sourceware.org in Bugzilla URL.
7668
7728c574
SP
76692012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7670
f16946dd
SP
7671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7672 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7673
5704bbcb
SP
7674 * stdio-common/tst-put-error.c (do_test): Add newline to the
7675 padded test to ensure flush.
7676
17aa0516
JL
76772012-12-05 Jeff Law <law@redhat.com>
7678
7679 * sunrpc/etc.rpc (fedfs_admin): Add entry.
7680
363313b5
JM
76812012-12-05 Joseph Myers <joseph@codesourcery.com>
7682
effbd42a
JM
7683 * README: Don't refer to ports add-on as distributed separately.
7684 Mention AArch64 in list of systems supported in the ports add-on.
7685
87600365
JM
7686 * LICENSES: Add more non-FSF copyright and license notices.
7687
a0d7066a
JM
7688 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
7689 ((unused)).
7690
66ca5a5b
JM
7691 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
7692
363313b5
JM
7693 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
7694 10000 as width of padded output.
7695
b37984ad
JM
76962012-12-04 Joseph Myers <joseph@codesourcery.com>
7697
9003570a
JM
7698 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
7699
b37984ad
JM
7700 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
7701 variable LX with __attribute__ ((unused)).
7702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7703 Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
7707 with __attribute__ ((unused)).
7708
c8df52ec
DM
77092012-12-04 David S. Miller <davem@abraco.davemloft.net>
7710
7711 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
7712
b3b099af
JM
77132012-12-04 Joseph Myers <joseph@codesourcery.com>
7714
c33aa6e3
JM
7715 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
7716 (CFLAGS-nldbl-acos.c): New variable.
7717 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
7718 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
7719 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
7720 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
7721 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
7722 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
7723 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
7724 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
7725 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
7726 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
7727 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
7728 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
7729 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
7730 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
7731 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
7732 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
7733 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
7734 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
7735 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
7736 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
7737 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
7738 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
7739 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
7740 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
7741 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
7742 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
7743 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
7744 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
7745 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
7746 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
7747 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
7748 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
7749 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
7750 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
7751 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
7752 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
7753 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
7754 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
7755 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
7756 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
7757 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
7758 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
7759 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
7760 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
7761 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
7762 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
7763 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
7764 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
7765 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
7766 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
7767 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
7768 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
7769 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
7770 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
7771 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
7772 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
7773 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
7774 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
7775 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
7776 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
7777 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
7778 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
7779 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
7780 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
7781 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
7782 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
7783 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
7784 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
7785 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
7786 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
7787 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
7788 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
7789 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
7790 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
7791 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
7792 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
7793 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
7794 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
7795 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
7796 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
7797 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
7798 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
7799 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
7800 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
7801 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
7802 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
7803 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
7804 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
7805 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
7806 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
7807 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
7808 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
7809 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
7810 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
7811 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
7812 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
7813 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
7814
20f0018d
JM
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7816 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
7817
b3b099af
JM
7818 [BZ #14914]
7819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
7820 whole low double instead of just low 47 bits when splitting values
7821 into two parts.
7822
029264d1
AM
78232012-12-03 Allan McRae <allan@archlinux.org>
7824
7825 * manual/stdio.texi (Predefined Printf Handlers): Remove
7826 @hsep and @vsep usage.
7827
c9d6789e
MF
78282012-12-03 Mike Frysinger <vapier@gentoo.org>
7829
7830 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
7831 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
7832
4b7634a5
JL
78332012-12-03 Jeff Law <law@redhat.com>
7834
7835 * time/sys/time.h (settimeofday): Do not mark TV argument
7836 as __nonnull.
7837
eb6cbd24
MF
78382012-12-01 Mike Frysinger <vapier@gentoo.org>
7839
7840 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
7841 when currently writing and seek to current position when not.
7842 * libio/Makefile (tests): Remove bug-fclose1.
7843 * libio/bug-fclose1.c: Delete.
7844
f638872a
JM
78452012-12-01 Joseph Myers <joseph@codesourcery.com>
7846
7847 * manual/arith.texi (feenableexcept): Fix typo.
7848 (fedisableexcept): Likewise.
7849
48085d14
RM
78502012-11-30 Roland McGrath <roland@hack.frob.com>
7851
7852 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
7853 second, differently-typed declaration, rather than a cast.
7854
1a538b9f
SP
78552012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7856
7857 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
7858 * include/rpc/svc.h: ... here.
7859
d07f2ff1 78602012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
7861
7862 [BZ #13013]
7863 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
7864 depending n and resplen2 to catch cases where answer
7865 equals answerp2.
7866
c93ec1f0
CD
78672012-11-29 Carlos O'Donell <carlos@systemhalted.org>
7868
7869 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
7870 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
7871
37db69de
MF
78722012-11-29 Mike Frysinger <vapier@gentoo.org>
7873
7874 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
7875
e10c4e4f
RM
78762012-11-29 Roland McGrath <roland@hack.frob.com>
7877
7878 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
7879
2af1b328
JL
78802012-11-28 Jeff Law <law@redhat.com>
7881
7882 [BZ #13761]
7883 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
7884 dataset_temporary. Track alloca usage into alloca_used.
7885 If dataset is large allocate and release it via malloc/free.
7886
111db5b1
FW
78872012-06-04 Florian Weimer <fweimer@redhat.com>
7888
f06cc227 7889 [BZ #14197]
111db5b1
FW
7890 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
7891
dd694abd
DM
78922012-11-28 David S. Miller <davem@davemloft.net>
7893
7894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7895
9984dd01
JM
78962012-11-28 Joseph Myers <joseph@codesourcery.com>
7897
7898 [BZ #14803]
7899 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
7900 of pi/2 rounded to nearest to 64 bits.
7901 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
7902 nearest to 64 bits.
7903 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
7904 bits.
7905
14bc93a9
JL
79062012-11-28 Jeff Law <law@redhat.com>
7907 Martin Osvald <mosvald@redhat.com>
7908
7909 [BZ #14889]
7910 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
7911 * sunrpc/svc.c: Include time.h.
7912 (__svc_accept_failed): New function.
7913 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
7914 any reason other than EINTR, call __svc_accept_failed.
7915 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
7916 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
7917
e3c6aa3a
AS
79182012-11-28 Andreas Schwab <schwab@suse.de>
7919
7920 * scripts/abilist.awk: Also handle indirect functions in .opd
7921 section.
7922
1bead169
JM
79232012-11-28 Joseph Myers <joseph@codesourcery.com>
7924
7925 [BZ #13881]
7926 * sysdeps/x86/fpu/powl_helper.c: New file.
7927 * sysdeps/x86/fpu/Makefile: Likewise.
7928 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
7929 (p3): New object.
7930 (__ieee754_powl): Use __powl_helper for finite arguments except
7931 integer exponents below 8.
7932 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
7933 (p3): New object.
7934 (__ieee754_powl): Use __powl_helper for finite arguments except
7935 integer exponents below 8.
7936 * math/libm-test.inc (pow_test): Add more tests and enable some
7937 previously disabled tests.
7938 * sysdeps/i386/fpu/libm-test-ulps: Update.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7940
0817d63d
SP
79412012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7942 Carlos O'Donell <carlos_odonell@mentor.com>
7943
7944 * nss/makedb.c (is_prime): Assert that input is odd and greater
7945 than 4. Note that fact in a comment too.
7946 (next_prime): Add 4 to input.
7947
de2fd463
SP
79482012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7949
7950 [BZ #11741]
7951 * libio/Makefile (tests): Add test case tst-fwrite-error.
7952 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
7953 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7954 * libio/tst-fwrite-error.c: New test case.
7955
c515fb51
L
79562012-11-26 H.J. Lu <hongjiu.lu@intel.com>
7957
7958 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
7959 before casting to void *.
7960 * include/libc-internal.h (__pointer_type): New macro.
7961 (__integer_if_pointer_type_sub): Likewise.
7962 (__integer_if_pointer_type): Likewise.
7963 (cast_to_integer): Likewise.
7964 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
7965 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
7966 before casting to atomic64_t.
7967 (atomic_exchange_acq): Likewise.
7968 (__arch_exchange_and_add_body): Likewise.
7969 (__arch_add_body): Likewise.
7970 (atomic_add_negative): Likewise.
7971 (atomic_add_zero): Likewise.
7972
4cf77aa9
JM
79732012-11-26 Joseph Myers <joseph@codesourcery.com>
7974
7975 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
7976 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
7977 (add_fdes): Likewise.
7978 (linear_search_fdes): Likewise.
7979 (binary_search_unencoded_fdes): Likewise.
7980
d260b3b4
AS
79812012-11-26 Andreas Schwab <schwab@linux-m68k.org>
7982
7983 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
7984
67060746
AC
79852012-11-24 Adam Conrad <adconrad@0c3.net>
7986
7987 * configure.in: Autodetect C++ header directories.
7988 * configure: Regenerated.
7989
800938a1
MF
79902012-11-23 Mike Frysinger <vapier@gentoo.org>
7991
7992 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
7993
4e6e34e6
AS
79942012-11-23 Andreas Schwab <schwab@linux-m68k.org>
7995
7996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7997
7c7feb47
JM
79982012-11-22 Joseph Myers <joseph@codesourcery.com>
7999
7184dcdf
JM
8000 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8001 LDBL_MANT_DIG == 106]: Disable some tests.
8002 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8003 Likewise.
8004 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8005 Likewise.
8006
0a42601f
JM
8007 [BZ #14871]
8008 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8009 input for small inputs. Return +/- pi/2 for large inputs.
8010 * math/libm-test.inc (atan_test): Add more tests.
8011
79c9b9fe
JM
8012 * sysdeps/generic/unwind-dw2-fde-glibc.c
8013 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8014 __attribute__ ((unused)).
8015
c60d3bf2
JM
8016 [BZ #14645]
8017 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8018 x * y if x and y are nonzero and z is zero.
8019
ef1e0867
JM
8020 [BZ #14811]
8021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8022 nonzero exponents with absolute value below 0x1p-117 to +/-
8023 0x1p-117.
8024
1468ded3
JM
8025 [BZ #14869]
8026 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8027 up arguments below 2**-450, not just those below 2**-500.
8028 * math/libm-test.inc (hypot_test): Add another test.
8029
8e27e3cc
JM
8030 [BZ #14868]
8031 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8032 Return a+b for ratio over 2**120, not 2**60.
8033 * math/libm-test.inc (hypot_test): Add another test.
8034
c9c0279b
JM
8035 * math/libm-test.inc (clog_test): Use
8036 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8037 (clog10_test): Likewise.
8038
7c7feb47
JM
8039 [BZ #6778]
8040 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8041
fff1530e
AS
80422012-11-22 Andreas Schwab <schwab@suse.de>
8043
8044 * sysdeps/i386/fpu/libm-test-ulps: Update.
8045
94558d30
PT
80462012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8047
8048 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8049 printf output with newline.
8050
7e1be741
L
80512012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8052
6bfea974
L
8053 [BZ #14865]
8054 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8055 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8056 -z nodlopen, -z initfirst and -z execstack support.
8057 * configure: Regenerated.
8058
7e1be741
L
8059 * elf/elf.h (DF_1_NODIRECT): New macro.
8060 (DF_1_IGNMULDEF): Likewise.
8061 (DF_1_NOKSYMS): Likewise.
8062 (DF_1_NOHDR): Likewise.
8063 (DF_1_EDITED): Likewise.
8064 (DF_1_NORELOC): Likewise.
8065 (DF_1_SYMINTPOSE): Likewise.
8066 (DF_1_GLOBAUDIT): Likewise.
8067 (DF_1_SINGLETON): Likewise.
8068 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8069 DT_1_SUPPORTED_MASK bits.
8070 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8071
105ce2ce
CD
80722012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8073
8074 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8075
123be9de
TS
80762012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8077
d072f3f7
TS
8078 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8079 macro.
8080
123be9de
TS
8081 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8082 (sendmmsg): Move declarations...
8083 * socket/sys/socket.h: ... here.
8084 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8085 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8086 include it from...
8087 * socket/recvmmsg.c: ... this new file.
8088 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8089 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8090 definition of __sendmmsg hidden.
8091 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8092 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8093 Move ENOSYS stub into and include it from...
8094 * socket/sendmmsg.c: ... this new file.
8095 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8096 (sysdep_routines): Move recvmmsg and sendmmsg...
8097 * socket/Makefile (routines): ... here.
8098 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8099 (GLIBC_PRIVATE): Add __sendmmsg.
8100 * include/sys/socket.h (__sendmmsg): Add declarations.
8101 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8102 sendmmsg.
8103
cf9a5d18
JM
81042012-11-20 Joseph Myers <joseph@codesourcery.com>
8105
8106 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8107 variable I1 with __attribute__ ((unused)).
8108 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8109
ecd4caf9
JM
81102012-11-19 Joseph Myers <joseph@codesourcery.com>
8111
be14d48f
JM
8112 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8113 DUMMY variables with __attribute__ ((unused)).
8114
ecd4caf9
JM
8115 * bits/byteswap.h: Include <bits/types.h>.
8116 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8117
986cab95
PT
81182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8119
8120 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8121 string_t. Do not manually set errno.
8122 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8123 length with __strnlen. Make sure to both set errno and return it on
8124 failure.
8125
6d33cc9d
DM
81262012-11-19 David S. Miller <davem@davemloft.net>
8127
8128 With help from Joseph Myers.
8129 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8130 very large arguments properly.
8131 * math/libm-test.inc (atan_test): New tests.
8132 (atan2_test): New tests.
8133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8135
ee663277
JM
81362012-11-19 Joseph Myers <joseph@codesourcery.com>
8137
877f2d8e
JM
8138 [BZ #14856]
8139 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8140 Define to 3.
8141
116fc08a
JM
8142 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8143 [POSIX] (EADDRNOTAVAIL): Likewise.
8144 [POSIX] (EAFNOSUPPORT): Likewise.
8145 [POSIX] (EALREADY): Likewise.
8146 [POSIX] (ECONNABORTED): Likewise.
8147 [POSIX] (ECONNREFUSED): Likewise.
8148 [POSIX] (ECONNRESET): Likewise.
8149 [POSIX] (EDESTADDRREQ): Likewise.
8150 [POSIX] (EDQUOT): Likewise.
8151 [POSIX] (EHOSTUNREACH): Likewise.
8152 [POSIX] (EIDRM): Likewise.
8153 [POSIX] (EISCONN): Likewise.
8154 [POSIX] (ELOOP): Likewise.
8155 [POSIX] (EMULTIHOP): Likewise.
8156 [POSIX] (ENETDOWN): Likewise.
8157 [POSIX] (ENETUNREACH): Likewise.
8158 [POSIX] (ENOBUFS): Likewise.
8159 [POSIX] (ENODATA): Likewise.
8160 [POSIX] (ENOLINK): Likewise.
8161 [POSIX] (ENOMSG): Likewise.
8162 [POSIX] (ENOPROTOOPT): Likewise.
8163 [POSIX] (ENOSR): Likewise.
8164 [POSIX] (ENOSTR): Likewise.
8165 [POSIX] (ENOTCONN): Likewise.
8166 [POSIX] (ENOTSOCK): Likewise.
8167 [POSIX] (EOPNOTSUPP): Likewise.
8168 [POSIX] (EOVERFLOW): Likewise.
8169 [POSIX] (EPROTO): Likewise.
8170 [POSIX] (EPROTONOSUPPORT): Likewise.
8171 [POSIX] (EPROTOTYPE): Likewise.
8172 [POSIX] (ESTALE): Likewise.
8173 [POSIX] (ETIME): Likewise.
8174 [POSIX] (ETXTBSY): Likewise.
8175 [POSIX] (EWOULDBLOCK): Likewise.
8176 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8177 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8178 [POSIX] (SEEK_CUR): Likewise.
8179 [POSIX] (SEEK_END): Likewise.
8180 [POSIX || UNIX98] (mode_t): Do not require.
8181 [POSIX] (off_t): Likewise.
8182 [POSIX] (pid_t): Likewise.
8183 [POSIX] (sys/stat.h): Do not allow header.
8184 [POSIX] (unistd.h): Likewise.
8185 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8186 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8187 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8188 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8189 require.
8190 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8191 sigevent): Specify elements.
8192 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8193 entry.
8194 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8195 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8196
a483863f
JM
8197 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8198 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8199 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8200 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8201 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8202 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8203 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8204 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8205 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8206 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8207 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8208 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8209 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8210 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8211 Likewise.
8212 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8213 Likewise.
8214 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8215 Likewise.
8216 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8217 Likewise.
8218 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8219 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8220 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8221 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8222 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
8223 Specify lower bound on value.
8224 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
8225 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
8226 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
8227 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
8228 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
8229 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
8230 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
8231 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
8232 value.
8233 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
8234 as optional.
8235 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
8236 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
8237 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
8238 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
8239 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
8240 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
8241 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
8242 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
8243 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
8244 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
8245 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
8246 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
8247 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
8248 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
8249 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
8250 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
8251 entry.
8252 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
8253 optional.
8254 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
8255 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
8256 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
8257 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
8258 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
8259 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
8260 Likewise.
8261 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
8262 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
8263 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
8264 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
8265 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
8266 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
8267 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
8268 as optional.
8269 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
8270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
8271 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
8272 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
8273 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
8274 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
8275 specify as optional.
8276 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
8277 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
8278 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
8279 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
8280 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
8281 [XPG3] (NL_LANGMAX): Likewise.
8282 [POSIX || XPG3] (NL_MSGMAX): Likewise.
8283 [POSIX || XPG3] (NL_NMAX): Likewise.
8284 [POSIX || XPG3] (NL_SETMAX): Likewise.
8285 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
8286 [XPG3] (NZERO): Likewise.
8287 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
8288 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
8289 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
8290 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
8291 (REG_ERANGE): Expect.
8292 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
8293 optional-constant.
8294 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
8295 Use (void) in prototype.
8296 [POSIX] (*_t): Allow.
8297 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
8298 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
8299 (WRDE_BADVAL): Expect.
8300
5ba924e3
JM
8301 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
8302 expect.
8303 [XPG3 || XPG4] (O_RSYNC): Likewise.
8304 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
8305 Likewise.
8306 [XPG3 || XPG4] (pthread_sigmask): Likewise.
8307 [XPG3 || XPG4] (sigqueue): Likewise.
8308 [XPG3 || XPG4] (sigtimedwait): Likewise.
8309 [XPG3 || XPG4] (sigwaitinfo): Likewise.
8310 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
8311 [XPG3 || XPG4] (vsnprintf): Likewise.
8312 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
8313 Likewise.
8314 [XPG3 || XPG4] (blksize_t): Likewise.
8315 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
8316 Likewise.
8317 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
8318 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8319 [XPG3 || XPG4] (struct itimerspec): Likewise.
8320 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
8321 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
8322 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
8323 [XPG3 || XPG4] (clockid_t): Likewise.
8324 [XPG3 || XPG4] (timer_t): Likewise.
8325 [XPG3 || XPG4] (clock_getres): Likewise.
8326 [XPG3 || XPG4] (clock_gettime): Likewise.
8327 [XPG3 || XPG4] (clock_settime): Likewise.
8328 [XPG3 || XPG4] (nanosleep): Likewise.
8329 [XPG3 || XPG4] (timer_create): Likewise.
8330 [XPG3 || XPG4] (timer_delete): Likewise.
8331 [XPG3 || XPG4] (timer_gettime): Likewise.
8332 [XPG3 || XPG4] (timer_getoverrun): Likewise.
8333 [XPG3 || XPG4] (timer_settime): Likewise.
8334 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
8335 [XPG3 || XPG4] (getlogin_r): Likewise.
8336 [XPG3 || XPG4] (pread): Likewise.
8337 [XPG3 || XPG4] (pthread_atfork): Likewise.
8338 [XPG3 || XPG4] (pwrite): Likewise.
8339
ee663277
JM
8340 [BZ #14835]
8341 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
8342 <bits/siginfo.h>.
8343
942caa16
PT
83442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8345
e19af380
PT
8346 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
8347 finalizing MALLSTREAM.
8348
942caa16
PT
8349 * sysdeps/mach/hurd/syncfs.c: New file.
8350
cfde9b46
SP
83512012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8352
8353 [BZ #14719]
8354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
8355 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
8356 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
8357 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
8358 (_nss_dns_gethostbyname4_r): Likewise.
8359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
8360 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
8361
f6da27e5
PH
83622012-11-19 Peng Haitao <penght@cn.fujitsu.com>
8363
8364 [BZ #13763]
8365 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
8366
6665d4a2
SM
83672012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
8368
1f51ee92
SM
8369 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
8370 * elf/cache.c (print_entry): Print ",AArch64" for
8371 FLAG_AARCH64_LIB64
8372
6665d4a2
SM
8373 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
8374 * elf/cache.c (print_entry): Print ",hard-float" for
8375 FLAG_ARM_LIBHF.
8376
05b227bd
DM
83772012-11-18 David S. Miller <davem@davemloft.net>
8378
8379 With help from Joseph Myers.
8380 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
8381 cutoff to 2**-13.
8382 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
8383 cutoff to 2**-25.
8384 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
8385 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
8386 small.
8387 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8388 * math/libm-test.inc (y0_test): New tests.
8389 (y1_test): New tests.
8390 * sysdeps/i386/fpu/libm-test-ulps: Update.
8391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8393
786b0b67
AS
83942012-11-18 Andreas Schwab <schwab@linux-m68k.org>
8395
8396 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
8397 64-bit targets.
8398 * configure: Regenerated.
8399
8e18b86d
DM
84002012-11-17 David S. Miller <davem@davemloft.net>
8401
8402 [BZ #14811]
8403 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
8404 nonzero exponents with absolute value below 0x1p-128 to +/-
8405 0x1p-128.
8406
531f1ae0
JM
84072012-11-17 Joseph Myers <joseph@codesourcery.com>
8408
12df29e2
JM
8409 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
8410
150dc1a0
JM
8411 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
8412
531f1ae0
JM
8413 * posix/getconf-speclist.c: New file.
8414 * posix/posix-envs.def: Likewise.
8415 * posix/confstr.c (START_ENV_GROUP): New macro.
8416 (END_ENV_GROUP): Likewise.
8417 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8418 (KNOWN_PRESENT_ENV_STRING): Likewise.
8419 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8420 (UNKNOWN_ENVIRONMENT): Likewise.
8421 (confstr): Include posix-envs.def instead of handling
8422 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
8423 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
8424 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
8425 (END_ENV_GROUP): Likewise.
8426 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
8427 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
8428 (UNKNOWN_ENVIRONMENT): Likewise.
8429 (__sysconf): Include posix-envs.def instead of handling associated
8430 cases directly here.
8431 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
8432 preprocessing getconf-speclist.c rather than running getconf or
8433 generating empty file.
8434
a93f9cbc
PT
84352012-11-16 Pino Toscano <toscano.pino@tiscali.it>
8436
8437 * scripts/check-local-headers.sh: Ignore 'mach' headers.
8438
d64d9f87
AL
84392012-11-16 Andrej Lajovic <natrij@gmail.com>
8440
8441 [BZ #14672]
8442 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
8443
447885eb
DM
84442012-11-16 David S. Miller <davem@davemloft.net>
8445
8446 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
8447 smaller than LDBL_EPSILON/2.0L, just return xm1.
8448
bcbf9830
L
84492012-11-16 H.J. Lu <hongjiu.lu@intel.com>
8450
8451 * elf/tst-array1.c (init): Set constructor priority to 1000.
8452 (fini): Set destructor priority to 1000.
8453 * elf/tst-array2dep.c: Likewise.
8454
2b766585
SP
84552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8456
8457 [BZ #11741]
8458 * libio/fileops.c (_IO_new_file_write): Correctly return error.
8459 (_IO_new_file_xsputn): Also return EOF if none of the input
8460 data was written when overflow failed.
8461 * libio/iopadn.c (_IO_padn): Likewise.
8462 * libio/iowpadn.c (_IO_wpadn): Likewise.
8463 * stdio-common/tst-put-error.c: Add copyright notice.
8464 (do_test): Add case for printing padded string.
8465 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
8466 _IO_padn returned error.
8467 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
8468 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
8469 return EOF.
8470
b1848fde
SP
84712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8472
8473 * libio/libioP.h: Add comment note that the references to C++
8474 bits are now obsolete.
8475
2fd89785
MS
84762012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8477
8478 * math/libm-test.inc (check_complex): Use asprintf.
8479
e3ea5409
JM
84802012-11-14 Joseph Myers <joseph@codesourcery.com>
8481
8482 * debug/pcprofiledump.c (print_version): Update copyright year.
8483 * malloc/memusagestat.c (print_version): Likewise.
8484
2e64d265
L
84852012-11-14 H.J. Lu <hongjiu.lu@intel.com>
8486
8487 [BZ #14831]
8488 * elf/Makefile (tests): Add tst-audit8.
8489 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
8490 ($(objpfx)tst-audit8.out): New target.
8491 (tst-audit8-ENV): New variable.
8492 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
8493 audit if l_reloc_result is NULL.
8494 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
8495 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
8496 * elf/tst-audit8.c: New file.
8497
c485e4d2
MS
84982012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8499
8500 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
8501 * misc/Makefile (CFLAGS-select.c): Define.
8502 * posix/Makefile (CFLAGS-pause.c): Define.
8503
3a0d900a
DM
85042012-11-13 David S. Miller <davem@davemloft.net>
8505
8506 * crypt/Makefile: Move test targets after toplevel Rules
8507 inclusion. Grab any necessary sysdep routines when linking.
8508 * crypt/md5.c (md5_process_block): Remove define, we will always
8509 name it __md5_process_block.
8510 (md5_finish_ctx): Update md5_process_block call.
8511 (md5_stream): Likewise.
8512 (md5_process_bytes): Likewise.
8513 (md5_process_block): Rename to __md5_process_block and move to ...
8514 * crypt/md5-block.c: ... here.
8515 * crypt/sha256.c (sha256_process_block): Move to ...
8516 * crypt/sha256-block.c: ... here.
8517 * crypt/sha512.c (sha512_process_block): Move to ...
8518 * crypt/sha512-block.c: ... here.
8519 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
8520 path.
8521 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
8522 * sysdeps/sparc/sparc64/multiarch/Makefile
8523 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
8524 crypt subdir.
8525 (localedef-aux): Add md5 crypto assembler when in locale subdir.
8526 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
8527 multiarch changes.
8528 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
8529 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
8530 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
8531 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
8532 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
8533 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
8534 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
8535 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
8536 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
8537 file.
8538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
8539 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
8540 file.
8541 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
8542
8ca89318
JM
85432012-11-13 Joseph Myers <joseph@codesourcery.com>
8544
e27d476a
JM
8545 * timezone/tzselect.ksh: Update from tzcode git revision
8546 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
8547 * timezone/zdump.c: Likewise.
8548 * timezone/zic.c: Likewise.
8549 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
8550 in TZVERSION setting, not $(PKGVERSION).
8551 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
8552 REPORT_BUGS_TO settings.
8553
8ca89318
JM
8554 [BZ #14838]
8555 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
8556 macro.
8557
47594329
MS
85582012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8559
8560 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
8561 detection to immediately after _FP_ROUND().
8562 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
8563 bits are 0.
8564
640ac3f1
DM
85652012-11-11 David S. Miller <davem@davemloft.net>
8566
8567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
8568 inttypes.h
8569 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
8570 __close rather than their public counterparts.
8571
3d2577bb
JM
85722012-11-10 Joseph Myers <joseph@codesourcery.com>
8573
8574 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
8575 file.
8576 [UNIX98] (sem_timedwait): Do not expect.
8577 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
8578 [XPG4 || UNIX98] (sockatmark): Do not expect.
8579 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
8580 (clock_getcpuclockid): Do not expect.
8581 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
8582 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
8583 Do not expect.
8584 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
8585 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
8586 [UNIX98] (vwscanf): Likewise.
8587 [UNIX98] (vswscanf): Likewise.
8588
fb1ae1ee
JM
85892012-11-09 Joseph Myers <joseph@codesourcery.com>
8590
9ec6f8bd
JM
8591 * timezone/version.h: Remove file.
8592 * timezone/README: Do not refer to version.h.
8593 * timezone/Makefile ($(objpfx)zic.o): New dependency on
8594 $(objpfx)version.h.
8595 ($(objpfx)zdump.o): Likewise.
c3f81911 8596 ($(objpfx)version.h): New target.
9ec6f8bd 8597
0aa8f8a1
JM
8598 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
8599 2012i.
8600 * timezone/README: Don't mention modification to tzselect.ksh.
8601 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
8602 work on unmodified tzselect.ksh. Substitute version numbers in
8603 tzselect.ksh.
8604
4e87147f
JM
8605 * Makefile (format-me): Remove.
8606 (INSTALL): Adjust indentation. Use commands directly instead of
8607 using $(format-me).
8608
8b748aed
JM
8609 * aclocal.m4 (ACX_PKGVERSION): New macro.
8610 (ACX_BUGURL): Likewise.
8611 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
8612 (PKGVERSION): New AC_DEFINE_UNQUOTED.
8613 (REPORT_BUGS_TO): Likewise.
8614 * configure: Regenerated.
8615 * config.h.in (PKGVERSION): New macro.
8616 (REPORT_BUGS_TO): Likewise.
8617 * config.make.in (PKGVERSION): New variable.
8618 (PKGVERSION_TEXI): Likewise.
8619 (REPORT_BUGS_TO): Likewise.
8620 (REPORT_BUGS_TEXI): Likewise.
8621 * Makefile (format-me): Use -I$(common-objpfx)manual.
8622 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
8623 ($(common-objpfx)manual/%): New target.
8624 (manual/%): Remove target.
8625 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
8626 (print_version): Use PKGVERSION.
8627 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
8628 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
8629 and REPORT_BUGS_TO.
8630 ($(objpfx)xtrace): Likewise.
8631 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
8632 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
8633 (print_version): Use PKGVERSION.
8634 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
8635 (do_version): Use PKGVERSION.
8636 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
8637 REPORT_BUGS_TO.
8638 (common-ldd-rewrite): Likewise.
8639 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
8640 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
8641 (print_version): Use PKGVERSION.
8642 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
8643 * elf/pldd.c (argp_program_bug_address): Remove variable.
8644 (more_help): New function.
8645 (argp): Use more_help.
8646 (print_version): Use PKGVERSION.
8647 * elf/sln.c (main): Use PKGVERSION.
8648 (usage): Use REPORT_BUGS_TO.
8649 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
8650 (top level): Use PKGVERSION.
8651 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
8652 (print_version): Use PKGVERSION.
8653 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
8654 (print_version): Use PKGVERSION.
8655 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
8656 (print_version): Use PKGVERSION.
8657 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
8658 (print_version): Use PKGVERSION.
8659 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
8660 (print_version): Use PKGVERSION.
8661 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
8662 (print_version): Use PKGVERSION.
8663 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
8664 and BUGURL.
8665 ($(objpfx)memusage): Likewise.
8666 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
8667 (do_version): Use PKGVERSION.
8668 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
8669 (print_version): Use PKGVERSION.
8670 * malloc/mtrace.pl ($PACKAGE): Remove variable.
8671 ($PKGVERSION): New variable.
8672 ($REPORT_BUGS_TO): Likewise.
8673 (usage): Use $REPORT_BUGS_TO.
8674 (top level): Use $PKGVERSION.
8675 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
8676 ($(objpfx)pkgvers.texi): New rule.
8677 ($(objpfx)stamp-pkgvers): Likewise.
8678 * manual/install.texi: Include pkgvers.texi.
8679 (--with-pkgversion): Document new configure option.
8680 (--with-bugurl): Likewise.
8681 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
8682 than necessarily for this particular distribution. Use
8683 REPORT_BUGS_TO for where to report bugs.
8684 * INSTALL: Regenerated.
8685 * manual/libc.texinfo: Include pkgvers.texi.
8686 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
8687 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
8688 (print_version): Use PKGVERSION.
8689 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
8690 (print_version): Use PKGVERSION.
8691 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
8692 (print_version): Use PKGVERSION.
8693 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
8694 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
8695 macro.
8696 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
8697 (print_version): Use PKGVERSION.
8698 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
8699 (print_version): Use PKGVERSION.
8700 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
8701 and PKGVERSION.
8702
92e4b6a9
JM
8703 * timezone/checktab.awk: Update from tzcode 2012i.
8704 * timezone/ialloc.c: Likewise.
8705 * timezone/private.h: Likewise.
8706 * timezone/scheck.c: Likewise.
8707 * timezone/tzfile.h: Likewise.
8708 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
8709 (TZVERSION): Hardcode tzcode version number.
8710 * timezone/zdump.c: Update from tzcode 2012i.
8711 * timezone/zic.c: Likewise.
8712 * timezone/version.h: New file.
8713 * timezone/README: Describe version.h. Update upstream location.
8714
9bde902c
JM
8715 [BZ #14824]
8716 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
8717 (mktemp): Enable declaration.
8718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
8719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
8720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
8721 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
8722 Likewise.
8723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
8724 Likewise.
8725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
8726 Likewise.
8727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
8728 Likewise.
8729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
8730 Likewise.
8731 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
8732 Likewise.
8733
fb1ae1ee
JM
8734 [BZ #14821]
8735 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
8736 offset in buffer as u_int32_t not u_long. Consistently use memcpy
8737 for copies of such integer values.
8738 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8739 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8740
2c1adbcb
AJ
87412012-11-09 Andreas Jaeger <aj@suse.de>
8742
8743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
8744 definitions and declarations that are provided by
8745 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8746
d0f8457e
AK
87472012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8748
3a235abb 8749 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
8750 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
8751 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
8752 definition.
8753
57241e26
MS
87542012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8755
8756 * elf/elf.h: Update comment before AArch64 relocations.
8757
60e8270d
DM
87582012-11-07 David S. Miller <davem@davemloft.net>
8759
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
8761 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8762 (__start_context): Declare.
8763 (__makecontext_ret): Delete.
8764 (__makecontext): Hook up __start_context instead of
8765 __makecontext_ret.
8766 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8767 (sysdep_routines): Add __start_context when in stdlib.
8768
0fbb0fbc
JM
87692012-11-07 Joseph Myers <joseph@codesourcery.com>
8770
8771 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
8772 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
8773 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
8774 hardcoded "nm".
8775 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
8776 (READELF): New variable. Use it instead of hardcoded "readelf".
8777
eb48db7e
L
87782012-11-07 H.J. Lu <hongjiu.lu@intel.com>
8779
8780 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
8781 * sysdeps/x86/Makefile: Here.
8782 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
8783 * sysdeps/x86/tst-xmmymm.sh: This.
8784
05bcf62a
JM
87852012-11-07 Joseph Myers <joseph@codesourcery.com>
8786
c4b6cf53
JM
8787 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
8788 expectations.
8789 [UNIX98] (pthread_barrier_t): Do not expect.
8790 [UNIX98] (pthread_barrierattr_t): Likewise.
8791 [UNIX98] (pthread_spinlock_t): Likewise.
8792 [UNIX98] (pthread_barrier_destroy): Likewise.
8793 [UNIX98] (pthread_barrier_init): Likewise.
8794 [UNIX98] (pthread_barrier_wait): Likewise.
8795 [UNIX98] (pthread_barrierattr_destroy): Likewise.
8796 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
8797 [UNIX98] (pthread_barrierattr_init): Likewise.
8798 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
8799 [UNIX98] (pthread_getcpuclockid): Likewise.
8800 [UNIX98] (pthread_mutex_timedlock): Likewise.
8801 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
8802 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
8803 [UNIX98] (pthread_sigmask): Likewise.
8804 [UNIX98] (pthread_spin_destroy): Likewise.
8805 [UNIX98] (pthread_spin_init): Likewise.
8806 [UNIX98] (pthread_spin_lock): Likewise.
8807 [UNIX98] (pthread_spin_trylock): Likewise.
8808 [UNIX98] (pthread_spin_unlock): Likewise.
8809 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
8810 Do not expect.
8811 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
8812 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
8813 [XPG3 || XPG4] (pthread_cond_t): Likewise.
8814 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
8815 [XPG3 || XPG4] (pthread_key_t): Likewise.
8816 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
8817 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
8818 [XPG3 || XPG4] (pthread_once_t): Likewise.
8819 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
8820 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
8821 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
8822 [XPG3 || XPG4] (pthread_t): Likewise.
8823
cbe6e120
JM
8824 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
8825 not expect.
8826 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
8827
1b126443
JM
8828 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
8829 Change function return type to int.
8830
b961a573
JM
8831 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
8832 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
8833 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
8834 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
8835 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
8836 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
8837 [!POSIX] (posix_madvise): Likewise.
8838 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
8839 && !UNIX98].
8840 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
8841 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
8842 (mode_t): Likewise.
8843 (posix_mem_offset): Likewise.
8844 (posix_typed_mem_get_info): Likewise.
8845 (posix_typed_mem_open): Likewise.
8846
9e188909
JM
8847 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
8848 Change condition to [XOPEN2K8].
8849
05bcf62a
JM
8850 * conform/conformtest.pl: Preprocess allow-header data with -x c
8851 instead of from stdin.
8852 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
8853 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
8854 [C99-based standards] (cerfc): Likewise.
8855 [C99-based standards] (cexp2): Likewise.
8856 [C99-based standards] (cexpm1): Likewise.
8857 [C99-based standards] (clog10): Likewise.
8858 [C99-based standards] (clog1p): Likewise.
8859 [C99-based standards] (clog2): Likewise.
8860 [C99-based standards] (clgamma): Likewise.
8861 [C99-based standards] (ctgamma): Likewise.
8862 [C99-based standards] (cerff): Likewise.
8863 [C99-based standards] (cerfcf): Likewise.
8864 [C99-based standards] (cexp2f): Likewise.
8865 [C99-based standards] (cexpm1f): Likewise.
8866 [C99-based standards] (clog10f): Likewise.
8867 [C99-based standards] (clog1pf): Likewise.
8868 [C99-based standards] (clog2f): Likewise.
8869 [C99-based standards] (clgammaf): Likewise.
8870 [C99-based standards] (ctgammaf): Likewise.
8871 [C99-based standards] (cerfl): Likewise.
8872 [C99-based standards] (cerfcl): Likewise.
8873 [C99-based standards] (cexp2l): Likewise.
8874 [C99-based standards] (cexpm1l): Likewise.
8875 [C99-based standards] (clog10l): Likewise.
8876 [C99-based standards] (clog1pl): Likewise.
8877 [C99-based standards] (clog2l): Likewise.
8878 [C99-based standards] (clgammal): Likewise.
8879 [C99-based standards] (ctgammal): Likewise.
8880 * conform/data/inttypes.h-data [C99-based standards]: Include
8881 stdint.h-data. Remove all expectations for stdint.h contents.
8882 [C99-based standards] (PRI*): Do not allow.
8883 [C99-based standards] (SCN*): Likewise.
8884 [C99-based standards] (*_t): Likewise.
8885 [C99-based-standards] (PRId8): Expect macro.
8886 [C99-based-standards] (PRIi8): Likewise.
8887 [C99-based-standards] (PRIo8): Likewise.
8888 [C99-based-standards] (PRIu8): Likewise.
8889 [C99-based-standards] (PRIx8): Likewise.
8890 [C99-based-standards] (PRIX8): Likewise.
8891 [C99-based-standards] (SCNd8): Likewise.
8892 [C99-based-standards] (SCNi8): Likewise.
8893 [C99-based-standards] (SCNo8): Likewise.
8894 [C99-based-standards] (SCNu8): Likewise.
8895 [C99-based-standards] (SCNx8): Likewise.
8896 [C99-based-standards] (PRIdLEAST8): Likewise.
8897 [C99-based-standards] (PRIiLEAST8): Likewise.
8898 [C99-based-standards] (PRIoLEAST8): Likewise.
8899 [C99-based-standards] (PRIuLEAST8): Likewise.
8900 [C99-based-standards] (PRIxLEAST8): Likewise.
8901 [C99-based-standards] (PRIXLEAST8): Likewise.
8902 [C99-based-standards] (SCNdLEAST8): Likewise.
8903 [C99-based-standards] (SCNiLEAST8): Likewise.
8904 [C99-based-standards] (SCNoLEAST8): Likewise.
8905 [C99-based-standards] (SCNuLEAST8): Likewise.
8906 [C99-based-standards] (SCNxLEAST8): Likewise.
8907 [C99-based-standards] (PRIdFAST8): Likewise.
8908 [C99-based-standards] (PRIiFAST8): Likewise.
8909 [C99-based-standards] (PRIoFAST8): Likewise.
8910 [C99-based-standards] (PRIuFAST8): Likewise.
8911 [C99-based-standards] (PRIxFAST8): Likewise.
8912 [C99-based-standards] (PRIXFAST8): Likewise.
8913 [C99-based-standards] (SCNdFAST8): Likewise.
8914 [C99-based-standards] (SCNiFAST8): Likewise.
8915 [C99-based-standards] (SCNoFAST8): Likewise.
8916 [C99-based-standards] (SCNuFAST8): Likewise.
8917 [C99-based-standards] (SCNxFAST8): Likewise.
8918 [C99-based-standards] (PRId16): Likewise.
8919 [C99-based-standards] (PRIi16): Likewise.
8920 [C99-based-standards] (PRIo16): Likewise.
8921 [C99-based-standards] (PRIu16): Likewise.
8922 [C99-based-standards] (PRIx16): Likewise.
8923 [C99-based-standards] (PRIX16): Likewise.
8924 [C99-based-standards] (SCNd16): Likewise.
8925 [C99-based-standards] (SCNi16): Likewise.
8926 [C99-based-standards] (SCNo16): Likewise.
8927 [C99-based-standards] (SCNu16): Likewise.
8928 [C99-based-standards] (SCNx16): Likewise.
8929 [C99-based-standards] (PRIdLEAST16): Likewise.
8930 [C99-based-standards] (PRIiLEAST16): Likewise.
8931 [C99-based-standards] (PRIoLEAST16): Likewise.
8932 [C99-based-standards] (PRIuLEAST16): Likewise.
8933 [C99-based-standards] (PRIxLEAST16): Likewise.
8934 [C99-based-standards] (PRIXLEAST16): Likewise.
8935 [C99-based-standards] (SCNdLEAST16): Likewise.
8936 [C99-based-standards] (SCNiLEAST16): Likewise.
8937 [C99-based-standards] (SCNoLEAST16): Likewise.
8938 [C99-based-standards] (SCNuLEAST16): Likewise.
8939 [C99-based-standards] (SCNxLEAST16): Likewise.
8940 [C99-based-standards] (PRIdFAST16): Likewise.
8941 [C99-based-standards] (PRIiFAST16): Likewise.
8942 [C99-based-standards] (PRIoFAST16): Likewise.
8943 [C99-based-standards] (PRIuFAST16): Likewise.
8944 [C99-based-standards] (PRIxFAST16): Likewise.
8945 [C99-based-standards] (PRIXFAST16): Likewise.
8946 [C99-based-standards] (SCNdFAST16): Likewise.
8947 [C99-based-standards] (SCNiFAST16): Likewise.
8948 [C99-based-standards] (SCNoFAST16): Likewise.
8949 [C99-based-standards] (SCNuFAST16): Likewise.
8950 [C99-based-standards] (SCNxFAST16): Likewise.
8951 [C99-based-standards] (PRId32): Likewise.
8952 [C99-based-standards] (PRIi32): Likewise.
8953 [C99-based-standards] (PRIo32): Likewise.
8954 [C99-based-standards] (PRIu32): Likewise.
8955 [C99-based-standards] (PRIx32): Likewise.
8956 [C99-based-standards] (PRIX32): Likewise.
8957 [C99-based-standards] (SCNd32): Likewise.
8958 [C99-based-standards] (SCNi32): Likewise.
8959 [C99-based-standards] (SCNo32): Likewise.
8960 [C99-based-standards] (SCNu32): Likewise.
8961 [C99-based-standards] (SCNx32): Likewise.
8962 [C99-based-standards] (PRIdLEAST32): Likewise.
8963 [C99-based-standards] (PRIiLEAST32): Likewise.
8964 [C99-based-standards] (PRIoLEAST32): Likewise.
8965 [C99-based-standards] (PRIuLEAST32): Likewise.
8966 [C99-based-standards] (PRIxLEAST32): Likewise.
8967 [C99-based-standards] (PRIXLEAST32): Likewise.
8968 [C99-based-standards] (SCNdLEAST32): Likewise.
8969 [C99-based-standards] (SCNiLEAST32): Likewise.
8970 [C99-based-standards] (SCNoLEAST32): Likewise.
8971 [C99-based-standards] (SCNuLEAST32): Likewise.
8972 [C99-based-standards] (SCNxLEAST32): Likewise.
8973 [C99-based-standards] (PRIdFAST32): Likewise.
8974 [C99-based-standards] (PRIiFAST32): Likewise.
8975 [C99-based-standards] (PRIoFAST32): Likewise.
8976 [C99-based-standards] (PRIuFAST32): Likewise.
8977 [C99-based-standards] (PRIxFAST32): Likewise.
8978 [C99-based-standards] (PRIXFAST32): Likewise.
8979 [C99-based-standards] (SCNdFAST32): Likewise.
8980 [C99-based-standards] (SCNiFAST32): Likewise.
8981 [C99-based-standards] (SCNoFAST32): Likewise.
8982 [C99-based-standards] (SCNuFAST32): Likewise.
8983 [C99-based-standards] (SCNxFAST32): Likewise.
8984 [C99-based-standards] (PRId64): Likewise.
8985 [C99-based-standards] (PRIi64): Likewise.
8986 [C99-based-standards] (PRIo64): Likewise.
8987 [C99-based-standards] (PRIu64): Likewise.
8988 [C99-based-standards] (PRIx64): Likewise.
8989 [C99-based-standards] (PRIX64): Likewise.
8990 [C99-based-standards] (SCNd64): Likewise.
8991 [C99-based-standards] (SCNi64): Likewise.
8992 [C99-based-standards] (SCNo64): Likewise.
8993 [C99-based-standards] (SCNu64): Likewise.
8994 [C99-based-standards] (SCNx64): Likewise.
8995 [C99-based-standards] (PRIdLEAST64): Likewise.
8996 [C99-based-standards] (PRIiLEAST64): Likewise.
8997 [C99-based-standards] (PRIoLEAST64): Likewise.
8998 [C99-based-standards] (PRIuLEAST64): Likewise.
8999 [C99-based-standards] (PRIxLEAST64): Likewise.
9000 [C99-based-standards] (PRIXLEAST64): Likewise.
9001 [C99-based-standards] (SCNdLEAST64): Likewise.
9002 [C99-based-standards] (SCNiLEAST64): Likewise.
9003 [C99-based-standards] (SCNoLEAST64): Likewise.
9004 [C99-based-standards] (SCNuLEAST64): Likewise.
9005 [C99-based-standards] (SCNxLEAST64): Likewise.
9006 [C99-based-standards] (PRIdFAST64): Likewise.
9007 [C99-based-standards] (PRIiFAST64): Likewise.
9008 [C99-based-standards] (PRIoFAST64): Likewise.
9009 [C99-based-standards] (PRIuFAST64): Likewise.
9010 [C99-based-standards] (PRIxFAST64): Likewise.
9011 [C99-based-standards] (PRIXFAST64): Likewise.
9012 [C99-based-standards] (SCNdFAST64): Likewise.
9013 [C99-based-standards] (SCNiFAST64): Likewise.
9014 [C99-based-standards] (SCNoFAST64): Likewise.
9015 [C99-based-standards] (SCNuFAST64): Likewise.
9016 [C99-based-standards] (SCNxFAST64): Likewise.
9017 [C99-based-standards] (PRIdMAX): Likewise.
9018 [C99-based-standards] (PRIiMAX): Likewise.
9019 [C99-based-standards] (PRIoMAX): Likewise.
9020 [C99-based-standards] (PRIuMAX): Likewise.
9021 [C99-based-standards] (PRIxMAX): Likewise.
9022 [C99-based-standards] (PRIXMAX): Likewise.
9023 [C99-based-standards] (SCNdMAX): Likewise.
9024 [C99-based-standards] (SCNiMAX): Likewise.
9025 [C99-based-standards] (SCNoMAX): Likewise.
9026 [C99-based-standards] (SCNuMAX): Likewise.
9027 [C99-based-standards] (SCNxMAX): Likewise.
9028 [C99-based-standards] (PRIdPTR): Likewise.
9029 [C99-based-standards] (PRIiPTR): Likewise.
9030 [C99-based-standards] (PRIoPTR): Likewise.
9031 [C99-based-standards] (PRIuPTR): Likewise.
9032 [C99-based-standards] (PRIxPTR): Likewise.
9033 [C99-based-standards] (PRIXPTR): Likewise.
9034 [C99-based-standards] (SCNdPTR): Likewise.
9035 [C99-based-standards] (SCNiPTR): Likewise.
9036 [C99-based-standards] (SCNoPTR): Likewise.
9037 [C99-based-standards] (SCNuPTR): Likewise.
9038 [C99-based-standards] (SCNxPTR): Likewise.
9039 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9040 allow.
9041 * conform/data/stdint.h-data: Update comments to clarify
9042 requirements.
9043 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9044 type.
9045 [C99-based standards] (INT8_MAX): Likewise.
9046 [C99-based standards] (INT16_MIN): Likewise.
9047 [C99-based standards] (INT16_MAX): Likewise.
9048 [C99-based standards] (INT32_MIN): Likewise.
9049 [C99-based standards] (INT32_MAX): Likewise.
9050 [C99-based standards] (INT64_MIN): Likewise.
9051 [C99-based standards] (INT64_MAX): Likewise.
9052 [C99-based standards] (UINT8_MAX): Likewise.
9053 [C99-based standards] (UINT16_MAX): Likewise.
9054 [C99-based standards] (UINT32_MAX): Likewise.
9055 [C99-based standards] (UINT64_MAX): Likewise.
9056 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9057 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9058 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9059 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9060 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9061 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9062 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9063 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9064 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9065 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9066 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9067 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9068 [C99-based standards] (INT_FAST8_MIN): Likewise.
9069 [C99-based standards] (INT_FAST8_MAX): Likewise.
9070 [C99-based standards] (INT_FAST16_MIN): Likewise.
9071 [C99-based standards] (INT_FAST16_MAX): Likewise.
9072 [C99-based standards] (INT_FAST32_MIN): Likewise.
9073 [C99-based standards] (INT_FAST32_MAX): Likewise.
9074 [C99-based standards] (INT_FAST64_MIN): Likewise.
9075 [C99-based standards] (INT_FAST64_MAX): Likewise.
9076 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9077 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9078 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9079 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9080 [C99-based standards] (INTPTR_MIN): Likewise.
9081 [C99-based standards] (INTPTR_MAX): Likewise.
9082 [C99-based standards] (UINTPTR_MAX): Likewise.
9083 [C99-based standards] (INTMAX_MIN): Likewise.
9084 [C99-based standards] (INTMAX_MAX): Likewise.
9085 [C99-based standards] (UINTMAX_MAX): Likewise.
9086 [C99-based standards] (PTRDIFF_MIN): Likewise.
9087 [C99-based standards] (PTRDIFF_MAX): Likewise.
9088 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9089 [C99-based standards] (SIZE_MAX): Likewise.
9090 [C99-based standards] (WCHAR_MAX): Likewise.
9091 [C99-based standards] (WINT_MAX): Likewise.
9092 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9093 constraint on value.
9094 [C99-based standards] (WCHAR_MIN): Likewise.
9095 [C99-based standards] (WINT_MIN): Likewise.
9096 [C99-based standards] (*_t): Allow.
9097 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9098 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9099 Include math.h-data and complex.h-data. Remove all expectations
9100 of math.h and complex.h contents.
9101 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9102 at end of line.
9103 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9104 (struct tm): Expect tag.
9105 [C99-based-standards] (wcstof): Expect function.
9106 [C99-based-standards] (wcstold): Likewise.
9107 [C99-based-standards] (wcstoll): Likewise.
9108 [C99-based-standards] (wcstoull): Likewise.
9109 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9110 macro-int-constant. Specify type.
9111 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9112 constraint on value.
9113 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9114 Specify type.
9115 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9116 Specify value.
9117 [ISO C standards]: Do not allow headers.
9118 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9119 wcs[abcdefghijklmnopqrstuvwxyz]*.
9120 [ISO C standards] (*_t): Do not allow.
9121 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9122 Expect function.
9123 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9124 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9125 Specify type.
9126 [ISO C standards]: Do not allow headers.
9127 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9128 is[abcdefghijklmnopqrstuvwxyz]*.
9129 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9130 to[abcdefghijklmnopqrstuvwxyz]*.
9131 [ISO C standards] (*_t): Do not allow.
9132 * conform/data/stdalign.h-data: New file.
9133 * conform/data/stdbool.h-data: Likewise.
9134 * conform/data/stdnoreturn.h-data: Likewise.
9135
7514feb8
RM
91362012-11-07 Roland McGrath <roland@hack.frob.com>
9137
9138 [BZ #14815]
9139 * manual/filesys.texi (Directory Entries): Typo fix.
9140 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9141
19b2ecfc
MS
91422012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9143
9144 * elf/elf.h (EM_AARCH64): New macro.
9145 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9146 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9147 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9148 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9149 (R_AARCH64_TLSDESC): Likewise.
9150 (NT_ARM_TLS): Likewise.
9151 (NT_ARM_HW_BREAK): Likewise.
9152 (NT_ARM_HW_WATCH): Likewise.
9153
60e235ee
JM
91542012-11-07 Joseph Myers <joseph@codesourcery.com>
9155
9156 [BZ #14811]
9157 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9158 (__ieee754_powl): Saturate nonzero exponents with absolute value
9159 below 0x1p-79 to +/- 0x1p-79.
9160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9161 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9162 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9163 nonzero exponents with absolute value below 0x1p-32 to +/-
9164 0x1p-32.
9165 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9166 (__ieee754_powl): Saturate nonzero exponents with absolute value
9167 below 0x1p-79 to +/- 0x1p-79.
9168 * math/libm-test.inc (pow_test): Add more tests.
9169
0ab234b7
AK
91702012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9171
9172 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9173 _dl_s390_cap_flags with kernel. Increase string length.
9174 (_dl_s390_platforms): Add z196 and zEC12.
9175
45832f74
JM
91762012-11-07 Joseph Myers <joseph@codesourcery.com>
9177
9178 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9179 Change XOPEN21K to XOPEN2K.
9180
19218757
MK
91812012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9182
9183 * string/memmove.c: Use memcpy when possible.
9184
c5f45721
AJ
91852012-11-06 Andreas Jaeger <aj@suse.de>
9186
9187 * po/eo.po: Update from translation team.
9188
82477c28
JM
91892012-11-06 Joseph Myers <joseph@codesourcery.com>
9190
9191 [BZ #14793]
9192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9193 exponent and small x and y exponents, scale x or y up. Increase
9194 by 2 the exponent used in scaling up.
9195 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9196 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9197 * math/libm-test.inc (fma_test): Add more tests.
9198 (fma_test_towardzero): Likewise.
9199 (fma_test_downward): Likewise.
9200 (fma_test_upward): Likewise.
9201
99252c8c
JM
92022012-11-05 Joseph Myers <joseph@codesourcery.com>
9203
acfa885f
JM
9204 [BZ #14805]
9205 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9206 fenv_t *.
9207
99252c8c
JM
9208 [BZ #14801]
9209 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9210 namespace for names of struct fields.
9211 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9212 fenv_t fields.
9213 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9214 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9215
d6d98dea
ST
92162012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9217
9218 [BZ #3665]
9219 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9220
e10bb107
TS
92212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9222
9223 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
9224 PTR_DEMANGLE.
9225
9226 [BZ #5246]
9227 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
9228 PTR_DEMANGLE.
9229
a0c2940d
JM
92302012-11-04 Joseph Myers <joseph@codesourcery.com>
9231
9232 [BZ #14797]
9233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
9234 definitely overflow as x * y not x * y + z.
9235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9237 * math/libm-test.inc (fma_test): Add more tests.
9238 (fma_test_towardzero): Likewise.
9239 (fma_test_downward): Likewise.
9240 (fma_test_upward): Likewise.
9241
b830319d
TS
92422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9243
9244 [BZ #157]
9245
9246 * include/stub-tag.h: Remove file.
9247 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
9248 '#include' of it.
9249 * manual/maint.texi (Porting): Don't reference it.
9250 * Makerules ($(objpfx)stubs): Likewise.
9251 * dirent/closedir.c: Don't include <stub-tag.h>.
9252 * dirent/dirfd.c: Likewise.
9253 * dirent/fdopendir.c: Likewise.
9254 * dirent/getdents.c: Likewise.
9255 * dirent/getdents64.c: Likewise.
9256 * dirent/opendir.c: Likewise.
9257 * dirent/readdir.c: Likewise.
9258 * dirent/readdir64.c: Likewise.
9259 * dirent/readdir64_r.c: Likewise.
9260 * dirent/readdir_r.c: Likewise.
9261 * dirent/rewinddir.c: Likewise.
9262 * dirent/seekdir.c: Likewise.
9263 * dirent/telldir.c: Likewise.
9264 * gmon/profil.c: Likewise.
9265 * grp/setgroups.c: Likewise.
9266 * inet/if_index.c: Likewise.
9267 * io/access.c: Likewise.
9268 * io/chdir.c: Likewise.
9269 * io/chmod.c: Likewise.
9270 * io/chown.c: Likewise.
9271 * io/close.c: Likewise.
9272 * io/dup.c: Likewise.
9273 * io/dup2.c: Likewise.
9274 * io/dup3.c: Likewise.
9275 * io/euidaccess.c: Likewise.
9276 * io/faccessat.c: Likewise.
9277 * io/fchdir.c: Likewise.
9278 * io/fchmod.c: Likewise.
9279 * io/fchmodat.c: Likewise.
9280 * io/fchown.c: Likewise.
9281 * io/fchownat.c: Likewise.
9282 * io/fcntl.c: Likewise.
9283 * io/flock.c: Likewise.
9284 * io/fstatfs.c: Likewise.
9285 * io/fstatfs64.c: Likewise.
9286 * io/fstatvfs.c: Likewise.
9287 * io/fstatvfs64.c: Likewise.
9288 * io/futimens.c: Likewise.
9289 * io/fxstat.c: Likewise.
9290 * io/fxstat64.c: Likewise.
9291 * io/fxstatat.c: Likewise.
9292 * io/fxstatat64.c: Likewise.
9293 * io/getcwd.c: Likewise.
9294 * io/isatty.c: Likewise.
9295 * io/lchmod.c: Likewise.
9296 * io/lchown.c: Likewise.
9297 * io/link.c: Likewise.
9298 * io/linkat.c: Likewise.
9299 * io/lseek.c: Likewise.
9300 * io/lseek64.c: Likewise.
9301 * io/lxstat64.c: Likewise.
9302 * io/mkdir.c: Likewise.
9303 * io/mkdirat.c: Likewise.
9304 * io/mkfifo.c: Likewise.
9305 * io/mkfifoat.c: Likewise.
9306 * io/open.c: Likewise.
9307 * io/open64.c: Likewise.
9308 * io/openat.c: Likewise.
9309 * io/openat64.c: Likewise.
9310 * io/pipe.c: Likewise.
9311 * io/pipe2.c: Likewise.
9312 * io/poll.c: Likewise.
9313 * io/posix_fadvise.c: Likewise.
9314 * io/posix_fadvise64.c: Likewise.
9315 * io/posix_fallocate.c: Likewise.
9316 * io/posix_fallocate64.c: Likewise.
9317 * io/read.c: Likewise.
9318 * io/readlink.c: Likewise.
9319 * io/readlinkat.c: Likewise.
9320 * io/rmdir.c: Likewise.
9321 * io/sendfile.c: Likewise.
9322 * io/sendfile64.c: Likewise.
9323 * io/statfs.c: Likewise.
9324 * io/statfs64.c: Likewise.
9325 * io/statvfs.c: Likewise.
9326 * io/statvfs64.c: Likewise.
9327 * io/symlink.c: Likewise.
9328 * io/symlinkat.c: Likewise.
9329 * io/ttyname.c: Likewise.
9330 * io/ttyname_r.c: Likewise.
9331 * io/umask.c: Likewise.
9332 * io/unlink.c: Likewise.
9333 * io/unlinkat.c: Likewise.
9334 * io/utime.c: Likewise.
9335 * io/utimensat.c: Likewise.
9336 * io/write.c: Likewise.
9337 * io/xmknod.c: Likewise.
9338 * io/xmknodat.c: Likewise.
9339 * io/xstat.c: Likewise.
9340 * io/xstat64.c: Likewise.
9341 * login/getpt.c: Likewise.
9342 * login/grantpt.c: Likewise.
9343 * login/unlockpt.c: Likewise.
9344 * math/e_acoshl.c: Likewise.
9345 * math/e_acosl.c: Likewise.
9346 * math/e_asinl.c: Likewise.
9347 * math/e_atan2l.c: Likewise.
9348 * math/e_atanhl.c: Likewise.
9349 * math/e_coshl.c: Likewise.
9350 * math/e_expl.c: Likewise.
9351 * math/e_fmodl.c: Likewise.
9352 * math/e_gammal_r.c: Likewise.
9353 * math/e_hypotl.c: Likewise.
9354 * math/e_j0l.c: Likewise.
9355 * math/e_j1l.c: Likewise.
9356 * math/e_jnl.c: Likewise.
9357 * math/e_lgammal_r.c: Likewise.
9358 * math/e_log10l.c: Likewise.
9359 * math/e_log2l.c: Likewise.
9360 * math/e_logl.c: Likewise.
9361 * math/e_powl.c: Likewise.
9362 * math/e_rem_pio2l.c: Likewise.
9363 * math/e_sinhl.c: Likewise.
9364 * math/e_sqrtl.c: Likewise.
9365 * math/fclrexcpt.c: Likewise.
9366 * math/fedisblxcpt.c: Likewise.
9367 * math/feenablxcpt.c: Likewise.
9368 * math/fegetenv.c: Likewise.
9369 * math/fegetexcept.c: Likewise.
9370 * math/fegetround.c: Likewise.
9371 * math/feholdexcpt.c: Likewise.
9372 * math/fesetenv.c: Likewise.
9373 * math/fesetround.c: Likewise.
9374 * math/feupdateenv.c: Likewise.
9375 * math/fgetexcptflg.c: Likewise.
9376 * math/fraiseexcpt.c: Likewise.
9377 * math/fsetexcptflg.c: Likewise.
9378 * math/ftestexcept.c: Likewise.
9379 * math/k_cosl.c: Likewise.
9380 * math/k_rem_pio2l.c: Likewise.
9381 * math/k_sinl.c: Likewise.
9382 * math/k_tanl.c: Likewise.
9383 * math/s_asinhl.c: Likewise.
9384 * math/s_atanl.c: Likewise.
9385 * math/s_cbrtl.c: Likewise.
9386 * math/s_erfl.c: Likewise.
9387 * math/s_expm1l.c: Likewise.
9388 * math/s_log1pl.c: Likewise.
9389 * math/s_tanhl.c: Likewise.
9390 * misc/acct.c: Likewise.
9391 * misc/brk.c: Likewise.
9392 * misc/chflags.c: Likewise.
9393 * misc/chroot.c: Likewise.
9394 * misc/fchflags.c: Likewise.
9395 * misc/fgetxattr.c: Likewise.
9396 * misc/flistxattr.c: Likewise.
9397 * misc/fremovexattr.c: Likewise.
9398 * misc/fsetxattr.c: Likewise.
9399 * misc/fsync.c: Likewise.
9400 * misc/ftruncate.c: Likewise.
9401 * misc/futimes.c: Likewise.
9402 * misc/futimesat.c: Likewise.
9403 * misc/getdomain.c: Likewise.
9404 * misc/getdtsz.c: Likewise.
9405 * misc/gethostid.c: Likewise.
9406 * misc/gethostname.c: Likewise.
9407 * misc/getloadavg.c: Likewise.
9408 * misc/getpagesize.c: Likewise.
9409 * misc/getsysstats.c: Likewise.
9410 * misc/getxattr.c: Likewise.
9411 * misc/gtty.c: Likewise.
9412 * misc/ioctl.c: Likewise.
9413 * misc/lgetxattr.c: Likewise.
9414 * misc/listxattr.c: Likewise.
9415 * misc/llistxattr.c: Likewise.
9416 * misc/lremovexattr.c: Likewise.
9417 * misc/lsetxattr.c: Likewise.
9418 * misc/lutimes.c: Likewise.
9419 * misc/madvise.c: Likewise.
9420 * misc/mincore.c: Likewise.
9421 * misc/mlock.c: Likewise.
9422 * misc/mlockall.c: Likewise.
9423 * misc/mmap.c: Likewise.
9424 * misc/mprotect.c: Likewise.
9425 * misc/msync.c: Likewise.
9426 * misc/munlock.c: Likewise.
9427 * misc/munlockall.c: Likewise.
9428 * misc/munmap.c: Likewise.
9429 * misc/preadv.c: Likewise.
9430 * misc/preadv64.c: Likewise.
9431 * misc/ptrace.c: Likewise.
9432 * misc/pwritev.c: Likewise.
9433 * misc/pwritev64.c: Likewise.
9434 * misc/readv.c: Likewise.
9435 * misc/reboot.c: Likewise.
9436 * misc/remap_file_pages.c: Likewise.
9437 * misc/removexattr.c: Likewise.
9438 * misc/revoke.c: Likewise.
9439 * misc/select.c: Likewise.
9440 * misc/setdomain.c: Likewise.
9441 * misc/setegid.c: Likewise.
9442 * misc/seteuid.c: Likewise.
9443 * misc/sethostid.c: Likewise.
9444 * misc/sethostname.c: Likewise.
9445 * misc/setregid.c: Likewise.
9446 * misc/setreuid.c: Likewise.
9447 * misc/setxattr.c: Likewise.
9448 * misc/sstk.c: Likewise.
9449 * misc/stty.c: Likewise.
9450 * misc/swapoff.c: Likewise.
9451 * misc/swapon.c: Likewise.
9452 * misc/sync.c: Likewise.
9453 * misc/syncfs.c: Likewise.
9454 * misc/syscall.c: Likewise.
9455 * misc/truncate.c: Likewise.
9456 * misc/ualarm.c: Likewise.
9457 * misc/usleep.c: Likewise.
9458 * misc/ustat.c: Likewise.
9459 * misc/utimes.c: Likewise.
9460 * misc/vhangup.c: Likewise.
9461 * misc/writev.c: Likewise.
9462 * posix/_exit.c: Likewise.
9463 * posix/alarm.c: Likewise.
9464 * posix/execve.c: Likewise.
9465 * posix/fexecve.c: Likewise.
9466 * posix/fork.c: Likewise.
9467 * posix/fpathconf.c: Likewise.
9468 * posix/getaddrinfo.c: Likewise.
9469 * posix/getegid.c: Likewise.
9470 * posix/geteuid.c: Likewise.
9471 * posix/getgid.c: Likewise.
9472 * posix/getgroups.c: Likewise.
9473 * posix/getlogin.c: Likewise.
9474 * posix/getlogin_r.c: Likewise.
9475 * posix/getpgid.c: Likewise.
9476 * posix/getpid.c: Likewise.
9477 * posix/getppid.c: Likewise.
9478 * posix/getresgid.c: Likewise.
9479 * posix/getresuid.c: Likewise.
9480 * posix/getsid.c: Likewise.
9481 * posix/getuid.c: Likewise.
9482 * posix/glob64.c: Likewise.
9483 * posix/nanosleep.c: Likewise.
9484 * posix/pathconf.c: Likewise.
9485 * posix/pause.c: Likewise.
9486 * posix/posix_madvise.c: Likewise.
9487 * posix/pread.c: Likewise.
9488 * posix/pread64.c: Likewise.
9489 * posix/pwrite.c: Likewise.
9490 * posix/pwrite64.c: Likewise.
9491 * posix/sched_getaffinity.c: Likewise.
9492 * posix/sched_getp.c: Likewise.
9493 * posix/sched_gets.c: Likewise.
9494 * posix/sched_primax.c: Likewise.
9495 * posix/sched_primin.c: Likewise.
9496 * posix/sched_rr_gi.c: Likewise.
9497 * posix/sched_setaffinity.c: Likewise.
9498 * posix/sched_setp.c: Likewise.
9499 * posix/sched_sets.c: Likewise.
9500 * posix/sched_yield.c: Likewise.
9501 * posix/setgid.c: Likewise.
9502 * posix/setlogin.c: Likewise.
9503 * posix/setpgid.c: Likewise.
9504 * posix/setresgid.c: Likewise.
9505 * posix/setresuid.c: Likewise.
9506 * posix/setsid.c: Likewise.
9507 * posix/setuid.c: Likewise.
9508 * posix/sleep.c: Likewise.
9509 * posix/spawni.c: Likewise.
9510 * posix/sysconf.c: Likewise.
9511 * posix/times.c: Likewise.
9512 * posix/wait.c: Likewise.
9513 * posix/wait3.c: Likewise.
9514 * posix/wait4.c: Likewise.
9515 * posix/waitpid.c: Likewise.
9516 * resolv/gai_sigqueue.c: Likewise.
9517 * resource/getpriority.c: Likewise.
9518 * resource/getrlimit.c: Likewise.
9519 * resource/getrusage.c: Likewise.
9520 * resource/nice.c: Likewise.
9521 * resource/setpriority.c: Likewise.
9522 * resource/setrlimit.c: Likewise.
9523 * resource/ulimit.c: Likewise.
9524 * rt/aio_cancel.c: Likewise.
9525 * rt/aio_fsync.c: Likewise.
9526 * rt/aio_read.c: Likewise.
9527 * rt/aio_sigqueue.c: Likewise.
9528 * rt/aio_suspend.c: Likewise.
9529 * rt/aio_write.c: Likewise.
9530 * rt/clock_getres.c: Likewise.
9531 * rt/clock_gettime.c: Likewise.
9532 * rt/clock_nanosleep.c: Likewise.
9533 * rt/clock_settime.c: Likewise.
9534 * rt/lio_listio.c: Likewise.
9535 * rt/mq_close.c: Likewise.
9536 * rt/mq_getattr.c: Likewise.
9537 * rt/mq_notify.c: Likewise.
9538 * rt/mq_open.c: Likewise.
9539 * rt/mq_receive.c: Likewise.
9540 * rt/mq_send.c: Likewise.
9541 * rt/mq_setattr.c: Likewise.
9542 * rt/mq_timedreceive.c: Likewise.
9543 * rt/mq_timedsend.c: Likewise.
9544 * rt/mq_unlink.c: Likewise.
9545 * rt/shm_open.c: Likewise.
9546 * rt/shm_unlink.c: Likewise.
9547 * rt/timer_create.c: Likewise.
9548 * rt/timer_delete.c: Likewise.
9549 * rt/timer_getoverr.c: Likewise.
9550 * rt/timer_gettime.c: Likewise.
9551 * rt/timer_settime.c: Likewise.
9552 * setjmp/__longjmp.c: Likewise.
9553 * setjmp/setjmp.c: Likewise.
9554 * signal/kill.c: Likewise.
9555 * signal/killpg.c: Likewise.
9556 * signal/raise.c: Likewise.
9557 * signal/sigaction.c: Likewise.
9558 * signal/sigaltstack.c: Likewise.
9559 * signal/sigblock.c: Likewise.
9560 * signal/sigignore.c: Likewise.
9561 * signal/sigintr.c: Likewise.
9562 * signal/signal.c: Likewise.
9563 * signal/sigpause.c: Likewise.
9564 * signal/sigpending.c: Likewise.
9565 * signal/sigqueue.c: Likewise.
9566 * signal/sigreturn.c: Likewise.
9567 * signal/sigset.c: Likewise.
9568 * signal/sigsetmask.c: Likewise.
9569 * signal/sigstack.c: Likewise.
9570 * signal/sigsuspend.c: Likewise.
9571 * signal/sigtimedwait.c: Likewise.
9572 * signal/sigvec.c: Likewise.
9573 * signal/sigwait.c: Likewise.
9574 * signal/sigwaitinfo.c: Likewise.
9575 * signal/sysv_signal.c: Likewise.
9576 * socket/accept.c: Likewise.
9577 * socket/accept4.c: Likewise.
9578 * socket/bind.c: Likewise.
9579 * socket/connect.c: Likewise.
9580 * socket/getpeername.c: Likewise.
9581 * socket/getsockname.c: Likewise.
9582 * socket/getsockopt.c: Likewise.
9583 * socket/isfdtype.c: Likewise.
9584 * socket/listen.c: Likewise.
9585 * socket/recv.c: Likewise.
9586 * socket/recvfrom.c: Likewise.
9587 * socket/recvmsg.c: Likewise.
9588 * socket/send.c: Likewise.
9589 * socket/sendmsg.c: Likewise.
9590 * socket/sendto.c: Likewise.
9591 * socket/setsockopt.c: Likewise.
9592 * socket/shutdown.c: Likewise.
9593 * socket/sockatmark.c: Likewise.
9594 * socket/socket.c: Likewise.
9595 * socket/socketpair.c: Likewise.
9596 * stdio-common/ctermid.c: Likewise.
9597 * stdio-common/cuserid.c: Likewise.
9598 * stdio-common/remove.c: Likewise.
9599 * stdio-common/rename.c: Likewise.
9600 * stdio-common/renameat.c: Likewise.
9601 * stdio-common/tempname.c: Likewise.
9602 * stdlib/getcontext.c: Likewise.
9603 * stdlib/makecontext.c: Likewise.
9604 * stdlib/setcontext.c: Likewise.
9605 * stdlib/swapcontext.c: Likewise.
9606 * stdlib/system.c: Likewise.
9607 * streams/fattach.c: Likewise.
9608 * streams/fdetach.c: Likewise.
9609 * streams/getmsg.c: Likewise.
9610 * streams/getpmsg.c: Likewise.
9611 * streams/putmsg.c: Likewise.
9612 * streams/putpmsg.c: Likewise.
9613 * sysdeps/unix/bsd/getpt.c: Likewise.
9614 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
9615 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
9616 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9618 Likewise.
9619 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
9620 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9621 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9622 * sysvipc/msgctl.c: Likewise.
9623 * sysvipc/msgget.c: Likewise.
9624 * sysvipc/msgrcv.c: Likewise.
9625 * sysvipc/msgsnd.c: Likewise.
9626 * sysvipc/semctl.c: Likewise.
9627 * sysvipc/semget.c: Likewise.
9628 * sysvipc/semop.c: Likewise.
9629 * sysvipc/semtimedop.c: Likewise.
9630 * sysvipc/shmat.c: Likewise.
9631 * sysvipc/shmctl.c: Likewise.
9632 * sysvipc/shmdt.c: Likewise.
9633 * sysvipc/shmget.c: Likewise.
9634 * termios/tcdrain.c: Likewise.
9635 * termios/tcflow.c: Likewise.
9636 * termios/tcflush.c: Likewise.
9637 * termios/tcgetattr.c: Likewise.
9638 * termios/tcgetpgrp.c: Likewise.
9639 * termios/tcsendbrk.c: Likewise.
9640 * termios/tcsetattr.c: Likewise.
9641 * termios/tcsetpgrp.c: Likewise.
9642 * time/adjtime.c: Likewise.
9643 * time/clock.c: Likewise.
9644 * time/getitimer.c: Likewise.
9645 * time/gettimeofday.c: Likewise.
9646 * time/setitimer.c: Likewise.
9647 * time/settimeofday.c: Likewise.
9648 * time/stime.c: Likewise.
9649 * time/time.c: Likewise.
9650
96512012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 9652
a20492cf
PT
9653 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
9654 /usr/old/bin.
9655
72e182e3
PT
9656 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
9657 instead of spaces.
9658 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9659
fbeafede
JM
96602012-11-03 Joseph Myers <joseph@codesourcery.com>
9661
5b5b04d6
JM
9662 [BZ #14796]
9663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
9664 FE_TONEAREST before applying Dekker multiplication and Knuth
9665 addition. Clear inexact exceptions and check for exact zero
9666 results afterwards.
9667 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9668 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9670 * math/libm-test.inc (fma_test): Add more tests.
9671 (fma_test_towardzero): Likewise.
9672 (fma_test_downward): Likewise.
9673 (fma_test_upward): Likewise.
9674 * sysdeps/generic/math_private.h (default_libc_fesetround): New
9675 function.
9676 (libc_fesetround): New macro.
9677 (libc_fesetroundf): Likewise.
9678 (libc_fesetroundl): Likewise.
9679 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
9680 function.
9681 (libc_fesetround_387): Likewise.
9682 (libc_fesetroundf): New macro.
9683 (libc_fesetround): Likewise.
9684 (libc_fesetroundl): Likewise.
9685 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
9686 function.
9687 (libc_fesetroundf): New macro.
9688 (libc_fesetround): Likewise.
9689 (libc_fesetroundl): Likewise.
9690 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
9691 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
9692 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
9693 libm_hidden_ver.
9694 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
9695 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
9696 libm_hidden_def.
9697 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
9698 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
9699 libm_hidden_ver.
9700 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
9701 libm_hidden_def.
9702
fbeafede
JM
9703 [BZ #3439]
9704 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
9705 integer constant usable in #if and use that to give value to enum
9706 constant.
9707 (FE_DIVBYZERO): Likewise.
9708 (FE_UNDERFLOW): Likewise.
9709 (FE_OVERFLOW): Likewise.
9710 (FE_INVALID): Likewise.
9711 (FE_INVALID_SNAN): Likewise.
9712 (FE_INVALID_ISI): Likewise.
9713 (FE_INVALID_IDI): Likewise.
9714 (FE_INVALID_ZDZ): Likewise.
9715 (FE_INVALID_IMZ): Likewise.
9716 (FE_INVALID_COMPARE): Likewise.
9717 (FE_INVALID_SOFTWARE): Likewise.
9718 (FE_INVALID_SQRT): Likewise.
9719 (FE_INVALID_INTEGER_CONVERSION): Likewise.
9720 (FE_TONEAREST): Likewise.
9721 (FE_TOWARDZERO): Likewise.
9722 (FE_UPWARD): Likewise.
9723 (FE_DOWNWARD): Likewise.
9724 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
9725 (FE_DIVBYZERO): Likewise.
9726 (FE_OVERFLOW): Likewise.
9727 (FE_UNDERFLOW): Likewise.
9728 (FE_INEXACT): Likewise.
9729 (FE_TONEAREST): Likewise.
9730 (FE_DOWNWARD): Likewise.
9731 (FE_UPWARD): Likewise.
9732 (FE_TOWARDZERO): Likewise.
9733 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
9734 (FE_UNDERFLOW): Likewise.
9735 (FE_OVERFLOW): Likewise.
9736 (FE_DIVBYZERO): Likewise.
9737 (FE_INVALID): Likewise.
9738 (FE_TONEAREST): Likewise.
9739 (FE_TOWARDZERO): Likewise.
9740 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
9741 (FE_OVERFLOW): Likewise.
9742 (FE_UNDERFLOW): Likewise.
9743 (FE_DIVBYZERO): Likewise.
9744 (FE_INEXACT): Likewise.
9745 (FE_TONEAREST): Likewise.
9746 (FE_TOWARDZERO): Likewise.
9747 (FE_UPWARD): Likewise.
9748 (FE_DOWNWARD): Likewise.
9749 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
9750 (FE_DIVBYZERO): Likewise.
9751 (FE_OVERFLOW): Likewise.
9752 (FE_UNDERFLOW): Likewise.
9753 (FE_INEXACT): Likewise.
9754 (FE_TONEAREST): Likewise.
9755 (FE_DOWNWARD): Likewise.
9756 (FE_UPWARD): Likewise.
9757 (FE_TOWARDZERO): Likewise.
9758
105ca950
CM
97592012-11-02 Chris Metcalf <cmetcalf@tilera.com>
9760
9761 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
9762
a542b389
AS
97632012-11-03 Andreas Schwab <schwab@linux-m68k.org>
9764
9765 * scripts/cross-test-ssh.sh (command): Use newlines to separate
9766 commands. Quote $PWD.
9767 (blacklist_exports): Don't use remove_newlines. Replace "declare
9768 -x" by "export".
9769 (remove_newlines): Remove.
9770
f62c8abc
L
97712012-11-02 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
9774 * stdlib/stdlib.h (atof): Moved to ...
9775 * include/bits/stdlib-float.h: Here. New file.
9776 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
9777 * stdlib/bits/stdlib-float.h: New file.
9778 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
9779 -mno-sse -mno-mmx.
9780 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
9781 <xmmintrin.h>.
9782
0155d5b2
JM
97832012-11-02 Joseph Myers <joseph@codesourcery.com>
9784
a68d0680
JM
9785 * conform/conformtest.pl (@headers): Add fenv.h.
9786 * conform/data/fenv.h-data: New file.
9787 * include/fenv.h [_ISOMAC]: Disable all contents of file except
9788 include of <math/fenv.h>.
9789
caf7f573
JM
9790 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
9791 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
9792 && !UNIX98]. Enables tests for XOPEN2K8.
9793 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
9794 POSIX2008]: Likewise.
9795
6c073ad6
JM
9796 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
9797 (struct rusage): Do not expect type or its members.
9798
0155d5b2
JM
9799 [BZ #3439]
9800 * math/math.h (FP_NAN): Define macro to integer constant usable in
9801 #if and use that to give value to enum constant.
9802 (FP_INFINITE): Likewise.
9803 (FP_ZERO): Likewise.
9804 (FP_SUBNORMAL): Likewise.
9805 (FP_NORMAL): Likewise.
9806
b5dcacb4
AS
98072012-11-02 Andreas Schwab <schwab@linux-m68k.org>
9808
9809 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
9810 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
9811 arguments.
9812
f7934be8
RM
98132012-11-02 Roland McGrath <roland@hack.frob.com>
9814
9815 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
9816 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
9817 autoconf-time if not.
9818 * configure.in: Remove AC_PREREQ.
9819
d7d08bde
TMQMF
98202012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9821
9822 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
9823 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
9824 of the internal implementation.
9825
dcdae19a
JM
98262012-11-02 Joseph Myers <joseph@codesourcery.com>
9827
9828 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
9829 except include of <misc/sys/syslog.h>.
9830
d6cffd3e
AS
98312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9832
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
9834 function returns with a NULL context exit with zero.
9835
b3563932
TMQMF
98362012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9837
9838 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
9839
b288a93d
L
98402012-11-01 H.J. Lu <hongjiu.lu@intel.com>
9841
9842 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
9843 (run_program_cmd): This.
9844 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
9845 (tst_langinfo): New variable. Use it.
9846
a2421a68
SAS
98472012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
9848
9849 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
9850 floating point opcodes.
9851
6f796e1b
TS
98522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9853
7402596b
TS
9854 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
9855 variable.
9856
d0d4f868
TS
9857 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
9858
6f796e1b
TS
9859 * sysdeps/mach/hurd/powerpc: Remove directory.
9860 * sysdeps/mach/powerpc: Likewise.
9861
4da224a2
AS
98622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
9863
9864 * scripts/check-local-headers.sh: Ignore c++ headers.
9865
341dd673
TS
98662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9867
9868 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
9869 __libc_cleanup_region_start argument.
9870
473611b2
JM
98712012-11-01 Joseph Myers <joseph@codesourcery.com>
9872
9873 [BZ #14784]
9874 [BZ #14785]
9875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
9876 x * y using scaling, not as x * y + z.
9877 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9878 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9879 * math/libm-test.inc (fma_test): Add more tests.
9880 (fma_test_towardzero): Likewise.
9881 (fma_test_downward): Likewise.
9882 (fma_test_upward): Likewise.
9883
4078da3d
TS
98842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
9885
9886 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
9887
903252aa
JM
98882012-10-31 Joseph Myers <joseph@codesourcery.com>
9889
9890 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
9891 New variable.
9892
cbc818d0
TS
98932012-10-31 Thomas Schwinge <thomas@codesourcery.com>
9894
9895 * rt/tst-shm.c (worker): Correct checking for mmap failure.
9896
5a03cb1e
AS
98972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9898
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9900 Fix sort order.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9902 Likewise.
9903
90aff2ff
TMQMF
99042012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9905
9906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9907 Fix the order of the list for glibc 2.17.
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9909 Likewise.
9910
1818fcb7
AS
99112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
9912
9913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9914
ef82f4da
JM
99152012-10-31 Joseph Myers <joseph@codesourcery.com>
9916
16a0e2ec
JM
9917 [BZ #14610]
9918 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
9919 for low part of x being zero before using __atanl (y).
9920 * math/libm-test.inc (atan2_test): Add another test.
9921
0eb69512
JM
9922 * manual/install.texi (Configuring and compiling): Document
9923 general use of test-wrapper and test-wrapper-env.
9924 * INSTALL: Regenerated.
9925
ef82f4da
JM
9926 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
9927 (__fma): Do not extract and scale down low bits on after-rounding
9928 systems when result rounded to normal precision would have normal
9929 exponent.
9930 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
9931 (__fmal): Do not extract and scale down low bits on after-rounding
9932 systems when result rounded to normal precision would have normal
9933 exponent.
9934 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
9935 (__fmal): Do not extract and scale down low bits on after-rounding
9936 systems when result rounded to normal precision would have normal
9937 exponent.
9938 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
9939 macro.
9940 (fma_test): Add more tests.
9941 (fma_test_towardzero): Likewise.
9942 (fma_test_downward): Likewise.
9943 (fma_test_upward): Likewise.
9944
954ef0d9
L
99452012-10-30 H.J. Lu <hongjiu.lu@intel.com>
9946
9947 * sysdeps/i386/tininess.h: Renamed to ...
9948 * sysdeps/x86/tininess.h: This.
9949 * sysdeps/x86_64/tininess.h: Removed.
9950
df61ffb2
JM
99512012-10-30 Joseph Myers <joseph@codesourcery.com>
9952
9953 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
9954 input. Use $(build-program-cmd).
9955 ($(objpfx)tst-array1-static.out): Likewise.
9956 ($(objpfx)tst-array2.out): Likewise.
9957 ($(objpfx)tst-array3.out): Likewise.
9958 ($(objpfx)tst-array4.out): Likewise.
9959 ($(objpfx)tst-array5.out): Likewise.
9960 ($(objpfx)tst-array5-static.out): Likewise.
9961
01767843
CM
99622012-10-30 Chris Metcalf <cmetcalf@tilera.com>
9963
47cc1490
CM
9964 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
9965 if defined.
9966
01767843
CM
9967 * nss/nsswitch.h (nss_interface_function): Provide new
9968 macro for use with NSS functions.
9969 * grp/initgroups.c: Use new macro.
9970 * nss/getXXbyYY.c: Likewise.
9971 * nss/getXXbyYY_r.c: Likewise.
9972 * nss/getXXent.c: Likewise.
9973 * nss/getXXent_r.c: Likewise.
9974 * sysdeps/posix/getaddrinfo.c: Likewise.
9975
8321aa97
AJ
99762012-10-30 Andreas Jaeger <aj@suse.de>
9977
9978 * po/ru.po: Update Russion translation from translation project.
9979
2a27fd6d
JM
99802012-10-30 Joseph Myers <joseph@codesourcery.com>
9981
8627a232
JM
9982 [BZ #14152]
9983 [BZ #14783]
9984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
9985 result and shift together with sticky bit instead of replicating
9986 round-to-nearest rounding.
9987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9989 * math/libm-test.inc (fma_test): Add more tests. Do not permit
9990 missing underflow exceptions.
9991 (fma_test_towardzero): Add more tests.
9992 (fma_test_downward): Likewise.
9993 (fma_test_upward): Likewise.
9994
2a27fd6d
JM
9995 [BZ #14047]
9996 * sysdeps/generic/tininess.h: New file.
9997 * sysdeps/i386/tininess.h: Likewise.
9998 * sysdeps/sh/tininess.h: Likewise.
9999 * sysdeps/x86_64/tininess.h: Likewise.
10000 * stdlib/tst-strtod-underflow.c: Likewise.
10001 * stdlib/tst-tininess.c: Likewise.
10002 * stdlib/strtod_l.c: Include <tininess.h>.
10003 (round_and_return): Do not set errno for exact underflow cases.
10004 Force an underflow exception when setting errno for underflow.
10005 Determine underflow based on rounding to normal precision if
10006 TININESS_AFTER_ROUNDING.
10007 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10008 ERANGE for exact underflow cases.
10009 * stdlib/Makefile (tests): Add tst-tininess and
10010 tst-strtod-underflow.
10011 ($(objpfx)tst-tininess): Use $(link-libm).
10012 ($(objpfx)tst-strtod-underflow): Likewise.
10013
e7170363
AJ
100142012-10-30 Andreas Jaeger <aj@suse.de>
10015
e5088dc6
AJ
10016 [BZ#14767]
10017 * elf/Makefile (tests): Remove conditional for have-initfini-array
10018 since this is now always required and the variable does not exist
10019 anymore.
10020 (tests-static): Likewise.
10021 (modules-names): Likewise.
10022
e7170363 10023 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10024
10025 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10026 merged with constructor/destructor.
10027 (init_array): Likewise.
10028 * elf/tst-array2dep.c (fini_array): Likewise.
10029 (init_array): Likewise.
10030
60457d8a
MF
100312012-10-29 Mike Frysinger <vapier@gentoo.org>
10032
10033 * manual/message.texi: Delete @cartouche tags.
10034
8bece752
PT
100352012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10036
94ce799f
PT
10037 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10038 EOPNOTSUPP.
10039 * sysdeps/mach/hurd/fsync.c: Likewise.
10040
8bece752
PT
10041 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10042 [_POSIX_REALTIME_SIGNALS]: Change condition to
10043 [_POSIX_REALTIME_SIGNALS > 0].
10044
86ebe6b1
AJ
100452012-10-27 Andreas Jaeger <aj@suse.de>
10046
10047 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10048 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10050 [__WORDSIZE != 64]: Likewise.
10051
54399c08
L
100522012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * iconvdata/tst-table.sh: Remove ${SHELL}.
10055 * iconvdata/tst-tables.sh: Likewise.
10056
e2211bed
DM
100572012-10-25 David S. Miller <davem@davemloft.net>
10058
10059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10060 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10061 of strtoull.
10062
f303f97c
DM
10063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10064 ifunc-impl-list.c
10065 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10066 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10067 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10068 file.
10069
1e9d84cd
RM
100702012-10-25 Roland McGrath <roland@hack.frob.com>
10071
10072 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10073 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10074 __getdirentries.
10075
df381762
JM
100762012-10-25 Joseph Myers <joseph@codesourcery.com>
10077 Jim Blandy <jimb@codesourcery.com>
10078
10079 * scripts/cross-test-ssh.sh: New file.
10080 * manual/install.texi (Configuring and compiling): Document use of
10081 cross-test-ssh.sh.
10082 * INSTALL: Regenerated.
10083
bff64913
PT
100842012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10085
10086 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10087 EOPNOTSUPP.
10088
25fe8932
JM
100892012-10-25 Joseph Myers <joseph@codesourcery.com>
10090
10091 * Makeconfig (run-program-prefix): Fix comment.
10092
cc1290d0
JM
100932012-10-24 Joseph Myers <joseph@codesourcery.com>
10094 Jim Blandy <jimb@codesourcery.com>
10095
10096 * Makeconfig (test-wrapper): New variable,
10097 (test-wrapper-env): Likewise.
10098 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10099 (run-built-tests): Define to yes.
10100 (run-program-prefix): Use $(test-wrapper).
10101 (built-program-cmd): Likewise.
10102 * Rules (make-test-out): Use $(test-wrapper-env) and
10103 $(host-built-program-cmd).
10104 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10105 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10106 tst-pathopt.sh.
10107 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10108 $(test-wrapper-env) to tst-rtld-load-self.sh.
10109 ($(objpfx)order2.out): Use $(test-wrapper).
10110 ($(objpfx)tst-initorder.out): Likewise.
10111 ($(objpfx)tst-initorder2.out): Likewise.
10112 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10113 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10114 (test_wrapper_env): New variable. Use it to run ld.so.
10115 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10116 Use it to run ld.so.
10117 (test_wrapper_env): Likewise.
10118 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10119 $(test-wrapper) to run-iconv-test.sh.
10120 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10121 (ICONV): Use $test_wrapper.
10122 * posix/Makefile ($(objpfx)globtest.out): Pass
10123 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10124 globtest.sh, not $(run-program-prefix).
10125 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10126 (test_wrapper): Likewise.
10127 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10128 set together with run_via_rtld_prefix.
10129 (run_program_prefix): Define in terms of test_wrapper and
10130 run_via_rtld_prefix.
10131
6e6249d0
RM
101322012-10-24 Roland McGrath <roland@hack.frob.com>
10133
10134 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10135 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10136 Targets removed.
10137
10138 [BZ #14743]
10139 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10140 Declare __clock_getres, __clock_gettime, __clock_settime,
10141 __clock_nanosleep, and __clock_getcpuclockid.
10142 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10143 Remove librt_hidden_def (clock_gettime).
10144 * sysdeps/unix/clock_gettime.c: Likewise.
10145 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10146 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10147 * rt/clock_getres.c: Define __clock_getres as an alias.
10148 * sysdeps/posix/clock_getres.c: Likewise.
10149 * rt/clock_settime.c: Define __clock_settime as an alias.
10150 * sysdeps/unix/clock_settime.c: Likewise.
10151 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10152 * sysdeps/unix/clock_nanosleep.c: Likewise.
10153 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10154 * rt/clock-compat.c: New file.
10155 * rt/Makefile (librt-routines): Add clock-compat and move
10156 $(clock-routines) to ...
10157 (routines): ... here, new variable.
10158 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10159 Don't add get_clockfreq here.
10160 * rt/Versions (libc: GLIBC_2.17): New version set.
10161 Add clock_* symbols here.
10162 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10163 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10164 (GLIBC_2.17): Add clock_* symbols.
10165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10169 Likewise.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10171 Likewise.
10172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10176 * NEWS: Mention the move.
10177
10178 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10179 Use __open, __read, __close rather than their public counterparts.
10180 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10181 (__get_clockfreq_via_cpuinfo): Likewise.
10182 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10183 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10184
10185 * config.h.in (HAVE_IFUNC): New #undef.
10186 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10187 was successful.
10188 * configure: Regenerated.
10189
0cae3f4b
MF
101902012-10-24 Mike Frysinger <vapier@gentoo.org>
10191
10192 * configure.in: Move READELF check to start of file.
10193 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10194 libc_cv_asm_gnu_indirect_function in the process.
10195 * configure: Regenerated.
10196
8175a253
MF
101972012-10-24 Mike Frysinger <vapier@gentoo.org>
10198
10199 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10200 send the output to /dev/null.
10201 (libc_cv_cc_with_libunwind): Likewise.
10202 (libc_cv_as_noexecstack): Likewise.
10203 * configure: Regenerate.
10204
0708a7d1
JM
102052012-10-24 Joseph Myers <joseph@codesourcery.com>
10206
10b40d85
JM
10207 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10208
0708a7d1
JM
10209 * posix/globtest.sh (TMPDIR): Do not set.
10210 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10211 (testout): Likewise.
10212
9fddec1a
AJ
102132012-10-24 Andreas Jaeger <aj@suse.de>
10214
3a8db22f
AJ
10215 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10216 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10217 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10218 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10219 posix_fadvise64, posix_fallocate64.
10220
9fddec1a
AJ
10221 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10222 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
10223 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
10224 Likewise.
10225 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
10226 Likewise.
10227 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
10228
10229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
10230 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
10231 <bits/fcntl-linux.h>.
10232 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
10233
10234 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
10235 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
10236 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
10237 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
10238 [__WORDSIZE != 64]: Likewise.
10239
ebfd1bbd
JM
102402012-10-23 Joseph Myers <joseph@codesourcery.com>
10241
03ac099f
JM
10242 * Makeconfig (run-built-tests): New variable.
10243 * Rules [$(cross-compiling) = yes]: Change condition to
10244 [$(run-built-tests) = no].
10245 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
10246 to [$(run-built-tests) = yes].
10247 * elf/Makefile [$(cross-compiling) = no]: Likewise
10248 * grp/Makefile [$(cross-compiling) = no]: Likewise.
10249 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
10250 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
10251 * intl/Makefile [$(cross-compiling) = no]: Likewise.
10252 * io/Makefile [$(cross-compiling) = no]: Likewise.
10253 * libio/Makefile [$(cross-compiling) = no]: Likewise.
10254 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
10255 * misc/Makefile [$(cross-compiling) = no]: Likewise.
10256 * posix/Makefile [$(cross-compiling) = no]: Likewise.
10257 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
10258 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
10259 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
10260 * string/Makefile [$(cross-compiling) = no]: Likewise.
10261
ebfd1bbd
JM
10262 * posix/Makefile ($(objpfx)globtest.out): Pass
10263 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
10264 $(rtld-installed-name).
10265 * posix/globtest.sh (elf_objpfx): Remove variable.
10266 (rtld_installed_name): Likewise.
10267 (library_path): Likewise.
10268 (run_program_prefix): New variable. Use for running globtest
10269 binary.
10270
166bca24
JB
102712012-10-23 Jim Blandy <jimb@codesourcery.com>
10272 Joseph Myers <joseph@codesourcery.com>
10273
10274 * Makeconfig (host-built-program-cmd): New variable.
10275 * elf/Makefile (tst-stackguard1-ARGS): Use
10276 $(host-built-program-cmd).
10277 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
10278 (tst-spawn-ARGS): Likewise.
10279 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
10280
88866099
JM
102812012-10-23 Joseph Myers <joseph@codesourcery.com>
10282 Jim Blandy <jimb@codesourcery.com>
10283
10284 * Makeconfig (run-via-rtld-prefix): New variable.
10285 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
10286 (built-program-cmd): Likewise.
10287
b4b4c296
AJ
102882012-10-22 Andreas Jaeger <aj@suse.de>
10289
10290 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
10291 __O_RSYNC if it exists, otherwise to O_SYNC.
10292
6fb54a22
JB
102932012-10-22 Jim Blandy <jimb@codesourcery.com>
10294 Joseph Myers <joseph@codesourcery.com>
10295
10296 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
10297 /dev/null.
10298 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
10299 from /dev/null
10300 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
10301 /dev/null.
10302
481b90b9
AJ
103032012-10-22 Andreas Jaeger <aj@suse.de>
10304
2a0e2669
AJ
10305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
10306 Define always.
10307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
10308
76e38f9a
AJ
10309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10310 bits/fcntl-linux.h.
10311
7cd37b43
AJ
10312 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
10313 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
10314
481b90b9
AJ
10315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
10316 to __O_LARGEFILE.
10317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
10318 to __O_LARGEFILE.
10319
aba75984
JB
103202012-10-21 Jim Blandy <jimb@codesourcery.com>
10321 Joseph Myers <joseph@codesourcery.com>
10322
10323 * config.make.in (NM): New variable.
10324
88d4247f
AJ
103252012-10-21 Andreas Jaeger <aj@suse.de>
10326
10327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
10328 definitions and declarations that are provided by
10329 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10330
f2eed205
L
103312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10332
10333 [BZ #14683]
10334 * elf/Makefile (tests-static): Add tst-leaks1-static.
10335 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
10336 ($(objpfx)tst-leaks1-static): New rule.
10337 ($(objpfx)tst-leaks1-static-mem): Likewise.
10338 (tst-leaks1-static-ENV): New macro.
10339 * elf/dl-open.c (dl_open_worker): Check the main application
10340 only if SHARED is defined.
10341 * elf/tst-leaks1-static.c: New file.
10342
335e6931
AJ
103432012-10-20 Andreas Jaeger <aj@suse.de>
10344
10345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
10346 generic values for Linux.
10347 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
10348 and declarations that are provided by <bits/fcntl-linux.h> and
10349 include <bits/fcntl-linux.h>.
10350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10352
ac5c94d3
RM
103532012-10-20 Roland McGrath <roland@hack.frob.com>
10354
10355 * io/fcntl.h: Move include of <bits/types.h> to the top and
10356 include it unconditionally.
10357
de54b33a
L
103582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
10359
228cfb01
L
10360 * wcsmbs/Makefile (tests-ifunc): New variable.
10361 (tests): Add $(tests-ifunc).
10362 * wcsmbs/test-wcschr-ifunc.c: New file.
10363 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10364 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10365 * wcsmbs/test-wcslen-ifunc.c: Likewise.
10366 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10367 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10368
69f07e5f
L
10369 * string/Makefile (tests-ifunc): New variable.
10370 (tests): Add $(tests-ifunc).
10371 * string/test-memccpy.c (TEST_NAME): New macro.
10372 * string/test-memchr.c (TEST_NAME): Likewise.
10373 * string/test-memcmp.c (TEST_NAME): Likewise.
10374 * string/test-memcpy.c (TEST_NAME): Likewise.
10375 * string/test-memmem.c (TEST_NAME): Likewise.
10376 * string/test-memmove.c (TEST_NAME): Likewise.
10377 * string/test-memset.c (TEST_NAME): Likewise.
10378 * string/test-rawmemchr.c (TEST_NAME): Likewise.
10379 * string/test-stpcpy.c (TEST_NAME): Likewise.
10380 * string/test-stpncpy.c (TEST_NAME): Likewise.
10381 * string/test-strcasecmp.c (TEST_NAME): Likewise.
10382 * string/test-strcasestr.c (TEST_NAME): Likewise.
10383 * string/test-strcat.c (TEST_NAME): Likewise.
10384 * string/test-strchr.c (TEST_NAME): Likewise.
10385 * string/test-strcmp.c(TEST_NAME): Likewise.
10386 * string/test-strcpy.c (TEST_NAME): Likewise.
10387 * string/test-strcspn.c (TEST_NAME): Likewise.
10388 * string/test-strlen.c (TEST_NAME): Likewise.
10389 * string/test-strncasecmp.c (TEST_NAME): Likewise.
10390 * string/test-strncmp.c (TEST_NAME): Likewise.
10391 * string/test-strncpy.c (TEST_NAME): Likewise.
10392 * string/test-strnlen.c (TEST_NAME): Likewise.
10393 * string/test-strpbrk.c (TEST_NAME): Likewise.
10394 * string/test-strrchr.c (TEST_NAME): Likewise.
10395 * string/test-strspn.c (TEST_NAME): Likewise.
10396 * string/test-strstr.c (TEST_NAME): Likewise.
10397 * string/test-bcopy-ifunc.c: New file.
10398 * string/test-bzero-ifunc.c: Likewise.
10399 * string/test-memccpy-ifunc.c: Likewise.
10400 * string/test-memchr-ifunc.c: Likewise.
10401 * string/test-memcmp-ifunc.c: Likewise.
10402 * string/test-memcpy-ifunc.c: Likewise.
10403 * string/test-memmem-ifunc.c: Likewise.
10404 * string/test-memmove-ifunc.c: Likewise.
10405 * string/test-mempcpy-ifunc.c: Likewise.
10406 * string/test-memset-ifunc.c: Likewise.
10407 * string/test-rawmemchr-ifunc.c: Likewise.
10408 * string/test-stpcpy-ifunc.c: Likewise.
10409 * string/test-stpncpy-ifunc.c: Likewise.
10410 * string/test-strcasecmp-ifunc.c: Likewise.
10411 * string/test-strcasestr-ifunc.c: Likewise.
10412 * string/test-strcat-ifunc.c: Likewise.
10413 * string/test-strchr-ifunc.c: Likewise.
10414 * string/test-strchrnul-ifunc.c: Likewise.
10415 * string/test-strcmp-ifunc.c: Likewise.
10416 * string/test-strcpy-ifunc.c: Likewise.
10417 * string/test-strcspn-ifunc.c: Likewise.
10418 * string/test-strlen-ifunc.c: Likewise.
10419 * string/test-strncasecmp-ifunc.c: Likewise.
10420 * string/test-strncat-ifunc.c: Likewise.
10421 * string/test-strncmp-ifunc.c: Likewise.
10422 * string/test-strncpy-ifunc.c: Likewise.
10423 * string/test-strnlen-ifunc.c: Likewise.
10424 * string/test-strpbrk-ifunc.c: Likewise.
10425 * string/test-strrchr-ifunc.c: Likewise.
10426 * string/test-strspn-ifunc.c: Likewise.
10427 * string/test-strstr-ifunc.c: Likewise.
10428
de54b33a
L
10429 * debug/Makefile (tests-ifunc): New variable.
10430 (tests): Add $(tests-ifunc).
10431 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
10432 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
10433 * debug/test-stpcpy_chk-ifunc.c: New file.
10434 * debug/test-strcpy_chk-ifunc.c: Likewise.
10435
88481c16
SP
104362012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10437
10438 [BZ #13601]
10439 * elf/dl-load.c (open_verify): Retry read if the entire ELF
10440 header is not read in.
10441
135948bd
JM
104422012-10-19 Joseph Myers <joseph@codesourcery.com>
10443
89f1c388
JM
10444 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
10445 script to $(SHELL) as $<. Pass $(common-objpfx) to script
10446 directly. Pass built executable to script as
10447 $(built-program-cmd).
10448 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
10449 $testprogram without using LD_LIBRARY_PATH and $ldso.
10450
e40a0d21
JM
10451 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
10452 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
10453 $(rtld-installed-name).
10454 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
10455 (rtld_installed_name): Likewise.
10456 (library_path): Likewise.
10457 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
10458 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
10459 $(run-program-prefix) to tst-tables.sh.
10460 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
10461 it to run tst-table-from and tst-table-to.
10462 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
10463 Pass it to tst-table.sh.
10464 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
10465 $(run-program-prefix) to tst-gettext.sh.
10466 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
10467 tst-translit.sh.
10468 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
10469 tst-gettext2.sh.
10470 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
10471 to run tst-gettext.
10472 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
10473 to run tst-gettext2.
10474 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
10475 to run tst-translit.
10476 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
10477 $(run-program-prefix) to tst-mtrace.sh.
10478 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
10479 to run tst-mtrace.
10480 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
10481 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
10482 $(rtld-installed-name).
10483 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
10484 (rtld_installed_name): Likewise.
10485 (run_program_prefix): New variable. Use it to run wordexp-test.
10486
728e272a
JM
10487 * Makeconfig (ARCH): Remove all definitions.
10488 (machine): Likewise.
10489 [ARCH]: Remove conditional code.
10490 [!objdir]: Give error.
10491 [!objdir] (objpfx): Remove.
10492 [!objdir] (common-objpfx): Likewise.
10493 [!objdir] (common-objdir): Likewise.
10494 * configure.in (config_makefile): Remove. Hardcode Makefile in
10495 AC_CONFIG_FILES call.
10496 * configure: Regenerated.
10497
d528cdcf
JM
10498 [BZ #13888]
10499 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
10500 or TMPDIR.
10501 (testout): Likewise.
10502
135948bd
JM
10503 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
10504 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
10505 $(rtld-installed-name).
10506 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
10507 (rtld_installed_name): Likwise.
10508 (runit): Remove function.
10509 (run_getconf): New variable, Use it for running getconf binary.
10510
38c78296
L
105112012-10-18 H.J. Lu <hongjiu.lu@intel.com>
10512
10513 [BZ #14716]
10514 * string/test-memmem.c (check_result): New function.
10515 (do_one_test): Use it.
10516 (check1): New function.
10517 (test_main): Use it.
10518
d077f65f
MT
105192012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
10520
10521 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
10522
ced52c71
JM
105232012-10-18 Joseph Myers <joseph@codesourcery.com>
10524
10525 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
10526 (_G_LSEEK64): Likewise.
10527 (_G_MMAP64): Likewise.
10528 (_G_FSTAT64): Likewise.
10529 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
10530 (_G_LSEEK64): Likewise.
10531 (_G_MMAP64): Likewise.
10532 (_G_FSTAT64): Likewise.
10533 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
10534 unconditional. Call __mmap64 directly.
10535 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
10536 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
10537 __lseek64 directly.
10538 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
10539 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
10540 __mmap64 directly.
10541 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
10542 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
10543 __lseek64 directly.
10544 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
10545 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
10546 __lseek64 directly.
10547 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
10548 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
10549 __lseek64 directly.
10550 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
10551 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
10552 __fxstat64 directly.
10553 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
10554 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
10555 unconditional.
10556 (freopen64) [!_G_OPEN64]: Remove conditional code.
10557 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
10558 unconditional.
10559 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
10560 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
10561 unconditional.
10562 (ftello64) [!_G_LSEEK64]: Remove conditional code.
10563 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
10564 unconditional.
10565 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10566 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
10567 unconditional.
10568 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
10569 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
10570 unconditional.
10571 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10572 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
10573 unconditional.
10574 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
10575 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
10576 unconditional.
10577 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
10578
b741de23
SP
105792012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10580
10581 [BZ #12140]
10582 * manual/memory.texi (Malloc Tunable Parameters): Add note
10583 about free list pointers overwriting some perturb bytes.
10584 Wording suggested by Roland McGrath.
10585
f9b9d9c9
JM
105862012-10-17 Joseph Myers <joseph@codesourcery.com>
10587
10588 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
10589 (lgamma_test): Likewise.
10590 (tgamma_test): Likewise.
10591
172a631a
FW
105922012-10-16 Florian Weimer <fweimer@redhat.com>
10593
10594 [BZ #14700]
10595 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
10596 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
10597
e9f37252
MK
105982012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
10599
10600 * NEWS: Mention BZ #14716.
10601 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
10602 when removing AVAILABLE1_USES_J macro.
10603
d394eb74
L
106042012-10-12 H.J. Lu <hongjiu.lu@intel.com>
10605
10606 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10607 (__bswap_64): __uint64_t for unsigned 64-bit int.
10608
ca38dc17
AS
106092012-10-12 Andreas Schwab <schwab@linux-m68k.org>
10610
10611 * include/string.h (memmem): Declare libc hidden alias.
10612 * string/memmem.c (memmem): Define libc hidden alias.
10613 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
10614 __read, __close instead of open, read, close.
10615
9a387d1f
L
106162012-10-11 H.J. Lu <hongjiu.lu@intel.com>
10617
ac49ecaf
L
10618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
10619 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
10620 global and hidden.
10621 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
10622 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
10623 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
10624 Likewise.
10625 (__rawmemchr_sse2): Likewise.
10626 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
10627 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
10628 (__strchr_sse2): Likewise.
10629 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
10630 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
10631 (__strcasecmp_sse2): Likewise.
10632 (__strncasecmp_sse2): Likewise.
10633 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
10634 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
10635 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
10636 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
10637 (__strrchr_sse2): Likewise.
10638 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
10639 ifunc-impl-list.c.
10640 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10641 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10642 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10643 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10644 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10645 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10646 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10647 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10648 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
10649 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
10650 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
10651 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
10652 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
10653 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10654 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10655 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10656 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10657 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10658 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
10659 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
10660 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
10661 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
10662 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
10663 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10664 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
10665 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10666 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10667 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10668 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10669 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10670
b090e8ea
L
10671 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
10672 global and hidden.
10673 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
10674 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
10675 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
10676 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
10677 Likewise.
10678 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
10679 Likewise.
10680 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
10681 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
10682 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
10683 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
10684 ifunc-impl-list.c.
10685 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10686 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10687 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10695 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10696 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10697 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10698 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
10699 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
10700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10701 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
10702 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
10703 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10704 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10706 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10707 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10708 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10709 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10710 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
10711 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
10712 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
10713 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
10714 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10715 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
10716 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10717 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10718 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
10719 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10720 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10721 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10722 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10723 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10724 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10725 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
10726
11dd4af6
L
10727 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
10728 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
10729 * include/ifunc-impl-list.h: New file.
10730 * misc/ifunc-impl-list.c: Likewise.
10731 * misc/Makefile (routines): Add ifunc-impl-list.
10732 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
10733 * string/test-string.h: Include <ifunc-impl-list.h>.
10734 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
10735 impl_array): New variables.
10736 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
10737 are defined.
10738 (test_init): Call __libc_ifunc_impl_list to initialize
10739 func_list if TEST_IFUNC and TEST_NAME are defined.
10740
9a387d1f
L
10741 * string/Makefile (strop-tests): Add bcopy and bzero.
10742 * string/test-bcopy.c: New file.
10743 * string/test-bzero.c: Likewise.
10744 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
10745 defined.
10746 * string/test-memset.c: Support bzero test if TEST_BZERO is
10747 defined.
10748 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
10749 __libc_memmove.
10750 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
10751 __libc_memset.
10752 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
10753 of memset.
10754
472371b9
JM
107552012-10-10 Joseph Myers <joseph@codesourcery.com>
10756
1e4a9536
JM
10757 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
10758 * configure: Regenerated.
10759
d173d12e
JM
10760 * Makeconfig (+link-static-before-libc): Don't include
10761 $(link-static-libc).
10762
472371b9
JM
10763 * libio/libio.h (_IO_pos_t): Remove.
10764
89a3ad0b
AO
107652012-10-10 Alexandre Oliva <aoliva@redhat.com>
10766
10767 * NEWS: Add note about FIPS mode. Wording suggested by Roland
10768 McGrath.
10769
e7451425
AO
107702012-10-10 Alexandre Oliva <aoliva@redhat.com>
10771
10772 * crypt/crypt-entry.c: Include fips-private.h.
10773 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
10774 * crypt/md5c-test.c (main): Tolerate disabled MD5.
10775 * sysdeps/unix/sysv/linux/fips-private.h: New file.
10776 * sysdeps/generic/fips-private.h: New file, dummy fallback.
10777
4ba74a35
AO
107782012-10-10 Alexandre Oliva <aoliva@redhat.com>
10779
10780 * crypt/crypt-private.h: Include stdbool.h.
10781 (_ufc_setup_salt_r): Return bool.
10782 * crypt/crypt-entry.c: Include errno.h.
10783 (__crypt_r): Return NULL with EINVAL for bad salt.
10784 * crypt/crypt_util.c (bad_for_salt): New.
10785 (_ufc_setup_salt_r): Check that salt is long enough and within
10786 the specified alphabet.
10787 * crypt/badsalttest.c: New file.
10788 * crypt/Makefile (tests): Add it.
10789 ($(objpfx)badsalttest): New.
10790
f96f1242
MK
107912012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
10792
10793 * NEWS: Add entry for BZ #14602.
10794
0e8e0c1c
JM
107952012-10-09 Joseph Myers <joseph@codesourcery.com>
10796
10797 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
10798 type-generic.
10799 * math/libm-test.inc: Update comment listing what functions and
10800 macros are tested.
10801 (isgreater_test): New function.
10802 (isgreaterequal_test): Likewise.
10803 (isless_test): Likewise.
10804 (islessequal_test): Likewise.
10805 (islessgreater_test): Likewise.
10806 (isunordered_test): Likewise.
10807 (main): Call the new functions.
10808
273edc5e
RM
108092012-10-09 Roland McGrath <roland@hack.frob.com>
10810
b8493de0
RM
10811 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
10812 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
10813 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
10814 * sysdeps/i386/configure: Regenerated.
10815 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
10816 * sysdeps/mach/configure: Regenerated.
10817 * sysdeps/mach/hurd/configure: Regenerated.
10818 * sysdeps/powerpc/configure: Regenerated.
10819 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10820 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10821 * sysdeps/s390/s390-32/configure: Regenerated.
10822 * sysdeps/s390/s390-64/configure: Regenerated.
10823 * sysdeps/sh/configure: Regenerated.
10824 * sysdeps/sparc/configure: Regenerated.
10825 * sysdeps/unix/sysv/linux/configure: Regenerated.
10826 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10827 * sysdeps/x86_64/configure: Regenerated.
10828
273edc5e
RM
10829 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
10830 defined. Don't check if MAP is NULL.
10831
c8450f70
JM
108322012-10-09 Joseph Myers <joseph@codesourcery.com>
10833
10834 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
10835 (_G_stat64): Likewise.
10836 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
10837 (_G_stat64): Likewise.
10838 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
10839 instead of struct _G_stat64.
10840 * libio/fileops.c (mmap_remap_check): Likewise.
10841 (decide_maybe_mmap): Likewise.
10842 (_IO_new_file_seekoff): Likewise.
10843 (_IO_file_stat): Likewise.
10844 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
10845 _G_off64_t.
10846 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
10847 instead of struct _G_stat64.
10848 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
10849
57e605ba
MK
108502012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
10851
10852 [BZ #14602]
10853 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10854 Replace with ...
10855 (CHECK_EOL): New macro.
10856 (two_way_short_needle): Check beginning of haystack for EOL. Use
10857 CHECK_EOL.
10858 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10859 Replace with CHECK_EOL.
10860 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
10861 Replace with CHECK_EOL.
10862
ef1bb361
JM
108632012-10-08 Joseph Myers <joseph@codesourcery.com>
10864
10865 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
10866 type-generic.
10867 * math/libm-test.inc: Update comment listing what functions and
10868 macros are tested.
10869 (finite_test): New function.
10870 (isinf_test): Likewise.
10871 (isnan_test): Likewise.
10872 (fpclassify_test): Test subnormal input.
10873 (isfinite_test): Likewise.
10874 (isnormal_test): Likewise.
10875 (main): Call the new functions.
10876
55f11534
JN
108772012-10-08 Jonathan Nieder <jrnieder@gmail.com>
10878
10879 [BZ #14660]
10880 * Makerules (%.dynsym): Force C locale when running
10881 $(OBJDUMP) --dynamic-syms.
10882
1ab29350
AS
108832012-10-08 Andreas Schwab <schwab@linux-m68k.org>
10884
10885 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
10886 <stdint.h>.
10887
f1ecb7ef
DM
108882012-10-06 David S. Miller <davem@davemloft.net>
10889
10890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
10891 upper 32-bits of the length value in %o2 since we use branch-on-register
10892 tests which consider the entire 64-bit register.
10893
5d41d91a
L
108942012-10-06 H.J. Lu <hongjiu.lu@intel.com>
10895
10896 * string/test-strstr.c (check2): Add a test for page boundary.
10897
3baddb72
DM
108982012-10-05 David S. Miller <davem@davemloft.net>
10899
10900 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
10901 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
10902 file.
10903 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
10904 sysdep_routines.
10905 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
10906 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
10907 and bzero when HWCAP_SPARC_CRYPTO is present.
10908
9cee5585
L
109092012-10-05 H.J. Lu <hongjiu.lu@intel.com>
10910
d7e0dab9
L
10911 [BZ #14602]
10912 * string/test-strstr.c (check2): New function.
10913 (test_main): Call check2.
10914
03759f47
L
10915 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
10916 and bug-strchr1.
10917 * string/bug-strcasestr1.c (do_test): Moved to ...
10918 * string/test-strcasestr.c (check1): Here. New function.
10919 (do_one_test): Break out result checking code into ...
10920 (check_result): This. New function.
10921 (do_one_test): Call check_result.
10922 (test_main): Call check1.
10923 * string/bug-strchr1.c (do_test): Moved to ...
10924 * string/test-strchr.c (check1): Here. New function.
10925 (do_one_test): Break out result checking code into ...
10926 (check_result): This. New function.
10927 (do_one_test): Call check_result.
10928 (test_main): Call check1.
10929 * string/bug-strstr1.c (main): Moved to ...
046f153e 10930 * string/test-strstr.c (check1): Here. New function.
03759f47
L
10931 (do_one_test): Break out result checking code into ...
10932 (check_result): This. New function.
10933 (do_one_test): Call check_result.
10934 (test_main): Call check1.
10935 * string/bug-strcasestr1.c: Removed.
10936 * string/bug-strchr1.c: Likewise.
10937 * string/bug-strstr1.c: Likewise.
10938
53cea63e
L
10939 * elf/Makefile (dl-routines): Add hwcaps.
10940 * elf/dl-support.c (_dl_important_hwcaps): Removed.
10941 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
10942 (_dl_important_hwcaps): Moved to ...
10943 * elf/dl-hwcaps.c: Here. New file.
10944 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
10945
9cee5585 10946 [BZ #14557]
bb859b06
L
10947 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
10948 if IS_IN_rtld isn't defined.
10949
9cee5585
L
10950 * elf/dl-support.c (_dl_sysinfo_map): New.
10951 Include "get-dynamic-info.h" and "setup-vdso.h".
10952 (_dl_non_dynamic_init): Call setup_vdso.
10953 * elf/dynamic-link.h: Don't include <assert.h>.
10954 (elf_get_dynamic_info): Moved to ...
10955 * elf/get-dynamic-info.h: Here. New file.
10956 * elf/dynamic-link.h: Include "get-dynamic-info.h".
10957 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
10958 * elf/setup-vdso.h: Here. New file.
10959 * elf/rtld.c: Include "setup-vdso.h".
10960 (dl_main): Call setup_vdso.
10961
23c31b76
JM
109622012-10-05 Joseph Myers <joseph@codesourcery.com>
10963
28234b07
JM
10964 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
10965 creal in comment listing functions tested. List finite, isinf,
10966 isnan, isless, islessequal, isgreater, isgreaterequal,
10967 islessgreater, isunordered, lgamma_r and pow10 as functions and
10968 macros not tested. Mention which functions not tested are aliases
10969 for other functions. Fix typo. Note that signs of NaNs are not
10970 tested.
10971
23c31b76
JM
10972 * scripts/config.guess: Update from config.git.
10973 * scripts/config.sub: Likewise.
10974
9043e228
RM
109752012-10-04 Roland McGrath <roland@hack.frob.com>
10976
10977 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
10978 * misc/madvise.c (madvise): Renamed to __madvise.
10979 Make madvise a weak alias.
10980 * include/sys/mman.h: Declare __madvise.
10981 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
10982 * sysdeps/unix/syscalls.list
10983 (madvise): Make __madvise the strong name, and madvise a weak alias.
10984 * sysdeps/unix/sysv/linux/syscalls.list
10985 (madvise, mmap): Remove redundant entries.
10986 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
10987 * malloc/malloc.c (mtrim): Likewise.
10988 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
10989
f57f8055
RM
109902012-10-03 Roland McGrath <roland@hack.frob.com>
10991
10992 * sysdeps/mach/hurd/dl-cache.c: File removed.
10993 * config.h.in (USE_LDCONFIG): New #undef.
10994 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
10995 * configure: Regenerated.
10996 * elf/Makefile (dl-routines): Add dl-cache only under
10997 [$(use-ldconfig) = yes].
10998 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
10999 cache on [USE_LDCONFIG].
11000 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11001 [USE_LDCONFIG].
11002 * elf/rtld.c (dl_main): Likewise.
11003
5bb0c10a
PT
110042012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11005
11006 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11007 _SC_LEVEL4_CACHE_LINESIZE.
11008
010188c6
RM
110092012-10-03 Roland McGrath <roland@hack.frob.com>
11010
11011 * sysdeps/unix/bsd/confstr.h: File removed.
11012
b6c5ec07
AO
110132012-10-02 Alexandre Oliva <aoliva@redhat.com>
11014
11015 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11016 sys/sdt-config.h.
11017
408223d4
RM
110182012-10-02 Roland McGrath <roland@hack.frob.com>
11019
11020 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11021 Make 'mapoff' field ElfW(Off) rather than off_t.
11022
bb9510dc
DL
110232012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11024
fc997c6e
DL
11025 * nscd/Makefile: Remove nscd-cflags and all its users.
11026 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11027 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11028
bb9510dc
DL
11029 [BZ #10631]
11030 * malloc.c (malloc_printerr): Clarify error message.
11031
05699367
L
110322012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11033
11034 [BZ #14648]
11035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11036 Set bit_FMA_Usable if FMA is supported.
11037 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11038 macro.
11039 (bit_FMA4_Usable): Updated.
11040 (index_FMA_Usable): New macro.
11041 (CPUID_FMA): Likewise
11042 (HAS_FMA): Defined with bit_FMA_Usable.
11043
51367701
RM
110442012-10-01 Roland McGrath <roland@hack.frob.com>
11045
11046 * bits/types.h (__swblk_t): Type removed.
11047 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11048 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11050 (__SWBLK_T_TYPE): Likewise.
11051 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11052 (__SWBLK_T_TYPE): Likewise.
11053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11054 (__SWBLK_T_TYPE): Likewise.
11055 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11056 (__SWBLK_T_TYPE): Likewise.
11057
4d57bf63 110582012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11059 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11060
11061 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11062 (xdr_mapname): Use YPMAXMAP as maxsize.
11063 (xdr_peername): Use YPMAXPEER as maxsize.
11064 (xdr_keydat): Use YPAXRECORD as maxsize.
11065 (xdr_valdat): Use YPMAXRECORD as maxsize.
11066
93c65d43
RM
110672012-10-01 Roland McGrath <roland@hack.frob.com>
11068
497a03d6
RM
11069 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11070
93c65d43
RM
11071 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11072 * csu/init-first.c: ... here.
11073 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11074 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11075 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11076 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11077 * sysdeps/i386/init-first.c: File removed.
11078 * sysdeps/sh/init-first.c: File removed.
11079
bec749fd
JM
110802012-10-01 Joseph Myers <joseph@codesourcery.com>
11081
11082 [BZ #14645]
11083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11084 if x * y might underflow to zero and z is zero.
11085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11087 * math/libm-test.inc (min_subnorm_value): New variable.
11088 (fma_test): Add more tests.
11089 (fma_test_towardzero): Likewise.
11090 (fma_test_downward): Likewise
11091 (fma_test_upward): Likewise.
11092 (initialize): Set min_subnorm_value.
11093
8ec5b013
JM
110942012-09-29 Joseph Myers <joseph@codesourcery.com>
11095
11096 [BZ #14638]
11097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11098 0 + 0.
11099 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11100 mode for addition resulting in exact zero.
11101 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11103 exact 0 + 0.
11104 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11106 * math/libm-test.inc (fma_test): Add more tests.
11107 (fma_test_towardzero): New function.
11108 (fma_test_downward): Likewise.
11109 (fma_test_upward): Likewise.
11110 (main): Call the new functions.
11111
b1fa802e
DM
111122012-09-28 David S. Miller <davem@davemloft.net>
11113
11114 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11115
d3b9fd9e
RM
111162012-09-28 Roland McGrath <roland@hack.frob.com>
11117
ea4d37b3
RM
11118 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11119 instead of SIGALRM.
11120
ac51c949
RM
11121 * sysdeps/gnu/_G_config.h: Moved to ...
11122 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11123 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11124 * sysdeps/generic/_G_config.h: ... here.
11125
28c195f7
RM
11126 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11127
848917f9
RM
11128 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11129
6bacf05b
RM
11130 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11131 Conditionalize target on [libnss_test1.so-version].
11132
91363dbb
RM
11133 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11134
cc87f7d8
RM
11135 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11136 (elfobjdir): Move out of conditionals.
11137
b1c608fe
RM
11138 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11139 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11140 (__nss_lookup_function): Conditionalize label remove_from_tree on
11141 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11142
1d9a6d96
DM
111432012-09-28 David S. Miller <davem@davemloft.net>
11144
11145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11146 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11147 file.
11148 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11149 sysdep_routines.
11150 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11152 when HWCAP_SPARC_CRYPTO is present.
11153
72581615
PT
111542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11155
11156 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11157
715a900c
JL
111582012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11159
11160 [BZ #6530]
11161 * stdio-common/vfprintf.c (process_string_arg): Revert
11162 2000-07-22 change.
11163
111642011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11165
11166 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11167 for testcase.
11168 * stdio-common/tst-sprintf.c: Include <locale.h>
11169 (main): Test sprintf's handling of incomplete multibyte
11170 characters.
11171
9bac1d86
L
111722012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 * elf/dl-runtime.c (VERSYMIDX): Removed.
11175 * elf/dl-version.c (VERSYMIDX): Likewise.
11176 * elf/do-rel.h (VERSYMIDX): Likewise.
11177 (VALIDX): Likewise.
11178 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11179 * elf/rtld.c (VALIDX): Likewise.
11180 (ADDRIDX): Likewise.
9bac1d86
L
11181 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11182 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11183 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11184 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11185 (VALIDX): Likewise.
11186 (ADDRIDX): Likewise.
9bac1d86 11187
b31606c0
PT
111882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11189
11190 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11191
11541177
JL
111922012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11193
11194 [BZ #11438]
11195 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11196 to global scope.
11197 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11198 addresses are in the same scope as 192.0.2/24.
11199 * posix/gai.conf: Document new scope table defaults.
11200
adb26fae
SP
112012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11202
11203 [BZ #5298]
11204 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11205 for ftell. Compute offsets from write pointers instead.
11206 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11207
4573c6b0
SP
112082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11209
11210 [BZ #14543]
11211 * libio/Makefile (tests): New test case tst-fseek.
11212 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11213 combination works in wide mode.
11214 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11215 state when the external buffer state changes.
11216
aa9bbfe6
DM
112172012-09-27 David S. Miller <davem@davemloft.net>
11218
11219 [BZ #14376]
11220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11221 pass reloc->r_addend in as the 'high' argument to
11222 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
11223
784421e7
DM
11224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11225
c39bc8b8
PT
112262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11227
11228 * rt/tst-aio2.c: Include <pthread.h>.
11229 * rt/tst-aio3.c: Likewise.
11230
1ccc2399
SE
112312012-09-27 Steve Ellcey <sellcey@mips.com>
11232
11233 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
11234
31ed4153
L
112352012-09-27 H.J. Lu <hongjiu.lu@intel.com>
11236
25f5f885
L
11237 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
11238 contents on [SHARED].
31ed4153 11239
b7bfe116
MP
112402012-09-26 Marek Polacek <polacek@redhat.com>
11241
11242 [BZ #14530]
11243 [BZ #13741]
11244 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
11245 for C++ and GCC <4.3 as well as for non GCC compilers.
11246
43c4edba
MT
112472012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11248
11249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11250
6a1bf82f
RM
112512012-09-25 Roland McGrath <roland@hack.frob.com>
11252
11253 * Makefile.in (all, install): Declare with .PHONY.
11254 Reported by Michael Hope <michael.hope@linaro.org>.
11255
8ad11b9a
TMQMF
112562012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11257
11258 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
11259 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
11260 system header.
11261 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
11262 Likewise.
11263 (sydep_routines): Add the new and the internal functions.
11264 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
11265 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
11267 (GLIBC_2.17): Add the new function.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11269 (GLIBC_2.17): Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
11271 (GLIBC_2.17): Likewise.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
11273 (GLIBC_2.17): Likewise.
11274 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
11275
7e2fca8d
AM
112762012-09-25 Alan Modra <amodra@gmail.com>
11277
11278 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
11279 Add release barrier before setting once_control to say
11280 initialisation is done. Add hints on lwarx. Use macro in
11281 place of isync.
11282 (clear_once_control): Add release barrier.
11283
b87c4b24
JM
112842012-09-25 Joseph Myers <joseph@codesourcery.com>
11285
d032e0d2
JM
11286 [BZ #13629]
11287 * math/s_clog.c (__clog): Handle more values close to |z| = 1
11288 specially.
11289 * math/s_clog10.c (__clog10): Likewise.
11290 * math/s_clog10f.c (__clog10f): Likewise.
11291 * math/s_clog10l.c (__clog10l): Likewise.
11292 * math/s_clogf.c (__clogf): Likewise.
11293 * math/s_clogl.c (__clogl): Likewise.
11294 * math/Makefile (libm-calls): Add x2y2m1.
11295 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
11296 (__x2y2m1): Likewise.
11297 (__x2y2m1l): Likewise.
11298 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
11299 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11302 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11303 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
11304 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
11305 * sysdeps/i386/fpu/libm-test-ulps: Update.
11306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11307
b87c4b24
JM
11308 [BZ #14621]
11309 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
11310 int as type of variable DEPTH.
11311 (glob): Use size_t instead of int as type of variables NEWCOUNT
11312 and OLD_PATHC.
11313
6d3bf199
LD
113142012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11315
22bf5c17
LD
11316 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11317 Add s_sincosf-sse2.
11318 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
11319 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
11320 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
11321 macros for using routine as __sincosf_ia32.
11322 Use macro for function declaration and weak_alias.
11323 * sysdeps/i386/fpu/libm-test-ulps: Update.
11324
11325 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
11326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11327
11328 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
11329 subnormal argument.
11330 * math/s_cexpf.c (__cexpf): Likewise.
11331 * math/s_csinf.c (__csinf): Likewise.
11332 * math/s_csinhf.c (__csinhf): Likewise.
11333 * math/s_ctanf.c (__ctanf): Likewise.
11334 * math/s_ctanhf.c (__ctanhf): Likewise.
11335 * math/s_ccosh.c (__ccoshf): Likewise.
11336 * math/s_cexp.c (__cexpl): Likewise.
11337 * math/s_csin.c (__csin): Likewise.
11338 * math/s_csinh.c (__csinh): Likewise.
11339 * math/s_ctan.c (__ctan): Likewise.
11340 * math/s_ctanh.c (ctanh): Likewise.
11341 * math/s_ccoshl.c (__ccoshl): Likewise.
11342 * math/s_cexpl.c (__cexpl): Likewise.
11343 * math/s_csinl.c (__csinl): Likewise.
11344 * math/s_csinhl.c (__csinhl): Likewise.
11345 * math/s_ctanl.c (__ctanl): Likewise.
11346 * math/s_ctanhl.c (__ctanhl): Likewise.
11347
203e5603
JM
113482012-09-25 Joseph Myers <joseph@codesourcery.com>
11349
11350 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
11351 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
11352 (_IO_off_t): Define to __off_t, not _G_off_t.
11353 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
11354 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
11355 (_IO_wint_t): Define to wint_t, not _G_wint_t.
11356 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
11357 type of __dummy and __dummy2 fields.
11358 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
11359 (_G_ssize_t): Likewise.
11360 (_G_off_t): Likewise.
11361 (_G_pid_t): Likewise.
11362 (_G_uid_t): Likewise.
11363 (_G_wchar_t): Likewise.
11364 (_G_wint_t): Likewise.
11365 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
11366 (_G_ssize_t): Likewise.
11367 (_G_off_t): Likewise.
11368 (_G_pid_t): Likewise.
11369 (_G_uid_t): Likewise.
11370 (_G_wchar_t): Likewise.
11371 (_G_wint_t): Likewise.
11372 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
11373 (_G_ssize_t): Likewise.
11374 (_G_off_t): Likewise.
11375 (_G_pid_t): Likewise.
11376 (_G_uid_t): Likewise.
11377 (_G_wchar_t): Likewise.
11378 (_G_wint_t): Likewise.
11379
9fab36eb
SP
113802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11381
11382 * malloc/arena.c: Include malloc-sysdep.h.
11383 (shrink_heap): Use check_may_shrink_heap to decide if madvise
11384 is sufficient to shrink the heap or an unmap is needed.
11385 * sysdeps/generic/malloc-sysdep.h: New file. Define
11386 new function check_may_shrink_heap.
11387 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
11388 new function check_may_shrink_heap.
11389
2b4f00d1
SP
113902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11391
11392 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
11393 comments.
11394
9a9028b1
DL
113952012-09-24 Dmitry V. Levin <ldv@altlinux.org>
11396
57c69bef
DL
11397 * catgets/test-gencat.sh: Add "set -e".
11398 * elf/tst-pathopt.sh: Likewise.
11399 * grp/tst_fgetgrent.sh: Likewise.
11400 * iconvdata/run-iconv-test.sh: Likewise.
11401 * intl/tst-gettext.sh: Likewise.
11402 * intl/tst-gettext2.sh: Likewise.
11403 * intl/tst-gettext4.sh: Likewise.
11404 * intl/tst-gettext6.sh: Likewise.
11405 * intl/tst-translit.sh: Likewise.
11406 * io/ftwtest-sh: Likewise.
11407 * libio/test-freopen.sh: Likewise.
11408 * malloc/tst-mtrace.sh: Likewise.
11409 * posix/globtest.sh: Likewise.
11410 * posix/tst-getconf.sh: Likewise.
11411 * posix/wordexp-tst.sh: Likewise.
11412 * stdio-common/tst-printf.sh: Likewise.
11413 * stdio-common/tst-unbputc.sh: Likewise.
11414 * stdlib/tst-fmtmsg.sh: Likewise.
11415 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11416 * catgets/Makefile: Do not specify -e option when running
11417 testsuite shell scripts.
11418 * elf/Makefile: Likewise.
11419 * grp/Makefile: Likewise.
11420 * iconvdata/Makefile: Likewise.
11421 * intl/Makefile: Likewise.
11422 * io/Makefile: Likewise.
11423 * libio/Makefile: Likewise.
11424 * malloc/Makefile: Likewise.
11425 * posix/Makefile: Likewise.
11426 * stdio-common/Makefile: Likewise.
11427 * stdlib/Makefile: Likewise.
11428 * sysdeps/x86_64/Makefile: Likewise.
11429
9a9028b1
DL
11430 * io/ftwtest-sh: Add copyright header.
11431 * posix/globtest.sh: Likewise.
11432 * posix/tst-getconf.sh: Likewise.
11433 * posix/wordexp-tst.sh: Likewise.
11434 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
11435
ced6f16e
L
114362012-09-24 H.J. Lu <hongjiu.lu@intel.com>
11437
94b32c39
L
11438 [BZ #13679]
11439 * Makeconfig (+link): Defined as $(+link-static) if
11440 $(build-shared) isn't yes.
11441 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
11442 isn't yes.
11443 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
11444
189e935b
L
11445 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
11446
ced6f16e
L
11447 [BZ #14562]
11448 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
11449 new chunk size with MALLOC_ALIGN_MASK.
11450
a9f8e53a
JM
114512012-09-24 Joseph Myers <joseph@codesourcery.com>
11452
11453 [BZ #5044]
11454 * stdio-common/printf_fphex.c: Include <stdbool.h> and
11455 <rounding-mode.h>.
11456 (__printf_fphex): Determine rounding using get_rounding_mode and
11457 round_away.
11458 * stdio-common/tst-printf-round.c (struct hex_test): New
11459 structure.
11460 (hex_tests): New variable.
11461 (test_hex_in_one_mode): New function.
11462 (do_test): Also run tests for hex float output.
11463
43153109
JM
114642012-09-21 Joseph Myers <joseph@codesourcery.com>
11465
11466 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11467 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11468 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
11469 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
11470 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
11471 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
11472 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11473 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
11474
8a26625d
JM
114752012-09-20 Joseph Myers <joseph@codesourcery.com>
11476
11477 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
11478 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
11479 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
11480 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
11481
f3fd569c
DL
114822012-09-19 Dmitry V. Levin <ldv@altlinux.org>
11483
11484 [BZ #14579]
11485 * elf/rtld.c (dl_main): Limit the check for self loading to normal
11486 mode only.
11487 * elf/tst-rtld-load-self.sh: New test.
11488 * elf/Makefile: Run it.
11489
63bbedd4
JM
114902012-09-18 Joseph Myers <joseph@codesourcery.com>
11491
11492 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
11493 (tst-writev-ENV): Remove.
11494 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
11495
626f8b6a
CM
114962012-09-17 Chris Metcalf <cmetcalf@tilera.com>
11497
11498 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
11499
b7aaa4d6
JM
115002012-09-17 Joseph Myers <joseph@codesourcery.com>
11501
11502 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
11503 unconditional.
11504 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
11505 Likewise.
11506 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
11507 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
11508 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
11509 Likewise.
11510
65513990
L
115112012-09-14 H.J. Lu <hongjiu.lu@intel.com>
11512
11513 [BZ #14587]
11514 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
11515 * config.make.in (have-cpp-asm-debuginfo): Removed.
11516 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
11517 * configure: Regenerated.
11518
784761be
JM
115192012-09-14 Joseph Myers <joseph@codesourcery.com>
11520
11521 [BZ #5044]
11522 * stdio-common/printf_fp.c: Include <stdbool.h> and
11523 <rounding-mode.h>.
11524 (___printf_fp): Determine rounding using get_rounding_mode and
11525 round_away.
11526 * stdio-common/tst-printf-round.c: New file.
11527 * stdio-common/Makefile (tests): Add tst-printf-round.
11528 (link-libm): New variable.
11529 ($(objpfx)tst-printf-round): Depend in $(link-libm).
11530
9503345f
L
115312012-09-13 H.J. Lu <hongjiu.lu@intel.com>
11532
11533 [BZ #14576]
11534 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
11535 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
11536 Likewise.
11537 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
11538 Likewise.
11539
ad35fc00
JM
115402012-09-13 Joseph Myers <joseph@codesourcery.com>
11541
11542 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
11543 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11544 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11545 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
11546
6c9b0f68
JM
115472012-09-12 Joseph Myers <joseph@codesourcery.com>
11548
11549 [BZ #14518]
11550 * include/rounding-mode.h: New file.
11551 * sysdeps/generic/get-rounding-mode.h: Likewise.
11552 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
11553 * stdlib/strtod_l.c: Include <rounding-mode.h>.
11554 (MAX_VALUE): New macro.
11555 (MIN_VALUE): Likewise.
11556 (overflow_value): New function.
11557 (underflow_value): Likewise.
11558 (round_and_return): Use overflow_value and underflow_value to
11559 determine return values in overflow and underflow cases. Use
11560 round_away to determine rounding depending on rounding mode.
11561 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
11562 determine return values in overflow and underflow cases.
11563 * stdlib/tst-strtod-round.c: Include <fenv.h>.
11564 (struct test_results): New structure.
11565 (struct test): Use struct test_results to store expected results
11566 for all rounding modes.
11567 (TEST): Include expected results for all rounding modes.
11568 (test_in_one_mode): New function.
11569 (do_test): Use test_in_one_mode to compute and check results.
11570 Check results for all rounding modes.
11571 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
11572 $(link-libm).
11573
19fcedd5
AM
115742012-12-09 Allan McRae <allan@archlinux.org>
11575
1e9d84cd 11576 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 11577
8bbfd2f1
JM
115782012-09-11 Joseph Myers <joseph@codesourcery.com>
11579
11580 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
11581 (_G_int32_t): Likewise.
11582 (_G_uint16_t): Likewise.
11583 (_G_uint32_t): Likewise.
11584 (_G_HAVE_BOOL): Likewise.
11585 (_G_HAVE_ATEXIT): Likewise.
11586 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11587 (_G_HAVE_IO_FILE_OPEN): Likewise.
11588 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
11589 (_G_int32_t): Likewise.
11590 (_G_uint16_t): Likewise.
11591 (_G_uint32_t): Likewise.
11592 (_G_HAVE_BOOL): Likewise.
11593 (_G_HAVE_ATEXIT): Likewise.
11594 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11595 (_G_HAVE_IO_FILE_OPEN): Likewise.
11596 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
11597 (_G_int32_t): Likewise.
11598 (_G_uint16_t): Likewise.
11599 (_G_uint32_t): Likewise.
11600 (_G_HAVE_BOOL): Likewise.
11601 (_G_HAVE_ATEXIT): Likewise.
11602 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
11603 (_G_HAVE_IO_FILE_OPEN): Likewise.
11604
b1dc5912
L
116052012-09-11 H.J. Lu <hongjiu.lu@intel.com>
11606
11607 * csu/libc-tls.c: Update copyright years.
11608
0e886ef9
JM
116092012-09-10 Joseph Myers <joseph@codesourcery.com>
11610
28361c5e
JM
11611 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
11612 [!_G_USING_THUNKS]: Remove conditional code.
11613 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
11614 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
11615
0e886ef9
JM
11616 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
11617 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
11618 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11619 (_G_VTABLE_LABEL_PREFIX): Likewise.
11620 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11621 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11622 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11623 (_G_VTABLE_LABEL_PREFIX): Likewise.
11624 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11625 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
11626 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
11627 (_G_VTABLE_LABEL_PREFIX): Likewise.
11628 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
11629
bcba7aa2
L
116302012-09-10 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 * libio/Makefile: Include ../Makeconfig before tests.
11633 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
11634 only if $(build-shared) is yes.
11635
06585ee8
L
11636 * iconv/gconv_db.c: Update copyright years.
11637
80ccd52c
LD
116382012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11639
11640 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
11641 unwind info if defined PIC. Fix special cases description.
11642 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
11643
11644 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
11645 DP_HI_MASK entry.
11646 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
11647
691bc9c1
L
116482012-09-07 H.J. Lu <hongjiu.lu@intel.com>
11649
3d9b46b3
L
11650 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
11651
de2139a9
L
11652 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
11653 is NULL.
11654
5ca78dd0
L
11655 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
11656 (LDLIBS-tst-chk4): This.
11657 (LDFLAGS-tst-chk5): Renamed to ...
11658 (LDLIBS-tst-chk5): This.
11659 (LDFLAGS-tst-chk6): Renamed to ...
11660 (LDLIBS-tst-chk6): This.
11661 (LDFLAGS-tst-lfschk4): Renamed to ...
11662 (LDLIBS-tst-lfschk4): This.
11663 (LDFLAGS-tst-lfschk5): Renamed to ...
11664 (LDLIBS-tst-lfschk5): This.
11665 (LDFLAGS-tst-lfschk6): Renamed to ...
11666 (LDLIBS-tst-lfschk6): This.
11667
691bc9c1
L
11668 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
11669 on $(common-objpfx)soversions.mk.
11670
65cafb1c
JM
116712012-09-07 Joseph Myers <joseph@codesourcery.com>
11672
11673 [BZ #10014]
11674 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
11675 example host name.
11676
c78ab094
SP
116772012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11678
11679 * malloc/arena.c (arena_get_retry): New function that gets
11680 another arena for the caller to try its request on.
11681 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
11682 current arena cannot fulfill the request.
11683 (__libc_memalign): Likewise.
11684 (__libc_memalign): Likewise.
11685 (__libc_pvalloc): Likewise.
11686 (__libc_calloc): Likewise.
11687
01f49f59
JT
116882012-09-05 John Tobey <john.tobey@gmail.com>
11689
11690 [BZ #13542]
11691 * manual/arith.texi (Operations on Complex): Fix description
11692 of carg branch cut.
11693
4c23fed5
JM
116942012-09-06 Joseph Myers <joseph@codesourcery.com>
11695
1d3c8572
JM
11696 [BZ #10014]
11697 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
11698 host name.
11699
4c23fed5
JM
11700 [BZ #10038]
11701 * manual/memory.texi (Memory): Make order of menu items match
11702 order of sections.
11703
04570aaa
L
117042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11705
11706 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
11707 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
11708 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
11709
b80af2f4
L
117102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 * csu/libc-tls.c (static_dtv): Renamed to ...
11713 (_dl_static_dtv): This. Make it global.
11714 (_dl_initial_dtv): Removed.
11715 (__libc_setup_tls): Updated.
11716 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
11717 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
11718 DL_INITIAL_DTV.
11719
2abe9f15
PM
117202012-09-06 Petr Machata <pmachata@redhat.com>
11721
11722 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
11723 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
11724 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
11725 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
11726
0948c3af
L
117272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11728
11729 [BZ #14545]
11730 * csu/libc-tls.c (_dl_initial_dtv): New variable.
11731 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
11732 freeing dtv[-1].
11733
a5055ad1
L
117342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
11735
11736 [BZ #14544]
11737 * Makeconfig (link-static-before-libc): Replace $(+prector)
11738 with $(+prectorT).
11739 (link-static-after-libc): Replace $(+postctor) with
11740 $(+postctorT).
11741 (link-bounded): Replace $(+prector)/$(+postctor) with
11742 $(+prectorT)/$(+postctorT).
11743 (+prectorT): New macro.
11744 (+postctorT): Likewise.
11745
ed8c2ecd
JM
117462012-09-06 Joseph Myers <joseph@codesourcery.com>
11747
11748 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
11749 (round_str): Handle values above the maximum for IBM long double
11750 as inexact.
11751 * stdlib/tst-strtod-round.c (tests): Regenerated.
11752
14c996c8
AK
117532012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11754
11755 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
11756 assembler flag.
11757 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
11758 zarch_nohighgprs around the zarch optimized routines.
11759 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11760 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11761 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
11762 for zarch.
11763
430d6ce6
DM
117642012-09-05 David S. Miller <davem@davemloft.net>
11765
11766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11767
ff04dda4
DM
11768 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
11769 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
11770 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
11771 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11772 entries.
11773
24d4e01b
AO
117742012-09-05 Alexandre Oliva <aoliva@redhat.com>
11775
11776 * malloc/arena.c: Fold copyright years.
11777 * malloc/mcheck.c, malloc/memusage.c: Likewise.
11778
61d58174
AO
117792012-09-05 Alexandre Oliva <aoliva@redhat.com>
11780
11781 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
11782
20196a5e
AO
117832012-09-05 Alexandre Oliva <aoliva@redhat.com>
11784
11785 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
11786
5c447383
AO
117872012-09-05 Alexandre Oliva <aoliva@redhat.com>
11788
11789 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
11790 change internal state upon failure.
11791
fad64255
AO
117922012-09-05 Alexandre Oliva <aoliva@redhat.com>
11793
11794 * malloc/mcheck.c (mcheck_check_all): Fix typo.
11795 * malloc/memusage.c (mmap): Likewise.
11796 (mmap64, mremap): Likewise. Adjust name in comment.
11797
1ffb8c90
SP
117982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11799
11800 * libio/fileops.c: Fix typos in comments.
11801 * libio/oldfileops.c: Likewise.
11802 * libio/wfileops.c: Likewise.
11803
6ef9cc37
SP
118042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11805
11806 [BZ #1349]
11807 * malloc/Makefile (tests): Add tst-malloc-usable test case.
11808 (tst-malloc-usable-ENV): Set environment for test case.
11809 * malloc/hooks.c (malloc_check_get_size): New function to get
11810 requested size.
11811 * malloc/malloc.c (musable): Use malloc_check_get_size.
11812 * malloc/tst-malloc-usable.c: New test case.
11813
4d038ae3
AS
118142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11815
11816 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
11817
c4e85184
AM
118182012-09-05 Allan McRae <allan@archlinux.org>
11819
b9dafc56 11820 [BZ #13966]
c4e85184
AM
11821 * configure.in (CXX_SYSINCLUDES): Use compiler output to
11822 determine header location.
11823 * configure: Regenerated.
11824
e1343020
AS
118252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
11826
11827 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
11828 float format.
11829 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
11830 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
11831 format.
e1343020
AS
11832 (test): Regenerate.
11833
0a9f1987
DM
118342012-09-04 David S. Miller <davem@davemloft.net>
11835
11836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
11837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
11838 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
11839
29237804
FW
118402012-09-04 Florian Weimer <fweimer@redhat.com>
11841
11842 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
11843 failures.
11844
edb3cb88
FW
11845 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
11846
60160d83
JM
118472012-09-04 Joseph Myers <joseph@codesourcery.com>
11848
11849 [BZ #9914]
11850 * libio/iogetdelim.c: Include <limits.h>.
11851 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
11852 + len + 1 would overflow.
11853
bcd6c8dc
AJ
118542012-09-03 Andreas Jaeger <aj@suse.de>
11855
11856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11857 * sysdeps/i386/fpu/libm-test-ulps: Update.
11858
4ffffbd2
LD
118592012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11860
11861 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
11862 Add s_sinf-sse2, s_conf-sse2.
11863
11864 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
11865 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
11866 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
11867 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
11868
11869 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
11870 for using routine as __sinf_ia32.
11871 Use macro for function declaration and weak_alias.
11872 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
11873 for using routine as __cosf_ia32.
11874 Use macro for function declaration and weak_alias.
11875
11876 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
11877 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
11878
11879 * sysdeps/x86_64/fpu/s_sinf.S: New file.
11880 * sysdeps/x86_64/fpu/s_cosf.S: New file.
11881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11882
11883 * math/libm-test.inc (cos_test): Add more test cases.
11884 (sin_test): Likewise.
11885 (sincos_test): Likewise.
11886
511fa286
AK
118872012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11888
11889 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11890 (IFUNC_RESOLVE): Make pointers to the specialized implementations
11891 hidden.
11892 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11893
5f30cfec
L
118942012-09-02 H.J. Lu <hongjiu.lu@intel.com>
11895
11896 [BZ #14538]
11897 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
11898 first element of the GOT.
11899 (elf_machine_load_address): Return the difference between
11900 the runtime address of _DYNAMIC and elf_machine_dynamic ().
11901
0786794f
AM
119022012-09-01 Allan McRae <allan@archlinux.org>
11903
5f30cfec
L
11904 [BZ #13412]
11905 * configure.in (AWK): Require gawk version 3.0 or later.
11906 * configure: Regenerated.
0786794f 11907
26889eac
JM
119082012-09-01 Joseph Myers <joseph@codesourcery.com>
11909
11910 * sysdeps/unix/sysv/linux/kernel-features.h
11911 (__ASSUME_POSIX_CPU_TIMERS): Remove.
11912 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11913 [__NR_clock_getres]: Make code unconditional.
11914 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
11915 (clock_getcpuclockid): Remove code left unreachable by removal of
11916 conditionals.
11917 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
11918 code unconditional.
11919 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11920 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11921 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
11922 Make code unconditional.
11923 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
11924 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11925 * sysdeps/unix/sysv/linux/clock_settime.c
11926 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
11927 conditional code.
11928 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
11929 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
11930
d22e28b0
L
119312012-08-29 H.J. Lu <hongjiu.lu@intel.com>
11932
11933 [BZ #14476]
11934 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
11935 scripts/test-installation.pl.
11936
11937 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
11938 and $ld_so_version if it is set.
11939
050af9c4
SP
119402012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
11942 [BZ #14516]
11943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
11944 failure if reading from procfs failed.
11945 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
11946
ad845c0b
JM
119472012-08-27 Joseph Myers <joseph@codesourcery.com>
11948
11949 * sysdeps/unix/sysv/linux/kernel-features.h
11950 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
11951 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11952 Remove conditional code.
11953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11954 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
11955 Remove conditional code.
11956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11957 * sysdeps/unix/sysv/linux/i386/fxstat.c
11958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11960 * sysdeps/unix/sysv/linux/i386/fxstatat.c
11961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11963 * sysdeps/unix/sysv/linux/i386/lxstat.c
11964 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
11965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11966 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
11967 Remove conditional code.
11968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11969 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
11970 Remove conditional code.
11971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11972 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
11973 <kernel-features.h>.
11974 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
11975 Remove.
11976 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
11977 Remove conditional code.
11978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
11979 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
11980 Remove conditional.
11981
5dbf56af
MF
119822012-08-27 Mike Frysinger <vapier@gentoo.org>
11983
11984 [BZ #5400]
11985 * NEWS: Add fixed bug number.
11986
d6e70f43
JM
119872012-08-27 Joseph Myers <joseph@codesourcery.com>
11988
7efb4737
JM
11989 [BZ #14519]
11990 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
11991 underflowing exponent in case of negative sign.
11992 * stdlib/tst-strtod-round-data: Add more tests.
11993 * stdlib/tst-strtod-round.c (tests): Regenerated.
11994
af92131a
JM
11995 [BZ #3479]
11996 * stdlib/strtod_l.c (NDIG): Remove.
11997 (HEXNDIG): Likewise.
11998 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
11999 smallest representable value.
12000 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12001 lie within an exact representation of 1/2 ulp of the result.
12002 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12003 unconditionally.
12004 (TENS_P9_IDX): Define unconditionally.
12005 (TENS_P9_SIZE): Likewise.
12006 (TENS_P10_IDX): Likewise.
12007 (TENS_P10_SIZE): Likewise.
12008 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12009 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12010 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12011 entries for 10^2^13 and 10^2^14.
12012 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12013 (TENS_P13_IDX): Define.
12014 (TENS_P13_SIZE): Likewise.
12015 (TENS_P14_IDX): Likewise.
12016 (TENS_P14_SIZE): Likewise.
12017 (_fpioconst_pow10): Change array size to
12018 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12019 unconditional.
12020 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12021 1024]: Add entries for 10^2^13 and 10^2^14.
12022 [LAST_POW10 > _LAST_POW10]: Remove #error.
12023 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12024 (_fpioconst_pow10): Change array size to
12025 FPIOCONST_POW10_ARRAY_SIZE.
12026 * stdlib/gen-fpioconst.c: New file.
12027 * stdlib/gen-tst-strtod-round.c: Likewise.
12028 * stdlib/tst-strtod-round-data: Likewise.
12029 * stdlib/tst-strtod-round.c: Likewise.
12030 * stdlib/Makefile (tests): Add tst-strtod-round.
12031
d6e70f43
JM
12032 [BZ #14459]
12033 * stdlib/strtod_l.c: Include <stdint.h>.
12034 (NDEBUG): Do not define.
12035 (round_and_return): Change EXPONENT parameter to type intmax_t.
12036 Rearrange calculations to avoid internal overflow possibilities.
12037 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12038 Rearrange calculations to avoid internal overflow possibilities.
12039 Assert that number fits inside MPNSIZE limbs.
12040 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12041 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12042 calculations and add assertions to avoid internal overflow
12043 possibilities. Add casts to avoid signed/unsigned operations.
12044 * stdlib/tst-strtod-overflow.c: New file.
12045 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12046
1f529f7d
MP
120472012-08-25 Marek Polacek <polacek@redhat.com>
12048
12049 * time/time.h: Fix some typos in comments.
12050
59a629f1
RM
120512012-08-23 Roland McGrath <roland@hack.frob.com>
12052
12053 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12054 * posix/tst-rfc3484-2.c: Likewise.
12055 * posix/tst-rfc3484-3.c: Likewise.
12056
d3bafbc9
SM
120572012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12058
12059 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12060 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12061
4efcc022
JM
120622012-08-23 Joseph Myers <joseph@codesourcery.com>
12063
12064 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12065 #include of fxstatat64.c.
12066
3cc3ef96
RM
120672012-08-22 Roland McGrath <roland@hack.frob.com>
12068
f04e2132
RM
12069 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12070 * shadow/getspent_r.c: Likewise.
12071 * shadow/getspnam.c: Likewise.
12072 * shadow/getspnam_r.c: Likewise.
12073 * gshadow/getsgent.c: Likewise.
12074 * gshadow/getsgent_r.c: Likewise.
12075 * gshadow/getsgnam.c: Likewise.
12076 * gshadow/getsgnam_r.c: Likewise.
12077 * inet/getnetbyad.c: Likewise.
12078 * inet/getnetbyad_r.c: Likewise.
12079 * inet/getnetbynm.c: Likewise.
12080 * inet/getnetbynm_r.c: Likewise.
12081 * inet/getnetent.c: Likewise.
12082 * inet/getnetent_r.c: Likewise.
12083 * inet/getproto.c: Likewise.
12084 * inet/getproto_r.c: Likewise.
12085 * inet/getprtent.c: Likewise.
12086 * inet/getprtent_r.c: Likewise.
12087 * inet/getprtname.c: Likewise.
12088 * inet/getprtname_r.c: Likewise.
12089 * inet/getrpcbyname.c: Likewise.
12090 * inet/getrpcbyname_r.c: Likewise.
12091 * inet/getrpcbynumber.c: Likewise.
12092 * inet/getrpcbynumber_r.c: Likewise.
12093 * inet/getrpcent.c: Likewise.
12094 * inet/getrpcent_r.c: Likewise.
12095 * inet/getaliasent.c: Likewise.
12096 * inet/getaliasent_r.c: Likewise.
12097 * inet/getaliasname.c: Likewise.
12098 * inet/getaliasname_r.c: Likewise.
12099 * nscd/getgrgid_r.c: Likewise.
12100 * nscd/getgrnam_r.c: Likewise.
12101 * nscd/gethstbyad_r.c: Likewise.
12102 * nscd/gethstbynm3_r.c: Likewise.
12103 * nscd/getpwnam_r.c: Likewise.
12104 * nscd/getpwuid_r.c: Likewise.
12105 * nscd/getsrvbynm_r.c: Likewise.
12106 * nscd/getsrvbypt_r.c: Likewise.
12107 * nscd/gai.c: Likewise.
12108
c53d909c
RM
12109 * configure.in (build_nscd): New substituted variable, set
12110 by --disable-build-nscd and defaults to $use_nscd.
12111 * configure: Regenerated.
12112 * config.make.in (build-nscd): New substituted variable.
12113 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12114 Change conditional to require [$(build-nscd) = yes] as well.
12115 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12116
3cc3ef96
RM
12117 [BZ# 13696]
12118 * configure.in (use_nscd): New substituted variable, set by
12119 --disable-nscd. If enabled, define USE_NSCD.
12120 * configure: Regenerated.
12121 * config.h.in: Add USE_NSCD.
12122 * config.make.in (use-nscd): New substituted variable.
12123 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12124 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12125 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12126 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12127 (CFLAGS-getgrnam_r.c): Likewise.
12128 (CFLAGS-initgroups.c): Likewise.
12129 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12130 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12131 Variables removed.
12132 * inet/getnetgrent_r.c
12133 (nscd_setnetgrent): New function, broken out of ...
12134 (setnetgrent): ... here. Call it.
12135 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12136 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12137 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12138 * nscd/Makefile (routines, aux): Move definitions after include of
12139 Makeconfig. Conditionalize on [$(use-nscd) != no].
12140 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12141 Conditionalize on [USE_NSCD].
12142 (is_nscd, nscd_init_cb): Likewise.
12143 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12144 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12145 * nss/nss_db/db-init.c: Likewise.
12146 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12147 [USE_NSCD].
12148 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12149 (make_request): Use it.
12150 (cache_valid_p): New function.
12151 (__check_pf): Use it.
12152 * NEWS: Add item for --disable-nscd.
12153
07e51550
DL
121542012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12155
12156 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12157 to support sed >= 4.2.1-20-ga9bf076.
12158 * configure: Regenerated.
12159
35a5b08b
RM
121602012-08-22 Roland McGrath <roland@hack.frob.com>
12161
12162 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12163 Conditionalize whole body on [IREL].
12164
8479f23a
JL
121652012-08-22 Jeff Law <law@redhat.com>
12166
12167 [BZ #14505]
12168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12169 if the family is PF_UNSPEC.
12170
48da0b21
MF
121712012-08-22 Mike Frysinger <vapier@gentoo.org>
12172
12173 * Makerules (lib-version): Rename from V.
12174 (install-lib-nosubdir): Change V to lib-version.
12175
15d0da8c
WS
121762012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12177
12178 [BZ #14252]
12179 * powerpc32/power6/wcschr.c: New file.
12180 * powerpc32/power6/wcscpy.c: New file.
12181 * powerpc32/power6/wcsrchr.c: New file.
12182 * powerpc64/power6/wcschr.c: New file.
12183 * powerpc64/power6/wcscpy.c: New file.
12184 * powerpc64/power6/wcsrchr.c: New file.
12185
bcca0895
MK
121862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12187
12188 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12189 (two_way_short_needle): Use it.
5a4aaa33
RM
12190 * string/strstr.c (AVAILABLE1_USES_J): Define.
12191 * string/strcasestr.c: Likewise.
99677e57
MK
12192
12193 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12194 array references.
12195 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12196
400726de
MK
12197 [BZ #11607]
12198 * NEWS: Add an entry.
12199 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12200 define their defaults.
12201 (two_way_short_needle): Detect end-of-string on-the-fly.
12202 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12203 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12204 * string/bug-strcasestr1.c: New test.
12205 * string/Makefile: Run it.
12206
20a71f2c
MK
122072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12208
12209 [BZ #11607]
12210 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12211 the first character.
12212
21ad0558
RM
122132012-08-21 Roland McGrath <roland@hack.frob.com>
12214
12215 * csu/elf-init.c (__libc_csu_irel): Function removed.
12216 * csu/libc-start.c (apply_irel): New function.
12217 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12218
0e1d9911
JM
122192012-08-21 Joseph Myers <joseph@codesourcery.com>
12220
12221 * sysdeps/unix/sysv/linux/kernel-features.h
12222 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
12223 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12224 <kernel-features.h>.
12225 [__NR_fadvise64_64]: Make code unconditional.
12226 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
12227 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12228 !__NR_fadvise64_64)]: Likewise.
12229 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
12230 !__NR_fadvise64_64))]: Likewise.
12231 [__NR_fadvise64]: Make code unconditional.
12232 [!__NR_fadvise64]: Remove conditional code.
12233 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
12234 <kernel-features.h>.
12235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12236 unconditional.
12237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12238 conditional code.
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
12240 not include <kernel-features.h>.
12241 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12242 unconditional.
12243 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12244 conditional code.
12245 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
12246 include <kernel-features.h>.
12247 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
12248 unconditional.
12249 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
12250 conditional code.
12251
14a50c9d
WS
122522012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12253
12254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
12255 slight instruction rearrangements per scrollpipe analysis.
12256 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12257
c0f4faf0
RM
122582012-08-20 Roland McGrath <roland@hack.frob.com>
12259
696da859
RM
12260 * manual/syslog.texi (syslog; vsyslog, closelog):
12261 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
12262 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
12263
c0f4faf0
RM
12264 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
12265 DSOCAPS to match condition on defining it.
12266
348363b2
JM
122672012-08-20 Joseph Myers <joseph@codesourcery.com>
12268
a35cbf28
JM
12269 * sysdeps/unix/sysv/linux/kernel-features.h
12270 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
12271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
12272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
12275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
12278 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
12279 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
12280
445f7ecd
JM
12281 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
12282 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
12283
348363b2
JM
12284 * sysdeps/unix/sysv/linux/kernel-features.h
12285 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
12286 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
12287 unconditional.
12288 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12289 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
12290 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12291 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12292 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
12293 Make code unconditional.
12294 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12295 (__mmap64) [!__NR_mmap2]: Likewise.
12296 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
12297 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
12298 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12299 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
12300 [__NR_mmap2]: Make code unconditional.
12301 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
12302 (__mmap64) [!__NR_mmap2]: Likewise.
12303
bc5bc0e5
AK
123042012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12305
12306 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
12307
88d506de
AJ
123082012-08-18 Andreas Jaeger <aj@suse.de>
12309
12310 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
12311
493387d2
MF
123122012-08-18 Mike Frysinger <vapier@gentoo.org>
12313
12314 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
12315 * include/unistd.h (__have_sock_cloexec): Likewise.
12316 (__have_pipe2): Likewise.
12317 (__have_dup3): Likewise.
12318
a277af22
MF
123192012-08-18 Mike Frysinger <vapier@gentoo.org>
12320
12321 [BZ #9685]
12322 * include/unistd.h (__have_pipe2): Change define into an extern int.
12323 (__have_dup3): Likewise.
12324 * socket/have_sock_cloexec.c: Include fcntl.h.
12325 (__have_pipe2): New variable.
12326 (__have_dup3): Likewise.
12327
fdab8fd3
MF
123282012-08-17 Mike Frysinger <vapier@gentoo.org>
12329
12330 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
12331
31035e80
MP
123322012-08-17 Marek Polacek <polacek@redhat.com>
12333
12334 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
12335 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
12336
3bd9e993
RM
123372012-08-17 Roland McGrath <roland@hack.frob.com>
12338
c91c505f
RM
12339 * configure.in: Add AC_SUBST for sysheaders.
12340 * configure: Regenerated.
12341 * config.make.in (sysheaders): New substituted variable.
12342
7c6f9d53
RM
12343 * sysdeps/unix/mkfifo.c: Moved ...
12344 * sysdeps/posix/mkfifo.c: ... here.
12345 * sysdeps/unix/mkfifoat.c: Moved ...
12346 * sysdeps/posix/mkfifoat.c: ... here.
12347
12348 * sysdeps/unix/utime.c: Moved ...
12349 * sysdeps/posix/utime.c: ... here.
12350
12351 * sysdeps/unix/time.c: Moved ...
12352 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
12353 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
12354 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
12355
12356 * sysdeps/unix/nice.c: Moved ...
12357 * sysdeps/posix/nice.c: ... here.
12358
12359 * sysdeps/unix/alarm.c: Moved ...
12360 * sysdeps/posix/alarm.c: ... here.
12361
3bd9e993
RM
12362 * intl/Makefile ($(codeset_mo)): Depend on the input file.
12363
d1f09384
JL
123642012-08-17 Jeff Law <law@redhat.com>
12365
12366 * intl/Makefile (codeset_mo): New variable.
12367 ($(codeset_mo)): New target.
12368 (tst-codeset.out): Depend on that. Remove explicit rule.
12369 (tst-gettext3.out, tst-gettext5.out): Likewise.
12370 (LOCPATH-ENV, tst-codeset-ENV): New variables.
12371 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
12372 * intl/tst-codeset.sh: Remove.
12373 * intl/tst-gettext3.sh: Likewise.
12374 * intl/tst-gettext5.sh: Likewise.
12375
2ae1ae5c
RM
123762012-08-17 Roland McGrath <roland@hack.frob.com>
12377
c31fdb83
RM
12378 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
12379 * sysdeps/unix/syscalls.list: ... here.
12380
a0844057
RM
12381 * sysdeps/posix/getaddrinfo.c
12382 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
12383 (gaiconf_init, gaiconf_reload): Use them.
12384 [!_STATBUF_ST_NSEC]
12385 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
12386 Define using time_t rather than struct timespec.
12387
750c1f2a
RM
12388 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
12389 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
12390 Macros removed.
12391 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
12392 [!NO_THREADS].
12393 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
12394 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
12395 Likewise.
12396
2ae1ae5c
RM
12397 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
12398 __libc_cleanup_push argument.
12399
e66a42f5
RM
12400 * bits/param.h: New file.
12401 * misc/sys/param.h: New file.
12402 * include/sys/param.h: New file.
12403 * misc/Makefile (headers): Add bits/param.h.
12404 * sysdeps/generic/sys/param.h: File removed.
12405 * sysdeps/unix/sysv/linux/bits/param.h: New file.
12406 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
12407 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 12408 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 12409
b7c08a66
RM
12410 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
12411 last change.
12412
b2e1c562
RM
12413 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
12414 [_IO_MTSAFE_IO].
12415 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
12416 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
12417 New macros.
12418
c75ccd4c
RM
12419 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
12420 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
12421 rather than -D_IO_MTSAFE_IO conditionally.
12422 * stdio-common/Makefile (CPPFLAGS): Likewise.
12423 * wcsmbs/Makefile (CPPFLAGS): Likewise.
12424 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
12425 Use $(libio-mtsafe).
12426 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
12427 of -D_IO_MTSAFE_IO.
12428 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
12429 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
12430 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
12431 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
12432 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
12433 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
12434 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
12435 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
12436 (CFLAGS-fread_u_chk.c): Likewise.
12437 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
12438 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
12439 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
12440 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
12441 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
12442 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
12443 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
12444 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
12445 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
12446
12447 * libio/Makefile: Test [$(libc-reentrant) = yes]
12448 instead of [$(filter %REENTRANT, $(defines)) nonempty].
12449
12450 * Makeconfig
12451 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
12452 * sysdeps/pthread/configure: File removed.
12453 * sysdeps/pthread/Makeconfig: New file.
12454 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
12455 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
12456
d9195db8
GB
124572012-08-16 Gary Benson <gbenson@redhat.com>
12458
12459 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
12460 unmapping the first object in a namespace.
12461
86466cd9
RM
124622012-08-16 Roland McGrath <roland@hack.frob.com>
12463
12464 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
12465 (__internal_setnetgrent): ... this. Add internal_function to
12466 definition. Add libc_hidden_def.
12467 (setnetgrent): Update caller.
12468 (internal_endnetgrent): Renamed to ...
12469 (__internal_endnetgrent): ... this. Add internal_function to
12470 definition. Add libc_hidden_def.
12471 (endnetgrent): Update caller.
12472 (internal_getnetgrent_r): Renamed to ...
12473 (__internal_getnetgrent_r): ... this. Add internal_function to
12474 definition. Add libc_hidden_def.
12475 (__getnetgrent_r): Update caller.
12476 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
12477
c3c8283c
JM
124782012-08-16 Joseph Myers <joseph@codesourcery.com>
12479
12480 * stdlib/longlong.h: Update from GCC.
12481
db1ee0a8
RM
124822012-08-16 Roland McGrath <roland@hack.frob.com>
12483
12484 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
12485 on _QL, which is set by umul_ppmm but never used.
12486 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
12487 variables, which are set by GMP macros but never used.
12488 * stdio-common/_itowa.c (_itowa): Likewise.
12489 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
12490 * stdlib/mod_1.c (mpn_mod_1): Likewise.
12491
30f69637
CD
124922012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
12493
12494 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
12495 struct La_sh_regs is not constant.
12496 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
12497 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
12498 and struct La_sparc64_regs are not constant.
12499
93a78ac4
JM
125002012-08-16 Joseph Myers <joseph@codesourcery.com>
12501
12502 * sysdeps/unix/sysv/linux/kernel-features.h
12503 (__ASSUME_POSIX_TIMERS): Remove.
12504 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12506 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
12507 Make code unconditional.
12508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12509 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
12510 Make code unconditional.
12511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12512 * sysdeps/unix/sysv/linux/clock_nanosleep.c
12513 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
12514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12515 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
12516 Make code unconditional.
12517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
12518 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
12519 (__libc_missing_posix_timers): Remove.
12520
dd924cd7
RM
125212012-08-15 Roland McGrath <roland@hack.frob.com>
12522
4b4f2771
RM
12523 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
12524 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
12525
601c888b
RM
12526 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
12527
176790a7
RM
12528 * elf/dl-sym.c: Include <stdlib.h>.
12529
329bc018
RM
12530 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
12531 constants, which avoids warnings in 32-bit builds.
12532
e04e272d
RM
12533 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
12534 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
12535
952bf94a
RM
12536 * misc/lseek.c: File moved to ...
12537 * io/lseek.c: ... here.
12538
7c99b50a
RM
12539 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
12540
dd924cd7
RM
12541 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
12542 shifting LEN more than 31 bits at once.
12543
b3f479a8
LD
125442012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12545
12546 [BZ #14195]
8c4ae0d4
RM
12547 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
12548 segmentation fault for a case of two empty input strings.
b3f479a8
LD
12549 * string/test-strncasecmp.c (check1): Renamed to...
12550 (bz12205): ...this.
12551 (bz14195): Add new testcase for two empty input strings and N > 0.
12552 (test_main): Call new testcase, adapt for renamed function.
12553
9c55864e
AJ
125542012-08-15 Andreas Jaeger <aj@suse.de>
12555
12556 [BZ #14090]
12557 * crypt/md5test2.c: New test, based on test supplied by Serge
12558 Belyshev <belyshev@depni.sinp.msu.ru>.
12559 * crypt/Makefile (xtests): Add md5test-giant..
12560 * crypt/Makefile ($(objpfx)md5test-giant): Add.
12561
02dcb6c5
PE
125622012-08-15 Paul Eggert <eggert@cs.ucla.edu>
12563
12564 [BZ #14090]
12565 * crypt/md5.c (md5_process_block): Don't assume the buffer
12566 length is less than 2**32.
12567 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
12568 length is less than 2**64.
12569
a3f95dcc
RM
125702012-08-15 Roland McGrath <roland@hack.frob.com>
12571
be75d758
RM
12572 * string/str-two-way.h: Include <sys/param.h>.
12573 (MAX): Macro removed.
12574
7312ca90
RM
12575 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
12576 Move #define and #undef of memmove to just before and after
12577 including <string.h>.
12578
9a0a5486
RM
12579 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
12580 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
12581 and after including <string.h>. Move declarations of
12582 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
12583 to before #include "string/memmove.c".
12584
67cc348d
RM
12585 * include/dirent.h: Declare __getdirentries.
12586
a3f95dcc
RM
12587 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
12588 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
12589
ca98e171
MF
125902012-08-14 Mike Frysinger <vapier@gentoo.org>
12591
12592 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
12593 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
12594 * sysdeps/i386/configure: Regenerated.
12595 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
12596 STABS_CURRENT_FILE, and STABS_FUN.
12597 (END): Remove call to STABS_FUN_END.
12598 (STABS_CURRENT_FILE1): Delete.
12599 (STABS_CURRENT_FILE): Likewise.
12600 (STABS_FUN): Likewise.
12601 (STABS_FUN_END): Likewise.
12602 (STABS_FUN2): Likewise.
12603 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
12604 * sysdeps/x86_64/configure: Regenerated.
12605
5908bf46
RM
126062012-08-14 Roland McGrath <roland@hack.frob.com>
12607
12608 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 12609 * elf/dl-lookup.c: Likewise.
5908bf46 12610
f2c05b9e
JM
126112012-08-14 Joseph Myers <joseph@codesourcery.com>
12612
12613 * sysdeps/unix/sysv/linux/kernel-features.h
12614 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
12615 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
12616 unconditionally.
12617 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
12618 unconditionally.
12619 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
12620 condition on __ASSUME_CLONE_THREAD_FLAGS.
12621
e11f5155
AJ
126222012-08-14 Andreas Jaeger <aj@suse.de>
12623
12624 * sysdeps/i386/fpu/libm-test-ulps: Update.
12625
51a9ba86
MK
126262012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
12627
2fdd4f78
AJ
12628 * include/atomic.h (atomic_exchange_and_add): Split into ...
12629 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
12630 New atomic macros.
51a9ba86 12631
ba6cba9e
MT
126322012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
12633
12634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12635
42443a47
JL
126362012-08-13 Jeff Law <law@redhat.com>
12637
12638 * manual/stdio.texi (snprintf): Clarify handling of the trailing
12639 null byte in the output string.
12640
121dce05
JM
126412012-08-10 Joseph Myers <joseph@codesourcery.com>
12642
12643 * sysdeps/unix/sysv/linux/kernel-features.h
12644 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
12645 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
12646 (__ASSUME_ARG_MAX_STACK_BASED): Define.
12647 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12648 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
12649 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
12650 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
12651
bf51f568
JL
126522012-08-09 Jeff Law <law@redhat.com>
12653
12654 [BZ #13939]
12655 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
12656 When avoid_arena is set, don't retry in the that arena. Pick the
12657 next one, whatever it might be.
12658 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
12659 (arena_lock): Pass in new parameter to arena_get2.
12660 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
12661 arena_get2.
12662 (__libc_malloc): Unify retrying after main arena failure with
12663 __libc_memalign version.
12664 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
12665
f85fa270
L
126662012-08-09 H.J. Lu <hongjiu.lu@intel.com>
12667
12668 [BZ #14166]
12669 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
12670 to __redirect_strstr.
12671 (__strstr_sse42): Use typeof __redirect_strstr.
12672 (__strstr_ia32): Likewise.
12673 (__libc_strstr): New prototype.
12674 (strstr): Renamed to ...
12675 (__libc_strstr): This.
12676 (strstr): New strong alias of __libc_strstr.
12677 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12678 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
12679 __redirect_time.
12680 Include <time.h>.
12681 (__libc_time): New prototype.
12682 (time_ifunc): Replace time with __libc_time.
12683 (time): New strong alias and hidden definition of __libc_time.
12684 (__GI_time): Remove strong alias.
12685 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
12686 Include <stddef.h>.
12687 (memmove): Redefined to __redirect_memmove.
12688 (__memmove_sse2): Use typeof __redirect_memmove.
12689 (__memmove_ssse3): Likewise.
12690 (__memmove_ssse3_back): Likewise.
12691 (__libc_memmove): New prototype.
12692 (memmove): Renamed to ...
12693 (__libc_memmove): This.
12694 (memmove): New strong alias of __libc_memmove.
12695
33b4a91e
MS
126962012-08-08 Mark Salter <msalter@redhat.com>
12697
12698 * elf/elf.h
12699 (R_MN10300_TLS_GD): Define.
12700 (R_MN10300_TLS_LD): Likewise.
12701 (R_MN10300_TLS_LDO): Likewise.
12702 (R_MN10300_TLS_GOTIE): Likewise.
12703 (R_MN10300_TLS_IE): Likewise.
12704 (R_MN10300_TLS_LE): Likewise.
12705 (R_MN10300_TLS_DTPMOD): Likewise.
12706 (R_MN10300_TLS_DTPOFF): Likewise.
12707 (R_MN10300_TLS_TPOFF): Likewise.
12708 (R_MN10300_SYM_DIFF): Likewise.
12709 (R_MN10300_ALIGN): Likewise.
12710 (R_MN10300_NUM): Update.
12711
b36137f1
JM
127122012-08-08 Joseph Myers <joseph@codesourcery.com>
12713
12714 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
12715 Remove.
12716
cdd915fd
RM
127172012-08-08 Roland McGrath <roland@hack.frob.com>
12718
a2433aac
RM
12719 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
12720
cdd915fd
RM
12721 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
12722 sysdeps/unix -> sysdeps/posix move.
12723 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12724
bf9b740a
AM
127252012-08-07 Allan McRae <allan@archlinux.org>
12726
12727 [BZ #14303]
12728 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
12729 (SUNOS_CPP): Likewise.
12730 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
12731 not found.
12732 (open_input): Call CPP using execvp.
12733
93df14ee
JM
127342012-08-07 Joseph Myers <joseph@codesourcery.com>
12735
12736 * sysdeps/unix/sysv/linux/kernel-features.h
12737 (__ASSUME_PROT_GROWSUPDOWN): Remove.
12738 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12739 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12740 (__ASSUME_WAITID_SYSCALL): Likewise.
12741 * sysdeps/unix/sysv/linux/dl-execstack.c
12742 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
12743 code unconditional.
12744 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
12745 conditional code.
12746 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
12747 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
12748 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
12749 code.
12750 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
12751 unconditional.
12752 [__ASSUME_WAITID_SYSCALL]: Likewise.
12753 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
12754
d34689de
RM
127552012-08-07 Roland McGrath <roland@hack.frob.com>
12756
a281decc
RM
12757 * sysdeps/unix/closedir.c: Renamed to ...
12758 * sysdeps/posix/closedir.c: ... here.
12759 * sysdeps/unix/dirfd.c: Renamed to ...
12760 * sysdeps/posix/dirfd.c: ... here.
12761 * sysdeps/unix/dirstream.h: Renamed to ...
12762 * sysdeps/posix/dirstream.h: ... here.
12763 * sysdeps/unix/fdopendir.c: Renamed to ...
12764 * sysdeps/posix/fdopendir.c: ... here.
12765 * sysdeps/unix/opendir.c: Renamed to ...
12766 * sysdeps/posix/opendir.c: ... here.
12767 * sysdeps/unix/readdir.c: Renamed to ...
12768 * sysdeps/posix/readdir.c: ... here.
12769 * sysdeps/unix/readdir_r.c: Renamed to ...
12770 * sysdeps/posix/readdir_r.c: ... here.
12771 * sysdeps/unix/rewinddir.c: Renamed to ...
12772 * sysdeps/posix/rewinddir.c: ... here.
12773 * sysdeps/unix/seekdir.c: Renamed to ...
12774 * sysdeps/posix/seekdir.c: ... here.
12775 * sysdeps/unix/telldir.c: Renamed to ...
12776 * sysdeps/posix/telldir.c: ... here.
12777 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
12778 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
12779 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
12780 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
12781
22895b47
RM
12782 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
12783 * bits/fcntl.h: ... here.
12784
707a53b6
RM
12785 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
12786 not 0.
12787 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
12788 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
12789 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
12790 (struct flock): Move l_start, l_len to the beginning.
12791 Use __pid_t for l_pid.
12792 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
12793 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
12794 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
12795 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
12796 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
12797 [__USE_LARGEFILE64] (struct flock64): New type.
12798 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
12799
f0bd3e25
RM
12800 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
12801 * bits/dirent.h: ... here.
12802
d34689de
RM
12803 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
12804 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
12805
6dad2c06
JM
128062012-08-07 Joseph Myers <joseph@codesourcery.com>
12807
12808 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12809 Change from 2.6.0 to 2.6.16.
12810 * sysdeps/unix/sysv/linux/configure: Regenerated.
12811 * sysdeps/unix/sysv/linux/kernel-features.h
12812 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
12813 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
12814 version.
12815 (__ASSUME_UTIMES): Likewise.
12816 (__ASSUME_CLONE_STOPPED): Remove.
12817 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
12818 architectures, not kernel version.
12819 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
12820 (__ASSUME_NO_CLONE_DETACHED): Likewise.
12821 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
12822 (__ASSUME_WAITID_SYSCALL): Likewise.
12823 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
12824 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
12825 * README: State 2.6.16 as minimum Linux kernel version. Do not
12826 refer to older versions.
12827
03af9520
RM
128282012-08-06 Roland McGrath <roland@hack.frob.com>
12829
8e49df1d
RM
12830 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
12831 Define alphasort64 as an alias.
12832 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
12833 Define versionsort64 as an alias.
12834 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
12835 Define scandir64 as an alias.
12836 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
12837 Define scandirat64 as an alias.
12838 * dirent/alphasort64.c (alphasort64):
12839 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
12840 * dirent/versionsort64.c: Likewise.
12841 * dirent/scandir64.c: Likewise.
12842 * dirent/scandirat64.c: Likewise.
12843 * sysdeps/wordsize-64/alphasort.c: File removed.
12844 * sysdeps/wordsize-64/alphasort64.c: File removed.
12845 * sysdeps/wordsize-64/scandir.c: File removed.
12846 * sysdeps/wordsize-64/scandir64.c: File removed.
12847 * sysdeps/wordsize-64/scandirat.c: File removed.
12848 * sysdeps/wordsize-64/scandirat64.c: File removed.
12849 * sysdeps/wordsize-64/versionsort.c: File removed.
12850 * sysdeps/wordsize-64/versionsort64.c: File removed.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
12852 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
12853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
12854 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
12855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
12856 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
12857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
12858 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
12859
12860 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
12861 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12862 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
12863 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12864 [defined __arch64__ || defined __sparcv9]
12865 (__INO_T_MATCHES_INO64_T): New macro.
12866 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12867 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
12868 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
12869 * sysdeps/unix/sysv/linux/bits/dirent.h
12870 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
12871 (_DIRENT_MATCHES_DIRENT64): New macro.
12872
03af9520
RM
12873 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
12874 Define lockf64 as an alias.
12875 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
12876 Define fseeko64 as an alias.
12877 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
12878 Define ftello64 as an alias.
12879 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
12880 Define _IO_fgetpos64 and fgetpos64 as aliases.
12881 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
12882 Define _IO_fsetpos64 and fsetpos64 as aliases.
12883 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
12884 Conditionalize body on this.
12885 * libio/fseeko64.c: Likewise.
12886 * libio/ftello64.c: Likewise.
12887 * libio/iofgetpos64.c: Likewise.
12888 * libio/iofsetpos64.c: Likewise.
12889 * sysdeps/wordsize-64/lockf.c: File removed.
12890 * sysdeps/wordsize-64/lockf64.c: File removed.
12891 * sysdeps/wordsize-64/fseeko.c: File removed.
12892 * sysdeps/wordsize-64/fseeko64.c: File removed.
12893 * sysdeps/wordsize-64/ftello.c: File removed.
12894 * sysdeps/wordsize-64/ftello64.c: File removed.
12895 * sysdeps/wordsize-64/iofgetpos.c: File removed.
12896 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
12897 * sysdeps/wordsize-64/iofsetpos.c: File removed.
12898 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
12899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
12900 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
12901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
12902 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
12903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
12904 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
12905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
12906 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
12907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
12908 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
12909
12910 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
12912 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
12913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12914 [defined __arch64__ || defined __sparcv9]
12915 (__OFF_T_MATCHES_OFF64_T): New macro.
12916 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12917 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
12918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12919 (__OFF_T_MATCHES_OFF64_T): New macro.
12920
c5757acd
L
129212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 * stdlib/secure-getenv.c (__secure_getenv): Replace
12924 GLIBC_2_16 with GLIBC_2_17.
12925
3a31811e
L
129262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
12929 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12930
faa2bccb
DM
129312012-08-03 David S. Miller <davem@davemloft.net>
12932
12933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12934
85fe1997
JM
129352012-08-03 Joseph Myers <joseph@codesourcery.com>
12936
12937 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
12938 Remove.
12939 (__ASSUME_CORRECT_SI_PID): Likewise.
12940 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
12941 (__ASSUME_TMPFS_NAME): Likewise.
12942 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
12943 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
12944 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
12945 (HAVE_AUX_SECURE): Make definition unconditional.
12946 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
12947 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
12948
4f75b7a0
RM
129492012-08-03 Roland McGrath <roland@hack.frob.com>
12950
12951 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
12952 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
12953 * sysdeps/mach/hurd/eloop-threshold.h: New file.
12954 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
12955 __eloop_threshold instead of SYMLOOP_MAX.
12956
12957 * sysdeps/generic/eloop-threshold.h: New file.
12958 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
12959 of MAXSYMLINKS.
12960 * elf/chroot_canon.c (chroot_canon): Likewise.
12961
7aab07e4
JM
129622012-08-03 Joseph Myers <joseph@codesourcery.com>
12963
12964 [BZ #13717]
12965 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12966 Change to 2.6.0 everywhere.
12967 * sysdeps/unix/sysv/linux/configure: Regenerated.
12968 * sysdeps/unix/sysv/linux/kernel-features.h
12969 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
12970 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
12971 kernel versions.
12972 (__ASSUME_POSIX_TIMERS): Define unconditionally.
12973 (__ASSUME_FUTEX_REQUEUE): Remove.
12974 (__ASSUME_STATFS64): Define unconditionally.
12975 (__ASSUME_AT_SECURE): Likewise.
12976 (__ASSUME_CORRECT_SI_PID): Likewise.
12977 (__ASSUME_TGKILL): Define without depending on kernel version for
12978 i386.
12979 (__ASSUME_UTIMES): Likewise.
12980 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
12981 kernel version.
12982 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
12983 (__ASSUME_TMPFS_NAME): Likewise.
12984 * README: Update reference to Linux kernel versions.
12985
b67e9372
MP
129862012-08-02 Marek Polacek <polacek@redhat.com>
12987
1f529f7d 12988 [BZ# 14150]
b67e9372
MP
12989 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
12990 libc_cv_asm_type_prefix with %.
12991 * configure: Regenerated.
d2441631
RM
12992 * include/libc-symbols.h: Remove comment about
12993 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
12994 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
12995 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
12996 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
12997 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
12998 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
12999 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13000 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13001 * elf/tst-unique2mod1.c: Likewise.
13002 * elf/tst-unique1mod2.c: Likewise.
13003 * elf/tst-unique1mod1.c: Likewise.
13004 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13005 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13006 Replace ASM_TYPE_DIRECTIVE with .type.
13007 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13008 * sysdeps/i386/sysdep.h: Likewise.
13009 * sysdeps/x86_64/sysdep.h: Likewise.
13010 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13012 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13013 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13014 * sysdeps/powerpc/powerpc32/sysdep.h:
13015 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13016 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13017 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13018 * sysdeps/i386/fpu/e_powf.S: Likewise.
13019 * sysdeps/i386/fpu/e_expl.S: Likewise.
13020 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13021 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13022 * sysdeps/i386/fpu/e_pow.S: Likewise.
13023 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13024 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13025 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13026 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13027 * sysdeps/i386/fpu/e_log2.S: Likewise.
13028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13029 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13030 * sysdeps/i386/fpu/e_powl.S: Likewise.
13031 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13032 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13033 * sysdeps/i386/fpu/e_logl.S: Likewise.
13034 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13035 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13036 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13037 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13039 * sysdeps/i386/fpu/e_log.S: Likewise.
13040 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13041 * sysdeps/i386/fpu/e_logf.S: Likewise.
13042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13044 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13045 * sysdeps/i386/fpu/e_log10.S: Likewise.
13046 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13047 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13048 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13049 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13050 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13051 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13052 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13053 * sysdeps/i386/i686/strtok.S: Likewise.
13054 * sysdeps/i386/i386-mcount.S: Likewise.
13055 * sysdeps/i386/strtok.S: Likewise.
13056 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13057 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13058 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13059 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13060 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13061 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13062 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13063 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13064 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13065 * sysdeps/x86_64/_mcount.S: Likewise.
13066 * sysdeps/x86_64/strtok.S: Likewise.
13067 * sysdeps/sh/_mcount.S: Likewise.
13068
2747bf9a
RM
130692012-08-01 Roland McGrath <roland@hack.frob.com>
13070
13071 * libio/iofopen.c: Include <fcntl.h>.
13072 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13073 (_IO_fopen64, fopen64): Define as aliases.
13074 * libio/iofopen64.c: Include <fcntl.h>.
13075 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13076 Conditionalize body on this.
13077 * sysdeps/wordsize-64/iofopen.c: File removed.
13078 * sysdeps/wordsize-64/iofopen64.c: File removed.
13079
3fb791b8
MP
130802012-08-01 Marek Polacek <polacek@redhat.com>
13081
13082 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13083 Use dlfcn directly instead of a variable.
13084 (binfmt-subdir): Do not define.
13085 (dlfcn): Likewise.
13086
a9f1039f
JM
130872012-08-01 Joseph Myers <joseph@codesourcery.com>
13088
23bddc06
JM
13089 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13090 Remove all definitions.
13091 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13092 <kernel-features.h>.
13093 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13094 (miss_F_GETOWN_EX): Remove all definitions.
13095 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13096 macro definition.
13097 [!__ASSUME_FCNTL64]: Remove conditional code.
13098 [__ASSUME_FCNTL64]: Make code unconditional.
13099 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13100 <kernel-features.h>.
13101 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13102 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13103 (lockf64) [__NR_fcntl64]: Make code unconditional.
13104 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13105
a9f1039f
JM
13106 * sysdeps/unix/sysv/linux/kernel-features.h
13107 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13108 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13109 Make code unconditional.
13110 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13111 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13113 [__NR_vfork]: Make code unconditional.
13114 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13115 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13117 [__NR_vfork]: Make code unconditional.
13118 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13119 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13120
09c0ee5f
RM
131212012-08-01 Roland McGrath <roland@hack.frob.com>
13122
48aec5b9
RM
13123 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13124 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13125
cd97c966
RM
13126 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13127 Define mkstemp64 as an alias.
3f55550c
RM
13128 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13129 Define mkstemps64 as an alias.
cd97c966
RM
13130 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13131 Define mkostemp64 as an alias.
b8625cfc
RM
13132 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13133 Define mkostemps64 as an alias.
cd97c966
RM
13134 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13135 Conditionalize body on this.
13136 * misc/mkostemp64.c: Likewise.
b8625cfc 13137 * misc/mkostemps64.c: Likewise.
3f55550c 13138 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13139 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13140 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13141 * sysdeps/wordsize-64/mkostemp.c: File removed.
13142 * sysdeps/wordsize-64/mkstemp.c: File removed.
13143 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13146 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13147
09c0ee5f
RM
13148 [BZ #14138]
13149 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13150 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13151 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13152 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13153
13154 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13155 compat_symbol macros from <shlib-compat.h> rather than the underlying
13156 default_symbol_version and symbol_version macros, so that DEFAULT
13157 lines in shlib-versions are respected.
13158 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13159
7e66ee51
FW
131602012-08-01 Florian Weimer <fweimer@redhat.com>
13161
13162 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13163 Declare with warn_unused_result.
13164 (setgid, setregid, setegid, setresgid): Likewise.
13165 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13166 Likewise.
13167 * WUR-REPORT: Remove set*id functions.
13168
d2a54255
PT
131692012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13170
13171 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13172
7ecdb005
RM
131732012-07-31 Roland McGrath <roland@hack.frob.com>
13174
b4180a5e 13175 [BZ #10191]
789bd351
RM
13176 * include/sys/socket.h (__libc_accept, __libc_accept4):
13177 Add attribute_hidden.
13178 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13179
40ce302d
RM
13180 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13181 use of PTR_MANGLE.
13182 * inet/getnetgrent_r.c (setup): Likewise.
13183
7ecdb005
RM
13184 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13185
e2eabb2c
DM
131862012-07-31 David S. Miller <davem@davemloft.net>
13187
13188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13189
d0419dbf
JM
131902012-07-31 Joseph Myers <joseph@codesourcery.com>
13191
13192 [BZ #13629]
13193 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13194 value between 1.0 and 2.0 and smaller part has absolute value less
13195 than 1.0.
13196 * math/s_clog10.c (__clog10): Likewise.
13197 * math/s_clog10f.c (__clog10f): Likewise.
13198 * math/s_clog10l.c (__clog10l): Likewise.
13199 * math/s_clogf.c (__clogf): Likewise.
13200 * math/s_clogl.c (__clogl): Likewise.
13201 * math/libm-test.inc (clog_test): Add more tests.
13202 (clog10_test): Likewise.
13203 * sysdeps/i386/fpu/libm-test-ulps: Update.
13204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13205
2bc13872
FW
132062012-07-31 Florian Weimer <fweimer@redhat.com>
13207
13208 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13209 Exit with zero in case no suitable GID is found, and write a
13210 message to standard error.
13211
bea9b193
RM
132122012-07-30 Roland McGrath <roland@hack.frob.com>
13213
13214 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13215 rather than to 1.
13216 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13217 (MAXPATHLEN): Removed.
13218 (NOGROUP, NODEV): New macros.
13219 (setbit, clrbit, isset, isclr): New macros.
13220 (howmany, roundup, powerof2): New macros.
13221 (DEV_BSIZE): New macro.
13222
13223 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
13224 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
13225
13226 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
13227 definition on [!__NO_LONG_DOUBLE_MATH].
13228
13229 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
13230 PTR_MANGLE and PTR_DEMANGLE.
13231
13232 * socket/accept4.c (accept4): Rename to __libc_accept4.
13233 Define accept4 as a weak alias.
13234
13235 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
13236 on [_DIRENT_HAVE_D_TYPE].
13237 * io/ftw.c (ftw_dir): Likewise.
13238
13239 * io/xmknod.c (__xmknod): Don't check PATH for being null.
13240
13241 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
13242
13243 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
13244 Use the BSD numbers rather than the arbitrary ones we had.
13245 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
13246 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
13247 (SIGXCPU, SIGXFSZ): New macros.
13248 (_NSIG): Now 32.
13249
13250 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
13251 initializer on [_LIBC_REENTRANT].
13252
13253 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
13254 definitions inside [_POSIX_MAPPED_FILES].
13255
13256 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
13257
13258 * dirent/opendir.c: Include <fcntl.h>.
13259
13260 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
13261 (__libc_getspecific): Likewise.
13262 (__libc_key_create): Likewise.
13263
13264 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
13265 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
13266 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
13267 (tmpfile64): Define as alias.
13268 * sysdeps/wordsize-64/tmpfile.c: File removed.
13269 * sysdeps/wordsize-64/tmpfile64.c: File removed.
13270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
13271 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
13272
13273 * stdio-common/vfscanf.c: Include <stdbool.h>.
13274 * nss/makedb.c: Likewise.
13275 * stdio-common/_i18n_number.h: Likewise.
13276 * argp/argp-help.c: Likewise.
13277 * posix/wordexp.c: Likewise.
13278 * sysdeps/posix/spawni.c: Likewise.
13279 * nss/nss_files/files-initgroups.c: Likewise.
13280 * stdio-common/reg-modifier.c: Include <stdlib.h>.
13281 * nss/nss_files/files-initgroups.c: Likewise.
13282 * nss/nss_db/db-netgrp.c: Likewise.
13283 * nss/nss_db/db-initgroups.c: Likewise.
13284 * io/fchmodat.c: Include <sys/stat.h>.
13285
13286 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
13287 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
13288
13289 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
13290 [HAVE_MMAP].
13291
13292 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
13293 Add multiple inclusion protection.
13294
e5abc686
DM
132952012-07-27 David S. Miller <davem@davemloft.net>
13296
13297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13298
815e6fa3
GB
132992012-07-27 Gary Benson <gbenson@redhat.com>
13300
13301 [BZ #14298]
13302 * elf/rtld.c: Include <stap-probe.h>.
13303 (dl_main): Added static probes "init_start" and "init_complete".
13304 * elf/dl-load.c: Include <stap-probe.h>.
13305 (lose): Take new parameter "nsid".
13306 Added static probe "map_failed".
13307 (_dl_map_object_from_fd): Pass namespace id to lose.
13308 Added static probe "map_start".
13309 (open_verify): Pass namespace id to lose.
13310 * elf/dl-open.c: Include <stap-probe.h>.
13311 (dl_open_worker) Added static probes "map_complete", "reloc_start"
13312 and "reloc_complete".
13313 * elf/dl-close.c: Include <stap-probe.h>.
13314 (_dl_close_worker): Added static probes "unmap_start" and
13315 "unmap_complete".
13316 * elf/rtld-debugger-interface.txt: New file documenting the above.
13317
9f98c16c
RM
133182012-07-26 Roland McGrath <roland@hack.frob.com>
13319
13320 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
13321 rather than a string variable.
13322 * sunrpc/rpc_main.c (h_output): Likewise.
13323 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
13324
f3c22df3
PT
133252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
13326
13327 * inet/check_native.c: New file.
13328
3129cfc6
JM
133292012-07-26 Joseph Myers <joseph@codesourcery.com>
13330
da865e95
JM
13331 [BZ #13629]
13332 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
13333 if larger part has absolute value 1.0.
13334 * math/s_clog10.c (__clog10): Likewise.
13335 * math/s_clog10f.c (__clog10f): Likewise.
13336 * math/s_clog10l.c (__clog10l): Likewise.
13337 * math/s_clogf.c (__clogf): Likewise.
13338 * math/s_clogl.c (__clogl): Likewise.
13339 * math/libm-test.inc (clog_test): Add more tests.
13340 (clog10_test): Likewise.
13341 * sysdeps/i386/fpu/libm-test-ulps: Update.
13342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13343
3129cfc6
JM
13344 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
13345 (pltexit): Likewise.
13346 (La_regs): Likewise.
13347 (La_retval): Likewise.
13348 (int_retval): Likewise.
13349 Update #error for removed macros to refer only to definitions in
13350 tst-audit.h.
13351 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
13352 macro.
13353 (pltexit): Likewise.
13354 (La_regs): Likewise.
13355 (La_retval): Likewise.
13356 (int_retval): Likewise.
13357 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
13358 macro.
13359 (pltexit): Likewise.
13360 (La_regs): Likewise.
13361 (La_retval): Likewise.
13362 (int_retval): Likewise.
13363 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
13364 macro.
13365 (pltexit): Likewise.
13366 (La_regs): Likewise.
13367 (La_retval): Likewise.
13368 (int_retval): Likewise.
13369 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
13370 macro.
13371 (pltexit): Likewise.
13372 (La_regs): Likewise.
13373 (La_retval): Likewise.
13374 (int_retval): Likewise.
13375 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
13376 macro.
13377 (pltexit): Likewise.
13378 (La_regs): Likewise.
13379 (La_retval): Likewise.
13380 (int_retval): Likewise.
13381 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
13382 macro.
13383 (pltexit): Likewise.
13384 (La_regs): Likewise.
13385 (La_retval): Likewise.
13386 (int_retval): Likewise.
13387 * sysdeps/generic/tst-audit.h: Update comment to refer only to
13388 macro definitions in tst-audit.h.
13389 * sysdeps/i386/tst-audit.h: New file.
13390 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
13391 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
13392 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
13393 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
13394 * sysdeps/sh/tst-audit.h: Likewise.
13395 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
13396 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
13397 * sysdeps/x86_64/tst-audit.h: Likewise.
13398
bfc07087
AJ
133992012-07-26 Andreas Jaeger <aj@suse.de>
13400
b1b2aaf8
AJ
13401 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
13402 ptrace.
13403
13404 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
13405 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
13406 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
13407 PTRACE_O_MASK.
13408 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
13409 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
13410 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
13411
bfc07087
AJ
13412 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
13413 value.
13414
13415 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
13416 _sigsys.
13417 (si_call_addr, si_syscall, si_arch): Define new macro.
13418 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
13419 _sigsys.
13420 (si_call_addr, si_syscall, si_arch): Define new marcro.
13421 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
13422 _sigsys.
13423 (si_call_addr, si_syscall, si_arch): Define new macro.
13424 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
13425 _sigsys.
13426 (si_call_addr, si_syscall, si_arch): Define new macro.
13427
89b4b02f
JM
134282012-07-25 Joseph Myers <joseph@codesourcery.com>
13429
13430 [BZ #13717]
13431 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13432 Change to 2.4.21 where previously 2.4.1.
13433 * sysdeps/unix/sysv/linux/configure: Regenerated.
13434 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
13435 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
13436 Linux kernel version.
13437 (__ASSUME_STD_AUXV): Remove.
13438 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
13439 kernel version.
13440 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
13441 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
13442 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
13443 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
13444 (__ASSUME_NETLINK_SUPPORT): Likewise.
13445 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
13446 (__no_netlink_support): Remove conditional definition.
13447 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
13448 Remove.
13449 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13450 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
13451 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
13452 (if_nameindex_ioctl): Remove.
13453 (if_nameindex_netlink): Do not handle __no_netlink_support.
13454 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13455 code.
13456 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
13457 Remove conditional code.
13458 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
13459 code.
13460 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
13461 unconditional.
13462 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
13463 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
13464 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
13465 Remove.
13466 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
13467 [!__ASSUME_STD_AUXV]: Remove conditional code.
13468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
13469 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
13470 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
13472 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
13473 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13474 code.
13475 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13477 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
13478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13479 conditional code.
13480 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13482 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
13483 code.
13484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13485 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
13486 conditional code.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
13488 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13489 code unconditional.
13490 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13491 conditional code.
13492 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13493 unconditional.
13494 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13495 conditional code.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13497 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13498 unconditional.
13499 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13500 conditional code.
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13502 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13503 code unconditional.
13504 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13505 conditional code.
13506 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13507 unconditional.
13508 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13509 conditional code.
13510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13511 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
13512 code unconditional.
13513 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13514 conditional code.
13515 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
13516 unconditional.
13517 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
13518 conditional code.
13519
842a39cd
AS
135202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
13521
13522 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
13523 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
13524 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13525 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
13526 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
13527 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13528 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13529 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13530 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
13531 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13532 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
13533 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
13534 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
13535 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13536 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13537 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
13538 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
13539 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
13540 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
13541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
13542 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
13543 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13545
84b3fd84
FW
135462012-07-25 Florian Weimer <fweimer@redhat.com>
13547
13548 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
13549 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
13550 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
13551 Introduce __libc_secure_getenv.
0c7936d5
FW
13552 * stdlib/Versions (2.17): Add secure_getenv
13553 (GLIBC_PRIVATE): Add __libc_secure_getenv.
13554 * stdlib/secure-getenv.c: Rename __secure_getenv to
13555 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
13556 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
13557 * stdlib/tst-secure-getenv.c: New.
13558 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
13559 * manual/startup.texi (Environment Access): Document
13560 secure_getenv.
84b3fd84
FW
13561 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
13562 __libc_secure_getenv.
13563 * inet/ruserpass.c (ruserpass): Likewise.
13564 * malloc/mtrace.c (mtrace): Likewise.
13565 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 13566 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
13567 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
13568 * sysdeps/posix/tempname.c: Likewise. Evaluate
13569 HAVE_SECURE_GETENV.
13570 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 13571 __secure_getenv to __libc_secure_getenv.
84b3fd84 13572 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
13573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13574 Likewise.
13575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13576 Likewise.
13577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 13584
56e49b71
JM
135852012-07-25 Joseph Myers <joseph@codesourcery.com>
13586
13587 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
13588 (struct La_i86_retval): Likewise.
13589 (struct La_x86_64_regs): Likewise.
13590 (struct La_x86_64_retval): Likewise.
13591 (struct La_x32_regs): Likewise.
13592 (struct La_x32_retval): Likewise.
13593 (struct La_ppc32_regs): Likewise.
13594 (struct La_ppc32_retval): Likewise.
13595 (struct La_ppc64_regs): Likewise.
13596 (struct La_ppc64_retval): Likewise.
13597 (struct La_sh_regs): Likewise.
13598 (struct La_sh_retval): Likewise.
13599 (struct La_s390_32_regs): Likewise.
13600 (struct La_s390_32_retval): Likewise.
13601 (struct La_s390_64_regs): Likewise.
13602 (struct La_s390_64_retval): Likewise.
13603 (struct La_sparc32_regs): Likewise.
13604 (struct La_sparc32_retval): Likewise.
13605 (struct La_sparc64_regs): Likewise.
13606 (struct La_sparc64_retval): Likewise.
13607 (struct audit_ifaces): Remove architecture-specific pltenter and
13608 pltexit members.
13609 * sysdeps/i386/ldsodefs.h: New file.
13610 * sysdeps/powerpc/ldsodefs.h: Likewise.
13611 * sysdeps/s390/ldsodefs.h: Likewise.
13612 * sysdeps/sh/ldsodefs.h: Likewise.
13613 * sysdeps/sparc/ldsodefs.h: Likewise.
13614 * sysdeps/x86_64/ldsodefs.h: Likewise.
13615
354691b7
MP
136162012-07-25 Marek Polacek <polacek@redhat.com>
13617
13618 [BZ #6808]
13619 * math/libm-test.inc (yn_test): Add another test.
13620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
13621 to ERANGE when the result is +-Inf.
13622 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13623 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
13624 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
13625 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
13626
bf9e2071
JM
136272012-07-24 Joseph Myers <joseph@codesourcery.com>
13628
13629 * conform/data/time.h-data (NULL): Use macro-constant. Require
13630 equal to 0.
13631 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
13632 clock_t.
13633 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
13634
57633811
TS
136352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
13636
13637 * configure.in <sysdeps resolving>: Correct printing
13638 Implies_before.
13639 * configure: Regenerate.
13640
c23c33b0
TS
136412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
13642
13643 * math/w_ilogb.c: Include <limits.h>.
13644 * math/w_ilogbl.c: Likewise.
13645
b5982523
JM
136462012-07-20 Joseph Myers <joseph@codesourcery.com>
13647
13648 * manual/lang.texi (__va_copy): Document primarily as ISO C99
13649 va_copy. Document allowing for unavailable va_copy only as
13650 pre-C99 compatibility.
13651 * manual/string.texi (Copying and Concatenation): Use va_copy
13652 instead of __va_copy in concat example.
13653
ac4ea442
PT
136542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
13655
13656 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
13657 (__sendto): Use create_address_port. Initialize APORT and deallocate
13658 it if not null.
13659
f98eafbd
PT
13660 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
13661 with O_NOLINK passed to __file_name_lookup.
13662
898c7aab
PT
13663 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
13664 with O_NOLINK passed to __file_name_lookup.
13665
0ced335a
PT
13666 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
13667 negative N or less than NGIDS.
13668
b3404dbd
PT
13669 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
13670 type to string_t. Set ERANGE as errno and return it if NAME is not big
13671 enough. Use memcpy instead of strncpy.
13672
0f48659e
JM
136732012-07-20 Joseph Myers <joseph@codesourcery.com>
13674
13675 * elf/Makefile (check-data): Remove.
13676 (localplt.data): New vpath directive.
13677 ($(objpfx)check-localplt.out): Use localplt.data from vpath
13678 instead of $(check-data).
13679 * scripts/data/localplt-generic.data: Move to ...
13680 * sysdeps/generic/localplt.data: ... here.
13681 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
13682 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
13683 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13685 ... here.
13686 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13688 ... here.
13689 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
13690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
13691 ... here.
13692 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
13693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13694 ... here.
13695 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
13696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
13697 ... here.
13698 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
13699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
13700 ... here.
13701
d37cbdaa
AZ
137022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13703
13704 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
13705 PPC32 and PPC64 files.
13706 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
13707 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
13708
46f85fc2
AK
137092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13710
13711 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
13712 __makecontext_ret to ...
13713 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13714 ... here and call exit if uc_link is NULL. New file.
13715 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
13716 __makecontext_ret.S.
13717 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
13718 __makecontext_ret to ...
13719 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13720 ... here and call exit if uc_link is NULL. New file.
13721 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
13722 __makecontext_ret.S.
13723
08f43f9b
AK
137242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13725
13726 * elf/elf.h (R_390_IRELATIVE): New definition.
13727 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
13728 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
13729 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
13730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13731 (elf_machine_lazy_rel): Likewise.
13732 * sysdeps/s390/dl-irel.h: New file.
13733 * sysdeps/s390/s390-64/memcpy.S: New asm code.
13734 * sysdeps/s390/s390-64/memset.S: New asm code.
13735 * sysdeps/s390/s390-64/memcmp.S: New asm code.
13736 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
13737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
13738 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
13739 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
13740 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
13741 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
13742 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
13743 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
13744 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
13745 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
13746 * sysdeps/s390/s390-32/memcpy.S: New asm code.
13747 * sysdeps/s390/s390-32/memset.S: New asm code.
13748 * sysdeps/s390/s390-32/memcmp.S: New asm code.
13749
3b05db33
MP
137502012-07-17 Marek Polacek <polacek@redhat.com>
13751
13752 [BZ #14349]
13753 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
13754 * sysdeps/s390/s390-64/configure.in: Likewise.
13755 * sysdeps/sparc/configure.in: Likewise.
13756 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
13757 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
13758 * sysdeps/i386/configure.in: Likewise.
13759 * sysdeps/x86_64/configure.in: Likewise.
13760 * sysdeps/sh/configure.in: Likewise.
13761 * sysdeps/s390/s390-32/configure: Regenerated.
13762 * sysdeps/s390/s390-64/configure: Likewise.
13763 * sysdeps/x86_64/configure: Likewise.
13764 * sysdeps/sh/configure: Likewise.
13765 * sysdeps/powerpc/powerpc64/configure: Likewise.
13766 * sysdeps/powerpc/powerpc32/configure: Likewise.
13767 * sysdeps/sparc/configure: Likwise.
13768 * sysdeps/i386/configure: Likewise.
13769
a66877c6
MP
13770 * elf/dl-open.c: Comment fixes.
13771
cfc82fd8
JM
137722012-07-17 Joseph Myers <joseph@codesourcery.com>
13773
bd29910a
JM
13774 * Makefile [CXX] (check-data): Remove.
13775 [CXX] (c++-types.data): New vpath directive.
13776 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
13777 vpath. Do not allow for C++ type data being missing.
13778 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
13779 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
13780 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
13781 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
13782 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
13783 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
13784 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
13785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13786 ... here.
13787 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13789 ... here.
13790 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
13791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
13792 ... here.
13793 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
13794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
13795 ... here.
13796 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
13797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
13798 ... here.
13799 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
13800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
13801 ... here.
13802 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
13803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
13804 ... here.
13805 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
13806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
13807
cfc82fd8
JM
13808 * elf/tls-macros.h (TLS_LE): Move architecture-specific
13809 definitions to architecture-specific files.
13810 (TLS_IE): Likewise.
13811 (TLS_LD): Likewise.
13812 (TLS_GD): Likewise.
13813 * sysdeps/i386/tls-macros.h: New file.
13814 * sysdeps/powerpc/tls-macros.h: Likewise.
13815 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13816 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13817 * sysdeps/sh/tls-macros.h: Likewise.
13818 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
13819 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
13820 * sysdeps/x86_64/tls-macros.h: Likewise.
13821
f7db3170
TS
138222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13823
07cbfc23
TS
13824 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
13825 zero value for regular exit case.
13826
f7db3170
TS
13827 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13828 (__start_context): Preserve zero value for regular exit case.
13829
dc97c227
TS
138302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
13831 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13832
13833 * manual/setjmp.texi (setcontext): Clarify normal process
13834 termination when uc_link is the null pointer.
13835 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
13836 exit call.
13837
d0cd7d02
AS
138382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
13839
13840 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
13841 preprocessor. Test for each exception mask separately.
13842
dd318934
AJ
138432012-07-16 Andreas Jaeger <aj@suse.de>
13844
13845 * po/ru.po: Update from translation team.
13846
8048311a
JM
138472012-07-15 Joseph Myers <joseph@codesourcery.com>
13848
13849 * conform/data/string.h-data (NULL): Use macro-constant. Require
13850 equal to 0.
13851 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13852 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13853 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
13854 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
13855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13856
b637d46e
AJ
138572012-07-13 Andreas Jaeger <aj@suse.de>
13858
13859 * po/fr.po: Update from translation team.
13860
541428fe
MP
138612012-07-12 Marek Polacek <polacek@redhat.com>
13862
13863 [BZ #14173]
13864 * math/libm-test.inc (yn_test): Add test for BZ #14173.
13865 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
13866 loop condition.
13867
ec332e94
JM
138682012-07-12 Joseph Myers <joseph@codesourcery.com>
13869
13870 [BZ #13717]
13871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13872 Change to 2.4.1 where previously 2.4.0.
13873 * sysdeps/unix/sysv/linux/configure: Regenerated.
13874 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
13875 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
13876 version.
13877 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
13878 (__ASSUME_AT_CLKTCK): Remove.
13879 (__ASSUME_AT_PAGESIZE): Likewise.
13880 (__ASSUME_AT_XID): Likewise.
13881 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
13882 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
13883 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
13884 unconditionally.
13885 (HAVE_AUX_PAGESIZE): Likewise.
13886 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
13887 [__ASSUME_AT_CLKTCK]: Make code unconditional.
13888 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
13889
7b6e99be
JB
138902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
13891
13892 [BZ #14307]
13893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
13894 the temporary buffer used to invoke __gethostbyname2_r,
13895 __gethostbyaddr_r and gethostbyname4_r to make room for struct
13896 host_data / struct gaih_addrtuple.
13897 * resolv/nss_dns/dns-host.c (global scope): Move definition of
13898 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
13899 header file nss/nsswitch.h.
13900 * nss/nsswitch.h (global scope): Add definition of implementation
13901 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
13902 resolv/nss_dns/dns-host.c).
13903
608404eb
AJ
139042012-07-11 Andreas Jaeger <aj@suse.de>
13905
13906 * po/fr.po: Update from translation team.
13907
71220aca
AJ
13908 * po/sv.po: Update from translation team
13909 * po/fr.po: Another update from translation team.
13910
28cfe843
AZ
139112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13912
13913 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
13914 for subnormals or multiply small sinh result by itself.
13915 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13917
6b90f981
DM
139182012-07-11 David S. Miller <davem@davemloft.net>
13919
13920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13921
c6825772
AS
139222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
13923
13924 [BZ #14347]
13925 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
13926 (INTERNAL_MARK): Shift it here.
13927
7b8e0d49
MP
139282012-07-10 Marek Polacek <polacek@redhat.com>
13929
13930 [BZ #14151]
13931 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
13932 libc_cv_asm_global_directive with .globl.
13933 * configure: Regenerated.
13934 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
13935 with .globl.
13936 * sysdeps/i386/configure: Regenerated.
13937 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
13938 with .globl.
13939 * sysdeps/x86_64/configure: Regenerated.
13940 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
13941 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
13942 * elf/tst-unique2mod2.c: Likewise.
13943 * elf/tst-unique2mod1.c: Likewise.
13944 * elf/tst-unique1mod2.c: Likewise.
13945 * elf/tst-unique1mod1.c: Likewise.
13946 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13947 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13949 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13950 * sysdeps/mach/sysdep.h: Likewise.
13951 * sysdeps/i386/sysdep.h: Likewise.
13952 * sysdeps/i386/i386-mcount.S: Likewise.
13953 * sysdeps/x86_64/_mcount.S: Likewise.
13954 * sysdeps/x86_64/sysdep.h: Likewise.
13955 * sysdeps/sh/_mcount.S: Likewise.
13956 * sysdeps/sh/sysdep.h: Likewise.
13957 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
13958 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
13959 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
13960 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13961 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
13962 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
13963 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
13964 * locale/localeinfo.h: Likewise.
13965 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
13966 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
13967
6c55cda3
RM
139682012-07-09 Roland McGrath <roland@hack.frob.com>
13969
13970 [BZ #14336]
13971 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
13972 system".
13973 * manual/message.texi (The Uniforum approach): Likewise.
13974 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
13975 (glibc iconv Implementation): Likewise.
13976
638a572e
JM
139772012-07-09 Joseph Myers <joseph@codesourcery.com>
13978
13979 [BZ #14337]
13980 * math/s_clog.c (__clog): Avoid scaling a value down where that
13981 could result in underflow.
13982 * math/s_clog10.c (__clog10): Likewise.
13983 * math/s_clog10f.c (__clog10f): Likewise.
13984 * math/s_clog10l.c (__clog10l): Likewise.
13985 * math/s_clogf.c (__clogf): Likewise.
13986 * math/s_clogl.c (__clogl): Likewise.
13987 * math/libm-test.inc (clog_test): Add more tests.
13988 (clog10_test): Likewise.
13989 * sysdeps/i386/fpu/libm-test-ulps: Update.
13990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991
261f4859
AS
139922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
13993
0abaf3e4
AS
13994 [BZ #14283]
13995 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
13996 by 7 not 8 to examine high bit of fractional part.
13997
261f4859
AS
13998 [BZ #14042]
13999 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14000 for call to __mcount_internal.
14001 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14002 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14003 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14004
f17ac40d
JM
140052012-07-06 Joseph Myers <joseph@codesourcery.com>
14006
9ad63c23
JM
14007 [BZ #14154]
14008 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14009 approximation for values within 0x1p-13f of an odd multiple of
14010 pi/4.
14011 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14012 exception. Add more tests.
14013 * sysdeps/i386/fpu/libm-test-ulps: Update.
14014
f17ac40d
JM
14015 [BZ #6778]
14016 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14017 inputs and return -1 for them. Do not check for +Inf in case not
14018 reachable for +Inf.
14019 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14020 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14021 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14022 and return -1 for them. Do not check for +Inf in case not
14023 reachable for +Inf.
14024 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14025 define.
14026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14027 and return -1 for them. Do not check for +Inf in case not
14028 reachable for +Inf.
14029 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14030 spurious underflow.
14031 * sysdeps/i386/fpu/libm-test-ulps: Update.
14032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14033
fb21f89b
MF
140342012-07-06 Mike Frysinger <vapier@gentoo.org>
14035
14036 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14037
cdfe2c5e
JM
140382012-07-05 Joseph Myers <joseph@codesourcery.com>
14039
14040 [BZ #14157]
14041 [BZ #14331]
14042 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14043 could result in spurious underflow. Scale down values above
14044 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14045 * math/s_csqrtf.c (__csqrtf): Likewise.
14046 * math/s_csqrtl.c (__csqrtl): Likewise.
14047 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14048 spurious underflow.
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14051
70d35b67
AS
140522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14053
704bc459
AS
14054 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14055 xopen-msg.sed.
14056 * catgets/xopen-msg.awk: New file.
14057 * catgets/xopen-msg.sed: Removed.
14058
70d35b67
AS
14059 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14060 po2text.sed.
14061 * intl/po2test.awk: New file.
14062 * intl/po2test.sed: Removed.
14063
ca61cf32
JM
140642012-07-04 Joseph Myers <joseph@codesourcery.com>
14065
14066 [BZ #14328]
14067 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14068 or multiply small sinh result by itself.
14069 * math/s_ctanf.c (__ctanf): Likewise.
14070 * math/s_ctanh.c (__ctanh): Likewise.
14071 * math/s_ctanhf.c (__ctanhf): Likewise.
14072 * math/s_ctanhl.c (__ctanhl): Likewise.
14073 * math/s_ctanl.c (__ctanl): Likewise.
14074 * math/libm-test.inc (ctan_test_tonearest): New function.
14075 (ctan_test_towardzero): Likewise.
14076 (ctan_test_downward): Likewise.
14077 (ctan_test_upward): Likewise.
14078 (ctanh_test_tonearest): Likewise.
14079 (ctanh_test_towardzero): Likewise.
14080 (ctanh_test_downward): Likewise.
14081 (ctanh_test_upward): Likewise.
14082 (main): Call these new functions.
14083 * sysdeps/i386/fpu/libm-test-ulps: Update.
14084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14085
ca48a46a
MF
140862012-07-03 Mike Frysinger <vapier@gentoo.org>
14087
14088 * .gitignore: Delete /ports entry.
14089
9d63d37d
AJ
140902012-07-03 Andreas Jaeger <aj@suse.de>
14091
14092 * po/bg.po: Update from translation team.
14093 * po/cs.po: Likewise.
14094 * po/de.po: Likewise.
14095 * po/hr.po: Likewise.
14096 * po/nl.pl: Likewise.
14097 * po/pl.po: Likewise.
14098 * po/vi.po: Likewise.
14099
370ca3d2
JM
141002012-07-03 Joseph Myers <joseph@codesourcery.com>
14101
95f5a9a8
JM
14102 * Makeconfig [!+link] (+link-before-libc): New variable.
14103 [!+link] (+link-after-libc): Likewise.
14104 [!+link] (+link-tests): Likewise.
14105 [!+link] (+link): Define in terms of $(+link-before-libc) and
14106 $(+link-after-libc).
14107 [!+link-static] (+link-static-before-libc): New variable.
14108 [!+link-static] (+link-static-after-libc): Likewise.
14109 [!+link-static] (+link-static-tests): Likewise.
14110 [!+link-static] (+link-static): Define in terms of
14111 $(+link-static-before-libc) and $(+link-static-after-libc).
14112 [build-shared] (link-libc-before-gnulib): New variable.
14113 [build-shared] (link-libc-tests): Likewise.
14114 [build-shared] (link-libc): Define in terms of
14115 $(link-libc-before-gnulib).
14116 [!build-shared] (link-libc-tests): New variable.
14117 (link-libc-static-tests): New variable.
14118 [!gnulib] (gnulib-arch): New variable.
14119 [!gnulib] (gnulib-tests): Likewise.
14120 [!gnulib] (static-gnulib-arch): Likewise.
14121 [!gnulib] (static-gnulib-tests): Likewise.
14122 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14123 Define with "=" instead of ":=".
14124 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14125 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14126 * Rules (binaries-all-notests): New variable.
14127 (binaries-all-tests): Likewise.
14128 (binaries-static-notests): Likewise.
14129 (binaries-static-tests): Likewise.
14130 (binaries-all): Define using $(binaries-all-notests) and
14131 $(binaries-all-tests).
14132 (binaries-static): Define using $(binaries-static-notests) and
14133 $(binaries-static-tests).
14134 (binaries-shared-tests): New variable.
14135 (binaries-shared-notests): Likewise.
14136 (binaries-shared): Remove variable.
14137 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14138 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14139 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14140 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14141 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14142 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14143 * elf/Makefile (sln-modules): New variable.
14144 (extra-objs): Add $(sln-modules:=.o).
14145 (ldconfig-modules): Add static-stubs.
14146 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14147 * elf/static-stubs.c: New file.
14148
7a845b2c
JM
14149 [BZ #14283]
14150 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14151 by 7 not 8 to examine high bit of fractional part. Use volatile
14152 variables when splitting into final array of floats if
14153 __FLT_EVAL_METHOD__ != 0.
14154 * math/libm-test.inc (cos_test): Add another test.
14155 (sin_test): Likewise.
14156 * sysdeps/i386/fpu/libm-test-ulps: Update.
14157
e2283f38
JM
14158 [BZ #14273]
14159 * math/libm-test.inc (cosh_test): Add more tests.
14160
370ca3d2
JM
14161 * version.h (RELEASE): Set to "development".
14162 (VERSION): Set to "2.16.90".
14163
ee9247c3
CD
141642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14165
14166 * NEWS: Update copyright. Remove last-updated date.
14167 Mention math library bug fixes and timezone data changes.
14168 * README: Mention GNU/Hurd, x32, and HPPA support status.
14169
4648c381
TS
141702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14171
14172 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14173
aac78a43
AJ
141742012-06-27 Andreas Jaeger <aj@suse.de>
14175
14176 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14177
ed3dbfad
AJ
141782012-06-25 Andreas Jaeger <aj@suse.de>
14179
14180 * sysdeps/s390/fpu/libm-test-ulps: Update.
14181
4d0ee855
AS
141822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14183 Thomas Schwinge <thomas@codesourcery.com>
14184
14185 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14186 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14188 fanotify_mark.
14189
af1bce34
TS
141902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14191
a9fa33ba
TS
14192 * sysdeps/mach/start.c: Remove file.
14193 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14194 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14195 * sysdeps/sh/init-first.c: Likewise.
14196
58f902b8
TS
14197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14198 registers for frame unwinding purposes, add CFI directives.
14199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14200 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14201 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14202 Likewise.
14203
1518f58b
TS
14204 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14205 __fortify_fail returning.
14206 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14207
db9b5059
TS
14208 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14209 sysdeps/sh/____longjmp_chk.S.
14210 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14211 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14212 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14213 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14214
967705fe
TS
14215 * sysdeps/sh/abort-instr.h: New file.
14216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14217 process in case exit returns.
14218
a9def8c4
TS
14219 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14220 initialize the GOT register before use.
14221
2a649725
TS
14222 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
14223 calculation of ARGC > 4.
14224
af1bce34
TS
14225 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
14226 meaningful names to some local labels.
14227
d230f50a
KK
142282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14229 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14230
14231 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
14232 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
14233 (__arch_compare_and_exchange_val_16_acq): Likewise.
14234 (__arch_compare_and_exchange_val_32_acq): Likewise.
14235 (atomic_exchange_and_add): Fix gUSA sequence.
14236 (atomic_add): Likewise.
14237 (atomic_add_negative): Likewise.
14238 (atomic_add_zero): Likewise.
14239 (atomic_bit_test_set): Likewise.
14240
0479b305
AS
142412012-06-22 Andreas Schwab <schwab@redhat.com>
14242
14243 [BZ #13579]
14244 * include/link.h (struct link_map): Add l_free_initfini.
14245 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
14246 l_initfini.
14247 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
14248 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
14249 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
14250 set.
14251
0e3933b9
CD
142522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
14253
14254 * configure.in: Use AC_LANG_SOURCE.
14255 * configure: Regenerate.
14256
4248b1b1
RM
142572012-06-22 Roland McGrath <roland@hack.frob.com>
14258
14259 * configure.in (libc_cv_localstatedir): New substituted variable.
14260 * configure: Regenerated.
14261 * config.make.in (localstatedir): New variable, substituted from
14262 libc_cv_localstatedir.
14263 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
14264 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
14265 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
14266 * sysdeps/gnu/configure: Regenerated.
14267
006dd861
JL
142682012-06-21 Jeff Law <law@redhat.com>
14269
14270 [BZ #14277]
14271 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
14272 free. Simplify list management for _LIBC case.
14273
79662d42
JM
142742012-06-21 Joseph Myers <joseph@codesourcery.com>
14275
b7abb4bf
JM
14276 [BZ #14273]
14277 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14278 Clear sign bit of 64-bit integer value before comparing against
14279 overflow value.
14280
79662d42
JM
14281 * sysdeps/mach/configure: Regenerated.
14282
1f150908
L
142832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
14284
14285 [BZ #14278]
14286 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
14287
28363bbf
JL
142882012-06-21 Jeff Law <law@redhat.com>
14289
14290 [BZ #13882]
14291 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
14292 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 14293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
14294 * elf/dl-open.c (dl_open_worker): Likewise.
14295
09615db4
CD
142962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
14297
14298 * scripts/list-sources.sh: Scan PORTS for translations.
14299 * po/libc.pot: Regenerated.
14300
2174c6dd
AJ
143012012-06-21 Andreas Jaeger <aj@suse.de>
14302
14303 [BZ #12194]
14304 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
14305 warning.
14306 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
14307 * bits/byteswap-16.h (__bswap_16): Likewise.
14308 * bits/byteswap.h (__bswap_constant_16): Likewise.
14309
3ee947b1
L
143102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 [BZ #14117]
a2f34833
L
14313 * sysdeps/i386/fpu_control.h: Removed.
14314 * sysdeps/x86_64/fpu_control.h: Moved to ...
14315 * sysdeps/x86/fpu_control.h: Here.
14316
3ee947b1
L
14317 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
14318 (_FPU_SETCW): Likewise.
14319
ed1825f8
L
143202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
14321
25f1282a
L
14322 [BZ #14117]
14323 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
14324 * sysdeps/x86/fpu/bits/mathinline.h: This.
14325 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
14326
ed1825f8
L
14327 [BZ #14050]
14328 [BZ #14117]
14329 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
14330 functions if __x86_64__ is defined.
14331
36d54b74
CLT
143322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
14333
14334 * string/endian.h: Add !__ASSEMBLER__ condition for including
14335 conversion interfaces.
14336
10285c21
JM
143372012-06-15 Joseph Myers <joseph@codesourcery.com>
14338
14339 [BZ #14241]
14340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
14341 of ABS(x) in calculating zero to negative powers other than odd
14342 integers.
14343 * math/libm-test.inc (pow_test): Add more tests.
14344
06c5abbd
AJ
143452012-06-15 Andreas Jaeger <aj@suse.de>
14346
14347 * manual/contrib.texi (Contributors): Update entry of Liubov
14348 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
14349 Machado Filho.
14350
a3aeac40
CH
143512012-06-15 Cyril Hrubis <metan@ucw.cz>
14352
14353 * string/string.h: Add __wur to GNU version of strerror_r.
14354
49bdf4c1
L
143552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 [BZ #14229]
14358 * string/Makefile (tests): Add tst-strtok_r.
14359 * string/tst-strtok_r.c: New file.
14360 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
14361 RAX_LP/RDX_LP on SAVE_PTR.
14362
834f9b8d
RM
143632012-06-14 Roland McGrath <roland@hack.frob.com>
14364
14365 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
14366
75fa1921
JM
143672012-06-14 Joseph Myers <joseph@codesourcery.com>
14368
14369 * libm_test.inc (csqrt_test): Allow more spurious underflow
14370 exceptions.
14371 (j0_test): Likewise.
14372 (j1_test): Likewise.
14373 (y0_test): Likewise.
14374 (y1_test): Likewise.
14375
771766df
CD
143762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
14377
14378 * po/Makefile (libc.pot): Use UTF-8 charset.
14379
ceb9e56b
PP
143802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
14381
14382 [BZ #14210]
14383 Suppress sign-conversion warning from FD_SET.
14384 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
14385 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
14386 not unsigned long int.
14387 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
14388
ddb28975
L
143892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
14390
14391 [BZ #14050]
14392 [BZ #14117]
14393 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
14394 __extern_always_inline instead of __extern_inline.
14395 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
14396 (__signbit): Likewise.
14397 (__signbitl): Support C++ namespace.
14398 (lrintf): New inline function.
14399 (lrint): Likewise.
14400 (llrintf): Likewise.
14401 (llrint): Likewise.
14402 (fmaxf): Likewise.
14403 (fmax): Likewise.
14404 (fminf): Likewise.
14405 (fmin): Likewise.
14406 (rint): Likewise.
14407 (rintf): Likewise.
14408 (ceil): Likewise.
14409 (ceilf): Likewise.
14410 (floor): Likewise.
14411 (floorf): Likewise.
14412 (nearbyint): Likewise.
14413 (nearbyintf): Likewise.
14414
d7b4fb26
TS
144152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
14416
14417 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
14418 non-default versions.
14419
eb55f5c2
RM
144202012-06-11 Roland McGrath <roland@hack.frob.com>
14421
14422 [BZ #14218]
14423 * manual/argp.texi (Argp): Reword argp_parse description slightly.
14424
366af02c
TS
144252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
14426
99ff6e5c
TS
14427 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
14428 (FE_UPWARD, FE_DOWNWARD): Don't define.
14429 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
14430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14431
366af02c
TS
14432 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
14433 reading it.
14434 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
14435 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14436
793ea851
KK
144372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14438
14439 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
14441 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
14442 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
14443
a728a38f
L
144442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
14445
14446 [BZ #14117]
c08010c7
L
14447 * sysdeps/i386/fpu/bits/fenv.h: Removed.
14448 * sysdeps/i386/fpu/Implies: New file.
14449 * sysdeps/x86_64/fpu/Implies: Likewise.
14450 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
14451 * sysdeps/x86/fpu/bits/fenv.h: This.
14452
a728a38f
L
14453 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
14454 __SSE_MATH__.
14455
6e230d11
SP
144562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14457
14458 [BZ #14134]
14459 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
14460 character 0xffff that matches the last element of the
14461 conversion table.
14462
1b671feb
AZ
144632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464
14465 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
14466 fmodl commit.
14467
6043738b
AZ
144682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14469
14470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
14471 values higher than 25.6283.
14472
34ae0b32
AZ
144732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14474
14475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
14476 subnormal exponent extraction and add some __builtin_expect.
14477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
14478 Fix for subnormal mantissa calculation.
14479
1214ec8f
MF
144802012-06-04 Mike Frysinger <vapier@gentoo.org>
14481
14482 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
14483 cpu2 is -1 and errno is not ENOSYS.
14484
f3d1f93c
L
144852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
14486
14487 [BZ #14117]
0e4a3cd7
L
14488 * sysdeps/i386/i486/bits/string.h: Renamed to ...
14489 * sysdeps/x86/bits/string.h: This.
14490 * sysdeps/x86_64/bits/string.h: Removed.
14491
6704c645
L
14492 * sysdeps/i386/i486/bits/string.h: Define inline functions only
14493 if not compiling for x86-64, but compiling for >= i486.
14494
48495318
L
14495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
14496 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
14497
14adcbfc
L
14498 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
14499 New macro from Linux kernel 3.4.0.
14500 (FP_XSTATE_MAGIC2): Likewise.
14501 (FP_XSTATE_MAGIC2_SIZE): Likewise.
14502 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
14503 (struct _fpx_sw_bytes): New struct.
14504 (struct _xsave_hdr): Likewise.
14505 (struct _ymmh_state): Likewise.
14506 (struct _xstate): Likewise.
14507
68e408ab
L
14508 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
14509 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
14510 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
14511 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
14512 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
14513 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
14514
f3d1f93c
L
14515 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
14516 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
14517 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
14518 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
14519 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
14520 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
14521
d9dc34cd
TMQMF
145222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14523
14524 [BZ #13743]
14525 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
14526 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
14527 (sysdep_headers): Include sys/platform/ppc.h.
14528 * sysdeps/powerpc/test-gettimebase.c: Test for
14529 __ppc_get_timebase() to catch future ISA opcode/insn changes.
14530 * manual/Makefile (appendices): Include platform.texi.
14531 * manual/contrib.texi (Contributors): Update @node pointers.
14532 * manual/maint.texi (Maintenance): Likewise.
14533 (Platform): New node.
14534 * manual/platform.texi: New file. Document the new features.
14535
4af3879c
SP
145362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14537 Jakub Jelinek <jakub@redhat.com>
14538
14539 [BZ #14188]
14540 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
14541 where __builtin_expect is unavailable.
14542
2fd6ff13
DM
145432012-06-03 David S. Miller <davem@davemloft.net>
14544
14545 * stdlib/longlong.h: Updated from GCC.
14546
173f7220
AS
145472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
14548
14549 [BZ #14042]
14550 * sysdeps/powerpc/powerpc32/mcount.c: New file.
14551 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
14552 __mcount_internal.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14554 (GLIBC_2.16): Likewise.
14555
f34a1c6f
L
145562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14557
14558 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
14559
88a4576f
JM
145602012-06-01 Joseph Myers <joseph@codesourcery.com>
14561
ea32bcdd
JM
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14563 (default-abi): New variable.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
14566 variable.
14567 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
14568 Likewise.
14569 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
14570 Likewise.
14571 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
14572 Likewise.
14573
88a4576f
JM
14574 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
14575 definition. Document in comment.
14576
402fe938
DM
145772012-06-01 David S. Miller <davem@davemloft.net>
14578
14579 * stdlib/longlong.h: Updated from GCC.
14580
3553723f
L
145812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14582
14583 [BZ #14117]
3bd872c4
L
14584 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
14585 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
14586 sys/debugreg.h sys/io.h here.
14587 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
14588 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
14589 sys/io.h.
14590 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
14591 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
14592 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
14593 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
14594 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
14595 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
14596
3553723f
L
14597 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
14598 Define only if __x86_64__ is defined.
14599
4842e4fe
JM
146002012-06-01 Joseph Myers <joseph@codesourcery.com>
14601
c5bfe3d5
JM
14602 [BZ #14048]
14603 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
14604 Use int64_t for variable i.
14605 * math/libm-test.inc (fmod_test): Add more tests.
14606
4842e4fe
JM
14607 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
14608 z computation is not scheduled after fetestexcept.
14609 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
14610 Use math_force_eval instead of asm to ensure calculation scheduled
14611 before exception test.
14612 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
14613 Ensure a1 + u.d computation is not scheduled after fetestexcept.
14614
efb73488
AJ
146152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
14616
14617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
14618 computation is not scheduled after fetestexcept.
14619
29bcce7c
L
146202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
14621
14622 [BZ #14117]
14623 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
14624 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
14625
73a68f94
AZ
146262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14627
14628 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
14629 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14630
67b6df78
L
146312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14632
edf2933a 14633 [BZ #14117]
ebc64a18
L
14634 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
14635 <bits/wordsize.h>.
14636 (__WCHAR_MIN): Support __WORDSIZE == 64.
14637 (__WCHAR_MAX): Likewise.
14638
edf2933a
L
14639 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
14640 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
14641
57c6cf40
L
14642 [BZ #14183]
14643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
14644 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
14645
67b6df78 14646 [BZ #14117]
8eb6281e
L
14647 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
14648 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
14649
aac639f4
L
14650 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
14651 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
14652
67b6df78
L
14653 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
14654 Defined to 1 if __x86_64__ isn't defined.
14655 (_STAT_VER_LINUX_OLD): New.
14656 (st_atime): Remove duplicate.
14657 (st_mtime): Likewise.
14658 (st_ctime): Likewise.
14659
1c2cfe81
DM
146602012-05-31 David S. Miller <davem@davemloft.net>
14661
14662 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
14663 entries.
14664
5be8418c
AS
146652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
14666
e7725326
AS
14667 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
14668 gen-libm-test.pl.
14669
5be8418c
AS
14670 [BZ #14132]
14671 * elf/dl-reloc.c: Include <_itoa.h>.
14672 (_dl_reloc_bad_type): Remove use of INTUSE.
14673 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
14674 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
14675 * stdio-common/psiginfo.c (psiginfo): Likewise.
14676 * stdio-common/psignal.c (psignal): Likewise.
14677 * string/strsignal.c (strsignal): Likewise.
14678 * include/signal.h (_sys_siglist): Declare hidden proto.
14679 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
14680 INTVARDEF with libc_hidden_data_def.
14681 * stdio-common/itoa-udigits.c: Likewise.
14682 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
14683 (_itoa_lower_digits_internal): Remove declaration.
14684 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
14685 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
14686 (_sys_sigabbrev_internal): Remove aliases.
14687 (_sys_siglist): Define hidden alias.
14688
507352f1
MT
146892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
14690
14691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14692 bits/sysctl.h.
14693
42bbb1c3
L
146942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 [BZ #14117]
6bd784b6
L
14697 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
14698 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
14699
8bca20f0
L
14700 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
14701 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14702 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
14703 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
14704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
14705 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
14706
f9e890a9
L
14707 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
14708 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
14709 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
14710
471101a1
L
14711 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
14712 with __addr.
14713 (insw): Likewise.
14714 (insl): Likewise.
14715 (outsb): Likewise.
14716 (outsw): Likewise.
14717 (outsl): Likewise.
14718
6451c862
L
14719 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
14720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
14721 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
14722
a254b8c9
L
14723 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
14724 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
14725 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
14726 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
14727 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
14728 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
14729
b8dfdd92
L
14730 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
14731 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14732
578cd270
L
14733 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
14734 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
14735
de662f5f
L
14736 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
14737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
14738 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
14739
25653439
L
14740 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
14741 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
14742 to ...
14743 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
14744
6bad24a0
L
14745 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
14746 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
14747 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
14748
42bbb1c3
L
14749 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
14750 for x86-64.
14751 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
14752
2d10d547
JM
147532012-05-31 Joseph Myers <joseph@codesourcery.com>
14754
14755 * math/math.h (M_El): Use two more decimal places.
14756 (M_LOG2El): Likewise.
14757 (M_LOG10El): Likewise.
14758 (M_LN2l): Likewise.
14759 (M_LN10l): Likewise.
14760 (M_PIl): Likewise.
14761 (M_PI_2l): Likewise.
14762 (M_PI_4l): Likewise.
14763 (M_1_PIl): Likewise.
14764 (M_2_PIl): Likewise.
14765 (M_2_SQRTPIl): Likewise.
14766 (M_SQRT2l): Likewise.
14767 (M_SQRT1_2l): Likewise.
14768
f230c29b
DM
147692012-05-31 David S. Miller <davem@davemloft.net>
14770
14771 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
14772 values between float registers.
14773 * sysdeps/sparc/sparc64/memset.S: Likewise.
14774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14775
fed806c3
MF
147762012-05-31 Mike Frysinger <vapier@gentoo.org>
14777
14778 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
14779 -D_FORTIFY_SOURCE=1.
14780 (CPPFLAGS-tst-longjmp_chk.c): Define.
14781 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
14782 (CPPFLAGS-tst-longjmp_chk2.c): Define.
14783 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
14784 CFLAGS-tst-wchar-h.c.
14785
30917259
MP
147862012-05-31 Marek Polacek <polacek@redhat.com>
14787
14788 [BZ #14132]
14789 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
14790 __endmntent_internal): Remove declaration.
14791 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
14792 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
14793 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
14794
1c58d5dc
DM
147952012-05-30 David S. Miller <davem@davemloft.net>
14796
14797 * sysdeps/sparc/sparc32/soft-fp/q_util.c
14798 (___Q_simulate_exceptions): Use real FP ops rather than writing
14799 into the %fsr.
14800 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
14801 Likewise.
14802
7dc00e0d
L
148032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14804
14805 [BZ #14117]
0bd53985
L
14806 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
14807 * sysdeps/x86/bits/xtitypes.h: This.
14808
3a257e66
L
14809 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
14810 * sysdeps/x86/bits/wordsize.h: This.
14811
62f62904
L
14812 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
14813 * sysdeps/x86/bits/huge_vall.h: This.
14814
404fe9d9
L
14815 * sysdeps/i386/bits/select.h: Removed.
14816 * sysdeps/x86_64/bits/select.h: Renamed to ...
14817 * sysdeps/x86/bits/select.h: This.
14818
d48d0446
L
14819 * sysdeps/i386/bits/setjmp.h: Removed.
14820 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
14821 * sysdeps/x86/bits/setjmp.h: This.
14822
7dc00e0d
L
14823 * sysdeps/i386/bits/mathdef.h: Removed.
14824 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14825 * sysdeps/x86/bits/mathdef.h: This.
14826
03277f8f
AS
148272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
14828
14829 [BZ #14132]
14830 * include/sys/socket.h (__connect_internal)
14831 (__libc_sa_len_internal): Remove declaration.
14832 (__connect, __libc_sa_len): Declare hidden_proto.
14833 (SA_LEN): Remove use of INTUSE.
14834 * socket/connect.c: Add libc_hidden_def.
14835 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
14836 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
14837 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
14838 alias.
14839 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14840 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
14841 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
14842 of adding _internal alias.
14843
13764867
L
148442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14845
14846 [BZ #14117]
6bd97696
L
14847 * sysdeps/i386/bits/link.h: Removed.
14848 * sysdeps/i386/bits/linkmap.h: Likewise.
14849 * sysdeps/x86_64/bits/link.h: Renamed to ...
14850 * sysdeps/x86/bits/link.h: This.
14851 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
14852 * sysdeps/x86/bits/linkmap.h: This.
14853
f726f0bb
L
14854 * sysdeps/i386/bits/endian.h: Removed.
14855 * sysdeps/x86_64/bits/endian.h: Renamed to ...
14856 * sysdeps/x86/bits/endian.h: This.
14857
13764867
L
14858 * sysdeps/i386/bits/byteswap.h: Removed.
14859 * sysdeps/i386/bits/byteswap-16.h: Likewise.
14860 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
14861 * sysdeps/x86/bits/byteswap.h: This.
14862 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
14863 * sysdeps/x86/bits/byteswap-16.h: This.
14864 * sysdeps/i386/Implies: Add x86.
14865 * sysdeps/x86_64/Implies: Likewise.
14866
ae251b0b
DM
148672012-05-30 David S. Miller <davem@davemloft.net>
14868
14869 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
14870 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
14871 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14872 (FP_TRAPPING_EXCEPTIONS): Define.
14873 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14874 (FP_TRAPPING_EXCEPTIONS): Define.
14875 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
14876 subnormals only when inexact has been signalled or underflow
14877 exceptions are enabled.
14878 (_FP_PACK_CANONICAL): Likewise.
14879
d5c90867
L
148802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14881
14882 [BZ #14183]
14883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
14884 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
14885
63f1549e
RH
148862012-05-30 Richard Henderson <rth@twiddle.net>
14887
8d8f2279
RH
14888 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
14889 with #ifndef NOT_IN_libc.
14890
63f1549e
RH
14891 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
14892 marked to avoid plt entry.
14893
0ab0291b
L
148942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
14895
14896 [BZ #14112]
14897 * Makeconfig (default-abi): New macro.
14898 (abi-includes): Likewise.
14899 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
14900 $(abi-$(default-abi)-lib-soname) for soname if defined.
14901 ($(common-objpfx)gnu/lib-names.stmp): Generate from
14902 abi-variants.
14903 * Makefile (installed-stubs): Likewise.
14904 * include/stubs-biarch.h: Removed.
14905 * scripts/lib-names.awk: Only handle one library at a time.
14906 * scripts/soversions.awk: Remove WORDSIZE support.
14907 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
14908 entries.
14909 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
14910 Removed.
14911 (syscall-list-default-condition): Likewise.
14912 (syscall-list-default-condition): Likewise.
14913 (syscall-list-includes): Likewise.
14914 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
14915 syscall-list-* with abi-*. Handle undefined abi-variants.
14916 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
14917 * sysdeps/unix/sysv/linux/i386/Implies: New file.
14918 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
14920 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
14921 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
14922 Removed.
14923 (syscall-list-32-options): Likewise.
14924 (syscall-list-32-condition): Likewise.
14925 (syscall-list-64-options): Likewise.
14926 (syscall-list-64-condition): Likewise.
14927 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
14928 macro.
14929 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
14930 Renamed to ...
14931 (abi-*): This.
14932 (abi-64-ld-soname): New macro.
14933 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
14934 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
14935 Renamed to ...
14936 (abi-*): This.
14937 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
14938 * sysdeps/x86_64/x32/shlib-versions: Likewise.
14939
4da0431d
JM
149402012-05-30 Joseph Myers <joseph@codesourcery.com>
14941
3a85279c
JM
14942 * sysdeps/unix/sysv/linux/kernel-features.h
14943 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
14944 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
14945 include <kernel-features.h>.
14946 [!__NR_ftruncate64]: Remove conditional code.
14947 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14948 [__NR_ftruncate64]: Make code unconditional.
14949 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14950 * sysdeps/unix/sysv/linux/truncate64.c: Do not
14951 include <kernel-features.h>.
14952 [!__NR_ftruncate64]: Remove conditional code.
14953 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14954 [__NR_ftruncate64]: Make code unconditional.
14955 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
14957 include <kernel-features.h>.
14958 [!__NR_ftruncate64]: Remove conditional code.
14959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14960 [__NR_ftruncate64]: Make code unconditional.
14961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14963 include <kernel-features.h>.
14964 [!__NR_ftruncate64]: Remove conditional code.
14965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14966 [__NR_ftruncate64]: Make code unconditional.
14967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
14968
4da0431d
JM
14969 * configure.in (libc_cv_fpie): Weaken to a compile test using
14970 LIBC_TRY_CC_OPTION.
14971 * configure: Regenerated.
14972
11ef492c
AK
149732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14974
14975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
14976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
14977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
14978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14979 Refreshed.
14980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
14981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
14982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
14983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
14984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
14985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14986 Refreshed.
14987
d66ef399
DM
149882012-05-27 David S. Miller <davem@davemloft.net>
14989
14990 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
14991 (___Q_zero): New.
14992 (__Q_simulate_exceptions): Return void. Change to simulate
14993 exceptions by writing into the %fsr.
14994 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
14995 (__Qp_handle_exceptions): Likewise.
14996 (numbers): Delete.
14997 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
14998 __Qp_handle_exceptions.
14999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15000 __Qp_handle_exceptions.
15001 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15002 as unused and give dummy FP_RND_NEAREST initializer.
15003 (FP_INHIBIT_RESULTS): Define.
15004 (___Q_simulate_exceptions): Update declaration.
15005 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15006 formatting.
15007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15008 as unused and give dummy FP_RND_NEAREST initializer.
15009 (__Qp_handle_exceptions): Update declaration.
15010 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15011 formatting.
15012
04fb54b5
TS
150132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15014
15015 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15016 the temporary FPU control word.
15017 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15018 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15019 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15020 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15021 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15022 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15023 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15024 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15025 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15026 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15027 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15028
3f99608f
KK
150292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15030
15031 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15032 fields.
15033
65a4de4e
CLT
150342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15035
15036 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15037 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15038 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15039 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15040 Likewise.
15041 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15042 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15043 Likewise.
15044
15749d40
UD
150452012-05-27 Ulrich Drepper <drepper@gmail.com>
15046
15047 * po/h.po: Update from translation team.
15048
25dbcb27
AS
150492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15050
3d3f8e55
AS
15051 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15052
25dbcb27
AS
15053 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15054 handling of denormals.
15055 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15056 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15057 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15058 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15062 Likewise.
15063
7ad47a80 150642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15065
15066 [BZ #14152]
15067 * math/libm-test.inc (fma_test): Don't always expect underflow
15068 exception.
15069
9c6ea9fa
SP
150702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15071
15072 [BZ #12416]
15073 * elf/tst-execstack.c: Include stackinfo.h.
15074 (do_test): Adjust test case to ensure that pthread_getattr_np
15075 behaviour remains the same after marking stack executable.
15076
a8239222
JM
150772012-05-25 Joseph Myers <joseph@codesourcery.com>
15078
15079 * sysdeps/unix/sysv/linux/kernel-features.h
15080 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15081 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15082 kernel-features.h.
15083 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15084 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15085 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15086 kernel-features.h.
15087 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15088 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15089
918b5606
L
150902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15091
15092 * configure.in: Define the default includes to being none.
15093 * configure: Regenerated.
15094
3a097cc7
RM
150952012-05-25 Roland McGrath <roland@hack.frob.com>
15096
8422c9a5
RM
15097 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15098 * sysdeps/x86_64/setjmp.S: Likewise.
15099 * sysdeps/i386/bsd-setjmp.S: Likewise.
15100 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15101 * sysdeps/i386/setjmp.S: Likewise.
15102 * sysdeps/i386/__longjmp.S: Likewise.
15103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15104 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15105
3a097cc7
RM
15106 * include/stap-probe.h: New file.
15107 * configure.in: Handle --enable-systemtap.
15108 * configure: Regenerated.
15109 * config.h.in (USE_STAP_PROBE): New #undef.
15110 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15111 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15112 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15113
21708942
JM
151142012-05-25 Joseph Myers <joseph@codesourcery.com>
15115
15116 [BZ #13717]
15117 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15118 to 2.4.0 where earlier.
15119 * sysdeps/unix/sysv/linux/configure: Regenerated.
15120 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15121 <kernel-features.h>.
15122 [__ASSUME_32BITUIDS]: Make code unconditional.
15123 [!__ASSUME_32BITUIDS]: Remove conditional code.
15124 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15125 <kernel-features.h>.
15126 [__ASSUME_32BITUIDS]: Make code unconditional.
15127 [!__ASSUME_32BITUIDS]: Remove conditional code.
15128 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15129 [__ASSUME_32BITUIDS]: Make code unconditional.
15130 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15131 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15132 <kernel-features.h>.
15133 [__ASSUME_32BITUIDS]: Make code unconditional.
15134 [!__ASSUME_32BITUIDS]: Remove conditional code.
15135 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15136 <kernel-features.h>.
15137 [__ASSUME_32BITUIDS]: Make code unconditional.
15138 [!__ASSUME_32BITUIDS]: Remove conditional code.
15139 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15140 <kernel-features.h>.
15141 [__ASSUME_32BITUIDS]: Make code unconditional.
15142 [!__ASSUME_32BITUIDS]: Remove conditional code.
15143 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15144 <kernel-features.h>.
15145 [__ASSUME_32BITUIDS]: Make code unconditional.
15146 [!__ASSUME_32BITUIDS]: Remove conditional code.
15147 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15148 <kernel-features.h>.
15149 [__ASSUME_32BITUIDS]: Make code unconditional.
15150 [!__ASSUME_32BITUIDS]: Remove conditional code.
15151 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15152 <kernel-features.h>.
15153 [__ASSUME_32BITUIDS]: Make code unconditional.
15154 [!__ASSUME_32BITUIDS]: Remove conditional code.
15155 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15156 <kernel-features.h>.
15157 [__ASSUME_32BITUIDS]: Make code unconditional.
15158 [!__ASSUME_32BITUIDS]: Remove conditional code.
15159 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15160 <kernel-features.h>.
15161 [__ASSUME_32BITUIDS]: Make code unconditional.
15162 [!__ASSUME_32BITUIDS]: Remove conditional code.
15163 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15164 <kernel-features.h>.
15165 [__ASSUME_32BITUIDS]: Make code unconditional.
15166 [!__ASSUME_32BITUIDS]: Remove conditional code.
15167 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15168 <kernel-features.h>.
15169 [__ASSUME_32BITUIDS]: Make code unconditional.
15170 [!__ASSUME_32BITUIDS]: Remove conditional code.
15171 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15172 <kernel-features.h>.
15173 [__NR_setresgid] (__setresgid): Do not declare.
15174 [__ASSUME_32BITUIDS]: Make code unconditional.
15175 [!__ASSUME_32BITUIDS]: Remove conditional code.
15176 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15177 <kernel-features.h>.
15178 [__NR_setresuid] (__setresuid): Do not declare.
15179 [__ASSUME_32BITUIDS]: Make code unconditional.
15180 [!__ASSUME_32BITUIDS]: Remove conditional code.
15181 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15182 <kernel-features.h>.
15183 [__ASSUME_32BITUIDS]: Make code unconditional.
15184 [!__ASSUME_32BITUIDS]: Remove conditional code.
15185 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15186 <kernel-features.h>.
15187 [__ASSUME_32BITUIDS]: Make code unconditional.
15188 [!__ASSUME_32BITUIDS]: Remove conditional code.
15189 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15190 <kernel-features.h>.
15191 [__ASSUME_32BITUIDS]: Make code unconditional.
15192 [!__ASSUME_32BITUIDS]: Remove conditional code.
15193 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15194 <kernel-features.h>.
15195 [__ASSUME_32BITUIDS]: Make code unconditional.
15196 [!__ASSUME_32BITUIDS]: Remove conditional code.
15197 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15198 <kernel-features.h>.
15199 [__ASSUME_32BITUIDS]: Make code unconditional.
15200 [!__ASSUME_32BITUIDS]: Remove conditional code.
15201 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15202 <kernel-features.h>.
15203 [__ASSUME_32BITUIDS]: Make code unconditional.
15204 [!__ASSUME_32BITUIDS]: Remove conditional code.
15205 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15206 <kernel-features.h>.
15207 [__ASSUME_32BITUIDS]: Make code unconditional.
15208 [!__ASSUME_32BITUIDS]: Remove conditional code.
15209 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
15210 <kernel-features.h>.
15211 [__ASSUME_32BITUIDS]: Make code unconditional.
15212 [!__ASSUME_32BITUIDS]: Remove conditional code.
15213 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
15214 <kernel-features.h>.
15215 [__ASSUME_32BITUIDS]: Make code unconditional.
15216 [!__ASSUME_32BITUIDS]: Remove conditional code.
15217 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15218 <kernel-features.h>.
15219 [__ASSUME_32BITUIDS]: Make code unconditional.
15220 [!__ASSUME_32BITUIDS]: Remove conditional code.
15221 * sysdeps/unix/sysv/linux/kernel-features.h
15222 (__ASSUME_SETRESUID_SYSCALL): Remove.
15223 (__ASSUME_SETRESGID_SYSCALL): Likewise.
15224 (__ASSUME_32BITUIDS): Likewise.
15225 (__ASSUME_LDT_WORKS): Likewise.
15226 (__ASSUME_O_DIRECTORY): Likewise.
15227 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
15228 architecture but not kernel version.
15229 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15230 (__ASSUME_MMAP2_SYSCALL): Likewise.
15231 (__ASSUME_STAT64_SYSCALL): Likewise.
15232 (__ASSUME_IPC64): Likewise.
15233 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
15234 <kernel-features.h>.
15235 [__ASSUME_32BITUIDS]: Make code unconditional.
15236 [!__ASSUME_32BITUIDS]: Remove conditional code.
15237 * sysdeps/unix/sysv/linux/opendir.c: Do not include
15238 <kernel-features.h>.
15239 [__ASSUME_O_DIRECTORY]: Make code unconditional.
15240 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
15241 132096]: Remove conditional code.
15242 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
15243 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15244 <kernel-features.h>.
15245 [__ASSUME_32BITUIDS]: Make code unconditional.
15246 [!__ASSUME_32BITUIDS]: Remove conditional code.
15247 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15248 <kernel-features.h>.
15249 [__ASSUME_32BITUIDS]: Make code unconditional.
15250 [!__ASSUME_32BITUIDS]: Remove conditional code.
15251 * sysdeps/unix/sysv/linux/setegid.c: Do not include
15252 <kernel-features.h>.
15253 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
15254 unconditional.
15255 (__setresgid): Do not declare.
15256 [__ASSUME_32BITUIDS]: Make code unconditional.
15257 [!__ASSUME_32BITUIDS]: Remove conditional code.
15258 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
15259 <kernel-features.h>.
15260 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
15261 unconditional.
15262 (__setresuid): Do not declare.
15263 [__ASSUME_32BITUIDS]: Make code unconditional.
15264 [!__ASSUME_32BITUIDS]: Remove conditional code.
15265 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15266 <kernel-features.h>.
15267 [__ASSUME_32BITUIDS]: Make code unconditional.
15268 [!__ASSUME_32BITUIDS]: Remove conditional code.
15269 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
15270 <kernel-features.h>.
15271 [__ASSUME_32BITUIDS]: Make code unconditional.
15272 [!__ASSUME_32BITUIDS]: Remove conditional code.
15273
a386f1cc
RH
152742012-05-25 Richard Henderson <rth@twiddle.net>
15275
15276 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
15277 dl_hwcap to ifunc resolver.
15278 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
15279 elf_ifunc_invoke.
15280 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
15281 dl_hwcap to ifunc resolver.
15282 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
15283
b6550497
JM
152842012-05-24 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #14153]
15287 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
15288 for |x| <= 2**-26, not 2**-57.
15289 * math/libm-test.inc (acos_test): Do not allow spurious underflow
15290 exception.
15291
b0bc23a1
JL
152922012-05-24 Jeff Law <law@redhat.com>
15293
15294 * stdio-common/Makefile (tests): Add bug25.
15295 * stdio-common/bug25.c: New test.
15296
347c92e9
L
152972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15298
15299 [BZ #13576]
15300 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
15301 multiple of MALLOC_ALIGNMENT in size.
15302 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
15303
6bcc8b3f
JM
153042012-05-24 Joseph Myers <joseph@codesourcery.com>
15305
15306 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
15307 Require >= 256.
15308 (FILENAME_MAX): Use macro-int-constant.
15309 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
15310 (_IOFBF): Use macro-int-constant.
15311 (_IOLBF): Likewise.
15312 (_IONBF): Likewise.
15313 (SEEK_CUR): Likewise.
15314 (SEEK_END): Likewise.
15315 (SEEK_SET): Likewise.
15316 (TMP_MAX): Likewise.
15317 (EOF): Use macro-int-constant. Require < 0.
15318 (NULL): Use macro-constant. Require == 0.
15319 (stdin): Require type to be FILE *.
15320 (stdout): Likewise.
15321 (stderr): Likewise.
15322 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
15323 macro-int-constant.
15324 (EXIT_SUCCESS): Likewise.
15325 (NULL): Use macro-constant. Require == 0.
15326 (RAND_MAX): Use macro-int-constant.
15327 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
15328 [C99-based standards] (strtof): Require function.
15329 [C99-based standards] (strtold): Likewise.
15330 [C99-based standards] (strtoll): Likewise.
15331 [C99-based standards] (strtoull): Likewise.
15332 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15333 [ISO || ISO99 || ISO11] (limits.h): Likewise.
15334 [ISO || ISO99 || ISO11] (math.h): Likewise.
15335 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
15336 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15338
d18ea0c5
AS
153392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
15340
15341 [BZ #14132]
56d25bb8
AS
15342 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
15343 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
15344 * intl/dgettext.c (DCGETTEXT): Likewise.
15345 * intl/gettext.c (DCGETTEXT): Likewise.
15346 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
15347 * posix/regex_internal.h (gettext): Likewise.
15348 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
15349 Remove declaration.
15350 * include/argz.h (__argz_count_internal)
15351 (__argz_stringify_internal): Remove declaration.
15352 (__argz_count, __argz_stringify): Declare hidden proto.
15353 * intl/dcgettext.c: Remove use of INTDEF.
15354 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
15355 * string/argz-stringify.c: Likewise.
15356 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15357 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15358 Declare hidden proto.
d18ea0c5
AS
15359 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
15360 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
15361 Declare hidden proto.
15362 * include/stdio.h (__asprintf_internal): Don't declare.
15363 (__asprintf): Don't define as macro. Declare hidden proto.
15364 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
15365 (__fsetlocking): Declare hidden proto.
15366 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
15367 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
15368 hidden proto.
15369 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
15370 (_IO_setlinebuf): Remove use of INTUSE.
15371 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
15372 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
15373 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
15374 Remove declaration.
15375 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
15376 (_IO_do_flush): Remove use of INTUSE.
15377 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
15378 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
15379 (_IO_adjust_column, _IO_least_wmarker)
15380 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
15381 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
15382 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
15383 (_IO_default_doallocate, _IO_wdefault_doallocate)
15384 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
15385 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
15386 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
15387 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
15388 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
15389 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
15390 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
15391 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
15392 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
15393 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
15394 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
15395 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
15396 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
15397 proto.
15398 (_IO_flush_all_internal, _IO_adjust_column_internal)
15399 (_IO_default_uflow_internal, _IO_default_finish_internal)
15400 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
15401 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
15402 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
15403 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
15404 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
15405 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
15406 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
15407 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
15408 (_IO_file_close_internal, _IO_file_close_it_internal)
15409 (_IO_file_underflow_internal, _IO_file_overflow_internal)
15410 (_IO_file_init_internal, _IO_file_attach_internal)
15411 (_IO_file_fopen_internal, _IO_file_read_internal)
15412 (_IO_file_sync_internal, _IO_file_seek_internal)
15413 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
15414 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
15415 (_IO_str_underflow_internal, _IO_str_overflow_internal)
15416 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
15417 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
15418 (_IO_list_all_internal, _IO_link_in_internal)
15419 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
15420 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
15421 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
15422 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
15423 (_IO_do_write_internal, _IO_padn_internal)
15424 (_IO_getline_info_internal, _IO_getline_internal)
15425 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
15426 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
15427 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
15428 (_IO_vfscanf_internal, _IO_vfprintf_internal)
15429 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
15430 (_IO_init_internal, _IO_un_link_internal): Don't declare.
15431 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
15432 with libc_hidden_ver, remove use of INTUSE.
15433 * libio/genops.c: Likewise.
15434 * libio/freopen.c: Likewise.
15435 * libio/freopen64.c: Likewise.
15436 * libio/iofclose.c: Likewise.
15437 * libio/iofdopen.c: Likewise.
15438 * libio/iofflush.c: Likewise.
15439 * libio/iofflush_u.c: Likewise.
15440 * libio/iofgets.c: Likewise.
15441 * libio/iofgets_u.c: Likewise.
15442 * libio/iofopen.c: Likewise.
15443 * libio/iofopncook.c: Likewise.
15444 * libio/iofread.c: Likewise.
15445 * libio/iofread_u.c: Likewise.
15446 * libio/ioftell.c: Likewise.
15447 * libio/iofwrite.c: Likewise.
15448 * libio/iogetline.c: Likewise.
15449 * libio/iogets.c: Likewise.
15450 * libio/iogetwline.c: Likewise.
15451 * libio/iopadn.c: Likewise.
15452 * libio/iopopen.c: Likewise.
15453 * libio/ioseekoff.c: Likewise.
15454 * libio/ioseekpos.c: Likewise.
15455 * libio/iosetbuffer.c: Likewise.
15456 * libio/iosetvbuf.c: Likewise.
15457 * libio/ioungetc.c: Likewise.
15458 * libio/ioungetwc.c: Likewise.
15459 * libio/iovdprintf.c: Likewise.
15460 * libio/iovsprintf.c: Likewise.
15461 * libio/iovsscanf.c: Likewise.
15462 * libio/memstream.c: Likewise.
15463 * libio/obprintf.c: Likewise.
15464 * libio/oldfileops.c: Likewise.
15465 * libio/oldiofclose.c: Likewise.
15466 * libio/oldiofdopen.c: Likewise.
15467 * libio/oldiofopen.c: Likewise.
15468 * libio/oldiopopen.c: Likewise.
15469 * libio/oldstdfiles.c: Likewise.
15470 * libio/putc.c: Likewise.
15471 * libio/setbuf.c: Likewise.
15472 * libio/setlinebuf.c: Likewise.
15473 * libio/stdfiles.c: Likewise.
15474 * libio/strops.c: Likewise.
15475 * libio/vasprintf.c: Likewise.
15476 * libio/vscanf.c: Likewise.
15477 * libio/vsnprintf.c: Likewise.
15478 * libio/vswprintf.c: Likewise.
15479 * libio/wfiledoalloc.c: Likewise.
15480 * libio/wfileops.c: Likewise.
15481 * libio/wgenops.c: Likewise.
15482 * libio/wmemstream.c: Likewise.
15483 * libio/wstrops.c: Likewise.
15484 * libio/__fpurge.c: Likewise.
15485 * libio/__fsetlocking.c: Likewise.
15486 * assert/assert.c: Likewise.
15487 * debug/fgets_chk.c: Likewise.
15488 * debug/fgets_u_chk.c: Likewise.
15489 * debug/fread_chk.c: Likewise.
15490 * debug/fread_u_chk.c: Likewise.
15491 * debug/gets_chk.c: Likewise.
15492 * debug/obprintf_chk.c: Likewise.
15493 * debug/vasprintf_chk.c: Likewise.
15494 * debug/vdprintf_chk.c: Likewise.
15495 * debug/vsnprintf_chk.c: Likewise.
15496 * debug/vsprintf_chk.c: Likewise.
15497 * malloc/mtrace.c: Likewise.
15498 * misc/error.c: Likewise.
15499 * misc/syslog.c: Likewise.
15500 * stdio-common/asprintf.c: Likewise.
15501 * stdio-common/fxprintf.c: Likewise.
15502 * stdio-common/getw.c: Likewise.
15503 * stdio-common/isoc99_fscanf.c: Likewise.
15504 * stdio-common/isoc99_scanf.c: Likewise.
15505 * stdio-common/isoc99_vfscanf.c: Likewise.
15506 * stdio-common/isoc99_vscanf.c: Likewise.
15507 * stdio-common/isoc99_vsscanf.c: Likewise.
15508 * stdio-common/printf-prs.c: Likewise.
15509 * stdio-common/printf_fp.c: Likewise.
15510 * stdio-common/printf_fphex.c: Likewise.
15511 * stdio-common/printf_size.c: Likewise.
15512 * stdio-common/putw.c: Likewise.
15513 * stdio-common/scanf.c: Likewise.
15514 * stdio-common/sprintf.c: Likewise.
15515 * stdio-common/tmpfile.c: Likewise.
15516 * stdio-common/vfprintf.c: Likewise.
15517 * stdio-common/vfscanf.c: Likewise.
15518 * stdlib/strfmon_l.c: Likewise.
15519 * sunrpc/openchild.c: Likewise.
15520 * sunrpc/xdr_stdio.c: Likewise.
15521 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15522 * sysdeps/mach/hurd/tmpfile.c: Likewise.
15523
d6c33fda
RM
155242012-05-24 Roland McGrath <roland@hack.frob.com>
15525
c1487492
RM
15526 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15527
15528 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
15529 in the third column, to generate for the shared library an IFUNC
15530 that uses _dl_vdso_vsym.
15531 * Makerules (COMPILE.c, compile-stdin.c): New variables.
15532 * Makeconfig (object-suffixes-noshared): New variable.
15533
15534 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
15535 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
15536 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
15537 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
15538
d6c33fda
RM
15539 [BZ #14132]
15540 * include/sys/time.h (__gettimeofday): Remove macro.
15541 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
15542 * time/gettimeofday.c (__gettimeofday): Remove #undef.
15543 Remove INTDEF.
15544 (__gettimeofday): Add libc_hidden_def.
15545 (gettimeofday): Add libc_hidden_weak.
15546 * sysdeps/mach/gettimeofday.c: Likewise.
15547 * sysdeps/posix/gettimeofday.c: Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15549 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15550 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
15551 (__gettimeofday_internal): Remove strong_alias.
15552 (__gettimeofday): Add libc_hidden_def.
15553 (gettimeofday): Add libc_hidden_weak.
15554 * sysdeps/unix/syscalls.list (gettimeofday):
15555 Remove __gettimeofday_internal alias.
15556
b5a2bbe6
L
155572012-05-24 Daniel Jacobowitz <drow@false.org>
15558 H.J. Lu <hongjiu.lu@intel.com>
15559
15560 [BZ #12495]
15561 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
15562 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
15563 (largebin_index_32_big): New.
15564 (largebin_index): Use it for 16-byte alignment.
15565 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
15566 correction with front_misalign.
15567
cfba4fda
L
155682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
15569
7f907421
L
15570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
15571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15572 Likewise.
15573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
15574 Likewise.
15575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15576 Likewise.
15577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
15578 Likewise.
15579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
15580 Likewise.
15581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
15582 Likewise.
15583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
15584 Likewise.
15585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15586 Likewise.
15587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
15588 Likewise.
15589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
15590 Likewise.
15591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15592 Likewise.
15593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
15594 Likewise.
15595
cfba4fda
L
15596 * scripts/data/c++-types-x32-linux-gnu.data: New file.
15597 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
15598
80bad0cc
JM
155992012-05-24 Joseph Myers <joseph@codesourcery.com>
15600
7a25eb06
JM
15601 [BZ #10846]
15602 [BZ #14036]
15603 * math/libm-test.inc (exp_test): Add test from bug 14036.
15604 (pow_test): Add test from bug 10846.
15605
795405f9
JM
15606 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
15607 and other flags.
15608 (special_function): Do not include flags in test name.
15609 (parse_args): Likewise.
15610 * sysdeps/i386/fpu/libm-test-ulps: Update.
15611 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15612 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15613 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15615
80bad0cc
JM
15616 * math/gen-libm-test.pl (%beautify): Add entries for underflow
15617 exceptions.
15618 * math/libm-test.inc ("Philosophy"): Update comment about
15619 exception testing.
15620 (UNDERFLOW_EXCEPTION): New macro.
15621 (UNDERFLOW_EXCEPTION_OK): Likewise.
15622 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
15623 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
15624 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
15625 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
15626 (INVALID_EXCEPTION_OK): Update value.
15627 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15628 (OVERFLOW_EXCEPTION_OK): Likewise.
15629 (IGNORE_ZERO_INF_SIGN): Likewise.
15630 (test_exceptions): Handle underflow exceptions.
15631 (acos_test): Update for underflow exception expectations.
15632 (cexp_test): Likewise.
15633 (clog_test): Likewise.
15634 (clog10_test): Likewise.
15635 (csqrt_test): Likewise.
15636 (ctan_test): Likewise.
15637 (ctanh_test): Likewise.
15638 (exp_test): Likewise.
15639 (exp10_test): Likewise.
15640 (exp2_test): Likewise.
15641 (expm1_test): Likewise.
15642 (fma_test): Likewise.
15643 (j0_test): Likewise.
15644 (jn_test): Likewise.
15645 (nexttoward_test): Likewise.
15646 (pow_test): Likewise.
15647 (scalbn_test): Likewise.
15648 (scalbln_test): Likewise.
15649 (tan_test): Likewise.
15650 (y1_test): Likewise.
15651 * sysdeps/i386/fpu/libm-test-ulps: Update.
15652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15653
9e0e3d0b
DM
156542012-05-23 David S. Miller <davem@davemloft.net>
15655
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15657 (__libc_sigaction): Remove unused local variables.
15658
ccd0a08f
L
156592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15660
15661 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
15662
62bdf9a6
PE
156632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
15664
f8591f80
PE
15665 mktime: avoid signed integer overflow
15666 * time/mktime.c (__mktime_internal): Do not mishandle the case
15667 where diff == INT_MIN.
15668
94c7d826
PE
15669 mktime: simplify computation of average
15670 * time/mktime.c (ranged_convert): Use new time_t_avg function
15671 instead of rolling our own (probably-slower) code.
15672
ce73d683
PE
15673 mktime: do not assume signed right shift propagates sign bit
15674 * time/mktime.c (isdst_differ): New static function.
15675 (__mktime_internal): No need to normalize tm_isdst now.
15676 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
15677 tm_isdst values.
15678
72a22e59
PE
15679 mktime: merge another wrapv change from gnulib
15680 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
15681 from some compilers.
15682
68605433
PE
15683 mktime: remove incorrect attempt at unusual arithmetics
15684 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
15685 The code didn't really work on such machines anyway.
15686 (TYPE_MINIMUM): Assume two's complement.
15687 (twos_complement_arithmetic): Verify that long_int and time_t
15688 are two's complement (or unsigned, in the latter case).
15689
03cf7fe3
PE
15690 mktime: check signed shifts on long_int and time_t, too
15691 * time/mktime.c (SHR): Check that shifts work as desired
15692 on the types long_int and time_t too, as SHR is used on
15693 such types.
15694
f04dfbc2
PE
15695 mktime: do not assume 'long' is wide enough
15696 * time/mktime.c (verify): Move decl up.
15697 (long_int): New type.
15698 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
15699 to remove assumption in the code that 'long' is wide enough to
15700 store year values. This assumption is not true on x32 and on
15701 some non-glibc platforms.
15702
62bdf9a6
PE
15703 mktime: merge wrapv change from gnulib
15704 * time/mktime.c (WRAPV): New macro.
15705 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
15706 (guess_time_tm, __mktime_internal): Do not assume that signed
15707 integer overflow wraps around; modern compilers generate code
15708 where this assumption is no longer valid.
15709
5e292e4f
L
157102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15711
15712 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15713 Replace "jmp L(pseudo_end)" with "ret".
15714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
15715 Likewise.
15716
8caf8c87
AJ
157172012-05-23 Andreas Jaeger <aj@suse.de>
15718
15719 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
15720 * sysdeps/unix/sysv/linux/poll.c: Remove file.
15721
1a09dc56
AJ
157222012-05-23 Andreas Jaeger <aj@suse.de>
15723 Maximilian Attems <max@stro.at>
15724
15725 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
15726 New macros.
15727
1c87aba0
L
157282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
15729
15730 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
15731 code so that pseudo_end is just ret and the stack pointer is
15732 correct also for static library in error case.
15733
40e45bd5
JM
157342012-05-23 Joseph Myers <joseph@codesourcery.com>
15735
c2670533
JM
15736 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
15737 move to syscalls.list.
15738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
15739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15742
40e45bd5
JM
15743 * manual/install.texi (Running make install): Do not mention Linux
15744 kernel version for which pt_chown is not needed.
15745 (Linux): Do not mention problems with nscd with 2.0 kernels.
15746 * INSTALL: Regenerated.
15747
be08eda5
AJ
157482012-05-23 Andreas Jaeger <aj@suse.de>
15749
15750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
15751 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
15752 macro.
15753 * sysdeps/unix/sysv/linux/s390/bits/mman.h
15754 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15755 * sysdeps/unix/sysv/linux/sh/bits/mman.h
15756 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15757 * sysdeps/unix/sysv/linux/i386/bits/mman.h
15758 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
15760 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15761 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
15762 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
15763 * sysdeps/unix/sysv/linux/bits/in.h
15764 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
15765
a6a056bb
RM
157662012-05-22 Roland McGrath <roland@hack.frob.com>
15767
15768 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
15769 (PREPARE_VERSION): Just use assert instead, it will be elided
15770 under [NDEBUG] anyway.
15771
c9009328
L
157722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15773
15774 * sysdeps/unix/sysv/linux/Makefile: Include
15775 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 15776 (sysdep_routines): Remove sysctl.
c9009328
L
15777 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
15778 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
15779 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
15780 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
15781 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
15782
73338355
AJ
157832012-05-22 Andreas Jaeger <aj@suse.de>
15784
15785 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
15786 that pseudo_end is just ret and the stack pointer is correct also
15787 for static library in error case.
15788
d44638b0
PP
157892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15790
15791 [BZ #14122]
15792 * nss/nsswitch.c (defconfig_entries): New variable.
15793 (__nss_database_lookup): Don't leak defconfig entries.
15794 (nss_parse_service_list): Don't leak on error paths.
15795 (free_database_entries): New function.
15796 (free_defconfig): New function.
15797 (free_mem): Move common code to free_database_entries.
15798
31a39bd8
L
157992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15800
da0331a8
L
15801 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
15802 Add arch_prctl.
15803 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
15804
31a39bd8
L
15805 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15806 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
15807 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
15808 New macro.
15809 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15810 (INTERNAL_SYSCALL_TYPES): Likewise.
15811 (LOAD_ARGS_TYPES_[1-6]): Likewise.
15812 (LOAD_REGS_TYPES_[1-6]): Likewise.
15813 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
15814 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
15815
45470df3
AZ
158162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15817
15818 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
15819 copysignl for GLIBC_2_0.
15820 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
15821 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
15822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
15823 logbl for GLIBC_2_0.
15824 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
15825 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
15826
98a61bcb
L
158272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15828
a4f6e481
L
15829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
15830 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
15831
f63d5db6
L
15832 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
15833 Use "neg %eax".
15834
98a61bcb
L
15835 * time/mktime.c: Update copyright years.
15836
95770f14
PE
158372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
15838
6226efbd
PE
15839 mktime: merge comment-quoting-style change from gnulib
15840 * time/mktime.c: Quote 'like this' in comments.
15841 The GNU coding standards suggest that we no longer quote `like this',
15842 as "`" and "'" are typically rendered asymmetrically nowadays.
15843 The typical gnulib style is to quote 'like this' when quoting
15844 code, and "like this" when quoting English.
15845
b99e4f78
PE
15846 * time/mktime.c (compile-command): Add "-I.".
15847
643e01e6
PE
15848 mktime: merge mktime-internal.h change from gnulib
15849 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
15850
2554247d
PE
15851 mktime: merge time_r change from gnulib
15852 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
15853
826dd0ab
PE
15854 mktime: merge DEBUG change from gnulib
15855 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
15856 case system <time.h> has a #define.
15857
bd83aabe
PE
15858 mktime: merge <sys/types.h> change from gnulib
15859 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
15860 since <time.t> is now guaranteed to define time_t.
15861
95770f14
PE
15862 mktime: merge HAVE_CONFIG_H change from gnulib
15863 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
15864
5e1a27a9
L
158652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
15866
0e44a77e
L
15867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15868 Use "neg %eax".
15869
5e1a27a9
L
15870 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
15871 __rlim_t cast.
15872 (struct rusage): Use anonymous union to pad each field to
15873 __syscall_slong_t.
15874
46259bec
DM
158752012-05-21 David S. Miller <davem@davemloft.net>
15876
15877 * Makefules (o-iterator): Remove .s cases.
15878 (compile-command.s): Delete.
15879 (COMPILE.s): Delete.
15880 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
15881
59f0c22e
JM
158822012-05-21 Joseph Myers <joseph@codesourcery.com>
15883
15884 * configure.in (libc_cv_predef_stack_protector): Only consider
15885 "foobar" and "__stack_chk_fail" lines in libc_undefs.
15886 * configure: Regenerated.
15887
20c07380
L
158882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15889
bbb3154b
L
15890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
15891 New macro. Use R*LP on int and pointer.
15892 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
15893 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
15894 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
15895 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
15896
20c07380
L
15897 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
15898 [__WORDSIZE_TIME64_COMPAT32] instead of
15899 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
15900 (struct utmp): Likewise.
15901 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
15902 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
15903 Renamed to ...
15904 (__WORDSIZE_TIME64_COMPAT32): This.
15905 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15906 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15907 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15908 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15909 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
15910 (__WORDSIZE_TIME64_COMPAT32): New macro.
15911
d8d1017e
AJ
159122012-05-21 Andreas Jaeger <aj@suse.de>
15913
15914 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
15915 only if [SHARED]. Add prototype for __wcschr_ia32.
15916
6c7fb145
RM
159172012-05-21 Roland McGrath <roland@hack.frob.com>
15918
15919 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
15920 of %rbp unmolested in the jmp_buf while mangling the low bits.
15921 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
15922 unmolested high bits of %rbp while demangling the low bits.
15923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15924
66274218
AJ
159252012-05-21 Andreas Jaeger <aj@suse.de>
15926
07c58f8f
AJ
15927 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
15928 * sunrpc/svc_simple.c: Use it for registerrpc.
15929 * sunrpc/xcrypt.c: Use it for passwd2des.
15930
66274218
AJ
15931 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
15932
61f65140
L
159332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15934
15935 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
15936 Don't define if [__SYSCALL_WORDSIZE != 32].
15937 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
15938 New macro.
15939
5fefb436
AJ
159402012-05-21 Bruno Haible <bruno@clisp.org>
15941 Andreas Jaeger <aj@suse.de>
15942
15943 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
15944 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
15945 inptr and inend for must_buffer_ch.
15946 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
15947 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
15948 * stdio-common/Makefile (tests): Remove bug15.
15949 (bug15-ENV): Remove macro.
15950 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
15951 anymore.
15952
d8e272ab
AJ
159532012-05-19 Andreas Jaeger <aj@suse.de>
15954 Roland McGrath <roland@hack.frob.com>
15955
15956 * manual/contrib.texi: Completely rewritten. It contains now an
15957 alphabetical list of contributors and their contributions.
15958
4a56a162
RH
159592012-05-21 Richard Henderson <rth@twiddle.net>
15960
15961 * misc/getauxval.c (__getauxval): Use unsigned long int.
15962 * misc/sys/auxv.h: Include <sys/cdefs.h>.
15963 (getauxval): Use unsigned long int.
15964
d024d23c
L
159652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
15966
15967 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
15968
cbc00a03
RM
159692012-05-21 Roland McGrath <roland@hack.frob.com>
15970
15971 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
15972 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
15973 __alignof__ (long double).
15974
478143fa
AZ
159752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15976
15977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15978
c7683a6d
RH
159792012-05-20 Richard Henderson <rth@twiddle.net>
15980
15981 * misc/getauxval.c: New file.
15982 * misc/sys/auxv.h: New file.
15983 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
15984 (routines): Add getauxval.
15985 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
15986 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
15987 * elf/dl-sysdep.c (_dl_auxv): Remove.
15988 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
15989 * elf/dl-support.c (_dl_auxv): New variable.
15990 (_dl_aux_init): Initialize it.
15991 * manual/startup.texi (Auxiliary Vector): New node.
15992 * sysdeps/generic/bits/hwcap.h: New file.
15993 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
15994 * sysdeps/powerpc/sysdep.h: ... here. Include it.
15995 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
15996 * sysdeps/sparc/sysdep.h: ... here. Include it.
15997 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
15998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16000 Update.
c7683a6d
RH
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16004 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16009
a6f1845d
AZ
160102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16011
16012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16013
cbcbe830
DM
160142012-05-19 David S. Miller <davem@davemloft.net>
16015
16016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16017
e0b16cc2
JM
160182012-05-19 Joseph Myers <joseph@codesourcery.com>
16019
16020 [BZ #14123]
16021 * math/s_ccosh.c: Include <float.h>
16022 (__ccosh): Avoid internal overflow calculating sinh and cosh
16023 values before multiplying by sin and cos values.
16024 * math/s_ccoshf.c: Likewise.
16025 * math/s_ccoshl.c: Likewise.
16026 * math/s_csin.c: Likewise.
16027 * math/s_csinf.c: Likewise.
16028 * math/s_csinl.c: Likewise.
16029 * math/s_csinh.c: Likewise.
16030 * math/s_csinhf.c: Likewise.
16031 * math/s_csinhl.c: Likewise.
16032 * math/libm-test.inc (ccos_test): Add more tests.
16033 (ccosh_test): Likewise.
16034 (csin_test): Likewise.
16035 (csinh_test): Likewise.
16036 * sysdeps/i386/fpu/libm-test-ulps: Update.
16037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16038
6ad13e08
L
160392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16040
f66f0ce8
L
16041 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16042 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16043
6ad13e08
L
16044 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16045
b1d072a7
JM
160462012-05-19 Joseph Myers <joseph@codesourcery.com>
16047
16048 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16049 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16050 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16051 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16052 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16053 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16054 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16055 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16056 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16057 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16058 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16059 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16060 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16061 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16062 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16063 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16064 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16065 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16066 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16067 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16068 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16069 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16070 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16071 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16072 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16073 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16074 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16075 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16076 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16077 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16078 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16079
9eae47cb
AJ
160802012-05-18 Andreas Jaeger <aj@suse.de>
16081
16082 * csu/.gitignore: Delete.
16083
bb07f69f
L
160842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16087 (timex): Use __syscall_slong_t.
16088
e6bdb741
AJ
160892012-05-18 Andreas Jaeger <aj@suse.de>
16090 Carlos O'Donell <carlos_odonell@mentor.com>
16091
16092 * manual/install.texi (Configuring and compiling): Update
16093 description about files modified in the source directory.
d6c33fda 16094 * INSTALL: Regenerated.
e6bdb741 16095
1b74487e
L
160962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16097
16098 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16099 value. Use "or" to set return value to -1.
16100 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16101 negate return value.
16102
a88b64b9
TMQMF
161032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16104
16105 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16106 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16107 failure if the compiler has Graphite support disabled.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16109 Likewise.
16110 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16111 CFLAGS-memmove.c): Likewise.
16112 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16113 Likewise.
16114
3707636e
L
161152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16116
610b8622
L
16117 * sysdeps/x86_64/x32/_itoa.h: New file.
16118
7cd195df
L
16119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16120 getdents system call only if kernel and user dirents have the
16121 same d_ino and d_off.
16122
94b07d20
L
16123 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16124 LLONG_MAX != LONG_MAX.
16125 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16126 (_fitoa_word): Likewise.
16127
18298070
L
16128 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16129 years.
16130 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16131 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16132 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16133
553c7ea4
L
16134 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16135 include <bits/wordsize.h>. Check __x86_64__ instead of
16136 __WORDSIZE.
16137 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16138 if __x86_64__ is defined. Use anonymous union on fpstate.
16139
3707636e
L
16140 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16141 anonymous union.
16142
b53ef01a
AS
161432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16144
37fb1dc0
AS
16145 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16146 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16147 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16148 Refer to _rtld_local_ro instead of _rtld_global_ro.
16149 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16150 Likewise.
16151 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16152 Likewise.
16153 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16154 Likewise.
16155 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16156 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16157 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16158
b53ef01a
AS
16159 * sysdeps/powerpc/powerpc32/dl-machine.c
16160 (__elf_machine_runtime_setup) [PROF]: Don't reference
16161 _dl_prof_resolve.
16162
7a185db2
AJ
161632012-05-18 Andreas Jaeger <aj@suse.de>
16164
16165 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16166 function only available for GCCs before 3.4 since GCC 3.4
16167 introduced a builtin.
16168 (lrint): Likewise.
16169 (llrintf): Likewise.
16170 (llrint): Likewise.
16171 (fmaxf): Likewise.
16172 (fmax): Likewise.
16173 (fminf): Likewise.
16174 (fmin): Likewise.
16175 (rint): Likewise.
16176 (rintf): Likewise.
16177 (nearbyint): Likewise.
16178 (nearbyintf): Likewise.
16179 (ceil): Likewise.
16180 (ceilf): Likewise.
16181 (floor): Likewise.
16182 (floorf): Likewise.
16183
3e5aef87
L
161842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16185
428bd707
L
16186 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16187 on both fields and cast pointer to __syscall_ulong_t.
16188
3e5aef87
L
16189 * bits/types.h (__fsword_t): New type.
16190 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16191 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16193 (__FSWORD_T_TYPE): Likewise.
16194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16195 (__FSWORD_T_TYPE): Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16197 (__FSWORD_T_TYPE): Likewise.
16198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16199 (__FSWORD_T_TYPE): Likewise.
16200 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16201 __SWORD_TYPE with __fsword_t.
16202 (statfs64): Likewise.
16203
1ba7c3dc
DM
162042012-05-17 David S. Miller <davem@davemloft.net>
16205
16206 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16207
59910343
AJ
162082012-05-17 Andreas Jaeger <aj@suse.de>
16209
16210 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16211 warning.
16212
2e4c1e9e
L
162132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16214
16215 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16216
de7f5ce7
AJ
162172012-05-17 Andreas Jaeger <aj@suse.de>
16218
16219 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16220 when it is used.
16221
286abc3d
CM
162222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16223
16224 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
16225
477cc68e
L
162262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16227
16228 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
16229 * sysdeps/x86_64/tst-mallocalign1.c: New file.
16230
1a0994f5
CD
162312012-05-17 Andreas Jaeger <aj@suse.de>
16232 Carlos O'Donell <carlos_odonell@mentor.com>
16233
16234 [BZ #14059]
16235 * sysdeps/x86_64/multiarch/init-arch.h
16236 (bit_YMM_Usable): Rename to...
16237 (bit_AVX_Usable): ... this.
16238 (bit_FMA4_Usable): New macro.
16239 (bit_XMM_state): New macro.
16240 (bit_YMM_state): New macro.
16241 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
16242 [__ASSEMBLER__] (index_AVX_Usable): ... this.
16243 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
16244 (CPUID_OSXSAVE): New macro.
16245 (CPUID_AVX): New macro.
16246 (CPUID_FMA4): New macro.
16247 (index_YMM_Usable): Rename to...
16248 (index_AVX_Usable): ... this.
16249 (HAS_AVX): Use HAS_ARCH_FEATURE.
16250 (HAS_FMA4): Likewise.
16251 (HAS_YMM_USABLE): Remove.
16252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16253 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
16254 are present.
16255 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
16256 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
16257 * sysdeps/x86_64/multiarch/Makefile: Likewise.
16258 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
16259 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
16260
0af797de
CM
162612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
16262
16263 * math/libm-test.c: Support platforms without multiple rounding modes.
16264 * math/bug-nextafter.c: Support platforms without FP exceptions.
16265 * math/bug-nexttoward.c: Likewise.
16266 * math/test-fenv.c: Likewise.
16267 * math/test-misc.c: Likewise.
16268 * stdlib/bug-getcontext.c: Likewise.
16269
e39745ff
AJ
162702012-05-17 Andreas Jaeger <aj@suse.de>
16271
16272 * manual/examples/search.c (critter_cmp): Change signature to
16273 avoid warnings.
16274 * manual/string.texi (Collation Functions): Likewise.
16275
48970aba
L
162762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16277
16278 * bits/types.h: Fold copyright years.
16279 * bits/typesizes.h: Likewise.
16280 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
16281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16282 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
16283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
16284 * time/time.h: Likewise.
16285
bedee953
PP
162862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
16287
16288 [BZ #208]
16289 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
16290 in instead of returning them. Return void.
16291 (__libc_mallinfo): Accumulate over all arenas.
16292 (__malloc_stats): Adjust for change in int_mallinfo interface.
16293
61653dfb
RM
162942012-05-16 Roland McGrath <roland@hack.frob.com>
16295
30b99d79
RM
16296 [BZ #10375]
16297 * configure.in (NM): Add AC_CHECK_TOOL for it.
16298 (libc_extra_cflags): New substituted variable.
16299 Check for -fstack-protector being used implicitly.
16300 * configure: Regenerated.
16301 * config.make.in (config-extra-cflags): New variable,
16302 gets @libc_extra_cflags@.
16303 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
16304
61653dfb
RM
16305 [BZ #10375]
16306 * configure.in: Check for _FORTIFY_SOURCE being predefined.
16307 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
16308 * configure: Regenerated.
16309 * config.make.in (CPPUNDEFS): New substituted variable.
16310 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
16311 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
16312 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
16313
661768bb
L
163142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16315
16316 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
16317 (mq_attr): Use __syscall_slong_t.
16318
d4261567
L
163192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
16322 Check __x86_64__ instead of __WORDSIZE.
16323 (_STAT_VER_LINUX): Likewise.
16324 (stat): Check __x86_64__ instead of __WORDSIZE. Use
16325 __syscall_ulong_t and __syscall_slong_t.
16326 (stat64): Likewise.
16327
cf3ff365
L
163282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16329
16330 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
16331
76cf3e4d
L
163322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16333
16334 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
16335
a637753a
L
163362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16337
16338 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
16339 __syscall_ulong_t.
16340
d5e05119
L
16341 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
16342 include <bits/wordsize.h>. Check __x86_64__ instead of
16343 __WORDSIZE.
16344 (greg_t): Use "__extension__ long long int" if __x86_64__ is
16345 defined.
16346 (mcontext_t): Replace "unsigned long" with "unsigned long long".
16347
f62ee380
L
16348 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
16349 include <bits/wordsize.h>. Check __x86_64__ instead of
16350 __WORDSIZE.
16351 (user_regs_struct): Use "__extension__ unsigned long long"
16352 instead of "unsigned long" if __x86_64__ is defined.
16353 (user): Likewise. Pad after pointer field if __ILP32__ is
16354 defined.
16355
4e124ced
JM
163562012-05-16 Joseph Myers <joseph@codesourcery.com>
16357
6a3951a0
JM
16358 * configure.in (makeinfo): Require version 4.5 or later. Allow
16359 versions 5 to 9.
16360 * configure: Regenerated.
16361 * manual/install.texi (texinfo): Increase version requirement to
16362 4.5 or later.
16363 * INSTALL: Regenerated.
16364
4e124ced
JM
16365 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
16366
953ca31a
L
163672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
16368
16369 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
16370
617aca05
L
16371 * sysdeps/x86_64/x32/ffs.c: New file.
16372
5762f7ae
L
16373 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
16374 __syscall_ulong_t.
16375 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
16376 defined. Use __syscall_ulong_t.
16377 (shminfo): Use __syscall_ulong_t.
16378 (shm_info): Likewise.
16379
a26b6856
L
16380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
16381 __syscall_ulong_t.
16382
cb2b9ef7
L
16383 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
16384 <bits/wordsize.h>.
16385 (msgqnum_t): Use __syscall_ulong_t.
16386 (msglen_t): Likewise.
16387 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
16388 __syscall_ulong_t.
16389
34683bb0
L
16390 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
16391 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16392
84a68786
L
16393 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
16394
48baa5f1
L
16395 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
16396 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
16397
180be88b
L
16398 * sysvipc/sys/msg.h (msgbuf): Replace long int with
16399 __syscall_slong_t.
16400
5e90c8ad
L
16401 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
16402 include <bits/wordsize.h>. Check __x86_64__ instead of
16403 __WORDSIZE.
16404
23dfb58b
L
16405 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
16406 "unsigned long long int" if __x86_64__ is defined.
16407 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
16408
ce5d54b0
L
16409 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
16410 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16411 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
16412
13dc9eac
L
16413 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
16414 <stdint.h>.
16415 (GET_PC): Cast to uintptr_t first.
16416 (GET_FRAME): Likewise.
16417 (GET_STACK): Likewise.
16418
a7895d15
L
16419 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
16420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
16421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
16422 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
16423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
16424 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
16425 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
16426 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
16427 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
16428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
16429 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
16430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
16431 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16432 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
16433 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
16434 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
16435 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
16436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
16437 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
16438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
16439 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
16440 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
16441 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
16442 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
16443 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
16444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
16445 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
16446 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
16447 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
16448
656416c9
AS
164492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
16450
5bd66283
AS
16451 * Makerules (+depfiles): Also collect depfiles from .oS in
16452 $(extra-objs).
16453 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
16454 .oS, $(libnldbl-routines)).
16455
656416c9
AS
16456 * Makerules (native-compile-mkdep-flags): Define.
16457 * sunrpc/Makefile (extra-objs): Add $(addprefix
16458 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
16459 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
16460 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
16461 calling $(make-target-directory).
16462
a46f2169
L
164632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16464
16465 * bits/types.h (__snseconds_t): Removed.
16466 * time/time.h (struct timespec): Replace __snseconds_t with
16467 __syscall_slong_t.
16468 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
16469 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
16470 Likewise.
16471 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16472 (__SNSECONDS_T_TYPE): Likewise.
16473 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16474 (__SNSECONDS_T_TYPE): Likewise.
16475 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16476 (__SNSECONDS_T_TYPE): Likewise.
16477
6af6528b
L
164782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16479
16480 * sysdeps/mach/hurd/bits/typesizes.h
16481 (__SYSCALL_SLONG_TYPE): New macro.
16482 (__SYSCALL_ULONG_TYPE): Likewise.
16483
de986b56
L
164842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 * bits/types.h (__syscall_slong_t): New type.
16487 (__syscall_ulong_t): Likewise.
16488
16489 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
16490 (__SYSCALL_ULONG_TYPE): Likewise.
16491 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16492 (__SYSCALL_SLONG_TYPE): Likewise.
16493 (__SYSCALL_ULONG_TYPE): Likewise.
16494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16495 (__SYSCALL_SLONG_TYPE): Likewise.
16496 (__SYSCALL_ULONG_TYPE): Likewise.
16497 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16498 (__SYSCALL_SLONG_TYPE): Likewise.
16499 (__SYSCALL_ULONG_TYPE): Likewise.
16500
85736dc7
L
165012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16502
16503 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
16504 Add sigaltstack-offsets.sym.
16505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
16506 <sigaltstack-offsets.h>.
16507 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
16508 longjmp_msg pointer.
16509 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
16510 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
16511 signal stack.
16512 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
16513
cc03b296
JM
165142012-05-15 Joseph Myers <joseph@codesourcery.com>
16515
a9538892
JM
16516 * elf/stackguard-macros.h: Remove file.
16517 * sysdeps/generic/stackguard-macros.h: New file.
16518 * sysdeps/i386/stackguard-macros.h: Likewise.
16519 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16520 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16521 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16522 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16523 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16524 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16525 * sysdeps/x86_64/stackguard-macros.h: Likewise.
16526 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
16527 <elf/stackguard-macros.h>.
16528
cc03b296
JM
16529 [BZ #14109]
16530 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
16531 __aligned__ in attribute.
16532 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
16533 (gregset_t): Likewise.
16534
93171016
L
165352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16536
16537 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
16538 * sysdeps/x86_64/64/Implies-after: Here. New file.
16539 * sysdeps/x86_64/x32/Implies-after: New file.
16540
d86813a0
L
165412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16542
16543 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
16544 and access return value for _dl_profile_fixup. Use R10_LP to
16545 load frame size.
16546
2953ec75
L
165472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16548
16549 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
16550
3b550e9e
L
165512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16552
16553 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
16554 * sysdeps/x86_64/x32/sysdep.h: New file.
16555
eda41706
L
165562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16557
16558 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
16559 * sysdeps/x86_64/setjmp.S: Likewise.
16560
9ea01d93
AZ
165612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16562
16563 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
16564 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
16565 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
16566 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
16567 remove unused global constant.
16568
02a91938
CM
165692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
16570
16571 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
16572 include of <not-cancel.h>.
16573
6540185f
RM
165742012-05-15 Roland McGrath <roland@hack.frob.com>
16575
16576 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
16577
509072a0
AJ
165782012-05-15 Jeff Law <law@redhat.com>
16579 Andreas Jaeger <aj@suse.de>
16580
16581 [BZ #13594]
16582 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
16583 out from...
16584 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
16585 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
16586 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
16587 code changing __hst_map_handle.map.
16588
ba75122d
RM
165892012-05-15 Roland McGrath <roland@hack.frob.com>
16590
16591 * configure.in (sysnames): Look for Implies-before and Implies-after
16592 files.
16593 * configure: Regenerated.
16594
890d8bd8
L
165952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
16598 8-byte data alignment with LP_SIZE alignment.
16599
f6ee6623
L
166002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16601
16602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
16603 into R10_LP.
16604
ea2626f6
L
166052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16606
16607 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
16608
085f715e
L
166092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16610
16611 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
16612 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
16613 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
16614 Likewise.
16615 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16616
be8498fc
L
166172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16618
16619 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
16620 (stackinfo_sub_sp): Likewise.
16621
70bc83b9
L
166222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16623
16624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
16625 RAX_LP.
16626
9bc0b730
L
166272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16628
16629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
16630 into R*_LP.
16631
6d2850e7
L
166322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16633
16634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
16635 sizes into R*_LP.
16636
3cb84561
L
166372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16638
16639 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
16640
54e2ed81
L
166412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16642
16643 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
16644 into R11_LP and load __x86_64_shared_cache_size_half into
16645 R8_LP.
16646
8a17f349
L
166472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16648
16649 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
16650 R8_LP.
16651
777b1eea
AZ
166522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16653
16654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
16655 logb for POWER7.
16656 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
16657 logbf for POWER7.
16658 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
16659 logbl for POWER7.
16660 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
16661 powerpc32/power7/fpu/s_logb.c via #include.
16662 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
16663 powerpc32/power7/fpu/s_logbf.c via #include.
16664 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
16665 powerpc32/power7/fpu/s_logbl.c via #include.
16666
d20d4ac2
JM
166672012-05-15 Joseph Myers <joseph@codesourcery.com>
16668
16669 * README.libm: Remove file.
16670
6cdef1ab
L
166712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16672
16673 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
16674 count for x32. Use R*_LP and omit operand-size suffix.
16675
0b254d8f
L
166762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16677
16678 * shlib-versions: Move x86_64-.*-linux.* entries to ...
16679 * sysdeps/x86_64/64/shlib-versions: Here. New file.
16680 * sysdeps/x86_64/x32/shlib-versions: New file.
16681
ceb809dc
RM
166822012-05-14 Roland McGrath <roland@hack.frob.com>
16683
16684 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
16685 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
16686 Use _dl_fatal_printf instead.
16687
37f1abd4
JM
166882012-05-14 Joseph Myers <joseph@codesourcery.com>
16689
16690 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16691 set if not set by the user. Do not allow for being unset.
16692 * sysdeps/unix/sysv/linux/configure: Regenerated.
16693
11de3a33
L
166942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16695
16696 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
16697 the `q' suffix from lea and replace .quad with ASM_ADDR.
16698
e02f153a
L
166992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16700
16701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
16702 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16703 instead of $17.
16704 (PTR_DEMANGLE): Likewise.
16705
520ae0fd
L
167062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16707
16708 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16709 (LP_OP): Likewise.
16710 (ASM_ADDR): Likewise.
16711 (RAX_LP): Likewise.
16712 (RBP_LP): Likewise.
16713 (RBX_LP): Likewise.
16714 (RCX_LP): Likewise.
16715 (RDI_LP): Likewise.
16716 (RSI_LP): Likewise.
16717 (RSP_LP): Likewise.
16718 (R8_LP): Likewise.
16719 (R9_LP): Likewise.
16720 (R10_LP): Likewise.
16721 (R10_LP): Likewise.
16722 (R11_LP): Likewise.
16723 (R12_LP): Likewise.
16724 (R13_LP): Likewise.
16725 (R14_LP): Likewise.
16726 (R15_LP): Likewise.
16727
b985be81
L
167282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16729
16730 * sysdeps/x86_64/x32/dl-machine.h: New file.
16731
6a4888ff
AJ
167322012-05-14 Andreas Jaeger <aj@suse.de>
16733
16734 * manual/Makefile (subdir): Remove export of subdir.
16735 (all): Remove target.
16736 (.PHONY): Remove all from list.
16737 (mkinstalldirs): Remove.
16738 (.PHONY): Remove installdirs from list.
16739 ($(inst_infodir)/libc.info): Use make-target-directory.
16740 (installdirs): Remove.
16741 (subdir_%): Remove.
16742 (glibc-targets): Remove.
16743 (lib): Remove.
16744 (stubs): Remove.
16745 ($(objpfx)stubs ../po/manual.pot): Remove.
16746 ($(objpfx)stamp%): Remove.
16747 (make-target-directory): Remove.
16748 (subdir_install): Remove.
16749 (routines): Remove.
16750 (aux): Remove.
16751 (sources): Remove.
16752 (objects): Remove.
16753 (headers): Remove.
16754
16755 [BZ #13750]
16756 * manual/.gitignore: Remove, it's not needed anymore.
16757 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
16758 all files in it.
16759 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
16760 directory.
16761 (texis): Renamed to $(objpfx)texis.
16762 (texis-path): New, contains path to generated files.
16763 (chapters.%): Use texis-path for complete path, add extra argument
16764 libc-texinfo.sh.
16765 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
16766 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
16767 (summary,texi, stamp-summary): Use complete path of
16768 files. Generate files in build dir.
16769 (dir-add.texi): Build in build dir.
16770 (libm-err.texi,stamp-libm-err): Likewise.
16771 (version.texi, stamp-version): Likewise.
16772 (.%c.texi): Likewise.
16773 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
16774 (mostlyclean): Remove target.
16775 (realclean): Remove target.
16776 (generated): Add new variable with contents from mostlyclean and
16777 realclean, remove entries duplicated in common-mostlyclean, add
16778 stamp-libm-err and stamp-version.
16779 (generated-dirs): Add libc directory.
16780 ($(inst_infodir)/libc.info): Install files from build dir.
16781
16782 * manual/install.texi (Configuring and compiling): Adjust since
16783 the info files are not part of the tar ball anymore.
16784
7ac77294
AJ
167852012-05-14 Andreas Jaeger <aj@suse.de>
16786
16787 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
16788 variable.
16789
ffb7875d
JM
167902012-05-14 Joseph Myers <joseph@codesourcery.com>
16791
16792 [BZ #13717]
16793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16794 to 2.2.0 where earlier.
16795 * sysdeps/unix/sysv/linux/configure: Regenerated.
16796 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
16797 Remove conditional code.
16798 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
16799 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
16800 Remove conditional code.
16801 [!__NR_lchown]: Likewise.
16802 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16803 [__NR_lchown]: Likewise.
16804 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
16805 comment referencing __ASSUME_LCHOWN_SYSCALL.
16806 * sysdeps/unix/sysv/linux/i386/sigaction.c
16807 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16808 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16809 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
16810 Remove conditional code.
16811 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
16812 (__protocol_available): Remove #if 0 code.
16813 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
16814 conditional code.
16815 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
16816 * sysdeps/unix/sysv/linux/kernel-features.h
16817 (__ASSUME_GETCWD_SYSCALL): Don't define.
16818 (__ASSUME_REALTIME_SIGNALS): Likewise.
16819 (__ASSUME_PREAD_SYSCALL): Likewise.
16820 (__ASSUME_PWRITE_SYSCALL): Likewise.
16821 (__ASSUME_POLL_SYSCALL): Likewise.
16822 (__ASSUME_LCHOWN_SYSCALL): Likewise.
16823 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
16824 non-SPARC.
16825 (__ASSUME_SIOCGIFNAME): Don't define.
16826 (__ASSUME_MSG_NOSIGNAL): Likewise.
16827 (__ASSUME_SENDFILE): Define unconditionally.
16828 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
16829 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
16830 conditional code.
16831 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
16832 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
16833 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16834 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16835 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
16836 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
16837 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
16839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
16845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
16851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
16854 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
16855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
16857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
16860 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16861 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16862 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
16863 Remove conditional code.
16864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16865 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16866 Remove conditional code.
16867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16868 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
16869 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
16870 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16871 Remove conditional code.
16872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16873 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
16874 Remove conditional code.
16875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16876 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
16877 Remove conditional code.
16878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16879 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
16880 Remove conditional code.
16881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
16882 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
16883 Remove conditional code.
16884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16885 * sysdeps/unix/sysv/linux/sh/pwrite64.c
16886 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
16887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
16888 * sysdeps/unix/sysv/linux/sigaction.c
16889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16891 * sysdeps/unix/sysv/linux/sigpending.c
16892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16894 * sysdeps/unix/sysv/linux/sigprocmask.c
16895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16897 * sysdeps/unix/sysv/linux/sigsuspend.c
16898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
16899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
16900 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16901 (__libc_missing_rt_sigs): Remove.
16902 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
16903 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
16904 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
16905 Remove conditional code.
16906 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
16907 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
16908 return 1.
16909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
16910 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
16911 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
16912 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
16913
1bfb7291
AJ
169142012-05-14 Andreas Jaeger <aj@suse.de>
16915
caae5a81
AJ
16916 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
16917 it's not used in glibc.
16918 (__coshm1): Likewise.
16919 (__acosh1p): Likewise.
16920 (__sgn): Likewise.
16921
1bfb7291
AJ
16922 * manual/string.texi (Copying and Concatenation): Add missing
16923 variable in concat example.
16924 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16925
c044d724
L
169262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16927
144c5467 16928 [BZ #14103]
c044d724
L
16929 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
16930 __builtin_clzl with __builtin_clzll.
16931
2523c62b
L
169322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
16933
16934 [BZ #14104]
16935 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
16936 libc_freeres_ptr.
16937
d7bb4c42
LD
169382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16939
16940 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
16941 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
16942 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
16943 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
16944
9dc4e1fb
MF
169452012-05-14 Mike Frysinger <vapier@gentoo.org>
16946
16947 * NEWS: Update ia64 info.
16948
c7df0112
AS
169492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
16950
16951 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
16952 used as bcopy.
16953
dc70356c
TS
169542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
16955
16956 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
16957 * sysdeps/unix/syscalls.list (dup3): Likewise.
16958 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
16959 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
16960
9fb1a21f
L
169612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
16964 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
16965
4822a2a5
L
169662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
16967
16968 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
16969 thread pointer.
16970 (TLS_IE): Use mov/add instead of movq/addq to load thread
16971 pointer.
16972 (TLS_GD_PREFIX): New.
16973 (TLS_GD): Use it.
16974
842b81d6
DM
169752012-05-11 David S. Miller <davem@davemloft.net>
16976
16977 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
16978 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
16979 (_FPU_SETCW): Likewise.
16980
1cf463cd
L
169812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
16982
16983 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
16984 is 32-byte aligned.
16985
60cc4a18
AS
169862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
16987
16988 [BZ #11837]
16989 * iconvdata/gb18030.c: Update tables.
16990 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
16991 characters specially.
16992 (BODY for TO_LOOP): Add encoding of missing ranges.
16993
febb44a4
TS
169942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
16995
16996 [BZ #13673]
16997 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
16998 * sysdeps/mach/hurd/dup3.c: Likewise.
16999 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17000 * sysdeps/powerpc/memmove.c:: Likewise.
17001
0a10fb9e
L
170022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17003
17004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17005 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17006
df8a552f
L
170072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17008
17009 * elf/elf.h (R_X86_64_RELATIVE64): New.
17010 (R_X86_64_NUM): Updated.
17011 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17012 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17013 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17014 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17015 tst-quad1pie tst-quad2pie
17016 (modules-names): Add tst-quadmod1 tst-quadmod2.
17017 ($(objpfx)tst-quad1): New dependency.
17018 ($(objpfx)tst-quad2): Likewise.
17019 ($(objpfx)tst-quad1pie): Likewise.
17020 ($(objpfx)tst-quad2pie): Likewise.
17021 * sysdeps/x86_64/tst-quad1.c: New file.
17022 * sysdeps/x86_64/tst-quad1pie.c: New file.
17023 * sysdeps/x86_64/tst-quad2.c: Likewise.
17024 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17025 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17026 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17027 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17028 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17029
f34d6f84
ST
170302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17031
f42d41d1
ST
17032 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17033 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17034 * streams/stropts.h (t_scalar_t): Define type.
17035
3c3571fc
ST
17036 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17037 (_PATH_PRESERVE): Set to "/var/lib".
17038 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17039
61f06bd3
ST
17040 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17041 instead of int.
17042
918d4d71
ST
17043 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17044 if __dir_mkfile succeeded.
17045
f34d6f84
ST
17046 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17047 checking for _hurd_dtablesize. Unlock it right after having
17048 finished _hurd_dtable allocation.
17049
10589b4a
TS
170502012-05-10 Thomas Schwinge <thomas@schwinge.name>
17051
674cdbc7
TS
17052 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17053 * sysdeps/mach/hurd/configure: Regenerated.
17054 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17055 special-casing to...
17056 * sysdeps/gnu/configure.in: ... this new file.
17057 * sysdeps/unix/sysv/linux/configure: Regenerated.
17058 * sysdeps/gnu/configure: New generated file.
17059
8e41b99f
TS
17060 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17061 for Linux: use nsec instead of usec, as well as:
17062 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17063 members of type struct timespec.
17064 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17065 New macros.
17066 (struct stat64): Likewise.
17067 (_STATBUF_ST_NSEC): New macro.
17068 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17069
10589b4a
TS
17070 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17071 __strtoul_internal rather than strtoul.
17072
63643c85
PT
170732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17074
17075 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17076 and reject them.
17077
3faebe6a
ST
170782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17079
17080 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17081 which preserves existing values.
17082 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17083
c6474b07
PT
170842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17085
17086 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17087 TIMEOUT values. Return EINVAL for NFDS values either negative or
17088 greater than FD_SETSIZE.
17089
1043890b
ST
170902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17091
17092 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17093 allocated, call __vm_protect to finish enabling the existing space, and
17094 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17095 allocate the remainder.
17096
37ed8b9b
PT
170972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17098
17099 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17100 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17101
db653660
ST
171022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17103
37ed8b9b
PT
17104 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17105 sysdeps/mach/hurd/readlink.c.
b29d4053 17106
db653660
ST
17107 * posix/tst-sysconf.c (posix_options): Only use
17108 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17109 _POSIX_SYNCHRONIZED_IO when they are defined
17110 * sysdeps/mach/hurd/bits/posix_opt.h:
17111 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17112 (_XOPEN_REALTIME): Undefine macro.
17113 (_XOPEN_REALTIME_THREADS): Undefine macro.
17114 (_XOPEN_SHM): Undefine macro.
17115 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17116 macro to -1.
17117 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17118 macro to -1.
17119 (_POSIX_ASYNC_IO): Undefine macro.
17120 (_POSIX_PRIORITIZED_IO): Undefine macro.
17121 (_POSIX_SPIN_LOCKS): Define macro to -1.
17122
ee16e894
ST
17123 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17124 SA_NODEFER, SA_RESETHAND.
17125 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17126 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17127 F_DUPFD_CLOEXEC.
17128
6103ae3b
TS
171292012-05-10 Thomas Schwinge <thomas@schwinge.name>
17130
17131 * elf/Makefile (pldd-modules): Define unconditionally.
17132
80b4e5f3
TS
171332012-05-10 Thomas Schwinge <thomas@schwinge.name>
17134
17135 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17136
edadcbd6
ST
171372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17138
17139 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17140 Return ENOENT when name is empty.
17141 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17142
80694780
TS
171432012-05-10 Thomas Schwinge <thomas@schwinge.name>
17144
1792c087
TS
17145 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17146
80694780
TS
17147 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17148
6b645f0d
ST
171492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17150
80694780
TS
17151 Fix mlock in all cases except non-readable pages.
17152 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17153 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17154
6b645f0d
ST
17155 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17156 (__mkdir): When path is `/', just fail with EEXIST.
17157 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17158
e468f8a3
TS
171592012-05-10 Thomas Schwinge <thomas@schwinge.name>
17160
17161 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17162 <sys/uio.h> (for writev).
17163 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17164 and <sys/param.h> (for MIN).
17165
a4186cff
PT
171662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17167
17168 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17169 REQUESTED_TIME. Properly set the remaining time and return EINTR
17170 if interrupted.
17171
510bbf14
TS
171722012-05-10 Thomas Schwinge <thomas@schwinge.name>
17173
17174 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17175 Depend on against $(link-rpcuserlibs).
17176
5d5722e8
ST
171772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17178
a4186cff
PT
17179 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17180 (__libc_stack_end): Do not use attribute_relro.
17181 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17182 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17183 to libthread-provided value.
a4186cff
PT
17184 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17185 attribute_relro.
5d5722e8 17186
37233df9
TS
171872012-05-10 Thomas Schwinge <thomas@schwinge.name>
17188
be971a2b
TS
17189 [BZ #3748]
17190 * bits/libc-lock.h (__libc_once_get): New macro.
17191 * sysdeps/mach/bits/libc-lock.h: Likewise.
17192 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17194 instead of using implementation details.
17195
37233df9
TS
17196 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17197 * libio/freopen.c: Likewise.
17198 * libio/freopen64.c: Likewise.
17199 * misc/syslog.c: Likewise.
17200 * nscd/connections.c: Likewise.
17201 * nscd/netgroupcache.c: Likewise.
17202 * sysdeps/posix/getcwd.c: Likewise.
17203
38de94a5
RM
172042012-05-10 Roland McGrath <roland@hack.frob.com>
17205
17206 * math/w_ilogbf.c: Add #include <limits.h>.
17207
67530489
ST
172082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17209
a4186cff 17210 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17211 path instead of returning without unlocking.
17212
67530489
ST
17213 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17214 immediate-write ioctls.
17215 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17216
5aa3a74a
TS
172172012-05-10 Thomas Schwinge <thomas@schwinge.name>
17218
18bad2ae
TS
17219 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17220 __builtin_frame_address instead of making assumptions about the
17221 location of the return address relative to DATA. Force early load of
17222 the return address.
17223 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
17224 __builtin_frame_address.
17225
5aa3a74a
TS
17226 dup3 for GNU Hurd.
17227 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
17228 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
17229 implement dup3 and do some further code clean-ups.
17230 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
17231 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
17232
ecd0de9a
ST
172332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17234
cd9fa985
ST
17235 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
17236
a4186cff
PT
17237 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
17238 HURD_CRITICAL_END around holding _hurd_dtable_lock.
17239 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
17240 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
17241 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
17242 d->port.lock.
802ca5a5 17243
a4186cff
PT
17244 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
17245 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
17246 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 17247
bcf55240
TS
172482012-05-10 Thomas Schwinge <thomas@schwinge.name>
17249
6960eb42
TS
17250 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
17251 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
17252 definitions.
17253
eb43375f
TS
17254 accept4 for GNU Hurd.
17255 * include/sys/socket.h (__libc_accept4): New prototype.
17256 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
17257 to implement __libc_accept4.
17258 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
17259 __libc_accept4.
17260 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
17261
bcf55240
TS
17262 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
17263 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
17264 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
17265 signal-defines.sym.
17266
6178c55b
ST
172672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17268
a4186cff 17269 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 17270
6f080c2f
TS
172712012-05-10 Thomas Schwinge <thomas@schwinge.name>
17272
17273 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
17274 assertion on O_CLOEXEC flag.
17275 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
17276 * hurd/intern-fd.c: Likewise.
17277 * hurd/port2fd.c: Likewise.
17278
bcfe3a54
ST
172792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17280
17281 [BZ #3906]
17282 * bits/in.h (IPV6_PKTINFO): Define new macro.
17283 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
17284
89c9aa49
AZ
172852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17286
17287 [BZ #13954]
17288 [BZ #13955]
17289 [BZ #13956]
17290 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
17291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17292 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17294 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17295 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17296 * math/libm-test.inc (logb_test) : Additional logb tests.
17297
021db4be
AJ
172982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
17299 Andreas Jaeger <aj@suse.de>
17300
17301 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
17302 * configure: Regenerated.
17303 * config.h.in (LINK_OBSOLETE_RPC): New macro.
17304 * config.make.in (link-obsolete-rpc): New substituted variable.
17305 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
17306 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
17307 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17308 (shared-only-routines): Don't set it under [link-obsolete-rpc],
17309 so that libc.a contains the symbols.
17310 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
17311 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
17312 * sunrpc/auth_none.c: Likewise.
17313 * sunrpc/auth_unix.c: Likewise.
17314 * sunrpc/authdes_prot.c: Likewise.
17315 * sunrpc/authuxprot.c: Likewise.
17316 * sunrpc/clnt_gen.c: Likewise.
17317 * sunrpc/clnt_perr.c: Likewise.
17318 * sunrpc/clnt_raw.c: Likewise.
17319 * sunrpc/clnt_simp.c: Likewise.
17320 * sunrpc/clnt_tcp.c: Likewise.
17321 * sunrpc/clnt_udp.c: Likewise.
17322 * sunrpc/clnt_unix.c: Likewise.
17323 * sunrpc/des_crypt.c: Likewise.
17324 * sunrpc/des_soft.c: Likewise.
17325 * sunrpc/get_myaddr.c: Likewise.
17326 * sunrpc/key_call.c: Likewise.
17327 * sunrpc/key_prot.c: Likewise.
17328 * sunrpc/netname.c: Likewise.
17329 * sunrpc/pm_getmaps.c: Likewise.
17330 * sunrpc/pm_getport.c: Likewise.
17331 * sunrpc/pmap_clnt.c: Likewise.
17332 * sunrpc/pmap_prot.c: Likewise.
17333 * sunrpc/pmap_prot2.c: Likewise.
17334 * sunrpc/pmap_rmt.c: Likewise.
17335 * sunrpc/publickey.c: Likewise.
17336 * sunrpc/rpc_cmsg.c: Likewise.
17337 * sunrpc/rpc_common.c: Likewise.
17338 * sunrpc/rpc_dtable.c: Likewise.
17339 * sunrpc/rpc_prot.c: Likewise.
17340 * sunrpc/rpc_thread.c: Likewise.
17341 * sunrpc/rtime.c: Likewise.
17342 * sunrpc/svc.c: Likewise.
17343 * sunrpc/svc_auth.c: Likewise.
17344 * sunrpc/svc_raw.c: Likewise.
17345 * sunrpc/svc_run.c: Likewise.
17346 * sunrpc/svc_tcp.c: Likewise.
17347 * sunrpc/svc_udp.c: Likewise.
17348 * sunrpc/svc_unix.c: Likewise.
17349 * sunrpc/svcauth_des.c: Likewise.
17350 * sunrpc/xcrypt.c: Likewise.
17351 * sunrpc/xdr.c: Likewise.
17352 * sunrpc/xdr_array.c: Likewise.
17353 * sunrpc/xdr_float.c: Likewise.
17354 * sunrpc/xdr_intXX_t.c: Likewise.
17355 * sunrpc/xdr_mem.c: Likewise.
17356 * sunrpc/xdr_rec.c: Likewise.
17357 * sunrpc/xdr_ref.c: Likewise.
17358 * sunrpc/xdr_sizeof.c: Likewise.
17359 * sunrpc/xdr_stdio.c: Likewise.
17360
b5c086a2
RM
173612012-05-10 Roland McGrath <roland@hack.frob.com>
17362
17363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
17364 change. Update copyright years.
17365
6d74dd09
JM
173662012-05-10 Joseph Myers <joseph@codesourcery.com>
17367
17368 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
17369
28e72501
MK
173702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
17371 Joseph Myers <joseph@codesourcery.com>
17372 Paul Pluzhnikov <ppluzhnikov@google.com>
17373
17374 [BZ #14012]
17375 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
17376 requiring rpcgen.
17377 [cross-compiling] (extra-libs): Likewise.
17378 [cross-compiling] (extra-libs-others): Likewise.
17379 [cross-compiling] (librpcsvc-routines): Likewise.
17380 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
17381 [cross-compiling] (omit-deps): Likewise.
17382 (sunrpc-CPPFLAGS): New variable.
17383 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
17384 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
17385 (cross-rpcgen-objs): New variable.
17386 (extra-objs): Append $(cross-rpcgen-objs).
17387 ($(cross-rpcgen-objs)): New rule.
17388 ($(objpfx)cross-rpcgen): Likewise.
17389 (rpcgen-cmd): Define to use $(built-program-file). Expand
17390 comment.
17391 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
17392 ($(objpfx)x%.stmp): Likewise.
17393 * sunrpc/proto.h [IS_IN_build] (_): Define.
17394 [IS_IN_build] (_libc_intl_domainname): Likewise.
17395
c8c59454
L
173962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17397
17398 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
17399 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
17400 and R_X86_64_TPOFF64.
17401
6f27cd16
JM
174022012-05-10 Joseph Myers <joseph@codesourcery.com>
17403
17404 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
17405 sysdeps/unix/sysv/syscalls.list.
17406 (stime): Likewise.
17407 (utime): Likewise.
17408 * sysdeps/unix/sysv/syscalls.list: Remove file.
17409
02467e1c
PE
174102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
17411
17412 [BZ #3440]
17413 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
17414 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
17415 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
17416 (__LC_IDENTIFICATION): Make these macros useful in #if
17417 expressions, as required by C99.
17418
da392631
AS
174192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
17420
17421 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
17422 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
17423 after this.
17424
8115f29b
L
174252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * stdlib/longlong.h: Updated from GCC.
17428
bdd74070
AJ
174292012-05-09 Andreas Jaeger <aj@suse.de>
17430
edfe0dbe
AJ
17431 * nscd/nscd.c (run_modes): Make named enum, reorder so that
17432 default is first entry.
17433 (run_mode): Set type.
17434 (main): Remove informal message about syslog.
17435 (options): Fix typo.
17436
bcfe3a54
ST
17437 [BZ #14053]
17438 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 17439 to asm.
bcfe3a54
ST
17440 (lrint): Likewise.
17441 (llrintf): Likewise.
17442 (llrint): Likewise.
17443 (rint): Likewise.
17444 (rintf): Likewise.
17445 (nearbyint): Likewise.
17446 (nearbyintf): Likewise.
bdd74070 17447
91d8d69e
AJ
174482012-05-09 Andreas Jaeger <aj@suse.de>
17449 Pedro Alves <palves@redhat.com>
17450
17451 * nscd/nscd.c (run_mode): Use enum.
17452 (main): Cleanup coding style issue.
17453
bb90b80b
AJ
174542012-05-09 Alexandre Oliva <aoliva@redhat.com>
17455 Andreas Jaeger <aj@suse.de>
17456
bcfe3a54
ST
17457 * nscd/nscd.c (go_background): Replaced with...
17458 (run_mode): ... this.
bb90b80b 17459 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
17460 (options): Add -F --foreground.
17461 (main): Implement it.
17462 (parse_opt): Parse it.
bb90b80b 17463
1a4b75a1
AJ
174642012-05-09 Andreas Jaeger <aj@suse.de>
17465
17466 [BZ #14083]
17467 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
17468 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
17469 -Wconversion warning.
17470 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
17471 Likewise.
17472
b1cc2472
JM
174732012-05-09 Joseph Myers <joseph@codesourcery.com>
17474
17475 * conform/data/locale.h-data (NULL): Use macro-constant. Require
17476 == 0.
17477 (LC_ALL): Use macro-int-constant.
17478 (LC_COLLATE): Likewise.
17479 (LC_CTYPE): Likewise.
17480 (LC_MESSAGES): Likewise.
17481 (LC_MONETARY): Likewise.
17482 (LC_NUMERIC): Likewise.
17483 (LC_TIME): Likewise.
17484 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
17485 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17487 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17488 Specify type.
17489 [C99-based standards] (float_t): Expect type.
17490 [C99-based standards] (double_t): Expect type.
17491 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
17492 type.
17493 [C99-based standards] (HUGE_VALL): Likewise.
17494 [C99-based standards] (INFINITY): Likewise.
17495 [C99-based standards] (NAN): Likewise.
17496 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
17497 [C99-based standards] (FP_NAN): Likewise.
17498 [C99-based standards] (FP_NORMAL): Likewise.
17499 [C99-based standards] (FP_SUBNORMAL): Likewise.
17500 [C99-based standards] (FP_ZERO): Likewise.
17501 [C99-based standards] (FP_FAST_FMA): Use
17502 optional-macro-int-constant. Specify type. Require == 1.
17503 [C99-based standards] (FP_FAST_FMAF): Likewise.
17504 [C99-based standards] (FP_FAST_FMAL): Likewise.
17505 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
17506 [C99-based standards] (FP_ILOGBNAN): Likewise.
17507 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
17508 Specify type.
17509 [C99-based standards] (MATH_ERREXCEPT): Likewise.
17510 [C99-based standards] (math_errhandling): Specify type.
17511 [ISO99 || ISO11] (signgam): Do not allow.
17512 [non-C99-based standards] (copysignf): Do not allow.
17513 [non-C99-based standards] (exp2f): Likewise.
17514 [non-C99-based standards] (log2f): Likewise.
17515 [non-C99-based standards] (modff): Allow.
17516 [non-C99-based standards] (erff): Do not allow.
17517 [non-C99-based standards] (erfcf): Likewise.
17518 [non-C99-based standards] (gammaf): Likewise.
17519 [non-C99-based standards] (hypotf): Likewise.
17520 [non-C99-based standards] (j0f): Likewise.
17521 [non-C99-based standards] (j1f): Likewise.
17522 [non-C99-based standards] (jnf): Likewise.
17523 [non-C99-based standards] (lgammaf): Likewise.
17524 [non-C99-based standards] (tgammaf): Likewise.
17525 [non-C99-based standards] (y0f): Likewise.
17526 [non-C99-based standards] (y1f): Likewise.
17527 [non-C99-based standards] (ynf): Likewise.
17528 [non-C99-based standards] (isnanf): Likewise.
17529 [non-C99-based standards] (acoshf): Likewise.
17530 [non-C99-based standards] (asinhf): Likewise.
17531 [non-C99-based standards] (atanhf): Likewise.
17532 [non-C99-based standards] (cbrtf): Likewise.
17533 [non-C99-based standards] (expm1f): Likewise.
17534 [non-C99-based standards] (ilogbf): Likewise.
17535 [non-C99-based standards] (log1pf): Likewise.
17536 [non-C99-based standards] (logbf): Likewise.
17537 [non-C99-based standards] (nextafterf): Likewise.
17538 [non-C99-based standards] (remainderf): Likewise.
17539 [non-C99-based standards] (rintf): Likewise.
17540 [non-C99-based standards] (scalbf): Likewise.
17541 [non-C99-based standards] (copysignl): Likewise.
17542 [non-C99-based standards] (exp2l): Likewise.
17543 [non-C99-based standards] (log2l): Likewise.
17544 [non-C99-based standards] (modfl): Allow.
17545 [non-C99-based standards] (erfl): Do not allow.
17546 [non-C99-based standards] (erfcl): Likewise.
17547 [non-C99-based standards] (gammal): Likewise.
17548 [non-C99-based standards] (hypotl): Likewise.
17549 [non-C99-based standards] (j0l): Likewise.
17550 [non-C99-based standards] (j1l): Likewise.
17551 [non-C99-based standards] (jnl): Likewise.
17552 [non-C99-based standards] (lgammal): Likewise.
17553 [non-C99-based standards] (tgammal): Likewise.
17554 [non-C99-based standards] (y0l): Likewise.
17555 [non-C99-based standards] (y1l): Likewise.
17556 [non-C99-based standards] (ynl): Likewise.
17557 [non-C99-based standards] (isnanl): Likewise.
17558 [non-C99-based standards] (acoshl): Likewise.
17559 [non-C99-based standards] (asinhl): Likewise.
17560 [non-C99-based standards] (atanhl): Likewise.
17561 [non-C99-based standards] (cbrtl): Likewise.
17562 [non-C99-based standards] (expm1l): Likewise.
17563 [non-C99-based standards] (ilogbl): Likewise.
17564 [non-C99-based standards] (log1pl): Likewise.
17565 [non-C99-based standards] (logbl): Likewise.
17566 [non-C99-based standards] (nextafterl): Likewise.
17567 [non-C99-based standards] (remainderl): Likewise.
17568 [non-C99-based standards] (rintl): Likewise.
17569 [non-C99-based standards] (scalbl): Likewise.
17570 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17571 [non-C99-based standards] (FP_*): Do not allow.
17572 [C99-based standards] (FP_*): Change to
17573 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
17574 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17575 allow.
17576 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
17577 (SIG_ERR): Likewise.
17578 [X/Open-based standards] (SIG_HOLD): Likewise.
17579 (SIG_IGN): Likewise.
17580 (SIGABRT): Use macro-int-constant. Specify type. Require
17581 positive value.
17582 (SIGFPE): Likewise.
17583 (SIGILL): Likewise.
17584 (SIGINT): Likewise.
17585 (SIGSEGV): Likewise.
17586 (SIGTER): Likewise.
17587 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
17588 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
17589 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
17590 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
17591 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
17592 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
17593 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
17594 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
17595 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
17596 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
17597 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
17598 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
17599 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
17600 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
17601 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
17602 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
17603 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
17604 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
17605 [X/Open-based standards] (SIGTRAP): Likewise.
17606 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
17607 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
17608 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
17609 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
17610 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
17611 allow.
17612
b9f1922d
IW
176132012-05-08 Ian Wienand <ianw@vmware.com>
17614
17615 [BZ #14080]
17616 * time/tzset.c (__tzset_parse_tz): Update default rules for
17617 daylight time changes in the Energy Policy Act of 2005.
17618
1db86e88
AJ
176192012-05-09 Andreas Jaeger <aj@suse.de>
17620
17621 [BZ #13983]
17622 * elf/ldconfig.c (parse_conf): Change string to make clear that
17623 ldconfig only issued a warning if ld.so.conf does not exist.
17624
dee4a4e3
DM
176252012-05-08 David S. Miller <davem@davemloft.net>
17626
ee0db190
DM
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
17628 movxtod instead of popping the value on the stack.
17629
dee4a4e3
DM
17630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17631
6a43ec98
CD
176322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
17633
17634 * config.h.in: Add HAVE_ARM_PCS_VFP.
17635
05c2c961
RMG
176362012-05-08 Roland Mc Grath <roland@hack.frob.com>
17637
bcfe3a54
ST
17638 [BZ #13979]
17639 * include/features.h: Warn if user requests __FORTIFY_SOURCE
17640 checking but the checks are disabled for any reason.
05c2c961 17641
4b30f61a
L
176422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
17643
17644 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
17645 and ELF64_R_TYPE with ELFW(R_TYPE).
17646
eee2bc67
JM
176472012-05-08 Joseph Myers <joseph@codesourcery.com>
17648
7ea5391a
JM
17649 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
17650 (ulimit): Likewise.
17651
eee2bc67
JM
17652 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
17653 (settimeofday): Likewise.
17654
abb66a67
MF
176552012-05-08 Mike Frysinger <vapier@gentoo.org>
17656
17657 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
17658 a struct th_u2 inside the union, and move tu_block/tu_code into
17659 a new th_u3 union of tu_block/tu_code inside of that. Move
17660 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
17661 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
17662 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
17663 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
17664 (th_stuff): Change to th_u1.tu_stuff.
17665 (th_data): Define.
17666 (th_msg): Change to th_u1.th_u2.tu_data.
17667
7f18b530
DM
176682012-05-07 David S. Miller <davem@davemloft.net>
17669
05760585
DM
17670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17671
7f18b530
DM
17672 [BZ #14074]
17673 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
17674 (SETUP_PIC_REG): Use it.
17675 (SETUP_PIC_REG_LEAF): Use it.
17676
495fd99f
JM
176772012-05-07 Joseph Myers <joseph@codesourcery.com>
17678
17679 [BZ #13885]
17680 [BZ #13923]
17681 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17682 USE_AS_EXPM1L.
17683 (EXPL_FINITE): Likewise.
17684 (FLDLOG): Likewise.
17685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17686 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17687 e_expl.S.
17688 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17689 USE_AS_EXPM1L.
17690 (EXPL_FINITE): Likewise.
17691 (FLDLOG): Likewise.
17692 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
17693 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
17694 e_expl.S.
17695 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
17696 test of -max_value argument for long double.
17697 * sysdeps/i386/fpu/libm-test-ulps: Update.
17698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17699
6693d694
DM
177002012-05-06 David S. Miller <davem@davemloft.net>
17701
17702 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
17703 quad soft-float symbols whose references which are compiler
17704 generated.
17705 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17706
6c23e11c
JM
177072012-05-06 Joseph Myers <joseph@codesourcery.com>
17708
d8b82cad
JM
17709 [BZ #13884]
17710 [BZ #13914]
17711 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17712 USE_AS_EXP10L.
17713 (EXPL_FINITE): Likewise.
17714 (FLDLOG): Likewise.
17715 (c0): Likewise.
17716 (c1): Likewise.
17717 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17718 Adjust comments for base varying.
17719 (__expl_finite): Change alias to EXPL_FINITE.
17720 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
17721 e_expl.S.
17722 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
17723 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17725 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
17726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
17727 USE_AS_EXP10L.
17728 (EXPL_FINITE): Likewise.
17729 (FLDLOG): Likewise.
17730 (c0): Likewise.
17731 (c1): Likewise.
17732 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
17733 Adjust comments for base varying.
17734 (__expl_finite): Change alias to EXPL_FINITE.
17735 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
17736 tests for bugs.
17737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17738
6c23e11c
JM
17739 [BZ #14064]
17740 * math/libm-test.inc (check_float_internal): Correct ulp
17741 calculation for subnormal expected results.
17742
29ba805c
AJ
177432012-05-06 Andreas Jaeger <aj@suse.de>
17744
17745 * Makeconfig (+math-flags): New, set to -frounding-math.
17746 (+cflags): Add +math-flags so that all of glibc gets compiled with
17747 it.
17748
17749 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
17750
7b17aeda
JM
177512012-05-05 Joseph Myers <joseph@codesourcery.com>
17752
5779f134
JM
17753 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
17754 Disable one test.
17755
41498f4d
JM
17756 [BZ #13787]
17757 [BZ #13922]
17758 [BZ #14036]
17759 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
17760 (__ieee754_expl): Allow for and saturate large arguments.
17761 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
17762 (u_threshold): Likewise.
17763 (__exp): Call __ieee754_exp before checking for overflow and
17764 underflow.
17765 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
17766 (u_threshold): Likewise.
17767 (__expf): Call __ieee754_expf before checking for overflow and
17768 underflow.
17769 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
17770 (u_threshold): Likewise.
17771 (__expl): Call __ieee754_expl before checking for overflow and
17772 underflow.
17773 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
17774 (__ieee754_expl): Allow for and saturate large arguments.
17775 * math/libm-test.inc (exp_test): Add another test. Do not allow
17776 missing overflow exception on overflow.
17777 (expm1_test): Do not allow missing overflow exception on overflow.
17778
6698b8bf
JM
17779 * sysdeps/i386/fpu/e_expl.c: Move to ...
17780 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
17781 rather than using inline asm.
17782 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
17783 * sysdeps/x86_64/fpu/e_expl.S: Copy from
17784 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
17785
7b17aeda
JM
17786 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
17787 (nice): Likewise.
17788 (poll): Likewise.
17789 (signal): Likewise.
17790 (time): Likewise.
17791 (times): Likewise.
17792
f7c85819
JM
177932012-05-04 Joseph Myers <joseph@codesourcery.com>
17794
17795 * sysdeps/unix/syscalls.list (adjtime): Add entry from
17796 sysdeps/unix/common/syscalls.list.
17797 (fchmod): Likewise.
17798 (fchown): Likewise.
17799 (ftruncate): Likewise.
17800 (getrusage): Likewise.
17801 (gettimeofday): Likewise.
17802 (setpgid): Likewise.
17803 (setregid): Likewise.
17804 (setreuid): Likewise.
17805 (sigaction): Likewise.
17806 (truncate): Likewise.
17807 (vhangup): Likewise.
17808 * sysdeps/unix/common/syscalls.list: Remove file.
17809 * sysdeps/unix/bsd/Implies: Don't include unix/common.
17810 * sysdeps/unix/sysv/linux/Implies: Likewise.
17811
336270d0
L
178122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
17815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
17816 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
17817 Moved to ...
17818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17819 Here.
17820 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
17821 to ...
17822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
17823 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
17824 to ...
17825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
17826 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
17827 to ...
17828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
17829 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
17830 to ...
17831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
17832 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
17833 to ...
17834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
17835 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
17836 to ...
17837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
17838 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
17839 to ...
17840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17841 Here.
17842 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
17843 to ...
17844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
17845 Here.
17846 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
17847 to ...
17848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
17849 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
17850 Moved to ...
17851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
17852 Here.
17853 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
17854 to ...
17855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
17856
d128e450
JM
178572012-05-04 Joseph Myers <joseph@codesourcery.com>
17858
fa8ee516
JM
17859 * sysdeps/unix/common/bits/dirent.h: Remove file.
17860 * sysdeps/unix/common/bits/fcntl.h: Likewise.
17861
d128e450
JM
17862 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
17863 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
17864 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
17865 * sysdeps/unix/bsd/isatty.c: Likewise.
17866 * sysdeps/unix/bsd/tcdrain.c: Likewise.
17867 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
17868 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
17869
ff8faaf0 178702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 17871
62881be4 17872 [BZ #13563]
31dc8730
AZ
17873 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
17874 long double comparison inaccuracies.
17875 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17877
6fef930c
AS
178782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
17879
17880 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
17881 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
17882
8f203e6c
JM
178832012-05-04 Joseph Myers <joseph@codesourcery.com>
17884
17885 [BZ #14049]
17886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
17887 nonzero digits before rounding a hex value.
17888 * stdlib/tst-strtod.c (tests): Add another test.
17889
5197d9c2
AK
178902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17891
17892 * sysdeps/s390/fpu/libm-test-ulps: Update.
17893
f0c1dedf
AJ
178942012-05-03 Andreas Jaeger <aj@suse.de>
17895
17896 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
17897 does not get optimized out.
17898 (malloc_opt_barrier): New.
17899
a65ef2ae 179002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 17901 Roland McGrath <roland@hack.frob.com>
a65ef2ae 17902
2b942cb7 17903 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 17904 intermediate file deletion.
2b942cb7 17905 (generated): Add .symlist files.
a65ef2ae 17906
54b71e02
JM
179072012-05-03 Joseph Myers <joseph@codesourcery.com>
17908
17909 [BZ #13775]
17910 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
17911 Redirect under this condition.
17912 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17913 [__USE_GNU] (__dprintf_chk): Not under this condition.
17914 [__USE_GNU] (__vdprintf_chk): Likewise.
17915 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
17916 under this condition.
17917 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
17918 [__USE_XOPEN2K8] (dprintf): Define under this condition.
17919 [__USE_XOPEN2K8] (vdprintf): Likewise.
17920 [__USE_GNU] (__dprintf_chk): Not under this condition.
17921 [__USE_GNU] (__vdprintf_chk): Likewise.
17922 [__USE_GNU] (dprintf): Likewise.
17923 [__USE_GNU] (vdprintf): Likewise.
17924
d3dfcc41
RM
179252012-05-03 Roland McGrath <roland@hack.frob.com>
17926
17927 * elf/Makefile (common-generated): Set this instead of generated for
17928 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
17929 $(all-built-dso)-derived lists.
17930
7ac30cc5
AJ
179312012-05-03 Andreas Jaeger <aj@suse.de>
17932
0c51e550
AJ
17933 * sysdeps/i386/fpu/libm-test-ulps: Update.
17934
7ac30cc5
AJ
17935 * FAQ: Removed.
17936 * FAQ.in: Likewise.
17937 * scripts/gen-FAQ.pl: Likewise.
17938 * manual/install.texi (Installation): Point to online location of
17939 FAQ.
17940 * Makefile (files-for-dist): Remove FAQ.
17941 (FAQ): Remove.
17942
d4c2917f
AM
179432012-05-02 Allan McRae <allan@archlinux.org>
17944
17945 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
17946 (LDFLAGS-reldepmod5.so): Likewise.
17947 (LDFLAGS-reldep6mod1.so): Likewise.
17948 (LDFLAGS-reldep6mod4.so): Likewise.
17949 (LDFLAGS-reldep8mod3.so): Likewise.
17950 (LDFLAGS-unload4mod1.so): Likewise.
17951 (LDFLAGS-unload4mod2.so): Likewise.
17952 (LDFLAGS-tst-initorder): Likewise.
17953 (LDFLAGS-tst-initordera2.so): Likewise.
17954 (LDFLAGS-tst-initordera3.so): Likewise.
17955 (LDFLAGS-tst-initordera4.so): Likewise.
17956 (LDFLAGS-tst-initorderb2.so): Likewise.
17957 (LDFLAGS-noload): Likewise.
17958 (LDFLAGS-next): Likewise.
17959 (LDFLAGS-order2mod1.so): Likewise.
17960 (LDFLAGS-order2mod2.so): Likewise.
17961 (LDFLAGS-tst-initorder2): Likewise.
17962 (LDFLAGS-tst-initorder2a.so): Likewise.
17963 (LDFLAGS-tst-initorder2b.so): Likewise.
17964 (LDFLAGS-tst-initorder2c.so): Likewise.
17965 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
17966
d77f993f
DM
179672012-05-02 David S. Miller <davem@davemloft.net>
17968
17969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17970
171a70b4
PP
179712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
17972
17973 [BZ #14055]
17974 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
17975
0be196ad
AJ
179762012-05-02 Andreas Jaeger <aj@suse.de>
17977
17978 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
17979 since we manipulate rounding mode.
17980 (CPPFLAGS-test-idouble.c): Likewise.
17981 (CPPFLAGS-test-ifloat.c): Likewise.
17982 (CFLAGS-test-ldouble.c): Likewise.
17983 (CFLAGS-test-double.c): Likewise.
17984 (CFLAGS-test-float.c): Likewise.
17985 (CFLAGS-test-misc.c): Likewise.
17986 (CFLAGS-test-test-fenv.c): Likewise.
17987
4f9d04aa
AZ
179882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17989
2b942cb7
RM
17990 [BZ #2550]
17991 [BZ #2570]
17992 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
17993 comparisons to determine direction to adjust input.
4f9d04aa 17994
82a79e7d
RM
179952012-05-01 Roland McGrath <roland@hack.frob.com>
17996
f5a01ca9
RM
17997 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
17998 output to the target.
17999
90fe4186
RM
18000 * scripts/localplt.awk: New file.
18001 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18002 (check-localplt-CFLAGS): Variable removed.
18003 ($(all-built-dso:=.jmprel)): New static pattern rule.
18004 (generated): Add those targets.
18005 (localplt-built-dso): New variable.
18006 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18007
18008 * elf/check-localplt.c: File removed.
18009
82397ed6
RM
18010 * scripts/check-execstack.awk: New file.
18011 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18012 (check-execstack-CFLAGS): Variable removed.
18013 ($(objpfx)check-execstack.h): Target removed.
18014 ($(objpfx)execstack-default): New target.
18015 (generated): Add that instead of check-execstack.h.
18016 ($(all-built-dso:=.phdr)): New static pattern rule.
18017 (generated): Add those targets.
18018 * elf/check-execstack.c: File removed.
18019
82a79e7d
RM
18020 * scripts/check-textrel.awk: New file.
18021 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18022 (check-textrel-CFLAGS): Variable removed.
18023 (all-built-dso): Use := to define.o
18024 ($(all-built-dso:=.dyn)): New static pattern rule.
18025 (generated): Add those targets.
18026 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18027 * config.make.in (READELF): New substituted variable.
18028 * elf/check-textrel.c: File removed.
18029
62fde54f 180302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18031
615605c9
JM
18032 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18033 allow.
18034 * conform/data/ctype.h-data [C99-based standards] (isblank):
18035 Expect function.
18036 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18037 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18039 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18040 Specify type. Require positive value.
18041 (EILSEQ): Likewise.
18042 (ERANGE): Likewise.
18043 [ISO || POSIX] (EILSEQ): Do not expect.
18044 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18045 Specify type. Require positive value.
18046 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18047 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18048 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18049 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18050 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18051 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18052 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18053 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18054 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18055 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18056 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18057 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18058 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18059 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18060 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18061 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18062 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18063 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18064 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18065 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18066 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18067 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18068 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18069 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18070 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18071 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18072 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18073 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18074 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18075 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18076 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18077 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18078 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18079 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18080 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18081 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18082 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18083 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18084 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18085 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18086 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18087 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18088 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18089 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18090 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18091 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18092 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18093 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18094 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18095 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18096 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18097 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18098 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18099 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18100 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18101 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18102 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18103 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18104 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18105 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18106 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18107 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18108 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18109 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18110 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18111 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18112 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18113 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18114 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18115 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18116 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18117 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18118 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18119 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18120 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18121 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18122 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18123 Require >= 2.
18124 (FLT_ROUNDS): Expect as macro, not constant.
18125 (FLT_MANT_DIG): Use macro-int-constant.
18126 (DBL_MANT_DIG): Likewise.
18127 (LDBL_MANT_DIG): Likewise.
18128 (FLT_DIG): Likewise.
18129 (DBL_DIG): Likewise.
18130 (LDBL_DIG): Likewise.
18131 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18132 (DBL_MIN_EXP): Likewise.
18133 (LDBL_MIN_EXP): Likewise.
18134 (FLT_MAX_EXP): Use macro-int-constant.
18135 (DBL_MAX_EXP): Likewise.
18136 (LDBL_MAX_EXP): Likewise.
18137 (FLT_MAX_10_EXP): Likewise.
18138 (DBL_MAX_10_EXP): Likewise.
18139 (LDBL_MAX_10_EXP): Likewise.
18140 (FLT_MAX): Use macro-constant.
18141 (DBL_MAX): Likewise.
18142 (LDBL_MAX): Likewise.
18143 (FLT_EPSILON): Use macro-constant. Give upper bound.
18144 (DBL_EPSILON): Likewise.
18145 (LDBL_EPSILON): Likewise.
18146 (FLT_MIN): Likewise.
18147 (DBL_MIN): Likewise.
18148 (LDBL_MIN): Likewise.
18149 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18150 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18151 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18152 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18153 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18154 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18155 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18156 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18157 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18158 [ISO11] (FLT_TRUE_MIN): Likewise.
18159 [ISO11] (LDBL_TRUE_MIN): Likewise.
18160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18161 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18162 (SCHAR_MIN): Use macro-int-constant. Specify type.
18163 (SCHAR_MAX): Likewise.
18164 (UCHAR_MAX): Likewise.
18165 (CHAR_MIN): Likewise.
18166 (CHAR_MAX): Likewise.
18167 (MB_LEN_MAX): Use macro-int-constant.
18168 (SHRT_MIN): Use macro-int-constant. Specify type.
18169 (SHRT_MAX): Likewise.
18170 (USHRT_MAX): Likewise.
18171 (INT_MAX): Likewise.
18172 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18173 bound negative.
18174 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18175 bound with "U".
18176 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18177 bound with "L".
18178 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18179 bound negative. Suffix upper bound with "L".
18180 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18181 bound with "UL".
18182 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18183 Specify type.
18184 [C99-based standards] (LLONG_MAX): Likewise.
18185 [C99-based standards] (ULLONG_MAX): Likewise.
18186 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18187 == 0.
18188 [ISO11] (max_align_t): Require type.
18189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18190
c9140a62
JM
18191 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18192 from $CFLAGS, without defining away __attribute__ calls.
18193 (checknamespace): Use $CFLAGS_namespace.
18194
9af0bf29
JM
18195 * conform/conformtest.pl (@keywords): Only include C99 keywords
18196 for standards based on C99 or C11.
18197
343222a2
JM
18198 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18199 Disable tests.
18200 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18201 UNIX98]: Likewise.
18202
661f8cf0
JM
18203 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18204 usability of symbols in #if.
18205
ee74b9cb
JM
18206 * conform/conformtest.pl: If macro or constant types start
18207 "promoted:", expect the symbol to be of the following type
18208 promoted by the integer promotions.
62fde54f 18209
aafc49b3
JM
18210 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18211 in one place. Also handle "macro-constant".
18212
fefdf574
JM
18213 * conform/conformtest.pl: Only accept expected macro values with
18214 "==". Parse all "macro" lines in one place.
18215 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18216
f2d922fe
JM
18217 * conform/conformtest.pl: Handle braced types on "constant" lines
18218 instead of handling "typed-constant".
18219 * conform/data/signal.h-data: Use "constant" instead of
18220 "typed-constant".
18221
d22956c9
JM
18222 * conform/conformtest.pl: Handle "optional-" at start of lines in
18223 one place rather than duplicating several cases. Handle each
18224 format of "macro" line with initial "optional-".
18225
028e2e38
JM
18226 * conform/conformtest.pl: Only accept expected constant or
18227 optional-constant values with "==". Parse all "constant" lines in
18228 one place. Parse all "optional-constant" lines in one place.
18229 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
18230 * conform/data/fmtmsg.h-data: Likewise.
18231 * conform/data/netinet/in.h-data: Likewise.
18232 * conform/data/tar.h-data: Likewise.
18233 * conform/data/limits.h-data: Use "==" form on "constant" and
18234 "optional-constant" lines.
18235
1b8f2850
JM
18236 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
18237 Use -std=c99 for XOPEN2K.
18238 (@knownproblems): Remove.
18239 (newtoken): Don't check %isknown.
18240
a05a144b
JM
18241 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
18242 Do not expect macro.
18243 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
18244 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
18245 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
18246 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
18247 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
18248 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
18249 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
18250 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
18251 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
18252 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
18253 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
18254 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
18255 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
18256 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
18257 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
18258 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
18259 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
18260 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
18261 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
18262 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
18263 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
18264 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
18265 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
18266 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
18267 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
18268 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
18269 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
18270 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
18271 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
18272 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
18273 [XPG3] (acosh): Likewise.
18274 [XPG3] (asinh): Likewise.
18275 [XPG3] (atanh): Likewise.
18276 [XPG3] (cbrt): Likewise.
18277 [XPG3] (expm1): Likewise.
18278 [XPG3] (ilogb): Likewise.
18279 [XPG3] (log1p): Likewise.
18280 [XPG3] (logb): Likewise.
18281 [XPG3] (nextafter): Likewise.
18282 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
18283 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
18284 [XPG3] (remainder): Likewise.
18285 [XPG3] (rint): Likewise.
18286 [XPG3 || XPG4 || UNIX98] (round): Likewise.
18287 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
18288 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
18289 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
18290 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
18291 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
18292 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
18293 [UNIX98 || XOPEN2K] (scalb): Expect.
18294 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
18295 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
18296 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
18297 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
18298 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
18299 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
18300 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
18301 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
18302 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
18303 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
18304 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
18305 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
18306 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
18307 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
18308 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
18309 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
18310 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
18311 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
18312 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
18313 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
18314 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
18315 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
18316 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
18317 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
18318 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
18319 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
18320 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
18321 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
18322 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
18323 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
18324 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
18325 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
18326 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
18327 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
18328 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
18329 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
18330 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
18331 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
18332 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
18333 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
18334 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
18335 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
18336 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
18337 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
18338 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
18339 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
18340 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
18341 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
18342 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
18343 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
18344 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
18345 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
18346 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
18347 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
18348 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
18349 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
18350 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
18351 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
18352 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
18353 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
18354 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
18355 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
18356 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
18357 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
18358 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
18359 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
18360 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
18361 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
18362 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
18363 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
18364 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
18365 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
18366 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
18367 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
18368 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
18369 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
18370 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
18371 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
18372 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
18373 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
18374 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
18375 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
18376 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
18377 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
18378 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
18379 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
18380 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
18381 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
18382 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
18383 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
18384 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
18385 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
18386 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
18387 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
18388 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
18389 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
18390 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
18391 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
18392 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
18393 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
18394 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
18395 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
18396 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
18397 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
18398 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
18399 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
18400 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
18401 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
18402 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
18403 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
18404 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
18405 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
18406 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
18407 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
18408 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
18409 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
18410 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
18411 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
18412 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
18413 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
18414 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
18415 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
18416 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
18417 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
18418 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
18419 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
18420 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
18421 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
18422 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
18423 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
18424 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
18425 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
18426 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
18427 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
18428 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
18429 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
18430 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
18431
73c5ebe3
JM
18432 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
18433 _XOPEN_SOURCE_EXTENDED for XPG4.
18434
39c33b6c
JM
18435 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
18436
62fde54f
JM
18437 * Makeconfig (localtime): Remove variable.
18438 (inst_localtime-file): Likewise.
18439
0741d64c
AS
184402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18441
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18443 Update.
18444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18445 Update.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18447 Update.
18448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18449 Update.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18451 Update.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
18453 Update.
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18455 Update.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
18457 Update.
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18459 Update.
18460
7cb029ee
JM
184612012-05-01 Joseph Myers <joseph@codesourcery.com>
18462
18463 [BZ #2550]
18464 [BZ #2570]
18465 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
18466 comparisons to determine direction to adjust input.
18467 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18468 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
18469 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18470 Likewise.
18471 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18472 Likewise.
18473 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18474 Likewise.
18475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18477 Likewise.
18478 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18479 Likewise.
18480 * math/libm-test.inc (nexttoward_test): Add more tests.
18481
412bd966
AS
184822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
18483
18484 [BZ #14040]
18485 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
18486 in version GLIBC_2.1, not GLIBC_2.0.
18487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
18488 Likewise.
18489
9568c0c2
JM
184902012-04-30 Joseph Myers <joseph@codesourcery.com>
18491
adfbc8ac
JM
18492 [BZ #13942]
18493 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
18494 (1 - x) * (1 + x).
18495 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18496 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
18497 * math/libm-test.inc (acos_test): Add more tests.
18498 (asin_test): Likewise.
18499 * sysdeps/i386/fpu/libm-test-ulps: Update.
18500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18501
5ba3cc69
JM
18502 [BZ #14034]
18503 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
18504 of square root.
18505 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
18506 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
18507 * math/libm-test.inc (acos_test_tonearest): New function.
18508 (acos_test_towardzero): Likewise.
18509 (acos_test_downward): Likewise.
18510 (acos_test_upward): Likewise.
18511 (asin_test_tonearest): Likewise.
18512 (asin_test_towardzero): Likewise.
18513 (asin_test_downward): Likewise.
18514 (asin_test_upward): Likewise.
18515 (main): Call the new functions.
18516 * sysdeps/i386/fpu/libm-test-ulps: Update.
18517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18518
9568c0c2
JM
18519 [BZ #13884]
18520 [BZ #13924]
18521 * math/e_exp10.c: Include <float.h>.
18522 (__ieee754_exp10): Handle underflow here rather than multiplying
18523 large negative argument by M_LN10.
18524 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
18525 of __ieee754_expf.
18526 * math/e_exp10l.c: Include <float.h>.
18527 (__ieee754_exp10l): Handle underflow here rather than multiplying
18528 large negative argument by M_LN10l.
18529 * math/libm-test.inc (exp10_test): Add another test. Do not allow
18530 spurious overflow exception on underflow.
18531
5ac3ea17
MP
185322012-04-29 Marek Polacek <polacek@redhat.com>
18533
18534 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
18535 (__fortify_function): New macro.
18536 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
18537 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
18538 __extern_always_inline.
18539 * libio/bits/stdio2.h: Likewise.
18540 * libio/bits/stdio.h: Likewise.
18541 * string/string.h: Likewise.
18542 * string/bits/string3.h: Likewise.
18543 * include/stdio.h: Likewise.
18544 * stdlib/bits/stdlib.h: Likewise.
18545 * stdlib/stdlib.h: Likewise.
18546 * rt/bits/mqueue2.h: Likewise.
18547 * rt/mqueue.h: Likewise.
18548 * posix/bits/unistd.h: Likewise.
18549 * posix/unistd.h: Likewise.
18550 * io/bits/poll2.h: Likewise.
18551 * io/bits/fcntl2.h: Likewise.
18552 * io/fcntl.h: Likewise.
18553 * io/sys/poll.h: Likewise.
18554 * misc/bits/syslog.h: Likewise.
18555 * misc/bits/syslog-ldbl.h: Likewise.
18556 * misc/sys/syslog.h: Likewise.
18557 * socket/bits/socket2.h: Likewise.
18558 * socket/sys/socket.h: Likewise.
18559 * debug/tst-chk1.c: Likewise.
18560 * wcsmbs/bits/wchar2.h: Likewise.
18561 * wcsmbs/bits/wchar-ldbl.h: Likewise.
18562 * wcsmbs/wchar.h: Likewise.
18563
ecf0ebfb
AJ
185642012-04-29 Andreas Jaeger <aj@suse.de>
18565
18566 * Makerules (tests): Remove enable-check-abi protection.
18567 (check-abi-warn): Remove.
18568 (check-abi-%): Remove check-abi-warn usage.
18569
18570 * configure.in: Remove check-abi configure option.
18571 * configure: Regenerated.
18572 * config.make.in (enable-check-abi): Remove.
18573
6d5c57fa
AS
185742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
18575
24c5d07e 18576 [BZ #14033]
ded5180a
AS
18577 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
18578 double functions to double *_finite functions.
18579
7e0d315d
AS
18580 [BZ #13941]
18581 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
18582 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
18583 LDBL_MIN_EXP.
18584 * stdio-common/Makefile (tests): Add tst-sprintf3.
18585 * stdio-common/tst-sprintf3.c: New file.
18586
6d5c57fa
AS
18587 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
18588 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
18589
0749ff8b
JM
185902012-04-28 Joseph Myers <joseph@codesourcery.com>
18591
18592 * conform/conformtest.pl: Remove duplicate typed-constant
18593 handling.
18594
8dbd5d7b
DM
185952012-04-28 David S. Miller <davem@davemloft.net>
18596
18597 * Makerules (%.abilist): Add vpath on sysdep_dirs.
18598 (check-abi-%): Remove AWK script prerequisite and explicit
18599 abilist directory.
18600 (check-abi): Rewrite to just diff the symlist with the abilist.
18601 (config-tls, config-abi-config): Delete, no longer used.
18602 (update-abi-%): Remove AWK script and explicit abilist directory.
18603 (update-abi): Rewrite to simply compare and conditionally copy the
18604 symlist and the sysdep abilist file. Remove update-abi-config
18605 checks.
18606 * abilist/ld.abilist: Remove.
18607 * abilist/libBrokenLocale.abilist: Remove.
18608 * abilist/libanl.abilist: Remove.
18609 * abilist/libcrypt.abilist: Remove.
18610 * abilist/libdl.abilist: Remove.
18611 * abilist/librt.abilist: Remove.
18612 * abilist/libthread_db.abilist: Remove.
18613 * abilist/libutil.abilist: Remove.
18614 * scripts/extract-abilist.awk: Remove.
18615 * scripts/merge-abilist.awk: Remove.
18616 * sysdeps/generic/libcidn.abilist: New file.
18617 * sysdeps/generic/libnss_compat.abilist: New file.
18618 * sysdeps/generic/libnss_db.abilist: New file.
18619 * sysdeps/generic/libnss_dns.abilist: New file.
18620 * sysdeps/generic/libnss_files.abilist: New file.
18621 * sysdeps/generic/libnss_hesiod.abilist: New file.
18622 * sysdeps/generic/libnss_nis.abilist: New file.
18623 * sysdeps/generic/libnss_nisplus.abilist: New file.
18624 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
18625 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
18626 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
18627 file.
18628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
18629 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
18630 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
18631 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
18632 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
18633 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
18634 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
18635 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
18636 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
18637 file.
18638 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
18639 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
18640 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
18641 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
18642 file.
18643 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
18644 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
18645 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
18646 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
18647 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
18648 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
18649 file.
18650 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
18651 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
18652 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
18653 file.
18654 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
18655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
18656 New file.
18657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
18658 New file.
18659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
18660 New file.
18661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
18662 New file.
18663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
18664 New file.
18665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
18666 New file.
18667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
18668 New file.
18669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
18670 New file.
18671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
18672 New file.
18673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
18674 New file.
18675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
18676 New file.
18677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
18678 New file.
18679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
18680 New file.
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
18682 file.
18683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18684 New file.
18685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18686 New file.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
18688 file.
18689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18690 New file.
18691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18692 New file.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
18694 file.
18695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18696 New file.
18697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18698 New file.
18699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18700 New file.
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18702 New file.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18704 New file.
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18706 New file.
18707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
18708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
18709 file.
18710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
18711 New file.
18712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
18713 file.
18714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
18715 file.
18716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
18717 file.
18718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
18719 file.
18720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
18721 file.
18722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18723 New file.
18724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
18725 file.
18726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
18727 file.
18728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
18729 New file.
18730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
18731 file.
18732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
18733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
18734 file.
18735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
18736 New file.
18737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
18738 file.
18739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
18740 file.
18741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
18742 file.
18743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
18744 file.
18745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
18746 file.
18747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18748 New file.
18749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
18750 file.
18751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
18752 file.
18753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
18754 New file.
18755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
18756 file.
18757 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18758 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
18759 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
18760 file.
18761 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
18762 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
18763 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
18764 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
18765 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
18766 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
18767 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
18768 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
18769 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
18770 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
18771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
18772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
18773 file.
18774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18775 New file.
18776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
18777 file.
18778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
18779 file.
18780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
18781 file.
18782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
18783 file.
18784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
18785 file.
18786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18787 New file.
18788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18789 New file.
18790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
18791 file.
18792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18793 New file.
18794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
18795 file.
18796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
18797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
18798 file.
18799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18800 New file.
18801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
18802 file.
18803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
18804 file.
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
18806 file.
18807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
18808 file.
18809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
18810 file.
18811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18812 New file.
18813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18814 New file.
18815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
18816 file.
18817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18818 New file.
18819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
18820 file.
18821
41d73a1b
JM
188222012-04-28 Joseph Myers <joseph@codesourcery.com>
18823
18824 * conform/conformtest.pl: Fix typo in handling typed-constant from
18825 allow-header.
18826
28aeeda4
JM
188272012-04-27 Joseph Myers <joseph@codesourcery.com>
18828
adae8f5e
JM
18829 * README: Cut down references to pre-2.6 Linux kernels and
18830 Linuxthreads. Update lists of configurations in libc and ports
18831 and sort alphabetically. Say "or newer" with Linux kernel version
18832 requirements.
18833
28aeeda4
JM
18834 * config.h.in [IS_IN_build]: Allow compiling without optimization.
18835
a462cb63
RA
188362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18837
18838 [BZ #887]
18839 * math/libm-test.inc (logb_test_downward): New test to expose
18840 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
18841 rounding mode.
18842
6ad3493e
JM
188432012-04-27 Joseph Myers <joseph@codesourcery.com>
18844
18845 [BZ #14027]
18846 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
18847 to be done.
18848 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
18849 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
18850
2ce4f015
JM
188512012-04-26 Joseph Myers <joseph@codesourcery.com>
18852
5aeb141a
JM
18853 * sysdeps/unix/i386/brk.S: Remove file.
18854 * sysdeps/unix/i386/dl-brk.S: Likewise.
18855 * sysdeps/unix/i386/pipe.S: Likewise.
18856 * sysdeps/unix/i386/sigreturn.S: Likewise.
18857 * sysdeps/unix/i386/syscall.S: Likewise.
18858 * sysdeps/unix/i386/vfork.S: Likewise.
18859 * sysdeps/unix/i386/wait.S: Likewise.
18860
7143acae
JM
18861 * sysdeps/unix/common/tcsendbrk.c: Move to ...
18862 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
18863
2ce4f015
JM
18864 * configure.in (arm*-none*): Do not allow without
18865 --enable-hacker-mode.
18866 (netbsd*): Remove case setting base_os.
18867 (386bsd*): Likewise.
18868 (freebsd*): Likewise.
18869 (bsdi*): Likewise.
18870 (osf*): Likewise.
18871 (sunos*): Likewise.
18872 (ultrix*): Likewise.
18873 (newsos*): Likewise.
18874 (dynix*): Likewise.
18875 (*bsd*): Likewise.
18876 (sysv*): Likewise.
18877 (isc*): Likewise.
18878 (esix*): Likewise.
18879 (sco*): Likewise.
18880 (minix*): Likewise.
18881 (irix4*): Likewise.
18882 (irix6*): Likewise.
18883 (solaris[2-9]*): Likewise.
18884 (none): Likewise.
18885 * configure: Regenerated.
18886
0ac229c8
AZ
188872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18888
18889 [BZ #11521]
18890 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
18891 overflow or cancellation in calculating denominator.
18892 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
18894 down expression to avoid unexpected rounding in newer GCCs.
18895 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
18896
33f244f4
DM
188972012-04-26 David S. Miller <davem@davemloft.net>
18898
18899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
18900 long-double compat symbols.
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
18905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
18909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18914
cfa1f3e8
DM
189152012-04-25 David S. Miller <davem@davemloft.net>
18916
18917 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
18918 HWCAP_* values only after the memory barriers have been defined.
18919 (atomic_full_barrier): Define.
18920 (atomic_read_barrier): Define.
18921 (atomic_write_barrier): Define.
18922
6e236b92
SP
189232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18924
18925 * shlib-versions: Add libgcc_s version information.
18926 * sysdeps/generic/libgcc_s.h: Remove.
18927 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
18928 libgcc_s.h.
18929 * sysdeps/gnu/unwind-resume.c: Likewise.
18930 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
18931
aab39a09
DM
189322012-04-25 David S. Miller <davem@davemloft.net>
18933
18934 * sysdeps/unix/sparc/brk.S: Delete.
18935 * sysdeps/unix/sparc/dl-brk.S: Delete.
18936 * sysdeps/unix/sparc/pipe.S: Delete.
18937 * sysdeps/unix/sparc/sysdep.S: Delete.
18938 * sysdeps/unix/sparc/sysdep.h: Delete.
18939 * sysdeps/unix/sparc/vfork.S: Delete.
18940 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
18941 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
18942 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
18943 ret_ERRVAL, r0, r1, MOVE): Define.
18944 (JUMPTARGET): Remove.
18945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
18946 sysdeps/unix/sparc/sysdep.h
18947 (ENTRY, END): Remove.
18948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18949
a3cc4f48
JM
189502012-04-25 Joseph Myers <joseph@codesourcery.com>
18951
2ed8cda2
JM
18952 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
18953 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
18954 -DIS_IN_build.
18955
35d76d59
JM
18956 * timezone/README: Update upstream location and email address for
18957 tzcode and tzdata.
18958 * timezone/zdump.c: Update from tzcode 2012b.
18959 * timezone/zic.c: Likewise.
18960
a3cc4f48
JM
18961 * configure.in (libc_cv_as_needed): Remove test.
18962 * configure: Regenerated.
18963 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
18964 conditional definition.
18965 [$(have-as-needed) != yes] (no-as-needed): Likewise.
18966 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
18967 * config.make.in (have-as-needed): Remove variable.
18968
ceab42c3
SP
189692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18970 Paul Pluzhnikov <ppluzhnikov@google.com>
18971
18972 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
18973 strings correctly.
18974
3ce2865f
CLT
189752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
18976
18977 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
18978 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
18979 * sysdeps/sh/strlen.S: Likewise.
18980
f37e0d68
JM
189812012-04-24 Joseph Myers <joseph@codesourcery.com>
18982
ae186e9a
JM
18983 * sysdeps/unix/fork.S: Remove file.
18984 * sysdeps/unix/i386/fork.S: Likewise.
18985 * sysdeps/unix/sparc/fork.S: Likewise.
18986
b96914af
JM
18987 * sysdeps/unix/system.c: Remove file.
18988 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
18989
f37e0d68
JM
18990 * sysdeps/unix/getegid.S: Remove file.
18991 * sysdeps/unix/geteuid.S: Likewise.
18992
87ef29ca
RM
189932012-04-24 Roland McGrath <roland@hack.frob.com>
18994
83bcd236
RM
18995 * scripts/check-localplt.awk: New file.
18996 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
18997 of diff.
18998 * scripts/data/localplt-generic.data: Add a comment.
18999
87ef29ca
RM
19000 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19001 NODE when __dir_mkfile failed.
19002 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19003 Reported by Ludovic Courtès <ludo@gnu.org>.
19004
e5a6e567
AJ
190052012-04-24 Andreas Jaeger <aj@suse.de>
19006
19007 * Makerules (common-clean): Also remove gen-as-const-headers
19008 files.
19009
c1820385
JM
190102012-04-24 Joseph Myers <joseph@codesourcery.com>
19011
19012 * Makerules (native-compile): Do not change working directory for
19013 build. Use $(OUTPUT_OPTION) in command.
19014 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19015
94e02fc4
AZ
190162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19017
19018 [BZ #13886]
19019 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19020 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19021 * math/libm-test.inc (floor_test): Add more tests.
19022 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19023
3a533ca3
JM
190242012-04-24 Joseph Myers <joseph@codesourcery.com>
19025
940ab4b3
JM
19026 * sysdeps/unix/getdents.c: Remove file.
19027 * sysdeps/unix/sysv/getdents.c: Likewise.
19028 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19029
90e037bd
JM
19030 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19031 sysdeps/unix/mman/syscalls.list.
19032 (mmap): Likewise.
19033 (mprotect): Likewise.
19034 (msync): Likewise.
19035 (munmap): Likewise.
19036 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19037 * sysdeps/unix/mman/syscalls.list: Remove.
19038 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19039
3a533ca3
JM
19040 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19041 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19042 * configure: Regenerated.
19043 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19044 $(libgcc_s_suffix).
19045 * config.make.in (libgcc_s_suffix): Remove variable.
19046
1ad743de
JM
190472012-04-23 Joseph Myers <joseph@codesourcery.com>
19048
4ad451e2
JM
19049 * sysdeps/unix/sysv/gethostname.c: Move to ...
19050 * sysdeps/posix/gethostname.c: ... here.
19051
5e37ce39
JM
19052 * sysdeps/unix/execve.S: Remove file.
19053
1ad743de
JM
19054 * sysdeps/unix/_exit.S: Remove file.
19055
4e681b5b
AJ
190562012-04-23 Andreas Jaeger <aj@suse.de>
19057
19058 [BZ #13739]
19059 * manual/Makefile: Remove make dist support, there's no
19060 need for a stand-alone documentation tar ball.
19061 (TEXI2DVI): Define always, it's not in Makeconfig.
19062 (dist): Removed.
19063 (tar-it): Removed.
19064 (edition): Removed.
19065 (glibc-doc-$(edition).tar): Removed
19066 (%.Z): Removed.
19067 (%.gz): Removed.
19068 (%.uu): Removed.
19069 (ETAGS): Remove, it's in Makeconfig.
19070 (move-if-change): Remove, it's in Makeconfig.
19071
38686a03 190722012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19073
19074 [BZ #13970]
19075 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19076 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19077 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19078 (strtod_l, strtof_l, strtold_l): Remove __wur.
19079 It is not necessarily an error to ignore strtol's return value.
19080 One can reliably look at the stored endptr to decide whether
19081 the number had valid syntax.
19082
7c0616fa
AJ
190832012-04-21 Andreas Jaeger <aj@suse.de>
19084
803cb6b7 19085 [BZ #13739]
7c0616fa
AJ
19086 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19087
b0fe253f
JM
190882012-04-21 Joseph Myers <joseph@codesourcery.com>
19089
19090 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19091 * sysdeps/unix/sysv/Versions: Remove file.
19092
8280f22d
MT
190932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19094
19095 [BZ #13927]
19096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19097
75ce411f 190982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19099
19100 [BZ #7064]
19101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19102 version from __vm86.
19103
097d59fa
JM
191042012-04-20 Joseph Myers <joseph@codesourcery.com>
19105
a90f3bcb
JM
19106 * sysdeps/unix/common/lxstat.c: Remove file.
19107 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19108
edc7ea78
JM
19109 * sysdeps/unix/sysv/Makefile: Remove file.
19110
cb78c221
JM
19111 * sysdeps/unix/sysv/direct.h: Remove file.
19112
efa6a45f
JM
19113 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19114 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19115 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19116 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19117 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19118 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19119 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19120
9c9f2d0c
JM
19121 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19122
4541c83b
JM
19123 * sysdeps/unix/xmknod.c: Remove file.
19124 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19125
f5d153a0
JM
19126 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19127
aa746595
JM
19128 * sysdeps/unix/sysv/i386/time.S: Remove file.
19129
cce5905e
JM
19130 * sysdeps/unix/fxstat.c: Remove file.
19131 * sysdeps/unix/xstat.c: Likewise.
19132 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19133
37fa3841
JM
19134 * sysdeps/unix/sysv/sigaction.c: Remove file.
19135
ff1962a3
JM
19136 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19137 (sysdep_headers): Remove variable.
19138 [termio.h not in sysdep_headers] (generated): Likewise.
19139 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19140 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19141 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19142 * sysdeps/unix/sysv/tcflow.c: Likewise.
19143 * sysdeps/unix/sysv/tcflush.c: Likewise.
19144 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19145 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19146 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19147 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19148 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19149
e7740d31
JM
19150 * sysdeps/unix/siglist.c: Remove file.
19151
ee06f18b
JM
19152 * sysdeps/unix/getppid.S: Remove file.
19153
097d59fa
JM
19154 * sysdeps/unix/mkdir.c: Remove file.
19155 * sysdeps/unix/rmdir.c: Likewise.
19156
ff3d51ec
AS
191572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19158
19159 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19160 ERR_MAX value.
19161 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19162 errlist-compat value.
19163
50f81fd7
DM
191642012-04-18 David S. Miller <davem@davemloft.net>
19165
19166 * sysdeps/generic/memcopy.h (reg_char): Delete.
19167 * debug/strcat_chk.c: Use char, not reg_char.
19168 * debug/strcpy_chk.c: Likewise.
19169 * debug/strncat_chk.c: Likewise.
19170 * debug/strncpy_chk.c: Likewise.
19171 * string/memchr.c: Likewise.
19172 * string/memrchr.c: Likewise.
19173 * string/rawmemchr.c: Likewise.
19174 * string/strcat.c: Likewise.
19175 * string/strchr.c: Likewise.
19176 * string/strchrnul.c: Likewise.
19177 * string/strcmp.c: Likewise.
19178 * string/strcpy.c: Likewise.
19179 * string/strncat.c: Likewise.
19180 * string/strncmp.c: Likewise.
19181 * string/strncpy.c: Likewise.
19182
8ff41c46
WS
191832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19184
19185 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19186 __builtin_memcopy is called when src and dest ranges are known to not
19187 overlap.
19188
6b652f46
WS
191892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19190
19191 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19192 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19193 fwd_align_merge macro call.
19194 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19195 bwd_align_merge macro call.
19196 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19197
b282631e
WS
191982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19199
19200 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19201 bwd_align_merge macros.
19202 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19203 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19204 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19205
95aa737c
DM
192062012-04-18 David S. Miller <davem@davemloft.net>
19207
19208 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19209
7a99a614
AJ
192102012-04-18 Andreas Jaeger <aj@suse.de>
19211
19212 [BZ# 6794]
19213 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19214 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19215 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19216
19217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19218 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19219 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19220
19221 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19222 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
19223 Adjust for changed ldbl-128 files.
19224
19225 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
19226 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
19227 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19228
e5270c23
DM
192292012-04-17 David S. Miller <davem@davemloft.net>
19230
19231 * sysdeps/sparc/sparc32/memcopy.h: Delete.
19232
fb5e92c9
AS
192332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
19234
19235 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
19236 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
19237 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
19238 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
19239 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19240 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
19241
76da7265
AZ
192422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 [BZ #6794]
19245 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
19246 * math/libm-test.inc: Add ilogb errno and exception tests.
19247 * math/w_ilogb.c: New file: ilogb wrapper.
19248 * math/w_ilogbf.c: New file: ilogbf wrapper.
19249 * math/w_ilogbl.c: New file: ilogbl wrapper.
19250 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
19251 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
19252 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
19253 exception being thrown with 0.0 as argument.
19254 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
19255 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
19256 exception being thrown with 0.0 as argument.
19257 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
19258 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19259 exception being thrown with 0.0 as argument.
19260 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
19261 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
19262 exception being thrown with 0.0 as argument.
19263 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
19264 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 19265 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
19266 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
19267 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
19268 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
19269 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
19270 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
19271 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
19272
0396e69d
PB
192732012-04-17 Petr Baudis <pasky@ucw.cz>
19274
19275 * include/sys/uio.h: Change __vector to __iovec to avoid clash
19276 with altivec.
19277
750b5926
MP
192782012-04-16 Marek Polacek <polacek@redhat.com>
19279
19280 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
19281
751728a1
MP
192822012-04-16 Marek Polacek <polacek@redhat.com>
19283
19284 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
19285 operands of fdivp instruction.
19286
34a27407
L
192872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19288
19289 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
19290 * elf/tst-auditmod3b.c: Likewise.
19291 * elf/tst-auditmod4b.c: Likewise.
19292 * elf/tst-auditmod5b.c: Likewise.
19293 * elf/tst-auditmod6b.c: Likewise.
19294 * elf/tst-auditmod6c.c: Likewise.
19295 * elf/tst-auditmod7b.c: Likewise.
19296 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
19297 * sysdeps/x86_64/preconfigure.in: Likewise.
19298 * sysdeps/x86_64/preconfigure: Regenerated.
19299
7e73e17d
L
193002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
19301
19302 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
19303 __ILP32__.
19304
c7a6ab72
AB
193052012-04-13 Antoine Balestrat <merkil33@gmail.com>
19306
19307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19308 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
19309
a9e8e0e0
CL
193102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
19311
19312 [BZ #13973]
19313 * locale/iso-639.def: Fix gl language name. Spotted by
19314 Yaron Shahrabani.
19315
ec98af7d
RM
193162012-04-12 Roland McGrath <roland@hack.frob.com>
19317
19318 [BZ #2074]
19319 * libio/libio.h (__io_write_fn): Update comment.
19320
247c3ede
PB
193212012-04-12 Petr Baudis <pasky@ucw.cz>
19322
19323 [BZ #2074]
19324 * stdio.texi (Hook Functions): The user provided writer function
19325 is not allowed to return -1.
19326
55939d6d
DM
193272012-04-11 David S. Miller <davem@davemloft.net>
19328
19329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19330
90020f5a
MF
193312012-04-11 Mike Frysinger <vapier@gentoo.org>
19332
19333 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19334 Add a leading slash to rtkaio.
19335
288f9098
JM
193362012-04-11 Jim Meyering <meyering@redhat.com>
19337
90020f5a
MF
19338 [BZ #11959]
19339 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
19340 It is not necessarily an error to ignore fwrite's return
19341 value. One can reliably use ferror to test for errors after
19342 the fact.
288f9098 19343
4be2b570
L
193442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 * bits/types.h (__snseconds_t): New type.
19347 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
19348
19349 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
19350 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19351 (__SNSECONDS_T_TYPE): Likewise.
19352 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19353 (__SNSECONDS_T_TYPE): Likewise.
19354 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19355 (__SNSECONDS_T_TYPE): Likewise.
19356
288f9098 193572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
19358
19359 [BZ #2636]
19360 * manual/time.texi (Processor Time): Return type of times is
19361 elapsed real time since an arbitrary point in the past.
19362 (CPU Time): Move CLK_TCK from here...
19363 (Processor Time): ...to here. Correct description.
19364 * manual/conf.texi (Constants for Sysconf): Correct description of
19365 _SC_CLK_TCK.
19366
d7dd4413
DM
193672012-04-10 David S. Miller <davem@davemloft.net>
19368
19369 [BZ #13967]
19370 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
19371 where the is a gap between DT_REL(A) and DT_JMPREL.
19372
b46068fc
L
193732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19374
19375 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
19376 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19377 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19378
73d65cc3
SP
193792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19380
19381 * elf/dl-support.c (_dl_inhibit_cache): New variable.
19382 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
19383 (dl_main): Handle --inhibit-cache.
19384 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19385 _dl_inhibit_cache.
19386 * elf/dl-load.c (_dl_map_object): Use it.
19387 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
19388
bcc8d661
JM
193892012-04-09 Joseph Myers <joseph@codesourcery.com>
19390
8f9a2fae
JM
19391 [BZ #13872]
19392 * sysdeps/i386/fpu/e_powl.S (p78): New object.
19393 (__ieee754_powl): Saturate large exponents rather than testing for
19394 overflow of y*log2(x).
19395 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19396 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19397 exceptions.
19398
bcc8d661
JM
19399 [BZ #11521]
19400 * math/s_ctan.c: Include <float.h>.
19401 (__ctan): Avoid internal overflow or cancellation in calculating
19402 denominator.
19403 * math/s_ctanf.c: Likewise.
19404 * math/s_ctanl.c: Likewise.
19405 * math/s_ctanh.c: Likewise.
19406 * math/s_ctanhf.c: Likewise.
19407 * math/s_ctanhl.c: Likewise.
19408 * math/libm-test.inc (ctan_test): Add more tests.
19409 (ctanh_test): Likewise.
19410 * sysdeps/i386/fpu/libm-test-ulps: Update.
19411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19412
823fbbb4
AJ
194132012-04-09 Andreas Jaeger <aj@suse.de>
19414
03879793
AJ
19415 [BZ #6894]
19416 * manual/filesys.texi (Directory Entries): Mention that d_namlen
19417 is an optional BSD extension.
19418
823fbbb4
AJ
19419 [BZ #10254]
19420 * manual/stdio.texi (Opening Streams): Document additional fopen
19421 parameters.
19422
8de131cb
RM
194232012-04-09 Roland McGrath <roland@hack.frob.com>
19424
19425 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
19426 %eax without telling the compiler.
19427
c0ed9d7d
CD
194282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
19429
19430 [BZ # 13963]
19431 * manual/install.texi: Use sourceware.org.
19432
c483f6b4
JM
194332012-04-09 Joseph Myers <joseph@codesourcery.com>
19434
d7dd9453
JM
19435 [BZ #13873]
19436 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
19437 (__ieee754_pow): Generate overflow and underflow using huge*huge
19438 and tiny*tiny rather than just returning constant infinity or zero
19439 for large exponents.
19440 * math/libm-test.inc (pow_test): Require overflow exceptions for
19441 applicable cases of large exponents.
19442
c483f6b4
JM
19443 [BZ #706]
19444 * sysdeps/i386/fpu/e_pow.S (p10): New object.
19445 (__ieee754_pow): Use iterative multiplication algorithm only for
19446 integer exponents with absolute value below 1024. Check for odd
19447 integer exponents when using algorithm for real exponents.
19448 * math/libm-test.inc (pow_test): Add more tests.
19449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19450
d2de7579
JM
194512012-04-08 Joseph Myers <joseph@codesourcery.com>
19452
19453 [BZ #13705]
19454 * math/libm-test.inc (exp_test): Do not allow overflow exception
19455 on underflow test.
19456
f77f1232
AJ
194572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
19458
19459 [BZ #13705]
19460 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
19461 instead of __kernel_standard_f.
19462
3884932b
MF
194632012-04-08 Mike Frysinger <vapier@gentoo.org>
19464
19465 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
19466 * sysdeps/x86_64/memset_chk.S: Likewise.
19467
54472e9c
AJ
194682012-04-08 Andreas Jaeger <aj@suse.de>
19469
6ab0fbfc
AJ
19470 [BZ #10153]
19471 * manual/startup.texi (Environment Access): Describe return value
19472 for putenv and setenv.
19473
61efba8c
AJ
19474 [BZ #6895]
19475 * manual/filesys.texi (Directory Entries): Add description for
19476 DT_LNK.
19477
95c3f29a
AJ
19478 [BZ #6890]
19479 * manual/filesys.texi (Directory Entries): Clarify that it's file
19480 system not operating system in the description of DT_UNKNOWN.
19481
54472e9c
AJ
19482 [BZ #6578]
19483 * manual/syslog.texi (closelog): Fix reference, it's openlog.
19484
624254b1
SC
194852012-04-08 Stephen Compall <s11@member.fsf.org>
19486
19487 [BZ #6649]
19488 * manual/llio.texi (Opening and Closing Files): Add cross
19489 reference to explain mode argument.
19490
1e4920e0
MF
194912012-04-07 Mike Frysinger <vapier@gentoo.org>
19492
19493 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
19494 * sysdeps/x86_64/memset_chk.S: Likewise.
19495
5ed848f3
DM
194962012-04-07 David S. Miller <davem@davemloft.net>
19497
19498 * elf/elf.h (R_SPARC_WDISP10): Define.
19499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
19500 R_SPARC_SIZE32.
19501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
19502 R_SPARC_SIZE64 and R_SPARC_H34.
19503
96154cd8
CD
195042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
19505
19506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
19507 conditions and remove no longer applicable assertion.
19508
9904dc47
L
195092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19510
19511 * bits/byteswap.h: Include <features.h>.
19512 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
19513 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
19514
f8887d0a
L
195152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
19516
19517 * bits/byteswap.h (__bswap_16): Removed.
19518 Include <bits/byteswap-16.h> to get __bswap_16.
19519 * sysdeps/i386/bits/byteswap.h: Likewise.
19520 * sysdeps/s390/bits/byteswap.h: Likewise.
19521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19522 * bits/byteswap-16.h: New file.
19523 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19524 * sysdeps/s390/bits/byteswap-16.h: Likewise.
19525 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
19526 * string/Makefile (headers): Add bits/byteswap-16.h.
19527
62470f60
PP
195282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19529
19530 [BZ #13895]
19531 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
19532 extra indirection.
19533 * nss/Makefile (tests-static, tests): Add tst-nss-static.
19534 * nss/tst-nss-static.c: New.
19535
4dad7bab
RM
195362012-04-06 Robert Millan <rmh@gnu.org>
19537
19538 [BZ #6486]
19539 * manual/llio.texi (File Position Primitive): lseek
19540 refers to WHENCE when it really means OFFSET.
19541
e9142a17
AJ
195422012-04-06 Andreas Jaeger <aj@suse.de>
19543
2c040eff
AJ
19544 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
19545 strncmp declarations.
19546
e9142a17
AJ
19547 * abilist/libc.abilist: Add __poll and __ppoll.
19548
ff9f1c5f
DM
195492012-04-05 David S. Miller <davem@davemloft.net>
19550
dcd2ae90
DM
19551 * scripts/check-local-headers.sh: Accept a host triplet in the
19552 path matched by the exclude regexp.
19553
993eb054
DM
19554 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
19555 definition.
19556 * sysdeps/powerpc/powerpc32/dl-machine.h
19557 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
19558 * sysdeps/s390/s390-32/dl-machine.h
19559 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19560 * sysdeps/sparc/sparc32/dl-machine.h
19561 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19562 * sysdeps/sparc/sparc64/dl-machine.h
19563 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
19564
ff9f1c5f
DM
19565 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
19566 lazy binding.
48e2e132 19567 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
19568 undefined symbol errors.
19569
48e2e132 19570 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
19571 DT_NEEDED entries.
19572
e80d6f94
MM
195732012-04-05 Michael Matz <matz@suse.de>
19574
19575 [BZ #13592]
19576 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
19577
349fa79f
AJ
195782012-04-05 Andreas Jaeger <aj@suse.de>
19579
19580 [BZ #13908]
19581 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
19582 comment.
19583
f402708f
KK
195842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19585
19586 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
19587 which ROUND is no valid rounding mode.
19588
2ecccfc9
KK
195892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19590
19591 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
19592 read again.
19593 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
19594
8a53f50f
KK
195952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19596
19597 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
19598 an exception using FPU order intentionally.
19599
196002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19601
19602 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
19603 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
19604 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
19605 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
19606
d653abb7
SJ
196072012-04-05 Simon Josefsson <simon@josefsson.org>
19608
19609 [BZ #12340]
19610 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
19611 EINVAL when BUFLEN is too smal.
19612
c3b1bf7d
TS
196132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
19614
19615 [BZ #13553]
19616 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
19617 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
19618
b1aa60f3
AJ
196192012-04-03 Andreas Jaeger <aj@suse.de>
19620
c3b1bf7d 19621 [BZ #13938]
67f60a26
AJ
19622 * manual/setjmp.texi (System V contexts): Fix sentence.
19623
b1aa60f3
AJ
19624 [BZ #13926]
19625 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
19626 New macro for this case.
19627 [!__GNUC__] (__bswap_64): New inline function for this case.
19628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19629 * bits/byteswap.h: Likewise.
19630 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
19631 ull, guard with __GLIBC_HAVE_LONG_LONG.
19632
19633 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
19634 __GLIBC_HAVE_LONG_LONG.
19635
19636 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
19637 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
19638
39c59c35
TMQMF
196392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19640
19641 [BZ #13691]
19642 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
19643 inptr and inend, rather than using last_ch.
19644
135ffda8
DM
196452012-04-02 David S. Miller <davem@davemloft.net>
19646
19647 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
19648 * stdio-common/printf-parse.h (read_int): Change return type to
19649 'int', return -1 on INT_MAX overflow.
19650 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
19651 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
19652 overflows INT_MAX. Check for overflow of in-format-string precision
19653 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
19654 SIZE_MAX not INT_MAX for integer overflow test.
19655 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
19656 skip the construct in the format string but do not record anything.
19657 * stdio-common/bug22.c: Adjust to test both width/prevision
19658 INT_MAX overflow as well as total length INT_MAX overflow. Check
19659 explicitly for proper errno values.
19660
228c019e
TS
196612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
19662
302cadd3
TS
19663 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
19664 CHAR_MAX.
19665 * string/test-strcmp.c [! WIDE]: Likewise.
19666 * time/tst-mktime2.c: Likewise for INT_MAX.
19667 * string/test-string.h: #include <sys/param.h> for MIN.
19668
228c019e
TS
19669 * csu/init-first.c (__libc_init_first): Call __ctype_init.
19670 * sysdeps/i386/init-first.c (init): Likewise.
19671 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
19672 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
19673 * sysdeps/sh/init-first.c (init): Likewise.
19674
cfa633f5
UD
196752012-04-01 Ulrich Drepper <drepper@gmail.com>
19676
19677 * po/ru.po: Update from translation team.
d1635ef8 19678 * po/vi.po: Likewise.
cfa633f5 19679
6cd0a5ea
SP
196802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19681
19682 * resolv/nss_dns/dns-host.c: Merge copyright years.
19683
4b43400f
LD
196842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19685
19686 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19687 Optimize memcpy with prefetch if
19688 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
19689 src, dst pointers have unequal 16 byte alignments.
19690
48c41d04
SP
196912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19692
19693 [BZ #13928]
19694 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
19695 from a CNAME entry and return the minimum ttl for the query.
19696 (gaih_getanswer_slice): Likewise.
19697
b8dc394d
JL
196982012-03-30 Jeff Law <law@redhat.com>
19699
19700 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
19701 due to long keys.
19702 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19703 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19704
2f5a5ed0
JL
19705 * resolv/nss_dns/dns-host.c: Update copyright year.
19706
1d39e359
UD
197072012-03-30 Ulrich Drepper <drepper@gmail.com>
19708
c030f70c 19709 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 19710 requests to save a system call. Fix check that all bytes are sent.
c030f70c 19711
1d39e359
UD
19712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
19713 comments for sendmmsg.
19714
197152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
19716
19717 [BZ #13691]
19718 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
19719 with only 1 character between 0x0041 and 0x01b0.
19720 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
19721 * wcsmbs/tst-mbsnrtowcs.c: New file.
19722
20fde227
DM
197232012-03-29 David S. Miller <davem@davemloft.net>
19724
19725 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
19726 small copies by hand.
19727
984a4237
JL
197282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19729
19730 [BZ #13761]
19731 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
19732 _nss_compat_initgroups_dyn): Fall back to malloc/free
19733 for large group memberships.
19734
18c9d62b
DM
197352012-03-28 David S. Miller <davem@davemloft.net>
19736
88d85d4f
DM
19737 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
19738 that branches into memcpy.
19739 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
19741 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19742 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
19743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
19744 bits.
19745 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
19746 implementation too.
19747 * sysdeps/sparc/mempcpy.S: New file.
19748
e5aa83e1
DM
19749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
19750 the IFUNC routine in the libc case.
19751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19752
88570753
DM
19753 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
19754 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
19755 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
19756 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
19757 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
19758 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
19759 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
19760 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
19761
249d7567
DM
19762 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
19763 loop to 256 bytes instead of 64 bytes and fix test signedness.
19764
18c9d62b
DM
19765 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
19766 * sysdeps/sparc/sparc32/Makefile: rather than here...
19767 * sysdeps/sparc/sparc64/Makefile: and here.
19768
05f3d1f6
UD
197692012-03-28 Ulrich Drepper <drepper@gmail.com>
19770
19771 * malloc/mallocbug.c: Avoid warnings about unused variables.
19772
86ae07a8
JL
197732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19774
19775 [BZ #13760]
19776 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
19777 in the right place. Discard and retry query if response is
19778 larger than input buffer size.
19779
41bf21a1
JM
197802012-03-28 Joseph Myers <joseph@codesourcery.com>
19781
d6270972
JM
19782 [BZ #369]
19783 [BZ #2678]
19784 [BZ #3866]
19785 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
19786 x for large integer exponent.
19787 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19788 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
19789 sign of result as needed afterwards.
19790 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19791 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
19792 result for underflowing pow the same as for overflow.
19793 (__kernel_standard_l): Handle powl overflow and underflow here
19794 rather than calling __kernel_standard.
19795 * math/libm-test.inc (pow_test): Add more tests.
19796
414fca03 19797 [BZ #3868]
41bf21a1
JM
19798 [BZ #13879]
19799 [BZ #13910]
19800 [BZ #13911]
19801 [BZ #13912]
19802 [BZ #13913]
19803 [BZ #13915]
19804 [BZ #13916]
19805 [BZ #13917]
19806 [BZ #13918]
19807 [BZ #13919]
19808 [BZ #13920]
19809 [BZ #13921]
19810 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
19811 * sysdeps/ieee754/k_standard.c: Include <float.h>.
19812 (__kernel_standard_l): New function.
19813 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
19814 __kernel_standard.
19815 * math/w_acosl.c (__acosl): Likewise.
19816 * math/w_asinl.c (__asinl): Likewise.
19817 * math/w_atan2l.c (__atan2l): Likewise.
19818 * math/w_atanhl.c (__atanhl): Likewise.
19819 * math/w_coshl.c (__coshl): Likewise.
19820 * math/w_exp10l.c (__exp10l): Likewise.
19821 * math/w_exp2l.c (__exp2l): Likewise.
19822 * math/w_fmodl.c (__fmodl): Likewise.
19823 * math/w_hypotl.c (__hypotl): Likewise.
19824 * math/w_j0l.c (__j0l, __y0l): Likewise.
19825 * math/w_j1l.c (__j1l, __y1l): Likewise.
19826 * math/w_jnl.c (__jnl, __ynl): Likewise.
19827 * math/w_lgammal.c (__lgammal): Likewise.
19828 * math/w_log10l.c (__log10l): Likewise.
19829 * math/w_log2l.c (__log2l): Likewise.
19830 * math/w_logl.c (__logl): Likewise.
19831 * math/w_powl.c (__powl): Likewise.
19832 * math/w_remainderl.c (__remainderl): Likewise.
19833 * math/w_scalbl.c (sysv_scalbl): Likewise.
19834 * math/w_sinhl.c (__sinhl): Likewise.
19835 * math/w_sqrtl.c (__sqrtl): Likewise.
19836 * math/w_tgammal.c (__tgammal): Likewise.
19837 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
19838 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
19839 * math/libm-test.inc (acos_test): Add more tests.
19840 (acosh_test): Likewise.
19841 (asin_test): Likewise.
19842 (atanh_test): Likewise.
19843 (exp_test): Likewise.
19844 (exp10_test): Likewise.
19845 (exp2_test): Likewise.
19846 (expm1_test): Likewise.
19847 (lgamma_test): Likewise.
19848 (log_test): Likewise.
19849 (log10_test): Likewise.
19850 (log1p_test): Likewise.
19851 (log2_test): Likewise.
19852 (pow_test): Do not allow some spurious overflow exceptions.
19853 (sqrt_test): Add more tests.
19854 (tgamma_test): Likewise.
19855 (y0_test): Likewise.
19856 (y1_test): Likewise.
19857 (yn_test): Likewise.
19858
dd62fda6
AB
198592012-03-27 Anton Blanchard <anton@samba.org>
19860
19861 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
19862 MAP_HUGETLB.
19863 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19864 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19865 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19866
1e3cdfda
AJ
198672012-03-27 David S. Miller <davem@davemloft.net>
19868
b855ab85
DM
19869 * conform/Makefile: Run run-conformtest.sh using $(BASH).
19870
1e3cdfda
AJ
19871 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
19872 have-as-vis3 check.
19873
198742012-03-27 Andreas Jaeger <aj@suse.de>
19875
19876 * sysdeps/x86_64/elf/configure.in: Moved to ...
19877 * sysdeps/x86_64/configure.in: ... here.
19878 * sysdeps/x86_64/elf/start.S: Moved to ...
19879 * sysdeps/x86_64/start.S: ... here.
19880 * sysdeps/x86_64/elf/configure: Delete.
19881
19882 * sysdeps/x86_64/configure.in: Merge contents from
19883 sysdeps/i386/configure.in (without i686 check).
19884
19885 * sysdeps/i386/elf/Versions: Merge into ...
19886 * sysdeps/i386/Versions: ... this.
19887 * sysdeps/i386/elf/Versions: Delete file.
19888 * sysdeps/i386/elf/start.S: Moved to ...
19889 * sysdeps/i386/start.S: ...here.
19890 * sysdeps/i386/elf/configure.in: Merge into...
19891 * sysdeps/i386/configure.in: ...here.
19892 * sysdeps/i386/elf/configure.in: Delete file.
19893 * sysdeps/i386/elf/configure: Delete file.
19894
19895 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
19896 * debug/backtracesyms.c: ... here.
19897 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
19898 * debug/backtracesymsfd.c: ... here.
19899 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
19900 * sysdeps/generic/ifunc-sel.h: ... here.
19901
19902 * sysdeps/unix/i386/start.c: Delete file.
19903 * sysdeps/unix/sparc/start.c: Delete file.
19904 * sysdeps/unix/start.c: Delete file.
19905
19906 * sysdeps/sh/elf/configure.in: Moved to ...
19907 * sysdeps/sh/configure.in: ... here.
19908 * sysdeps/sh/elf/start.S: Moved to ...
19909 * sysdeps/sh/start.S: ... here.
19910 * sysdeps/sh/elf/configure: Delete file.
19911
19912 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
19913 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
19914 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
19915 * sysdeps/powerpc/powerpc64/entry.h: ... here.
19916 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
19917 * sysdeps/powerpc/powerpc64/start.S: here.
19918 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
19919 * sysdeps/powerpc/powerpc64/Makefile: ... this.
19920 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
19921 * sysdeps/powerpc/powerpc64/configure.in: ... this.
19922 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
19923
19924 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
19925 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
19926 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
19927 * sysdeps/powerpc/powerpc32/start.S: ... here.
19928 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
19929 * sysdeps/powerpc/powerpc32/configure.in: ... this.
19930 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
19931
19932 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
19933 * sysdeps/powerpc/ifunc-sel.h: ... here.
19934 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
19935 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
19936
19937 * sysdeps/sparc/elf/configure.in: Moved to ...
19938 * sysdeps/sparc/configure.in: ... here.
19939 * sysdeps/sparc/elf/configure: Delete file.
19940 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
19941 * sysdeps/sparc/sparc32/start.S: ... here.
19942 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
19943 * sysdeps/sparc/sparc64/start.S: ... here.
19944 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
19945 * sysdeps/sparc/sparc32/Makefile: ... this.
19946 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
19947 * sysdeps/sparc/sparc64/Makefile: ... this.
19948
19949 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
19950 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
19951 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
19952 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
19953 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
19954 * sysdeps/s390/s390-32/setjmp.S: ... here.
19955 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
19956 * sysdeps/s390/s390-32/configure.in: ... here.
19957 * sysdeps/s390/s390-32/elf/configure: Delete file.
19958 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
19959 * sysdeps/s390/s390-32/start.S: ... here.
19960
19961 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
19962 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
19963 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
19964 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
19965 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
19966 * sysdeps/s390/s390-64/setjmp.S: ... here.
19967 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
19968 * sysdeps/s390/s390-64/configure.in: ... here
19969 * sysdeps/s390/s390-64/elf/configure: Delete file.
19970 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
19971 * sysdeps/s390/s390-64/start.S: ... here.
19972 * sysdeps/s390/s390-64/elf/configure: Delete.
19973
19974 * configure.in: Remove support for elf directories in sysdeps.
19975
19976 * configure: Regenerated.
19977 * sysdeps/i386/configure: Regenerated.
19978 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19979 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19980 * sysdeps/s390/s390-32/configure: Regenerated.
19981 * sysdeps/s390/s390-64/configure: Regenerated.
19982 * sysdeps/sh/configure: Regenerated.
19983 * sysdeps/sparc/configure: Regenerated.
19984 * sysdeps/x86_64/configure: Regenerated.
19985
a3f61311
AS
199862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
19987
c876e002
AS
19988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19989
a3f61311
AS
19990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
19991 denormal result into account.
19992
ac4c54f0
RM
199932012-03-25 Roland McGrath <roland@hack.frob.com>
19994
19995 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
19996 Reported by Allan McRae <allan@archlinux.org>.
19997
6a9b9c02
JL
199982012-03-23 Jeff Law <law@redhat.com>
19999
20000 * nss/getnssent.c (__nss_getent): Fix typo.
20001
4c42a0c1
DM
200022012-03-23 David S. Miller <davem@davemloft.net>
20003
20004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20005
1532c7ac
L
200062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20007
20008 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20009 to pad to uint64_t for each field.
20010 (dl_tls_index): Replace unsigned long with uint64_t.
20011
3ff42526
PP
200122012-03-23 Daniel Jacobowitz <dmj@google.com>
20013 Paul Pluzhnikov <ppluzhnikov@google.com>
20014
20015 [BZ #6528]
20016 * grp/Makefile (otherlibs): Don't set it.
20017 * inet/Makefile (otherlibs): Likewise.
20018 * login/Makefile (otherlibs): Likewise.
20019 * nscd/Makefile (otherlibs): Likewise.
20020 * posix/Makefile (otherlibs): Likewise.
20021 * pwd/Makefile (otherlibs): Likewise.
20022 * rt/Makefile (otherlibs): Likewise.
20023 * sunrpc/Makefile (otherlibs): Likewise.
20024 * nss/Makefile (otherlibs): Likewise.
20025 Add libnss_files to routines and static-only-routines.
20026 ($(objpfx)getent): Remove rule.
20027 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20028 static-only-routines.
20029
7c69cd14
JM
200302012-03-22 Joseph Myers <joseph@codesourcery.com>
20031
20032 [BZ #13892]
20033 * math/s_cexp.c: Include <float.h>.
20034 (__cexp): Handle exp result overflowing not necessarily
20035 overflowing both real and imaginary parts of result.
20036 * math/s_cexpf.c: Likewise.
20037 * math/s_cexpl.c: Likewise.
20038 * math/libm-test.inc (cexp_test): Add more tests.
20039 * sysdeps/i386/fpu/libm-test-ulps: Update.
20040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20041
81b035fe
L
200422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20043
20044 * include/link.h (ELFW): New macro.
20045 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20046 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20047
1da7940c
L
200482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20049
20050 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20051 with uint64_t.
20052
b749dbb9
L
200532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20054
20055 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20056 declaration.
20057 (struct La_x32_retval): Likewise.
20058
2ff87f3f
L
200592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20060
20061 * sysdeps/x86_64/preconfigure.in: New file.
20062 * sysdeps/x86_64/preconfigure: New generated file.
20063
c0df8e69
JM
200642012-03-22 Joseph Myers <joseph@codesourcery.com>
20065
48e44791
JM
20066 [BZ #13824]
20067 * math/e_exp2l.c: Include <float.h>.
20068 (__ieee754_exp2l): Handle overflow and underflow cases
20069 separately. Only pass fractional part of argument to
20070 __ieee754_expl.
20071 * math/libm-test.inc (exp2_test): Add more tests.
20072
c0df8e69
JM
20073 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20074 negating x to take absolute value.
20075 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20076 Likewise.
20077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20079 Likewise.
20080 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20081 computing low part if x was negated.
20082 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20083
c8e43ba7
L
200842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20085
20086 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20087 la_x32_gnu_pltexit.
20088 (pltexit): Cast int_retval to ptrdiff_t.
20089 * elf/tst-auditmod3b.c: Likewise.
20090 * elf/tst-auditmod4b.c: Likewise.
20091 * elf/tst-auditmod5b.c: Likewise.
20092 * elf/tst-auditmod6b.c: Likewise.
20093 * elf/tst-auditmod6c.c: Likewise.
20094 * elf/tst-auditmod7b.c: Likewise.
20095
20096 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20097 and x32_gnu_pltexit.
20098
20099 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20100 __ELF_NATIVE_CLASS.
20101 (La_x32_regs): New macro.
20102 (La_x32_retval): Likewise.
20103 (la_x32_gnu_pltenter): New function prototype.
20104 (la_x32_gnu_pltexit): Likewise.
20105
7998fa78
AS
201062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20107
dcb33988
AS
20108 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20109 exponent.
20110
233fc563
AS
20111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20112
7998fa78
AS
20113 * configure.in (libc_cv_cc_nofma): Check for option to disable
20114 generation of FMA instructions.
20115 * configure: Regenerate.
20116 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20117 * sysdeps/ieee754/dbl-64/Makefile: New file.
20118 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20119 Remove brandred-fma4.
20120 (CFLAGS-brandred-fma4.c): Remove.
20121 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20123 define.
20124 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20125 define.
20126
8e95c99a
L
201272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20128
20129 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20130 LLONG_MAX != LONG_MAX.
20131 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20132 (_fitoa_word): Likewise.
20133 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20134 LLONG_MAX != LONG_MAX.
20135 * stdio-common/_itowa.h: Include <_itoa.h>.
20136 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20137 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20138 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20139 only if not defined.
20140 (_ITOA_WORD_TYPE): Likewise.
20141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20142 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20143
6f4db457
DM
201442012-03-21 David S. Miller <davem@davemloft.net>
20145
20146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20147
7785fe5a
L
201482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20149
20150 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20151 of x86_64 when setting libc_cv_slibdir, libdir and
20152 libc_cv_localedir.
20153 * sysdeps/unix/sysv/linux/configure: Regenerated.
20154
4535cd55
JM
201552012-03-21 Joseph Myers <joseph@codesourcery.com>
20156
20157 * manual/lang.texi (Old Varargs): Remove section.
20158 (How Variadic): Update menu.
20159 (va_start): Do not mention varargs.h.
20160
17228132
TS
201612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20162 Joseph Myers <joseph@codesourcery.com>
20163
20164 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20165 link test.
20166 * configure: Regenerated.
20167
8149f976
TS
201682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20169
05f3d1f6
UD
20170 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20171 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20172 conformtest.pl
8149f976 20173
1a4ac776
JM
201742012-03-21 Joseph Myers <joseph@codesourcery.com>
20175
be22ce65
JM
20176 * NOTES: Remove.
20177 * Makefile (files-for-dist): Remove NOTES.
20178 (NOTES): Remove rule.
20179 * README: Don't refer to NOTES.
20180 * manual/creature.texi: Don't include macros.texi.
20181 * manual/intro.texi (creature.texi): Remove comment referring to
20182 NOTES.
20183
40b601fb
JM
20184 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20185 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20186 * configure: Regenerated.
20187 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20188 LIBC_TRY_CC_OPTION.
20189 (libc_cv_as_i686): Likewise.
20190 (libc_cv_cc_avx): Likewise.
20191 (libc_cv_cc_sse2avx): Likewise.
20192 (libc_cv_cc_fma4): Likewise.
20193 (libc_cv_cc_novzeroupper): Likewise.
20194 * sysdeps/i386/configure: Regenerated.
20195
1a4ac776
JM
20196 [BZ #13883]
20197 * sysdeps/i386/fpu/s_cexp.S: Remove.
20198 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20199 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20200 * math/libm-test.inc (cexp_test): Add more tests.
20201 * sysdeps/i386/fpu/libm-test-ulps: Update.
20202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20203
a458e7fe
AM
202042012-03-21 Allan McRae <allan@archlinux.org>
20205
20206 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20207
0cb7efc5
JM
202082012-03-21 Joseph Myers <joseph@codesourcery.com>
20209
20210 [BZ #13871]
20211 * math/w_exp2.c: Do not include <float.h>.
20212 (o_threshold, u_threshold): Remove.
20213 (__exp2): Calculate result before checking finiteness and calling
20214 __kernel_standard.
20215 * math/w_exp2f.c: Likewise.
20216 * math/w_exp2l.c: Likewise.
20217 * math/libm-test.inc (exp2_test): Require overflow exception for
20218 1e6 input.
2460d3aa
JM
20219
20220 [BZ #3866]
20221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20222 range of signed 64-bit integers before using fistpll. Remove
20223 checks for whether integers fit in mantissa bits.
20224 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
20225 the range of signed 32-bit integers before using fistpl. Remove
20226 checks for whether integers fit in mantissa bits.
20227 * sysdeps/i386/fpu/e_powl.S (p64): New object.
20228 (__ieee754_powl): Test for y outside the range of signed 64-bit
20229 integers before using fistpll. Reduce 64-bit values to 63-bit
20230 ones as needed.
20231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
20232 divide-by-zero is raised for zero to large negative powers.
20233 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
20234 (__ieee754_powl): Test for y outside the range of signed 64-bit
20235 integers before using fistpll. Reduce 64-bit values to 63-bit
20236 ones as needed.
20237 * math/libm-test.inc (pow_test): Add more tests.
20238
eb96ffb0
L
202392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20240
20241 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
20242 <stdio-common/_itoa.h>.
20243 * debug/segfault.c: Likewise.
20244 * elf/dl-cache.c: Likewise.
20245 * elf/dl-minimal.c: Likewise.
20246 * elf/dl-misc.c: Likewise.
20247 * elf/dl-sysdep.c: Likewise.
20248 * elf/dl-version.c: Likewise.
20249 * elf/rtld.c: Likewise.
20250 * hurd/hurdsock.c: Likewise.
20251 * hurd/lookup-retry.c: Likewise.
20252 * malloc/malloc.c: Likewise.
20253 * malloc/mtrace.c: Likewise.
20254 * nscd/nscd_getgr_r.c: Likewise.
20255 * nscd/nscd_getpw_r.c: Likewise.
20256 * nscd/nscd_getserv_r.c: Likewise.
20257 * posix/getopt_init.c: Likewise.
20258 * posix/wordexp.c: Likewise.
20259 * stdio-common/_itoa.c: Likewise.
20260 * stdio-common/printf_fphex.c: Likewise.
20261 * stdio-common/vfprintf.c: Likewise.
20262 * string/_strerror.c: Likewise.
20263 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
20264 * sysdeps/i386/i686/hp-timing.h: Likewise.
20265 * sysdeps/mach/_strerror.c: Likewise.
20266 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
20267 * sysdeps/mach/hurd/sethostid.c: Likewise.
20268 * sysdeps/mach/hurd/xmknodat.c: Likewise.
20269 * sysdeps/mach/xpg-strerror.c: Likewise.
20270 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20271 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20272 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
20273 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
20274 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20275 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
20276 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
20277 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
20278 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
20279 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
20280 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
20281 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20282 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
20283 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20284 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20285 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
20286 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
20287 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
20288 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
20289 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
20290 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
20291
20292 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
20293
20294 * stdio-common/_itoa.h: Moved to ...
20295 * sysdeps/generic/_itoa.h: Here.
20296
20297 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
20298
20299 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
20300 instead of "_itoa.h" and "_itowa.h".
20301 * stdio-common/vfprintf.: Likewise.
20302
d1af992d
L
203032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20304
20305 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
20306 <bits/wordsize.h>.
20307 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
20308 (__signbit): Likwise.
20309 (llrintf): Likwise.
20310 (llrint): Likwise.
20311
114883e0
L
203122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
20313
20314 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
20315 __WORDSIZE != 64.
20316
c135cc1b
JM
203172012-03-20 Joseph Myers <joseph@codesourcery.com>
20318
20319 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
20320 OVERFLOW_EXCEPTION_OK.
20321 * math/libm-test.inc ("Philosophy"): Update comment about
20322 exception testing.
20323 (OVERFLOW_EXCEPTION): Define.
20324 (OVERFLOW_EXCEPTION_OK): Likewise.
20325 (INVALID_EXCEPTION_OK): Renumber.
20326 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20327 (IGNORE_ZERO_INF_SIGN): Likewise.
20328 (test_exceptions): Handle FE_OVERFLOW.
20329 (exp10_test): Expect overflow exceptions.
20330 (exp2_test): Likewise.
20331 (expm1_test): Likewise.
20332 (nextafter_test): Likewise.
20333 (pow_test): Likewise.
20334 (scalbn_test): Likewise.
20335 (scalbln_test): Likewise.
20336
95443d88
L
203372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20338
20339 * sysdeps/x86_64/bits/atomic.h
20340 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
20341 64bit integer.
20342 (atomic_exchange_acq): Likewise.
20343 (__arch_exchange_and_add_body): Likewise.
20344 (__arch_add_body): Likewise.
20345 (atomic_add_negative): Likewise.
20346 (atomic_add_zero): Likewise.
20347
490df6c4
L
203482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20349
c2722551 20350 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
20351 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
20352
5e52b189
L
203532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20354
20355 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
20356 Check __x86_64__ instead of __WORDSIZE.
20357
a9879d4c
L
203582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20359
20360 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
20361
5df98260
DM
203622012-03-19 David S. Miller <davem@davemloft.net>
20363
e1497744
DM
20364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20365
5df98260
DM
20366 * sysdeps/sparc/fpu/fenv_private.h: New file.
20367 * sysdeps/sparc/fpu/math_private.h: Use it.
20368 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
20369 Remove.
20370 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
20371 (libc_feholdexcept_setroundl): Remove.
20372 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
20373 Remove.
20374 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
20375 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
20376
b4c35121
L
203772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20378
20379 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
20380 int64_t instead of long int.
20381 (INSERT_WORDS64): Likwise.
20382
56965fd7
L
203832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
20384
20385 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
20386 _Unwind_GetCFA return to _Unwind_Ptr first.
20387
83d1aec8
JM
203882012-03-19 Joseph Myers <joseph@codesourcery.com>
20389
1897ad44
JM
20390 [BZ #13629]
20391 * math/s_clog.c: Include <float.h>.
20392 (__clog): Scale large or subnormal inputs.
20393 * math/s_clogf.c: Likewise.
20394 * math/s_clogl.c: Likewise.
20395 * math/s_clog10.c: Include <float.h>.
20396 (M_LOG10_2): Define.
20397 (__clog10): Scale large or subnormal inputs.
20398 * math/s_clog10f.c: Likewise.
20399 * math/s_clog10l.c: Likewise.
20400 * math/libm-test.inc (clog_test): Add more tests.
20401 (clog10_test): Likewise.
20402 * sysdeps/i386/fpu/libm-test-ulps: Update.
20403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20404
7726d6a9
JM
20405 [BZ #11451]
20406 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
20407 x and y.
20408 * math/libm-test.inc (atan2_test): Add another test.
20409
83d1aec8
JM
20410 * Makerules (common-objdir-compile): Remove.
20411 * sysdeps/unix/Makefile (config-generated): Do not add
20412 $(unix-generated) to variable.
20413 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
20414 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
20415 Remove rule.
20416 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
20417 Likewise.
20418 [generic bits/local_lim.h] (before-compile): Do not append to
20419 variable.
20420 [generic bits/local_lim.h] (common-generated): Likewise.
20421 [generic sys/param.h] (before-compile): Do not append to variable.
20422 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
20423 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
20424 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
20425 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
20426 include.
20427 [generic sys/param.h] (sys/param.h-includes): Remove variable.
20428 [generic sys/param.h] (sys/param.h-includes): Remove rule.
20429 [generic sys/param.h] ($(addprefix
20430 $(common-objpfx),$(sys/param.h-includes))): Likewise.
20431 [generic sys/param.h] (common-generated): Do not append to
20432 variable.
20433 [generic sys/param.h] (sysdep_headers): Likewise.
20434 [generic bits/errno.h] (before-compile): Do not append to
20435 variable.
20436 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
20437 rule.
20438 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
20439 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
20440 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
20441 [generic bits/errno.h] (common-generated): Do not append to
20442 variable.
20443 [generic bits/ioctls.h] (before-compile): Do not append to
20444 variable.
20445 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
20446 rule.
20447 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
20448 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
20449 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
20450 rule.
20451 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
20452 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
20453 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
20454 [generic bits/ioctls.h] (common-generated): Do not append to
20455 variable.
20456 [generic sys/syscall.h] (syscall.h): Remove variable.
20457 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
20458 rule.
20459 [generic sys/syscall.h] (before-compile): Do not append to
20460 variable.
20461 [generic sys/syscall.h] (common-generated): Likewise.
20462 * sysdeps/unix/errnos-tmpl.c: Remove file.
20463 * sysdeps/unix/errnos.awk: Likewise.
20464 * sysdeps/unix/ioctls-tmpl.c: Likewise.
20465 * sysdeps/unix/ioctls.awk: Likewise.
20466 * sysdeps/unix/mk-local_lim.c: Likewise.
20467 * sysdeps/unix/snarf-ioctls: Likewise.
20468
4851a949
RH
204692012-03-19 Richard Henderson <rth@twiddle.net>
20470
bd37f2ee
RH
20471 * sysdeps/i386/fpu/fenv_private.h: New file.
20472 * sysdeps/i386/fpu/math_private.h: Use it.
20473 (math_opt_barrier, math_force_eval): Remove.
20474 (libc_feholdexcept_setround_53bit): Remove.
20475 (libc_feupdateenv_53bit): Remove.
20476 * sysdeps/x86_64/fpu/math_private.h: Likewise.
20477 (math_opt_barrier, math_force_eval): Remove.
20478 (libc_feholdexcept): Remove.
20479 (libc_feholdexcept_setround): Remove.
20480 (libc_fetestexcept, libc_fesetenv): Remove.
20481 (libc_feupdateenv_test): Remove.
20482 (libc_feupdateenv, libc_feholdsetround): Remove.
20483 (libc_feresetround): Remove.
20484
d0adc922
RH
20485 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
20486 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20487
0fe0f1f8
RH
20488 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
20489 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
20490 (libc_feupdateenv_testl): New.
20491 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
20492 (libc_feupdateenv_testf): New.
20493 (libc_feupdateenv): Use libc_feupdateenv_test.
20494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
20495 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
20496
eb92c487
RH
20497 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
20498 (libc_feholdsetroundf, libc_feholdsetroundl): New.
20499 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
20500 (libc_feresetround_noex): New.
20501 (libc_feresetround_noexf): New.
20502 (libc_feresetround_noexl): New.
20503 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
20504 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20505 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
20506 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
20507 SET_RESTORE_ROUND.
20508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20509 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
20510 (__cos): Likewise.
20511 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
20512 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20513 SET_RESTORE_ROUND_NOEX.
20514 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
20515 SET_RESTORE_ROUND_NOEXF.
20516 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
20517 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
20518 (libc_feholdsetroundf): New.
20519 (libc_feresetround, libc_feresetroundf): New.
20520
7d2e8012
RH
20521 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
20522 (libc_feholdexcept_setround_53bit): Convert from macro to function.
20523 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
20524
b4dabbb4
RH
20525 * sysdeps/generic/math_private.h: Include <fenv.h>.
20526 (default_libc_feholdexcept): New.
20527 (default_libc_feholdexcept_setround): New.
20528 (default_libc_fesetenv, default_libc_feupdateenv): New.
20529 (libc_feholdexcept): Only define if undefined.
20530 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
20531 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
20532 (libc_feholdexcept_setroundl): Likewise.
20533 (libc_feholdexcept_setround_53bit): Likewise.
20534 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
20535 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
20536 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
20537 (libc_feupdateenv_53bit): Likewise.
20538 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
20539 (libc_feholdexcept): Convert from macro to inline function.
20540 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
20541 (libc_fesetenv, libc_feupdateenv): Likewise.
20542
4851a949
RH
20543 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
20544 not previously defined.
20545 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
20546 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
20547 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
20548 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
20549 * sysdeps/ieee754/flt-32/math_private.h: New file.
20550 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
20551 math_private.h below SET_FLOAT_WORD.
20552 (__isnan, __isinf_ns, __finite): Remove.
20553 (__isnanf, __isinf_nsf, __finitef): Remove.
20554
e79d442e
AS
205552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
20556
20557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20558
90b80344
DM
205592012-03-17 David S. Miller <davem@davemloft.net>
20560
20561 [BZ #6471]
20562 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
20563 for 2.16.
20564
edc21804
DM
205652012-03-16 David S. Miller <davem@davemloft.net>
20566
77e927af
DM
20567 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
20568 warnings.
20569
374976dd
DM
20570 [BZ #6471]
20571 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
20572 properly.
20573 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
20574 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
20575 sysdep_routines when subdir is sysvipc.
20576 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
20577 __getshmlba helper.
20578
edc21804
DM
20579 * sysdeps/sparc/fpu/libm-test/ulps: Update.
20580
473c3ef3
L
205812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20582
20583 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
20584 [__LP64__].
20585
eb0f39b6
L
205862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20587
20588 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
20589 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
20590 (__lround): Renamed to ...
20591 (__llround): This. Replace long int with long long int.
20592 Define lround functions as aliases of llround functions.
20593 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
20594
6b6cd74b
L
205952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20596
20597 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
20598 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
20599 adresses to uintptr_t. Replace "long int" and "unsigned long
20600 int" with "greg_t" on va_arg.
20601
f1a77b01
L
206022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20603
20604 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20605 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
20606
20607 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
20608 Move e_machine check before EI_CLASS check. Handle x32
20609 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
20610 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
20611 SKIP_EM_IA_64 and include
20612 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
20613
20614 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
20615 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
20616 (add_system_dir): New macro.
20617
20618 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
20619 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
20620
11b90b9f
JM
206212012-03-16 Joseph Myers <joseph@codesourcery.com>
20622
c36e1d23
JM
20623 [BZ #2551]
20624 [BZ #2552]
20625 [BZ #2553]
20626 [BZ #2554]
20627 [BZ #2562]
20628 [BZ #2563]
20629 [BZ #2565]
20630 [BZ #2566]
20631 [BZ #2576]
20632 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
20633 (y0): Likewise.
20634 * math/w_j0f.c (j0f): Likewise.
20635 (y0f): Likewise.
20636 * math/w_j0l.c (__j0l): Likewise.
20637 (__y0l): Likewise.
20638 * math/w_j1.c (j1): Likewise.
20639 (y1): Likewise.
20640 * math/w_j1f.c (j1f): Likewise.
20641 (y1f): Likewise.
20642 * math/w_j1l.c (__j1l): Likewise.
20643 (__y1l): Likewise.
20644 * math/w_jn.c (jn): Likewise.
20645 (yn): Likewise.
20646 * math/w_jnf.c (jnf): Likewise.
20647 (ynf): Likewise.
20648 * math/w_jnl.c (__jnl): Likewise.
20649 (__ynl): Likewise.
20650 * math/libm-test.inc (j0_test): Add more tests.
20651 (j1_test): Likewise.
20652 (jn_test): Likewise. Add trailing semicolon to existing test.
20653 (y0_test): Likewise.
20654 (y1_test): Likewise.
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20657
11b90b9f
JM
20658 [BZ #13851]
20659 [BZ #13854]
20660 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20661 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
20662 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
20663 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
20664 (__tanl): Set errno for infinite argument.
20665 * sysdeps/i386/fpu/mptan.c: Remove.
20666 * sysdeps/i386/fpu/s_tan.S: Likewise.
20667 * sysdeps/i386/fpu/s_tanl.S: Likewise.
20668 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
20669 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
20670 * math/libm-test.inc (tan_test): Add more tests and enable more
20671 tests for double and long double.
20672 * sysdeps/i386/fpu/libm-test-ulps: Update.
20673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20674
6a1bd2a1
JK
206752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
20676
20677 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
20678 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
20679
10a803e0
RM
206802012-03-16 Roland McGrath <roland@hack.frob.com>
20681
20682 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
20683 * configure.in: Use it for both main tree and add-ons.
20684 * configure: Regenerated.
20685
f196c7f7
L
206862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
20687
20688 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
20689
8848d99d
JM
206902012-03-16 Joseph Myers <joseph@codesourcery.com>
20691
96cbe7f4
JM
20692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
20693 in comment.
20694
8848d99d
JM
20695 [BZ #13851]
20696 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
20697 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
20698 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
20699 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
20700 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
20701 infinite argument.
20702 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
20703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
20704 != 0 for prec == 2.
20705 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
20706 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
20707 * sysdeps/i386/fpu/s_cosl.S: Likewise.
20708 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
20709 * sysdeps/i386/fpu/s_sinl.S: Likewise.
20710 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
20711 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
20712 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
20713 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
20714 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
20715 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
20716 * math/libm-test.inc (cos_test): Add more tests and enable more
20717 tests for long double.
20718 (sin_test): Likewise.
20719 (sincos_test): Likewise.
20720 * sysdeps/i386/fpu/libm-test-ulps: Update.
20721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722
dd7f4703
DM
207232012-03-16 David S. Miller <davem@davemloft.net>
20724
20725 * sysdeps/sparc/fpu/math_private.h: New file.
20726
006f1daa
DM
207272012-03-15 David S. Miller <davem@davemloft.net>
20728
c0c83bc8
DM
20729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
20730 file.
e6a62e18 20731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
20732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
20733 file.
e6a62e18
DM
20734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
20735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
20736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
20737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
20738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
20739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
20740 sysdep routines.
20741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20742
88cb87d9
DM
20743 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
20744 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
20745
006f1daa 20746 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
20747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
20748 sparc-ifunc.h
006f1daa 20749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
20750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
20751 Likewise.
20752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
20753 Likewise.
006f1daa
DM
20754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
20755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
20756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
20757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20758 Likewise.
006f1daa
DM
20759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
20761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
20763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
20764 Likewise.
20765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
20766 Likewise.
006f1daa
DM
20767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
20769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
20770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
20771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
20774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
20775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
20778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
20779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
20780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
20781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
20782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
20783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
20784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
20785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
20786 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
20787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
20788 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
20789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
20790 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
20791
11e0098e
AS
207922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20793
20794 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
20795 scaling.
20796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20797
e85b09d0
AJ
207982012-03-15 Andreas Jaeger <aj@suse.de>
20799
20800 [BZ #13852]
20801 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
20802 ieee754/flt-32 implementation for sin, cos and sincos.
20803 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
20804 * sysdeps/i386/fpu/s_cosf.S: Likewise.
20805 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
20806 * sysdeps/i386/fpu/s_sinf.S: Likewise.
20807 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
20808 ieee754/flt-32 implementation for tan.
20809
20810 * math/libm-test.inc (cos_test): Enable some large input tests for
20811 float as well
20812 (sin_test): Likewise.
20813 (sincos_test): Likewise.
20814 (tan_test): Add tests for large input.
20815
20816 * sysdeps/i386/fpu/libm-test-ulps: Update.
20817
81c64153
AJ
208182012-03-15 Andreas Jaeger <aj@suse.de>
20819
20820 [BZ #13658]
20821 * math/libm-test.inc (cos_test): Add more test cases.
20822 (sin_test): Likewise.
20823 (sincos_test): Likewise.
20824
7bbfa5c6
AJ
208252012-03-15 Andreas Jaeger <aj@suse.de>
20826
20827 [BZ #13837]
20828 * math/libm-test.inc (cos_test): Add a test case for large input
20829 value.
20830 (sin_test): Likewise.
20831 (sincos_test): Likewise.
20832
208332012-03-15 Andreas Jaeger <aj@suse.de>,
20834 Joseph Myers <joseph@codesourcery.com>
20835
20836 [BZ #13658]
0671f479 20837 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
20838 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
20839 * sysdeps/i386/fpu/branred.c: Likewise.
20840 * sysdeps/i386/fpu/dosincos.c: Likewise.
20841 * sysdeps/i386/fpu/mpa.c: Likewise.
20842 * sysdeps/i386/fpu/s_cos.S: Likewise.
20843 * sysdeps/i386/fpu/s_sin.S: Likewise.
20844 * sysdeps/i386/fpu/s_sincos.S: Likewise.
20845 * sysdeps/i386/fpu/sincos32.c: Likewise.
20846
20847 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
20848 Define.
20849 (libc_feupdateenv_53bit): Define.
20850 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
20851 Define.
20852 (libc_feupdateenv_53bit): Define.
20853
20854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
20855 53 bit (without extend i386 double precision).
20856
20857 * math/libm-test.inc (sincos_test): Add tests for large input.
20858 (sin): Likewise.
20859 (cos): Likewise.
20860
20861 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20862
9cad04ea
AS
208632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
20864
20865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20866
f7062b9a
DM
208672012-03-15 David S. Miller <davem@davemloft.net>
20868
20869 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
20870 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
20871 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
20872 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
20873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
20874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
20875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
20876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
20877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
20878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
20879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
20880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
20881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
20882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
20883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
20884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
20885 file.
f7062b9a 20886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
20887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
20888 file.
f7062b9a 20889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
20890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
20891 file.
f7062b9a 20892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
20893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
20894 file.
f7062b9a
DM
20895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
20896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
20897 fmin/fmax sysdep routines.
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
20899
7bd951ff
DM
209002012-03-14 David S. Miller <davem@davemloft.net>
20901
559398ab
DM
20902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
20903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
20904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
20905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
20906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
20907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
20908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
20909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
20910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
20911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
20912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
20913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
20914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
20915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
20916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
20917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
20918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
20919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
20920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
20921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
20922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
20923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
20924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
20925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
20926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
20927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
20928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
20929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
20931 routines.
20932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
20933 file.
559398ab 20934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
20935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
20936 file.
559398ab 20937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
20938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
20939 file.
559398ab 20940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
20941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
20942 file.
559398ab 20943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
20944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
20945 file.
559398ab 20946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
20947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
20948 file.
20949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
20950 file.
20951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
20952 file.
20953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
20954 file.
20955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
20956 New file.
20957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
20958 file.
20959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
20960 file.
559398ab 20961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
20962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
20963 file.
559398ab 20964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
20965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
20966 file.
559398ab 20967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
20968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
20969 file.
559398ab 20970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
20971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
20972 VIS3 routines.
559398ab
DM
20973
20974 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20975 New file.
20976
5a1c1e32
DM
20977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20978
eae47a36
DM
20979 * sysdeps/sparc/configure.in: New file.
20980 * sysdeps/sparc/configure: Generate.
20981 * configure.in (libc_cv_sparc_as_vis3): Substitute.
20982 * configure: Regenerate.
20983 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
20984 * config.make.in (have-as-vis3): New.
20985 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
20986 available use -Av9d instead of -Av9a.
20987 * sysdeps/sparc/sparc64/Makefile: Likewise.
20988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
20989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
20990 New file.
20991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
20992 file.
20993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
20994 New file.
20995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
20996 file.
eae47a36
DM
20997 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
20998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
20999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21002
c0c83bc8
DM
21003 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21004 fzeros/fnegs to load 0x80000000 into a float register instead of
21005 using the stack.
7bd951ff
DM
21006 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21007
bd951ccb
JM
210082012-03-14 Joseph Myers <joseph@codesourcery.com>
21009
21010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21011 bits/syscall.h.
21012 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21013 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21014 ($(inst_includedir)/bits/syscall.h): Remove rule.
21015 ($(objpfx)bits/syscall.d): Include instead of
21016 $(objpfx)syscall-list.d.
21017 (generated): Change syscall-list.h and syscall-list.d to
21018 bits/syscall.h and bits/syscall.d.
21019
bb4e6db2
RM
210202012-03-14 Roland McGrath <roland@hack.frob.com>
21021
21022 [BZ #13846]
21023 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21024
aa4a2ae1
JM
210252012-03-14 Joseph Myers <joseph@codesourcery.com>
21026
e456826d
JM
21027 [BZ #13841]
21028 * math/s_csqrt.c: Include <float.h>.
21029 (__csqrt): Scale large or subnormal inputs.
21030 * math/s_csqrtf.c: Likewise.
21031 * math/s_csqrtl.c: Likewise.
21032 * math/libm-test.inc (csqrt_test): Add more tests.
21033 * sysdeps/i386/fpu/libm-test-ulps: Update.
21034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035
aa4a2ae1
JM
21036 [BZ #13840]
21037 * math/libm-test.inc (hypot_test): Add more tests.
21038
7c10fd35
DM
210392012-03-13 David S. Miller <davem@davemloft.net>
21040
21041 [BZ #13840]
21042 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21043 double-precision for the calculation instead of scaling.
21044
f453b98b
JM
210452012-03-13 Joseph Myers <joseph@codesourcery.com>
21046
21047 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21048 manipulate bits before adding and subtracting TWO52[sx].
21049 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21050 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21051 Likewise.
21052 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21053
09a3453f
DM
210542012-03-13 David S. Miller <davem@davemloft.net>
21055
8e59da90
DM
21056 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21057 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21059 rtld-global-offsets.h
21060 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21061
2a8ab7f2
DM
21062 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21063 large parameters.
21064
10f62770
DM
21065 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21066
5f0bdb18
DM
21067 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21068 'err' in the ifdef scope in which it is actually used.
21069
09a3453f
DM
21070 * nss/nss_db/db-init.c: Include string.h
21071
b4b2eb5e
DM
210722012-03-12 David S. Miller <davem@davemloft.net>
21073
98bb2f1c
DM
21074 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21075 masking out of the most significant byte of random value used.
21076 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21077 Fix coding style in previous change.
21078
b4b2eb5e
DM
21079 * sysdeps/unix/sysv/linux/kernel-features.h
21080 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21081 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21082 expression.
21083 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21084 later.
21085
6e226b09
DM
210862012-03-11 David S. Miller <davem@davemloft.net>
21087
a1bcbd40
DM
21088 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21089 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21090 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21091 for 'resultvar' otherwise things get truncated on 64-bit.
21092
cb9d6174
DM
21093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21094 Fix masking out of the most significant byte of random value used.
21095
6e226b09
DM
21096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21097
058c132d
AS
210982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21099
21100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21101
2d2cd515
DM
211022012-03-09 David S. Miller <davem@davemloft.net>
21103
21104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21105 variables with appropriate CPP guards.
21106 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21107 frame pointer, not the stack pointer. Correct layout comments. Fix test
21108 on resulting framesize and the management of the outregs buffer for pltexit.
21109 Preserve floating point return values across _dl_call_pltexit call.
21110 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21111 framesize and the management of the outregs buffer for pltexit.
21112 Preserve floating point return values across _dl_call_pltexit
21113 call.
21114 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21115 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21116 (print_exit): Fix format string for return register value.
21117
9a07f9d0
JM
211182012-03-10 Joseph Myers <joseph@codesourcery.com>
21119
21120 * sunrpc/Makefile (others): Add rpcgen.
21121 ($(objpfx)rpcgen): Remove special build rule and dependency on
21122 libc.
21123 * sunrpc/rpcgen.c: New file.
21124
547b5e30
PE
211252012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21126
c524201a
PE
21127 [BZ #13673]
21128 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21129 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21130 * sysdeps/i386/crti.S: Likewise.
21131 * sysdeps/i386/crtn.S: Likewise.
21132 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21133 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21134 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21135 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21136 * sysdeps/sh/crti.S: Likewise.
21137 * sysdeps/sh/crtn.S: Likewise.
21138 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21139
7b6235f2
PE
21140 [BZ #13673]
21141 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21142 with URL.
21143 * locale/programs/locfile-kw.gperf: Likewise.
21144 * locale/programs/charmap-kw.h: Regenerated.
21145 * locale/programs/locfile-kw.h: Likewise.
21146
547b5e30
PE
21147 [BZ #13673]
21148 * intl/plural.y: Replace FSF snail mail address with URL.
21149 * intl/plural.c: Regenerated.
21150
5f0a5dae
RH
211512012-03-09 Richard Henderson <rth@twiddle.net>
21152
21153 * include/math_private.h: Remove file.
21154 * math/math_private.h: Move file ...
21155 * sysdeps/generic/math_private.h: ... here.
21156
b8c03620
RH
21157 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21158 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21159 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21160
4e234f5d 21161 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21162 and <math_private.h>.
21163 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21164 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21165 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21166 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21167 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21168 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21169 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21171 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21174 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21175 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21176 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21177 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21178 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21185 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21187 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21188 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21189 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21193 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21194 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21195 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21198 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21199 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21200 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21201 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21202 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21203 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21204 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21205 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21206 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21207 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21208 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21209 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21210 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21211 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21212 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21213 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21214 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21215 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21216 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21217 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21218 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21220 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21221 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21222 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
21223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21224 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21226 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21227 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
21228 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21229 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21231 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
21232 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
21233 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21234 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21235 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21237 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
21238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
21239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
21240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
21242 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
21243 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21244 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
21245 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21246 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21247 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
21249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
21250 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
21251 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21252 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21253 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21254 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21255 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21256 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21257 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21258 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21259 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21260 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21261 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21262 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21263 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21264 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21265 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21266 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21267 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21268 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21269 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21270 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21271 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21272 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21273 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21274 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21275 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21276 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21277 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
21278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21279 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21280 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21281 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21282 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21283 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21284 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21285 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21286 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
21287 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21288 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21290 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
21291 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21292 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
21293 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
21294 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21295 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21296 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
21297 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
21298 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21299 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21300 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21301 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
21302 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21303 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21304 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21305 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21306 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
21307 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
21308 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21309 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21310 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21311 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
21312 * sysdeps/ieee754/k_standard.c: Likewise.
21313 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21314 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21315 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21316 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21317 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21318 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21319 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21320 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21321 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21322 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21323 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21324 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21325 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21326 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21327 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21328 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21329 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21330 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21331 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21332 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
21333 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
21334 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
21335 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21336 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21337 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21338 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21339 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21340 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21341 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21342 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21343 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21344 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21345 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21346 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21347 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21348 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21349 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21350 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
21351 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
21352 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21353 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21354 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21355 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21356 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21357 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21358 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21359 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21361 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21362 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21363 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21364 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21365 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21366 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
21367 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21368 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21369 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
21370 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
21371 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21372 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21373 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21374 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21375 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21376 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21377 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21378 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21403 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
21404 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21405 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
21406 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21407 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
21413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21428 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21429 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21431 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21432 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21433 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21435 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21436 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21437 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21438 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21440 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21441 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21444 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21445 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21446 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21447 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21449 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
21450 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21451 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21452 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
21453 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
21454 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21455 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
21456 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
21457 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21459 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21460 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21461 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21462 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
21463 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21464 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21465 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21466 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21467 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
21468 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
21469 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21470 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21471 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21472 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21473 * sysdeps/ieee754/s_lib_version.c: Likewise.
21474 * sysdeps/ieee754/s_matherr.c: Likewise.
21475 * sysdeps/ieee754/s_signgam.c: Likewise.
21476 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21477 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
21479 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
21480 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
21481 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21482 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
21483 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
21484 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
21485 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
21486 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21487 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
21488 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21489 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21490 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21492 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21493 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21494 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21496 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 21497
1991fa03
JM
214982012-03-09 Joseph Myers <joseph@codesourcery.com>
21499
21500 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
21501 * sunrpc/rpc_main.c: Likewise.
21502 * sunrpc/rpc_svcout.c: Likewise.
21503
60d6f5a6
DM
215042012-03-09 David S. Miller <davem@davemloft.net>
21505
21506 * include/math_private.h: New file.
21507
4962050e
JM
215082012-03-09 Joseph Myers <joseph@codesourcery.com>
21509
02a6f887
JM
21510 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
21511 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
21512 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
21513 from <bits/socket_type.h>.
21514 (enum __socket_type): Don't define here.
21515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
21516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21517 bits/socket_type.h.
21518
c6e013c1
JM
21519 [BZ #13566]
21520 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
21521 checking __USE_GNU.
21522
4962050e
JM
21523 * Makerules ($(inst_includedir)/%.h): New rule.
21524 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
21525 (install-others): Remove variable setting.
21526 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
21527
38842f45
RH
215282012-03-08 Richard Henderson <rth@twiddle.net>
21529
67bb6da6
RH
21530 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
21531 from macro to inline function; merge with the
21532 !__LIBC_INTERNAL_MATH_INLINES version.
21533 (__ieee754_sqrtf): Likewise.
21534
15194b4b
RH
21535 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
21536 to inline function.
21537 (__rintf, __floor, __floorf): Likewise.
21538
64e21ede
RH
21539 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
21540 macro to inline function.
21541 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
21542
38842f45
RH
21543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
21544 not <math/math_private.h>.
21545
c64bf5fe
DM
215462012-03-08 David S. Miller <davem@davemloft.net>
21547
21548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
21549 copyright year.
21550 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21551
82d86f28
TS
215522012-03-08 Thomas Schwinge <thomas@codesourcery.com>
21553
21554 * resolv/gai_misc.c (handle_requests): Fix struct timespec
21555 normalization.
21556 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
21557 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21558
aea5d727
UD
215592012-03-08 Ulrich Drepper <drepper@gmail.com>
21560
21561 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
21562 be defined individually, they must be defined as a block. Define
21563 S for printing a string instead of hidint the different by using a
21564 macro for adding the 'l'.
21565 * stdio-common/tst-fphex-wide.c: Adjust.
21566
70bca0a3
MP
215672012-03-07 Marek Polacek <polacek@redhat.com>
21568
21569 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
21570
65b81130
MP
215712012-03-08 Marek Polacek <polacek@redhat.com>
21572
21573 [BZ #13806]
21574 * stdio-common/Makefile (tests): Add tst-fphex-wide.
21575 * stdio-common/tst-fphex.c: Define a few macros to make the
21576 test reusable. Use them.
21577 * stdio-common/tst-fphex-wide.c: New file.
21578
07037eeb
JM
215792012-03-08 Joseph Myers <joseph@codesourcery.com>
21580
a7a93d50
JM
21581 [BZ #6911]
21582 * manual/macros.texi (gnusystems): New macro.
21583 (nongnusystems): Likewise.
21584 (gnulinuxhurdsystems): Likewise.
21585 (gnuhurdsystems): Likewise..
21586 (gnulinuxsystems): Likewise.
21587 * manual/charset.texi: Use new macros or @theglibc{} to refer to
21588 variants of the GNU system, not "GNU system".
21589 * manual/conf.texi: Likewise.
21590 * manual/errno.texi: Likewise. Update example of errno macro
21591 expansion.
21592 * manual/filesys.texi: Likewise.
21593 (getumask): Document as specific to GNU/Hurd.
21594 * manual/install.texi: Likewise. Reword some references to
21595 GNU/Linux.
21596 * manual/intro.texi: Likewise.
21597 * manual/io.texi: Likewise.
21598 (File Name Portability): Detail which constraints are inapplicable
21599 to all GNU systems and which are only inapplicable to GNU/Hurd.
21600 * manual/job.texi: Likewise.
21601 * manual/llio.texi: Likewise.
21602 (O_NOCTTY): Document as present on GNU/Linux.
21603 * manual/maint.texi: Likewise.
21604 * manual/memory.texi: Likewise.
21605 * manual/pattern.texi: Likewise.
21606 * manual/pipe.texi: Likewise.
21607 * manual/process.texi: Likewise.
21608 * manual/resource.texi: Likewise.
21609 (RUSAGE_CHILDREN): Remove statement about specifying a particular
21610 child on GNU/Hurd.
21611 * manual/setjmp.texi: Likewise.
21612 * manual/signal.texi: Likewise.
21613 * manual/startup.texi: Likewise.
21614 * manual/stdio.texi: Likewise.
21615 * manual/terminal.texi: Likewise.
21616 (ONLCR): Document as POSIX.
21617 (OXTABS): Document availability on GNU/Linux as XTABS.
21618 (ONOEOT): Document availability separately from other bits.
21619 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
21620 * manual/time.texi: Likewise.
21621 * manual/users.texi: Likewise.
21622 * INSTALL: Regenerated.
21623 * sysdeps/gnu/errlist.c: Regenerated.
21624
07037eeb
JM
21625 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
21626 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
21627 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
21628 puts.
21629 * configure: Regenerated.
21630
d1d3431a
JM
216312012-03-07 Joseph Myers <joseph@codesourcery.com>
21632
af6a1e37
JM
21633 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
21634 default includes instead of AC_HEADER_CHECK.
21635 * sysdeps/i386/configure: Regenerated.
21636
d1d3431a
JM
21637 [BZ #10716]
21638 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
21639 * math/s_cacoshf.c (__cacoshf): Likewise.
21640 * math/s_cacoshl.c (__cacoshl): Likewise.
21641 * math/s_casinh.c (__casinh): Set signs of result from argument.
21642 * math/s_casinhf.c (__casinhf): Likewise.
21643 * math/s_casinhl.c (__casinhl): Likewise.
21644 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
21645 (casinh_test): Add more tests.
21646 * sysdeps/i386/fpu/libm-test-ulps: Update.
21647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21648
482ff4da
UD
216492012-03-07 Ulrich Drepper <drepper@gmail.com>
21650
872fda05
UD
21651 * po/zh_TW.po: Update from translation team.
21652
a4300c7a
UD
21653 * login/Makefile (distribute): Remove variable.
21654 * catgets/Makefile: Likewise.
21655 * mach/Makefile: Likewise.
21656 * malloc/Makefile: Likewise.
21657 * misc/Makefile: Likewise.
21658 * iconv/Makefile: Likewise.
21659 * nscd/Makefile: Likewise.
21660 * hurd/Makefile: Likewise.
21661 * manual/Makefile: Likewise.
21662 * locale/Makefile: Likewise.
21663 * intl/Makefile: Likewise.
21664 * conform/Makefile: Likewise.
21665 * nss/Makefile: Likewise.
21666 * time/Makefile: Likewise.
21667 * soft-fp/Makefile: Likewise.
21668 * dirent/Makefile: Likewise.
21669 * gmon/Makefile: Likewise.
21670 * po/Makefile: Likewise.
21671 * rt/Makefile: Likewise.
21672 * socket/Makefile: Likewise.
21673 * math/Makefile: Likewise.
21674 * signal/Makefile: Likewise.
21675 * debug/Makefile: Likewise.
21676 * elf/Makefile: Likewise.
21677 * timezone/Makefile: Likewise.
21678 * stdlib/Makefile: Likewise.
21679 * iconvdata/Makefile: Likewise.
21680 * sunrpc/Makefile: Likewise.
21681 * io/Makefile: Likewise.
21682 * argp/Makefile: Likewise.
21683 * inet/Makefile: Likewise.
21684 * hesiod/Makefile: Likewise.
21685 * grp/Makefile: Likewise.
21686 * csu/Makefile: Likewise.
21687 * wctype/Makefile: Likewise.
21688 * crypt/Makefile: Likewise.
21689 * libio/Makefile: Likewise.
21690 * string/Makefile: Likewise.
21691 * nis/Makefile: Likewise.
21692 * resolv/Makefile: Likewise.
21693 * stdio-common/Makefile: Likewise.
21694 * wcsmbs/Makefile: Likewise.
21695 * dlfcn/Makefile: Likewise.
21696 * posix/Makefile: Likewise.
21697
3b7c4e74 21698 [BZ #6959]
482ff4da
UD
21699 * timezone/Makefile: Don't install timezone files, just the programs
21700 and scripts.
21701
f72ed77d
UD
217022012-03-06 Ulrich Drepper <drepper@gmail.com>
21703
a000466f
UD
21704 * nss/databases.def: Add missing gshadow entry.
21705
f72ed77d
UD
21706 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
21707
a53b7a4e
MP
217082012-03-06 Marek Polacek <polacek@redhat.com>
21709
21710 [BZ #13726]
21711 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
21712 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21713 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
21714 * stdio-common/tst-long-dbl-fphex.c: New file.
21715
e9258400
DM
217162012-03-06 David S. Miller <davem@davemloft.net>
21717
21718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21719 (set_obp_int): New function.
21720 (get_obp_int): New function.
21721 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
21722 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
21723 Avoid unused variable warnings on 'val' and use builtin_expect.
21724 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
21725 __builtin_expect.
e9258400
DM
21726 (INLINE_CLONE_SYSCALL): Likewise.
21727
3bd2c723
DM
217282012-03-05 David S. Miller <davem@davemloft.net>
21729
21730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21731
bbb78d03
AS
217322012-03-05 Andreas Schwab <schwab@linux-m68k.org>
21733
884c5db4
AS
21734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21735
bbb78d03
AS
21736 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
21737 only for |x| >= 40.
21738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21739
1c9f702a 217402012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
21741
21742 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
21743 Replace gettimeofday with __vdso_gettimeofday.
21744
7be16f82
RM
21745 * sysdeps/unix/sysv/linux/x86_64/init-first.c
21746 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
21747 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
21748
21749 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
21750 time with __vdso_time.
21751
ed58a00f
JM
217522012-03-05 Joseph Myers <joseph@codesourcery.com>
21753
21754 * manual/lang.texi (size_t): Note types to which size_t may be
21755 equivalent with the GNU C Library, but do not describe when
21756 differences between them are significant.
21757
30ee4ced
AJ
217582012-03-05 Andreas Jaeger <aj@suse.de>
21759
21760 * sysdeps/i386/fpu/libm-test-ulps: Update.
21761
b7cd39e8
JM
217622012-03-05 Joseph Myers <joseph@codesourcery.com>
21763
21764 [BZ #3976]
21765 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
21766 (__ieee754_pow): Save and restore rounding mode and use
21767 round-to-nearest for main computations.
21768 * math/libm-test.inc (pow_test_tonearest): New function.
21769 (pow_test_towardzero): Likewise.
21770 (pow_test_downward): Likewise.
21771 (pow_test_upward): Likewise.
21772 (main): Call the new functions.
21773 * sysdeps/i386/fpu/libm-test-ulps: Update.
21774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
21775
21776 [BZ #3976]
21777 * math/libm-test.inc (cosh_test_tonearest): New function.
21778 (cosh_test_towardzero): Likewise.
21779 (cosh_test_downward): Likewise.
21780 (cosh_test_upward): Likewise.
21781 (sinh_test_tonearest): Likewise.
21782 (sinh_test_towardzero): Likewise.
21783 (sinh_test_downward): Likewise.
21784 (sinh_test_upward): Likewise.
21785 (main): Call the new functions.
21786 * sysdeps/i386/fpu/libm-test-ulps: Update.
21787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21788
6c6a98c9
TV
217892012-03-05 Tom de Vries <tom@codesourcery.com>
21790
21791 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
21792 default stack guard is set in last bytes.
21793 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
21794
21bb2d2e 217952012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 21796
21bb2d2e 21797 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 21798
21bb2d2e
AJ
21799 [BZ #13656]
21800 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
21801 possibly allocate from heap instead of stack.
21802 * stdio-common/bug-vfprintf-nargs.c: New file.
21803 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 21804
c6922934
AS
218052012-03-03 Andreas Schwab <schwab@linux-m68k.org>
21806
21807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21808
bc957d53
MP
218092012-03-03 Marek Polacek <polacek@redhat.com>
21810
21811 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
21812 * math/math_private.h: Likewise.
21813 * stdlib/tst-strtod.c: Likewise.
21814 * sysdeps/i386/i486/bits/atomic.h: Likewise.
21815 * sysdeps/x86_64/bits/atomic.h: Likewise.
21816
6358490d
DM
218172012-03-02 David S. Miller <davem@davemloft.net>
21818
21819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
21820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
21821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
21823 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
21824 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
21825 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
21826 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
21827
01ae168d
RM
218282012-03-02 Roland McGrath <roland@hack.frob.com>
21829
d9a17c07
RM
21830 [BZ #13792]
21831 * manual/examples/README: New file, says the example source files
21832 can be used under GPL>=2.
21833 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
21834 line containing just "*/".
21835 * manual/examples/add.c: Add copyright header (GPL>=2).
21836 * manual/examples/argp-ex1.c: Likewise.
21837 * manual/examples/argp-ex2.c: Likewise.
21838 * manual/examples/argp-ex3.c: Likewise.
21839 * manual/examples/argp-ex4.c: Likewise.
21840 * manual/examples/atexit.c: Likewise.
21841 * manual/examples/db.c: Likewise.
21842 * manual/examples/dir.c: Likewise.
21843 * manual/examples/dir2.c: Likewise.
21844 * manual/examples/execinfo.c: Likewise.
21845 * manual/examples/filecli.c: Likewise.
21846 * manual/examples/filesrv.c: Likewise.
21847 * manual/examples/fmtmsgexpl.c: Likewise.
21848 * manual/examples/genpass.c: Likewise.
21849 * manual/examples/inetcli.c: Likewise.
21850 * manual/examples/inetsrv.c: Likewise.
21851 * manual/examples/isockad.c: Likewise.
21852 * manual/examples/longopt.c: Likewise.
21853 * manual/examples/memopen.c: Likewise.
21854 * manual/examples/memstrm.c: Likewise.
21855 * manual/examples/mkfsock.c: Likewise.
21856 * manual/examples/mkisock.c: Likewise.
21857 * manual/examples/mygetpass.c: Likewise.
21858 * manual/examples/pipe.c: Likewise.
21859 * manual/examples/popen.c: Likewise.
21860 * manual/examples/rprintf.c: Likewise.
21861 * manual/examples/search.c: Likewise.
21862 * manual/examples/select.c: Likewise.
21863 * manual/examples/setjmp.c: Likewise.
21864 * manual/examples/sigh1.c: Likewise.
21865 * manual/examples/sigusr.c: Likewise.
21866 * manual/examples/stpcpy.c: Likewise.
21867 * manual/examples/strdupa.c: Likewise.
21868 * manual/examples/strftim.c: Likewise.
21869 * manual/examples/strncat.c: Likewise.
21870 * manual/examples/subopt.c: Likewise.
21871 * manual/examples/swapcontext.c: Likewise.
21872 * manual/examples/termios.c: Likewise.
21873 * manual/examples/testopt.c: Likewise.
21874 * manual/examples/testpass.c: Likewise.
21875 * manual/examples/timeval_subtract.c: Likewise.
21876
01ae168d
RM
21877 [BZ #13792]
21878 * manual/time.texi (Elapsed Time): Move timeval_subtract example
21879 function to ...
21880 * manual/timeval_subtract.c.texi: ... here, new file.
21881
49efa33d
DM
218822012-03-02 David S. Miller <davem@davemloft.net>
21883
21884 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
21885
28afd92d
JM
218862012-03-02 Joseph Myers <joseph@codesourcery.com>
21887
804360ed
JM
21888 [BZ #3976]
21889 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
21890 (__sin): Save and restore rounding mode and use round-to-nearest
21891 for all computations.
21892 (__cos): Save and restore rounding mode and use round-to-nearest
21893 for all computations.
21894 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
21895 <fenv.h>.
21896 (tan): Save and restore rounding mode and use round-to-nearest for
21897 all computations.
21898 * math/libm-test.inc (cos_test_tonearest): New function.
21899 (cos_test_towardzero): Likewise.
21900 (cos_test_downward): Likewise.
21901 (cos_test_upward): Likewise.
21902 (sin_test_tonearest): Likewise.
21903 (sin_test_towardzero): Likewise.
21904 (sin_test_downward): Likewise.
21905 (sin_test_upward): Likewise.
21906 (tan_test_tonearest): Likewise.
21907 (tan_test_towardzero): Likewise.
21908 (tan_test_downward): Likewise.
21909 (tan_test_upward): Likewise.
21910 (main): Call the new functions.
21911 * sysdeps/i386/fpu/libm-test-ulps: Update.
21912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21913
a6d06d7b
JM
21914 [BZ #10135]
21915 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
21916 small n, then large n, before computing and testing k+n.
21917 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21918 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
21919 Likewise.
21920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
21921 Likewise.
21922 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
21923 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
21924 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
21925 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
21926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21928 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
21929 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
21930 * math/libm-test.inc (scalbn_test): Add more tests.
21931 (scalbln_test): Likewise.
21932
07e12bb3
JM
21933 * manual/filesys.texi (mode_t): Describe constraints on size and
21934 signedness, not exact equivalence to a particular type.
21935 (ino_t): Likewise.
21936 (ino64_t): Likewise.
21937 (dev_t): Likewise.
21938 (nlink_t): Likewise.
21939 (blkcnt_t): Likewise.
21940 (blkcnt64_t): Likewise.
21941 * manual/llio.texi (off_t): Likewise.
21942
28afd92d
JM
21943 [BZ #3976]
21944 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
21945 (__ieee754_exp): Save and restore rounding mode and use
21946 round-to-nearest for all computations.
21947 * math/libm-test.inc (exp_test_tonearest): New function.
21948 (exp_test_towardzero): Likewise.
21949 (exp_test_downward): Likewise.
21950 (exp_test_upward): Likewise.
21951 (main): Call the new functions.
21952 * sysdeps/i386/fpu/libm-test-ulps: Update.
21953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21954
b1eeb65d
CD
219552012-03-01 Chris Demetriou <cgd@google.com>
21956
21957 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
21958 have predictable order.
21959
53362a4b
DM
219602012-03-01 David S. Miller <davem@davemloft.net>
21961
3c969083
DM
21962 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
21963
759707de
DM
21964 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
21965 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
21966 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
21967 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
21968
dfdb8ff2
DM
21969 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
21970 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
21971 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
21972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
21973 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
21974 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21975 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
21976 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
21977 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
21978
ead89f96
DM
21979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21980
7f66bd07
DM
21981 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
21982 * sysdeps/sparc/fpu/libm-test-ulps: to here.
21983 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
21984
53362a4b
DM
21985 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
21986 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
21987 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
21988 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
21989 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
21992 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
21993 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
21994 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
21995 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
21996 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
21997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21998 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
21999 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22000 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22001 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22002 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22003 * sysdeps/sparc/elf/configure: Regenerated.
22004
7b1902cb
JM
220052012-03-01 Joseph Myers <joseph@codesourcery.com>
22006
bec039bc
JM
22007 * configure.in (AS, LD): Require binutils 2.20 or later.
22008 * configure: Regenerated.
22009 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22010 as required minimum version.
22011 * INSTALL: Regenerated.
22012
7b1902cb
JM
22013 [BZ #2541]
22014 [BZ #4108]
22015 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22016 before squaring exponent.
22017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22018 bottom long double and 27 bits of top long double before squaring
22019 exponent.
22020 * math/libm-test.inc (erfc_test): Add more tests.
22021 * sysdeps/i386/fpu/libm-test-ulps: Update.
22022 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22024
f775c276
KT
220252012-03-01 Kai Tietz <ktietz@redhat.com>
22026
22027 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22028 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22029 containing bit-fields.
22030 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22031 * soft-fp/single.h (_FP_UNION_S): Likewise.
22032 * soft-fp/double.h (_FP_UNION_D): Likewise.
22033
5b8a4d4a
JM
220342012-02-29 Joseph Myers <joseph@codesourcery.com>
22035
0bab47b6
JM
22036 [BZ #13786]
22037 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22038 not include ../strcmp.S.
22039 [USE_AS_STRNCASECMP_L]: Likewise.
22040 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22041 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22042 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22043 (__strncasecmp_l_ia32): Define as alias to
22044 __strncasecmp_l_nonascii.
22045
0fcad3e2
JM
22046 [BZ #5794]
22047 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22048 * sysdeps/i386/fpu/libm-test-ulps: Update.
22049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22050
5b8a4d4a
JM
22051 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22053
8fdceb2e
JL
220542012-02-29 Jeff Law <law@redhat.com>
22055
22056 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22057 out of bounds read.
22058
1f393a11
MP
220592012-02-29 Marek Polacek <polacek@redhat.com>
22060
22061 [BZ #13706]
22062 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22063 * elf/Makefile: Add rules to run tst-unused-dep.out.
22064
8847f037
DM
220652012-02-28 David S. Miller <davem@davemloft.net>
22066
22067 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22068 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22070 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22071 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22072 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22073
169d7f11
JM
220742012-02-29 Joseph Myers <joseph@codesourcery.com>
22075
22076 * math/libm-test.inc (llround_test): Move one test from
22077 lround_test. Use TEST_f_L in moved test.
22078 (lround_test): Move misplaced test to llround_test. Add testcase
22079 from bug 2561.
22080
39adf059
UD
220812012-02-28 Ulrich Drepper <drepper@gmail.com>
22082
22083 * sysdeps/x86_64/fpu/e_expf.S: New file.
22084 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22085
71b5d1c5
SB
220862012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22087
22088 [BZ #13637]
22089 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22090 of remain_len that may cause incomplete multi-byte character and
22091 false match.
22092 * posix/bug-regex33.c: New file.
22093 * posix/Makefile (tests): Add bug-regex33.
22094
1f77f049
JM
220952012-02-28 Joseph Myers <joseph@codesourcery.com>
22096
22097 * manual/macros.texi: New file.
22098 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22099 * manual/libc.texinfo: Include macros.texi.
22100 * manual/creatute.texi: Likewise.
22101 * manual/install.texi: Likewise.
22102 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22103 @glibcadj{} in references to the GNU C Library.
22104 * manual/charset.texi: Likewise.
22105 * manual/conf.texi: Likewise.
22106 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22107 when not using those macros.
22108 * manual/creature.texi: Likewise.
22109 * manual/crypt.texi: Likewise.
22110 * manual/errno.texi: Likewise.
22111 * manual/filesys.texi: Likewise.
22112 * manual/header.texi: Likewise.
22113 * manual/install.texi: Likewise.
22114 * manual/intro.texi: Likewise.
22115 * manual/io.texi: Likewise.
22116 * manual/job.texi: Likewise.
22117 * manual/lang.texi: Likewise.
22118 * manual/libc.texiinfo: Likewise.
22119 * manual/llio.texi: Likewise.
22120 * manual/locale.texi: Likewise.
22121 * manual/maint.texi: Likewise.
22122 * manual/math.texi: Likewise.
22123 * manual/memory.texi: Likewise.
22124 * manual/message.texi: Likewise.
22125 * manual/nss.texi: Likewise.
22126 * manual/pattern.texi: Likewise.
22127 * manual/process.texi: Likewise.
22128 * manual/resource.texi: Likewise.
22129 * manual/search.texi: Likewise.
22130 * manual/setjmp.texi: Likewise.
22131 * manual/signal.texi: Likewise.
22132 * manual/socket.texi: Likewise.
22133 * manual/startup.texi: Likewise.
22134 * manual/stdio.texi: Likewise.
22135 * manual/string.texi: Likewise.
22136 * manual/sysinfo.texi: Likewise.
22137 * manual/syslog.texi: Likewise.
22138 * manual/terminal.texi: Likewise.
22139 * manual/time.texi: Likewise.
22140 * manual/users.texi: Likewise.
22141 * INSTALL: Regenerated.
22142 * NOTES: Regenerated.
d40c5d54 22143 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22144
450bf206
AS
221452012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22146
22147 * include/dirent.h: Include <dirstream.h> before
22148 <dirent/dirent.h>.
22149
741a235b
DM
221502012-02-28 David S. Miller <davem@davemloft.net>
22151
22152 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22153 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22154 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22155 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22156
d6b5aa58
DM
221572012-02-27 David S. Miller <davem@davemloft.net>
22158
1aff59a3
DM
22159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22161 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22162 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22163
d6b5aa58
DM
22164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22165 frame pointer instead of stack pointer relative arg slot.
22166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22167 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22168 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22169
433f48bf
CD
221702012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22171
22172 [BZ #3992]
22173 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22174
d674b76d
DM
221752012-02-27 David S. Miller <davem@davemloft.net>
22176
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22181 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22182 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22183 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22184 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22185
0e7727f7
JM
221862012-02-27 Joseph Myers <joseph@codesourcery.com>
22187
22188 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22189 later. Allow versions 5-9.
43be4ca2 22190 * configure: Regenerated.
0e7727f7
JM
22191 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22192 required minimum version and 4.6 as recommended version. Do not
22193 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22194 * INSTALL: Regenerated.
0e7727f7 22195
a78bc654
DM
221962012-02-27 David S. Miller <davem@davemloft.net>
22197
428d5830
DM
22198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22202 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22204 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22205 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22206
a78bc654
DM
22207 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22208 manipulate bits before adding and subtracting TWO112[sx].
22209 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22210
4579f81c
RM
222112012-02-27 Roland McGrath <roland@hack.frob.com>
22212
36c8acb4
RM
22213 [BZ #13775]
22214 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22215 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22216 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22217 being in POSIX, because they are in 1003.1-2008.
22218
84ad622b
RM
22219 * rt/tst-aio.c: Include <fcntl.h>.
22220 * rt/tst-aio7.c: Likewise.
22221 * rt/tst-aio64.c: Likewise.
22222
4579f81c
RM
22223 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
22224
abd923db
JM
222252012-02-27 Joseph Myers <joseph@codesourcery.com>
22226
22227 * manual/install.texi (--with-headers): Describe headers as
22228 interface headers, not private headers.
22229 (Specific advice for GNU/Linux systems): Describe use of headers
22230 from "make headers_install", not private headers from older
22231 kernels.
43be4ca2 22232 * INSTALL: Regenerated.
abd923db
JM
22233 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
22234 Change to 2.6.19.
22235 * sysdeps/unix/sysv/linux/configure: Regenerated.
22236
6664049b
JM
22237 * manual/llio.texi (fclean): Remove documentation.
22238
bb8b6697
JM
22239 * manual/Makefile (libc-texi-generated): New variable. Include
22240 version.texi.
22241 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
22242 $(libc-texi-generated), not duplicated list of files.
22243 (version.texi, stamp-version): New rules.
22244 (realclean): Remove $(libc-texi-generated), not individual files
22245 from that list. Do not remove dir-add.texinfo.
22246 * manual/libc.texinfo: Comment out uses of edition numbers and
22247 references to printed manual. Remove last-updated dates.
22248 (EDITION): Comment out.
22249 (ISBN): Likewise.
22250 (VERSION, UPDATED): Remove.
22251 (version.texi): Include.
22252
12e5c3b9
AS
222532012-02-27 Andreas Schwab <schwab@linux-m68k.org>
22254
22255 * sysdeps/posix/spawni.c: Include <signal.h>.
22256 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
22257 * sysdeps/pthread/aio_fsync.c: Likewise.
22258
4efeffc1 222592012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 22260
ba63ba08
UD
22261 * conform/Makefile (tests): Run only when not cross-compiling and
22262 when fast-check is not defined.
22263
d94a4670
UD
22264 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
22265 * conform/data/limits.h-data: Fixes for POSIX2008.
22266 * conform/run-conformtest.sh: Run all tests.
22267 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
22268 headers.
22269 * include/bits/dlfcn.h: Likewise.
22270 * include/langinfo.h: Likewise.
22271 * include/monetary.h: Likewise.
22272 * include/sys/poll.h: Likewise.
22273
22274 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
22275 for __USE_GNU.
22276 * posix/spawn.h: Define __need_sigset_t.
22277 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
22278 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
22279 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22280 to get sigevent_t only.
22281 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
22282 only for __USE_GNU.
22283 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22284 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22285 process_vm_writev only for __USE_GNU.
22286 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
22287
22288 * conform/Makefile: For now ignore errors from run-conformtest.
22289 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
22290 POSIX to avoid namespace pollution. Don't prepend headers.
22291 * conform/data/aio.h-data: Fixes for POSIX testing.
22292 * conform/data/fcntl.h-data: Likewise.
22293 * conform/data/glob.h-data: Likewise.
22294 * conform/data/grp.h-data: Likewise.
22295 * conform/data/pthread.h-data: Likewise.
22296 * conform/data/pwd.h-data: Likewise.
22297 * conform/data/signal.h-data: Likewise.
22298 * conform/data/spawn.h-data: Likewise.
22299 * conform/data/stdio.h-data: Likewise.
22300 * conform/data/stdlib.h-data: Likewise.
22301 * conform/data/stropts.h-data: Likewise.
22302 * conform/data/sys/mman.h-data: Likewise.
22303 * conform/data/sys/stat.h-data: Likewise.
22304 * conform/data/sys/types.h-data: Likewise.
22305 * conform/data/sys/wait.h-data: Likewise.
22306 * conform/data/time.h-data: Likewise.
22307 * conform/data/unistd.h-data: Likewise.
22308 * conform/data/utime.h-data: Likewise.
22309
22310 * io/sys/stat.h: fchmod was always in POSIX.
22311 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
22312 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
22313 * rt/aio.h: Define __need_timespec before including <time.h>.
22314 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
22315 struct. Add forward declaration of pthread_attr_t and use it in
22316 sigevent.
22317 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
22318 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22319 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
22320 always remove CLK_TCK definition.
22321
c20105c3
AS
223222012-02-26 Andreas Schwab <schwab@linux-m68k.org>
22323
22324 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
22325
7a270350
UD
223262012-02-25 Ulrich Drepper <drepper@gmail.com>
22327
31341567
UD
22328 * conform/run-conformtest.sh: New file.
22329 * conform/Makefile: Run run-conformtest for tests.
22330 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
22331 support.
22332
22333 * conform/data/uchar.h-data: New file.
22334 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
22335 * conform/data/arpa/inet.h-data: Likewise.
22336 * conform/data/assert.h-data: Likewise.
22337 * conform/data/complex.h-data: Likewise.
22338 * conform/data/cpio.h-data: Likewise.
22339 * conform/data/ctype.h-data: Likewise.
22340 * conform/data/dirent.h-data: Likewise.
22341 * conform/data/dlfcn.h-data: Likewise.
22342 * conform/data/errno.h-data: Likewise.
22343 * conform/data/fcntl.h-data: Likewise.
22344 * conform/data/float.h-data: Likewise.
22345 * conform/data/fmtmsg.h-data: Likewise.
22346 * conform/data/fnmatch.h-data: Likewise.
22347 * conform/data/ftw.h-data: Likewise.
22348 * conform/data/glob.h-data: Likewise.
22349 * conform/data/grp.h-data: Likewise.
22350 * conform/data/iconv.h-data: Likewise.
22351 * conform/data/inttypes.h-data: Likewise.
22352 * conform/data/langinfo.h-data: Likewise.
22353 * conform/data/libgen.h-data: Likewise.
22354 * conform/data/limits.h-data: Likewise.
22355 * conform/data/locale.h-data: Likewise.
22356 * conform/data/math.h-data: Likewise.
22357 * conform/data/monetary.h-data: Likewise.
22358 * conform/data/mqueue.h-data: Likewise.
22359 * conform/data/ndbm.h-data: Likewise.
22360 * conform/data/net/if.h-data: Likewise.
22361 * conform/data/netdb.h-data: Likewise.
22362 * conform/data/netinet/in.h-data: Likewise.
22363 * conform/data/nl_types.h-data: Likewise.
22364 * conform/data/poll.h-data: Likewise.
22365 * conform/data/pthread.h-data: Likewise.
22366 * conform/data/pwd.h-data: Likewise.
22367 * conform/data/regex.h-data: Likewise.
22368 * conform/data/sched.h-data: Likewise.
22369 * conform/data/search.h-data: Likewise.
22370 * conform/data/semaphore.h-data: Likewise.
22371 * conform/data/setjmp.h-data: Likewise.
22372 * conform/data/signal.h-data: Likewise.
22373 * conform/data/spawn.h-data: Likewise.
22374 * conform/data/stdarg.h-data: Likewise.
22375 * conform/data/stdio.h-data: Likewise.
22376 * conform/data/stdlib.h-data: Likewise.
22377 * conform/data/string.h-data: Likewise.
22378 * conform/data/strings.h-data: Likewise.
22379 * conform/data/stropts.h-data: Likewise.
22380 * conform/data/sys/ipc.h-data: Likewise.
22381 * conform/data/sys/mman.h-data: Likewise.
22382 * conform/data/sys/msg.h-data: Likewise.
22383 * conform/data/sys/resource.h-data: Likewise.
22384 * conform/data/sys/select.h-data: Likewise.
22385 * conform/data/sys/sem.h-data: Likewise.
22386 * conform/data/sys/shm.h-data: Likewise.
22387 * conform/data/sys/socket.h-data: Likewise.
22388 * conform/data/sys/stat.h-data: Likewise.
22389 * conform/data/sys/statvfs.h-data: Likewise.
22390 * conform/data/sys/time.h-data: Likewise.
22391 * conform/data/sys/timeb.h-data: Likewise.
22392 * conform/data/sys/times.h-data: Likewise.
22393 * conform/data/sys/types.h-data: Likewise.
22394 * conform/data/sys/uio.h-data: Likewise.
22395 * conform/data/sys/un.h-data: Likewise.
22396 * conform/data/sys/utsname.h-data: Likewise.
22397 * conform/data/sys/wait.h-data: Likewise.
22398 * conform/data/syslog.h-data: Likewise.
22399 * conform/data/tar.h-data: Likewise.
22400 * conform/data/termios.h-data: Likewise.
22401 * conform/data/utime.h-data: Likewise.
22402 * conform/data/utmpx.h-data: Likewise.
22403 * conform/data/varargs.h-data: Likewise.
22404 * conform/data/wchar.h-data: Likewise.
22405 * conform/data/wctype.h-data: Likewise.
22406 * conform/data/wordexp.h-data: Likewise.
22407
22408 * include/stropts.h: New file.
22409 * include/uchar.h: New file.
22410 * include/aio.h: Changes to allow conformtest.pl to use the headers.
22411 * include/assert.h: Likewise.
22412 * include/ctype.h: Likewise.
22413 * include/dirent.h: Likewise.
22414 * include/dlfcn.h: Likewise.
22415 * include/fcntl.h: Likewise.
22416 * include/fnmatch.h: Likewise.
22417 * include/glob.h: Likewise.
22418 * include/grp.h: Likewise.
22419 * include/libio.h: Likewise.
22420 * include/locale.h: Likewise.
22421 * include/math.h: Likewise.
22422 * include/net/if.h: Likewise.
22423 * include/netdb.h: Likewise.
22424 * include/netinet/in.h: Likewise.
22425 * include/pthread.h: Likewise.
22426 * include/pwd.h: Likewise.
22427 * include/regex.h: Likewise.
22428 * include/sched.h: Likewise.
22429 * include/search.h: Likewise.
22430 * include/setjmp.h: Likewise.
22431 * include/signal.h: Likewise.
22432 * include/stdio.h: Likewise.
22433 * include/stdlib.h: Likewise.
22434 * include/string.h: Likewise.
22435 * include/sys/cdefs.h: Likewise.
22436 * include/sys/mman.h: Likewise.
22437 * include/sys/msg.h: Likewise.
22438 * include/sys/resource.h: Likewise.
22439 * include/sys/select.h: Likewise.
22440 * include/sys/socket.h: Likewise.
22441 * include/sys/stat.h: Likewise.
22442 * include/sys/statvfs.h: Likewise.
22443 * include/sys/time.h: Likewise.
22444 * include/sys/times.h: Likewise.
22445 * include/sys/uio.h: Likewise.
22446 * include/sys/utsname.h: Likewise.
22447 * include/sys/wait.h: Likewise.
22448 * include/termios.h: Likewise.
22449 * include/time.h: Likewise.
22450 * include/ulimit.h: Likewise.
22451 * include/unistd.h: Likewise.
22452 * include/utime.h: Likewise.
22453 * include/wchar.h: Likewise.
22454 * include/wctype.h: Likewise.
22455 * include/wordexp.h: Likewise.
22456
22457 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
22458
7a270350
UD
22459 * time/time.h: TIME_UTC must be a macro.
22460 Make timespec_get available for ISO C11 only as well.
22461
7724defc
UD
224622012-02-24 Ulrich Drepper <drepper@gmail.com>
22463
22464 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
22465 Reported by Peng Haitao <penght@cn.fujitsu.com>.
22466
6b1d1d46
JM
224672012-02-24 Joseph Myers <joseph@codesourcery.com>
22468
22469 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 22470
0f8bbd69
JM
224712012-02-24 Joseph Myers <joseph@codesourcery.com>
22472
22473 * manual/texinfo.tex: Update to version 2012-01-19.16.
22474
66ab80bc
JM
224752012-02-24 Joseph Myers <joseph@codesourcery.com>
22476
22477 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
22478
74981cc5
RM
224792012-02-24 Roland McGrath <roland@hack.frob.com>
22480
ee968201
RM
22481 [BZ #13738]
22482 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
22483 * manual/fdl-1.3.texi: New file.
22484 * manual/fdl-1.1.texi: File removed.
22485
74981cc5
RM
22486 [BZ #13738]
22487 * manual/libc.texinfo (FDL_VERSION): New @set.
22488 Use it for mention of FDL in cover text.
22489 (Documentation License): Use it in @include file name.
22490
7bb764bc
JM
224912012-02-22 Joseph Myers <joseph@codesourcery.com>
22492 Roland McGrath <roland@hack.frob.com>
22493
22494 [BZ #5461]
22495 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
22496 not LONG_LONG_MAX and LONG_LONG_MIN.
22497 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
22498 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
22499 name.
22500 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
22501
6cbeae47
JM
225022012-02-22 Joseph Myers <joseph@codesourcery.com>
22503
22504 [BZ #2547]
22505 [BZ #11365]
22506 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
22507 manipulate bits before adding and subtracting TWO23[sx].
22508 * math/libm-test.inc (nearbyint_test): Add more tests.
22509
fe45ce09
JM
225102012-02-22 Joseph Myers <joseph@codesourcery.com>
22511
22512 [BZ #2548]
22513 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
22514 bits before adding and subtracting TWO23[sx].
22515 * math/libm-test.inc (rint_test): Add more tests.
22516 (rint_test_tonearest): Likewise.
22517 (rint_test_towardzero): Likewise.
22518 (rint_test_downward): Likewise.
22519 (rint_test_upward: Likewise.
22520
ff3b3d82
JM
225212012-02-22 Joseph Myers <joseph@codesourcery.com>
22522
22523 [BZ #10110]
22524 * include/stdc-predef.h: New file. Extracted from features.h.
22525 * include/features.h: Include stdc-predef.h.
22526 * Makefile (headers): Add stdc-predef.h.
22527 * CONFORMANCE (Compiler limitations): Update.
22528
ef0aab35
JM
225292012-02-22 Joseph Myers <joseph@codesourcery.com>
22530
22531 * manual/libc.texinfo (VERSION, UPDATED): Revert.
22532
58639409
DM
225332012-02-21 David S. Miller <davem@davemloft.net>
22534
22535 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
22536 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22537
c0e70b25
DM
225382012-02-20 David S. Miller <davem@davemloft.net>
22539
22540 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
22541 using a normal save/restore sequence, rather than allocating a
22542 dummy stack frame just to store a frame pointer and restore.
22543 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22544
fb06851d
JM
225452012-02-21 Joseph Myers <joseph@codesourcery.com>
22546
22547 * manual/install.texi: Fix stray word in line-wrapped comment.
22548
7a8b71c3
DM
225492012-02-20 David S. Miller <davem@davemloft.net>
22550
d510c123
DM
22551 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
22552 both binutils and gcc support GOTDATA.
22553
0722d7c2
DM
22554 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
22555 "rd %pc" in the PIC register setup sequences.
22556
3d2b3019
DM
22557 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
22558 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
22559 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22560 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
22561 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22563 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22564 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
22566 (SYSCALL_ERROR_HANDLER): Likewise.
22567 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22568 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22569 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
22570 (SYSCALL_ERROR_HANDLER): Likewise.
22571
c80098a9
DM
22572 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
22573 (HAVE_GCC_GOTDATA): New.
22574 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
22575 relocation support in both binutils and gcc.
22576 * sysdeps/sparc/elf/configure: Regenerate.
22577
3a2545a0
DM
22578 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
22579 * sysdeps/sparc/sparc32/elf/configure: Delete.
22580 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
22581 * sysdeps/sparc/sparc64/elf/configure: Delete.
22582 * sysdeps/sparc/elf/configure.in: New file.
22583 * sysdeps/sparc/elf/configure: Generate.
22584
7a8b71c3
DM
22585 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
22586 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
22587 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22588 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
22589 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
22590
f1e86fca
JM
225912012-02-21 Joseph Myers <joseph@codesourcery.com>
22592
22593 * manual/install.texi: Do not mention specific glibc version
22594 numbers.
22595 * manual/libc.texinfo (VERSION, UPDATED): Update.
22596 (@copying): Use @copyright{} and range of years.
22597
0e7dfaef
JM
225982012-02-21 Joseph Myers <joseph@codesourcery.com>
22599
22600 [BZ #13695]
22601 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
22602 [crti.S not in sysdirs] (generated): Do not append.
22603 [crti.S not in sysdirs] (omit-deps): Likewise.
22604 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
22605 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
22606 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
22607 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
22608 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
22609 Likewise.
22610 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
22611 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
22612 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
22613 * csu/defs.awk: Remove file.
22614 * sysdeps/generic/initfini.c: Likewise.
22615 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
22616 variable.
22617 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
22618 Likewise.
22619
599af3ca
JM
226202012-02-20 Joseph Myers <joseph@codesourcery.com>
22621
22622 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
22623 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
22624 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
22625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
22626 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22627 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
22628 <bits/epoll.h>.
22629 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
22630 (__EPOLL_PACKED): Define to empty if not defined by
22631 <bits/epoll.h>.
22632 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
22633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22634 bits/epoll.h.
22635
0e499750
JM
226362012-02-20 Joseph Myers <joseph@codesourcery.com>
22637
22638 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
22639 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
22640 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
22641 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
22642 <bits/timerfd.h>.
22643 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
22644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22645 bits/timerfd.h.
22646
5ad91f6e
JM
226472012-02-20 Joseph Myers <joseph@codesourcery.com>
22648
22649 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
22650 in C locale.
22651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22652 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22653 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
22654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22655
06b99b02
AJ
226562012-02-20 Aurelien Jarno <aurelien@aurel32.net>
22657
22658 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22659 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
22660
7638c0fd
AS
226612012-02-19 Andreas Schwab <schwab@linux-m68k.org>
22662
22663 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
22664 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
22665 defined.
22666 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
22667 Likewise.
22668 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
22669 entry for 2.16.
22670
92221550
AJ
226712012-02-19 Aurelien Jarno <aurelien@aurel32.net>
22672
22673 * math/w_acos.c: Use non-signaling floating-point comparisons.
22674 * math/w_acosf.c: Likewise.
22675 * math/w_acosh.c: Likewise.
22676 * math/w_acoshf.c: Likewise.
22677 * math/w_acoshl.c: Likewise.
22678 * math/w_acosl.c: Likewise.
22679 * math/w_asin.c: Likewise.
22680 * math/w_asinf.c: Likewise.
22681 * math/w_asinl.c: Likewise.
22682 * math/w_atanh.c: Likewise.
22683 * math/w_atanhf.c: Likewise.
22684 * math/w_atanhl.c: Likewise.
22685 * math/w_exp2.c: Likewise.
22686 * math/w_exp2f.c: Likewise.
22687 * math/w_exp2l.c: Likewise.
22688 * math/w_j0.c: Likewise.
22689 * math/w_j0f.c: Likewise.
22690 * math/w_j0l.c: Likewise.
22691 * math/w_j1.c: Likewise.
22692 * math/w_j1f.c: Likewise.
22693 * math/w_j1l.c: Likewise.
22694 * math/w_jn.c: Likewise.
22695 * math/w_jnf.c: Likewise.
22696 * math/w_log.c: Likewise.
22697 * math/w_log10.c: Likewise.
22698 * math/w_log10f.c: Likewise.
22699 * math/w_log10l.c: Likewise.
22700 * math/w_log2.c: Likewise.
22701 * math/w_log2f.c: Likewise.
22702 * math/w_log2l.c: Likewise.
22703 * math/w_logf.c: Likewise.
22704 * math/w_logl.c: Likewise.
22705 * math/w_sqrt.c: Likewise.
22706 * math/w_sqrtf.c: Likewise.
22707 * math/w_sqrtl.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22710 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22711 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22713
ebaf36eb
JM
227142012-02-19 Joseph Myers <joseph@codesourcery.com>
22715
22716 [BZ #9739]
22717 * manual/string.texi (strnlen): Use correct parameter name in
22718 equivalent expression.
22719
71c254a6
JM
227202012-02-19 Joseph Myers <joseph@codesourcery.com>
22721
22722 [BZ #11174]
22723 * manual/users.texi (seteuid): Consistently use neweuid for
22724 argument name.
22725
16d2c631
JM
227262012-02-19 Joseph Myers <joseph@codesourcery.com>
22727
22728 [BZ #13704]
22729 * manual/nss.texi (Services in the NSS configuration): Correct
22730 list of services in example configuration file.
22731
cd837b09
NB
227322012-02-19 Nick Bowler <nbowler@draconx.ca>
22733
22734 [BZ #11322]
22735 * manual/arith.texi: Remove statements about negative zero
22736 behaving identically to zero.
22737
02c4bbad
JM
227382012-02-18 Joseph Myers <joseph@codesourcery.com>
22739
22740 [BZ #5993]
22741 * manual/install.texi: Do not document upgrading from libc5.
22742
366842e7
JM
227432012-02-18 Joseph Myers <joseph@codesourcery.com>
22744
22745 [BZ #4596]
22746 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
22747
dd54084d
DM
227482012-02-18 David S. Miller <davem@davemloft.net>
22749
22750 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
22751 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
22752 %o7 across the call.
22753 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
22754 instead.
22755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
22756 SETUP_PIC_REG_LEAF.
22757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22758 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
22759 * sysdeps/sparc/crtn.S: Likewise.
22760
2bcc53a3
UD
227612012-02-17 Ulrich Drepper <drepper@gmail.com>
22762
22763 * aout/Makefile: Remove.
22764
09c093b5
RK
227652012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
22766
22767 [BZ #13058]
22768 * manual/examples/argp-ex1.c (main): Format definition in GNU
22769 style.
22770 * manual/examples/argp-ex2.c (main): Likewise.
22771 * manual/examples/argp-ex3.c (main): Likewise.
22772 * manual/examples/argp-ex4.c (main): Likewise.
22773 * manual/examples/longopt.c (main): Use new-style prototype
22774 definition.
22775 * manual/examples/strncat.c (main): Specify return type and use
22776 (void) for arguments.
22777 * manual/examples/subopt.c (main): Use char **argv argument.
22778
2ee633a2
JM
227792012-02-17 Joseph Myers <joseph@codesourcery.com>
22780
22781 [BZ #5077]
22782 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
22783 rounding modes.
22784
0520adde
FB
227852012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
22786
22787 [BZ #6907]
22788 * manual/string.texi (strchr): Change when strchrnul is
22789 recommended.
22790
3f4081cd
DGM
227912012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
22792
22793 [BZ #174]
22794 * manual/locale.texi (setlocale): Document LOCPATH.
22795
d1b10e78
JM
227962012-02-17 Joseph Myers <joseph@codesourcery.com>
22797
22798 [BZ #10210]
22799 * manual/process.texi (execle): Move @dots{} before last argument.
22800
79c6869c
PB
228012012-02-17 Paul Bolle <pebolle@tiscali.nl>
22802
22803 [BZ #12047]
22804 * manual/charset.texi (Generic Charset Conversion): Fix typo
22805 (LC_TYPE -> LC_CTYPE).
22806
cc6e48bc
NB
228072012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
22808
22809 [BZ #5805]
22810 * manual/arith.texi (scalbn): Use @var{} on parameter names.
22811 (scalbnf): Likewise.
22812 (scalbnl): Likewise.
22813 (scalbln): Likewise.
22814 (scalblnf): Likewise.
22815 (scalblnl): Likewise.
22816 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
22817 (vwarnx): Likewise.
22818 (verr): Likewise.
22819 (verrx): Likewise.
22820 * manual/filesys.texi (telldir): Use braces around return type.
22821 * manual/llio.texi (mmap): Add space after comma.
22822 (mmap64): Likewise.
22823 * manual/math.texi (jn): Use @var{} on parameter names.
22824 (jnf): Likewise.
22825 (jnl): Likewise.
22826 (yn): Likewise.
22827 (ynf): Likewise.
22828 (ynl): Likewise.
22829 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
22830 line.
22831 * manual/resource.texi (ulimit): Use @dots{} instead of literal
22832 "...".
22833 (sched_get_priority_min): Remove semicolon on @deftypefun line.
22834 (sched_get_priority_max): Likewise.
22835 * manual/signal.texi (sigvec): Add space after comma.
22836 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
22837 names.
22838 (if_indextoname): Likewise.
22839 (if_freenameindex): Likewise.
22840 (sendto): Use ',' instead of '.' in prototype.
22841 * manual/startup.texi (syscall): Use @dots{} instead of literal
22842 "...".
22843 * manual/stdio.texi (__fpending): Separate initial words of
22844 paragraph from @deftypefun line.
22845 * manual/syslog.texi (syslog): Use @dots{} instead of literal
22846 "...".
22847 (vsyslog): Use @var{} on parameter names.
22848 * manual/terminal.texi (stty): Use @var{} on parameter names.
22849 * manual/users.texi (getutmp): Use @var{} on parameter names.
22850 (getutmpx): Likewise.
22851
5b23062f
JM
228522012-02-17 Joseph Myers <joseph@codesourcery.com>
22853
22854 [BZ #6884]
22855 * manual/stdio.texi (fopen): Fix typos in description of
22856 ",ccs=STRING".
22857
8dee4833
AJ
228582012-02-17 Aurelien Jarno <aurelien@aurel32.net>
22859
22860 [BZ #4026]
22861 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
22862 get clock_id definition.
22863
9078ce93
TS
228642012-02-17 Thomas Schwinge <thomas@schwinge.name>
22865
22866 [BZ #4822]
22867 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
22868 (madvise): Cast every argument to void on its own.
22869
3835c55f
JM
228702012-02-17 Joseph Myers <joseph@codesourcery.com>
22871
22872 [BZ #9902]
22873 * manual/startup.texi (Exit Status): Fix typo.
22874
35c47e37
JM
228752012-02-17 Joseph Myers <joseph@codesourcery.com>
22876
22877 [BZ #10140]
22878 * manual/examples/argp-ex1.c: Include <stdlib.h>.
22879 * manual/examples/argp-ex2.c: Likewise.
22880 * manual/examples/argp-ex3.c: Likewise.
22881
e3b69ca7
RH
228822012-02-16 Richard Henderson <rth@redhat.com>
22883
22884 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
22885 * sysdeps/s390/s390-32/initfini.c: Remove.
22886 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
22887 * sysdeps/s390/s390-64/initfini.c: Remove.
22888
df83af67
KK
228892012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22890
22891 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
22892 compiler output for sysdeps/generic/initfini.c.
22893 * sysdeps/sh/elf/initfini.c: Remove file.
22894
f63f3380
DM
228952012-02-16 David S. Miller <davem@davemloft.net>
22896
fb59b3a4
DM
22897 [BZ #11494]
22898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
22899
f63f3380
DM
22900 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
22901 * sysdeps/sparc/crti.S: New file.
22902 * sysdeps/sparc/crtn.S: New file.
22903 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
22904 * sysdeps/sparc/sparc64/Makefile: Likewise.
22905
df6a4a4a
MF
229062012-02-15 Mike Frysinger <vapier@gentoo.org>
22907
6dd8f3dc 22908 [BZ #3335]
df6a4a4a
MF
22909 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
22910
1cac7236
RM
229112012-02-15 Roland McGrath <roland@hack.frob.com>
22912
d2c736f8
RM
22913 [BZ #4822]
22914 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
22915
1cac7236
RM
22916 * mach/devstream.c (cookie_io_functions_t): Macro removed.
22917 (write, read, close): Likewise.
22918 Patch by Aurelien Jarno <aurelien@aurel32.net>.
22919
8e475601
JM
229202012-02-15 Joseph Myers <joseph@codesourcery.com>
22921
22922 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
22923 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
22924 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
22925 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
22926 <bits/signalfd.h>.
22927 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
22928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22929 bits/signalfd.h.
22930
ed656b40
MP
229312012-02-14 Marek Polacek <polacek@redhat.com>
22932
22933 * sysdeps/x86_64/crti.S: New file.
22934 * sysdeps/x86_64/crtn.S: New file.
22935 * sysdeps/x86_64/elf/initfini.c: Remove file.
22936
2a979d3a
JM
229372012-02-13 Joseph Myers <joseph@codesourcery.com>
22938
22939 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
22940 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
22941 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
22942 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
22943 <bits/inotify.h>.
22944 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
22945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22946 bits/inotify.h.
22947
2a418ac3
JM
229482012-02-13 Joseph Myers <joseph@codesourcery.com>
22949
22950 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
22951 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
22952 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
22953 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
22954 <bits/eventfd.h>.
22955 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
22956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22957 bits/eventfd.h.
22958
fb779be7
TS
229592012-02-10 Thomas Schwinge <thomas@codesourcery.com>
22960
e19e83c5
RM
22961 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
22962 __feraiseexcept instead of feraiseexcept.
7c35ffed 22963
fb779be7
TS
22964 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
22965 nanosleep invocations.
22966 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
22967 strings, and add error checking for a nanosleep invocations.
22968
59ba27a6
PE
229692012-02-09 Paul Eggert <eggert@cs.ucla.edu>
22970
22971 Replace FSF snail mail address with URLs, as per GNU coding standards.
22972 Most of the snail mail addresses were wrong anyway, and omitting
22973 them makes the source code easier to maintain. Almost all of the
22974 changes are to license notices and to locale LC_IDENTIFICATION
22975 addresses, except for this one:
22976 * manual/libc.texinfo: In "Published by", give the FSF's URL,
22977 not its snail mail address.
22978
57b957eb
RH
229792012-02-09 Richard Henderson <rth@twiddle.net>
22980
af850b1c
RH
22981 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
22982 of kernel-features.h.
22983
57b957eb
RH
22984 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
22985
6b73181a
MP
229862012-02-08 Marek Polacek <polacek@redhat.com>
22987
22988 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
22989 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22990 * sysdeps/gnu/_G_config.h: Likewise.
22991 * sysdeps/generic/_G_config.h: Likewise.
22992
26ecc33a
AS
229932012-02-08 Andreas Schwab <schwab@linux-m68k.org>
22994
6c6dbc63
AS
22995 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
22996 tests.
22997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22998
e216c012
AS
22999 * sysdeps/powerpc/powerpc32/crti.S: New file.
23000 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23001 * sysdeps/powerpc/powerpc64/crti.S: New file.
23002 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23003
26ecc33a
AS
23004 * Makeconfig (have-initfini): Don't set.
23005 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23006 * configure.in (nopic_initfini): Don't substitute.
23007 * config.h.in (HAVE_INITFINI): Don't #undef.
23008 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23009 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23010
3add8e13
JM
230112012-02-08 Joseph Myers <joseph@codesourcery.com>
23012
23013 Support crti.S and crtn.S provided directly by architectures.
23014 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23015 [crti.S in sysdirs] (omit-deps): Likewise.
23016 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23017 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23018 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23019 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23020 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23021 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23022 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23023 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23024 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23025 compiler output for sysdeps/generic/initfini.c.
23026 * sysdeps/i386/elf/Makefile: Remove file.
23027 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23028
a22f12b4
MP
230292012-02-07 Marek Polacek <polacek@redhat.com>
23030
23031 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23032 * sysdeps/gnu/_G_config.h: Likewise.
23033 * sysdeps/mach/hurd/_G_config.h: Likewise.
23034
148cf100
MP
230352012-02-07 Marek Polacek <polacek@redhat.com>
23036
23037 * math/Makefile (tests): Add tst-CMPLX2.
23038 * math/tst-CMPLX2.c: New file.
23039
cfdc0dd7
AS
230402012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23041
84ba42c4
AS
23042 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23043
cfdc0dd7
AS
23044 * math/libm-test.inc (jn_test): Add missing L suffix.
23045
622c86f4
MP
230462012-02-06 Marek Polacek <polacek@redhat.com>
23047
23048 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23049 * sysdeps/i386/fpu/e_powf.S: Likewise.
23050 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23051 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23053 * sysdeps/i386/fpu/e_pow.S: Likewise.
23054 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23055 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23056 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23057 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23058 * sysdeps/i386/fpu/e_log2.S: Likewise.
23059 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23060 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23061 * sysdeps/i386/fpu/e_powl.S: Likewise.
23062 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23063 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23064 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23065 * sysdeps/i386/fpu/e_logl.S: Likewise.
23066 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23067 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23068 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23069 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23071 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23072 * sysdeps/i386/fpu/e_log.S: Likewise.
23073 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23074 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23075 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23076 * sysdeps/i386/fpu/e_logf.S: Likewise.
23077 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23078 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23079 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23080 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23081 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23082 * sysdeps/i386/fpu/e_log10.S: Likewise.
23083 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23084 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23085 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23086 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23087 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23088 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23089 * sysdeps/i386/asm-syntax.h: Likewise.
23090 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23091 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23093 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23094 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23095 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23096 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23097 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23098 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23099 * sysdeps/powerpc/sysdep.h: Likewise.
23100 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23101 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23102
d4a54ac6
JM
231032012-02-06 Joseph Myers <joseph@codesourcery.com>
23104
23105 [BZ #411]
23106 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23107
314054ea
JM
231082012-02-06 Joseph Myers <joseph@codesourcery.com>
23109
23110 * sysdeps/i386/sysdep.h: Include <features.h>.
23111 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23112 version.
23113
d8e0ca50
JM
231142012-02-05 Joseph Myers <joseph@codesourcery.com>
23115
23116 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23117 Define.
23118 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23119 LOAD_PIC_REG_STR.
23120
b1da7dd9
JM
231212012-02-03 Joseph Myers <joseph@codesourcery.com>
23122
23123 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23124 (SETUP_PIC_REG): Use GET_PC_THUNK.
23125 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23126 macro.
23127
9a1d9254
JM
231282012-02-03 Joseph Myers <joseph@codesourcery.com>
23129
23130 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23131 for non-PIC compilation.
23132 (SETUP_PIC_REG): Add .p2align directive.
23133 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23134 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23135 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23136 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23137 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23138 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23139 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23140 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23141 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23142 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23143 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23144 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23145 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23146 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23147 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23148 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23149 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23150 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23151 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23152 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23153 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23154 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23155 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23156 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23157 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23158 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23159 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23160 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23161 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23162 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23163 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23165 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23166 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23167 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23168 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23169 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23170 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23171 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23172 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23173 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23174
65dc3b75
JM
231752012-02-03 Joseph Myers <joseph@codesourcery.com>
23176
23177 * math/tst-CMPLX.c: Include <stdio.h>.
23178
d55bf177
JM
231792012-01-31 Joseph Myers <joseph@codesourcery.com>
23180
23181 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23182 float.
23183 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23184 * sysdeps/sparc/bits/mathdef.h: Likewise.
23185
69db4f8f
MP
231862012-01-31 Marek Polacek <polacek@redhat.com>
23187
23188 * libio/libio.h: Don't define _PARAMS.
23189 * locale/programs/config.h: Don't define PARAMS.
23190 * stdlib/strtol_l.c: Likewise.
23191 (__strtol_l): Remove PARAMS from the prototype.
23192
41b81892
UD
231932012-01-31 Ulrich Drepper <drepper@gmail.com>
23194
3b49edc0
UD
23195 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23196 names. Just use the correct names. Remove unnecessary wrapper
23197 functions.
23198 * malloc/arena.c: Likewise.
23199 * malloc/hooks.c: Likewise.
23200
41b81892
UD
23201 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23202 ARENA_TEST says not to. Simplify test for creation of a new arena.
23203 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23204
27a25b6e
UD
232052012-01-30 Ulrich Drepper <drepper@gmail.com>
23206
23207 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23208 into tail calls.
23209 (update_get_addr): New function.
23210 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23211 GET_ADDR_MODULE parameter.
23212
c8a89e7d
JM
232132012-01-30 Joseph Myers <joseph@codesourcery.com>
23214
23215 * crypt/cert.c: Remove __STDC__ conditionals.
23216 * crypt/crypt-entry.c: Likewise.
23217 * crypt/crypt_util.c: Likewise.
23218 * libio/filedoalloc.c: Likewise.
23219 * libio/fileops.c: Likewise.
23220 * libio/genops.c: Likewise.
23221 * libio/iofclose.c: Likewise.
23222 * libio/iofdopen.c: Likewise.
23223 * libio/iofopen.c: Likewise.
23224 * libio/iofopen64.c: Likewise.
23225 * libio/iogetdelim.c: Likewise.
23226 * libio/iopopen.c: Likewise.
23227 * libio/obprintf.c: Likewise.
23228 * libio/oldfileops.c: Likewise.
23229 * libio/oldiofclose.c: Likewise.
23230 * libio/oldiofdopen.c: Likewise.
23231 * libio/oldiofopen.c: Likewise.
23232 * libio/oldiopopen.c: Likewise.
23233 * libio/wfiledoalloc.c: Likewise.
23234 * libio/wgenops.c: Likewise.
23235 * locale/programs/xmalloc.c: Likewise.
23236 * misc/syslog.c: Likewise.
23237 * stdio-common/xbug.c: Likewise.
23238 * string/memchr.c: Likewise.
23239 * string/memcmp.c: Likewise.
23240 * string/memrchr.c: Likewise.
23241 * string/rawmemchr.c: Likewise.
23242 * sysdeps/posix/getcwd.c: Likewise.
23243 * time/strftime_l.c: Likewise.
23244
3b100462
JM
232452012-01-30 Joseph Myers <joseph@codesourcery.com>
23246
23247 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
23248 * config.make.in (config-cflags-sse2avx): Define.
23249 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
23250 Fix typo.
23251
607998af
CM
232522012-01-29 Chris Metcalf <cmetcalf@tilera.com>
23253
23254 * scripts/config.guess: Update from upstream config git repository.
23255 * scripts/config.sub: Likewise.
23256
3601428f
CM
232572012-01-28 Chris Metcalf <cmetcalf@tilera.com>
23258
3ac8b282
CM
23259 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
23260 (EM_NUM): Update.
23261 (R_TILEPRO_*, R_TILEGX_*): New macros.
23262
e034841e
CM
23263 * scripts/firstversions.awk: Fix bug in version range handling.
23264
540d7568
CM
23265 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
23266
3601428f
CM
23267 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
23268
463de862
CM
23269 * include/sys/epoll.h: New file.
23270 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
23271 libc_hidden_def.
23272
73139a76
UD
232732012-01-28 Ulrich Drepper <drepper@gmail.com>
23274
96bc5b45
UD
23275 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
23276 Avoid unnecessary __WORDSIZE == 64 test.
23277 (fmaxf): Use VEX format if possible.
23278 (fmax): Likewise.
23279 (fminf): Likewise.
23280 (fmin): Likewise.
23281
56f6f6a2
UD
23282 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
23283 * math/math_private.h: Remove libc_fegetround* and
23284 libc_fesetround*.
23285 * sysdeps/i386/configure.in: Check for -msse2avx.
23286 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
23287 also if SSE2AVX is defined.
23288 Remove libc_fegetround* and libc_fesetround*.
23289 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
23290 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
23291 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
23292 of HAS_YMM_USABLE.
23293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23298
73139a76
UD
23299 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
23300
d73f93a4
AZ
233012012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23302
23303 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
23304 size is not set.
23305 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23306
6ee65ed6
UD
233072012-01-27 Ulrich Drepper <drepper@gmail.com>
23308
23309 [BZ #13618]
23310 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
23311 relocation.
23312 * Makeconfig (libm): Define.
23313 * elf/Makefile: Add rules to build and run tst-relsort1.
23314 * elf/tst-relsort1.c: New file.
23315 * elf/tst-relsort1mod1.c: New file.
23316 * elf/tst-relsort1mod2.c: New file.
23317
8db21882
JM
233182012-01-27 Joseph Myers <joseph@codesourcery.com>
23319
23320 * math/s_ldexp.c: Remove __STDC__ conditionals.
23321 * math/s_ldexpf.c: Likewise.
23322 * math/s_ldexpl.c: Likewise.
23323 * math/s_nextafter.c: Likewise.
23324 * math/s_nexttowardf.c: Likewise.
23325 * math/s_significand.c: Likewise.
23326 * math/s_significandf.c: Likewise.
23327 * math/s_significandl.c: Likewise.
23328 * math/w_jnl.c: Likewise.
23329 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23330 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23331 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23332 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23333 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23350 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23351 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23352 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23353 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23354 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23355 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23356 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23357 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23358 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23359 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23360 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23361 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23362 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23363 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23364 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23365 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23366 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23367 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23368 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23369 * sysdeps/ieee754/k_standard.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23449 * sysdeps/ieee754/s_matherr.c: Likewise.
23450 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23451 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23454
965a54a4
JM
234552012-01-26 Joseph Myers <joseph@codesourcery.com>
23456
23457 * crypt/md5.h: Remove __STDC__ conditionals.
23458 * libio/libioP.h: Likewise.
23459 * locale/programs/config.h: Likewise.
23460 * sysdeps/generic/sysdep.h: Likewise.
23461 * sysdeps/i386/asm-syntax.h: Likewise.
23462 * sysdeps/s390/asm-syntax.h: Likewise.
23463 * sysdeps/unix/sysdep.h: Likewise.
23464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23466
7071ad79
JM
234672012-01-26 Joseph Myers <joseph@codesourcery.com>
23468
23469 * libio/libio.h: Remove __STDC__ conditionals.
23470 * malloc/obstack.h: Likewise.
23471 * math/complex.h: Likewise.
23472 * math/math.h: Likewise.
23473 * sysdeps/generic/_G_config.h: Likewise.
23474 * sysdeps/gnu/_G_config.h: Likewise.
23475 * sysdeps/mach/hurd/_G_config.h: Likewise.
23476 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23477 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23478 * sysdeps/sparc/bits/mathdef.h: Likewise.
23479
afc5ed09
UD
234802012-01-26 Ulrich Drepper <drepper@gmail.com>
23481
23482 [BZ #13583]
23483 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 23484 Clean up HAS_* macros.
afc5ed09 23485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
23486 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
23487 possible.
23488 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
23489 HAS_AVX.
23490 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23491 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23492 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23493 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23494 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 23495
bdb6de1d
JM
234962012-01-25 Joseph Myers <joseph@codesourcery.com>
23497
23498 * elf/tst-unique3.cc (gets): Remove declaration.
23499 * elf/tst-unique3lib.cc (gets): Likewise.
23500 * elf/tst-unique3lib2.cc (gets): Likewise.
23501 * elf/tst-unique4.cc (gets): Likewise.
23502
b15549e6
UD
235032012-01-24 Ulrich Drepper <drepper@gmail.com>
23504
23505 * include/stdio.h: Add C++ protection. Add gets declarations and
23506 definitions.
23507 * debug/tst-chk1.c: Don't declare gets here.
23508 * stdio-common/tst-gets.c: Likewise.
23509
a037381f
JM
235102012-01-24 Joseph Myers <joseph@codesourcery.com>
23511
23512 * posix/glob: Remove directory.
23513
f1d4aa75
JM
235142012-01-24 Joseph Myers <joseph@codesourcery.com>
23515
23516 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
23517
81c0c964
PT
235182012-01-22 Pino Toscano <toscano.pino@tiscali.it>
23519
23520 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
23521 of the non-standard EPFNOSUPPORT.
23522
0ea698ae
ST
235232011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
23524
23525 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
23526 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
23527 ANYWHERE set to 1 only on KERN_NO_SPACE error.
23528
d220b117
UD
235292012-01-21 Ulrich Drepper <drepper@gmail.com>
23530
23531 * wcsmbs/uchar.h: Test __STDC_VERSION__.
23532
3e1aa84e
UD
235332012-01-20 Ulrich Drepper <drepper@gmail.com>
23534
23535 * nscd/aicache.c (addhstaiX): Do not cache negative results of
23536 transient errors.
23537 * nscd/grpcache.c (cache_addgr): Likewise.
23538 * nscd/hstcache.c (cache_addhst): Likewise.
23539 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23540 * nscd/pwdcache.c (cache_addpw): Likewise.
23541 * nscd/servicescache.c (cache_addserv): Likewise.
23542
400aa020
UD
235432012-01-16 Ulrich Drepper <drepper@gmail.com>
23544
d77e7869
UD
23545 * malloc/malloc.c: Various cleanups.
23546 * malloc/hooks.c: Likewise.
23547
400aa020
UD
23548 * stdlib/Makefile (tests): Add bug-fmtmsg1.
23549 * stdlib/bug-fmtmsg1.c: New file.
23550
23551 * stdlib/fmtmsg.c (init): Add missing unlock.
23552 Patch by Peng Haitao <penght@cn.fujitsu.com>.
23553
e0a309cf
MP
235542012-01-12 Marek Polacek <polacek@redhat.com>
23555
23556 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
23557 and _GNU_SOURCE.
23558
929d11c7
WS
235592012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23560
23561 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
23562 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
23563 macro to ensure uniqueness of label name.
23564 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
23565 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
23566
41d0e869
UD
235672012-01-11 Ulrich Drepper <drepper@gmail.com>
23568
0cc5ed3b
UD
23569 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
23570
41d0e869
UD
23571 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
23572 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
23575
a47a831a
UD
235762012-01-10 Ulrich Drepper <drepper@gmail.com>
23577
daa891c0
UD
23578 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
23579
23580 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
23581 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23583
e58ef0f2
UD
23584 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
23585
a47a831a 23586 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
23587 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23588 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 23589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
23590
23591 * math/bits/math-finite.h: Add ldexp support.
23592
a0bfc9c7
MP
235932012-01-10 Marek Polacek <polacek@redhat.com>
23594
23595 * locale/programs/localedef.h (show_archive_content): Add noreturn
23596 attribute.
23597
d6e97a1d
UD
235982012-01-09 Ulrich Drepper <drepper@gmail.com>
23599
23600 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
23601
d5835c26
UD
236022012-01-08 Ulrich Drepper <drepper@gmail.com>
23603
e5f484c6
UD
23604 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
23605
d5835c26
UD
23606 * io/Makefile (headers): Add bits/poll2.h.
23607
d1f741e9
WS
236082011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
23609
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
23611 typo #include statement.
23612
ec09c1c4
UD
236132012-01-08 Ulrich Drepper <drepper@gmail.com>
23614
23615 * include/sys/cdefs.h: Define __attribute_alloc_size.
23616 * catgets/gencat.c: Add alloc_size attribute and apply consistently
23617 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
23618 * elf/pldd.c: Likewise.
23619 * iconv/iconv_charmap.c: Likewise.
23620 * iconv/iconvconfig.c: Likewise.
23621 * iconv/strtab.c: Likewise.
23622 * locale/programs/locale.c: Likewise.
23623 * locale/programs/localedef.h: Likewise.
23624 * locale/programs/simple-hash.c: Likewise.
23625 * nscd/nscd.h: Likewise.
23626 * nss/makedb.c: Likewise.
23627 * sysdeps/generic/ldconfig.h: Likewise.
23628 * locale/programs/localedef.c: Remove xmalloc prototype.
23629 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
23630
20b38e03
PP
236312012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23632
23633 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
23634 appropriate.
23635
a0da5fe1
UD
236362012-01-08 Ulrich Drepper <drepper@gmail.com>
23637
1d5a644a 23638 * math/Makefile (tests): Add tst-CMPLX.
669704fd 23639 * math/tst-CMPLX.c: New file.
1d5a644a 23640
8784a6db
UD
23641 * math/complex.h (CMPLXL): Fix typo.
23642
d9a216c0
UD
23643 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
23644 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
23645 GLIBC_2.16.
23646 * debug/tst-chk1.c: Add poll and ppoll tests.
23647 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
23648 * include/sys/poll.h: Add hidden proto for ppoll.
23649 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
23650 * sysdeps/mach/hurd/ppoll.c: Likewise.
23651 * io/ppoll.c: Likewise.
23652 * debug/poll_chk.c: New file.
23653 * debug/ppoll_chk.c: New file.
23654 * include/bits/poll2.h: New file.
23655 * io/bits/poll2.h: New file.
23656
ac097f5c
UD
23657 [BZ #1350]
23658 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
23659
2119dcfa
UD
23660 * configure.in: static is always set to yes. Remove.
23661 * config.make.in: Don't set build-static.
23662 * Makeconfig: Remove use of build-static.
23663 * dlfcn/Makefile: Likewise.
23664 * elf/Makefile: Likewise.
23665 * math/Makefile: Likewise.
23666 * misc/Makefile: Likewise.
23667 * nptl/Makefile: Likewise.
23668 * sysdeps/mach/hurd/Makefile: Likewise.
23669
121766a9
UD
23670 * configure.in: PWD_P is not used anymore.
23671 * config.make.in: Remove PWD_P entry.
23672
51a1d39c 23673 * configure.in: Remove last remnants of RANLIB.
8720d066 23674 No need to check for signed size_t anymore.
215f4bdc
UD
23675 Don't set libc_commonpagesize and libc_relro_required here for Alpha
23676 and IA-64.
3857022a 23677 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
23678 * aclocal.m4: Likewise.
23679
d3ed7225
UD
23680 * wcsmbs/mbrtoc16.c: Implement using towc function.
23681 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
23682 * wcsmbs/wcsmbsload.c: Likewise.
23683 * iconv/gconv_simple.c: Likewise.
23684 * iconv/gconv_int.h: Likewise.
23685 * iconv/gconv_builtin.h: Likewise.
23686 * iconv/iconv_prog.c: Remove CHAR16 handling.
23687
23688 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
23689
23690 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
23691
a0da5fe1
UD
23692 * configure.in: Remove --with-elf and --enable-bounded options.
23693 Dont set base_machine for ia64. More non-ELF conditions removed.
23694 Remove testing and setting of leading underscore information.
23695 * config.make.in (build-bounded): Set to no.
23696 * config.h.in: Remove NO_UNDERSCORES entry.
23697 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
23698 them.
23699 * csu/start.c: Remove !NO_UNDERSCORE code.
23700 * locale/localeinfo.h: Likewise.
23701 * sysdeps/generic/machine-gmon.h: Likewise.
23702 * sysdeps/generic/sysdep.h: Likewise.
23703 * sysdeps/i386/sysdep.h: Likewise.
23704 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23705 * sysdeps/mach/sysdep.h: Likewise.
23706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23708 * sysdeps/sh/sysdep.h: Likewise.
23709 * sysdeps/sparc/sparc32/alloca.S: Likewise.
23710 * sysdeps/unix/i386/sysdep.S: Likewise.
23711 * sysdeps/unix/sparc/start.c: Likewise.
23712 * sysdeps/unix/sparc/sysdep.S: Likewise.
23713 * sysdeps/unix/sparc/sysdep.h: Likewise.
23714 * sysdeps/unix/start.c: Likewise.
23715 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23716 * sysdeps/x86_64/sysdep.h: Likewise.
23717
df78418a
UD
237182012-01-07 Ulrich Drepper <drepper@gmail.com>
23719
a784e502
UD
23720 [BZ #13553]
23721 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
23722 for non-gcc.
23723 * argp/argp-fmtstream.h: Use const instead __const.
23724 * argp/argp.h: Likewise.
23725 * assert/assert.h: Likewise.
23726 * bits/fenv.h: Likewise.
23727 * bits/sched.h: Likewise.
23728 * bits/sigset.h: Likewise.
23729 * bits/sigthread.h: Likewise.
23730 * catgets/nl_types.h: Likewise.
23731 * conform/data/pthread.h-data: Likewise.
23732 * crypt/crypt-private.h: Likewise.
23733 * crypt/crypt.h: Likewise.
23734 * crypt/crypt_util.c: Likewise.
23735 * ctype/ctype.h: Likewise.
23736 * debug/execinfo.h: Likewise.
23737 * debug/mbsnrtowcs_chk.c: Likewise.
23738 * debug/mbsrtowcs_chk.c: Likewise.
23739 * debug/wcsnrtombs_chk.c: Likewise.
23740 * debug/wcsrtombs_chk.c: Likewise.
23741 * debug/wcstombs_chk.c: Likewise.
23742 * dirent/dirent.h: Likewise.
23743 * dlfcn/dlfcn.h: Likewise.
23744 * elf/neededtest4.c: Likewise.
23745 * grp/grp.h: Likewise.
23746 * gshadow/gshadow.h: Likewise.
23747 * iconv/gconv.h: Likewise.
23748 * iconv/gconv_int.h: Likewise.
23749 * iconv/gconv_simple.c: Likewise.
23750 * iconv/iconv.h: Likewise.
23751 * iconv/loop.c: Likewise.
23752 * iconv/skeleton.c: Likewise.
23753 * include/aio.h: Likewise.
23754 * include/aliases.h: Likewise.
23755 * include/argz.h: Likewise.
23756 * include/arpa/inet.h: Likewise.
23757 * include/assert.h: Likewise.
23758 * include/dirent.h: Likewise.
23759 * include/dlfcn.h: Likewise.
23760 * include/execinfo.h: Likewise.
23761 * include/fcntl.h: Likewise.
23762 * include/fenv.h: Likewise.
23763 * include/glob.h: Likewise.
23764 * include/grp.h: Likewise.
23765 * include/libintl.h: Likewise.
23766 * include/mntent.h: Likewise.
23767 * include/netdb.h: Likewise.
23768 * include/pwd.h: Likewise.
23769 * include/rpc/netdb.h: Likewise.
23770 * include/sched.h: Likewise.
23771 * include/search.h: Likewise.
23772 * include/shadow.h: Likewise.
23773 * include/signal.h: Likewise.
23774 * include/stdio.h: Likewise.
23775 * include/stdlib.h: Likewise.
23776 * include/string.h: Likewise.
23777 * include/sys/socket.h: Likewise.
23778 * include/sys/stat.h: Likewise.
23779 * include/sys/statfs.h: Likewise.
23780 * include/sys/statvfs.h: Likewise.
23781 * include/sys/syslog.h: Likewise.
23782 * include/sys/time.h: Likewise.
23783 * include/sys/uio.h: Likewise.
23784 * include/time.h: Likewise.
23785 * include/unistd.h: Likewise.
23786 * include/utmp.h: Likewise.
23787 * include/wchar.h: Likewise.
23788 * include/wctype.h: Likewise.
23789 * inet/aliases.h: Likewise.
23790 * inet/arpa/inet.h: Likewise.
23791 * inet/netinet/ether.h: Likewise.
23792 * inet/netinet/in.h: Likewise.
23793 * intl/libintl.h: Likewise.
23794 * io/bits/fcntl2.h: Likewise.
23795 * io/fcntl.h: Likewise.
23796 * io/ftw.h: Likewise.
23797 * io/sys/poll.h: Likewise.
23798 * io/sys/stat.h: Likewise.
23799 * io/sys/statfs.h: Likewise.
23800 * io/sys/statvfs.h: Likewise.
23801 * io/utime.h: Likewise.
23802 * libio/bits/stdio.h: Likewise.
23803 * libio/bits/stdio2.h: Likewise.
23804 * libio/libio.h: Likewise.
23805 * libio/libioP.h: Likewise.
23806 * libio/stdio.h: Likewise.
23807 * locale/lc-ctype.c: Likewise.
23808 * locale/locale.h: Likewise.
23809 * login/utmp.h: Likewise.
23810 * malloc/arena.c: Likewise.
23811 * malloc/malloc.c: Likewise.
23812 * malloc/malloc.h: Likewise.
23813 * malloc/mcheck.c: Likewise.
23814 * malloc/mtrace.c: Likewise.
23815 * math/bits/mathcalls.h: Likewise.
23816 * math/fenv.h: Likewise.
23817 * math/math_private.h: Likewise.
23818 * misc/bits/error.h: Likewise.
23819 * misc/bits/syslog.h: Likewise.
23820 * misc/err.h: Likewise.
23821 * misc/error.h: Likewise.
23822 * misc/fstab.h: Likewise.
23823 * misc/mntent.h: Likewise.
23824 * misc/regexp.h: Likewise.
23825 * misc/search.h: Likewise.
23826 * misc/sgtty.h: Likewise.
23827 * misc/sys/mman.h: Likewise.
23828 * misc/sys/syslog.h: Likewise.
23829 * misc/sys/uio.h: Likewise.
23830 * misc/sys/xattr.h: Likewise.
23831 * misc/ttyent.h: Likewise.
23832 * nis/rpcsvc/ypclnt.h: Likewise.
23833 * nss/nss.h: Likewise.
23834 * posix/bits/unistd.h: Likewise.
23835 * posix/fnmatch.h: Likewise.
23836 * posix/glob.h: Likewise.
23837 * posix/sched.h: Likewise.
23838 * posix/spawn.h: Likewise.
23839 * posix/sys/wait.h: Likewise.
23840 * posix/unistd.h: Likewise.
23841 * posix/wordexp.h: Likewise.
23842 * pwd/pwd.h: Likewise.
23843 * resolv/netdb.h: Likewise.
23844 * resource/sys/resource.h: Likewise.
23845 * rt/aio.h: Likewise.
23846 * rt/bits/mqueue2.h: Likewise.
23847 * rt/mqueue.h: Likewise.
23848 * shadow/shadow.h: Likewise.
23849 * signal/signal.h: Likewise.
23850 * socket/send.c: Likewise.
23851 * socket/sendto.c: Likewise.
23852 * socket/sys/socket.h: Likewise.
23853 * stdio-common/printf.h: Likewise.
23854 * stdlib/bits/stdlib.h: Likewise.
23855 * stdlib/fmtmsg.h: Likewise.
23856 * stdlib/monetary.h: Likewise.
23857 * stdlib/stdlib.h: Likewise.
23858 * stdlib/ucontext.h: Likewise.
23859 * streams/stropts.h: Likewise.
23860 * string/argz.h: Likewise.
23861 * string/bits/string2.h: Likewise.
23862 * string/string.h: Likewise.
23863 * string/strings.h: Likewise.
23864 * sunrpc/rpc/auth.h: Likewise.
23865 * sunrpc/rpc/auth_des.h: Likewise.
23866 * sunrpc/rpc/clnt.h: Likewise.
23867 * sunrpc/rpc/netdb.h: Likewise.
23868 * sunrpc/rpc/pmap_clnt.h: Likewise.
23869 * sunrpc/rpc/xdr.h: Likewise.
23870 * sysdeps/generic/inttypes.h: Likewise.
23871 * sysdeps/generic/net/if.h: Likewise.
23872 * sysdeps/generic/sys/swap.h: Likewise.
23873 * sysdeps/gnu/net/if.h: Likewise.
23874 * sysdeps/gnu/utmpx.h: Likewise.
23875 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
23876 * sysdeps/i386/i486/bits/string.h: Likewise.
23877 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
23878 * sysdeps/s390/bits/string.h: Likewise.
23879 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
23880 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
23881 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
23882 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
23883 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
23884 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
23885 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
23886 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
23887 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
23888 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
23889 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
23890 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23891 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
23892 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23893 * sysdeps/unix/sysv/linux/readv.c: Likewise.
23894 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
23895 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23897 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23898 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23899 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
23900 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
23901 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
23902 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
23903 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
23904 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
23905 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
23906 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23907 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
23908 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
23909 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
23910 * sysvipc/sys/ipc.h: Likewise.
23911 * sysvipc/sys/msg.h: Likewise.
23912 * sysvipc/sys/sem.h: Likewise.
23913 * sysvipc/sys/shm.h: Likewise.
23914 * termios/termios.h: Likewise.
23915 * time/sys/time.h: Likewise.
23916 * time/time.h: Likewise.
23917 * wcsmbs/bits/wchar2.h: Likewise.
23918 * wcsmbs/uchar.h: Likewise.
23919 * wcsmbs/wchar.h: Likewise.
23920 * wctype/wctype.h: Likewise.
23921
0269750c
UD
23922 [BZ #13551]
23923 * Makeconfig: Remove all but ELF support including AIX support.
23924 * Makerules: Likewise.
23925 * config.h.in: Likewise.
23926 * config.make.in: Likewise.
23927 * configure: Likewise.
23928 * configure.in: Likewise.
23929 * csu/Makefile: Likewise.
23930 * csu/version.c: Likewise.
23931 * debug/Makefile: Likewise.
23932 * dlfcn/Makefile: Likewise.
23933 * elf/Makefile: Likewise.
23934 * extra-lib.mk: Likewise.
23935 * iconv/Makefile: Likewise.
23936 * include/libc-symbols.h: Likewise.
23937 * include/shlib-compat.h: Likewise.
23938 * resolv/Makefile: Likewise.
23939 * resolv/res_libc.c: Likewise.
23940 * rt/Makefile: Likewise.
23941 * sysdeps/i386/asm-syntax.h: Likewise.
23942 * sysdeps/i386/sysdep.h: Likewise.
23943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
23944 * sysdeps/mach/sysdep.h: Likewise.
23945 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
23946 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
23947 * sysdeps/s390/asm-syntax.h: Likewise.
23948 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23949 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23950 * sysdeps/sh/sysdep.h: Likewise.
23951 * sysdeps/unix/sparc/sysdep.h: Likewise.
23952 * sysdeps/wordsize-32/divdi3.c: Likewise.
23953 * sysdeps/x86_64/sysdep.h: Likewise.
23954
00bbd29b
UD
23955 * argp/Versions: Remove _argp_unlock_xxx.
23956
23957 [BZ #13559]
23958 * abilist/ld.abilist: Update. Adjust for removal of tls option.
23959 * abilist/libBrokenLocale.abilist: Likewise.
23960 * abilist/libanl.abilist: Likewise.
23961 * abilist/libc.abilist: Likewise.
23962 * abilist/libcrypt.abilist: Likewise.
23963 * abilist/libdl.abilist: Likewise.
23964 * abilist/libm.abilist: Likewise.
23965 * abilist/libnsl.abilist: Likewise.
23966 * abilist/libpthread.abilist: Likewise.
23967 * abilist/libresolv.abilist: Likewise.
23968 * abilist/librt.abilist: Likewise.
23969 * abilist/libthread_db.abilist: Likewise.
23970 * abilist/libutil.abilist: Likewise.
23971 * abilist/libnss_db.abilist: New file.
23972
23973 * scripts/abilist.awk: Add support for indirect functions.
23974
a2693a0e
UD
23975 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
23976
3f05895f
UD
23977 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
23978
ecb6fb48
UD
23979 * shlib-versions: Remove entries for ports architectures.
23980
664f8cb9
UD
23981 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
23982 files in ports.
23983 * elf/stackguard-macros.h: Remove support for IA-64.
23984 * elf/tst-auditmod1.c: Likewise.
23985 * sysdeps/generic/ldsodefs.h: Likewise.
23986
7ae81d88
UD
23987 * sysdeps/unix/sysv/linux/configure.in: Ports should define
23988 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
23989 configure files.
23990
bdeba135
UD
23991 [BZ #13552]
23992 * configure.in: Remove --enable-omitfp support.
23993 * FAQ.in: Adjust.
23994 * config.make.in: Likewise.
23995 * Makeconfig: Likewise.
23996 * manual/install.texi: Likewise.
23997
d75a0a62
UD
23998 In case anyone cares, the IA-64 architecture could move to ports.
23999 * sysdeps/ia64/*: Removed.
24000 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24001 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24002
dcc9756b
UD
24003 [BZ #13555]
24004 * configure.in: Remove entries for unsupported architectures.
24005
d3761ebc 24006 [BZ #13533]
9954432e
UD
24007 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24008 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24009 routines.
24010 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24011 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24012 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24013 fall back to using wcrtomb.
24014 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24015 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24016 renaming.
24017 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24018 * wcsmbs/tst-c16c32-1.c: New file.
24019
24020 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24021 local variable.
24022
c3a87236
UD
24023 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24024
28926a1b
UD
24025 * elf/tst-unique3.cc: Add explicit declaration of gets.
24026 * elf/tst-unique3lib.cc: Likewise.
24027 * elf/tst-unique3lib2.cc: Likewise.
24028 * elf/tst-unique4.cc: Likewise.
24029
df78418a
UD
24030 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24031
8ecd6b2a
JM
240322012-01-06 Joseph Myers <joseph@codesourcery.com>
24033
24034 [BZ #13566]
24035 * assert/assert.h (static_assert): Don't define for C++.
24036 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24037 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24038
9f115170
UD
240392012-01-03 Ulrich Drepper <drepper@gmail.com>
24040
5e0d0300
UD
24041 * iconv/loop.c (single loop): Fix assertion in storing of
24042 remaining bytes.
24043
9f115170
UD
24044 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24045
81fb02b0
UD
240462012-01-01 Ulrich Drepper <drepper@gmail.com>
24047
24048 * posix/getconf.c: Update copyright year.
24049 * nss/getent.c: Likewise.
a316c1f6 24050 * nss/makedb.c: Likewise.
81fb02b0
UD
24051 * iconv/iconvconfig.c: Likewise.
24052 * iconv/iconv_prog.c: Likewise.
24053 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24054 * elf/pldd.c: Likewise.
24055 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24056 * catgets/gencat.c: Likewise.
24057 * csu/version.c: Likewise.
24058 * elf/ldd.bash.in: Likewise.
24059 * elf/sprof.c (print_version): Likewise.
24060 * locale/programs/locale.c: Likewise.
24061 * locale/programs/localedef.c: Likewise.
a316c1f6 24062 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24063 * nscd/nscd.c (print_version): Likewise.
24064 * debug/xtrace.sh: Likewise.
24065 * malloc/memusage.sh: Likewise.
24066 * malloc/mtrace.pl: Likewise.
24067 * debug/catchsegv.sh: Likewise.
24068
2ba92745
JJ
240692011-12-30 Jakub Jelinek <jakub@redhat.com>
24070
24071 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24072 pure attribute.
24073
dadebdae
UD
240742011-12-24 Ulrich Drepper <drepper@gmail.com>
24075
d3761ebc 24076 [BZ #13533]
db6af3eb
UD
24077 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24078 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24079 transformations.
24080 * iconv/gconv_int.h: Likewise.
24081 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24082 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24083 from libc for GLIBC_2.16.
24084 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24085 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24086 * wcsmbs/uchar.h: Really define mbstate_t.
24087 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24088 * wcsmbs/c16rtomb.c: New file.
24089 * wcsmbs/mbrtoc16.c: New file.
24090 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24091 for C/POSIX locale.
24092 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24093 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24094
dadebdae
UD
24095 * wcsmbs/wchar.h: Add missing __restrict.
24096
67371b56
UD
240972011-12-23 Ulrich Drepper <drepper@gmail.com>
24098
74033a25
UD
24099 [BZ #13532]
24100 * time/Makefile (routines): Add timespec_get.
24101 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24102 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24103 timespec for ISO C11.
24104 * time/timespec_get.c: New file.
24105 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24106 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24107
380d7e87
UD
24108 [BZ #13531]
24109 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24110 * stdlib/stdlib.h: Declare aligned_alloc.
24111 * Versions.def: Add GLIBC_2.16 for libc.
24112 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24113
4e9e7a35
UD
24114 [BZ 13527]
24115 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24116 ISO C11.
24117
380d7e87 24118 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24119 code.
24120
03a71829
UD
24121 [BZ #13528]
24122 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24123
839e283e
UD
24124 [BZ #13529]
24125 * assert/assert.h (static_assert): Define.
24126
ce5294e2 24127 * version.h: Update for 2.16 development version.
90fa7312 24128
8d44e150 24129 [BZ #13526]
d7809905
UD
24130 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24131 _ISOC11_SOURCE.
24132
c0da14cd
UD
24133 * version.h (RELEASE): Bump for 2.15 release.
24134 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24135
530a3249
MP
24136 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24137 Patch by Marek Polacek <mpolacek@redhat.com>.
24138
67371b56
UD
24139 * bits/byteswap.h: Protect long long constants with __extension__.
24140 * sysdeps/i386/bits/byteswap.h: Likewise.
24141 * sysdeps/ia64/bits/byteswap.h: Likewise.
24142 * sysdeps/s390/bits/byteswap.h: Likewise.
24143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24144
15db4de1
LD
241452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24146
24147 [BZ #13540]
bbe315ea
LD
24148 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24149 destination buffer.
15db4de1
LD
24150 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24151
2b2596b1
MP
241522011-12-23 Marek Polacek <polacek@redhat.com>
24153
24154 * elf/dl-addr.c (determine_info): Add inline keyword.
24155 * elf/tst-auditmod4b.c (check_avx): Likewise.
24156 * elf/tst-auditmod6b.c (check_avx): Likewise.
24157 * elf/tst-auditmod6c.c (check_avx): Likewise.
24158 * elf/tst-auditmod7b.c (check_avx): Likewise.
24159
70c6c246
UD
241602011-12-23 Ulrich Drepper <drepper@gmail.com>
24161
24162 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24163 !__SSE_MATH__.
24164
c044cf14
LD
241652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24166
15db4de1 24167 [BZ #13540]
c044cf14
LD
24168 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24169 processing for last bytes.
24170
6b13d9d9
BH
241712011-08-06 Bruno Haible <bruno@clisp.org>
24172
d455f537
BH
24173 [BZ #13061]
24174 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24175 U+0385, not to U+1FEE.
24176
6b13d9d9
BH
24177 [BZ #13062]
24178 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24179 entry for U+00A5 U+0301.
24180
db910efd
UD
241812011-12-22 Ulrich Drepper <drepper@gmail.com>
24182
27deeafc
UD
24183 [BZ #13166]
24184 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24185 buffer for the output is too small.
24186
aed9d171
UD
24187 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24188 optimization.
24189
db910efd
UD
24190 [BZ #13185]
24191 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24192 SSE flags if possible.
24193
2bd779ae
LD
241942011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24195
e7f9dac3 24196 [BZ #13540]
2bd779ae
LD
24197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24198 processing for last bytes.
24199
154bfc16
JM
242002011-12-22 Joseph Myers <joseph@codesourcery.com>
24201
24202 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24203 (syscall-list-default-options, syscall-list-default-condition)
24204 (syscall-list-includes): Define.
24205 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24206 list of ABIs and options and #if conditions for each ABI. Do not
24207 handle common syscalls between ABIs specially.
24208 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24209 Remove.
24210 (syscall-list-variants, syscall-list-32bit-options)
24211 (syscall-list-32bit-condition, syscall-list-64bit-options)
24212 (syscall-list-64bit-condition): Define.
24213 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24214 (syscall-list-variants, syscall-list-32bit-options)
24215 (syscall-list-32bit-condition, syscall-list-64bit-options)
24216 (syscall-list-64bit-condition): Define.
24217 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24218 Remove.
24219 (syscall-list-variants, syscall-list-32bit-options)
24220 (syscall-list-32bit-condition, syscall-list-64bit-options)
24221 (syscall-list-64bit-condition): Define.
24222 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
24223 Remove.
24224 (syscall-list-variants, syscall-list-32bit-options)
24225 (syscall-list-32bit-condition, syscall-list-64bit-options)
24226 (syscall-list-64bit-condition): Define.
24227
21eaf3a5
UD
242282011-12-22 Ulrich Drepper <drepper@gmail.com>
24229
16c6f992
UD
24230 * locale/iso-639.def: Add brx entry.
24231
41043168
UD
24232 [BZ #13328]
24233 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
24234 Proposed by Mariusz_Cukr <marcukr@op.pl>.
24235
21eaf3a5
UD
24236 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
24237 __feraiseexcept_renamed.
24238
e3a851a2
UD
242392011-12-21 Ulrich Drepper <drepper@gmail.com>
24240
4920765e
UD
24241 [BZ #13538]
24242 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
24243 EPOLLET with unsigned values.
24244 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24246
e3a851a2
UD
24247 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
24248 to large cancellation.
24249 * math/s_cacoshf.c: Likewise.
24250 * math/s_cacoshl.c: Likewise.
24251
b27e24b8
RK
242522011-11-18 Richard B. Kreckel <kreckel@ginac.de>
24253
24254 [BZ #13305]
aebefeee 24255 [BZ #12786]
b27e24b8
RK
24256 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
24257 * math/s_cacoshf.c: Likewise.
24258 * math/s_cacoshl.c: Likewise.
24259
ee190f67
UD
242602011-12-21 Ulrich Drepper <drepper@gmail.com>
24261
24262 [BZ #13439]
24263 * iconv/gconv.h: Define __GCONV_SWAP.
24264 * iconvdata/unicode.c: The swap bit must be stored in __flags.
24265 * iconvdata/utf-16.c: Likewise.
24266 * iconvdata/utf-32.c: Likewise.
24267
707f25df
AS
242682011-12-21 Andreas Schwab <schwab@linux-m68k.org>
24269
24270 [BZ #13524]
24271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
24272 numerator after shifting it by one limb.
24273
d2daaa1e
RÁE
242742011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
24275
24276 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
24277 under [__USE_EXTERN_INLINES].
24278
a4647e72
UD
242792011-12-17 Ulrich Drepper <drepper@gmail.com>
24280
24281 [BZ #13446]
24282 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
24283
f0b264f1
AZ
242842011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24285
24286 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
24287 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
24288 optimized code.
24289 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
24290 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
24291 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
24292 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
24293 for strncasecmp/strncasecmp_l compilation.
24294 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
24295 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
24296
8ef4f244
MP
242972011-12-08 Marek Polacek <mpolacek@redhat.com>
24298
24299 [BZ #13484]
24300 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
24301 of __asm__.
24302
97ac2654
UD
243032011-12-17 Ulrich Drepper <drepper@gmail.com>
24304
24305 [BZ #13506]
24306 * time/tzfile.c (__tzfile_read): Check values from file header.
24307
91d2a845
WS
243082011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24309
24310 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
24311 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
24312 * powerpc/powerpc32/dl-start.S: Likewise.
24313 * powerpc/powerpc32/elf/start.S: Likewise.
24314 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24315 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
24316 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
24317 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
24318 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24319 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
24320 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
24321 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24322 * powerpc/powerpc32/fpu/s_round.S: Likewise.
24323 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24324 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24325 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24326 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
24327 * powerpc/powerpc32/memset.S: Likewise.
24328 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24329 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24330 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24331 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24332 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24333 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24334 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24335 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24336 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
24337 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
24338 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
24339 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24340 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24341
a1267ba1
AZ
243422011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24343
24344 * math/libm-test.inc: Added more nearbyint tests.
24345 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
24346 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
24347 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
24348 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
24349
ad8ac1bd
RL
243502011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
24351
24352 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
24353 FD_CLOEXEC.
24354
1d3e4b61
UD
243552011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24356
24357 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
24358 Add wcscpy-ssse3 wcscpy-c.
24359 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
24360 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
24361 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
24362 * sysdeps/x86_64/wcschr.S: New file.
24363 * sysdeps/x86_64/wcsrchr.S: New file.
24364 * string/test-strcmp.c: Remove checking of wcscmp function for
24365 wrong alignments.
24366 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
24367 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
24368 wcsrchr-sse2 wcsrchr-c.
24369 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
24370 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
24371 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
24372 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
24373 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
24374 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
24375 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
24376 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
24377 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
24378 * wcsmbc/wcschr.c (WCSCHR): New macro.
24379
5b330a2d
UD
243802011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24381
24382 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
24383 * wcsmbs/test-wcsrchr.c: New file.
24384 * string/test-strrchr.c: Add wcsrchr support.
24385 (WIDE): New macro.
24386 * wcsmbs/test-wcscpy.c: New file.
24387 * string/test-strcpy.c: Add wcscpy support.
24388 (WIDE): New macro.
26428b7c 24389
f039c043
UD
243902011-12-10 Ulrich Drepper <drepper@gmail.com>
24391
24392 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
24393 the inner loop.
24394
850fb039
AS
243952011-12-06 Andreas Schwab <schwab@linux-m68k.org>
24396
24397 [BZ #13472]
24398 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
24399
4efbd5cb
UD
244002011-12-04 Ulrich Drepper <drepper@gmail.com>
24401
52ff5dd0 24402 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 24403 Minor optimizations.
52ff5dd0 24404
4efbd5cb
UD
24405 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
24406 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
24407 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24408
8a426e12
UD
244092011-12-03 Ulrich Drepper <drepper@gmail.com>
24410
aff2453d
UD
24411 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
24412 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
24413 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
24414 for gcc to avoid warnings.
24415 * inet/Makefile (tests): Add tst-checks.
24416 * inet/tst-checks.c: New file.
24417
24418 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
24419 warning.
24420
24421 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
24422 __wmemcmp_sse2.
24423
24424 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
24425 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
24426
8a426e12
UD
24427 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
24428
9bea3473
UD
244292011-12-02 Ulrich Drepper <drepper@gmail.com>
24430
3a965496
UD
24431 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
24432 problem.
24433
9bea3473
UD
24434 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
24435
f101631b
UD
244362011-11-29 Joseph Myers <joseph@codesourcery.com>
24437
24438 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
24439 conditional on GCC version.
24440 (__arch_compare_and_exchange_val_8_acq)
24441 (__arch_compare_and_exchange_val_16_acq)
24442 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
24443 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
24444 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
24445
a98275aa
UD
244462011-12-02 Joseph Myers <joseph@codesourcery.com>
24447
24448 * sysdeps/sh/backtrace.c: New file.
24449
d4cc29a2
AS
244502011-12-02 Andreas Schwab <schwab@redhat.com>
24451
24452 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
24453 parenthesis.
24454
6257af2d
AS
244552011-12-01 Andreas Schwab <schwab@redhat.com>
24456
24457 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
24458 falling back to utime.
24459
b5f44c1a
AS
244602011-11-30 Andreas Schwab <schwab@redhat.com>
24461
24462 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
24463 expectations for float.
24464
f3a6cc0a
AS
244652011-11-29 Andreas Schwab <schwab@redhat.com>
24466
24467 * locale/weight.h (findidx): Add parameter len.
24468 * locale/weightwc.h (findidx): Likewise.
24469 * posix/fnmatch_loop.c (FCT): Adjust caller.
24470 * posix/regcomp.c (build_equiv_class): Likewise.
24471 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
24472 * posix/regexec.c (check_node_accept_bytes): Likewise.
24473 * string/strcoll_l.c (STRCOLL): Likewise.
24474 * string/strxfrm_l.c (STRXFRM): Likewise.
24475
9d65ea3a
UD
244762011-11-17 Ulrich Drepper <drepper@gmail.com>
24477
24478 * Makefile.in: Remove CVSOPT handling.
24479 * configure.in: Remove use of AC_REVISION.
24480 * iconvdata/Makefile (distribute): No need to filter out CVS.
24481 * scripts/list-sources.sh: Remove CVS, subversion and monotone
24482 handling.
24483
5583a086
AS
244842011-11-16 Andreas Schwab <schwab@redhat.com>
24485
24486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
24487 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
24488 [USE_AS_STRNCASECMP_L]: Likewise.
24489 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
24490 NO_TLS_DIRECT_SEG_REFS.
24491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
24492 Fix argument offsets for non-PIC.
24493 [USE_AS_STRNCASECMP_L]: Likewise.
24494 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
24495 NO_TLS_DIRECT_SEG_REFS.
24496
d62a8200
UD
244972011-11-15 Ulrich Drepper <drepper@gmail.com>
24498
9d65ea3a 24499 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
24500 O_CLOEXEC.
24501 * locale/loadlocale.c (_nl_load_locale): Likewise.
24502
09f93bd3
AS
245032011-11-15 Andreas Schwab <schwab@redhat.com>
24504
446514f9
AS
24505 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
24506 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
24507 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
24508 (SYSCALL_GETTIME): Set errno on error.
24509
09f93bd3
AS
24510 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
24511 count references to noai6ai_cached.
24512
312be3f9
UD
245132011-11-15 Ulrich Drepper <drepper@gmail.com>
24514
24515 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
24516
24517 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
24518 FD_CLOEXEC for /proc/self/maps.
24519
24520 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
24521 FD_CLOEXEC for /proc/meminfo.
24522
24523 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
24524 gai.conf.
24525
24526 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
24527 FD_CLOEXEC for given file.
24528
24529 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
24530
24531 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
24532 FD_CLOEXEC for /etc/hosts.
24533 (_gethtent): Likewise.
24534
24535 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
24536
24537 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
24538 cancellation and set FD_CLOEXEC for /etc/netgroup.
24539
24540 * nss/nss_files/files-key.c (search): Don't allow cancellation when
24541 reading /etc/publickey.
24542
24543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
24544 allow cancellation when reading /etc/group.
24545
24546 * nss/nss_files/files-alias.c (internal_setent): Don't allow
24547 cancellation.
24548 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
24549
24550 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
24551 when using data file.
24552
24553 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
24554
24555 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
24556 (write_nis_obj): Use "c" and "e" in fopen.
24557
24558 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
24559
24560 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
24561
24562 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
24563
24564 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
24565
24566 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
24567 locale.alias.
24568
24569 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
24570
24571 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
24572
24573 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
24574
24575 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
24576 file parsing and set FD_CLOEXEC.
24577
82af0fa8
UD
245782011-11-14 Ulrich Drepper <drepper@gmail.com>
24579
24580 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
24581
a5fb313c
AS
245822011-11-14 Andreas Schwab <schwab@redhat.com>
24583
24584 * malloc/arena.c (arena_get2): Don't call reused_arena when
24585 _int_new_arena failed.
24586
6abf3465
UD
245872011-11-14 Ulrich Drepper <drepper@gmail.com>
24588
24589 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
24590 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
24591 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
24592 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24593 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24594 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
24595 to compile strcasecmp and strncasecmp.
24596 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
24597 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
24598
24599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
24600
76e3966e
UD
246012011-11-13 Ulrich Drepper <drepper@gmail.com>
24602
24603 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
24604 locale-defines.sym to gen-as-const-headers.
24605 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
24606 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
24607 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
24608 to compile strcasecmp and strncasecmp.
24609 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
24610 strcasecmp_l and strncasecmp_l.
24611 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
24612 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
24613 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
24614 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
24615 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
24616 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
24617 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
24618 * sysdeps/i386/i686/multiarch/strncase.S: New file.
24619 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
24620 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
24621 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
24622
ab26144e
UD
246232011-11-12 Ulrich Drepper <drepper@gmail.com>
24624
7edb22ef
UD
24625 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
24626 result of SYSDEP_GETTIME_CPU to retval.
24627 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
24628 parameter list to macro. Remove trailing semicolon. Adjust users.
24629
9694fc44
UD
24630 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
24631 variable.
24632
8ad89ef8
UD
24633 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
24634 mantissa words.
24635 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24636
0c822ef9
UD
24637 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
24638 from unused variable.
24639
874e0564
UD
24640 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
24641 DWARF definitions.
24642 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
24643 for assembling.
24644
3a2edc79
UD
24645 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
24646 over namespaces.
24647
f3c2577f
UD
24648 * sunrpc/rpc_prot.c (rejected): Fix case value.
24649
294ce126
UD
24650 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
24651 unsigned long long int to avoid warnings in shift.
24652
5e2b63c6
UD
24653 * posix/regex_internal.c (re_string_reconstruct): Actually use result
24654 of use of trans.
24655 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
24656 variable tmp.
24657
e7f4b08e
UD
24658 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
24659 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24660 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24661
ab26144e
UD
24662 * nis/nis_table.c (nis_list): Use variable of correct type for
24663 result of __follow_path call.
24664
8a6d5255
AZ
246652011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24666
24667 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
24668 of math functions ceil, trunc, floor, round, and sqrt, when
24669 avaliable on the platform.
24670 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
24671 name clash.
24672 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24673 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24674 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24675
aaddc98c
MP
246762011-10-30 Marek Polacek <mpolacek@redhat.com>
24677
24678 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
24679 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24680
95b7042b
RM
246812011-11-11 Roland McGrath <roland@hack.frob.com>
24682
24683 * include/unistd.h: Fix __readlink return type.
24684 Reported by Chris Metcalf <cmetcalf@tilera.com>.
24685
57769839
UD
246862011-11-11 Ulrich Drepper <drepper@gmail.com>
24687
24688 * stdlib/ucontext.h: Undo last change for makecontext.
24689
edc5984d
AS
246902011-11-11 Andreas Schwab <schwab@redhat.com>
24691
98591e58
AS
24692 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
24693
edc5984d
AS
24694 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
24695 * setjmp/setjmp.h: Mark functions as non-leaf.
24696 * setjmp/bits/setjmp2.h: Likewise.
24697 * stdlib/ucontext.h: Likewise.
24698
77cdc054
AS
246992011-11-10 Andreas Schwab <schwab@redhat.com>
24700
24701 * malloc/arena.c (_int_new_arena): Don't increment narenas.
24702 (reused_arena): Don't check arena limit.
24703 (arena_get2): Atomically check arena limit.
24704
fe72eebd
UD
247052011-11-08 Ulrich Drepper <drepper@gmail.com>
24706
5f078c32
UD
24707 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
24708 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
24709
fe72eebd
UD
24710 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
24711 instructions.
24712
ae1bc2fa
AS
247132011-11-07 Andreas Schwab <schwab@redhat.com>
24714
7583a88d
AS
24715 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
24716 handler when locking.
24717
ae1bc2fa
AS
24718 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24719 Fix size of allocated buffer.
24720
10fb0bfa
AS
247212011-11-04 Andreas Schwab <schwab@redhat.com>
24722
998832a4
AS
24723 [BZ #10103]
24724 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
24725 declarations for long double functions.
24726 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
24727
10fb0bfa
AS
24728 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
24729
3d7ba52b
AS
247302011-11-03 Andreas Schwab <schwab@redhat.com>
24731
a9ae54a1
AS
24732 * nscd/nscd.c (main): Don't start AVC thread until credentials are
24733 installed.
24734
3d7ba52b
AS
24735 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
24736 is disabled.
24737
bc8db248
ST
247382011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
24739
24740 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
24741
45b96dd6
AS
247422011-11-01 Andreas Schwab <schwab@linux-m68k.org>
24743
647776f6
AS
24744 * include/alloca.h (stackinfo_alloca_round): Define.
24745 (extend_alloca): Use it.
24746 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
24747 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
24748 here.
24749
d91a8b93
AS
24750 * scripts/check-local-headers.sh: Ignore libaudit.h.
24751
45b96dd6
AS
24752 * nscd/Makefile (extra-objs): Make recursively expanded.
24753
432d41ce
UD
247542011-11-01 Ulrich Drepper <drepper@gmail.com>
24755
34372fc6
UD
24756 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
24757 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24758
fadb59f8
UD
24759 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
24760 * posix/tst-rfc3484-2.c: Likewise.
24761 * posix/tst-rfc3484-3.c: Likewise.
24762
78239589
UD
24763 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24764 process_vm_writev.
24765 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
24766 process_vm_writev.
24767 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
24768 process_vm_writev from libc using GLIBC_2.15 version.
24769
432d41ce
UD
24770 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
24771
02f9c6cf
PP
247722011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
24773
24774 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
24775 stack usage.
24776
3a2c0242
UD
247772011-10-31 Ulrich Drepper <drepper@gmail.com>
24778
f4ec4833
UD
24779 [BZ #13367]
24780 * nss/getent.c (initgroups_keys): Show error message in case no group
24781 names are given.
24782
3a2c0242
UD
24783 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
24784 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
24785 __bump_nl_timestamp.
24786 * nscd/connections (nscd_init): When host database is served open
24787 netlink socket and request notification about configuration changes.
24788 (main_loop_poll): Track netlink file descriptor and bump timestamp
24789 in case data becomes available.
24790 (main_loop_epoll): Likewise.
24791 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
24792 (database_pers_head): Add extra_data fileds.
24793 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
24794 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
24795 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
24796 Adjust caller.
24797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
24798 in6ai data, call __free_in6ai.
24799 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
24800 Add -DHAVE_NETLINK.
24801 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
24802 interface information. Reuse previous data if netlink timestamp
24803 is not changed.
24804 (__bump_nl_timestamp): New function.
24805 (__free_in6ai): New function.
24806
636064eb
UD
248072011-10-30 Ulrich Drepper <drepper@gmail.com>
24808
24809 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
24810 close_not_cancel_no_status here.
24811 (__check_pf): Reorganize code a bit to not call close twice if OOM.
24812
9beb2334
UD
248132011-10-29 Ulrich Drepper <drepper@gmail.com>
24814
6ef76f3b
UD
24815 [BZ #13276]
24816 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
24817 return value.
24818
0ffc4f3e 24819 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
24820 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
24821 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
24822
cb95113e
UD
248232011-07-03 Andreas Jaeger <aj@suse.de>
24824
24825 [BZ #10709]
24826 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
24827 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
24828 * math/libm-test.inc (sin_test): Add test case.
24829
a1b560ff
UD
248302011-10-29 Ulrich Drepper <drepper@gmail.com>
24831
c9aaface
UD
24832 [BZ #13337]
24833 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
24834 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24835
d272e7f1
UD
24836 * elf/chroot_canon.c (chroot_canon): Cleanups.
24837
1bc33071
UD
24838 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
24839
1760874d
TJ
24840 [BZ #13335]
24841 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
24842 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
24843
51d91b18
UD
24844 * string/test-strchr.c: Make usable for strchrnul testing.
24845 * string/test-strchrnul.c: New file.
24846 * string/Makefile (strop-tests): Add strchrnul.
24847
a1b560ff 24848 * po/it.po: Update from translation team.
b611fb81 24849 * po/es.po: Likewise.
a1b560ff 24850
a5b81e1f
UD
248512011-10-28 Ulrich Drepper <drepper@gmail.com>
24852
fd52bc6d
UD
24853 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
24854 the three constants needed as parameters. Drop the others.
24855 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
24856 __m128i_strloadu_tolower.
52e4b9eb
UD
24857 Create and initialize variable zero and use it in all the places
24858 where _mm_setzero_si128 was used.
fd52bc6d 24859
a5b81e1f
UD
24860 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
24861 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
24862 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
24863 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
24864 anymore.
24865 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
24866 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
24867 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
24868 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
24869 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
24870 __mpranred, __mptan.
24871 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
24872 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
24873 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
24874 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
24875 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
24876 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
24877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
24878 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
24879 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
24880
b4343346
AS
248812011-10-28 Andreas Schwab <schwab@redhat.com>
24882
0c92d8a8
AS
24883 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
24884 redefine if SHARED.
24885 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
24886
b4343346
AS
24887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
24888 wide char related routines to wcsmbs subdir.
24889
3871f58f
AS
248902011-10-27 Andreas Schwab <schwab@redhat.com>
24891
24892 [BZ #13344]
24893 * misc/sys/cdefs.h (__THROWNL): Define.
24894 * posix/unistd.h: Use __THREADNL instead of __THREAD
24895 for memory synchronization functions.
24896
94d44d9f
RM
248972011-10-26 Roland McGrath <roland@hack.frob.com>
24898
21b64b15 24899 [BZ #13349]
94d44d9f
RM
24900 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
24901 doesn't exist.
24902 * manual/stdio.texi (Obstack Streams): Node removed.
24903
f6ce9294
AS
249042011-10-26 Andreas Schwab <schwab@redhat.com>
24905
80479147
AS
24906 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
24907 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24908 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24909
f6ce9294
AS
24910 * math/math_private.h (math_force_eval): Allow non-addressable
24911 arguments.
24912 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
24913
618280a1
UD
249142011-10-25 Ulrich Drepper <drepper@gmail.com>
24915
e0016b11
UD
24916 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
24917 file is not needed.
24918
24919 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
24920 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
24921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24922 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24923 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24924 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24926 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
24927 Add AVX variants.
24928 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
24929 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
24930 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
24931 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
24932 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
24933 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
24934 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
24935 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
24936 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
24937 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
24938 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
24939 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
24940 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
24941 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
24942 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
24943 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
24944 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
24945 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
24946 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
24947
24948 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
24949 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
24950
618280a1
UD
24951 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
24952 place. Use VEX encoding when compiling for AVX.
24953
37822576
AS
249542011-10-25 Andreas Schwab <schwab@redhat.com>
24955
1f1e1947
AS
24956 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
24957 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24958
37822576
AS
24959 * string/test-strchr.c (do_test): Don't generate NUL bytes.
24960
31ea014d
UD
249612011-10-25 Ulrich Drepper <drepper@gmail.com>
24962
d7826aa1 24963 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 24964 useless if() expression.
d7826aa1
UD
24965 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24971 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24973 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24974 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24975 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24976 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24977 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24978 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24979 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24980 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24981 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24982 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24983 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24984
31ea014d
UD
24985 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
24986
16437fec
AS
249872011-10-25 Andreas Schwab <schwab@redhat.com>
24988
24989 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
24990 condition.
24991 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24992
31d3cc00
UD
249932011-10-25 Ulrich Drepper <drepper@gmail.com>
24994
24995 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
24996 .text section. Avoid duplicate constants.
24997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25005 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25006 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25007 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25008 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25009 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25010 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25011 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25012 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25013 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25014 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25020 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25021 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25022 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25023 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25024 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25025 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25026 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25027 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25028 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25029 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25030 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25031 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25032 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25033 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25034 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25035 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25036 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25037 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25038 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25039 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25040 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25041 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25042
58985aa9
UD
250432011-10-24 Ulrich Drepper <drepper@gmail.com>
25044
202c9deb
UD
25045 * sysdeps/x86_64/dla.h: Move to ...
25046 * sysdeps/x86_64/fpu/dla.h: ...here.
25047 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25048 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25049
af968f62
UD
25050 * config.make.in: Add have-mfma4 entry.
25051 * configure.in: Substitute libc_cv_cc_fma4.
25052 * math/Makefile (dbl-only-routines): Add sincostab.
25053 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25054 Use __sincostab not sincos.
25055 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25056 name is a macro.
25057 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25061 using __copysign.
25062 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25063 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25064 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25065 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25066 and __inv.
25067 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25068 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25069 __copysign.
25070 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25071 define aliases when function name is a macro.
25072 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25073 sysdeps/ieee754/dbl-64/sincos.tbl.
25074 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25075 fma4-enabled routines.
25076 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25077 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25078 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25079 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25080 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25081 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25082 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25083 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25084 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25085 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25086 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25087 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25088 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25089 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25090 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25091 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25092 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25093 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25094 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25095 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25096 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25097 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25098 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25099 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25101 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25102 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25103 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25104 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25105 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25106
58985aa9
UD
25107 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25108 rename.
25109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25117
a201fbcf
AS
251182011-10-24 Andreas Schwab <schwab@redhat.com>
25119
25120 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25121
fc2ee42a
LD
251222011-10-23 Ulrich Drepper <drepper@gmail.com>
25123
bb3129bd
UD
25124 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25125
0275fff8
UD
25126 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25127 prediction.
25128 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25129
2fa2ae85
UD
25130 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25131 Remove unused variable magic_bits.
25132 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25133
fc2ee42a
LD
25134 * string/strnlen.c: Define and use STRNLEN macro.
25135 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25136 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25137 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25138 * wcsmbs/wcslen.c: Define and use WCSLEN.
25139 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25140 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25141 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25142 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25143 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25144 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25145 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25146
ce7dd29f
LD
251472011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25148
25149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25150 strnlen-sse2-no-bsf.
25151 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25153 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25154 Add strnlen support.
25155 (USE_AS_STRNLEN): New macro.
25156 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25157 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25158 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25159 * sysdeps/x86_64/wcslen.S: New file.
25160
979c70a3
MZ
251612011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25162
25163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25164 XMM-moves are used for copying on small sizes.
25165
2d09f82f
LD
251662011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25167
25168 * wcsmbs/Makefile (strop-tests): Add wcschr.
25169 * wcsmbs/test-wcschr.c: New file.
25170 * string/test-strchr.c: Update.
25171 Add wcschr support.
25172 (WIDE): New macro.
25173
619fccca
LD
251742011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25175
2d09f82f 25176 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25177 * wcsmbs/test-wcslen.c: New file.
25178 * string/test-strlen.c: Update.
25179 Add wcslen support.
25180 (WIDE): New macro.
25181
09f699ea
UD
251822011-10-23 Ulrich Drepper <drepper@gmail.com>
25183
25184 * po/it.po: Update from translation team.
25185
95584d3b
LD
251862011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25187
25188 * sysdeps/x86_64/wcscmp.S: Update.
25189 Fix wrong comparison semantics.
25190 wcscmp shall use signed comparison not unsigned.
25191 Don't use substraction to avoid overflow bug.
25192 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25193 * wcsmbc/wcscmp.c: Likewise.
25194 * string/test-strcmp.c: Likewise.
25195 Add new tests to check cases with negative values.
25196
c8b3296b
UD
251972011-10-23 Ulrich Drepper <drepper@gmail.com>
25198
25199 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25200 * sysdeps/x86_64/dla.h: ...here. New file.
25201 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25206 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25207 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25210
246ad57a
AS
252112011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25212
25213 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25214 __ynl_finite aliases.
25215
a1a87169
UD
252162011-10-22 Ulrich Drepper <drepper@gmail.com>
25217
0d355eb7
UD
25218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25219
a1a87169
UD
25220 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25221 define DLA_FMA.
25222 [DLA_FMA] (EMULV): Use DLA_FMA.
25223 [DLA_FMA] (MUL12): Use EMULV.
25224 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
25225 that are not needed.
25226 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25231 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25233
ee2aafe0
AS
252342011-10-22 Andreas Schwab <schwab@linux-m68k.org>
25235
25236 * math/s_nan.c: Undef __nan.
25237 * math/s_nanf.c: Undef __nanf.
25238 * math/s_nanl.c: Undef __nanl.
25239 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
25240 "math_private.h".
25241
bc62c2fb
UD
252422011-10-22 Ulrich Drepper <drepper@gmail.com>
25243
77425c63
UD
25244 * math/s_catan.c: Add branch predictions.
25245 * math/s_catanf.c: Likewise.
25246 * math/s_catanh.c: Likewise.
25247 * math/s_catanhf.c: Likewise.
25248 * math/s_catanhl.c: Likewise.
25249 * math/s_catanl.c: Likewise.
25250 * math/s_cexp.c: Likewise.
25251 * math/s_cexpf.c: Likewise.
25252 * math/s_cexpl.c: Likewise.
25253 * math/s_clog.c: Likewise.
25254 * math/s_clog10.c: Likewise.
25255 * math/s_clog10f.c: Likewise.
25256 * math/s_clog10l.c: Likewise.
25257 * math/s_clogf.c: Likewise.
25258 * math/s_clogl.c: Likewise.
25259 * math/s_csqrt.c: Likewise.
25260 * math/s_csqrtf.c: Likewise.
25261 * math/s_csqrtl.c: Likewise.
25262 * math/s_ctanf.c: Likewise.
25263 * math/s_ctanh.c: Likewise.
25264 * math/s_ctanhf.c: Likewise.
25265 * math/s_ctanhl.c: Likewise.
25266 * math/s_ctanl.c: Likewise.
25267
bc62c2fb
UD
25268 * math/math_private.h: Define __nan, __nanf, __nanl.
25269 * math/s_cacosh.c: Include <math_private.h>.
25270 * math/s_cacoshl.c: Likewise.
25271 * math/s_casinh.c: Likewise.
25272 * math/s_casinhf.c: Likewise.
25273 * math/s_casinhl.c: Likewise.
25274 * math/s_ccos.c: Rely entire on ccosh.
25275 * math/s_ccosf.c: Rely entire on ccoshf.
25276 * math/s_ccosl.c: Rely entirely on ccoshl.
25277 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
25278 Remove tests for FE_INVALID.
25279 * math/s_ccoshf.c: Likewise.
25280 * math/s_ccoshl.c: Likewise.
25281 * math/s_csin.c: Likewise.
25282 * math/s_csinf.c: Likewise.
25283 * math/s_csinh.c Likewise.
25284 * math/s_csinhf.c: Likewise.
25285 * math/s_csinhl.c: Likewise.
25286 * math/s_csinl.c: Likewise.
25287 * math/s_ctan.c: Likewise.
25288 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
25289 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
25290 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
25291
8ec250a4
UD
252922011-10-21 Ulrich Drepper <drepper@gmail.com>
25293
c196fed8
UD
25294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
25295 compilation problems.
25296
8ec250a4
UD
25297 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
25298 __builtin_expect.
25299
8d4f46c6
UD
253002011-10-20 Ulrich Drepper <drepper@gmail.com>
25301
ed72b654
UD
25302 * sysdeps/i386/configure.in: Test for -mfma4 option.
25303 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
25304 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
25305 COMMON_CPUID_INDEX_80000001.
25306 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
25307 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
25308 use it if FMA3 is not supported.
25309 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25310
8d4f46c6
UD
25311 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
25312 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25313
d45c60c2
AS
253142011-10-20 Andreas Schwab <schwab@redhat.com>
25315
25316 [BZ #12892]
25317 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
25318 it would create a cycle with a link time dependency.
25319
d9a4d2ab
UD
253202011-10-19 Ulrich Drepper <drepper@gmail.com>
25321
855d1560
UD
25322 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
25323 instruction.
25324 * string/Makefile (strop-tests): Add rawmemchr.
25325 * string/test-rawmemchr.c: New file.
25326
d9a4d2ab
UD
25327 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
25328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
25329 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
25330 when compiling str{,n}casecmp and when AVX is available. Hook up
25331 new optimized code in initializers.
25332
8f3b1ffe
AS
253332011-10-19 Andreas Schwab <schwab@redhat.com>
25334
25335 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
25336 __feraiseexcept instead of feraiseexcept.
25337
d38f1dba
UD
253382011-10-18 Ulrich Drepper <drepper@gmail.com>
25339
d9a8d0ab
UD
25340 * math/math_private.h: Define defaults for libc_fetestexcept and
25341 libc_feupdateenv.
25342 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
25343 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
25344 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25345 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25346 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25347 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25348 libc_fetestexcept and libc_feupdateenv.
25349
4855e3dd
UD
25350 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
25351 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
25352 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
25353 * sysdeps/x86_64/fpu/math_private.h: Define special version of
25354 libc_feholdexcept_setround.
25355
581d30e3
UD
25356 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
25357 Add s_nearbyint-c and s_nearbyintf-c.
25358 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
25359 nearbyintf inlines.
25360 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
25361 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
25362 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
25363 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
25364
d38f1dba
UD
25365 * math/math_private.h: Define defaults for libc_fegetround,
25366 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
25367 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
25368 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
25369 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
25370 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
25371 standard functions.
25372 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25373 Remove comments and hacks for old compiler versions.
25374 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
25375 libc_fegetround, libc_fesetround, libc_feholdexcept, and
25376 libc_feholdexceptl.
25377
caa6c9d8
AS
253782011-10-18 Andreas Schwab <schwab@redhat.com>
25379
25380 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
25381 (__feraiseexcept_renamed): Add __NTH.
25382 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
25383 namespace violations.
25384
97c066e6
UD
253852011-10-17 Ulrich Drepper <drepper@gmail.com>
25386
99ce7b04
UD
25387 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
25388
1004d182
UD
25389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
25390
228a984d
UD
25391 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
25392 recently added interfaces.
25393 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
25394
c8553a6a
UD
25395 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
25396 about macro parameter expansion.
25397
ed22dcf6
UD
25398 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
25399 __NO_MATH_INLINES is defined. Cleanups.
25400
25401 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
25402 and __floorf is target has SSE4.1.
25403 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
25404 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
25405 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
25406 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
25407
b171c137
UD
25408 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
25409 name.
25410 (floorf): Likewise.
25411
97c066e6
UD
25412 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
25413
629f62ef
AS
254142011-10-17 Andreas Schwab <schwab@redhat.com>
25415
49a43d80
AS
25416 * misc/sys/cdefs.h: Fix last change.
25417
629f62ef
AS
25418 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
25419 database lookup.
25420
e453f6cd
UD
254212011-10-16 Ulrich Drepper <drepper@gmail.com>
25422
aa78043a
UD
25423 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
25424
ad0f5cad
UD
25425 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
25426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25427 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25428 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25429 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25431 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25433 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25434 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
25435 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
25436 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
25437 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
25438 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
25439 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
25440 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
25441 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
25442 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
25443 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
25444 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
25445 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
25446 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
25447
25448 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
25449 ceil, ceilf, floor, floorf.
25450
25451 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
25452 Perform IRELATIVE relocations last.
25453
e453f6cd
UD
25454 * elf/do-rel.h: Add another parameter nrelative, replacing the
25455 local variable with the same name. Change name of the function
25456 to end in Rel or Rela (uppercase).
25457 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
25458 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
25459 elf_dynamic_do_##reloc function.
25460
fd5bdc09
UD
254612011-10-15 Ulrich Drepper <drepper@gmail.com>
25462
79b195b5
UD
25463 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
25464 is sufficient, at least on modern CPUs.
25465
d4a28569
UD
25466 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
25467
b61099b5
UD
25468 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
25469 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
25470
bcf01e6d
UD
25471 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
25472 __expl_finite.
25473 * math/bits/math-finite.h: Add entries for exp.
25474 * math/e_expl.c: Add __*_finite alias.
25475 * sysdeps/i386/fpu/e_exp.S: Likewise.
25476 * sysdeps/i386/fpu/e_expf.S: Likewise.
25477 * sysdeps/i386/fpu/e_expl.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25479 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
25483 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25484 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25485
ba1a0d59
UD
25486 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
25487 is sufficient, at least on modern CPUs.
25488
fd5bdc09
UD
25489 * ctype/ctype-info.c (__ctype_init): Define.
25490 * include/ctype.h (__ctype_init): Declare.
25491 (__ctype_b_loc): The variable is always initialized.
25492 (__ctype_toupper_loc): Likewise.
25493 (__ctype_tolower_loc): Likewise.
25494 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
25495 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
25496
7872cfb0
AS
254972011-10-15 Andreas Schwab <schwab@linux-m68k.org>
25498
b468825a
AS
25499 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
25500
7872cfb0
AS
25501 * configure.in: Also look in $cxxmachine/include for C++ system
25502 headers.
25503
be13f7bf
LD
255042011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25505
25506 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
25507 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
25508 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
25509 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
25510 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
25511 (USE_AS_WMEMCMP): New macro.
25512 Fixing indents.
25513 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
25514 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
25515 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
25516 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
25517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25518 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
25519 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
25520 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
25521 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
25522 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
25523 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
25524 (USE_AS_WMEMCMP): New macro.
25525 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
25526 * sysdeps/string/test-memcmp.c: Update.
25527 Fix simple_wmemcmp.
25528 Add new tests.
25529 * wcsmbs/wmemcmp.c: Update.
25530 (WMEMCMP): New macro.
25531 Fix overflow bug.
25532
556a2007
AJ
255332011-10-12 Andreas Jaeger <aj@suse.de>
25534
25535 [BZ #13268]
25536 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
25537
538faaa7
UD
255382011-10-15 Ulrich Drepper <drepper@gmail.com>
25539
ab6737ff
UD
25540 * libio/iofwide.c (do_length): Avoid warning.
25541
538faaa7
UD
25542 * ctype/ctype.h (__isctype_f): Add missing __THROW.
25543
396a21b1
UD
255442011-10-14 Ulrich Drepper <drepper@gmail.com>
25545
cdf2901f
UD
25546 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
25547
38ad40ce
UD
25548 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
25549 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
25550 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
25551 * sysdeps/i386/i686/fpu/e_log.S: New file.
25552 * sysdeps/i386/i686/fpu/e_logf.S: New file.
25553 * sysdeps/i386/i686/fpu/e_logl.S: New file.
25554
396a21b1
UD
25555 * ctype/ctype.h: Add support for inlined isXXX functions when
25556 compiling C++ code.
25557
6b1f68c9
AS
255582011-10-14 Andreas Schwab <schwab@redhat.com>
25559
349290c0
AS
25560 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25561
6b1f68c9
AS
25562 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
25563
f2282d42
RM
255642011-10-13 Roland McGrath <roland@hack.frob.com>
25565
25566 [BZ #13291]
25567 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
25568
5298ffa8
AS
255692011-10-13 Andreas Schwab <schwab@redhat.com>
25570
714fad23
AS
25571 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
25572 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
25573 feraiseexcept.
25574
81dcc7fb
AS
25575 * sysdeps/x86_64/memrchr.S: Check for zero size.
25576
5298ffa8
AS
25577 * string/stratcliff.c: Add memrchr tests.
25578
951fbcec
LD
255792011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25580
25581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25582 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
25583 rawmemchr-sse2 rawmemchr-sse2-bsf.
25584 * sysdeps/i386/i686/multiarch/memchr.S: New file.
25585 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
25586 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
25587 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
25588 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
25589 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
25590 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
25591 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
25592 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
25593 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
25594 * string/memrchr.c (MEMRCHR): New macro.
25595
0ac5ae23
UD
255962011-10-12 Ulrich Drepper <drepper@gmail.com>
25597
25598 Add integration with gcc's -ffinite-math-only and optimize wrapper
25599 functions in libm.
25600 * Versions.def: Define GLIBC_2.15 version for libm.
25601 * math/Makefile (headers): Add bits/math-finite.h.
25602 * math/bits/math-finite.h: New file.
25603 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
25604 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
25605 * math/e_acoshl.c: Add __*_finite alias.
25606 * math/e_acosl.c: Likewise.
25607 * math/e_asinl.c: Likewise.
25608 * math/e_atan2l.c: Likewise.
25609 * math/e_atanhl.c: Likewise.
25610 * math/e_coshl.c: Likewise.
25611 * math/e_exp10.c: Likewise.
25612 * math/e_exp10f.c: Likewise.
25613 * math/e_exp10l.c: Likewise.
25614 * math/e_exp2l.c: Likewise.
25615 * math/e_fmodl.c: Likewise.
25616 * math/e_gammal_r.c: Likewise.
25617 * math/e_hypotl.c: Likewise.
25618 * math/e_j0l.c: Likewise.
25619 * math/e_j1l.c: Likewise.
25620 * math/e_jnl.c: Likewise.
25621 * math/e_lgammal_r.c: Likewise.
25622 * math/e_log10l.c: Likewise.
25623 * math/e_log2l.c: Likewise.
25624 * math/e_logl.c: Likewise.
25625 * math/e_powl.c: Likewise.
25626 * math/e_sinhl.c: Likewise.
25627 * math/e_sqrtl.c: Likewise.
25628 * math/e_scalb.c: Completely rewritten and optimized.
25629 * math/e_scalbf.c: Likewise.
25630 * math/e_scalbl.c: Likewise.
25631 * math/w_acos.c: Likewise.
25632 * math/w_acosf.c: Likewise.
25633 * math/w_acosl.c: Likewise.
25634 * math/w_acosh.c: Likewise.
25635 * math/w_acoshf.c: Likewise.
25636 * math/w_acoshl.c: Likewise.
25637 * math/w_asin.c: Likewise.
25638 * math/w_asinf.c: Likewise.
25639 * math/w_asinl.c: Likewise.
25640 * math/w_atan2.c: Likewise.
25641 * math/w_atan2f.c: Likewise.
25642 * math/w_atan2l.c: Likewise.
25643 * math/w_atanh.c: Likewise.
25644 * math/w_atanhf.c: Likewise.
25645 * math/w_atanhl.c: Likewise.
25646 * math/w_exp10.c: Likewise.
25647 * math/w_exp10f.c: Likewise.
25648 * math/w_exp10l.c: Likewise.
25649 * math/w_fmod.c: Likewise.
25650 * math/w_fmodf.c: Likewise.
25651 * math/w_fmodl.c: Likewise.
25652 * math/w_j0.c: Likewise.
25653 * math/w_j0f.c: Likewise.
25654 * math/w_j0l.c: Likewise.
25655 * math/w_j1.c: Likewise.
25656 * math/w_j1f.c: Likewise.
25657 * math/w_j1l.c: Likewise.
25658 * math/w_jn.c: Likewise.
25659 * math/w_jnf.c: Likewise.
25660 * math/w_log.c: Likewise.
25661 * math/w_logf.c: Likewise.
25662 * math/w_logl.c: Likewise.
25663 * math/w_log10.c: Likewise.
25664 * math/w_log10f.c: Likewise.
25665 * math/w_log10l.c: Likewise.
25666 * math/w_log2.c: Likewise.
25667 * math/w_log2f.c: Likewise.
25668 * math/w_log2l.c: Likewise.
25669 * math/w_pow.c: Likewise.
25670 * math/w_powf.c: Likewise.
25671 * math/w_powl.c: Likewise.
25672 * math/w_remainder.c: Likewise.
25673 * math/w_remainderf.c: Likewise.
25674 * math/w_remainderl.c: Likewise.
25675 * math/w_scalb.c: Likewise.
25676 * math/w_scalbf.c: Likewise.
25677 * math/w_scalbl.c: Likewise.
25678 * math/w_sqrt.c: Likewise.
25679 * math/w_sqrtf.c: Likewise.
25680 * math/w_sqrtl.c: Likewise.
25681 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
25682 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
25683 used.
25684 * math/math_private.h: Declare __kernel_standard_f.
25685 * math/w_cosh.c: Remove cruft and optimize a bit.
25686 * math/w_coshf.c: Likewise.
25687 * math/w_coshl.c: Likewise.
25688 * math/w_exp2.c: Likewise.
25689 * math/w_exp2f.c: Likewise.
25690 * math/w_exp2l.c: Likewise.
25691 * math/w_hypot.c: Likewise.
25692 * math/w_hypotf.c: Likewise.
25693 * math/w_hypotl.c: Likewise.
25694 * math/w_lgamma.c: Likewise.
25695 * math/w_lgamma_r.c: Likewise.
25696 * math/w_lgammaf.c: Likewise.
25697 * math/w_lgammaf_r.c: Likewise.
25698 * math/w_lgammal.c: Likewise.
25699 * math/w_lgammal_r.c: Likewise.
25700 * math/w_sinh.c: Likewise.
25701 * math/w_sinhf.c: Likewise.
25702 * math/w_sinhl.c: Likewise.
25703 * math/w_tgamma.c: Likewise.
25704 * math/w_tgammaf.c: Likewise.
25705 * math/w_tgammal.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25708 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
25709 Minor optimizations. Pretty printing. Remove cruft.
25710 * sysdeps/i386/fpu/e_acosf.S: Likewise.
25711 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25712 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25713 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25714 * sysdeps/i386/fpu/e_acosl.c: Likewise.
25715 * sysdeps/i386/fpu/e_asin.S: Likewise.
25716 * sysdeps/i386/fpu/e_asinf.S: Likewise.
25717 * sysdeps/i386/fpu/e_atan2.S: Likewise.
25718 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
25719 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
25720 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25721 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25722 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25723 * sysdeps/i386/fpu/e_exp10.S: Likewise.
25724 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
25725 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
25726 * sysdeps/i386/fpu/e_exp2.S: Likewise.
25727 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
25728 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
25729 * sysdeps/i386/fpu/e_fmod.S: Likewise.
25730 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
25731 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
25732 * sysdeps/i386/fpu/e_hypot.S: Likewise.
25733 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
25734 * sysdeps/i386/fpu/e_log.S: Likewise.
25735 * sysdeps/i386/fpu/e_log10.S: Likewise.
25736 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25737 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25738 * sysdeps/i386/fpu/e_log2.S: Likewise.
25739 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25740 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25741 * sysdeps/i386/fpu/e_logf.S: Likewise.
25742 * sysdeps/i386/fpu/e_logl.S: Likewise.
25743 * sysdeps/i386/fpu/e_pow.S: Likewise.
25744 * sysdeps/i386/fpu/e_powf.S: Likewise.
25745 * sysdeps/i386/fpu/e_powl.S: Likewise.
25746 * sysdeps/i386/fpu/e_remainder.S: Likewise.
25747 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
25748 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
25749 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25750 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25752 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
25753 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
25754 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
25755 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25756 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25758 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25763 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25765 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25766 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25768 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25769 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25771 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25772 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25773 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25776 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25777 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25778 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25779 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25780 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25781 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
25782 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25783 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
25784 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25785 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25786 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25787 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25788 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25789 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25790 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25791 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25792 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25793 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25794 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25795 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25796 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25797 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25798 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25832 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25833 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25834 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25835 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25836 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25837 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
25838 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25839 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25840 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25841 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25842 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25843 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25844 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25845 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25846 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25847 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25848 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25849 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25850 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25851 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25852 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25853 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25854 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25855 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
25856 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
25857 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
25858 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
25859 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25861 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25863 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
25864 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25865 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
25866 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
25867 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
25868 (__isnanf): Likewise.
25869 (__isinf_ns): Likewise.
25870 (__isinf_nsf): Likewise.
25871 (__finite): Likewise.
25872 (__finitef): Likewise.
25873 (__ieee754_sqrt): Define as macro.
25874 (__ieee754_sqrtf): Define as macro.
25875 (__ieee754_sqrtl): Define as macro.
25876 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
25877 inlined copy.
25878 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
25879 __FINITE_MATH_ONLY__ consistent.
25880 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
25881
12cc2fcd
AS
258822011-10-10 Andreas Schwab <schwab@linux-m68k.org>
25883
a843a204
AS
25884 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
25885 of rawmemchr.
25886
12cc2fcd
AS
25887 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
25888
c853acd5
UD
258892011-10-09 Ulrich Drepper <drepper@gmail.com>
25890
25891 * po/ja.po: Update from translation team.
25892
c658d255
RM
258932011-10-08 Roland McGrath <roland@hack.frob.com>
25894
110946e4
RM
25895 * locale/programs/locarchive.c (prepare_address_space): New function.
25896 (create_archive, enlarge_archive, open_archive): Use it.
25897
50604220
RM
25898 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
25899 inside [SHARED], where it is used.
25900
c658d255
RM
25901 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
25902
25903 * nss/getent.c (netgroup_keys): Remove unused variable.
25904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25905
6a621eb7
UD
259062011-10-08 Ulrich Drepper <drepper@gmail.com>
25907
7edb55ce
UD
25908 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
25909 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
25910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
25911 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
25912 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
25913 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
25914 * math/Makefile (libm-calls): Add s_isinf_ns.
25915 * math/divtc3.c: Use __isinf_nsl instead of isinf.
25916 * math/multc3.c: Likewise.
25917 * math/s_casin.c: Likewise.
25918 * math/s_casinf.c: Likewise.
25919 * math/s_casinl.c: Likewise.
25920 * math/s_ccos.c: Likewise.
25921 * math/s_ccosf.c: Likewise.
25922 * math/s_ccosl.c: Likewise.
25923 * math/s_ctan.c: Likewise.
25924 * math/s_ctanf.c: Likewise.
25925 * math/s_ctanh.c: Likewise.
25926 * math/s_ctanhf.c: Likewise.
25927 * math/s_ctanhl.c: Likewise.
25928 * math/s_ctanl.c: Likewise.
25929 * math/w_fmod.c: Likewise.
25930 * math/w_fmodf.c: Likewise.
25931 * math/w_fmodl.c: Likewise.
25932 * math/w_remainder.c: Likewise.
25933 * math/w_remainderf.c: Likewise.
25934 * math/w_remainderl.c: Likewise.
25935 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
25936 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
25937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
25938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
25939 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
25940 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
25941 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
25942 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
25943
187da0ae
UD
25944 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
25945 of the number.
25946 * stdio-common/printf_fphex.c: Likewise.
25947 * stdio-common/printf_size.c: Likewise.
25948
9277c064
UD
25949 * math/e_exp10.c: Include math_private.h using <...> not "...".
25950 * math/e_exp10f.c: Likewise.
25951 * math/e_exp10l.c: Likewise.
25952 * math/e_exp2l.c: Likewise.
25953 * math/e_j0l.c: Likewise.
25954 * math/e_j1l.c: Likewise.
25955 * math/e_jnl.c: Likewise.
25956 * math/e_lgammal_r.c: Likewise.
25957 * math/e_rem_pio2l.c: Likewise.
25958 * math/e_scalb.c: Likewise.
25959 * math/e_scalbf.c: Likewise.
25960 * math/e_scalbl.c: Likewise.
25961 * math/k_cosl.c: Likewise.
25962 * math/k_sinl.c: Likewise.
25963 * math/k_tanl.c: Likewise.
25964 * math/s_cacoshf.c: Likewise.
25965 * math/s_catan.c: Likewise.
25966 * math/s_catanf.c: Likewise.
25967 * math/s_catanh.c: Likewise.
25968 * math/s_catanhf.c: Likewise.
25969 * math/s_catanhl.c: Likewise.
25970 * math/s_catanl.c: Likewise.
25971 * math/s_ccosh.c: Likewise.
25972 * math/s_ccoshf.c: Likewise.
25973 * math/s_ccoshl.c: Likewise.
25974 * math/s_cexp.c: Likewise.
25975 * math/s_cexpf.c: Likewise.
25976 * math/s_cexpl.c: Likewise.
25977 * math/s_clog.c: Likewise.
25978 * math/s_clog10.c: Likewise.
25979 * math/s_clog10f.c: Likewise.
25980 * math/s_clog10l.c: Likewise.
25981 * math/s_clogf.c: Likewise.
25982 * math/s_clogl.c: Likewise.
25983 * math/s_csin.c: Likewise.
25984 * math/s_csinf.c: Likewise.
25985 * math/s_csinh.c: Likewise.
25986 * math/s_csinhf.c: Likewise.
25987 * math/s_csinhl.c: Likewise.
25988 * math/s_csinl.c: Likewise.
25989 * math/s_csqrt.c: Likewise.
25990 * math/s_csqrtf.c: Likewise.
25991 * math/s_csqrtl.c: Likewise.
25992 * math/s_ctan.c: Likewise.
25993 * math/s_ctanf.c: Likewise.
25994 * math/s_ctanh.c: Likewise.
25995 * math/s_ctanhf.c: Likewise.
25996 * math/s_ctanhl.c: Likewise.
25997 * math/s_ctanl.c: Likewise.
25998 * math/s_ldexp.c: Likewise.
25999 * math/s_ldexpf.c: Likewise.
26000 * math/s_ldexpl.c: Likewise.
26001 * math/s_significand.c: Likewise.
26002 * math/s_significandf.c: Likewise.
26003 * math/s_significandl.c: Likewise.
26004 * math/w_acos.c: Likewise.
26005 * math/w_acosf.c: Likewise.
26006 * math/w_acosh.c: Likewise.
26007 * math/w_acoshf.c: Likewise.
26008 * math/w_acoshl.c: Likewise.
26009 * math/w_acosl.c: Likewise.
26010 * math/w_asin.c: Likewise.
26011 * math/w_asinf.c: Likewise.
26012 * math/w_asinl.c: Likewise.
26013 * math/w_atan2.c: Likewise.
26014 * math/w_atan2f.c: Likewise.
26015 * math/w_atan2l.c: Likewise.
26016 * math/w_atanh.c: Likewise.
26017 * math/w_atanhf.c: Likewise.
26018 * math/w_atanhl.c: Likewise.
26019 * math/w_cosh.c: Likewise.
26020 * math/w_coshf.c: Likewise.
26021 * math/w_coshl.c: Likewise.
26022 * math/w_dremf.c: Likewise.
26023 * math/w_exp10.c: Likewise.
26024 * math/w_exp10f.c: Likewise.
26025 * math/w_exp10l.c: Likewise.
26026 * math/w_exp2.c: Likewise.
26027 * math/w_exp2f.c: Likewise.
26028 * math/w_fmod.c: Likewise.
26029 * math/w_fmodf.c: Likewise.
26030 * math/w_fmodl.c: Likewise.
26031 * math/w_hypot.c: Likewise.
26032 * math/w_hypotf.c: Likewise.
26033 * math/w_hypotl.c: Likewise.
26034 * math/w_j0.c: Likewise.
26035 * math/w_j0f.c: Likewise.
26036 * math/w_j0l.c: Likewise.
26037 * math/w_j1.c: Likewise.
26038 * math/w_j1f.c: Likewise.
26039 * math/w_j1l.c: Likewise.
26040 * math/w_jn.c: Likewise.
26041 * math/w_jnf.c: Likewise.
26042 * math/w_jnl.c: Likewise.
26043 * math/w_lgamma.c: Likewise.
26044 * math/w_lgamma_r.c: Likewise.
26045 * math/w_lgammaf.c: Likewise.
26046 * math/w_lgammaf_r.c: Likewise.
26047 * math/w_lgammal.c: Likewise.
26048 * math/w_lgammal_r.c: Likewise.
26049 * math/w_log.c: Likewise.
26050 * math/w_log10.c: Likewise.
26051 * math/w_log10f.c: Likewise.
26052 * math/w_log10l.c: Likewise.
26053 * math/w_log2.c: Likewise.
26054 * math/w_log2f.c: Likewise.
26055 * math/w_log2l.c: Likewise.
26056 * math/w_logf.c: Likewise.
26057 * math/w_logl.c: Likewise.
26058 * math/w_pow.c: Likewise.
26059 * math/w_powf.c: Likewise.
26060 * math/w_powl.c: Likewise.
26061 * math/w_remainder.c: Likewise.
26062 * math/w_remainderf.c: Likewise.
26063 * math/w_remainderl.c: Likewise.
26064 * math/w_scalb.c: Likewise.
26065 * math/w_scalbf.c: Likewise.
26066 * math/w_scalbl.c: Likewise.
26067 * math/w_sinh.c: Likewise.
26068 * math/w_sinhf.c: Likewise.
26069 * math/w_sinhl.c: Likewise.
26070 * math/w_sqrt.c: Likewise.
26071 * math/w_sqrtf.c: Likewise.
26072 * math/w_sqrtl.c: Likewise.
26073 * math/w_tgamma.c: Likewise.
26074 * math/w_tgammaf.c: Likewise.
26075 * math/w_tgammal.c: Likewise.
26076
6a621eb7
UD
26077 * po/ja.po: Update from translation team.
26078
bf582445
AJ
260792011-09-29 Andreas Jaeger <aj@suse.de>
26080
f9efbf3a
AJ
26081 [BZ #13179]
26082 * sunrpc/netname.c (netname2host): Fix logic.
26083
bf582445
AJ
26084 [BZ #6779]
26085 [BZ #6783]
26086 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26087 correctly.
26088 * math/w_remainder.c (__remainder): Likewise.
26089 * math/w_remainderf.c (__remainderf): Likewise.
26090 * math/libm-test.inc (remainder_test): Add test cases.
26091
48693bea
AK
260922011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26093
26094 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26095 sdiv_qrnnd.
26096
42622229
LD
260972011-10-07 Ulrich Drepper <drepper@gmail.com>
26098
26099 * string/test-memcmp.c: Avoid unncessary #defines.
26100 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26101
093ecf92
LD
261022011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26103
26104 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26105 Use new sse2 version for core i3 - i7 as it's faster
26106 than sse42 version.
26107 (bit_Prefer_PMINUB_for_stringop): New.
26108 * sysdeps/x86_64/rawmemchr.S: Update.
26109 Replace with faster SSE2 version.
26110 * sysdeps/x86_64/memrchr.S: New file.
26111 * sysdeps/x86_64/memchr.S: Update.
26112 Replace with faster SSE2 version.
26113
fde56e5c
MP
261142011-09-12 Marek Polacek <mpolacek@redhat.com>
26115
26116 * elf/dl-load.c (lose): Add cast to avoid warning.
26117
21fd49a9
UD
261182011-10-07 Ulrich Drepper <drepper@gmail.com>
26119
5a06e643
UD
26120 * po/ca.po: Update from translation team.
26121
684ae515
UD
26122 * inet/getnetgrent_r.c: Hook up nscd.
26123 * nscd/Makefile (routines): Add nscd_netgroup.
26124 (nscd-modules): Add netgroupcache.
26125 (CFLAGS-netgroupcache.c): Define.
26126 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26127 (cache_search): Add const to second parameter.
26128 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26129 INNETGR.
26130 (dbs): Add netgrdb entry.
26131 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26132 (verify_persistent_db): Handle netgrdb.
26133 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26134 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26135 GETFDNETGR.
26136 (netgroup_response_header): Define.
26137 (innetgroup_response_header): Define.
26138 (datahead): Add netgroup_response_header and innetgroup_response_header
26139 elements.
26140 * nscd/nscd.conf: Add entries for netgroup cache.
26141 * nscd/nscd.h (dbtype): Add netgrdb.
26142 (_PATH_NSCD_NETGROUP_DB): Define.
26143 (netgroup_iov_disabled): Declare.
26144 (xmalloc, xcalloc, xrealloc): Move declarations here.
26145 (cache_search): Adjust prototype.
26146 Add netgroup-related prototypes.
26147 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26148 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26149 (__nscd_innetgr): Declare.
26150 * nscd/selinux.c (perms): Use access_vector_t as element type and
26151 add netgroup-related initializers.
26152 * nscd/netgroupcache.c: New file.
26153 * nscd/nscd_netgroup.c: New file.
26154 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26155 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26156 For four parameters use innetgr.
26157 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26158 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26159 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26160 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26161
21fd49a9
UD
26162 * nscd/connections.c (register_traced_file): Don't register file
26163 for disabled databases.
26164
054c0457
UD
261652011-10-06 Ulrich Drepper <drepper@gmail.com>
26166
32b63198
UD
26167 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26168
054c0457
UD
26169 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26170 from tree and freeing node.
26171
64031225
JO
261722011-09-25 Jiri Olsa <jolsa@redhat.com>
26173
26174 * nss/nsswitch.c (__nss_database_lookup): Handle
26175 nss_parse_service_list out of memory case.
26176
0490345c
JO
261772011-09-15 Jiri Olsa <jolsa@redhat.com>
26178
26179 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26180 out of memory case.
26181
3a62d00d
AS
261822011-10-04 Andreas Schwab <schwab@redhat.com>
26183
26184 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26185 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26186 pass it down.
26187 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26188 elf_machine_rela, elf_machine_lazy_rel.
26189 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26190 (ELF_DYNAMIC_DO_REL): Likewise.
26191 (ELF_DYNAMIC_DO_RELA): Likewise.
26192 (ELF_DYNAMIC_RELOCATE): Likewise.
26193 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26194 to ELF_DYNAMIC_DO_REL.
26195 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26196 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26197 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26198 elf_machine_rela.
26199 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26200 skip_ifunc, don't call ifunc function if non-zero.
26201 (elf_machine_rela): Likewise.
26202 (elf_machine_lazy_rel): Likewise.
26203 (elf_machine_lazy_rela): Likewise.
26204 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26205 (elf_machine_lazy_rel): Likewise.
26206 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26207 Likewise.
26208 (elf_machine_lazy_rel): Likewise.
26209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26210 Likewise.
26211 (elf_machine_lazy_rel): Likewise.
26212 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26213 (elf_machine_lazy_rel): Likewise.
26214 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26215 (elf_machine_lazy_rel): Likewise.
26216 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26217 (elf_machine_lazy_rel): Likewise.
26218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26219 (elf_machine_lazy_rel): Likewise.
26220 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26221 (elf_machine_lazy_rel): Likewise.
26222 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26223 (elf_machine_lazy_rel): Likewise.
26224
68577918
UD
262252011-09-28 Ulrich Drepper <drepper@gmail.com>
26226
26227 * nss/nss_files/files-init.c (_nss_files_init): Use static
26228 initialization for all the *_traced_file variables.
26229
68822d74
AS
262302011-09-28 Andreas Schwab <schwab@redhat.com>
26231
26232 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26233
2056100b
RM
262342011-09-27 Roland McGrath <roland@hack.frob.com>
26235
26236 [BZ #13226]
26237 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
26238
32c76b63
AS
262392011-09-27 Andreas Schwab <schwab@redhat.com>
26240
26241 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26242 Reread the line before reparsing it.
26243
bf972c9d
AS
262442011-09-26 Andreas Schwab <schwab@redhat.com>
26245
26246 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
26247
e057a1b5
JM
262482011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
26249 Maxim Kuvyrkov <maxim@codesourcery.com>
26250 Joseph Myers <joseph@codesourcery.com>
26251
26252 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
26253 if needed for __stack_chk_guard.
26254
bc7e1c36
RM
262552011-09-19 Roland McGrath <roland@hack.frob.com>
26256
ecb1482f
RM
26257 * sysdeps/posix/spawni.c (script_execute): Always define it.
26258 It will be optimized away if unused.
26259 (maybe_script_execute): New function.
26260 (__spawni): Call it.
26261
bc7e1c36
RM
26262 * Makerules: Don't include tls.make.
26263 (config-tls): Always set to thread.
26264 * tls.make.c: File removed.
26265
1c3b002b
MF
262662011-09-19 Mike Frysinger <vapier@gentoo.org>
26267
26268 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
26269 * config.make.in (CPPFLAGS-config): New substituted variable.
26270
2840865d
UD
262712011-09-15 Ulrich Drepper <drepper@gmail.com>
26272
88738eb6
UD
26273 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
26274
cbf645a6 26275 [BZ #13192]
2840865d
UD
26276 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
26277 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
26278
b402e91a
RM
262792011-09-15 Roland McGrath <roland@hack.frob.com>
26280
26281 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
26282 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
26283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26284 (CALL_FAIL): Likewise.
26285 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
26286 (CALL_FAIL): Macro removed.
26287 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
26288
4c1a1f71
UD
262892011-09-15 Ulrich Drepper <drepper@gmail.com>
26290
26291 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
26292 for __FINITE_MATH_ONLY__ == 1.
26293
edc121be
AS
262942011-09-15 Andreas Schwab <schwab@redhat.com>
26295
26296 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
26297 __ieee754_sqrt instead of sqrt.
26298 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
26299 __ieee754_sqrtf instead of sqrtf.
26300 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
26301 __floorf instead of floorf.
26302 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
26303 __floorf, __truncf instead of floorf, truncf.
26304
cd205654
UD
263052011-09-14 Ulrich Drepper <drepper@gmail.com>
26306
ee4d0315
UD
26307 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
26308
cd205654
UD
26309 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
26310 __extern_always_inline.
26311 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
26312 32-bit.
26313
48b67d71
AS
263142011-09-14 Andreas Schwab <schwab@redhat.com>
26315
26316 * elf/rtld.c (dl_main): Also relocate in dependency order when
26317 doing symbol dependency testing.
26318
1ae12c75
AS
263192011-09-13 Andreas Schwab <schwab@linux-m68k.org>
26320
26321 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26322 Always define `refsym'.
26323
995a80df
AS
263242011-09-13 Andreas Schwab <schwab@redhat.com>
26325
e529793b
AS
26326 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
26327 (__FD_ELT): Renamed from __FDELT.
26328 * misc/bits/select2.h (__FD_ELT): Likewise.
26329 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
26330 __FD_MASK instead of __FDELT, __FDMASK.
26331 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26332 Likewise.
26333 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
26334 Likewise.
26335
52d4fef8
AS
26336 * elf/Makefile (gen-ldd): Fix pattern.
26337
995a80df
AS
26338 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
26339 (init_tls): Likewise.
26340
8682f8b0
UD
263412011-09-12 Ulrich Drepper <drepper@gmail.com>
26342
26343 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
26344
de82006d
AS
263452011-09-12 Andreas Schwab <schwab@redhat.com>
26346
a7c8e6a1
AS
26347 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
26348 `struct cmsghdr *' instead of `void *'.
26349 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
26350 Likewise.
26351
0f31fe77
AS
263522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
26353
26354 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
26355 if non-absolute.
26356 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
26357 ldd_rewrite_script.
0f31fe77 26358
32b4c839
UD
263592011-09-11 Ulrich Drepper <drepper@gmail.com>
26360
83cd1420
UD
26361 * configure.in: Remove --with-tls option.
26362 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
26363 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
26364 out in case it is missing.
26365 * sysdeps/ia64/elf/configure.in: Likewise.
26366 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
26367 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
26368 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
26369 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
26370 * sysdeps/sh/elf/configure.in: Likewise.
26371 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
26372 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26373 * sysdeps/x86_64/elf/configure.in: Likewise.
26374 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
26375 * sysdeps/mach/hurd/tls.h: Likewise.
26376
633f745d
UD
26377 [BZ #13067]
26378 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
26379
f318beb8
UD
26380 [BZ #13090]
26381 * configure.in: Fix use of AC_INIT.
26382
32b4c839
UD
26383 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
26384
3ce1f295
UD
263852011-09-10 Ulrich Drepper <drepper@gmail.com>
26386
bb016596
UD
26387 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
26388 __set_errno.
8e58439c
UD
26389 * malloc/hooks.c: Likewise.
26390
aebae053 26391 [BZ #11929]
02d46fc4
UD
26392 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
26393 variables statically.
26394 (narenas): Initialize.
26395 (list_lock): Initialize.
bb016596
UD
26396 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
26397 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
26398 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
26399 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
26400 Add initializers to main_arena and mp_.
26401 (malloc_state): Remove pagesize member. Change all users to use
26402 GLRO(dl_pagesize).
26403
26404 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
26405 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
26406 is always initialized.
26407
22a89187
UD
26408 * malloc/malloc.c: Removed unused configurations and dead code.
26409 * malloc/arena.c: Likewise.
26410 * malloc/hooks.c: Likewise.
02d46fc4 26411 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 26412
d063d164
UD
26413 * include/tls.h: Removed. USE___THREAD must always be defined.
26414 * bits/libc-tsd.h: Don't handle !USE___THREAD.
26415 * elf/dl-libc.c: Likewise.
26416 * elf/dl-tsd.c: Likewise.
26417 * include/errno.h: Likewise.
26418 * include/netdb.h: Likewise.
26419 * include/resolv.h: Likewise.
26420 * inet/herrno-loc.c: Likewise.
26421 * inet/herrno.c: Likewise.
26422 * malloc/arena.c: Likewise.
26423 * malloc/hooks.c: Likewise.
26424 * malloc/malloc.c: Likewise.
26425 * resolv/res-state.c: Likewise.
26426 * resolv/res_libc.c: Likewise.
26427 * sysdeps/i386/dl-machine.h: Likewise.
26428 * sysdeps/ia64/dl-machine.h: Likewise.
26429 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
26430 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26431 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26432 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26433 * sysdeps/sh/dl-machine.h: Likewise.
26434 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26435 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26436 * sysdeps/unix/i386/sysdep.S: Likewise.
26437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26438 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26439 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26440 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26442 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26443 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26444 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26447 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26448 * sysdeps/x86_64/dl-machine.h: Likewise.
26449 * tls.make.c: Likewise.
26450
3ce1f295
UD
26451 * configure.in: Remove --with-__thread option. Make tests for
26452 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
26453 tls_model attribute fail if no support is available. Remove
26454 USE_IN_LIBIO.
26455 * Makeconfig: Adjust for dropped configure option. All features are
26456 now mandatory.
26457 * Makerules: Likewise.
26458 * Versions.def: Likewise.
26459 * argp/argp-fmtstream.c: Likewise.
26460 * argp/argp-fmtstream.h: Likewise.
26461 * argp/argp-help.c: Likewise.
26462 * assert/assert.c: Likewise.
26463 * config.h.in: Likewise.
26464 * config.make.in: Likewise.
26465 * configure: Likewise.
26466 * configure.in: Likewise.
26467 * csu/Versions: Likewise.
26468 * csu/init.c: Likewise.
26469 * elf/tst-audit2.c: Likewise.
26470 * elf/tst-tls10.c: Likewise.
26471 * elf/tst-tls10.h: Likewise.
26472 * elf/tst-tls11.c: Likewise.
26473 * elf/tst-tls12.c: Likewise.
26474 * elf/tst-tls14.c: Likewise.
26475 * elf/tst-tlsmod11.c: Likewise.
26476 * elf/tst-tlsmod12.c: Likewise.
26477 * elf/tst-tlsmod13.c: Likewise.
26478 * elf/tst-tlsmod13a.c: Likewise.
26479 * elf/tst-tlsmod14a.c: Likewise.
26480 * elf/tst-tlsmod15b.c: Likewise.
26481 * elf/tst-tlsmod16a.c: Likewise.
26482 * elf/tst-tlsmod16b.c: Likewise.
26483 * elf/tst-tlsmod7.c: Likewise.
26484 * elf/tst-tlsmod8.c: Likewise.
26485 * elf/tst-tlsmod9.c: Likewise.
26486 * gmon/gmon.c: Likewise.
26487 * grp/fgetgrent_r.c: Likewise.
26488 * grp/putgrent.c: Likewise.
26489 * hurd/fopenport.c: Likewise.
26490 * include/libc-symbols.h: Likewise.
26491 * include/tls.h: Likewise.
26492 * intl/gettextP.h: Likewise.
26493 * intl/loadinfo.h: Likewise.
26494 * locale/global-locale.c: Likewise.
26495 * locale/localeinfo.h: Likewise.
26496 * mach/devstream.c: Likewise.
26497 * malloc/arena.c: Likewise.
26498 * malloc/set-freeres.c: Likewise.
26499 * misc/err.c: Likewise.
26500 * misc/getttyent.c: Likewise.
26501 * misc/mntent_r.c: Likewise.
26502 * posix/getopt.c: Likewise.
26503 * posix/wordexp.c: Likewise.
26504 * pwd/fgetpwent_r.c: Likewise.
26505 * resolv/Versions: Likewise.
26506 * resolv/res_hconf.c: Likewise.
26507 * shadow/fgetspent_r.c: Likewise.
26508 * shadow/putspent.c: Likewise.
26509 * stdio-common/printf_fphex.c: Likewise.
26510 * stdio-common/tmpfile.c: Likewise.
26511 * stdlib/abort.c: Likewise.
26512 * stdlib/fmtmsg.c: Likewise.
26513 * sunrpc/auth_unix.c: Likewise.
26514 * sunrpc/clnt_perr.c: Likewise.
26515 * sunrpc/clnt_tcp.c: Likewise.
26516 * sunrpc/clnt_udp.c: Likewise.
26517 * sunrpc/clnt_unix.c: Likewise.
26518 * sunrpc/openchild.c: Likewise.
26519 * sunrpc/svc_simple.c: Likewise.
26520 * sunrpc/svc_tcp.c: Likewise.
26521 * sunrpc/svc_udp.c: Likewise.
26522 * sunrpc/svc_unix.c: Likewise.
26523 * sunrpc/xdr.c: Likewise.
26524 * sunrpc/xdr_array.c: Likewise.
26525 * sunrpc/xdr_rec.c: Likewise.
26526 * sunrpc/xdr_ref.c: Likewise.
26527 * sunrpc/xdr_stdio.c: Likewise.
26528
1248c1c4
PB
265292011-09-09 Ulrich Drepper <drepper@gmail.com>
26530
26531 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26532
265332011-07-03 Andreas Jaeger <aj@suse.de>
26534
26535 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
26536 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
26537 regenerate with gen-libm-tests.pl.
26538
265392010-05-12 Petr Baudis <pasky@suse.cz>
26540
26541 [BZ #11589]
26542 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
26543 around j0() zero points by switching to j1().
26544 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26547 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26548
f22e1074
UD
265492011-09-09 Ulrich Drepper <drepper@gmail.com>
26550
f19009c1
UD
26551 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
26552 instead of 0.
26553 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 26554 instead of 0.
f19009c1
UD
26555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26556 Patch in part by Pavel Roskin <proski@gnu.org>.
26557
3f8cc204
UD
26558 [BZ #13138]
26559 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
26560 realloc.
26561 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
26562 Free memory block if necessary.
26563
f22e1074
UD
26564 [BZ #12847]
26565 * libio/genops.c (INTDEF): For string streams the _lock pointer can
26566 be NULL. Don't lock in this case.
26567
0a2349f9
RM
265682011-09-09 Roland McGrath <roland@hack.frob.com>
26569
26570 * elf/elf.h (ELFOSABI_GNU): New macro.
26571 (ELFOSABI_LINUX): Define to that.
26572
f3cdd467
DZ
265732011-07-29 Denis Zaitceff <zaitceff@gmail.com>
26574
26575 * string/strncat.c (strncat): Undef the symbol in case it has been
26576 defined in bits/string.h.
26577
74718d13
UD
265782011-09-09 Ulrich Drepper <drepper@gmail.com>
26579
633e9e0f
UD
26580 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
26581
0a2349f9 26582 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
26583 link map.
26584
f9924780
AJ
265852011-08-17 Andreas Jaeger <aj@suse.de>
26586
26587 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
26588
7f5517aa
PP
265892011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
26590 Ian Lance Taylor <iant@google.com>
26591
26592 * math/libm-test.inc (lround_test): New testcase.
26593 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
26594
762011fe
UD
265952011-09-08 Ulrich Drepper <drepper@gmail.com>
26596
92963737
UD
26597 * Makefile: Remove support for automatic cvs check-ins.
26598 * Makerules: Likewise.
26599 * config.make.in: Likewise.
26600 * configure.in: Likewise.
26601 * intl/Makefile: Likewise.
26602 * locale/Makefile: Likewise.
26603 * po/Makefile: Likewise.
26604 * posix/Makefile: Likewise.
26605 * sysdeps/gnu/Makefile: Likewise.
26606 * sysdeps/mach/hurd/Makefile: Likewise.
26607 * sysdeps/sparc/sparc32/Makefile: Likewise.
26608
b0727fd8
JS
26609 [BZ #13118]
26610 * posix/Makefile (bug-regex32-ENV): Define.
26611 Patch by John Stanley <jpsinthemix@verizon.net>.
26612
a0f33f99
UD
26613 * misc/Makefile (headers): Add bits/select2.h.
26614 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
26615 * misc/bits/select2.h: New file.
26616 * include/bits/select2.h: New file.
26617 * debug/Makefile (routines): Add fdelt_chk.
26618 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
26619 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
26620 FD_ISSET.
26621 * debug/fdelt_chk.c: New file.
26622
762011fe
UD
26623 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
26624 * wcsmbs/test-wmemcmp.c: Likewise.
26625 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 26626 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
26627
266282011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26629
26630 * string/Makefile (strop-tests): Add memcmp.
26631 * string/test-wmemcmp.c: New file.
26632 * string/test-memcmp.c: Add wmemcmp support.
26633
7f513ec8
RM
266342011-09-08 Roland McGrath <roland@hack.frob.com>
26635
0442afb4
RM
26636 [BZ #13153]
26637 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
26638 2011-07-19 change.
26639
7f513ec8
RM
26640 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
26641 garbage value in a __mach_port_mod_refs call in the cases of the
26642 task-self and thread-self ports.
26643
a12b2239
ST
266442011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26645
26646 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
26647
610f9ab4
AS
266482011-09-08 Andreas Schwab <schwab@redhat.com>
26649
7f513ec8 26650 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 26651
48882a1a
LD
266522011-09-07 Ulrich Drepper <drepper@gmail.com>
26653
b49865be
UD
26654 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
26655
fdc86bc9
UD
26656 * elf/dl-libc.c (dlerror_run): Pass back error code from
26657 dl_catch_error.
26658
c966526a
UD
26659 [BZ #13123]
26660 * elf/dl-load.c (lose): Free l_origin if it is valid.
26661
48882a1a
LD
26662 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
26663 names.
26664 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26665 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26666 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26667 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26668 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26669 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
26670
77a2a8b4
AZ
266712011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26672
26673 * sysdeps/powerpc/fpu/e_hypot.c: New file.
26674 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
26675 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
26676 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
26677 * sysdeps/powerpc/fpu/k_cosf.c: New file.
26678 * sysdeps/powerpc/fpu/k_sinf.c: New file.
26679 * sysdeps/powerpc/fpu/s_cosf.c: New file.
26680 * sysdeps/powerpc/fpu/s_sinf.c: New file.
26681 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
26682 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
26683
24f579d8
AM
266842011-08-15 Alan Modra <amodra@gmail.com>
26685
26686 [BZ #13092]
26687 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
26688 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
26689 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
26690 ppc_mcount to static-only-routines.
26691 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
26692 __mcount_internal.
26693 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
26694 __mcount_internal with usual JUMPTARGET. Remove useless nop.
26695
3d4837df
UD
266962011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
26697
26698 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
26699 for finite and infinity parameters.
26700
22700377
WS
267012011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26702
26703 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
26704 and add nop instructions for throughput optimization.
26705 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26706
5025581e
WS
267072011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
26708
26709 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
26710 aligned copy for power7 with vector-scalar instructions.
26711 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26712
08a300c9
L
267132011-07-24 H.J. Lu <hongjiu.lu@intel.com>
26714
26715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
26716 AVX check.
26717
59178ef9
AS
267182011-09-07 Andreas Schwab <schwab@redhat.com>
26719
26720 [BZ #13144]
26721 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
26722 last change.
26723
e38ba7ab
UD
267242011-09-07 Ulrich Drepper <drepper@gmail.com>
26725
26726 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26727 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
26728 syscall wrapper around clock_gettime in __vdso_clock_gettime.
26729 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
26730 clock_gettime.
26731
d53a73ac
UD
267322011-09-06 Ulrich Drepper <drepper@gmail.com>
26733
fc8bffcc
UD
26734 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
26735 Forgot to demangle the pointer.
26736
ceaa0c5d
UD
26737 * sysdeps/i386/sysdep.h: Define atom_text_section.
26738 * sysdeps/x86_64/sysdep.h: Likewise.
26739 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
26740 section with atom_text_section.
26741 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26742 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26743 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26744 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
26745 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
26746
a77d3c17
UD
26747 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
26748 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
26749 already be defined. Change to take two parameters and don't assign
26750 result to variable. Adjust all users.
26751 Define INTERNAL_GETTIME if not already defined.
26752 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
26753 call.
26754 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
26755 HAVE_CLOCK_GETTIME_VSYSCALL.
26756 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
26757
d53a73ac
UD
26758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
26759 gettimeofday vsyscall, just use time.
26760
a8f84144
AS
267612011-09-06 Andreas Schwab <schwab@redhat.com>
26762
26763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
26764 <errno.h>.
26765
ef606249
UD
267662011-09-06 Ulrich Drepper <drepper@gmail.com>
26767
26768 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
26769 syscall on x86-64.
26770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
26771 syscall.
26772 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
26774 syscall if possible.
26775
6585cb60
UD
267762011-09-05 Ulrich Drepper <drepper@gmail.com>
26777
26778 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
26779 e_ident. Don't pass to find_mapsXX.
26780 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
26781
a5f524e4
LD
267822011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26783
26784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26785 strchr-sse2-no-bsf strrchr-sse2-no-bsf
26786 * sysdeps/x86_64/multiarch/strchr.S: Update.
26787 Check bit_slow_BSF bit.
26788 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26789 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
26790 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
26791
554881ef
UD
267922011-09-05 Ulrich Drepper <drepper@gmail.com>
26793
d96de963
UD
26794 [BZ #13134]
26795 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
26796 before glibc 2.15.
26797 (tryshell): Define.
26798 (__spawni): Change last parameter to be flag. Test
26799 SPAWN_XFLAGS_USE_PATH flag to use path or not.
26800 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
26801 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
26802 * posix/spawni.c: Likewise.
26803 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
26804 * posix/spawnp.c: Likewise. Change normal version to use
26805 SPAWN_XFLAGS_USE_PATH.
26806 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
26807 SPAWN_XFLAGS_TRY_SHELL.
26808
d48e5868
UD
26809 [BZ #13150]
26810 * posix/glob.h: Remove gcc 1.x support.
26811
554881ef
UD
26812 [BZ #13068]
26813 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
26814
693fb948
LD
268152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26816
26817 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26818 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
26819 strrchr-sse2-bsf
26820 * sysdeps/i386/i686/multiarch/strchr.S: New file.
26821 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
26822 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
26823 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
26824 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
26825 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
26826
1b48c537
UD
268272011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26828
49d42c37
UD
26829 * sysdeps/x86_64/wcscmp.S: New file.
26830
1b48c537
UD
26831 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
26832 wcscmp-c wcscmp-sse2
26833 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
26834 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
26835 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
26836 * wcsmbs/wcscmp.c: Allow renaming.
26837
15c95c5d
DM
268382011-09-05 David S. Miller <davem@davemloft.net>
26839
26840 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
26841 stack slot, rather than the struct return pointer slot.
26842 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
26843 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
26844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
26845 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
26846
2f0ad8f3
UD
268472011-09-05 Ulrich Drepper <drepper@gmail.com>
26848
d88ae418
UD
26849 * po/ja.po: Update from translation team.
26850
2f0ad8f3
UD
26851 [BZ #13144]
26852 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
26853 kernel in 64-bit binaries.
26854
5f4318d1
DM
268552011-09-01 David S. Miller <davem@davemloft.net>
26856
26857 * elf/elf.h (HWCAP_SPARC_*): Move to..
26858 * sysdeps/sparc/sysdep.h: this new file and add new values.
26859 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
26860 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
26861 _DL_HWCAP_COUNT to 24.
26862 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
26863 entries.
26864 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
26865 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
26866 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
26867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
26868 instead of magic constants.
26869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26870
3ba57516
DM
268712011-08-31 David S. Miller <davem@davemloft.net>
26872
26873 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
26874 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
26875 Reimplement to do errno handling inline.
26876 (SYSCALL_ERROR_HANDLER): New macro.
26877 (__SYSCALL_STRING): Do not do errno handling in asm.
26878 (__CLONE_SYSCALL_STRING): Delete.
26879 (__INTERNAL_SYSCALL_STRING): Delete.
26880 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
26881 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
26882 (PSEUDO): Reimplement to do errno handling inline.
26883 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
26884 (SYSCALL_ERROR_HANDLER): New macro.
26885 (__SYSCALL_STRING): Do not do errno handling in asm.
26886 (__CLONE_SYSCALL_STRING): Delete.
26887 (__INTERNAL_SYSCALL_STRING): Delete.
26888 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
26889 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
26890 i386.
26891 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
26892 (inline_syscall*): Add 'err' argument.
26893 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
26894 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
26895 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
26896 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
26897
26898 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
26899 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26900
2bc17433
AS
269012011-08-30 Andreas Schwab <schwab@redhat.com>
26902
26903 * elf/rtld.c (dl_main): Relocate objects in dependency order.
26904
fbeb5f4d
JO
269052011-08-29 Jiri Olsa <jolsa@redhat.com>
26906
26907 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
26908 directive.
26909
ad69cc26
DM
269102011-08-24 David S. Miller <davem@davemloft.net>
26911
26912 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
26913
39dd69df
AS
269142011-08-24 Andreas Schwab <schwab@redhat.com>
26915
26916 * elf/Makefile: Add rules to build and run unload8 test.
26917 * elf/unload8.c: New file.
26918 * elf/unload8mod1.c: New file.
26919 * elf/unload8mod1x.c: New file.
26920 * elf/unload8mod2.c: New file.
26921 * elf/unload8mod3.c: New file.
26922
26923 * elf/dl-close.c (_dl_close_worker): Reset private search list if
26924 it wasn't used.
26925
2c0b250a
DM
269262011-08-23 David S. Miller <davem@davemloft.net>
26927
26928 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
26929 subtract stack bias.
26930 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
26931 %sp not %fp in calculations.
26932 (_JMPBUF_UNWINDS_ADJ): Likewise.
26933
22044b48
DM
26934 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
26935 (aio_suspend): Call it to force an exception region around the
26936 AIO_MISC_WAIT() invocation.
26937
2cae4995
AS
269382011-08-23 Andreas Schwab <schwab@redhat.com>
26939
26940 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
26941 backslash.
26942
873a772e
AJ
269432011-07-04 Aurelien Jarno <aurelien@aurel32.net>
26944
26945 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
26946 protection macro.
26947 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
26948 and <dl-machine.h>.
26949 (Elf64_FuncDesc): Remove.
26950
25ad0df1
DM
269512011-08-22 David S. Miller <davem@davemloft.net>
26952
26953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
26954 sigaltstack check, add missing cfi directives.
26955 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
26956 missing cfi directives, and sigaltstack handling.
26957
e888bcbe
AS
269582011-08-16 Andreas Schwab <schwab@redhat.com>
26959
26960 [BZ #11724]
26961 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
26962 object is seen twice.
26963 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26964
26965 * elf/Makefile (distribute): Add tst-initorder2.c.
26966 (tests): Add tst-initorder2.
26967 (modules-names): Add tst-initorder2a tst-initorder2b
26968 tst-initorder2c tst-initorder2d. Add rules to build them.
26969 ($(objpfx)tst-initorder2.out): New rule.
26970 * elf/tst-initorder2.c: New file.
26971 * elf/tst-initorder2.exp: New file.
26972
87162f46
AS
269732011-08-22 Andreas Schwab <schwab@redhat.com>
26974
70538b7f
AS
26975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
26976
f55ffe58
AS
26977 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
26978 dependencies back to end of function.
26979
87162f46
AS
26980 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26981 $(elfobjdir)/ld.so.
26982
91b392a4
UD
269832011-08-21 Ulrich Drepper <drepper@gmail.com>
26984
26985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
26986 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
26987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
26988 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
26989 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
26990 of __vdso_gettimeofday.
26991 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
26992 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
26993 attribute_hidden.
26994 (_libc_vdso_platform_setup): Remove initialization of
26995 __vdso_gettimeofday and __vdso_time.
26996
5c43483f
UD
269972011-08-20 Ulrich Drepper <drepper@gmail.com>
26998
775a77e7
UD
26999 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27000 and fgetc_unlocked.
27001 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27002 getc_unlocked.
89f447ed 27003
49c74ba9
UD
27004 * elf/dl-open.c (add_to_global): Report additions to the global scope
27005 for LD_DEBUG=scopes.
27006 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27007 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27008
5c43483f
UD
27009 [BZ #13114]
27010 * stdio-common/Makefile (tests): Add bug24.
27011 * stdio-common/bug24.c: New file.
27012
a101b025
AJ
270132011-08-19 Andreas Jaeger <aj@suse.de>
27014
27015 [BZ #13114]
27016 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27017 non-existant file when using close-on-exec mode.
27018
c88f1766
UD
270192011-08-20 Ulrich Drepper <drepper@gmail.com>
27020
0276a718
UD
27021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27022 the very first instruction.
27023
c88f1766
UD
27024 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27025 the CFI state in the end.
27026 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27027 inclusion of dl-trampoline.h.
27028 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27029
51ccffa0
AS
270302011-08-19 Andreas Schwab <schwab@redhat.com>
27031
94d7165f
AS
27032 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27033 expectations for long double.
27034
51ccffa0
AS
27035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27036 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27037
fd708658 270382011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27039
27040 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27041 artificual limit depends upon the system page size.
27042
44f0a71e
UD
270432011-08-17 Ulrich Drepper <drepper@gmail.com>
27044
27045 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27046 * resolv/Makefile: Define CFLAGS-libresolv.
27047
8de79a24
AS
270482011-08-17 Andreas Schwab <schwab@redhat.com>
27049
27050 * nss/makedb.c (compute_tables): Make variables used in nested
27051 function static.
27052
27724598
UD
270532011-08-17 Ulrich Drepper <drepper@gmail.com>
27054
c5305d88
UD
27055 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27056 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27057 if buffer was too small.
27058
27724598
UD
27059 * elf/pldd.c (main): Attach to all threads in the process.
27060 Rewrite /proc handling to use *at functions.
27061
076fe015
UD
270622011-08-16 Ulrich Drepper <drepper@gmail.com>
27063
174baab3
UD
27064 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27065 specifies first scope to show.
27066 (dl_open_worker): Update callers. Move printing scope of new
27067 object to before the relocation.
44f0a71e 27068 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27069 * sysdeps/generic/ldsodefs.h: Update declaration.
27070
076fe015
UD
27071 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27072 string for the scope number.
27073
a60df2c3
UD
270742011-08-14 Ulrich Drepper <drepper@gmail.com>
27075
27076 * nscd/servicescache.c (cache_addserv): Make sure written is always
27077 initialized.
27078
5e4287d1
RM
270792011-08-14 Roland McGrath <roland@hack.frob.com>
27080
85ae0589
RM
27081 * sysdeps/i386/i486/bits/atomic.h
27082 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27083 statement expression, so as to suppress "set but not used" warning.
27084 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27085
69f63097
RM
27086 * string/strncat.c (STRNCAT): Use prototype definition.
27087
675456ef
RM
27088 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27089 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27090 -Iprograms here.
27091 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27092 (localedef-modules): Add localedef.
27093 (locale-modules): Add locale.
27094
5e4287d1
RM
27095 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27096 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27097 to avoid a warning.
27098
9c96ff23
DM
270992011-08-14 David S. Miller <davem@davemloft.net>
27100
27101 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27102 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27103
f9ddf089
UD
271042011-08-13 Ulrich Drepper <drepper@gmail.com>
27105
44f0a71e 27106 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27107 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27108 * elf/rtld.c (dl_main): Set l_name of vDSO.
27109 Call _dl_show_scope when DL_DEBUG_SCOPES.
27110 (process_dl_debug): Recognize scopes flag and also set it for all.
27111 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27112 Declare _dl_show_scope.
27113
1dc27704
UD
27114 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27115 (do_dlopen): Pass caller_dlopen to dl_open.
27116 (__libc_dlopen_mode): Initialize caller_dlopen.
27117
f9ddf089
UD
27118 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27119 of libc. Make tolower call locale-independent. Optimize a bit by
27120 using isdigit instead of isalnum.
27121 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27122
9ac533d3
UD
271232011-08-12 Ulrich Drepper <drepper@gmail.com>
27124
27125 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27126 was a dependency or dynamically loaded.
27127
89edf2e9
UD
271282011-08-11 Ulrich Drepper <drepper@gmail.com>
27129
8e999d29
UD
27130 * intl/l10nflist.c: Allow architecture-specific pop function.
27131 * sysdeps/x86_64/l10nflist.c: New file.
27132
89edf2e9
UD
27133 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27134 classification.
27135
14d96785
AS
271362011-08-10 Andreas Schwab <schwab@redhat.com>
27137
27138 * include/dirent.h: Add libc_hidden_proto for scandirat and
27139 scandirat64. Don't declare __scandirat64.
27140 * dirent/scandirat.c: Add libc_hidden_def.
27141 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27142 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27143
6761ac04
DM
271442011-08-10 David S. Miller <davem@davemloft.net>
27145
27146 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27147 enum.
27148 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27150 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27151
c55fbd1e
UD
271522011-08-09 Ulrich Drepper <drepper@gmail.com>
27153
27154 * Versions.def [libc]: Add GLIBC_2.15.
27155 * dirent/Makefile (routines): Add scandirat and scandirat64.
27156 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27157 GLIBC_2.15.
27158 * dirent/dirent.h: Declare scandirat and scandirat64.
27159 * dirent/scandirat.c: New file.
27160 * dirent/scandirat64.c: New file.
27161 * sysdeps/wordsize-64/scandirat.c: New file.
27162 * sysdeps/wordsize-64/scandirat64.c: New file.
27163 * dirent/opendir.c: Define opendirat.
27164 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27165 using scandirat.
27166 * dirent/scandir64.c: Adjust for scandir.c change.
27167 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27168 __scandirat64, and __scandir_cancel_handler.
27169 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27170 additional parameter and use openat instead of open (outside of ld.so).
27171 Add new __opendir as wrapper around __opendirat.
27172 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27173 here without requiring old scandirat implementation.
27174
879165f2
UD
271752011-08-08 Ulrich Drepper <drepper@gmail.com>
27176
27177 * dirent/scandir.c (cancel_handler): Renamed to
27178 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27179 defined. Adjust users.
27180 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27181 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27182
cb7e923b
UD
271832011-08-04 Ulrich Drepper <drepper@gmail.com>
27184
16292edd
UD
27185 * string/test-string.h (IMPL): Use __STRING to expand name and then
27186 stringify it.
27187
cb7e923b
UD
27188 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27189 of cleanups.
27190
cff82933
LD
271912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27192
27193 * string/Makefile: Update.
27194 (strop-tests): Append strncat.
27195 * string/test-wcscmp.c: New file.
27196 New comprehensive test for wcscmp.
27197 * string/test-strcmp.c: Update.
27198 (WIDE): New define.
27199
9be9bfcc
AS
272002011-07-22 Andreas Schwab <schwab@redhat.com>
27201
27202 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27203 line.
27204
2e96f1c7
AS
272052011-07-26 Andreas Schwab <schwab@redhat.com>
27206
27207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27208 encoding to ACE if AI_IDN.
27209
85188888
JJ
272102011-08-01 Jakub Jelinek <jakub@redhat.com>
27211
27212 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27213 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27214
5fa16e9b
LD
272152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27216
27217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27218 Fix overflow bug in strncat.
27219 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27220
27221 * string/test-strncat.c: Update.
27222 Add new tests for checking overflow bugs.
27223
272242011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27225
27226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27227 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
27228 * sysdeps/i386/i686/multiarch/strcat.S: New file.
27229 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
27230 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
27231 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
27232 * sysdeps/i386/i686/multiarch/strncat.S: New file.
27233 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
27234 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
27235
27236 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
27237 (USE_AS_STRCAT): Define.
27238 Add strcat and strncat support.
27239 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27240
8c1a459f
AS
272412011-07-25 Andreas Schwab <schwab@redhat.com>
27242
27243 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
27244 __n bigger than INT_MAX+1.
27245 (__strncmp_g): Likewise.
27246
bba33c28
UD
272472011-07-23 Ulrich Drepper <drepper@gmail.com>
27248
798be72d
UD
27249 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
27250 * libio/stido.h: Likewise.
27251
8accd4dc
UD
27252 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
27253 (AF_NFC): Define.
27254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
27255 (AF_NFC): Define.
27256
cbff0d96
UD
27257 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
27258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27259 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27260 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
27261 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27262
9191c04a
UD
27263 [BZ #13021]
27264 * scripts/test-installation.pl: Don't expect libnss_test1 to be
27265 installed.
27266
bba33c28
UD
27267 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
27268 typo.
27269 (_dl_x86_64_save_sse): Likewise.
27270
90f139dd
UD
272712011-07-22 Ulrich Drepper <drepper@gmail.com>
27272
1aae088a
UD
27273 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
27274 OSXSAVE.
27275 (_dl_x86_64_save_sse): Likewise.
27276
8e2045f5
UD
27277 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
27278
90f139dd
UD
27279 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
27280
1d002f25
AS
272812011-07-21 Andreas Schwab <schwab@redhat.com>
27282
27283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
27284 change.
27285 (_dl_x86_64_save_sse): Use correct AVX check.
27286
21137f89
UD
272872011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27288
27289 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
27290 bug in strncpy/strncat.
27291 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27292
a65c0b7a
UD
272932011-07-21 Ulrich Drepper <drepper@gmail.com>
27294
27295 * string/tester.c (test_strcat): Add tests for different alignments
27296 of source and destination.
27297 (test_strncat): Likewise.
27298
6986b98a
UD
272992011-07-20 Ulrich Drepper <drepper@gmail.com>
27300
90bb2039
UD
27301 [BZ #12852]
27302 * posix/glob.c (glob): Check passed in values before using them in
27303 expressions to avoid some overflows.
27304 (glob_in_dir): Likewise.
27305
5644ef54
UD
27306 [BZ #13007]
27307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
27308 check for AVX enablement so that we don't crash with old kernels and
27309 new hardware.
27310 * elf/tst-audit4.c: Add same checks here.
27311 * elf/tst-audit6.c: Likewise.
27312
27313 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 27314
bfc9dc9b
AS
273152011-07-09 Andreas Schwab <schwab@linux-m68k.org>
27316
27317 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
27318
702e64bb
UD
273192011-07-20 Ulrich Drepper <drepper@gmail.com>
27320
27321 * po/cs.po: Update from translation team.
27322 * po/bg.po: Likewise.
27323
295e904f
MP
273242011-07-12 Marek Polacek <mpolacek@redhat.com>
27325
27326 * misc/sys/cdefs.h: Add support for const attribute.
27327 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
27328 to gnu_dev_{major,minor,makedev} functions.
27329
3ff94596
MP
273302011-07-20 Marek Polacek <mpolacek@redhat.com>
27331
27332 * intl/dcigettext.c (get_output_charset): Add missing bracket.
27333
28b59fca
AS
273342011-07-20 Andreas Schwab <schwab@redhat.com>
27335
27336 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
27337 strlen results.
27338
19df733e
AK
273392011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27340
27341 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
27342 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
27343 register in order to avoid conflicts with the soft frame pointer
27344 being held in r11 when necessary.
27345 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27346 (INTERNAL_VSYSCALL_NCS): Likewise.
27347
c8835729
MP
273482011-07-14 Marek Polacek <mpolacek@redhat.com>
27349
27350 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
27351 * elf/dl-fini.c (_dl_fini): Adjust caller.
27352 * elf/dl-close.c (_dl_close_worker): Likewise.
27353 * sysdeps/generic/ldsodefs.h: Adjust declaration.
27354
b902330c
MP
273552011-07-15 Marek Polacek <mpolacek@redhat.com>
27356
8991e135
MP
27357 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
27358 "aux_cache->nlibs < 0".
27359
b902330c
MP
27360 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
27361 in the reload-count case.
27362
99710781
LD
273632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27364
27365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27366 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
27367 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
27368 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
27369 * sysdeps/x86_64/multiarch/strcat.S: New file.
27370 * sysdeps/x86_64/multiarch/strncat.S: New file.
27371 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
27372 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
27373 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
27374 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
27375 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
27376 (USE_AS_STRCAT): Define.
27377 Add strcat and strncat support.
27378 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27379 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27380 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
27381 * string/strncat.c: Update.
27382 (USE_AS_STRNCAT): Define.
27383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27384 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
27385 and i7.
27386 * sysdeps/x86_64/multiarch/init-arch.h
27387 (bit_Prefer_PMINUB_for_stringop): New.
27388 (index_Prefer_PMINUB_for_stringop): Likewise.
27389 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
27390 bit_Prefer_PMINUB_for_stringop.
27391
7dc6bd90
UD
273922011-07-19 Ulrich Drepper <drepper@gmail.com>
27393
27394 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
27395 buffer64.
27396 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
27397 of casting of buffer.
27398 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
27399 buffer32 and buffer64.
27400 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
27401 writes instead of casting of buffer.
27402 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
27403 buffer32.
27404 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
27405 casting of buffer.
27406
e0e72284
AS
274072011-07-19 Andreas Schwab <schwab@redhat.com>
27408
27409 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
27410
feb1eb0b
UD
274112011-07-19 Ulrich Drepper <drepper@gmail.com>
27412
27413 * nscd/nscd.c (termination_handler): Don't do anything for a database
27414 if it has not yet been initialized.
27415
298711ff
UD
274162011-07-18 Ulrich Drepper <drepper@gmail.com>
27417
27418 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27419
274202011-07-15 Marek Polacek <mpolacek@redhat.com>
27421
27422 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
27423
f9d68389
UD
274242011-07-18 Ulrich Drepper <drepper@gmail.com>
27425
27426 * po/nl.po: Update from translation team.
27427 * po/sv.po: Likewise.
27428
db290cf5
RM
274292011-07-16 Roland McGrath <roland@hack.frob.com>
27430
27431 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
27432 now disallowed by GCC.
5c550700 27433
fd5e21c7
RM
27434 * configure.in (use-default-link): Default to yes if a test -shared
27435 link meets our qualifications.
27436 * configure: Regenerated.
27437
5c550700
RM
27438 * config.make.in (output-format): New variable.
27439 * configure.in: Check for ld --print-output-format support.
27440 * configure: Regenerated.
27441 * Makerules ($(common-objpfx)format.lds)
27442 [$(output-format) != unknown]: Just use $(output-format),
27443 instead of the linker-script munging.
27444
9fa2c032
RM
274452011-07-14 Roland McGrath <roland@hack.frob.com>
27446
a6928d51
RM
27447 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
27448 of $(common-objpfx)shlib.lds.
27449 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
27450
661607b3
RM
27451 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
27452 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
27453
9fa2c032
RM
27454 * configure.in (-z relro check): Adjust test code to add a large
27455 writable data section after it.
27456 * configure: Regenerated.
27457
defe9061
RM
274582011-07-11 Roland McGrath <roland@hack.frob.com>
27459
27460 * configure.in (-z relro check): Fix test code to make the variable
27461 truly const.
27462 * configure: Regenerated.
27463
319b9ad4
UD
274642011-07-11 Ulrich Drepper <drepper@gmail.com>
27465
27466 * nscd/nscd.h (struct traced_file): Define.
27467 (struct database_dyn): Remove inotify_descr, reset_res, and filename
27468 elements. Add traced_files.
27469 (inotify_fd): Declare.
27470 (register_traced_file): Declare.
27471 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
27472 (inotify_fd): Export.
27473 (resolv_conf_descr): Remove.
27474 (nscd_init): Move inotify descriptor creation to main.
27475 Don't register files for notification here.
27476 (register_traced_file): New function.
27477 (invalidate_cache): Don't use reset_res to determine whether to call
27478 res_init, go through the list of registered files.
27479 (main_loop_poll): The inotify descriptors are now stored in the
27480 structures for the traced files.
27481 (main_loop_epoll): Likewise
27482 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
27483 to __nss_disable_nscd.
27484 * nscd/cache.c (prune_cache): There is no single inotify descriptor
27485 for a database anymore. Check the records for all the registered
27486 files instead.
27487 * nss/Makefile (libnss_files-routines): Add files-init.
27488 (libnss_db-routines): Add db-init.
27489 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
27490 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
27491 * nss/nss_db/db-init.c: New file.
27492 * nss/nss_files/files-init.c: New file.
27493 * nss/nsswitch.c (nss_load_library): New function. Broken out of
27494 __nss_lookup_function.
27495 (__nss_lookup_function): Call nss_load_library.
27496 (nss_load_all_libraries): New function.
27497 (__nss_disable_nscd): Take parameter with callback function for files
27498 to register. Set is_nscd. Load all the DSOs for the NSS modules
27499 used for the cached services.
27500 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
27501 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
27502 options for features to all the files in nscd.
27503
27504 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
27505
23bee3e8
RM
275062011-07-10 Roland McGrath <roland@hack.frob.com>
27507
27508 * csu/elf-init.c (__libc_csu_init): Comment typo.
27509
46a5b7f0
UD
275102011-07-09 Ulrich Drepper <drepper@gmail.com>
27511
27512 * po/pl.po: Update from translation team.
27513 * po/ja.po: Likewise.
27514 * po/ru.po: Likewise.
27515 * po/ko.po: Likewise.
27516 * po/fr.po: Likewise.
27517
d30cf5bb
RM
275182011-07-09 Roland McGrath <roland@hack.frob.com>
27519
113ddea4
RM
27520 * configure.in (.ctors/.dtors header and trailer check):
27521 Use an empirical test on a built program.
27522 * configure: Regenerated.
27523
574920b4
RM
27524 * configure.in (-z relro check): Use an empirical test on a built DSO.
27525 Detect, but do not require, on ia64.
27526 * configure: Regenerated.
27527
d30cf5bb
RM
27528 * configure.in (READELF): Find it with AC_CHECK_TOOL.
27529 Update tests that use readelf to use $READELF instead.
27530 * configure: Regenerated.
27531
8538fdb3
UD
275322011-07-08 Ulrich Drepper <drepper@gmail.com>
27533
27534 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
27535 if the result is not used.
27536
04d08991
AJ
275372011-07-05 Andreas Jaeger <aj@suse.de>
27538
27539 [BZ#9696]
27540 * stdlib/tst-strtod.c: Add testcase.
27541
de283087
AD
275422011-07-07 Ulrich Drepper <drepper@gmail.com>
27543
4e5f31c8 27544 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 27545 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
27546 The latter has a higher limit. Take additional parameter to pass to
27547 the new function.
27548 (__pathconf): Pass file to __statfs_link_max.
27549 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
27550 __statfs_link_max.
27551 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
27552 __statfs_link_max.
27553
de283087
AD
27554 [BZ #12868]
27555 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
27556 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27557 Handle Lustre.
27558 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
27559 (__statfs_filesize_max): Likewise.
27560 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
27561
c75fa153
AJ
275622011-07-05 Andreas Jaeger <aj@suse.de>
27563
27564 * resolv/res_comp.c (dn_skipname): Remove unused variable.
27565
1a544854
UD
275662011-07-06 Marek Polacek <mpolacek@redhat.com>
27567
27568 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
27569 `status' variable.
27570 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
27571 Likewise.
27572
6f0eec67
UD
275732011-07-04 H.J. Lu <hongjiu.lu@intel.com>
27574
27575 * Makefile (strop-tests): Add strncat.
27576 * string/test-strncat.c: New file.
27577
aae30307
UD
275782011-06-30 Marek Polacek <mpolacek@redhat.com>
27579
27580 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
27581
c0cfb5eb
UD
275822011-06-21 Andreas Jaeger <aj@suse.de>
27583
27584 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
27585 Copy rule from iconvdata/Makefile.
27586
01636b21
UD
275872011-07-06 Ulrich Drepper <drepper@gmail.com>
27588
27589 [BZ #12922]
27590 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
27591 but no long options are defined, just return 'W'.
27592
9895c8bc
UD
275932011-06-22 Marek Polacek <mpolacek@redhat.com>
27594
27595 [BZ #9696]
27596 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
27597
5d4cf042
UD
275982011-07-06 Ulrich Drepper <drepper@gmail.com>
27599
27600 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
27601 netgroups to read.
960e5535 27602 (innetgr): Likewise.
5d4cf042 27603
751eb97e
RM
276042011-07-05 Roland McGrath <roland@hack.frob.com>
27605
27606 * config.make.in (install_root): Default to $(DESTDIR).
27607
f15f1e45
UD
276082011-07-05 Ulrich Drepper <drepper@gmail.com>
27609
27610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
27611
4e34ac6a
RM
276122011-07-02 Roland McGrath <roland@hack.frob.com>
27613
5e9b6af4
RM
27614 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
27615
84f9ea0f
RM
27616 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
27617 containing directory rather than embedding absolute directory names.
27618
ea5ee9f7
RM
27619 * scripts/check-local-headers.sh: Rewritten using awk.
27620 Match by word, not by line. Print error messages for matches.
27621 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
27622
1b74661a
RM
27623 * Makerules [shlib-lds-flags empty]:
27624 ($(common-objpfx)libc_pic.opts): New target.
27625 ($(common-objpfx)libc_pic.os.clean): New target.
27626 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
27627
27628 * config.make.in (OBJCOPY): New variable.
27629 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
27630 * configure: Regenerated.
27631
f781ef40
RM
27632 * config.make.in (use-default-link): New variable.
27633 * configure.in (use_default_link): Grok --with-default-link to set it.
27634 * configure: Regenerated.
27635 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
27636 (shlib-lds, shlib-lds-flags): Define to empty.
27637
2d4fa81e
RM
27638 * Makerules (shlib-lds): New variable.
27639 (shlib-lds-flags): New variable.
27640 (build-shlib, build-moduile, build-module-asneeded): Use it.
27641 ($(common-objpfx)libc.so): Use $(shlib-lds).
27642 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
27643 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
27644
31fffa6b
RM
27645 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
27646 DT_FLAGS/DT_FLAGS_1 with zero flags.
27647
4e34ac6a
RM
27648 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
27649 linker script munging.
27650
fcfc776b
UD
276512011-07-02 Ulrich Drepper <drepper@gmail.com>
27652
27653 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
27654 as 128-bit value.
27655 * crypt/sha512.c (sha512_process_block): Perform total addition using
27656 128-bit if possible.
27657 (__sha512_finish_ctx): Likewise.
27658 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
27659 as 64-bit value.
27660 * crypt/sha256.c (SWAP64): Define.
27661 (sha256_process_block): Perform total addition using 64-bit if
27662 possible.
27663 (__sha256_finish_ctx): Likewise.
27664
99231d9a
UD
276652011-07-01 Ulrich Drepper <drepper@gmail.com>
27666
27667 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
27668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27669 * nscd/hstcache.c (cache_addhst): Likewise.
27670 * nscd/grpcache.c (cache_addgr): Likewise.
27671 * nscd/aicache.c (addhstaiX): Likewise
27672 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
27673
445b4a53
TK
276742011-07-01 Thorsten Kukuk <kukuk@suse.de>
27675
27676 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
27677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27678 * nscd/hstcache.c (cache_addhst): Likewise.
27679 * nscd/grpcache.c (cache_addgr): Likewise.
27680 * nscd/aicache.c (addhstaiX): Likewise
27681
6d4d8e8e
AS
276822011-07-01 Andreas Schwab <schwab@redhat.com>
27683
27684 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
27685 domain only when needed.
27686
89f654c5
AS
276872011-06-30 Andreas Schwab <schwab@redhat.com>
27688
27689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
27690 is always restored.
27691
cf3b23ff
UD
276922011-06-29 Ulrich Drepper <drepper@gmail.com>
27693
27694 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
27695 are re-adding the entry.
27696 * nscd/servicescache.c (cache_addserv): Likewise.
27697
751626f9
AJ
276982011-06-30 Aurelien Jarno <aurelien@aurel32.net>
27699
27700 * sysdeps/generic/dl-irel.h: fix protection against multiple
27701 inclusions.
27702 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
27703
9113ea1f
UD
277042011-06-28 Ulrich Drepper <drepper@gmail.com>
27705
5c0b8d90
UD
27706 [BZ #12935]
27707 * malloc/memusage.sh: Fix quoting in message.
27708 * debug/xtrace.sh: Likewise.
27709
9113ea1f
UD
27710 * configure.in: Remove support for --experimental-malloc option, make
27711 it the default.
27712 * config.make.in: Likewise.
27713 * malloc/Makefile: Likewise.
27714
a4172181
AS
277152011-06-27 Andreas Schwab <schwab@redhat.com>
27716
27717 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
27718 two-byte characters.
27719
78a7eee7
RM
277202011-06-27 Roland McGrath <roland@hack.frob.com>
27721
62bede13
RM
27722 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
27723 AC_CACHE_CHECK invocation.
27724 * configure: Regenerated.
27725
78a7eee7
RM
27726 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
27727
5ce33a62
UD
277282011-06-27 Ulrich Drepper <drepper@gmail.com>
27729
034807a9
UD
27730 [BZ #12350]
27731 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
27732 bit from old_res_options.
27733
4902da17
UD
27734 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
27735
5ce33a62
UD
27736 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
27737 value type for setfct.
27738
c2344f56
L
277392011-06-23 H.J. Lu <hongjiu.lu@intel.com>
27740
27741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27742 __gettimeofday instead of gettimeofday.
27743
68468076
UD
277442011-06-26 Ulrich Drepper <drepper@gmail.com>
27745
27746 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
27747
acb0d739
L
277482011-06-24 H.J. Lu <hongjiu.lu@intel.com>
27749
27750 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
27751
27752 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
27753 info.
27754
8912479f
L
277552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27756
27757 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27758 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27759 strcpy-sse2-unaligned strncpy-sse2-unaligned
27760 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
27761 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
27762 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
27763 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
27764 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
27765 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
27766 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
27767 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
27768 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
27769 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
27770 (STRCPY): Support SSE2 and SSSE3 versions.
27771
d5495a11
UD
277722011-06-24 Ulrich Drepper <drepper@gmail.com>
27773
27774 [BZ #12874]
27775 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
27776 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
27777 kernels which artificially limit size of requests.
27778
0b1cbaae
L
277792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
27780
27781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27782 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
27783 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
27784 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
27785 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
27786 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
27787 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
27788 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
27789 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
27790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
27791 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
27792 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
27793 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
27794 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
27795 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
27796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27797 Enable unaligned load optimization for Intel Core i3, i5 and i7
27798 processors.
27799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
27800 Define.
27801 (index_Fast_Unaligned_Load): Define.
27802 (HAS_FAST_UNALIGNED_LOAD): Define.
27803
07f494a0
MP
278042011-06-23 Marek Polacek <mpolacek@redhat.com>
27805
27806 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
27807
fa3fc0fe
UD
278082011-06-22 Ulrich Drepper <drepper@gmail.com>
27809
27810 [BZ #12907]
27811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
27812 until it is clear that the information is realy needed.
27813 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
27814
e12df166
AS
278152011-06-22 Andreas Schwab <schwab@redhat.com>
27816
27817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
27818
852eb34d
UD
278192011-06-22 Ulrich Drepper <drepper@gmail.com>
27820
84e2a551
UD
27821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
27822 /sys/devices/system/cpu/online if it is usable.
27823
852eb34d
UD
27824 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
27825 reading the information from the /proc filesystem to once a second.
27826
6e502e19
UD
278272011-06-21 Andreas Jaeger <aj@suse.de>
27828
27829 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
27830 NULL after inclusion of kernel headers.
27831
75d39ff2
UD
278322011-06-21 Ulrich Drepper <drepper@gmail.com>
27833
51f9aa6a
UD
27834 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
27835 calls to internal_setent.
27836
c0244a9d
UD
27837 [BZ #12885]
27838 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
27839 addresses using gethostbyname4_r ignore IPv4 addresses.
27840
c5e3c2ae
UD
27841 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
27842 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
27843
75d39ff2
UD
27844 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
27845
42675c6f
DM
278462011-06-20 David S. Miller <davem@davemloft.net>
27847
27848 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
27849 inclusions.
27850 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
27851
27852 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
27853 (elf_irel): Use it.
27854 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
27855 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
27856 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
27857 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
27858 * sysdeps/x86_64/dl-irel.h: Likewise.
27859
27860 * elf/dl-runtime.c: Use elf_ifunc_invoke.
27861 * elf/dl-sym.c: Likewise.
27862
57912a71
UD
278632011-06-15 Ulrich Drepper <drepper@gmail.com>
27864
27865 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
27866 need to dereference resplen2.
27867
ee22793d
AS
278682011-06-14 Andreas Schwab <schwab@redhat.com>
27869
27870 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
27871
a9e836b0
UD
278722011-06-15 Ulrich Drepper <drepper@gmail.com>
27873
77fb9117
UD
27874 * Makeconfig: Define vardbdir and inst_vardbdir.
27875 * nss/Makefile: Add rules to install db-Makefile.
27876
40c1b22c
UD
27877 * nss/nss_db/db-XXX.c: Cleanup.
27878
9f2da732
UD
27879 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
27880 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
27881 GLIBC_PRIVATE.
27882 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
27883 * nss/makedb.c: Implement -g option to specify that value strings
27884 are generated and should not be added to table iterated over for
27885 get*ent calls.
27886 * nss/nss_db/db-initgroups.c: New file.
27887
82e9a1f7
UD
27888 * nss/getent.c: Add support for initgroups lookups through getgrouplist
27889 interface.
27890
c41af17e
UD
27891 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
27892 (internal_getgrouplist): Adjust to name change.
27893 Update use_initgroups_entry if this is not the first call.
27894 * nss/databases.def: Add initgroups entry.
27895
a9e836b0
UD
27896 * nss/makedb.c (compute_tables): Check result of multiple hash table
27897 sizes to minimize maximum chain length.
27898
2666d441
UD
278992011-06-14 Ulrich Drepper <drepper@gmail.com>
27900
27901 * Versions.def: Add entry for libnss_db.
27902 * shlib-versions: Likewise.
27903 * nss/Makefile: Add rules to build libnss_db.
27904 * nss/Versions: Add libnss_db information. Organize libnss_files
27905 entries better.
27906 * nss/db-Makefile: Add gshadow support. Change rules for the new
27907 makedb progra. Some minor improvements to generate smaller files.
27908 * nss/nss_db/nss_db.h: Move NSS database header data structures to
27909 here from...
27910 * nss/makedb.c: ...here.
27911 Improve database format to be smaller and require less memory at
27912 runtime.
27913 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
27914 db anymore.
27915 * nss/nss_db/db-netgrp.c: Likewise.
27916 * nss/nss_db/db-open.c: Likewise.
27917 * nss/nss_files/flies-XXX.x: Adjust comments.
27918 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
27919 * nss/nss_files/files-grp.c: Likewise.
27920 * nss/nss_files/files-hosts.c: Likewise.
27921 * nss/nss_files/files-network.c: Likewise.
27922 * nss/nss_files/files-proto.c: Likewise.
27923 * nss/nss_files/files-pwd.c: Likewise.
27924 * nss/nss_files/files-rpc.c: Likewise.
27925 * nss/nss_files/files-service.c: Likewise.
27926 * nss/nss_files/files-sgrp.c: Likewise.
27927 * nss/nss_files/files-spwd.c: Likewise.
27928 * nss/nss_db/db-alias.c: Removed.
27929 * nss/nss_db/dummy-db.h: Removed.
27930
9ee76b5a
UD
279312011-06-02 Ulrich Drepper <drepper@gmail.com>
27932
27933 * nss/makedb.c: Rewritten to not use database library.
27934 * nss/Makefile: Update to build new makedb program.
27935
c71ca1f8
AJ
279362011-06-14 Andreas Jaeger <aj@suse.de>
27937
27938 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
27939 memset declaration.
27940
3154bfb8
UD
279412011-06-10 Andreas Schwab <schwab@redhat.com>
27942
27943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
27944 tmpbuf.
27945
b350afab
RM
279462011-06-10 Roland McGrath <roland@hack.frob.com>
27947
decd4e50
RM
27948 * Makerules (shlib.lds): Fail if the linker script comes out empty.
27949 * elf/Makefile ($(objpfx)ld.so): Likewise.
27950
5615eaf2
RM
27951 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
27952 Don't list ld.so twice in dependencies.
27953
27954 * posix/bug-regex31.c: Include <stdlib.h>.
27955
27956 * nscd/hstcache.c (cache_addhst): Remove unused variable.
27957
27958 * nis/nss_compat/compat-spwd.c
27959 (getspent_next_nss_netgr): Remove unused variable.
27960 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
27961
27962 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
27963 nonmembers" output to use the right array.
27964
27965 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
27966
27967 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
27968
27969 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
27970 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
27971 * catgets/gencat.c (read_input_file): Likewise.
27972 * locale/programs/locarchive.c (enlarge_archive): Likewise.
27973
27974 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
27975 variable definition inside #if's controlling its use.
27976
27977 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
27978
27979 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
27980
27981 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
27982
27983 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
27984 unreachable code.
27985
27986 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
27987
b68e08db
RM
27988 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
27989 * configure: Regenerated.
27990
b350afab
RM
27991 * Makerules: Revert last change.
27992 * elf/Makefile: Likewise.
27993
28368601
RM
279942011-06-09 Roland McGrath <roland@hack.frob.com>
27995
27996 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
27997 * elf/Makefile ($(objpfx)librtld.os): Likewise.
27998 (reloc-link): Likewise.
27999
11988f8f
UD
280002011-06-09 Ulrich Drepper <drepper@gmail.com>
28001
28002 * elf/Makefile: Add rules to build pldd.
28003 * elf/pldd.c: New file.
28004 * elf/pldd-xx.c: New file.
28005
e80fab37
UD
280062011-06-07 Ulrich Drepper <drepper@gmail.com>
28007
28008 * version.h: Update for 2.15 development version.
28009
9b849836
DM
280102011-06-07 David S. Miller <davem@davemloft.net>
28011
28012 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28013 ifuncs.
28014 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28015 elf_machine_lazy_rel): Likewise.
28016 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28018 elf_machine_lazy_rel): Likewise.
28019 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28020 dl_hwcap via passed in argument.
28021 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28022 Likewise.
28023
5a31b283
AK
280242011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28025
28026 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28027
069e52f8
RM
280282011-06-06 Roland McGrath <roland@hack.frob.com>
28029
28030 [BZ #12849]
28031 * manual/fdl-1.1.texi: New file, verbatim from:
28032 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28033 * manual/lgpl-2.1.texi: New file, verbatim from:
28034 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28035 * manual/Makefile (licenses): New variable, list those new file names.
28036 (texis): Use it.
28037 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28038
28039 * manual/fdl.texi: File removed.
28040 * manual/lesser.texi: File removed.
28041 * manual/libc.texinfo (Copying, Documentation License):
28042 Use new @include file names, put @appendix directive before @include.
28043
f16846a5
JJ
280442011-06-04 Jakub Jelinek <jakub@redhat.com>
28045
28046 [BZ #12841]
28047 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28048 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28049 (mq_open): Add __NTH.
28050
3d29045b
L
280512011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28054 Assume Intel Core i3/i5/i7 processor if AVX is available.
28055
8c297311
UD
280562011-05-31 Ulrich Drepper <drepper@gmail.com>
28057
28058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28059 typo.
28060
c8fc0c91
UD
280612011-05-31 Andreas Schwab <schwab@redhat.com>
28062
28063 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28064 memory. Use alloca_account. Fix memory leak when retrying.
28065
5b27a807
UD
280662011-05-31 Ulrich Drepper <drepper@gmail.com>
28067
356f8bc6
UD
28068 * version.h (RELEASE): Bump for 2.14 release.
28069 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28070
5b27a807
UD
28071 * config.make.in (RANLIB): Remove entry.
28072
01f16ab0
UD
280732011-05-30 Ulrich Drepper <drepper@gmail.com>
28074
41fce8bd
UD
28075 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28076 (libc.pot): Work around missing support for .ksh extension in xgettext.
28077
4769ae77
UD
28078 [BZ #12684]
28079 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28080 if both request failed.
28081 (send_dg): In case of server errors clear resplen or *resplen2.
28082
6b1e7d19
UD
28083 [BZ #12454]
28084 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28085 when there are multiple maps.
28086 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28087 (_dl_fini): Remove test here.
28088
01f16ab0
UD
28089 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28090
b1ebd700
UD
280912011-05-29 Ulrich Drepper <drepper@gmail.com>
28092
7ae22829
UD
28093 [BZ #12350]
28094 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28095 bit from old_res_options.
28096 (gaih_inet): Likewise.
28097
553149f6 28098 [BZ #11099]
18a84741 28099 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28100 as signed.
28101
652ffab1
UD
28102 * resolv/res_init.c (res_setoptions): Make the code more compact.
28103
16985fd0
UD
28104 [BZ #11558]
28105 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28106 set RES_USEVC.
28107
0464f746
UD
28108 [BZ #11634]
28109 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28110
7d17596c
UD
28111 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28112
cf6bbbd7
UD
28113 [BZ #11781]
28114 * malloc/malloc.h: Declare malloc hook variables as volatile.
28115
13f1ab36
UD
28116 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28117 in last patch.
28118
b1ebd700
UD
28119 [BZ #11799]
28120 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28121 raise in the comment.
80e2212d
UD
28122 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28123 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28124 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28125
ce67228d
UD
281262011-05-28 Ulrich Drepper <drepper@gmail.com>
28127
8887a920
UD
28128 [BZ #12811]
28129 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28130 grow the buffers more if it already has to be sufficient.
28131 (build_wcs_upper_buffer): Likewise.
28132 * posix/regexec.c (check_matching): Likewise.
28133 (clean_state_log_if_needed): Likewise.
28134 (extend_buffers): Don't enlarge buffers beyond size of the input
28135 buffer.
28136 Patches mostly by Emil Wojak <emil@wojak.eu>.
28137 * posix/bug-regex32.c: New file.
28138 * posix/Makefile (tests): Add bug-regex32.
28139
4f031072
UD
28140 * locale/findlocale.c (_nl_find_locale): Return right away if
28141 _nl_explode_name failed.
28142 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28143
d0478f0c
UD
28144 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28145
de81b246
UD
28146 * debug/xtrace.sh: Unify messages.
28147 * malloc/memusage.sh: Likewise.
28148
c738465a
UD
28149 [BZ #12813]
28150 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28151 time symbol from vDSO. Substitute with vsyscall if not available.
28152 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28153 __vdso_time.
28154
f1f929d7
UD
28155 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28156 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28157 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28158 Add sendmmsg and internal_sendmmsg.
28159 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28160 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28162
ce67228d
UD
28163 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28164 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28166
e57420c6
UD
281672011-05-27 Ulrich Drepper <drepper@gmail.com>
28168
a8509ca5
UD
28169 [BZ #12813]
28170 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28171 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28172 available.
28173 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28174 __vdso_getcpu.
28175
e57420c6
UD
28176 [BZ #12814]
28177 * iconvdata/Makefile (tests): Add bug-iconv9.
28178 * iconvdata/bug-iconv9.c: New file.
28179
4d07db15
AS
281802011-05-27 Andreas Schwab <schwab@redhat.com>
28181
28182 [BZ #12814]
28183 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28184
ea486f69
JJ
281852011-05-25 Jakub Jelinek <jakub@redhat.com>
28186
28187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28188 (struct user_regs_struct): Change intcs field back to cs.
28189
6f038433
UD
281902011-05-25 Ulrich Drepper <drepper@gmail.com>
28191
28192 * po/ja.po: Update from translation team.
28193
67f86a25
UD
281942011-05-23 Ulrich Drepper <drepper@gmail.com>
28195
28196 [BZ #12795]
28197 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28198 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28199
def7fbd6
AS
282002011-05-20 Andreas Schwab <schwab@redhat.com>
28201
28202 * stdlib/longlong.h: Update from GCC.
28203
f50ef8f1
AS
282042011-05-23 Andreas Schwab <schwab@redhat.com>
28205
28206 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28207 parameter name.
28208 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28209 Add parameter name.
28210 (__sysconf): Pass it down.
28211
de7ce8f1
UD
282122011-05-22 Ulrich Drepper <drepper@gmail.com>
28213
f2962a71
UD
28214 [BZ #12671]
28215 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28216 some situations.
28217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28218 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28219 add in in __libc_use_alloca calls. Adjust callers.
28220 (glob): Use malloc in some situations.
28221
de7ce8f1
UD
28222 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
28223 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
28224 pltexit.
28225
aec84f53
UD
282262011-05-21 Ulrich Drepper <drepper@gmail.com>
28227
05bb4a68
UD
28228 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
28229 and CLOCK_BOOTTIME_ALARM.
28230
7ea72f99
UD
28231 [BZ #12782]
28232 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
28233 is returned.
28234
7e4afad5
UD
28235 * string/_strerror.c (__strerror_r): Print negative errors as signed
28236 numbers.
28237
8e211fec
UD
28238 [BZ #12777]
28239 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
28240 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
28241 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
28242
f7d82dc9
UD
28243 * configure.in: Fix typo in redirection and correct removal of test
28244 files in two cases.
28245
cc9e536d
UD
28246 [BZ #12788]
28247 * locale/setlocale.c (new_composite_name): Fix test to check for
28248 identical name of all categories.
28249
aec84f53
UD
28250 [BZ #12792]
28251 * libio/filedoalloc.c (local_isatty): New function.
28252 (_IO_file_doallocate): Use local_isatty.
28253 * stdio-common/perror.c (perror): In case a new stream is used
28254 forward the stream error.
28255 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
28256 error flag.
28257
78e64fdc
RT
282582011-05-20 Ulrich Drepper <drepper@gmail.com>
28259
34a9094f
UD
28260 [BZ #11869]
28261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
28262 alloca.
28263 * include/alloca.h (extend_alloca_account): Define.
28264
78e64fdc
RT
28265 [BZ #11857]
28266 * posix/regex.h: Fix comments with documentation of user-accessible
28267 fields after compilation and describe correct free'ing of pattern
28268 after re_compile_pattern.
28269 Patch by Reuben Thomas <rrt@sc3d.org>.
28270
457bddfc
RA
282712011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
28272
28273 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
28274 and -mno-altivec to prevent the compiler from using Altivec and/or
28275 VSX instructions when the corresponding registers are not available.
28276
a4527b51
AS
282772011-05-19 Andreas Schwab <schwab@redhat.com>
28278
28279 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
28280
ed690b2f
UD
282812011-05-19 Ulrich Drepper <drepper@gmail.com>
28282
28283 * libio/freopen.c (freopen): Use __dup2, not dup2.
28284 * libio/freopen64.c (freopen64): Likewise.
28285
8db73634
L
282862011-05-17 H.J. Lu <hongjiu.lu@intel.com>
28287
28288 [BZ #12775]
28289 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
28290 * math/Makefile (tests): Add test-powl.
28291 (CFLAGS-test-powl.c): Define.
28292 * math/test-powl.c: New file.
28293
0a197a9d
L
282942011-05-16 H.J. Lu <hongjiu.lu@intel.com>
28295
28296 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
28297
ee30c380
UD
282982011-05-17 Ulrich Drepper <drepper@gmail.com>
28299
28300 [BZ #11837]
28301 * iconvdata/gb18030.c: Update to GB18020-2005.
28302
6ce75379
UD
283032011-05-16 Ulrich Drepper <drepper@gmail.com>
28304
a4b89fd8
AR
28305 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
28306 RE_SYNTAX_POSIX_AWK): Update to match recent development.
28307 Patch by Aharon Robbins <arnold@skeeve.com>.
28308
ea389b12
UD
28309 [BZ #11892]
28310 * stdlib/putenv.c (putenv): Don't always create copy of the variable
28311 on the stack.
28312
68a3f91f
UD
28313 [BZ #11895]
28314 * misc/pselect.c (__pselect): Handle timeout value errors hidden
28315 through underflows.
28316
15cc7dd1
UD
28317 [BZ #12766]
28318 * misc/error.c (error_at_line): Ensure file_name and old_file_name
28319 point to strings before performing equality test for error_one_per_line
28320 mode.
28321
f3799213
UD
28322 [BZ #11697]
28323 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
28324
d79a9c94
UD
28325 [BZ #11820]
28326 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28327 (struct user_fpregs_struct): Avoid __uint*_t types.
28328
56e5eb46
UD
28329 [BZ #6420]
28330 * malloc/mtrace.c (tr_where): Add additional parameter to point to
28331 symbol info. Use it instead of calling _dl_addr locally.
28332 (lock_and_info): New function.
28333 (tr_freehook): Call lock_and_info and pass symbol info as additional
28334 parameter to tr_where.
28335 (tr_mallochook): Likewise.
28336 (tr_reallochook): Likewise.
28337 (tr_memalignhook): Likewise.
28338
6ce75379
UD
28339 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
28340 used and couldn't be at all thread-safe.
28341
f8a3b5bf
UD
283422011-05-15 Ulrich Drepper <drepper@gmail.com>
28343
94b7cc37
UD
28344 * libio/freopen.c (freopen): Don't close old file descriptor
28345 before the new one is opened. Instead dup the new file descriptor
28346 to the old one after the new stream is created.
28347 * libio/freopen64.c (freopen64): Likewise.
28348 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
28349 * libio/fileops.c (_IO_new_file_close_it): Handle new
28350 _IO_FLAGS2_NOCLOSE flag.
28351 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
28352 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
28353 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
28354 _IO_FLAGS2_NOCLOSE flag.
28355 * include/unistd.h: Add hidden_proto for dup3.
28356 Define __have_dup3.
28357 * io/dup3.c: Define hidden symbol.
28358 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
28359
bd25564e
UD
28360 [BZ #7101]
28361 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
28362 when an incomplete long option is used.
28363 * posix/tst-getopt_long1.c: New file.
28364 * posix/Makefile (tests): Add tst-getopt_long1.
28365
c84cfef4
UD
28366 [BZ #10138]
28367 * scripts/config.guess: Update from autoconf-2.68.
28368 * scripts/config.sub: Likewise.
28369
3b85df27
UD
28370 [BZ #10157]
28371 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
28372 tests into ...
28373 (has_cpuclock): ...this. New function.
28374 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
28375 macro here based on has_cpuclock code.
28376
15a856b1
UD
28377 [BZ #10149]
28378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28379 First byte (not low byte) is now always NUL.
28380 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
28381
05f399e6
UD
28382 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28383 Use non-cancelable interfaces.
28384
10a52685 28385 [BZ #9809]
94ecc67d
UD
28386 * locale/iso-639.def: Add entry for Sorani.
28387
f8a3b5bf
UD
28388 [BZ #11901]
28389 * include/stdlib.h: Move include protection to the right place.
28390 Define abort_msg_s. Declare __abort_msg with it.
28391 * stdlib/abort.c (__abort_msg): Adjust type.
28392 * assert/assert.c (__assert_fail_base): New function. Majority
28393 of code from __assert_fail. Allocate memory for __abort_msg with
28394 mmap.
28395 (__assert_fail): Now call __assert_fail_base.
28396 * assert/assert-perr.c: Remove bulk of implementation. Use
28397 __assert_fail_base.
28398 * include/assert.hL Declare __assert_fail_base.
28399 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
28400 mmap.
28401 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
28402
1af4e298
UD
284032011-05-14 Ulrich Drepper <drepper@gmail.com>
28404
f8a3b5bf 28405 [BZ #11952]
d26dfc60
MG
28406 [BZ #12453]
28407 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
28408 until all modules are registered in the DTV.
28409 * elf/Makefile: Add rules to build and run tst-tls19.
28410 * elf/tst-tls19.c: New file.
28411 * elf/tst-tls19mod1.c: New file.
28412 * elf/tst-tls19mod2.c: New file.
28413 * elf/tst-tls19mod3.c: New file.
28414 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
28415
2fc54d6f
UD
28416 [BZ #12083]
28417 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
28418 correctly.
28419
98d76b46
UD
28420 [BZ #12601]
28421 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
28422 two-byte sequence errors.
28423 * iconvdata/Makefile (tests): Add bug-iconv8.
28424 * iconvdata/bug-iconv8.c: New file.
28425
da3c19ef
UD
28426 [BZ #12626]
28427 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
28428 buf2 definition.
28429
ca408c15
UD
28430 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
28431
d6f67f7d
UD
28432 [BZ #12432]
28433 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
28434 (dummy_getcfa): New function.
28435 (init): Get _Unwind_GetCFA address, use dummy if not found.
28436 (backtrace_helper): In recursion check, also check whether CFA changes.
28437 (__backtrace): Completely initialize arg.
28438
1af4e298 28439 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
28440 storing incomplete byte sequence in state object. Avoid testing for
28441 guaranteed too small input if we know there is enough data available.
1af4e298 28442
da62f81b
AS
284432011-05-11 Andreas Schwab <schwab@redhat.com>
28444
28445 * Makeconfig (+link-pie): Indent.
28446 * Rules (binaries-pie): Define if $(have-fpie) and
28447 $(build-shared).
28448 (binaries-shared): Also filter out $(binaries-pie).
28449 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
28450 * nscd/Makefile (others-pie): Add nscd.
28451 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
28452 ($(objpfx)nscd): Remove command override.
28453 * login/Makefile (others-pie): Add pt_chown.
28454 ($(objpfx)pt_chown): Remove command override.
28455 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
28456 remove command overrides.
28457
fcabc0f8
UD
284582011-05-13 Ulrich Drepper <drepper@gmail.com>
28459
20030ae6
UD
28460 * libio/tst_putwc.c: Fix error messages.
28461
fcabc0f8
UD
28462 [BZ #12724]
28463 * libio/fileops.c (_IO_new_file_close_it): Always flush when
28464 currently writing and seek to current position when not.
28465 * libio/Makefile (tests): Add bug-fclose1.
28466 * libio/bug-fclose1.c: New file.
28467
320a5dc0
PB
284682011-05-12 Ulrich Drepper <drepper@gmail.com>
28469
28470 [BZ #12511]
28471 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
28472 don't set DF_1_NODELETE here.
28473 (do_lookup_x): When entering new entry test for copy relocation
28474 and if necessary set DF_1_NODELETE flag.
28475 * elf/tst-unique4.cc: New file.
28476 * elf/tst-unique4.h: New file.
28477 * elf/tst-unique4lib.cc: New file.
28478 * elf/Makefile: Add rules to build and run tst-unique4.
28479 Patch by Piotr Bury <pbury@goahead.com>.
28480
22836f52
UD
284812011-05-11 Ulrich Drepper <drepper@gmail.com>
28482
f574184a
UD
28483 [BZ #12052]
28484 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
28485
e1fb097f
UD
28486 [BZ #12625]
28487 * misc/mntent_r.c (addmntent): Flush the stream after the output
28488
22836f52
UD
28489 [BZ #12393]
28490 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
28491 (is_trusted_path_normalize): Skip initial colon. Append slash
28492 to empty buffer. Duplicate is_trusted_path code but allow
28493 constructed patch to be prefix.
28494 (is_dst): Allow $ORIGIN followed by /.
28495 (_dl_dst_substitute): Correct clearing of check_for_trusted.
28496 Correct testing of result of is_trusted_path_normalize
28497 (decompose_rpath): Fix warning.
28498
7b3b0b2a
UD
284992011-05-10 Ulrich Drepper <drepper@gmail.com>
28500
28501 [BZ #11257]
28502 * grp/initgroups.c (internal_getgrouplist): When we found the service
28503 list through the initgroups entry in nsswitch.conf do not always
28504 continue on a successful lookup. Don't always use the
eac80ce2 28505 __nss_group_database value if it is set.
7b3b0b2a
UD
28506 * nss/nsswitch.conf (initgroups): Change action for successful db
28507 lookup to continue for compatibility.
28508
2a81eaa5
UD
285092011-05-09 Ulrich Drepper <drepper@gmail.com>
28510
be97a69e
UD
28511 [BZ #11532]
28512 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
28513 and CP774 modules.
28514 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
28515 and CP774 modules.
28516 * iconvdata/tst-tables.sh: Likewise.
28517 * iconvdata/cp770.c: New file.
28518 * iconvdata/cp771.c: New file.
28519 * iconvdata/cp772.c: New file.
28520 * iconvdata/cp773.c: New file.
28521 * iconvdata/cp774.c: New file.
28522 * iconvdata/testdata/CP770: New file.
28523 * iconvdata/testdata/CP770..UTF8: New file.
28524 * iconvdata/testdata/CP771: New file.
28525 * iconvdata/testdata/CP771..UTF8: New file.
28526 * iconvdata/testdata/CP772: New file.
28527 * iconvdata/testdata/CP772..UTF8: New file.
28528 * iconvdata/testdata/CP773: New file.
28529 * iconvdata/testdata/CP773..UTF8: New file.
28530 * iconvdata/testdata/CP774: New file.
28531 * iconvdata/testdata/CP774..UTF8: New file.
28532
28533 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
28534 END CHARMAP line.
28535 * iconvdata/gen-8bit-gap.sh: Likewise.
28536 * iconvdata/gen-8bit.sh: Likewise.
28537
c1e9e399
UD
28538 * locale/iso-639.def: Add ary entry.
28539
24c55fb3 28540 [BZ #11258]
96b4b1b0
UD
28541 * locale/C-translit.h.in: Add U20A1 transliteration.
28542
bdc2f971
KB
28543 [BZ #12178]
28544 * locale/iso-639.def: Add wae entry.
28545 Patch by Kevin Bortis <bortis@translate-wae.ch>.
28546
2952b117
UD
28547 [BZ #12545]
28548 * locale/programs/localedef.c (construct_output_path): Use ssize_t
28549 for n.
28550
2a81eaa5
UD
28551 [BZ #12711]
28552 * locale/C-translit.h.in: Add entry for U20B9.
28553 Patch by pravin.d.s@gmail.com.
28554
28377d1b
UD
285552011-05-08 Ulrich Drepper <drepper@gmail.com>
28556
7fb90fb8
UD
28557 [BZ #12713]
28558 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
28559 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
28560 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
28561 in rtld. Use *stat64.
7fb90fb8 28562 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 28563 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 28564 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
28565 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
28566 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
28567 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
28568 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
28569 __fstatat64 macros.
7fb90fb8
UD
28570 * include/dirent.h: Add libc_hidden_proto for rewinddir.
28571 * dirent/rewinddir.c: Add libc_hidden_def.
28572 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 28573 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 28574
28377d1b
UD
28575 * include/dirent.h (__alloc_dir): Add flags parameter.
28576 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
28577 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
28578 __alloc_dir.
28579 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
28580 from fdopendir if O_CLOEXEC is already set.
28581
66bdbaa4
AM
285822011-03-15 Alan Modra <amodra@gmail.com>
28583
28584 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
28585 l_tls_firstbyte_offset non-zero. Save padding offset in
28586 l_tls_firstbyte_offset for later use.
28587 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
28588 freeing static tls block.
28589
95721191
JN
285902011-03-05 Jonathan Nieder <jrnieder@gmail.com>
28591
28592 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
28593 where #ifdef was intended. The intent is to prevent ARG_MAX from
28594 being defined by the kernel headers.
28595
f87dfb1f
UD
285962011-05-07 Ulrich Drepper <drepper@gmail.com>
28597
28598 [BZ #12734]
28599 * resolv/resolv.h: Define RES_NOTLDQUERY.
28600 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
28601 no-tld-query and set RES_NOTLDQUERY.
28602 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
28603 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
28604 modern BIND to search name as TLD unless forbidden.
28605
47c3cd7a
UD
286062011-05-07 Petr Baudis <pasky@suse.cz>
28607 Ulrich Drepper <drepper@gmail.com>
28608
28609 [BZ #12393]
28610 * elf/dl-load.c (fillin_rpath): Move trusted path check...
28611 (is_trusted_path): ...to here.
c1e9ea35 28612 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 28613 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 28614 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 28615
8a35c912
PP
286162011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28617
28618 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
28619 __BEGIN/__END_DECLS.
28620
acd41f47
UD
286212011-05-06 Ulrich Drepper <drepper@gmail.com>
28622
28623 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
28624 NSS_STATUS_NOTFOUND if no record was found.
28625
597df647
AS
286262011-05-05 Andreas Schwab <schwab@redhat.com>
28627
28628 * sunrpc/Makefile (headers): Add rpc/netdb.h.
28629 (headers-not-in-tirpc): Remove rpc/netdb.h
28630 * resolv/netdb.h: Revert last change.
28631
b9af1301
PP
286322011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28633
28634 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
28635 circular dependency between libgcc.a and libc.a.
28636
4e34d5f5
AS
286372011-05-05 Andreas Schwab <schwab@redhat.com>
28638
28639 * resolv/netdb.h: Don't include <rpc/netdb.h>.
28640 * nis/Makefile: Don't install rpcsvc/*.
28641 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
28642 instead of <rpc/types.h>.
28643 (MAXHOSTNAMELEN): Define.
28644
00ee369c
AS
286452011-05-03 Andreas Schwab <schwab@redhat.com>
28646
28647 * elf/ldconfig.c (add_dir): Don't crash on empty path.
28648
0b592a30
MB
286492011-04-28 Maciej Babinski <mbabinski@google.com>
28650
28651 [BZ #12714]
28652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
28653 gethostbyname4_r when IPv6 results are possible.
28654
6e04cbbe
UD
286552011-05-02 Ulrich Drepper <drepper@gmail.com>
28656
28657 [BZ #12723]
28658 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
28659 _PC_PIPE_BUF handling.
28660
e4ecafe0
BH
286612011-04-30 Bruno Haible <bruno@clisp.org>
28662
28663 [BZ #12717]
28664 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
28665 * resolv/netdb.h (getnameinfo): Change type of flags parameter
28666 to 'int'.
28667 * inet/getnameinfo.c (getnameinfo): Likewise.
28668
125ee683
UD
286692011-04-29 Ulrich Drepper <drepper@gmail.com>
28670
28671 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
28672 to groups setting in database lookup.
28673 * nss/nsswitch.conf: Add initgroups entry.
28674
b722481a
EB
286752011-04-22 Ulrich Drepper <drepper@gmail.com>
28676
28677 [BZ #12685]
28678 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
28679 mode string.
28680 Patch by Eric Blake <eblake@redhat.com>.
28681
4df46dbd
L
286822011-04-20 H.J. Lu <hongjiu.lu@intel.com>
28683
28684 * sunrpc/Makefile (need-export-routines): Add svc_run.
28685 (routines): Remove svc_run.
28686 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
28687 * sunrpc/clnt_perr.c (clnt_perrno): Export.
28688 * sunrpc/svc_run.c (svc_run): Likewise.
28689 * sunrpc/svc_udp.c (svcudp_create): Likewise.
28690
e84142d2
UD
286912011-04-21 Ulrich Drepper <drepper@gmail.com>
28692
28693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
28694 problem in reallocation in last patch.
28695
877175d8
UD
286962011-04-20 Ulrich Drepper <drepper@gmail.com>
28697
28698 * sunrpc/Makefile: Move inclusion of Rules.
28699
ab8eed78
UD
287002011-04-19 Ulrich Drepper <drepper@gmail.com>
28701
28702 * nss/nss_files/files-initgroups.c: New file.
28703 * nss/Makefile (libnss_files-routines): Add files-initgroups.
28704 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
28705 _nss_files_initgroups_dyn.
28706
e3d8f584
RS
287072011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
28708
28709 * elf/elf.h (R_ARM_IRELATIVE): Define.
28710
af190f45
UD
287112011-04-19 Ulrich Drepper <drepper@gmail.com>
28712
28713 * po/ru.po: Update from translation team.
28714
53cf59ef
UD
287152011-04-17 Ulrich Drepper <drepper@gmail.com>
28716
28717 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
28718 dependencies.
28719
4c559bcd
MF
287202011-02-06 Mike Frysinger <vapier@gentoo.org>
28721
28722 [BZ #12653]
28723 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
28724 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
28725 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28726 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28727 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28728
4420675c
AS
287292011-03-28 Andreas Schwab <schwab@linux-m68k.org>
28730
28731 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
28732 differing bytes.
28733 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28736
75ea32ab
UD
287372011-04-17 Ulrich Drepper <drepper@gmail.com>
28738
28739 [BZ #12420]
28740 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
28741 storing it.
28742 * stdlib/bug-getcontext.c: New file.
28743 * stdlib/Makefile: Add rules to build and run bug-getcontext.
28744
27390476
AK
287452011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28746
28747 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
28748 instructions into .machine "z9-109".
28749 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
28750 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
28751
10442705
AK
287522011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28753
28754 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
28755 between environment variables and auxiliary vector.
28756
7b57bfe5
UD
287572011-04-16 Ulrich Drepper <drepper@gmail.com>
28758
28759 * Makefile: Add rules to build linkobj/libc.so.
28760 * include/libc-symbols.h: Define libc_hidden_nolink.
28761 * include/rpc/auth.h: Mark functions which are to be hidden.
28762 * include/rpc/auth_des.h: Likewise.
28763 * include/rpc/auth_unix.h: Likewise.
28764 * include/rpc/clnt.h: Likewise.
28765 * include/rpc/des_crypt.h: Likewise.
28766 * include/rpc/key_prot.h: Likewise.
28767 * include/rpc/pmap_clnt.h: Likewise.
28768 * include/rpc/pmap_prot.h: Likewise.
28769 * include/rpc/pmap_rmt.h: Likewise.
28770 * include/rpc/rpc_msg.h: Likewise.
28771 * include/rpc/svc.h: Likewise.
28772 * include/rpc/svc_auth.h: Likewise.
28773 * include/rpc/xdr.h: Likewise.
28774 * nis/Makefile: Link all DSOs against linkobj/libc.so.
28775 * nss/Makefile: Likewise.
28776 * sunrpc/Makefile: Don't install headers. Build library with normal
28777 entry points. Don't build rpcinfo. Link RPC tests appropriately.
28778 * sunrpc/auth_des.c: Hide exported symbols by default, export some
28779 for the compat linking library. Remove use of INTDEF/INTUSE.
28780 * sunrpc/auth_none.c: Likewise.
28781 * sunrpc/auth_unix.c: Likewise.
28782 * sunrpc/authdes_prot.c: Likewise.
28783 * sunrpc/authuxprot.c: Likewise.
28784 * sunrpc/clnt_gen.c: Likewise.
28785 * sunrpc/clnt_perr.c: Likewise.
28786 * sunrpc/clnt_raw.c: Likewise.
28787 * sunrpc/clnt_simp.c: Likewise.
28788 * sunrpc/clnt_tcp.c: Likewise.
28789 * sunrpc/clnt_udp.c: Likewise.
28790 * sunrpc/clnt_unix.c: Likewise.
28791 * sunrpc/des_crypt.c: Likewise.
28792 * sunrpc/des_soft.c: Likewise.
28793 * sunrpc/get_myaddr.c: Likewise.
28794 * sunrpc/key_call.c: Likewise.
28795 * sunrpc/key_prot.c: Likewise.
28796 * sunrpc/netname.c: Likewise.
28797 * sunrpc/pm_getmaps.c: Likewise.
28798 * sunrpc/pm_getport.c: Likewise.
28799 * sunrpc/pmap_clnt.c: Likewise.
28800 * sunrpc/pmap_prot.c: Likewise.
28801 * sunrpc/pmap_prot2.c: Likewise.
28802 * sunrpc/pmap_rmt.c: Likewise.
28803 * sunrpc/publickey.c: Likewise.
28804 * sunrpc/rpc_cmsg.c: Likewise.
28805 * sunrpc/rpc_common.c: Likewise.
28806 * sunrpc/rpc_dtable.c: Likewise.
28807 * sunrpc/rpc_prot.c: Likewise.
28808 * sunrpc/rpc_thread.c: Likewise.
28809 * sunrpc/rtime.c: Likewise.
28810 * sunrpc/svc.c: Likewise.
28811 * sunrpc/svc_auth.c: Likewise.
28812 * sunrpc/svc_authux.c: Likewise.
28813 * sunrpc/svc_raw.c: Likewise.
28814 * sunrpc/svc_run.c: Likewise.
28815 * sunrpc/svc_simple.c: Likewise.
28816 * sunrpc/svc_tcp.c: Likewise.
28817 * sunrpc/svc_udp.c: Likewise.
28818 * sunrpc/svc_unix.c: Likewise.
28819 * sunrpc/svcauth_des.c: Likewise.
28820 * sunrpc/xcrypt.c: Likewise.
28821 * sunrpc/xdr.c: Likewise.
28822 * sunrpc/xdr_array.c: Likewise.
28823 * sunrpc/xdr_float.c: Likewise.
28824 * sunrpc/xdr_intXX_t.c: Likewise.
28825 * sunrpc/xdr_mem.c: Likewise.
28826 * sunrpc/xdr_rec.c: Likewise.
28827 * sunrpc/xdr_ref.c: Likewise.
28828 * sunrpc/xdr_sizeof.c: Likewise.
28829 * sunrpc/xdr_stdio.c: Likewise.
28830
e6c61494
UD
288312011-04-10 Ulrich Drepper <drepper@gmail.com>
28832
28833 [BZ #12650]
28834 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
28835 * sysdeps/ia64/dl-tls.h: Likewise.
28836 * sysdeps/powerpc/dl-tls.h: Likewise.
28837 * sysdeps/s390/dl-tls.h: Likewise.
28838 * sysdeps/sh/dl-tls.h: Likewise.
28839 * sysdeps/sparc/dl-tls.h: Likewise.
28840 * sysdeps/x86_64/dl-tls.h: Likewise.
28841 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
28842
34fe483e
AS
288432011-03-14 Andreas Schwab <schwab@redhat.com>
28844
28845 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
28846 rpath element also skip the following colon.
28847 (expand_dynamic_string_token): Add is_path parameter and pass
28848 down to DL_DST_REQUIRED and _dl_dst_substitute.
28849 (decompose_rpath): Call expand_dynamic_string_token with
28850 non-zero is_path. Ignore empty rpaths.
28851 (_dl_map_object_from_fd): Call expand_dynamic_string_token
28852 with zero is_path.
28853
f12a32e6
AS
288542011-04-08 Andreas Schwab <schwab@linux-m68k.org>
28855
28856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28857 Make cancelable.
28858
38a7d692
UD
288592011-04-09 Ulrich Drepper <drepper@gmail.com>
28860
28861 [BZ #12655]
28862 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
28863 Patch by Filipe David Manana <fdmanana@apache.org>.
28864
e451d22b
AS
288652011-04-07 Andreas Schwab <schwab@redhat.com>
28866
28867 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
28868 Maintain aligned stack.
28869 (CHECK_RSP): Remove unused macro.
28870
dedc7c7b
UD
288712011-04-03 Ulrich Drepper <drepper@gmail.com>
28872
28873 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
28874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
28875
94521213
UD
288762011-04-02 Ulrich Drepper <drepper@gmail.com>
28877
28878 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
28879
8cb700c0 28880 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 28881
0354e355
L
288822011-03-26 H.J. Lu <hongjiu.lu@intel.com>
28883
28884 [BZ #12518]
28885 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
28886 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
28887 * sysdeps/x86_64/memmove.c: New file.
28888 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
28889 (memcpy): Renamed to ...
28890 (__new_memcpy): This.
28891 (memcpy): Provide GLIBC_2_14 memcpy.
28892 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
28893 (memcpy): Provide GLIBC_2_2_5 memcpy.
28894
8593482f
UD
288952011-04-01 Ulrich Drepper <drepper@gmail.com>
28896
28897 [BZ #12631]
28898 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
28899
81a5726b
AS
289002011-03-30 Andreas Schwab <schwab@redhat.com>
28901
28902 * misc/syncfs.c: New file.
28903 * misc/Makefile (routines): Add syncfs.
28904 * posix/unistd.h: Declare syncfs.
28905 * sysdeps/unix/syscalls.list: Add syncfs.
28906
00e5419f
AS
289072011-04-01 Andreas Schwab <schwab@redhat.com>
28908
28909 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
28910 open_by_handle_at.
28911 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28912 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28916 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28918
748876bf
UD
289192011-04-01 Ulrich Drepper <drepper@gmail.com>
28920
658e451d
UD
28921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
28922 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28923 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
28924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28928
748876bf
UD
28929 * io/Makefile: Compile fallocate.c, fallocate64.c, and
28930 sync_file_range.c with -fexceptions.
28931 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
28932 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
28933 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
28934 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28935 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
28936 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28937 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
28938 sync_file_range as cancellation point
28939 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
28940 now a wrapper around __call_sync_file_range with cancellation handling.
28941 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
28942 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
28943 function name to __call_sync_file_range.
28944 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
28945 Add call_sync_file_range.
748876bf 28946
6e63d5e1
AS
289472011-04-01 Andreas Schwab <schwab@redhat.com>
28948
28949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 28950 bits/timex.h.
6e63d5e1 28951
46998f74
UD
289522011-04-01 Ulrich Drepper <drepper@gmail.com>
28953
4c1423ed
UD
28954 * iconv/iconv.h: Fix typo in comment.
28955 * io/fcntl.h: Likewise.
28956 * libio/stdio.h: Likewise.
28957 * posix/spawn.h: Likewise.
28958 * posix/unistd.h: Likewise.
28959 * stdlib/stdlib.h: Likewise.
28960 * time/time.h: Likewise.
28961 * wcsmbs/wchar.h: Likewise.
28962
158648c0
UD
28963 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
28964 open_by_handle): Add.
28965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
28966 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
28967 Augment a few comments.
28968 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
28969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28970 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28972 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28973 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
28974 open_by_handle.
28975
46998f74
UD
28976 * io/fcntl.h (AT_EMPTY_PATH): Define.
28977
83fe108b
UD
289782011-03-30 Ulrich Drepper <drepper@gmail.com>
28979
28980 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
28981 * sysdeps/unix/sysv/linux/bits/time.h: New file.
28982 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
28983 to...
28984 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
28985 * Versions.def: Add GLIBC_2.14.
28986 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
28987 Export.
83fe108b 28988
bb242059
UD
289892011-03-22 Ulrich Drepper <drepper@gmail.com>
28990
28991 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
28992 round counter.
28993 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
28994
c97a1282
L
289952011-03-20 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 [BZ #12597]
28998 * string/test-strncmp.c (do_page_test): New function.
28999 (check2): Likewise.
29000 (test_main): Call check2.
29001 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29002
2a115601
UD
290032011-03-20 Ulrich Drepper <drepper@gmail.com>
29004
29005 [BZ #12587]
29006 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29007 Handle cache information in CPU leaf 4.
29008 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29009
8126d904
UD
290102011-03-18 Ulrich Drepper <drepper@gmail.com>
29011
042c49c6 29012 [BZ #12583]
8126d904
UD
29013 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29014 character representation.
29015 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29016
ccfe366e
RA
290172011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29018
29019 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29020 END(__isnan) to END(__isnanf) to match function entry point/label
29021 EALIGN(__isnanf,...).
29022
c6e13027
JJ
290232011-03-10 Jakub Jelinek <jakub@redhat.com>
29024
29025 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29026
33f85a3f
UD
290272011-03-10 Ulrich Drepper <drepper@gmail.com>
29028
028478fa
UD
29029 [BZ #12510]
29030 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29031 copy from the symbol referenced in the relocation to initialize the
29032 used variable.
29033 Patch by Piotr Bury <pbury@goahead.com>.
29034 * elf/Makefile: Add rules to build and tst-unique3.
29035 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29036 * elf/tst-unique3.cc: New file.
29037 * elf/tst-unique3.h: New file.
29038 * elf/tst-unique3lib.cc: New file.
29039 * elf/tst-unique3lib2.cc: New file.
29040
33f85a3f
UD
29041 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29042
03592fc7
MF
290432011-03-10 Mike Frysinger <vapier@gentoo.org>
29044
29045 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29046 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29047 to _start.
03592fc7 29048
6a5ee102
UD
290492011-03-06 Ulrich Drepper <drepper@gmail.com>
29050
29051 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29052 to-be-loaded object along a path to loader is ld.so.
29053
7e4ba49c
HJ
290542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29055 Ulrich Drepper <drepper@gmail.com>
29056
29057 * sysdeps/x86_64/memset.S: After aligning destination, code
29058 branches to different locations depending on the value of
29059 misalignment, when multiarch is enabled. Fix this.
29060
290612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29062
29063 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29064 Set _x86_64_preferred_memory_instruction for AMD processsors.
29065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29066 Set bit_Prefer_SSE_for_memop for AMD processors.
29067
13a804de
UD
290682011-03-04 Ulrich Drepper <drepper@gmail.com>
29069
29070 * libio/fmemopen.c (fmemopen): Optimize a bit.
29071
9d25c392
AS
290722011-03-03 Andreas Schwab <schwab@redhat.com>
29073
29074 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29075
a5543c6a
RM
290762011-03-03 Roland McGrath <roland@redhat.com>
29077
29078 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29079
012d35f7
DM
290802011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29081
7e4ba49c 29082 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29083 __bzero_ultra1 instead of __memset_ultra1.
29084
4bff6e01
AS
290852011-02-23 Andreas Schwab <schwab@redhat.com>
29086 Ulrich Drepper <drepper@gmail.com>
29087
29088 [BZ #12509]
29089 * include/link.h (struct link_map): Add l_orig_initfini.
29090 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29091 returning unsuccessfully.
29092 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29093 close of a file loaded at startup, restore the original l_initfini
29094 list.
29095 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29096 list, store the pointer.
29097 * elf/Makefile ($(objpfx)noload-mem): New rule.
29098 (noload-ENV): Define.
29099 (tests): Add $(objpfx)noload-mem.
29100 * elf/noload.c: Include <memcheck.h>.
29101 (main): Call mtrace. Close all opened handles.
29102
f2092faf
AS
291032011-02-17 Andreas Schwab <schwab@redhat.com>
29104
29105 [BZ #12454]
29106 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29107 dependencies are missing.
29108
6c8a2e88
ST
291092011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29110
f2092faf 29111 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29112 Hurd needs munmap.
29113 * sysdeps/mach/hurd/ifreq.h: New file.
29114
84a42118
PB
291152011-01-27 Petr Baudis <pasky@suse.cz>
29116 Ulrich Drepper <drepper@gmail.com>
29117
071f805e 29118 [BZ 12445]#
84a42118
PB
29119 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29120 to extend_alloca().
29121 * stdio-common/bug23.c: New file.
29122 * stdio-common/Makefile (tests): Add bug23.
29123
e23fe25b
AS
291242010-09-28 Andreas Schwab <schwab@redhat.com>
29125 Ulrich Drepper <drepper@gmail.com>
29126
29127 [BZ #12489]
29128 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29129 before performing relro protection. At old place add assertion
29130 to make sure nothing changed.
29131
d3f02e10
NS
291322011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29133 Glauber de Oliveira Costa <glommer@gmail.com>
29134
29135 * elf/elf.h: Add new ARM TLS relocs.
29136
d55fd7a5
RA
291372011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29138
29139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29140 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29141 cast from r3.
29142 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29143 'tests' variable.
29144 * sysdeps/wordsize-64/tst-writev.c: New file.
29145
2206397e
RA
291462011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29147
29148 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29149 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29150 insns in _dl_start to prevent a TOC reference before relocs are
29151 resolved.
29152
e9433893
UD
291532011-02-15 Ulrich Drepper <drepper@gmail.com>
29154
29155 [BZ #12469]
29156 * Makeconfig: Remove RANLIB definition.
29157 * Makerules: Don't use RANLIB.
29158 * aclocal.m4: Remove ranlib test.
29159 * configure.in: No need to check for ranlib.
29160 * elf/rtld-Rules: Don't use RANLIB.
29161
f75286c6
ST
291622011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29163
8e31c82d
ST
29164 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29165 protection macro.
29166 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29167 inclusion protection macro.
29168
f75286c6
ST
29169 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29170 SIGRTMIN and SIGRTMAX and print information in that case only when
29171 SIGRTMIN is defined.
29172
c1d0e639
JJ
291732011-02-11 Jakub Jelinek <jakub@redhat.com>
29174
29175 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29176 arginfo fn returning -1.
29177
29178 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29179 and thousands string is zero terminated.
29180
edf9294e
AS
291812011-02-03 Andreas Schwab <schwab@redhat.com>
29182
29183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29184 sysdeps/unix/sysv/linux/bits/socket.h.
29185
2b7e92df
ST
291862011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29187
edf9294e
AS
29188 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29189 (__CPU_COUNT): Remove old macros.
29190 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29191 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29192 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29193 (__sched_cpualloc, __sched_cpufree): Add declarations.
29194
a4c7ea7b
UD
291952011-02-05 Ulrich Drepper <drepper@gmail.com>
29196
29197 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29198 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29199 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29200 (readdhstai): Return value of addhstaiX call.
29201 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29202 (addgrbyX): Return value returned by cache_addgr.
29203 (readdgrbyname): Return value returned by addgrbyX.
29204 (readdgrbygid): Likewise.
29205 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29206 (addpwbyX): Return value returned by cache_addpw.
29207 (readdpwbyname): Return value returned by addhstbyX.
29208 (readdpwbyuid): Likewise.
29209 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29210 (addservbyX): Return value returned by cache_addserv.
29211 (readdservbyname): Return value returned by addservbyX:
29212 (readdservbyport): Likewise.
29213 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29214 (addhstbyX): Return value returned by cache_addhst.
29215 (readdhstbyname): Return value returned by addhstbyX.
29216 (readdhstbyaddr): Likewise.
29217 (readdhstbynamev6): Likewise.
29218 (readdhstbyaddrv6): Likewise.
29219 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29220 (readdinitgroups): Return value returned by addinitgroupsX.
29221 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29222 (prune_cache): Keep track of timeout value of re-added entries.
29223 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
29224 * nscd/nscd.h: Adjust prototypes of readd* functions.
29225
a0bf67cc
RM
292262011-02-04 Roland McGrath <roland@redhat.com>
29227
29228 * nis/nis_server.c (nis_servstate): Use the right name for 0.
29229 (nis_stats): Likewise.
29230 * nis/nis_modify.c (nis_modify): Likewise.
29231 * nis/nis_remove.c (nis_remove): Likewise.
29232 * nis/nis_add.c (nis_add): Likewise.
29233
29234 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
29235
29236 * posix/fnmatch_loop.c: Add some consts.
29237
29238 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
29239
435b95eb
L
292402011-02-02 H.J. Lu <hongjiu.lu@intel.com>
29241
29242 [BZ #12460]
29243 * config.make.in (config-cflags-novzeroupper): Define.
29244 * configure.in: Substitute libc_cv_cc_novzeroupper.
29245 * elf/Makefile (AVX-CFLAGS): Define.
29246 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
29247 (CFLAGS-tst-auditmod4a.c): Likewise.
29248 (CFLAGS-tst-auditmod4b.c): Likewise.
29249 (CFLAGS-tst-auditmod6b.c): Likewise.
29250 (CFLAGS-tst-auditmod6c.c): Likewise.
29251 (CFLAGS-tst-auditmod7b.c): Likewise.
29252 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
29253
8517b15e
UD
292542011-02-02 Ulrich Drepper <drepper@gmail.com>
29255
29256 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
29257 function to the callback.
29258 Patch partly by Jiri Olsa <jolsa@redhat.com>.
29259
10a656fe
AS
292602011-02-02 Andreas Schwab <schwab@redhat.com>
29261
29262 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
29263 of errno.
29264
968dad0a
UD
292652011-01-19 Ulrich Drepper <drepper@gmail.com>
29266
9f94d2ea 29267 [BZ #11724]
968dad0a
UD
29268 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
29269 of constructors.
29270 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
29271 of destructors.
29272 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
29273
29274 [BZ #11724]
29275 * elf/Makefile: Add rules to build and run new test.
29276 * elf/tst-initorder.c: New file.
29277 * elf/tst-initorder.exp: New file.
29278 * elf/tst-initordera1.c: New file.
29279 * elf/tst-initordera2.c: New file.
29280 * elf/tst-initordera3.c: New file.
29281 * elf/tst-initordera4.c: New file.
29282 * elf/tst-initorderb1.c: New file.
29283 * elf/tst-initorderb2.c: New file.
29284 * elf/tst-order-a1.c: New file.
29285 * elf/tst-order-a2.c: New file.
29286 * elf/tst-order-a3.c: New file.
29287 * elf/tst-order-a4.c: New file.
29288 * elf/tst-order-b1.c: New file.
29289 * elf/tst-order-b2.c: New file.
29290 * elf/tst-order-main.c: New file.
29291 New test case by George Gensure <werkt0@gmail.com>.
29292
86e92359
UD
292932010-10-01 Andreas Schwab <schwab@redhat.com>
29294
29295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29296 decoding ACE if AI_CANONIDN.
29297
5d5732b0
UD
292982011-01-18 Ulrich Drepper <drepper@gmail.com>
29299
29300 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
29301
a77e8cbc
UD
293022011-01-17 Ulrich Drepper <drepper@gmail.com>
29303
6392473f
UD
29304 * version.h (RELEASE): Bump for 2.13 release.
29305 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
29306
620a0529
UD
29307 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
29308
18ba70a5
UD
29309 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
29310 MADV_NOHUGEPAGE.
32465c3e
UD
29311 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
29312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29313 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29314 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29315 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29316 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29317
c0dafcf1
UD
29318 * posix/getconf.c: Update copyright year.
29319 * catgets/gencat.c: Likewise.
29320 * csu/version.c: Likewise.
29321 * debug/catchsegv.sh: Likewise.
29322 * debug/xtrace.sh: Likewise.
29323 * elf/ldconfig.c: Likewise.
29324 * elf/ldd.bash.in: Likewise.
29325 * elf/sprof.c (print_version): Likewise.
29326 * iconv/iconv_prog.c: Likewise.
29327 * iconv/iconvconfig.c: Likewise.
29328 * locale/programs/locale.c: Likewise.
29329 * locale/programs/localedef.c: Likewise.
29330 * malloc/memusage.sh: Likewise.
29331 * malloc/mtrace.pl: Likewise.
29332 * nscd/nscd.c (print_version): Likewise.
29333 * nss/getent.c: Likewise.
29334
a77e8cbc
UD
29335 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
29336 PF_CAIF, and PF_ALG.
29337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29338
77e8bddf
AS
293392011-01-16 Andreas Schwab <schwab@linux-m68k.org>
29340
1f20b93a
AS
29341 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
29342 (modules-names): Use them.
29343 (ifunc-test-modules, ifunc-pie-tests): Define.
29344 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
29345 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
29346 (test-extras): Likewise.
29347 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
29348 $(compile-command.c).
29349 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
29350 (all-built-dso): Define.
29351 (check-textrel.out, check-execstack.out): Depend on it.
29352
77e8bddf
AS
29353 * configure.in: Don't override --enable-multi-arch.
29354
bc425b33
UD
293552011-01-15 Ulrich Drepper <drepper@gmail.com>
29356
29357 [BZ #6812]
29358 * nscd/hstcache.c (tryagain): Define.
29359 (cache_addhst): Return tryagain not notfound for temporary errors.
29360 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
29361 failed.
29362
794c3ad3
UD
293632011-01-14 Ulrich Drepper <drepper@gmail.com>
29364
70181fdd
UD
29365 [BZ #10563]
29366 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
29367 to make the syscall.
29368 * sysdeps/unix/sysv/linux/setgroups.c: New file.
29369
794c3ad3
UD
29370 [BZ #12378]
29371 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
29372 and fall back to matching as normal character if the string ends before
29373 the matching ']' is found. This is what POSIX requires.
29374 * posix/testfnm.c: Adjust test result.
29375 * posix/globtest.sh: Adjust test result. Add new test.
29376 * posix/tst-fnmatch.input: Likewise.
29377 * posix/tst-fnmatch2.c: Add new test.
29378
68dc9497
AS
293792010-12-28 Andreas Schwab <schwab@linux-m68k.org>
29380
29381 * elf/Makefile (check-execstack): Revert last change. Depend on
29382 check-execstack.h.
29383 (check-execstack.h): New target.
29384 (generated): Add check-execstack.h.
29385 * elf/check-execstack.c: Include "check-execstack.h".
29386 (main): Revert last change.
29387 (handle_file): Return zero if GNU_STACK is absent and
29388 DEFAULT_STACK_PERMS doesn't include PF_X.
29389
451f001b
UD
293902011-01-13 Ulrich Drepper <drepper@gmail.com>
29391
cfa28e56
UD
29392 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
29393 in child fails because the descriptor is already closed.
8cf8ce17
UD
29394 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
29395 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
29396 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 29397
1086d70d
UD
29398 [BZ #12397]
29399 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
29400 syscall.
29401
451f001b
UD
29402 [BZ #10484]
29403 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
29404 temporary buffer used to handle multi lookups locally.
a85b5cb4 29405 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 29406
08769175
UD
294072011-01-12 Ulrich Drepper <drepper@gmail.com>
29408
29409 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
29410 loader is ld.so.
29411
5e49c52e
UD
294122011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
29413
29414 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
29415 alignment for SSE2.
29416
60522a5f
UD
294172011-01-12 Ulrich Drepper <drepper@gmail.com>
29418
29419 [BZ #12394]
29420 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
29421 characters. When rounding increased number of integer digits recompute
29422 number of groups.
29423 * stdio-common/tst-grouping.c: New file.
29424 * stdio-common/Makefile: Add rules to build and run tst-grouping.
29425
f257bbd7
UD
294262011-01-09 Ulrich Drepper <drepper@gmail.com>
29427
29428 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
29429 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
29430
29431 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
29432 void.
29433 * bits/select.h: Likewise.
29434
fa9c15cb
UD
294352011-01-08 Ulrich Drepper <drepper@gmail.com>
29436
29437 * po/ja.po: Update from translation team.
29438
16c2895f
DM
294392011-01-04 David S. Miller <davem@sunset.davemloft.net>
29440
29441 [BZ #11155]
29442 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
29443 implementation just like for lxstat, fxstatat, et al.
29444
2543fef2
JM
294452010-12-27 Jim Meyering <meyering@redhat.com>
29446
29447 [BZ #12348]
29448 * posix/regexec.c (build_trtable): Return failure indication upon
29449 calloc failure. Otherwise, re_search_internal could infloop on OOM.
29450
98727dbe
UD
294512010-12-25 Ulrich Drepper <drepper@gmail.com>
29452
5bd6dc5c
UD
29453 [BZ #12201]
29454 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
29455 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
29456 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
29457 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
29458
97983464
UD
29459 [BZ #12207]
29460 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
29461
98727dbe
UD
29462 [BZ #12204]
29463 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
29464 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
29465
4a531bb0
L
294662010-12-15 H.J. Lu <hongjiu.lu@intel.com>
29467
29468 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
29469 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
29470 script has SORT_BY_INIT_PRIORITY.
29471 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
29472 NO_CTORS_DTORS_SECTIONS is defined.
29473 * elf/soinit.c: Likewise.
29474 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
29475 NO_CTORS_DTORS_SECTIONS is defined.
29476 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
29477 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
29478 * sysdeps/sh/init-first.c: Likewise.
29479 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
29480
07eb4b71
UD
294812010-12-24 Ulrich Drepper <drepper@gmail.com>
29482
29483 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
29484 always use the slow path.
29485
30950a5f
RA
294862010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
29487
29488 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
29489 similar rule which adds the sysdep directories to the header search in
29490 order to pick up the correct platform stackinfo.h.
29491 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
29492 perform test if it is, otherwise return successfully without testing.
29493 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
29494 DEFAULT_STACK_PERMS define in stackinfo.h.
29495 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
29496 defined in stackinfo.h.
29497 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
29498 DEFAULT_STACK_PERMS defined in stackinfo.h.
29499 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
29500 * sysdeps/ia64/stackinfo.h: Likewise.
29501 * sysdeps/s390/stackinfo.h: Likewise.
29502 * sysdeps/sh/stackinfo.h: Likewise.
29503 * sysdeps/sparc/stackinfo.h: Likewise.
29504 * sysdeps/x86_64/stackinfo.h: Likewise.
29505 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
29506 PF_X for powerpc64. Retain PF_X for powerpc32.
29507
db753e2c
UD
295082010-12-19 Ulrich Drepper <drepper@gmail.com>
29509
14b697f7
UD
29510 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
29511 accurately.
db753e2c
UD
29512 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
29513 GETDENTS_64BIT_ALIGNED.
29514
28300719
UD
295152010-12-14 Ulrich Drepper <dreper@gmail.com>
29516
14b697f7 29517 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 29518
4f197237
AS
295192010-12-10 Andreas Schwab <schwab@redhat.com>
29520
dbb0472f
AS
29521 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
29522 _GNU_SOURCE.
29523
4f197237
AS
29524 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
29525 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
29526 Remove __restrict.
29527 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
29528 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
29529
fb88ac72
UD
295302010-12-09 Ulrich Drepper <drepper@gmail.com>
29531
29532 [BZ #11655]
29533 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
29534 are initialized.
29535
42acbb92
JJ
295362010-12-09 Jakub Jelinek <jakub@redhat.com>
29537
29538 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
29539
c038d98d
UD
295402010-12-03 Ulrich Drepper <drepper@gmail.com>
29541
29542 * po/it.po: Update from translation team.
29543
3a4a2499
L
295442010-12-01 H.J. Lu <hongjiu.lu@intel.com>
29545
29546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
29547 unused codes.
29548
1e24cf6e
UD
295492010-11-30 Ulrich Drepper <drepper@gmail.com>
29550
29551 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
29552
a7690819
AS
295532010-11-24 Andreas Schwab <schwab@redhat.com>
29554
29555 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
29556 specially.
29557 (gaih_getanswer_slice): Likewise.
29558
3bf8d1b1
JJ
295592010-10-20 Jakub Jelinek <jakub@redhat.com>
29560
29561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
29562
6db52fbb
PB
295632010-05-31 Petr Baudis <pasky@suse.cz>
29564
29565 [BZ #11149]
29566 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
29567 silently even in the chroot mode.
29568
eaca7569
UD
295692010-11-22 Ulrich Drepper <drepper@gmail.com>
29570
29571 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
29572 last patch a bit. Pretty printing
29573
3056dcdb
UD
295742010-05-31 Petr Baudis <pasky@suse.cz>
29575
29576 [BZ #10085]
29577 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
29578 initialization of skip_initgroups_dyn.
29579
cf7c9078
UD
295802010-11-19 Ulrich Drepper <drepper@gmail.com>
29581
29582 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
29583 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
29584
a1fb5e3e
UD
295852010-11-16 Ulrich Drepper <drepper@gmail.com>
29586
29587 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
29588
3540d66b
AS
295892010-11-11 Andreas Schwab <schwab@redhat.com>
29590
29591 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
29592 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
29593 (tst-fnmatch-ENV): Set MALLOC_TRACE.
29594 ($(objpfx)tst-fnmatch-mem): New rule.
29595 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
29596 * posix/tst-fnmatch.c (main): Call mtrace.
29597
13b69574
L
295982010-11-11 H.J. Lu <hongjiu.lu@intel.com>
29599
29600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29601 Support Intel processor model 6 and model 0x2c.
29602
da93d214
LM
296032010-11-10 Luis Machado <luisgpm@br.ibm.com>
29604
29605 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
29606 signed comparison.
29607
8ca52c6e
L
296082010-11-09 H.J. Lu <hongjiu.lu@intel.com>
29609
29610 [BZ #12205]
29611 * string/test-strncasecmp.c (check_result): New function.
29612 (do_one_test): Use it.
29613 (check1): New function.
29614 (test_main): Use it.
29615 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
29616 Support strcasecmp and strncasecmp.
29617
69da074d
UD
296182010-11-08 Ulrich Drepper <drepper@gmail.com>
29619
29620 [BZ #12194]
29621 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
29622 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29623
ff02d528
L
296242010-11-07 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
29627 IFUNC support.
29628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29629 memset-x86-64.
29630 * sysdeps/x86_64/multiarch/bzero.S: New file.
29631 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
29632 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
29633 * sysdeps/x86_64/multiarch/memset.S: New file.
29634 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
29635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29636 Set bit_Prefer_SSE_for_memop for Intel processors.
29637 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
29638 Define.
29639 (index_Prefer_SSE_for_memop): Define.
29640 (HAS_PREFER_SSE_FOR_MEMOP): Define.
29641
344d0b54
LM
296422010-11-04 Luis Machado <luisgpm@br.ibm.com>
29643
29644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
29645 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
29646
c0dde15b
UD
296472010-11-03 H.J. Lu <hongjiu.lu@intel.com>
29648
29649 [BZ #12191]
29650 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29651 (__x86_64_raw_data_cache_size_half): Likewise.
29652 (__x86_64_raw_shared_cache_size): Likewise.
29653 (__x86_64_raw_shared_cache_size_half): Likewise.
29654
29655 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
29656 (__x86_64_raw_data_cache_size_half): Likewise.
29657 (__x86_64_raw_shared_cache_size): Likewise.
29658 (__x86_64_raw_shared_cache_size_half): Likewise.
29659 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
29660 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
29661 and __x86_64_raw_shared_cache_size_half. Round
29662 __x86_64_data_cache_size_half, __x86_64_data_cache_size
29663 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
29664 to multiple of 256 bytes.
29665
0e516e0e
MS
296662010-11-03 Ulrich Drepper <drepper@gmail.com>
29667
29668 [BZ #12167]
29669 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
29670 of inacessible symlinks. Verify result of symlink before returning it.
29671 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
29672 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
29673
0e012e87
ER
296742010-10-28 Erich Ritz <erichritz@gmail.com>
29675
29676 * math/math.h (isinf): Fix typo in comment.
29677
de0ff7bc
UD
296782010-11-01 Ulrich Drepper <drepper@gmail.com>
29679
29680 * po/da.po: Update from translation team.
29681
fa41c84d
UD
296822010-10-26 Ulrich Drepper <drepper@gmail.com>
29683
29684 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
29685 is added to the list.
29686
f0967738
AK
296872010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29688 Ulrich Drepper <drepper@gmail.com>
29689
29690 * elf/dl-object.c (_dl_new_object): Don't append the new object to
29691 the global list here. Move code to...
29692 (_dl_add_to_namespace_list): ...here. New function.
29693 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
29694 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
29695 * elf/dl-load.c (lose): Don't remove the element from the list.
29696 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
29697 (_dl_map_object): Likewise.
29698
296992010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
29700
29701 [BZ #12159]
29702 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
29703 into all bytes of SSE register.
29704 Patch by Richard Li <richardpku@gmail.com>.
29705
f0967738 297062010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
29707
29708 [BZ #12140]
29709 * malloc/malloc.c (_int_free): Fill correct number of bytes when
29710 perturbing.
29711
d0b9e94f
MB
297122010-10-20 Michael B. Brutman <brutman@us.ibm.com>
29713
29714 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
29715 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
29716 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
29717 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
29719 submachine.
29720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
29721
8e9f92e9
AS
297222010-10-22 Andreas Schwab <schwab@redhat.com>
29723
29724 * include/dlfcn.h (__RTLD_SECURE): Define.
29725 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
29726 mode & __RTLD_SECURE instead.
29727 (open_path): Rename preloaded parameter to secure.
29728 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
29729 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
29730 * elf/dl-deps.c (openaux): Likewise.
29731 * elf/rtld.c (struct map_args): Remove is_preloaded.
29732 (map_doit): Don't use it.
29733 (dl_main): Likewise.
29734 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
29735 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
29736
bc96fbda
AS
297372010-09-09 Andreas Schwab <schwab@redhat.com>
29738
29739 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
29740 (sysd-rules-targets): Remove duplicates.
29741 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
29742 rtld-%.$o dependency.
29743
22cd1c9b
AS
297442010-10-18 Andreas Schwab <schwab@redhat.com>
29745
29746 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
29747 _dl_map_object do it.
29748
18edac48
UD
297492010-10-19 Ulrich Drepper <drepper@gmail.com>
29750
29751 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
29752 fast fma builtins, define the macros in the C99 standard.
29753 (FP_FAST_FMAF): Likewise.
29754 (FP_FAST_FMAL): Likewise.
29755 * sysdeps/x86_64/bits/mathdef.h: Likewise.
29756
29757 * bits/mathdef.h: Update copyright year.
29758 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29759
d2050124
MM
297602010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
29761
29762 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
29763 builtins, define the macros in the C99 standard.
29764 (FP_FAST_FMAF): Likewise.
29765 (FP_FAST_FMAL): Likewise.
29766 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
29767 multiply/add.
29768 (FP_FAST_FMAF): Likewise.
29769
475facd1
JJ
297702010-10-15 Jakub Jelinek <jakub@redhat.com>
29771
29772 [BZ #3268]
29773 * math/libm-test.inc (fma_test): Some new testcases.
29774 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
29775 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
29776 y and infinite z. Do multiplication by C already in long double.
29777 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
29778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
29779 y and infinite z. Do bitwise or of inexact bit into u.d.
29780 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
29781 * sysdeps/i386/fpu/s_fmaf.S: Removed.
29782 * sysdeps/i386/fpu/s_fma.S: Removed.
29783 * sysdeps/i386/fpu/s_fmal.S: Removed.
29784
7c08a05c
JJ
297852010-10-16 Jakub Jelinek <jakub@redhat.com>
29786
29787 [BZ #3268]
29788 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
29789 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
29790 computation is not scheduled after fetestexcept. Fix value
29791 of minimum denormal long double.
29792
f3f7372d
JJ
297932010-10-14 Jakub Jelinek <jakub@redhat.com>
29794
29795 [BZ #3268]
29796 * math/libm-test.inc (fma_test): Add some more tests.
29797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
29798 correctly.
29799
14d43591
AS
298002010-10-15 Andreas Schwab <schwab@redhat.com>
29801
29802 * scripts/data/localplt-s390-linux-gnu.data: New file.
29803 * scripts/data/localplt-s390x-linux-gnu.data: New file.
29804
5e908464
JJ
298052010-10-13 Jakub Jelinek <jakub@redhat.com>
29806
29807 [BZ #3268]
29808 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
29809 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
29810 instead of dbl-64.
29811 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
29812 inlines.
29813 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
29814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
29815 if one of x and y is very large and the other is subnormal.
29816 * sysdeps/s390/fpu/s_fmaf.c: New file.
29817 * sysdeps/s390/fpu/s_fma.c: New file.
29818 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
29819 * sysdeps/powerpc/fpu/s_fma.S: New file.
29820 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
29821 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
29822 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
29823
298242010-10-12 Jakub Jelinek <jakub@redhat.com>
29825
29826 [BZ #3268]
29827 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
29828 fma tests.
29829 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
29830 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
29831 * sysdeps/i386/i686/multiarch/s_fma.c: Include
29832 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
29833 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
29834 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
29836
b833d51f
UD
298372010-10-12 Ulrich Drepper <drepper@redhat.com>
29838
29839 [BZ #12078]
29840 * posix/regcomp.c (parse_branch): One more memory leak plugged.
29841 * posix/bug-regex31.input: Add test case.
29842
1751705d
UD
298432010-10-11 Ulrich Drepper <drepper@gmail.com>
29844
e9b9cbf5
UD
29845 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
29846 * posix/bug-regex31.input: New file.
29847
29848 [BZ #12078]
29849 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
29850 (parse_sub_exp): Fix last change, use postorder.
29851
ef06edbe
UD
29852 * posix/bug-regex31.c: New file.
29853 * posix/Makefile: Add rules to build and run bug-regex31.
29854
a129c80d
UD
29855 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
29856
29857 [BZ #12078]
29858 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
29859
b76b818e
UD
29860 [BZ #12108]
29861 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
29862 to have entries in sys_siglist.
29863
1751705d
UD
29864 [BZ #12093]
29865 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
29866 be NULL.
29867
9ff8d36f
JJ
298682010-10-07 Jakub Jelinek <jakub@redhat.com>
29869
29870 [BZ #3268]
29871 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
29872 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
29873 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
29874 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
29875 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29876 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
29877 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
29878 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
29879 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
29880 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
29881 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
29882 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
29883 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29884 * math/ftestexcept.c (fetestexcept): Likewise.
29885 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
29886 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
29887 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29888 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
29889 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
29890 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
29891 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29892
af325969
UD
298932010-10-11 Ulrich Drepper <drepper@gmail.com>
29894
c579b202 29895 [BZ #12107]
af325969
UD
29896 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
29897 newline.
29898
67a67b95
UD
298992010-10-06 Ulrich Drepper <drepper@gmail.com>
29900
29901 * string/bug-strstr1.c: New file.
29902 * string/Makefile: Add rules to build and run bug-strstr1.
29903
5fb308bc
EB
299042010-10-05 Eric Blake <eblake@redhat.com>
29905
29906 [BZ #12092]
29907 * string/str-two-way.h (two_way_long_needle): Always clear memory
29908 when skipping input due to the shift table.
29909
45db99c7
UD
299102010-10-03 Ulrich Drepper <drepper@gmail.com>
29911
3b111893
UD
29912 [BZ #12005]
29913 * malloc/mcheck.c: Handle large requests.
29914
45db99c7
UD
29915 [BZ #12077]
29916 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
29917 for strncmp and strncasecmp.
29918 * string/stratcliff.c: Add tests for strcmp and strncmp.
29919 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
29920
cf7a1eb8
NI
299212010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29922
29923 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
29924 __set_fpscr.
29925
6484ba5e
AJ
299262010-09-30 Andreas Jaeger <aj@suse.de>
29927
29928 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
29929 (CGROUP_SUPER_MAGIC): Define.
29930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29931 Handle btrfs and cgroup file systems.
29932 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29933 Likewise.
29934
91c42559
LM
299352010-09-27 Luis Machado <luisgpm@br.ibm.com>
29936
29937 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
29938 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
29939
87a97932
AK
299402010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29941
29942 [BZ #12067]
29943 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
29944 trying to locate the ELF header.
29945
c21cc9bc
AS
299462010-09-27 Andreas Schwab <schwab@redhat.com>
29947
29948 [BZ #11611]
29949 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
29950 Mask out sign-bit copies when constructing f_fsid.
29951
315970f6
PB
299522010-09-24 Petr Baudis <pasky@suse.cz>
29953
29954 * debug/stack_chk_fail_local.c: Add missing licence exception.
29955 * debug/warning-nop.c: Likewise.
29956
1ac7a2c7
JM
299572010-09-15 Joseph Myers <joseph@codesourcery.com>
29958
29959 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
29960 implementing getdents64 using getdents syscall, set d_type if
29961 __ASSUME_GETDENTS32_D_TYPE.
29962
56801c50
AS
299632010-09-16 Andreas Schwab <schwab@redhat.com>
29964
29965 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
29966 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
29967
dda51327
UD
299682010-09-21 Ulrich Drepper <drepper@redhat.com>
29969
29970 [BZ #12037]
29971 * posix/unistd.h: Undo change of feature selection for ftruncate from
29972 2010-01-11.
29973
8ffcee4a
UD
299742010-09-20 Ulrich Drepper <drepper@redhat.com>
29975
a545ecd9 29976 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
29977 detection.
29978
e24f0a8b
AS
299792010-09-20 Andreas Schwab <schwab@redhat.com>
29980
29981 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
29982 fanotify_mark.
29983 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
29984
7291c56f
AS
299852010-09-14 Andreas Schwab <schwab@redhat.com>
29986
29987 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
29988 variables after CHECK_SP call.
29989 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
29990
bc5fb037
AS
299912010-09-13 Andreas Schwab <schwab@redhat.com>
29992 Ulrich Drepper <drepper@redhat.com>
29993
29994 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
29995 re-relocationg ld.so.
29996 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
29997 _dl_init_paths call.
29998 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
29999 here anymore.
30000
e66e7419
UD
300012010-09-14 Ulrich Drepper <drepper@redhat.com>
30002
30003 * resolv/res_init.c (__res_vinit): Count the default server we added.
30004
c044aa75
CLT
300052010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30006 Ulrich Drepper <drepper@redhat.com>
30007
30008 [BZ #11968]
30009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30010 (____longjmp_chk): Use %ebx for saving value across system call.
30011 Add unwind info.
30012
32cf4069
AS
300132010-09-06 Andreas Schwab <schwab@redhat.com>
30014
30015 * manual/Makefile: Don't mix pattern rules with normal rules.
30016
817328ee
AS
300172010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30018
30019 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30020 operation.
30021 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30022 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30023 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30024 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30025 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30026 Likewise.
30027
29fddf61
UD
300282010-09-04 Ulrich Drepper <drepper@redhat.com>
30029
30030 [BZ #11979]
30031 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30032 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30033
0959ffc9
UD
300342010-09-02 Ulrich Drepper <drepper@redhat.com>
30035
30036 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30037 * sysdeps/x86_64/addmul_1.S: Likewise.
30038 * sysdeps/x86_64/lshift.S: Likewise.
30039 * sysdeps/x86_64/mul_1.S: Likewise.
30040 * sysdeps/x86_64/rshift.S: Likewise.
30041 * sysdeps/x86_64/sub_n.S: Likewise.
30042 * sysdeps/x86_64/submul_1.S: Likewise.
30043
ece29840
ST
300442010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30045
0959ffc9
UD
30046 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30047 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30048 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30049 * bits/sched.h [__need_schedparam]
ece29840 30050 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30051 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30052 (__defined_schedparam): Define to 1.
ece29840
ST
30053 (__sched_param): New structure, identical to sched_param.
30054 (__need_schedparam): Undefine.
30055
e53a31fe
MF
300562010-08-31 Mike Frysinger <vapier@gentoo.org>
30057
fdc0c10d
MF
30058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30059 (epoll_create1): Declare.
30060
e53a31fe
MF
30061 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30062
a726d796
AS
300632010-08-31 Andreas Schwab <schwab@redhat.com>
30064
30065 [BZ #7066]
30066 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30067 shifting retval into place.
30068
2f3e3dc7
UD
300692010-09-01 Ulrich Drepper <drepper@redhat.com>
30070
f2933da9
UD
30071 * nis/rpcsvc/nis.h: Update copyright notice.
30072 * nis/rpcsvc/nis.x: Likewise.
30073 * nis/rpcsvc/nis_callback.h: Likewise.
30074 * nis/rpcsvc/nis_callback.x: Likewise.
30075 * nis/rpcsvc/nis_object.x: Likewise.
30076 * nis/rpcsvc/nis_tags.h: Likewise.
30077 * nis/rpcsvc/yp.h: Likewise.
30078 * nis/rpcsvc/yp.x: Likewise.
30079 * nis/rpcsvc/ypupd.h: Likewise.
30080 * nis/yp_xdr.c: Likewise.
30081 * nis/ypupdate_xdr.c: Likewise.
30082
2f3e3dc7
UD
30083 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30084 mainly the body of pmap_getport. Add parameters to specify timeouts.
30085 (pmap_getport): Use __libc_rpc_getport.
30086 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30087 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30088 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30089
f3dcc2f9
AS
300902010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30091
30092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30093 fanotify_mark.
30094
6d34eb5b
RM
300952010-08-27 Roland McGrath <roland@redhat.com>
30096
30097 * sysdeps/i386/i686/multiarch/Makefile
30098 (CFLAGS-varshift.c): New variable.
30099
9ea3de11
UD
301002010-08-27 Ulrich Drepper <drepper@redhat.com>
30101
c96d23fc
UD
30102 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30103 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30104
9ea3de11
UD
30105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30106
30107 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30108
623aac7f
L
301092010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30110
30111 * sysdeps/x86_64/strlen.S: Unroll the loop.
30112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30113 strlen-sse2 strlen-sse2-bsf.
30114 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30115 __strlen_no_bsf if bit_Slow_BSF is set.
30116 (__strlen_sse42): Removed.
30117 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30118 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30119
8b2b7715
RM
301202010-08-25 Roland McGrath <roland@redhat.com>
30121
30122 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30123 * sysdeps/x86_64/multiarch/varshift.c: New file.
30124 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30125 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30126 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30127 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30128
e73015f2
L
301292010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30130
30131 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30132 strlen-sse2 strlen-sse2-bsf.
30133 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30134 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30135 (__strlen_sse2): Removed.
30136 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30137 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30139 bit_Slow_BSF for Atom.
30140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30141 (index_Slow_BSF): Define.
30142 (HAS_SLOW_BSF): Define.
30143
df24a73e
UD
301442010-08-25 Ulrich Drepper <drepper@redhat.com>
30145
30146 [BZ #10851]
30147 * resolv/res_init.c (__res_vinit): When no server address at all
30148 is given default to loopback.
30149
f2ac4868
RM
301502010-08-24 Roland McGrath <roland@redhat.com>
30151
09055553
RM
30152 * configure.in: Remove config-name.h generation.
30153 * configure: Regenerated.
30154 * config-name.in: File removed.
30155 * scripts/config-uname.sh: New file.
30156 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30157 ($(objdir)config-name.h): New target.
30158
f2ac4868
RM
30159 * sunrpc/rpc_parse.h: Avoid nested comment.
30160
73f27d5e
RH
301612010-08-24 Richard Henderson <rth@redhat.com>
30162 Ulrich Drepper <drepper@redhat.com>
30163 H.J. Lu <hongjiu.lu@intel.com>
30164
30165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30166 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30167 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30168 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30169 _mm_alignr_epi8 with _mm_loadu_si128.
30170 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30171 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30172 (__m128i_shift_right): Removed.
30173 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30174 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30175 * sysdeps/x86_64/multiarch/varshift.h: New file.
30176 * sysdeps/x86_64/multiarch/varshift.S: New file.
30177
84b9230c
MF
301782010-08-21 Mike Frysinger <vapier@gentoo.org>
30179
30180 * configure.in: Move assembler checks to before sysdep dir checking.
30181
9bbd0ddc
PB
301822010-08-20 Petr Baudis <pasky@suse.cz>
30183
30184 * LICENSES: Sync the sunrpc license.
30185
9da4bb31
UD
301862010-08-19 Ulrich Drepper <drepper@redhat.com>
30187
a7ab6ec8
UD
30188 * sunrpc/auth_des.c: Update copyright notice once again.
30189 * sunrpc/auth_none.c: Likewise.
30190 * sunrpc/auth_unix.c: Likewise.
30191 * sunrpc/authdes_prot.c: Likewise.
30192 * sunrpc/authuxprot.c: Likewise.
30193 * sunrpc/bindrsvprt.c: Likewise.
30194 * sunrpc/clnt_gen.c: Likewise.
30195 * sunrpc/clnt_perr.c: Likewise.
30196 * sunrpc/clnt_raw.c: Likewise.
30197 * sunrpc/clnt_simp.c: Likewise.
30198 * sunrpc/clnt_tcp.c: Likewise.
30199 * sunrpc/clnt_udp.c: Likewise.
30200 * sunrpc/clnt_unix.c: Likewise.
30201 * sunrpc/des_crypt.c: Likewise.
30202 * sunrpc/des_soft.c: Likewise.
30203 * sunrpc/get_myaddr.c: Likewise.
30204 * sunrpc/getrpcport.c: Likewise.
30205 * sunrpc/key_call.c: Likewise.
30206 * sunrpc/key_prot.c: Likewise.
30207 * sunrpc/openchild.c: Likewise.
30208 * sunrpc/pm_getmaps.c: Likewise.
30209 * sunrpc/pm_getport.c: Likewise.
30210 * sunrpc/pmap_clnt.c: Likewise.
30211 * sunrpc/pmap_prot.c: Likewise.
30212 * sunrpc/pmap_prot2.c: Likewise.
30213 * sunrpc/pmap_rmt.c: Likewise.
30214 * sunrpc/rpc/auth.h: Likewise.
30215 * sunrpc/rpc/auth_unix.h: Likewise.
30216 * sunrpc/rpc/clnt.h: Likewise.
30217 * sunrpc/rpc/des_crypt.h: Likewise.
30218 * sunrpc/rpc/key_prot.h: Likewise.
30219 * sunrpc/rpc/netdb.h: Likewise.
30220 * sunrpc/rpc/pmap_clnt.h: Likewise.
30221 * sunrpc/rpc/pmap_prot.h: Likewise.
30222 * sunrpc/rpc/pmap_rmt.h: Likewise.
30223 * sunrpc/rpc/rpc.h: Likewise.
30224 * sunrpc/rpc/rpc_des.h: Likewise.
30225 * sunrpc/rpc/rpc_msg.h: Likewise.
30226 * sunrpc/rpc/svc.h: Likewise.
30227 * sunrpc/rpc/svc_auth.h: Likewise.
30228 * sunrpc/rpc/types.h: Likewise.
30229 * sunrpc/rpc/xdr.h: Likewise.
30230 * sunrpc/rpc_clntout.c: Likewise.
30231 * sunrpc/rpc_cmsg.c: Likewise.
30232 * sunrpc/rpc_common.c: Likewise.
30233 * sunrpc/rpc_cout.c: Likewise.
30234 * sunrpc/rpc_dtable.c: Likewise.
30235 * sunrpc/rpc_hout.c: Likewise.
30236 * sunrpc/rpc_main.c: Likewise.
30237 * sunrpc/rpc_parse.c: Likewise.
30238 * sunrpc/rpc_parse.h: Likewise.
30239 * sunrpc/rpc_prot.c: Likewise.
30240 * sunrpc/rpc_sample.c: Likewise.
30241 * sunrpc/rpc_scan.c: Likewise.
30242 * sunrpc/rpc_scan.h: Likewise.
30243 * sunrpc/rpc_svcout.c: Likewise.
30244 * sunrpc/rpc_tblout.c: Likewise.
30245 * sunrpc/rpc_util.c: Likewise.
30246 * sunrpc/rpc_util.h: Likewise.
30247 * sunrpc/rpcinfo.c: Likewise.
30248 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
30249 * sunrpc/rpcsvc/key_prot.x: Likewise.
30250 * sunrpc/rpcsvc/klm_prot.x: Likewise.
30251 * sunrpc/rpcsvc/mount.x: Likewise.
30252 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
30253 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
30254 * sunrpc/rpcsvc/rex.x: Likewise.
30255 * sunrpc/rpcsvc/rstat.x: Likewise.
30256 * sunrpc/rpcsvc/rusers.x: Likewise.
30257 * sunrpc/rpcsvc/sm_inter.x: Likewise.
30258 * sunrpc/rpcsvc/spray.x: Likewise.
30259 * sunrpc/rpcsvc/yppasswd.x: Likewise.
30260 * sunrpc/rtime.c: Likewise.
30261 * sunrpc/svc.c: Likewise.
30262 * sunrpc/svc_auth.c: Likewise.
30263 * sunrpc/svc_authux.c: Likewise.
30264 * sunrpc/svc_raw.c: Likewise.
30265 * sunrpc/svc_run.c: Likewise.
30266 * sunrpc/svc_simple.c: Likewise.
30267 * sunrpc/svc_tcp.c: Likewise.
30268 * sunrpc/svc_udp.c: Likewise.
30269 * sunrpc/svc_unix.c: Likewise.
30270 * sunrpc/svcauth_des.c: Likewise.
30271 * sunrpc/xcrypt.c: Likewise.
30272 * sunrpc/xdr.c: Likewise.
30273 * sunrpc/xdr_array.c: Likewise.
30274 * sunrpc/xdr_float.c: Likewise.
30275 * sunrpc/xdr_mem.c: Likewise.
30276 * sunrpc/xdr_rec.c: Likewise.
30277 * sunrpc/xdr_ref.c: Likewise.
30278 * sunrpc/xdr_sizeof.c: Likewise.
30279 * sunrpc/xdr_stdio.c: Likewise.
30280
9da4bb31
UD
30281 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
30282 handling.
30283
bdaa77bc
AS
302842010-08-19 Andreas Schwab <schwab@redhat.com>
30285
30286 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
30287
fe2f79db
LM
302882010-08-19 Luis Machado <luisgpm@br.ibm.com>
30289
30290 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
30291 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
30292 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
30293 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
30294 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
30295 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
30296 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
30297 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
30298 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
30299 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
30300 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
30301 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
30302 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
30303 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
30304
b9b42ee0
AB
303052010-07-26 Anton Blanchard <anton@samba.org>
30306
30307 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
30308 * malloc/arena.c (heap_trim): Likewise.
30309
1c06ba31
UD
303102010-08-16 Ulrich Drepper <drepper@redhat.com>
30311
30312 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
30313 here. Not...
30314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
30315 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
30316
f8392f40
L
303172010-08-12 H.J. Lu <hongjiu.lu@intel.com>
30318
30319 * sysdeps/i386/elf/Makefile: New file.
30320
3162f12e
AS
303212010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30322
30323 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
30324 from fanotify_init.
30325 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
30326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30327
28c90b2c
UD
303282010-08-15 Ulrich Drepper <drepper@redhat.com>
30329
30330 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
30331 of strncasecmp_l.
1feccb6c 30332 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 30333
ca6bb004
UD
303342010-08-14 Ulrich Drepper <drepper@redhat.com>
30335
e9f82e0d
UD
30336 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30337 strncase_l-nonascii.
30338 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30339 Add strncase_l-ssse3.
30340 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
30341 * sysdeps/x86_64/strcmp.S: Likewise.
30342 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
30343 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
30344 * sysdeps/x86_64/strncase.S: New file.
30345 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
30346 * sysdeps/x86_64/strncase_l.S: New file.
30347 * string/Makefile (strop-tests): Add strncasecmp.
30348 * string/test-strncasecmp.c: New file.
30349
30350 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
30351 warning.
30352
ca6bb004
UD
30353 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
30354 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
30355
052fa7b3
AS
303562010-08-14 Andreas Schwab <schwab@linux-m68k.org>
30357
30358 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
30359
962dba78
UD
303602010-08-12 Ulrich Drepper <drepper@redhat.com>
30361
30362 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
30363 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
30364 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
30365
bebff237
AM
303662010-05-01 Alan Modra <amodra@gmail.com>
30367
30368 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
30369 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
30370 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
30371 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
30372 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
30373 tidying. Don't tail-call __sigjmp_save for static lib.
30374 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
30375 save location.
30376 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
30377 (CALL_MCOUNT): Add eh info, and nop after bl.
30378 (TAIL_CALL_SYSCALL_ERROR): New macro.
30379 (PSEUDO_RET): Use it.
30380 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
30381 Correct save location of integer regs and cr.
30382 (_dl_profile_resolve): Correct cr save location. Delete nops
30383 after bl when SHARED. Reduce cfi size a little by better
30384 placement of cfi directives.
30385 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
30386 make a stack frame. Instead use parm save area as a temp.
30387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
30388 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
30389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
30390 Don't make a stack frame for parent, use parm save area.
30391 Increase child stack frame to 112 bytes. Don't save unused reg,
30392 and adjust reg usage. Set up cfi on error recovery and
30393 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
30394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30395 (__makecontext): Add dummy nop after jump to exit.
30396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
30397 Use correct parm save area and cr save, reduce stack frame.
30398 Correct cfi for possible PSEUDO_RET frame setup.
30399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
30400 Branch to local label emitted by PSEUDO_RET rather than
30401 __syscall_error.
30402
02637374
AS
304032010-08-12 Andreas Schwab <schwab@redhat.com>
30404
30405 [BZ #11904]
30406 * locale/programs/locale.c (print_assignment): New function.
30407 (show_locale_vars): Use it.
30408
c3e2f19b
UD
304092010-08-11 Ulrich Drepper <drepper@redhat.com>
30410
3cdaa6ad
UD
30411 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
30412 field.
30413 (struct statfs64): Likewise.
30414 (_STATFS_F_FLAGS): Define.
30415 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
30416 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30417 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
30418 (ST_VALID): Define locally.
30419 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
30420 __statvfs_getflags, use the provided value.
30421 * sysdeps/unix/sysv/linux/kernel-features.h: Define
30422 __ASSUME_STATFS_F_FLAGS.
30423
754f7da3
UD
30424 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
30425
10b3bedc
UD
30426 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
30427 Add sys/fanotify.h.
30428 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
30429 fanotify_mask for GLIBC_2.13.
30430 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
30431 fanotify_init and fanotify_mark.
30432 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
30433 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
30434
c08fb0d7
UD
30435 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
30436 Add prlimit.
30437 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
30438 prlimit64 for GLIBC_2.13.
30439 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
30440 prlimit64.
30441 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
30442 syscall.
30443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
30444 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30445 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
30446 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
30447 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
30448 add prlimit alias.
30449 * sysdeps/unix/sysv/linux/prlimit.c: New file.
30450
15bac72b
UD
30451 [BZ #11903]
30452 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
30453 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
30454
c3e2f19b
UD
30455 * nss/Makefile: Add rules to build and run tst-nss-test1.
30456 * shlib-versions: Add entry for libnss_test1.
30457 * nss/nss_test1.c: New file.
30458 * nss/tst-nss-test1.c: New file.
30459
30460 * nss/nsswitch.c (__nss_database_custom): Define new variable.
30461 (__nss_configure_lookup): Set appropriate entry in
30462 __nss_configure_lookup to true.
30463 * nss/nsswitch.h: Define enum with indeces of databases in
30464 databases and __nss_database_custom arrays. Declare
30465 __nss_database_custom.
30466 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
30467 to avoid using nscd when custom rules are installed.
30468 * nss/getXXbyYY_r.c: Likewise.
30469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30470
30471 * nss/nss_files/files-parse.c: Whitespace fixes.
30472
f15ce4d8
UD
304732010-08-09 Ulrich Drepper <drepper@redhat.com>
30474
30475 [BZ #11883]
30476 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
30477 * posix/fnmatch_loop.c: Likewise.
30478
d22e4cc9
AK
304792010-07-17 Andi Kleen <ak@linux.intel.com>
30480
30481 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
30482 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
30483 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
30484 * Versions.def [GLIBC_2.13]: Add.
30485
805bc17d
UD
304862010-08-06 Ulrich Drepper <drepper@redhat.com>
30487
30488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30489 Also fail if tpwd after pwuid call is NULL.
30490
5a42321d
ST
304912010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
30492
30493 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
30494 when converting to ms.
30495
fd3ebeda
ST
304962010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30497
30498 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
30499 EOPNOTSUPP errors with ENOTTY.
30500 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
30501 EOPNOTSUPP errors with ENOTTY.
30502
73507d3a
UD
305032010-07-31 Ulrich Drepper <drepper@redhat.com>
30504
30505 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
30506 Add strcasecmp_l-ssse3.
30507 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
30508 strcasecmp.
30509 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
30510 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
30511 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
30512
fe36dd02
UD
305132010-07-30 Ulrich Drepper <drepper@redhat.com>
30514
66f6765a
UD
30515 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
30516
42e08a54
UD
30517 * string/Makefile (strop-tests): Add strcasecmp.
30518 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
30519 strcasecmp_l-nonascii.
30520 (gen-as-const-headers): Add locale-defines.sym.
30521 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
30522 * sysdeps/x86_64/strcasecmp.S: New file.
30523 * sysdeps/x86_64/strcasecmp_l.S: New file.
30524 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
30525 * sysdeps/x86_64/locale-defines.sym: New file.
30526 * string/test-strcasecmp.c: New file.
30527
fe36dd02
UD
30528 * string/test-strcasestr.c: Test both ends of the range of characters.
30529 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
30530
48cbc0d6
RM
305312010-07-29 Roland McGrath <roland@redhat.com>
30532
76e6d6bc 30533 [BZ #11856]
48cbc0d6
RM
30534 * manual/locale.texi (Yes-or-No Questions): Fix example code.
30535
880113d9
UD
305362010-07-27 Ulrich Drepper <drepper@redhat.com>
30537
30538 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
30539 for ld.so.
30540
deb9cabb
AS
305412010-07-27 Andreas Schwab <schwab@redhat.com>
30542
30543 * manual/memory.texi (Malloc Tunable Parameters): Document
30544 M_PERTURB.
30545
1c7570ff
RM
305462010-07-26 Roland McGrath <roland@redhat.com>
30547
30548 [BZ #11840]
30549 * configure.in (-fgnu89-inline check): Set and substitute
30550 gnu89_inline, not libc_cv_gnu89_inline.
30551 * configure: Regenerated.
30552 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
30553
24fb0f88
UD
305542010-07-26 Ulrich Drepper <drepper@redhat.com>
30555
30556 * string/test-strnlen.c: New file.
30557 * string/Makefile (strop-tests): Add strnlen.
30558 * string/tester.c (test_strnlen): Add a few more test cases.
30559 * string/tst-strlen.c: Better error reporting.
30560
30561 * sysdeps/x86_64/strnlen.S: New file.
30562
8e96b93a
UD
305632010-07-24 Ulrich Drepper <drepper@redhat.com>
30564
30565 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
30566 lower-latency instructions.
30567
dbc676d4
UD
305682010-07-23 Ulrich Drepper <drepper@redhat.com>
30569
30570 * string/test-strcasestr.c: New file.
30571 * string/test-strstr.c: New file.
30572 * string/Makefile (strop-tests): Add strstr and strcasestr.
30573 * string/str-two-way.h: Don't undefine MAX.
30574 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
30575
f6a31e0e
AS
305762010-07-21 Andreas Schwab <schwab@redhat.com>
30577
30578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30579 strcasestr-nonascii.
30580 (CFLAGS-strcasestr-nonascii.c): Define.
30581 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
30582 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
30583 Remove unused attribute.
30584
5dbc3b6c
RM
305852010-07-20 Roland McGrath <roland@redhat.com>
30586
30587 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
30588 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
30589 ld.so.cache was broken. With it, there is no way to disable dsocaps
30590 like LD_HWCAP_MASK can disable hwcaps.
30591
23d101d8
EPM
305922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30593
30594 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
30595
cc9f2e47
UD
305962010-07-16 Ulrich Drepper <drepper@redhat.com>
30597
30598 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
30599 call in strcasestr.
30600 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
30601 __strcasestr_sse42_nonascii.
30602 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
30603 strcasestr-nonascii.c.
30604 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
30605
77c1b069
LM
306062010-06-15 Luis Machado <luisgpm@br.ibm.com>
30607
30608 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
30609 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
30610 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
30611 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
30612
440566c3
UD
306132010-07-09 Ulrich Drepper <drepper@redhat.com>
30614
30615 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
30616 fcntl.
30617
5be9d05d
AS
306182010-07-06 Andreas Schwab <schwab@redhat.com>
30619
c30b7ee2 30620 [BZ #11577]
5be9d05d
AS
30621 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
30622 dl_signal_cerror.
30623
8a492a67
UD
306242010-07-06 Ulrich Drepper <drepper@redhat.com>
30625
30626 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
30627 _PC_PIPE_BUF using F_GETPIPE_SZ.
30628
713df3d5
RM
306292010-07-05 Roland McGrath <roland@redhat.com>
30630
30631 * manual/arith.texi (Rounding Functions): Fix rint description
30632 implicit in round description.
30633
702e8f14
UD
306342010-07-02 Ulrich Drepper <drepper@redhat.com>
30635
30636 * elf/Makefile: Fix linking for a few tests to make recent linker
30637 happy.
30638
52ed8be9
AS
306392010-06-30 Andreas Schwab <schwab@redhat.com>
30640
30641 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30642 $(common-objpfx)libc_nonshared.a.
30643
f47c9a11
LM
306442010-06-21 Luis Machado <luisgpm@br.ibm.com>
30645
30646 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
30647 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
30648 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30649 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30650 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
30651 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
30652 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30653 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
30655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
30656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
30657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
30658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
30659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
30660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
30661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
30662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
30663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
30664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
30665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
30666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
30667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
30668 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
30669 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
30670 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
30671 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
30672 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
30673 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
30674 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
30675 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
30676 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
30677 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
30678 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
30679 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
30680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
30681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
30682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
30683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
30684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
30685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
30686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
30687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
30688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
30689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
30690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
30691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
30692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
30693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
30694
6fb8cbcb
L
306952010-06-25 H.J. Lu <hongjiu.lu@intel.com>
30696
30697 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
30698 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
30699 * string/memmove.c (memmove): Renamed to ...
30700 (MEMMOVE): ...this. Default to memmove.
30701 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
30702 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
30703 (END_CHK): Define.
30704 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30705 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
30706 mempcpy-ssse3-back memmove-ssse3-back.
30707 * sysdeps/x86_64/multiarch/bcopy.S: New file .
30708 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
30709 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
30710 * sysdeps/x86_64/multiarch/memcpy.S: New file.
30711 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
30712 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
30713 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
30714 * sysdeps/x86_64/multiarch/memmove.c: New file.
30715 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
30716 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
30717 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
30718 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
30719 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
30720 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
30721 Define.
30722 (index_Fast_Copy_Backward): Define.
30723 (HAS_ARCH_FEATURE): Define.
30724 (HAS_FAST_REP_STRING): Define.
30725 (HAS_FAST_COPY_BACKWARD): Define.
30726
4e733bac 307272010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
30728
30729 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
30730 Restore proper fallback handling.
30731
63c4ed22
UD
307322010-06-19 Ulrich Drepper <drepper@redhat.com>
30733
ac2b484c
UD
30734 [BZ #11701]
30735 * posix/group_member.c (__group_member): Correct checking loop.
30736
63c4ed22
UD
30737 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
30738 OOM in getpwuid_r correctly. Return error number when the caller
30739 should return, otherwise -1.
30740 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
30741 call returning > 0 value.
30742 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
30743
765ade4b
AS
307442010-06-07 Andreas Schwab <schwab@redhat.com>
30745
30746 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
30747 libc_nonshared.a from targets in modules-names.
30748
80da2e09
KS
307492010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
30750
30751 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
30752 requires it.
30753
158db122
LM
307542010-06-10 Luis Machado <luisgpm@br.ibm.com>
30755
30756 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
30757 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
30758 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
30759 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
30760
caa78cf8
AS
307612010-06-02 Andreas Schwab <schwab@redhat.com>
30762
30763 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
30764
b2ef2c01
UD
307652010-06-14 Ulrich Drepper <drepper@redhat.com>
30766
30767 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
30768 and F_GETPIPE_SZ.
30769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
30775
fbd643b6
RM
307762010-06-14 Roland McGrath <roland@redhat.com>
30777
30778 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
30779
f32f2869
JJ
307802010-06-07 Jakub Jelinek <jakub@redhat.com>
30781
30782 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
30783 __REDIRECT followed by __THROW.
30784 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
30785 * posix/getopt.h (getopt): Likewise.
30786
2a50c078
EPM
307872010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
30788
30789 * hurd/lookup-at.c (__file_name_lookup_at): Accept
30790 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
30791 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
30792 in AT_FLAGS.
30793 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
30794 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
30795
eb5ad2eb
LM
307962010-05-28 Luis Machado <luisgpm@br.ibm.com>
30797
30798 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
30799
3c88fe1e
L
308002010-05-26 H.J. Lu <hongjiu.lu@intel.com>
30801
30802 [BZ #11640]
30803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30804 Properly check family and model.
30805
d2f73151
TY
308062010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
30807
30808 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
30809
ebd2e13d
LM
308102010-05-24 Luis Machado <luisgpm@br.ibm.com>
30811
30812 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
30813
b32b8b45
UD
308142010-05-21 Ulrich Drepper <drepper@redhat.com>
30815
30816 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
30817 symbol reference.
30818
9acbe24d
AS
308192010-05-19 Andreas Schwab <schwab@redhat.com>
30820
30821 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
30822 symbol reference.
30823
f0ccf6ea
AS
308242010-05-21 Andreas Schwab <schwab@redhat.com>
30825
3d04ff3a
AS
30826 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
30827 and internal_recvmmsg.
30828 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
30829 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
30830 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
30831 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
30832
f0ccf6ea
AS
30833 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
30834 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30835 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30836
5b08ac57
AS
308372010-05-20 Andreas Schwab <schwab@redhat.com>
30838
30839 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
30840
4828935d
LM
308412010-05-17 Luis Machado <luisgpm@br.ibm.com>
30842
30843 POWER7 optimizations.
30844 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
30845 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
30846
373d545e
UD
308472010-05-19 Ulrich Drepper <drepper@redhat.com>
30848
30849 * version.h: Update for 2.13 development version.
30850
21a2b1ae
AS
308512010-05-12 Andrew Stubbs <ams@codesourcery.com>
30852
30853 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
30854 exceptions. Return 0.
30855
3f7dcb2b
RM
308562010-05-07 Roland McGrath <roland@redhat.com>
30857
30858 * elf/ldconfig.c (main): Add a const.
30859
5f24d53a 308602010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 30861
a160f8d8
UD
30862 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
30863 (args_options): Add no-idn option.
30864 (ahosts_keys_int): Add idn_flags to ai_flags.
30865 (parse_option): Handle 'i' option to clear idn_flags.
30866
5f24d53a
UD
30867 * malloc/malloc.c (_int_free): Possible race in the most recently
30868 added check. Only act on the data if no current modification
30869 happened.
265bb1ce
UD
30870
30871See ChangeLog.17 for earlier changes.