]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Split up rules for tests using mtrace and something else.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6e89caf1
JM
12014-02-14 Joseph Myers <joseph@codesourcery.com>
2
7f98f180
JM
3 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4 separate $(objpfx)tst-fopenloc-cmp.out and
5 $(objpfx)tst-fopenloc-mem.out targets.
6 (tests): Update dependencies.
7 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10 (tst-rxspencer-no-utf8-ARGS): New variable.
11 (tst-rxspencer-no-utf8-ENV): Likewise.
12 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13 instead of $(objpfx)tst-rxspencer-mem.
14 ($(objpfx)tst-rxspencer-mem): Change target to
15 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17 * posix/tst-rxspencer-no-utf8.c: New file.
18
6e89caf1
JM
19 * elf/Makefile ($(objpfx)order.out): Remove rule.
20 [$(run-built-tests) = yes] (tests): Depend on
21 $(objpfx)order-cmp.out.
22 ($(objpfx)order-cmp.out): New rule.
23 [$(run-built-tests) = yes] (tests): Depend on
24 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
26 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27 $(objpfx)tst-array5-static-cmp.out.
28 ($(objpfx)tst-array1.out): Remove rule.
29 ($(objpfx)tst-array1-cmp.out): New rule.
30 ($(objpfx)tst-array1-static.out): Remove rule.
31 ($(objpfx)tst-array1-static-cmp.out): New rule.
32 ($(objpfx)tst-array2.out): Remove rule.
33 ($(objpfx)tst-array2-cmp.out): New rule.
34 ($(objpfx)tst-array3.out): Remove rule.
35 ($(objpfx)tst-array3-cmp.out): New rule.
36 ($(objpfx)tst-array4.out): Remove rule.
37 ($(objpfx)tst-array4-cmp.out): New rule.
38 ($(objpfx)tst-array5.out): Remove rule.
39 ($(objpfx)tst-array5-cmp.out): New rule.
40 ($(objpfx)tst-array5-static.out): Remove rule.
41 ($(objpfx)tst-array5-static-cmp.out): New rule.
42 [$(run-built-tests) = yes] (tests): Depend on
43 $(objpfx)order2-cmp.out.
44 ($(objpfx)order2.out): Remove rule.
45 ($(objpfx)order2-cmp.out): New rule.
46 ($(objpfx)tst-initorder.out): Remove rule.
47 [$(run-built-tests) = yes] (tests): Depend on
48 $(objpfx)tst-initorder-cmp.out.
49 ($(objpfx)tst-initorder-cmp.out): New rule.
50 ($(objpfx)tst-initorder2.out): Remove rule.
51 [$(run-built-tests) = yes] (tests): Depend on
52 $(objpfx)tst-initorder2-cmp.out.
53 ($(objpfx)tst-initorder2-cmp.out): New rule.
54 [$(run-built-tests) = yes] (tests): Depend on
55 $(objpfx)tst-unused-dep-cmp.out.
56 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57 ($(objpfx)tst-unused-dep-cmp.out): New rule.
58 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
59 on $(objpfx)tst-setvbuf1-cmp.out.
60 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
61 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
62 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
63 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
64 ($(objpfx)tst-svc.out): Remove rule.
65 ($(objpfx)tst-svc-cmp.out): New rule.
66
ed9a38e2
JM
672014-02-13 Joseph Myers <joseph@codesourcery.com>
68
69 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
70 * ctype/ctype.h [__USE_MISC]: Likewise.
71 * dirent/dirent.h [__USE_MISC]: Likewise.
72 * grp/grp.h [__USE_MISC]: Likewise.
73 * io/fcntl.h [__USE_MISC]: Likewise.
74 * io/sys/stat.h [__USE_MISC]: Likewise.
75 * libio/stdio.h [__USE_MISC]: Likewise.
76 * posix/unistd.h [__USE_MISC]: Likewise.
77 * pwd/pwd.h [__USE_MISC]: Likewise.
78 * stdlib.h [__USE_MISC]: Likewise.
79 * string/bits/string2.h [__USE_MISC]: Likewise.
80 * string/string.h [__USE_MISC]: Likewise.
81 * time/time.h [__USE_MISC]: Likewise.
82
d6680619
AS
832014-02-13 Andreas Schwab <schwab@suse.de>
84
85 [BZ #16574]
86 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
87 second answer buffer if it was separately allocated.
88
ace614b8
JM
892014-02-12 Joseph Myers <joseph@codesourcery.com>
90
743151ae
JM
91 * sysdeps/mips/math-tests.h: Include <features.h>.
92 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
93 (ROUNDING_TESTS_long_double): Do not define.
94 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
95 (EXCEPTION_TESTS_long_double): Likewise.
96 * sysdeps/mips/mips64/libm-test-ulps: Update.
97
498afc54
JM
98 * include/features.h (__USE_BSD): Remove macro definitions.
99 (__USE_SVID): Likewise.
100 (_BSD_SOURCE): Likewise.
101 (_SVID_SOURCE): Likewise.
102 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
103 from definition of _DEFAULT_SOURCE.
104 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
105 [_DEFAULT_SOURCE].
106 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
107 * bits/mman.h [__USE_BSD]: Likewise.
108 * bits/termios.h [__USE_BSD]: Likewise.
109 * bits/waitstatus.h [__USE_BSD]: Likewise.
110 * ctype/ctype.h [__USE_SVID]: Likewise.
111 * dirent/dirent.h [__USE_BSD]: Likewise.
112 * grp/grp.h [__USE_SVID]: Likewise.
113 [__USE_BSD]: Likewise.
114 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
115 * io/fcntl.h [__USE_BSD]: Likewise.
116 * io/ftw.h [__USE_BSD]: Likewise.
117 * io/sys/stat.h [__USE_BSD]: Likewise.
118 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
119 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
120 * libio/stdio.h [__USE_SVID]: Likewise.
121 [__USE_BSD]: Likewise.
122 * math/math.h [__USE_SVID]: Likewise.
123 [__USE_BSD]: Likewise.
124 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
125 * misc/bits/syslog.h [__USE_BSD]: Likewise.
126 * misc/search.h [__USE_SVID]: Likewise.
127 * misc/sys/mman.h [__USE_BSD]: Likewise.
128 * misc/sys/syslog.h [__USE_BSD]: Likewise.
129 * misc/sys/uio.h [__USE_BSD]: Likewise.
130 * posix/bits/unistd.h [__USE_BSD]: Likewise.
131 * posix/glob.h [__USE_BSD]: Likewise.
132 * posix/regex.h [__USE_BSD]: Likewise.
133 * posix/sys/types.h [__USE_BSD]: Likewise.
134 [__USE_SVID]: Likewise.
135 * posix/sys/utsname.h [__USE_SVID]: Likewise.
136 * posix/sys/wait.h [__USE_BSD]: Likewise.
137 [__USE_SVID]: Likewise.
138 * posix/unistd.h [__USE_BSD]: Likewise.
139 [__USE_SVID]: Likewise.
140 * pwd/pwd.h [__USE_SVID]: Likewise.
141 * resolv/netdb.h [__USE_BSD]: Likewise.
142 * setjmp/setjmp.h [__USE_BSD]: Likewise.
143 * signal/signal.h [__USE_BSD]: Likewise.
144 [__USE_SVID]: Likewise.
145 * socket/sys/socket.h [__USE_BSD]: Likewise.
146 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
147 * stdlib/stdlib.h [__USE_BSD]: Likewise.
148 [__USE_SVID]: Likewise.
149 * string/bits/string2.h [__USE_BSD]: Likewise.
150 [__USE_SVID]: Likewise.
151 * string/bits/string3.h [__USE_BSD]: Likewise.
152 * string/endian.h [__USE_BSD]: Likewise.
153 * string/string.h [__USE_SVID]: Likewise.
154 [__USE_BSD]: Likewise.
155 * string/strings.h [__USE_BSD]: Likewise.
156 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
157 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
158 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
159 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
160 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
161 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
162 Likewise.
163 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
164 Likewise.
165 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
166 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
167 Likewise.
168 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
169 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
170 Likewise.
171 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
172 Likewise.
173 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
174 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
175 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
176 Likewise.
177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
178 Likewise.
179 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
180 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
181 * termios/termios.h [__USE_BSD]: Likewise.
182 * time/sys/time.h [__USE_BSD]: Likewise.
183 * time/time.h [__USE_BSD]: Likewise.
184 [__USE_SVID]: Likewise.
185
dd7b064c
JM
186 * Makefile (subdir_targets): Remove subdir_lint.out.
187
a2c4c199
JM
188 * stdio-common/Makefile (do-tst-unbputc): Remove target.
189 (do-tst-printf): Likewise.
190 (tests): Depend directly on $(objpfx)tst-unbputc.out and
191 $(objpfx)tst-printf.out.
192
8756f740
JM
193 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
194
1b6dd3f1
JM
195 * Makerules (check-abi-%): Change target to
196 $(objpfx)check-abi-%.out.
197 (check-abi target): Update dependencies.
198 (check-abi-pattern variable): Redirect output of diff to $@.
199 (check-abi variable): Likewise.
200 * elf/Makefile (check-abi): Update dependencies.
201
ace614b8
JM
202 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
203 unused.
204 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
205 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
206 subnormal range.
207 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
208 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
209 value has largest subnormal exponent.
210 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
211 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
212 * sysdeps/aarch64/soft-fp/sfp-machine.h
213 (_FP_TININESS_AFTER_ROUNDING): New macro.
214 * sysdeps/alpha/soft-fp/sfp-machine.h
215 (_FP_TININESS_AFTER_ROUNDING): Likewise.
216 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
217 Likewise.
218 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
219 (_FP_TININESS_AFTER_ROUNDING): Likewise.
220 * sysdeps/mips/soft-fp/sfp-machine.h
221 (_FP_TININESS_AFTER_ROUNDING): Likewise.
222 * sysdeps/powerpc/soft-fp/sfp-machine.h
223 (_FP_TININESS_AFTER_ROUNDING): Likewise.
224 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
225 Likewise.
226 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
227 (_FP_TININESS_AFTER_ROUNDING): Likewise.
228 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
229 (_FP_TININESS_AFTER_ROUNDING): Likewise.
230 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
231 Likewise.
232
fbfdf9cb
DAS
2332014-02-12 Dylan Alex Simon <dylan@dylex.net>
234
235 [BZ #16545]
236 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
237 model 1.
238
68b7efaa
RH
2392014-02-12 Richard Henderson <rth@redhat.com>
240
241 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
242 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
243 * sysdeps/unix/sysv/linux/alpha: Move directory from
244 ports/sysdeps/unix/sysv/linux/alpha.
245 * README: Update listing for alpha-*-linux-gnu.
246
cb4a2928
JM
2472014-02-11 Joseph Myers <joseph@codesourcery.com>
248
c941736c
JM
249 * include/features.h: Update comment documenting feature test
250 macros.
251 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
252 _DEFAULT_SOURCE.
253 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
254 (_SVID_SOURCE): Likewise.
255 (_DEFAULT_SOURCE): Update description of default features.
256 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
257 with _GNU_SOURCE.
258 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
259 (S_ISVTX): Likewise.
260 * manual/math.texi (Mathematical Constants): Likewise.
261 * manual/signal.texi (Interrupted Primitives): Likewise.
262 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
263 * math/test-matherr.c (_SVID_SOURCE): Do not define.
264 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
265 Don't refer to _SVID_SOURCE in warning text.
266
e8d8d7ec
JM
267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
268
cb4a2928
JM
269 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
270 already defined.
271 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
272 * sysdeps/mips/dl-lookup.c: Remove.
273 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
274
7e6424e3
AK
2752014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
276
277 [BZ #16447]
278 * math/auto-libm-test-in: Add testcase for expl.
279 * math/auto-libm-test-out: Regenerate.
280 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
281 calculation of unsafe.
282 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
283
75eff3fe
MS
2842014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
285
286 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
287 * sysdeps/unix/sysv/linux/aarch64: Move directory from
288 ports/sysdeps/unix/sysv/linux/aarch64.
289 * README: Update listing for aarch64*-*-linux-gnu.
290
d35f1e80
WN
2912014-02-11 Will Newton <will.newton@linaro.org>
292
293 * manual/probes.texi (Mathematical Function Probes): Use
294 "triggered" instead of "hit".
295
7b3436d4
WN
2962014-02-11 Will Newton <will.newton@linaro.org>
297
298 * manual/probes.texi (Internal Probes): Add documentation
299 of setjmp, longjmp and longjmp_target probes.
300
b4f12ca3
WN
3012014-02-11 Will Newton <will.newton@linaro.org>
302
303 * include/stap-probe.h: Add comment about probe argument
304 format.
305
c13a72b7
WN
3062014-02-11 Will Newton <will.newton@linaro.org>
307
308 * malloc/mtrace.c (attribute_hidden): Remove unused macro
309 definition. (tr_where, tr_freehook, tr_mallochook,
310 tr_reallochook, tr_memalignhook): Use ANSI protoype.
311
195b8165
DM
3122014-02-11 David S. Miller <davem@davemloft.net>
313
314 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
315 processing int_tests.
316
2ad7600b
JM
3172014-02-10 Joseph Myers <joseph@codesourcery.com>
318
319 * sysdeps/mips: Move directory from ports/sysdeps/mips.
320 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
321 * sysdeps/unix/sysv/linux/mips: Move directory from
322 ports/sysdeps/unix/sysv/linux/mips.
323 * README: Update listing for mips-*-linux-gnu and
324 mips64-*-linux-gnu.
325
73588a72
AS
3262014-02-10 Andreas Schwab <schwab@linux-m68k.org>
327
328 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
329 * sysdeps/unix/sysv/linux/m68k: Move directory from
330 ports/sysdeps/unix/sysv/linux/m68k.
331 * README: Update listing for m68k-*-linux-gnu.
332
4372980f
CM
3332014-02-10 Chris Metcalf <cmetcalf@tilera.com>
334
335 * sysdeps/tile: Move directory from ports/sysdeps/tile.
336 * sysdeps/unix/sysv/linux/generic: Move directory from
337 ports/sysdeps/unix/sysv/linux/generic.
338 * sysdeps/unix/sysv/linux/tile: Move directory from
339 ports/sysdeps/unix/sysv/linux/tile.
340 * README: Update listing for tile*-*-linux-gnu.
341
a1ffb40e
OB
3422014-02-10 Ondřej Bílka <neleai@seznam.cz>
343
344 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
345 * benchtests/bench-memmem.c (simple_memmem): Likewise.
346 * catgets/open_catalog.c (__open_catalog): Likewise.
347 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
348 * debug/confstr_chk.c: Likewise.
349 * debug/fread_chk.c (__fread_chk): Likewise.
350 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
351 * debug/getgroups_chk.c: Likewise.
352 * debug/mbsnrtowcs_chk.c: Likewise.
353 * debug/mbsrtowcs_chk.c: Likewise.
354 * debug/mbstowcs_chk.c: Likewise.
355 * debug/memcpy_chk.c: Likewise.
356 * debug/memmove_chk.c: Likewise.
357 * debug/mempcpy_chk.c: Likewise.
358 * debug/memset_chk.c: Likewise.
359 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
360 * debug/strcat_chk.c (__strcat_chk): Likewise.
361 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
362 * debug/strncat_chk.c (__strncat_chk): Likewise.
363 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
364 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
365 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
366 * debug/wcpncpy_chk.c: Likewise.
367 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
368 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
369 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
370 * debug/wcsncpy_chk.c: Likewise.
371 * debug/wcsnrtombs_chk.c: Likewise.
372 * debug/wcsrtombs_chk.c: Likewise.
373 * debug/wcstombs_chk.c: Likewise.
374 * debug/wmemcpy_chk.c: Likewise.
375 * debug/wmemmove_chk.c: Likewise.
376 * debug/wmempcpy_chk.c: Likewise.
377 * debug/wmemset_chk.c: Likewise.
378 * dirent/scandirat.c (SCANDIRAT): Likewise.
379 * dlfcn/dladdr1.c (dladdr1): Likewise.
380 * dlfcn/dladdr.c (dladdr): Likewise.
381 * dlfcn/dlclose.c (dlclose_doit): Likewise.
382 * dlfcn/dlerror.c (__dlerror): Likewise.
383 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
384 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
385 * dlfcn/dlopen.c (dlopen_doit): Likewise.
386 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
387 * dlfcn/dlsym.c (dlsym_doit): Likewise.
388 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
389 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
390 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
391 Likewise.
392 * elf/dl-conflict.c: Likewise.
393 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
394 * elf/dl-dst.h: Likewise.
395 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
396 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
397 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
398 * elf/dl-init.c (call_init, _dl_init): Likewise.
399 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
400 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
401 _dl_map_object_from_fd, open_verify, open_path,
402 _dl_map_object): Likewise.
403 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
404 Likewise.
405 * elf/dl-minimal.c (__libc_memalign): Likewise.
406 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
407 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
408 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
409 * elf/dl-sym.c (do_sym): Likewise.
410 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
411 _dl_tls_get_addr_soft): Likewise.
412 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
413 * elf/dl-writev.h (_dl_writev): Likewise.
414 * elf/ldconfig.c (search_dir): Likewise.
415 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
416 dl_main): Likewise.
417 * elf/setup-vdso.h (setup_vdso): Likewise.
418 * grp/compat-initgroups.c (compat_call): Likewise.
419 * grp/fgetgrent.c (fgetgrent): Likewise.
420 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
421 * grp/putgrent.c (putgrent): Likewise.
422 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
423 Likewise.
424 * hurd/hurdinit.c: Likewise.
425 * iconvdata/8bit-gap.c (struct): Likewise.
426 * iconvdata/ansi_x3.110.c : Likewise.
427 * iconvdata/big5.c : Likewise.
428 * iconvdata/big5hkscs.c : Likewise.
429 * iconvdata/cp1255.c: Likewise.
430 * iconvdata/cp1258.c : Likewise.
431 * iconvdata/cp932.c : Likewise.
432 * iconvdata/euc-cn.c: Likewise.
433 * iconvdata/euc-jisx0213.c : Likewise.
434 * iconvdata/euc-jp.c: Likewise.
435 * iconvdata/euc-jp-ms.c : Likewise.
436 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
437 * iconvdata/gb18030.c : Likewise.
438 * iconvdata/gbbig5.c (const): Likewise.
439 * iconvdata/gbgbk.c: Likewise.
440 * iconvdata/gbk.c : Likewise.
441 * iconvdata/ibm1364.c : Likewise.
442 * iconvdata/ibm930.c : Likewise.
443 * iconvdata/ibm932.c: Likewise.
444 * iconvdata/ibm933.c : Likewise.
445 * iconvdata/ibm935.c : Likewise.
446 * iconvdata/ibm937.c : Likewise.
447 * iconvdata/ibm939.c : Likewise.
448 * iconvdata/ibm943.c: Likewise.
449 * iconvdata/iso_11548-1.c: Likewise.
450 * iconvdata/iso-2022-cn.c : Likewise.
451 * iconvdata/iso-2022-cn-ext.c : Likewise.
452 * iconvdata/iso-2022-jp-3.c: Likewise.
453 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
454 * iconvdata/iso-2022-kr.c : Likewise.
455 * iconvdata/iso646.c (gconv_end): Likewise.
456 * iconvdata/iso_6937-2.c : Likewise.
457 * iconvdata/iso_6937.c : Likewise.
458 * iconvdata/iso8859-1.c: Likewise.
459 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
460 * iconvdata/shift_jisx0213.c : Likewise.
461 * iconvdata/sjis.c : Likewise.
462 * iconvdata/t.61.c : Likewise.
463 * iconvdata/tcvn5712-1.c : Likewise.
464 * iconvdata/tscii.c: Likewise.
465 * iconvdata/uhc.c : Likewise.
466 * iconvdata/unicode.c (gconv_end): Likewise.
467 * iconvdata/utf-16.c (gconv_end): Likewise.
468 * iconvdata/utf-32.c (gconv_end): Likewise.
469 * iconvdata/utf-7.c (base64): Likewise.
470 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
471 * iconv/gconv_close.c (__gconv_close): Likewise.
472 * iconv/gconv_open.c (__gconv_open): Likewise.
473 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
474 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
475 internal_ucs4le_loop_single, ucs4le_internal_loop,
476 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
477 * iconv/iconv.c (iconv): Likewise.
478 * iconv/iconv_close.c: Likewise.
479 * iconv/loop.c (SINGLE): Likewise.
480 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
481 * include/atomic.h: Likewise.
482 * inet/inet6_option.c (option_alloc): Likewise.
483 * intl/bindtextdom.c (set_binding_values): Likewise.
484 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
485 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
486 * intl/localealias.c (read_alias_file): Likewise.
487 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
488 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
489 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
490 * libio/fmemopen.c (fmemopen): Likewise.
491 * libio/iofgets.c (_IO_fgets): Likewise.
492 * libio/iofgets_u.c (fgets_unlocked): Likewise.
493 * libio/iofgetws.c (fgetws): Likewise.
494 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
495 * libio/iogetdelim.c (_IO_getdelim): Likewise.
496 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
497 adjust_wide_data, _IO_wfile_seekoff): Likewise.
498 * locale/findlocale.c (_nl_find_locale): Likewise.
499 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
500 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
501 Likewise.
502 * locale/setlocale.c (setlocale): Likewise.
503 * login/programs/pt_chown.c (main): Likewise.
504 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
505 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
506 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
507 mmap, mmap64, mremap, munmap): Likewise.
508 * math/e_exp2l.c: Likewise.
509 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
510 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
511 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
512 * math/s_catan.c (__catan): Likewise.
513 * math/s_catanf.c (__catanf): Likewise.
514 * math/s_catanh.c (__catanh): Likewise.
515 * math/s_catanhf.c (__catanhf): Likewise.
516 * math/s_catanhl.c (__catanhl): Likewise.
517 * math/s_catanl.c (__catanl): Likewise.
518 * math/s_ccosh.c (__ccosh): Likewise.
519 * math/s_ccoshf.c (__ccoshf): Likewise.
520 * math/s_ccoshl.c (__ccoshl): Likewise.
521 * math/s_cexp.c (__cexp): Likewise.
522 * math/s_cexpf.c (__cexpf): Likewise.
523 * math/s_cexpl.c (__cexpl): Likewise.
524 * math/s_clog10.c (__clog10): Likewise.
525 * math/s_clog10f.c (__clog10f): Likewise.
526 * math/s_clog10l.c (__clog10l): Likewise.
527 * math/s_clog.c (__clog): Likewise.
528 * math/s_clogf.c (__clogf): Likewise.
529 * math/s_clogl.c (__clogl): Likewise.
530 * math/s_csin.c (__csin): Likewise.
531 * math/s_csinf.c (__csinf): Likewise.
532 * math/s_csinh.c (__csinh): Likewise.
533 * math/s_csinhf.c (__csinhf): Likewise.
534 * math/s_csinhl.c (__csinhl): Likewise.
535 * math/s_csinl.c (__csinl): Likewise.
536 * math/s_csqrt.c (__csqrt): Likewise.
537 * math/s_csqrtf.c (__csqrtf): Likewise.
538 * math/s_csqrtl.c (__csqrtl): Likewise.
539 * math/s_ctan.c (__ctan): Likewise.
540 * math/s_ctanf.c (__ctanf): Likewise.
541 * math/s_ctanh.c (__ctanh): Likewise.
542 * math/s_ctanhf.c (__ctanhf): Likewise.
543 * math/s_ctanhl.c (__ctanhl): Likewise.
544 * math/s_ctanl.c (__ctanl): Likewise.
545 * math/w_pow.c: Likewise.
546 * math/w_powf.c: Likewise.
547 * math/w_powl.c: Likewise.
548 * math/w_scalb.c (sysv_scalb): Likewise.
549 * math/w_scalbf.c (sysv_scalbf): Likewise.
550 * math/w_scalbl.c (sysv_scalbl): Likewise.
551 * misc/error.c (error_tail): Likewise.
552 * misc/pselect.c (__pselect): Likewise.
553 * nis/nis_callback.c (__nis_create_callback): Likewise.
554 * nis/nis_call.c (__nisfind_server): Likewise.
555 * nis/nis_creategroup.c (nis_creategroup): Likewise.
556 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
557 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
558 * nis/nis_getservlist.c (nis_getservlist): Likewise.
559 * nis/nis_lookup.c (nis_lookup): Likewise.
560 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
561 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
562 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
563 * nis/nis_xdr.c (xdr_endpoint): Likewise.
564 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
565 internal_getgrgid_r): Likewise.
566 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
567 Likewise.
568 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
569 internal_getpwuid_r): Likewise.
570 * nis/nss_compat/compat-spwd.c (getspent_next_file,
571 internal_getspnam_r): Likewise.
572 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
573 _nss_nis_getaliasbyname_r): Likewise.
574 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
575 _nss_nis_getntohost_r): Likewise.
576 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
577 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
578 Likewise.
579 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
580 internal_nis_gethostent_r, internal_gethostbyname2_r,
581 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
582 _nss_nis_gethostbyname4_r): Likewise.
583 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
584 initgroups_netid): Likewise.
585 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
586 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
587 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
588 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
589 _nss_nis_getprotobynumber_r): Likewise.
590 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
591 _nss_nis_getsecretkey): Likewise.
592 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
593 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
594 Likewise.
595 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
596 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
597 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
598 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
599 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
600 _nss_nis_getspnam_r): Likewise.
601 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
602 Likewise.
603 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
604 _nss_nisplus_getntohost_r): Likewise.
605 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
606 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
607 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
608 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
609 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
610 Likewise.
611 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
612 _nss_nisplus_getnetbyaddr_r): Likewise.
613 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
614 _nss_nisplus_getprotobynumber_r): Likewise.
615 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
616 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
617 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
618 Likewise.
619 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
620 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
621 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
622 _nss_nisplus_getspnam_r): Likewise.
623 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
624 * nscd/aicache.c (addhstaiX): Likewise.
625 * nscd/cache.c (cache_search, prune_cache): Likewise.
626 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
627 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
628 * nscd/grpcache.c (addgrbyX): Likewise.
629 * nscd/hstcache.c (addhstbyX): Likewise.
630 * nscd/initgrcache.c (addinitgroupsX): Likewise.
631 * nscd/mem.c (gc, mempool_alloc): Likewise.
632 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
633 Likewise.
634 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
635 Likewise.
636 * nscd/nscd_getai.c (__nscd_getai): Likewise.
637 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
638 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
639 Likewise.
640 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
641 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
642 * nscd/nscd_helper.c (__readvall, open_socket,
643 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
644 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
645 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
646 * nscd/pwdcache.c (addpwbyX): Likewise.
647 * nscd/selinux.c (preserve_capabilities): Likewise.
648 * nscd/servicescache.c (addservbyX): Likewise.
649 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
650 * posix/fnmatch.c (fnmatch): Likewise.
651 * posix/getopt.c (_getopt_internal_r): Likewise.
652 * posix/glob.c (glob, glob_in_dir): Likewise.
653 * posix/wordexp.c (exec_comm_child): Likewise.
654 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
655 gaih_getanswer_slice): Likewise.
656 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
657 * resolv/res_init.c: Likewise.
658 * resolv/res_mkquery.c (res_nmkquery): Likewise.
659 * resolv/res_query.c (__libc_res_nquery): Likewise.
660 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
661 Likewise.
662 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
663 * stdio-common/perror.c (perror): Likewise.
664 * stdio-common/printf_fp.c (___printf_fp): Likewise.
665 * stdio-common/tmpnam.c (tmpnam): Likewise.
666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
667 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
668 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
669 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
670 * stdlib/putenv.c (putenv): Likewise.
671 * stdlib/setenv.c (__add_to_environ): Likewise.
672 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
673 * stdlib/strtol_l.c (INTERNAL): Likewise.
674 * string/memmem.c (memmem): Likewise.
675 * string/strerror.c (strerror): Likewise.
676 * string/strnlen.c (__strnlen): Likewise.
677 * string/test-memmem.c (simple_memmem): Likewise.
678 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
679 * sunrpc/pm_getport.c (__get_socket): Likewise.
680 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
681 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
682 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
683 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
684 Likewise.
685 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
687 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
688 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
690 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
692 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
693 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
694 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
695 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
696 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
698 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
699 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
700 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
701 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
702 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
703 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
704 Likewise.
705 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
706 Likewise.
707 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
708 Likewise.
709 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
711 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
712 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
713 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
714 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
715 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
717 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
718 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
719 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
721 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
722 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
724 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
725 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
726 Likewise.
727 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
728 Likewise.
729 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
730 Likewise.
731 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
732 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
733 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
734 Likewise.
735 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
736 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
737 * sysdeps/posix/opendir.c (__opendirat): Likewise.
738 * sysdeps/posix/sleep.c: Likewise.
739 * sysdeps/posix/tempname.c: Likewise.
740 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
741 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
742 Likewise.
743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
744 elf_machine_rela): Likewise.
745 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
747 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
748 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
749 Likewise.
750 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
751 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
752 elf_machine_rela, elf_machine_lazy_rel): Likewise.
753 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
754 elf_machine_rela, elf_machine_lazy_rel): Likewise.
755 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
756 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
757 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
759 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
761 elf_machine_lazy_rel): Likewise.
762 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
764 elf_machine_lazy_rel): Likewise.
765 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
766 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
767 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
768 * sysdeps/unix/grantpt.c (grantpt): Likewise.
769 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
770 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
771 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
773 Likewise.
774 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
775 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
776 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
777 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
778 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
779 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
780 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
781 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
782 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
783 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
784 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
785 Likewise.
786 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
787 (__posix_fallocate64_l64): Likewise.
788 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
789 (posix_fallocate): Likewise.
790 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
791 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
792 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
793 getifaddrs_internal): Likewise.
794 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
795 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
796 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
797 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
798 * sysdeps/unix/sysv/linux/posix_fallocate64.c
799 (__posix_fallocate64_l64): Likewise.
800 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
801 Likewise.
802 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
803 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
804 Likewise.
805 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
806 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
807 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
809 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
810 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
811 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
812 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
813 Likewise.
814 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
815 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
816 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
817 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
818 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
819 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
820 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
821 Likewise.
822 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
823 (posix_fallocate): Likewise.
824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
825 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
826 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
827 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
828 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
829 Likewise.
830 * time/asctime.c (asctime_internal): Likewise.
831 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
832 * time/tzset.c (__tzset_parse_tz): Likewise.
833 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
834 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
835 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
836 * wcsmbs/wcsmbsload.h: Likewise.
837
f3d338c9
OB
8382014-02-10 Ondřej Bílka <neleai@seznam.cz>
839
840 [BZ #15894]
841 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
842
bdfe308a
OB
8432014-02-10 Ondřej Bílka <neleai@seznam.cz>
844
845 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
846 arena_get2): Remove THREAD_STATS conditionals.
847 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
848 __malloc_stats, int): Likewise.
849
d674667c
MF
8502014-02-08 Mike Frysinger <vapier@gentoo.org>
851
852 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
853 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
854
6349768c
MF
8552014-02-08 Mike Frysinger <vapier@gentoo.org>
856
857 * manual/setjmp.texi: Fix typos/grammar errors.
858
0b7c7473
MF
8592014-02-08 Mike Frysinger <vapier@gentoo.org>
860
861 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
862 Only return early when n is <= 0. Delete unused return statement.
863
ac8cc9e3
MF
8642014-02-08 Mike Frysinger <vapier@gentoo.org>
865
866 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
867 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
868 * debug/tst-longjmp_chk3.c: New file.
869
c5bb8e23
MF
8702014-02-08 Mike Frysinger <vapier@gentoo.org>
871
872 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
873 (test_main): Replace code with set_fortify_handler call.
874 * debug/test-strcpy_chk.c: Likewise.
875 * debug/tst-chk1.c: Likewise.
876 * debug/tst-longjmp_chk.c: Likewise.
877 * test-skeleton.c: Include fcntl.h & paths.h
878 (set_fortify_handler): Define.
879
10444e42
MF
8802014-02-08 Mike Frysinger <vapier@gentoo.org>
881
882 * debug/tst-longjmp_chk.c: Add header comment and include
883 ../test-skeleton.c.
884 (do_test): Mark static.
885 (TEST_FUNCTION): Define.
886
1e805e8d
MF
8872014-02-08 Mike Frysinger <vapier@gentoo.org>
888
889 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
890 (IP_PMTUDISC_INTERFACE): Likewise.
891 (IP_MULTICAST_IF): Likewise.
892 (IP_MULTICAST_TTL): Likewise.
893 (IP_MULTICAST_LOOP): Likewise.
894 (IP_ADD_MEMBERSHIP): Likewise.
895 (IP_DROP_MEMBERSHIP): Likewise.
896 (IP_UNBLOCK_SOURCE): Likewise.
897 (IP_BLOCK_SOURCE): Likewise.
898 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
899 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
900 (IP_MSFILTER): Likewise.
901 (MCAST_JOIN_GROUP): Likewise.
902 (MCAST_BLOCK_SOURCE): Likewise.
903 (MCAST_UNBLOCK_SOURCE): Likewise.
904 (MCAST_LEAVE_GROUP): Likewise.
905 (MCAST_JOIN_SOURCE_GROUP): Likewise.
906 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
907 (MCAST_MSFILTER): Likewise.
908 (IP_MULTICAST_ALL): Likewise.
909 (IP_UNICAST_IF): Likewise.
910
73f79bb7
MF
9112014-02-08 Mike Frysinger <vapier@gentoo.org>
912
913 * timezone/Makefile: Delete $(have-ksh) check.
914 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
915 * timezone/tzselect.ksh: Add +x mode bits.
916
8da79b60
MF
9172014-02-08 Mike Frysinger <vapier@gentoo.org>
918
919 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
920 (ANON_INODE_FS_MAGIC): Likewise.
921 (BDEVFS_MAGIC): Likewise.
922 (BINFMTFS_MAGIC): Likewise.
923 (BTRFS_TEST_MAGIC): Likewise.
924 (CRAMFS_MAGIC_WEND): Likewise.
925 (DEBUGFS_MAGIC): Likewise.
926 (ECRYPTFS_SUPER_MAGIC): Likewise.
927 (EXT3_SUPER_MAGIC): Likewise.
928 (EXT4_SUPER_MAGIC): Likewise.
929 (FUTEXFS_SUPER_MAGIC): Likewise.
930 (HOSTFS_SUPER_MAGIC): Likewise.
931 (HUGETLBFS_MAGIC): Likewise.
932 (MINIX3_SUPER_MAGIC): Likewise.
933 (MTD_INODE_FS_MAGIC): Likewise.
934 (NILFS_SUPER_MAGIC): Likewise.
935 (OPENPROM_SUPER_MAGIC): Likewise.
936 (PIPEFS_MAGIC): Likewise.
937 (PSTOREFS_MAGIC): Likewise.
938 (QNX6_SUPER_MAGIC): Likewise.
939 (RAMFS_MAGIC): Likewise.
940 (REISERFS_SUPER_MAGIC_STRING): Likewise.
941 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
942 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
943 (SECURITYFS_MAGIC): Likewise.
944 (SELINUX_MAGIC): Likewise.
945 (SMACK_MAGIC): Likewise.
946 (SOCKFS_MAGIC): Likewise.
947 (SQUASHFS_MAGIC): Likewise.
948 (STACK_END_MAGIC): Likewise.
949 (TMPFS_MAGIC): Likewise.
950 (USBDEVICE_SUPER_MAGIC): Likewise.
951 (V9FS_MAGIC): Likewise.
952 (XENFS_SUPER_MAGIC): Likewise.
953 (CRAMFS_MAGIC): Fix typo in comment.
954 (EXT2_SUPER_MAGIC): Update comment.
955 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
956
464263cc
JM
9572014-02-08 Joseph Myers <joseph@codesourcery.com>
958
c6bfe5c4
JM
959 * sysdeps/arm: Move directory from ports/sysdeps/arm.
960 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
961 * sysdeps/unix/sysv/linux/arm: Move directory from
962 ports/sysdeps/unix/sysv/linux/arm.
963 * README: Update listing for arm-*-linux-gnueabi.
964
464263cc
JM
965 * README: Remove mention of am33.
966
32749f6c
RM
9672014-02-07 Roland McGrath <roland@hack.frob.com>
968
969 * bits/sigset.h (__sigemptyset): Use a statement expression rather
970 than the comma operator, to avoid "rhs of comma has no effect"
971 compiler warnings.
972 (__sigfillset, __sigandset, __sigorset): Likewise.
973 * include/signal.h (__sigemptyset): Likewise.
974 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
975
d5b396c1
AM
9762014-02-07 Allan McRae <allan@archlinux.org>
977
978 * version.h (RELEASE): Set to "development".
979 (VERSION): Set to "2.19.90"
980 * NEWS: Add 2.20 section.
981
3bfff2ed
CD
9822014-02-06 Carlos O'Donell <carlos@redhat.com>
983
984 [BZ #16529]
985 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
986
ee7cc385
SP
9872014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
988
989 * manual/contrib.texi: Update entry for Carlos O'Donell,
990 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
991
f877c4f2
CD
9922014-02-05 Carlos O'Donell <carlos@rehdat.com>
993
27e839f6
CD
994 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
995
f877c4f2
CD
996 * sysdeps/unix/sysv/linux/kernel-features.h
997 [__LINUX_KERNEL_VERSION >= 0x020621]
998 (__ASSUME_PROC_PID_TASK_COMM): Define.
999
68159946
SP
10002014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1001
1002 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1003 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1004 Leonard and Allan McRae.
1005
2b528732
DM
10062014-02-04 David S. Miller <davem@davemloft.net>
1007
1008 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1009 32-bit.
1010
0ff82463
AZ
10112014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012
c01603f7
AZ
1013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1014 file
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1016 New file
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1018 file.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1020 file.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1022 New file.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1024 file.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1026 file.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1028 New file.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1030 New file.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1032 New file.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1034 New file.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1036 New file.
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1038 New file.
1039
10402014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1041
0ff82463
AZ
1042 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1043 * shlib-versions: Likewise.
1044
1695c773
AZ
10452014-02-04 Roland McGrath <roland@hack.frob.com>
1046 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1047
1048 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1049 (abilist-pattern): New variable, set to %-le.abilist.
1050
1051 * Makerules (abilist-pattern): New variable.
1052 (vpath): Use $(abilist-pattern) in place of %.abilist.
1053 (check-abi-% pattern rule): Likewise.
1054 (check-abi, update-abi): Likewise.
1055
6c0ce4b4
EW
10562014-02-04 Eric Wong <normalperson@yhbt.net>
1057
1058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1059
dc98b8f5
EW
10602014-02-04 Eric Wong <normalperson@yhbt.net>
1061
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1063
481e3524
CD
10642014-02-03 Carlos O'Donell <carlos@redhat.com>
1065
1066 * manual/startup.texi: Add next, previous, and top entries for
1067 the `Program Arguments' and `Environment Variables' nodes.
1068
375592d3
AO
10692014-02-03 Alexandre Oliva <aoliva@redhat.com>
1070
1071 * manual/macros.texi: Add comments before MTASC-safety macros.
1072
f54838ba
AO
1073 * manual/users.texi: Document MTASC-safety properties.
1074
909e12ad
AO
1075 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1076 pthread_getspecific, pthread_setspecific): Format with
1077 @deftypefun, and add @safety note.
1078 * manual/signal.texi: Move comments that analyze the above
1079 functions to their home place.
1080
fd3daba4
AM
10812014-02-03 Allan McRae <allan@archlinux.org>
1082
1083 * po/sl.po: Update Slovenian translation from translation project.
1084
597636d7
AO
10852014-02-02 Alexandre Oliva <aoliva@redhat.com>
1086
1087 * manual/time.texi (timegm): Add missing blank after @c.
1088 Reported by Joseph Myers <joseph@codesourcery.com>.
1089
ee196e3c
AO
10902014-02-01 Alexandre Oliva <aoliva@redhat.com>
1091
1092 * manual/check-safety.sh: New.
1093 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1094
f8d529d5
AO
1095 * manual/terminal.texi: Document MTASC-safety properties.
1096
de55fdf4
AO
1097 * manual/filesys.texi: Document MTASC-safety properties.
1098
c3299c08
AO
1099 * manual/errno.texi: Document MTASC-safety properties.
1100
06e90b14
AO
1101 * manual/intro.texi: Document safety identifiers and
1102 conditionals.
1103
1acd4371
AO
1104 * manual/string.texi (wcstok): Fix prototype.
1105 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1106
23e5b8cb
AO
1107 * manual/time.texi: Document MTASC-safety properties.
1108
11087373
AO
1109 * manual/string.texi: Document MTASC-safety properties.
1110
5da2c93d
AO
1111 * manual/threads.texi: Document MTASC-safety properties.
1112
171e9210
AO
1113 * manual/stdio.texi: Document MTASC-safety properties.
1114
d9e02532
AO
1115 * manual/syslog.texi: Document MTASC-safety properties.
1116
6af8bab7
AO
1117 * manual/sysinfo.texi: Document MTASC-safety properties.
1118
663b02d7
AO
1119 * manual/startup.texi: Document MTASC-safety properties.
1120
973f180b
AO
1121 * manual/socket.texi: Document MTASC-safety properties.
1122
8f3c25c8
AO
1123 * manual/signal.texi: Document MTASC-safety properties.
1124
542210fb
AO
11252014-01-31 Alexandre Oliva <aoliva@redhat.com>
1126
1127 * manual/setjmp.texi: Document MTASC-safety properties.
1128
433c45a2
AO
1129 * manual/search.texi: Document MTASC-safety properties.
1130
c8ce789c
AO
1131 * manual/resource.texi: Document MTASC-safety properties.
1132
19f5d29c
AO
1133 * manual/process.texi: Document MTASC-safety properties.
1134
e2dfb7f4
AO
1135 * manual/platform.texi: Document MTASC-safety properties.
1136
8c1413f5
AO
1137 * manual/pipe.texi: Document MTASC-safety properties.
1138
03483ada
AO
1139 * manual/pattern.texi: Document MTASC-safety properties.
1140
29e7e2df
AO
1141 * manual/message.texi: Document MTASC-safety properties.
1142
9f529d7c
AO
1143 [BZ #12751]
1144 * manual/memory.texi: Document MTASC-safety properties.
1145
27aaa791
AO
1146 * manual/math.texi: Document MTASC-safety properties.
1147
f2d58726
AO
1148 * manual/locale.texi: Document MTASC-safety properties.
1149
2cc3615c
AO
1150 * manual/llio.texi: Document MTASC-safety properties.
1151
d9f0ec97
AO
1152 * manual/libdl.texi: New.
1153
e7c4409a
AO
1154 * manual/lang.texi: Document MTASC-safety properties.
1155
27bdc63c
AO
1156 * manual/job.texi: Document MTASC-safety properties.
1157
a7b90ea9
AO
1158 * manual/getopt.texi: Document MTASC-safety properties.
1159
c49130e3
AO
1160 * manual/ctype.texi: Document MTASC-safety properties.
1161
0d23a5c1
MR
11622014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1163
1164 [BZ #16046]
1165 * csu/libc-tls.c (static_map): Remove variable.
1166 (__libc_setup_tls): Use main executable's link map for TLS data.
1167 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1168 casing for LM_ID_BASE and GL(dl_nns).
1169 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1170 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1171 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1172 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1173 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1174 member.
1175 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1176 l_phnum members.
1177
0037bb60
AO
11782014-01-30 Alexandre Oliva <aoliva@redhat.com>
1179
1180 * manual/debug.texi: Document MTASC-safety properties.
1181
409e00bd
L
11822014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 [BZ #16510]
1185 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1186 of __x86_64__ when disabling x87 inline functions.
1187
86e60666
AO
11882014-01-29 Alexandre Oliva <aoliva@redhat.com>
1189
1190 * manual/charset.texi: Document MTASC-safety properties.
1191
76167637
AO
1192 * manual/crypt.texi: Document MTASC-safety properties.
1193
e567f2a0
AO
1194 * manual/conf.texi: Document MTASC-safety properties.
1195
b719dafd
AO
1196 * manual/arith.texi: Document MTASC-safety properties.
1197
4a16c662
AO
1198 * manual/argp.texi: Document MTASC-safety properties.
1199
0a57b83e
AO
1200 * manual/macros.texi: Introduce macros to document multi
1201 thread, asynchronous signal and asynchronous cancellation
1202 safety properties.
1203 * manual/intro.texi: Introduce the properties themselves.
1204
feab2397
KK
12052014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1206
1207 * sysdeps/sh/sh4/Makefile: New file.
1208
1c0d11bc
AS
12092014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1210
1211 * math/gen-libm-test.pl ($srcdir): New variable.
1212 ($auto_input): Use it.
1213
af37a8a3
SP
12142014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1215
d7b00f98
SP
1216 [BZ #16506]
1217 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1218 access beyond array bounds when parsing netgroups file.
1219
af37a8a3
SP
1220 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1221 the old buffer before realloc.
1222
0c00f062
AM
12232014-01-27 Allan McRae <allan@archlinux.org>
1224
1225 * po/fr.po: Update French translation from translation project.
1226
7d69a1b0
KK
12272014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1228
1229 * sysdeps/sh/libm-test-ulps: Regenerate.
1230
6e697ff7
DM
12312014-01-24 David S. Miller <davem@davemloft.net>
1232
1233 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1234
9cadb35c
KK
12352014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1236
1237 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1238 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1239
5d41dadf
SP
12402013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1241
1242 [BZ #16474]
1243 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1244 string pointers after reallocation.
1245
0bad441c
KK
12462014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1247
1248 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1249 __SH4A__ instead of __SH_FPU_ANY__.
1250
7007c661
KK
12512014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1252
1253 * sysdeps/sh/fpu_control.h: New file.
1254 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1255 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1256 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1257 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1258 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1259 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1260 * sysdeps/sh/sys/ucontext.h: Remove.
1261 * sysdeps/sh/sys: Remove directory.
1262
0f0c35e4
AK
12632014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1264
1265 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1266 s390/sys/ucontext.h.
1267 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1268 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1269
4959e284
L
12702014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 [BZ #15605]
1273 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1274
d98720e0
AZ
12752014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276
1277 [BZ#16431]
1278 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1279 Adjust the vDSO correctly for internal calls.
1280 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1281
91cbd0bc
AM
12822014-01-20 Allan McRae <allan@archlinux.org>
1283
1284 * po/ca.po: Update Catalan translation from translation project.
1285
7a02cfad
MF
12862014-01-16 Mike Frysinger <vapier@gentoo.org>
1287
1288 * sysdeps/s390/sotruss-lib.c: New file.
1289
736c304a
AZ
12902014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291
1292 [BZ#16430]
6e077ee5 1293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1294 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1295 local calls issues by not having a PLT stub required for IFUNC calls.
1296 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1297
94d0cea0
JM
12982014-01-16 Joseph Myers <joseph@codesourcery.com>
1299
1300 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1301 * math/test-fpucw-static.c: Likewise.
1302
980cb518
SP
13032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1304
1305 [BZ #16453]
1306 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1307
2393fc01
AZ
13082014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1309
1310 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1311 implementation for powerpc.
1312
d359bcc2
OB
13132014-01-15 Ondřej Bílka <neleai@seznam.cz>
1314
1315 [BZ #14782]
1316 * sysdeps/posix/system.c (__libc_system): Do not enable
1317 asynchronous cancellation.
1318
7beb48cb
AK
13192014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1320
1321 [BZ #16427]
1322 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1323 handling only for numbers special also in the IEEE case.
1324
c20d5bf5
AK
13252014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1326
1327 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1328
e83bd4ee
AM
13292014-01-11 Allan McRae <allan@archlinux.org>
1330
76d0ea69
AM
1331 * po/bg.po: Update Bulgarian translation from translation project.
1332
e83bd4ee
AM
1333 * po/de.po: Update German translation from translation project.
1334
bc2ba20a
RM
13352014-01-10 Roland McGrath <roland@hack.frob.com>
1336
1337 * sysdeps/generic/gcc-compat.h: New file.
1338
649ecea2
SP
13392014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1340
1341 * benchtests/asin-inputs: Correct slow inputs.
1342 * benchtests/acos-inputs: Likewise.
1343
1b19c006
AM
13442014-01-10 Allan McRae <allan@archlinux.org>
1345
a46dab08
AM
1346 * po:sv.po: Update Swedish translation from translation project.
1347
421df74a
AM
1348 * po/vi.po: Update Vietnamese translation from translation project.
1349
d61c51a7
AM
1350 * po/eo.po: Update Esperanto translation from translation project.
1351
0339a319
AM
1352 * po/cs.po: Update Czech translation from translation project.
1353
94ad3e99
AM
1354 * po/nl.po: Update Dutch translation from translation project.
1355
e349ca71
AM
1356 * po/pl.po: Update Polish translation from translation project.
1357
ddf930c1
AM
1358 * po/ru.po: Update Russian translation from translation project.
1359
1b19c006
AM
1360 * po/uk.po: Update Ukrainian translation from translation project.
1361
9f236c49
BM
13622014-01-08 Brooks Moses <bmoses@google.com>
1363
1364 * elf/dl-load.c: Fix comment typo.
1365
cd6701cf
CD
13662014-01-08 Carlos O'Donell <carlos@redhat.com>
1367
1368 * po/header.pot: Rename to...
1369 * po/pot.header: ... this.
1370 * po/Makefile: Use pot.header.
1371
66671c84
YK
13722014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1373 Maxim Kuvyrkov <maxim@kugelworks.com>
1374
1375 [BZ #16394]
cd6701cf
CD
1376 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1377 SRC and DEST against LEN.
66671c84 1378
38f34581
AZ
13792014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1380
1381 [BZ #16414]
1382 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1383 implementation.
1384 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1385
13862014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1387
1388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1389
4c327f2a
JM
13902014-01-08 Joseph Myers <joseph@codesourcery.com>
1391
1392 [BZ #16408]
1393 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1394 for large positive arguments.
1395
b821f414
JM
13962014-01-07 Joseph Myers <joseph@codesourcery.com>
1397
1f0f2067
JM
1398 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1399
a5a326f6
JM
1400 * math/auto-libm-test-in: Mark various tests with
1401 xfail-rounding:ldbl-128ibm.
1402 * math/auto-libm-test-out: Regenerated.
1403
b821f414
JM
1404 [BZ #16407]
1405 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1406 Increase overflow threshold.
1407
94c8a4bc
OB
14082014-01-07 Ondřej Bílka <neleai@seznam.cz>
1409
1410 [BZ #14286]
1411 * stdio-common/vfprintf.c: Check for integer overflow.
1412
87ded0c3
AK
14132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1414
1415 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1416 the first argument and return value of __tls_get_addr_internal.
1417
c5eebdd0
AK
14182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1419
1420 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1421 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1422
05d138ef
AK
14232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1424
1425 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1426 * sysdeps/s390/rtld-global-offsets.sym: New file.
1427 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1428 GLIBC_2.19 symbol.
1429 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1430 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1431 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1432 ... this.
1433 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1434 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1435 ... this.
1436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1437 Regenerate.
1438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1439 Regenerate.
1440 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1441 halfs of GPRs for high_gprs contexts.
1442 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1443 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1444 field.
1445 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1446 uc_flags field.
1447 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1448 64 bit versions:
1449 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1450 for high GPRs (uc_high_gprs) and for future extensions
1451 (__reserved).
1452 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1453 for future extensions (__reserved).
1454 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1455 64 bit versions:
1456 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1457 SC_HIGHGPRS offset definition.
1458 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1459 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1460
93a45ff1
AK
14612014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1462
1463 * Versions.def: Add GLIBC_2.19 for libpthread.
1464 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1465 siglongjmp for libpthread with GLIBC_2.19 symver.
1466 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1467 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1468 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1469 * sysdeps/s390/__longjmp.c: New file.
1470 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1471 * sysdeps/s390/longjmp.c: New file.
1472 * sysdeps/s390/setjmp.S: New file.
1473 * sysdeps/s390/sigjmp.S: New file.
1474 * sysdeps/s390/v1-longjmp.c: New file.
1475 * sysdeps/s390/v1-setjmp.h: New file.
1476 * sysdeps/s390/v1-sigjmp.c: New file.
1477 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1478 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1479 GLIBC_2.19 version.
1480 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1481 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1482 versioned symbols for ____longjmp_chk.
1483 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1484 Likewise.
1485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1486 Regenerate.
1487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1488 Regenerate.
1489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1490 Regenerate.
1491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1492 Regenerate.
1493 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1494 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1495 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1496 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1497 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1498 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1499 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1500 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1501 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1502 * sysdeps/s390/rtld-__longjmp.c: New file.
1503 * sysdeps/s390/rtld-setjmp.S: New file.
1504
eb3fc44b
JM
15052014-01-06 Joseph Myers <joseph@codesourcery.com>
1506
1507 [BZ #16400]
1508 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1509 Return -__logl (x) for small positive arguments without evaluating
1510 a polynomial.
1511
9341dde4
MF
15122014-01-06 Mike Frysinger <vapier@gentoo.org>
1513
1514 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1515 Rename to ...
1516 (__ptrace_peeksiginfo_args): ... this.
1517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1520
4cff0293
AM
15212014-01-06 Allan McRae <allan@archlinux.org>
1522
1523 * inet/netinet/in.h: Fix typo in comment.
1524
75595dcf
AJ
15252014-01-05 Andreas Jaeger <aj@suse.de>
1526
1527 * sysdeps/i386/fpu/libm-test-ulps: Update.
1528
79c1e109
AM
15292014-01-05 Allan McRae <allan@archlinux.org>
1530
dd804818
AM
1531 * po/libc.pot: Regenerated.
1532
79c1e109
AM
1533 * malloc/memusagestat.c: Fix gettext call formatting.
1534
0c813d1f
SK
15352014-01-04 Sami Kerola <kerolasa@iki.fi>
1536
1537 * nscd/nscd.c: Improve usage() output.
1538
20f4a8d9
MF
15392014-01-04 Mike Frysinger <vapier@gentoo.org>
1540
1541 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1542 * sysdeps/unix/sysv/linux/configure: Regenerated.
1543 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1544 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1545
22562bb2
JM
15462014-01-03 Joseph Myers <joseph@codesourcery.com>
1547
1548 [BZ #16390]
1549 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1550 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1551
d7ad2d9b
AZ
15522014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1555 extra tokens at end of #undef directive.
1556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1559
7dd009d8
JM
15602014-01-03 Joseph Myers <joseph@codesourcery.com>
1561
24db925a
JM
1562 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1563
7dd009d8
JM
1564 * math/auto-libm-test-in: Mark various tests with
1565 xfail-rounding:ldbl-128ibm.
1566 * math/auto-libm-test-out: Regenerated.
1567
396e3ecf
JM
15682014-01-02 Joseph Myers <joseph@codesourcery.com>
1569
819e5d50
JM
1570 [BZ #16386]
1571 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1572 numbers with subnormal high part when calculating exponent.
1573
90b6a1e5
JM
1574 [BZ #16385]
1575 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1576 fabs.
1577
396e3ecf
JM
1578 [BZ #16384]
1579 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1580 M_LN2l.
1581 (__ieee754_acoshl): Use __log1pl not __log1p.
1582
6c8dbf00
OB
15832013-01-02 Ondřej Bílka <neleai@seznam.cz>
1584
1585 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1586 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1587 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1588 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1589 Convert to GNU style.
1590 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1591 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1592 memalign_check, __malloc_set_state): Likewise.
1593 * malloc/mallocbug.c (main): Likewise.
1594 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1595 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1596 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1597 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1598 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1599 * malloc/malloc.h: Likewise.
1600 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1601 memalignhook, reallochook, mabort): Likewise.
1602 * malloc/mcheck.h: Likewise.
1603 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1604 mmap64, mremap, munmap, dest): Likewise.
1605 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1606 * malloc/morecore.c (__default_morecore): Likewise.
1607 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1608 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1609 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1610 print_and_abort): Likewise.
1611 * malloc/obstack.h: Likewise.
1612 * malloc/set-freeres.c (__libc_freeres): Likewise.
1613 * malloc/tst-mallocstate.c (main): Likewise.
1614 * malloc/tst-mtrace.c (main): Likewise.
1615 * malloc/tst-realloc.c (do_test): Likewise.
1616
d4124212
SP
16172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1618
9a3c6a6f
SP
1619 [BZ #16366]
1620 * nscd/netgroupcache.c (do_notfound): New function.
1621 (addgetnetgrentX): Use it.
1622
d4124212
SP
1623 [BZ # 16365]
1624 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1625 NSS_STATUS_NOTFOUND.
1626
97b9a009
JM
16272014-01-01 Joseph Myers <joseph@codesourcery.com>
1628
1629 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1631
d4697bc9
AM
16322014-01-01 Allan McRae <allan@archlinux.org>
1633
ddb3687f
AM
1634 * scripts/update-copyrights: Update configure input file suffix.
1635
88726d48
AM
1636 * NEWS: Update copyright year.
1637 * catgets/gencat.c: Likewise.
1638 * csu/version.c: Likewise.
1639 * debug/catchsegv.sh: Likewise.
1640 * debug/pcprofiledump.c: Likewise.
1641 * debug/xtrace.sh: Likewise.
1642 * elf/ldconfig.c: Likewise.
1643 * elf/ldd.bash.in: Likewise.
1644 * elf/pldd.c: Likewise.
1645 * elf/sotruss.ksh: Likewise.
1646 * elf/sprof.c: Likewise.
1647 * iconv/iconv_prog.c: Likewise.
1648 * iconv/iconvconfig.c: Likewise.
1649 * locale/programs/locale.c: Likewise.
1650 * locale/programs/localedef.c: Likewise.
1651 * login/programs/pt_chown.c: Likewise.
1652 * malloc/memusage.sh: Likewise.
1653 * malloc/memusagestat.c: Likewise.
1654 * malloc/mtrace.pl: Likewise.
1655 * manual/libc.texinfo: Likewise.
1656 * nscd/nscd.c: Likewise.
1657 * nss/getent.c: Likewise.
1658 * nss/makedb.c: Likewise.
1659 * posix/getconf.c: Likewise.
1660 * scripts/test-installation.pl: Likewise.
1661
d4697bc9
AM
1662 * All files with FSF copyright notices: Update copyright dates
1663 using scripts/update-copyrights.
1664 * intl/plural.c: Regenerated.
1665 * locale/programs/charmap-kw.h: Likewise.
1666 * locale/programs/locfile-kw.h: Likewise.
1667
c8590f9d
MF
16682013-12-31 Mike Frysinger <vapier@gentoo.org>
1669
1670 * sysdeps/unix/sysv/linux/configure: Regenerated.
1671 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1672 the linux/fanotify.h header.
1673 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1674 HAVE_LINUX_FANOTIFY_H is defined.
1675
b19221b9
SP
16762013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1677
dd1d85e5
SP
1678 * benchtests/cos-inputs: New inputs.
1679 * benchtests/sin-inputs: Likewise.
1680
1acbb90f
SP
1681 * benchtests/atan-inputs: New inputs. Fix name of multiple
1682 precision fallback inputs.
1683
4c012ed3
SP
1684 * benchtests/atanh-inputs: New inputs.
1685 * benchtests/tanh-inputs: Likewise.
1686
eff98324
SP
1687 * benchtests/acosh-inputs: New inputs.
1688 * benchtests/asinh-inputs: Likewise.
1689
ce641152
SP
1690 * benchtests/cosh-inputs: New inputs.
1691 * benchtests/sinh-inputs: Likewise.
1692
b19221b9
SP
1693 * benchtests/acos-inputs: Add more inputs.
1694 * benchtests/asin-inputs: Likewise.
1695
030a4976 16962013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1697
030a4976 1698 [BZ #16375]
9dcc8f11
VS
1699 * manual/arith.texi: Fix spelling.
1700 * manual/charset.texi: Likewise.
1701 * manual/errno.texi: Likewise.
1702 * manual/filesys.texi: Likewise.
1703 * manual/lang.texi: Likewise.
1704 * manual/llio.texi: Likewise.
1705 * manual/locale.texi: Likewise.
1706 * manual/message.texi: Likewise.
1707 * manual/resource.texi: Likewise.
1708 * manual/search.texi: Likewise.
1709 * manual/setjmp.texi: Likewise.
1710 * manual/stdio.texi: Likewise.
1711 * manual/string.texi: Likewise.
1712 * manual/sysinfo.texi: Likewise.
1713 * manual/time.texi: Likewise.
1714
11520a57
CD
17152013-12-27 Carlos O'Donell <carlos@redhat.com>
1716
1717 * po/sl.po: New file.
1718
471103ae
MF
17192013-12-27 Mike Frysinger <vapier@gentoo.org>
1720
1721 * .gitignore: Add core/.gdbinit/.gdb_history.
1722
6c9642ed
AM
17232013-12-27 Allan McRae <allan@archlinux.org>
1724
1725 [BZ #16369]
1726 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1727 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1728
3f637079
BM
17292013-12-24 Brooks Moses <bmoses@google.com>
1730
1731 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1732 all compilers that claim C++98 compliance, not just GCC.
1733 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1734 Likewise.
1735
abc26e99
MK
17362013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1737
1738 * NEWS: Restore accidentally deleted bug-fix entries.
1739
362b47fe
MK
17402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1741 Ondřej Bílka <neleai@seznam.cz>
1742
1743 [BZ #15073]
1744 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 1745 have_lock.
362b47fe 1746
b9bcbbcb
OB
17472013-12-23 Ondřej Bílka <neleai@seznam.cz>
1748
1749 [BZ #12986]
1750 * manual/stdio.texi (String Input Conversions): Clarify that character
1751 classes are not supported.
1752
fb55fcd2
AZ
17532013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1756
ef7344f0
JM
17572013-12-22 Joseph Myers <joseph@codesourcery.com>
1758
4f40e4b3
JM
1759 [BZ #16337]
1760 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1761 Calculate results for small negative arguments directly rather
1762 than using reflection formula with special underflow handling.
1763
ef7344f0
JM
1764 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1765 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1766 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1767 (fchflags): Likewise.
1768 (revoke): Likewise.
1769 (setlogin): Likewise.
1770 (sigaltstack): Likewise.
1771 (wait4): Likewise.
1772 (sigblock): Remove.
1773 (sigsetmask): Likewise.
1774 (wait3): Likewise.
1775 (waitpid): Likewise.
1776 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1777 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1778 file.
1779 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1780 * sysdeps/unix/bsd/Makefile: ... here.
1781 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1782 * sysdeps/unix/bsd/Versions: ... here.
1783 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1784 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1785 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1786 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1787 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1788 * sysdeps/unix/bsd/sigblock.c: ... here.
1789 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1790 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1791 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1792 * sysdeps/unix/bsd/sigvec.c: ... here.
1793 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1794 * sysdeps/unix/bsd/tcdrain.c: ... here.
1795 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1796 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1797 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1798 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1799 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1800 * sysdeps/unix/bsd/wait.c: ... here.
1801 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1802 * sysdeps/unix/bsd/wait3.c: ... here.
1803 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1804 * sysdeps/unix/bsd/waitpid.c: ... here.
1805
5b0626b9
JM
18062013-12-21 Joseph Myers <joseph@codesourcery.com>
1807
1808 [BZ #16356]
1809 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1810 round-to-nearest for [!USE_AS_EXPM1L].
1811 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1812 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1813 more tests of exp and exp10. Expect some exp10 tests to miss
1814 exceptions or fail in directed rounding modes.
1815 * math/auto-libm-test-out: Regenerated.
1816 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1817 (exp10_test_tonearest): New function.
1818 (exp10_towardzero_test_data): New array.
1819 (exp10_test_towardzero): New function.
1820 (exp10_downward_test_data): New array.
1821 (exp10_test_downward): New function.
1822 (exp10_upward_test_data): New array.
1823 (exp10_test_upward): New function.
1824 (main): Call the new functions.
1825 * sysdeps/i386/fpu/libm-test-ulps: Update.
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1827
7fda5682
JM
18282013-12-20 Joseph Myers <joseph@codesourcery.com>
1829
31e3a405
JM
1830 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1831 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1832 * math/auto-libm-test-out: Regenerated.
1833 * math/libm-test.inc (acosh_test_data): Add more tests.
1834 (atanh_test_data): Likewise.
1835 (ceil_test_data): Likewise.
1836 (copysign_test_data): Likewise.
1837 * sysdeps/i386/fpu/libm-test-ulps: Update.
1838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1839
85bff96a
JM
1840 * timezone/checktab.awk: Update from tzcode 2013i.
1841 * timezone/private.h: Likewise.
1842 * timezone/scheck.c: Likewise.
1843 * timezone/tzfile.h: Likewise.
1844 * timezone/tzselect.ksh: Likewise.
1845 * timezone/zdump.c: Likewise.
1846 * timezone/zic.c: Likewise.
1847
b7867a3b
JM
1848 * math/auto-libm-test-in: Add tests of cpow.
1849 * math/auto-libm-test-out: Regenerated.
1850 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1851 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1852 mpc_cc_c.
1853 (func_calc_desc): Add mpc_cc_c union field.
1854 (test_functions): Add cpow.
1855 (special_fill_2pi): New function.
1856 (special_real_inputs): Add 2pi.
1857 (calc_generic_results): Handle mpc_cc_c.
1858 * sysdeps/i386/fpu/libm-test-ulps: Update.
1859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1860
7fda5682
JM
1861 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1862 csqrt, ctan and ctanh.
1863 * math/auto-libm-test-out: Regenerated.
1864 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1865 (TEST_COND_x86): Likewise.
1866 (ccos_test_data): Use AUTO_TESTS_c_c.
1867 (ccosh_test_data): Likewise.
1868 (cexp_test_data): Likewise.
1869 (clog_test_data): Likewise.
1870 (csqrt_test_data): Likewise.
1871 (ctan_test_data): Likewise.
1872 (ctan_tonearest_test_data): Likewise.
1873 (ctan_towardzero_test_data): Likewise.
1874 (ctan_downward_test_data): Likewise.
1875 (ctan_upward_test_data): Likewise.
1876 (ctanh_test_data): Likewise.
1877 (ctanh_tonearest_test_data): Likewise.
1878 (ctanh_towardzero_test_data): Likewise.
1879 (ctanh_downward_test_data): Likewise.
1880 (ctanh_upward_test_data): Likewise.
1881 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1882 mpc_c_c.
1883 (func_calc_desc): Add mpc_c_c union field.
1884 (FUNC_mpc_c_c): New macro.
1885 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1886 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1887 ctanh.
1888 (special_fill_min_subnorm_p120): New function.
1889 (special_real_inputs): Add min_subnorm_p120.
1890 (calc_generic_results): Handle mpc_c_c.
1891 * sysdeps/i386/fpu/libm-test-ulps: Update.
1892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1893
5ff8d60e
SP
18942013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1895
392dd2de
SP
1896 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1897 do_sin_slow): New functions.
1898 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1899 cslow2, csloww1, csloww2): Use the new functions.
1900
84ba214c
SP
1901 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1902 Use M to change sign of result instead of X. Assume X is
1903 positive.
1904 (csloww1): Likewise.
1905 (__sin): Adjust.
1906 (__cos): Adjust.
1907
975195e4
SP
1908 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1909 arguments A and DA.
1910 (__sin): Adjust.
1911 (__cos): Likewise.
1912
5ff8d60e
SP
1913 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1914 (__cos): Likewise.
1915 (sloww1): Don't adjust sign of DX.
1916 (csloww1): Likewise.
1917 (sloww2): Use X directly and don't adjust sign of DX.
1918 (csloww2): Likewise.
1919
eb983568
JM
19202013-12-19 Joseph Myers <joseph@codesourcery.com>
1921
64a17f1a
JM
1922 * math/auto-libm-test-in: Add tests of cabs and carg.
1923 * math/auto-libm-test-out: Regenerated.
1924 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1925 (carg_test_data): Likewise.
1926 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1927 mpc_c_f.
1928 (func_calc_desc): Add mpc_c_f union field.
1929 (test_functions): Add cabs and carg.
1930 (calc_generic_results): Handle mpc_c_f.
1931
eb983568
JM
1932 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1933 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1934 as a macro and a compat symbol.
1935 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1936 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1937 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1938 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1939 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1940 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1941 not use .hidden.
1942 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1943 Likewise.
1944 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1945 Likewise.
1946 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1947 Likewise.
1948 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1949 Likewise.
1950 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1951 Likewise.
1952 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1953 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1954 from GLIBC_2.3.2.
1955
6eeb678a
AZ
19562013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957
1958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1959
6f6fc482
JM
19602013-12-19 Joseph Myers <joseph@codesourcery.com>
1961
21fea2e2
JM
1962 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1963 trailing whitespace removed.
1964 * scripts/config.guess: Update to version 2013-11-29.
1965 * scripts/config.sub: Update to version 2013-10-01.
1966
6f6fc482
JM
1967 * math/auto-libm-test-in: Add tests of sincos.
1968 * math/auto-libm-test-out: Regenerated.
1969 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1970 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1971 mpfr_f_11.
1972 (func_calc_desc): Add mpfr_f_11 union field.
1973 (test_functions): Add sincos.
1974 (calc_generic_results): Handle mpfr_f_11.
1975 * sysdeps/i386/fpu/libm-test-ulps: Update.
1976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977
83f5c32d
AS
19782013-12-19 Andreas Schwab <schwab@suse.de>
1979
1980 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1981 CALL_MCOUNT.
1982 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1983 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1984 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1985
c688b419
JM
19862013-12-19 Joseph Myers <joseph@codesourcery.com>
1987
335ee092
JM
1988 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1989 * sysdeps/i386/fpu/libm-test-ulps: Update.
1990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1991
f88acd39
JM
1992 [BZ #16293]
1993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1994 round-to-nearest mode when using frndint.
1995 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1996 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1998 Likewise.
1999 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2000 sinh test to fail.
2001 * math/auto-libm-test-out: Regenerated.
2002 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2003 (TEST_COND_x86): Likewise.
2004 (expm1_tonearest_test_data): New array.
2005 (expm1_test_tonearest): New function.
2006 (expm1_towardzero_test_data): New array.
2007 (expm1_test_towardzero): New function.
2008 (expm1_downward_test_data): New array.
2009 (expm1_test_downward): New function.
2010 (expm1_upward_test_data): New array.
2011 (expm1_test_upward): New function.
2012 (main): Run the new test functions.
2013 * sysdeps/i386/fpu/libm-test-ulps: Update.
2014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2015
c688b419
JM
2016 * include/features.h: Update comment documenting feature test
2017 macros. Mention _DEFAULT_SOURCE in comment.
2018 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2019 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2020 _BSD_SOURCE and _SVID_SOURCE.
2021 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2022 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2023 !_SVID_SOURCE]: Likewise.
2024 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2025 (__USE_POSIX_IMPLICITLY): Define.
2026 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2027 (_POSIX_SOURCE): Undefine and redefine.
2028 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2029 (_POSIX_C_SOURCE): Likewise.
2030 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2031 (Feature Test Macros): Update documentation of default features.
2032
9f6e964c
RS
20332013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2034
2035 * benchtests/Makefile: Add bench-strtok.
2036 * benchtests/bench-strtok.c: New file: strtok benchtest.
2037
ee0a148a
AM
20382013-12-19 Allan McRae <allan@archlinux.org>
2039
2040 * manual/install.texi: Suppress menu for plain text output.
2041 * INSTALL: Regenerated.
2042
b9ab448f
BM
20432013-12-18 Brooks Moses <bmoses@google.com>
2044
2045 [BZ #15846]
2046 * misc/getauxval.c: Include errno.h.
2047 (__getauxval): Set errno to ENOENT if the requested type is not
2048 found.
2049 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2050 don't declare with __attribute_const__.
2051 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2052 * manual/startup.texi: Document that getauxval sets errno.
2053
23776487
JM
20542013-12-18 Joseph Myers <joseph@codesourcery.com>
2055
f889953b
JM
2056 * math/auto-libm-test-in: Add tests of jn and yn.
2057 * math/auto-libm-test-out: Regenerated.
2058 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2059 (yn_test_data): Likewise.
2060 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2061 mpfr_if_f.
2062 (func_calc_desc): Add mpfr_if_f union field.
2063 (FUNC_mpfr_if_f): New macro.
2064 (test_functions): Add jn and yn.
2065 (calc_generic_results): Assert type of second input for
2066 mpfr_ff_f. Handle mpfr_if_f.
2067 (output_for_one_input_case): Disable all checking for arguments
2068 fitting floating-point types in case of an integer argument.
2069 * sysdeps/i386/fpu/libm-test-ulps: Update.
2070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2071
23776487
JM
2072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2073 Don't expect fegetround reference in libm.so.
2074
cb756c6d
MS
20752013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2076
2077 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2078 $(config-cflags-nofma).
2079
2dec468f
JM
20802013-12-18 Joseph Myers <joseph@codesourcery.com>
2081
5953eb3a
JM
2082 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2083 * math/auto-libm-test-out: Regenerated.
2084
2dec468f
JM
2085 [BZ #16338]
2086 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2087 to determine exponent and adjust argument to have exponent of -1.
2088 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2089 log2.
2090 * math/auto-libm-test-out: Regenerated.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2093
4d84e6ad
OB
20942013-12-18 Ondřej Bílka <neleai@seznam.cz>
2095
2096 * manual/probes.texi: Remove cases when per-thread arenas are
2097 disabled.
2098
1818483b
AS
20992013-12-18 Andreas Schwab <schwab@suse.de>
2100
2101 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2102 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2103 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2104 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2105 * sysdeps/i386/i686/multiarch/Makefile: Update.
2106 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2107
25de95bf
JM
21082013-12-17 Joseph Myers <joseph@codesourcery.com>
2109
2110 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2111 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2112
674762d9
PE
21132013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2114
ed27ed83 2115 [BZ #15968]
0748546f
PE
2116 Support TZ transition times < 00:00:00.
2117 This is needed for version-3 tz-format files; it supports time
2118 stamps past 2037 for America/Godthab (the only entry in the tz
2119 database for which this change is relevant).
2120 * manual/time.texi (TZ Variable): Document transition times
2121 from -167:59:59 through -00:00:01.
2122 * time/tzset.c (tz_rule): Time of day is now signed.
2123 (__tzset_parse_tz): Parse negative time of day.
2124
4480e934
PE
2125 Document TZ transition times >= 25:00:00.
2126 * manual/time.texi (TZ Variable): Document transition times from
2127 25:00:00 through 167:59:59. These are already supported, and this
2128 support will help with version-3 tz-format files.
2129
69947401
PE
2130 * manual/time.texi (TZ Variable): Modernize North America example
2131 to reflect current (i.e., 2007-and-later) daylight saving rules.
2132
674762d9
PE
2133 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2134
7011c262
JM
21352013-12-17 Joseph Myers <joseph@codesourcery.com>
2136
2fc6557e
JM
2137 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2138 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2139 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2141 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2142 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2143 * sysdeps/unix/bsd/clock.c: Likewise.
2144 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2145 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2146 * sysdeps/unix/bsd/init-posix.c: Likewise.
2147 * sysdeps/unix/bsd/poll.c: Likewise.
2148 * sysdeps/unix/bsd/ptsname.c: Likewise.
2149 * sysdeps/unix/bsd/seekdir.c: Likewise.
2150 * sysdeps/unix/bsd/setegid.c: Likewise.
2151 * sysdeps/unix/bsd/seteuid.c: Likewise.
2152 * sysdeps/unix/bsd/setgid.c: Likewise.
2153 * sysdeps/unix/bsd/setrgid.c: Likewise.
2154 * sysdeps/unix/bsd/setruid.c: Likewise.
2155 * sysdeps/unix/bsd/setsid.c: Likewise.
2156 * sysdeps/unix/bsd/setuid.c: Likewise.
2157 * sysdeps/unix/bsd/sigaction.c: Likewise.
2158 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2159 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2160 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2161 * sysdeps/unix/bsd/telldir.c: Likewise.
2162 * sysdeps/unix/bsd/times.c: Likewise.
2163 * sysdeps/unix/bsd/usleep.c: Likewise.
2164
029c7b25
JM
2165 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2166 ($(objpfx)libbsd-compat.a): Remove rule.
2167
7011c262
JM
2168 * include/features.h (__FAVOR_BSD): Do not define.
2169 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2170 features conflicting with POSIX.
2171 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2172 (_BSD_SOURCE): Remove description of not being a subset of other
2173 feature test macros.
2174 * manual/job.texi (getpgrp): Do not document BSD version.
2175 (getpgid): Do not document by reference to BSD getpgrp.
2176 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2177 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2178 * signal/signal.h [__FAVOR_BSD]: Likewise.
2179 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2180 instead of making contents conditional on [__FAVOR_BSD].
2181 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2182
affb6f78
AZ
21832013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2184
2185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2186
c88769dd
JM
21872013-12-17 Joseph Myers <joseph@codesourcery.com>
2188
6432a540
JM
2189 [BZ #16314]
2190 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2191 values below 2**-450, not 2**-500.
2192 * math/auto-libm-test-in: Don't allow spurious underflow from
2193 hypot.
2194 * math/auto-libm-test-out: Regenerated.
2195
c88769dd
JM
2196 [BZ #16316]
2197 [BZ #16330]
2198 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2199 values of ha and hb and sort them after adjusting subnormal
2200 arguments.
2201 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2202 Likewise.
2203 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2204 values of ea and eb and sort them after adjusting subnormal
2205 arguments.
2206 * math/auto-libm-test-in: Do not expect some hypot tests of
2207 subnormals to fail. Add more hypot tests.
2208 * math/auto-libm-test-out: Regenerated.
2209
29618f6b
KK
22102013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2211
2212 [BZ #13304]
2213 * sysdeps/sh/s_fma.c: New file.
2214 * sysdeps/sh/s_fmaf.c: New file.
2215 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2216 version.
2217 * sysdeps/sh/Implies: Add sh/soft-fp.
2218
eacfdfbf
RM
22192013-12-16 Roland McGrath <roland@hack.frob.com>
2220
2221 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2222 level of indirection to members `objname', `errstring', `malloced'.
2223 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2224 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2225 it as the __longjmp argument (just pass 1 instead).
2226 (_dl_catch_error): Initialize C with argument pointers and address of
2227 volatile local ERRCODE rather than copying values out of C at return.
2228
ff362e5b
JM
22292013-12-16 Joseph Myers <joseph@codesourcery.com>
2230
2231 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2232 * math/auto-libm-test-out: Regenerated.
2233 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2234 (hypot_test_data): Likewise.
2235 (pow_test_data): Likewise.
2236 (pow_tonearest_test_data): Likewise.
2237 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2238 mpfr_ff_f.
2239 (func_calc_desc): Add mpfr_ff_f union field.
2240 (FUNC_mpfr_ff_f): New macro.
2241 (test_functions): Add atan2, hypot and pow.
2242 (special_fill_min): New function.
2243 (special_fill_minus_min): Likewise.
2244 (special_fill_min_subnorm): Likewise.
2245 (special_fill_minus_min_subnorm): Likewise.
2246 (special_real_inputs): Add min, -min, min_subnorm and
2247 -min_subnorm.
2248 (calc_generic_results): Handle mpfr_ff_f.
2249 * sysdeps/i386/fpu/libm-test-ulps: Update.
2250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2251
5764c27f
WN
22522013-12-16 Will Newton <will.newton@linaro.org>
2253
2254 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2255 (Aligned Memory Blocks): Add documentation for aligned_alloc
2256 and suggest it as an alternative to posix_memalign.
2257 (Hooks for Malloc): Document __memalign_hook is also called
2258 for aligned_alloc. (Summary of Malloc): Add summary for
2259 aligned alloc. Document __memalign_hook is also called
2260 for aligned_alloc.
2261
0a096e44
WN
22622013-12-16 Will Newton <will.newton@linaro.org>
2263
2264 * manual/memory.texi (Malloc Examples): Clarify default
2265 alignment documentation. Suggest posix_memalign rather
2266 than memalign or valloc.
2267 (Aligned Memory Blocks): Remove suggestion to use memalign
2268 or valloc. Remove obsolete comment about BSD.
2269 Document memalign errno values and mark the function obsolete.
2270 Document posix_memalign returned error codes. Mark valloc
2271 as obsolete. (Hooks for Malloc): __memalign_hook is also
2272 called for posix_memalign and valloc.
2273 (Summary of Malloc): Add posix_memalign to function summary.
2274 __memalign_hook is also called for posix_memalign and valloc.
2275
8d561986
SP
22762013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2277
2278 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2279 TAYLOR_SIN.
2280 (__sin): Adjust.
2281 (__cos): Likewise.
2282 (sloww): Use mynumber union. Expand ternary operator into
2283 if-else statements.
2284 (cslow): use mynumber union.
2285
73616a74
AM
22862013-12-16 Allan McRae <allan@archlinux.org>
2287
9e8ac24b
AM
2288 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2289 * configure: Regenerated.
2290
6f8e37eb
AM
2291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2292
8894bad3
AM
2293 [BZ #14120]
2294 * configure.ac: Added --enable-maintainer-mode. Check for
2295 autoconf when enabled.
2296 * configure: Regenerated.
2297
73616a74
AM
2298 * nscd/nscd.service: New file.
2299 * nscd/nscd.tmpfiles: New file.
2300
584b18eb
OB
23012013-12-14 Ondřej Bílka <neleai@seznam.cz>
2302
2303 [BZ #12100]
2304 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2305 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2306 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2307 (strstr): Add __strstr_sse2_unaligned ifunc.
2308 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2309 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2310 (strcasestr): Remove __strcasestr_sse42 ifunc.
2311 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2314
8a5c7897
KK
23152013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2316
2317 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2318 * sysdeps/sh/bits/fenv.h: ... here.
2319 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2320
fd712ef3
AZ
23212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2324
42fcb46c
AZ
23252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2326
2327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2328 hypotf multiarch implementations.
2329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2330 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2331 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2332 multiarch hypot for PPC64.
2333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2334 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2335 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2336 multiarch hypotf for PPC64.
2337
83efded4
AZ
23382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2339
2340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2341 modff multiarch implementations.
2342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2345 multiarch modf for PPC64.
2346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2349 multiarch modff for PPC64.
2350
43e246d2
AZ
23512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352
2353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2354 and logl multiarch implementations.
2355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2358 multiarch logb for PPC64.
2359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2362 multiarch logb for PPC64.
2363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2366 multiarch logb for PPC64.
2367
8fdad123
AZ
23682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2369
2370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2371 isinff multiarch implementation.
2372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2373 file.
2374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2376 multiarch isinf for PPC64.
2377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2378 file.
2379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2380 multiarch isinff for PPC64.
2381
1481d706
AZ
23822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2383
2384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2385 finitef multiarch implementation.
2386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2387 file.
2388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2390 multiarch finite for PPC64.
2391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2392 file.
2393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2394 multiarch finitef for PPC64.
2395
5ccd5fc8
AZ
23962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2397
2398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2399 lrint multiarch implementation.
2400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2401 file.
2402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2404 multiarch llrint for PPC64.
2405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2406 multiarch lrint for PPC64.
2407
2568f3fa
AZ
24082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2409
2410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2411 copysignf multiarch implementation.
2412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2413 file.
2414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2415 file.
2416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2417 multiarch copysign for PPC64.
2418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2419 multiarch copysignf for PPC64.
2420
1cb341fd
AZ
24212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2422
2423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2424 multiarch implementation.
2425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2426 file.
2427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2428 file.
2429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2430 file.
2431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2432 file.
2433 multiarch llround for PPC64.
2434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2435 multiarch trunc for PPC64.
2436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2437 multiarch truncf for PPC64.
2438
59a3e194
AZ
24392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2440
2441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2442 multiarch implementation.
2443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2444 file.
2445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2446 file.
2447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2448 file.
2449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2450 file.
2451 multiarch llround for PPC64.
2452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2453 multiarch round for PPC64.
2454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2455 multiarch roundf for PPC64.
2456
357fd3b4
AZ
24572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458
2459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2460 multiarch implementation.
2461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2462 file.
2463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2464 file.
2465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2466 file.
2467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2468 file.
2469 multiarch llround for PPC64.
2470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2471 multiarch floor for PPC64.
2472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2473 multiarch floorf for PPC64.
2474
96770f12
AZ
24752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476
2477 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2478 multiarch implementation.
2479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2480 file.
2481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2482 file.
2483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2484 file.
2485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2486 file.
2487 multiarch llround for PPC64.
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2489 multiarch ceil for PPC64.
2490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2491 multiarch ceilf for PPC64.
2492
c3627f6e
AZ
24932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2494
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2496 multiarch implementation.
2497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2498 file.
2499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2500 file.
2501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2502 file.
2503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2504 multiarch llround for PPC64.
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2506 multiarch lround for PPC64.
2507
b2284ad7
AZ
25082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2509
2510 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2511 multiarch implementation.
2512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2515 file.
2516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2519 multiarch isnan for PPC64.
2520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2521 multiarch isnanf for PPC64.
2522
69bbc63d
AZ
25232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2524
2525 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2526 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2527 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2528 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2529 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2531
c24517c9
AZ
25322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2533
2534 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2535 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2538
a52374e8
AZ
25392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2540
2541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2542 multiarch implementations.
2543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2544 (__libc_ifunc_impl_list): Likewise.
2545 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2546 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2547 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2548 multiarch stpcpy for PPC64.
2549
7f5ec113
AZ
25502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2551
2552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2553 multiarch implementations.
2554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2555 (__libc_ifunc_impl_list): Likewise.
2556 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2557 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2558 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2559 multiarch strcpy for PPC64.
2560
e28bcd42
AZ
25612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562
2563 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2564 redefine function name.
2565 (_wordcopy_fwd_dest_aligned): Likewise.
2566 (_wordcopy_bwd_aligned): Likewise.
2567 (_wordcopy_bwd_dest_aligned): Likewise.
2568 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2569 multiarch implementations.
2570 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2571 (__libc_ifunc_impl_list): Likewise.
2572 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2573 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2574 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2575 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2576 multiarch wcscpy for PPC64.
2577
92cacfce
AZ
25782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579
2580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2581 multiarch implementations.
2582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2583 (__libc_ifunc_impl_list): Likewise.
2584 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2585 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2586 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2587 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2588 multiarch wcscpy for PPC64.
2589
7b714620
AZ
25902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2591
2592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2593 multiarch implementations.
2594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2595 (__libc_ifunc_impl_list): Likewise.
2596 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2597 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2598 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2599 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2600 multiarch wcsrchr for PPC64.
2601
16fd2ae3
AZ
26022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2603
2604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2605 multiarch implementations.
2606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2607 (__libc_ifunc_impl_list): Likewise.
2608 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2609 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2610 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2611 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2612 multiarch wcschr for PPC64.
2613
9ee2969b
AZ
26142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2615
2616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2617 multiarch implementations.
2618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2619 (__libc_ifunc_impl_list): Likewise.
2620 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2621 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2622 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2623 multiarch strchrnul for PPC64.
2624
372dc060
AZ
26252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2626
2627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2628 implementations.
2629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2630 (__libc_ifunc_impl_list): Likewise.
2631 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2632 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2633 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2634 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2635 strchr for PPC64.
2636
24c2c3b9
AZ
26372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2638
2639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2640 implementations.
2641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2642 (__libc_ifunc_impl_list): Likewise.
2643 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2644 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2645 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2646 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2647 strncmp for PPC64.
2648
1c92d9a0
AZ
26492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650
2651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2652 multiarch implementations.
2653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2654 (__libc_ifunc_impl_list): Likewise.
2655 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2656 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2657 strncasecmp for PPC64.
2658 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2659 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2660 multiarch strncasecmp_l for PPC64.
2661
17de3ee3
AZ
26622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2663
2664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2665 multiarch implementations.
2666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2667 (__libc_ifunc_impl_list): Likewise.
2668 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2669 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2670 multiarch strcasecmp for PPC64.
2671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2672 file.
2673 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2674 multiarch strcasecmp_l for PPC64.
2675
62982bf9
AZ
26762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2677
2678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2679 implementations.
2680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2681 (__libc_ifunc_impl_list): Likewise.
2682 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2683 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2684 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2685 strnlen for PPC64.
2686
a65f4904
AZ
26872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2688
2689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2690 implementations.
2691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2692 (__libc_ifunc_impl_list): Likewise.
2693 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2694 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2695 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2696 strlen for PPC64.
2697
1fd005ad
AZ
26982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699
2700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2701 implementations.
2702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2703 (__libc_ifunc_impl_list): Likewise.
2704 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2705 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2706 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2707 rawmemrchr for PPC64.
2708
cd05ba91
AZ
27092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2710
2711 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2712 implementation.
2713 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2714 (__libc_ifunc_impl_list): Likewise.
2715 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2716 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2717 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2718 memrchr for PPC64.
2719
870f8676
AZ
27202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721
2722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2723 implementation.
2724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2725 (__libc_ifunc_impl_list): Likewise.
2726 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2727 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2728 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2729 memchr for PPC64.
2730
f00be62b
AZ
27312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2732
2733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2734 implementation.
2735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2736 (__libc_ifunc_impl_list): Likewise.
2737 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2738 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2739 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2740 mempcpy for PPC64.
2741
8a29a3d0
AZ
27422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2743
2744 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2745 avoid cretion of __bzero symbol.
2746 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2747 Likewise.
2748 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2749 Likewise.
2750 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2751 Likewise.
2752 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2753 multiarch implementations.
2754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2755 (__libc_ifunc_impl_list): Likewise.
2756 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2757 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2758 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2759 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2760 bzero for PPC32.
2761 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2762 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2763 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2764 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2765 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2766 memset for PPC64.
2767 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2768
07253fcf
AZ
27692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2770
2771 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2773 implementations.
2774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2775 (__libc_ifunc_impl_list): Likewise.
2776 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2777 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2778 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2779 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2780 memcmp for PPC64.
2781
b5beafbc
AZ
27822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2783
2784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2785 multiarch for POWER/PPC64.
2786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2787 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2788 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2789 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2794 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2795 memcpy for PPC64.
2796
5e6a4d4b
AZ
27972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2798
2799 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2800 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2801 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2802 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2803 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2804 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2805 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2806 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2807 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2808 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2809 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2810 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2811 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2812 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2813 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2821
ddfab6dc
KK
28222013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2823
2824 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2825
19b5525e
SP
28262013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2827
2828 * benchtests/Makefile (bench): Add exp2 and log2.
2829 (LDLIBS-bench-exp2): Add -lm.
2830 (LDLIBS-bench-log2): Likewise.
2831 * benchtests/exp2-inputs: New inputs file.
2832 * benchtests/log2-inputs: New inputs file.
2833 * benchtests/log-inputs: Add new inputs.
2834 * benchtests/tan-inputs: Likewise.
2835
196f7f5d
SP
28362013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2837
7a74607f
SP
2838 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2839 definition...
2840 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2841 csloww1, csloww2): ... from here.
2842
196f7f5d
SP
2843 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2844 instead of structures.
2845 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2846 (POLYNOMIAL): Likewise.
2847 (TAYLOR_SLOW): Likewise.
2848 (__sin): Likewise.
2849 (__cos): Likewise.
2850 (slow1): Likewise.
2851 (slow2): Likewise.
2852 (sloww): Likewise.
2853 (sloww1); Likewise.
2854 (sloww2): Likewise.
2855 (bsloww1): Likewise.
2856 (bsloww2): Likewise.
2857 (cslow2): Likewise.
2858 (csloww): Likewise.
2859 (csloww1): Likewise.
2860 (csloww2): Likewise.
2861
0dfa665c
OB
28622013-12-10 Ondřej Bílka <neleai@seznam.cz>
2863
2864 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2865 (__malloc_assert, __libc_realloc, __libc_calloc,
2866 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2867 memcpy and memset.
2868 * malloc/hooks.c (realloc_check): Likewise.
2869
5782a80f
OB
28702013-12-10 Ondřej Bílka <neleai@seznam.cz>
2871
2872 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2873 * malloc/arena.c: Remove PER_THREAD conditional.
2874 [!PER_THREAD]: Remove code.
2875 (ptmalloc_unlock_all2): Likewise.
2876 (ptmalloc_init): Likewise.
2877 (_int_new_arena): Likewise.
2878 (arena_get2): Likewise.
2879 * malloc/hooks.c (__malloc_get_state): Likewise.
2880 (__malloc_set_state): Likewise.
2881 * malloc/malloc.c: Likewise.
2882 (struct malloc_state): Likewise.
2883 (struct malloc_par): Likewise.
2884 (__libc_realloc): Likewise.
2885 (__libc_mallopt): Likewise.
2886
aeb95445
AZ
28872013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2888
2889 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2890
e8349efd
OB
28912013-12-09 Ondřej Bílka <neleai@seznam.cz>
2892
2893 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2894 macro to a function. Check for zero perturb_byte.
2895 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2896
f3eeb3fc
OB
28972013-12-09 Ondřej Bílka <neleai@seznam.cz>
2898
2899 * malloc/malloc.c: (force_reg): Remove.
2900 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2901 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2902 force_reg by atomic_forced_read.
2903 * malloc/arena.c (ptmalloc_init): Likewise.
2904 * malloc/hooks.c (top_check): Likewise.
2905
be2f9009
AZ
29062013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2909
e7b914bd
MT
29102013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2911
2912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2913
9f0be4f8
JM
29142013-12-08 Joseph Myers <joseph@codesourcery.com>
2915
2916 * math/auto-libm-test-in: Add tests of lgamma.
2917 * math/auto-libm-test-out: Regenerated.
2918 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2919 (M_LOG_2_SQRT_PIl): Likewise.
2920 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2921 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2922 mpfr_f_f1.
2923 (func_calc_desc): Add mpfr_f_f1 union field.
2924 (ARGS1): New macro.
2925 (ARGS2): Likewise.
2926 (ARGS3): Likewise.
2927 (ARGS4): Likewise.
2928 (RET1): Likewise.
2929 (RET2): Likewise.
2930 (CALC): Likewise.
2931 (FUNC): Likewise.
2932 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2933 (test_functions): Add lgamma.
2934 (calc_generic_results): Handle mpfr_f_f1.
2935 * sysdeps/i386/fpu/libm-test-ulps: Update.
2936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2937
24eeafdb
AZ
29382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939
2940 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2941 __mpn_add_n for PowerPC64/POWER7.
2942 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2943 __mpn_sub_n for PowerPC64/POWER7.
2944
4a2c0fd4
AZ
29452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2946
2947 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2948 __mpn_addmul_1 for PowerPC64.
2949 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2950 __mpn_submul_1 for PowerPC64.
2951 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2952 for PowerPC64.
2953 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2954 for PowerPC64.
2955
4b5b548c
FS
29562013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2957
2958 [BZ #15089]
2959 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2960
0a3ac0aa
AZ
29612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962
2963 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2964
ccdc8438
AZ
29652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2966
2967 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2968 add multiarch folders.
2969 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2970 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2971 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2972 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2973 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2974 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2975 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2976 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2977 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2978 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2979 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2986
2e973d99
AZ
29872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2988
2989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2990 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2992 New file.
2993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2994 New file.
2995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2996 multiarch __ieee754_hypot for PowerPC32.
2997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2998 New file.
2999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3000 New file.
3001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3002 multiarch __ieee754_hypotf for PowerPC32.
3003
2d9470b2
AZ
30042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3005
3006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3007 long_double_symbol only if __logbl is defined.
3008 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3009 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3010 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3011 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3013 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3014 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3015 path for implementation.
3016 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3017 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3019 logb, and logbl multiarch implementations for PowerPC32.
3020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3021 file.
3022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3023 file.
3024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3025 multiarch logb for PowerPC32.
3026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3027 file.
3028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3029 file.
3030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3031 multiarch logbf for PowerPC32.
3032 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3034 file.
3035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3036 multiarch logbl implementation for PowerPC32.
3037
5212ffce
AZ
30382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039
3040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3041 and modff multiarch implementations.
3042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3043 New file.
3044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3045 New file.
3046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3047 multiarch modf for PowerPC32.
3048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3049 New file.
3050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3051 New file.
3052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3053 multiarch modff for PowerPC32.
3054
79dccf31
AZ
30552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3058 and lrintf multiarch implementations.
3059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3060 New file.
3061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3062 New file.
3063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3064 multiarch lrint for PowerPC32.
3065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3066 file: multiarch lrintf for PowerPC32.
3067
deb66480
AZ
30682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3069
3070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3071 and lroundf multiarch implementations.
3072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3073 New file.
3074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3075 New file.
3076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3077 New file.
3078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3079 multiarch lround for PowerPC32.
3080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3081 file: multiarch lroundf for PowerPC32.
3082
264b036b
AZ
30832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3084
3085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3086 copysign and copysignf multiarch implementations.
3087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3088 New file.
3089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3090 New file.
3091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3092 file: multiarch copysign for PowerPC32.
3093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3094 file: multiarch copysignf for PowerPC32.
3095
d47db6c9
AZ
30962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3097
3098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3099 and truncf multiarch implementations.
3100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3101 New file.
3102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3103 file.
3104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3105 multiarch trunc for PowerPC32.
3106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3107 New file.
3108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3109 New file.
3110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3111 multiarch truncf for PowerPC32.
3112
ddb60b5a
AZ
31132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3114
3115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3116 and roundf multiarch implementations.
3117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3118 New file.
3119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3120 file.
3121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3122 multiarch round for PowerPC32.
3123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3124 New file.
3125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3126 New file.
3127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3128 multiarch roundf for PowerPC32.
3129
bedcf49b
AZ
31302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3131
3132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3133 and floorf multiarch implementations.
3134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3135 New file.
3136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3137 file.
3138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3139 multiarch floor for PowerPC32.
3140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3141 New file.
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3143 New file.
3144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3145 multiarch floorf for PowerPC32.
3146
35ae5b40
AZ
31472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148
3149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3150 and ceilf multiarch implementations.
3151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3152 New file.
3153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3154 file.
3155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3156 multiarch ceil for PowerPC32.
3157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3158 New file.
3159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3160 file.
3161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3162 multiarch ceilf for PowerPC32.
3163
ae1a4cd9
AZ
31642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3165
3166 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3167 is defined.
3168 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3169 FINITEF is defined.
3170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3171 and finitef multiarch implementations.
3172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3173 New file.
3174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3175 file.
3176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3177 multiarch finite for PowerPC32.
3178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3179 New file.
3180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3181 file: multiarch finitef for PowerPC32.
3182
64fffd65
AZ
31832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3184
3185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3186 and isinff multiarch implementations.
3187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3188 file.
3189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3190 file.
3191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3192 multiarch isinf for PowerPC32.
3193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3194 New file.
3195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3196 multiarch isinff for PowerPC32.
3197
8e4e7ba2
AZ
31982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199
3200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3201 alias when __isnan is defined.
3202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3203 and isnanf multiarch implementations.
3204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3205 file.
3206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3207 file.
3208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3209 file.
3210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3211 file.
3212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3213 multiarch isnan for PowerPC32.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3215 New file.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3217 New file.
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3219 multiarch isnanf for PowerPC32.
3220
ddba588e
AZ
32212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222
3223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3224 and sqrtf multiarch implementations.
3225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3226 file.
3227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3228 file.
3229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3230 multiarch sqrt for PowerPC32.
3231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3232 file.
3233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3234 file.
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3236 multiarch sqrtf for PowerPC32.
3237
0f96a2f0
AZ
32382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239
3240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3241 and llroundf multiarch implementations.
3242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3243 New file.
3244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3245 New file.
3246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3247 New file.
3248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3249 file: multiarch llround for PowerPC32.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3251 file: multiarch llroundf for PowerPC32.
3252
c9b5d79e
AZ
32532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3254
3255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3256 multiarch PowerPC32 fpu implementations.
3257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3258 New file.
3259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3260 New file.
3261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3262 multiarch llrint for PowerPC32.
3263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3264 New file.
3265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3266 New file.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3268 file.
3269
9cbb3aab
AZ
32702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3273
ea5a72f8
AZ
32742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275
3276 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3277 file.
3278 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3279 file.
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3281 file.
3282 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3283 multiarch wordcopy for PPC32.
3284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3285 wordcopy objects.
3286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3287 (__libc_ifunc_impl_list): Likewise.
3288 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3289 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3291 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3292 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3293 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3294
93be09e7
AZ
32952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
3297 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3299 file.
3300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3301 file.
3302 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3303 file.
3304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3305 multiarch wcscpy for PPC32.
3306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3307 multiarch objects.
3308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3309 (__libc_ifunc_impl_list): Likewise.
3310 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3311 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3312 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3313 sysdeps/powerpc/power6/wcscpy.c.
3314
bb04e529
AZ
33152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3316
3317 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3318 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3319 file.
3320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3321 file.
3322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3323 file.
3324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3325 multiarch wcsrchr for PPC32.
3326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3327 multiarch objects.
3328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3329 (__libc_ifunc_impl_list): Likewise.
3330 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3331 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3332 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3333 sysdeps/powerpc/power6/wcsrchr.c.
3334
05b5cd1c
AZ
33352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336
3337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3338 file.
3339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3340 file.
3341 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3343 multiarch wcschr for PPc32.
3344 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3345 multiarch objects.
3346 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3347 (__libc_ifunc_impl_list): Likewise.
3348 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3349 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3350 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3351 sysdeps/powerpc/power6/wcschr.c.
3352
ba964147
AZ
33532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3354
3355 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3356 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3357 file.
3358 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3359 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3360 file: multiarch strchr for PPC32.
3361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3362 multiarch objects.
3363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3364 (__libc_ifunc_impl_list): Likewise.
3365
31c81aaa
AZ
33662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3367
3368 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3369 name.
3370 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3371 file.
3372 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3373 file.
3374 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3375 multiarch strchrnul for PPC32.
3376 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3377 multiarch objects.
3378 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3379 (__libc_ifunc_impl_list): Likewise.
3380
0d0607d9
AZ
33812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3382
3383 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3384 file.
3385 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3386 multiarch strncasecmp for PPC32.
3387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3388 file.
3389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3390 multiarch strncasecmp_l for PPC32.
3391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3392 strncasecmp multiarch objects.
3393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3394 (__libc_ifunc_impl_list): Likewise.
3395
4dfd5c86
AZ
33962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3397
3398 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3399 file.
3400 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3401 multiarch strncasecmp for PPC32.
3402 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3403 New file.
3404 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3405 multiarch strcasecmp_l for PPC32.
3406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3407 multiarch objects.
3408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3409 (__libc_ifunc_impl_list): Likewise.
3410
a19e01a3
AZ
34112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3412
3413 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3414 file.
3415 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3416 file.
3417 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3418 multiarch strncmp for PPC32.
3419 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3420 multiarch objects.
3421 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3422 (__libc_ifunc_impl_list): Likewise.
3423
ae9cf7a2
AZ
34242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3425
3426 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3427 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3428 file.
3429 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3430 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3432 multiarch objects.
3433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3434 (__libc_ifunc_impl_list): Likewise.
3435
3148bb7d
AZ
34362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3437
3438 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3439 file.
3440 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3441 file.
3442 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3444 multiarch objects.
3445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3446 (__libc_ifunc_impl_list): Likewise.
3447
7af8b946
AZ
34482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3449
3450 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3451 file.
3452 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3453 file.
3454 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3455 multiarch rawmemchr for PPC32.
3456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3457 multiarch objects.
3458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3459 (__libc_ifunc_impl_list): Likewise.
3460
03a6aa6a
AZ
34612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462
3463 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3464 file.
3465 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3466 file.
3467 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3468 file: memrchr multiarch for PPC32.
3469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3470 multiarch objects.
3471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3472 (__libc_ifunc_impl_list): Likewise.
3473
1c62e6d9
AZ
34742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3475
3476 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3477 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3478 file.
3479 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3480 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3481 multiarch memchr for PPC32.
3482 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3483 multiarch objects.
3484 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3485 (__libc_ifunc_impl_list): Likewise.
3486
87da8bdb
AZ
34872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3488
3489 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3491 file.
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3493 file.
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3495 file: multiarch mempcpy for PPC32.
3496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3497 multiarch objects.
3498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3499 (__libc_ifunc_impl_list): Likewise.
3500
20ed4714
AZ
35012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502
3503 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3505 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3507 multiarch bzero for PPC32.
3508 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3509 file.
3510 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3511 file.
3512 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3513 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3514 file: multiarch memset for PPC32.
3515 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3517 memset multiarch objects.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3519 (__libc_ifunc_impl_list): Likewise.
3520
ab3e3a46
AZ
35212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3522
3523 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3524 file.
3525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3526 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3527 memcmp for PPC32.
3528 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3530 multiarch objects.
3531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3532 (__libc_ifunc_impl_list): Likewise.
3533
930de6f0
AZ
35342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535
3536 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3538 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3539 file.
3540 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3541 file.
3542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3543 file.
3544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3545 multiarch memcpy for PPC32.
3546 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3547 multiarch objects.
3548 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3549 (__libc_ifunc_impl_list): Likewise.
3550
4c628e00
AZ
35512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552
3553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3554 support multiarch for POWER/PPC32.
3555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3556 Likewise.
3557 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3559 Implies file to make multiarch folder appers before the fpu and
3560 default folder for power4 configuration.
3561
f4479220
SP
35622013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3563
3564 * scripts/bench.pl: Append volatile keyword to type.
3565
8517800f
KK
35662013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3567
3568 * sysdeps/sh/sotruss-lib.c: New file.
3569 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3570
180138f1
AZ
35712013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3572
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3574
bbf37bdc
JM
35752013-12-05 Joseph Myers <joseph@codesourcery.com>
3576
e47cc4e0
JM
3577 [BZ #6810]
3578 * math/w_tgamma.c: Include <errno.h>.
3579 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3580 * math/w_tgammaf.c: Include <errno.h>.
3581 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3582 * math/w_tgammal.c: Include <errno.h>.
3583 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3584 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3585 underflow. Add more tgamma tests.
3586 * math/auto-libm-test-out: Regenerated.
3587 * sysdeps/i386/fpu/libm-test-ulps: Update.
3588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3589
bbf37bdc
JM
3590 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3591 sin, sinh, tan, tanh, tgamma, y0 and y1.
3592 * math/auto-libm-test-out: Regenerated.
3593 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3594 (TEST_COND_x86): Likewise.
3595 (M_E2l): Remove macro.
3596 (M_E3l): Likewise.
3597 (M_2_SQRT_PIl): Likewise.
3598 (M_SQRT_PIl): Likewise.
3599 (M_1_DIV_El): Likewise.
3600 (log_test_data): Use AUTO_TESTS_f_f.
3601 (log10_test_data): Likewise.
3602 (log1p_test_data): Likewise.
3603 (log2_test_data): Likewise.
3604 (sin_test_data): Likewise.
3605 (sin_tonearest_test_data): Likewise.
3606 (sin_towardzero_test_data): Likewise.
3607 (sin_downward_test_data): Likewise.
3608 (sin_upward_test_data): Likewise.
3609 (sinh_test_data): Likewise.
3610 (sinh_tonearest_test_data): Likewise.
3611 (sinh_towardzero_test_data): Likewise.
3612 (sinh_downward_test_data): Likewise.
3613 (sinh_upward_test_data): Likewise.
3614 (tan_test_data): Likewise.
3615 (tan_tonearest_test_data): Likewise.
3616 (tan_towardzero_test_data): Likewise.
3617 (tan_downward_test_data): Likewise.
3618 (tan_upward_test_data): Likewise.
3619 (tanh_test_data): Likewise.
3620 (tgamma_test_data): Likewise.
3621 (y0_test_data): Likewise.
3622 (y1_test_data): Likewise.
3623 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3624 (special_real_inputs): Add pi/4.
3625 * sysdeps/i386/fpu/libm-test-ulps: Update.
3626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3627
eb5ad6b9
AZ
36282013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3629
3630 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3631 "longjmp_target" static probes.
3632 (__longjmp): Rename to __longjmp_symbol.
3633 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3634 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3635 on which longjmp to generate.
3636 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3637 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3638 probe.
3639 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3640 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3641 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3642 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3643 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3644 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3646 __longjmp_symbol based on which __longjmp to generate.
3647 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3648 probe.
3649 (setjmp): Rename to setjmp_symbol.
3650 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3651 (_setjmp): Rename to _setjmp_symbol.
3652 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3653 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3654 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3655 which setjmp to generate.
3656 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3657 "longjmp_target" static probes.
3658
d136c6dc
SP
36592013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
9298ecba
SP
3661 * benchtests/README: Add note about output arguments.
3662 * benchtests/bench-sincos.c: Remove file.
3663 * benchtests/sincos-inputs: New file.
3664 * scripts/bench.pl: Identify output arguments and define
3665 static variables for them.
3666
232983e9
SP
3667 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3668
d136c6dc
SP
3669 [BZ #15941]
3670 * Makefile (INSTALL): Add install-plain.texi as the primary
3671 dependency.
3672 * manual/install-plain.texi: New file.
3673 * manual/install.texi: Include node directive only for
3674 non-plaintext output.
3675
699ff837
JM
36762013-12-04 Joseph Myers <joseph@codesourcery.com>
3677
ab07cea8
JM
3678 * stdlib/longlong.h: Update from GCC.
3679
699ff837
JM
3680 [BZ #6807]
3681 [BZ #15901]
3682 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3683 * math/w_j0f.c (y0f): Likewise.
3684 * math/w_j0l.c (__y0l): Likewise.
3685 * math/w_j1.c (y1): Likewise.
3686 * math/w_j1f.c (y1f): Likewise.
3687 * math/w_j1l.c (__y1l): Likewise
3688 * math/w_jn.c (yn): Likewise.
3689 * math/w_jnf.c (ynf): Likewise.
3690 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3691 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3692 value for Bessel function domain errors outside _SVID_ mode.
3693 Adjust sign of return value for yn (negative integer, 0).
3694 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3695 by zero in return for negative x and set sign appropriately for
3696 negative n.
3697 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3698 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3699 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3700 expectations in error cases.
3701 (y1_test_data): Likewise.
3702 (yn_test_data): Likewise.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3705
5b118558
UW
37062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3707
3708 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3709 "64" to "64-v1". Add "64-v2".
3710 (abi-64-options): Rename to ...
3711 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3712 (abi-64-condition): Rename to ...
3713 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3714 (abi-64-ld-soname): Rename to ...
3715 (abi-64-v1-ld-soname): ... this.
3716 (abi-64-v2-options): Define.
3717 (abi-64-v2-condition): Likewise.
3718 (abi-64-v2-ld-soname): Likewise.
3719 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3720 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3724
61cd8fe4
UW
37252013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3726 Alan Modra <amodra@gmail.com>
3727
3728 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3729 New versions for use with the ELFv2 ABI.
3730 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3731 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3732 declaration.
3733 (struct La_ppc64v2_retval): Likewise.
3734 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3735 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3736 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3737 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3738 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3739 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3740 Do not save or restore CR.
3741 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3742 (_dl_profile_resolve): Do no save or restore CR. Support extended
3743 return values for ELFv2 ABI. Fix location of FPR return registers.
3744 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3745 updated values for _CALL_ELF == 2.
3746 (La_regs, La_retval, int_retval): Likewise.
3747
8b8a692c
UW
37482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3749
3750 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3751 (FRAME_MIN_SIZE_PARM): Likewise.
3752 (FRAME_BACKCHAIN): Likewise.
3753 (FRAME_CR_SAVE): Likewise.
3754 (FRAME_LR_SAVE): Likewise.
3755 (FRAME_TOC_SAVE): Likewise.
3756 (FRAME_PARM_SAVE): Likewise.
3757 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3758 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3759 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3760 (call_mcount_parm_offset): New macro.
3761 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3762 (PROF): Use symbolic stack frame offsets.
3763 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3764 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3765 Redefine in terms of FRAME_MIN_SIZE.
3766 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3767 (_dl_profile_resolve): Likewise. Update comment.
3768 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3769 symbols stack frame offsets.
3770 (__sigsetjmp): Likewise.
3771 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3772 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3773 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3774 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3775
3776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3777 (FRAME_BACKCHAIN): Remove.
3778 (FRAME_CR_SAVE): Likewise.
3779 (FRAME_LR_SAVE): Likewise.
3780 (FRAME_COMPILER_DW): Likewise.
3781 (FRAME_LINKER_DW): Likewise.
3782 (FRAME_TOC_SAVE): Likewise.
3783 (FRAME_PARM_SAVE): Likewise.
3784 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3785 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3786 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3788 (CHECK_SP): Use symbolic stack frame offsets.
3789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3790 zone" instead of caller's parameter save area for temp storage.
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3792 Likewise. Also, use symbolic stack frame offsets.
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3794 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3795 our own stack frame instead of the caller's.
3796 (__socket): Use symbolic stack frame offsets.
3797
122b66de
UW
37982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3799 Alan Modra <amodra@gmail.com>
3800
3801 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3802 Define.
3803 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3804 PPC64_LOCAL_ENTRY_OFFSET): Define.
3805 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3806 New function.
3807 (elf_machine_fixup_plt): Call it.
3808 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3809 reloc arguments.
3810 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
3811 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3812 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
3813 r2 before calling target.
3814
696caf1d
UW
38152013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3816 Alan Modra <amodra@gmail.com>
3817
3818 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3819 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3820 versions of macros to support ELFv2 ABI.
3821 (LOCALENTRY): New macro.
3822 (ENTRY, EALIGN): Use it.
3823 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3824 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3825 fall through into ENTRY entry point.
3826 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3827 Only define if _CALL_ELF != 2.
3828
3829 (elf_machine_matches_host): Verify ABI version matches.
3830 (RTLD_START): Use LOCALENTRY.
3831 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3832 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3833 (PLT_ENTRY_WORDS): New macro.
3834 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3835 (elf_machine_runtime_setup): Support ELFv2 ABI.
3836 (elf_machine_fixup_plt): Likewise.
3837 (elf_machine_plt_conflict): Likewise.
3838 (resolve_ifunc): Likewise.
3839 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3840 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3841 Likewise.
3842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3843 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3845 (makecontext): Support ELFv2 ABI.
3846 * elf/elf.h (EF_PPC64_ABI): Define.
3847
d31beafa
UW
38482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3849
3850 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3851 New assembler macro.
3852 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3853 [ASSEMBLER] (ENTRY): ... but instead here ...
3854 [ASSEMBLER] (EALIGN): ... and here.
3855 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3856 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3857 [!ASSEMBLER] (ENTRY_2): Use it.
3858 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3859 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3860 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3861 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3862 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3864 Use PPC64_LOAD_FUNCPTR.
3865
b525166b
UW
38662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3867
3868 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3869
7ec07d9a
AM
38702013-12-04 Alan Modra <amodra@gmail.com>
3871
3872 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3873 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3874 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3875 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3876
3877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3878 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3879 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3880 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3881 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3882 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3883
5162e7dd
UW
38842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3885
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3887 (__makecontext): Fix incorrect CFI when backtracing out of
3888 context created via makecontext.
3889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3890 (__setcontext): Fix incorrect CFI during switch to new context.
3891 (__novec_setcontext): Likewise.
3892
19e3372b
OB
38932013-12-04 Ondřej Bílka <neleai@seznam.cz>
3894
3895 [BZ #4772]
3896 * time/strptime_l.c (__strptime_internal): Allow modifiers
3897 in strptime.
3898 * time/tst-strptime.c (day_tests): Add testcase.
3899
3900
ecaf142d
SP
39012013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3902
3903 * scripts/bench.pl: Skip over blank lines.
3904
fbf964ae
PE
39052013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3906
3907 [BZ #926]
3908 * manual/time.texi (Calendar Time): Clarify what timezone functions
3909 use.
3910
fa60a674
AZ
39112013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
3913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3914
d674f0ef
OB
39152013-12-04 Ondřej Bílka <neleai@seznam.cz>
3916
3917 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3918 implementation.
3919 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3920 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3921 * debug/memset_chk.c (__memset_chk): Likewise.
3922 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3923 * debug/strncpy_chk.c: Likewise.
3924
17dea188
JM
39252013-12-03 Joseph Myers <joseph@codesourcery.com>
3926
749008ff
JM
3927 [BZ #15268]
3928 [BZ #15425]
3929 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3930 (__ieee754_exp): For possibly underflowing results, check size of
3931 result and force underflow exception if required.
3932 * math/auto-libm-test-in: Add more tests of exp.
3933 * math/auto-libm-test-out: Regenerated.
3934 * sysdeps/i386/fpu/libm-test-ulps: Update.
3935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3936
17dea188
JM
3937 [BZ #16283]
3938 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3939 * math/w_exp2f.c (__exp2f): Likewise.
3940 * math/w_exp2l.c (__exp2l): Likewise.
3941 * math/auto-libm-test-in: Do not allow missing errno on exp2
3942 underflow.
3943 * math/auto-libm-test-out: Regenerated.
3944
b20de2c3
OB
39452013-12-03 Ondřej Bílka <neleai@seznam.cz>
3946
3947 [BZ #16274]
3948 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3949 handle filename validation.
3950 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3951 (do_open): Delete.
3952
d8e2dbe3
JM
39532013-12-03 Joseph Myers <joseph@codesourcery.com>
3954
34e16df5
JM
3955 [BZ #6786]
3956 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3957 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3958 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3959 <float.h>.
3960 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3961 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3962 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3963 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3964 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3965 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3966 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3967 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3968 Add more erfc tests.
3969 * math/auto-libm-test-out: Regenerated.
3970 * sysdeps/i386/fpu/libm-test-ulps: Update.
3971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3972
d8e2dbe3
JM
3973 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3974 exp2, expm1, j0 and j1.
3975 * math/auto-libm-test-out: Regenerated.
3976 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3977 (erfc_test_data): Likewise.
3978 (exp_test_data): Likewise.
3979 (exp_tonearest_test_data): Likewise.
3980 (exp_towardzero_test_data): Likewise.
3981 (exp_downward_test_data): Likewise.
3982 (exp_upward_test_data): Likewise.
3983 (exp10_test_data): Likewise.
3984 (exp2_test_data): Likewise.
3985 (expm1_test_data): Likewise.
3986 (j0_test_data): Likewise.
3987 (j1_test_data): Likewise.
3988 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3989 (input_flag_type): Add flag_xfail_rounding.
3990 (input_flags): Add xfail-rounding.
3991 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3992 (output_for_one_input_case): Handle flag_xfail_rounding.
3993 * sysdeps/i386/fpu/libm-test-ulps: Update.
3994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3995
18d14251
AJ
39962013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3997
3d2e6075 3998 [BZ #16289]
18d14251
AJ
3999 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4000 division by 0.
4001
520d437b
SP
40022013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4003
4004 [BZ #16195]
4005 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4006 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4007 (STAP_PROBE0): New macro.
4008 (STAP_PROBE1): Likewise.
4009 (STAP_PROBE2): Likewise.
4010 (STAP_PROBE3): Likewise.
4011 (STAP_PROBE4): Likewise.
4012
416e0145
OB
40132013-12-02 Ondřej Bílka <neleai@seznam.cz>
4014
4015 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4016
9d17796a
SE
40172013-12-02 Steve Ellcey <sellcey@mips.com>
4018
4019 * benchtests/Makefile (bench): Add sqrt.
4020 (LDLIBS-bench-sqrt): New.
4021 * benchtests/sqrt-input: New.
4022
f524d6a8
PS
40232013-12-02 Pavel Simerda <psimerda@redhat.com>
4024
639a0ef8
PS
4025 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4026 (GAIH_EAI): Likewise.
4027 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4028 (gaih_inet): Likewise.
4029 (getaddrinfo): Don't use GAIH_EAI.
4030
f524d6a8
PS
4031 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4032 (struct gaih): Remove definition.
4033
df3aedaf
SP
40342013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4035
4036 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4037 Use HERRNOP directly.
4038
1ab19dec
AZ
40392013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4040
b42ad38d 4041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4042
176b0c79
JM
40432013-11-30 Joseph Myers <joseph@codesourcery.com>
4044
4045 * math/gen-auto-libm-tests.c (test_functions): Add more
4046 single-argument functions.
4047 (special_fill_pi_2): New function.
4048 (special_fill_minus_pi_2): Likewise.
4049 (special_fill_pi_6): Likewise.
4050 (special_fill_minus_pi_6): Likewise.
4051 (special_fill_pi_3): Likewise.
4052 (special_fill_2pi_3): Likewise.
4053 (special_fill_e): Likewise.
4054 (special_fill_1_e): Likewise.
4055 (special_fill_e_minus_1): Likewise.
4056 (special_real_inputs): Add more special inputs.
4057 (output_for_one_input_case): Do not require ERANGE on underflow to
4058 zero if round-to-nearest result does not underflow to zero, unless
4059 exact results required.
4060 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4061 atan, atanh, cbrt, cos and cosh.
4062 * math/auto-libm-test-out: Regenerated.
4063 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4064 (acos_tonearest_test_data): Likewise.
4065 (acos_towardzero_test_data): Likewise.
4066 (acos_downward_test_data): Likewise.
4067 (acos_upward_test_data): Likewise.
4068 (acosh_test_data): Likewise.
4069 (asin_test_data): Likewise.
4070 (asin_tonearest_test_data): Likewise.
4071 (asin_towardzero_test_data): Likewise.
4072 (asin_upward_test_data): Likewise.
4073 (asinh_test_data): Likewise.
4074 (atan_test_data): Likewise.
4075 (atanh_test_data): Likewise.
4076 (cbrt_test_data): Likewise.
4077 (cos_test_data): Likewise.
4078 (cos_tonearest_test_data): Likewise.
4079 (cos_towardzero_test_data): Likewise.
4080 (cos_downward_test_data): Likewise.
4081 (cos_upward_test_data): Likewise.
4082 (cosh_test_data): Likewise.
4083 (cosh_tonearest_test_data): Likewise.
4084 (cosh_towardzero_test_data): Likewise.
4085 (cosh_downward_test_data): Likewise.
4086 (cosh_upward_test_data): Likewise.
4087 * sysdeps/i386/fpu/libm-test-ulps: Update.
4088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4089
ffb536d0
JM
40902013-11-29 Joseph Myers <joseph@codesourcery.com>
4091
2a77a467
JM
4092 [BZ #6787]
4093 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4094 * math/w_exp10f.c (__exp10f): Likewise.
4095 * math/w_exp10l.c (__exp10l): Likewise.
4096 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4097 errno settings in existing tests.
4098
ea3bc4e8
JM
4099 [BZ #14032]
4100 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4101 precision control set to double precision.
4102 * sysdeps/i386/fpu/w_sqrt.c: New file.
4103 * math/auto-libm-test-in: Add more tests.
4104 * math/auto-libm-test-out: Update.
4105
0712c9d8
JM
4106 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4107 (sqrt_test_tonearest): New function.
4108 (sqrt_towardzero_test_data): New variable.
4109 (sqrt_test_towardzero): New function.
4110 (sqrt_downward_test_data): New variable.
4111 (sqrt_test_downward): New function.
4112 (sqrt_upward_test_data): New variable.
4113 (sqrt_test_upward): New function.
4114 (main): Call the new functions.
4115
ffb536d0
JM
4116 * math/gen-auto-libm-tests.c: New file.
4117 * math/auto-libm-test-in: Likewise.
4118 * math/auto-libm-test-out: New generated file.
4119 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4120 variables.
4121 (%beautify): Add generated representations of zero.
4122 (top level): Set $auto_input and call parse_auto_input.
4123 (beautify): Remove trailing "f" from hex float constants.
4124 (parse_args): Handle XFAIL_TEST.
4125 (convert_condition): New function.
4126 (or_value): Likewise.
4127 (or_cond_value): Likewise.
4128 (generate_testfile): Handle AUTO_TESTS_* lines.
4129 (parse_auto_input): New function.
4130 * math/libm-test.inc (XFAIL_TEST): New macro.
4131 (ERRNO_UNCHANGED): Update value.
4132 (ERRNO_EDOM): Likewise.
4133 (ERRNO_ERANGE): Likewise.
4134 (IGNORE_RESULT): Likewise.
4135 (TEST_COND_flt_32): New macro.
4136 (TEST_COND_dbl_64): Likewise.
4137 (TEST_COND_ldbl_96_intel): Likewise.
4138 (TEST_COND_ldbl_96_m68k): Likewise.
4139 (TEST_COND_ldbl_128): Likewise.
4140 (TEST_COND_ldbl_128ibm): Likewise.
4141 (TEST_COND_long32): Likewise.
4142 (TEST_COND_long64): Likewise.
4143 (TEST_COND_before_rounding): Likewise.
4144 (TEST_COND_after_rounding): Likewise.
4145 (enable_test): Handle XFAIL_TEST flag.
4146 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4147 with finite results.
4148 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4149 auto-libm-test-out.
4150
acd98a8e
AK
41512013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4152 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4153
4154 [BZ #16214]
4155 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4156 __tls_get_addr_internal instead of __tls_get_offset in order to
4157 avoid GOT pointer dependency. Make rtld export
4158 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4159 __tls_get_addr since we are a __tls_get_offset platform.
4160 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4161 GOT pointer being set up before.
4162 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4163
3c1c46a6
JM
41642013-11-28 Joseph Myers <joseph@codesourcery.com>
4165
7475aef5
JM
4166 * manual/math.texi (Errors in Math Functions): Document accuracy
4167 goals.
4168
8bca7cd8
JM
4169 [BZ #15004]
4170 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4171 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4172 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4174 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4176 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4181 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4186
91a1f3fe
JM
4187 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4188 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4189 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4190 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4191 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4192 Likewise.
4193 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4194 Likewise.
4195 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4196 Likewise.
4197 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4198 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4199 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4200 atomic-feupdateenv and flt-rounds.
4201 * sysdeps/powerpc/nofpu/Versions (libc): Add
4202 __atomic_feholdexcept, __atomic_feclearexcept,
4203 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4204 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4205 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4206 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4207 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4208 here.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4210 Update.
4211
c5df7609
JM
4212 * manual/arith.texi (FP Exceptions): Document that exceptions may
4213 not be raised when matherr is used.
4214 (Math Error Reporting): Document overflow in directed rounding
4215 modes. Document that errno may not be set when finite values are
4216 returned on overflow. Document intent to set errno on underflow
4217 only for underflow to zero.
4218
3c1c46a6
JM
4219 [BZ #16271]
4220 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4221 round-to-nearest then adjust result for other rounding modes.
4222 * include/fenv.h (fegetround): Use libm_hidden_proto.
4223 * math/fegetround.c (fegetround): Use libm_hidden_def.
4224 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4225 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4226 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4227 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4228 Likewise.
4229 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4230 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4231 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4232 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4233
5a4c6d53
SP
42342013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4235
4236 [BZ #16077]
4237 * nss/Versions (libnss_files): Add
4238 _nss_files_gethostbyname3_r.
4239 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4240 New function.
4241 (HOST_DB_LOOKUP): Remove macro.
4242 (_nss_files_gethostbyname_r): Implement function without the
4243 HOST_DB_LOOKUP macro.
4244 (_nss_files_gethostbyname2_r): Likewise.
4245
897b98ba
OB
42462013-11-28 Ondřej Bílka <neleai@seznam.cz>
4247
4248 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4249
6f476861
UB
42502013-11-26 Uros Bizjak <ubizjak@gmail.com>
4251
4252 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4253 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4254 warning.
4255
bd12ab55
AZ
42562013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4257
4258 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4259 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4260 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4261 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4262 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4263 __fe_nomask_env_priv and attribute_hidden.
4264 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4265 (libc_feupdateenv_test_ppc): Likewise.
4266 (libc_feresetround_ppc): Likewise.
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4268 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4269 compat_symbol macro.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4271 (__fe_nomask_env): Likewise.
4272 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4273
52bb6543
OB
42742013-11-26 Ondřej Bílka <neleai@seznam.cz>
4275
4276 * string/Makefile: Remove ifunc tests.
4277 * string/test-string.h: Define TEST_IFUNC.
4278 * string/test-bcopy-ifunc.c: Remove.
4279 * string/test-bzero-ifunc.c: Likewise.
4280 * string/test-memccpy-ifunc.c: Likewise.
4281 * string/test-memchr-ifunc.c: Likewise.
4282 * string/test-memcmp-ifunc.c: Likewise.
4283 * string/test-memcpy-ifunc.c: Likewise.
4284 * string/test-memmem-ifunc.c: Likewise.
4285 * string/test-memmove-ifunc.c: Likewise.
4286 * string/test-mempcpy-ifunc.c: Likewise.
4287 * string/test-memrchr-ifunc.c: Likewise.
4288 * string/test-memset-ifunc.c: Likewise.
4289 * string/test-rawmemchr-ifunc.c: Likewise.
4290 * string/test-stpcpy-ifunc.c: Likewise.
4291 * string/test-stpncpy-ifunc.c: Likewise.
4292 * string/test-strcasecmp-ifunc.c: Likewise.
4293 * string/test-strcasestr-ifunc.c: Likewise.
4294 * string/test-strcat-ifunc.c: Likewise.
4295 * string/test-strchr-ifunc.c: Likewise.
4296 * string/test-strchrnul-ifunc.c: Likewise.
4297 * string/test-strcmp-ifunc.c: Likewise.
4298 * string/test-strcpy-ifunc.c: Likewise.
4299 * string/test-strcspn-ifunc.c: Likewise.
4300 * string/test-strlen-ifunc.c: Likewise.
4301 * string/test-strncasecmp-ifunc.c: Likewise.
4302 * string/test-strncat-ifunc.c: Likewise.
4303 * string/test-strncmp-ifunc.c: Likewise.
4304 * string/test-strncpy-ifunc.c: Likewise.
4305 * string/test-strnlen-ifunc.c: Likewise.
4306 * string/test-strpbrk-ifunc.c: Likewise.
4307 * string/test-strrchr-ifunc.c: Likewise.
4308 * string/test-strspn-ifunc.c: Likewise.
4309 * string/test-strstr-ifunc.c: Likewise.
4310
ab260039 43112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4312
4313 * benchtests/Makefile: Remove ifunc tests.
4314 * benchtests/bench-string.h: Define TEST_IFUNC.
4315 * benchtests/bench-bcopy-ifunc.c: Remove.
4316 * benchtests/bench-bzero-ifunc.c: Likewise.
4317 * benchtests/bench-memccpy-ifunc.c: Likewise.
4318 * benchtests/bench-memchr-ifunc.c: Likewise.
4319 * benchtests/bench-memcmp-ifunc.c: Likewise.
4320 * benchtests/bench-memcpy-ifunc.c: Likewise.
4321 * benchtests/bench-memmem-ifunc.c: Likewise.
4322 * benchtests/bench-memmove-ifunc.c: Likewise.
4323 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4324 * benchtests/bench-memrchr-ifunc.c: Likewise.
4325 * benchtests/bench-memset-ifunc.c: Likewise.
4326 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4327 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4328 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4329 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4330 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4331 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4332 * benchtests/bench-strcat-ifunc.c: Likewise.
4333 * benchtests/bench-strchr-ifunc.c: Likewise.
4334 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4335 * benchtests/bench-strcmp-ifunc.c: Likewise.
4336 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4337 * benchtests/bench-strcpy-ifunc.c: Likewise.
4338 * benchtests/bench-strcspn-ifunc.c: Likewise.
4339 * benchtests/bench-strlen-ifunc.c: Likewise.
4340 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4341 * benchtests/bench-strncat-ifunc.c: Likewise.
4342 * benchtests/bench-strncmp-ifunc.c: Likewise.
4343 * benchtests/bench-strncpy-ifunc.c: Likewise.
4344 * benchtests/bench-strnlen-ifunc.c: Likewise.
4345 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4346 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4347 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4348 * benchtests/bench-strspn-ifunc.c: Likewise.
4349 * benchtests/bench-strstr-ifunc.c: Likewise.
4350
43512013-11-26 Ondřej Bílka <neleai@seznam.cz>
4352
ab260039
OB
4353 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4354
d1d9eaf4 43552013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4356
d1d9eaf4
OB
4357 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4358 * rt/aio.h: Likewise.
4359 * sysdeps/gnu/bits/utmp.h: Likewise.
4360 * sysdeps/gnu/bits/utmpx.h: Likewise.
4361 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4362 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4363 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4364 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4365 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4366 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4367 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4368 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4369 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4370 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4372 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4373 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4375 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4376 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4377 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4378 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4379 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4381 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4382 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4383 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4385 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4386 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4387 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4390 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4393 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4394 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4395 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4396 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4397 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4398 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4399 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4400 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4401 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4402 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4403
a7624ed9
CD
44042013-11-25 Carlos O'Donell <carlos@redhat.com>
4405
4406 [BZ #16245]
4407 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4408 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4409
63cfe52b
JM
44102013-11-25 Joseph Myers <joseph@codesourcery.com>
4411
4412 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4413 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4414 Likewise.
4415
41e8926a
AZ
44162013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4417
4418 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4419 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4420 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4421 (__fesetround): Remove define.
4422 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4423 rounding and exceptions handling.
4424 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4425 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4426 (__fe_nomask_env): Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4428 __fegetround instead of fegetround.
4429 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4430 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4431
6851bd4d
RM
44322013-11-21 Roland McGrath <roland@hack.frob.com>
4433
070906ff
RM
4434 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4435 it's there.
4436
6851bd4d
RM
4437 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4438
84ae135d
MI
44392013-11-21 Meador Inge <meadori@codesourcery.com>
4440
4441 [BZ #11157]
4442 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4443 (encrypt_r): Likewise.
4444 * malloc/obstack.h (obstack_free): Likewise.
4445 * posix/unistd.h (encrypt): Likewise.
4446
daf75146
GM
44472013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4448
4449 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4450 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4451 DL_CALL_DT_FINI() that call the functions directly.
4452 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4453 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4454 * elf/dl-fini.c: Likewise.
4455
10ad46bc
OB
44562013-11-20 Ondřej Bílka <neleai@seznam.cz>
4457
4458 * malloc/hooks.c (memalign_check): Add alignment rounding.
4459 * malloc/malloc.c (_mid_memalign): New function.
4460 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4461 Implement by calling _mid_memalign.
4462 * manual/probes.texi (Memory Allocation Probes): Remove
4463 memory_valloc_retry and memory_pvalloc_retry.
4464
f3fd2628
SP
44652013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4466
4712799f
SP
4467 * locale/programs/locarchive.c (open_archive): Add const
4468 qualifier to ARCHIVEFNAME and copy default fname to
4469 DEFAULT_FNAME.
4470
0417b20f
SP
4471 [BZ #15601]
4472 * libio/tst-widetext.input: Rename Oriya to Odia.
4473 * locale/iso-639.def: Likewise.
4474
f3fd2628
SP
4475 * manual/probes.texi (Mathematical Function Probes): Add
4476 documentation for sin, cos, asin and acos probes.
4477 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4478 (__sin32): Add slowasin probe.
4479 (__cos32): Add slowacos probe.
4480 (__mpsin): Add slowsin probe.
4481 (__mpcos): Add slowcos probe.
4482
73c1ce4f
JM
44832013-11-19 Joseph Myers <joseph@codesourcery.com>
4484
4485 [BZ #15483]
4486 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4487 thread-local __sim_exceptions_thread and global
4488 __sim_exceptions_global.
4489 (__sim_disabled_exceptions): Change to thread-local
4490 __sim_disabled_exceptions_thread and global
4491 __sim_disabled_exceptions_global.
4492 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4493 and global __sim_round_mode_global.
4494 (__simulate_exceptions): Use thread-local floating-point state and
4495 set global state from it as needed.
4496 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4497 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4498 __sim_round_mode_thread.
4499 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4500 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4501 and global __sim_exceptions_global.
4502 (__sim_disabled_exceptions): Change to thread-local
4503 __sim_disabled_exceptions_thread and global
4504 __sim_disabled_exceptions_global.
4505 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4506 and global __sim_round_mode_global.
4507 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4508 (SIM_SET_GLOBAL): Likewise.
4509 * sysdeps/powerpc/soft-fp/sfp-machine.h
4510 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4511 __sim_round_mode_thread.
4512 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4513 __sim_disabled_exceptions_thread.
4514 (__sim_exceptions): Change to __sim_exceptions_thread.
4515 (__sim_disabled_exceptions): Change to
4516 __sim_disabled_exceptions_thread.
4517 (__sim_round_mode): Change to __sim_round_mode_thread.
4518 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4519 thread-local floating-point state and set global state from it as
4520 needed.
4521 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4522 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4523 (__sim_disabled_exceptions): Remove extern declaration.
4524 (feenableexcept): Use thread-local floating-point state and set
4525 global state from it as needed.
4526 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4527 extern declaration.
4528 (__sim_disabled_exceptions): Likewise.
4529 (__sim_round_mode): Likewise.
4530 (__fegetenv): Use thread-local floating-point state.
4531 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4532 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4533 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4534 floating-point state and set global state from it as needed.
4535 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4536 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4537 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4538 Likewise.
4539 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4540 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4541 Likewise.
4542 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4543 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4544 Use __sim_round_mode_thread.
4545 * math/test-fenv-tls.c: New file.
4546 * math/Makefile (tests): Add test-fenv-tls.
4547 ($(objpfx)test-fenv-tls): Depend on
4548 $(common-objpfx)nptl/libpthread.so.
4549
b5449b12
AS
45502013-11-19 Andreas Schwab <schwab@suse.de>
4551
4552 * locale/programs/locale.c (show_info): Decode wordarray elements.
4553 * locale/categories.def (LC_MONETARY): Add element for
4554 _NL_MONETARY_CRNCYSTR.
4555 * locale/C-monetary.c (conversion_rate): New variable.
4556 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4557 element.
4558
e186536b
CM
45592013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4560
4561 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4562 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4563
5c349950
PP
45642013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4565
4566 * elf/Makefile (tst-auxv): New test.
4567 * elf/tst-auxv.c: New
4568 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4569
699df45b
JM
45702013-11-18 Joseph Myers <joseph@codesourcery.com>
4571
4572 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4573 (hidden_proto): Caller changed.
4574 (hidden_tls_proto): New macro.
4575 (libc_hidden_tls_proto): Likewise.
4576 (rtld_hidden_tls_proto): Likewise.
4577 (libm_hidden_tls_proto): Likewise.
4578 (libresolv_hidden_tls_proto): Likewise.
4579 (librt_hidden_tls_proto): Likewise.
4580 (libdl_hidden_tls_proto): Likewise.
4581 (libnss_files_hidden_tls_proto): Likewise.
4582 (libnsl_hidden_tls_proto): Likewise.
4583 (libnss_nisplus_hidden_tls_proto): Likewise.
4584 (libutil_hidden_tls_proto): Likewise.
4585
b7589107
OB
45862013-11-18 Ondřej Bílka <neleai@seznam.cz>
4587
4588 [BZ #10253]
4589 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4590 (decompose_rpath): Defer expansion to fillin_rpath.
4591 (_dl_init_paths): Pass linkmap to fillin_rpath.
4592
250c23bd
RS
45932013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4594
4595 * benchtests/Makefile: Add strsep.
4596 * benchtests/bench-strsep.c: New file: strsep benchtest.
4597 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4598
a7931fcf
AS
45992013-11-18 Andreas Schwab <schwab@suse.de>
4600
4601 * locale/programs/locale.c (show_info) [case byte]: Check for
4602 '\377' instead of '\177'.
4603 * locale/C-monetary.c (not_available): Always use "\377".
4604 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4605 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4606 detect unavailable sign_posn locale elements.
4607 * locale/localeconv.c (__localeconv): For grouping and
4608 mon_grouping handle "\177" and "\377" like no grouping.
4609 (INT_ELEM): New macro. Use it to set all numeric members.
4610 * locale/programs/ld-monetary.c (monetary_read)
4611 <tok_mon_grouping>: Normalize single -1 to the empty string.
4612 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4613 Likewise.
4614
728dab0e
OB
46152013-11-07 Ondřej Bílka <neleai@seznam.cz>
4616
4617 [BZ #16055]
4618 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4619 when we match (nil).
4620 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4621
66294491
JM
46222013-11-16 Joseph Myers <joseph@codesourcery.com>
4623
ce665817
JM
4624 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4625 (NO_TEST_INLINE): Update value.
4626 (ERRNO_UNCHANGED): Likewise.
4627 (ERRNO_EDOM): Likewise.
4628 (ERRNO_ERANGE): Likewise.
4629 (IGNORE_RESULT): Likewise.
4630 (check_float_internal): Check signs of NaN results if
4631 TEST_NAN_SIGN used.
4632 (check_complex): Pass TEST_NAN_SIGN flag through to second
4633 check_float_internal call.
4634 (copysign_test_data): Add tests with quiet NaNs as second
4635 argument. Use TEST_NAN_SIGN.
4636 (fabs_test_data): Add test of negative quiet NaN argument. Use
4637 TEST_NAN_SIGN.
4638 (signbit_test_data): Add tests of quiet NaN argument.
4639 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4640
ee1466a9
JM
4641 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4642 $ignore_result.
4643 (parse_args): Handle function results specified as IGNORE.
4644 * math/libm-test.inc (IGNORE_RESULT): New macro.
4645 (check_float_internal): Do not check numerical result if flag
4646 IGNORE_RESULT set.
4647 (check_complex): Pass through IGNORE_RESULT to second
4648 check_float_internal call.
4649 (check_int): Do not check numerical result if flag IGNORE_RESULT
4650 set.
4651 (check_long): Likewise.
4652 (check_bool): Likewise.
4653 (check_longlong): Likewise.
4654 (lrint_test_data): Add tests of infinite and NaN arguments.
4655 (lrint_tonearest_test_data): Likewise.
4656 (lrint_towardzero_test_data): Likewise.
4657 (lrint_downward_test_data): Likewise.
4658 (lrint_upward_test_data): Likewise.
4659 (llrint_test_data): Likewise.
4660 (llrint_tonearest_test_data): Likewise.
4661 (llrint_towardzero_test_data): Likewise.
4662 (llrint_downward_test_data): Likewise.
4663 (llrint_upward_test_data): Likewise.
4664 (lround_test_data): Likewise.
4665 (llround_test_data): Likewise.
4666
14407b7e
JM
4667 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4668 (ERRNO_UNCHANGED): Update value.
4669 (ERRNO_EDOM): Likewise.
4670 (ERRNO_ERANGE): Likewise.
4671 (NO_TEST_INLINE_FLOAT): New macro.
4672 (NO_TEST_INLINE_DOUBLE): Likewise.
4673 (enable_test): New function.
4674 (RUN_TEST_f_f): Check enable_test before running test.
4675 (RUN_TEST_2_f): Likewise.
4676 (RUN_TEST_fff_f): Likewise.
4677 (RUN_TEST_c_f): Likewise.
4678 (RUN_TEST_f_f1): Likewise.
4679 (RUN_TEST_fF_f1): Likewise.
4680 (RUN_TEST_fI_f1): Likewise.
4681 (RUN_TEST_ffI_f1): Likewise.
4682 (RUN_TEST_c_c): Likewise.
4683 (RUN_TEST_cc_c): Likewise.
4684 (RUN_TEST_f_i): Likewise.
4685 (RUN_TEST_f_i_tg): Likewise.
4686 (RUN_TEST_ff_i_tg): Likewise.
4687 (RUN_TEST_f_b): Likewise.
4688 (RUN_TEST_f_b_tg): Likewise.
4689 (RUN_TEST_f_l): Likewise.
4690 (RUN_TEST_f_L): Likewise.
4691 (RUN_TEST_fFF_11): Likewise.
4692 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4693 conditionals.
4694 (cosh_test_data): Likewise.
4695 (exp_test_data): Likewise.
4696 (expm1_test_data): Likewise.
4697 (hypot_test_data): Likewise.
4698 (pow_test_data): Likewise.
4699 (sinh_test_data): Likewise.
4700 (tanh_test_data): Likewise.
4701 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4702 flags argument.
4703
ca07f197
JM
4704 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4705 tests with quiet NaN input and output.
4706 (acosh_test_data): Likewise.
4707 (asin_test_data): Likewise.
4708 (asinh_test_data): Likewise.
4709 (atan_test_data): Likewise.
4710 (atanh_test_data): Likewise.
4711 (atan2_test_data): Likewise.
4712 (cbrt_test_data): Likewise.
4713 (cos_test_data): Likewise.
4714 (cosh_test_data): Likewise.
4715 (erf_test_data): Likewise.
4716 (erfc_test_data): Likewise.
4717 (exp_test_data): Likewise.
4718 (exp10_test_data): Likewise.
4719 (exp2_test_data): Likewise.
4720 (expm1_test_data): Likewise.
4721 (hypot_test_data): Likewise.
4722 (j0_test_data): Likewise.
4723 (j1_test_data): Likewise.
4724 (jn_test_data): Likewise.
4725 (lgamma_test_data): Likewise.
4726 (log_test_data): Likewise.
4727 (log10_test_data): Likewise.
4728 (log1p_test_data): Likewise.
4729 (log2_test_data): Likewise.
4730 (pow_test_data): Likewise.
4731 (scalb_test_data): Likewise.
4732 (sin_test_data): Likewise.
4733 (sincos_test_data): Likewise.
4734 (sinh_test_data): Likewise.
4735 (tan_test_data): Likewise.
4736 (tanh_test_data): Likewise.
4737 (tgamma_test_data): Likewise.
4738 (y0_test_data): Likewise.
4739 (y1_test_data): Likewise.
4740 (yn_test_data): Likewise.
4741
66294491
JM
4742 [BZ #16167]
4743 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4744 argument being NaN and avoid computations with second argument in
4745 that case.
4746 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4747 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4748 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4749
1820b143
CL
47502013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4751
4752 * locale/iso-639.def: Add Chitwani Tharu (the).
4753
714bd261
AS
47542013-11-14 Andreas Schwab <schwab@suse.de>
4755
4756 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4757 word instead of empty string.
4758
7ab44563
AZ
47592013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4760
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4762 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4764 (__fe_nomask_env): Likewise.
4765
e8470ea2
SE
47662013-11-13 Steve Ellcey <sellcey@mips.com>
4767
4768 * benchtests/bench-timing.h: Include time.h.
4769
17c1d9f0
L
47702013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 [BZ #15997]
4773 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4774 to 3.4.0 for x32.
4775 * sysdeps/unix/sysv/linux/configure: Regenerated.
4776
9310c284
JM
47772013-11-13 Joseph Myers <joseph@codesourcery.com>
4778
4779 [BZ #16151]
4780 * stdlib/strtod_l.c (round_and_return): Do not consider
4781 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4782 exponent one less than half the least subnormal exponent.
4783 * stdlib/test-strtod-round-data: Add more tests.
4784 * stdlib/tst-strtod-round.c (tests): Regenerated.
4785
7a2ad8cf
AZ
47862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787
4788 [BZ #14143]
4789 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4790 (__fe_mask_env): Likewise.
4791 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4792 libm_hidden_proto and add function prototype.
4793 (__fe_mask_env): Add function prototype.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4795 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4797 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4799 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4800
50727aa7
MS
48012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4802
b2f386c1 4803 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
4804 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4805
a615be46
MS
48062013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4807
4808 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4809 of htab_find_slot().
4810
7ddace62
DM
48112013-11-11 David S. Miller <davem@davemloft.net>
4812
4813 [BZ #16150]
4814 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4815 symbol in the non-vis3 case in static builds.
4816 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4817 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4818 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4819 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4820
9182aa67
JK
48212013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4822
4823 [BZ #387]
4824 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4825 it is empty.
4826
450a2e2d
AZ
48272013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
b2f386c1
SP
4829 * benchtests/Makefile: Add bench-strtod.
4830 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 4831
8ec3f656
AS
48322013-11-11 Andreas Schwab <schwab@suse.de>
4833
4834 [BZ #16153]
4835 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4836 terminating NUL in key length.
4837
76a9b998
AZ
48382013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4839
4840 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4841 Add artificial ODP entry for vDSO symbol for PPC64.
4842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4843 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4844
e4368156
OB
48452013-11-07 Ondřej Bílka <neleai@seznam.cz>
4846
4847 [BZ #15374]
4848 * nss/getent.c (services_keys): Recognize services starting with digit.
4849
8d6bb57c
DM
48502013-11-06 David S. Miller <davem@davemloft.net>
4851
4852 [BZ #15985]
4853 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4854 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4855
e256c421
WN
48562013-11-06 Will Newton <will.newton@linaro.org>
4857
4858 * manual/memory.texi (Malloc Examples): Remove register
4859 keyword from examples.
4860
f6e12daa 48612013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 4862
f6e12daa 4863 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 4864
9d880655
AS
48652013-11-04 Joseph Myers <joseph@codesourcery.com>
4866
fd2f9486 4867 [BZ #6981]
9d880655
AS
4868 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4869 depending on [__GCC_IEC_559 > 0].
4870 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4871 depending on [__GCC_IEC_559_COMPLEX > 0].
4872
ae129d3c
CL
48732013-11-03 Chris Leonard <cjl@sugarlabs.org>
4874
4875 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4876 to iso-639.def.
4877
4a15c2a4 48782013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
4879
4880 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4881
8b35e35d
OB
48822013-11-01 Ondřej Bílka <neleai@seznam.cz>
4883
4884 [BZ #16112]
4885 * malloc/malloc (malloc_info): Do not handle first bin as
4886 special case.
4887
1d70fd6c
CL
48882013-11-01 Chris Leonard <cjl@sugarlabs.org>
4889
4890 * locale/iso-639.def: Add Central Nahuatl (nhn).
4891
8c5c2600
BH
48922013-11-01 Bruno Haible <bruno@clisp.org>
4893
4894 [BZ #7003]
4895 * manual/math.texi (BSD Random): Specify range upper bound as
4896 in POSIX.
4897
da5579c2
CL
48982013-10-31 Chris Leonard <cjl@sugarlabs.org>
4899
4900 * locale/iso-639.def: Add Meadow Mari (mhr).
4901
5d30d853
OB
49022013-10-31 Ondřej Bílka <neleai@seznam.cz>
4903
4904 [BZ #14752], [BZ #15763]
4905 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4906 Validate name.
4907 * rt/tst_shm.c: Add test for escaping directory.
4908
a4966c61
AS
49092013-10-31 Andreas Schwab <schwab@suse.de>
4910
8a43e768 4911 [BZ #15917]
a4966c61
AS
4912 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4913 followed by 'x' as part of digit sequence.
4914 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4915
28d708c4
MAP
49162013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4917
4918 [BZ #16037]
4919 * configure.ac: allow GNU Make 4.0 and greater.
4920 * configure: Regenerated.
4921
a56ee40b
WN
49222013-10-30 Will Newton <will.newton@linaro.org>
4923
4924 [BZ #16038]
4925 * malloc/hooks.c (memalign_check): Limit alignment to the
4926 maximum representable power of two.
4927 * malloc/malloc.c (__libc_memalign): Likewise.
4928 * malloc/tst-memalign.c (do_test): Add test for very
4929 large alignment values.
4930 * malloc/tst-posix_memalign.c (do_test): Likewise.
4931
c6e4925d
OB
49322013-10-30 Ondřej Bílka <neleai@seznam.cz>
4933
4934 [BZ #11087]
4935 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4936 (munmap_chunk): Likewise.
4937 (mremap_chunk): Likewise.
4938
49392013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 4940
8a43e768 4941 [BZ #15799]
bbea82f7
OB
4942 * stdlib/div.c (div): Remove obsolete code.
4943 * stdlib/ldiv.c (ldiv): Likewise.
4944 * stdlib/lldiv.c (lldiv): Likewise.
4945
977f4b31
SP
49462013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
4948 [BZ #16071]
4949 * nss/nss_files/files-XXX.c (get_contents_ret): New
4950 enumerator.
4951 (get_contents): New function.
4952 (internal_getent): Use it. Expand size of LINEBUFLEN.
4953
cb8a6dbd
MF
49542013-10-30 Mike Frysinger <vapier@gentoo.org>
4955
4956 * configure.in: Moved to ...
4957 * configure.ac: ... here. Change reference to configure.in
4958 to configure.ac.
4959 * sysdeps/arm/preconfigure.ac: ... here.
4960 configure.in to configure.ac.
4961 * sysdeps/gnu/configure.in: Moved to ...
4962 * sysdeps/gnu/configure.ac: ... here.
4963 * sysdeps/i386/configure.in: Moved to ...
4964 * sysdeps/i386/configure.ac: ... here.
4965 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4966 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4967 * sysdeps/mach/configure.in: Moved to ...
4968 * sysdeps/mach/configure.ac: ... here.
4969 * sysdeps/mach/hurd/configure.in: Moved to ...
4970 * sysdeps/mach/hurd/configure.ac: ... here.
4971 * sysdeps/powerpc/configure.in: Moved to ...
4972 * sysdeps/powerpc/configure.ac: ... here.
4973 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4974 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4975 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4976 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4977 * sysdeps/s390/s390-32/configure.in: Moved to ...
4978 * sysdeps/s390/s390-32/configure.ac: ... here.
4979 * sysdeps/s390/s390-64/configure.in: Moved to ...
4980 * sysdeps/s390/s390-64/configure.ac: ... here.
4981 * sysdeps/sh/configure.in: Moved to ...
4982 * sysdeps/sh/configure.ac: ... here.
4983 * sysdeps/sparc/configure.in: Moved to ...
4984 * sysdeps/sparc/configure.ac: ... here.
4985 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4986 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4987 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4988 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4989 * sysdeps/x86_64/configure.in: Moved to ...
4990 * sysdeps/x86_64/configure.ac: ... here.
4991 * sysdeps/x86_64/preconfigure.in: Moved to ...
4992 * sysdeps/x86_64/preconfigure.ac: ... here.
4993 * aclocal.m4: Change reference to configure.in to configure.ac.
4994 * config.h.in: Likewise.
4995 * manual/install.texi: Likewise.
4996 * manual/maint.texi: Likewise.
4997 * Makefile: Likewise.
4998 * malloc/Makefile: Likewise.
4999 * nscd/Makefile: Likewise.
5000 * Makeconfig: Change reference to configure.in and
5001 preconfigure.in to configure.ac and preconfigure.ac
5002 respectively.
5003 * INSTALL: Regenerated.
5004 * configure: Likewise.
5005 * sysdeps/gnu/configure: Likewise.
5006 * sysdeps/i386/configure: Likewise.
5007 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5008 * sysdeps/mach/configure: Likewise.
5009 * sysdeps/mach/hurd/configure: Likewise.
5010 * sysdeps/powerpc/configure: Likewise.
5011 * sysdeps/powerpc/powerpc32/configure: Likewise.
5012 * sysdeps/powerpc/powerpc64/configure: Likewise.
5013 * sysdeps/s390/s390-32/configure: Likewise.
5014 * sysdeps/s390/s390-64/configure: Likewise.
5015 * sysdeps/sh/configure: Likewise.
5016 * sysdeps/sparc/configure: Likewise.
5017 * sysdeps/unix/sysv/linux/configure: Likewise.
5018 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5019 * sysdeps/x86_64/configure: Likewise.
5020 * sysdeps/x86_64/preconfigure: Likewise.
5021
36a4953a
AS
50222013-10-29 Andreas Schwab <schwab@suse.de>
5023
5024 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5025
c79a1204
SP
50262013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5027
dfa1b402
SP
5028 * benchtests/pow-inputs: Add new inputs.
5029
54f73d9c
SP
5030 * benchtests/exp-inputs: Add new inputs.
5031
c79a1204
SP
5032 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5033 conditional check for return value.
5034 (__cos32): Likewise.
5035
67beb545 50362013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5037
5038 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5039 to provide a boost for large inputs with word alignment.
5040 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5041 implementation based on optimized PPC64 strcpy.
5042 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5043 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5044 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5045 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5046
151659f6
OB
50472013-10-25 Ondřej Bílka <neleai@seznam.cz>
5048
482a077e 5049 [BZ #2801]
151659f6
OB
5050 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5051
10b0f26b
OB
50522013-10-25 Ondřej Bílka <neleai@seznam.cz>
5053
5054 [BZ #14876]
5055 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5056 * time/tst-strptime.c (day_tests): Add testcase.
5057
ca42d35e
OB
50582013-10-25 Ondřej Bílka <neleai@seznam.cz>
5059
482a077e 5060 [BZ #14029]
ca42d35e
OB
5061 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5062
52e6d801
FB
50632013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5064
5065 [BZ #16074]
5066 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5067 MAP_FAILED on error.
5068
7cbcdb36
SP
50692013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5070
5071 [BZ #16072]
5072 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5073 heap for large requests.
5074
894f3f10
AM
50752013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5076
5077 [BZ #9954]
5078 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5079 result if the result has no associated interface.
5080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5081 interface for all 127.X.Y.Z addresses.
5082
b85545a6
CL
50832013-10-24 Chris Leonard <cjl@sugarlabs.org>
5084
5085 * locale/iso-639.def: Add Ligurian (lij)
5086
d1f23d46
OB
50872013-10-21 Ondřej Bílka <neleai@seznam.cz>
5088
5089 [BZ #15825]
5090 * sunrpc/rpc_main.c: Document rpcgen -5.
5091
4db5b08f
MS
50922013-10-19 Michael Stahl <mstahl@redhat.com>
5093
5094 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5095
a471e96a
OB
50962013-10-19 Ondřej Bílka <neleai@seznam.cz>
5097
d1f23d46 5098 [BZ #10278]
a471e96a
OB
5099 * posix/glob.c: Match only directories when trailing slash is present.
5100 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5101 (main): Add testcase.
5102
45c30c61
OB
51032013-10-19 Ondřej Bílka <neleai@seznam.cz>
5104
5105 [BZ #15670]
5106 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5107
484c12fb
CD
51082013-10-18 Carlos O'Donell <carlos@redhat.com>
5109
3d7dc513
CD
5110 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5111 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5112 AUTH_DES and cindex for FIPS 140-2.
5113 (DES Encryption): Add cindex FIPS 46-3.
5114
484c12fb
CD
5115 * locale/locarchive.h (struct locarhandle): Add fname.
5116 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5117 if an optional argument was specified to --list-archive,
5118 otherwise NULL.
5119 * locale/programs/locarchive.c (show_archive_content): Take new
5120 argument fname and pass it via ah.fname to open_archive.
5121 * locale/programs/localedef.h: Update decl.
5122 (open_archive): If AH->fname is non-null, open that file
5123 rather than the default file name, and don't ignore ENOENT.
5124 (create_archive): Set AH.fname to NULL.
5125 (delete_locales_from_archive): Likewise.
5126 (add_locales_to_archive): Likewise.
5127 * locale/programs/locfile.c (write_all_categories): Likewise.
5128
3c8325fb
JM
51292013-10-18 Joseph Myers <joseph@codesourcery.com>
5130 Aldy Hernandez <aldyh@redhat.com>
5131
5132 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5133 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5134 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5135 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5136 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5139 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5140 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5141 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5142 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5143 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5144 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5145 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5146 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5147 Likewise.
5148 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5149 Likewise.
5150 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5151 Likewise.
5152 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5153 Likewise.
5154 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5155 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5156 Likewise.
5157 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5158 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5159 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5160 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5161 Likewise.
5162 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5163 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5164 * sysdeps/powerpc/preconfigure: Likewise.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5166 Likewise.
5167 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5168 Replace contents of file by #include of <fenv_libc.h>.
5169 * sysdeps/powerpc/soft-fp/sfp-machine.h
5170 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5171 and <sys/prctl.h>.
5172 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5173 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5176 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5182 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5183 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5185 Allow copysignl PLT reference to be missing.
5186
5abe0682
RS
51872013-10-18 Richard Sandiford <richard@codesourcery.com>
5188 Joseph Myers <joseph@codesourcery.com
5189
5190 [BZ #15948]
5191 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5192 single character.
5193 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5194
c7738d08
SP
51952013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5196
5197 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5198 * elf/tst-tls1.c: Likewise.
5199 * elf/tst-tls10.h: Likewise.
5200 * elf/tst-tls14.c: Likewise.
5201 * elf/tst-tls2.c: Likewise.
5202 * elf/tst-tls3.c: Likewise.
5203 * elf/tst-tls4.c: Likewise.
5204 * elf/tst-tls5.c: Likewise.
5205 * elf/tst-tls6.c: Likewise.
5206 * elf/tst-tls7.c: Likewise.
5207 * elf/tst-tls8.c: Likewise.
5208 * elf/tst-tls9.c: Likewise.
5209 * elf/tst-tlsmod1.c: Likewise.
5210 * elf/tst-tlsmod13.c: Likewise.
5211 * elf/tst-tlsmod13a.c: Likewise.
5212 * elf/tst-tlsmod14a.c: Likewise.
5213 * elf/tst-tlsmod16a.c: Likewise.
5214 * elf/tst-tlsmod16b.c: Likewise.
5215 * elf/tst-tlsmod2.c: Likewise.
5216 * elf/tst-tlsmod3.c: Likewise.
5217 * elf/tst-tlsmod4.c: Likewise.
5218 * elf/tst-tlsmod5.c: Likewise.
5219 * elf/tst-tlsmod6.c: Likewise.
5220
0bfcf2c7
OB
52212013-10-18 Ondřej Bílka <neleai@seznam.cz>
5222
5223 [BZ #12486]
5224 * malloc/malloc.c: remove checks for statistics.
5225
264aad1e
OB
52262013-10-17 Ondřej Bílka <neleai@seznam.cz>
5227
5228 [BZ #15277]
5229 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5230 * inet/tst-network.c: Add testcase.
5231
b957ced8
AS
52322013-10-17 Andreas Schwab <schwab@suse.de>
5233
5234 [BZ #15218]
5235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5236 to determine canonical name.
5237
c5d5d574
OB
52382013-10-17 Ondřej Bílka <neleai@seznam.cz>
5239
5240 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5241 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5264 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5265 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5270 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5297 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5298
e5c2c2d0
JM
52992013-10-17 Joseph Myers <joseph@codesourcery.com>
5300
5301 [BZ #16041]
5302 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5303 make result into a quiet NaN.
5304
51ca9e29
JM
53052013-10-16 Joseph Myers <joseph@codesourcery.com>
5306
5307 * soft-fp/adddf3.c: Fix horizontal whitespace.
5308 * soft-fp/addsf3.c: Likewise.
5309 * soft-fp/addtf3.c: Likewise.
5310 * soft-fp/divdf3.c: Likewise.
5311 * soft-fp/divsf3.c: Likewise.
5312 * soft-fp/divtf3.c: Likewise.
5313 * soft-fp/double.h: Likewise.
5314 * soft-fp/eqdf2.c: Likewise.
5315 * soft-fp/eqsf2.c: Likewise.
5316 * soft-fp/eqtf2.c: Likewise.
5317 * soft-fp/extenddftf2.c: Likewise.
5318 * soft-fp/extended.h: Likewise.
5319 * soft-fp/extendsfdf2.c: Likewise.
5320 * soft-fp/extendsftf2.c: Likewise.
5321 * soft-fp/extendxftf2.c: Likewise.
5322 * soft-fp/fixdfdi.c: Likewise.
5323 * soft-fp/fixdfsi.c: Likewise.
5324 * soft-fp/fixdfti.c: Likewise.
5325 * soft-fp/fixsfdi.c: Likewise.
5326 * soft-fp/fixsfsi.c: Likewise.
5327 * soft-fp/fixsfti.c: Likewise.
5328 * soft-fp/fixtfdi.c: Likewise.
5329 * soft-fp/fixtfsi.c: Likewise.
5330 * soft-fp/fixtfti.c: Likewise.
5331 * soft-fp/fixunsdfdi.c: Likewise.
5332 * soft-fp/fixunsdfsi.c: Likewise.
5333 * soft-fp/fixunsdfti.c: Likewise.
5334 * soft-fp/fixunssfdi.c: Likewise.
5335 * soft-fp/fixunssfsi.c: Likewise.
5336 * soft-fp/fixunssfti.c: Likewise.
5337 * soft-fp/fixunstfdi.c: Likewise.
5338 * soft-fp/fixunstfsi.c: Likewise.
5339 * soft-fp/fixunstfti.c: Likewise.
5340 * soft-fp/floatdidf.c: Likewise.
5341 * soft-fp/floatdisf.c: Likewise.
5342 * soft-fp/floatditf.c: Likewise.
5343 * soft-fp/floatsidf.c: Likewise.
5344 * soft-fp/floatsisf.c: Likewise.
5345 * soft-fp/floatsitf.c: Likewise.
5346 * soft-fp/floattidf.c: Likewise.
5347 * soft-fp/floattisf.c: Likewise.
5348 * soft-fp/floattitf.c: Likewise.
5349 * soft-fp/floatundidf.c: Likewise.
5350 * soft-fp/floatundisf.c: Likewise.
5351 * soft-fp/floatunditf.c: Likewise.
5352 * soft-fp/floatunsidf.c: Likewise.
5353 * soft-fp/floatunsisf.c: Likewise.
5354 * soft-fp/floatunsitf.c: Likewise.
5355 * soft-fp/floatuntidf.c: Likewise.
5356 * soft-fp/floatuntisf.c: Likewise.
5357 * soft-fp/floatuntitf.c: Likewise.
5358 * soft-fp/fmadf4.c: Likewise.
5359 * soft-fp/fmasf4.c: Likewise.
5360 * soft-fp/fmatf4.c: Likewise.
5361 * soft-fp/gedf2.c: Likewise.
5362 * soft-fp/gesf2.c: Likewise.
5363 * soft-fp/getf2.c: Likewise.
5364 * soft-fp/ledf2.c: Likewise.
5365 * soft-fp/lesf2.c: Likewise.
5366 * soft-fp/letf2.c: Likewise.
5367 * soft-fp/muldf3.c: Likewise.
5368 * soft-fp/mulsf3.c: Likewise.
5369 * soft-fp/multf3.c: Likewise.
5370 * soft-fp/negdf2.c: Likewise.
5371 * soft-fp/negsf2.c: Likewise.
5372 * soft-fp/negtf2.c: Likewise.
5373 * soft-fp/op-1.h: Likewise.
5374 * soft-fp/op-2.h: Likewise.
5375 * soft-fp/op-4.h: Likewise.
5376 * soft-fp/op-8.h: Likewise.
5377 * soft-fp/op-common.h: Likewise.
5378 * soft-fp/quad.h: Likewise.
5379 * soft-fp/single.h: Likewise.
5380 * soft-fp/soft-fp.h: Likewise.
5381 * soft-fp/sqrtdf2.c: Likewise.
5382 * soft-fp/sqrtsf2.c: Likewise.
5383 * soft-fp/sqrttf2.c: Likewise.
5384 * soft-fp/subdf3.c: Likewise.
5385 * soft-fp/subsf3.c: Likewise.
5386 * soft-fp/subtf3.c: Likewise.
5387 * soft-fp/truncdfsf2.c: Likewise.
5388 * soft-fp/trunctfdf2.c: Likewise.
5389 * soft-fp/trunctfsf2.c: Likewise.
5390 * soft-fp/trunctfxf2.c: Likewise.
5391 * soft-fp/unorddf2.c: Likewise.
5392 * soft-fp/unordsf2.c: Likewise.
5393 * soft-fp/unordtf2.c: Likewise.
5394
9ebb0332
JM
53952013-10-15 Joseph Myers <joseph@codesourcery.com>
5396
5397 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5398 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5399
4b1a6d8b
OB
54002013-10-15 Ondřej Bílka <neleai@seznam.cz>
5401
5402 * elf/dl-libc.c: Clear initfini list after freeing.
5403
1e145589
JM
54042013-10-14 Joseph Myers <joseph@codesourcery.com>
5405
5406 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5407 * soft-fp/addsf3.c: Likewise.
5408 * soft-fp/addtf3.c: Likewise.
5409 * soft-fp/divdf3.c: Likewise.
5410 * soft-fp/divsf3.c: Likewise.
5411 * soft-fp/divtf3.c: Likewise.
5412 * soft-fp/double.h: Likewise.
5413 * soft-fp/eqdf2.c: Likewise.
5414 * soft-fp/eqsf2.c: Likewise.
5415 * soft-fp/eqtf2.c: Likewise.
5416 * soft-fp/extenddftf2.c: Likewise.
5417 * soft-fp/extended.h: Likewise.
5418 * soft-fp/extendsfdf2.c: Likewise.
5419 * soft-fp/extendsftf2.c: Likewise.
5420 * soft-fp/extendxftf2.c: Likewise.
5421 * soft-fp/fixdfdi.c: Likewise.
5422 * soft-fp/fixdfsi.c: Likewise.
5423 * soft-fp/fixdfti.c: Likewise.
5424 * soft-fp/fixsfdi.c: Likewise.
5425 * soft-fp/fixsfsi.c: Likewise.
5426 * soft-fp/fixsfti.c: Likewise.
5427 * soft-fp/fixtfdi.c: Likewise.
5428 * soft-fp/fixtfsi.c: Likewise.
5429 * soft-fp/fixtfti.c: Likewise.
5430 * soft-fp/fixunsdfdi.c: Likewise.
5431 * soft-fp/fixunsdfsi.c: Likewise.
5432 * soft-fp/fixunsdfti.c: Likewise.
5433 * soft-fp/fixunssfdi.c: Likewise.
5434 * soft-fp/fixunssfsi.c: Likewise.
5435 * soft-fp/fixunssfti.c: Likewise.
5436 * soft-fp/fixunstfdi.c: Likewise.
5437 * soft-fp/fixunstfsi.c: Likewise.
5438 * soft-fp/fixunstfti.c: Likewise.
5439 * soft-fp/floatdidf.c: Likewise.
5440 * soft-fp/floatdisf.c: Likewise.
5441 * soft-fp/floatditf.c: Likewise.
5442 * soft-fp/floatsidf.c: Likewise.
5443 * soft-fp/floatsisf.c: Likewise.
5444 * soft-fp/floatsitf.c: Likewise.
5445 * soft-fp/floattidf.c: Likewise.
5446 * soft-fp/floattisf.c: Likewise.
5447 * soft-fp/floattitf.c: Likewise.
5448 * soft-fp/floatundidf.c: Likewise.
5449 * soft-fp/floatundisf.c: Likewise.
5450 * soft-fp/floatunsidf.c: Likewise.
5451 * soft-fp/floatunsisf.c: Likewise.
5452 * soft-fp/floatuntidf.c: Likewise.
5453 * soft-fp/floatuntisf.c: Likewise.
5454 * soft-fp/floatuntitf.c: Likewise.
5455 * soft-fp/fmadf4.c: Likewise.
5456 * soft-fp/fmasf4.c: Likewise.
5457 * soft-fp/fmatf4.c: Likewise.
5458 * soft-fp/gedf2.c: Likewise.
5459 * soft-fp/gesf2.c: Likewise.
5460 * soft-fp/getf2.c: Likewise.
5461 * soft-fp/ledf2.c: Likewise.
5462 * soft-fp/lesf2.c: Likewise.
5463 * soft-fp/letf2.c: Likewise.
5464 * soft-fp/muldf3.c: Likewise.
5465 * soft-fp/mulsf3.c: Likewise.
5466 * soft-fp/multf3.c: Likewise.
5467 * soft-fp/negdf2.c: Likewise.
5468 * soft-fp/negsf2.c: Likewise.
5469 * soft-fp/negtf2.c: Likewise.
5470 * soft-fp/op-1.h: Likewise.
5471 * soft-fp/op-2.h: Likewise.
5472 * soft-fp/op-4.h: Likewise.
5473 * soft-fp/op-8.h: Likewise.
5474 * soft-fp/op-common.h: Likewise.
5475 * soft-fp/quad.h: Likewise.
5476 * soft-fp/single.h: Likewise.
5477 * soft-fp/soft-fp.h: Likewise.
5478 * soft-fp/sqrtdf2.c: Likewise.
5479 * soft-fp/sqrtsf2.c: Likewise.
5480 * soft-fp/sqrttf2.c: Likewise.
5481 * soft-fp/subdf3.c: Likewise.
5482 * soft-fp/subsf3.c: Likewise.
5483 * soft-fp/subtf3.c: Likewise.
5484 * soft-fp/truncdfsf2.c: Likewise.
5485 * soft-fp/trunctfdf2.c: Likewise.
5486 * soft-fp/trunctfsf2.c: Likewise.
5487 * soft-fp/trunctfxf2.c: Likewise.
5488 * soft-fp/unorddf2.c: Likewise.
5489 * soft-fp/unordsf2.c: Likewise.
5490 * soft-fp/unordtf2.c: Likewise.
5491
17c48a60
OB
54922013-10-14 Ondřej Bílka <neleai@seznam.cz>
5493
5494 [BZ #15672]
5495 * misc/error.c (error_tail): Fix possible buffer overflow.
5496
cabba934
OB
54972013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5498
5499 [BZ #13028]
5500 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5501 address.
5502
94bf958a
PM
55032013-10-14 P. J. McDermott <pj@pehjota.net>
5504
5505 [BZ #832]
5506 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5507 testing pipefail option.
5508
71b4dea7
JM
55092013-10-12 Joseph Myers <joseph@codesourcery.com>
5510
5511 * soft-fp/double.h: Indent preprocessor directives inside #if.
5512 * soft-fp/extended.h: Likewise.
5513 * soft-fp/op-2.h: Likewise.
5514 * soft-fp/op-4.h: Likewise.
5515 * soft-fp/op-common.h: Likewise.
5516 * soft-fp/quad.h: Likewise.
5517 * soft-fp/single.h: Likewise.
5518 * soft-fp/soft-fp.h: Likewise.
5519
55602758
YC
55202013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5521
5522 * iconv/iconv_prog.c: Fix typos.
5523 * stdio-common/psiginfo-data.h: Likewise.
5524
9cd83302
RT
55252013-10-12 Reuben Thomas <rrt@sc3d.org>
5526
5527 [BZ #15764]
5528 * locale/setlocale.c: Fix typo.
5529
99fd9f47
JM
55302013-10-12 Joseph Myers <joseph@codesourcery.com>
5531
b7ea74f0
JM
5532 [BZ #16036]
5533 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5534 signaling NaN arguments.
5535 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5536 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5537
8a509447
JM
5538 [BZ #14910]
5539 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5540 unordered operands.
5541 * soft-fp/gesf2.c (__gesf2): Likewise.
5542 * soft-fp/getf2.c (__getf2): Likewise.
5543 * soft-fp/ledf2.c (__ledf2): Likewise.
5544 * soft-fp/lesf2.c (__lesf2): Likewise.
5545 * soft-fp/letf2.c (__letf2): Likewise.
5546
98998e9f
JM
5547 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5548 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5549 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5550 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5551 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5552 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5553 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5554 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5555 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5556 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5557 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5558 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5559 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5560 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5561 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5562 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5563 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5564 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5565 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5566 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5567 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5568 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5569 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5570 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5571 * soft-fp/floattidf.c (__floattidf): Likewise.
5572 * soft-fp/floattisf.c (__floattisf): Likewise.
5573 * soft-fp/floattitf.c (__floattitf): Likewise.
5574 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5575 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5576 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5577 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5578 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5579 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5580 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5581 * soft-fp/gesf2.c (__gesf2): Likewise.
5582 * soft-fp/getf2.c (__getf2): Likewise.
5583 * soft-fp/ledf2.c (__ledf2): Likewise.
5584 * soft-fp/lesf2.c (__lesf2): Likewise.
5585 * soft-fp/letf2.c (__letf2): Likewise.
5586
8edc4a11
JM
5587 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5588 Undefine and redefine.
5589 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5590 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5591 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5592 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5593 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5594 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5595 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5596 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5597 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5598 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5599 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5600 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5601 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5602 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5603 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5604
8399acaf
JM
5605 [BZ #16032]
5606 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5607 without decrementing exponent if mantissa >= that for the
5608 denominator, not >.
5609 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5610 denominator, not >. Decrement exponent in < case instead of
5611 incrementing in >= case.
5612 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5613 without decrementing exponent if mantissa >= that for the
5614 denominator, not >.
5615
99fd9f47
JM
5616 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5617 computing saturated result for unsigned overflow.
5618
10e1cf6b
SP
56192013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5620 Jeff Law <law@redhat.com>
5621
5622 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5623 (atan2Mp): Add systemtap probe marker.
5624 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5625 (__ieee754_log): Add systemtap probe marker.
5626 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5627 (atanMp): Add systemtap probe marker.
5628 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5629 (tanMp): Add systemtap probe marker.
5630 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5631 (__slowexp): Add systemtap probe marker.
5632 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5633 (__slowpow): Add systemtap probe marker.
5634 * manual/probes.texi: Document probes.
5635
3d110c7c
EB
56362013-10-11 Eric Biggers <ebiggers3@gmail.com>
5637
5638 [BZ #15362]
5639 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5640 written.
5641 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5642 written.
5643 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5644 written to buffer but not flushed.
5645 * libio/iofwrite_u.c: Likewise.
5646 * libio/iopadn.c: Return bytes returned even if EOF was
5647 encountered.
5648 * libio/iowpadn.c: Likewise.
5649 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5650 if _IO_padn does not write the whole buffer.
5651 [!COMPILE_WPRINTF] (PAD): Likewise.
5652
75b4202a
DM
56532013-10-10 David S. Miller <davem@davemloft.net>
5654
5655 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5656 directory block.
5657
6c6352e6
JM
56582013-10-10 Joseph Myers <joseph@codesourcery.com>
5659
33b853c3
JM
5660 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5661 instead of FSF address.
5662 * soft-fp/fixdfti.c: Likewise.
5663 * soft-fp/fixsfti.c: Likewise.
5664 * soft-fp/fixtfti.c: Likewise.
5665 * soft-fp/fixunsdfti.c: Likewise.
5666 * soft-fp/fixunssfti.c: Likewise.
5667 * soft-fp/fixunstfti.c: Likewise.
5668 * soft-fp/floattidf.c: Likewise.
5669 * soft-fp/floattisf.c: Likewise.
5670 * soft-fp/floattitf.c: Likewise.
5671 * soft-fp/floatuntidf.c: Likewise.
5672 * soft-fp/floatuntisf.c: Likewise.
5673 * soft-fp/floatuntitf.c: Likewise.
5674 * soft-fp/trunctfxf2.c: Likewise.
5675
6c6352e6
JM
5676 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5677 * soft-fp/fixdfti.c: Likewise.
5678 * soft-fp/fixsfti.c: Likewise.
5679 * soft-fp/fixtfti.c: Likewise.
5680 * soft-fp/fixunsdfti.c: Likewise.
5681 * soft-fp/fixunssfti.c: Likewise.
5682 * soft-fp/fixunstfti.c: Likewise.
5683 * soft-fp/floattidf.c: Likewise.
5684 * soft-fp/floattisf.c: Likewise.
5685 * soft-fp/floattitf.c: Likewise.
5686 * soft-fp/floatuntidf.c: Likewise.
5687 * soft-fp/floatuntisf.c: Likewise.
5688 * soft-fp/floatuntitf.c: Likewise.
5689 * soft-fp/trunctfxf2.c: Likewise.
5690
3bf78b71
DM
56912013-10-10 David S. Miller <davem@davemloft.net>
5692
5693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5694
6f10289e
JM
56952013-10-10 Joseph Myers <joseph@codsourcery.com>
5696
bd878fc0
JM
5697 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5698 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5699 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5700 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5701 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5702 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5703 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5704
6f10289e
JM
5705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5706 for NaNs before doing comparisons on argument.
5707 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5708 Likewise.
5709
321e2684
WN
57102013-10-10 Will Newton <will.newton@linaro.org>
5711
5712 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5713 passed to _int_memalign does not overflow.
5714
40fefba1
TR
57152013-10-10 Torvald Riegel <triegel@redhat.com>
5716
5717 * scripts/bench.pl: Add include-sources directive.
5718 * benchtests/README: Update documentation.
5719
2ae21ed2
JM
57202013-10-10 Joseph Myers <joseph@codesourcery.com>
5721
dcc2dd3f
JM
5722 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5723 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5724 instead of FP_INIT_ROUNDMODE.
5725 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5726 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5727
2ae21ed2
JM
5728 [BZ #16034]
5729 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5730 copy class of input value.
5731 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5732 not handle exceptions.
5733 * soft-fp/negsf2.c (__negsf2): Likewise.
5734 * soft-fp/negtf2.c (__negtf2): Likewise.
5735 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5736
cb8f9562
JM
57372013-10-09 Joseph Myers <joseph@codesourcery.com>
5738
5739 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5740 semicolon. From Linux kernel.
5741
5b60c59d
AB
57422013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5743
5744 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5745
b86835ca
YC
57462013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5747
5748 [BZ #156]
5749 * manual/socket.texi: Added statement about buffer
5750 for gethostbyname2_r.
5751
e7044ea7
OB
57522013-10-08 Ondřej Bílka <neleai@seznam.cz>
5753
5754 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5755 Use .p2align directive instead, throughout.
5756 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5757 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5758 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5760 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5761 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5762 * sysdeps/x86_64/strchr.S: Likewise.
5763 * sysdeps/x86_64/strrchr.S: Likewise.
5764
09544cbc
SP
57652013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5766
88576635
SP
5767 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5768
e7b2d1dd
SP
5769 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5770
09544cbc
SP
5771 * sysdeps/generic/math_private.h (__mpsin1): Remove
5772 declaration.
5773 (__mpcos1): Likewise.
5774 (__mpsin): New argument __range_reduce.
5775 (__mpcos): Likewise.
5776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5777 (slow): Use __mpsin and __mpcos.
5778 (slow1): Likewise.
5779 (slow2): Likewise.
5780 (sloww): Likewise.
5781 (sloww1): Likewise.
5782 (sloww2): Likewise.
5783 (bsloww): Likewise.
5784 (bsloww1): Likewise.
5785 (bsloww2): Likewise.
5786 (cslow2): Likewise.
5787 (csloww): Likewise.
5788 (csloww1): Likewise.
5789 (csloww2): Likewise.
5790 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5791 range_reduce. Merge in __mpsin1.
5792 (__mpcos): Likewise.
5793 (__mpsin1): Remove.
5794 (__mpcos1): Likewise.
5795
7602d070
JM
57962013-10-07 Joseph Myers <joseph@codesourcery.com>
5797
5798 * locale/loadlocale.c (_nl_intern_locale_data): Use
5799 LOCFILE_ALIGNED_P.
5800 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5801 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5802 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5803 obstack data is appropriately aligned.
5804 (obstack_int32_grow_fast): Likewise.
5805 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5806 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5807 (add_locale_uint32_array): Likewise.
5808
a357259b
SP
58092013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5810
5811 * benchtests/Makefile: Remove ARGLIST and RET variables.
5812 ($(objpfx)bench-%.c): Pass only function name to the script.
5813 * benchtests/README: Update documentation.
5814 * benchtests/acos-inputs: Add new directives.
5815 * benchtests/acosh-inputs: Likewise.
5816 * benchtests/asin-inputs: Likewise.
5817 * benchtests/asinh-inputs: Likewise.
5818 * benchtests/atan-inputs: Likewise.
5819 * benchtests/atanh-inputs: Likewise.
5820 * benchtests/cos-inputs: Likewise.
5821 * benchtests/cosh-inputs: Likewise.
5822 * benchtests/exp-inputs: Likewise.
5823 * benchtests/log-inputs: Likewise.
5824 * benchtests/pow-inputs: Likewise.
5825 * benchtests/rint-inputs: Likewise.
5826 * benchtests/sin-inputs: Likewise.
5827 * benchtests/sinh-inputs: Likewise.
5828 * benchtests/tan-inputs: Likewise.
5829 * benchtests/tanh-inputs: Likewise.
5830 * scripts/bench.pl: Add support for new directives.
5831
9ec1b13d
AM
58322013-10-07 Alan Modra <amodra@gmail.com>
5833
5834 * README: Fix careless merge.
5835
8b7d57cd
AM
58362013-10-05 Alan Modra <amodra@gmail.com>
5837
5838 * NEWS: Mention powerpc64le support and bugs fixed.
5839 * README: Both big-endian and little-endian powerpc64 supported.
5840
7b7bab13
ST
58412013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5842
5843 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5844 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5845 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5846 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5847
d39baad1
RA
58482013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5849
5850 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5851 match prototype.
5852
cd78f7e7
JM
58532013-10-04 Joseph Myers <joseph@codesourcery.com>
5854
29d73d86
JM
5855 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5856 Move -mhard-float appending from
5857 ports/sysdeps/powerpc/powerpc32/Makefile.
5858 [$(with-fp) = yes] (ASFLAGS): Likewise.
5859 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5860 * sysdeps/powerpc/nofpu: Move directory from
5861 ports/sysdeps/powerpc/nofpu.
5862 * sysdeps/powerpc/soft-fp: Move directory from
5863 ports/sysdeps/powerpc/soft-fp.
5864 * sysdeps/powerpc/powerpc32/405: Move directory from
5865 ports/sysdeps/powerpc/powerpc32/405.
5866 * sysdeps/powerpc/powerpc32/440: Move directory from
5867 ports/sysdeps/powerpc/powerpc32/440.
5868 * sysdeps/powerpc/powerpc32/464: Move directory from
5869 ports/sysdeps/powerpc/powerpc32/464.
5870 * sysdeps/powerpc/powerpc32/476: Move directory from
5871 ports/sysdeps/powerpc/powerpc32/476.
5872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5873 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5875 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5877 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5879 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5881 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5882 * README: Update for powerpc-*-linux-gnu software floating point
5883 support in libc.
5884
e246b347
JM
5885 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5886 case to powerpc/powerpc32*.
5887 * sysdeps/unix/sysv/linux/configure: Regenerated.
5888
89c2003e
JM
5889 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5890 (_FPU_MASK_OM): Define as 0x04.
5891 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5893 0x00c10080.
5894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5895 0x0000003c.
5896 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5897
cd78f7e7
JM
5898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5899 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5900 getcontext_e500.
5901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5902 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5903 setcontext_e500.
5904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5905 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5906 and setcontext_e500.
5907
c755294d
CL
59082013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5909
5910 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5911
e16d221c
SP
59122013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5913
5914 * manual/threads.texi (Default Thread Attributes): Fix typo.
5915
215c7d43
WN
59162013-10-04 Will Newton <will.newton@linaro.org>
5917
5918 * malloc/Makefile: Add tst-memalign.
5919 * malloc/tst-memalign.c: New file.
5920
27d0461b
WN
5921 * malloc/tst-posix_memalign.c: Add comments.
5922 (do_test): Add comments and call free on all potentially
5923 allocated pointers. Add space after cast.
5924
1bc92709
WN
5925 * malloc/tst-pvalloc.c: Add comments.
5926 (do_test): Add comments and call free on all potentially
5927 allocated pointers. Remove duplicate check for NULL pointer.
5928 Add space after cast.
5929
66a9be9d
WN
5930 * malloc/tst-valloc.c: Add comments.
5931 (do_test): Add comments and call free on all potentially
5932 allocated pointers. Remove duplicate check for NULL pointer.
5933 Add space after cast.
5934
4cb81307
AM
59352013-10-04 Alan Modra <amodra@gmail.com>
5936
5937 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5938 Use stdint types in rather than __attribute__((mode())).
5939 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5940
f8e3e9f3
AM
59412013-10-04 Alan Modra <amodra@gmail.com>
5942
5943 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5944 Correct handling of unaligned relocs for little-endian.
5945 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5946
8f9ebb08
AM
59472013-10-04 Alan Modra <amodra@gmail.com>
5948
5949 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5950 * configure: Regenerate.
5951 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5952 * shlib-versions: Likewise.
5953
0edf96c2
AM
59542013-10-04 Alan Modra <amodra@gmail.com>
5955
5956 * string/tester.c (test_memrchr): Increment reported test cycle.
5957
e0f7a380
AM
59582013-10-04 Alan Modra <amodra@gmail.com>
5959
5960 * string/test-memcpy.c (do_one_test): When reporting errors, print
5961 string address and don't overrun end of string.
5962
466b0393
AM
59632013-10-04 Alan Modra <amodra@gmail.com>
5964
5965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5966 insrdi. Make better use of reg selection to speed exit slightly.
5967 Schedule entry path a little better. Remove useless "are we done"
5968 checks on entry to main loop. Handle wrapping around zero address.
5969 Correct main loop count. Handle single left-over word from main
5970 loop inline rather than by using loop_small. Remove extra word
5971 case in loop_small caused by wrong loop count. Add little-endian
5972 support.
5973 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5975 cache hint.
5976 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5977 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5978 support. Avoid rlwimi.
5979 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5980
3be87c77
AM
59812013-10-04 Alan Modra <amodra@gmail.com>
5982
5983 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 5984 insrdi. Formatting.
3be87c77
AM
5985 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5986 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5987 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5988 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5989 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5990 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5991
759cfef3
AM
59922013-10-04 Alan Modra <amodra@gmail.com>
5993
5994 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5995 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5996 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5997 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5998 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5999 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6000 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6001 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6002 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6003 use of regs. Use power7 mtocrf. Tidy function tails.
6004
fe6e95d7
AM
60052013-10-04 Alan Modra <amodra@gmail.com>
6006
6007 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6008 Formatting. Consistently use rXXX register defines or rN defines.
6009 Use early exit labels that avoid restoring unused non-volatile regs.
6010 Make cr field use more consistent with rWORDn compares. Rename
6011 regs used as shift registers for unaligned loop, using rN defines
6012 for short lifetime/multiple use regs.
6013 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6014 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6015 addi 1,1,64 to pop stack frame. Simplify return value code.
6016 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6017
664318c3
AM
60182013-10-04 Alan Modra <amodra@gmail.com>
6019
6020 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6021 support. Correct typos, formatting. Optimize tail. Use insrdi
6022 rather than rlwimi.
6023 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6024 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6025 little-endian support. Correct typos.
6026 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6027 rather than rlwimi.
6028 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6029 in loop and entry code to keep "and." results.
6030 (strchr): Add little-endian support. Comment. Move cntlzd
6031 earlier in tail.
6032 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6033
43b84013
AM
60342013-10-04 Alan Modra <amodra@gmail.com>
6035
6036 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6037 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6038 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6039 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6040
8a7413f9
AM
60412013-10-04 Alan Modra <amodra@gmail.com>
6042
6043 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6044 (rTMP): Define as r11.
6045 (strcmp): Add little-endian support. Optimise tail.
6046 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6047 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6048 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6049 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6051 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6053
33ee81de
AM
60542013-10-04 Alan Modra <amodra@gmail.com>
6055
6056 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6057 little-endian support. Remove unnecessary "are we done" tests.
6058 Handle "s" wrapping around zero and extremely large "size".
6059 Correct main loop count. Handle single left-over word from main
6060 loop inline rather than by using small_loop. Correct comments.
6061 Delete "zero" tail, use "end_max" instead.
6062 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6063
db9b4570
AM
60642013-10-04 Alan Modra <amodra@gmail.com>
6065
6066 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6067 support. Don't branch over align.
6068 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6069 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6070 support. Rearrange tmp reg use to suit. Comment.
6071 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6072
f7c399cf
AM
60732013-10-04 Alan Modra <amodra@gmail.com>
6074
6075 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6076
0b2c2ace
AM
60772013-10-04 Alan Modra <amodra@gmail.com>
6078
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6080 conditional form of branch and link when obtaining pc.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6082
02f04a6c
AM
60832013-10-04 Alan Modra <amodra@gmail.com>
6084
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6086 HIWORD/LOWORD.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6089
9b874b2f
AM
60902013-10-04 Alan Modra <amodra@gmail.com>
6091
6092 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6093 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6094 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6095 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6096 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6097 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6098 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6099 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6100 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6101 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6102
be1e5d31
AB
61032013-10-04 Anton Blanchard <anton@au1.ibm.com>
6104 Alistair Popple <alistair@ozlabs.au.ibm.com>
6105 Alan Modra <amodra@gmail.com>
6106
6107 [BZ #15723]
6108 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6109 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6110 _dl_hwcap access for little-endian.
6111 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6112 destroy vmx regs when saving unaligned.
6113 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6114 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6115 destroy vmx regs when saving unaligned.
6116
fef13a78
AM
61172013-10-04 Alan Modra <amodra@gmail.com>
6118
6119 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6120 Don't use a union to pack hi/low value.
6121
76a66d51
AB
61222013-10-04 Anton Blanchard <anton@au1.ibm.com>
6123
6124 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6125 for little-endian.
6126 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6127 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6128 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6129 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6130 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6131
6a31fe7f
AM
61322013-10-04 Alan Modra <amodra@gmail.com>
6133
6134 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6135 constants to usual value for .cst8 section, and remove redundant
6136 high address load.
6137 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6138 constant for 0x1p52. Load little-endian words of double from
6139 correct stack offsets.
6140
7b88401f
AM
61412013-10-04 Alan Modra <amodra@gmail.com>
6142
6143 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6144 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6145 words of double from correct stack offsets.
6146 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6147 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6148 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6150 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6151 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6152 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6153 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6154 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6156 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6157 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6158 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6159 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6160 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6161 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6162 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6163
9c008155
AM
61642013-10-04 Alan Modra <amodra@gmail.com>
6165
6166 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6167 64-bit int/double union.
6168 (_FPU_SETCW): Likewise.
6169 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6170 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6171
da13146d
AM
61722013-10-04 Alan Modra <amodra@gmail.com>
6173
6174 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6175 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6176
603e8410
AM
61772013-10-04 Alan Modra <amodra@gmail.com>
6178
6179 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6180 use vector int constants.
6181 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6182
4a28b3ca
AB
61832013-10-04 Anton Blanchard <anton@au1.ibm.com>
6184
6185 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6186 array with long long.
6187 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6188 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6189 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6190 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6191 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6192 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6193 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6194 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6195 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6196 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6197 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6198 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6199 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6200
2ca85d2b
AB
62012013-10-04 Anton Blanchard <anton@au1.ibm.com>
6202
6203 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6204 (__signbit): Likewise. Correct for little-endian.
6205 (__signbitl): Call __signbit.
6206 (lrint): Correct for little-endian.
6207 (lrintf): Call lrint.
6208
62a728ae
AM
62092013-10-04 Alan Modra <amodra@gmail.com>
6210
6211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6212 union 32-bit int array member with 64-bit int array.
6213 (t515, tm256): Double rather than long double.
6214 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6215
32c301df
AM
62162013-10-04 Alan Modra <amodra@gmail.com>
6217
6218 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6219 Delete.
6220 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6222 version of math_ldbl.h.
6223
650ef4bd
AM
62242013-10-04 Alan Modra <amodra@gmail.com>
6225
6226 [BZ #15734], [BZ #15735]
6227 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6228 all uses of ieee875 long double macros and unions. Simplify test
6229 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6230 ldbl_extract_mantissa value for ix,iy exponents. Properly
6231 normalize after ldbl_extract_mantissa, and don't add hidden bit
6232 already handled. Don't treat low word of ieee854 mantissa like
6233 low word of IBM long double and mask off bit when testing for
6234 zero.
6235 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6236 all uses of ieee875 long double macros and unions. Simplify tests
6237 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6238 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6239 two1022, instead use their values. Recognise that tests for large
6240 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6241 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6242 Rewrite all uses of ieee875 long double macros and unions. Simplify
6243 test for 0.0L and nan. Correct negation.
6244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6245 ieee875 long double macros and unions. Correct output for large
6246 magnitude x. Correct absolute value calculation.
6247 (__erfcl): Likewise.
6248 * math/libm-test.inc: Add tests for errors discovered in IBM long
6249 double versions of fmodl, remainderl, erfl and erfcl.
6250
765714ca
AM
62512013-10-04 Alan Modra <amodra@gmail.com>
6252
6253 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6254 all uses of ieee854 long double macros and unions. Simplify tests
6255 for long doubles that are fully specified by the high double.
6256 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6257 Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6259 Remove dead code too.
6260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6261 (__ieee754_ynl): Likewise.
6262 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6265 Remove dead code too.
6266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6269 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6270 Simplify.
6271 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6272 Simplify.
6273 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6274 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6276 Comment on variable precision.
6277 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6279 Likewise.
6280 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6282 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6284 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6285
4ebd120c
AM
62862013-10-04 Alan Modra <amodra@gmail.com>
6287
6288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6290 all uses of ieee854 long double macros and unions.
6291 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6292 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6295 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6296 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6297 Likewise.
6298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6299 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6304 Simplify sign and nan test too.
6305 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6306 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6307 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6308 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6309 Likewise.
6310 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6312 Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6319
1b6adf88
AM
63202013-10-04 Alan Modra <amodra@gmail.com>
6321
6322 * stdio-common/printf_size.c (__printf_size): Don't use
6323 union ieee854_long_double in fpnum union.
6324 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6325 signbit macro to retrieve sign from long double.
6326 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6327 retrieve sign from long double.
6328 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6329 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6331 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6332 * math/test-misc.c (main): Don't use union ieee854_long_double.
6333
4cf69995
AM
63342013-10-04 Alan Modra <amodra@gmail.com>
6335
6336 [BZ #15680]
6337 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6338 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6339 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6340 calculation. Remove unnecessary test for denormal exponent.
6341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6342 Correct handling of denormals. Avoid undefined shift behaviour.
6343 Correct normalisation of low mantissa when low double is denormal.
6344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6345 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6346 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6347 Correct normalisation of low mantissa. Test for overflow of high
6348 mantissa and normalise.
6349 (ldbl_nearbyint): Use more readable constant for two52.
6350 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6351 (__mpn_construct_long_double): Fix test for overflow of high
6352 mantissa and correct normalisation. Avoid undefined shift.
6353
9605ca6c
AM
63542013-10-04 Alan Modra <amodra@gmail.com>
6355
6356 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6357 (union ibm_extended_long_double): Define as an array of ieee754_double.
6358 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6359 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6360 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6361 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6369
975569d0
JM
63702013-10-03 Joseph Myers <joseph@codesourcery.com>
6371
d3d23756
JM
6372 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6373 page size instead of calling getpagesize.
6374
975569d0
JM
6375 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6376 (LOCFILE_ALIGN_MASK): Likewise.
6377 (LOCFILE_ALIGN_UP): Likewise.
6378 (LOCFILE_ALIGNED_P): Likewise.
6379 * locale/programs/ld-collate.c (collate_output): Use the new
6380 macros instead of __alignof__ (int32_t).
6381 * locale/weight.h (findidx): Likewise.
6382
b1fe1f2b
OB
63832013-10-03 Ondřej Bílka <neleai@seznam.cz>
6384
6385 [BZ #431]
6386 * manual/string.texi: Fix strncat and wcsncat.
6387
5f855e35
BM
63882013-10-03 Brooks Moses <bmoses@google.com>
6389
6390 [BZ #15915]
6391 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6392 * Makerules: ...here, and adjust associated comments.
6393
3cef6009
WN
63942013-10-02 Will Newton <will.newton@linaro.org>
6395
6396 * malloc/Makefile: Add tst-pvalloc.
6397 * malloc/tst-pvalloc.c: New file.
6398
7815420b
WN
63992013-10-02 Will Newton <will.newton@linaro.org>
6400
6401 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6402 improve test coverage.
6403
4868b204
WN
64042013-10-02 Will Newton <will.newton@linaro.org>
6405
6406 * malloc/Makefile: Add tst-posix_memalign.
6407 * malloc/tst-posix_memalign.c: New file.
6408
29c793b3
EB
64092013-10-01 Eric Blake <eblake@redhat.com>
6410
6411 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6412 Use __THROWNL rather than __THROW on static functions.
6413
fd967522
PM
64142013-09-30 Petr Machata <pmachata@redhat.com>
6415
6416 * elf/elf.h (R_AARCH64_ABS16): New macro.
6417 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6418 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6419 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6420 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6421 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6422 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6423 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6424 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6425 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6426 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6427 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6428 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6429 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6430 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6431 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6432 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6433 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6434 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6435 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6436 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6437 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6438 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6439 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6440 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6441 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6442 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6443 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6444 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6445 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6446 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6447 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6448 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6449 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6450 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6451 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6452 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6453 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6454 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6455 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6456 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6457 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6458 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6459 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6460 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6461 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6462 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6463 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6464 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6465 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6466 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6467 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6468 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6469 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6470 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6471 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6472 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6473 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6474 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6475 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6476 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6477 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6478 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6479 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6480 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6481 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6482 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6483 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6484 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6485 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6486 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6487 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6488 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6489 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6490 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6491 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6492 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6493 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6494 (R_AARCH64_TLSDESC_LDR): Likewise.
6495 (R_AARCH64_TLSDESC_ADD): Likewise.
6496 (R_AARCH64_TLSDESC_CALL): Likewise.
6497
b2179107
AS
64982013-09-30 Andreas Schwab <schwab@suse.de>
6499
6500 [BZ #15048]
6501 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6502 the nss database lookup.
6503 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6505
47f28d0a
MF
65062013-09-28 Mike Frysinger <vapier@gentoo.org>
6507
6508 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6509
65102013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6511
6512 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6513 ${Bash-specific parameter/pattern/string} parameter expansion.
6514 * sysdeps/unix/make-syscalls.sh: Likewise.
6515
f4518a17
KK
65162013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6517
6518 * sysdeps/sh/stackguard-macros.h: New file.
6519
dc1a95c7
OB
65202013-09-26 Ondřej Bílka <neleai@seznam.cz>
6521
6522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6523 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6524 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6525 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6526 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6527 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6528
5ebbff8f
AZ
65292013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6530
6531 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6532 Fix thread ID register.
6533
4fd2cf9f
JM
65342013-09-25 Joseph Myers <joseph@codesourcery.com>
6535
6536 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6537 [POSIX || UNIX98]: Require rather than permitting all symbols from
6538 <time.h>.
6539 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6540 element of struct sched_param.
6541 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6542 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6543 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6544 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6545 constant.
6546
12c22bc4
OL
65472013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6548
6549 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6550 argument calculation.
6551
a03d8ea7
JM
65522013-09-24 Joseph Myers <joseph@codesourcery.com>
6553
6554 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6555 Expect macro.
6556 [POSIX] (pthread_attr_t): Do not require type.
6557 [POSIX] (pthread_cond_t): Likewise.
6558 [POSIX] (pthread_condattr_t): Likewise.
6559 [POSIX] (pthread_key_t): Likewise.
6560 [POSIX] (pthread_mutex_t): Likewise.
6561 [POSIX] (pthread_mutexattr_t): Likewise.
6562 [POSIX] (pthread_once_t): Likewise.
6563 [POSIX] (pthread_t): Likewise.
6564 [POSIX-based standards] (pthread_atfork): Expect function.
6565
6055173a
JM
65662013-09-24 Joseph Myers <joseph@codesourcery.com>
6567 Richard Sandiford <richard@codesourcery.com>
6568
6569 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6570 (swap_endianness_p): New extern variable.
6571 (set_big_endian): New inline function.
6572 (maybe_swap_uint32): Likewise.
6573 (maybe_swap_uint32_array): Likewise.
6574 (maybe_swap_uint32_obstack): Likewise.
6575 * locale/programs/locfile.c: Include <stdbool.h>.
6576 (swap_endianness_p): New variable.
6577 (add_locale_uint32): Call maybe_swap_uint32.
6578 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6579 (write_locale_data): Call maybe_swap_uint32_array.
6580 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6581 maybe_swap_uint32.
6582 (obstack_int32_grow_fast): Likewise.
6583 (output_weightwc): Call maybe_swap_uint32_obstack.
6584 (collate_output): Likewise.
6585 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6586 (OPT_LITTLE_ENDIAN): Likewise.
6587 (options): Add --little-endian and --big-endian options.
6588 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6589 * locale/programs/locarchive.c: Include "locfile.h".
6590 (GET): New macro.
6591 (SET): Likewise.
6592 (INC): Likewise.
6593 (create_archive): Use the new macros to access fields of
6594 structures directly mapped from or written to locale archives.
6595 (oldlocrecentcmp): Likewise.
6596 (enlarge_archive): Likewise.
6597 (insert_name): Likewise.
6598 (add_alias): Likewise.
6599 (add_locale): Likewise.
6600 (delete_locales_from_archive): Likewise.
6601 (show_archive_content): Likewise.
6602 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6603 locale data.
6604
39bf0bb4
RM
66052013-09-24 Roland McGrath <roland@hack.frob.com>
6606
6607 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6608 http://www.gnu.org/doc/freemanuals.texi.
6609 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6610
f02eed10
WN
66112013-09-24 Will Newton <will.newton@linaro.org>
6612
6613 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6614 macro.
6615
a3a6c312
JM
66162013-09-23 Joseph Myers <joseph@codesourcery.com>
6617
6618 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6619 unsigned char.
6620
107375ac
MR
66212013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6622
6623 * manual/threads.texi (POSIX Threads): Fix a typo.
6624
141f3a77
SP
66252013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6626
303e567a
SP
6627 [BZ #14547]
6628 * string/tst-strcoll-overflow.c: New test case.
6629 * string/Makefile (xtests): Add tst-strcoll-overflow.
6630 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6631 cache if string sizes may cause integer overflow.
6632
141f3a77
SP
6633 [BZ #14547]
6634 * string/strcoll_l.c (coll_seq): New members rule, idx,
6635 save_idx and back_us.
6636 (get_next_seq_nocache): New function.
6637 (do_compare_nocache): New function.
6638 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6639 when malloc fails.
6640
c61b4d41
CD
66412013-09-23 Carlos O'Donell <carlos@redhat.com>
6642
0b1f8e35
CD
6643 [BZ #15754]
6644 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6645 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6646 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6647
c61b4d41
CD
6648 [BZ #15754]
6649 * elf/Makefile (tests): Add tst-ptrguard1.
6650 (tests-static): Add tst-ptrguard1-static.
6651 (tst-ptrguard1-ARGS): Define.
6652 (tst-ptrguard1-static-ARGS): Define.
6653 * elf/tst-ptrguard1.c: New file.
6654 * elf/tst-ptrguard1-static.c: New file.
6655 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6656 * sysdeps/i386/stackguard-macros.h: Likewise.
6657 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6658 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6659 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6660 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6661 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6662 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6663
66642013-09-23 Hector Marco <hecmargi@upv.es>
6665 Ismael Ripoll <iripoll@disca.upv.es>
6666 Carlos O'Donell <carlos@redhat.com>
6667
6668 [BZ #15754]
6669 * sysdeps/generic/stackguard-macros.h: Define
6670 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6671 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6672 Define __pointer_chk_guard_local.
6673 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6674 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6675
f5f4e7b4
VV
66762013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6677
6678 [BZ #15859]
6679 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6680
5bb43a43
AS
66812013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6682
6683 * include/string.h (__ffs): Declare as hidden.
6684 * string/ffs.c (__ffs): Define as hidden.
6685 * sysdeps/i386/ffs.c (__ffs): Likewise.
6686 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6687 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6688 * sysdeps/s390/ffs.c (__ffs): Likewise.
6689 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6690
3ea5be54
AO
66912013-09-20 Alexandre Oliva <aoliva@redhat.com>
6692
ffb89e53
AO
6693 * NEWS: Mention malloc probes.
6694
322dea08
AO
6695 * malloc/arena.c (new_heap): New memory_heap_new probe.
6696 (grow_heap): New memory_heap_more probe.
6697 (shrink_heap): New memory_heap_less probe.
6698 (heap_trim): New memory_heap_free probe.
6699 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6700 (systrim): New memory_sbrk_less probe.
6701 * manual/probes.texi: Document them.
6702
655673f3
AO
6703 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6704 * manual/probes.texi: Document it.
6705
35fed6f1
AO
6706 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6707 (__libc_realloc): Add memory_realloc_retry probe.
6708 (__libc_memalign): Add memory_memalign_retry probe.
6709 (__libc_valloc): Add memory_valloc_retry probe.
6710 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6711 (__libc_calloc): Add memory_calloc_retry probe.
6712 * manual/probes.texi: Document them.
6713
6999d38c
AO
6714 * malloc/arena.c (get_free_list): Add probe
6715 memory_arena_reuse_free_list.
6716 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6717 and memory_arena_reuse.
6718 (arena_get2) [!PER_THREAD]: Likewise.
6719 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6720 memory_arena_reuse_realloc.
6721 * manual/probes.texi: Document them.
6722
0653427f
AO
6723 * malloc/malloc.c (__libc_free): Add
6724 memory_mallopt_free_dyn_thresholds probe.
6725 (__libc_mallopt): Add multiple memory_mallopt probes.
6726 * manual/probes.texi: Document them.
6727
3ea5be54
AO
6728 * malloc/malloc.c: Include stap-probe.h.
6729 (__libc_mallopt): Add memory_mallopt probe.
6730 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6731 * manual/probes.texi: New.
6732 * manual/Makefile (chapters): Add probes.
6733 * manual/threads.texi: Set next node.
6734
e35696c3 67352013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 6736
e35696c3
CL
6737 [BZ #15963, #13985]
6738 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6739 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6740 Add `Chinese' to `nan' entry name.
6741
4aafb73c
SP
67422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6743
6744 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6745 (POLYNOMIAL): Likewise.
6746 (TAYLOR_SINCOS): Likewise.
6747 (TAYLOR_SLOW): Likewise.
6748 (__sin): Use TAYLOR_SINCOS.
6749 (__cos): Likewise.
6750 (slow): Use TAYLOR_SLOW.
6751 (sloww): Likewise.
6752 (bsloww): Likewise.
6753 (csloww): Likewise.
6754
d84f25c7
LD
67552013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6756
6757 * stdlib/strtod_l.c: Fix buffer overrun.
6758
5eea0404
SP
67592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6760
7849ff93
SP
6761 * benchtests/Makefile (bench): Add sincos.
6762 * benchtests/bench-sincos.c: New file.
6763
cfa3c886
SP
6764 * math/libm-test.inc (cos_test_data): New test inputs.
6765 (sin_test_data): Likewise.
6766
b348e1e3
SP
6767 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6768 macro.
6769 (__sin): Use it.
6770 (__cos): Likewise.
6771 (slow1): Likewise.
6772 (slow2): Likewise.
6773 (sloww1): Likewise.
6774 (sloww2): Likewise.
6775 (bsloww1): Likewise.
6776 (bsloww2): Likewise.
6777 (cslow2): Likewise.
6778 (csloww1): Likewise.
6779 (csloww2): Likewise.
6780
6cce25f8
SP
6781 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6782 function.
6783 (__sin): Use it.
6784 (__cos): Likewise.
6785
5eea0404
SP
6786 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6787 gotos.
6788 (__cos): Likewise.
6789
9c21573c
MR
67902013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6791
6792 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6793 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6794 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6795 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6796 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6797 * elf/cache.c (print_entry): Handle the new cache flags.
6798
24d22e65
JM
67992013-09-18 Joseph Myers <joseph@codesourcery.com>
6800 Aldy Hernandez <aldyh@redhat.com>
6801
6802 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6803 Change condition to [_SOFT_FLOAT].
6804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6816 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6819 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6820 declaration.
6821
d13ef066
JM
68222013-09-18 Joseph Myers <joseph@codesourcery.com>
6823
2e071de0
JM
6824 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6825 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6826 (__longjmp): Use LOAD_GP to load saved GPRs.
6827 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6828 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6829 (__sigsetjmp): Use SAVE_GP to save GPRs.
6830
d13ef066
JM
6831 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6832 Do not append -msoft-float.
6833 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6834
97a0650b
SP
68352013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6836
6837 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6838
11ca09e9
JM
68392013-09-17 Joseph Myers <joseph@codesourcery.com>
6840
6841 [BZ #15966]
6842 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6843 (_FPU_GETCW): Use initial "__" on variable and field names but not
6844 on macro parameter name.
6845 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6846 parentheses around reference to macro parameter.
6847
08ffcf34
RS
68482013-09-13 Richard Sandiford <richard@codesourcery.com>
6849
6850 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6851 prototype.
6852 (ctype_startup): Use uint32_t in cast and sizeof for
6853 ctype->charnames.
6854
ae7080d3
JL
68552013-09-11 Jia Liu <proljc@gmail.com>
6856
6857 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6858 __daddr_t_defined.
6859 [__FreeBSD__]: Likewise.
6860
5905e7b3
OB
68612013-09-11 Ondřej Bílka <neleai@seznam.cz>
6862
6863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6864 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6865 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6866 (strchr): Remove __strchr_sse42 ifunc selection.
6867 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6868 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6869
b987c776
WN
68702013-09-11 Will Newton <will.newton@linaro.org>
6871
6872 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6873 parameter to RES. Remove hardcoded 1000 value.
6874 * benchtests/bench-skeleton.c (main): Pass RES parameter
6875 to TIMING_INIT and multiply result by 1000.
6876
ddf985af
AZ
68772013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6878
6879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6880
ffdd3181
AS
68812013-09-11 Andreas Schwab <schwab@suse.de>
6882
6883 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6884 if not defined.
6885 (O_TMPFILE) [__USE_GNU]: Define.
6886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6887 Define.
6888
b73ed247
WN
68892013-09-11 Will Newton <will.newton@linaro.org>
6890
6891 [BZ #15857]
6892 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6893 does not overflow.
6894
55e17aad
WN
68952013-09-11 Will Newton <will.newton@linaro.org>
6896
6897 [BZ #15856]
6898 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6899 does not overflow.
6900
1159a193
WN
69012013-09-11 Will Newton <will.newton@linaro.org>
6902
6903 [BZ #15855]
6904 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6905 does not overflow.
6906
5905e7b3 69072013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
6908
6909 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6910 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6914
cdfc721b
AM
69152013-09-10 Allan McRae <allan@archlinux.org>
6916
aa04af00
AM
6917 [BZ #15748]
6918 * manual/arith.texi (Parsing of Floats): Clarify
6919 cross-reference.
6920
cdfc721b
AM
6921 [BZ #15849]
6922 * manual/install.texi (Running make install): Mention
6923 --enable-pt-chown.
6924 * INSTALL: Regenerated.
6925
95e7cf29
MR
69262013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6927
6928 * csu/init-first.c (_init): Remove the !SHARED condition around
6929 FPU control word initialization.
6930 * elf/dl-support.c (_dl_fpu_control): New variable.
6931 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6932 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6933 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6934 * math/test-fpucw-static.c: New file.
6935 * math/test-fpucw-ieee.c: New file.
6936 * math/test-fpucw-ieee-static.c: New file.
6937 * math/Makefile (tests): Add `test-fpucw-ieee' and
6938 `$(tests-static)'.
6939 (tests-static): New variable.
6940 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6941 dependency to...
6942 [($(build-shared),yes)]
6943 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6944 ... this.
6945 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6946 New dependency.
6947
83e43bf0
AM
69482013-09-09 Allan McRae <allan@archlinux.org>
6949
a9f5ce09
AM
6950 [BZ #15939]
6951 * manual/string.texi (Collation Functions): Fix typo in
6952 strcoll example.
6953 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6954
34829bc2
AM
6955 [BZ #15893]
6956 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6957
3932737d
AM
6958 [BZ #15892]
6959 * libio/memstream.c (open_memstream): Fix memory leak.
6960 * libio/wmemstream.c (open_wmemstream): Likewise.
6961
83e43bf0
AM
6962 [BZ #15895]
6963 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6964
0c66b8e9
WN
69652013-09-09 Will Newton <will.newton@linaro.org>
6966
6967 * malloc/Makefile: Add tst-realloc to tests.
6968 * malloc/tst-realloc.c: New file.
6969
f6b00fd1
AM
69702013-09-09 Allan McRae <allan@archlinux.org>
6971
6972 [BZ #15844]
6973 * COPYING: Update from GNU website to fix FSF address.
6974 * COPYING.LIB: Likewise.
6975
eec55e16
DM
69762013-09-06 David S. Miller <davem@davemloft.net>
6977
6978 * po/zh_TW.po: Update Chinese (traditional) translation from
6979 translation project.
6980
1ecbb381
RS
69812013-09-06 Richard Sandiford <richard@codesourcery.com>
6982 Joseph Myers <joseph@codesourcery.com>
6983
6984 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6985 "localeinfo.h".
6986 (obstack_chunk_alloc): New macro.
6987 (obstack_chunk_free): Likewise.
6988 (record_offset): New function.
6989 (init_locale_data): Likewise.
6990 (align_locale_data): Likewise.
6991 (add_locale_empty): Likewise.
6992 (add_locale_raw_data): Likewise.
6993 (add_locale_raw_obstack): Likewise.
6994 (add_locale_string): Likewise.
6995 (add_locale_wstring): Likewise.
6996 (add_locale_uint32): Likewise.
6997 (add_locale_uint32_array): Likewise.
6998 (add_locale_char): Likewise.
6999 (start_locale_structure): Likewise.
7000 (end_locale_structure): Likewise.
7001 (start_locale_prelude): Likewise.
7002 (end_locale_prelude): Likewise.
7003 (write_locale_data): Take locale_file structure rather than an
7004 iovec.
7005 * locale/programs/locfile.h: Include "obstack.h".
7006 (struct locale_file): Change to store locale file contents instead
7007 of header.
7008 (init_locale_data): New prototype.
7009 (align_locale_data): Likewise.
7010 (add_locale_empty): Likewise.
7011 (add_locale_raw_data): Likewise.
7012 (add_locale_raw_obstack): Likewise.
7013 (add_locale_string): Likewise.
7014 (add_locale_wstring): Likewise.
7015 (add_locale_uint32): Likewise.
7016 (add_locale_uint32_array): Likewise.
7017 (add_locale_char): Likewise.
7018 (start_locale_structure): Likewise.
7019 (end_locale_structure): Likewise.
7020 (start_locale_prelude): Likewise.
7021 (end_locale_prelude): Likewise.
7022 (write_locale_data): Update prototype.
7023 * locale/programs/3level.h (struct TABLE): Remove result field.
7024 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7025 Use new locale_file interface.
7026 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7027 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7028 * locale/programs/ld-address.c (address_output): Use new
7029 locale_file interface.
7030 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7031 NO_ADD_LOCALE.
7032 (collate_finish): Don't call collseq_table_finalize.
7033 (collate_output): Use new locale_file interface.
7034 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7035 in file.
7036 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7037 (TABLE): Move defines earlier in file.
7038 (ELEMENT): Likewise.
7039 (DEFAULT): Likewise.
7040 (wctrans_table_add): Move macro and inline function earlier in
7041 file.
7042 (struct wctype_table): Move type earlier in file.
7043 (add_locale_wctype_table): New static prototype.
7044 (struct locale_ctype_t): Use logical types instead of struct iovec
7045 pointers for members.
7046 (ctype_output): Use new locale_file interface.
7047 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7048 new locale_file interface.
7049 (allocate_arrays): Update for use of new locale_file interface.
7050 * locale/programs/ld-identification.c (identification_output): Use
7051 new locale_file interface.
7052 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7053 * locale/programs/ld-messages.c (messages_output): Likewise.
7054 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7055 * locale/programs/ld-name.c (name_output): Likewise.
7056 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7057 * locale/programs/ld-paper.c (paper_output): Likewise.
7058 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7059 * locale/programs/ld-time.c (time_output): Likewise.
7060
e029e2e5
AZ
70612013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7062
7063 * benchtests/Makefile: Add memrchr benchmark.
7064 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7065 benchmark as memrchr.
7066 * benchtests/bench-memrchr-ifunc.c: New file.
7067 * benchtests/bench-memrchr.c: New file.
7068
bbf6e8e4
WN
70692013-09-06 Will Newton <will.newton@linaro.org>
7070
7071 * benchtests/Makefile (string-bench): Add memcpy.
7072
6c82a2f8
CD
70732013-09-05 Carlos O'Donell <carlos@redhat.com>
7074 Cong Wang <amwang@redhat.com>
7075
e732c5f0 7076 [BZ #15850]
6c82a2f8
CD
7077 * sysdeps/unix/sysv/linux/bits/in.h
7078 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7079 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7080 before __USE_KERNEL_IPV6_DEFS uses.
7081 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7082 IPPROTO_BEETPH.
7083 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7084 sockaddr_in6, or ipv6_mreq.
7085
5430fc65
AZ
70862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7087
7088 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7089 memory access for final bytes in some large inputs.
7090 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7091
4660856c
AZ
70922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7093
7094 * string/test-memrchr.c: New file.
7095 * string/test-memrchr-ifunc.c: New file.
7096 * string/Makefile: Add new memrchr testcase.
7097
bb8ea713
MF
70982013-09-05 Mike Frysinger <vapier@gentoo.org>
7099
7100 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7101 fanotify_init returns EPERM.
7102
b92a20b5
JM
71032013-09-04 Joseph Myers <joseph@codesourcery.com>
7104
7105 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7106 errors.
7107 (top level): Treat second token from macro or constant entries for
7108 allowed headers as allowed.
7109 * include/complex.h: Condition internal declarations on
7110 [!_ISOMAC].
7111 * include/fenv.h: Condition include of <stdbool.h> and internal
7112 declarations on [!_ISOMAC].
7447ccd9
CL
7113
71142013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7115
3e181dda 7116 [BZ #15923]
7447ccd9
CL
7117 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7118
3f2e46a4
JM
71192013-09-04 Joseph Myers <joseph@codesourcery.com>
7120
7121 * configure.in (--enable-versioning): Remove configure option.
7122 (libc_cv_asm_symver_directive): Remove configure test.
7123 (libc_cv_ld_version_script_option): Likewise.
7124 (VERSIONING): Remove variable and AC_SUBST.
7125 (DO_VERSIONING): Remove AC_DEFINE.
7126 * configure: Regenerated.
7127 * config.h.in (DO_VERSIONING): Remove macro.
7128 * Makerules [$(versioning) = yes]: Change conditionals to
7129 [$(build-shared) = yes].
7130 * config.make.in (versioning): Remove variable.
7131 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7132 [$(build-shared) = yes].
7133 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7134 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7135 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7136 [$(build-shared) = yes].
7137 * extra-lib.mk [$(versioning) = yes]: Likewise.
7138 * hurd/Makefile [$(versioning) = yes]: Likewise.
7139 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7140 [SHARED].
7141 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7142 [SHARED].
7143 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7144 [SHARED && !NO_HIDDEN].
7145 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7146 [SHARED].
7147 [SHARED && DO_VERSIONING]: Likewise..
7148 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7149 [$(build-shared) = yes].
7150 * manual/install.texi (--disable-versioning): Remove
7151 documentation.
7152 * INSTALL: Regenerated.
7153 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7154 to [SHARED].
7155 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7156 [$(build-shared) = yes].
7157 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7158 * sysdeps/i386/i686/multiarch/strstr-c.c
7159 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7160 [SHARED && !NO_HIDDEN].
7161 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7162 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7163 * sysdeps/powerpc/powerpc32/dl-machine.c
7164 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7165 * sysdeps/powerpc/powerpc32/sysdep.h
7166 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7167 to [SHARED && PIC && !NO_HIDDEN].
7168 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7169 conditional to [SHARED].
7170
44558701
WN
71712013-09-04 Will Newton <will.newton@linaro.org>
7172
7173 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7174 * benchtests/bench-string.h: Include bench-timing.h instead
7175 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7176 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7177 call to HP_TIMING_DIFF_INIT.
7178 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7179 instead of hp-timing.h macros.
7180 * benchtests/bench-memchr.c: Likewise.
7181 * benchtests/bench-memcmp.c: Likewise.
7182 * benchtests/bench-memcpy.c: Likewise.
7183 * benchtests/bench-memmem.c: Likewise.
7184 * benchtests/bench-memmove.c: Likewise.
7185 * benchtests/bench-memset.c: Likewise.
7186 * benchtests/bench-rawmemchr.c: Likewise.
7187 * benchtests/bench-strcasecmp.c: Likewise.
7188 * benchtests/bench-strcasestr.c: Likewise.
7189 * benchtests/bench-strcat.c: Likewise.
7190 * benchtests/bench-strchr.c: Likewise.
7191 * benchtests/bench-strcmp.c: Likewise.
7192 * benchtests/bench-strcpy.c: Likewise.
7193 * benchtests/bench-strcpy_chk.c: Likewise.
7194 * benchtests/bench-strlen.c: Likewise.
7195 * benchtests/bench-strncasecmp.c: Likewise.
7196 * benchtests/bench-strncat.c: Likewise.
7197 * benchtests/bench-strncmp.c: Likewise.
7198 * benchtests/bench-strncpy.c: Likewise.
7199 * benchtests/bench-strnlen.c: Likewise.
7200 * benchtests/bench-strpbrk.c: Likewise.
7201 * benchtests/bench-strrchr.c: Likewise.
7202 * benchtests/bench-strspn.c: Likewise.
7203 * benchtests/bench-strstr.c: Likewise.
7204
cae16d66
WN
72052013-09-04 Will Newton <will.newton@linaro.org>
7206
7207 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7208
ffa3cd7f
JM
72092013-09-03 Joseph Myers <joseph@codesourcery.com>
7210
7211 [BZ #15427]
7212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7213 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7214 * math/libm-test.inc (lgamma_test_data): Add more tests.
7215 * sysdeps/i386/fpu/libm-test-ulps: Update.
7216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7217
8f02859f
OB
72182013-09-03 Ondřej Bílka <neleai@seznam.cz>
7219
7220 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7222 Add ifunc.
7223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7224 Add strcmp-sse2-unaligned
7225 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7226
18d43716
MF
72272013-09-02 Mike Frysinger <vapier@gentoo.org>
7228
7229 * Versions.def (libc): Add GLIBC_2.19.
7230
ac444012
MF
72312013-09-02 Mike Frysinger <vapier@gentoo.org>
7232
7233 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7234 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7235
b7835e32
JM
72362013-09-02 Joseph Myers <joseph@codesourcery.com>
7237
7238 [BZ #14155]
7239 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7240 intermediate calculations in recurrence.
7241 (__ieee754_ynf): Likewise.
7242 * math/libm-test.inc (jn_test_data): Do not allow spurious
7243 underflow exception. Add more tests.
7244 (yn_test_data): Add more tests.
7245 * sysdeps/i386/fpu/libm-test-ulps: Update.
7246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7247
8220f4f0
OB
72482013-09-02 Ondřej Bílka <neleai@seznam.cz>
7249
7250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7251
f24a6d08
OB
72522013-08-30 Ondřej Bílka <neleai@seznam.cz>
7253
7254 * csu/init-first.c: Fix then/than typos.
7255 * locale/programs/ld-collate.c: Likewise.
7256 * locale/programs/linereader.h: Likewise.
7257 * manual/charset.texi: Likewise.
7258 * manual/filesys.texi: Likewise.
7259 * manual/stdio.texi: Likewise.
7260 * manual/string.texi: Likewise.
7261 * stdlib/fmtmsg.c: Likewise.
7262 * sysdeps/i386/stpncpy.S: Likewise.
7263 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7264 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7265 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7266 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7267
382466e0
OB
72682013-08-30 Ondřej Bílka <neleai@seznam.cz>
7269
7270 * elf/dl-open.c: Fix typos.
7271 * iconvdata/gbbig5.c: Likewise.
7272 * iconvdata/iso-2022-jp.c: Likewise.
7273 * iconv/gconv_int.h: Likewise.
7274 * iconv/loop.c: Likewise.
7275 * nis/rpcsvc/nis.h: Likewise.
7276 * resolv/ns_name.c: Likewise.
7277 * stdio-common/vfscanf.c: Likewise.
7278 * streams/stropts.h: Likewise.
7279 * sunrpc/rpc_thread.c: Likewise.
7280 * sysdeps/i386/strpbrk.S: Likewise.
7281 * sysdeps/ieee754/k_standard.c: Likewise.
7282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7284 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7285 * sysdeps/mach/hurd/profil.c: Likewise.
7286 * sysdeps/s390/dl-procinfo.h: Likewise.
7287 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7288 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7290 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7291 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7292
0186c6e9
OB
72932013-08-30 Ondřej Bílka <neleai@seznam.cz>
7294
7295 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7297
d4e16af1
OB
72982013-08-29 Ondřej Bílka <neleai@seznam.cz>
7299
7300 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7301 aix specific files.
7302 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7308 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7310
88335980
TS
73112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7312 Roland McGrath <roland@hack.frob.com>
7313
7314 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7315 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7316
ed479b02
ST
73172013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7318
7319 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7320 __executable_start symbol instead of _start.
7321
f1cc4c86
TS
73222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7323
d821f07c
TS
7324 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7325 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7326 Move macros to...
7327 * sysdeps/gnu/ldsodefs.h: ... this new file.
7328
c54290cf
TS
7329 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7330 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7331 instead of ELFOSABI_LINUX.
7332
0007fc9b 7333 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7334 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7335 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7336 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7337 Likewise.
7338 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7339 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7340 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7341 Likewise.
7342 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7343 (ibm_extended_long_double): Add ieee_nan member.
7344 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7345 (do_test): New function.
7346
f1cc4c86
TS
7347 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7348 TEST_TRUNC.
7349 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7350 functions, renamed from truncdfsf_test, trunctfsf_test,
7351 trunctfdf_test.
7352 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7353 functions.
7354 (do_test): Run all these.
7355
6f65e668
OB
73562013-08-29 Ondřej Bílka <neleai@seznam.cz>
7357
7358 * argp/argp-help.c: Fix typos.
7359 * argp/argp-parse.c: Likewise.
7360 * debug/backtracesyms.c: Likewise.
7361 * elf/elf.h: Likewise.
7362 * malloc/malloc.c: Likewise.
7363 * nis/nis_print.c: Likewise.
7364 * resolv/res_comp.c: Likewise.
7365 * stdlib/stdlib.h: Likewise.
7366 * sunrpc/clnt_tcp.c: Likewise.
7367 * sunrpc/clnt_udp.c: Likewise.
7368 * sunrpc/clnt_unix.c: Likewise.
7369 * sysdeps/unix/bsd/ptsname.c: Likewise.
7370 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7371 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7373 Likewise.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7375 Likewise.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7377 Likewise.
6f65e668
OB
7378 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7379
3a309239
SP
73802013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7381
7382 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7384
3b813b29
MF
73852013-08-27 Mike Frysinger <vapier@gentoo.org>
7386
7387 [BZ #15897]
7388 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7389 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7390 ($(objpfx)bug-dl-leaf): New rule.
7391 ($(objpfx)bug-dl-leaf.so): Likewise.
7392 ($(objpfx)bug-dl-leaf.out): Likewise.
7393 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7394 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7395 * dlfcn/bug-dl-leaf.c: New test.
7396 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7397 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7398 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7399 (dlclose): Likewise.
7400 (dlmopen): Likewise.
7401
8cc3269f
RM
74022013-08-27 Roland McGrath <roland@hack.frob.com>
7403
7f9d0034
RM
7404 * include/netdb.h [!_ISOMAC]:
7405 Don't include <tls.h>.
7406 (h_errno, __libc_h_errno): Move declaration and macros out of
7407 [_LIBC_REENTRANT].
7408
fb431262
RM
7409 * include/resolv.h [_RESOLV_H_]:
7410 Don't include <tls.h>.
7411 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7412 * resolv/res_libc.c: Don't include <tls.h>.
7413 (_res): Use __attribute__ ((nocommon)) in place of
7414 __attribute__ ((section (".bss"))).
7415
bd81123a
RM
7416 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7417 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7418
c4e42566
RM
7419 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7420
f890a59b
RM
7421 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7422 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7423
7424 * resolv/res_mkquery.c: Include <sys/time.h>.
7425
5d1f0a09
RM
7426 * inet/ifreq.c: Moved to ...
7427 * sysdeps/unix/ifreq.c: ... here.
7428 * inet/ifreq.c: New file, true stub version.
7429
6fcf28b3
RM
7430 * socket/sa_len.c: New file.
7431 * socket/Makefile (aux): Add it.
7432 * sysdeps/unix/sysv/linux/Makefile
7433 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7434 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7435 and #include <socket/sa_len.c>.
7436 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7437 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7438
e041fb8b
RM
7439 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7440 * bits/socket.h: ... here.
7441
8cc3269f
RM
7442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7443 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7444 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7445
5d228a43
AS
74462013-08-27 Andreas Schwab <schwab@suse.de>
7447
45b8accc
AS
7448 [BZ #15736]
7449 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7450 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7451 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7452 * string/test-strcasecmp.c (test_main): Run tests in several
7453 locales.
7454 * string/test-strncasecmp.c (test_main): Likewise.
7455
5d228a43
AS
7456 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7457 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7458 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7460 (__strncasecmp_ssse3) [PIC]: Likewise.
7461
59d112a4
RM
74622013-08-26 Roland McGrath <roland@hack.frob.com>
7463
53234cc3
RM
7464 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7465
59d112a4
RM
7466 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7467 instead of explicitly declaring xdecrypt.
7468 * nis/nss_nis/nis-publickey.c: Likewise.
7469
595aba70
SP
74702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7471
7472 [BZ #15890]
7473 * nscd/aicache.c: Include res_hconf.h.
7474 (addhstaiX): Initialize res_hconf.
7475
ffabd393
AS
74762013-08-26 Andreas Schwab <schwab@suse.de>
7477
7478 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7479 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7480
e0a69f5c
SP
74812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7482
7483 * nscd/aicache.c (addhstaiX): Fix indentation.
7484
8c12f01d
MF
74852013-08-25 Mike Frysinger <vapier@gentoo.org>
7486
7487 * configure.ac: Quote $build_pt_chown test.
7488 * configure: Regenerated.
7489
8fe89494
JM
74902013-08-23 Joseph Myers <joseph@codesourcery.com>
7491
7492 [BZ #15532]
7493 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7494 * math/s_cexpf.c (__cexpf): Likewise.
7495 * math/s_cexpl.c (__cexpl): Likewise.
7496 * math/libm-test.inc (cexp_test_data): Correct expected return
7497 value for NaN + i0. Add another test.
7498
75b181d6
DM
74992013-08-22 David S. Miller <davem@davemloft.net>
7500
7501 * po/ca.po: Update Catalan translation from translation project.
936241e4 7502 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7503
acd06bb1
JM
75042013-08-21 Joseph Myers <joseph@codesourcery.com>
7505
7506 [BZ #15797]
7507 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7508 is infinite, not alongside NaN test.
7509 * math/s_fdimf.c (__fdimf): Likewise.
7510 * math/s_fdiml.c (__fdiml): Likewise.
7511 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7512 errno is unchanged.
7513
c0c3f78a
OB
75142013-08-21 Ondřej Bílka <neleai@seznam.cz>
7515
7516 * argp/argp-help.c: Fix typos.
7517 * crypt/speeds.c: Likewise.
7518 * csu/check_fds.c: Likewise.
7519 * elf/dl-load.c: Likewise.
7520 * elf/dl-open.c: Likewise.
7521 * elf/reldep3.c: Likewise.
7522 * elf/reldep.c: Likewise.
7523 * elf/sprof.c: Likewise.
7524 * iconv/iconv_charmap.c: Likewise.
7525 * iconv/skeleton.c: Likewise.
7526 * iconv/strtab.c: Likewise.
7527 * io/lockf64.c: Likewise.
7528 * libio/libioP.h: Likewise.
7529 * resolv/gai_notify.c: Likewise.
7530 * resolv/ns_name.c: Likewise.
7531 * resolv/ns_samedomain.c: Likewise.
7532 * resolv/res_send.c: Likewise.
7533 * stdlib/random.c: Likewise.
7534 * sunrpc/rpc/xdr.h: Likewise.
7535 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7536 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7543 * sysdeps/mach/hurd/check_fds.c: Likewise.
7544 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7545 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7546 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7547 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7548 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7550 * sysdeps/pthread/aio_notify.c: Likewise.
7551 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7552 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7553 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7554 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7555 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7556
46ed1038
LD
75572013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7558
7559 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7560 version if bit_Slow_SSE4_2 is set.
7561 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7563
d400dcac
AZ
75642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7565
7566 [BZ #15867]
7567 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7568 trampoline stack frame information.
7569 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7570 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7571 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7572 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7573 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7574 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7575 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7576 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7577 sa_flags value.
7578 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7579 interrupting a syscall and set with option SA_SIGINFO.
7580
42c8fdd8
JM
75812013-08-20 Joseph Myers <joseph@codesourcery.com>
7582
c980f2f4
JM
7583 [BZ #15531]
7584 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7585 argument is infinite.
7586 * math/s_cprojf.c (__cprojf): Likewise.
7587 * math/s_cprojl.c (__cprojl): Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7589 * math/libm-test.inc (cproj_test_data): Add more tests.
7590
0716c4fc
JM
7591 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7592
42c8fdd8
JM
7593 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7594 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7595 size. Use __ffs to determine corresponding shift.
7596
b31469d0
JM
75972013-08-20 Joseph Myers <joseph@codesourcery.com>
7598 Roland McGrath <roland@hack.frob.com>
7599
7600 * Makefile (INSTALL): Remove trailing blank lines from output of
7601 makeinfo.
7602
4e39af6e
AK
76032013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7604
7605 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7606 Align 32 bit compat elf_greg to 8 bytes.
7607
f315524e
AA
76082013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7609
7610 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7611
1326ba1a
SP
76122013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7613
7614 * string/strcoll_l.c (coll_seq): New structure.
7615 (get_next_seq_cached): New function.
7616 (get_next_seq): New function.
7617 (do_compare): New function.
7618 (STRCOLL): Use GNU style definition. Simplify implementation
7619 by using get_next_seq, get_next_seq_cached and do_compare.
7620
91ce4085
FW
76212013-08-16 Florian Weimer <fweimer@redhat.com>
7622
7623 [BZ #14699]
7624 CVE-2013-4237
7625 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7626 member.
7627 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7628 member.
7629 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7630 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7631 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7632 conditional.
7633 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7634 GETDENTS_64BIT_ALIGNED.
7635 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7636 * manual/filesys.texi (Reading/Closing Directory): Document
7637 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7638 strongly.
7639 * manual/conf.texi (Limits for Files): Add portability note to
7640 NAME_MAX, PATH_MAX.
7641 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7642
ca0a6bc4
AS
76432013-08-13 Andreas Schwab <schwab@suse.de>
7644
7645 [BZ #15749]
7646 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7647 of fabs.
7648 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7649 LDBL_MAX_EXP >= 16384]: Add tests for it.
7650
6c1fd795
DM
76512013-08-12 David S. Miller <davem@davemloft.net>
7652
7653 * version.h (RELEASE): Set to "development".
7654 (VERSION): Set to "2.18.90".
7655 * NEWS: Add 2.19 section.
7656
31ad488d
DM
76572013-08-03 David S. Miller <davem@davemloft.net>
7658
7659 * po/ko.po: Update Korean translation from translation project.
7660
db24e684
DM
76612013-08-01 David S. Miller <davem@davemloft.net>
7662
7663 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7664 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7665 Bilka.
7666
f723285b
DM
76672013-07-30 David S. Miller <davem@davemloft.net>
7668
7669 * po/fr.po: Update French translation from translation project.
7670
3cbc52db
DM
76712013-07-28 David S. Miller <davem@davemloft.net>
7672
30bbc0cc
DM
7673 * po/cs.po: Update Czech translation from translation project.
7674
3cbc52db
DM
7675 * po/sv.po: Update Swedish translation from translation project.
7676
d492e6d0
DM
76772013-07-27 David S. Miller <davem@davemloft.net>
7678
f1a7f492
DM
7679 * po/eo.po: Update Esperanto translation from translation project.
7680
90e62a4a
DM
7681 * po/vi.po: Update Vietnamese translation from translation project.
7682
d492e6d0
DM
7683 * po/de.po: Update German translation from translation project.
7684
d4baa62d
DM
76852013-07-26 David S. Miller <davem@davemloft.net>
7686
641aa7b4
DM
7687 * po/bg.po: Update Bulgarian translation from translation project.
7688
d4baa62d
DM
7689 * po/nl.po: Update Dutch translation from translation project.
7690 * po/pl.po: Update Polish translation from translation project.
7691 * po/ru.po: Update Russian translation from translation project.
7692
61a9dcb9
DM
76932013-07-24 David S. Miller <davem@davemloft.net>
7694
7695 * po/libc.pot: Update.
7696
7b1f8b58
AZ
76972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7698
7699 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7700 variable page size.
7701 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7702 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7703 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7704
a8fc7a03
AK
77052013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7706
7707 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7708
e4608715
CD
77092013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7710 Andreas Schwab <schwab@suse.de>
7711 Roland McGrath <roland@hack.frob.com>
7712 Joseph Myers <joseph@codesourcery.com>
7713 Carlos O'Donell <carlos@redhat.com>
7714
7715 [BZ #15755]
7716 * config.h.in: Define HAVE_PT_CHOWN.
7717 * config.make.in (build-pt-chown): New variable.
7718 * configure.in (--enable-pt_chown): New configure option.
7719 * configure: Regenerate.
7720 * login/Makefile: Include Makeconfig. Build pt_chown only if
7721 build-pt-chown is enabled.
7722 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7723 pt_chown to fix pty ownership.
7724 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7725 CLOSE_ALL_FDS.
7726 * manual/install.texi (Configuring and compiling): Mention
7727 --enable-pt_chown. Add @findex for grantpt.
7728 * INSTALL: Regenerate.
7729
da2d62df
DM
77302013-07-20 David S. Miller <davem@davemloft.net>
7731
7732 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7733 difference between 32-bit and 64-bit.
7734
d7e06450
CD
77352013-07-15 Carlos O'Donell <carlos@redhat.com>
7736
7737 [BZ #15711]
7738 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7739 Avoid system header dependency with -ffreestanding.
7740 ($(objpfx)bits/syscall%d): Likewise.
7741
f959cfd7
DM
77422013-07-13 David S. Miller <davem@davemloft.net>
7743
7744 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7745 underflows from atanl/atan2l due to bug 15319.
7746 (casinh_test_data): Likewise.
7747
c61f8513
DM
77482013-07-07 David S. Miller <davem@davemloft.net>
7749
7750 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7751
72c90ed0
JA
77522013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7753
7754 * sysdeps/i386/fpu/libm-test-ulps: Update.
7755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7756
52dfbe13
SP
77572013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7758
7759 * configure.in (--enable-lock-elision): Fix message text.
7760 * INSTALL: Regenerate.
7761 * configure: Regenerate.
7762
3f169543
AZ
77632013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7764
7765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7766
521c6785
AJ
77672013-07-03 Andreas Jaeger <aj@suse.de>
7768
7769 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7770 define.
7771 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7772 (ptrace_peeksiginfo_args): Add.
7773 (__ptrace_peeksiginfo_flags): Add.
7774 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7777
d2cc15cb
AM
77782013-07-03 Allan McRae <allan@archlinux.org>
7779
7780 * sysdeps/i386/fpu/libm-test-ulps: Update.
7781
3aaeeca7
DM
77822013-07-02 David S. Miller <davem@davemloft.net>
7783
7784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7785
5314ed1a
MT
77862013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7787
7788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7789
67338156
JM
77902013-07-02 Joseph Myers <joseph@codesourcery.com>
7791
7792 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7794
1717da59
AK
77952013-07-02 Andi Kleen <ak@linux.intel.com>
7796
7797 * config.h.in (ENABLE_LOCK_ELISION): Add.
7798 * configure.in (--enable-lock-elision): Add option.
7799 * manual/install.texi: Document --enable lock elision.
7800 * configure: Regenerate
7801 * INSTALL: Regenerate.
7802
1c81621c
L
78032013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7804
7805 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7806 SSE4.2 strcasecmp for libc.a.
7807 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7808
77f01ab5
JM
78092013-07-02 Joseph Myers <joseph@codesourcery.com>
7810
7811 [BZ #13304]
7812 * soft-fp/op-common.h (_FP_FMA): New macro.
7813 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7814 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7815 (_FP_MUL_MEAT_1_imm): ... here.
7816 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7817 (_FP_MUL_MEAT_1_wide): ... here.
7818 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7819 (_FP_MUL_MEAT_1_hard): ... here.
7820 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7821 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7822 (_FP_MUL_MEAT_2_wide): ... here.
7823 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7824 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7825 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7826 (_FP_MUL_MEAT_2_gmp): ... here.
7827 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7828 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7829 (_FP_MUL_MEAT_4_wide): ... here.
7830 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7831 (_FP_MUL_MEAT_4_gmp): ... here.
7832 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7833 (_FP_WFRACBITS_DW_S): Likewise.
7834 (_FP_WFRACXBITS_DW_S): Likewise.
7835 (_FP_HIGHBIT_DW_S): Likewise.
7836 (FP_FMA_S): Likewise.
7837 (_FP_FRAC_HIGH_DW_S): Likewise.
7838 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7839 (_FP_WFRACBITS_DW_D): Likewise.
7840 (_FP_WFRACXBITS_DW_D): Likewise.
7841 (_FP_HIGHBIT_DW_D): Likewise.
7842 (FP_FMA_D): Likewise.
7843 (_FP_FRAC_HIGH_DW_D): Likewise.
7844 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7845 (_FP_WFRACBITS_DW_E): Likewise.
7846 (_FP_WFRACXBITS_DW_E): Likewise.
7847 (_FP_HIGHBIT_DW_E): Likewise.
7848 (FP_FMA_E): Likewise.
7849 (_FP_FRAC_HIGH_DW_E): Likewise.
7850 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7851 (_FP_WFRACBITS_DW_Q): Likewise.
7852 (_FP_WFRACXBITS_DW_Q): Likewise.
7853 (_FP_HIGHBIT_DW_Q): Likewise.
7854 (FP_FMA_Q): Likewise.
7855 (_FP_FRAC_HIGH_DW_Q): Likewise.
7856 * soft-fp/fmasf4.c: New file.
7857 * soft-fp/fmadf4.c: Likewise.
7858 * soft-fp/fmatf4.c: Likewise.
7859
6308fd9a
LD
78602013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7861
7862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7863 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7864 Silvermont.
7865 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7866 macro.
7867 (index_Slow_SSE4_2): Likewise.
7868 (index_Prefer_PMINUB_for_stringop): Likewise.
7869 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7870 bit_Slow_SSE4_2 is set.
7871 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7872 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7873
89cd9569
RA
78742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7875
7876 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7877 rtld_global._dl_hwcap2.
7878 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7879 POWER8.
7880 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7881 POWER8 feature descriptions defined in _dl_hwcap2.
7882 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7883 string handling for POWER8 feature bits.
7884 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7885 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7886 _dl_powerpc_cap_flags.
7887 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7888 * sysdeps/powerpc/rtld-global-offsets.sym
7889 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7890 _dl_hwcap2 in the rtld_global_ro structure.
7891
1ae8bfe0
RA
78922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7893
7894 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7895 hardware capabilities in support of AT_HWCAP2.
7896 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7897 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7898 GLRO(dl_hwcap2).
7899 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7900 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7901 explicitly the unknown a_type display mechanism is used.
7902 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7903 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7904 struct member.
7905 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7906 to macro prototype for AT_HWCAP2 support.
7907 * sysdeps/i386/dl-procinfo.h: Likewise.
7908 * sysdeps/s390/dl-procinfo.h: Likewise.
7909 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7910 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7911 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7912 return -1 for unknown a_type display fallback.
7913 * sysdeps/sparc/dl-procinfo.h: Likewise.
7914 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7915 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7916
8fbec010
JM
79172013-06-28 Joseph Myers <joseph@codesourcery.com>
7918
7919 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7920 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7921
0432680e
PY
79222013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7923
7924 [BZ #12492]
7925 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7926 mprotect making __stack_prot writable.
7927
ce61a2ad
NF
79282013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7929 Joseph Myers <joseph@codesourcery.com>
7930
7931 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7932 as being properly aligned.
7933
f91f1c0f
MR
79342013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7935
3d0f5d0c
MR
7936 * dlfcn/modstatic5.c: New file.
7937 * dlfcn/tststatic5.c: New file.
7938 * dlfcn/Makefile (tests): Add tststatic5.
7939 (tests-static): Likewise.
7940 (modules-names): Add modstatic5.
7941 (tststatic5-ENV): New variable.
7942 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7943
f91f1c0f
MR
7944 [BZ #15022]
7945 * elf/dl-support.c (_dl_main_map): New variable.
7946 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7947 (_dl_nns, _dl_load_adds): Set to 1.
7948 (_dl_initial_searchlist): Refer to _dl_main_map.
7949 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7950 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7951 call to _dl_get_origin.
7952 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7953 around call_map.
7954 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7955 * dlfcn/modstatic3.c: New file.
7956 * dlfcn/tststatic3.c: New file.
7957 * dlfcn/tststatic4.c: New file.
7958 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7959 (tests-static): Likewise.
7960 (modules-names): Add modstatic3.
7961 (tststatic3-ENV, tststatic4-ENV): New variables.
7962 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7963 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7964
cbe7d24b
JM
79652013-06-26 Joseph Myers <joseph@codesourcery.com>
7966
7967 * configure.in (CC): Require GCC version 4.4 or later.
7968 * configure: Regenerated.
7969 * manual/install.texi (Tools for Compilation): Update GCC version
7970 requirement.
7971 * INSTALL: Regenerated.
7972
11b8a0e1
LD
79732013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7974
7975 [BZ #15674]
bb5bb87c
L
7976 * string/test-memcmp.c (check2): New.
7977 (main): Call check2.
7978
11b8a0e1
LD
7979 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7980
b0037103
MR
79812013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7982
7983 [BZ #15022]
7984 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7985 over to...
7986 (dl_open_worker) [!SHARED]: ... here.
7987
c18c701d
RA
79882013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7989
7990 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7991
1d17fa5f
RH
79922013-06-25 Richard Henderson <rth@redhat.com>
7993
7994 * locale/programs/locarchive.c: Include <libc-internal.h>
7995
8fcb833a
JM
79962013-06-25 Joseph Myers <joseph@codesourcery.com>
7997
7998 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7999 trailing whitespace removed.
8000
17db6e8d
MF
80012013-06-24 Mike Frysinger <vapier@gentoo.org>
8002
8003 [BZ #10283]
17db6e8d
MF
8004 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8005 * locale/programs/locarchive.c: Include libc-mmap.h.
8006 (prepare_address_space): Take two new outputs (the mmap base and len).
8007 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8008 values.
8009 (create_archive): Declare new mmap base and len values for
8010 prepare_address_space, and store the result in ah.
8011 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8012 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8013 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8014 Declare new mmap base and len values for
8015 prepare_address_space, and store the result in new_ah.
8016 (open_archive): Declare new mmap base and len values for
8017 prepare_address_space, and store the result in ah.
8018 (close_archive): If ah->mmap_base is not NULL, use that and
8019 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8020 * sysdeps/generic/libc-mmap.h: New file.
8021
d605071e
MF
80222013-06-24 Mike Frysinger <vapier@gentoo.org>
8023
8024 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8025 (ALIGN_UP): Likewise.
8026 (PTR_ALIGN_DOWN): Likewise.
8027 (PTR_ALIGN_UP): Likewise.
8028
2f063a6e
RA
80292013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8030
8031 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8032 entry mapped to PPC_PLATFORM_POWER8.
8033 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8034 POWER8.
8035 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8036 (_dl_string_platform): Add case for exporting platform position for
8037 POWER8.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8039 search path to sysdeps/powerpc/powerpc32/power8 directory.
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8041 search path to sysdeps/powerpc/powerpc64/power8 directory.
8042 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8043 power7 directories.
8044 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8045 power7 directories.
8046
a31ee4b3
SP
80472013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8048
a74ca98f
SP
8049 * INSTALL: Regenerate.
8050
a31ee4b3
SP
8051 * nscd/connections.c (nscd_init): Fix comment.
8052
695c378f
JM
80532013-06-22 Joseph Myers <joseph@codesourcery.com>
8054
d8412221
JM
8055 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8056
695c378f
JM
8057 [BZ #15667]
8058 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8059 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8060
d1d54715
MR
80612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8062
8063 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8064 DL_DST_REQ_STATIC.
8065 (DL_DST_REQ_STATIC): Remove macro.
8066
8fdda7af
JM
80672013-06-21 Joseph Myers <joseph@codesourcery.com>
8068
8069 [BZ #7006]
8070 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8071 with a shift of 0 bits.
8072
f3bc5e5a
MR
80732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8074
8075 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8076 $(tststatic-ENV).
8077
be09e8c9
KK
80782013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8079
8080 [BZ #15655]
8081 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8082
85c2e611
AZ
80832013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8084
8085 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8086 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8087 accepts -fno-tree-loop-distribute-patterns.
8088 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8089 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8090 recursive call.
8091 * string/memset.c (memset): Likewise.
8092 * string/test-memmove.c (simple_memmove): Disable loop transformation
8093 to library calls.
8094 * string/test-memset.c (simple_memset): Likewise.
8095 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8096 * benchtests/bench-memset.c (simple_memset): Likewise.
8097 * configure: Regenerated.
8098
c91e0825
JM
80992013-06-20 Joseph Myers <joseph@codesourcery.com>
8100
b8c792af
JM
8101 * math/test-misc.c (main): Ignore fesetround failure when failures
8102 of subsequent rounding tests would be ignored.
8103
c91e0825
JM
8104 [BZ #15654]
8105 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8106 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8107 * math/fegetenv.c (__fegetenv): Return 0.
8108 * math/fegetexcept.c (fegetexcept): Return 0.
8109 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8110 FE_TONEAREST.
8111 * math/feholdexcpt.c (feholdexcept): Return 0.
8112 * math/fesetenv.c (__fesetenv): Return 0.
8113 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8114 argument FE_TONEAREST.
8115 * math/feupdateenv.c (__feupdateenv): Return 0.
8116 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8117
bfcacbde
RM
81182013-06-18 Roland McGrath <roland@hack.frob.com>
8119
8120 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8121 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8122 ($(objpfx)rtld-%.os rules): Use them.
8123
e55a9b25
AZ
81242013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8125
8126 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8127 fields.
8128
346d65b3
RM
81292013-06-17 Roland McGrath <roland@hack.frob.com>
8130
12086fb4
RM
8131 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8132 length of target pattern, then descending length of dependency pattern.
8133 * configure.in (AWK): Require gawk 3.1.2 or newer.
8134 * manual/install.texi (Tools for Compilation): Say that we do.
8135 * configure: Regenerated.
8136
346d65b3
RM
8137 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8138 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8139 * scripts/sysd-rules.awk: ... this new script.
8140 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8141 than a glob-style pattern.
8142
1a846317
JM
81432013-06-17 Joseph Myers <joseph@codesourcery.com>
8144
8145 * math/test-misc.c (main): Do not treat incorrectly rounded
8146 conversions as failure unless ROUNDING_TESTS passes.
8147
8fc75e6f
JM
81482013-06-15 Joseph Myers <joseph@codesourcery.com>
8149
3711a167
JM
8150 [BZ #15631]
8151 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8152 restore exception state around main square root computation, then
8153 check for inexactness explicitly.
8154
8fc75e6f
JM
8155 * math/libm-test.inc (fma_test_data): Add another test.
8156
61dd6208
SP
81572013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8158
adf23d2c
SP
8159 * manual/threads.texi (Non-POSIX Extensions): New document
8160 node. Document pthread_getattr_default_np and
8161 pthread_setattr_default_np.
8162
61dd6208
SP
8163 * Versions.def (libpthread): Add GLIBC_2.18.
8164 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8166 Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8168 Likewise.
8169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8170 Likewise.
8171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8172 Likewise.
8173 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8174 Likewise.
8175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8176 Likewise.
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8178 Likewise.
8179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8180 Likewise.
8181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8182 Likewise.
8183
d086fc7b
LD
81842013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8185
8186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8187 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8188
747ef469
SP
81892013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8190 H.J. Lu <hjl.tools@gmail.com>
8191
8192 [BZ #15627]
8193 * sysdeps/x86_64/rtld-memset.c: Remove file.
8194 * sysdeps/x86_64/rtld-memset.S: New file.
8195
1b2feed2
JM
81962013-06-14 Joseph Myers <joseph@codesourcery.com>
8197
8198 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8199 (test_in_one_mode): Take arguments for whether the rounding mode
8200 is supported for each floating-point type.
8201 (do_test): Pass new arguments to test_in_one_mode using
8202 ROUNDING_TESTS.
8203
a58ad3f8
RM
82042013-06-13 Roland McGrath <roland@hack.frob.com>
8205
8206 * posix/tst-waitid.c (do_test): Distinguish different instances of
8207 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8208 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8209 before entering the kernel for waitpid.
8210
c204ab28
SP
82112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8212
8213 * NEWS: Fix note on clock function precision. Text by Roland
8214 McGrath.
8215
f4a29fba
RM
82162013-06-13 Roland McGrath <roland@hack.frob.com>
8217
8218 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8219 it into place only when and if the sanity check passes.
8220
1f24b9ad
JM
82212013-06-13 Joseph Myers <joseph@codesourcery.com>
8222
8223 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8224 output for whether conversion result is exact. Take argument
8225 indicating whether type is IBM long double.
8226 (round_for_all): Change need_exact field to ibm_ld.
8227 * stdlib/tst-strtod-round.c (struct exactness): New type.
8228 (struct test): Change bool ld_ok field to struct exactness exact.
8229 (TEST): Update all definitions for change to field.
8230 (tests): Regenerate array contents.
8231 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8232 field value. Check for IBM long double here.
8233 (do_test): Update calls to test_in_one_mode.
8234
58206c68
SP
82352013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8236
8237 [BZ #12515]
8238 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8239 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8240
2d6f4c5b 82412013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8242
8243 [BZ #15605]
8244 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8245 generated by the compiler on loop optimizations.
8246 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8247 general definitions.
8248
94f2c076
JM
82492013-06-12 Joseph Myers <joseph@codesourcery.com>
8250
8251 * math/bug-nextafter.c: Include <math-tests.h>.
8252 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8253 the relevant type.
8254 * math/bug-nexttoward.c: Include <math-tests.h>.
8255 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8256 the relevant type.
8257 * math/test-misc.c: Include <math-tests.h>.
8258 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8259 the relevant type.
8260
e0e50a0a
AJ
82612013-06-12 Andreas Jaeger <aj@suse.de>
8262
8263 * po/ia.po: Update Interlingua translation from translation
8264 project.
8265
25061094
SP
82662013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
8268 * include/fenv.h: Include stdbool.h.
8269 (struct rm_ctx): New structure.
8270 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8271 Define macro.
8272 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8273 (SET_RESTORE_ROUNDF): Likewise.
8274 (SET_RESTORE_ROUNDL): Likewise.
8275 (SET_RESTORE_ROUND_NOEX): Likewise.
8276 (SET_RESTORE_ROUND_NOEXF): Likewise.
8277 (SET_RESTORE_ROUND_NOEXL): Likewise.
8278 (SET_RESTORE_ROUND_53BIT): Likewise.
8279 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8280 (libc_feresetround_noexf_ctx): Likewise.
8281 (libc_feresetround_noexl_ctx): Likewise.
8282 (libc_feholdsetround_53bit_ctx): Likewise.
8283 (libc_feresetround_53bit_ctx): Likewise.
8284 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8285 (libc_feholdexcept_setround_sse_ctx): New function.
8286 (libc_fesetenv_sse_ctx): Likewise.
8287 (libc_feupdateenv_sse_ctx): Likewise.
8288 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8289 (libc_feholdexcept_setround_387_ctx): Likewise.
8290 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8291 (libc_feholdsetround_387_prec_ctx): Likewise.
8292 (libc_feholdsetround_387_ctx): Likewise.
8293 (libc_feholdsetround_387_53bit_ctx): Likewise.
8294 (libc_feholdsetround_sse_ctx): Likewise.
8295 (libc_feresetround_sse_ctx): Likewise.
8296 (libc_feresetround_387_ctx): Likewise.
8297 (libc_feupdateenv_387_ctx): Likewise.
8298 (libc_feholdexcept_setroundf_ctx): Define macro.
8299 (libc_fesetenvf_ctx): Likewise.
8300 (libc_feupdateenvf_ctx): Likewise.
8301 (libc_feholdsetroundf_ctx): Likewise.
8302 (libc_feresetroundf_ctx): Likewise.
8303 (libc_feholdexcept_setround_ctx): Likewise.
8304 (libc_fesetenv_ctx): Likewise.
8305 (libc_feupdateenv_ctx): Likewise.
8306 (libc_feholdsetround_ctx): Likewise.
8307 (libc_feresetround_ctx): Likewise.
8308 (libc_feholdexcept_setroundl_ctx): Likewise.
8309 (libc_feupdateenvl_ctx): Likewise.
8310 (libc_feholdsetroundl_ctx): Likewise.
8311 (libc_feresetroundl_ctx): Likewise.
8312 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8313 (libc_feresetround_53bit_ctx): Likewise.
8314
59b30555
SP
83152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8316
8317 * locale/iso-639.def: Convert to UTF-8.
8318
f1d73d30
JM
83192013-06-11 Joseph Myers <joseph@codesourcery.com>
8320
8321 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8322 (EXCEPTION_TESTS_double): Likewise.
8323 (EXCEPTION_TESTS_long_double): Likewise.
8324 (EXCEPTION_TESTS): Likewise.
8325 * math/libm-test.inc (test_exceptions): Only test exceptions if
8326 EXCEPTION_TESTS (FLOAT).
8327
94aca5e7
SP
83282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8329
8330 * benchtests/Makefile (string-bench): Add strcpy_chk and
8331 stpcpy_chk.
8332 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8333 * benchtests/bench-stpcpy_chk.c: New file.
8334 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8335 * benchtests/bench-strcpy_chk.c: New file.
8336 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8337 code.
8338 (do_test): Likewise.
8339
fac0c5f2
RA
83402013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8341
8342 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8343 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8344 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8345 with tabs where appropriate.
8346 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8347 dl-procinfo.h.
8348 [PPC_PLATFORM_PPC440]: Likewise.
8349 [PPC_PLATFORM_PPC464]: Likewise.
8350 [PPC_PLATFORM_PPC476]: Likewise.
8351 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8352 ppc464, and ppc476 platform strings merging from ports/
8353 dl-procinfo.h.
8354
f22bc486
AS
83552013-06-11 Andreas Schwab <schwab@suse.de>
8356
8357 [BZ #14991]
8358 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8359 (from_ucs4_idx): Regenerate.
8360 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8361 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8362 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8363 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8364 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8365 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8366 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8367 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8368 from FROM_LOOP and TO_LOOP specific macros.
8369 (BODY): Handle combining characters.
8370 * iconvdata/BIG5HKSCS.irreversible: Update.
8371 * iconvdata/BIG5HKSCS.precomposed: New file.
8372 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8373 characters.
8374 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8375
c1f75dc3
SP
83762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8377
4eacded2
SP
8378 * include/sys/time.h: Fix indentation and add copyright header.
8379
fec799f8
SP
8380 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8381 (do_test): Likewise.
8382 * string/test-memchr.c (do_one_test): Likewise.
8383 (do_test): Likewise.
8384 * string/test-memcmp.c (do_one_test): Likewise.
8385 (do_test): Likewise.
8386 * string/test-memcpy.c (do_one_test): Likewise.
8387 (do_test): Likewise.
8388 * string/test-memmem.c (do_one_test): Likewise.
8389 (do_test): Likewise.
8390 (do_random_tests): Likewise.
8391 * string/test-memmove.c (do_one_test): Likewise.
8392 (do_test): Likewise.
8393 * string/test-memset.c (do_one_test): Likewise.
8394 (do_test): Likewise.
8395 * string/test-rawmemchr.c (do_one_test): Likewise.
8396 (do_test): Likewise.
8397 * string/test-strcasecmp.c (do_one_test): Likewise.
8398 (do_test): Likewise.
8399 * string/test-strcasestr.c (do_one_test): Likewise.
8400 (do_test): Likewise.
8401 * string/test-strcat.c (do_one_test): Likewise.
8402 (do_test): Likewise.
8403 * string/test-strchr.c (do_one_test): Likewise.
8404 (do_test): Likewise.
8405 * string/test-strcmp.c (do_one_test): Likewise.
8406 (do_test): Likewise.
8407 * string/test-strcpy.c (do_one_test): Likewise.
8408 (do_test): Likewise.
8409 * string/test-string.h: Likewise.
8410 (test_init): Likewise.
8411 * string/test-strlen.c (do_one_test): Likewise.
8412 (do_test): Likewise.
8413 * string/test-strncasecmp.c (do_one_test): Likewise.
8414 (do_test): Likewise.
8415 * string/test-strncat.c (do_one_test): Likewise.
8416 (do_test): Likewise.
8417 * string/test-strncmp.c (do_one_test): Likewise.
8418 (do_test_limit): Likewise.
8419 (do_test): Likewise.
8420 * string/test-strncpy.c (do_one_test): Likewise.
8421 (do_test): Likewise.
8422 * string/test-strnlen.c (do_one_test): Likewise.
8423 (do_test): Likewise.
8424 * string/test-strpbrk.c (do_one_test): Likewise.
8425 (do_test): Likewise.
8426 * string/test-strrchr.c (do_one_test): Likewise.
8427 (do_test): Likewise.
8428 * string/test-strspn.c (do_one_test): Likewise.
8429 (do_test): Likewise.
8430 * string/test-strstr.c (do_one_test): Likewise.
8431 (do_test): Likewise.
8432
97020474
SP
8433 * benchtests/Makefile (string-bench): Add string benchmarks.
8434 * benchtests/bench-bcopy-ifunc.c: New file.
8435 * benchtests/bench-bcopy.c: New file.
8436 * benchtests/bench-bzero-ifunc.c: New file.
8437 * benchtests/bench-bzero.c: New file.
8438 * benchtests/bench-memccpy-ifunc.c: New file.
8439 * benchtests/bench-memccpy.c: New file.
8440 * benchtests/bench-memchr-ifunc.c: New file.
8441 * benchtests/bench-memchr.c: New file.
8442 * benchtests/bench-memcmp-ifunc.c: New file.
8443 * benchtests/bench-memcmp.c: New file.
8444 * benchtests/bench-memmem-ifunc.c: New file.
8445 * benchtests/bench-memmem.c: New file.
8446 * benchtests/bench-memmove-ifunc.c: New file.
8447 * benchtests/bench-memmove.c: New file.
8448 * benchtests/bench-mempcpy-ifunc.c: New file.
8449 * benchtests/bench-mempcpy.c: New file.
8450 * benchtests/bench-memset-ifunc.c: New file.
8451 * benchtests/bench-memset.c: New file.
8452 * benchtests/bench-rawmemchr-ifunc.c: New file.
8453 * benchtests/bench-rawmemchr.c: New file.
8454 * benchtests/bench-stpcpy-ifunc.c: New file.
8455 * benchtests/bench-stpcpy.c: New file.
8456 * benchtests/bench-stpncpy-ifunc.c: New file.
8457 * benchtests/bench-stpncpy.c: New file.
8458 * benchtests/bench-strcasecmp-ifunc.c: New file.
8459 * benchtests/bench-strcasecmp.c: New file.
8460 * benchtests/bench-strcasestr-ifunc.c: New file.
8461 * benchtests/bench-strcasestr.c: New file.
8462 * benchtests/bench-strcat-ifunc.c: New file.
8463 * benchtests/bench-strcat.c: New file.
8464 * benchtests/bench-strchr-ifunc.c: New file.
8465 * benchtests/bench-strchr.c: New file.
8466 * benchtests/bench-strchrnul-ifunc.c: New file.
8467 * benchtests/bench-strchrnul.c: New file.
8468 * benchtests/bench-strcmp-ifunc.c: New file.
8469 * benchtests/bench-strcmp.c: New file.
8470 * benchtests/bench-strcpy-ifunc.c: New file.
8471 * benchtests/bench-strcpy.c: New file.
8472 * benchtests/bench-strcspn-ifunc.c: New file.
8473 * benchtests/bench-strcspn.c: New file.
8474 * benchtests/bench-strlen-ifunc.c: New file.
8475 * benchtests/bench-strlen.c: New file.
8476 * benchtests/bench-strncasecmp-ifunc.c: New file.
8477 * benchtests/bench-strncasecmp.c: New file.
8478 * benchtests/bench-strncat-ifunc.c: New file.
8479 * benchtests/bench-strncat.c: New file.
8480 * benchtests/bench-strncmp-ifunc.c: New file.
8481 * benchtests/bench-strncmp.c: New file.
8482 * benchtests/bench-strncpy-ifunc.c: New file.
8483 * benchtests/bench-strncpy.c: New file.
8484 * benchtests/bench-strnlen-ifunc.c: New file.
8485 * benchtests/bench-strnlen.c: New file.
8486 * benchtests/bench-strpbrk-ifunc.c: New file.
8487 * benchtests/bench-strpbrk.c: New file.
8488 * benchtests/bench-strrchr-ifunc.c: New file.
8489 * benchtests/bench-strrchr.c: New file.
8490 * benchtests/bench-strspn-ifunc.c: New file.
8491 * benchtests/bench-strspn.c: New file.
8492 * benchtests/bench-strstr-ifunc.c: New file.
8493 * benchtests/bench-strstr.c: New file.
8494
c1f75dc3
SP
8495 * benchtests/Makefile: Disable parallel execution of targets.
8496 (string-bench): Add memcpy.
8497 (benchset): New variable to store a list of benchmark sets.
8498 (bench-func): Renamed from bench.
8499 (bench-set): New target.
8500 (bench): Depend on bench-func and bench-set.
8501 * benchtests/README: Add section on benchmark sets.
8502 * benchtests/bench-memcpy-ifunc.c: New file.
8503 * benchtests/bench-memcpy.c: New file.
8504 * benchtests/bench-string.h: New file.
8505
50fd745b
AS
85062013-06-11 Andreas Schwab <schwab@suse.de>
8507
8508 [BZ #15577]
8509 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8510 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8511 values in the triple.
8512 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8513 terminator in the group key.
8514
3ee7e9fe
AJ
85152013-06-11 Andreas Jaeger <aj@suse.de>
8516
8517 * po/zh_TW.po: Update Chinese (traditional) translation from
8518 translation project.
8519
89fb6835
SP
85202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8521
8522 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8523 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8524 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8525 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8526 (clock_getcpuclockid): Likewise.
8527 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8528 Add weak_alias and libc_hidden_def.
8529 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8530 * rt/clock_gettime.c (clock_gettime): Rename to
8531 __clock_gettime. Add weak_alias and libc_hidden_def.
8532 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8533 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8534 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8535 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8536 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8537 Likewise.
8538 * rt/clock_settime.c (clock_settime): Rename to
8539 __clock_settime. Add weak_alias and libc_hidden_def.
8540 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8541
0efa6f8b
JM
85422013-06-10 Joseph Myers <joseph@codesourcery.com>
8543
b8c61b4b
JM
8544 * mach/err_boot.sub: Remove trailing whitespace.
8545 * mach/err_ipc.sub: Likewise.
8546 * mach/err_mach.sub: Likewise.
8547
0efa6f8b
JM
8548 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8549 (ROUNDING_TESTS_double): Likewise.
8550 (ROUNDING_TESTS_long_double): Likewise.
8551 (ROUNDING_TESTS): Likewise.
8552 * math/libm-test.inc: Include <math-tests.h>.
8553 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8554 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8555 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8556 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8557
50b818bf
SP
85582013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8559
8560 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8561 of assigning.
8562
60d2f8f3
JM
85632013-06-08 Joseph Myers <joseph@codesourcery.com>
8564
4902d2c3
JM
8565 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8566 otherwise empty TRANS lines.
8567 * sysdeps/gnu/errlist.c: Regenerated.
8568
60d2f8f3
JM
8569 * catgets/gencat.c (error_print): Use (void) in function
8570 definition.
8571 * crypt/crypt_util.c (__init_des): Likewise.
8572 * crypt/speeds.c (Stop): Likewise.
8573 (main): Likewise.
8574 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8575 * inet/ruserpass.c (token): Likewise.
8576 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8577 * intl/localealias.c (extend_alias_table): Likewise.
8578 * intl/plural-exp.c (init_germanic_plural): Likewise.
8579 * libio/fcloseall.c (__fcloseall): Likewise.
8580 * libio/genops.c (_IO_flush_all): Likewise.
8581 (_IO_flush_all_linebuffered): Likewise.
8582 (_IO_cleanup): Likewise.
8583 (_IO_iter_begin): Likewise.
8584 (_IO_iter_end): Likewise.
8585 (_IO_list_lock): Likewise.
8586 (_IO_list_unlock): Likewise.
8587 (_IO_list_resetlock): Likewise.
8588 * libio/getchar.c (getchar): Likewise.
8589 * libio/getchar_u.c (getchar_unlocked): Likewise.
8590 * libio/getwchar.c (getwchar): Likewise.
8591 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8592 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8593 * login/getpt.c (__getpt): Likewise.
8594 * login/tst-utmp.c (main): Likewise.
8595 * malloc/hooks.c (__malloc_check_init): Likewise.
8596 * malloc/malloc.c (__malloc_stats): Likewise.
8597 * malloc/mtrace.c (tr_break): Likewise.
8598 (mtrace): Likewise.
8599 (muntrace): Likewise.
8600 * misc/fstab.c (endfsent): Likewise.
8601 * misc/getclktck.c (__getclktck): Likewise.
8602 * misc/getdtsz.c (__getdtablesize): Likewise.
8603 * misc/gethostid.c (gethostid): Likewise.
8604 * misc/getpagesize.c (__getpagesize): Likewise.
8605 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8606 (__get_nprocs): Likewise.
8607 (__get_phys_pages): Likewise.
8608 (__get_avphys_pages): Likewise.
8609 * misc/getttyent.c (getttyent): Likewise.
8610 (setttyent): Likewise.
8611 (endttyent): Likewise.
8612 * misc/getusershell.c (getusershell): Likewise.
8613 (endusershell): Likewise.
8614 (setusershell): Likewise.
8615 (initshells): Likewise.
8616 * misc/hsearch.c (__hdestroy): Likewise.
8617 * misc/sync.c (sync): Likewise.
8618 * misc/syslog.c (closelog_internal): Likewise.
8619 (closelog): Likewise.
8620 * misc/ttyslot.c (ttyslot): Likewise.
8621 * misc/vhangup.c (vhangup): Likewise.
8622 * posix/fork.c (__fork): Likewise.
8623 * posix/getegid.c (__getegid): Likewise.
8624 * posix/geteuid.c (__geteuid): Likewise.
8625 * posix/getgid.c (__getgid): Likewise.
8626 * posix/getpid.c (__getpid): Likewise.
8627 * posix/getppid.c (__getppid): Likewise.
8628 * posix/getuid.c (__getuid): Likewise.
8629 * posix/pause.c (pause): Likewise.
8630 * posix/setpgrp.c (setpgrp): Likewise.
8631 * posix/setsid.c (__setsid): Likewise.
8632 * posix/test-vfork.c (noop): Likewise.
8633 * resolv/gethnamaddr.c (_endhtent): Likewise.
8634 (_gethtent): Likewise.
8635 (ht_endhostent): Likewise.
8636 (gethostent): Likewise.
8637 (dns_service): Likewise.
8638 * stdlib/drand48.c (drand48): Likewise.
8639 * stdlib/lrand48.c (lrand48): Likewise.
8640 * stdlib/mrand48.c (mrand48): Likewise.
8641 * stdlib/rand.c (rand): Likewise.
8642 * stdlib/random.c (__random): Likewise.
8643 * stdlib/setenv.c (clearenv): Likewise.
8644 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8645 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8646 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8647 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8648 (__get_nprocs): Likewise.
8649 (__get_phys_pages): Likewise.
8650 (__get_avphys_pages): Likewise.
8651 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8652 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8653 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8654 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8655 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8656 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8657 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8658 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8659 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8660 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8661 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8662 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8663 * sysdeps/posix/clock.c (clock): Likewise.
8664 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8665 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8666 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8667 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8668 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8669 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8670 (__get_nprocs_conf): Likewise.
8671 (__get_phys_pages): Likewise.
8672 (__get_avphys_pages): Likewise.
8673 * time/clock.c (clock): Likewise.
8674 * time/tzset.c (__tzname_max): Likewise.
8675
2e09a79a
JM
86762013-06-07 Joseph Myers <joseph@codesourcery.com>
8677
8678 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8679 (__bswap_32): Do not use "register".
8680 * crypt/crypt.c (_ufc_doit_r): Likewise.
8681 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8682 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8683 * gmon/gmon.c (__monstartup): Likewise.
8684 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8685 * hurd/hurdmalloc.c (more_memory): Likewise.
8686 (malloc): Likewise.
8687 (free): Likewise.
8688 (realloc): Likewise.
8689 (malloc_fork_prepare): Likewise.
8690 (malloc_fork_parent): Likewise.
8691 (malloc_fork_child): Likewise.
8692 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8693 (_svcauth_des): Likewise.
8694 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8695 * inet/inet_net.c (inet_network): Likewise.
8696 * inet/inet_netof.c (inet_netof): Likewise.
8697 * inet/rcmd.c (__validuser2_sa): Likewise.
8698 * io/fts.c (fts_open): Likewise.
8699 (fts_load): Likewise.
8700 (fts_close): Likewise.
8701 (fts_read): Likewise.
8702 (fts_children): Likewise.
8703 (fts_build): Likewise.
8704 (fts_stat): Likewise.
8705 (fts_sort): Likewise.
8706 (fts_alloc): Likewise.
8707 (fts_lfree): Likewise.
8708 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8709 (_IO_file_xsgetn): Likewise.
8710 (_IO_file_xsgetn_mmap): Likewise.
8711 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8712 (_IO_cookie_write): Likewise.
8713 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8714 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8715 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8716 * malloc/obstack.c (_obstack_begin): Likewise.
8717 (_obstack_begin_1): Likewise.
8718 (_obstack_newchunk): Likewise.
8719 (_obstack_allocated_p): Likewise.
8720 (obstack_free): Likewise.
8721 (_obstack_memory_used): Likewise.
8722 * misc/getttyent.c (getttynam): Likewise.
8723 (getttyent): Likewise.
8724 (skip): Likewise.
8725 (value): Likewise.
8726 * misc/getusershell.c (initshells): Likewise.
8727 * misc/syslog.c (__vsyslog_chk): Likewise.
8728 * misc/ttyslot.c (ttyslot): Likewise.
8729 * nis/nis_hash.c (__nis_hash): Likewise.
8730 * posix/fnmatch_loop.c (FCT): Likewise.
8731 * posix/getconf.c (print_all): Likewise.
8732 (main): Likewise.
8733 * posix/getopt.c (exchange): Likewise.
8734 * posix/glob.c (globfree): Likewise.
8735 (prefix_array): Likewise.
8736 (__glob_pattern_type): Likewise.
8737 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8738 (NS_GET32): Likewise.
8739 (NS_PUT16): Likewise.
8740 (NS_PUT32): Likewise.
8741 * resolv/gethnamaddr.c (getanswer): Likewise.
8742 (gethostbyname2): Likewise.
8743 (gethostbyaddr): Likewise.
8744 (_gethtent): Likewise.
8745 (_gethtbyname2): Likewise.
8746 (_gethtbyaddr): Likewise.
8747 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8748 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8749 * resolv/res_init.c (__res_vinit): Likewise.
8750 (net_mask): Likewise.
8751 * resolv/res_mkquery.c (outchar): Likewise.
8752 (PRINT): Likewise.
8753 * stdio-common/printf_fp.c (outchar): Likewise.
8754 (PRINT): Likewise.
8755 * stdio-common/printf_fphex.c (outchar): Likewise.
8756 (PRINT): Likewise.
8757 * stdio-common/printf_size.c (outchar): Likewise.
8758 (PRINT): Likewise.
8759 * stdio-common/test_rdwr.c (main): Likewise.
8760 * stdio-common/tfformat.c (matches): Likewise.
8761 * stdio-common/vfprintf.c (outchar): Likewise.
8762 (printf_unknown): Likewise.
8763 (buffered_vfprintf): Likewise.
8764 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8765 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8766 (ReadFile): Likewise.
8767 * stdlib/qsort.c (SWAP): Likewise.
8768 (_quicksort): Likewise.
8769 * stdlib/setenv.c (__add_to_environ): Likewise.
8770 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8771 * stdlib/strtol_l.c (__strtol_l): Likewise.
8772 * stdlib/tst-strtod.c (main): Likewise.
8773 * stdlib/tst-strtol.c (main): Likewise.
8774 * stdlib/tst-strtoll.c (main): Likewise.
8775 * string/bits/string2.h (__strcmp_cc): Likewise.
8776 (__strcmp_cg): Likewise.
8777 (__strcspn_c1): Likewise.
8778 (__strcspn_c2): Likewise.
8779 (__strcspn_c3): Likewise.
8780 (__strspn_c1): Likewise.
8781 (__strspn_c2): Likewise.
8782 (__strspn_c3): Likewise.
8783 (__strsep_1c): Likewise.
8784 (__strsep_2c): Likewise.
8785 (__strsep_3c): Likewise.
8786 * string/memccpy.c (__memccpy): Likewise.
8787 * string/stpcpy.c (__stpcpy): Likewise.
8788 * string/strcmp.c (strcmp): Likewise.
8789 * string/strrchr.c (strrchr): Likewise.
8790 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8791 Likewise.
8792 * sysdeps/mach/hurd/getcwd.c
8793 (_hurd_canonicalize_directory_name_internal): Likewise.
8794 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8795 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8796 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8797 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8798 Likewise, in both definitions.
8799 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8800 definitions.
8801 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8802 64] (__bswap_64): Likewise.
8803 * time/test_time.c (main): Likewise.
8804 * time/tzfile.c (__tzfile_read): Likewise.
8805 (__tzfile_compute): Likewise.
8806 * time/tzset.c (__tzset_parse_tz): Likewise.
8807 (tzset_internal): Likewise.
8808 (compute_change): Likewise.
8809 * wcsmbs/wcscat.c (__wcscat): Likewise.
8810 * wcsmbs/wcschr.c (wcschr): Likewise.
8811 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8812 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8813 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8814 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8815 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8816 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8817 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8818 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8819 * wcsmbs/wmemset.c (wmemset): Likewise.
8820
9e54314b
JM
88212013-06-06 Joseph Myers <joseph@codesourcery.com>
8822
8823 * scripts/config.guess: Update to version 2013-05-16.
8824 * scripts/config.sub: Update to version 2013-04-24.
8825 * scripts/install-sh: Update to version 2011-11-20.07.
8826 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8827 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8828
350635a5
OB
88292013-06-06 Ondřej Bílka <neleai@seznam.cz>
8830
8831 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8832 * elf/sln.c: Likewise.
8833 * hurd/hurd/ioctl.h: Likewise.
8834 * hurd/hurdmalloc.c: Likewise.
8835 * hurd/xattr.c: Likewise.
8836 * include/shlib-compat.h: Likewise.
8837 * inet/ruserpass.c: Likewise.
8838 * libio/iofgets_u.c: Likewise.
8839 * libio/iofgetws_u.c: Likewise.
8840 * locale/programs/ld-identification.c: Likewise.
8841 * locale/programs/ld-time.c: Likewise.
8842 * mach/msg-destroy.c: Likewise.
8843 * nss/nss_files/files-netgrp.c: Likewise.
8844 * resolv/res_data.c: Likewise.
8845 * soft-fp/op-1.h: Likewise.
8846 * soft-fp/op-2.h: Likewise.
8847 * soft-fp/op-4.h: Likewise.
8848 * soft-fp/op-common.h: Likewise.
8849 * stdio-common/printf_fphex.c: Likewise.
8850 * stdlib/strtod_l.c: Likewise.
8851 * sunrpc/rpc/clnt.h: Likewise.
8852 * sysdeps/generic/framestate.c: Likewise.
8853 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8854 * sysdeps/i386/bsd-setjmp.S: Likewise.
8855 * sysdeps/i386/__longjmp.S: Likewise.
8856 * sysdeps/i386/setjmp.S: Likewise.
8857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8858 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8862 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8863 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8864 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8865 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8867 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8868 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8869 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8870 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8871 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8873 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8874 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8875 * sysdeps/ieee754/support.c: Likewise.
8876 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8877 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8878 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8879 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8880 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8881 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8882 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8883 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8884 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8885 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8886 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8887 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8888 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8889 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8890 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8891 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8892 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8894
44a988af
OB
88952013-06-05 Ondřej Bílka <neleai@seznam.cz>
8896
25506f09 8897 * posix/transbug.c: Remove executable mode.
44a988af 8898
9c84384c
JM
88992013-06-05 Joseph Myers <joseph@codesourcery.com>
8900
8901 * crypt/speeds.c: Remove trailing whitespace.
8902 * dlfcn/default.c: Likewise.
8903 * elf/ifuncdep2.c: Likewise.
8904 * elf/ifuncmain1.c: Likewise.
8905 * elf/ifuncmain1vis.c: Likewise.
8906 * elf/testobj.h: Likewise.
8907 * elf/tst-stackguard1.c: Likewise.
8908 * gmon/sys/gmon.h: Likewise.
8909 * hurd/hurdmsg.c: Likewise.
8910 * hurd/new-fd.c: Likewise.
8911 * hurd/ports-get.c: Likewise.
8912 * iconvdata/ibm1008_420.c: Likewise.
8913 * inet/tst-getni1.c: Likewise.
8914 * inet/tst-getni2.c: Likewise.
8915 * libio/ioungetc.c: Likewise.
8916 * libio/wfiledoalloc.c: Likewise.
8917 * manual/libm-err-tab.pl: Likewise.
8918 * math/w_dremf.c: Likewise.
8919 * misc/ftruncate.c: Likewise.
8920 * posix/bug-glob2.c: Likewise.
8921 * posix/tst-pcre.c: Likewise.
8922 * posix/wait4.c: Likewise.
8923 * resolv/README: Likewise.
8924 * resolv/res_debug.h: Likewise.
8925 * resolv/tst-inet_ntop.c: Likewise.
8926 * setjmp/bug269-setjmp.c: Likewise.
8927 * soft-fp/extended.h: Likewise.
8928 * soft-fp/op-1.h: Likewise.
8929 * soft-fp/op-2.h: Likewise.
8930 * soft-fp/op-4.h: Likewise.
8931 * soft-fp/op-8.h: Likewise.
8932 * soft-fp/testit.c: Likewise.
8933 * stdio-common/bug16.c: Likewise.
8934 * stdlib/random.c: Likewise.
8935 * sunrpc/rpcsvc/rquota.x: Likewise.
8936 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8937 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8938 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8939 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8940 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8941 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8942 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8943 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8944 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8945 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8946 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8947 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8950 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8951 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8952 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8953 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8954 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8955 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8956 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8965 * sysdeps/ieee754/s_lib_version.c: Likewise.
8966 * sysdeps/mach/hurd/check_fds.c: Likewise.
8967 * sysdeps/mach/hurd/getsockname.c: Likewise.
8968 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8969 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8970 * sysdeps/powerpc/bits/link.h: Likewise.
8971 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8972 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8973 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8974 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8975 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8976 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8977 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8978 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8979 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8980 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8981 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8982 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8983 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8984 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8985 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8986 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8987 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8988 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8989 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8990 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8991 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8992 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8994 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8995 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8996 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8997 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8998 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8999 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9000 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9001 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9003 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9005 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9006 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9007 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9008 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9009 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9010 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9011 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9012 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9013 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9014 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9015 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9016 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9017 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9018 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9019 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9020 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9022 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9023 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9024 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9025 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9026 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9027 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9028 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9029 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9030 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9031 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9032 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9033 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9034 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9035 * sysdeps/powerpc/sysdep.h: Likewise.
9036 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9037 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9038 * sysdeps/sh/dl-trampoline.S: Likewise.
9039 * sysdeps/sh/memset.S: Likewise.
9040 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9041 * sysdeps/sh/strlen.S: Likewise.
9042 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9043 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9044 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9045 * sysdeps/sparc/sparc32/rem.S: Likewise.
9046 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9047 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9048 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9049 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9050 * sysdeps/sparc/sparc32/urem.S: Likewise.
9051 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9052 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9053 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9054 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9056 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9057 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9058 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9059 * sysdeps/unix/bsd/times.c: Likewise.
9060 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9061 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9065 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9066 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9068 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9070 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9071 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9072 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9073 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9074 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9075 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9076 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9077 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9078 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9079 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9080 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9081 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9082 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9083 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9084 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9085 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9086 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9088 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9089 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9090 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9091 * sysdeps/x86_64/strcspn.S: Likewise.
9092
869378a5
RA
90932013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9094
9095 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9096 generated file. Regenerate properly from gen-translit.pl.
9097 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9098 locale/C-translit.h.
9099
840e2943
AS
91002013-06-05 Andreas Schwab <schwab@suse.de>
9101
9102 [BZ #15100]
9103 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9104 week as 6 instead of -1.
9105 * time/tst-strptime.c (day_tests): Add test case.
9106
4c60cb0c
SP
91072013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9108
9109 * sysdeps/generic/math_private.h
9110 (libc_feholdexcept_setround_53bit): Replace with
9111 libc_feholdsetround_53bit.
9112 (libc_feupdateenv_53bit): Replace with
9113 libc_feresetround_53bit.
9114 (SET_RESTORE_ROUND_53BIT): Adjust.
9115
d180203e
SP
91162013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9117
96df079a
SP
9118 * string/test-strchrnul.c: Add copyright header.
9119
d180203e
SP
9120 * posix/tst-getaddrinfo4.c: Increase test timeout.
9121
8b0ccb2d
CD
91222013-06-03 Carlos O'Donell <carlos@redhat.com>
9123
9124 [BZ #15536]
9125 * math/libm-test.inc (MAX_EXP): Remove
9126 (MIN_EXP): Define.
9127 (ulp): Use MIN_EXP - MANT_DIG.
9128 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9129
3b3c4d40
CD
91302013-05-31 Carlos O'Donell <carlos@redhat.com>
9131
9132 * po/be.po: Revert last change.
9133 * po/zh_CN.po: Likewise.
9134 * po/header.pot: Likewise.
9135
fab7ce3f
JM
91362013-05-31 Joseph Myers <joseph@codesourcery.com>
9137
9138 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9139 link-libc-deps to empty as target-specific variable.
9140 * Makerules (link-libc-args): New variable.
9141 (libc-for-link): Likewise.
9142 (link-libc-deps): Likewise.
9143 (lib%.so): Depend on $(link-libc-deps). Link with
9144 $(link-libc-args).
9145 (build-module): Link with $(link-libc-args).
9146 (build-module-asneeded): Likewise.
9147 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9148 list of objects.
9149 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9150 target-specific variable.
9151 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9152 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9153 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9154 libc.
9155 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9156 libc and ld.so.
9157 ($(objpfx)libpcprofile.so): Likewise.
9158 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9159 libc_nonshared.a.
9160 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9161 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9162 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9163 $(link-libc-deps).
9164 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9165 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9166 * login/Makefile ($(objpfx)libutil.so): Likewise.
9167 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9168 * math/Makefile ($(objpfx)libm.so): Likewise.
9169 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9170 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9171 variable instead of depending directly on libc.
9172 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9173 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9174 $(link-libc-deps).
9175 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9176 libc.
9177 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9178 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9179 ($(objpfx)libanl.so): Likewise.
9180 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9181 ld.so.
9182 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9183 $(link-libc-deps).
9184 * sysdeps/i386/fpu/Makefile: Remove file.
9185 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9186 ($(objpfx)libm.so): Remove dependency on ld.so.
9187
eca5920c
PF
91882013-05-30 Patsy Franklin <pfrankli@redhat.com>
9189
9190 [BZ # 15553]
9191 * nis/yp_xdr.c (XDRMAXNAME): Define.
9192 (XDRMAXRECORD): Define.
9193 (xdr_domainname): Use XDRMAXNAME.
9194 (xdr_mapname): Likewise.
9195 (xdr_peername): Likewise.
9196 (xdr_keydat): Use XDRMAXRECORD.
9197 (xdr_valdat): Likewise.
9198
91992013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9200
9201 [BZ #14256]
9202 * manual/errno.texi (ESTALE): Update to account for more than
9203 just NFS file systems.
9204 * sysdeps/gnu/errlist.c: Regenerated.
9205
b9375348
SP
92062013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9207
9208 [BZ #15465]
9209 * elf/Makefile (tests): Add tst-null-argv.
9210 (modules-names): Add tst-null-argv-lib.
9211 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9212 (tst-null-argv-ENV): Set environment for tst-null-argv.
9213 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9214 (RTLD_PROGNAME): New macro.
9215 * elf/tst-null-argv.c: New test case.
9216 * elf/tst-null-argv-lib.c: Library for test case.
9217 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9218 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9219 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9220 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9221 * elf/dl-init.c (call_init): Likewise.
9222 (_dl_init): Likewise.
9223 * elf/dl-load.c (print_search_path): Likewise.
9224 (_dl_map_object): Likewise.
9225 * elf/dl-lookup.c (do_lookup_x): Likewise.
9226 (add_dependency): Likewise.
9227 (_dl_lookup_symbol_x): Likewise.
9228 (_dl_debug_bindings): Likewise.
9229 * elf/dl-open.c (_dl_show_scope): Likewise.
9230 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9231 * elf/dl-version.c (match_symbol): Likewise.
9232 (_dl_check_map_versions): Likewise.
9233 * elf/rtld.c (dl_main): Likewise.
9234 (print_unresolved): Use RTLD_PROGNAME.
9235 (print_missing_version): Likewise.
9236 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9237 (elf_machine_rela): Likewise.
9238 * sysdeps/powerpc/powerpc32/dl-machine.c
9239 (__process_machine_rela): Likewise.
9240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9241 Likewise.
9242 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9243 Likewise.
9244 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9245 Likewise.
9246 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9248 Likewise.
9249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9250 Likewise.
9251 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9252
8a9f20c8
CD
92532013-05-28 Carlos O'Donell <carlos@redhat.com>
9254
9255 * po/be.po: Add descriptive title.
9256 * po/zh_CN.po: Likewise.
9257 * po/header.pot: Likewise.
9258
0e60d68e
MF
92592013-05-28 Mike Frysinger <vapier@gentoo.org>
9260
9261 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9262 error message.
9263 (enlarge_archive): Likewise.
9264
56b672e9
BN
92652013-05-28 Ben North <ben@redfrontdoor.org>
9266
9267 * manual/arith.texi (frexp): It is the magnitude of the return
9268 value which lies in [0.5, 1), not the return value itself.
9269
5e056687
AZ
92702013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9271
9272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9273
2b66ef5d
TS
92742013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9275
528c2405
TS
9276 * stdio-common/bug26.c (main): Correct fscanf template.
9277
07b4c13d
TS
9278 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9279 declare _dl_skip_args.
9280
ec9dd97c
TS
9281 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9282 Don't declare.
9283
2b66ef5d
TS
9284 * manual/platform.texi: Add missing @end deftypefun.
9285
4f8dfe27
JM
92862013-05-24 Joseph Myers <joseph@codesourcery.com>
9287
0323d086
JM
9288 [BZ #15529]
9289 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9290 bit of mantissa of 2^16382.
9291 * math/libm-test.inc (hypot_test_data): Add more tests.
9292
dd4259b9
JM
9293 * math/libm-test.inc: Add drem and pow10 to list of tested
9294 functions.
9295 (pow10_test): New function.
9296 (drem_test): Likewise.
9297 (drem_test_tonearest): Likewise.
9298 (drem_test_towardzero): Likewise.
9299 (drem_test_downward): Likewise.
9300 (drem_test_upward): Likewise.
9301 (main): Call the new functions.
9302
4f8dfe27
JM
9303 * math/libm-test.inc (finite_test_data): Remove.
9304 (finite_test): Run tests from isfinite_test_data.
9305 (gamma_test_data): Remove.
9306 (gamma_test): Run tests from lgamma_test_data.
9307 * sysdeps/i386/fpu/libm-test-ulps: Update.
9308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9309
d116b7c4
AZ
93102013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9311
9312 * manual/platform.texi: Add PowerPC PPR function set documentation.
9313 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9314 implementation.
9315
e96e3767
CD
93162013-05-24 Carlos O'Donell <carlos@redhat.com>
9317
9318 * math/libm-test.inc (MAX_EXP): Define.
9319 (ULPDIFF): Define.
9320 (ulp): New function.
9321 (check_float_internal): Use ULPDIFF.
9322 (cpow_test): Disable failing test.
9323 (check_ulp): Test ulp() implemetnation.
9324 (main): Call check_ulp before starting tests.
9325
b679a606
JM
93262013-05-24 Joseph Myers <joseph@codesourcery.com>
9327
e8bdba36
JM
9328 * math/gen-libm-test.pl (generate_testfile): Do not handle
9329 START_DATA and END_DATA.
9330 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9331 END_DATA.
9332 (acos_tonearest_test_data): Likewise.
9333 (acos_towardzero_test_data): Likewise.
9334 (acos_downward_test_data): Likewise.
9335 (acos_upward_test_data): Likewise.
9336 (acosh_test_data): Likewise.
9337 (asin_test_data): Likewise.
9338 (asin_tonearest_test_data): Likewise.
9339 (asin_towardzero_test_data): Likewise.
9340 (asin_downward_test_data): Likewise.
9341 (asin_upward_test_data): Likewise.
9342 (asinh_test_data): Likewise.
9343 (atan_test_data): Likewise.
9344 (atanh_test_data): Likewise.
9345 (atan2_test_data): Likewise.
9346 (cabs_test_data): Likewise.
9347 (cacos_test_data): Likewise.
9348 (cacosh_test_data): Likewise.
9349 (carg_test_data): Likewise.
9350 (casin_test_data): Likewise.
9351 (casinh_test_data): Likewise.
9352 (catan_test_data): Likewise.
9353 (catanh_test_data): Likewise.
9354 (cbrt_test_data): Likewise.
9355 (ccos_test_data): Likewise.
9356 (ccosh_test_data): Likewise.
9357 (ceil_test_data): Likewise.
9358 (cexp_test_data): Likewise.
9359 (cimag_test_data): Likewise.
9360 (clog_test_data): Likewise.
9361 (clog10_test_data): Likewise.
9362 (conj_test_data): Likewise.
9363 (copysign_test_data): Likewise.
9364 (cos_test_data): Likewise.
9365 (cos_tonearest_test_data): Likewise.
9366 (cos_towardzero_test_data): Likewise.
9367 (cos_downward_test_data): Likewise.
9368 (cos_upward_test_data): Likewise.
9369 (cosh_test_data): Likewise.
9370 (cosh_tonearest_test_data): Likewise.
9371 (cosh_towardzero_test_data): Likewise.
9372 (cosh_downward_test_data): Likewise.
9373 (cosh_upward_test_data): Likewise.
9374 (cpow_test_data): Likewise.
9375 (cproj_test_data): Likewise.
9376 (creal_test_data): Likewise.
9377 (csin_test_data): Likewise.
9378 (csinh_test_data): Likewise.
9379 (csqrt_test_data): Likewise.
9380 (ctan_test_data): Likewise.
9381 (ctan_tonearest_test_data): Likewise.
9382 (ctan_towardzero_test_data): Likewise.
9383 (ctan_downward_test_data): Likewise.
9384 (ctan_upward_test_data): Likewise.
9385 (ctanh_test_data): Likewise.
9386 (ctanh_tonearest_test_data): Likewise.
9387 (ctanh_towardzero_test_data): Likewise.
9388 (ctanh_downward_test_data): Likewise.
9389 (ctanh_upward_test_data): Likewise.
9390 (erf_test_data): Likewise.
9391 (erfc_test_data): Likewise.
9392 (exp_test_data): Likewise.
9393 (exp_tonearest_test_data): Likewise.
9394 (exp_towardzero_test_data): Likewise.
9395 (exp_downward_test_data): Likewise.
9396 (exp_upward_test_data): Likewise.
9397 (exp10_test_data): Likewise.
9398 (exp2_test_data): Likewise.
9399 (expm1_test_data): Likewise.
9400 (fabs_test_data): Likewise.
9401 (fdim_test_data): Likewise.
9402 (finite_test_data): Likewise.
9403 (floor_test_data): Likewise.
9404 (fma_test_data): Likewise.
9405 (fma_towardzero_test_data): Likewise.
9406 (fma_downward_test_data): Likewise.
9407 (fma_upward_test_data): Likewise.
9408 (fmax_test_data): Likewise.
9409 (fmin_test_data): Likewise.
9410 (fmod_test_data): Likewise.
9411 (fpclassify_test_data): Likewise.
9412 (frexp_test_data): Likewise.
9413 (gamma_test_data): Likewise.
9414 (hypot_test_data): Likewise.
9415 (ilogb_test_data): Likewise.
9416 (isfinite_test_data): Likewise.
9417 (isgreater_test_data): Likewise.
9418 (isgreaterequal_test_data): Likewise.
9419 (isinf_test_data): Likewise.
9420 (isless_test_data): Likewise.
9421 (islessequal_test_data): Likewise.
9422 (islessgreater_test_data): Likewise.
9423 (isnan_test_data): Likewise.
9424 (isnormal_test_data): Likewise.
9425 (issignaling_test_data): Likewise.
9426 (isunordered_test_data): Likewise.
9427 (j0_test_data): Likewise.
9428 (j1_test_data): Likewise.
9429 (jn_test_data): Likewise.
9430 (ldexp_test_data): Likewise.
9431 (lgamma_test_data): Likewise.
9432 (lrint_test_data): Likewise.
9433 (lrint_tonearest_test_data): Likewise.
9434 (lrint_towardzero_test_data): Likewise.
9435 (lrint_downward_test_data): Likewise.
9436 (lrint_upward_test_data): Likewise.
9437 (llrint_test_data): Likewise.
9438 (llrint_tonearest_test_data): Likewise.
9439 (llrint_towardzero_test_data): Likewise.
9440 (llrint_downward_test_data): Likewise.
9441 (llrint_upward_test_data): Likewise.
9442 (log_test_data): Likewise.
9443 (log10_test_data): Likewise.
9444 (log1p_test_data): Likewise.
9445 (log2_test_data): Likewise.
9446 (logb_test_data): Likewise.
9447 (logb_downward_test_data): Likewise.
9448 (lround_test_data): Likewise.
9449 (llround_test_data): Likewise.
9450 (modf_test_data): Likewise.
9451 (nearbyint_test_data): Likewise.
9452 (nextafter_test_data): Likewise.
9453 (nexttoward_test_data): Likewise.
9454 (pow_test_data): Likewise.
9455 (pow_tonearest_test_data): Likewise.
9456 (pow_towardzero_test_data): Likewise.
9457 (pow_downward_test_data): Likewise.
9458 (pow_upward_test_data): Likewise.
9459 (remainder_test_data): Likewise.
9460 (remainder_tonearest_test_data): Likewise.
9461 (remainder_towardzero_test_data): Likewise.
9462 (remainder_downward_test_data): Likewise.
9463 (remainder_upward_test_data): Likewise.
9464 (remquo_test_data): Likewise.
9465 (rint_test_data): Likewise.
9466 (rint_tonearest_test_data): Likewise.
9467 (rint_towardzero_test_data): Likewise.
9468 (rint_downward_test_data): Likewise.
9469 (rint_upward_test_data): Likewise.
9470 (round_test_data): Likewise.
9471 (scalb_test_data): Likewise.
9472 (scalbn_test_data): Likewise.
9473 (scalbln_test_data): Likewise.
9474 (signbit_test_data): Likewise.
9475 (sin_test_data): Likewise.
9476 (sin_tonearest_test_data): Likewise.
9477 (sin_towardzero_test_data): Likewise.
9478 (sin_downward_test_data): Likewise.
9479 (sin_upward_test_data): Likewise.
9480 (sincos_test_data): Likewise.
9481 (sinh_test_data): Likewise.
9482 (sinh_tonearest_test_data): Likewise.
9483 (sinh_towardzero_test_data): Likewise.
9484 (sinh_downward_test_data): Likewise.
9485 (sinh_upward_test_data): Likewise.
9486 (sqrt_test_data): Likewise.
9487 (tan_test_data): Likewise.
9488 (tan_tonearest_test_data): Likewise.
9489 (tan_towardzero_test_data): Likewise.
9490 (tan_downward_test_data): Likewise.
9491 (tan_upward_test_data): Likewise.
9492 (tanh_test_data): Likewise.
9493 (tgamma_test_data): Likewise.
9494 (trunc_test_data): Likewise.
9495 (y0_test_data): Likewise.
9496 (y1_test_data): Likewise.
9497 (yn_test_data): Likewise.
9498 (significand_test_data): Likewise.
9499
b679a606
JM
9500 * math/gen-libm-test.pl (@functions): Remove variable.
9501 (generate_testfile): Don't handle START and END lines.
9502 * math/libm-test.inc (START): New macro.
9503 (END): Likewise.
9504 (END_COMPLEX): Likewise.
9505 (acos_test): Use END macro without arguments.
9506 (acos_test_tonearest): Likewise.
9507 (acos_test_towardzero): Likewise.
9508 (acos_test_downward): Likewise.
9509 (acos_test_upward): Likewise.
9510 (acosh_test): Likewise.
9511 (asin_test): Likewise.
9512 (asin_test_tonearest): Likewise.
9513 (asin_test_towardzero): Likewise.
9514 (asin_test_downward): Likewise.
9515 (asin_test_upward): Likewise.
9516 (asinh_test): Likewise.
9517 (atan_test): Likewise.
9518 (atanh_test): Likewise.
9519 (atan2_test): Likewise.
9520 (cabs_test): Likewise.
9521 (cacos_test): Use END_COMPLEX macro without arguments.
9522 (cacosh_test): Likewise.
9523 (carg_test): Use END macro without arguments.
9524 (casin_test): Use END_COMPLEX macro without arguments.
9525 (casinh_test): Likewise.
9526 (catan_test): Likewise.
9527 (catanh_test): Likewise.
9528 (cbrt_test): Use END macro without arguments.
9529 (ccos_test): Use END_COMPLEX macro without arguments.
9530 (ccosh_test): Likewise.
9531 (ceil_test): Use END macro without arguments.
9532 (cexp_test): Use END_COMPLEX macro without arguments.
9533 (cimag_test): Use END macro without arguments.
9534 (clog_test): Use END_COMPLEX macro without arguments.
9535 (clog10_test): Likewise.
9536 (conj_test): Likewise.
9537 (copysign_test): Use END macro without arguments.
9538 (cos_test): Likewise.
9539 (cos_test_tonearest): Likewise.
9540 (cos_test_towardzero): Likewise.
9541 (cos_test_downward): Likewise.
9542 (cos_test_upward): Likewise.
9543 (cosh_test): Likewise.
9544 (cosh_test_tonearest): Likewise.
9545 (cosh_test_towardzero): Likewise.
9546 (cosh_test_downward): Likewise.
9547 (cosh_test_upward): Likewise.
9548 (cpow_test): Use END_COMPLEX macro without arguments.
9549 (cproj_test): Likewise.
9550 (creal_test): Use END macro without arguments.
9551 (csin_test): Use END_COMPLEX macro without arguments.
9552 (csinh_test): Likewise.
9553 (csqrt_test): Likewise.
9554 (ctan_test): Likewise.
9555 (ctan_test_tonearest): Likewise.
9556 (ctan_test_towardzero): Likewise.
9557 (ctan_test_downward): Likewise.
9558 (ctan_test_upward): Likewise.
9559 (ctanh_test): Likewise.
9560 (ctanh_test_tonearest): Likewise.
9561 (ctanh_test_towardzero): Likewise.
9562 (ctanh_test_downward): Likewise.
9563 (ctanh_test_upward): Likewise.
9564 (erf_test): Use END macro without arguments.
9565 (erfc_test): Likewise.
9566 (exp_test): Likewise.
9567 (exp_test_tonearest): Likewise.
9568 (exp_test_towardzero): Likewise.
9569 (exp_test_downward): Likewise.
9570 (exp_test_upward): Likewise.
9571 (exp10_test): Likewise.
9572 (exp2_test): Likewise.
9573 (expm1_test): Likewise.
9574 (fabs_test): Likewise.
9575 (fdim_test): Likewise.
9576 (finite_test): Likewise.
9577 (floor_test): Likewise.
9578 (fma_test): Likewise.
9579 (fma_test_towardzero): Likewise.
9580 (fma_test_downward): Likewise.
9581 (fma_test_upward): Likewise.
9582 (fmax_test): Likewise.
9583 (fmin_test): Likewise.
9584 (fmod_test): Likewise.
9585 (fpclassify_test): Likewise.
9586 (frexp_test): Likewise.
9587 (gamma_test): Likewise.
9588 (hypot_test): Likewise.
9589 (ilogb_test): Likewise.
9590 (isfinite_test): Likewise.
9591 (isgreater_test): Likewise.
9592 (isgreaterequal_test): Likewise.
9593 (isinf_test): Likewise.
9594 (isless_test): Likewise.
9595 (islessequal_test): Likewise.
9596 (islessgreater_test): Likewise.
9597 (isnan_test): Likewise.
9598 (isnormal_test): Likewise.
9599 (issignaling_test): Likewise.
9600 (isunordered_test): Likewise.
9601 (j0_test): Likewise.
9602 (j1_test): Likewise.
9603 (jn_test): Likewise.
9604 (ldexp_test): Likewise.
9605 (lgamma_test): Likewise.
9606 (lrint_test): Likewise.
9607 (lrint_test_tonearest): Likewise.
9608 (lrint_test_towardzero): Likewise.
9609 (lrint_test_downward): Likewise.
9610 (lrint_test_upward): Likewise.
9611 (llrint_test): Likewise.
9612 (llrint_test_tonearest): Likewise.
9613 (llrint_test_towardzero): Likewise.
9614 (llrint_test_downward): Likewise.
9615 (llrint_test_upward): Likewise.
9616 (log_test): Likewise.
9617 (log10_test): Likewise.
9618 (log1p_test): Likewise.
9619 (log2_test): Likewise.
9620 (logb_test): Likewise.
9621 (logb_test_downward): Likewise.
9622 (lround_test): Likewise.
9623 (llround_test): Likewise.
9624 (modf_test): Likewise.
9625 (nearbyint_test): Likewise.
9626 (nextafter_test): Likewise.
9627 (nexttoward_test): Likewise.
9628 (pow_test): Likewise.
9629 (pow_test_tonearest): Likewise.
9630 (pow_test_towardzero): Likewise.
9631 (pow_test_downward): Likewise.
9632 (pow_test_upward): Likewise.
9633 (remainder_test): Likewise.
9634 (remainder_test_tonearest): Likewise.
9635 (remainder_test_towardzero): Likewise.
9636 (remainder_test_downward): Likewise.
9637 (remainder_test_upward): Likewise.
9638 (remquo_test): Likewise.
9639 (rint_test): Likewise.
9640 (rint_test_tonearest): Likewise.
9641 (rint_test_towardzero): Likewise.
9642 (rint_test_downward): Likewise.
9643 (rint_test_upward): Likewise.
9644 (round_test): Likewise.
9645 (scalb_test): Likewise.
9646 (scalbn_test): Likewise.
9647 (scalbln_test): Likewise.
9648 (signbit_test): Likewise.
9649 (sin_test): Likewise.
9650 (sin_test_tonearest): Likewise.
9651 (sin_test_towardzero): Likewise.
9652 (sin_test_downward): Likewise.
9653 (sin_test_upward): Likewise.
9654 (sincos_test): Likewise.
9655 (sinh_test): Likewise.
9656 (sinh_test_tonearest): Likewise.
9657 (sinh_test_towardzero): Likewise.
9658 (sinh_test_downward): Likewise.
9659 (sinh_test_upward): Likewise.
9660 (sqrt_test): Likewise.
9661 (tan_test): Likewise.
9662 (tan_test_tonearest): Likewise.
9663 (tan_test_towardzero): Likewise.
9664 (tan_test_downward): Likewise.
9665 (tan_test_upward): Likewise.
9666 (tanh_test): Likewise.
9667 (tgamma_test): Likewise.
9668 (trunc_test): Likewise.
9669 (y0_test): Likewise.
9670 (y1_test): Likewise.
9671 (yn_test): Likewise.
9672 (significand_test): Likewise.
9673
bae143d2
OB
96742013-05-24 Ondřej Bílka <neleai@seznam.cz>
9675
9676 [BZ #15381]
9677 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9678
9323d39b
EM
96792013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9680
d4ea44a0 9681 [BZ #14894]
9323d39b
EM
9682 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9683 __ppc_mdoio and __ppc_mdoom.
9684 * manual/platform.texi: Document new functions __ppc_yield,
9685 __ppc_mdoio and __ppc_mdoom.
9686
13e23af7
CD
96872013-05-22 Carlos O'Donell <carlos@redhat.com>
9688
9689 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9690 (main): Mention "tls" pseudo-hwcap is legacy.
9691 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9692
351fe550
JM
96932013-05-22 Joseph Myers <joseph@codesourcery.com>
9694
9695 * math/gen-libm-test.pl (parse_args): Output only string of
9696 arguments as text for test name, not full call or descriptions of
9697 tests for extra outputs.
9698 (generate_testfile): Do not pass function name to parse_args.
9699 Generate this_func variable from START.
9700 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9701 field to arg_str.
9702 (struct test_ff_f_data): Likewise.
9703 (test_ff_f_data_nexttoward): Likewise.
9704 (struct test_fi_f_data): Likewise.
9705 (struct test_fl_f_data): Likewise.
9706 (struct test_if_f_data): Likewise.
9707 (struct test_fff_f_data): Likewise.
9708 (struct test_c_f_data): Likewise.
9709 (struct test_f_f1_data): Likewise. Remove field extra_name.
9710 (struct test_fF_f1_data): Likewise.
9711 (struct test_ffI_f1_data): Likewise.
9712 (struct test_c_c_data): Rename test_name field to arg_str.
9713 (struct test_cc_c_data): Likewise.
9714 (struct test_f_i_data): Likewise.
9715 (struct test_ff_i_data): Likewise.
9716 (struct test_f_l_data): Likewise.
9717 (struct test_f_L_data): Likewise.
9718 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9719 and extra2_name.
9720 (COMMON_TEST_SETUP): New macro.
9721 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9722 (COMMON_TEST_CLEANUP): Likewise.
9723 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9724 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9725 macros.
9726 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9727 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9728 macros.
9729 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9730 (RUN_TEST_fff_f): Take argument string. Call new setup and
9731 cleanup macros.
9732 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9733 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9734 macros.
9735 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9736 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9737 macros.
9738 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9739 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9740 cleanup macros.
9741 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9742 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9743 cleanup macros.
9744 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9745 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9746 cleanup macros.
9747 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9748 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9749 macros.
9750 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9751 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9752 macros.
9753 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9754 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9755 macros.
9756 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9757 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9758 cleanup macros.
9759 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9760 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9761 cleanup macros.
9762 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9763 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9764 macros.
9765 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9766 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9767 cleanup macros.
9768 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9769 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9770 macros.
9771 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9772 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9773 macros.
9774 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9775 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9776 cleanup macros.
9777 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9778
85118d4d
EBM
97792013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9780
9781 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9782 to _sifields.sigfault.
9783 (si_addr_lsb): Define new macro.
9784 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9785 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9786 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9787
7a44c18f
CD
97882013-05-03 Carlos O'Donell <carlos at redhat.com>
9789
9790 [BZ #15441]
9791 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9792 returns -1.
9793 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9794 null return -1.
9795 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9796 loading the domain.
9797
b50a7181
JM
97982013-05-22 Joseph Myers <joseph@codesourcery.com>
9799
9800 * math/gen-libm-test.pl (parse_args): Do not include expected
9801 result in test name.
9802 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9804 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9805 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9806 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9808
051063c8
SP
98092013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9810
3ce9e010
SP
9811 * benchtests/Makefile: Sort function entries.
9812
051063c8
SP
9813 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9814 tanh, asinh, acosh, atanh.
9815 * benchtests/acos-inputs: New file.
9816 * benchtests/acosh-inputs: New file.
9817 * benchtests/asin-inputs: New file.
9818 * benchtests/asinh-inputs: New file.
9819 * benchtests/atanh-inputs: New file.
9820 * benchtests/cosh-inputs: New file.
9821 * benchtests/log-inputs: New file.
9822 * benchtests/sinh-inputs: New file.
9823 * benchtests/tanh-inputs: New file.
9824
47c22455
DL
98252013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9826
9827 [BZ #15339]
9828 * posix/tst-getaddrinfo4.c: New test.
9829 * posix/Makefile (tests): Add it.
9830
3d04f5db
SP
98312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9832
9833 [BZ #15339]
9834 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9835 when no services were used.
9836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9837 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9838
d5dd6189
AS
98392013-05-21 Andreas Schwab <schwab@suse.de>
9840
9841 [BZ #15014]
9842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9843 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9844 successful.
9845 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9846 redundant variable declarations and reallocation of buffer when
9847 parsing as IPv6 address. Always set NSS status when called from
9848 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9849 buffer too small. Correct computation of needed size.
9850 * nss/Makefile (tests): Add test-digits-dots.
9851 * nss/test-digits-dots.c: New test.
9852
fef94eab
SP
98532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9854
9855 * benchtests/Makefile: Remove instructions for adding
9856 benchmark tests.
9857 * benchtests/README: New file to explain how to execute and
9858 enhance the benchmark tests.
9859
e39adf43
AS
98602013-05-21 Andreas Schwab <schwab@suse.de>
9861
9862 [BZ #15493]
9863 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9864 * setjmp/tst-sigsetjmp.c: New test.
9865
b2b671b6
OB
98662013-05-20 Ondřej Bílka <neleai@seznam.cz>
9867
9868 * sysdeps/x86_64/memset.S (memset): New implementation.
9869 (__bzero): Likewise.
9870 (__memset_tail): New function.
9871
2d48b41c
OB
98722013-05-20 Ondřej Bílka <neleai@seznam.cz>
9873
9874 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9875 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9876 __memcpy_sse2_unaligned ifunc selection.
9877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9878 Add memcpy-sse2-unaligned.S.
9879 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9880 Add: __memcpy_sse2_unaligned.
9881
f16cc3eb
JM
98822013-05-19 Joseph Myers <joseph@codesourcery.com>
9883
3e694268
JM
9884 [BZ #15490]
9885 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9886 math_force_eval before restoring floating-point envrionment.
9887 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9889 Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9891 <math_private.h>.
9892 (__nearbyintl): Use math_force_eval before restoring
9893 floating-point environment.
9894 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9895
db62a907
JM
9896 * math/gen-libm-test.pl (special_functions): Remove.
9897 (parse_args): Don't handle TEST_extra. Handle functions with no
9898 return value.
9899 * math/libm-test.inc (struct test_sincos_data): Replace with
9900 struct test_fFF_11_data.
9901 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9902 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9903 (sincos_test_data): Change element type to struct
9904 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9905 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9906 RUN_TEST_LOOP_sincos.
9907 * math/README.libm-test: Don't mention special handling of
9908 individual functions.
9909 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9910 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9911 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9912 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9913 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9915
f16cc3eb
JM
9916 * math/gen-libm-test.pl (get_variable): Remove function.
9917 (parse_args): Don't show pointer parameters to call in test
9918 names. Use "extra output N" in test names for extra outputs
9919 rather than naming variables.
9920
3779b5b6
JM
99212013-05-18 Joseph Myers <joseph@codesourcery.com>
9922
2ee094ff
JM
9923 [BZ #15488]
9924 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9925 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9926 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9927 double tests.
9928 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9929 disable.
9930 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9931 check_long_double.
9932
3779b5b6
JM
9933 * math/gen-libm-test.pl (@tests): Remove variable.
9934 ($count): Likewise.
9935 (new_test): Remove function.
9936 (show_exceptions): New function.
9937 (special_functions): Use show_exceptions instead of new_test.
9938 (parse_args): Likewise.
9939 (generate_testfile): Pass only function name in generated call to
9940 print_max_error or print_complex_max_error.
9941 (get_ulps): Do not handle complex tests specially.
9942 (output_test): Rename to ...
9943 (get_all_ulps_for_test): ... this. Return a string rather than
9944 printing to a file. Require ulps to be present.
9945 (output_ulps): Generate arrays rather than #defines.
9946 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9947 (struct ulp_data): New type.
9948 (BUILD_COMPLEX_ULP): Remove macro.
9949 (compare_ulp_data): New function.
9950 (find_ulps): Likewise.
9951 (find_test_ulps): Likewise.
9952 (find_function_ulps): Likewise.
9953 (find_complex_function_ulps): Likewise.
9954 (print_max_error): Determine allowed ulps using
9955 find_function_ulps.
9956 (print_complex_max_error): Determine allowed ulps using
9957 find_complex_function_ulps.
9958 (check_float_internal): Determine max ulps using find_test_ulps.
9959 (check_float): Do not take max_ulp parameter. Update call to
9960 check_float_internal.
9961 (check_complex): Likewise.
9962 (check_int): Do not take max_ulp parameter.
9963 (check_long): Likewise.
9964 (check_bool): Likewise.
9965 (check_longlong): Likewise.
9966 (struct test_f_f_data): Remove max_ulp field.
9967 (struct test_ff_f_data): Likewise.
9968 (struct test_ff_f_data_nexttoward): Likewise.
9969 (struct test_fi_f_data): Likewise.
9970 (struct test_fl_f_data): Likewise.
9971 (struct test_if_f_data): Likewise.
9972 (struct test_fff_f_data): Likewise.
9973 (struct test_c_f_data): Likewise.
9974 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9975 (struct test_fF_f1_data): Likewise.
9976 (struct test_ffI_f1_data): Likewise.
9977 (struct test_c_c_data): Remove max_ulp field.
9978 (struct test_cc_c_data): Likewise.
9979 (struct test_f_i_data): Likewise.
9980 (struct test_ff_i_data): Likewise.
9981 (struct test_f_l_data): Likewise.
9982 (struct test_f_L_data): Likewise.
9983 (struct test_sincos_data): Likewise.
9984 (RUN_TEST_f_f): Do not handle ulps.
9985 (RUN_TEST_LOOP_f_f): Likewise.
9986 (RUN_TEST_2_f): Likewise.
9987 (RUN_TEST_LOOP_2_f): Likewise.
9988 (RUN_TEST_fff_f): Likewise.
9989 (RUN_TEST_LOOP_fff_f): Likewise.
9990 (RUN_TEST_c_f): Likewise.
9991 (RUN_TEST_LOOP_c_f): Likewise.
9992 (RUN_TEST_f_f1): Likewise.
9993 (RUN_TEST_LOOP_f_f1): Likewise.
9994 (RUN_TEST_fF_f1): Likewise.
9995 (RUN_TEST_LOOP_fF_f1): Likewise.
9996 (RUN_TEST_fI_f1): Likewise.
9997 (RUN_TEST_LOOP_fI_f1): Likewise.
9998 (RUN_TEST_ffI_f1): Likewise.
9999 (RUN_TEST_LOOP_ffI_f1): Likewise.
10000 (RUN_TEST_c_c): Likewise.
10001 (RUN_TEST_LOOP_c_c): Likewise.
10002 (RUN_TEST_cc_c): Likewise.
10003 (RUN_TEST_LOOP_cc_c): Likewise.
10004 (RUN_TEST_f_i): Likewise.
10005 (RUN_TEST_LOOP_f_i): Likewise.
10006 (RUN_TEST_f_i_tg): Likewise.
10007 (RUN_TEST_LOOP_f_i_tg): Likewise.
10008 (RUN_TEST_ff_i_tg): Likewise.
10009 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10010 (RUN_TEST_f_b): Likewise.
10011 (RUN_TEST_LOOP_f_b): Likewise.
10012 (RUN_TEST_f_b_tg): Likewise.
10013 (RUN_TEST_LOOP_f_b_tg): Likewise.
10014 (RUN_TEST_f_l): Likewise.
10015 (RUN_TEST_LOOP_f_l): Likewise.
10016 (RUN_TEST_f_L): Likewise.
10017 (RUN_TEST_LOOP_f_L): Likewise.
10018 (RUN_TEST_sincos): Likewise.
10019 (RUN_TEST_LOOP_sincos): Likewise.
10020
8269107f
JM
100212013-05-17 Joseph Myers <joseph@codesourcery.com>
10022
bb38759d
JM
10023 [BZ #15480]
10024 [BZ #15485]
10025 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10026 main case of finite arguments, set rounding mode to FE_TONEAREST
10027 and discard exceptions.
10028 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10029 exceptions.
10030 (remainder_tonearest_test_data): New variable.
10031 (remainder_test_tonearest): New function.
10032 (remainder_towardzero_test_data): New variable.
10033 (remainder_test_towardzero): New function.
10034 (remainder_downward_test_data): New variable.
10035 (remainder_test_downward): New function.
10036 (remainder_upward_test_data): New variable.
10037 (remainder_test_upward): New function.
10038 (main): Call the new test functions.
10039
a00bdcf0
JM
10040 * math/libm-test.inc (struct test_f_f1_data): Remove field
10041 extra_init.
10042 (struct test_fF_f1_data): Likewise.
10043 (struct test_ffI_f1_data): Likewise.
10044 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10045 based on value of EXTRA_EXPECTED.
10046 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10047 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10048 EXTRA_VAR based on value of EXTRA_EXPECTED.
10049 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10050 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10051 EXTRA_VAR based on value of EXTRA_EXPECTED.
10052 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10053 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10054 EXTRA_VAR based on value of EXTRA_EXPECTED.
10055 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10056 * math/gen-libm-test.pl (parse_args): Don't output initializers
10057 for extra output values.
10058
de407f79
JM
10059 * math/libm-test.inc (check_int): Expect result to be exactly
10060 equal to expected value and do not handle ulps.
10061 (check_long): Likewise.
10062 (check_longlong): Likewise.
10063
8269107f
JM
10064 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10065 exceptions.
10066 (cimag_test_data): Likewise.
10067 (conj_test_data): Likewise.
10068 (copysign_test_data): Likewise.
10069 (cproj_test_data): Likewise.
10070 (creal_test_data): Likewise.
10071 (fabs_test_data): Likewise.
10072 (fdim_test_data): Likewise.
10073 (finite_test_data): Likewise.
10074 (floor_test_data): Likewise.
10075 (fmax_test_data): Likewise.
10076 (fmin_test_data): Likewise.
10077 (fmod_test_data): Likewise.
10078 (fpclassify_test_data): Likewise.
10079 (frexp_test_data): Likewise.
10080 (ilogb_test_data): Likewise.
10081 (isfinite_test_data): Likewise.
10082 (isgreater_test_data): Likewise.
10083 (isgreaterequal_test_data): Likewise.
10084 (isinf_test_data): Likewise.
10085 (isless_test_data): Likewise.
10086 (islessequal_test_data): Likewise.
10087 (islessgreater_test_data): Likewise.
10088 (isnan_test_data): Likewise.
10089 (isnormal_test_data): Likewise.
10090 (issignaling_test_data): Likewise.
10091 (isunordered_test_data): Likewise.
10092 (ldexp_test_data): Likewise.
10093 (lrint_test_data): Likewise.
10094 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10095 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10096 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10097 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10098 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10099 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10100 test input.
10101 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10102 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10103 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10104 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10105 that test input.
10106 (lrint_downward_test_data): Test for "inexact" exceptions.
10107 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10108 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10109 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10110 test input.
10111 (lrint_upward_test_data): Test for "inexact" exceptions.
10112 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10113 test input.
10114 (llrint_test_data): Test for "inexact" exceptions.
10115 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10116 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10117 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10118 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10119 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10120 (llrint_downward_test_data): Test for "inexact" exceptions.
10121 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10122 (llrint_upward_test_data): Test for "inexact" exceptions.
10123 (logb_test_data): Likewise.
10124 (logb_downward_test_data): Likewise.
10125 (nextafter_test_data): Likewise.
10126 (nexttoward_test_data): Likewise.
10127 (remainder_test_data): Likewise.
10128 (remquo_test_data): Likewise.
10129 (scalbn_test_data): Likewise.
10130 (scalbln_test_data): Likewise.
10131 (signbit_test_data): Likewise.
10132 (sqrt_test_data): Likewise.
10133 (significand_test_data): Likewise.
10134
48a18de1
SP
101352013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10136
10137 [BZ #15424]
10138 * benchtests/bench-modf.c (struct args): Mark arg0 as
10139 volatile.
10140 * scripts/bench.pl: Mark members of struct args as volatile.
10141
13d3b41a
AZ
101422013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143
68191c1d 10144 [BZ # 15497]
13d3b41a
AZ
10145 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10146 negative infinity on POWER6 or lower.
10147 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10148
2848b105
MR
101492013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10150
10151 [BZ #15442]
10152 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10153 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10154 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10155 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10156 (_FP_SETQNAN): New macro.
10157 (_FP_SETQNAN_SEMIRAW): Likewise.
10158 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10159 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10160 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10161 (FP_EXTEND): Use _FP_FRAC_SNANP.
10162 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10163 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10164 into account.
10165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10166 New macro.
10167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10168 Likewise.
10169
323e5cb7
JM
101702013-05-16 Joseph Myers <joseph@codesourcery.com>
10171
c58b274f
JM
10172 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10173 with DIVIDE_BY_ZERO_EXCEPTION.
10174 (gamma_test_data): Likewise.
10175 (lgamma_test_data): Likewise.
10176 (log_test_data): Likewise.
10177 (log10_test_data): Likewise.
10178 (log2_test_data): Likewise.
10179 (tgamma_test_data): Likewise.
10180
0ab34904
JM
10181 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10182 (acos_test_tonearest): Likewise.
10183 (acos_test_towardzero): Likewise.
10184 (acos_test_downward): Likewise.
10185 (acos_test_upward): Likewise.
10186 (acosh_test): Likewise.
10187 (asin_test): Likewise.
10188 (asin_test_tonearest): Likewise.
10189 (asin_test_towardzero): Likewise.
10190 (asin_test_downward): Likewise.
10191 (asin_test_upward): Likewise.
10192 (asinh_test): Likewise.
10193 (atan_test): Likewise.
10194 (atanh_test): Likewise.
10195 (atan2_test): Likewise.
10196 (cabs_test): Likewise.
10197 (cacos_test): Likewise.
10198 (cacosh_test): Likewise.
10199 (casin_test): Likewise.
10200 (casinh_test): Likewise.
10201 (catan_test): Likewise.
10202 (catanh_test): Likewise.
10203 (cbrt_test): Likewise.
10204 (ccos_test): Likewise.
10205 (ccosh_test): Likewise.
10206 (cexp_test): Likewise.
10207 (clog_test): Likewise.
10208 (clog10_test): Likewise.
10209 (cos_test): Likewise.
10210 (cos_test_tonearest): Likewise.
10211 (cos_test_towardzero): Likewise.
10212 (cos_test_downward): Likewise.
10213 (cos_test_upward): Likewise.
10214 (cosh_test): Likewise.
10215 (cosh_test_tonearest): Likewise.
10216 (cosh_test_towardzero): Likewise.
10217 (cosh_test_downward): Likewise.
10218 (cosh_test_upward): Likewise.
10219 (cpow_test): Likewise.
10220 (csin_test): Likewise.
10221 (csinh_test): Likewise.
10222 (csqrt_test): Likewise.
10223 (ctan_test): Likewise.
10224 (ctan_test_tonearest): Likewise.
10225 (ctan_test_towardzero): Likewise.
10226 (ctan_test_downward): Likewise.
10227 (ctan_test_upward): Likewise.
10228 (ctanh_test): Likewise.
10229 (ctanh_test_tonearest): Likewise.
10230 (ctanh_test_towardzero): Likewise.
10231 (ctanh_test_downward): Likewise.
10232 (ctanh_test_upward): Likewise.
10233 (erf_test): Likewise.
10234 (erfc_test): Likewise.
10235 (exp_test): Likewise.
10236 (exp_test_tonearest): Likewise.
10237 (exp_test_towardzero): Likewise.
10238 (exp_test_downward): Likewise.
10239 (exp_test_upward): Likewise.
10240 (exp10_test): Likewise.
10241 (exp2_test): Likewise.
10242 (expm1_test): Likewise.
10243 (fmod_test): Likewise.
10244 (gamma_test): Likewise.
10245 (hypot_test): Likewise.
10246 (j0_test): Likewise.
10247 (j1_test): Likewise.
10248 (jn_test): Likewise.
10249 (lgamma_test): Likewise.
10250 (log_test): Likewise.
10251 (log10_test): Likewise.
10252 (log1p_test): Likewise.
10253 (log2_test): Likewise.
10254 (logb_test_downward): Likewise.
10255 (pow_test): Likewise.
10256 (pow_test_tonearest): Likewise.
10257 (pow_test_towardzero): Likewise.
10258 (pow_test_downward): Likewise.
10259 (pow_test_upward): Likewise.
10260 (remainder_test): Likewise.
10261 (remquo_test): Likewise.
10262 (sin_test): Likewise.
10263 (sin_test_tonearest): Likewise.
10264 (sin_test_towardzero): Likewise.
10265 (sin_test_downward): Likewise.
10266 (sin_test_upward): Likewise.
10267 (sincos_test): Likewise.
10268 (sinh_test): Likewise.
10269 (sinh_test_tonearest): Likewise.
10270 (sinh_test_towardzero): Likewise.
10271 (sinh_test_downward): Likewise.
10272 (sinh_test_upward): Likewise.
10273 (sqrt_test): Likewise.
10274 (tan_test): Likewise.
10275 (tan_test_tonearest): Likewise.
10276 (tan_test_towardzero): Likewise.
10277 (tan_test_downward): Likewise.
10278 (tan_test_upward): Likewise.
10279 (tanh_test): Likewise.
10280 (tgamma_test): Likewise.
10281 (y0_test): Likewise.
10282 (y1_test): Likewise.
10283 (yn_test): Likewise.
10284
323e5cb7
JM
10285 * math/gen-libm-test.pl (adjust_arg): Remove function.
10286 (special_function): Remove argument $in_func. Only handle
10287 generating output for tables of tests, not inside functions.
10288 (parse_args): Likewise.
10289 (generate_testfile): Remove variable $in_func. Update call to
10290 parse_args.
10291 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10292 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10293 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10294 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10295 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10296 (MAX_VALUE_INIT): Rename macro to max_value.
10297 (MIN_VALUE_INIT): Rename macro to min_value.
10298 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10299 (plus_zero): Remove variable.
10300 (minus_zero): Likewise.
10301 (plus_infty): Likewise.
10302 (minus_infty): Likewise.
10303 (qnan_value): Likewise.
10304 (max_value): Likewise.
10305 (min_value): Likewise.
10306 (min_subnorm_value): Likewise.
10307
e054f494
RA
103082013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10309
10310 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10311 uint64_t or uint32_t usage.
10312 * crypt/sha256-block.c: Likewise.
10313 * crypt/sha256-crypt.c: Likewise.
10314 * crypt/sha256.c: Likewise.
10315 * crypt/sha512-block.c: Likewise.
10316 * crypt/sha512-crypt.c: Likewise.
10317 * crypt/sha512.c: Likewise.
10318 * debug/backtrace-tst.c: Likewise.
10319 * debug/pcprofiledump.c: Likewise.
10320 * elf/cache.c: Likewise.
10321 * elf/dl-cache.c: Likewise.
10322 * elf/dl-misc.c: Likewise.
10323 * elf/dl-profile.c: Likewise.
10324 * elf/dl-support.c: Likewise.
10325 * elf/ldconfig.c: Likewise.
10326 * elf/sprof.c: Likewise.
10327 * iconv/dummy-repertoire.c: Likewise.
10328 * iconv/iconv_charmap.c: Likewise.
10329 * iconv/skeleton.c: Likewise.
10330 * iconvdata/8bit-generic.c: Likewise.
10331 * iconvdata/cp737.h: Likewise.
10332 * iconvdata/cp775.h: Likewise.
10333 * iconvdata/ibm1008.h: Likewise.
10334 * iconvdata/ibm1025.h: Likewise.
10335 * iconvdata/ibm1046.h: Likewise.
10336 * iconvdata/ibm1097.h: Likewise.
10337 * iconvdata/ibm1112.h: Likewise.
10338 * iconvdata/ibm1122.h: Likewise.
10339 * iconvdata/ibm1123.h: Likewise.
10340 * iconvdata/ibm1124.h: Likewise.
10341 * iconvdata/ibm1129.h: Likewise.
10342 * iconvdata/ibm1130.h: Likewise.
10343 * iconvdata/ibm1132.h: Likewise.
10344 * iconvdata/ibm1133.h: Likewise.
10345 * iconvdata/ibm1137.h: Likewise.
10346 * iconvdata/ibm1140.h: Likewise.
10347 * iconvdata/ibm1141.h: Likewise.
10348 * iconvdata/ibm1142.h: Likewise.
10349 * iconvdata/ibm1143.h: Likewise.
10350 * iconvdata/ibm1144.h: Likewise.
10351 * iconvdata/ibm1145.h: Likewise.
10352 * iconvdata/ibm1146.h: Likewise.
10353 * iconvdata/ibm1147.h: Likewise.
10354 * iconvdata/ibm1148.h: Likewise.
10355 * iconvdata/ibm1149.h: Likewise.
10356 * iconvdata/ibm1153.h: Likewise.
10357 * iconvdata/ibm1154.h: Likewise.
10358 * iconvdata/ibm1155.h: Likewise.
10359 * iconvdata/ibm1156.h: Likewise.
10360 * iconvdata/ibm1157.h: Likewise.
10361 * iconvdata/ibm1158.h: Likewise.
10362 * iconvdata/ibm1160.h: Likewise.
10363 * iconvdata/ibm1161.h: Likewise.
10364 * iconvdata/ibm1162.h: Likewise.
10365 * iconvdata/ibm1163.h: Likewise.
10366 * iconvdata/ibm1164.h: Likewise.
10367 * iconvdata/ibm1166.h: Likewise.
10368 * iconvdata/ibm1167.h: Likewise.
10369 * iconvdata/ibm12712.h: Likewise.
10370 * iconvdata/ibm1390.h: Likewise.
10371 * iconvdata/ibm1399.h: Likewise.
10372 * iconvdata/ibm16804.h: Likewise.
10373 * iconvdata/ibm4517.h: Likewise.
10374 * iconvdata/ibm4899.h: Likewise.
10375 * iconvdata/ibm4909.h: Likewise.
10376 * iconvdata/ibm4971.h: Likewise.
10377 * iconvdata/ibm5347.h: Likewise.
10378 * iconvdata/ibm803.h: Likewise.
10379 * iconvdata/ibm856.h: Likewise.
10380 * iconvdata/ibm901.h: Likewise.
10381 * iconvdata/ibm902.h: Likewise.
10382 * iconvdata/ibm9030.h: Likewise.
10383 * iconvdata/ibm9066.h: Likewise.
10384 * iconvdata/ibm921.h: Likewise.
10385 * iconvdata/ibm922.h: Likewise.
10386 * iconvdata/ibm9448.h: Likewise.
10387 * iconvdata/isiri-3342.h: Likewise.
10388 * iconvdata/jis0201.h: Likewise.
10389 * include/link.h: Likewise.
10390 * include/netdb.h: Likewise.
10391 * inet/check_native.c: Likewise.
10392 * inet/check_pf.c: Likewise.
10393 * inet/getipv4sourcefilter.c: Likewise.
10394 * inet/getnameinfo.c: Likewise.
10395 * inet/getsourcefilter.c: Likewise.
10396 * inet/htonl.c: Likewise.
10397 * inet/setipv4sourcefilter.c: Likewise.
10398 * inet/setsourcefilter.c: Likewise.
10399 * inet/test-inet6_opt.c: Likewise.
10400 * inet/tst-network.c: Likewise.
10401 * locale/C-collate.c: Likewise.
10402 * locale/C-ctype.c: Likewise.
10403 * locale/C-time.c: Likewise.
10404 * locale/C-translit.h: Likewise.
10405 * locale/loadarchive.c: Likewise.
10406 * locale/programs/3level.h: Likewise.
10407 * locale/programs/charmap.c: Likewise.
10408 * locale/programs/charmap.h: Likewise.
10409 * locale/programs/ld-address.c: Likewise.
10410 * locale/programs/ld-collate.c: Likewise.
10411 * locale/programs/ld-ctype.c: Likewise.
10412 * locale/programs/ld-identification.c: Likewise.
10413 * locale/programs/ld-measurement.c: Likewise.
10414 * locale/programs/ld-messages.c: Likewise.
10415 * locale/programs/ld-monetary.c: Likewise.
10416 * locale/programs/ld-name.c: Likewise.
10417 * locale/programs/ld-numeric.c: Likewise.
10418 * locale/programs/ld-paper.c: Likewise.
10419 * locale/programs/ld-telephone.c: Likewise.
10420 * locale/programs/ld-time.c: Likewise.
10421 * locale/programs/linereader.c: Likewise.
10422 * locale/programs/locale.c: Likewise.
10423 * locale/programs/locarchive.c: Likewise.
10424 * locale/programs/locfile.h: Likewise.
10425 * locale/programs/repertoire.c: Likewise.
10426 * locale/programs/simple-hash.c: Likewise.
10427 * locale/programs/simple-hash.h: Likewise.
10428 * malloc/memusage.c: Likewise.
10429 * malloc/memusagestat.c: Likewise.
10430 * nis/nis_defaults.c: Likewise.
10431 * nis/nis_hash.c: Likewise.
10432 * nis/nis_print.c: Likewise.
10433 * nis/nis_xdr.c: Likewise.
10434 * nscd/connections.c: Likewise.
10435 * nscd/hstcache.c: Likewise.
10436 * nscd/nscd_gethst_r.c: Likewise.
10437 * nscd/nscd_getserv_r.c: Likewise.
10438 * nscd/nscd_helper.c: Likewise.
10439 * nscd/servicescache.c: Likewise.
10440 * nss/makedb.c: Likewise.
10441 * nss/nss_db/db-XXX.c: Likewise.
10442 * nss/nss_db/db-initgroups.c: Likewise.
10443 * nss/nss_db/db-netgrp.c: Likewise.
10444 * nss/nss_files/files-network.c: Likewise.
10445 * nss/nss_files/files-parse.c: Likewise.
10446 * posix/bug-regex5.c: Likewise.
10447 * posix/fnmatch_loop.c: Likewise.
10448 * posix/regcomp.c: Likewise.
10449 * posix/regexec.c: Likewise.
10450 * posix/tst-rfc3484-2.c: Likewise.
10451 * posix/tst-rfc3484-3.c: Likewise.
10452 * posix/tst-rfc3484.c: Likewise.
10453 * resolv/nss_dns/dns-canon.c: Likewise.
10454 * resolv/nss_dns/dns-network.c: Likewise.
10455 * resolv/res_init.c: Likewise.
10456 * resolv/res_mkquery.c: Likewise.
10457 * resolv/tst-aton.c: Likewise.
10458 * stdlib/cxa_atexit.c: Likewise.
10459 * stdlib/cxa_finalize.c: Likewise.
10460 * stdlib/gen-fpioconst.c: Likewise.
10461 * stdlib/strtol_l.c: Likewise.
10462 * string/tst-endian.c: Likewise.
10463 * sunrpc/auth_des.c: Likewise.
10464 * sunrpc/clnt_udp.c: Likewise.
10465 * sunrpc/rtime.c: Likewise.
10466 * sunrpc/svcauth_des.c: Likewise.
10467 * sunrpc/xdr.c: Likewise.
10468 * sunrpc/xdr_intXX_t.c: Likewise.
10469 * sunrpc/xdr_rec.c: Likewise.
10470 * sysdeps/generic/ldconfig.h: Likewise.
10471 * sysdeps/generic/ldsodefs.h: Likewise.
10472 * sysdeps/generic/memusage.h: Likewise.
10473 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10474 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10475 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10479 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10480 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10481 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10482 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10483 * sysdeps/posix/getaddrinfo.c: Likewise.
10484 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10485 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10486 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10487 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10488 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10489 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10490 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10491 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10492 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10493 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10494 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10495 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10496 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10497 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10498 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10499 * sysdeps/x86_64/dl-tls.h: Likewise.
10500 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10501 * time/alt_digit.c: Likewise.
10502 * time/era.c: Likewise.
10503 * wcsmbs/tst-c16c32-1.c: Likewise.
10504
8c75f674
JM
105052013-05-16 Joseph Myers <joseph@codesourcery.com>
10506
10507 * math/libm-test.inc (struct test_sincos_data): New type.
10508 (RUN_TEST_LOOP_sincos): New macro.
10509 (sincos_test_data): New variable.
10510 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10511
e6e49e59
RH
105122013-05-16 Richard Henderson <rth@redhat.com>
10513
10514 * math/atest-exp2.c (LIMB64): New macro.
10515 (CONSTSZ): New macro.
10516 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10517 (hexdig): Move ...
10518 (print_mpn_fp): ... to function scope.
10519 (read_mpn_hex): Remove.
10520 (get_log2): Remove.
10521 (exp2_mpn): Use mp_log2.
10522 (main): Use mp_exp1.
10523
15c7c18d
JM
105242013-05-16 Joseph Myers <joseph@codesourcery.com>
10525
105a07df
JM
10526 * math/libm-test.inc: Remove comment about not testing "inexact"
10527 exceptions.
10528 (INEXACT_EXCEPTION): New macro.
10529 (NO_INEXACT_EXCEPTION): Likewise.
10530 (INVALID_EXCEPTION_OK): Update value.
10531 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10532 (OVERFLOW_EXCEPTION_OK): Likewise.
10533 (UNDERFLOW_EXCEPTION_OK): Likewise.
10534 (IGNORE_ZERO_INF_SIGN): Likewise.
10535 (ERRNO_UNCHANGED): Likewise.
10536 (ERRNO_EDOM): Likewise.
10537 (ERRNO_ERANGE): Likewise.
10538 (test_exceptions): Handle testing "inexact" exceptions.
10539 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10540 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10541 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10542 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10543 INEXACT_EXCEPTION.
10544 (rint_towardzero_test_data): Likewise.
10545 (rint_downward_test_data): Likewise.
10546 (rint_upward_test_data): Likewise.
10547
e9eee333
JM
10548 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10549 with OVERFLOW_EXCEPTION.
10550 (exp10_test_data): Likewise.
10551 (exp2_test_data): Likewise.
10552 (expm1_test_data): Likewise.
10553 (lgamma_test_data): Likewise.
10554 (pow_test_data): Likewise.
10555 (tgamma_test_data): Likewise.
10556 (yn_test_data): Remove duplicate test of overflow.
10557
1c38ff73
JM
10558 * math/libm-test.inc (struct test_cc_c_data): New type.
10559 (RUN_TEST_LOOP_cc_c): New macro.
10560 (cpow_test_data): New variable.
10561 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10562
15c7c18d
JM
10563 * math/libm-test.inc (struct test_f_L_data): New type.
10564 (RUN_TEST_LOOP_f_L): New macro.
10565 (llrint_test_data): New variable.
10566 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10567 (llrint_tonearest_test_data): New variable.
10568 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10569 (llrint_towardzero_test_data): New variable.
10570 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10571 (llrint_downward_test_data): New variable.
10572 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10573 (llrint_upward_test_data): New variable.
10574 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10575 (llround_test_data): New variable.
10576 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10577
f137ff13
PC
105782013-05-13 Peter Collingbourne <pcc@google.com>
10579
10580 * math/atest-exp2.c (get_log2): Remove const attribute.
10581
3608cb24
JM
105822013-05-15 Joseph Myers <joseph@codesourcery.com>
10583
10584 * math/libm-test.inc (struct test_f_l_data): New type.
10585 (RUN_TEST_LOOP_f_l): New macro.
10586 (lrint_test_data): New variable.
10587 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10588 (lrint_tonearest_test_data): New variable.
10589 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10590 (lrint_towardzero_test_data): New variable.
10591 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10592 (lrint_downward_test_data): New variable.
10593 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10594 (lrint_upward_test_data): New variable.
10595 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10596 (lround_test_data): New variable.
10597 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10598
39b1f617
PC
105992013-05-15 Peter Collingbourne <pcc@google.com>
10600
1deff3dc
PC
10601 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10602 (EXTRACT_WORDS64) Use where appropriate.
10603 (INSERT_WORDS64) Likewise.
10604
791f3ba0
PC
10605 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10606 constraints with x constraints.
10607 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10608
39b1f617
PC
10609 * malloc/obstack.c (_obstack_compat): Add initializer.
10610
12fba011
EM
106112013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10612
10613 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10614 si_trapno and add si_addr_lsb to _sifields.sigfault.
10615 (si_trapno): Remove macro.
10616 (si_addr_lsb): Define new macro.
10617 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10618
d369f531
JM
106192013-05-15 Joseph Myers <joseph@codesourcery.com>
10620
b861c6c4
JM
10621 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10622 instead of TEST_f_l.
10623 (llrint_test_tonearest): Likewise.
10624 (llrint_test_towardzero): Likewise.
10625 (llrint_test_downward): Likewise.
10626 (llrint_test_upward): Likewise.
10627 (llround_test): Likewise.
10628
7abeee12
JM
10629 * math/libm-test.inc (struct test_f_i_data): Add comment.
10630 (RUN_TEST_LOOP_f_b): New macro.
10631 (RUN_TEST_LOOP_f_b_tg): Likewise.
10632 (finite_test_data): New variable.
10633 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10634 (isfinite_test_data): New variable.
10635 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10636 (isinf_test_data): New variable.
10637 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10638 (isnan_test_data): New variable.
10639 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10640 (isnormal_test_data): New variable.
10641 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10642 (issignaling_test_data): New variable.
10643 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10644 (signbit_test_data): New variable.
10645 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10646
cbe8c4d3
JM
10647 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10648 with INVALID_EXCEPTION.
10649 (acosh_test_data): Likewise.
10650 (asin_test_data): Likewise.
10651 (atanh_test_data): Likewise.
10652 (fmod_test_data): Likewise.
10653 (log_test_data): Likewise.
10654 (log10_test_data): Likewise.
10655 (log2_test_data): Likewise.
10656 (pow_test_data): Likewise.
10657 (sqrt_test_data): Likewise.
10658 (y0_test_data): Likewise.
10659 (y1_test_data): Likewise.
10660 (yn_test_data): Likewise.
10661
5575c0e5
JM
10662 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10663 function contents.
10664
d369f531
JM
10665 * math/libm-test.inc (struct test_ff_i_data): New type.
10666 (RUN_TEST_LOOP_ff_i_tg): New macro.
10667 (isgreater_test_data): New variable.
10668 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10669 (isgreaterequal_test_data): New variable.
10670 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10671 (isless_test_data): New variable.
10672 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10673 (islessequal_test_data): New variable.
10674 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10675 (islessgreater_test_data): New variable.
10676 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10677 (isunordered_test_data): New variable.
10678 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10679
781fd748
DM
106802013-05-14 David S. Miller <davem@davemloft.net>
10681
10682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10683
87aa21df
JM
106842013-05-14 Joseph Myers <joseph@codesourcery.com>
10685
5e908270
JM
10686 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10687
f71172e5
JM
10688 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10689 extra_test to int.
10690 (struct test_f_i_data): Change type of max_ulp to int.
10691
8cfa635a
JM
10692 * math/libm-test.inc (test_ffI_f1_data): New type.
10693 (RUN_TEST_LOOP_ffI_f1): New macro.
10694 (remquo_test_data): New variable.
10695 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10696
2bcb36b2
JM
10697 * setjmp/tst-setjmp-fp.c: New file.
10698 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10699 (link-libm): New variable.
10700 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10701
acbd839a
JM
10702 * math/libm-test.inc (struct test_f_i_data): New type.
10703 (RUN_TEST_LOOP_f_i): New macro.
10704 (RUN_TEST_LOOP_f_i_tg): Likewise.
10705 (fpclassify_test_data): New variable.
10706 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10707 (ilogb_test_data): New variable.
10708 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10709
e414d745
JM
10710 * math/libm-test.inc (scalbln_test): Correct function name in END
10711 call.
10712
d9c2a0fd
JM
10713 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10714 (RUN_TEST_LOOP_fI_f1): New macro.
10715 (frexp_test_data): New variable.
10716 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10717
9dc9095d
JM
10718 * math/libm-test.inc (struct test_fF_f1_data): New type.
10719 (RUN_TEST_LOOP_fF_f1): New macro.
10720 (modf_test_data): New variable.
10721 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10722
87aa21df
JM
10723 * math/libm-test.inc (struct test_f_f1_data): New type.
10724 (RUN_TEST_LOOP_f_f1): New macro.
10725 (gamma_test_data): New variable.
10726 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10727 (lgamma_test_data): New variable.
10728 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10729
141af660
CD
107302013-05-13 Carlos O'Donell <carlos@redhat.com>
10731
10732 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10733 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10734 (main): Comment "tls" pseudo-hwcap.
10735
6d33265c
JM
107362013-05-13 Joseph Myers <joseph@codesourcery.com>
10737
68fc074c
JM
10738 * math/libm-test.inc (struct test_fl_f_data): New type.
10739 (RUN_TEST_LOOP_fl_f): New variable.
10740 (scalbln_test_data): New variable.
10741 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10742
243216e1
JM
10743 * math/libm-test.inc (struct test_fi_f_data): New type.
10744 (RUN_TEST_LOOP_fi_f): New macro.
10745 (ldexp_test_data): New variable.
10746 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10747 (scalbn_test_data): New variable.
10748 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10749
6a1992e2
JM
10750 * math/libm-test.inc (struct test_c_f_data): New type.
10751 (RUN_TEST_LOOP_c_f): New macro.
10752 (cabs_test_data): New variable.
10753 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10754 (carg_test_data): New variable.
10755 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10756 (cimag_test_data): New variable.
10757 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10758 (creal_test_data): New variable.
10759 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10760
0e400df5
JM
10761 * math/libm-test.inc (struct test_if_f_data): New type.
10762 (RUN_TEST_LOOP_if_f): New macro.
10763 (jn_test_data): New variable.
10764 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10765 (yn_test_data): New variable.
10766 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10767
6d33265c
JM
10768 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10769
f98ece5f
AZ
107702013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10771
10772 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10773 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10774
0f7d347b
SP
107752013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10776
43fe811b
SP
10777 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10778 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10779 (bench-deps): Add bench-timing.h.
10780 * benchtests-bench-skeleton.c: Include bench-timing.h.
10781 (main): Use TIMING_* macros instead of clock_gettime.
10782 * benchtests/bench-timing.h: New file.
10783
0f7d347b
SP
10784 [BZ #14582]
10785 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10786 Renamed from _LIB_VERSION.
10787 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10788
601a3a5f
JM
107892013-05-12 Joseph Myers <joseph@codesourcery.com>
10790
4f184d30
JM
10791 * math/libm-test.inc (struct test_fff_f_data): New type.
10792 (RUN_TEST_LOOP_fff_f): New macro.
10793 (fma_test_data): New variable.
10794 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10795 (fma_towardzero_test_data): New variable.
10796 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10797 (fma_downward_test_data): New variable.
10798 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10799 (fma_upward_test_data): New variable.
10800 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10801
08198877
JM
10802 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10803 (struct test_c_c_data): New type.
10804 (RUN_TEST_LOOP_c_c): New macro.
10805 (cacos_test_data): New variable.
10806 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10807 (cacosh_test_data): New variable.
10808 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10809 (casin_test_data): New variable.
10810 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10811 (casinh_test_data): New variable.
10812 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10813 (catan_test_data): New variable.
10814 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10815 (catanh_test_data): New variable.
10816 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10817 (ccos_test_data): New variable.
10818 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10819 (ccosh_test_data): New variable.
10820 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10821 (cexp_test_data): New variable.
10822 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10823 (clog_test_data): New variable.
10824 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10825 (clog10_test_data): New variable.
10826 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10827 (conj_test_data): New variable.
10828 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10829 (cproj_test_data): New variable.
10830 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10831 (csin_test_data): New variable.
10832 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10833 (csinh_test_data): New variable.
10834 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10835 (csqrt_test_data): New variable.
10836 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10837 (ctan_test_data): New variable.
10838 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10839 (ctan_tonearest_test_data): New variable.
10840 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10841 (ctan_towardzero_test_data): New variable.
10842 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10843 (ctan_downward_test_data): New variable.
10844 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10845 (ctan_upward_test_data): New variable.
10846 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10847 (ctanh_test_data): New variable.
10848 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10849 (ctanh_tonearest_test_data): New variable.
10850 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10851 (ctanh_towardzero_test_data): New variable.
10852 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10853 (ctanh_downward_test_data): New variable.
10854 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10855 (ctanh_upward_test_data): New variable.
10856 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10857 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10858 of BUILD_COMPLEX.
10859
601a3a5f
JM
10860 * math/libm-test.inc (struct test_ff_f_data): New type.
10861 (struct test_ff_f_data_nexttoward): Likewise.
10862 (RUN_TEST_LOOP_2_f): New macro.
10863 (RUN_TEST_LOOP_ff_f): Likewise.
10864 (atan2_test_data): New variable.
10865 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10866 (copysign_test_data): New variable.
10867 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10868 (fdim_test_data): New variable.
10869 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10870 (fmax_test_data): New variable.
10871 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10872 (fmin_test_data): New variable.
10873 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10874 (fmod_test_data): New variable.
10875 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10876 (hypot_test_data): New variable.
10877 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10878 (nextafter_test_data): New variable.
10879 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10880 (nexttoward_test_data): New variable.
10881 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10882 (pow_test_data): New variable.
10883 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10884 (pow_tonearest_test_data): New variable.
10885 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10886 (pow_towardzero_test_data): New variable.
10887 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10888 (pow_downward_test_data): New variable.
10889 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10890 (pow_upward_test_data): New variable.
10891 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10892 (remainder_test_data): New variable.
10893 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10894 (scalb_test_data): New variable.
10895 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10896 * sysdeps/i386/fpu/libm-test-ulps: Update.
10897
74c57478
JM
108982013-05-11 Joseph Myers <joseph@codesourcery.com>
10899
8329e4da
JM
10900 * math/libm-test.inc (fma_test): Use max_value instead of local
10901 variable fltmax.
10902 (nextafter_test): Likewise.
10903
74c57478
JM
10904 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10905 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10906 (acos_downward_test_data): New variable.
10907 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10908 (acos_upward_test_data): New variable.
10909 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10910 (acosh_test_data): New variable.
10911 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10912 (asin_test_data): New variable.
10913 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10914 (asin_tonearest_test_data): New variable.
10915 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10916 (asin_towardzero_test_data): New variable.
10917 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10918 (asin_downward_test_data): New variable.
10919 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10920 (asin_upward_test_data): New variable.
10921 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10922 (asinh_test_data): New variable.
10923 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10924 (atan_test_data): New variable.
10925 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10926 (atanh_test_data): New variable.
10927 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10928 (cbrt_test_data): New variable.
10929 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10930 (ceil_test_data): New variable.
10931 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10932 (cos_test_data): New variable.
10933 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10934 (cos_tonearest_test_data): New variable.
10935 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10936 (cos_towardzero_test_data): New variable.
10937 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10938 (cos_downward_test_data): New variable.
10939 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10940 (cos_upward_test_data): New variable.
10941 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10942 (cosh_test_data): New variable.
10943 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10944 (cosh_tonearest_test_data): New variable.
10945 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10946 (cosh_towardzero_test_data): New variable.
10947 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10948 (cosh_downward_test_data): New variable.
10949 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10950 (cosh_upward_test_data): New variable.
10951 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10952 (erf_test_data): New variable.
10953 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10954 (erfc_test_data): New variable.
10955 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10956 (exp_test_data): New variable.
10957 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10958 (exp_tonearest_test_data): New variable.
10959 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10960 (exp_towardzero_test_data): New variable.
10961 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10962 (exp_downward_test_data): New variable.
10963 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10964 (exp_upward_test_data): New variable.
10965 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10966 (exp10_test_data): New variable.
10967 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10968 (exp2_test_data): New variable.
10969 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10970 (expm1_test_data): New variable.
10971 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10972 (fabs_test_data): New variable.
10973 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10974 (floor_test_data): New variable.
10975 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10976 (j0_test_data): New variable.
10977 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10978 (j1_test_data): New variable.
10979 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10980 (log_test_data): New variable.
10981 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10982 (log10_test_data): New variable.
10983 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10984 (log1p_test_data): New variable.
10985 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10986 (log2_test_data): New variable.
10987 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10988 (logb_test_data): New variable.
10989 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10990 (logb_downward_test_data): New variable.
10991 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10992 (nearbyint_test_data): New variable.
10993 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10994 (rint_test_data): New variable.
10995 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10996 (rint_tonearest_test_data): New variable.
10997 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10998 (rint_towardzero_test_data): New variable.
10999 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11000 (rint_downward_test_data): New variable.
11001 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11002 (rint_upward_test_data): New variable.
11003 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11004 (round_test_data): New variable.
11005 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11006 (sin_test_data): New variable.
11007 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11008 (sin_tonearest_test_data): New variable.
11009 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11010 (sin_towardzero_test_data): New variable.
11011 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11012 (sin_downward_test_data): New variable.
11013 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11014 (sin_upward_test_data): New variable.
11015 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11016 (sinh_test_data): New variable.
11017 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11018 (sinh_tonearest_test_data): New variable.
11019 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11020 (sinh_towardzero_test_data): New variable.
11021 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11022 (sinh_downward_test_data): New variable.
11023 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11024 (sinh_upward_test_data): New variable.
11025 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11026 (sqrt_test_data): New variable.
11027 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11028 (tan_test_data): New variable.
11029 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11030 (tan_tonearest_test_data): New variable.
11031 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11032 (tan_towardzero_test_data): New variable.
11033 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11034 (tan_downward_test_data): New variable.
11035 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11036 (tan_upward_test_data): New variable.
11037 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11038 (tanh_test_data): New variable.
11039 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11040 (tgamma_test_data): New variable.
11041 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11042 (trunc_test_data): New variable.
11043 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11044 (y0_test_data): New variable.
11045 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11046 (y1_test_data): New variable.
11047 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11048 (significand_test_data): New variable.
11049 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11050
7187d844
CG
110512013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11052
11053 [BZ #12387]
11054 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11055
f63fae73
PT
110562013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11057
11058 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11059
8a67a4b3
AJ
110602013-05-10 Andreas Jaeger <aj@suse.de>
11061
11062 [BZ #15448]
11063 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11064 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11065
51df539d
JM
110662013-05-10 Joseph Myers <joseph@codesourcery.com>
11067
11068 * math/gen-libm-test.pl (adjust_arg): New function.
11069 (special_functions): Handle generating output in both functions
11070 and arrays.
11071 (parse_args): Likewise.
11072 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11073 $in_func argument to parse_args.
11074 * math/libm-test.inc (struct test_f_f_data): New type.
11075 (IF_ROUND_INIT_): New macro.
11076 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11077 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11078 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11079 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11080 (ROUND_RESTORE_): Likewise.
11081 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11082 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11083 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11084 (ROUND_RESTORE_FE_UPWARD): Likewise.
11085 (RUN_TEST_LOOP_f_f): New macro.
11086 (acos_test_data): New variable.
11087 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11088 (acos_tonearest_test_data): New variable.
11089 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11090
5c637fe5
SP
110912013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11092
11093 * benchtests/bench-skeleton.c (startup): Fix coding style.
11094
ab2b9461
JM
110952013-05-10 Joseph Myers <joseph@codesourcery.com>
11096
11097 [BZ #6809]
11098 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11099 negative infinity argument.
11100 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11101 negative infinity argument.
11102 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11103 negative infinity argument.
11104 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11105 domain errors.
11106
4c0fe6fe
FW
111072013-05-10 Florian Weimer <fweimer@redhat.com>
11108
11109 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11110 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11111 * iconv/iconv_prog.c (main): Likewise.
11112 * locale/programs/charmap-dir.c (charmap_readdir)
11113 (fopen_uncompressed): Likewise.
11114 * locale/programs/locfile.c (siblings_uncached)
11115 (write_locale_data): Use lstat64 instead of lstat.
11116 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11117 stat.
11118
a3375d29
AJ
111192013-05-10 Andreas Jaeger <aj@suse.de>
11120
11121 [BZ #15395]
11122 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11123 localization.
11124 Include <locale.h>.
11125
36129722
CD
111262013-05-09 Carlos O'Donell <carlos@redhat.com>
11127
11128 * elf/dl-close.c (_dl_close_worker): Add comments.
11129
faa7f811
JM
111302013-05-09 Joseph Myers <joseph@codesourcery.com>
11131
ed41ffef
JM
11132 [BZ #15359]
11133 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11134 high part of pi/2.
11135 (__ieee754_rem_pio2l): Update comments.
11136
d0213cd0
JM
11137 [BZ #15429]
11138 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11139 high part of pi/2.
11140 (__ieee754_rem_pio2l): Update comments.
11141
0d3e777a
JM
11142 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11143 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11144
24f56066
JM
11145 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11146 M_PI_4l.
11147
faa7f811
JM
11148 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11149 (M_PI_34_LOG10El): Likewise.
11150 (M_PI2_LOG10El): Likewise.
11151 (M_PI4_LOG10El): Likewise.
11152 (M_PI_LOG10El): Likewise.
11153
e9a5e0fd
AZ
111542013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11155
11156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11157
d8cd06db
JM
111582013-05-08 Joseph Myers <joseph@codesourcery.com>
11159
a0d9f9d7
JM
11160 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11161 (MINUS_ZERO_INIT): Likewise.
11162 (PLUS_INFTY_INIT): Likewise.
11163 (MINUS_INFTY_INIT): Likewise.
11164 (QNAN_VALUE_INIT): Likewise.
11165 (MAX_VALUE_INIT): Likewise.
11166 (MIN_VALUE_INIT): Likewise.
11167 (MIN_SUBNORM_VALUE_INIT): Likewise.
11168 (plus_zero): Initialize with PLUS_ZERO_INIT.
11169 (minus_zero): Initialize with MINUS_ZERO_INIT.
11170 (plus_infty): Initialize with PLUS_INFTY_INIT.
11171 (minus_infty): Initialize with MINUS_INFTY_INIT.
11172 (qnan_value): Initialize with QNAN_VALUE_INIT.
11173 (max_value): Initialize with MAX_VALUE_INIT.
11174 (min_value): Initialize with MIN_VALUE_INIT.
11175 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11176
ae08db3b
JM
11177 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11178 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11179 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11180 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11181
f44bf14a
JM
11182 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11183 (RUN_TEST_2_f): Likewise.
11184 (RUN_TEST_ff_f): Likewise.
11185 (RUN_TEST_fi_f): Likewise.
11186 (RUN_TEST_fl_f): Likewise.
11187 (RUN_TEST_fff_f): Likewise.
11188 (RUN_TEST_c_f): Likewise.
11189 (RUN_TEST_f_f1): Likewise.
11190 (RUN_TEST_fF_f1): Likewise.
11191 (RUN_TEST_fI_f1): Likewise.
11192 (RUN_TEST_ffI_f1): Likewise.
11193 (RUN_TEST_c_c): Likewise.
11194 (RUN_TEST_cc_c): Likewise.
11195 (RUN_TEST_f_i): Likewise.
11196 (RUN_TEST_f_i_tg): Likewise.
11197 (RUN_TEST_ff_i_tg): Likewise.
11198 (RUN_TEST_f_b): Likewise.
11199 (RUN_TEST_f_b_tg): Likewise.
11200 (RUN_TEST_f_l): Likewise.
11201 (RUN_TEST_f_L): Likewise.
11202 (RUN_TEST_sincos): Likewise.
11203 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11204 whether to show exceptions. Do not include ");\n" in return
11205 value.
11206 (special_functions): Output call to RUN_TEST_sincos instead of
11207 check_float calls. Update calls to new_test.
11208 (parse_args): Output call to single RUN_TEST_* macro instead of
11209 check_* calls and other assignments. Update calls to new_test.
11210
d8cd06db
JM
11211 [BZ #2546]
11212 [BZ #2560]
11213 [BZ #5159]
11214 [BZ #15426]
11215 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11216 input to result for tgamma overflow.
11217 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11218 (gamma_coeff): New variable.
11219 (NCOEFF): New macro.
11220 (gamma_positive): New function.
11221 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11222 underflow here. Use gamma_positive instead of exp (lgamma) for
11223 other arguments.
11224 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11225 (gamma_coeff): New variable.
11226 (NCOEFF): New macro.
11227 (gammaf_positive): New function.
11228 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11229 underflow here. Use gamma_positive instead of exp (lgamma) for
11230 other arguments.
11231 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11232 (gamma_coeff): New variable.
11233 (NCOEFF): New macro.
11234 (gammal_positive): New function.
11235 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11236 underflow here. Use gamma_positive instead of exp (lgamma) for
11237 other arguments.
11238 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11239 (gamma_coeff): New variable.
11240 (NCOEFF): New macro.
11241 (gammal_positive): New function.
11242 (__ieee754_gammal_r): Handle positive infinity, overflow and
11243 underflow here. Handle NaN the same as positive infinity. Remove
11244 check x < 0xffffffff for negative integers. Use gamma_positive
11245 instead of exp (lgamma) for other arguments.
11246 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11247 (gamma_coeff): New variable.
11248 (NCOEFF): New macro.
11249 (gammal_positive): New function.
11250 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11251 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11255 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11256 * sysdeps/generic/math_private.h (__gamma_productf): New
11257 prototype.
11258 (__gamma_product): Likewise.
11259 (__gamma_productl): Likewise.
11260 * math/Makefile (libm-calls): Add gamma_product.
11261 * math/libm-test.inc (tgamma_test): Add more tests.
11262 * sysdeps/i386/fpu/libm-test-ulps: Update.
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11264
bb7cf681
OB
112652013-05-08 Ondřej Bílka <neleai@seznam.cz>
11266
11267 * benchtests/bench-skeleton.c (main): Preheat CPU.
11268
ba853947
AJ
112692013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11270
11271 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11272
8347c74c
RM
112732013-05-07 Roland McGrath <roland@hack.frob.com>
11274
11275 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11276 and _dl_skip_args_internal.
11277
e8dd4791
CD
112782013-05-07 Carlos O'Donell <carlos@redhat.com>
11279
11280 * manual/message.texi (Message Translation): Talk about users.
11281 Message to key mapping impacts design.
11282
c7405830
RM
112832013-05-06 Roland McGrath <roland@hack.frob.com>
11284
a9173057
RM
11285 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11286
976e2f03
RM
11287 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11288
9723ffc5
RM
11289 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11290 * sysdeps/wordsize-64/glob64.c: ... here.
11291
962e6658
RM
11292 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11293 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11294 New macros.
11295
ee586a6d
RM
11296 * debug/getlogin_r_chk.c: Moved to ...
11297 * login/getlogin_r_chk.c: ... here.
11298 * debug/Makefile (routines): Move getlogin_r_chk to ...
11299 * login/Makefile (routines): ... here.
11300 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11301 * login/Versions (libc: GLIBC_2.4): ... here.
11302
355f9165
RM
11303 * io/poll.c (__poll): Renamed from poll.
11304 Add libc_hidden_def.
11305 (poll): Define as weak alias.
11306
bd9ffde6
RM
11307 * debug/ptsname_r_chk.c: Moved to ...
11308 * login/ptsname_r_chk.c: ... here.
11309 * debug/Makefile (routines): Move ptsname_r_chk to ...
11310 * login/Makefile (routines): ... here.
11311 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11312 * login/Versions (libc: GLIBC_2.4): ... here.
11313
8fb16a04
RM
11314 * posix/getlogin.c: Moved to ...
11315 * login/getlogin.c: ... here.
11316 * posix/getlogin_r.c: Moved to ...
11317 * login/getlogin_r.c: ... here.
11318 * posix/getlogin_r.c: Moved to ...
11319 * login/getlogin_r.c: ... here.
11320 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11321 * login/Makefile (routines): ... here.
11322 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11323 * login/Versions (libc: GLIBC_2.0): ... here.
11324
b99b892f
RM
11325 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11326 (setrlimit): Define as weak alias.
11327
c7405830
RM
11328 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11329 Call __ names for open, ftruncate, and close.
11330 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11331 (truncate): Define as weak alias.
11332
5bf96de5
JM
113332013-05-06 Joseph Myers <joseph@codesourcery.com>
11334
9ea3513c
JM
11335 * math/gen-libm-test.pl (parse_args): Initialize x before each
11336 test of frexp, modf and remquo.
11337
5bf96de5
JM
11338 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11339 test signgam value.
11340
16e616a7
AZ
113412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11342
11343 [BZ #15418]
11344 [BZ #15419]
11345 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11346 internal tests.
11347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11348
d5e82754
RM
113492013-05-06 Roland McGrath <roland@hack.frob.com>
11350
11351 * elf/dl-writev.h: New file.
11352 * elf/dl-misc.c: Include it.
11353 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11354 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11355
a7548d41
JM
113562013-05-04 Joseph Myers <joseph@codesourcery.com>
11357
b7dab1e4
JM
11358 * math/libm-test.inc (noXFails): Remove variable.
11359 (noXPasses): Likewise.
11360 (BUILD_COMPLEX_INT): Remove macro.
11361 (print_screen): Remove xfail argument.
11362 (print_screen_max_error): Likewise.
11363 (update_stats): Likewise.
11364 (print_max_error): Likewise. Update calls to other affected
11365 functions.
11366 (print_complex_max_error): Likewise.
11367 (test_single_exception): Update calls to print_screen.
11368 (test_single_errno): Likewise.
11369 (check_float_internal): Remove xfail argument. Update calls to
11370 other affected functions.
11371 (check_float): Likewise.
11372 (check_complex): Likewise.
11373 (check_int): Likewise.
11374 (check_long): Likewise.
11375 (check_bool): Likewise.
11376 (check_longlong): Likewise.
11377 (main): Don't print noXFails and noXPasses.
11378 * math/gen-libm-test.pl (top level): Don't mention expected
11379 failure handling in comment.
11380 (new_test): Don't handle expected failures.
11381 (parse_args): Don't mention expected failure handling in comment.
11382 (generate_testfile): Don't handle expected failures.
11383 (parse_ulps): Likewise.
11384 (print_ulps_file): Likewise.
11385 (get_failure): Remove function.
11386 (output_test): Don't handle expected failures.
11387 * make/README.libm-test: Don't mention expected failure handling.
11388
a7548d41
JM
11389 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11390 (minus_zero): Likewise.
11391 (plus_infty): Likewise.
11392 (minus_infty): Likewise.
11393 (qnan_value): Likewise.
11394 (max_value): Likewise.
11395 (min_value): Likewise.
11396 (min_subnorm_value): Likewise.
11397 (initialize): Do not initialize those variables dynamically.
11398
60bfd54c
RM
113992013-05-03 Roland McGrath <roland@hack.frob.com>
11400
cc0e6ed8
RM
11401 * io/open.c (__open_2): Moved to ...
11402 * io/open_2.c: ... this new file.
11403 * io/open64.c (__open64_2): Moved to ...
11404 * io/open64_2.c: ... this new file.
11405 * io/openat.c (__openat_2): Moved to ...
11406 * io/openat_2.c: ... this new file.
11407 * io/openat64.c (__openat64_2): Moved to ...
11408 * io/openat64_2.c: ... this new file.
11409 * io/Makefile (routines): Add them.
11410 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11411 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11412 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11413 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11414 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11415 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11416 (__openat64): Add hidden_ver.
11417 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11418 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11419
60bfd54c
RM
11420 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11421 Separately conditionalize setting of GLRO(dl_sysinfo) so
11422 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11423 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11424
83e7640f
AZ
114252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11426
11427 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11428 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11429 definition.
11430 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11431 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11432 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11433 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11434 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11435
d5dc2af3
JM
114362013-05-03 Joseph Myers <joseph@codesourcery.com>
11437
c31a5b1e
JM
11438 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11439 test signgam value.
11440
d5dc2af3
JM
11441 * math/libm-test.inc (hypot_test): Do not use
11442 IGNORE_ZERO_INF_SIGN.
11443
164fd39d
AJ
114442013-05-03 Andreas Jaeger <aj@suse.de>
11445
11446 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11447 Linux 3.9.
11448 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11449 (PF_MAX): Adjust for VSOCK change.
11450
8237f48c
AZ
114512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11452
11453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11454
9df02941
CD
114552013-05-02 Carlos O'Donell <carlos@redhat.com>
11456
11457 [BZ #15264]
11458 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11459 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11460 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11461
d422395e
DM
114622013-05-02 David S. Miller <davem@davemloft.net>
11463
11464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11465
a07c5731
OB
114662013-05-01 Ondřej Bílka <neleai@seznam.cz>
11467
11468 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11469
1324e37f
RM
114702013-05-01 Roland McGrath <roland@hack.frob.com>
11471
11472 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11473
0695940b
RS
114742013-05-01 Richard Smith <richard@metafoo.co.uk>
11475
bb5f27ad 11476 [BZ #14952]
0695940b
RS
11477 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11478 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11479 Use __attribute__ ((__gnu_inline__)).
11480 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11481 Don't use __attribute__ ((__gnu_inline__)).
11482
10de07f5
JM
114832013-05-01 Joseph Myers <joseph@codesourcery.com>
11484
11485 [BZ #15423]
11486 * math/s_catan.c (__catan): Handle small real or imaginary part of
11487 input specially to avoid spurious underflow.
11488 * math/s_catanf.c (__catanf): Likewise.
11489 * math/s_catanh.c (__catanh): Likewise.
11490 * math/s_catanhf.c (__catanhf): Likewise.
11491 * math/s_catanhl.c (__catanhl): Likewise.
11492 * math/s_catanl.c (__catanl): Likewise.
11493 * math/libm-test.inc (catan_test): Add more tests.
11494 (catanh_test): Likewise.
11495 * sysdeps/i386/fpu/libm-test-ulps: Update.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11497
cb4d5414
AZ
114982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11499
11500 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11501
caf84319
JM
115022013-04-30 Joseph Myers <joseph@codesourcery.com>
11503
11504 [BZ #15416]
11505 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11506 accurately for denominator in atan2.
11507 * math/s_catanf.c (__catanf): Likewise.
11508 * math/s_catanh.c (__catanh): Likewise.
11509 * math/s_catanhf.c (__catanhf): Likewise.
11510 * math/s_catanhl.c (__catanhl): Likewise.
11511 * math/s_catanl.c (__catanl): Likewise.
11512 * math/libm-test.inc (catan_test): Add more tests.
11513 (catanh_test): Likewise.
11514 * sysdeps/i386/fpu/libm-test-ulps: Update.
11515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11516
d569c6ee
SP
115172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11518
6dbe713d
SP
11519 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11520
f0ee064b
SP
11521 * benchtests/Makefile (bench): Remove slow benchmarks.
11522 * benchtests/atan-inputs: Add slow benchmark inputs.
11523 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11524 (BENCH_FUNC): Accept variant offset.
11525 (VARIANT): Define.
11526 * benchtests/bench-skeleton.c (main): Run benchmark for each
11527 variant.
11528 * benchtests/cos-inputs: Add slow benchmark inputs.
11529 * benchtests/exp-inputs: Likewise.
11530 * benchtests/pow-inputs: Likewise.
11531 * benchtests/sin-inputs: Likewise.
11532 * benchtests/slowatan-inputs: Remove.
11533 * benchtests/slowatan.c: Remove.
11534 * benchtests/slowcos-inputs: Remove.
11535 * benchtests/slowcos.c: Remove.
11536 * benchtests/slowexp-inputs: Remove.
11537 * benchtests/slowexp.c: Remove.
11538 * benchtests/slowpow-inputs: Remove.
11539 * benchtests/slowpow.c: Remove.
11540 * benchtests/slowsin-inputs: Remove.
11541 * benchtests/slowsin.c: Remove.
11542 * benchtests/slowtan-inputs: Remove.
11543 * benchtests/slowtan.c: Remove.
11544 * benchtests/tan-inputs: Add slow benchmark inputs.
11545 * scripts/bench.pl: Parse comments and directives.
11546
d569c6ee
SP
11547 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11548 in CPPFLAGS.
11549 ($(objpfx)bench-%.c): Remove *-ITER.
11550 * benchtests/bench-modf.c: Remove definition of ITER.
11551 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11552 (main): Loop for DURATION seconds instead of fixed number of
11553 iterations.
11554 * scripts/bench.pl: Don't expect iterations in parameters.
11555
a6a242fe
RM
115562013-04-29 Roland McGrath <roland@hack.frob.com>
11557
11558 * io/fchdir.c (__fchdir): Renamed from fchdir.
11559 (fchdir): Define as weak alias.
11560
f2da7793
JM
115612013-04-29 Joseph Myers <joseph@codesourcery.com>
11562
11563 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11564 (ERRNO_EDOM): Likewise.
11565 (ERRNO_ERANGE): Likewise.
11566 (noErrnoTests): New variable.
11567 (init_max_error): Set errno to 0.
11568 (test_single_errno): New function.
11569 (test_errno): Likewise.
11570 (check_float_internal): Call test_errno. Set errno to 0.
11571 (check_complex): Refer to errno tests in comment.
11572 (check_int): Call test_errno. Set errno to 0.
11573 (check_long): Likewise.
11574 (check_bool): Likewise.
11575 (check_longlong): Likewise.
11576 (cos_test): Use ERRNO_* flags for errno tests instead of
11577 check_int.
11578 (expm1_test): Likewise.
11579 (fmod_test): Likewise.
11580 (ilogb_test): Likewise.
11581 (lgamma_test): Likewise.
11582 (pow_test): Likewise.
11583 (remainder_test): Likewise.
11584 (sin_test): Likewise.
11585 (tan_test): Likewise.
11586 (yn_test): Likewise.
11587 (initialize): Set errno to 0.
11588 (main): Print number of errno tests.
11589 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11590
b1a36ceb
AJ
115912013-04-29 Andreas Jaeger <aj@suse.de>
11592
c3ed8088
AJ
11593 [BZ #15084]
11594 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11595 and RES_USEVC.
11596
f1a24198
AJ
11597 [BZ #15085]
11598 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11599 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11600 unimplemented.
11601
9ce3b2cb
AJ
11602 [BZ #15380]
11603 * stdlib/random.c (__initstate): Return NULL if
11604 __initstate fails.
11605
f1a24198 11606 [BZ #15086]
b1a36ceb
AJ
11607 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11608 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11609 RES_SNGLKUPREOP.
11610
7e7b6f36
AZ
116112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11612
11613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11614
4d14f449
JM
116152013-04-29 Joseph Myers <joseph@codesourcery.com>
11616
11617 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11618 of individual tests.
11619 (casin_test): Likewise.
11620 (casinh_test): Likewise.
11621
5b4217d7
JM
116222013-04-27 Joseph Myers <joseph@codesourcery.com>
11623
11624 [BZ #15409]
11625 * math/s_catan.c (__catan): Handle arguments with large real or
11626 imaginary part separately without squaring.
11627 * math/s_catanf.c (__catanf): Likewise.
11628 * math/s_catanh.c (__catanh): Likewise.
11629 * math/s_catanhf.c (__catanhf): Likewise.
11630 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11631 and redefine.
11632 (__catanhl): Handle arguments with large real or imaginary part
11633 separately without squaring.
11634 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11635 and redefine.
11636 (__catanl): Handle arguments with large real or imaginary part
11637 separately without squaring.
11638 * math/libm-test.inc (catan_test): Add more tests.
11639 (catanh_test): Likewise.
11640 * sysdeps/i386/fpu/libm-test-ulps: Update.
11641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11642
4220c3ef
AJ
116432013-04-27 Andreas Jaeger <aj@suse.de>
11644
11645 [BZ #15007]
11646 * stdlib/stdlib.h: Update guards for qecvt.
11647 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11648 <stdlib.h>.
11649
4721b2d1
AM
116502013-04-27 Allan McRae <allan@archlinux.org>
11651
11652 * sysdeps/i386/fpu/libm-test-ulps: Update.
11653
f0302940
JM
116542013-04-26 Joseph Myers <joseph@codesourcery.com>
11655
9457fd95
JM
11656 [BZ #15406]
11657 * math/s_catan.c: Include <float.h>.
11658 (__catan): Ensure underflow exception occurs for underflowed
11659 result.
11660 * math/s_catanf.c: Include <float.h>.
11661 (__catanf): Ensure underflow exception occurs for underflowed
11662 result.
11663 * math/s_catanh.c: Include <float.h>.
11664 (__catanh): Ensure underflow exception occurs for underflowed
11665 result.
11666 * math/s_catanhf.c: Include <float.h>.
11667 (__catanhf): Ensure underflow exception occurs for underflowed
11668 result.
11669 * math/s_catanhl.c: Include <float.h>.
11670 (__catanhl): Ensure underflow exception occurs for underflowed
11671 result.
11672 * math/s_catanl.c: Include <float.h>.
11673 (__catanl): Ensure underflow exception occurs for underflowed
11674 result.
11675 * math/libm-test.inc (catan_test): Add more tests.
11676 (catanh_test): Likewise.
11677
f0302940
JM
11678 [BZ #15405]
11679 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11680 underflowed result.
11681 * math/s_ccoshf.c (__ccoshf): Likewise.
11682 * math/s_ccoshl.c (__ccoshl): Likewise.
11683 * math/s_csin.c (__csin): Likewise.
11684 * math/s_csinf.c (__csinf): Likewise.
11685 * math/s_csinh.c (__csinh): Likewise.
11686 * math/s_csinhf.c (__csinhf): Likewise.
11687 * math/s_csinhl.c (__csinhl): Likewise.
11688 * math/s_csinl.c (__csinl): Likewise.
11689 * math/libm-test.inc (ccos_test): Add more tests.
11690 (ccosh_test): Likewise.
11691 (csin_test): Likewise.
11692 (csinh_test): Likewise.
11693
aa630f59
AZ
116942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11695
11696 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11697 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11698 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11699 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11700 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11701 powerpc/power5+/fpu folders.
11702 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11703
11704
1b835983
MT
117052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11706
11707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11708
73709b26
JM
117092013-04-25 Joseph Myers <joseph@codesourcery.com>
11710
11711 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11712 additions to variable.
11713 [$(config-machine) = x86_64] (modules-names): Likewise.
11714 ($(objpfx)tst-audit3): Remove dependency.
11715 ($(objpfx)tst-audit3.out): Likewise.
11716 ($(objpfx)tst-audit4): Likewise.
11717 ($(objpfx)tst-audit4.out): Likewise.
11718 ($(objpfx)tst-audit5): Likewise.
11719 ($(objpfx)tst-audit5.out): Likewise.
11720 ($(objpfx)tst-audit6): Likewise.
11721 ($(objpfx)tst-audit6.out): Likewise.
11722 ($(objpfx)tst-audit7): Likewise.
11723 ($(objpfx)tst-audit7.out): Likewise.
11724 (tst-audit3-ENV): Remove variable.
11725 (tst-audit4-ENV): Likewise.
11726 (tst-audit5-ENV): Likewise.
11727 (tst-audit6-ENV): Likewise.
11728 (tst-audit7-ENV): Likewise.
11729 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11730 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11731 addition to variable.
11732 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11733 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11734 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11735 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11736 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11737 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11738 tst-audit3, tst-audit4 and tst-audit5.
11739 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11740 tst-audit6 and tst-audit7.
11741 [$(subdir) = elf] (modules-names): Add audit modules for those
11742 tests.
11743 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11744 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11745 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11746 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11747 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11748 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11749 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11750 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11751 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11752 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11753 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11754 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11755 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11756 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11757 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11758 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11759 Likewise.
11760 [$(subdir) = elf && $(config-cflags-avx) = yes]
11761 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11762 [$(subdir) = elf && $(config-cflags-avx) = yes]
11763 (CFLAGS-tst-auditmod4a.c): Likewise.
11764 [$(subdir) = elf && $(config-cflags-avx) = yes]
11765 (CFLAGS-tst-auditmod4b.c): Likewise.
11766 [$(subdir) = elf && $(config-cflags-avx) = yes]
11767 (CFLAGS-tst-auditmod6b.c): Likewise.
11768 [$(subdir) = elf && $(config-cflags-avx) = yes]
11769 (CFLAGS-tst-auditmod6c.c): Likewise.
11770 [$(subdir) = elf && $(config-cflags-avx) = yes]
11771 (CFLAGS-tst-auditmod7b.c): Likewise.
11772 * elf/tst-audit3.c: Move to ...
11773 * sysdeps/x86_64/tst-audit3.c: ... here.
11774 * elf/tst-audit4.c: Move to ...
11775 * sysdeps/x86_64/tst-audit4.c: ... here.
11776 * elf/tst-audit5.c: Move to ...
11777 * sysdeps/x86_64/tst-audit5.c: ... here.
11778 * elf/tst-audit6.c: Move to ...
11779 * sysdeps/x86_64/tst-audit6.c: ... here.
11780 * elf/tst-audit7.c: Move to ...
11781 * sysdeps/x86_64/tst-audit7.c: ... here.
11782 * elf/tst-auditmod3a.c: Move to ...
11783 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11784 * elf/tst-auditmod3b.c: Move to ...
11785 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11786 * elf/tst-auditmod4a.c: Move to ...
11787 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11788 * elf/tst-auditmod4b.c: Move to ...
11789 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11790 * elf/tst-auditmod5a.c: Move to ...
11791 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11792 * elf/tst-auditmod5b.c: Move to ...
11793 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11794 * elf/tst-auditmod6a.c: Move to ...
11795 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11796 * elf/tst-auditmod6b.c: Move to ...
11797 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11798 * elf/tst-auditmod6c.c: Move to ...
11799 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11800 * elf/tst-auditmod7a.c: Move to ...
11801 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11802 * elf/tst-auditmod7b.c: Move to ...
11803 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11804
1ef74943
PP
118052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11806
11807 [BZ #15366]
11808 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11809 define unconditionally.
11810 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11811 define unconditionally.
11812 (INT8_C, INT16_C, etc.): Likewise.
11813
93fd48c5
MR
118142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11815
ae9552cf
MR
11816 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11817 __ehdr_start with hidden visibility.
11818
93fd48c5
MR
11819 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11820
418601aa
CD
118212013-04-24 Carlos O'Donell <carlos@redhat.com>
11822
11823 * math/libm-test.inc (cos_test): Use accurate hex constants.
11824 (sincost_test): Likewise.
11825
2f38fbfe
JM
118262013-04-24 Joseph Myers <joseph@codesourcery.com>
11827
5e221800
JM
11828 * math/libm-test.inc (catan_test): Add more tests.
11829 (catanh_test): Likewise.
11830
77f143fd
JM
11831 * math/s_catanf.c (__catanf): Use suffixed floating-point
11832 constants.
11833 * math/s_catanhf.c (__catanhf): Likewise.
11834 * math/s_catanhl.c (__catanhl): Likewise.
11835 * math/s_catanl.c (__catanl): Likewise.
11836
2f38fbfe
JM
11837 [BZ #15394]
11838 * math/s_catan.c (__catan): Calculate imaginary part of result
11839 with log1p not log unless computing log of number close to 0.
11840 * math/s_catanf.c (__catanf): Likewise.
11841 * math/s_catanl.c (__catanl): Likewise.
11842 * math/s_catanh.c (__catanh): Calculate real part of result with
11843 log1p not log unless computing log of number close to 0.
11844 * math/s_catanhf.c (__catanhf): Likewise.
11845 * math/s_catanhl.c (__catanhl): Likewise.
11846 * math/libm-test.inc (catan_test): Add more tests.
11847 (catanh_test): Likewise.
11848 * sysdeps/i386/fpu/libm-test-ulps: Update.
11849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11850
45d69176
SP
118512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11852
11853 * benchtests/Makefile: Mention files in which fast and slow
11854 paths of math functions are implemented.
11855
87f51853
RM
118562013-04-23 Roland McGrath <roland@hack.frob.com>
11857
11858 * sysdeps/posix/timespec_get.c: New file.
11859
3c026539
AZ
118602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11861
11862 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11863 POWER.
11864 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11865 for POWER.
11866 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11867 powerpc/power5/fpu folders.
11868 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11869 * benchtests/Makefile: Add modf testcase.
11870 * benchtests/bench-modf.c: New file: Benchmark test for mo
11871
ff491d14
SP
118722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11873
11874 [BZ #14888]
11875 * time/Makefile (tests): Add tst-strptime-whitespace.
11876 * time/strptime_l.c (get_number): Use ISSPACE.
11877 (__strptime_internal): Likewise.
11878 * time/tst-strptime-whitespace.c: New test case.
11879
7ed3f4e8
AS
118802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11881
11882 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11883 member.
11884 (_nss_files_init): Set it here.
11885
5c95f7b6
HC
118862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11887
11888 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11889 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11890 unsigned.
11891
d34c9158
JBG
118922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11893
11894 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11895
2169712d
SP
118962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11897
11898 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11899 size just once.
11900
29c5de99
DM
119012013-04-21 David S. Miller <davem@davemloft.net>
11902
11903 * po/ru.po: Update Russion translation from translation project.
11904
ccdad15d
AC
119052013-04-17 Adam Conrad <adconrad@0c3.net>
11906
11907 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11908 and setfsgid.
11909
0f122b8d
CD
119102013-04-17 Carlos O'Donell <carlos@redhat.com>
11911
5c5b07da 11912 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 11913 * configure: Regenerate.
5c5b07da 11914 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
11915 Add example to error message.
11916 * sysdeps/i386/configure: Regenerate.
11917
037714dd
SP
119182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11919
11920 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11921 slowtan.
11922 * benchtests/cos-inputs: New file.
11923 * benchtests/slowcos-inputs: New file.
11924 * benchtests/slowcos.c: New file.
11925 * benchtests/slowtan-inputs: New file.
11926 * benchtests/slowtan.c: New file.
11927 * benchtests/tan-inputs: New file.
11928
e913141d
RM
119292013-04-16 Roland McGrath <roland@hack.frob.com>
11930
11931 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11932 considered kosher.
11933
a2964074
SP
119342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11935
4856bcd2
SP
11936 * benchtests/Makefile: Include cppflags-iterator.mk to add
11937 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11938
a2964074
SP
11939 * Makefile.in (bench-clean): New target.
11940 * benchtests/Makefile (bench-clean): Likewise.
11941
9fbf9aca
DH
119422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11943
11944 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11945
207d1e2a
TS
119462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11947
11948 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11949
306dfba9
AS
119502013-04-15 Andreas Schwab <schwab@suse.de>
11951
11952 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11954 * nscd/pwdcache.c (cache_addpw): Likewise.
11955 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11956 more than recsize.
11957
206a6699
SP
119582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11959
11960 * benchtests/Makefile (bench): Write all output to
11961 bench-out.tmp together.
11962
0582f6b3
AS
119632013-04-15 Andreas Schwab <schwab@suse.de>
11964
11965 * nscd/nscd.c (main): Don't fork again after closing files.
11966
acb4325f
SP
119672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11968
5cb26d0a
SP
11969 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11970
acb4325f
SP
11971 * benchtests/Rules (bench-deps): Collect dependencies into a
11972 single variable. Add Makefile to dependencies.
11973 ($(objpfx)bench-%.c): Depend on bench-deps.
11974
47792506
RM
119752013-04-12 Roland McGrath <roland@hack.frob.com>
11976 Xavier Roche <roche+kml2@exalead.com>
11977
11978 [BZ #15361]
11979 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11980 just that it's a file descriptor.
11981 * manual/llio.texi (Synchronizing AIO Operations): Update description
11982 for EBADF error from aio_fsync.
11983
8fc1bee5
SP
119842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11985
11986 * Rules (bench): Move target definition...
11987 * benchtests/Makefile: ... here.
11988
aba5e333
CD
119892013-04-11 Carlos O'Donell <carlos@redhat.com>
11990
11991 * math/libm-test.inc (cos_test): Fix PI/2 test.
11992 (sincos_test): Likewise.
11993 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11994 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11995
273cdee8
AS
119962013-04-11 Andreas Schwab <schwab@suse.de>
11997
6ecec3b6
AS
11998 [BZ #13988]
11999 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12000 accept exponent character only when digits were seen.
12001 * stdio-common/Makefile (tests): Add bug26.
12002 * stdio-common/bug26.c: New file.
12003
273cdee8
AS
12004 [BZ #14293]
12005 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12006 non-freeable.
12007
8da491f5
SP
120082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12009
01dc6df9
SP
12010 * Makeconfig (rtld-prefix): Define built linker prefix.
12011 * Rules (run-bench): Use it.
12012 * math/Makefile (run-regen-ulps): Likewise.
12013
8da491f5
SP
12014 * Rules (bench): Remove eval.
12015
abe7f530
SP
120162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12017 Roland McGrath <roland@hack.frob.com>
12018 Ondrej Bilka <neleai@seznam.cz>
12019
12020 [BZ #15346]
12021 * time/getdate.c: Include ctype.h and alloca.h.
12022 (__getdate_r): Trim leading and trailing spaces of input.
12023 * time/tst-getdate.c (tests): Add tests with leading and
12024 trailing spaces.
12025
61c23e62
RM
120262013-04-08 Roland McGrath <roland@hack.frob.com>
12027
12028 [BZ #14280]
12029 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12030 when computing value.
12031
7208a313
CD
120322013-04-06 Carlos O'Donell <carlos@redhat.com>
12033
085b2d41
CD
12034 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12035 Use testrun.sh to run libm tests.
12036
7208a313
CD
12037 [BZ #15309]
12038 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12039
872c0acd
MM
120402013-04-06 Marko Myllynen <myllynen@redhat.com>
12041
12042 [BZ #15264]
12043 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12044
26510bdd
CD
120452013-04-06 Carlos O'Donell <carlos@redhat.com>
12046
12047 * Makefile.in (regen-ulps): New target.
12048 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12049 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12050 [ifneq (no,$(PERL)] (regen-ulps): New target.
12051 [ifeq (no,$(PERL)] (regen-ulps): New target.
12052 * math/libm-test.inc (ulps_file_name): Define.
12053 (output_dir): New variable.
12054 (options): Add "output-dir" option.
12055 (parse_opt): Handle 'o' case.
12056 (main): If output_dir is non-NULL use it as a prefix
12057 otherwise use "".
12058 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12059
a01f19c8
CD
120602013-04-06 Carlos O'Donell <carlos@redhat.com>
12061
12062 [BZ #10060, #10062]
12063 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12064 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12065 fail configure if __sync_val_compare_and_swap is not inlined.
12066 * sysdeps/i386/configure: Regenerate.
12067 * configure.in: Build for i686 when configured for i386.
12068 * configure: Regenerate.
12069 * README: Remove i386 reference.
12070
b7a329a5
CD
120712013-04-06 Carlos O'Donell <carlos@redhat.com>
12072
12073 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12074 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12075
bf0f50df
TS
120762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12077
ee091edf
TS
12078 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12079 (lmsnanval): New variables.
12080 (F): Add conversion tests.
12081 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12082 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12083
a8b792d6
TS
12084 * stdio-common/tstdiomisc.c (F): Properly collect individual
12085 tests' results.
12086
a1cbf437
TS
12087 [BZ #14686, #15336]
12088 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12089 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12090 Instead, use input NaN values or generate a qNaN by arithmetic
12091 operation. Also fix bugs to comply with the standard.
12092 * math/libm-test.inc (remainder_test): Add more tests.
12093
8b43a0c9
TS
12094 [BZ #15335, #15342]
12095 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12097 input NaN values or generate a qNaN by arithmetic operation.
12098
d91da4ce
TS
12099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12100 unreachable code.
12101
bf0f50df
TS
12102 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12103 definitions.
12104
05e166c8
JM
121052013-04-03 Joseph Myers <joseph@codesourcery.com>
12106
12107 [BZ #14478]
12108 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12109 underflowed result.
12110 * math/s_cexpf.c (__cexpf): Likewise.
12111 * math/s_cexpl.c (__cexpl): Likewise.
12112 * math/libm-test.inc (cexp_test): Add more tests.
12113
1cef1b19
AS
121142013-04-03 Andreas Schwab <schwab@suse.de>
12115
12116 [BZ #15330]
12117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12118 order arrays from heap if bigger than alloca cutoff.
12119
74d87055
TS
121202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12121
12122 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12123 (SNAN_TESTS_double): Refer to GCC PR56831.
12124 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12125 GCC PR56828.
12126
d755bba4
SP
121272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12128
90d5d5bb
SP
12129 * Rules (bench): Move bench.out after the run is complete.
12130
73e0cd5d
SP
12131 * Rules (bench): Echo currently running benchmark.
12132
64aabd4b
SP
12133 * benchtests/Makefile (bench): Add atan and slowatan.
12134 * benchtests/atan-inputs: New file.
12135 * benchtests/slowatan-inputs: New file.
12136 * benchtests/slowatan.c: New file.
12137
c871eccd
SP
12138 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12139 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12140 its value.
12141
d755bba4
SP
12142 [BZ #15305]
12143 * sysdeps/unix/sysv/linux/kernel-features.h
12144 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12145 __ASSUME_XFS_RESTRICTED_CHOWN.
12146 * sysdeps/unix/sysv/linux/pathconf.c
12147 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12148 Save and restore errno.
12149
52ce4860
JM
121502013-04-02 Joseph Myers <joseph@codesourcery.com>
12151
12152 [BZ #15327]
12153 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12154 arguments using __kernel_casinh.
12155 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12156 arguments using __kernel_casinhf.
12157 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12158 arguments using __kernel_casinhl.
12159 * math/libm-test.inc (cacosh_test): Add more tests.
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162
81f311c2
SP
121632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12164
e7906a47
SP
12165 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12167
92e3664b
SP
12168 * bench/Makefile (bench): Add sin and slowsin.
12169 * benchtests/sin-inputs: New file.
12170 * benchtests/slowsin-inputs: New file.
12171 * benchtests/slowsin.c: New file.
12172
81f311c2
SP
12173 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12174 (bench): Add slowexp and slowpow.
12175 (exp-ITER): Increase iterations.
12176 (pow-ITER): Likewise.
12177 * benchtests/exp-inputs: Change input.
12178 * benchtests/pow-inputs: Likewise.
12179 * benchtests/slowexp-inputs: New file.
12180 * benchtests/slowexp.c: New file.
12181 * benchtests/slowpow-inputs: New file.
12182 * benchtests/slowpow.c: New file.
12183
ab0f1aa9
AZ
121842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12185
12186 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12187 instructions.
12188 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12189 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12190 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12191 * benchtests/Makefile: Add rint benchtest.
12192 * benchtests/rint-inputs: Input for rint benchtest.
12193
57267616
TS
121942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12195
12196 * Versions.def (libm): Add GLIBC_2.18.
12197 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12198 hidden libm prototypes.
12199 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12200 * math/Makefile (libm-calls): Add s_issignaling.
12201 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12202 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12203 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12204 declaration.
12205 * math/math.h [__USE_GNU] (issignaling): New macro.
12206 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12207 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12208 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12209 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12210 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12211 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12212 * manual/arith.texi (issignaling): New section.
12213 * manual/libm-err-tab.pl (@all_functions): Update comment.
12214 * math/gen-libm-test.pl (parse_args): Apply special handling for
12215 issignaling.
12216 * math/libm-test.inc (print_float, issignaling_test): New
12217 functions.
12218 (check_float_internal): Add issignaling checks.
12219 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12220 default definition.
12221 * sysdeps/powerpc/math-tests.h: New file.
12222 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12223 tests.
12224 * math/test-snan.c (TEST_FUNC): Likewise.
12225
6142896d
DM
122262013-03-30 David S. Miller <davem@davemloft.net>
12227
12228 * po/de.po: Update from translation team.
12229
ccc8cadf
JM
122302013-03-30 Joseph Myers <joseph@codesourcery.com>
12231
12232 [BZ #10357]
12233 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12234 imaginary part less than 1.0 and real part less than 0.5
12235 specially.
12236 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12237 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12238 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12239 (cacos_test): Add more tests.
12240 (casin_test): Likewise.
12241 (casinh_test): Likewise.
12242 * sysdeps/i386/fpu/libm-test-ulps: Update.
12243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12244
0f6a8d4b
SP
122452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12246
0d1029de
SP
12247 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12248 ONE with its value.
12249
c2d94018
SP
12250 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12251 (__pow_mp): Replace ONE and MONE with their values.
12252 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12253 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12254 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12255 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12256 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12257 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12258
27ec37f1
SP
12259 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12260
a64d7e0e
SP
12261 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12262 (__pow_mp): Replace ZERO and MZERO with their values.
12263 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12265 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12267 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12268 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12269 (__sqr): Likewise.
12270
d26dd3eb
SP
12271 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12272
0f6a8d4b
SP
12273 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12274
e57b0c61
RM
122752013-03-28 Roland McGrath <roland@hack.frob.com>
12276
12277 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12278 Declare with __attribute__ ((weak)).
12279 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12280 Call __call_tls_dtors only if it's not NULL.
12281
356b3480
RM
122822013-03-28 Roland McGrath <roland@hack.frob.com>
12283
288f7d79
RM
12284 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12285 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12286 magic __ehdr_start linker symbol if it's defined.
12287 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12288 them up here if it was already done.
12289
dc0a0263
RM
12290 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12291 (_dl_aux_init): Use const in cast when setting it.
12292 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12293 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12294 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12295
3d3436ae
RM
12296 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12297 Declare them here.
12298 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12299 * csu/libc-tls.c: Nor here.
12300 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12301
356b3480
RM
12302 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12303 (__libc_message): Never call vsyslog.
12304
b0f1246a
AM
123052013-03-28 Alan Modra <amodra@gmail.com>
12306
12307 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12308 Define as empty.
12309 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12310 Likewise.
12311
fbbe2b9a
AZ
123122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313
12314 [BZ #15214]
12315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12316 underflow.
12317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12318
1728ab37
SP
123192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12320
7a86be6e
SP
12321 [BZ #15304]
12322 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12323 Don't add gid passed as argument.
12324
1728ab37
SP
12325 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12326
3a7182a1
JM
123272013-03-27 Joseph Myers <joseph@codesourcery.com>
12328
12329 [BZ #15307]
12330 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12331 imaginary part between 1.0 and 1.5 and real part less than 0.5
12332 specially.
12333 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12334 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12335 * math/libm-test.inc (cacos_test): Add more tests.
12336 (casin_test): Likewise.
12337 (casinh_test): Likewise.
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12340
6f2e90e7
SP
123412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12342
5739f705
SP
12343 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12344 constants.
12345 (norm): Likewise.
12346 (denorm): Likewise.
12347 (__dbl_mp): Likewise.
12348 (add_magnitudes): Likewise.
12349 (sub_magnitudes): Likewise.
12350 (__add): Likewise.
12351 (__sub): Likewise.
12352 (__mul): Likewise.
12353 (__sqr): Likewise.
12354 (__inv): Likewise.
12355 (__dvd): Likewise.
12356
e375e83d
SP
12357 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12358 commented code.
12359 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12360 (__dubcos): Likewise.
12361 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12362 (__ieee754_acos): Likewise.
12363 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12364 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12365 (__exp1): Likewise.
12366 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12368 (log1): Likewise.
12369 (my_log2): Likewise.
12370 (checkint): Likewise.
12371 * sysdeps/ieee754/dbl-64/e_remainder.c
12372 (__ieee754_remainder): Likewise.
12373 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12374 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12375 (bsloww): Likewise.
12376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12377
6f2e90e7
SP
12378 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12379 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12380 MANTISSA_STORE_T to store computations on mantissa. Use
12381 macros for rounding and division.
12382 (denorm): Likewise.
12383 (__dbl_mp): Likewise.
12384 (add_magnitudes): Likewise.
12385 (sub_magnitudes): Likewise.
12386 (__mul): Likewise.
12387 (__sqr): Likewise.
12388 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12389 powers of two in terms of TWOPOW macro.
12390 (mp_no): Make type of mantissa as MANTISSA_T.
12391 [!RADIXI]: Define RADIXI.
12392 [!TWO52]: Define TWO52.
12393 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12394
fce14d4e
AZ
123952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12396
12397 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12398 llroundl symbol when building for PPC32.
12399
9ad027fb
MW
124002013-03-24 Mark H Weaver <mhw@netris.org>
12401
12402 * manual/arith.texi (Normalization Functions): Fix prototypes for
12403 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12404
e42a38dd
AZ
124052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12406
12407 [BZ #13889]
12408 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12409 high value to check if expl overflow.
12410 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12411 to check for underflow and overflow.
12412 * math/libm-test.inc: Add exp test.
12413
2e0fb521
DL
124142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12415
12416 [BZ #11120]
12417 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12418 with NOT_IN_libc.
12419
b5784d95
AZ
124202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12421
12422 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12423 symbol.
12424
5aa4a1a1
TS
124252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12426
bdef0be7
TS
12427 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12428 wrap blocks consisting of several statements.
12429
5aa4a1a1
TS
12430 * sysdeps/generic/math-tests.h: New file.
12431 * sysdeps/i386/fpu/math-tests.h: Likewise.
12432 * math/test-snan.c: Include it.
12433 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12434
98c48fe5
JM
124352013-03-21 Joseph Myers <joseph@codesourcery.com>
12436
12437 [BZ #15285]
12438 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12439 (__ieee754_j0l): Do not improve calculations using cos of twice
12440 input for inputs above LDBL_MAX / 2.0L.
12441 (__ieee754_y0l): Likewise.
12442 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12443 (__ieee754_j1l): Do not improve calculations using cos of twice
12444 input for inputs above LDBL_MAX / 2.0L.
12445 (__ieee754_y1l): Likewise.
12446 * math/libm-test.inc (j0_test): Add another test.
12447 (j1_test): Likewise.
12448 (y0_test): Likewise.
12449 (y1_test): Likewise.
12450 * sysdeps/i386/fpu/libm-test-ulps: Update.
12451
3775a8bc
SP
124522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12453
12454 * Rules ($(objpfx)bench-%.c): Include code from a C source
12455 file.
12456
0a1b2ae6
JM
124572013-03-21 Joseph Myers <joseph@codesourcery.com>
12458
12459 [BZ #15287]
12460 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12461 imaginary part 1.0 and real part less than 0.5 specially.
12462 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12463 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12464 * math/libm-test.inc (cacos_test): Add more tests.
12465 (casin_test): Likewise.
12466 (casinh_test): Likewise.
12467 * sysdeps/i386/fpu/libm-test-ulps: Update.
12468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12469
b33d4ce4
SP
124702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12471
12472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12473 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12474
bef0b507
JM
124752013-03-20 Joseph Myers <joseph@codesourcery.com>
12476
12477 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12478 * config.make.in (config-cflags-sse4): Remove variable.
12479 (config-cflags-avx): Likewise.
12480 (config-cflags-sse2avx): Likewise.
12481 (config-cflags-novzeroupper): Likewise.
12482 (config-asflags-i686): Likewise.
12483 (have-mfma4): Likewise.
12484 (have-as-vis3): Likewise.
12485 (MIG): Likewise.
12486 * configure.in (MIG): Do not AC_SUBST.
12487 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12488 (libc_cv_cc_sse4): Do not AC_SUBST.
12489 (libc_cv_cc_avx): Likewise.
12490 (libc_cv_cc_sse2avx): Likewise.
12491 (libc_cv_cc_novzeroupper): Likewise.
12492 (libc_cv_cc_fma4): Likewise.
12493 (libc_cv_as_i686): Likewise.
12494 (libc_cv_sparc_as_vis3): Likewise.
12495 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12496 LIBC_CONFIG_VAR.
12497 (config-asflags-i686): Likewise.
12498 (config-cflags-avx): Likewise.
12499 (config-cflags-sse2avx): Likewise.
12500 (have-mfma4): Likewise.
12501 (config-cflags-novzeroupper): Likewise.
12502 * sysdeps/mach/configure.in (MIG): Likewise.
12503 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12504 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12505 LIBC_CONFIG_VAR.
12506 (config-cflags-avx): Likewise.
12507 (config-cflags-sse2avx): Likewise.
12508 (have-mfma4): Likewise.
12509 (config-cflags-novzeroupper): Likewise.
12510 * configure: Regenerated.
12511 * sysdeps/i386/configure: Likewise.
12512 * sysdeps/mach/configure: Likewise.
12513 * sysdeps/sparc/configure: Likewise.
12514 * sysdeps/x86_64/configure: Likewise.
12515
912cc4b3
RM
125162013-03-20 Roland McGrath <roland@hack.frob.com>
12517
12518 [BZ #14812]
12519 * locale/programs/localedef.c (options): Put N_ translation marker
12520 on argument names, not just descriptions.
12521
04eed2b0
MS
125222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12523
12524 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12525
a065ceff
OB
125262013-03-20 Ondřej Bílka <neleai@seznam.cz>
12527
9bb2a810 12528 [BZ #14176]
a065ceff
OB
12529 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12530
a600e5ce
RM
125312013-03-19 Roland McGrath <roland@hack.frob.com>
12532
12533 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12534 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12535 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12536 [!BEFORE_ABORT] (before_abort): New function.
12537 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12538 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12539 (writev_for_fatal): New function.
12540 (WRITEV_FOR_FATAL): New macro; call that.
12541 (backtrace_and_maps): New function.
12542 (BEFORE_ABORT): New macro; call that.
12543 (struct str_list): Type removed.
12544 (__libc_message, __libc_fatal): Functions removed.
12545 Include <sysdeps/posix/libc_fatal.c> instead.
12546
6b18bea6
JM
125472013-03-19 Joseph Myers <joseph@codesourcery.com>
12548
12549 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12550 constants.
12551 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12552 double constants.
12553
aaa8cb4b
AS
125542013-03-19 Andreas Schwab <schwab@suse.de>
12555
44673770
AS
12556 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12557 * sysdeps/gnu/configure: Regenerate.
12558
aaa8cb4b
AS
12559 * configure.in: Substitute libc_cv_rtlddir.
12560 * configure: Regenerate.
12561 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12562 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12563 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12564 * elf/Makefile (install-others, CFLAGS-interp.c)
12565 (ldso_install, common-ldd-rewrite): Likewise.
12566 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12567 $(inst_slibdir)/$(rtld-installed-name).
12568 * scripts/rellns-sh: Add -p option.
12569 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12570 for source.
12571
d3cfc668
SP
125722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12573
12574 * manual/nptl.texi: Renamed to ...
12575 * manual/threads.texi: ... this.
12576 * manual/Makefile (chapters): Update.
12577
0e2b9cdd
RM
125782013-03-18 Roland McGrath <roland@hack.frob.com>
12579
12580 [BZ #14812]
12581 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12582 on argument names, not just descriptions.
0e2b9cdd
RM
12583 * malloc/memusagestat.c (options): Likewise.
12584 * nss/getent.c (options): Likewise.
63270c24
RM
12585
125862013-03-18 Benno Schulenberg <bensberg@justemail.net>
12587
12588 [BZ #14812]
12589 * iconv/iconv_prog.c (options): Put N_ translation marker
12590 on argument names, not just descriptions.
12591 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12592
b2e1393c
OB
125932013-03-18 Ondrej Bilka <neleai@seznam.cz>
12594
12595 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12596 implementation which is faster on all x86_64 architectures.
12597 Tested on AMD, Intel Nehalem, SNB, IVB.
12598 * sysdeps/x86_64/strnlen.S: Likewise.
12599
12600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12601 Remove all multiarch strlen and strnlen versions.
12602 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12603 Remove strlen and strnlen related parts.
12604
12605 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12606 Inline strlen part.
12607 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12608
12609 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12610 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12612 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12613 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12614 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12615
ec4ff04d
CD
126162013-03-17 Carlos O'Donell <carlos@redhat.com>
12617
12618 * manual/memory.texi (Malloc Tunable Parameters):
12619 Sort parameters alphabetically. Add comments for missing entries.
12620
cd18e90a
DM
126212013-03-17 David S. Miller <davem@davemloft.net>
12622
12623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12624
2a185d32
JM
126252013-03-16 Joseph Myers <joseph@codesourcery.com>
12626
d2f9799e
JM
12627 [BZ #15283]
12628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12629 for arguments at most half maximum finite value.
12630 * math/libm-test.inc (j0_test): Add more tests.
12631 (j1_test): Likewise.
12632 (y0_test): Likewise.
12633 (y1_test): Likewise.
12634 * sysdeps/i386/fpu/libm-test-ulps: Update.
12635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12636
2a185d32
JM
12637 [BZ #14155]
12638 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12639 1 / x and functions P and Q for arguments above 0x1p256L.
12640 (__ieee754_y0l): Likewise.
12641 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12642 (__ieee754_y1l): Likewise.
12643 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12644 (j1_test): Likewise.
12645 (y0_test): Likewise.
12646 (y1_test): Likewise.
12647
6cbec759
TS
126482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12649
12650 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12651 variable.
12652
bc16e260
RM
126532013-03-15 Roland McGrath <roland@hack.frob.com>
12654
aefc9b8c
RM
12655 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12656 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12657 zero since it's initialized to EXEC_PAGESIZE.
12658
bc16e260
RM
12659 * sysdeps/unix/sysv/linux/ldsodefs.h
12660 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12661 * sysdeps/generic/ldsodefs.h: ... here.
12662
a57da955
TS
126632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12664
af00a34d
TS
12665 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12666
495ded2c
TS
12667 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12668 math/test-snan.c.
12669 * math/test-snan.c: Renamed from
12670 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12671 * math/Makefile (tests): Add test-snan.
12672 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12673 test-powerpc-snan.
12674
777b0332
TS
12675 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12676 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12677 functions.
12678 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12679 __builtin_nan family of functions.
12680 * math/libm-test.inc (initialize): Initialize qnan_value with
12681 __builtin_nan family of functions.
12682 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12683 Remove variables.
12684 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12685 Remove functions.
12686 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12687 storage class. Initialize qNaN_var and sNaN_var with
12688 __builtin_nan and __builtin_nans families of functions,
12689 respectively.
12690
64d063b8
TS
12691 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12692 (sqrt_test): Remove duplicate test with qNaN input.
12693 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12694 (round_test, signbit_test, significand_test): Note missing +/-Inf
12695 as well as qNaN tests.
12696
67e971f1
TS
12697 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12698 qNaN_var. Fix a few strings, too.
12699 * math/libm-test.inc (nan_value): Rename to qnan_value.
12700 * math/gen-libm-test.pl (%beautify): Adjust to that.
12701 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12702 * math/test-misc.c (main): Likewise.
12703 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12704 to __qnan_bytes, and __qnan_union, respectively.
12705 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12706 Likewise.
12707 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12708 and lqnanval, respectively.
12709 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12710 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12711 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12712 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12713
64487e12
TS
12714 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12715 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12716 doubles.
12717
e015e27b
TS
12718 * math/test-misc.c (main): Fix copy'n'pastos.
12719 * misc/tst-efgcvt.c (special): Likewise.
12720
a57da955
TS
12721 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12722 Remove declarations.
12723
1e380345
SP
127242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12725
12726 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12727 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12728 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12729 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12730
ef26eece
AZ
127312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12732
12733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12734 macro to return vdso values correctly in IFUNC implementations.
12735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12736 Optimization by using IFUNC.
12737
8cfdb7e0
SP
127382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12739 Richard Henderson <rth@redhat.com>
12740 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12741
12742 * Makefile.in (bench): New target.
12743 * NEWS: Mention the benchmark framework.
12744 * Rules (bench): Likewise.
12745 (binaries-bench): Generate binaries for functions to
12746 benchmark.
12747 * benchtests/Makefile: New makefile for benchmark tests.
12748 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12749 programs.
12750 * benchtests/exp-inputs: New input file for EXP function.
12751 * benchtests/pow-inputs: New input file for POW function.
12752 * scripts/bench.pl: New script to generate source files for
12753 benchmark programs.
12754
bcda9880
SP
127552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12756
d22ca8cd
SP
12757 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12758 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12759 computations on mantissa. Use macros for rounding and
12760 division.
12761 (denorm): Likewise.
12762 (__dbl_mp): Likewise.
12763 (add_magnitudes): Likewise.
12764 (sub_magnitudes): Likewise.
12765 (__mul): Likewise.
12766 (__sqr): Likewise.
12767 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12768 powers of two in terms of TWOPOW macro.
12769 (mp_no): Make type of mantissa as MANTISSA_T.
12770 [!RADIXI]: Define RADIXI.
12771 [!TWO52]: Define TWO52.
12772 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12773
bcda9880
SP
12774 * manual/nptl.texi (cindex): Modify threads to pthreads.
12775
06d5adfb
JM
127762013-03-15 Joseph Myers <joseph@codesourcery.com>
12777
12778 * sysdeps/x86_64/preconfigure: Regenerated.
12779
41c7328e
JM
127802013-03-14 Joseph Myers <joseph@codesourcery.com>
12781
12782 [BZ #14155]
12783 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12784 0x1p28 and above.
12785 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12786 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12787 0x1p28 and above.
12788 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12789 * math/libm-test.inc (j0_test): Do not allow one spurious
12790 underflow exception.
12791 (y1_test): Likewise.
12792
e25cfa60
SP
127932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12794
0409959c
SP
12795 * manual/Makefile (chapters): Add nptl.
12796 * manual/debug.texi (Debugging Support): Add link to Threads
12797 chapter.
12798 * manual/nptl.texi: New file.
12799
e25cfa60
SP
12800 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12801
58a1335e
PB
128022013-03-14 Petr Baudis <pasky@ucw.cz>
12803
12804 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12805 for non-NULL pointer before the memory validity test. Pointed
12806 out by Holger Brunck <holger.brunck@keymile.com>.
12807
9dc7c64f
AS
128082013-03-13 Andreas Schwab <schwab@suse.de>
12809
12810 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12811 instead of .os.
12812
54206aa6
JM
128132013-03-13 Joseph Myers <joseph@codesourcery.com>
12814
12815 * timezone/zic.c: Update from tzcode 2013b.
12816
e98cdb38
CD
128172013-03-12 Carlos O'Donell <carlos@redhat.com>
12818
12819 * manual/install.texi (Configuring and compiling):
12820 Mention i686 and i586.
12821 * INSTALL: Regenerate.
12822
9967e003
RM
128232013-03-12 Roland McGrath <roland@hack.frob.com>
12824
12825 * sysdeps/init_array/elf-init.c: New file.
12826 * csu/elf-init.c
12827 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12828 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12829
12830 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12831 __gmon_start__ as global, but as static with a .preinit_array pointer.
12832 * sysdeps/init_array/gmon-start.c: New file. Use that.
12833 * sysdeps/init_array/crti.S: New file, empty except for comments.
12834 * sysdeps/init_array/crtn.S: Likewise.
12835
e6b5a293 128362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
12837
12838 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12839 definining bcopy.
80f844c9
OB
12840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12841 Remove Prefer_SSE_for_memop.
12842 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12843 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12844 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
12845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12846 memset-x86-64.
80f844c9 12847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 12848 Remove bzero, memset ifunc support.
80f844c9
OB
12849 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12850 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12851 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12852 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12853
fb6b0fcb
AS
128542013-03-11 Andreas Schwab <schwab@suse.de>
12855
12856 [BZ #15234]
12857 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12858 by SHLIB_COMPAT.
12859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12860 (GLIBC_2.16): Remove pthread_atfork.
12861
3e6bd4b1
PP
128622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12863
12864 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12865 (ptestcases.h): Likewise.
12866
222d7f00
RM
128672013-03-08 Roland McGrath <roland@hack.frob.com>
12868
12869 * Makeconfig ($(common-objpfx)config.status): Depend on
12870 sysdeps/*/preconfigure{,.in} too.
12871
1ba4f030
JM
128722013-03-08 Joseph Myers <joseph@codesourcery.com>
12873
a222d91a
JM
12874 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12875 (__free_hook): Use void * instead of __malloc_ptr_t.
12876 (__malloc_hook): Likewise.
12877 (__realloc_hook): Likewise.
12878 (__memalign_hook): Likewise.
12879 (__after_morecore_hook): Likewise.
12880 * malloc/arena.c (save_malloc_hook): Likewise.
12881 (save_free_hook): Likewise.
12882 * malloc/hooks.c (malloc_hook_ini): Likewise.
12883 (realloc_hook_ini): Likewise.
12884 (memalign_hook_ini): Likewise.
12885 * malloc/malloc.c (malloc_hook_ini): Likewise.
12886 (realloc_hook_ini): Likewise.
12887 (memalign_hook_ini): Likewise.
12888 (__free_hook): Likewise.
12889 (__malloc_hook): Likewise.
12890 (__realloc_hook): Likewise.
12891 (__memalign_hook): Likewise.
12892 (__libc_malloc): Likewise.
12893 (__libc_free): Likewise.
12894 (__libc_realloc): Likewise.
12895 (__libc_memalign): Likewise.
12896 (__libc_valloc): Likewise.
12897 (__libc_pvalloc): Likewise.
12898 (__libc_calloc): Likewise.
12899 (__posix_memalign): Likewise.
12900 * malloc/morecore.c (__sbrk): Likewise.
12901 (__default_morecore): Likewise.
12902
5cc45e10
JM
12903 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12904
dd54b864
JM
12905 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12906 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12907 __malloc_ptrdiff_t.
12908
1ba4f030
JM
12909 * malloc/malloc.h (__malloc_size_t): Remove macro.
12910 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12911 __malloc_size_t.
12912 (old_memalign_hook): Likewise.
12913 (old_realloc_hook): Likewise.
12914 (struct hdr): Likewise.
12915 (flood): Likewise.
12916 (mallochook): Likewise.
12917 (memalignhook): Likewise.
12918 (reallochook): Likewise.
12919 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12920 (tr_old_realloc_hook): Likewise.
12921 (tr_old_memalign_hook): Likewise.
12922 (tr_mallochook): Likewise.
12923 (tr_reallochook): Likewise.
12924 (tr_memalignhook): Likewise.
12925
edf66e57
AZ
129262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12927
12928 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12929 default_ldbl_pack and using as default implementation.
12930 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12931 implementation.
12932 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12933 redundant definition.
12934 (ldbl_insert_mantissa): Likewise.
12935 (ldbl_canonicalize): Likewise.
12936 (ldbl_nearbyint): Likewise.
12937 (ldbl_pack): Rename to ldbl_pack_ppc.
12938 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12939 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12940 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12941
6d9145d8
SP
129422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12943
12944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12945 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12946 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12947 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12949 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12950 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12951 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12952
4dd4e157
AJ
129532013-03-07 Andreas Jaeger <aj@suse.de>
12954
12955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12956 bits/mman-linux.h.
12957
adbb8027
SP
129582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12959
ce544b5b
SP
12960 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12961 Include mpa.h and declare __MPEXP.
12962 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12963 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12964 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12965 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12966 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12967 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12968 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12969
4cc149fd
SP
12970 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12971 (__slowpow): Use long double EXPL and LOGL functions to
12972 compute POW.
12973 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12974 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12975 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12976 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12977 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12978 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12979
e6ebd4a7
SP
12980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12981 intermediate variable to calculate exponent.
12982 (__sqr): Likewise.
12983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12984 Likewise.
12985 (__sqr): Likewise.
12986
82a9811d
SP
12987 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12988 [!NO__SQR]: Define __sqr.
12989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12990 and NO__SQR. Remove all code except __mul and __sqr. Include
12991 sysdeps/ieee754/dbl-64/mpa.c.
12992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12993
adbb8027
SP
12994 [BZ #12723]
12995 * posix/Makefile (tests): Add tst-pathconf.
12996 * posix/tst-pathconf.c: New test case.
12997 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12998 _PC_PIPE_BUF.
12999 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13000
39120df9
PF
130012013-03-06 Patsy Franklin <pfrankli@redhat.com>
13002
13003 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13004
67525cb8
AJ
130052013-03-06 Andreas Jaeger <aj@suse.de>
13006
664a9ce4
AJ
13007 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13008 definition via __MAP_ANONYMOUS.
13009
8e39047d
AJ
13010 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13011 it's not part of Linux headers.
13012
67525cb8
AJ
13013 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13014 (MAP_HUGE_MASK): Define.
13015
13016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13017 Define.
13018 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13020 Define.
13021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13022 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13023 Define.
13024 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13026 Define.
13027 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13028
13029 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13030 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13031 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13032 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13033 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13034 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13035
13036 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13037 Handle f2fs.
13038
13039 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13040 Handle f2fs and efivarfs.
13041
13042 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13043 f2fs.
13044
13045 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13046 (EFIVARFS_MAGIC): Add.
13047 (F2FS_LINK_MAX): Add.
13048
e1b42695
PP
130492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13050
13051 * stdio-common/vfprintf.c: Replace __builtin_expect with
13052 __glibc_unlikely.
13053
2d67d91a
JM
130542013-03-06 Joseph Myers <joseph@codesourcery.com>
13055
13056 [BZ #13550]
13057 * sysdeps/generic/bp-sym.h: Remove file.
13058 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13059 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13060 <bp-sym.h> and <bp-asm.h>.
13061 (__longjmp): Don't use BP_SYM.
13062 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13063 and <bp-asm.h>.
13064 (memcpy): Don't use BP_SYM.
13065 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13066 <bp-sym.h> and <bp-asm.h>.
13067 (memcpy): Don't use BP_SYM.
13068 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13069 <bp-asm.h>.
13070 (memcpy): Don't use BP_SYM.
13071 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13072 <bp-asm.h>.
13073 (memset): Don't use BP_SYM.
13074 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13075 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13076 (__bzero): Don't use BP_SYM.
13077 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13078 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13079 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13080 <bp-sym.h> and <bp-asm.h>.
13081 (memcmp): Don't use BP_SYM. Remove comment about bounded
13082 pointers.
13083 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13084 <bp-sym.h> and <bp-asm.h>.
13085 (memcpy): Don't use BP_SYM.
13086 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13087 <bp-sym.h> and <bp-asm.h>.
13088 (memset): Don't use BP_SYM.
13089 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13090 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13091 (__bzero): Don't use BP_SYM.
13092 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13093 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13094 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13095 <bp-sym.h> and <bp-asm.h>.
13096 (strncmp): Don't use BP_SYM. Remove comment about bounded
13097 pointers.
13098 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13099 <bp-sym.h> and <bp-asm.h>.
13100 (memcpy): Don't use BP_SYM.
13101 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13102 <bp-sym.h> and <bp-asm.h>.
13103 (memset): Don't use BP_SYM.
13104 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13105 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13106 (__bzero): Don't use BP_SYM.
13107 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13108 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13109 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13110 <bp-sym.h> and <bp-asm.h>.
13111 (__memchr): Don't use BP_SYM.
13112 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13113 <bp-sym.h> and <bp-asm.h>.
13114 (memcmp): Don't use BP_SYM. Remove comment about bounded
13115 pointers.
13116 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13117 <bp-sym.h> and <bp-asm.h>.
13118 (memcpy): Don't use BP_SYM.
13119 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13120 <bp-sym.h> and <bp-asm.h>.
13121 (__mempcpy): Don't use BP_SYM.
13122 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13123 <bp-sym.h> and <bp-asm.h>.
13124 (__memrchr): Don't use BP_SYM.
13125 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13126 <bp-sym.h> and <bp-asm.h>.
13127 (memset): Don't use BP_SYM.
13128 (__bzero): Likewise.
13129 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13130 <bp-sym.h> and <bp-asm.h>.
13131 (__rawmemchr): Don't use BP_SYM.
13132 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13133 <bp-sym.h> and <bp-asm.h>.
13134 (__STRCMP): Don't use BP_SYM.
13135 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13136 <bp-sym.h> and <bp-asm.h>.
13137 (strchr): Don't use BP_SYM.
13138 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13139 <bp-sym.h> and <bp-asm.h>.
13140 (__strchrnul): Don't use BP_SYM.
13141 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13142 <bp-sym.h> and <bp-asm.h>.
13143 (strlen): Don't use BP_SYM.
13144 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13145 <bp-sym.h> and <bp-asm.h>.
13146 (strncmp): Don't use BP_SYM. Remove comment about bounded
13147 pointers.
13148 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13149 <bp-sym.h> and <bp-asm.h>.
13150 (__strnlen): Don't use BP_SYM.
13151 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13152 <bp-sym.h> and <bp-asm.h>.
13153 (__GI__setjmp): Don't use BP_SYM.
13154 (_setjmp): Likewise.
13155 (__sigsetjmp): Likewise.
13156 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13157 (L(start_addresses)): Don't use BP_SYM.
13158 (_start): Likewise.
13159 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13160 <bp-asm.h>.
13161 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13162 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13163 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13164 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13165 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13166 <bp-asm.h>.
13167 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13168 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13169 about bounded pointers.
13170 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13171 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13172 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13173 <bp-asm.h>.
13174 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13175 about bounded pointers. Remove GKM FIXME comments.
13176 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13177 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13178 <bp-asm.h>.
13179 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13180 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13181 Remove GKM FIXME comments.
13182 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13183 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13184 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13185 <bp-asm.h>.
13186 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13187 about bounded pointers. Remove GKM FIXME comment.
13188 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13189 and <bp-asm.h>.
13190 (strncmp): Don't use BP_SYM. Remove comment about bounded
13191 pointers.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13193 <bp-sym.h> and <bp-asm.h>.
13194 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13196 <bp-sym.h> and <bp-asm.h>.
13197 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13198 comment.
13199
cdcf361f
PP
132002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13201
13202 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13203 call free(NULL).
13204
3c4a2b15
DM
132052013-03-05 David S. Miller <davem@davemloft.net>
13206
13207 * po/es.po: Update from translation team.
13208
cdcf361f 132092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13210
13211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13212 <bits/mman-linux.h>.
13213 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13214 is fine.
13215 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13216 <bits/mman-linux.h> to end of file.
13217 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13218 is fine.
13219 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13220 <bits/mman-linux.h> to end of file.
13221 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13222 is fine.
13223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13224 <bits/mman-linux.h> to end of file.
13225
13226 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13227 (MCL_CURRENT, MCL_FUTURE): Define here.
13228
5f67c04f
AK
132292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13230
8a4473cc 13231 [BZ #15232]
5f67c04f
AK
13232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13233 attribute_hidden.
13234 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13235
c3e94a95
AK
132362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13237
13238 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13239 fourth parameter needed for rt_sigprocmask syscall.
13240 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13241 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13242 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13243 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13244 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13245 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13246
cfb6382a
JM
132472013-03-04 Joseph Myers <joseph@codesourcery.com>
13248
13249 [BZ #13550]
13250 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13251 comment about bounded pointers.
13252 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13253 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13254
539d8e01
AJ
132552013-03-04 Andreas Jaeger <aj@suse.de>
13256
13257 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13258 common definitions.
13259
13260 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13261 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13266
2e167a70 132672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13268
13269 [BZ #15055]
13270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13271 __ieee754_sqrl instead of __sqrl.
13272
68508633
JM
132732013-03-01 Joseph Myers <joseph@codesourcery.com>
13274
13275 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13276 * sysdeps/powerpc/fpu_control.h: ... here.
13277 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13278 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13279 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13280 * sysdeps/powerpc/bits/mathinline.h: ... here.
13281
7775448e
RM
132822013-03-01 Roland McGrath <roland@hack.frob.com>
13283
13284 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13285 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13286 to just [NEED_DL_SYSINFO_DSO].
13287 * elf/dl-support.c: Likewise.
13288 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13289 * elf/rtld.c (dl_main): Likewise.
13290 * elf/setup-vdso.h (setup_vdso): Likewise.
13291 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13292 * sysdeps/unix/sysv/linux/dl-sysdep.c
13293 (_dl_discover_osversion): Likewise.
13294
4e9b5995
CD
132952013-03-01 Carlos O'Donell <carlos@redhat.com>
13296
13297 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13298 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13299
e23872c8
SP
133002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13301
e5c74c63
SP
13302 * NEWS: Mention libm performance improvements and non-x86 PI
13303 futex support.
13304
e23872c8
SP
13305 * csu/libc-start.c (__pthread_initialize_minimal): Change
13306 function arguments.
13307 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13308
b5510883
JM
133092013-02-28 Joseph Myers <joseph@codesourcery.com>
13310
13311 [BZ #13550]
13312 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13313 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13314 <bp-sym.h> and <bp-asm.h>.
13315 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13316 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13317 and <bp-asm.h>.
13318 (memcpy): Don't use BP_SYM.
13319 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13320 <bp-asm.h>.
13321 (__mpn_add_n): Don't use BP_SYM.
13322 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13323 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13324 and <bp-asm.h>.
13325 (__mpn_addmul_1): Don't use BP_SYM.
13326 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13327 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13328 <bp-sym.h>.
13329 (_setjmp): Don't use BP_SYM.
13330 (__novmx_setjmp): Likewise.
13331 (__GI__setjmp): Likewise.
13332 (__vmx_setjmp): Likewise.
13333 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13334 <bp-sym.h>.
13335 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13336 (__bzero): Don't use BP_SYM.
13337 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13338 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13339 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13340 <bp-sym.h> and <bp-asm.h>.
13341 (memcpy): Don't use BP_SYM.
13342 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13343 <bp-sym.h> and <bp-asm.h>.
13344 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13345 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13346 <bp-sym.h> and <bp-asm.h>.
13347 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13348 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13349 <bp-asm.h>.
13350 (__mpn_lshift): Don't use BP_SYM.
13351 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13352 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13353 <bp-asm.h>.
13354 (memset): Don't use BP_SYM.
13355 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13356 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13357 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13358 <bp-asm.h>.
13359 (__mpn_mul_1): Don't use BP_SYM.
13360 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13362 <bp-sym.h> and <bp-asm.h>.
13363 (memcmp): Don't use BP_SYM.
13364 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13365 <bp-sym.h> and <bp-asm.h>.
13366 (memcpy): Don't use BP_SYM.
13367 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13368 <bp-sym.h> and <bp-asm.h>.
13369 (memset): Don't use BP_SYM.
13370 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13371 <bp-sym.h> and <bp-asm.h>.
13372 (strncmp): Don't use BP_SYM.
13373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13374 <bp-sym.h> and <bp-asm.h>.
13375 (memcpy): Don't use BP_SYM.
13376 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13377 <bp-sym.h> and <bp-asm.h>.
13378 (memset): Don't use BP_SYM.
13379 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13380 <bp-sym.h> and <bp-asm.h>.
13381 (__memchr): Don't use BP_SYM.
13382 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13383 <bp-sym.h> and <bp-asm.h>.
13384 (memcmp): Don't use BP_SYM.
13385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13386 <bp-sym.h> and <bp-asm.h>.
13387 (memcpy): Don't use BP_SYM.
13388 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13389 <bp-sym.h> and <bp-asm.h>.
13390 (__mempcpy): Don't use BP_SYM.
13391 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13392 <bp-sym.h> and <bp-asm.h>.
13393 (__memrchr): Don't use BP_SYM.
13394 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13395 <bp-sym.h> and <bp-asm.h>.
13396 (memset): Don't use BP_SYM.
13397 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13398 <bp-sym.h> and <bp-asm.h>.
13399 (__rawmemchr): Don't use BP_SYM.
13400 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13401 <bp-sym.h> and <bp-asm.h>.
13402 (__STRCMP): Don't use BP_SYM.
13403 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13404 <bp-sym.h> and <bp-asm.h>.
13405 (strchr): Don't use BP_SYM.
13406 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13407 <bp-sym.h> and <bp-asm.h>.
13408 (__strchrnul): Don't use BP_SYM.
13409 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13410 <bp-sym.h> and <bp-asm.h>.
13411 (strlen): Don't use BP_SYM.
13412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13413 <bp-sym.h> and <bp-asm.h>.
13414 (strncmp): Don't use BP_SYM.
13415 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13416 <bp-sym.h> and <bp-asm.h>.
13417 (__strnlen): Don't use BP_SYM.
13418 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13419 <bp-asm.h>.
13420 (__mpn_rshift): Don't use BP_SYM.
13421 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13422 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13423 <bp-sym.h> and <bp-asm.h>.
13424 (__sigsetjmp): Don't use BP_SYM.
13425 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13426 (L(start_addresses)): Don't use BP_SYM.
13427 (_start): Likewise.
13428 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13429 <bp-asm.h>.
13430 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13431 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13432 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13433 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13434 <bp-asm.h>.
13435 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13436 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13437 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13438 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13439 <bp-asm.h>.
13440 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13441 comments.
13442 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13443 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13444 <bp-asm.h>.
13445 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13446 FIXME comments.
13447 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13448 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13449 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13450 <bp-asm.h>.
13451 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13452 comment.
13453 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13454 and <bp-asm.h>.
13455 (strncmp): Don't use BP_SYM,
13456 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13457 <bp-asm.h>.
13458 (__mpn_sub_n): Don't use BP_SYM.
13459 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13460 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13461 and <bp-asm.h>.
13462 (__mpn_submul_1): Don't use BP_SYM.
13463 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13465 <bp-sym.h> and <bp-asm.h>.
13466 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13468 <bp-sym.h> and <bp-asm.h>.
13469 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13470 comment.
13471
8d19fe64
SP
134722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13473
13474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13475 Use ZK to minimize writes to Z.
13476 (sub_magnitudes): Simplify code a bit.
13477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13478 Use ZK to minimize writes to Z.
13479 (sub_magnitudes): Simplify code a bit.
13480
85bd816a
RM
134812013-02-27 Roland McGrath <roland@hack.frob.com>
13482
13483 * csu/gmon-start.c: Add special exception to license text.
13484
b5977bf2
RH
134852013-02-27 Richard Henderson <rth@redhat.com>
13486
13487 * scripts/config.guess: Update from config.git.
13488 * scripts/config.sub: Likewise.
13489
11d6e2f2
SP
134902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13491
09c14ed2
SP
13492 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13493
a688864e
SP
13494 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13495
6295157a
SP
13496 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13497
b8de2202
SP
13498 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13499
11d6e2f2
SP
13500 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13501
7e80ddb8
RM
135022013-02-26 Roland McGrath <roland@hack.frob.com>
13503
13504 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13505 [$(build-shared = yes].
7e80ddb8 13506
7da6d9ed
SP
135072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13508
45f05884
SP
13509 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13510 (__mul): Reduce iterations for calculating mantissa.
13511
2236d359
SP
13512 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13513 MPTWO.
13514 (__mpranred): Likewise.
13515
7da6d9ed
SP
13516 [BZ #15160]
13517 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13518 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13519
b7688c42
PE
135202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13521
13522 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13523 Define __attribute__.
13524
53a5c423
SP
135252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13526
13527 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13528 unused.
13529 * posix/regex_internal.h (__attribute): Remove.
13530 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13531 (re_string_context_at): Likewise.
13532 (bitset_not): Use __attribute__ and mark function as possibly
13533 unused.
13534 (bitset_merge): Likewise.
13535 (bitset_mask): Likewise.
13536 (re_string_char_size_at): Likewise.
13537 (re_string_wchar_at): Likewise.
13538 (re_string_elem_size_at): Likewise.
13539
60f5a8b5
SP
135402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13541
2a983a2e
SP
13542 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13543 code.
13544 (cc32): Likewise.
13545
e69804d1
SP
13546 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13547 (__acr): Likewise.
13548 (__cpy): Likewise.
13549 (norm): Likewise.
13550 (denorm): Likewise.
13551 (__dbl_mp): Likewise.
13552 (add_magnitudes): Likewise.
13553 (sub_magnitudes): Likewise.
13554 (__mul): Likewise.
13555 (__inv): Likewise.
13556
2f22a1e8
SP
13557 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13558 style.
13559
8930ddc7
SP
13560 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13561 style.
13562
dc60cb11
SP
13563 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13564 code.
13565
60f5a8b5
SP
13566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13567 up changes with default code.
13568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13569 Likewise.
13570
b4d1fd33
AM
135712013-02-24 Allan McRae <allan@archlinux.org>
13572
faf6f8bc
AM
13573 * manual/socket.texi (The Internet Namespace): Order menu items
13574 to match that in the file.
13575
b4d1fd33
AM
13576 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13577 node listing of the info page menu.
13578
2366713d
JM
135792013-02-21 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #13550]
13582 * sysdeps/i386/bp-asm.h: Remove file.
13583 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13584 (PARMS): Do not use macros from bp-asm.h.
13585 (S1): Likewise.
13586 (S2): Likewise.
13587 (SIZE): Likewise.
13588 (__mpn_add_n): Do not use BP_SYM
13589 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13590 "bp-asm.h".
13591 (PARMS): Do not use macros from bp-asm.h.
13592 (S1): Likewise.
13593 (SIZE): Likewise.
13594 (__mpn_addmul_1): Do not use BP_SYM
13595 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13596 "bp-asm.h".
13597 (PARMS): Do not use macros from bp-asm.h.
13598 (SIGMSK): Likewise.
13599 (_setjmp): Likewise. Do not use BP_SYM.
13600 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13601 "bp-asm.h".
13602 (PARMS): Do not use macros from bp-asm.h.
13603 (SIGMSK): Likewise.
13604 (setjmp): Likewise. Do not use BP_SYM.
13605 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13606 "bp-asm.h".
13607 (PARMS): Do not use macros from bp-asm.h.
13608 (__frexp): Do not use BP_SYM.
13609 (frexp): Likewise.
13610 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13611 "bp-asm.h".
13612 (PARMS): Do not use macros from bp-asm.h.
13613 (__frexpf): Do not use BP_SYM.
13614 (frexpf): Likewise.
13615 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13616 "bp-asm.h".
13617 (PARMS): Do not use macros from bp-asm.h.
13618 (__frexpl): Do not use BP_SYM.
13619 (frexpl): Likewise.
13620 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13621 "bp-asm.h".
13622 (PARMS): Do not use macros from bp-asm.h.
13623 (__remquo): Do not use BP_SYM.
13624 (remquo): Likewise.
13625 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13626 "bp-asm.h".
13627 (PARMS): Do not use macros from bp-asm.h.
13628 (__remquof): Do not use BP_SYM.
13629 (remquof): Likewise.
13630 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13631 "bp-asm.h".
13632 (PARMS): Do not use macros from bp-asm.h.
13633 (__remquol): Do not use BP_SYM.
13634 (remquol): Likewise.
13635 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13636 "bp-asm.h".
13637 (PARMS): Do not use macros from bp-asm.h.
13638 (DEST): Likewise.
13639 (SRC): Likewise.
13640 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13641 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13642 "bp-asm.h".
13643 (PARMS): Do not use macros from bp-asm.h.
13644 (strlen): Do not use BP_SYM.
13645 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13646 "bp-asm.h".
13647 (PARMS): Do not use macros from bp-asm.h.
13648 (S1): Likewise.
13649 (S2): Likewise.
13650 (SIZE): Likewise.
13651 (__mpn_add_n): Do not use BP_SYM.
13652 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13653 "bp-asm.h".
13654 (PARMS): Do not use macros from bp-asm.h.
13655 (S1): Likewise.
13656 (SIZE): Likewise.
13657 (__mpn_addmul_1): Do not use BP_SYM.
13658 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13659 weak_alias.
13660 (bzero): Likewise.
13661 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13662 "bp-asm.h".
13663 (PARMS): Do not use macros from bp-asm.h.
13664 (S): Likewise.
13665 (SIZE): Likewise.
13666 (__mpn_lshift): Do not use BP_SYM.
13667 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13668 "bp-asm.h".
13669 (PARMS): Do not use macros from bp-asm.h.
13670 (DEST): Likewise.
13671 (SRC): Likewise.
13672 (LEN): Likewise.
13673 (memcpy): Likewise. Do not use BP_SYM.
13674 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13675 libc_hidden_def and weak_alias.
13676 (mempcpy): Do not use BP_SYM in weak_alias.
13677 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13678 "bp-asm.h".
13679 (PARMS): Do not use macros from bp-asm.h.
13680 (DEST): Likewise.
13681 (LEN): Likewise.
13682 [!BZERO_P] (CHR): Likewise.
13683 (memset): Likewise. Do not use BP_SYM.
13684 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13685 "bp-asm.h".
13686 (PARMS): Do not use macros from bp-asm.h.
13687 (S1): Likewise.
13688 (SIZE): Likewise.
13689 (__mpn_mul_1): Do not use BP_SYM.
13690 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13691 "bp-asm.h".
13692 (PARMS): Do not use macros from bp-asm.h.
13693 (S): Likewise.
13694 (SIZE): Likewise.
13695 (__mpn_rshift): Do not use BP_SYM.
13696 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13697 "bp-asm.h".
13698 (PARMS): Do not use macros from bp-asm.h.
13699 (STR): Likewise.
13700 (CHR): Likewise.
13701 (strchr): Likewise. Do not use BP_SYM.
13702 (index): Do not use BP_SYM in weak_alias.
13703 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13704 "bp-asm.h".
13705 (PARMS): Do not use macros from bp-asm.h.
13706 (DEST): Likewise.
13707 (SRC): Likewise.
13708 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13709 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13710 "bp-asm.h".
13711 (PARMS): Do not use macros from bp-asm.h.
13712 (strlen): Do not use BP_SYM.
13713 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13714 "bp-asm.h".
13715 (PARMS): Do not use macros from bp-asm.h.
13716 (S1): Likewise.
13717 (S2): Likewise.
13718 (SIZE): Likewise.
13719 (__mpn_sub_n): Do not use BP_SYM.
13720 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13721 "bp-asm.h".
13722 (PARMS): Do not use macros from bp-asm.h.
13723 (S1): Likewise.
13724 (SIZE): Likewise.
13725 (__mpn_submul_1): Do not use BP_SYM.
13726 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13727 "bp-asm.h".
13728 (PARMS): Do not use macros from bp-asm.h.
13729 (S1): Likewise.
13730 (S2): Likewise.
13731 (SIZE): Likewise.
13732 (__mpn_add_n): Do not use BP_SYM.
13733 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13734 weak_alias.
13735 (bzero): Likewise.
13736 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13737 "bp-asm.h".
13738 (PARMS): Do not use macros from bp-asm.h.
13739 (BLK2): Likewise.
13740 (LEN): Likewise.
13741 (memcmp): Do not use BP_SYM.
13742 (bcmp): Do not use BP_SYM in weak_alias.
13743 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13744 "bp-asm.h".
13745 (PARMS): Do not use macros from bp-asm.h.
13746 (DEST): Likewise.
13747 (SRC): Likewise.
13748 (LEN): Likewise.
13749 (memcpy): Likewise. Do not use BP_SYM.
13750 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13751 "bp-asm.h".
13752 (PARMS): Do not use macros from bp-asm.h.
13753 (DEST): Likewise.
13754 (SRC): Likewise.
13755 (LEN): Likewise.
13756 (memmove): Likewise. Do not use BP_SYM.
13757 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13758 "bp-asm.h".
13759 (PARMS): Do not use macros from bp-asm.h.
13760 (DEST): Likewise.
13761 (SRC): Likewise.
13762 (LEN): Likewise.
13763 (__mempcpy): Likewise. Do not use BP_SYM.
13764 (mempcpy): Do not use BP_SYM in weak_alias.
13765 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13766 "bp-asm.h".
13767 (PARMS): Do not use macros from bp-asm.h.
13768 (DEST): Likewise.
13769 (LEN): Likewise.
13770 [!BZERO_P] (CHR): Likewise.
13771 (memset): Likewise. Do not use BP_SYM.
13772 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13773 "bp-asm.h".
13774 (PARMS): Do not use macros from bp-asm.h.
13775 (STR2): Likewise.
13776 (strcmp): Do not use BP_SYM.
13777 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13778 "bp-asm.h".
13779 (PARMS): Do not use macros from bp-asm.h.
13780 (STR): Likewise.
13781 (DELIM): Likewise.
13782 [USE_AS_STRTOK_R] (SAVE): Likewise.
13783 (FUNCTION): Likewise. Do not use BP_SYM.
13784 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13785 aliases.
13786 (strtok_r): Likewise.
13787 (__GI___strtok_r): Likewise.
13788 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13789 (PARMS): Do not use macros from bp-asm.h.
13790 (S): Likewise.
13791 (SIZE): Likewise.
13792 (__mpn_lshift): Do not use BP_SYM.
13793 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13794 (PARMS): Do not use macros from bp-asm.h.
13795 (STR): Likewise.
13796 (CHR): Likewise.
13797 (__memchr): Do not use BP_SYM.
13798 (memchr): Do not use BP_SYM in weak_alias.
13799 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13800 (PARMS): Do not use macros from bp-asm.h.
13801 (BLK2): Likewise.
13802 (LEN): Likewise.
13803 (memcmp): Do not use BP_SYM.
13804 (bcmp): Do not use BP_SYM in weak_alias.
13805 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13806 (PARMS): Do not use macros from bp-asm.h.
13807 (S1): Likewise.
13808 (SIZE): Likewise.
13809 (__mpn_mul_1): Do not use BP_SYM.
13810 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13811 "bp-asm.h".
13812 (PARMS): Do not use macros from bp-asm.h.
13813 (STR): Likewise.
13814 (CHR): Likewise.
13815 (__rawmemchr): Do not use BP_SYM.
13816 (rawmemchr): Do not use BP_SYM in weak_alias.
13817 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13818 (PARMS): Do not use macros from bp-asm.h.
13819 (S): Likewise.
13820 (SIZE): Likewise.
13821 (__mpn_rshift): Do not use BP_SYM.
13822 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13823 (PARMS): Do not use macros from bp-asm.h.
13824 (SIGMSK): Likewise.
13825 (__sigsetjmp): Likewise. Do not use BP_SYM.
13826 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13827 (_start): Do not use BP_SYM.
13828 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13829 (PARMS): Do not use macros from bp-asm.h.
13830 (DEST): Likewise.
13831 (SRC): Likewise.
13832 (__stpcpy): Likewise. Do not use BP_SYM.
13833 (stpcpy): Do not use BP_SYM in weak_alias.
13834 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13835 "bp-asm.h".
13836 (PARMS): Do not use macros from bp-asm.h.
13837 (DEST): Likewise.
13838 (SRC): Likewise.
13839 (LEN): Likewise.
13840 (__stpncpy): Likewise. Do not use BP_SYM.
13841 (stpncpy): Do not use BP_SYM in weak_alias.
13842 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13843 (PARMS): Do not use macros from bp-asm.h.
13844 (STR): Likewise.
13845 (CHR): Likewise.
13846 (strchr): Likewise. Do not use BP_SYM.
13847 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13848 "bp-asm.h".
13849 (PARMS): Do not use macros from bp-asm.h.
13850 (STR): Likewise.
13851 (CHR): Likewise.
13852 (__strchrnul): Likewise. Do not use BP_SYM.
13853 (strchrnul): Do not use BP_SYM in weak_alias.
13854 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13855 "bp-asm.h".
13856 (PARMS): Do not use macros from bp-asm.h.
13857 (STOP): Likewise.
13858 (strcspn): Do not use BP_SYM.
13859 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13860 "bp-asm.h".
13861 (PARMS): Do not use macros from bp-asm.h.
13862 (STR): Likewise.
13863 (STOP): Likewise.
13864 (strpbrk): Likewise. Do not use BP_SYM.
13865 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13866 "bp-asm.h".
13867 (PARMS): Do not use macros from bp-asm.h.
13868 (STR): Likewise.
13869 (CHR): Likewise.
13870 (strrchr): Likewise. Do not use BP_SYM.
13871 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13872 (PARMS): Do not use macros from bp-asm.h.
13873 (SKIP): Likewise.
13874 (strspn): Do not use BP_SYM.
13875 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13876 (PARMS): Do not use macros from bp-asm.h.
13877 (STR): Likewise.
13878 (DELIM): Likewise.
13879 (SAVE): Likewise.
13880 (FUNCTION): Likewise. Do not use BP_SYM.
13881 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13882 aliases.
13883 (strtok_r): Likewise.
13884 (__GI___strtok_r): Likewise.
13885 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13886 (PARMS): Do not use macros from bp-asm.h.
13887 (S1): Likewise.
13888 (S2): Likewise.
13889 (SIZE): Likewise.
13890 (__mpn_sub_n): Do not use BP_SYM.
13891 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13892 "bp-asm.h".
13893 (PARMS): Do not use macros from bp-asm.h.
13894 (S1): Likewise.
13895 (SIZE): Likewise.
13896 (__mpn_submul_1): Do not use BP_SYM.
13897 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13898 <bp-sym.h>.
13899 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13900 and <bp-asm.h>.
13901 (PARMS): Do not use macros from bp-asm.h.
13902 (FLAGS): Likewise.
13903 (PTID): Likewise.
13904 (TLS): Likewise.
13905 (CTID): Likewise.
13906 (__clone): Do not use BP_SYM.
13907 (clone): Do not use BP_SYM in weak_alias.
13908 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13909 and <bp-asm.h>.
13910 (PARMS): Do not use macros from bp-asm.h.
13911 (LEN): Likewise.
13912 (__mmap64): Do not use BP_SYM.
13913 (mmap64): Do not use BP_SYM in weak_alias.
13914 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13915 <bp-sym.h> and <bp-asm.h>.
13916 (PARMS): Do not use macros from bp-asm.h.
13917 (__posix_fadvise64_l64): Do not use BP_SYM.
13918 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13919 (PARMS): Do not use macros from bp-asm.h.
13920 (NSOPS): Likewise.
13921 (semtimedop): Do not use BP_SYM.
13922 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13923 and <bp-asm.h>.
13924
582a3cff
AM
139252013-02-21 Allan McRae <allan@archlinux.org>
13926
13927 * manual/message.texi (Charset conversion in gettext):
13928 Move @end statement to beginning of line.
13929
bab8a695
SP
139302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13931
80945231
SP
13932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13933 static.
13934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13935 Likewise.
13936
bab8a695
SP
13937 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13938 (denorm): Likewise.
13939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13941
e21d7aa7
AK
139422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13943
13944 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13945 tail-call to the resolved function if pltexit isn't needed.
13946
4c7a4263
SP
139472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13948
13949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13950 or Y being zero as being unlikely.
13951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13952 Likewise.
13953
41f49342
CD
139542013-02-20 Carlos O'Donell <carlos@redhat.com>
13955
13956 * manual/nss.texi (System Databases and Name Service Switch):
13957 Remove frobnicate @pxref.
13958
50022a93
TS
139592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13960
13961 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13962 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13963
08cbd996
PM
139642013-02-20 Petr Machata <pmachata@redhat.com>
13965
13966 * elf/elf.h (R_ARM_TARGET1): New macro.
13967 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13968 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13969 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13970 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13971 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13972 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13973 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13974 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13975 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13976 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13977 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13978 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13979 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13980 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13981 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13982 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13983 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13984 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13985 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13986 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13987 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13988 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13989 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13990 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13991 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13992 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13993 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13994 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13995 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13996 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13997 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13998 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13999 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14000 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14001 (R_ARM_THM_GOT_BREL12): Likewise.
14002 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14003 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14004 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14005 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14006 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14007 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14008 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14009 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14010 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14011
c7b275d6
TS
140122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14013
14014 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14015 __attribute_used__ to __attribute__ ((unused)).
14016
20cd7fb3
SP
140172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14018
14019 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14020 powerpc mpa.c.
14021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14022 comment formatting.
14023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14024
92945b52
JM
140252013-02-19 Joseph Myers <joseph@codesourcery.com>
14026
14027 [BZ #13550]
14028 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14029 Remove macro.
14030 (ENTER): Remove both macro definitions.
14031 (LEAVE): Likewise.
14032 (CHECK_BOUNDS_LOW): Likewise.
14033 (CHECK_BOUNDS_HIGH): Likewise.
14034 (CHECK_BOUNDS_BOTH): Likewise.
14035 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14036 (RETURN_BOUNDED_POINTER): Likewise.
14037 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14038 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14039 (POP_ERRNO_LOCATION_RETURN): Likewise.
14040 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14041 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14042 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14043 macros.
14044 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14045 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14046 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14047 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14048 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14049 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14050 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14051 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14052 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14053 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14054 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14055 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14056 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14057 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14058 removed macros.
14059 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14060 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14061 macros.
14062 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14063 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14064 * sysdeps/i386/i586/memset.S (memset): Likewise.
14065 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14066 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14067 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14068 macros.
14069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14070 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14071 Change uses of L(2) to L(out).
14072 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14073 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14074 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14075 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14076 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14077 removed macros.
14078 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14079 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14080 macros.
14081 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14082 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14083 (RETURN): Do not use macro LEAVE.
14084 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14085 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14086 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14087 * sysdeps/i386/i686/memset.S (memset): Likewise.
14088 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14089 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14090 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14091 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14092 Likewise.
14093 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14094 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14095 L(1_2) and L(1_3) into L(1).
14096 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14097 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14098 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14099 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14100 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14101 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14102 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14103 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14104 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14105 macros.
14106 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14107 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14108 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14109 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14110 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14111 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14112 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14113 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14114 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14115 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14116 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14117 * sysdeps/i386/strspn.S (strspn): Likewise.
14118 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14119 conditional code.
14120 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14121 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14122 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14123 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14124 L(1_3) into L(1_1).
14125 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14126 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14127 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14128 macros.
14129 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14130
2389741a
JJ
141312013-02-19 Jakub Jelinek <jakub@redhat.com>
14132
14133 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14134 macro.
14135
2016b3cd
SP
141362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14137
e4f22324
SP
14138 * math/atest-exp.c (exp_mpn): Remove ROUND.
14139 * math/atest-exp2.c (exp_mpn): Likewise.
14140 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14141
2016b3cd
SP
14142 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14143 * stdlib/tst-tls-atexit-lib.c: Likewise.
14144 * stdlib/tst-tls-atexit.c: Likewise.
14145
4be9b544
MF
141462013-02-18 Mike Frysinger <vapier@gentoo.org>
14147
14148 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14149 and __attribute_alloc_size__.
14150
2f62b9ee
MF
141512013-02-18 Mike Frysinger <vapier@gentoo.org>
14152
14153 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14154 __attribute_alloc_size__.
14155 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14156 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14157
6ff444c4
MF
141582013-02-18 Mike Frysinger <vapier@gentoo.org>
14159
14160 * include/programs/xmalloc.h: New file.
14161 * catgets/gencat.c: Include it.
14162 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14163 * elf/pldd.c: Likewise.
14164 * iconv/iconv_charmap.c: Likewise.
14165 * iconv/iconvconfig.c: Likewise.
14166 * iconv/strtab.c: Likewise.
14167 * locale/programs/locale.c: Likewise.
14168 * locale/programs/localedef.h: Likewise.
14169 * locale/programs/simple-hash.c: Likewise.
14170 * nscd/nscd.h: Likewise.
14171 * nss/makedb.c: Likewise.
14172 * sysdeps/generic/ldconfig.h: Likewise.
14173
be179c8a
SP
141742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14175
ba384f6e
SP
14176 * Versions.def: Add GLIBC_2.18.
14177 * include/link.h (struct link_map): New member l_tls_dtor_count.
14178 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14179 (__call_tls_dtors): Likewise.
14180 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14181 __cxa_thread_atexit_impl.
14182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14183 Likewise.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14185 Likewise.
14186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14187 Likewise.
14188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14189 Likewise.
14190 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14192 Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14194 Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14197 Likewise.
14198 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14199 (tests): Add test case tst-tls-atexit.
14200 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14201 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14202 (GLIBC_PRIVATE): Add __call_tls_dtors.
14203 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14204 for libstdc++.
14205 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14206 * stdlib/tst-tls-atexit.c: New test case.
14207 * stdlib/tst-tls-atexit-lib.c: New test case.
14208
ffaa74cf 14209 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14210
be179c8a
SP
14211 * elf/Versions (ld): Add _dl_find_dso_for_object.
14212 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14213 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14214 (dl_open_worker): Use _dl_find_dso_for_object.
14215 * elf/dl-sym.c (do_sym): Likewise.
14216 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14217
f78b5caa
AK
142182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14219
14220 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14221 Syntactic changes only.
14222 (_dl_runtime_profile): Do a tail-call to the resolved function.
14223
29691210
JM
142242013-02-17 Joseph Myers <joseph@codesourcery.com>
14225
14226 [BZ #13550]
14227 * sysdeps/x86_64/bp-asm.h: Remove file.
14228 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14229 <bp-sym.h> and <bp-asm.h>.
14230 (__clone): Do not use BP_SYM.
14231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14232 <bp-sym.h> and <bp-asm.h>.
14233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14234 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14235 "bp-asm.h".
14236 (_setjmp): Do not use BP_SYM.
14237 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14238 "bp-asm.h".
14239 (setjmp): Do not use BP_SYM.
14240 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14241 libc_hidden_def.
14242 (mempcpy): Do not use BP_SYM in weak_alias.
14243 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14244 "bp-asm.h".
14245 (strchr): Do not use BP_SYM.
14246 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14247 "bp-asm.h".
14248 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14249 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14250 (_start): Do not use BP_SYM.
14251 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14252 "bp-asm.h".
14253 (strcat): Do not use BP_SYM.
14254 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14255 "bp-asm.h".
14256 (STRCMP): Do not use BP_SYM.
14257 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14258 "bp-asm.h".
14259 (STRCPY): Do not use BP_SYM.
14260 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14261 "bp-asm.h".
14262 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14263 "bp-asm.h".
14264 (FUNCTION): Do not use BP_SYM.
14265 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14266 weak_alias.
14267 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14268
f238fd19
AJ
142692013-02-17 Andreas Jaeger <aj@suse.de>
14270
14271 * time/Versions: Sort entries.
14272 * string/Versions: Likewise.
14273 * resolv/Versions: Likewise.
14274 * posix/Versions: Likewise.
14275 * iconv/Versions: Likewise.
14276 * elf/Versions: Likewise.
14277 * wcsmbs/Versions: Likewise.
14278
bd07f23c 142792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14280
22af19f9
SP
14281 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14282 loop termination condition.
14283
4709fe76
SP
14284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14285 variable to calculate EZ.
14286 (__sqr): Likewise.
2d0e0f29
SP
14287
14288 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14289 the lower precision input.
14290
daaa7713
JM
142912013-02-15 Joseph Myers <joseph@codesourcery.com>
14292
14293 [BZ #13550]
14294 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14295 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14296 (run-via-rtld-prefix): Do not handle %-bp tests.
14297 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14298 (all-object-suffixes): Remove .ob.
14299 (bppfx): Remove variable.
14300 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14301 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14302 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14303 [$(build-bounded) = yes] (libtype.ob): Likewise.
14304 * Makerules (elide-routines.ob): Remove variable.
14305 (do-tests-clean): Do not handle *-bp.out.
14306 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14307 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14308 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14309 (tests): Do not include $(tests-bp.out).
14310 (xtests): Do not include $(xtests-bp.out).
14311 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14312 [$(build-bounded) = yes] ($(addprefix
14313 $(objpfx),$(binaries-bounded))): Remove rule.
14314 ($(objpfx)%-bp.out): Remove rule.
14315 * config.make.in (build-bounded): Remove variable.
14316 * crypt/Makefile [$(build-bounded) = yes]
14317 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14318 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14319 append to variable.
14320 [$(build-bounded) = yes] (install-lib): Likewise.
14321 [$(build-bounded) = yes] (generated): Likewise.
14322 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14323 Remove rule.
14324 * intl/Makefile [$(build-bounded) = yes]
14325 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14326 * math/Makefile [$(build-bounded) = yes]
14327 ($(tests:%=$(objpfx)%-bp): Likewise.
14328 * misc/Makefile [$(build-bounded) = yes]
14329 ($(objpfx)tst-tsearch-bp): Likewise.
14330 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14331 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14332 Remove dependency.
14333 * string/Makefile (o-objects.ob): Remove variable.
14334 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14335 (CFLAGS-.ob): Remove variable.
14336 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14337 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14338 both definitions of variable.
14339 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14340 (ASFLAGS-.ob): Remove variable.
14341
e97ed6dd
JM
143422013-02-14 Joseph Myers <joseph@codesourcery.com>
14343
2bdd4ca6
JM
14344 [BZ #13550]
14345 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14346 Remove __BOUNDED_POINTERS__ from condition.
14347 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14348 * string/bits/string2.h [!__NO_STRING_INLINES &&
14349 !__BOUNDED_POINTERS__]: Likewise.
14350 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14351 Likewise.
14352 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14353 Remove conditional code.
14354 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14355 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14356 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14357 condition.
14358
e97ed6dd
JM
14359 [BZ #13550]
14360 * csu/libc-start.c: Do not include <bp-sym.h>.
14361 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14362 * elf/dl-open.c: Do not include <bp-sym.h>.
14363 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14364 * math/fegetenv.c: Do not include <bp-sym.h>.
14365 (fegetenv): Do not use BP_SYM in versioned symbols.
14366 * nptl/sysdeps/pthread/bits/libc-lockP.h
14367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14368 <bp-sym.h>.
14369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14370 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14372 (__pthread_mutex_destroy): Likewise.
14373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14374 (__pthread_mutex_lock): Likewise.
14375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14376 (__pthread_mutex_trylock): Likewise.
14377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14378 (__pthread_mutex_unlock): Likewise.
14379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14380 (__pthread_mutexattr_init): Likewise.
14381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14382 (__pthread_mutexattr_destroy): Likewise.
14383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14384 (__pthread_mutexattr_settype): Likewise.
14385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14386 (__pthread_rwlock_init): Likewise.
14387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14388 (__pthread_rwlock_destroy): Likewise.
14389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14390 (__pthread_rwlock_rdlock): Likewise.
14391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14392 (__pthread_rwlock_tryrdlock): Likewise.
14393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14394 (__pthread_rwlock_wrlock): Likewise.
14395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14396 (__pthread_rwlock_trywrlock): Likewise.
14397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14398 (__pthread_rwlock_unlock): Likewise.
14399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14400 (__pthread_key_create): Likewise.
14401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14402 (__pthread_setspecific): Likewise.
14403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14404 (__pthread_getspecific): Likewise.
14405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14406 Likewise.
14407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14408 (_pthread_cleanup_push_defer): Likewise.
14409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14410 (_pthread_cleanup_pop_restore): Likewise.
14411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14412 (pthread_setcancelstate): Likewise.
14413 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14414 <bp-sym.h>.
14415 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14416 (memchr): Do not use BP_SYM in weak_alias.
14417 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14418 (fegetenv): Do not use BP_SYM in versioned symbols.
14419 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14420 (fesetenv): Do not use BP_SYM in versioned symbols.
14421 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14422 (feupdateenv): Do not use BP_SYM in versioned symbols.
14423 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14424 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14425 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14426 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14427 (open64): Do not use BP_SYM in weak_alias.
14428 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14429 (fegetenv): Do not use BP_SYM in versioned symbols.
14430 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14431 (fesetenv): Do not use BP_SYM in versioned symbols.
14432 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14433 (feupdateenv): Do not use BP_SYM in versioned symbols.
14434 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14435 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14436 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14437 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14438 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14439 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14441 <bp-sym.h>.
14442 (__libc_start_main): Do not use BP_SYM.
14443
d6752ccd
SP
144442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14445
cb57ce60
SP
14446 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14447 redundant return line.
14448 (norm): Likewise.
14449 (denorm): Likewise.
14450 (dbl_mp): Likewise.
14451 (sub_magnitudes): Likewise.
14452 (__add): Likewise.
14453 (__sub): Likewise.
14454 (__mul): Likewise.
14455 (__inv): Likewise.
14456 (__dvd): Likewise.
14457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14458 (norm): Likewise.
14459 (denorm): Likewise.
14460 (dbl_mp): Likewise.
14461 (sub_magnitudes): Likewise.
14462 (__add): Likewise.
14463 (__sub): Likewise.
14464 (__mul): Likewise.
14465 (__inv): Likewise.
14466 (__dvd): Likewise.
14467
f414520d
SP
14468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14469 instead of __mul.
14470 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14471 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14472 (cc32): Likewise.
14473
d6752ccd
SP
14474 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14475 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14477 of __mul for squares.
14478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14479 function
14480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14481 Likewise.
14482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14484
70d9946a
JM
144852013-02-13 Joseph Myers <joseph@codesourcery.com>
14486
14487 [BZ #13550]
14488 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14489 code.
14490 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14491 prototype or function definition. Rename ubp_* variables and
14492 parameters. Remove argv definitions conditional on
14493 [__BOUNDED_POINTERS__].
14494 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14495 * elf/dl-runtime.c (_dl_fixup): Likewise.
14496 * include/set-hooks.h (RUN_HOOK): Likewise.
14497 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14498 definition.
14499 * string/strcpy.c (strcpy): Do not use __unbounded.
14500 * sysdeps/generic/frame.h (struct layout): Likewise.
14501 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14502 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14503 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14504 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14505 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14506 (__backtrace): Likewise.
14507 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14508 use __ptrvalue.
14509 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14510 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14511 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14512 Likewise.
14513 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14514 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14516 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14517 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14518 Do not use __unbounded.
14519 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14520 Rename __unboundedrlimits parameter to rlimits in prototype.
14521 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14522 Do not use __unbounded.
14523 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14524 not use __ptrvalue.
14525 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14526 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14527 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14528 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14529 __ptrvalue or __unbounded.
14530 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14531 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14532 use __unbounded.
14533 (__new_msgctl): Do not use __ptrvalue.
14534 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14535 __unbounded.
14536 (__libc_msgrcv): Do not use __ptrvalue.
14537 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14538 startup_info): Do not use __unbounded.
14539 (__libc_start_main): Likewise. Rename ubp_* variables and
14540 parameters. Remove argv definitions conditional on
14541 [__BOUNDED_POINTERS__].
14542 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14543 __ptrvalue.
14544 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14545 use __unbounded.
14546 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14547 or __ptrvalue.
14548 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14549 use __unbounded.
14550 (__new_shmctl): Do not use __ptrvalue.
14551 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14552 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14553 Likewise.
14554 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14555 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14556 (__libc_sigaction): Likewise.
14557 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14558 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14559 Likewise.
14560 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14561
cc7834d6
OB
145622013-02-13 Ondřej Bílka <neleai@seznam.cz>
14563
ffb1ec7b 14564 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14565
14566 * string/mempcpy.c: Implement by calling memcpy.
14567
bdf02814
SP
145682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14569
c2af38aa
SP
14570 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14571
4e92d59e
SP
14572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14573 evaluation.
14574
909279a5
SP
14575 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14576 values in the mantissa.
14577
bdf02814
SP
14578 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14579 minimize writes to Z.
14580 (sub_magnitudes): Simplify code a bit.
14581
cd525923
RM
145822013-02-12 Roland McGrath <roland@hack.frob.com>
14583
14584 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14585 from the message. The linker prefixes all warnings with that already.
14586
7e2f0d2d
AS
145872013-02-12 Andreas Schwab <schwab@suse.de>
14588
a445af0b
AS
14589 [BZ #15078]
14590 * posix/regexec.c (extend_buffers): Add parameter min_len.
14591 (check_matching): Pass minimum needed length.
14592 (clean_state_log_if_needed): Likewise.
14593 (get_subexp): Likewise.
14594 * posix/Makefile (tests): Add bug-regex34.
14595 (bug-regex34-ENV): Define.
14596 * posix/bug-regex34.c: New file.
14597
7e2f0d2d
AS
14598 [BZ #11561]
14599 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14600 elements compare against the byte sequence of it, not its name.
14601 * posix/Makefile (tests): Add bug-regex35.
14602 (bug-regex35-ENV): Define.
14603 * posix/bug-regex35.c: New file.
14604
a175b684
TV
146052013-02-11 Tom de Vries <tom@codesourcery.com>
14606
14607 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14608 comment.
14609 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14610 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14611 (CHECK_EOL): Add undef.
14612
310998fe 146132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14614
14615 * bits/stdlib-bsearch.h: New file.
14616 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14617 * stdlib/stdlib.h: Likewise.
41eda41d 14618
8ded91fb
RM
146192013-02-11 Roland McGrath <roland@hack.frob.com>
14620
14621 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14622 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14623 declaration.
14624 * manual/search.texi (Array Search Function): Add missing const in
14625 lfind prototype.
14626 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14627 declaration to use rlim_t.
14628 (Basic Scheduling Functions): Remove erroneous const from
14629 sched_getparam prototype. Remove erroneous * from
14630 sched_get_priority_max and sched_get_priority_min prototypes.
14631 (Resource Usage): Fix summary @comment on vtimes to refer to
14632 sys/vtimes.h rather than vtimes.h.
14633 Add missing *s in vtimes prototype.
14634 (Limits on Resources): Fix ulimit prototype to return long int.
14635 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14636 prototypes to use long int rather than double.
14637 (BSD Random): Fix initstate and setstate to use char *, not void *.
14638 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14639 prototype to make second argument 'struct aiocb64 *const[]'.
14640 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14641 (Status of AIO Operations): Remove erroneous const in aio_return and
14642 aio_return64 prototypes.
14643 (Synchronizing I/O): Fix sync prototype to return void.
14644 * manual/startup.texi (Suboptions): Remove an erroneous const in
14645 getsubopt prototype.
14646 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14647 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14648 use size_t rather than int.
14649 (Scanning All Users): Likewise for getpwent_r.
14650 (Setting Groups): Add missing const to setgroups prototype.
14651 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14652 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14653 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14654 'const void *' rather than 'const char *'.
14655 (Host Address Functions): Likewise for inet_ntop.
14656 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14657 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14658 ssize_t for return value.
14659 (Sending Data): Likewise for send, sendto, sendmsg.
14660 (Socket Option Functions): Add a missing const in setsockopt prototype.
14661 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14662 use wchar_t for the argument.
14663 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14664 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14665 take no arguments.
14666 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14667 double/float/long double for second argument.
14668 Fix return types of significand, significandf, significandl.
14669 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14670 argument in fchmod prototype.
14671 (File Owner): Use uid_t and gid_t in fchown prototype.
14672 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14673 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14674 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14675 use 'const struct dirent **' as argument types to CMP function pointer
14676 argument.
14677 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14678 (File Times): Fix summary magic @comment for struct utimbuf and utime
14679 to refer to utime.h, not time.h.
14680 * manual/string.texi (Argz Functions): Add missing const in
14681 argz_extract and argz_next prototypes.
14682 (Finding Tokens in a String): Likewise for basename.
14683 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14684 (Copying and Concatenation): Fix typo in wmemmove prototype.
14685 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14686 (Signal Stack): Remove erroneous const in sigstack prototype.
14687 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14688 prototype.
14689 (Simple Calendar Time): Likewise for stime.
14690 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14691 prototype.
14692 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14693 say sys/sysctl.h instead.
14694 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14695 and vsyslog prototypes.
14696
fe77fe6d
TV
146972013-02-11 Tom de Vries <tom@codesourcery.com>
14698
14699 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14700 Remove.
14701
3a09b620
RM
147022013-02-11 Roland McGrath <roland@hack.frob.com>
14703
14704 * misc/sys/mman.h: Fix typo in mremap comment.
14705
550a0b89
RM
147062013-02-08 Roland McGrath <roland@hack.frob.com>
14707
14708 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14709 the '\0' terminator.
14710
a2da1673
JM
147112013-02-08 Joseph Myers <joseph@codesourcery.com>
14712
14713 [BZ #13550]
14714 * debug/segfault.c: Don't include <bp-checks.h>.
14715 * sysdeps/generic/bp-checks.h: Remove file.
14716 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14717 (__GETDENTS): Don't use CHECK_N.
14718 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14719 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14720 (__getgroups): Don't use CHECK_N.
14721 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14722 (setgroups): Don't use CHECK_N.
14723 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14724 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14725 (__libc_msgrcv): Don't use CHECK_N.
14726 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14727 (__libc_msgsnd): Don't use CHECK_N.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14729 <bp-checks.h>.
14730 (__libc_pread): Don't use CHECK_N.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14732 include <bp-checks.h>.
14733 (__libc_pread64): Don't use CHECK_N.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14735 include <bp-checks.h>.
14736 (__libc_pwrite): Don't use CHECK_N.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14738 include <bp-checks.h>.
14739 (__libc_pwrite64): Don't use CHECK_N.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14741 <bp-checks.h>.
14742 (__libc_pread): Don't use CHECK_N.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14744 include <bp-checks.h>.
14745 (__libc_pread64): Don't use CHECK_N.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14747 include <bp-checks.h>.
14748 (__libc_pwrite): Don't use CHECK_N.
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14750 include <bp-checks.h>.
14751 (__libc_pwrite64): Don't use CHECK_N.
14752 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14753 (do_pread): Don't use CHECK_N.
14754 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14755 (do_pread64): Don't use CHECK_N.
14756 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14757 (do_pwrite): Don't use CHECK_N.
14758 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14759 (do_pwrite64): Don't use CHECK_N.
14760 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14761 (__libc_readv): Don't use CHECK_N.
14762 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14763 (semop): Don't use CHECK_N.
14764 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14765 <bp-checks.h>.
14766 (semtimedop): Don't use CHECK_N.
14767 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14768 (__libc_pread): Don't use CHECK_N.
14769 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14770 <bp-checks.h>.
14771 (__libc_pread64): Don't use CHECK_N.
14772 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14773 <bp-checks.h>.
14774 (__libc_pwrite): Don't use CHECK_N.
14775 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14776 <bp-checks.h>.
14777 (__libc_pwrite64): Don't use CHECK_N.
14778 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14779 <bp-checks.h>.
14780 (__libc_msgrcv): Don't use CHECK_N.
14781 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14782 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14783 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14784 (__libc_writev): Don't use CHECK_N.
14785
b84660a8
RM
147862013-02-08 Roland McGrath <roland@hack.frob.com>
14787
7f3e75f8
RM
14788 * string/strcpy.c: Removed unused variable.
14789
b84660a8
RM
14790 * Makeconfig (+sysdep-includes): Define with := rather than =.
14791 Use an existing include/ subdir of each sysdeps dir before it.
14792
471514d3
CD
147932013-02-08 Carlos O'Donell <carlos@redhat.com>
14794
14795 * nscd/connection.c (register_traced_file): Comment function.
14796 [HAVE_INOTIFY] (union __inev): Define.
14797 [HAVE_INOTIFY] (inotify_check_files): New function.
14798 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14799 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14800 clear_db_cache.
14801 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14802
b2d3c3be
CD
148032013-02-08 Carlos O'Donell <carlos@redhat.com>
14804
14805 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14806 loaded if not already and that a failure is permanent.
14807
b39949d2
CD
148082013-02-08 Carlos O'Donell <carlos@redhat.com>
14809
ddacd1db 14810 [BZ #15006]
b39949d2
CD
14811 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14812 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14813
b2c9eff4
JM
148142013-02-08 Joseph Myers <joseph@codesourcery.com>
14815
f3aae3f3
JM
14816 [BZ #13550]
14817 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14818 (CHECK_1_NULL_OK): Likewise.
14819 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14820 (__fxstat): Do not use CHECK_1.
14821 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14822 <bp-checks.h>.
14823 (___fxstat64): Do not use CHECK_1.
14824 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14825 <bp-checks.h>.
14826 (__fxstatat): Do not use CHECK_1.
14827 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14828 <bp-checks.h>.
14829 (__fxstatat64): Do not use CHECK_1.
14830 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14831 <bp-checks.h>.
14832 (__fxstat): Do not use CHECK_1.
14833 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14834 <bp-checks.h>.
14835 (__fxstatat): Do not use CHECK_1.
14836 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14837 <bp-checks.h>.
14838 (__getresgid): Do not use CHECK_1.
14839 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14840 <bp-checks.h>.
14841 (__getresuid): Do not use CHECK_1.
14842 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14843 <bp-checks.h>.
14844 (__lxstat): Do not use CHECK_1.
14845 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14846 <bp-checks.h>.
14847 (__old_msgctl): Do not use CHECK_1.
14848 (__new_msgctl): Likewise.
14849 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14850 <bp-checks.h>.
14851 (__new_setrlimit): Do not use CHECK_1.
14852 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14853 <bp-checks.h>.
14854 (__old_shmctl): Do not use CHECK_1.
14855 (__new_shmctl): Likewise.
14856 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14857 <bp-checks.h>.
14858 (__xstat): Do not use CHECK_1.
14859 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14860 (__lxstat): Do not use CHECK_1.
14861 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14862 <bp-checks.h>.
14863 (___lxstat64): Do not use CHECK_1.
14864 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14865 (__old_msgctl): Do not use CHECK_1.
14866 (__new_msgctl): Likewise.
14867 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14868 <bp-checks.h>.
14869 (__gettimeofday): Do not use CHECK_1.
14870 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14871 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14872 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14873 <bp-checks.h>.
14874 (__gettimeofday): Do not use CHECK_1.
14875 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14876 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14877 (__new_shmctl): Do not use CHECK_1.
14878 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14879 <bp-checks.h>.
14880 (do_sigtimedwait): Do not use CHECK_1.
14881 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14882 <bp-checks.h>.
14883 (do_sigwaitinfo): Do not use CHECK_1.
14884 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14885 <bp-checks.h>.
14886 (msgctl): Do not use CHECK_1.
14887 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14888 <bp-checks.h>.
14889 (shmctl): Do not use CHECK_1.
14890 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14891 (ustat): Do not use CHECK_1.
14892 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14893 <bp-checks.h>.
14894 (__fxstat): Do not use CHECK_1.
14895 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14896 <bp-checks.h>.
14897 (__fxstatat): Do not use CHECK_1.
14898 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14899 <bp-checks.h>.
14900 (__lxstat): Do not use CHECK_1.
14901 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14902 <bp-checks.h>.
14903 (__xstat): Do not use CHECK_1.
14904 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14905 (__xstat): Do not use CHECK_1.
14906 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14907 (___xstat64): Do not use CHECK_1.
14908
b2c9eff4
JM
14909 [BZ #13550]
14910 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14911 definitions.
14912 (CHECK_BOUNDS_HIGH): Likewise.
14913 * string/strcpy.c: Do not include <bp-checks.h>.
14914 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14915
f1d70dad
RM
149162013-02-07 Roland McGrath <roland@hack.frob.com>
14917
14918 * nscd/nscd-client.h (__nscd_drop_map_ref):
14919 Add __attribute__ ((unused)).
14920 * nis/nss-nisplus.h (niserr2nss): Likewise.
14921
14922 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14923 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14924
14925 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14926 Remove inline keyword.
14927 * include/rounding-mode.h (round_away): Likewise.
14928 * libio/wfileops.c (adjust_wide_data): Likewise.
14929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14930 (__m128i_strloadu_tolower): Likewise.
14931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14932 (__m128i_strloadu_tolower): Likewise.
14933 * time/mktime.c (ydhms_diff): Likewise.
14934 * locale/elem-hash.h (elem_hash): Likewise.
14935 * locale/setlocale.c (setdata): Likewise.
14936 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14937 (re_string_wchar_at): Likewise.
14938 (bitset_not, bitset_merge, bitset_mask): Likewise.
14939 [!(__GNUC__ > 3)] (inline): Remove macro.
14940 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14941 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14942 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14943 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14944 * string/memcmp.c (memcmp_bytes): Likewise.
14945 * locale/programs/locarchive.c (compute_hashval): Likewise.
14946 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14947 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14948 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14949 * nss/getent.c (print_rpc, print_protocols): Likewise.
14950 (print_passwd, print_group, print_aliases): Likewise.
14951 * nis/nss-nisplus.h (niserr2nss): Likewise.
14952 * nscd/connections.c (restart_p): Likewise.
14953 Change return type to bool.
14954
eab55bfb
RM
149552013-02-05 Roland McGrath <roland@hack.frob.com>
14956
7bd642f5
RM
14957 * Makeconfig (all-Depend-files): Add existing
14958 $(sorted-subdirs:=/Depend) files.
14959 (all-subdirs): Remove nss.
14960 * sysdeps/unix/inet/Subdirs: Add it here instead.
14961 * hesiod/Depend: New file.
14962
573c29b2
RM
14963 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14964 instead of calling alloca.
14965
b2e25af0
RM
14966 * io/lseek.c (__lseek): Rename to __libc_lseek.
14967 Define __lseek as an alias.
14968
eab55bfb
RM
14969 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14970
9a0d1941
CD
149712013-02-04 Carlos O'Donell <carlos@redhat.com>
14972
14973 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14974 else clause and remove check for non-standard endianness.
14975
b83bbec4
DM
149762013-02-04 David S. Miller <davem@davemloft.net>
14977
14978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14979
6277fdab
JM
149802013-02-04 Joseph Myers <joseph@codesourcery.com>
14981
14982 [BZ #13550]
14983 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14984 (__ubp_memchr): Remove prototype.
14985 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14986 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14987 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14988 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14989 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14990 Remove alias.
14991 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14992 (__ubp_memchr): Likewise.
14993 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14994 (__ubp_memchr): Likewise.
14995 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14996 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14997 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14998 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14999 CHECK_STRING.
15000 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15001 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15002 (__getcwd): Do not use CHECK_STRING.
15003 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15004 <bp-checks.h>.
15005 (__real_chown): Do not use CHECK_STRING.
15006 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15007 <bp-checks.h>.
15008 (fchownat): Do not use CHECK_STRING.
15009 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15010 CHECK_STRING.
15011 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15012 <bp-checks.h>.
15013 (__lchown): Do not use CHECK_STRING.
15014 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15015 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15016 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15017 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15019 include <bp-checks.h>.
15020 (truncate64): Do not use CHECK_STRING.
15021 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15022 <bp-checks.h>.
15023 (__real_chown): Do not use CHECK_STRING.
15024 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15025 <bp-checks.h>.
15026 (__lchown): Do not use CHECK_STRING.
15027 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15028 <bp-checks.h>.
15029 (__chown): Do not use CHECK_STRING.
15030 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15031 <bp-checks.h>.
15032 (truncate64): Do not use CHECK_STRING.
15033 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15034 Likewise.
15035 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15036 (__xmknod): Do not use CHECK_STRING.
15037 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15038 <bp-checks.h>.
15039 (__xmknodat): Do not use CHECK_STRING.
15040 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15041 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15042
903ae060
AS
150432013-02-04 Andreas Schwab <schwab@suse.de>
15044
15045 [BZ #14142]
15046 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15047 * include/netdb.h: Likewise for h_errno.
15048 * elf/tst-stackguard1.c: Include <tls.h>.
15049
542f9466
JK
150502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15051
15052 * elf/link.h (struct link_map): Extend the l_addr comment.
15053 * include/link.h (struct link_map): Likewise.
15054
e782a927
JM
150552013-02-01 Joseph Myers <joseph@codesourcery.com>
15056
15057 [BZ #13550]
15058 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15059 (BOUNDED_1): Remove macro.
15060 * debug/backtrace.c: Don't include <bp-checks.h>.
15061 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15062 (__backtrace): Likewise.
15063 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15064 <bp-checks.h>.
15065 (__backtrace): Don't use BOUNDED_1.
15066 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15067 <bp-checks.h>.
15068 (__backtrace): Don't use BOUNDED_1.
15069 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15070 (__backtrace): Don't use BOUNDED_1.
15071 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15072 (shmat): Don't use BOUNDED_N.
15073
8cf28c5e
JM
150742013-01-31 Joseph Myers <joseph@codesourcery.com>
15075
3a7ac8a0
JM
15076 [BZ #13550]
15077 * sysdeps/generic/bp-start.h: Remove file.
15078 * csu/libc-start.c: Don't include <bp-start.h>.
15079 (LIBC_START_MAIN): Set up __environ directly instead of using
15080 INIT_ARGV_and_ENVIRON.
15081 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15082 <bp-start.h>.
15083
f3499f95
JM
15084 [BZ #13550]
15085 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15086 definitions.
15087 (CHECK_FCNTL): Likewise.
15088 (CHECK_N_PAGES): Likewise.
15089
32a45bea
JM
15090 [BZ #13550]
15091 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15092 definitions.
15093 (CHECK_SIGSET_NULL_OK): Likewise.
15094 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15095 <bp-checks.h>.
15096 (sigpending): Don't use CHECK_SIGSET.
15097 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15098 <bp-checks.h>.
15099 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15100 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15101 <bp-checks.h>.
15102 (do_sigsuspend): Don't use CHECK_SIGSET.
15103 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15104 use CHECK_SIGSET.
15105 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15106 (do_sigwait): Don't use CHECK_SIGSET.
15107 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15108 use CHECK_SIGSET.
15109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15110 include <bp-checks.h>.
15111 (sigpending): Don't use CHECK_SIGSET.
15112 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15113 include <bp-checks.h>.
15114 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15115 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15116 <bp-checks.h>.
15117 (sigpending): Don't use CHECK_SIGSET.
15118 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15119 <bp-checks.h>.
15120 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15121
2e8a5c8c
JM
15122 [BZ #13550]
15123 * sysdeps/generic/bp-semctl.h: Remove file.
15124 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15125 <bp-checks.h> and <bp-semctl.h>.
15126 (__old_semctl): Don't use CHECK_SEMCTL.
15127 (__new_semctl): Likewise.
15128 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15129 and <bp-semctl.h>.
15130 (__old_semctl): Don't use CHECK_SEMCTL.
15131 (__new_semctl): Likewise.
15132 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15133 <bp-checks.h> and <bp-semctl.h>.
15134 (__old_semctl): Don't use CHECK_SEMCTL.
15135 (__new_semctl): Likewise.
15136 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15137 <bp-checks.h> and <bp-semctl.h>.
15138 (semctl): Don't use CHECK_SEMCTL.
15139
c2d54929
JM
15140 [BZ #13550]
15141 * Makerules (elide-bp-thunks): Remove variable.
15142 (elide-routines.oS): Don't use $(elide-bp-thunks).
15143 (elide-routines.os): Likewise.
15144 (elide-routines.o): Likewise.
15145 (elide-routines.op): Likewise.
15146 (elide-routines.og): Likewise.
15147 (objects): Don't use $(bp-thunks).
15148 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15149 include.
15150 (common-generated): Do not add s-proto-bp.d.
15151 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15152 (int): Likewise.
15153 (typ): Likewise.
15154 Do not generate makefile rules for bounded-pointer thunks.
15155 * sysdeps/generic/bp-thunks.h: Remove file.
15156 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15157 * sysdeps/unix/s-proto-bp.S: Likewise.
15158
8cf28c5e
JM
15159 [BZ #15062]
15160 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15161 parts of result separately when argument is not close to line from
15162 -i to i and one part of argument is small.
15163 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15164 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15165 * math/libm-test.inc (cacos_test): Add more tests.
15166 (casin_test): Likewise.
15167 (casinh_test): Likewise.
15168 * sysdeps/i386/fpu/libm-test-ulps: Update.
15169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15170
c4e33b8d
DM
151712013-01-31 David S. Miller <davem@davemloft.net>
15172
15173 * po/de.po: Update from translation team.
15174
3b60b421
MK
151752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15176
15177 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15178
bb931195
TS
151792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15180
b5a5da23
TS
15181 * configure.in (_AC_PROG_CC_C89): New definition.
15182 * configure: Regenerate.
15183
bb931195
TS
15184 * configure.in (AC_PROG_CPP): New definition.
15185 * configure: Regenerate.
15186
8c53a12c
JM
151872013-01-23 Joseph Myers <joseph@codesourcery.com>
15188
15189 * debug/tst-backtrace.h: New file.
15190 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15191 (ret): Remove variable.
15192 (x): Likewise.
15193 (FAIL): Remove macro.
15194 (NO_INLINE): Likewise.
15195 (fn1): Use match function instead of strstr.
15196 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15197 (ret): Remove variable.
15198 (x): Likewise.
15199 (FAIL): Remove macro.
15200 (NO_INLINE): Likewise.
15201 (fn): Use match function instead of strstr.
15202 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15203 (ret): Remove variable.
15204 (x): Likewise.
15205 (FAIL): Remove macro.
15206 (NO_INLINE): Likewise.
15207 (handle_signal): Use match function instead of strstr.
15208 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15209 (ret): Remove variable.
15210 (x): Likewise.
15211 (FAIL): Remove macro.
15212 (NO_INLINE): Likewise.
15213 (handle_signal): Use match function instead of strstr.
15214
4858fa2a
RM
152152013-01-23 Roland McGrath <roland@hack.frob.com>
15216
15217 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15218
bae8e7f5
DM
152192013-01-23 David S. Miller <davem@davemloft.net>
15220
15221 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15222 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15223 argument of CAS if possible.
15224 * sysdeps/sparc/sparc64/bits/atomic.h
15225 (__arch_compare_and_exchange_val_32_acq): Likewise.
15226 (__arch_compare_and_exchange_val_64_acq): Likewise.
15227
9cbbc4ae
PT
152282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15229
15230 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15231 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15232 Include <limits.h>.
67b3f58c 15233 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15234
5655a0b5
AC
152352013-01-23 Adam Conrad <adconrad@0c3.net>
15236
15237 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15238 (LDFLAGS-tst-array5): Likewise.
15239
052aff95
JM
152402013-01-23 Joseph Myers <joseph@codesourcery.com>
15241
15242 [BZ #15036]
15243 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15244 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15245 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15246 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15247
7c1e01aa
DM
152482013-01-21 David S. Miller <davem@davemloft.net>
15249
15250 * sysdeps/sparc/backtrace.c: New file.
15251 * sysdeps/sparc/sparc32/backtrace.h: New file.
15252 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15253 * sysdeps/sparc/sparc64/backtrace.h: New file.
15254 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15255 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15256 -funwind-tables.
15257
ab087e0a
AS
152582013-01-21 Andreas Schwab <schwab@suse.de>
15259
15260 [BZ #15020]
15261 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15262 closed its stdout.
15263
ed689c2f
AS
152642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15265
15266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15267 "mpa2.h".
15268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15269
31d470ac
JM
152702013-01-18 Joseph Myers <joseph@codesourcery.com>
15271 Mark Mitchell <mark@codesourcery.com>
15272 Tom de Vries <tom@codesourcery.com>
15273 Paul Pluzhnikov <ppluzhnikov@google.com>
15274
15275 * debug/tst-backtrace2.c: New file.
15276 * debug/tst-backtrace3.c: Likewise.
15277 * debug/tst-backtrace4.c: Likewise.
15278 * debug/tst-backtrace5.c: Likewise.
15279 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15280 (CFLAGS-tst-backtrace3.c): Likewise.
15281 (CFLAGS-tst-backtrace4.c): Likewise.
15282 (CFLAGS-tst-backtrace5.c): Likewise.
15283 (LDFLAGS-tst-backtrace2): Likewise.
15284 (LDFLAGS-tst-backtrace3): Likewise.
15285 (LDFLAGS-tst-backtrace4): Likewise.
15286 (LDFLAGS-tst-backtrace5): Likewise.
15287 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15288 tst-backtrace4 and tst-backtrace5.
15289
90567f30 152902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15291 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15292
15293 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15294 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15295 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15296 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15298 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15299 "+r" and remove output regs list as redundant. Add explicit inline
15300 asm to specify register of return val to work around compiler codegen
15301 bug. Remove (int) cast on return value. Add return type parameter to
15302 use in macro so that this macro does not truncate return value for
15303 64-bit values.
15304 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15305 pass to INTERNAL_VSYSCALL_NCS.
15306 (INLINE_VSYSCALL): Add 'long int' as return type to
15307 INTERNAL_VSYSCALL_NCS macro invocation.
15308 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15309 INTERNAL_VSYSCALL_NCS macro invocation.
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15311
d3b9ea61
SP
153122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15313
0b57daeb
SP
15314 [BZ #14496]
15315 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15316 Fix application of SIMD FP exception mask.
15317
caa99d06
SP
15318 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15319 mp_no from a power of two.
15320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15321 __mpexp_twomm1. Use __pow_mp.
15322
d3b9ea61
SP
15323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15324 multiplication.
15325
1dbaee3c
DM
153262013-01-17 David S. Miller <davem@davemloft.net>
15327
15328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15329
728d7b43
JM
153302013-01-17 Joseph Myers <joseph@codesourcery.com>
15331
15332 [BZ #15023]
15333 * include/complex.h: Condition contents on [!_COMPLEX_H].
15334 (__kernel_casinhf): New prototype.
15335 (__kernel_casinh): Likewise.
15336 (__kernel_casinhl): Likewise.
15337 * math/Makefile (libm_calls): Add k_casinh.
15338 * math/k_casinh.c: New file.
15339 * math/k_casinhf.c: Likewise.
15340 * math/k_casinhl.c: Likewise.
15341 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15342 finite nonzero arguments.
15343 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15344 finite nonzero arguments.
15345 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15346 finite nonzero arguments.
15347 * math/s_casinh.c: Do not include <float.h>.
15348 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15349 * math/s_casinhf.c: Do not include <float.h>.
15350 (__casinhf): Move code for finite nonzero arguments to
15351 k_casinhf.c.
15352 * math/s_casinhl.c: Do not include <float.h>.
15353 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15354 redefine.
15355 (__casinhl): Move code for finite nonzero arguments to
15356 k_casinhl.c.
15357 * math/libm-test.inc (cacos_test): Add more tests.
15358 * sysdeps/i386/fpu/libm-test-ulps: Update.
15359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15360
2a26ef3a
PT
153612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15362
15363 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15364 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15365 [!HAVE_MREMAP]: Remove [defined linux] case.
15366 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15367
a897655d
SP
153682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15369
15370 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15371
881ebe89 153722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15373
15374 * elf/elf.h (R_386_SIZE32): New relocation.
15375 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15376 R_386_SIZE32.
15377 (elf_machine_rela): Likewise.
15378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15379 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15380
59981e9b
JM
153812013-01-17 Joseph Myers <joseph@codesourcery.com>
15382
15383 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15384 (FP_FAST_FMA): Do not define.
15385 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15386 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15387 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15388 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15389 !_SOFT_FLOAT]: Likewise.
15390 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15391 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15392 value.
15393 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15394 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15395 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15396 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15397 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15398 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15399 file.
15400
cfa8054f
AS
154012013-01-16 Andreas Schwab <schwab@suse.de>
15402
15403 [BZ #14327]
15404 * include/stdlib.h (__mktemp): Add declaration.
15405 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15406 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15407
dd930cc5
SP
154082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15409
881ebe89
SP
15410 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15411 definitions.
15412 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15413 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15414 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15415 definitions here.
15416 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15417 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15418 definitions.
15419 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15420 and ONE.
15421 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15422 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15423 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15424 definitions.
15425 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15426 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15427 definitions.
15428 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15429
dd930cc5
SP
15430 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15431
c19a9f89
DM
154322013-01-15 David S. Miller <davem@davemloft.net>
15433
1aa61767
DM
15434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15435 trunc{,f} to libm-sysdep_routes.
15436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15438 file.
15439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15441 file.
15442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15443 file.
15444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15446 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15447 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15448 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15449 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15450 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15451 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15452
c42d5e98
DM
15453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15454 nearbyint{,f} to libm-sysdep_routes.
15455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15457 New file.
15458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15459 file.
15460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15461 New file.
15462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15463 file.
15464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15467 file.
15468 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15469 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15470 file.
15471 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15472 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15473 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15474
c19a9f89
DM
15475 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15476 libc_feholdexcept and libc_fesetenv.
15477
357679d2
MF
154782013-01-15 Mike Frysinger <vapier@gentoo.org>
15479
15480 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15481
65a82e3d
DM
154822013-01-14 David S. Miller <davem@davemloft.net>
15483
8b954ab9
DM
15484 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15485 (SPARC_ASM_VIS2_IFUNC): Likewise.
15486 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15488 use of 'siam' instruction.
15489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15490 Likewise.
15491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15492 Likewise.
15493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15494 Likewise.
15495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15500 file.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15502 file.
15503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15504 file.
15505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15506 file.
15507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15512 new VIS2 routines.
15513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15516 Likewise.
15517 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15518 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15522 routines to libm-sysdep_routines.
15523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15524
65a82e3d
DM
15525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15526 fdim/fdimf to libm-sysdep_routines.
15527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15528 file.
15529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15531 file.
15532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15535 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15536 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15537 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15538 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15539
e34ab705
SP
155402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15541
2a91b573
SP
15542 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15543 to optimize copies.
15544
1066a534
SP
15545 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15548
e34ab705
SP
15549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15550 local variable MPTWO.
15551 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15552 Likewise.
15553
aba5e596
MF
155542013-01-13 Mike Frysinger <vapier@gentoo.org>
15555
15556 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15557 GLOB_NOESCAPE.
15558
e557e9e5
MF
155592013-01-13 Mike Frysinger <vapier@gentoo.org>
15560
15561 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15562
0428cec9
MF
155632013-01-13 Mike Frysinger <vapier@gentoo.org>
15564
15565 * manual/pattern.texi (glob_t): Document gl_flags.
15566 (glob64_t): Likewise.
15567
8794a964
DM
155682013-01-11 David S. Miller <davem@davemloft.net>
15569
66438c3f
RM
15570 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15571 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15572 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15573 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15574 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15575 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15576 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15577 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15578 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15579 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15580 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15581 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15582 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15583
4ae4244d
DM
15584 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15585 sparc V9 rather than using V8 code.
15586 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15587 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15588
8794a964
DM
15589 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15590 Move to...
15591 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15592 Here.
15593
6270516e
RM
155942013-01-11 Roland McGrath <roland@hack.frob.com>
15595
15596 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15597 not in the main loop.
15598 * configure: Regenerated.
15599
6a57d931
JM
156002013-01-11 Joseph Myers <joseph@codesourcery.com>
15601
15602 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15603 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15604 to just #else.
15605 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15606 [!__GLIBC_HAVE_LONG_LONG] case.
15607 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15608 condition to just #else.
15609 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15610 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15611 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15612 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15613 unconditional.
15614 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15615 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15616 #elif condition to just #else.
15617 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15618 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15619 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15620 #elif condition to just #else.
15621
0e8529e9
SE
156222013-01-11 Steve Ellcey <sellcey@mips.com>
15623
15624 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15625 (EF_MIPS_ARCH_64): Fix value.
15626 (EF_MIPS_ARCH_32R2): New.
15627 (EF_MIPS_ARCH_64R2): New.
15628
740b3dbe
L
156292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15630
15631 * Makeconfig (+link-pie-before-libc): New.
15632 (+link-pie-after-libc): Likewise.
15633 (+link-pie-tests): Likewise.
15634 (+link-pie): Rewritten.
15635 (link-before-libc): Remove $(config-LDFLAGS).
15636 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15637 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15638 (config-LDFLAGS): Renamed to ...
15639 (rtld-LDFLAGS): This.
15640 (rtld-tests-LDFLAGS): New macro.
15641 (link-libc-rpath-link): Likewise.
15642 (link-libc-tests-rpath-link): Likewise.
15643 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15644 (link-libc): Prepand $(link-libc-rpath-link).
15645 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15646 (test-program-prefix): New macro.
15647 (test-via-rtld-prefix): Likewise.
15648 (test-program-cmd): Likewise.
15649 (host-test-program-cmd): Likewise.
15650 * Makefile ($(common-objpfx)testrun.sh): Replace
15651 $(run-program-prefix) with $(test-program-prefix).
15652 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15653 $(rtld-LDFLAGS).
15654 ($(common-objpfx)shlib.lds): Likewise.
15655 (build-module-helper): Likewise.
15656 ($(common-objpfx)format.lds): Likewise.
15657 * Rules (binaries-pie-tests): New.
15658 (binaries-pie-notests): Likewise.
15659 (binaries-pie): Rewritten.
15660 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15661 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15662 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15663 (make-test-out): Replace $(host-built-program-cmd) with
15664 $(host-test-program-cmd).
15665 * config.make.in (build-hardcoded-path-in-tests): New variable.
15666 * configure.in (--enable-hardcoded-path-in-tests): New configure
15667 option.
15668 (hardcoded_path_in_tests): New AC_SUBST.
15669 * configure: Regenerated.
15670 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15671 $(built-program-cmd) with $(test-program-cmd).
15672 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15673 (test_program_cmd): This.
15674 * elf/Makefile ($(objpfx)order.out): Run test with
15675 $(test-program-prefix).
15676 ($(objpfx)order2.out): Likewise.
15677 ($(objpfx)tst-initorder.out): Likewise.
15678 ($(objpfx)tst-initorder2.out): Likewise.
15679 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15680 $(test-program-cmd).
15681 ($(objpfx)tst-array1-static.out): Likewise.
15682 ($(objpfx)tst-array2.out): Likewise.
15683 ($(objpfx)tst-array3.out): Likewise.
15684 ($(objpfx)tst-array4.out): Likewise.
15685 ($(objpfx)tst-array5.out): Likewise.
15686 ($(objpfx)tst-array5-static.out): Likewise.
15687 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15688 $(test-program-cmd).
15689 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15690 $(run-program-prefix) with $(test-program-prefix).
15691 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15692 (test_program_prefix): This.
15693 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15694 $(run-program-prefix) with $(test-program-prefix).
15695 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15696 (test_program_prefix): This.
15697 * iconvdata/tst-tables.sh: Likewise.
15698 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15699 $(run-program-prefix) with $(test-program-prefix).
15700 ($(objpfx)tst-translit.out): Likewise.
15701 ($(objpfx)tst-gettext2.out): Likewise.
15702 ($(objpfx)tst-gettext4.out): Likewise.
15703 ($(objpfx)tst-gettext6.out): Likewise.
15704 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15705 (test_program_prefix): This.
15706 * intl/tst-gettext2.sh: Likewise.
15707 * intl/tst-gettext4.sh Likewise.
15708 * intl/tst-gettext6.sh: Likewise.
15709 * intl/tst-translit.sh: Likewise.
15710 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15711 with $(test-program-cmd).
15712 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15713 $(run-program-prefix) with $(test-program-prefix).
15714 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15715 (test_program_prefix): This.
15716 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15717 $(run-program-prefix) with $(test-program-prefix).
15718 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15719 (test_program_prefix): This.
15720 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15721 * posix/Makefile ($(objpfx)globtest.out): Replace
15722 $(run-via-rtld-prefix) and $(test-wrapper) with
15723 $(test-program-prefix) and $(test-via-rtld-prefix).
15724 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15725 $(test-program-prefix).
15726 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15727 $(host-test-program-cmd).
15728 (tst-spawn-ARGS): Likewise.
15729 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15730 $(test-program-prefix).
15731 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15732 (test_via_rtld_prefix): This.
15733 (test_wrapper): Renamed to ...
15734 (test_program_prefix): This.
15735 (run_program_prefix): Replaced by test_program_prefix.
15736 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15737 (test_program_prefix): This.
15738 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15739 with $(host-test-program-cmd).
15740 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15741 $(run-program-prefix) with $(test-program-prefix).
15742 ($(objpfx)tst-printf.out): Likewise.
15743 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15744 $(test-program-cmd).
15745 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15746 (test_program_prefix): This.
15747 * stdio-common/tst-unbputc.sh: Likewise.
15748 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15749 $(run-program-prefix) with $(test-program-prefix).
15750 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15751 (test_program_prefix): This.
15752 * string/Makefile ($(objpfx)tst-svc.out): Replace
15753 $(built-program-cmd) with $(test-program-cmd).
15754
c6fe55cf
AJ
157552013-01-11 Andreas Jaeger <aj@suse.de>
15756
15757 [BZ #15003]
15758 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15759 value. Sync with Linux 3.7.
15760
9e6919c8
DM
157612013-01-10 David S. Miller <davem@davemloft.net>
15762
15763 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15764 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15765 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15766
1c9f1a02
RM
157672013-01-10 Roland McGrath <roland@hack.frob.com>
15768
15769 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15770 never set.
15771 * configure: Regenerated.
15772
b9de2dde
DM
157732013-01-10 David S. Miller <davem@davemloft.net>
15774
15775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15776 sparc V9 rather than using V8 code.
15777 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15778 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15779
e7f68ef4
RM
157802013-01-10 Roland McGrath <roland@hack.frob.com>
15781
15782 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15783 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15784 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15785 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15786 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15787 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15788 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15789 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15790 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15791 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15792 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15793 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15794 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15795 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15796 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15797 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15798 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15799 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15800 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15801 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15802 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15803 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15804 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15805 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15806 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15807 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15808 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15809
5a47cc9c
DM
158102013-01-10 David S. Miller <davem@davemloft.net>
15811
15812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15813
4cf8f209
L
158142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15815
15816 * posix/Makefile (tests-static): New variable.
15817 (tests): Add $(tests-static).
15818 (tst-exec-static-ARGS): New variable.
15819 (tst-spawn-static-ARGS): Likewise.
15820 * posix/tst-exec-static.c: New file.
15821 * posix/tst-spawn-static.c: Likewise.
15822 * posix/tst-exec.c: Support run directly.
15823 * posix/tst-spawn.c: Likewise.
15824
fed0faa1
JM
158252013-01-10 Joseph Myers <joseph@codesourcery.com>
15826
828beb13
JM
15827 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15828 long.
15829 * math/bits/mathcalls.h (llrint): Likewise.
15830 (llround): Likewise.
15831 * stdlib/stdlib.h (struct drand48_data): Likewise.
15832 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15833 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15834 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15835 Likewise.
15836 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15837 Likewise.
15838 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15839 (elf_greg_t): Likewise.
15840 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15841 (__jmp_buf): Likewise.
15842 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15843 definitions.
15844 (llrint): Likewise, for all definitions.
15845 (llrintl): Likewise.
15846
fed0faa1
JM
15847 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15848 Remove [__GNUC__] condition.
15849 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15850 condition to just [__USE_ISOC99].
15851 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15852
1a20cb20
L
158532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15854
15855 [BZ #14200]
15856 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15857 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15858 defined.
15859 (_POSIX_V6_ILP32_OFF32): Likewise.
15860 (_XBS5_ILP32_OFF32): Likewise.
15861 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15862 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15863
751b85f7
SP
158642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15865
7490eb81
SP
15866 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15867
751b85f7
SP
15868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15869 doubles __mpexp_twomm1. Adjust usage.
15870 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15871 Remove.
15872
988197f0
AS
158732013-01-10 Andreas Schwab <schwab@suse.de>
15874
15875 [BZ #14964]
15876 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15877 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15878
e83d7298
DM
158792013-01-09 David S. Miller <davem@davemloft.net>
15880
034ed64b 15881 [BZ #15003]
e83d7298
DM
15882 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15883 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15884 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15885 TCP_FASTOPEN): Define.
15886 (tcp_repair_opt): New structure.
15887 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15888 enum values.
15889 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15890 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15891 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15892 (tcp_cookie_transactions): New structure.
15893
d5e0b9bd
AB
158942013-01-09 Anton Blanchard <anton@samba.org>
15895
15896 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15897 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15898 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15899 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15900
0c07e3ea
JM
159012013-01-09 Joseph Myers <joseph@codesourcery.com>
15902
15903 * include/features.h (__USE_ANSI): Remove.
15904
232f7002
RM
159052013-01-09 Roland McGrath <roland@hack.frob.com>
15906
ad98e30c
RM
15907 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15908
232f7002
RM
15909 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15910
950c99ca
SP
159112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15912
b5792741
SP
15913 * sysdeps/s390/fpu/libm-test-ulps: Update.
15914
47cf2278
SP
15915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15916
950c99ca
SP
15917 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15918 (__acr): Likewise.
15919 (__cpy): Likewise.
15920 (norm): Likewise.
15921 (denorm): Likewise.
15922 (__mp_dbl): Likewise.
15923 (__dbl_mp): Likewise.
15924 (add_magnitudes): Likewise.
15925 (sub_magnitudes): Likewise.
15926 (__add): Likewise.
15927 (__sub): Likewise.
15928 (__mul): Likewise.
15929 (__inv): Likewise.
15930 (__dvd): Likewise.
15931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15932 (__acr): Likewise.
15933 (__cpy): Likewise.
15934 (norm): Likewise.
15935 (denorm): Likewise.
15936 (__mp_dbl): Likewise.
15937 (__dbl_mp): Likewise.
15938 (add_magnitudes): Likewise.
15939 (sub_magnitudes): Likewise.
15940 (__add): Likewise.
15941 (__sub): Likewise.
15942 (__mul): Likewise.
15943 (__inv): Likewise.
15944 (__dvd): Likewise.
15945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15946 (__acr): Likewise.
15947 (__cpy): Likewise.
15948 (norm): Likewise.
15949 (denorm): Likewise.
15950 (__mp_dbl): Likewise.
15951 (__dbl_mp): Likewise.
15952 (add_magnitudes): Likewise.
15953 (sub_magnitudes): Likewise.
15954 (__add): Likewise.
15955 (__sub): Likewise.
15956 (__mul): Likewise.
15957 (__inv): Likewise.
15958 (__dvd): Likewise.
15959
eede9df9
JM
159602013-01-08 Joseph Myers <joseph@codesourcery.com>
15961
15962 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15963 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15964 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15965 2 && __USE_EXTERN_INLINES]: Likewise.
15966
c40ea3d9
AJ
159672013-01-08 Andreas Jaeger <aj@suse.de>
15968
15969 [BZ# 14985]
15970 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15971 Remove.
15972 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15973 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15974
2ccdea26
AB
159752013-01-07 Anton Blanchard <anton@samba.org>
15976
15977 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15978 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15979 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15980 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15982 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15983 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15984 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15985 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15986 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15988 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15989 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15990 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15992 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15993 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15994 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15995 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15996 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15997 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15998 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15999 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16000 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16001 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16002 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16003 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16004 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16006 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16007 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16009 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16010 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16012 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16013 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16014 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16015 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16016 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16017 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16018 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16019 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16020
a9708fed
JM
160212013-01-07 Joseph Myers <joseph@codesourcery.com>
16022
375607b9
JM
16023 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16024 (__MALLOC_PMT): Likewise.
16025 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16026 [__GNUC__], only on [_LIBC].
16027 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16028 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16029 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16030 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16031 forward declaration.
16032 (realloc_hook_ini): Likewise.
16033 (memalign_hook_ini): Likewise.
16034 (__libc_memalign): Do not use __MALLOC_PMT in variable
16035 declaration.
16036 (__libc_valloc): Likewise.
16037 (__libc_pvalloc): Likewise.
16038 (__libc_calloc): Likewise.
16039 (__posix_memalign): Likewise.
16040
a9708fed
JM
16041 [BZ #14996]
16042 * math/s_casinh.c: Include <float.h>.
16043 (__casinh): Do not do computation with squaring and square root
16044 for large arguments.
16045 * math/s_casinhf.c: Include <float.h>.
16046 (__casinhf): Do not do computation with squaring and square root
16047 for large arguments.
16048 * math/s_casinhl.c: Include <float.h>.
16049 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16050 (__casinhl): Do not do computation with squaring and square root
16051 for large arguments.
16052 * math/libm-test.inc (casin_test): Add more tests.
16053 (casinh_test): Likewise.
16054 * sysdeps/i386/fpu/libm-test-ulps: Update.
16055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16056
afec409a
L
160572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16058
16059 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16060 (__x86_64_raw_data_cache_size): Likewise.
16061 (__x86_64_data_cache_size_half): Likewise.
16062 (__x86_64_raw_data_cache_size_half): Likewise.
16063 (__x86_64_shared_cache_size): Likewise.
16064 (__x86_64_raw_shared_cache_size): Likewise.
16065 (__x86_64_shared_cache_size_half): Likewise.
16066 (__x86_64_raw_shared_cache_size_half): Likewise.
16067 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16068 to ...
16069 (__x86_data_cache_size): This.
16070 (__x86_64_raw_data_cache_size): Renamed to ...
16071 (__x86_raw_data_cache_size): This.
16072 (__x86_64_data_cache_size_half): Renamed to ...
16073 (__x86_data_cache_size_half): This.
16074 (__x86_64_raw_data_cache_size_half): Renamed to ...
16075 (__x86_raw_data_cache_size_half): This.
16076 (__x86_64_shared_cache_size): Renamed to ...
16077 (__x86_shared_cache_size): This.
16078 (__x86_64_raw_shared_cache_size): Renamed to ...
16079 (__x86_raw_shared_cache_size): This.
16080 (__x86_64_shared_cache_size_half): Renamed to ...
16081 (__x86_shared_cache_size_half): This.
16082 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16083 (__x86_raw_shared_cache_size_half): This.
16084 * sysdeps/x86_64/memcpy.S: Updated.
16085 * sysdeps/x86_64/memset.S: Likewise.
16086 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16087 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16088 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16089
0b3986d0
DM
160902013-01-04 David S. Miller <davem@davemloft.net>
16091
16092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16093
e47686e9
AS
160942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16095
d643bac1
AS
16096 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16097 1 to avoid redefinition warning.
16098 (__USE_GNU): Don't define.
16099 (init_signaling_nan): Protoize.
16100
e47686e9
AS
16101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16102
b18decba
SP
161032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16104
fffb407f
SP
16105 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16107 (__cpymn): Likewise.
16108 (norm): Remove commented code.
16109 (denorm): Likewise.
16110 (__mp_dbl): Likewise.
16111 (__inv): Likewise.
16112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16113 (__cpymn): Likewise.
16114 (norm): Remove commented code.
16115 (denorm): Likewise.
16116 (__mp_dbl): Likewise.
16117 (__inv): Likewise.
16118
b18decba
SP
16119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16120 mp_no value for 1.0 and 2.0.
16121 (norm): Use RADIXI instead of radixi.d.
16122 (denorm): Likewise.
16123 (__mul): Use 0.0 instead of zero.d.
16124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16125 mp_no value for 1.0 and 2.0.
16126 (norm): Use RADIXI instead of radixi.d.
16127 (denorm): Likewise.
16128 (__mul): Use 0.0 instead of zero.d.
16129
cdc1c96f
JM
161302013-01-04 Joseph Myers <joseph@codesourcery.com>
16131
16132 [BZ #14994]
16133 * math/s_casinh.c (__casinh): Reduce finite argument to first
16134 quadrant then set signs of results at the end.
16135 * math/s_casinhf.c (__casinhf): Likewise.
16136 * math/s_casinhl.c (__casinhl): Likewise.
16137 * math/libm-test.inc (casin_test): Add more tests.
16138 (casinh_test): Likewise.
16139 * sysdeps/i386/fpu/libm-test-ulps: Update.
16140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16141
302913e1
SP
161422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16143
6420d207
SP
16144 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16145
a9e48ab4
SP
16146 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16147
b7837264
SP
16148 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16149 declarations.
16150 (denorm): Likewise.
16151 (__mp_dbl): Likewise.
16152 (__inv): Likewise.
16153
f8af25d2
SP
16154 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16155 and adjust the header comment.
16156
302913e1
SP
16157 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16158 variable name from declaration.
16159
5d7dd1ca
L
161602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16161
16162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16163 Initialize COMMON_CPUID_INDEX_7 element.
16164 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16165 (CPUID_RTM): Likewise.
16166 (HAS_RTM): Likewise.
16167 (COMMON_CPUID_INDEX_7): New enum.
16168
2f5f40f4
AS
161692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16170
16171 [BZ #14981]
16172 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16173 size is zero, record memory as freed.
16174
4056f4a0
AJ
161752013-01-03 Andreas Jaeger <aj@suse.de>
16176
16177 * po/ia.po: Add new Interlingua translation.
16178
ab15736f 161792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16180
16181 * locale/programs/localedef.c: Fix description of '--posix' flag.
16182
568035b7
JM
161832013-01-02 Joseph Myers <joseph@codesourcery.com>
16184
e6898b8d
JM
16185 * NEWS: Update dates in second copyright notice.
16186 * README: Update copyright dates in example.
16187 * manual/libc.texinfo: Update copyright dates.
16188 * scripts/test-installation.pl: Update copyright date in --version
16189 output.
16190
0e2f9562
JM
16191 * hurd/ctty-input.c: Fix copyright notice formatting.
16192 * hurd/ctty-output.c: Likewise.
16193 * hurd/dtable.c: Likewise.
16194 * hurd/hurd-raise.c: Likewise.
16195 * hurd/hurdprio.c: Likewise.
16196 * hurd/msgportdemux.c: Likewise.
16197 * misc/sys/file.h: Likewise.
16198 * misc/sys/ioctl.h: Likewise.
16199 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16200 * sysdeps/mach/hurd/chdir.c: Likewise.
16201 * sysdeps/mach/hurd/fchdir.c: Likewise.
16202 * sysdeps/mach/hurd/rename.c: Likewise.
16203 * sysdeps/mach/hurd/rmdir.c: Likewise.
16204 * sysdeps/mach/hurd/seekdir.c: Likewise.
16205 * sysdeps/mach/hurd/setsid.c: Likewise.
16206 * sysdeps/posix/wait3.c: Likewise.
16207
568035b7
JM
16208 * All files with FSF copyright notices: Update copyright dates
16209 using scripts/update-copyrights.
16210 * intl/plural.c: Regenerated.
16211 * locale/programs/charmap-kw.h: Likewise.
16212 * locale/programs/locfile-kw.h: Likewise.
16213
da08f647
SP
162142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16215
0f5477af
SP
16216 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16217 four values.
16218
44e0d4c2
SP
16219 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16220 calculation loop and add branch prediction.
16221
4d55b4e5
SP
16222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16223 check access beyond bounds of m1np.
16224
da08f647
SP
16225 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16226 MPTWO.
16227 (__inv): Remove local variable MPTWO to use the global
16228 constant.
16229 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16231 variable MPTWO.
16232 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16233 MP3HALFS static const.
16234
8e051029
DM
162352013-01-01 David S. Miller <davem@davemloft.net>
16236
16237 * po/ca.po: Update from translation team.
16238
f4cf5f2d
JM
162392013-01-01 Joseph Myers <joseph@codesourcery.com>
16240
16241 * scripts/update-copyrights: New file.
16242 * Makeconfig: Reformat copyright notice.
16243 * ctype/ctype.h: Likewise.
16244 * debug/swprintf_chk.c: Likewise.
16245 * elf/dl-cache.c: Likewise.
16246 * elf/dl-debug.c: Likewise.
16247 * elf/dl-object.c: Likewise.
16248 * grp/initgroups.c: Likewise.
16249 * hurd/Makefile: Likewise.
16250 * hurd/hurd/signal.h: Likewise.
16251 * hurd/hurdfault.c: Likewise.
16252 * hurd/hurdioctl.c: Likewise.
16253 * hurd/hurdlookup.c: Likewise.
16254 * hurd/intr-msg.c: Likewise.
16255 * iconv/gconv_open.c: Likewise.
16256 * libio/swprintf.c: Likewise.
16257 * locale/lc-ctype.c: Likewise.
16258 * locale/nl_langinfo.c: Likewise.
16259 * mach/Machrules: Likewise.
16260 * mach/Makefile: Likewise.
16261 * malloc/obstack.h: Likewise.
16262 * manual/Makefile: Likewise.
16263 * manual/tsort.awk: Likewise.
16264 * misc/bits/stab.def: Likewise.
16265 * nis/nis_print_group_entry.c: Likewise.
16266 * nis/nis_table.c: Likewise.
16267 * nis/nss_compat/compat-pwd.c: Likewise.
16268 * nis/nss_compat/compat-spwd.c: Likewise.
16269 * po/Makefile: Likewise.
16270 * posix/fnmatch.c: Likewise.
16271 * posix/regex.h: Likewise.
16272 * resolv/Makefile: Likewise.
16273 * resolv/nss_dns/dns-network.c: Likewise.
16274 * resolv/res_hconf.c: Likewise.
16275 * scripts/gen-sorted.awk: Likewise.
16276 * soft-fp/soft-fp.h: Likewise.
16277 * stdio-common/printf.h: Likewise.
16278 * stdlib/monetary.h: Likewise.
16279 * stdlib/random.c: Likewise.
16280 * stdlib/random_r.c: Likewise.
16281 * sysdeps/generic/Makefile: Likewise.
16282 * sysdeps/gnu/Makefile: Likewise.
16283 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16285 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16287 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16289 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16290 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16293 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16294 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16295 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16296 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16297 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16299 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16301 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16302 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16303 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16304 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16305 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16311 * sysdeps/mach/hurd/errnos.awk: Likewise.
16312 * sysdeps/mach/hurd/fork.c: Likewise.
16313 * sysdeps/mach/hurd/getcwd.c: Likewise.
16314 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16315 * sysdeps/mach/hurd/mmap.c: Likewise.
16316 * sysdeps/mach/hurd/utimes.c: Likewise.
16317 * sysdeps/mach/hurd/xmknod.c: Likewise.
16318 * sysdeps/posix/profil.c: Likewise.
16319 * sysdeps/posix/readdir_r.c: Likewise.
16320 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16321 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16322 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16323 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16325 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16327 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16329 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16330 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16331 * sysdeps/pthread/lio_listio.c: Likewise.
16332 * sysdeps/sparc/dl-procinfo.h: Likewise.
16333 * sysdeps/unix/i386/sysdep.S: Likewise.
16334 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16335 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16336 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16337 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16339 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16340 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16341 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16342 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16343 * sysdeps/wordsize-32/divdi3.c: Likewise.
16344 * time/sys/time.h: Likewise.
16345 * wcsmbs/Makefile: Likewise.
16346
0549fbba
DM
163472013-01-01 David S. Miller <davem@davemloft.net>
16348
a141f1a7
DM
16349 * po/fr.po: Update from translation team.
16350
0549fbba
DM
16351 * catgets/gencat.c: Update copyright year.
16352 * csu/version.c: Likewise.
16353 * debug/catchsegv.sh: Likewise.
16354 * debug/pcprofiledump.c: Likewise.
16355 * debug/xtrace.sh: Likewise.
16356 * elf/ldconfig.c: Likewise.
16357 * elf/ldd.bash.in: Likewise.
16358 * elf/pldd.c: Likewise.
16359 * elf/sotruss.ksh: Likewise.
16360 * elf/sprof.c: Likewise.
16361 * iconv/iconv_prog.c: Likewise.
16362 * iconv/iconvconfig.c: Likewise.
16363 * locale/programs/locale.c: Likewise.
16364 * locale/programs/localedef.c: Likewise.
16365 * login/programs/pt_chown.c: Likewise.
16366 * malloc/memusage.sh: Likewise.
16367 * malloc/memusagestat.c: Likewise.
16368 * malloc/mtrace.pl: Likewise.
16369 * nscd/nscd.c: Likewise.
16370 * nss/getent.c: Likewise.
16371 * nss/makedb.c: Likewise.
16372 * posix/getconf.c: Likewise.
16373
18ea052c
SP
163742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16375
16376 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16377 numbers.
16378
9c89fca6
MF
163792012-12-30 Mike Frysinger <vapier@gentoo.org>
16380
16381 * math/bits/mathcalls.h (modf): Use __nonnull.
16382
085ec079
SP
163832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16384
16385 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16386 (split): Use macro CN instead of the bare value.
16387 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16388 could be used.
16389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16390 instead of the bare value.
16391 (power1): Likewise.
16392
6d9f97e1
SP
163932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16394
d63f73be
SP
16395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16396 __ATAN_TWOM.
16397 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16398
6d9f97e1
SP
16399 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16400 their values.
16401 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16403 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16404 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16405
4c4febf5
AJ
164062012-12-28 Andreas Jaeger <aj@suse.de>
16407
af5843ef
AJ
16408 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16409 values are from Linux 3.7.
16410
4c4febf5
AJ
16411 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16412 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16413
99136f82
SP
164142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16415
2f216c3c 16416 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16417 TRUE case.
16418
99136f82
SP
16419 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16420 (norm): Likewise.
16421 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16422 variables with preprocessor constants.
16423 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16424 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16425 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16426
7fffbdff
BH
164272012-12-27 Bruno Haible <bruno@clisp.org>
16428
16429 [BZ #14317]
16430 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16431 only if needed.
16432
b76eb5f0
SP
164332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16434
31a7fe5c
SP
16435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16436 and use variable directly.
16437 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16438
b76eb5f0
SP
16439 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16440 MPONE.
16441 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16442 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16443 variable MPONE.
16444 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16445 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16446 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16447 include directive. Remove local variable MPONE.
16448 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16449 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16450 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16451
2c8bfe7d
DM
164522012-12-25 David S. Miller <davem@davemloft.net>
16453
16454 * version.h (RELEASE): Set to "development".
16455 (VERSION): Set to "2.17.90".
16456 * NEWS: Add 2.18 section.
16457
147d03b0
DM
164582012-12-21 David S. Miller <davem@davemloft.net>
16459
16460 * po/hr.po: Update from translation team.
16461
a8ebb2b9
AK
164622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16463
16464 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16465
95b4f1b6
SE
164662012-12-19 Steve Ellcey <sellcey@mips.com>
16467
b2d94007 16468 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16469
cedb2a90
MS
164702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16471
16472 * manual/contrib.texi (Contributors): Spelling correction.
16473
bbf527d6
DM
164742012-12-15 David S. Miller <davem@davemloft.net>
16475
16476 * po/ru.po: Update from translation team.
16477
bc38c906
DM
164782012-12-13 David S. Miller <davem@davemloft.net>
16479
85429b1a
DM
16480 * NEWS: Mention IFUNC testsuite enhancements.
16481
d283e353
DM
16482 * po/pl.po: Update from translation team.
16483 * po/bg.po: Likewise.
16484
bc38c906
DM
16485 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16486 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16487
a181b0d7
DM
164882012-12-11 David S. Miller <davem@davemloft.net>
16489
4641d57e
DM
16490 * po/sv.po: Update from translation team.
16491
f7bc6495
DM
16492 * po/vi.po: Update from translation team.
16493
6fc9048f
DM
16494 * po/cs.po: Update from translation team.
16495
a181b0d7
DM
16496 * po/de.po: Update from translation team.
16497 * po/eo.po: Likewise.
16498 * po/nl.po: Likewise.
16499
f70bfe80
SP
165002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16501
3c8b4190
SP
16502 [BZ #14246]
16503 * manual/argp.texi (Argp Helper Functions): Move node to follow
16504 Argp Parsing State.
16505
f70bfe80
SP
16506 [BZ #14872]
16507 * manual/conf.texi (Limits on File System Capacity): Mention if
16508 terminating null is included in the max size.
16509
188f0adf
AJ
165102012-12-10 Andreas Jaeger <aj@suse.de>
16511
16512 * po/cs.po: Update from translation team.
16513
56e7d3ad
SP
165142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16515
16516 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16517 void pointer and cast to uintptr_t.
16518 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16519 path.
16520 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16521 * sysdeps/s390/s390-64/memset.S: Likewise.
16522
76f2d2ea 165232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16524
16525 [BZ #14833]
16526 * menual/message.texi (Message Translation): Fix typos.
16527 (Helper programs for gettext): Likewise.
16528
67cbf9a2
AS
165292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16530
16531 [BZ #14898]
16532 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16533 Change to -1.
16534
682d0e9a
DM
165352012-12-07 David S. Miller <davem@davemloft.net>
16536
16537 * po/libc.pot: Update.
16538
573cd484
RH
165392012-12-07 Richard Henderson <rth@redhat.com>
16540
7e9da188 16541 [BZ #10114]
573cd484
RH
16542 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16543 normal/normal case to before the switch.
16544 (_FP_DIV): Likewise.
16545
e933a943
MF
165462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16547 Mike Frysinger <vapier@gentoo.org>
16548
16549 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16550 check for __NR_fadvise64_64.
16551
82123268
CM
165522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16553
16554 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16555 0, not just to plain "0" as a statement.
16556 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16557 with cw.
16558
d9814526
JM
165592012-12-06 Joseph Myers <joseph@codesourcery.com>
16560
16561 * NEWS: Use sourceware.org in Bugzilla URL.
16562
7728c574
SP
165632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16564
f16946dd
SP
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16566 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16567
5704bbcb
SP
16568 * stdio-common/tst-put-error.c (do_test): Add newline to the
16569 padded test to ensure flush.
16570
17aa0516
JL
165712012-12-05 Jeff Law <law@redhat.com>
16572
16573 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16574
363313b5
JM
165752012-12-05 Joseph Myers <joseph@codesourcery.com>
16576
effbd42a
JM
16577 * README: Don't refer to ports add-on as distributed separately.
16578 Mention AArch64 in list of systems supported in the ports add-on.
16579
87600365
JM
16580 * LICENSES: Add more non-FSF copyright and license notices.
16581
a0d7066a
JM
16582 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16583 ((unused)).
16584
66ca5a5b
JM
16585 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16586
363313b5
JM
16587 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16588 10000 as width of padded output.
16589
b37984ad
JM
165902012-12-04 Joseph Myers <joseph@codesourcery.com>
16591
9003570a
JM
16592 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16593
b37984ad
JM
16594 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16595 variable LX with __attribute__ ((unused)).
16596 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16597 Likewise.
16598 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16600 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16601 with __attribute__ ((unused)).
16602
c8df52ec
DM
166032012-12-04 David S. Miller <davem@abraco.davemloft.net>
16604
16605 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16606
b3b099af
JM
166072012-12-04 Joseph Myers <joseph@codesourcery.com>
16608
c33aa6e3
JM
16609 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16610 (CFLAGS-nldbl-acos.c): New variable.
16611 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16612 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16613 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16614 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16615 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16616 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16617 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16618 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16619 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16620 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16621 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16622 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16623 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16624 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16625 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16626 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16627 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16628 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16629 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16630 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16631 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16632 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16633 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16634 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16635 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16636 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16637 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16638 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16639 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16640 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16641 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16642 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16643 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16644 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16645 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16646 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16647 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16648 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16649 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16650 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16651 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16652 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16653 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16654 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16655 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16656 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16657 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16658 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16659 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16660 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16661 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16662 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16663 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16664 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16665 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16666 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16667 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16668 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16669 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16670 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16671 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16672 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16673 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16674 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16675 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16676 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16677 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16678 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16679 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16680 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16681 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16682 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16683 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16684 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16685 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16686 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16687 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16688 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16689 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16690 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16691 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16692 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16693 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16694 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16695 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16696 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16697 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16698 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16699 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16700 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16701 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16702 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16703 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16704 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16705 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16706 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16707 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16708
20f0018d
JM
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16710 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16711
b3b099af
JM
16712 [BZ #14914]
16713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16714 whole low double instead of just low 47 bits when splitting values
16715 into two parts.
16716
029264d1
AM
167172012-12-03 Allan McRae <allan@archlinux.org>
16718
16719 * manual/stdio.texi (Predefined Printf Handlers): Remove
16720 @hsep and @vsep usage.
16721
c9d6789e
MF
167222012-12-03 Mike Frysinger <vapier@gentoo.org>
16723
16724 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16725 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16726
4b7634a5
JL
167272012-12-03 Jeff Law <law@redhat.com>
16728
16729 * time/sys/time.h (settimeofday): Do not mark TV argument
16730 as __nonnull.
16731
eb6cbd24
MF
167322012-12-01 Mike Frysinger <vapier@gentoo.org>
16733
16734 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16735 when currently writing and seek to current position when not.
16736 * libio/Makefile (tests): Remove bug-fclose1.
16737 * libio/bug-fclose1.c: Delete.
16738
f638872a
JM
167392012-12-01 Joseph Myers <joseph@codesourcery.com>
16740
16741 * manual/arith.texi (feenableexcept): Fix typo.
16742 (fedisableexcept): Likewise.
16743
48085d14
RM
167442012-11-30 Roland McGrath <roland@hack.frob.com>
16745
16746 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16747 second, differently-typed declaration, rather than a cast.
16748
1a538b9f
SP
167492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16750
16751 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16752 * include/rpc/svc.h: ... here.
16753
d07f2ff1 167542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
16755
16756 [BZ #13013]
16757 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16758 depending n and resplen2 to catch cases where answer
16759 equals answerp2.
16760
c93ec1f0
CD
167612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16762
16763 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16764 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16765
37db69de
MF
167662012-11-29 Mike Frysinger <vapier@gentoo.org>
16767
16768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16769
e10c4e4f
RM
167702012-11-29 Roland McGrath <roland@hack.frob.com>
16771
16772 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16773
2af1b328
JL
167742012-11-28 Jeff Law <law@redhat.com>
16775
16776 [BZ #13761]
16777 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16778 dataset_temporary. Track alloca usage into alloca_used.
16779 If dataset is large allocate and release it via malloc/free.
16780
111db5b1
FW
167812012-06-04 Florian Weimer <fweimer@redhat.com>
16782
f06cc227 16783 [BZ #14197]
111db5b1
FW
16784 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16785
dd694abd
DM
167862012-11-28 David S. Miller <davem@davemloft.net>
16787
16788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16789
9984dd01
JM
167902012-11-28 Joseph Myers <joseph@codesourcery.com>
16791
16792 [BZ #14803]
16793 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16794 of pi/2 rounded to nearest to 64 bits.
16795 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16796 nearest to 64 bits.
16797 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16798 bits.
16799
14bc93a9
JL
168002012-11-28 Jeff Law <law@redhat.com>
16801 Martin Osvald <mosvald@redhat.com>
16802
16803 [BZ #14889]
16804 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16805 * sunrpc/svc.c: Include time.h.
16806 (__svc_accept_failed): New function.
16807 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16808 any reason other than EINTR, call __svc_accept_failed.
16809 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16810 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16811
e3c6aa3a
AS
168122012-11-28 Andreas Schwab <schwab@suse.de>
16813
16814 * scripts/abilist.awk: Also handle indirect functions in .opd
16815 section.
16816
1bead169
JM
168172012-11-28 Joseph Myers <joseph@codesourcery.com>
16818
16819 [BZ #13881]
16820 * sysdeps/x86/fpu/powl_helper.c: New file.
16821 * sysdeps/x86/fpu/Makefile: Likewise.
16822 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16823 (p3): New object.
16824 (__ieee754_powl): Use __powl_helper for finite arguments except
16825 integer exponents below 8.
16826 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16827 (p3): New object.
16828 (__ieee754_powl): Use __powl_helper for finite arguments except
16829 integer exponents below 8.
16830 * math/libm-test.inc (pow_test): Add more tests and enable some
16831 previously disabled tests.
16832 * sysdeps/i386/fpu/libm-test-ulps: Update.
16833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16834
0817d63d
SP
168352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16836 Carlos O'Donell <carlos_odonell@mentor.com>
16837
16838 * nss/makedb.c (is_prime): Assert that input is odd and greater
16839 than 4. Note that fact in a comment too.
16840 (next_prime): Add 4 to input.
16841
de2fd463
SP
168422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 [BZ #11741]
16845 * libio/Makefile (tests): Add test case tst-fwrite-error.
16846 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16847 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16848 * libio/tst-fwrite-error.c: New test case.
16849
c515fb51
L
168502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16851
16852 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16853 before casting to void *.
16854 * include/libc-internal.h (__pointer_type): New macro.
16855 (__integer_if_pointer_type_sub): Likewise.
16856 (__integer_if_pointer_type): Likewise.
16857 (cast_to_integer): Likewise.
16858 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16859 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16860 before casting to atomic64_t.
16861 (atomic_exchange_acq): Likewise.
16862 (__arch_exchange_and_add_body): Likewise.
16863 (__arch_add_body): Likewise.
16864 (atomic_add_negative): Likewise.
16865 (atomic_add_zero): Likewise.
16866
4cf77aa9
JM
168672012-11-26 Joseph Myers <joseph@codesourcery.com>
16868
16869 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16870 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16871 (add_fdes): Likewise.
16872 (linear_search_fdes): Likewise.
16873 (binary_search_unencoded_fdes): Likewise.
16874
d260b3b4
AS
168752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16876
16877 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16878
67060746
AC
168792012-11-24 Adam Conrad <adconrad@0c3.net>
16880
16881 * configure.in: Autodetect C++ header directories.
16882 * configure: Regenerated.
16883
800938a1
MF
168842012-11-23 Mike Frysinger <vapier@gentoo.org>
16885
16886 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16887
4e6e34e6
AS
168882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16889
16890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16891
7c7feb47
JM
168922012-11-22 Joseph Myers <joseph@codesourcery.com>
16893
7184dcdf
JM
16894 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16895 LDBL_MANT_DIG == 106]: Disable some tests.
16896 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16897 Likewise.
16898 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16899 Likewise.
16900
0a42601f
JM
16901 [BZ #14871]
16902 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16903 input for small inputs. Return +/- pi/2 for large inputs.
16904 * math/libm-test.inc (atan_test): Add more tests.
16905
79c9b9fe
JM
16906 * sysdeps/generic/unwind-dw2-fde-glibc.c
16907 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16908 __attribute__ ((unused)).
16909
c60d3bf2
JM
16910 [BZ #14645]
16911 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16912 x * y if x and y are nonzero and z is zero.
16913
ef1e0867
JM
16914 [BZ #14811]
16915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16916 nonzero exponents with absolute value below 0x1p-117 to +/-
16917 0x1p-117.
16918
1468ded3
JM
16919 [BZ #14869]
16920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16921 up arguments below 2**-450, not just those below 2**-500.
16922 * math/libm-test.inc (hypot_test): Add another test.
16923
8e27e3cc
JM
16924 [BZ #14868]
16925 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16926 Return a+b for ratio over 2**120, not 2**60.
16927 * math/libm-test.inc (hypot_test): Add another test.
16928
c9c0279b
JM
16929 * math/libm-test.inc (clog_test): Use
16930 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16931 (clog10_test): Likewise.
16932
7c7feb47
JM
16933 [BZ #6778]
16934 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16935
fff1530e
AS
169362012-11-22 Andreas Schwab <schwab@suse.de>
16937
16938 * sysdeps/i386/fpu/libm-test-ulps: Update.
16939
94558d30
PT
169402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16941
16942 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16943 printf output with newline.
16944
7e1be741
L
169452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16946
6bfea974
L
16947 [BZ #14865]
16948 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16949 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16950 -z nodlopen, -z initfirst and -z execstack support.
16951 * configure: Regenerated.
16952
7e1be741
L
16953 * elf/elf.h (DF_1_NODIRECT): New macro.
16954 (DF_1_IGNMULDEF): Likewise.
16955 (DF_1_NOKSYMS): Likewise.
16956 (DF_1_NOHDR): Likewise.
16957 (DF_1_EDITED): Likewise.
16958 (DF_1_NORELOC): Likewise.
16959 (DF_1_SYMINTPOSE): Likewise.
16960 (DF_1_GLOBAUDIT): Likewise.
16961 (DF_1_SINGLETON): Likewise.
16962 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16963 DT_1_SUPPORTED_MASK bits.
16964 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16965
105ce2ce
CD
169662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16967
16968 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16969
123be9de
TS
169702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16971
d072f3f7
TS
16972 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16973 macro.
16974
123be9de
TS
16975 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16976 (sendmmsg): Move declarations...
16977 * socket/sys/socket.h: ... here.
16978 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16979 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16980 include it from...
16981 * socket/recvmmsg.c: ... this new file.
16982 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16983 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16984 definition of __sendmmsg hidden.
16985 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16986 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16987 Move ENOSYS stub into and include it from...
16988 * socket/sendmmsg.c: ... this new file.
16989 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16990 (sysdep_routines): Move recvmmsg and sendmmsg...
16991 * socket/Makefile (routines): ... here.
16992 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16993 (GLIBC_PRIVATE): Add __sendmmsg.
16994 * include/sys/socket.h (__sendmmsg): Add declarations.
16995 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16996 sendmmsg.
16997
cf9a5d18
JM
169982012-11-20 Joseph Myers <joseph@codesourcery.com>
16999
17000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17001 variable I1 with __attribute__ ((unused)).
17002 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17003
ecd4caf9
JM
170042012-11-19 Joseph Myers <joseph@codesourcery.com>
17005
be14d48f
JM
17006 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17007 DUMMY variables with __attribute__ ((unused)).
17008
ecd4caf9
JM
17009 * bits/byteswap.h: Include <bits/types.h>.
17010 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17011
986cab95
PT
170122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17013
17014 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17015 string_t. Do not manually set errno.
17016 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17017 length with __strnlen. Make sure to both set errno and return it on
17018 failure.
17019
6d33cc9d
DM
170202012-11-19 David S. Miller <davem@davemloft.net>
17021
17022 With help from Joseph Myers.
17023 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17024 very large arguments properly.
17025 * math/libm-test.inc (atan_test): New tests.
17026 (atan2_test): New tests.
17027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17029
ee663277
JM
170302012-11-19 Joseph Myers <joseph@codesourcery.com>
17031
877f2d8e
JM
17032 [BZ #14856]
17033 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17034 Define to 3.
17035
116fc08a
JM
17036 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17037 [POSIX] (EADDRNOTAVAIL): Likewise.
17038 [POSIX] (EAFNOSUPPORT): Likewise.
17039 [POSIX] (EALREADY): Likewise.
17040 [POSIX] (ECONNABORTED): Likewise.
17041 [POSIX] (ECONNREFUSED): Likewise.
17042 [POSIX] (ECONNRESET): Likewise.
17043 [POSIX] (EDESTADDRREQ): Likewise.
17044 [POSIX] (EDQUOT): Likewise.
17045 [POSIX] (EHOSTUNREACH): Likewise.
17046 [POSIX] (EIDRM): Likewise.
17047 [POSIX] (EISCONN): Likewise.
17048 [POSIX] (ELOOP): Likewise.
17049 [POSIX] (EMULTIHOP): Likewise.
17050 [POSIX] (ENETDOWN): Likewise.
17051 [POSIX] (ENETUNREACH): Likewise.
17052 [POSIX] (ENOBUFS): Likewise.
17053 [POSIX] (ENODATA): Likewise.
17054 [POSIX] (ENOLINK): Likewise.
17055 [POSIX] (ENOMSG): Likewise.
17056 [POSIX] (ENOPROTOOPT): Likewise.
17057 [POSIX] (ENOSR): Likewise.
17058 [POSIX] (ENOSTR): Likewise.
17059 [POSIX] (ENOTCONN): Likewise.
17060 [POSIX] (ENOTSOCK): Likewise.
17061 [POSIX] (EOPNOTSUPP): Likewise.
17062 [POSIX] (EOVERFLOW): Likewise.
17063 [POSIX] (EPROTO): Likewise.
17064 [POSIX] (EPROTONOSUPPORT): Likewise.
17065 [POSIX] (EPROTOTYPE): Likewise.
17066 [POSIX] (ESTALE): Likewise.
17067 [POSIX] (ETIME): Likewise.
17068 [POSIX] (ETXTBSY): Likewise.
17069 [POSIX] (EWOULDBLOCK): Likewise.
17070 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17071 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17072 [POSIX] (SEEK_CUR): Likewise.
17073 [POSIX] (SEEK_END): Likewise.
17074 [POSIX || UNIX98] (mode_t): Do not require.
17075 [POSIX] (off_t): Likewise.
17076 [POSIX] (pid_t): Likewise.
17077 [POSIX] (sys/stat.h): Do not allow header.
17078 [POSIX] (unistd.h): Likewise.
17079 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17080 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17081 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17082 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17083 require.
17084 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17085 sigevent): Specify elements.
17086 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17087 entry.
17088 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17089 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17090
a483863f
JM
17091 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17092 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17093 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17094 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17095 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17096 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17097 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17098 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17099 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17100 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17101 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17102 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17103 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17104 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17105 Likewise.
17106 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17107 Likewise.
17108 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17109 Likewise.
17110 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17111 Likewise.
17112 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17113 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17114 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17115 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17116 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17117 Specify lower bound on value.
17118 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17119 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17120 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17121 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17122 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17123 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17124 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17125 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17126 value.
17127 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17128 as optional.
17129 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17130 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17131 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17132 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17133 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17134 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17135 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17136 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17137 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17138 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17139 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17140 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17141 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17142 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17143 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17144 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17145 entry.
17146 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17147 optional.
17148 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17149 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17150 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17151 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17152 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17153 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17154 Likewise.
17155 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17156 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17157 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17158 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17159 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17160 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17161 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17162 as optional.
17163 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17164 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17165 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17166 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17167 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17168 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17169 specify as optional.
17170 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17171 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17172 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17173 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17174 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17175 [XPG3] (NL_LANGMAX): Likewise.
17176 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17177 [POSIX || XPG3] (NL_NMAX): Likewise.
17178 [POSIX || XPG3] (NL_SETMAX): Likewise.
17179 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17180 [XPG3] (NZERO): Likewise.
17181 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17182 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17183 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17184 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17185 (REG_ERANGE): Expect.
17186 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17187 optional-constant.
17188 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17189 Use (void) in prototype.
17190 [POSIX] (*_t): Allow.
17191 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17192 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17193 (WRDE_BADVAL): Expect.
17194
5ba924e3
JM
17195 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17196 expect.
17197 [XPG3 || XPG4] (O_RSYNC): Likewise.
17198 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17199 Likewise.
17200 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17201 [XPG3 || XPG4] (sigqueue): Likewise.
17202 [XPG3 || XPG4] (sigtimedwait): Likewise.
17203 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17204 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17205 [XPG3 || XPG4] (vsnprintf): Likewise.
17206 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17207 Likewise.
17208 [XPG3 || XPG4] (blksize_t): Likewise.
17209 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17210 Likewise.
17211 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17212 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17213 [XPG3 || XPG4] (struct itimerspec): Likewise.
17214 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17215 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17216 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17217 [XPG3 || XPG4] (clockid_t): Likewise.
17218 [XPG3 || XPG4] (timer_t): Likewise.
17219 [XPG3 || XPG4] (clock_getres): Likewise.
17220 [XPG3 || XPG4] (clock_gettime): Likewise.
17221 [XPG3 || XPG4] (clock_settime): Likewise.
17222 [XPG3 || XPG4] (nanosleep): Likewise.
17223 [XPG3 || XPG4] (timer_create): Likewise.
17224 [XPG3 || XPG4] (timer_delete): Likewise.
17225 [XPG3 || XPG4] (timer_gettime): Likewise.
17226 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17227 [XPG3 || XPG4] (timer_settime): Likewise.
17228 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17229 [XPG3 || XPG4] (getlogin_r): Likewise.
17230 [XPG3 || XPG4] (pread): Likewise.
17231 [XPG3 || XPG4] (pthread_atfork): Likewise.
17232 [XPG3 || XPG4] (pwrite): Likewise.
17233
ee663277
JM
17234 [BZ #14835]
17235 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17236 <bits/siginfo.h>.
17237
942caa16
PT
172382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17239
e19af380
PT
17240 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17241 finalizing MALLSTREAM.
17242
942caa16
PT
17243 * sysdeps/mach/hurd/syncfs.c: New file.
17244
cfde9b46
SP
172452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17246
17247 [BZ #14719]
17248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17249 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17250 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17251 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17252 (_nss_dns_gethostbyname4_r): Likewise.
17253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17254 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17255
f6da27e5
PH
172562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17257
17258 [BZ #13763]
17259 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17260
6665d4a2
SM
172612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17262
1f51ee92
SM
17263 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17264 * elf/cache.c (print_entry): Print ",AArch64" for
17265 FLAG_AARCH64_LIB64
17266
6665d4a2
SM
17267 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17268 * elf/cache.c (print_entry): Print ",hard-float" for
17269 FLAG_ARM_LIBHF.
17270
05b227bd
DM
172712012-11-18 David S. Miller <davem@davemloft.net>
17272
17273 With help from Joseph Myers.
17274 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17275 cutoff to 2**-13.
17276 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17277 cutoff to 2**-25.
17278 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17279 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17280 small.
17281 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17282 * math/libm-test.inc (y0_test): New tests.
17283 (y1_test): New tests.
17284 * sysdeps/i386/fpu/libm-test-ulps: Update.
17285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17287
786b0b67
AS
172882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17289
17290 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17291 64-bit targets.
17292 * configure: Regenerated.
17293
8e18b86d
DM
172942012-11-17 David S. Miller <davem@davemloft.net>
17295
17296 [BZ #14811]
17297 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17298 nonzero exponents with absolute value below 0x1p-128 to +/-
17299 0x1p-128.
17300
531f1ae0
JM
173012012-11-17 Joseph Myers <joseph@codesourcery.com>
17302
12df29e2
JM
17303 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17304
150dc1a0
JM
17305 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17306
531f1ae0
JM
17307 * posix/getconf-speclist.c: New file.
17308 * posix/posix-envs.def: Likewise.
17309 * posix/confstr.c (START_ENV_GROUP): New macro.
17310 (END_ENV_GROUP): Likewise.
17311 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17312 (KNOWN_PRESENT_ENV_STRING): Likewise.
17313 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17314 (UNKNOWN_ENVIRONMENT): Likewise.
17315 (confstr): Include posix-envs.def instead of handling
17316 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17317 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17318 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17319 (END_ENV_GROUP): Likewise.
17320 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17321 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17322 (UNKNOWN_ENVIRONMENT): Likewise.
17323 (__sysconf): Include posix-envs.def instead of handling associated
17324 cases directly here.
17325 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17326 preprocessing getconf-speclist.c rather than running getconf or
17327 generating empty file.
17328
a93f9cbc
PT
173292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17330
17331 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17332
d64d9f87
AL
173332012-11-16 Andrej Lajovic <natrij@gmail.com>
17334
17335 [BZ #14672]
17336 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17337
447885eb
DM
173382012-11-16 David S. Miller <davem@davemloft.net>
17339
17340 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17341 smaller than LDBL_EPSILON/2.0L, just return xm1.
17342
bcbf9830
L
173432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17344
17345 * elf/tst-array1.c (init): Set constructor priority to 1000.
17346 (fini): Set destructor priority to 1000.
17347 * elf/tst-array2dep.c: Likewise.
17348
2b766585
SP
173492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17350
17351 [BZ #11741]
17352 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17353 (_IO_new_file_xsputn): Also return EOF if none of the input
17354 data was written when overflow failed.
17355 * libio/iopadn.c (_IO_padn): Likewise.
17356 * libio/iowpadn.c (_IO_wpadn): Likewise.
17357 * stdio-common/tst-put-error.c: Add copyright notice.
17358 (do_test): Add case for printing padded string.
17359 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17360 _IO_padn returned error.
17361 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17362 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17363 return EOF.
17364
b1848fde
SP
173652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17366
17367 * libio/libioP.h: Add comment note that the references to C++
17368 bits are now obsolete.
17369
2fd89785
MS
173702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17371
17372 * math/libm-test.inc (check_complex): Use asprintf.
17373
e3ea5409
JM
173742012-11-14 Joseph Myers <joseph@codesourcery.com>
17375
17376 * debug/pcprofiledump.c (print_version): Update copyright year.
17377 * malloc/memusagestat.c (print_version): Likewise.
17378
2e64d265
L
173792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 [BZ #14831]
17382 * elf/Makefile (tests): Add tst-audit8.
17383 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17384 ($(objpfx)tst-audit8.out): New target.
17385 (tst-audit8-ENV): New variable.
17386 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17387 audit if l_reloc_result is NULL.
17388 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17389 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17390 * elf/tst-audit8.c: New file.
17391
c485e4d2
MS
173922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17393
17394 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17395 * misc/Makefile (CFLAGS-select.c): Define.
17396 * posix/Makefile (CFLAGS-pause.c): Define.
17397
3a0d900a
DM
173982012-11-13 David S. Miller <davem@davemloft.net>
17399
17400 * crypt/Makefile: Move test targets after toplevel Rules
17401 inclusion. Grab any necessary sysdep routines when linking.
17402 * crypt/md5.c (md5_process_block): Remove define, we will always
17403 name it __md5_process_block.
17404 (md5_finish_ctx): Update md5_process_block call.
17405 (md5_stream): Likewise.
17406 (md5_process_bytes): Likewise.
17407 (md5_process_block): Rename to __md5_process_block and move to ...
17408 * crypt/md5-block.c: ... here.
17409 * crypt/sha256.c (sha256_process_block): Move to ...
17410 * crypt/sha256-block.c: ... here.
17411 * crypt/sha512.c (sha512_process_block): Move to ...
17412 * crypt/sha512-block.c: ... here.
17413 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17414 path.
17415 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17416 * sysdeps/sparc/sparc64/multiarch/Makefile
17417 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17418 crypt subdir.
17419 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17420 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17421 multiarch changes.
17422 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17423 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17424 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17425 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17426 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17427 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17428 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17429 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17430 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17431 file.
17432 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17433 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17434 file.
17435 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17436
8ca89318
JM
174372012-11-13 Joseph Myers <joseph@codesourcery.com>
17438
e27d476a
JM
17439 * timezone/tzselect.ksh: Update from tzcode git revision
17440 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17441 * timezone/zdump.c: Likewise.
17442 * timezone/zic.c: Likewise.
17443 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17444 in TZVERSION setting, not $(PKGVERSION).
17445 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17446 REPORT_BUGS_TO settings.
17447
8ca89318
JM
17448 [BZ #14838]
17449 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17450 macro.
17451
47594329
MS
174522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17453
17454 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17455 detection to immediately after _FP_ROUND().
17456 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17457 bits are 0.
17458
640ac3f1
DM
174592012-11-11 David S. Miller <davem@davemloft.net>
17460
17461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17462 inttypes.h
17463 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17464 __close rather than their public counterparts.
17465
3d2577bb
JM
174662012-11-10 Joseph Myers <joseph@codesourcery.com>
17467
17468 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17469 file.
17470 [UNIX98] (sem_timedwait): Do not expect.
17471 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17472 [XPG4 || UNIX98] (sockatmark): Do not expect.
17473 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17474 (clock_getcpuclockid): Do not expect.
17475 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17476 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17477 Do not expect.
17478 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17479 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17480 [UNIX98] (vwscanf): Likewise.
17481 [UNIX98] (vswscanf): Likewise.
17482
fb1ae1ee
JM
174832012-11-09 Joseph Myers <joseph@codesourcery.com>
17484
9ec6f8bd
JM
17485 * timezone/version.h: Remove file.
17486 * timezone/README: Do not refer to version.h.
17487 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17488 $(objpfx)version.h.
17489 ($(objpfx)zdump.o): Likewise.
c3f81911 17490 ($(objpfx)version.h): New target.
9ec6f8bd 17491
0aa8f8a1
JM
17492 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17493 2012i.
17494 * timezone/README: Don't mention modification to tzselect.ksh.
17495 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17496 work on unmodified tzselect.ksh. Substitute version numbers in
17497 tzselect.ksh.
17498
4e87147f
JM
17499 * Makefile (format-me): Remove.
17500 (INSTALL): Adjust indentation. Use commands directly instead of
17501 using $(format-me).
17502
8b748aed
JM
17503 * aclocal.m4 (ACX_PKGVERSION): New macro.
17504 (ACX_BUGURL): Likewise.
17505 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17506 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17507 (REPORT_BUGS_TO): Likewise.
17508 * configure: Regenerated.
17509 * config.h.in (PKGVERSION): New macro.
17510 (REPORT_BUGS_TO): Likewise.
17511 * config.make.in (PKGVERSION): New variable.
17512 (PKGVERSION_TEXI): Likewise.
17513 (REPORT_BUGS_TO): Likewise.
17514 (REPORT_BUGS_TEXI): Likewise.
17515 * Makefile (format-me): Use -I$(common-objpfx)manual.
17516 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17517 ($(common-objpfx)manual/%): New target.
17518 (manual/%): Remove target.
17519 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17520 (print_version): Use PKGVERSION.
17521 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17522 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17523 and REPORT_BUGS_TO.
17524 ($(objpfx)xtrace): Likewise.
17525 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17526 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17527 (print_version): Use PKGVERSION.
17528 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17529 (do_version): Use PKGVERSION.
17530 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17531 REPORT_BUGS_TO.
17532 (common-ldd-rewrite): Likewise.
17533 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17534 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17535 (print_version): Use PKGVERSION.
17536 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17537 * elf/pldd.c (argp_program_bug_address): Remove variable.
17538 (more_help): New function.
17539 (argp): Use more_help.
17540 (print_version): Use PKGVERSION.
17541 * elf/sln.c (main): Use PKGVERSION.
17542 (usage): Use REPORT_BUGS_TO.
17543 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17544 (top level): Use PKGVERSION.
17545 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17546 (print_version): Use PKGVERSION.
17547 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17548 (print_version): Use PKGVERSION.
17549 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17550 (print_version): Use PKGVERSION.
17551 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17552 (print_version): Use PKGVERSION.
17553 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17554 (print_version): Use PKGVERSION.
17555 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17556 (print_version): Use PKGVERSION.
17557 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17558 and BUGURL.
17559 ($(objpfx)memusage): Likewise.
17560 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17561 (do_version): Use PKGVERSION.
17562 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17563 (print_version): Use PKGVERSION.
17564 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17565 ($PKGVERSION): New variable.
17566 ($REPORT_BUGS_TO): Likewise.
17567 (usage): Use $REPORT_BUGS_TO.
17568 (top level): Use $PKGVERSION.
17569 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17570 ($(objpfx)pkgvers.texi): New rule.
17571 ($(objpfx)stamp-pkgvers): Likewise.
17572 * manual/install.texi: Include pkgvers.texi.
17573 (--with-pkgversion): Document new configure option.
17574 (--with-bugurl): Likewise.
17575 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17576 than necessarily for this particular distribution. Use
17577 REPORT_BUGS_TO for where to report bugs.
17578 * INSTALL: Regenerated.
17579 * manual/libc.texinfo: Include pkgvers.texi.
17580 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17581 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17582 (print_version): Use PKGVERSION.
17583 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17584 (print_version): Use PKGVERSION.
17585 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17586 (print_version): Use PKGVERSION.
17587 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17588 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17589 macro.
17590 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17591 (print_version): Use PKGVERSION.
17592 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17593 (print_version): Use PKGVERSION.
17594 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17595 and PKGVERSION.
17596
92e4b6a9
JM
17597 * timezone/checktab.awk: Update from tzcode 2012i.
17598 * timezone/ialloc.c: Likewise.
17599 * timezone/private.h: Likewise.
17600 * timezone/scheck.c: Likewise.
17601 * timezone/tzfile.h: Likewise.
17602 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17603 (TZVERSION): Hardcode tzcode version number.
17604 * timezone/zdump.c: Update from tzcode 2012i.
17605 * timezone/zic.c: Likewise.
17606 * timezone/version.h: New file.
17607 * timezone/README: Describe version.h. Update upstream location.
17608
9bde902c
JM
17609 [BZ #14824]
17610 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17611 (mktemp): Enable declaration.
17612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17613 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17615 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17616 Likewise.
17617 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17618 Likewise.
17619 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17620 Likewise.
17621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17622 Likewise.
17623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17624 Likewise.
17625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17626 Likewise.
17627
fb1ae1ee
JM
17628 [BZ #14821]
17629 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17630 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17631 for copies of such integer values.
17632 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17633 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17634
2c1adbcb
AJ
176352012-11-09 Andreas Jaeger <aj@suse.de>
17636
17637 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17638 definitions and declarations that are provided by
17639 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17640
d0f8457e
AK
176412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17642
3a235abb 17643 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17644 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17645 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17646 definition.
17647
57241e26
MS
176482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17649
17650 * elf/elf.h: Update comment before AArch64 relocations.
17651
60e8270d
DM
176522012-11-07 David S. Miller <davem@davemloft.net>
17653
17654 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17655 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17656 (__start_context): Declare.
17657 (__makecontext_ret): Delete.
17658 (__makecontext): Hook up __start_context instead of
17659 __makecontext_ret.
17660 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17661 (sysdep_routines): Add __start_context when in stdlib.
17662
0fbb0fbc
JM
176632012-11-07 Joseph Myers <joseph@codesourcery.com>
17664
17665 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17666 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17667 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17668 hardcoded "nm".
17669 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17670 (READELF): New variable. Use it instead of hardcoded "readelf".
17671
eb48db7e
L
176722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17673
17674 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17675 * sysdeps/x86/Makefile: Here.
17676 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17677 * sysdeps/x86/tst-xmmymm.sh: This.
17678
05bcf62a
JM
176792012-11-07 Joseph Myers <joseph@codesourcery.com>
17680
c4b6cf53
JM
17681 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17682 expectations.
17683 [UNIX98] (pthread_barrier_t): Do not expect.
17684 [UNIX98] (pthread_barrierattr_t): Likewise.
17685 [UNIX98] (pthread_spinlock_t): Likewise.
17686 [UNIX98] (pthread_barrier_destroy): Likewise.
17687 [UNIX98] (pthread_barrier_init): Likewise.
17688 [UNIX98] (pthread_barrier_wait): Likewise.
17689 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17690 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17691 [UNIX98] (pthread_barrierattr_init): Likewise.
17692 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17693 [UNIX98] (pthread_getcpuclockid): Likewise.
17694 [UNIX98] (pthread_mutex_timedlock): Likewise.
17695 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17696 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17697 [UNIX98] (pthread_sigmask): Likewise.
17698 [UNIX98] (pthread_spin_destroy): Likewise.
17699 [UNIX98] (pthread_spin_init): Likewise.
17700 [UNIX98] (pthread_spin_lock): Likewise.
17701 [UNIX98] (pthread_spin_trylock): Likewise.
17702 [UNIX98] (pthread_spin_unlock): Likewise.
17703 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17704 Do not expect.
17705 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17706 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17707 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17708 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17709 [XPG3 || XPG4] (pthread_key_t): Likewise.
17710 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17711 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17712 [XPG3 || XPG4] (pthread_once_t): Likewise.
17713 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17714 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17715 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17716 [XPG3 || XPG4] (pthread_t): Likewise.
17717
cbe6e120
JM
17718 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17719 not expect.
17720 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17721
1b126443
JM
17722 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17723 Change function return type to int.
17724
b961a573
JM
17725 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17726 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17727 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17728 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17729 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17730 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17731 [!POSIX] (posix_madvise): Likewise.
17732 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17733 && !UNIX98].
17734 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17735 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17736 (mode_t): Likewise.
17737 (posix_mem_offset): Likewise.
17738 (posix_typed_mem_get_info): Likewise.
17739 (posix_typed_mem_open): Likewise.
17740
9e188909
JM
17741 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17742 Change condition to [XOPEN2K8].
17743
05bcf62a
JM
17744 * conform/conformtest.pl: Preprocess allow-header data with -x c
17745 instead of from stdin.
17746 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17747 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17748 [C99-based standards] (cerfc): Likewise.
17749 [C99-based standards] (cexp2): Likewise.
17750 [C99-based standards] (cexpm1): Likewise.
17751 [C99-based standards] (clog10): Likewise.
17752 [C99-based standards] (clog1p): Likewise.
17753 [C99-based standards] (clog2): Likewise.
17754 [C99-based standards] (clgamma): Likewise.
17755 [C99-based standards] (ctgamma): Likewise.
17756 [C99-based standards] (cerff): Likewise.
17757 [C99-based standards] (cerfcf): Likewise.
17758 [C99-based standards] (cexp2f): Likewise.
17759 [C99-based standards] (cexpm1f): Likewise.
17760 [C99-based standards] (clog10f): Likewise.
17761 [C99-based standards] (clog1pf): Likewise.
17762 [C99-based standards] (clog2f): Likewise.
17763 [C99-based standards] (clgammaf): Likewise.
17764 [C99-based standards] (ctgammaf): Likewise.
17765 [C99-based standards] (cerfl): Likewise.
17766 [C99-based standards] (cerfcl): Likewise.
17767 [C99-based standards] (cexp2l): Likewise.
17768 [C99-based standards] (cexpm1l): Likewise.
17769 [C99-based standards] (clog10l): Likewise.
17770 [C99-based standards] (clog1pl): Likewise.
17771 [C99-based standards] (clog2l): Likewise.
17772 [C99-based standards] (clgammal): Likewise.
17773 [C99-based standards] (ctgammal): Likewise.
17774 * conform/data/inttypes.h-data [C99-based standards]: Include
17775 stdint.h-data. Remove all expectations for stdint.h contents.
17776 [C99-based standards] (PRI*): Do not allow.
17777 [C99-based standards] (SCN*): Likewise.
17778 [C99-based standards] (*_t): Likewise.
17779 [C99-based-standards] (PRId8): Expect macro.
17780 [C99-based-standards] (PRIi8): Likewise.
17781 [C99-based-standards] (PRIo8): Likewise.
17782 [C99-based-standards] (PRIu8): Likewise.
17783 [C99-based-standards] (PRIx8): Likewise.
17784 [C99-based-standards] (PRIX8): Likewise.
17785 [C99-based-standards] (SCNd8): Likewise.
17786 [C99-based-standards] (SCNi8): Likewise.
17787 [C99-based-standards] (SCNo8): Likewise.
17788 [C99-based-standards] (SCNu8): Likewise.
17789 [C99-based-standards] (SCNx8): Likewise.
17790 [C99-based-standards] (PRIdLEAST8): Likewise.
17791 [C99-based-standards] (PRIiLEAST8): Likewise.
17792 [C99-based-standards] (PRIoLEAST8): Likewise.
17793 [C99-based-standards] (PRIuLEAST8): Likewise.
17794 [C99-based-standards] (PRIxLEAST8): Likewise.
17795 [C99-based-standards] (PRIXLEAST8): Likewise.
17796 [C99-based-standards] (SCNdLEAST8): Likewise.
17797 [C99-based-standards] (SCNiLEAST8): Likewise.
17798 [C99-based-standards] (SCNoLEAST8): Likewise.
17799 [C99-based-standards] (SCNuLEAST8): Likewise.
17800 [C99-based-standards] (SCNxLEAST8): Likewise.
17801 [C99-based-standards] (PRIdFAST8): Likewise.
17802 [C99-based-standards] (PRIiFAST8): Likewise.
17803 [C99-based-standards] (PRIoFAST8): Likewise.
17804 [C99-based-standards] (PRIuFAST8): Likewise.
17805 [C99-based-standards] (PRIxFAST8): Likewise.
17806 [C99-based-standards] (PRIXFAST8): Likewise.
17807 [C99-based-standards] (SCNdFAST8): Likewise.
17808 [C99-based-standards] (SCNiFAST8): Likewise.
17809 [C99-based-standards] (SCNoFAST8): Likewise.
17810 [C99-based-standards] (SCNuFAST8): Likewise.
17811 [C99-based-standards] (SCNxFAST8): Likewise.
17812 [C99-based-standards] (PRId16): Likewise.
17813 [C99-based-standards] (PRIi16): Likewise.
17814 [C99-based-standards] (PRIo16): Likewise.
17815 [C99-based-standards] (PRIu16): Likewise.
17816 [C99-based-standards] (PRIx16): Likewise.
17817 [C99-based-standards] (PRIX16): Likewise.
17818 [C99-based-standards] (SCNd16): Likewise.
17819 [C99-based-standards] (SCNi16): Likewise.
17820 [C99-based-standards] (SCNo16): Likewise.
17821 [C99-based-standards] (SCNu16): Likewise.
17822 [C99-based-standards] (SCNx16): Likewise.
17823 [C99-based-standards] (PRIdLEAST16): Likewise.
17824 [C99-based-standards] (PRIiLEAST16): Likewise.
17825 [C99-based-standards] (PRIoLEAST16): Likewise.
17826 [C99-based-standards] (PRIuLEAST16): Likewise.
17827 [C99-based-standards] (PRIxLEAST16): Likewise.
17828 [C99-based-standards] (PRIXLEAST16): Likewise.
17829 [C99-based-standards] (SCNdLEAST16): Likewise.
17830 [C99-based-standards] (SCNiLEAST16): Likewise.
17831 [C99-based-standards] (SCNoLEAST16): Likewise.
17832 [C99-based-standards] (SCNuLEAST16): Likewise.
17833 [C99-based-standards] (SCNxLEAST16): Likewise.
17834 [C99-based-standards] (PRIdFAST16): Likewise.
17835 [C99-based-standards] (PRIiFAST16): Likewise.
17836 [C99-based-standards] (PRIoFAST16): Likewise.
17837 [C99-based-standards] (PRIuFAST16): Likewise.
17838 [C99-based-standards] (PRIxFAST16): Likewise.
17839 [C99-based-standards] (PRIXFAST16): Likewise.
17840 [C99-based-standards] (SCNdFAST16): Likewise.
17841 [C99-based-standards] (SCNiFAST16): Likewise.
17842 [C99-based-standards] (SCNoFAST16): Likewise.
17843 [C99-based-standards] (SCNuFAST16): Likewise.
17844 [C99-based-standards] (SCNxFAST16): Likewise.
17845 [C99-based-standards] (PRId32): Likewise.
17846 [C99-based-standards] (PRIi32): Likewise.
17847 [C99-based-standards] (PRIo32): Likewise.
17848 [C99-based-standards] (PRIu32): Likewise.
17849 [C99-based-standards] (PRIx32): Likewise.
17850 [C99-based-standards] (PRIX32): Likewise.
17851 [C99-based-standards] (SCNd32): Likewise.
17852 [C99-based-standards] (SCNi32): Likewise.
17853 [C99-based-standards] (SCNo32): Likewise.
17854 [C99-based-standards] (SCNu32): Likewise.
17855 [C99-based-standards] (SCNx32): Likewise.
17856 [C99-based-standards] (PRIdLEAST32): Likewise.
17857 [C99-based-standards] (PRIiLEAST32): Likewise.
17858 [C99-based-standards] (PRIoLEAST32): Likewise.
17859 [C99-based-standards] (PRIuLEAST32): Likewise.
17860 [C99-based-standards] (PRIxLEAST32): Likewise.
17861 [C99-based-standards] (PRIXLEAST32): Likewise.
17862 [C99-based-standards] (SCNdLEAST32): Likewise.
17863 [C99-based-standards] (SCNiLEAST32): Likewise.
17864 [C99-based-standards] (SCNoLEAST32): Likewise.
17865 [C99-based-standards] (SCNuLEAST32): Likewise.
17866 [C99-based-standards] (SCNxLEAST32): Likewise.
17867 [C99-based-standards] (PRIdFAST32): Likewise.
17868 [C99-based-standards] (PRIiFAST32): Likewise.
17869 [C99-based-standards] (PRIoFAST32): Likewise.
17870 [C99-based-standards] (PRIuFAST32): Likewise.
17871 [C99-based-standards] (PRIxFAST32): Likewise.
17872 [C99-based-standards] (PRIXFAST32): Likewise.
17873 [C99-based-standards] (SCNdFAST32): Likewise.
17874 [C99-based-standards] (SCNiFAST32): Likewise.
17875 [C99-based-standards] (SCNoFAST32): Likewise.
17876 [C99-based-standards] (SCNuFAST32): Likewise.
17877 [C99-based-standards] (SCNxFAST32): Likewise.
17878 [C99-based-standards] (PRId64): Likewise.
17879 [C99-based-standards] (PRIi64): Likewise.
17880 [C99-based-standards] (PRIo64): Likewise.
17881 [C99-based-standards] (PRIu64): Likewise.
17882 [C99-based-standards] (PRIx64): Likewise.
17883 [C99-based-standards] (PRIX64): Likewise.
17884 [C99-based-standards] (SCNd64): Likewise.
17885 [C99-based-standards] (SCNi64): Likewise.
17886 [C99-based-standards] (SCNo64): Likewise.
17887 [C99-based-standards] (SCNu64): Likewise.
17888 [C99-based-standards] (SCNx64): Likewise.
17889 [C99-based-standards] (PRIdLEAST64): Likewise.
17890 [C99-based-standards] (PRIiLEAST64): Likewise.
17891 [C99-based-standards] (PRIoLEAST64): Likewise.
17892 [C99-based-standards] (PRIuLEAST64): Likewise.
17893 [C99-based-standards] (PRIxLEAST64): Likewise.
17894 [C99-based-standards] (PRIXLEAST64): Likewise.
17895 [C99-based-standards] (SCNdLEAST64): Likewise.
17896 [C99-based-standards] (SCNiLEAST64): Likewise.
17897 [C99-based-standards] (SCNoLEAST64): Likewise.
17898 [C99-based-standards] (SCNuLEAST64): Likewise.
17899 [C99-based-standards] (SCNxLEAST64): Likewise.
17900 [C99-based-standards] (PRIdFAST64): Likewise.
17901 [C99-based-standards] (PRIiFAST64): Likewise.
17902 [C99-based-standards] (PRIoFAST64): Likewise.
17903 [C99-based-standards] (PRIuFAST64): Likewise.
17904 [C99-based-standards] (PRIxFAST64): Likewise.
17905 [C99-based-standards] (PRIXFAST64): Likewise.
17906 [C99-based-standards] (SCNdFAST64): Likewise.
17907 [C99-based-standards] (SCNiFAST64): Likewise.
17908 [C99-based-standards] (SCNoFAST64): Likewise.
17909 [C99-based-standards] (SCNuFAST64): Likewise.
17910 [C99-based-standards] (SCNxFAST64): Likewise.
17911 [C99-based-standards] (PRIdMAX): Likewise.
17912 [C99-based-standards] (PRIiMAX): Likewise.
17913 [C99-based-standards] (PRIoMAX): Likewise.
17914 [C99-based-standards] (PRIuMAX): Likewise.
17915 [C99-based-standards] (PRIxMAX): Likewise.
17916 [C99-based-standards] (PRIXMAX): Likewise.
17917 [C99-based-standards] (SCNdMAX): Likewise.
17918 [C99-based-standards] (SCNiMAX): Likewise.
17919 [C99-based-standards] (SCNoMAX): Likewise.
17920 [C99-based-standards] (SCNuMAX): Likewise.
17921 [C99-based-standards] (SCNxMAX): Likewise.
17922 [C99-based-standards] (PRIdPTR): Likewise.
17923 [C99-based-standards] (PRIiPTR): Likewise.
17924 [C99-based-standards] (PRIoPTR): Likewise.
17925 [C99-based-standards] (PRIuPTR): Likewise.
17926 [C99-based-standards] (PRIxPTR): Likewise.
17927 [C99-based-standards] (PRIXPTR): Likewise.
17928 [C99-based-standards] (SCNdPTR): Likewise.
17929 [C99-based-standards] (SCNiPTR): Likewise.
17930 [C99-based-standards] (SCNoPTR): Likewise.
17931 [C99-based-standards] (SCNuPTR): Likewise.
17932 [C99-based-standards] (SCNxPTR): Likewise.
17933 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17934 allow.
17935 * conform/data/stdint.h-data: Update comments to clarify
17936 requirements.
17937 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17938 type.
17939 [C99-based standards] (INT8_MAX): Likewise.
17940 [C99-based standards] (INT16_MIN): Likewise.
17941 [C99-based standards] (INT16_MAX): Likewise.
17942 [C99-based standards] (INT32_MIN): Likewise.
17943 [C99-based standards] (INT32_MAX): Likewise.
17944 [C99-based standards] (INT64_MIN): Likewise.
17945 [C99-based standards] (INT64_MAX): Likewise.
17946 [C99-based standards] (UINT8_MAX): Likewise.
17947 [C99-based standards] (UINT16_MAX): Likewise.
17948 [C99-based standards] (UINT32_MAX): Likewise.
17949 [C99-based standards] (UINT64_MAX): Likewise.
17950 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17951 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17952 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17953 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17954 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17955 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17956 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17957 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17958 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17959 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17960 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17961 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17962 [C99-based standards] (INT_FAST8_MIN): Likewise.
17963 [C99-based standards] (INT_FAST8_MAX): Likewise.
17964 [C99-based standards] (INT_FAST16_MIN): Likewise.
17965 [C99-based standards] (INT_FAST16_MAX): Likewise.
17966 [C99-based standards] (INT_FAST32_MIN): Likewise.
17967 [C99-based standards] (INT_FAST32_MAX): Likewise.
17968 [C99-based standards] (INT_FAST64_MIN): Likewise.
17969 [C99-based standards] (INT_FAST64_MAX): Likewise.
17970 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17971 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17972 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17973 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17974 [C99-based standards] (INTPTR_MIN): Likewise.
17975 [C99-based standards] (INTPTR_MAX): Likewise.
17976 [C99-based standards] (UINTPTR_MAX): Likewise.
17977 [C99-based standards] (INTMAX_MIN): Likewise.
17978 [C99-based standards] (INTMAX_MAX): Likewise.
17979 [C99-based standards] (UINTMAX_MAX): Likewise.
17980 [C99-based standards] (PTRDIFF_MIN): Likewise.
17981 [C99-based standards] (PTRDIFF_MAX): Likewise.
17982 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17983 [C99-based standards] (SIZE_MAX): Likewise.
17984 [C99-based standards] (WCHAR_MAX): Likewise.
17985 [C99-based standards] (WINT_MAX): Likewise.
17986 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17987 constraint on value.
17988 [C99-based standards] (WCHAR_MIN): Likewise.
17989 [C99-based standards] (WINT_MIN): Likewise.
17990 [C99-based standards] (*_t): Allow.
17991 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17992 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17993 Include math.h-data and complex.h-data. Remove all expectations
17994 of math.h and complex.h contents.
17995 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17996 at end of line.
17997 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17998 (struct tm): Expect tag.
17999 [C99-based-standards] (wcstof): Expect function.
18000 [C99-based-standards] (wcstold): Likewise.
18001 [C99-based-standards] (wcstoll): Likewise.
18002 [C99-based-standards] (wcstoull): Likewise.
18003 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18004 macro-int-constant. Specify type.
18005 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18006 constraint on value.
18007 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18008 Specify type.
18009 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18010 Specify value.
18011 [ISO C standards]: Do not allow headers.
18012 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18013 wcs[abcdefghijklmnopqrstuvwxyz]*.
18014 [ISO C standards] (*_t): Do not allow.
18015 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18016 Expect function.
18017 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18018 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18019 Specify type.
18020 [ISO C standards]: Do not allow headers.
18021 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18022 is[abcdefghijklmnopqrstuvwxyz]*.
18023 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18024 to[abcdefghijklmnopqrstuvwxyz]*.
18025 [ISO C standards] (*_t): Do not allow.
18026 * conform/data/stdalign.h-data: New file.
18027 * conform/data/stdbool.h-data: Likewise.
18028 * conform/data/stdnoreturn.h-data: Likewise.
18029
7514feb8
RM
180302012-11-07 Roland McGrath <roland@hack.frob.com>
18031
18032 [BZ #14815]
18033 * manual/filesys.texi (Directory Entries): Typo fix.
18034 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18035
19b2ecfc
MS
180362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18037
18038 * elf/elf.h (EM_AARCH64): New macro.
18039 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18040 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18041 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18042 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18043 (R_AARCH64_TLSDESC): Likewise.
18044 (NT_ARM_TLS): Likewise.
18045 (NT_ARM_HW_BREAK): Likewise.
18046 (NT_ARM_HW_WATCH): Likewise.
18047
60e235ee
JM
180482012-11-07 Joseph Myers <joseph@codesourcery.com>
18049
18050 [BZ #14811]
18051 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18052 (__ieee754_powl): Saturate nonzero exponents with absolute value
18053 below 0x1p-79 to +/- 0x1p-79.
18054 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18055 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18056 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18057 nonzero exponents with absolute value below 0x1p-32 to +/-
18058 0x1p-32.
18059 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18060 (__ieee754_powl): Saturate nonzero exponents with absolute value
18061 below 0x1p-79 to +/- 0x1p-79.
18062 * math/libm-test.inc (pow_test): Add more tests.
18063
0ab234b7
AK
180642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18065
18066 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18067 _dl_s390_cap_flags with kernel. Increase string length.
18068 (_dl_s390_platforms): Add z196 and zEC12.
18069
45832f74
JM
180702012-11-07 Joseph Myers <joseph@codesourcery.com>
18071
18072 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18073 Change XOPEN21K to XOPEN2K.
18074
19218757
MK
180752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18076
18077 * string/memmove.c: Use memcpy when possible.
18078
c5f45721
AJ
180792012-11-06 Andreas Jaeger <aj@suse.de>
18080
18081 * po/eo.po: Update from translation team.
18082
82477c28
JM
180832012-11-06 Joseph Myers <joseph@codesourcery.com>
18084
18085 [BZ #14793]
18086 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18087 exponent and small x and y exponents, scale x or y up. Increase
18088 by 2 the exponent used in scaling up.
18089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18090 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18091 * math/libm-test.inc (fma_test): Add more tests.
18092 (fma_test_towardzero): Likewise.
18093 (fma_test_downward): Likewise.
18094 (fma_test_upward): Likewise.
18095
99252c8c
JM
180962012-11-05 Joseph Myers <joseph@codesourcery.com>
18097
acfa885f
JM
18098 [BZ #14805]
18099 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18100 fenv_t *.
18101
99252c8c
JM
18102 [BZ #14801]
18103 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18104 namespace for names of struct fields.
18105 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18106 fenv_t fields.
18107 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18108 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18109
d6d98dea
ST
181102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18111
18112 [BZ #3665]
18113 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18114
e10bb107
TS
181152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18116
18117 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18118 PTR_DEMANGLE.
18119
18120 [BZ #5246]
18121 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18122 PTR_DEMANGLE.
18123
a0c2940d
JM
181242012-11-04 Joseph Myers <joseph@codesourcery.com>
18125
18126 [BZ #14797]
18127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18128 definitely overflow as x * y not x * y + z.
18129 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18131 * math/libm-test.inc (fma_test): Add more tests.
18132 (fma_test_towardzero): Likewise.
18133 (fma_test_downward): Likewise.
18134 (fma_test_upward): Likewise.
18135
b830319d
TS
181362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18137
18138 [BZ #157]
18139
18140 * include/stub-tag.h: Remove file.
18141 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18142 '#include' of it.
18143 * manual/maint.texi (Porting): Don't reference it.
18144 * Makerules ($(objpfx)stubs): Likewise.
18145 * dirent/closedir.c: Don't include <stub-tag.h>.
18146 * dirent/dirfd.c: Likewise.
18147 * dirent/fdopendir.c: Likewise.
18148 * dirent/getdents.c: Likewise.
18149 * dirent/getdents64.c: Likewise.
18150 * dirent/opendir.c: Likewise.
18151 * dirent/readdir.c: Likewise.
18152 * dirent/readdir64.c: Likewise.
18153 * dirent/readdir64_r.c: Likewise.
18154 * dirent/readdir_r.c: Likewise.
18155 * dirent/rewinddir.c: Likewise.
18156 * dirent/seekdir.c: Likewise.
18157 * dirent/telldir.c: Likewise.
18158 * gmon/profil.c: Likewise.
18159 * grp/setgroups.c: Likewise.
18160 * inet/if_index.c: Likewise.
18161 * io/access.c: Likewise.
18162 * io/chdir.c: Likewise.
18163 * io/chmod.c: Likewise.
18164 * io/chown.c: Likewise.
18165 * io/close.c: Likewise.
18166 * io/dup.c: Likewise.
18167 * io/dup2.c: Likewise.
18168 * io/dup3.c: Likewise.
18169 * io/euidaccess.c: Likewise.
18170 * io/faccessat.c: Likewise.
18171 * io/fchdir.c: Likewise.
18172 * io/fchmod.c: Likewise.
18173 * io/fchmodat.c: Likewise.
18174 * io/fchown.c: Likewise.
18175 * io/fchownat.c: Likewise.
18176 * io/fcntl.c: Likewise.
18177 * io/flock.c: Likewise.
18178 * io/fstatfs.c: Likewise.
18179 * io/fstatfs64.c: Likewise.
18180 * io/fstatvfs.c: Likewise.
18181 * io/fstatvfs64.c: Likewise.
18182 * io/futimens.c: Likewise.
18183 * io/fxstat.c: Likewise.
18184 * io/fxstat64.c: Likewise.
18185 * io/fxstatat.c: Likewise.
18186 * io/fxstatat64.c: Likewise.
18187 * io/getcwd.c: Likewise.
18188 * io/isatty.c: Likewise.
18189 * io/lchmod.c: Likewise.
18190 * io/lchown.c: Likewise.
18191 * io/link.c: Likewise.
18192 * io/linkat.c: Likewise.
18193 * io/lseek.c: Likewise.
18194 * io/lseek64.c: Likewise.
18195 * io/lxstat64.c: Likewise.
18196 * io/mkdir.c: Likewise.
18197 * io/mkdirat.c: Likewise.
18198 * io/mkfifo.c: Likewise.
18199 * io/mkfifoat.c: Likewise.
18200 * io/open.c: Likewise.
18201 * io/open64.c: Likewise.
18202 * io/openat.c: Likewise.
18203 * io/openat64.c: Likewise.
18204 * io/pipe.c: Likewise.
18205 * io/pipe2.c: Likewise.
18206 * io/poll.c: Likewise.
18207 * io/posix_fadvise.c: Likewise.
18208 * io/posix_fadvise64.c: Likewise.
18209 * io/posix_fallocate.c: Likewise.
18210 * io/posix_fallocate64.c: Likewise.
18211 * io/read.c: Likewise.
18212 * io/readlink.c: Likewise.
18213 * io/readlinkat.c: Likewise.
18214 * io/rmdir.c: Likewise.
18215 * io/sendfile.c: Likewise.
18216 * io/sendfile64.c: Likewise.
18217 * io/statfs.c: Likewise.
18218 * io/statfs64.c: Likewise.
18219 * io/statvfs.c: Likewise.
18220 * io/statvfs64.c: Likewise.
18221 * io/symlink.c: Likewise.
18222 * io/symlinkat.c: Likewise.
18223 * io/ttyname.c: Likewise.
18224 * io/ttyname_r.c: Likewise.
18225 * io/umask.c: Likewise.
18226 * io/unlink.c: Likewise.
18227 * io/unlinkat.c: Likewise.
18228 * io/utime.c: Likewise.
18229 * io/utimensat.c: Likewise.
18230 * io/write.c: Likewise.
18231 * io/xmknod.c: Likewise.
18232 * io/xmknodat.c: Likewise.
18233 * io/xstat.c: Likewise.
18234 * io/xstat64.c: Likewise.
18235 * login/getpt.c: Likewise.
18236 * login/grantpt.c: Likewise.
18237 * login/unlockpt.c: Likewise.
18238 * math/e_acoshl.c: Likewise.
18239 * math/e_acosl.c: Likewise.
18240 * math/e_asinl.c: Likewise.
18241 * math/e_atan2l.c: Likewise.
18242 * math/e_atanhl.c: Likewise.
18243 * math/e_coshl.c: Likewise.
18244 * math/e_expl.c: Likewise.
18245 * math/e_fmodl.c: Likewise.
18246 * math/e_gammal_r.c: Likewise.
18247 * math/e_hypotl.c: Likewise.
18248 * math/e_j0l.c: Likewise.
18249 * math/e_j1l.c: Likewise.
18250 * math/e_jnl.c: Likewise.
18251 * math/e_lgammal_r.c: Likewise.
18252 * math/e_log10l.c: Likewise.
18253 * math/e_log2l.c: Likewise.
18254 * math/e_logl.c: Likewise.
18255 * math/e_powl.c: Likewise.
18256 * math/e_rem_pio2l.c: Likewise.
18257 * math/e_sinhl.c: Likewise.
18258 * math/e_sqrtl.c: Likewise.
18259 * math/fclrexcpt.c: Likewise.
18260 * math/fedisblxcpt.c: Likewise.
18261 * math/feenablxcpt.c: Likewise.
18262 * math/fegetenv.c: Likewise.
18263 * math/fegetexcept.c: Likewise.
18264 * math/fegetround.c: Likewise.
18265 * math/feholdexcpt.c: Likewise.
18266 * math/fesetenv.c: Likewise.
18267 * math/fesetround.c: Likewise.
18268 * math/feupdateenv.c: Likewise.
18269 * math/fgetexcptflg.c: Likewise.
18270 * math/fraiseexcpt.c: Likewise.
18271 * math/fsetexcptflg.c: Likewise.
18272 * math/ftestexcept.c: Likewise.
18273 * math/k_cosl.c: Likewise.
18274 * math/k_rem_pio2l.c: Likewise.
18275 * math/k_sinl.c: Likewise.
18276 * math/k_tanl.c: Likewise.
18277 * math/s_asinhl.c: Likewise.
18278 * math/s_atanl.c: Likewise.
18279 * math/s_cbrtl.c: Likewise.
18280 * math/s_erfl.c: Likewise.
18281 * math/s_expm1l.c: Likewise.
18282 * math/s_log1pl.c: Likewise.
18283 * math/s_tanhl.c: Likewise.
18284 * misc/acct.c: Likewise.
18285 * misc/brk.c: Likewise.
18286 * misc/chflags.c: Likewise.
18287 * misc/chroot.c: Likewise.
18288 * misc/fchflags.c: Likewise.
18289 * misc/fgetxattr.c: Likewise.
18290 * misc/flistxattr.c: Likewise.
18291 * misc/fremovexattr.c: Likewise.
18292 * misc/fsetxattr.c: Likewise.
18293 * misc/fsync.c: Likewise.
18294 * misc/ftruncate.c: Likewise.
18295 * misc/futimes.c: Likewise.
18296 * misc/futimesat.c: Likewise.
18297 * misc/getdomain.c: Likewise.
18298 * misc/getdtsz.c: Likewise.
18299 * misc/gethostid.c: Likewise.
18300 * misc/gethostname.c: Likewise.
18301 * misc/getloadavg.c: Likewise.
18302 * misc/getpagesize.c: Likewise.
18303 * misc/getsysstats.c: Likewise.
18304 * misc/getxattr.c: Likewise.
18305 * misc/gtty.c: Likewise.
18306 * misc/ioctl.c: Likewise.
18307 * misc/lgetxattr.c: Likewise.
18308 * misc/listxattr.c: Likewise.
18309 * misc/llistxattr.c: Likewise.
18310 * misc/lremovexattr.c: Likewise.
18311 * misc/lsetxattr.c: Likewise.
18312 * misc/lutimes.c: Likewise.
18313 * misc/madvise.c: Likewise.
18314 * misc/mincore.c: Likewise.
18315 * misc/mlock.c: Likewise.
18316 * misc/mlockall.c: Likewise.
18317 * misc/mmap.c: Likewise.
18318 * misc/mprotect.c: Likewise.
18319 * misc/msync.c: Likewise.
18320 * misc/munlock.c: Likewise.
18321 * misc/munlockall.c: Likewise.
18322 * misc/munmap.c: Likewise.
18323 * misc/preadv.c: Likewise.
18324 * misc/preadv64.c: Likewise.
18325 * misc/ptrace.c: Likewise.
18326 * misc/pwritev.c: Likewise.
18327 * misc/pwritev64.c: Likewise.
18328 * misc/readv.c: Likewise.
18329 * misc/reboot.c: Likewise.
18330 * misc/remap_file_pages.c: Likewise.
18331 * misc/removexattr.c: Likewise.
18332 * misc/revoke.c: Likewise.
18333 * misc/select.c: Likewise.
18334 * misc/setdomain.c: Likewise.
18335 * misc/setegid.c: Likewise.
18336 * misc/seteuid.c: Likewise.
18337 * misc/sethostid.c: Likewise.
18338 * misc/sethostname.c: Likewise.
18339 * misc/setregid.c: Likewise.
18340 * misc/setreuid.c: Likewise.
18341 * misc/setxattr.c: Likewise.
18342 * misc/sstk.c: Likewise.
18343 * misc/stty.c: Likewise.
18344 * misc/swapoff.c: Likewise.
18345 * misc/swapon.c: Likewise.
18346 * misc/sync.c: Likewise.
18347 * misc/syncfs.c: Likewise.
18348 * misc/syscall.c: Likewise.
18349 * misc/truncate.c: Likewise.
18350 * misc/ualarm.c: Likewise.
18351 * misc/usleep.c: Likewise.
18352 * misc/ustat.c: Likewise.
18353 * misc/utimes.c: Likewise.
18354 * misc/vhangup.c: Likewise.
18355 * misc/writev.c: Likewise.
18356 * posix/_exit.c: Likewise.
18357 * posix/alarm.c: Likewise.
18358 * posix/execve.c: Likewise.
18359 * posix/fexecve.c: Likewise.
18360 * posix/fork.c: Likewise.
18361 * posix/fpathconf.c: Likewise.
18362 * posix/getaddrinfo.c: Likewise.
18363 * posix/getegid.c: Likewise.
18364 * posix/geteuid.c: Likewise.
18365 * posix/getgid.c: Likewise.
18366 * posix/getgroups.c: Likewise.
18367 * posix/getlogin.c: Likewise.
18368 * posix/getlogin_r.c: Likewise.
18369 * posix/getpgid.c: Likewise.
18370 * posix/getpid.c: Likewise.
18371 * posix/getppid.c: Likewise.
18372 * posix/getresgid.c: Likewise.
18373 * posix/getresuid.c: Likewise.
18374 * posix/getsid.c: Likewise.
18375 * posix/getuid.c: Likewise.
18376 * posix/glob64.c: Likewise.
18377 * posix/nanosleep.c: Likewise.
18378 * posix/pathconf.c: Likewise.
18379 * posix/pause.c: Likewise.
18380 * posix/posix_madvise.c: Likewise.
18381 * posix/pread.c: Likewise.
18382 * posix/pread64.c: Likewise.
18383 * posix/pwrite.c: Likewise.
18384 * posix/pwrite64.c: Likewise.
18385 * posix/sched_getaffinity.c: Likewise.
18386 * posix/sched_getp.c: Likewise.
18387 * posix/sched_gets.c: Likewise.
18388 * posix/sched_primax.c: Likewise.
18389 * posix/sched_primin.c: Likewise.
18390 * posix/sched_rr_gi.c: Likewise.
18391 * posix/sched_setaffinity.c: Likewise.
18392 * posix/sched_setp.c: Likewise.
18393 * posix/sched_sets.c: Likewise.
18394 * posix/sched_yield.c: Likewise.
18395 * posix/setgid.c: Likewise.
18396 * posix/setlogin.c: Likewise.
18397 * posix/setpgid.c: Likewise.
18398 * posix/setresgid.c: Likewise.
18399 * posix/setresuid.c: Likewise.
18400 * posix/setsid.c: Likewise.
18401 * posix/setuid.c: Likewise.
18402 * posix/sleep.c: Likewise.
18403 * posix/spawni.c: Likewise.
18404 * posix/sysconf.c: Likewise.
18405 * posix/times.c: Likewise.
18406 * posix/wait.c: Likewise.
18407 * posix/wait3.c: Likewise.
18408 * posix/wait4.c: Likewise.
18409 * posix/waitpid.c: Likewise.
18410 * resolv/gai_sigqueue.c: Likewise.
18411 * resource/getpriority.c: Likewise.
18412 * resource/getrlimit.c: Likewise.
18413 * resource/getrusage.c: Likewise.
18414 * resource/nice.c: Likewise.
18415 * resource/setpriority.c: Likewise.
18416 * resource/setrlimit.c: Likewise.
18417 * resource/ulimit.c: Likewise.
18418 * rt/aio_cancel.c: Likewise.
18419 * rt/aio_fsync.c: Likewise.
18420 * rt/aio_read.c: Likewise.
18421 * rt/aio_sigqueue.c: Likewise.
18422 * rt/aio_suspend.c: Likewise.
18423 * rt/aio_write.c: Likewise.
18424 * rt/clock_getres.c: Likewise.
18425 * rt/clock_gettime.c: Likewise.
18426 * rt/clock_nanosleep.c: Likewise.
18427 * rt/clock_settime.c: Likewise.
18428 * rt/lio_listio.c: Likewise.
18429 * rt/mq_close.c: Likewise.
18430 * rt/mq_getattr.c: Likewise.
18431 * rt/mq_notify.c: Likewise.
18432 * rt/mq_open.c: Likewise.
18433 * rt/mq_receive.c: Likewise.
18434 * rt/mq_send.c: Likewise.
18435 * rt/mq_setattr.c: Likewise.
18436 * rt/mq_timedreceive.c: Likewise.
18437 * rt/mq_timedsend.c: Likewise.
18438 * rt/mq_unlink.c: Likewise.
18439 * rt/shm_open.c: Likewise.
18440 * rt/shm_unlink.c: Likewise.
18441 * rt/timer_create.c: Likewise.
18442 * rt/timer_delete.c: Likewise.
18443 * rt/timer_getoverr.c: Likewise.
18444 * rt/timer_gettime.c: Likewise.
18445 * rt/timer_settime.c: Likewise.
18446 * setjmp/__longjmp.c: Likewise.
18447 * setjmp/setjmp.c: Likewise.
18448 * signal/kill.c: Likewise.
18449 * signal/killpg.c: Likewise.
18450 * signal/raise.c: Likewise.
18451 * signal/sigaction.c: Likewise.
18452 * signal/sigaltstack.c: Likewise.
18453 * signal/sigblock.c: Likewise.
18454 * signal/sigignore.c: Likewise.
18455 * signal/sigintr.c: Likewise.
18456 * signal/signal.c: Likewise.
18457 * signal/sigpause.c: Likewise.
18458 * signal/sigpending.c: Likewise.
18459 * signal/sigqueue.c: Likewise.
18460 * signal/sigreturn.c: Likewise.
18461 * signal/sigset.c: Likewise.
18462 * signal/sigsetmask.c: Likewise.
18463 * signal/sigstack.c: Likewise.
18464 * signal/sigsuspend.c: Likewise.
18465 * signal/sigtimedwait.c: Likewise.
18466 * signal/sigvec.c: Likewise.
18467 * signal/sigwait.c: Likewise.
18468 * signal/sigwaitinfo.c: Likewise.
18469 * signal/sysv_signal.c: Likewise.
18470 * socket/accept.c: Likewise.
18471 * socket/accept4.c: Likewise.
18472 * socket/bind.c: Likewise.
18473 * socket/connect.c: Likewise.
18474 * socket/getpeername.c: Likewise.
18475 * socket/getsockname.c: Likewise.
18476 * socket/getsockopt.c: Likewise.
18477 * socket/isfdtype.c: Likewise.
18478 * socket/listen.c: Likewise.
18479 * socket/recv.c: Likewise.
18480 * socket/recvfrom.c: Likewise.
18481 * socket/recvmsg.c: Likewise.
18482 * socket/send.c: Likewise.
18483 * socket/sendmsg.c: Likewise.
18484 * socket/sendto.c: Likewise.
18485 * socket/setsockopt.c: Likewise.
18486 * socket/shutdown.c: Likewise.
18487 * socket/sockatmark.c: Likewise.
18488 * socket/socket.c: Likewise.
18489 * socket/socketpair.c: Likewise.
18490 * stdio-common/ctermid.c: Likewise.
18491 * stdio-common/cuserid.c: Likewise.
18492 * stdio-common/remove.c: Likewise.
18493 * stdio-common/rename.c: Likewise.
18494 * stdio-common/renameat.c: Likewise.
18495 * stdio-common/tempname.c: Likewise.
18496 * stdlib/getcontext.c: Likewise.
18497 * stdlib/makecontext.c: Likewise.
18498 * stdlib/setcontext.c: Likewise.
18499 * stdlib/swapcontext.c: Likewise.
18500 * stdlib/system.c: Likewise.
18501 * streams/fattach.c: Likewise.
18502 * streams/fdetach.c: Likewise.
18503 * streams/getmsg.c: Likewise.
18504 * streams/getpmsg.c: Likewise.
18505 * streams/putmsg.c: Likewise.
18506 * streams/putpmsg.c: Likewise.
18507 * sysdeps/unix/bsd/getpt.c: Likewise.
18508 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18509 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18510 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18512 Likewise.
18513 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18514 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18515 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18516 * sysvipc/msgctl.c: Likewise.
18517 * sysvipc/msgget.c: Likewise.
18518 * sysvipc/msgrcv.c: Likewise.
18519 * sysvipc/msgsnd.c: Likewise.
18520 * sysvipc/semctl.c: Likewise.
18521 * sysvipc/semget.c: Likewise.
18522 * sysvipc/semop.c: Likewise.
18523 * sysvipc/semtimedop.c: Likewise.
18524 * sysvipc/shmat.c: Likewise.
18525 * sysvipc/shmctl.c: Likewise.
18526 * sysvipc/shmdt.c: Likewise.
18527 * sysvipc/shmget.c: Likewise.
18528 * termios/tcdrain.c: Likewise.
18529 * termios/tcflow.c: Likewise.
18530 * termios/tcflush.c: Likewise.
18531 * termios/tcgetattr.c: Likewise.
18532 * termios/tcgetpgrp.c: Likewise.
18533 * termios/tcsendbrk.c: Likewise.
18534 * termios/tcsetattr.c: Likewise.
18535 * termios/tcsetpgrp.c: Likewise.
18536 * time/adjtime.c: Likewise.
18537 * time/clock.c: Likewise.
18538 * time/getitimer.c: Likewise.
18539 * time/gettimeofday.c: Likewise.
18540 * time/setitimer.c: Likewise.
18541 * time/settimeofday.c: Likewise.
18542 * time/stime.c: Likewise.
18543 * time/time.c: Likewise.
18544
185452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18546
a20492cf
PT
18547 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18548 /usr/old/bin.
18549
72e182e3
PT
18550 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18551 instead of spaces.
18552 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18553
fbeafede
JM
185542012-11-03 Joseph Myers <joseph@codesourcery.com>
18555
5b5b04d6
JM
18556 [BZ #14796]
18557 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18558 FE_TONEAREST before applying Dekker multiplication and Knuth
18559 addition. Clear inexact exceptions and check for exact zero
18560 results afterwards.
18561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18564 * math/libm-test.inc (fma_test): Add more tests.
18565 (fma_test_towardzero): Likewise.
18566 (fma_test_downward): Likewise.
18567 (fma_test_upward): Likewise.
18568 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18569 function.
18570 (libc_fesetround): New macro.
18571 (libc_fesetroundf): Likewise.
18572 (libc_fesetroundl): Likewise.
18573 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18574 function.
18575 (libc_fesetround_387): Likewise.
18576 (libc_fesetroundf): New macro.
18577 (libc_fesetround): Likewise.
18578 (libc_fesetroundl): Likewise.
18579 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18580 function.
18581 (libc_fesetroundf): New macro.
18582 (libc_fesetround): Likewise.
18583 (libc_fesetroundl): Likewise.
18584 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18585 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18586 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18587 libm_hidden_ver.
18588 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18589 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18590 libm_hidden_def.
18591 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18592 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18593 libm_hidden_ver.
18594 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18595 libm_hidden_def.
18596
fbeafede
JM
18597 [BZ #3439]
18598 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18599 integer constant usable in #if and use that to give value to enum
18600 constant.
18601 (FE_DIVBYZERO): Likewise.
18602 (FE_UNDERFLOW): Likewise.
18603 (FE_OVERFLOW): Likewise.
18604 (FE_INVALID): Likewise.
18605 (FE_INVALID_SNAN): Likewise.
18606 (FE_INVALID_ISI): Likewise.
18607 (FE_INVALID_IDI): Likewise.
18608 (FE_INVALID_ZDZ): Likewise.
18609 (FE_INVALID_IMZ): Likewise.
18610 (FE_INVALID_COMPARE): Likewise.
18611 (FE_INVALID_SOFTWARE): Likewise.
18612 (FE_INVALID_SQRT): Likewise.
18613 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18614 (FE_TONEAREST): Likewise.
18615 (FE_TOWARDZERO): Likewise.
18616 (FE_UPWARD): Likewise.
18617 (FE_DOWNWARD): Likewise.
18618 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18619 (FE_DIVBYZERO): Likewise.
18620 (FE_OVERFLOW): Likewise.
18621 (FE_UNDERFLOW): Likewise.
18622 (FE_INEXACT): Likewise.
18623 (FE_TONEAREST): Likewise.
18624 (FE_DOWNWARD): Likewise.
18625 (FE_UPWARD): Likewise.
18626 (FE_TOWARDZERO): Likewise.
18627 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18628 (FE_UNDERFLOW): Likewise.
18629 (FE_OVERFLOW): Likewise.
18630 (FE_DIVBYZERO): Likewise.
18631 (FE_INVALID): Likewise.
18632 (FE_TONEAREST): Likewise.
18633 (FE_TOWARDZERO): Likewise.
18634 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18635 (FE_OVERFLOW): Likewise.
18636 (FE_UNDERFLOW): Likewise.
18637 (FE_DIVBYZERO): Likewise.
18638 (FE_INEXACT): Likewise.
18639 (FE_TONEAREST): Likewise.
18640 (FE_TOWARDZERO): Likewise.
18641 (FE_UPWARD): Likewise.
18642 (FE_DOWNWARD): Likewise.
18643 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18644 (FE_DIVBYZERO): Likewise.
18645 (FE_OVERFLOW): Likewise.
18646 (FE_UNDERFLOW): Likewise.
18647 (FE_INEXACT): Likewise.
18648 (FE_TONEAREST): Likewise.
18649 (FE_DOWNWARD): Likewise.
18650 (FE_UPWARD): Likewise.
18651 (FE_TOWARDZERO): Likewise.
18652
105ca950
CM
186532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18654
18655 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18656
a542b389
AS
186572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18658
18659 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18660 commands. Quote $PWD.
18661 (blacklist_exports): Don't use remove_newlines. Replace "declare
18662 -x" by "export".
18663 (remove_newlines): Remove.
18664
f62c8abc
L
186652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18666
18667 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18668 * stdlib/stdlib.h (atof): Moved to ...
18669 * include/bits/stdlib-float.h: Here. New file.
18670 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18671 * stdlib/bits/stdlib-float.h: New file.
18672 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18673 -mno-sse -mno-mmx.
18674 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18675 <xmmintrin.h>.
18676
0155d5b2
JM
186772012-11-02 Joseph Myers <joseph@codesourcery.com>
18678
a68d0680
JM
18679 * conform/conformtest.pl (@headers): Add fenv.h.
18680 * conform/data/fenv.h-data: New file.
18681 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18682 include of <math/fenv.h>.
18683
caf7f573
JM
18684 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18685 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18686 && !UNIX98]. Enables tests for XOPEN2K8.
18687 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18688 POSIX2008]: Likewise.
18689
6c073ad6
JM
18690 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18691 (struct rusage): Do not expect type or its members.
18692
0155d5b2
JM
18693 [BZ #3439]
18694 * math/math.h (FP_NAN): Define macro to integer constant usable in
18695 #if and use that to give value to enum constant.
18696 (FP_INFINITE): Likewise.
18697 (FP_ZERO): Likewise.
18698 (FP_SUBNORMAL): Likewise.
18699 (FP_NORMAL): Likewise.
18700
b5dcacb4
AS
187012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18702
18703 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18704 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18705 arguments.
18706
f7934be8
RM
187072012-11-02 Roland McGrath <roland@hack.frob.com>
18708
18709 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18710 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18711 autoconf-time if not.
18712 * configure.in: Remove AC_PREREQ.
18713
d7d08bde
TMQMF
187142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18715
18716 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18717 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18718 of the internal implementation.
18719
dcdae19a
JM
187202012-11-02 Joseph Myers <joseph@codesourcery.com>
18721
18722 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18723 except include of <misc/sys/syslog.h>.
18724
d6cffd3e
AS
187252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18726
18727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18728 function returns with a NULL context exit with zero.
18729
b3563932
TMQMF
187302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18731
18732 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18733
b288a93d
L
187342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18737 (run_program_cmd): This.
18738 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18739 (tst_langinfo): New variable. Use it.
18740
a2421a68
SAS
187412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18742
18743 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18744 floating point opcodes.
18745
6f796e1b
TS
187462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18747
7402596b
TS
18748 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18749 variable.
18750
d0d4f868
TS
18751 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18752
6f796e1b
TS
18753 * sysdeps/mach/hurd/powerpc: Remove directory.
18754 * sysdeps/mach/powerpc: Likewise.
18755
4da224a2
AS
187562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18757
18758 * scripts/check-local-headers.sh: Ignore c++ headers.
18759
341dd673
TS
187602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18761
18762 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18763 __libc_cleanup_region_start argument.
18764
473611b2
JM
187652012-11-01 Joseph Myers <joseph@codesourcery.com>
18766
18767 [BZ #14784]
18768 [BZ #14785]
18769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18770 x * y using scaling, not as x * y + z.
18771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18773 * math/libm-test.inc (fma_test): Add more tests.
18774 (fma_test_towardzero): Likewise.
18775 (fma_test_downward): Likewise.
18776 (fma_test_upward): Likewise.
18777
4078da3d
TS
187782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18779
18780 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18781
903252aa
JM
187822012-10-31 Joseph Myers <joseph@codesourcery.com>
18783
18784 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18785 New variable.
18786
cbc818d0
TS
187872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18788
18789 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18790
5a03cb1e
AS
187912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18792
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18794 Fix sort order.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18796 Likewise.
18797
90aff2ff
TMQMF
187982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18799
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18801 Fix the order of the list for glibc 2.17.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18803 Likewise.
18804
1818fcb7
AS
188052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18806
18807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18808
ef82f4da
JM
188092012-10-31 Joseph Myers <joseph@codesourcery.com>
18810
16a0e2ec
JM
18811 [BZ #14610]
18812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18813 for low part of x being zero before using __atanl (y).
18814 * math/libm-test.inc (atan2_test): Add another test.
18815
0eb69512
JM
18816 * manual/install.texi (Configuring and compiling): Document
18817 general use of test-wrapper and test-wrapper-env.
18818 * INSTALL: Regenerated.
18819
ef82f4da
JM
18820 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18821 (__fma): Do not extract and scale down low bits on after-rounding
18822 systems when result rounded to normal precision would have normal
18823 exponent.
18824 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18825 (__fmal): Do not extract and scale down low bits on after-rounding
18826 systems when result rounded to normal precision would have normal
18827 exponent.
18828 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18829 (__fmal): Do not extract and scale down low bits on after-rounding
18830 systems when result rounded to normal precision would have normal
18831 exponent.
18832 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18833 macro.
18834 (fma_test): Add more tests.
18835 (fma_test_towardzero): Likewise.
18836 (fma_test_downward): Likewise.
18837 (fma_test_upward): Likewise.
18838
954ef0d9
L
188392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18840
18841 * sysdeps/i386/tininess.h: Renamed to ...
18842 * sysdeps/x86/tininess.h: This.
18843 * sysdeps/x86_64/tininess.h: Removed.
18844
df61ffb2
JM
188452012-10-30 Joseph Myers <joseph@codesourcery.com>
18846
18847 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18848 input. Use $(build-program-cmd).
18849 ($(objpfx)tst-array1-static.out): Likewise.
18850 ($(objpfx)tst-array2.out): Likewise.
18851 ($(objpfx)tst-array3.out): Likewise.
18852 ($(objpfx)tst-array4.out): Likewise.
18853 ($(objpfx)tst-array5.out): Likewise.
18854 ($(objpfx)tst-array5-static.out): Likewise.
18855
01767843
CM
188562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18857
47cc1490
CM
18858 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18859 if defined.
18860
01767843
CM
18861 * nss/nsswitch.h (nss_interface_function): Provide new
18862 macro for use with NSS functions.
18863 * grp/initgroups.c: Use new macro.
18864 * nss/getXXbyYY.c: Likewise.
18865 * nss/getXXbyYY_r.c: Likewise.
18866 * nss/getXXent.c: Likewise.
18867 * nss/getXXent_r.c: Likewise.
18868 * sysdeps/posix/getaddrinfo.c: Likewise.
18869
8321aa97
AJ
188702012-10-30 Andreas Jaeger <aj@suse.de>
18871
18872 * po/ru.po: Update Russion translation from translation project.
18873
2a27fd6d
JM
188742012-10-30 Joseph Myers <joseph@codesourcery.com>
18875
8627a232
JM
18876 [BZ #14152]
18877 [BZ #14783]
18878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18879 result and shift together with sticky bit instead of replicating
18880 round-to-nearest rounding.
18881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18883 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18884 missing underflow exceptions.
18885 (fma_test_towardzero): Add more tests.
18886 (fma_test_downward): Likewise.
18887 (fma_test_upward): Likewise.
18888
2a27fd6d
JM
18889 [BZ #14047]
18890 * sysdeps/generic/tininess.h: New file.
18891 * sysdeps/i386/tininess.h: Likewise.
18892 * sysdeps/sh/tininess.h: Likewise.
18893 * sysdeps/x86_64/tininess.h: Likewise.
18894 * stdlib/tst-strtod-underflow.c: Likewise.
18895 * stdlib/tst-tininess.c: Likewise.
18896 * stdlib/strtod_l.c: Include <tininess.h>.
18897 (round_and_return): Do not set errno for exact underflow cases.
18898 Force an underflow exception when setting errno for underflow.
18899 Determine underflow based on rounding to normal precision if
18900 TININESS_AFTER_ROUNDING.
18901 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18902 ERANGE for exact underflow cases.
18903 * stdlib/Makefile (tests): Add tst-tininess and
18904 tst-strtod-underflow.
18905 ($(objpfx)tst-tininess): Use $(link-libm).
18906 ($(objpfx)tst-strtod-underflow): Likewise.
18907
e7170363
AJ
189082012-10-30 Andreas Jaeger <aj@suse.de>
18909
e5088dc6
AJ
18910 [BZ#14767]
18911 * elf/Makefile (tests): Remove conditional for have-initfini-array
18912 since this is now always required and the variable does not exist
18913 anymore.
18914 (tests-static): Likewise.
18915 (modules-names): Likewise.
18916
e7170363 18917 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
18918
18919 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18920 merged with constructor/destructor.
18921 (init_array): Likewise.
18922 * elf/tst-array2dep.c (fini_array): Likewise.
18923 (init_array): Likewise.
18924
60457d8a
MF
189252012-10-29 Mike Frysinger <vapier@gentoo.org>
18926
18927 * manual/message.texi: Delete @cartouche tags.
18928
8bece752
PT
189292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18930
94ce799f
PT
18931 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18932 EOPNOTSUPP.
18933 * sysdeps/mach/hurd/fsync.c: Likewise.
18934
8bece752
PT
18935 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18936 [_POSIX_REALTIME_SIGNALS]: Change condition to
18937 [_POSIX_REALTIME_SIGNALS > 0].
18938
86ebe6b1
AJ
189392012-10-27 Andreas Jaeger <aj@suse.de>
18940
18941 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18942 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18944 [__WORDSIZE != 64]: Likewise.
18945
54399c08
L
189462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18947
18948 * iconvdata/tst-table.sh: Remove ${SHELL}.
18949 * iconvdata/tst-tables.sh: Likewise.
18950
e2211bed
DM
189512012-10-25 David S. Miller <davem@davemloft.net>
18952
18953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18954 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18955 of strtoull.
18956
f303f97c
DM
18957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18958 ifunc-impl-list.c
18959 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18960 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18961 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18962 file.
18963
1e9d84cd
RM
189642012-10-25 Roland McGrath <roland@hack.frob.com>
18965
18966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18967 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18968 __getdirentries.
18969
df381762
JM
189702012-10-25 Joseph Myers <joseph@codesourcery.com>
18971 Jim Blandy <jimb@codesourcery.com>
18972
18973 * scripts/cross-test-ssh.sh: New file.
18974 * manual/install.texi (Configuring and compiling): Document use of
18975 cross-test-ssh.sh.
18976 * INSTALL: Regenerated.
18977
bff64913
PT
189782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18979
18980 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18981 EOPNOTSUPP.
18982
25fe8932
JM
189832012-10-25 Joseph Myers <joseph@codesourcery.com>
18984
18985 * Makeconfig (run-program-prefix): Fix comment.
18986
cc1290d0
JM
189872012-10-24 Joseph Myers <joseph@codesourcery.com>
18988 Jim Blandy <jimb@codesourcery.com>
18989
18990 * Makeconfig (test-wrapper): New variable,
18991 (test-wrapper-env): Likewise.
18992 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18993 (run-built-tests): Define to yes.
18994 (run-program-prefix): Use $(test-wrapper).
18995 (built-program-cmd): Likewise.
18996 * Rules (make-test-out): Use $(test-wrapper-env) and
18997 $(host-built-program-cmd).
18998 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18999 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19000 tst-pathopt.sh.
19001 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19002 $(test-wrapper-env) to tst-rtld-load-self.sh.
19003 ($(objpfx)order2.out): Use $(test-wrapper).
19004 ($(objpfx)tst-initorder.out): Likewise.
19005 ($(objpfx)tst-initorder2.out): Likewise.
19006 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19007 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19008 (test_wrapper_env): New variable. Use it to run ld.so.
19009 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19010 Use it to run ld.so.
19011 (test_wrapper_env): Likewise.
19012 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19013 $(test-wrapper) to run-iconv-test.sh.
19014 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19015 (ICONV): Use $test_wrapper.
19016 * posix/Makefile ($(objpfx)globtest.out): Pass
19017 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19018 globtest.sh, not $(run-program-prefix).
19019 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19020 (test_wrapper): Likewise.
19021 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19022 set together with run_via_rtld_prefix.
19023 (run_program_prefix): Define in terms of test_wrapper and
19024 run_via_rtld_prefix.
19025
6e6249d0
RM
190262012-10-24 Roland McGrath <roland@hack.frob.com>
19027
19028 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19029 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19030 Targets removed.
19031
19032 [BZ #14743]
19033 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19034 Declare __clock_getres, __clock_gettime, __clock_settime,
19035 __clock_nanosleep, and __clock_getcpuclockid.
19036 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19037 Remove librt_hidden_def (clock_gettime).
19038 * sysdeps/unix/clock_gettime.c: Likewise.
19039 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19040 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19041 * rt/clock_getres.c: Define __clock_getres as an alias.
19042 * sysdeps/posix/clock_getres.c: Likewise.
19043 * rt/clock_settime.c: Define __clock_settime as an alias.
19044 * sysdeps/unix/clock_settime.c: Likewise.
19045 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19046 * sysdeps/unix/clock_nanosleep.c: Likewise.
19047 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19048 * rt/clock-compat.c: New file.
19049 * rt/Makefile (librt-routines): Add clock-compat and move
19050 $(clock-routines) to ...
19051 (routines): ... here, new variable.
19052 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19053 Don't add get_clockfreq here.
19054 * rt/Versions (libc: GLIBC_2.17): New version set.
19055 Add clock_* symbols here.
19056 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19057 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19058 (GLIBC_2.17): Add clock_* symbols.
19059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19063 Likewise.
19064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19065 Likewise.
19066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19070 * NEWS: Mention the move.
19071
19072 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19073 Use __open, __read, __close rather than their public counterparts.
19074 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19075 (__get_clockfreq_via_cpuinfo): Likewise.
19076 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19077 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19078
19079 * config.h.in (HAVE_IFUNC): New #undef.
19080 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19081 was successful.
19082 * configure: Regenerated.
19083
0cae3f4b
MF
190842012-10-24 Mike Frysinger <vapier@gentoo.org>
19085
19086 * configure.in: Move READELF check to start of file.
19087 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19088 libc_cv_asm_gnu_indirect_function in the process.
19089 * configure: Regenerated.
19090
8175a253
MF
190912012-10-24 Mike Frysinger <vapier@gentoo.org>
19092
19093 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19094 send the output to /dev/null.
19095 (libc_cv_cc_with_libunwind): Likewise.
19096 (libc_cv_as_noexecstack): Likewise.
19097 * configure: Regenerate.
19098
0708a7d1
JM
190992012-10-24 Joseph Myers <joseph@codesourcery.com>
19100
10b40d85
JM
19101 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19102
0708a7d1
JM
19103 * posix/globtest.sh (TMPDIR): Do not set.
19104 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19105 (testout): Likewise.
19106
9fddec1a
AJ
191072012-10-24 Andreas Jaeger <aj@suse.de>
19108
3a8db22f
AJ
19109 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19110 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19111 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19112 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19113 posix_fadvise64, posix_fallocate64.
19114
9fddec1a
AJ
19115 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19116 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19117 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19118 Likewise.
19119 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19120 Likewise.
19121 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19122
19123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19124 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19125 <bits/fcntl-linux.h>.
19126 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19127
19128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19129 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19130 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19131 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19132 [__WORDSIZE != 64]: Likewise.
19133
ebfd1bbd
JM
191342012-10-23 Joseph Myers <joseph@codesourcery.com>
19135
03ac099f
JM
19136 * Makeconfig (run-built-tests): New variable.
19137 * Rules [$(cross-compiling) = yes]: Change condition to
19138 [$(run-built-tests) = no].
19139 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19140 to [$(run-built-tests) = yes].
19141 * elf/Makefile [$(cross-compiling) = no]: Likewise
19142 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19143 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19144 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19145 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19146 * io/Makefile [$(cross-compiling) = no]: Likewise.
19147 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19148 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19149 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19150 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19151 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19152 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19153 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19154 * string/Makefile [$(cross-compiling) = no]: Likewise.
19155
ebfd1bbd
JM
19156 * posix/Makefile ($(objpfx)globtest.out): Pass
19157 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19158 $(rtld-installed-name).
19159 * posix/globtest.sh (elf_objpfx): Remove variable.
19160 (rtld_installed_name): Likewise.
19161 (library_path): Likewise.
19162 (run_program_prefix): New variable. Use for running globtest
19163 binary.
19164
166bca24
JB
191652012-10-23 Jim Blandy <jimb@codesourcery.com>
19166 Joseph Myers <joseph@codesourcery.com>
19167
19168 * Makeconfig (host-built-program-cmd): New variable.
19169 * elf/Makefile (tst-stackguard1-ARGS): Use
19170 $(host-built-program-cmd).
19171 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19172 (tst-spawn-ARGS): Likewise.
19173 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19174
88866099
JM
191752012-10-23 Joseph Myers <joseph@codesourcery.com>
19176 Jim Blandy <jimb@codesourcery.com>
19177
19178 * Makeconfig (run-via-rtld-prefix): New variable.
19179 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19180 (built-program-cmd): Likewise.
19181
b4b4c296
AJ
191822012-10-22 Andreas Jaeger <aj@suse.de>
19183
19184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19185 __O_RSYNC if it exists, otherwise to O_SYNC.
19186
6fb54a22
JB
191872012-10-22 Jim Blandy <jimb@codesourcery.com>
19188 Joseph Myers <joseph@codesourcery.com>
19189
19190 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19191 /dev/null.
19192 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19193 from /dev/null
19194 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19195 /dev/null.
19196
481b90b9
AJ
191972012-10-22 Andreas Jaeger <aj@suse.de>
19198
2a0e2669
AJ
19199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19200 Define always.
19201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19202
76e38f9a
AJ
19203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19204 bits/fcntl-linux.h.
19205
7cd37b43
AJ
19206 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19207 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19208
481b90b9
AJ
19209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19210 to __O_LARGEFILE.
19211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19212 to __O_LARGEFILE.
19213
aba75984
JB
192142012-10-21 Jim Blandy <jimb@codesourcery.com>
19215 Joseph Myers <joseph@codesourcery.com>
19216
19217 * config.make.in (NM): New variable.
19218
88d4247f
AJ
192192012-10-21 Andreas Jaeger <aj@suse.de>
19220
19221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19222 definitions and declarations that are provided by
19223 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19224
f2eed205
L
192252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19226
19227 [BZ #14683]
19228 * elf/Makefile (tests-static): Add tst-leaks1-static.
19229 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19230 ($(objpfx)tst-leaks1-static): New rule.
19231 ($(objpfx)tst-leaks1-static-mem): Likewise.
19232 (tst-leaks1-static-ENV): New macro.
19233 * elf/dl-open.c (dl_open_worker): Check the main application
19234 only if SHARED is defined.
19235 * elf/tst-leaks1-static.c: New file.
19236
335e6931
AJ
192372012-10-20 Andreas Jaeger <aj@suse.de>
19238
19239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19240 generic values for Linux.
19241 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19242 and declarations that are provided by <bits/fcntl-linux.h> and
19243 include <bits/fcntl-linux.h>.
19244 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19245 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19246
ac5c94d3
RM
192472012-10-20 Roland McGrath <roland@hack.frob.com>
19248
19249 * io/fcntl.h: Move include of <bits/types.h> to the top and
19250 include it unconditionally.
19251
de54b33a
L
192522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19253
228cfb01
L
19254 * wcsmbs/Makefile (tests-ifunc): New variable.
19255 (tests): Add $(tests-ifunc).
19256 * wcsmbs/test-wcschr-ifunc.c: New file.
19257 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19258 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19259 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19260 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19261 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19262
69f07e5f
L
19263 * string/Makefile (tests-ifunc): New variable.
19264 (tests): Add $(tests-ifunc).
19265 * string/test-memccpy.c (TEST_NAME): New macro.
19266 * string/test-memchr.c (TEST_NAME): Likewise.
19267 * string/test-memcmp.c (TEST_NAME): Likewise.
19268 * string/test-memcpy.c (TEST_NAME): Likewise.
19269 * string/test-memmem.c (TEST_NAME): Likewise.
19270 * string/test-memmove.c (TEST_NAME): Likewise.
19271 * string/test-memset.c (TEST_NAME): Likewise.
19272 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19273 * string/test-stpcpy.c (TEST_NAME): Likewise.
19274 * string/test-stpncpy.c (TEST_NAME): Likewise.
19275 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19276 * string/test-strcasestr.c (TEST_NAME): Likewise.
19277 * string/test-strcat.c (TEST_NAME): Likewise.
19278 * string/test-strchr.c (TEST_NAME): Likewise.
19279 * string/test-strcmp.c(TEST_NAME): Likewise.
19280 * string/test-strcpy.c (TEST_NAME): Likewise.
19281 * string/test-strcspn.c (TEST_NAME): Likewise.
19282 * string/test-strlen.c (TEST_NAME): Likewise.
19283 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19284 * string/test-strncmp.c (TEST_NAME): Likewise.
19285 * string/test-strncpy.c (TEST_NAME): Likewise.
19286 * string/test-strnlen.c (TEST_NAME): Likewise.
19287 * string/test-strpbrk.c (TEST_NAME): Likewise.
19288 * string/test-strrchr.c (TEST_NAME): Likewise.
19289 * string/test-strspn.c (TEST_NAME): Likewise.
19290 * string/test-strstr.c (TEST_NAME): Likewise.
19291 * string/test-bcopy-ifunc.c: New file.
19292 * string/test-bzero-ifunc.c: Likewise.
19293 * string/test-memccpy-ifunc.c: Likewise.
19294 * string/test-memchr-ifunc.c: Likewise.
19295 * string/test-memcmp-ifunc.c: Likewise.
19296 * string/test-memcpy-ifunc.c: Likewise.
19297 * string/test-memmem-ifunc.c: Likewise.
19298 * string/test-memmove-ifunc.c: Likewise.
19299 * string/test-mempcpy-ifunc.c: Likewise.
19300 * string/test-memset-ifunc.c: Likewise.
19301 * string/test-rawmemchr-ifunc.c: Likewise.
19302 * string/test-stpcpy-ifunc.c: Likewise.
19303 * string/test-stpncpy-ifunc.c: Likewise.
19304 * string/test-strcasecmp-ifunc.c: Likewise.
19305 * string/test-strcasestr-ifunc.c: Likewise.
19306 * string/test-strcat-ifunc.c: Likewise.
19307 * string/test-strchr-ifunc.c: Likewise.
19308 * string/test-strchrnul-ifunc.c: Likewise.
19309 * string/test-strcmp-ifunc.c: Likewise.
19310 * string/test-strcpy-ifunc.c: Likewise.
19311 * string/test-strcspn-ifunc.c: Likewise.
19312 * string/test-strlen-ifunc.c: Likewise.
19313 * string/test-strncasecmp-ifunc.c: Likewise.
19314 * string/test-strncat-ifunc.c: Likewise.
19315 * string/test-strncmp-ifunc.c: Likewise.
19316 * string/test-strncpy-ifunc.c: Likewise.
19317 * string/test-strnlen-ifunc.c: Likewise.
19318 * string/test-strpbrk-ifunc.c: Likewise.
19319 * string/test-strrchr-ifunc.c: Likewise.
19320 * string/test-strspn-ifunc.c: Likewise.
19321 * string/test-strstr-ifunc.c: Likewise.
19322
de54b33a
L
19323 * debug/Makefile (tests-ifunc): New variable.
19324 (tests): Add $(tests-ifunc).
19325 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19326 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19327 * debug/test-stpcpy_chk-ifunc.c: New file.
19328 * debug/test-strcpy_chk-ifunc.c: Likewise.
19329
88481c16
SP
193302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19331
19332 [BZ #13601]
19333 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19334 header is not read in.
19335
135948bd
JM
193362012-10-19 Joseph Myers <joseph@codesourcery.com>
19337
89f1c388
JM
19338 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19339 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19340 directly. Pass built executable to script as
19341 $(built-program-cmd).
19342 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19343 $testprogram without using LD_LIBRARY_PATH and $ldso.
19344
e40a0d21
JM
19345 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19346 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19347 $(rtld-installed-name).
19348 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19349 (rtld_installed_name): Likewise.
19350 (library_path): Likewise.
19351 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19352 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19353 $(run-program-prefix) to tst-tables.sh.
19354 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19355 it to run tst-table-from and tst-table-to.
19356 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19357 Pass it to tst-table.sh.
19358 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19359 $(run-program-prefix) to tst-gettext.sh.
19360 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19361 tst-translit.sh.
19362 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19363 tst-gettext2.sh.
19364 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19365 to run tst-gettext.
19366 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19367 to run tst-gettext2.
19368 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19369 to run tst-translit.
19370 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19371 $(run-program-prefix) to tst-mtrace.sh.
19372 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19373 to run tst-mtrace.
19374 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19375 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19376 $(rtld-installed-name).
19377 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19378 (rtld_installed_name): Likewise.
19379 (run_program_prefix): New variable. Use it to run wordexp-test.
19380
728e272a
JM
19381 * Makeconfig (ARCH): Remove all definitions.
19382 (machine): Likewise.
19383 [ARCH]: Remove conditional code.
19384 [!objdir]: Give error.
19385 [!objdir] (objpfx): Remove.
19386 [!objdir] (common-objpfx): Likewise.
19387 [!objdir] (common-objdir): Likewise.
19388 * configure.in (config_makefile): Remove. Hardcode Makefile in
19389 AC_CONFIG_FILES call.
19390 * configure: Regenerated.
19391
d528cdcf
JM
19392 [BZ #13888]
19393 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19394 or TMPDIR.
19395 (testout): Likewise.
19396
135948bd
JM
19397 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19398 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19399 $(rtld-installed-name).
19400 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19401 (rtld_installed_name): Likwise.
19402 (runit): Remove function.
19403 (run_getconf): New variable, Use it for running getconf binary.
19404
38c78296
L
194052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19406
19407 [BZ #14716]
19408 * string/test-memmem.c (check_result): New function.
19409 (do_one_test): Use it.
19410 (check1): New function.
19411 (test_main): Use it.
19412
d077f65f
MT
194132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19414
19415 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19416
ced52c71
JM
194172012-10-18 Joseph Myers <joseph@codesourcery.com>
19418
19419 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19420 (_G_LSEEK64): Likewise.
19421 (_G_MMAP64): Likewise.
19422 (_G_FSTAT64): Likewise.
19423 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19424 (_G_LSEEK64): Likewise.
19425 (_G_MMAP64): Likewise.
19426 (_G_FSTAT64): Likewise.
19427 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19428 unconditional. Call __mmap64 directly.
19429 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19430 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19431 __lseek64 directly.
19432 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19433 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19434 __mmap64 directly.
19435 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19436 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19437 __lseek64 directly.
19438 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19439 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19440 __lseek64 directly.
19441 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19442 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19443 __lseek64 directly.
19444 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19445 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19446 __fxstat64 directly.
19447 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19448 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19449 unconditional.
19450 (freopen64) [!_G_OPEN64]: Remove conditional code.
19451 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19452 unconditional.
19453 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19454 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19455 unconditional.
19456 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19457 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19458 unconditional.
19459 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19460 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19461 unconditional.
19462 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19463 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19464 unconditional.
19465 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19466 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19467 unconditional.
19468 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19469 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19470 unconditional.
19471 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19472
b741de23
SP
194732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19474
19475 [BZ #12140]
19476 * manual/memory.texi (Malloc Tunable Parameters): Add note
19477 about free list pointers overwriting some perturb bytes.
19478 Wording suggested by Roland McGrath.
19479
f9b9d9c9
JM
194802012-10-17 Joseph Myers <joseph@codesourcery.com>
19481
19482 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19483 (lgamma_test): Likewise.
19484 (tgamma_test): Likewise.
19485
172a631a
FW
194862012-10-16 Florian Weimer <fweimer@redhat.com>
19487
19488 [BZ #14700]
19489 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19490 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19491
e9f37252
MK
194922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19493
19494 * NEWS: Mention BZ #14716.
19495 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19496 when removing AVAILABLE1_USES_J macro.
19497
d394eb74
L
194982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19501 (__bswap_64): __uint64_t for unsigned 64-bit int.
19502
ca38dc17
AS
195032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19504
19505 * include/string.h (memmem): Declare libc hidden alias.
19506 * string/memmem.c (memmem): Define libc hidden alias.
19507 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19508 __read, __close instead of open, read, close.
19509
9a387d1f
L
195102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19511
ac49ecaf
L
19512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19513 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19514 global and hidden.
19515 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19516 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19517 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19518 Likewise.
19519 (__rawmemchr_sse2): Likewise.
19520 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19521 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19522 (__strchr_sse2): Likewise.
19523 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19524 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19525 (__strcasecmp_sse2): Likewise.
19526 (__strncasecmp_sse2): Likewise.
19527 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19528 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19529 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19530 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19531 (__strrchr_sse2): Likewise.
19532 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19533 ifunc-impl-list.c.
19534 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19535 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19536 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19537 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19538 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19539 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19540 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19541 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19542 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19543 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19544 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19545 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19546 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19547 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19548 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19549 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19550 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19551 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19552 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19553 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19554 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19555 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19556 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19557 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19558 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19559 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19560 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19561 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19562 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19563 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19564
b090e8ea
L
19565 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19566 global and hidden.
19567 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19568 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19569 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19570 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19571 Likewise.
19572 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19573 Likewise.
19574 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19575 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19576 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19577 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19578 ifunc-impl-list.c.
19579 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19580 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19581 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19582 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19583 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19584 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19585 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19586 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19587 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19588 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19589 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19590 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19591 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19592 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19593 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19594 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19595 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19596 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19597 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19598 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19599 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19600 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19601 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19602 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19603 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19604 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19605 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19606 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19607 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19608 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19609 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19610 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19611 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19612 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19613 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19614 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19616 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19617 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19618 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19619 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19620
11dd4af6
L
19621 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19622 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19623 * include/ifunc-impl-list.h: New file.
19624 * misc/ifunc-impl-list.c: Likewise.
19625 * misc/Makefile (routines): Add ifunc-impl-list.
19626 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19627 * string/test-string.h: Include <ifunc-impl-list.h>.
19628 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19629 impl_array): New variables.
19630 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19631 are defined.
19632 (test_init): Call __libc_ifunc_impl_list to initialize
19633 func_list if TEST_IFUNC and TEST_NAME are defined.
19634
9a387d1f
L
19635 * string/Makefile (strop-tests): Add bcopy and bzero.
19636 * string/test-bcopy.c: New file.
19637 * string/test-bzero.c: Likewise.
19638 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19639 defined.
19640 * string/test-memset.c: Support bzero test if TEST_BZERO is
19641 defined.
19642 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19643 __libc_memmove.
19644 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19645 __libc_memset.
19646 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19647 of memset.
19648
472371b9
JM
196492012-10-10 Joseph Myers <joseph@codesourcery.com>
19650
1e4a9536
JM
19651 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19652 * configure: Regenerated.
19653
d173d12e
JM
19654 * Makeconfig (+link-static-before-libc): Don't include
19655 $(link-static-libc).
19656
472371b9
JM
19657 * libio/libio.h (_IO_pos_t): Remove.
19658
89a3ad0b
AO
196592012-10-10 Alexandre Oliva <aoliva@redhat.com>
19660
19661 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19662 McGrath.
19663
e7451425
AO
196642012-10-10 Alexandre Oliva <aoliva@redhat.com>
19665
19666 * crypt/crypt-entry.c: Include fips-private.h.
19667 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19668 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19669 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19670 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19671
4ba74a35
AO
196722012-10-10 Alexandre Oliva <aoliva@redhat.com>
19673
19674 * crypt/crypt-private.h: Include stdbool.h.
19675 (_ufc_setup_salt_r): Return bool.
19676 * crypt/crypt-entry.c: Include errno.h.
19677 (__crypt_r): Return NULL with EINVAL for bad salt.
19678 * crypt/crypt_util.c (bad_for_salt): New.
19679 (_ufc_setup_salt_r): Check that salt is long enough and within
19680 the specified alphabet.
19681 * crypt/badsalttest.c: New file.
19682 * crypt/Makefile (tests): Add it.
19683 ($(objpfx)badsalttest): New.
19684
f96f1242
MK
196852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19686
19687 * NEWS: Add entry for BZ #14602.
19688
0e8e0c1c
JM
196892012-10-09 Joseph Myers <joseph@codesourcery.com>
19690
19691 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19692 type-generic.
19693 * math/libm-test.inc: Update comment listing what functions and
19694 macros are tested.
19695 (isgreater_test): New function.
19696 (isgreaterequal_test): Likewise.
19697 (isless_test): Likewise.
19698 (islessequal_test): Likewise.
19699 (islessgreater_test): Likewise.
19700 (isunordered_test): Likewise.
19701 (main): Call the new functions.
19702
273edc5e
RM
197032012-10-09 Roland McGrath <roland@hack.frob.com>
19704
b8493de0
RM
19705 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19706 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19707 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19708 * sysdeps/i386/configure: Regenerated.
19709 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19710 * sysdeps/mach/configure: Regenerated.
19711 * sysdeps/mach/hurd/configure: Regenerated.
19712 * sysdeps/powerpc/configure: Regenerated.
19713 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19714 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19715 * sysdeps/s390/s390-32/configure: Regenerated.
19716 * sysdeps/s390/s390-64/configure: Regenerated.
19717 * sysdeps/sh/configure: Regenerated.
19718 * sysdeps/sparc/configure: Regenerated.
19719 * sysdeps/unix/sysv/linux/configure: Regenerated.
19720 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19721 * sysdeps/x86_64/configure: Regenerated.
19722
273edc5e
RM
19723 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19724 defined. Don't check if MAP is NULL.
19725
c8450f70
JM
197262012-10-09 Joseph Myers <joseph@codesourcery.com>
19727
19728 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19729 (_G_stat64): Likewise.
19730 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19731 (_G_stat64): Likewise.
19732 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19733 instead of struct _G_stat64.
19734 * libio/fileops.c (mmap_remap_check): Likewise.
19735 (decide_maybe_mmap): Likewise.
19736 (_IO_new_file_seekoff): Likewise.
19737 (_IO_file_stat): Likewise.
19738 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19739 _G_off64_t.
19740 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19741 instead of struct _G_stat64.
19742 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19743
57e605ba
MK
197442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19745
19746 [BZ #14602]
19747 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19748 Replace with ...
19749 (CHECK_EOL): New macro.
19750 (two_way_short_needle): Check beginning of haystack for EOL. Use
19751 CHECK_EOL.
19752 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19753 Replace with CHECK_EOL.
19754 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19755 Replace with CHECK_EOL.
19756
ef1bb361
JM
197572012-10-08 Joseph Myers <joseph@codesourcery.com>
19758
19759 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19760 type-generic.
19761 * math/libm-test.inc: Update comment listing what functions and
19762 macros are tested.
19763 (finite_test): New function.
19764 (isinf_test): Likewise.
19765 (isnan_test): Likewise.
19766 (fpclassify_test): Test subnormal input.
19767 (isfinite_test): Likewise.
19768 (isnormal_test): Likewise.
19769 (main): Call the new functions.
19770
55f11534
JN
197712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19772
19773 [BZ #14660]
19774 * Makerules (%.dynsym): Force C locale when running
19775 $(OBJDUMP) --dynamic-syms.
19776
1ab29350
AS
197772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19778
19779 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19780 <stdint.h>.
19781
f1ecb7ef
DM
197822012-10-06 David S. Miller <davem@davemloft.net>
19783
19784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19785 upper 32-bits of the length value in %o2 since we use branch-on-register
19786 tests which consider the entire 64-bit register.
19787
5d41d91a
L
197882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19789
19790 * string/test-strstr.c (check2): Add a test for page boundary.
19791
3baddb72
DM
197922012-10-05 David S. Miller <davem@davemloft.net>
19793
19794 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19795 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19796 file.
19797 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19798 sysdep_routines.
19799 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19800 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19801 and bzero when HWCAP_SPARC_CRYPTO is present.
19802
9cee5585
L
198032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19804
d7e0dab9
L
19805 [BZ #14602]
19806 * string/test-strstr.c (check2): New function.
19807 (test_main): Call check2.
19808
03759f47
L
19809 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19810 and bug-strchr1.
19811 * string/bug-strcasestr1.c (do_test): Moved to ...
19812 * string/test-strcasestr.c (check1): Here. New function.
19813 (do_one_test): Break out result checking code into ...
19814 (check_result): This. New function.
19815 (do_one_test): Call check_result.
19816 (test_main): Call check1.
19817 * string/bug-strchr1.c (do_test): Moved to ...
19818 * string/test-strchr.c (check1): Here. New function.
19819 (do_one_test): Break out result checking code into ...
19820 (check_result): This. New function.
19821 (do_one_test): Call check_result.
19822 (test_main): Call check1.
19823 * string/bug-strstr1.c (main): Moved to ...
046f153e 19824 * string/test-strstr.c (check1): Here. New function.
03759f47
L
19825 (do_one_test): Break out result checking code into ...
19826 (check_result): This. New function.
19827 (do_one_test): Call check_result.
19828 (test_main): Call check1.
19829 * string/bug-strcasestr1.c: Removed.
19830 * string/bug-strchr1.c: Likewise.
19831 * string/bug-strstr1.c: Likewise.
19832
53cea63e
L
19833 * elf/Makefile (dl-routines): Add hwcaps.
19834 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19835 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19836 (_dl_important_hwcaps): Moved to ...
19837 * elf/dl-hwcaps.c: Here. New file.
19838 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19839
9cee5585 19840 [BZ #14557]
bb859b06
L
19841 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19842 if IS_IN_rtld isn't defined.
19843
9cee5585
L
19844 * elf/dl-support.c (_dl_sysinfo_map): New.
19845 Include "get-dynamic-info.h" and "setup-vdso.h".
19846 (_dl_non_dynamic_init): Call setup_vdso.
19847 * elf/dynamic-link.h: Don't include <assert.h>.
19848 (elf_get_dynamic_info): Moved to ...
19849 * elf/get-dynamic-info.h: Here. New file.
19850 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19851 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19852 * elf/setup-vdso.h: Here. New file.
19853 * elf/rtld.c: Include "setup-vdso.h".
19854 (dl_main): Call setup_vdso.
19855
23c31b76
JM
198562012-10-05 Joseph Myers <joseph@codesourcery.com>
19857
28234b07
JM
19858 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19859 creal in comment listing functions tested. List finite, isinf,
19860 isnan, isless, islessequal, isgreater, isgreaterequal,
19861 islessgreater, isunordered, lgamma_r and pow10 as functions and
19862 macros not tested. Mention which functions not tested are aliases
19863 for other functions. Fix typo. Note that signs of NaNs are not
19864 tested.
19865
23c31b76
JM
19866 * scripts/config.guess: Update from config.git.
19867 * scripts/config.sub: Likewise.
19868
9043e228
RM
198692012-10-04 Roland McGrath <roland@hack.frob.com>
19870
19871 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19872 * misc/madvise.c (madvise): Renamed to __madvise.
19873 Make madvise a weak alias.
19874 * include/sys/mman.h: Declare __madvise.
19875 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19876 * sysdeps/unix/syscalls.list
19877 (madvise): Make __madvise the strong name, and madvise a weak alias.
19878 * sysdeps/unix/sysv/linux/syscalls.list
19879 (madvise, mmap): Remove redundant entries.
19880 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19881 * malloc/malloc.c (mtrim): Likewise.
19882 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19883
f57f8055
RM
198842012-10-03 Roland McGrath <roland@hack.frob.com>
19885
19886 * sysdeps/mach/hurd/dl-cache.c: File removed.
19887 * config.h.in (USE_LDCONFIG): New #undef.
19888 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19889 * configure: Regenerated.
19890 * elf/Makefile (dl-routines): Add dl-cache only under
19891 [$(use-ldconfig) = yes].
19892 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19893 cache on [USE_LDCONFIG].
19894 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19895 [USE_LDCONFIG].
19896 * elf/rtld.c (dl_main): Likewise.
19897
5bb0c10a
PT
198982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19899
19900 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19901 _SC_LEVEL4_CACHE_LINESIZE.
19902
010188c6
RM
199032012-10-03 Roland McGrath <roland@hack.frob.com>
19904
19905 * sysdeps/unix/bsd/confstr.h: File removed.
19906
b6c5ec07
AO
199072012-10-02 Alexandre Oliva <aoliva@redhat.com>
19908
19909 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19910 sys/sdt-config.h.
19911
408223d4
RM
199122012-10-02 Roland McGrath <roland@hack.frob.com>
19913
19914 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19915 Make 'mapoff' field ElfW(Off) rather than off_t.
19916
bb9510dc
DL
199172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19918
fc997c6e
DL
19919 * nscd/Makefile: Remove nscd-cflags and all its users.
19920 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19921 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19922
bb9510dc
DL
19923 [BZ #10631]
19924 * malloc.c (malloc_printerr): Clarify error message.
19925
05699367
L
199262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19927
19928 [BZ #14648]
19929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19930 Set bit_FMA_Usable if FMA is supported.
19931 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19932 macro.
19933 (bit_FMA4_Usable): Updated.
19934 (index_FMA_Usable): New macro.
19935 (CPUID_FMA): Likewise
19936 (HAS_FMA): Defined with bit_FMA_Usable.
19937
51367701
RM
199382012-10-01 Roland McGrath <roland@hack.frob.com>
19939
19940 * bits/types.h (__swblk_t): Type removed.
19941 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19942 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19944 (__SWBLK_T_TYPE): Likewise.
19945 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19946 (__SWBLK_T_TYPE): Likewise.
19947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19948 (__SWBLK_T_TYPE): Likewise.
19949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19950 (__SWBLK_T_TYPE): Likewise.
19951
4d57bf63 199522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 19953 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
19954
19955 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19956 (xdr_mapname): Use YPMAXMAP as maxsize.
19957 (xdr_peername): Use YPMAXPEER as maxsize.
19958 (xdr_keydat): Use YPAXRECORD as maxsize.
19959 (xdr_valdat): Use YPMAXRECORD as maxsize.
19960
93c65d43
RM
199612012-10-01 Roland McGrath <roland@hack.frob.com>
19962
497a03d6
RM
19963 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19964
93c65d43
RM
19965 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19966 * csu/init-first.c: ... here.
19967 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19968 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19969 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19970 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19971 * sysdeps/i386/init-first.c: File removed.
19972 * sysdeps/sh/init-first.c: File removed.
19973
bec749fd
JM
199742012-10-01 Joseph Myers <joseph@codesourcery.com>
19975
19976 [BZ #14645]
19977 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19978 if x * y might underflow to zero and z is zero.
19979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19980 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19981 * math/libm-test.inc (min_subnorm_value): New variable.
19982 (fma_test): Add more tests.
19983 (fma_test_towardzero): Likewise.
19984 (fma_test_downward): Likewise
19985 (fma_test_upward): Likewise.
19986 (initialize): Set min_subnorm_value.
19987
8ec5b013
JM
199882012-09-29 Joseph Myers <joseph@codesourcery.com>
19989
19990 [BZ #14638]
19991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19992 0 + 0.
19993 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19994 mode for addition resulting in exact zero.
19995 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19996 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19997 exact 0 + 0.
19998 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20000 * math/libm-test.inc (fma_test): Add more tests.
20001 (fma_test_towardzero): New function.
20002 (fma_test_downward): Likewise.
20003 (fma_test_upward): Likewise.
20004 (main): Call the new functions.
20005
b1fa802e
DM
200062012-09-28 David S. Miller <davem@davemloft.net>
20007
20008 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20009
d3b9fd9e
RM
200102012-09-28 Roland McGrath <roland@hack.frob.com>
20011
ea4d37b3
RM
20012 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20013 instead of SIGALRM.
20014
ac51c949
RM
20015 * sysdeps/gnu/_G_config.h: Moved to ...
20016 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20017 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20018 * sysdeps/generic/_G_config.h: ... here.
20019
28c195f7
RM
20020 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20021
848917f9
RM
20022 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20023
6bacf05b
RM
20024 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20025 Conditionalize target on [libnss_test1.so-version].
20026
91363dbb
RM
20027 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20028
cc87f7d8
RM
20029 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20030 (elfobjdir): Move out of conditionals.
20031
b1c608fe
RM
20032 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20033 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20034 (__nss_lookup_function): Conditionalize label remove_from_tree on
20035 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20036
1d9a6d96
DM
200372012-09-28 David S. Miller <davem@davemloft.net>
20038
20039 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20040 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20041 file.
20042 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20043 sysdep_routines.
20044 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20046 when HWCAP_SPARC_CRYPTO is present.
20047
72581615
PT
200482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20049
20050 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20051
715a900c
JL
200522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20053
20054 [BZ #6530]
20055 * stdio-common/vfprintf.c (process_string_arg): Revert
20056 2000-07-22 change.
20057
200582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20059
20060 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20061 for testcase.
20062 * stdio-common/tst-sprintf.c: Include <locale.h>
20063 (main): Test sprintf's handling of incomplete multibyte
20064 characters.
20065
9bac1d86
L
200662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20067
20068 * elf/dl-runtime.c (VERSYMIDX): Removed.
20069 * elf/dl-version.c (VERSYMIDX): Likewise.
20070 * elf/do-rel.h (VERSYMIDX): Likewise.
20071 (VALIDX): Likewise.
20072 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20073 * elf/rtld.c (VALIDX): Likewise.
20074 (ADDRIDX): Likewise.
9bac1d86
L
20075 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20076 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20077 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20078 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20079 (VALIDX): Likewise.
20080 (ADDRIDX): Likewise.
9bac1d86 20081
b31606c0
PT
200822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20083
20084 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20085
11541177
JL
200862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20087
20088 [BZ #11438]
20089 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20090 to global scope.
20091 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20092 addresses are in the same scope as 192.0.2/24.
20093 * posix/gai.conf: Document new scope table defaults.
20094
adb26fae
SP
200952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20096
20097 [BZ #5298]
20098 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20099 for ftell. Compute offsets from write pointers instead.
20100 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20101
4573c6b0
SP
201022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20103
20104 [BZ #14543]
20105 * libio/Makefile (tests): New test case tst-fseek.
20106 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20107 combination works in wide mode.
20108 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20109 state when the external buffer state changes.
20110
aa9bbfe6
DM
201112012-09-27 David S. Miller <davem@davemloft.net>
20112
20113 [BZ #14376]
20114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20115 pass reloc->r_addend in as the 'high' argument to
20116 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20117
784421e7
DM
20118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20119
c39bc8b8
PT
201202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20121
20122 * rt/tst-aio2.c: Include <pthread.h>.
20123 * rt/tst-aio3.c: Likewise.
20124
1ccc2399
SE
201252012-09-27 Steve Ellcey <sellcey@mips.com>
20126
20127 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20128
31ed4153
L
201292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20130
25f5f885
L
20131 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20132 contents on [SHARED].
31ed4153 20133
b7bfe116
MP
201342012-09-26 Marek Polacek <polacek@redhat.com>
20135
20136 [BZ #14530]
20137 [BZ #13741]
20138 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20139 for C++ and GCC <4.3 as well as for non GCC compilers.
20140
43c4edba
MT
201412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20142
20143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20144
6a1bf82f
RM
201452012-09-25 Roland McGrath <roland@hack.frob.com>
20146
20147 * Makefile.in (all, install): Declare with .PHONY.
20148 Reported by Michael Hope <michael.hope@linaro.org>.
20149
8ad11b9a
TMQMF
201502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20151
20152 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20153 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20154 system header.
20155 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20156 Likewise.
20157 (sydep_routines): Add the new and the internal functions.
20158 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20159 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20161 (GLIBC_2.17): Add the new function.
20162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20163 (GLIBC_2.17): Likewise.
20164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20165 (GLIBC_2.17): Likewise.
20166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20167 (GLIBC_2.17): Likewise.
20168 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20169
7e2fca8d
AM
201702012-09-25 Alan Modra <amodra@gmail.com>
20171
20172 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20173 Add release barrier before setting once_control to say
20174 initialisation is done. Add hints on lwarx. Use macro in
20175 place of isync.
20176 (clear_once_control): Add release barrier.
20177
b87c4b24
JM
201782012-09-25 Joseph Myers <joseph@codesourcery.com>
20179
d032e0d2
JM
20180 [BZ #13629]
20181 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20182 specially.
20183 * math/s_clog10.c (__clog10): Likewise.
20184 * math/s_clog10f.c (__clog10f): Likewise.
20185 * math/s_clog10l.c (__clog10l): Likewise.
20186 * math/s_clogf.c (__clogf): Likewise.
20187 * math/s_clogl.c (__clogl): Likewise.
20188 * math/Makefile (libm-calls): Add x2y2m1.
20189 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20190 (__x2y2m1): Likewise.
20191 (__x2y2m1l): Likewise.
20192 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20193 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20196 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20197 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20198 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20199 * sysdeps/i386/fpu/libm-test-ulps: Update.
20200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20201
b87c4b24
JM
20202 [BZ #14621]
20203 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20204 int as type of variable DEPTH.
20205 (glob): Use size_t instead of int as type of variables NEWCOUNT
20206 and OLD_PATHC.
20207
6d3bf199
LD
202082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20209
22bf5c17
LD
20210 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20211 Add s_sincosf-sse2.
20212 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20213 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20214 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20215 macros for using routine as __sincosf_ia32.
20216 Use macro for function declaration and weak_alias.
20217 * sysdeps/i386/fpu/libm-test-ulps: Update.
20218
20219 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20221
20222 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20223 subnormal argument.
20224 * math/s_cexpf.c (__cexpf): Likewise.
20225 * math/s_csinf.c (__csinf): Likewise.
20226 * math/s_csinhf.c (__csinhf): Likewise.
20227 * math/s_ctanf.c (__ctanf): Likewise.
20228 * math/s_ctanhf.c (__ctanhf): Likewise.
20229 * math/s_ccosh.c (__ccoshf): Likewise.
20230 * math/s_cexp.c (__cexpl): Likewise.
20231 * math/s_csin.c (__csin): Likewise.
20232 * math/s_csinh.c (__csinh): Likewise.
20233 * math/s_ctan.c (__ctan): Likewise.
20234 * math/s_ctanh.c (ctanh): Likewise.
20235 * math/s_ccoshl.c (__ccoshl): Likewise.
20236 * math/s_cexpl.c (__cexpl): Likewise.
20237 * math/s_csinl.c (__csinl): Likewise.
20238 * math/s_csinhl.c (__csinhl): Likewise.
20239 * math/s_ctanl.c (__ctanl): Likewise.
20240 * math/s_ctanhl.c (__ctanhl): Likewise.
20241
203e5603
JM
202422012-09-25 Joseph Myers <joseph@codesourcery.com>
20243
20244 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20245 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20246 (_IO_off_t): Define to __off_t, not _G_off_t.
20247 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20248 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20249 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20250 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20251 type of __dummy and __dummy2 fields.
20252 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20253 (_G_ssize_t): Likewise.
20254 (_G_off_t): Likewise.
20255 (_G_pid_t): Likewise.
20256 (_G_uid_t): Likewise.
20257 (_G_wchar_t): Likewise.
20258 (_G_wint_t): Likewise.
20259 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20260 (_G_ssize_t): Likewise.
20261 (_G_off_t): Likewise.
20262 (_G_pid_t): Likewise.
20263 (_G_uid_t): Likewise.
20264 (_G_wchar_t): Likewise.
20265 (_G_wint_t): Likewise.
20266 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20267 (_G_ssize_t): Likewise.
20268 (_G_off_t): Likewise.
20269 (_G_pid_t): Likewise.
20270 (_G_uid_t): Likewise.
20271 (_G_wchar_t): Likewise.
20272 (_G_wint_t): Likewise.
20273
9fab36eb
SP
202742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20275
20276 * malloc/arena.c: Include malloc-sysdep.h.
20277 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20278 is sufficient to shrink the heap or an unmap is needed.
20279 * sysdeps/generic/malloc-sysdep.h: New file. Define
20280 new function check_may_shrink_heap.
20281 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20282 new function check_may_shrink_heap.
20283
2b4f00d1
SP
202842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20285
20286 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20287 comments.
20288
9a9028b1
DL
202892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20290
57c69bef
DL
20291 * catgets/test-gencat.sh: Add "set -e".
20292 * elf/tst-pathopt.sh: Likewise.
20293 * grp/tst_fgetgrent.sh: Likewise.
20294 * iconvdata/run-iconv-test.sh: Likewise.
20295 * intl/tst-gettext.sh: Likewise.
20296 * intl/tst-gettext2.sh: Likewise.
20297 * intl/tst-gettext4.sh: Likewise.
20298 * intl/tst-gettext6.sh: Likewise.
20299 * intl/tst-translit.sh: Likewise.
20300 * io/ftwtest-sh: Likewise.
20301 * libio/test-freopen.sh: Likewise.
20302 * malloc/tst-mtrace.sh: Likewise.
20303 * posix/globtest.sh: Likewise.
20304 * posix/tst-getconf.sh: Likewise.
20305 * posix/wordexp-tst.sh: Likewise.
20306 * stdio-common/tst-printf.sh: Likewise.
20307 * stdio-common/tst-unbputc.sh: Likewise.
20308 * stdlib/tst-fmtmsg.sh: Likewise.
20309 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20310 * catgets/Makefile: Do not specify -e option when running
20311 testsuite shell scripts.
20312 * elf/Makefile: Likewise.
20313 * grp/Makefile: Likewise.
20314 * iconvdata/Makefile: Likewise.
20315 * intl/Makefile: Likewise.
20316 * io/Makefile: Likewise.
20317 * libio/Makefile: Likewise.
20318 * malloc/Makefile: Likewise.
20319 * posix/Makefile: Likewise.
20320 * stdio-common/Makefile: Likewise.
20321 * stdlib/Makefile: Likewise.
20322 * sysdeps/x86_64/Makefile: Likewise.
20323
9a9028b1
DL
20324 * io/ftwtest-sh: Add copyright header.
20325 * posix/globtest.sh: Likewise.
20326 * posix/tst-getconf.sh: Likewise.
20327 * posix/wordexp-tst.sh: Likewise.
20328 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20329
ced6f16e
L
203302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20331
94b32c39
L
20332 [BZ #13679]
20333 * Makeconfig (+link): Defined as $(+link-static) if
20334 $(build-shared) isn't yes.
20335 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20336 isn't yes.
20337 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20338
189e935b
L
20339 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20340
ced6f16e
L
20341 [BZ #14562]
20342 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20343 new chunk size with MALLOC_ALIGN_MASK.
20344
a9f8e53a
JM
203452012-09-24 Joseph Myers <joseph@codesourcery.com>
20346
20347 [BZ #5044]
20348 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20349 <rounding-mode.h>.
20350 (__printf_fphex): Determine rounding using get_rounding_mode and
20351 round_away.
20352 * stdio-common/tst-printf-round.c (struct hex_test): New
20353 structure.
20354 (hex_tests): New variable.
20355 (test_hex_in_one_mode): New function.
20356 (do_test): Also run tests for hex float output.
20357
43153109
JM
203582012-09-21 Joseph Myers <joseph@codesourcery.com>
20359
20360 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20361 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20362 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20363 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20364 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20365 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20366 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20367 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20368
8a26625d
JM
203692012-09-20 Joseph Myers <joseph@codesourcery.com>
20370
20371 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20372 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20373 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20374 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20375
f3fd569c
DL
203762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20377
20378 [BZ #14579]
20379 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20380 mode only.
20381 * elf/tst-rtld-load-self.sh: New test.
20382 * elf/Makefile: Run it.
20383
63bbedd4
JM
203842012-09-18 Joseph Myers <joseph@codesourcery.com>
20385
20386 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20387 (tst-writev-ENV): Remove.
20388 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20389
626f8b6a
CM
203902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20391
20392 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20393
b7aaa4d6
JM
203942012-09-17 Joseph Myers <joseph@codesourcery.com>
20395
20396 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20397 unconditional.
20398 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20399 Likewise.
20400 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20401 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20402 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20403 Likewise.
20404
65513990
L
204052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20406
20407 [BZ #14587]
20408 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20409 * config.make.in (have-cpp-asm-debuginfo): Removed.
20410 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20411 * configure: Regenerated.
20412
784761be
JM
204132012-09-14 Joseph Myers <joseph@codesourcery.com>
20414
20415 [BZ #5044]
20416 * stdio-common/printf_fp.c: Include <stdbool.h> and
20417 <rounding-mode.h>.
20418 (___printf_fp): Determine rounding using get_rounding_mode and
20419 round_away.
20420 * stdio-common/tst-printf-round.c: New file.
20421 * stdio-common/Makefile (tests): Add tst-printf-round.
20422 (link-libm): New variable.
20423 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20424
9503345f
L
204252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20426
20427 [BZ #14576]
20428 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20429 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20430 Likewise.
20431 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20432 Likewise.
20433
ad35fc00
JM
204342012-09-13 Joseph Myers <joseph@codesourcery.com>
20435
20436 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20437 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20438 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20440
6c9b0f68
JM
204412012-09-12 Joseph Myers <joseph@codesourcery.com>
20442
20443 [BZ #14518]
20444 * include/rounding-mode.h: New file.
20445 * sysdeps/generic/get-rounding-mode.h: Likewise.
20446 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20447 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20448 (MAX_VALUE): New macro.
20449 (MIN_VALUE): Likewise.
20450 (overflow_value): New function.
20451 (underflow_value): Likewise.
20452 (round_and_return): Use overflow_value and underflow_value to
20453 determine return values in overflow and underflow cases. Use
20454 round_away to determine rounding depending on rounding mode.
20455 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20456 determine return values in overflow and underflow cases.
20457 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20458 (struct test_results): New structure.
20459 (struct test): Use struct test_results to store expected results
20460 for all rounding modes.
20461 (TEST): Include expected results for all rounding modes.
20462 (test_in_one_mode): New function.
20463 (do_test): Use test_in_one_mode to compute and check results.
20464 Check results for all rounding modes.
20465 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20466 $(link-libm).
20467
19fcedd5
AM
204682012-12-09 Allan McRae <allan@archlinux.org>
20469
1e9d84cd 20470 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20471
8bbfd2f1
JM
204722012-09-11 Joseph Myers <joseph@codesourcery.com>
20473
20474 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20475 (_G_int32_t): Likewise.
20476 (_G_uint16_t): Likewise.
20477 (_G_uint32_t): Likewise.
20478 (_G_HAVE_BOOL): Likewise.
20479 (_G_HAVE_ATEXIT): Likewise.
20480 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20481 (_G_HAVE_IO_FILE_OPEN): Likewise.
20482 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20483 (_G_int32_t): Likewise.
20484 (_G_uint16_t): Likewise.
20485 (_G_uint32_t): Likewise.
20486 (_G_HAVE_BOOL): Likewise.
20487 (_G_HAVE_ATEXIT): Likewise.
20488 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20489 (_G_HAVE_IO_FILE_OPEN): Likewise.
20490 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20491 (_G_int32_t): Likewise.
20492 (_G_uint16_t): Likewise.
20493 (_G_uint32_t): Likewise.
20494 (_G_HAVE_BOOL): Likewise.
20495 (_G_HAVE_ATEXIT): Likewise.
20496 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20497 (_G_HAVE_IO_FILE_OPEN): Likewise.
20498
b1dc5912
L
204992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20500
20501 * csu/libc-tls.c: Update copyright years.
20502
0e886ef9
JM
205032012-09-10 Joseph Myers <joseph@codesourcery.com>
20504
28361c5e
JM
20505 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20506 [!_G_USING_THUNKS]: Remove conditional code.
20507 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20508 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20509
0e886ef9
JM
20510 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20511 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20512 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20513 (_G_VTABLE_LABEL_PREFIX): Likewise.
20514 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20515 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20516 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20517 (_G_VTABLE_LABEL_PREFIX): Likewise.
20518 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20519 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20520 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20521 (_G_VTABLE_LABEL_PREFIX): Likewise.
20522 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20523
bcba7aa2
L
205242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20525
20526 * libio/Makefile: Include ../Makeconfig before tests.
20527 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20528 only if $(build-shared) is yes.
20529
06585ee8
L
20530 * iconv/gconv_db.c: Update copyright years.
20531
80ccd52c
LD
205322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20533
20534 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20535 unwind info if defined PIC. Fix special cases description.
20536 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20537
20538 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20539 DP_HI_MASK entry.
20540 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20541
691bc9c1
L
205422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20543
3d9b46b3
L
20544 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20545
de2139a9
L
20546 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20547 is NULL.
20548
5ca78dd0
L
20549 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20550 (LDLIBS-tst-chk4): This.
20551 (LDFLAGS-tst-chk5): Renamed to ...
20552 (LDLIBS-tst-chk5): This.
20553 (LDFLAGS-tst-chk6): Renamed to ...
20554 (LDLIBS-tst-chk6): This.
20555 (LDFLAGS-tst-lfschk4): Renamed to ...
20556 (LDLIBS-tst-lfschk4): This.
20557 (LDFLAGS-tst-lfschk5): Renamed to ...
20558 (LDLIBS-tst-lfschk5): This.
20559 (LDFLAGS-tst-lfschk6): Renamed to ...
20560 (LDLIBS-tst-lfschk6): This.
20561
691bc9c1
L
20562 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20563 on $(common-objpfx)soversions.mk.
20564
65cafb1c
JM
205652012-09-07 Joseph Myers <joseph@codesourcery.com>
20566
20567 [BZ #10014]
20568 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20569 example host name.
20570
c78ab094
SP
205712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20572
20573 * malloc/arena.c (arena_get_retry): New function that gets
20574 another arena for the caller to try its request on.
20575 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20576 current arena cannot fulfill the request.
20577 (__libc_memalign): Likewise.
20578 (__libc_memalign): Likewise.
20579 (__libc_pvalloc): Likewise.
20580 (__libc_calloc): Likewise.
20581
01f49f59
JT
205822012-09-05 John Tobey <john.tobey@gmail.com>
20583
20584 [BZ #13542]
20585 * manual/arith.texi (Operations on Complex): Fix description
20586 of carg branch cut.
20587
4c23fed5
JM
205882012-09-06 Joseph Myers <joseph@codesourcery.com>
20589
1d3c8572
JM
20590 [BZ #10014]
20591 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20592 host name.
20593
4c23fed5
JM
20594 [BZ #10038]
20595 * manual/memory.texi (Memory): Make order of menu items match
20596 order of sections.
20597
04570aaa
L
205982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20599
20600 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20601 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20602 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20603
b80af2f4
L
206042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20605
20606 * csu/libc-tls.c (static_dtv): Renamed to ...
20607 (_dl_static_dtv): This. Make it global.
20608 (_dl_initial_dtv): Removed.
20609 (__libc_setup_tls): Updated.
20610 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20611 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20612 DL_INITIAL_DTV.
20613
2abe9f15
PM
206142012-09-06 Petr Machata <pmachata@redhat.com>
20615
20616 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20617 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20618 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20619 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20620
0948c3af
L
206212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20622
20623 [BZ #14545]
20624 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20625 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20626 freeing dtv[-1].
20627
a5055ad1
L
206282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20629
20630 [BZ #14544]
20631 * Makeconfig (link-static-before-libc): Replace $(+prector)
20632 with $(+prectorT).
20633 (link-static-after-libc): Replace $(+postctor) with
20634 $(+postctorT).
20635 (link-bounded): Replace $(+prector)/$(+postctor) with
20636 $(+prectorT)/$(+postctorT).
20637 (+prectorT): New macro.
20638 (+postctorT): Likewise.
20639
ed8c2ecd
JM
206402012-09-06 Joseph Myers <joseph@codesourcery.com>
20641
20642 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20643 (round_str): Handle values above the maximum for IBM long double
20644 as inexact.
20645 * stdlib/tst-strtod-round.c (tests): Regenerated.
20646
14c996c8
AK
206472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20648
20649 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20650 assembler flag.
20651 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20652 zarch_nohighgprs around the zarch optimized routines.
20653 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20654 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20655 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20656 for zarch.
20657
430d6ce6
DM
206582012-09-05 David S. Miller <davem@davemloft.net>
20659
20660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20661
ff04dda4
DM
20662 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20663 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20664 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20666 entries.
20667
24d4e01b
AO
206682012-09-05 Alexandre Oliva <aoliva@redhat.com>
20669
20670 * malloc/arena.c: Fold copyright years.
20671 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20672
61d58174
AO
206732012-09-05 Alexandre Oliva <aoliva@redhat.com>
20674
20675 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20676
20196a5e
AO
206772012-09-05 Alexandre Oliva <aoliva@redhat.com>
20678
20679 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20680
5c447383
AO
206812012-09-05 Alexandre Oliva <aoliva@redhat.com>
20682
20683 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20684 change internal state upon failure.
20685
fad64255
AO
206862012-09-05 Alexandre Oliva <aoliva@redhat.com>
20687
20688 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20689 * malloc/memusage.c (mmap): Likewise.
20690 (mmap64, mremap): Likewise. Adjust name in comment.
20691
1ffb8c90
SP
206922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20693
20694 * libio/fileops.c: Fix typos in comments.
20695 * libio/oldfileops.c: Likewise.
20696 * libio/wfileops.c: Likewise.
20697
6ef9cc37
SP
206982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20699
20700 [BZ #1349]
20701 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20702 (tst-malloc-usable-ENV): Set environment for test case.
20703 * malloc/hooks.c (malloc_check_get_size): New function to get
20704 requested size.
20705 * malloc/malloc.c (musable): Use malloc_check_get_size.
20706 * malloc/tst-malloc-usable.c: New test case.
20707
4d038ae3
AS
207082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20709
20710 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20711
c4e85184
AM
207122012-09-05 Allan McRae <allan@archlinux.org>
20713
b9dafc56 20714 [BZ #13966]
c4e85184
AM
20715 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20716 determine header location.
20717 * configure: Regenerated.
20718
e1343020
AS
207192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20720
20721 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20722 float format.
20723 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20724 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20725 format.
e1343020
AS
20726 (test): Regenerate.
20727
0a9f1987
DM
207282012-09-04 David S. Miller <davem@davemloft.net>
20729
20730 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20731 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20732 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20733
29237804
FW
207342012-09-04 Florian Weimer <fweimer@redhat.com>
20735
20736 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20737 failures.
20738
edb3cb88
FW
20739 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20740
60160d83
JM
207412012-09-04 Joseph Myers <joseph@codesourcery.com>
20742
20743 [BZ #9914]
20744 * libio/iogetdelim.c: Include <limits.h>.
20745 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20746 + len + 1 would overflow.
20747
bcd6c8dc
AJ
207482012-09-03 Andreas Jaeger <aj@suse.de>
20749
20750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20751 * sysdeps/i386/fpu/libm-test-ulps: Update.
20752
4ffffbd2
LD
207532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20754
20755 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20756 Add s_sinf-sse2, s_conf-sse2.
20757
20758 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20759 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20760 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20761 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20762
20763 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20764 for using routine as __sinf_ia32.
20765 Use macro for function declaration and weak_alias.
20766 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20767 for using routine as __cosf_ia32.
20768 Use macro for function declaration and weak_alias.
20769
20770 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20771 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20772
20773 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20774 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20776
20777 * math/libm-test.inc (cos_test): Add more test cases.
20778 (sin_test): Likewise.
20779 (sincos_test): Likewise.
20780
511fa286
AK
207812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20782
20783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20784 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20785 hidden.
20786 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20787
5f30cfec
L
207882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20789
20790 [BZ #14538]
20791 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20792 first element of the GOT.
20793 (elf_machine_load_address): Return the difference between
20794 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20795
0786794f
AM
207962012-09-01 Allan McRae <allan@archlinux.org>
20797
5f30cfec
L
20798 [BZ #13412]
20799 * configure.in (AWK): Require gawk version 3.0 or later.
20800 * configure: Regenerated.
0786794f 20801
26889eac
JM
208022012-09-01 Joseph Myers <joseph@codesourcery.com>
20803
20804 * sysdeps/unix/sysv/linux/kernel-features.h
20805 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20807 [__NR_clock_getres]: Make code unconditional.
20808 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20809 (clock_getcpuclockid): Remove code left unreachable by removal of
20810 conditionals.
20811 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20812 code unconditional.
20813 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20814 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20815 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20816 Make code unconditional.
20817 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20818 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20819 * sysdeps/unix/sysv/linux/clock_settime.c
20820 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20821 conditional code.
20822 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20823 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20824
d22e28b0
L
208252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 [BZ #14476]
20828 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20829 scripts/test-installation.pl.
20830
20831 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20832 and $ld_so_version if it is set.
20833
050af9c4
SP
208342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20835
20836 [BZ #14516]
20837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20838 failure if reading from procfs failed.
20839 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20840
ad845c0b
JM
208412012-08-27 Joseph Myers <joseph@codesourcery.com>
20842
20843 * sysdeps/unix/sysv/linux/kernel-features.h
20844 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20845 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20846 Remove conditional code.
20847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20848 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20849 Remove conditional code.
20850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20851 * sysdeps/unix/sysv/linux/i386/fxstat.c
20852 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20854 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20855 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20857 * sysdeps/unix/sysv/linux/i386/lxstat.c
20858 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20860 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20861 Remove conditional code.
20862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20863 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20864 Remove conditional code.
20865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20866 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20867 <kernel-features.h>.
20868 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20869 Remove.
20870 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20871 Remove conditional code.
20872 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20873 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20874 Remove conditional.
20875
5dbf56af
MF
208762012-08-27 Mike Frysinger <vapier@gentoo.org>
20877
20878 [BZ #5400]
20879 * NEWS: Add fixed bug number.
20880
d6e70f43
JM
208812012-08-27 Joseph Myers <joseph@codesourcery.com>
20882
7efb4737
JM
20883 [BZ #14519]
20884 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20885 underflowing exponent in case of negative sign.
20886 * stdlib/tst-strtod-round-data: Add more tests.
20887 * stdlib/tst-strtod-round.c (tests): Regenerated.
20888
af92131a
JM
20889 [BZ #3479]
20890 * stdlib/strtod_l.c (NDIG): Remove.
20891 (HEXNDIG): Likewise.
20892 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20893 smallest representable value.
20894 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20895 lie within an exact representation of 1/2 ulp of the result.
20896 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20897 unconditionally.
20898 (TENS_P9_IDX): Define unconditionally.
20899 (TENS_P9_SIZE): Likewise.
20900 (TENS_P10_IDX): Likewise.
20901 (TENS_P10_SIZE): Likewise.
20902 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20903 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20904 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20905 entries for 10^2^13 and 10^2^14.
20906 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20907 (TENS_P13_IDX): Define.
20908 (TENS_P13_SIZE): Likewise.
20909 (TENS_P14_IDX): Likewise.
20910 (TENS_P14_SIZE): Likewise.
20911 (_fpioconst_pow10): Change array size to
20912 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20913 unconditional.
20914 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20915 1024]: Add entries for 10^2^13 and 10^2^14.
20916 [LAST_POW10 > _LAST_POW10]: Remove #error.
20917 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20918 (_fpioconst_pow10): Change array size to
20919 FPIOCONST_POW10_ARRAY_SIZE.
20920 * stdlib/gen-fpioconst.c: New file.
20921 * stdlib/gen-tst-strtod-round.c: Likewise.
20922 * stdlib/tst-strtod-round-data: Likewise.
20923 * stdlib/tst-strtod-round.c: Likewise.
20924 * stdlib/Makefile (tests): Add tst-strtod-round.
20925
d6e70f43
JM
20926 [BZ #14459]
20927 * stdlib/strtod_l.c: Include <stdint.h>.
20928 (NDEBUG): Do not define.
20929 (round_and_return): Change EXPONENT parameter to type intmax_t.
20930 Rearrange calculations to avoid internal overflow possibilities.
20931 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20932 Rearrange calculations to avoid internal overflow possibilities.
20933 Assert that number fits inside MPNSIZE limbs.
20934 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20935 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20936 calculations and add assertions to avoid internal overflow
20937 possibilities. Add casts to avoid signed/unsigned operations.
20938 * stdlib/tst-strtod-overflow.c: New file.
20939 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20940
1f529f7d
MP
209412012-08-25 Marek Polacek <polacek@redhat.com>
20942
20943 * time/time.h: Fix some typos in comments.
20944
59a629f1
RM
209452012-08-23 Roland McGrath <roland@hack.frob.com>
20946
20947 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20948 * posix/tst-rfc3484-2.c: Likewise.
20949 * posix/tst-rfc3484-3.c: Likewise.
20950
d3bafbc9
SM
209512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20952
20953 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20954 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20955
4efcc022
JM
209562012-08-23 Joseph Myers <joseph@codesourcery.com>
20957
20958 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20959 #include of fxstatat64.c.
20960
3cc3ef96
RM
209612012-08-22 Roland McGrath <roland@hack.frob.com>
20962
f04e2132
RM
20963 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20964 * shadow/getspent_r.c: Likewise.
20965 * shadow/getspnam.c: Likewise.
20966 * shadow/getspnam_r.c: Likewise.
20967 * gshadow/getsgent.c: Likewise.
20968 * gshadow/getsgent_r.c: Likewise.
20969 * gshadow/getsgnam.c: Likewise.
20970 * gshadow/getsgnam_r.c: Likewise.
20971 * inet/getnetbyad.c: Likewise.
20972 * inet/getnetbyad_r.c: Likewise.
20973 * inet/getnetbynm.c: Likewise.
20974 * inet/getnetbynm_r.c: Likewise.
20975 * inet/getnetent.c: Likewise.
20976 * inet/getnetent_r.c: Likewise.
20977 * inet/getproto.c: Likewise.
20978 * inet/getproto_r.c: Likewise.
20979 * inet/getprtent.c: Likewise.
20980 * inet/getprtent_r.c: Likewise.
20981 * inet/getprtname.c: Likewise.
20982 * inet/getprtname_r.c: Likewise.
20983 * inet/getrpcbyname.c: Likewise.
20984 * inet/getrpcbyname_r.c: Likewise.
20985 * inet/getrpcbynumber.c: Likewise.
20986 * inet/getrpcbynumber_r.c: Likewise.
20987 * inet/getrpcent.c: Likewise.
20988 * inet/getrpcent_r.c: Likewise.
20989 * inet/getaliasent.c: Likewise.
20990 * inet/getaliasent_r.c: Likewise.
20991 * inet/getaliasname.c: Likewise.
20992 * inet/getaliasname_r.c: Likewise.
20993 * nscd/getgrgid_r.c: Likewise.
20994 * nscd/getgrnam_r.c: Likewise.
20995 * nscd/gethstbyad_r.c: Likewise.
20996 * nscd/gethstbynm3_r.c: Likewise.
20997 * nscd/getpwnam_r.c: Likewise.
20998 * nscd/getpwuid_r.c: Likewise.
20999 * nscd/getsrvbynm_r.c: Likewise.
21000 * nscd/getsrvbypt_r.c: Likewise.
21001 * nscd/gai.c: Likewise.
21002
c53d909c
RM
21003 * configure.in (build_nscd): New substituted variable, set
21004 by --disable-build-nscd and defaults to $use_nscd.
21005 * configure: Regenerated.
21006 * config.make.in (build-nscd): New substituted variable.
21007 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21008 Change conditional to require [$(build-nscd) = yes] as well.
21009 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21010
3cc3ef96
RM
21011 [BZ# 13696]
21012 * configure.in (use_nscd): New substituted variable, set by
21013 --disable-nscd. If enabled, define USE_NSCD.
21014 * configure: Regenerated.
21015 * config.h.in: Add USE_NSCD.
21016 * config.make.in (use-nscd): New substituted variable.
21017 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21018 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21019 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21020 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21021 (CFLAGS-getgrnam_r.c): Likewise.
21022 (CFLAGS-initgroups.c): Likewise.
21023 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21024 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21025 Variables removed.
21026 * inet/getnetgrent_r.c
21027 (nscd_setnetgrent): New function, broken out of ...
21028 (setnetgrent): ... here. Call it.
21029 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21030 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21031 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21032 * nscd/Makefile (routines, aux): Move definitions after include of
21033 Makeconfig. Conditionalize on [$(use-nscd) != no].
21034 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21035 Conditionalize on [USE_NSCD].
21036 (is_nscd, nscd_init_cb): Likewise.
21037 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21038 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21039 * nss/nss_db/db-init.c: Likewise.
21040 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21041 [USE_NSCD].
21042 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21043 (make_request): Use it.
21044 (cache_valid_p): New function.
21045 (__check_pf): Use it.
21046 * NEWS: Add item for --disable-nscd.
21047
07e51550
DL
210482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21049
21050 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21051 to support sed >= 4.2.1-20-ga9bf076.
21052 * configure: Regenerated.
21053
35a5b08b
RM
210542012-08-22 Roland McGrath <roland@hack.frob.com>
21055
21056 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21057 Conditionalize whole body on [IREL].
21058
8479f23a
JL
210592012-08-22 Jeff Law <law@redhat.com>
21060
21061 [BZ #14505]
21062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21063 if the family is PF_UNSPEC.
21064
48da0b21
MF
210652012-08-22 Mike Frysinger <vapier@gentoo.org>
21066
21067 * Makerules (lib-version): Rename from V.
21068 (install-lib-nosubdir): Change V to lib-version.
21069
15d0da8c
WS
210702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21071
21072 [BZ #14252]
21073 * powerpc32/power6/wcschr.c: New file.
21074 * powerpc32/power6/wcscpy.c: New file.
21075 * powerpc32/power6/wcsrchr.c: New file.
21076 * powerpc64/power6/wcschr.c: New file.
21077 * powerpc64/power6/wcscpy.c: New file.
21078 * powerpc64/power6/wcsrchr.c: New file.
21079
bcca0895
MK
210802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21081
21082 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21083 (two_way_short_needle): Use it.
5a4aaa33
RM
21084 * string/strstr.c (AVAILABLE1_USES_J): Define.
21085 * string/strcasestr.c: Likewise.
99677e57
MK
21086
21087 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21088 array references.
21089 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21090
400726de
MK
21091 [BZ #11607]
21092 * NEWS: Add an entry.
21093 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21094 define their defaults.
21095 (two_way_short_needle): Detect end-of-string on-the-fly.
21096 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21097 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21098 * string/bug-strcasestr1.c: New test.
21099 * string/Makefile: Run it.
21100
20a71f2c
MK
211012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21102
21103 [BZ #11607]
21104 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21105 the first character.
21106
21ad0558
RM
211072012-08-21 Roland McGrath <roland@hack.frob.com>
21108
21109 * csu/elf-init.c (__libc_csu_irel): Function removed.
21110 * csu/libc-start.c (apply_irel): New function.
21111 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21112
0e1d9911
JM
211132012-08-21 Joseph Myers <joseph@codesourcery.com>
21114
21115 * sysdeps/unix/sysv/linux/kernel-features.h
21116 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21117 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21118 <kernel-features.h>.
21119 [__NR_fadvise64_64]: Make code unconditional.
21120 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21121 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21122 !__NR_fadvise64_64)]: Likewise.
21123 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21124 !__NR_fadvise64_64))]: Likewise.
21125 [__NR_fadvise64]: Make code unconditional.
21126 [!__NR_fadvise64]: Remove conditional code.
21127 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21128 <kernel-features.h>.
21129 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21130 unconditional.
21131 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21132 conditional code.
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21134 not include <kernel-features.h>.
21135 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21136 unconditional.
21137 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21138 conditional code.
21139 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21140 include <kernel-features.h>.
21141 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21142 unconditional.
21143 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21144 conditional code.
21145
14a50c9d
WS
211462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21147
21148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21149 slight instruction rearrangements per scrollpipe analysis.
21150 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21151
c0f4faf0
RM
211522012-08-20 Roland McGrath <roland@hack.frob.com>
21153
696da859
RM
21154 * manual/syslog.texi (syslog; vsyslog, closelog):
21155 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21156 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21157
c0f4faf0
RM
21158 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21159 DSOCAPS to match condition on defining it.
21160
348363b2
JM
211612012-08-20 Joseph Myers <joseph@codesourcery.com>
21162
a35cbf28
JM
21163 * sysdeps/unix/sysv/linux/kernel-features.h
21164 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21166 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21167 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21172 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21173 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21174
445f7ecd
JM
21175 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21176 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21177
348363b2
JM
21178 * sysdeps/unix/sysv/linux/kernel-features.h
21179 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21180 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21181 unconditional.
21182 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21183 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21184 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21185 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21186 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21187 Make code unconditional.
21188 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21189 (__mmap64) [!__NR_mmap2]: Likewise.
21190 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21191 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21192 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21193 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21194 [__NR_mmap2]: Make code unconditional.
21195 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21196 (__mmap64) [!__NR_mmap2]: Likewise.
21197
bc5bc0e5
AK
211982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21199
21200 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21201
88d506de
AJ
212022012-08-18 Andreas Jaeger <aj@suse.de>
21203
21204 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21205
493387d2
MF
212062012-08-18 Mike Frysinger <vapier@gentoo.org>
21207
21208 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21209 * include/unistd.h (__have_sock_cloexec): Likewise.
21210 (__have_pipe2): Likewise.
21211 (__have_dup3): Likewise.
21212
a277af22
MF
212132012-08-18 Mike Frysinger <vapier@gentoo.org>
21214
21215 [BZ #9685]
21216 * include/unistd.h (__have_pipe2): Change define into an extern int.
21217 (__have_dup3): Likewise.
21218 * socket/have_sock_cloexec.c: Include fcntl.h.
21219 (__have_pipe2): New variable.
21220 (__have_dup3): Likewise.
21221
fdab8fd3
MF
212222012-08-17 Mike Frysinger <vapier@gentoo.org>
21223
21224 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21225
31035e80
MP
212262012-08-17 Marek Polacek <polacek@redhat.com>
21227
21228 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21229 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21230
3bd9e993
RM
212312012-08-17 Roland McGrath <roland@hack.frob.com>
21232
c91c505f
RM
21233 * configure.in: Add AC_SUBST for sysheaders.
21234 * configure: Regenerated.
21235 * config.make.in (sysheaders): New substituted variable.
21236
7c6f9d53
RM
21237 * sysdeps/unix/mkfifo.c: Moved ...
21238 * sysdeps/posix/mkfifo.c: ... here.
21239 * sysdeps/unix/mkfifoat.c: Moved ...
21240 * sysdeps/posix/mkfifoat.c: ... here.
21241
21242 * sysdeps/unix/utime.c: Moved ...
21243 * sysdeps/posix/utime.c: ... here.
21244
21245 * sysdeps/unix/time.c: Moved ...
21246 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21247 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21249
21250 * sysdeps/unix/nice.c: Moved ...
21251 * sysdeps/posix/nice.c: ... here.
21252
21253 * sysdeps/unix/alarm.c: Moved ...
21254 * sysdeps/posix/alarm.c: ... here.
21255
3bd9e993
RM
21256 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21257
d1f09384
JL
212582012-08-17 Jeff Law <law@redhat.com>
21259
21260 * intl/Makefile (codeset_mo): New variable.
21261 ($(codeset_mo)): New target.
21262 (tst-codeset.out): Depend on that. Remove explicit rule.
21263 (tst-gettext3.out, tst-gettext5.out): Likewise.
21264 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21265 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21266 * intl/tst-codeset.sh: Remove.
21267 * intl/tst-gettext3.sh: Likewise.
21268 * intl/tst-gettext5.sh: Likewise.
21269
2ae1ae5c
RM
212702012-08-17 Roland McGrath <roland@hack.frob.com>
21271
c31fdb83
RM
21272 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21273 * sysdeps/unix/syscalls.list: ... here.
21274
a0844057
RM
21275 * sysdeps/posix/getaddrinfo.c
21276 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21277 (gaiconf_init, gaiconf_reload): Use them.
21278 [!_STATBUF_ST_NSEC]
21279 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21280 Define using time_t rather than struct timespec.
21281
750c1f2a
RM
21282 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21283 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21284 Macros removed.
21285 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21286 [!NO_THREADS].
21287 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21288 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21289 Likewise.
21290
2ae1ae5c
RM
21291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21292 __libc_cleanup_push argument.
21293
e66a42f5
RM
21294 * bits/param.h: New file.
21295 * misc/sys/param.h: New file.
21296 * include/sys/param.h: New file.
21297 * misc/Makefile (headers): Add bits/param.h.
21298 * sysdeps/generic/sys/param.h: File removed.
21299 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21300 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21301 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21302 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21303
b7c08a66
RM
21304 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21305 last change.
21306
b2e1c562
RM
21307 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21308 [_IO_MTSAFE_IO].
21309 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21310 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21311 New macros.
21312
c75ccd4c
RM
21313 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21314 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21315 rather than -D_IO_MTSAFE_IO conditionally.
21316 * stdio-common/Makefile (CPPFLAGS): Likewise.
21317 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21318 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21319 Use $(libio-mtsafe).
21320 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21321 of -D_IO_MTSAFE_IO.
21322 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21323 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21324 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21325 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21326 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21327 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21328 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21329 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21330 (CFLAGS-fread_u_chk.c): Likewise.
21331 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21332 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21333 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21334 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21335 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21336 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21337 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21338 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21339 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21340
21341 * libio/Makefile: Test [$(libc-reentrant) = yes]
21342 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21343
21344 * Makeconfig
21345 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21346 * sysdeps/pthread/configure: File removed.
21347 * sysdeps/pthread/Makeconfig: New file.
21348 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21349 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21350
d9195db8
GB
213512012-08-16 Gary Benson <gbenson@redhat.com>
21352
21353 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21354 unmapping the first object in a namespace.
21355
86466cd9
RM
213562012-08-16 Roland McGrath <roland@hack.frob.com>
21357
21358 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21359 (__internal_setnetgrent): ... this. Add internal_function to
21360 definition. Add libc_hidden_def.
21361 (setnetgrent): Update caller.
21362 (internal_endnetgrent): Renamed to ...
21363 (__internal_endnetgrent): ... this. Add internal_function to
21364 definition. Add libc_hidden_def.
21365 (endnetgrent): Update caller.
21366 (internal_getnetgrent_r): Renamed to ...
21367 (__internal_getnetgrent_r): ... this. Add internal_function to
21368 definition. Add libc_hidden_def.
21369 (__getnetgrent_r): Update caller.
21370 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21371
c3c8283c
JM
213722012-08-16 Joseph Myers <joseph@codesourcery.com>
21373
21374 * stdlib/longlong.h: Update from GCC.
21375
db1ee0a8
RM
213762012-08-16 Roland McGrath <roland@hack.frob.com>
21377
21378 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21379 on _QL, which is set by umul_ppmm but never used.
21380 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21381 variables, which are set by GMP macros but never used.
21382 * stdio-common/_itowa.c (_itowa): Likewise.
21383 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21384 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21385
30f69637
CD
213862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21387
21388 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21389 struct La_sh_regs is not constant.
21390 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21391 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21392 and struct La_sparc64_regs are not constant.
21393
93a78ac4
JM
213942012-08-16 Joseph Myers <joseph@codesourcery.com>
21395
21396 * sysdeps/unix/sysv/linux/kernel-features.h
21397 (__ASSUME_POSIX_TIMERS): Remove.
21398 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21400 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21401 Make code unconditional.
21402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21403 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21404 Make code unconditional.
21405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21406 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21407 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21409 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21410 Make code unconditional.
21411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21412 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21413 (__libc_missing_posix_timers): Remove.
21414
dd924cd7
RM
214152012-08-15 Roland McGrath <roland@hack.frob.com>
21416
4b4f2771
RM
21417 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21418 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21419
601c888b
RM
21420 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21421
176790a7
RM
21422 * elf/dl-sym.c: Include <stdlib.h>.
21423
329bc018
RM
21424 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21425 constants, which avoids warnings in 32-bit builds.
21426
e04e272d
RM
21427 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21428 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21429
952bf94a
RM
21430 * misc/lseek.c: File moved to ...
21431 * io/lseek.c: ... here.
21432
7c99b50a
RM
21433 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21434
dd924cd7
RM
21435 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21436 shifting LEN more than 31 bits at once.
21437
b3f479a8
LD
214382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21439
21440 [BZ #14195]
8c4ae0d4
RM
21441 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21442 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21443 * string/test-strncasecmp.c (check1): Renamed to...
21444 (bz12205): ...this.
21445 (bz14195): Add new testcase for two empty input strings and N > 0.
21446 (test_main): Call new testcase, adapt for renamed function.
21447
9c55864e
AJ
214482012-08-15 Andreas Jaeger <aj@suse.de>
21449
21450 [BZ #14090]
21451 * crypt/md5test2.c: New test, based on test supplied by Serge
21452 Belyshev <belyshev@depni.sinp.msu.ru>.
21453 * crypt/Makefile (xtests): Add md5test-giant..
21454 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21455
02dcb6c5
PE
214562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21457
21458 [BZ #14090]
21459 * crypt/md5.c (md5_process_block): Don't assume the buffer
21460 length is less than 2**32.
21461 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21462 length is less than 2**64.
21463
a3f95dcc
RM
214642012-08-15 Roland McGrath <roland@hack.frob.com>
21465
be75d758
RM
21466 * string/str-two-way.h: Include <sys/param.h>.
21467 (MAX): Macro removed.
21468
7312ca90
RM
21469 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21470 Move #define and #undef of memmove to just before and after
21471 including <string.h>.
21472
9a0a5486
RM
21473 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21474 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21475 and after including <string.h>. Move declarations of
21476 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21477 to before #include "string/memmove.c".
21478
67cc348d
RM
21479 * include/dirent.h: Declare __getdirentries.
21480
a3f95dcc
RM
21481 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21482 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21483
ca98e171
MF
214842012-08-14 Mike Frysinger <vapier@gentoo.org>
21485
21486 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21487 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21488 * sysdeps/i386/configure: Regenerated.
21489 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21490 STABS_CURRENT_FILE, and STABS_FUN.
21491 (END): Remove call to STABS_FUN_END.
21492 (STABS_CURRENT_FILE1): Delete.
21493 (STABS_CURRENT_FILE): Likewise.
21494 (STABS_FUN): Likewise.
21495 (STABS_FUN_END): Likewise.
21496 (STABS_FUN2): Likewise.
21497 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21498 * sysdeps/x86_64/configure: Regenerated.
21499
5908bf46
RM
215002012-08-14 Roland McGrath <roland@hack.frob.com>
21501
21502 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21503 * elf/dl-lookup.c: Likewise.
5908bf46 21504
f2c05b9e
JM
215052012-08-14 Joseph Myers <joseph@codesourcery.com>
21506
21507 * sysdeps/unix/sysv/linux/kernel-features.h
21508 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21509 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21510 unconditionally.
21511 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21512 unconditionally.
21513 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21514 condition on __ASSUME_CLONE_THREAD_FLAGS.
21515
e11f5155
AJ
215162012-08-14 Andreas Jaeger <aj@suse.de>
21517
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519
51a9ba86
MK
215202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21521
2fdd4f78
AJ
21522 * include/atomic.h (atomic_exchange_and_add): Split into ...
21523 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21524 New atomic macros.
51a9ba86 21525
ba6cba9e
MT
215262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21527
21528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21529
42443a47
JL
215302012-08-13 Jeff Law <law@redhat.com>
21531
21532 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21533 null byte in the output string.
21534
121dce05
JM
215352012-08-10 Joseph Myers <joseph@codesourcery.com>
21536
21537 * sysdeps/unix/sysv/linux/kernel-features.h
21538 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21539 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21540 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21541 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21542 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21543 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21544 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21545
bf51f568
JL
215462012-08-09 Jeff Law <law@redhat.com>
21547
21548 [BZ #13939]
21549 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21550 When avoid_arena is set, don't retry in the that arena. Pick the
21551 next one, whatever it might be.
21552 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21553 (arena_lock): Pass in new parameter to arena_get2.
21554 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21555 arena_get2.
21556 (__libc_malloc): Unify retrying after main arena failure with
21557 __libc_memalign version.
21558 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21559
f85fa270
L
215602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 [BZ #14166]
21563 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21564 to __redirect_strstr.
21565 (__strstr_sse42): Use typeof __redirect_strstr.
21566 (__strstr_ia32): Likewise.
21567 (__libc_strstr): New prototype.
21568 (strstr): Renamed to ...
21569 (__libc_strstr): This.
21570 (strstr): New strong alias of __libc_strstr.
21571 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21572 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21573 __redirect_time.
21574 Include <time.h>.
21575 (__libc_time): New prototype.
21576 (time_ifunc): Replace time with __libc_time.
21577 (time): New strong alias and hidden definition of __libc_time.
21578 (__GI_time): Remove strong alias.
21579 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21580 Include <stddef.h>.
21581 (memmove): Redefined to __redirect_memmove.
21582 (__memmove_sse2): Use typeof __redirect_memmove.
21583 (__memmove_ssse3): Likewise.
21584 (__memmove_ssse3_back): Likewise.
21585 (__libc_memmove): New prototype.
21586 (memmove): Renamed to ...
21587 (__libc_memmove): This.
21588 (memmove): New strong alias of __libc_memmove.
21589
33b4a91e
MS
215902012-08-08 Mark Salter <msalter@redhat.com>
21591
21592 * elf/elf.h
21593 (R_MN10300_TLS_GD): Define.
21594 (R_MN10300_TLS_LD): Likewise.
21595 (R_MN10300_TLS_LDO): Likewise.
21596 (R_MN10300_TLS_GOTIE): Likewise.
21597 (R_MN10300_TLS_IE): Likewise.
21598 (R_MN10300_TLS_LE): Likewise.
21599 (R_MN10300_TLS_DTPMOD): Likewise.
21600 (R_MN10300_TLS_DTPOFF): Likewise.
21601 (R_MN10300_TLS_TPOFF): Likewise.
21602 (R_MN10300_SYM_DIFF): Likewise.
21603 (R_MN10300_ALIGN): Likewise.
21604 (R_MN10300_NUM): Update.
21605
b36137f1
JM
216062012-08-08 Joseph Myers <joseph@codesourcery.com>
21607
21608 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21609 Remove.
21610
cdd915fd
RM
216112012-08-08 Roland McGrath <roland@hack.frob.com>
21612
a2433aac
RM
21613 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21614
cdd915fd
RM
21615 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21616 sysdeps/unix -> sysdeps/posix move.
21617 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21618
bf9b740a
AM
216192012-08-07 Allan McRae <allan@archlinux.org>
21620
21621 [BZ #14303]
21622 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21623 (SUNOS_CPP): Likewise.
21624 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21625 not found.
21626 (open_input): Call CPP using execvp.
21627
93df14ee
JM
216282012-08-07 Joseph Myers <joseph@codesourcery.com>
21629
21630 * sysdeps/unix/sysv/linux/kernel-features.h
21631 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21632 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21633 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21634 (__ASSUME_WAITID_SYSCALL): Likewise.
21635 * sysdeps/unix/sysv/linux/dl-execstack.c
21636 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21637 code unconditional.
21638 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21639 conditional code.
21640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21641 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21642 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21643 code.
21644 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21645 unconditional.
21646 [__ASSUME_WAITID_SYSCALL]: Likewise.
21647 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21648
d34689de
RM
216492012-08-07 Roland McGrath <roland@hack.frob.com>
21650
a281decc
RM
21651 * sysdeps/unix/closedir.c: Renamed to ...
21652 * sysdeps/posix/closedir.c: ... here.
21653 * sysdeps/unix/dirfd.c: Renamed to ...
21654 * sysdeps/posix/dirfd.c: ... here.
21655 * sysdeps/unix/dirstream.h: Renamed to ...
21656 * sysdeps/posix/dirstream.h: ... here.
21657 * sysdeps/unix/fdopendir.c: Renamed to ...
21658 * sysdeps/posix/fdopendir.c: ... here.
21659 * sysdeps/unix/opendir.c: Renamed to ...
21660 * sysdeps/posix/opendir.c: ... here.
21661 * sysdeps/unix/readdir.c: Renamed to ...
21662 * sysdeps/posix/readdir.c: ... here.
21663 * sysdeps/unix/readdir_r.c: Renamed to ...
21664 * sysdeps/posix/readdir_r.c: ... here.
21665 * sysdeps/unix/rewinddir.c: Renamed to ...
21666 * sysdeps/posix/rewinddir.c: ... here.
21667 * sysdeps/unix/seekdir.c: Renamed to ...
21668 * sysdeps/posix/seekdir.c: ... here.
21669 * sysdeps/unix/telldir.c: Renamed to ...
21670 * sysdeps/posix/telldir.c: ... here.
21671 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21672 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21673 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21674 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21675
22895b47
RM
21676 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21677 * bits/fcntl.h: ... here.
21678
707a53b6
RM
21679 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21680 not 0.
21681 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21682 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21683 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21684 (struct flock): Move l_start, l_len to the beginning.
21685 Use __pid_t for l_pid.
21686 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21687 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21688 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21689 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21690 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21691 [__USE_LARGEFILE64] (struct flock64): New type.
21692 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21693
f0bd3e25
RM
21694 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21695 * bits/dirent.h: ... here.
21696
d34689de
RM
21697 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21698 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21699
6dad2c06
JM
217002012-08-07 Joseph Myers <joseph@codesourcery.com>
21701
21702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21703 Change from 2.6.0 to 2.6.16.
21704 * sysdeps/unix/sysv/linux/configure: Regenerated.
21705 * sysdeps/unix/sysv/linux/kernel-features.h
21706 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21707 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21708 version.
21709 (__ASSUME_UTIMES): Likewise.
21710 (__ASSUME_CLONE_STOPPED): Remove.
21711 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21712 architectures, not kernel version.
21713 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21714 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21715 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21716 (__ASSUME_WAITID_SYSCALL): Likewise.
21717 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21718 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21719 * README: State 2.6.16 as minimum Linux kernel version. Do not
21720 refer to older versions.
21721
03af9520
RM
217222012-08-06 Roland McGrath <roland@hack.frob.com>
21723
8e49df1d
RM
21724 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21725 Define alphasort64 as an alias.
21726 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21727 Define versionsort64 as an alias.
21728 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21729 Define scandir64 as an alias.
21730 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21731 Define scandirat64 as an alias.
21732 * dirent/alphasort64.c (alphasort64):
21733 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21734 * dirent/versionsort64.c: Likewise.
21735 * dirent/scandir64.c: Likewise.
21736 * dirent/scandirat64.c: Likewise.
21737 * sysdeps/wordsize-64/alphasort.c: File removed.
21738 * sysdeps/wordsize-64/alphasort64.c: File removed.
21739 * sysdeps/wordsize-64/scandir.c: File removed.
21740 * sysdeps/wordsize-64/scandir64.c: File removed.
21741 * sysdeps/wordsize-64/scandirat.c: File removed.
21742 * sysdeps/wordsize-64/scandirat64.c: File removed.
21743 * sysdeps/wordsize-64/versionsort.c: File removed.
21744 * sysdeps/wordsize-64/versionsort64.c: File removed.
21745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21751 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21752 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21753
21754 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21756 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21757 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21758 [defined __arch64__ || defined __sparcv9]
21759 (__INO_T_MATCHES_INO64_T): New macro.
21760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21761 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21762 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21763 * sysdeps/unix/sysv/linux/bits/dirent.h
21764 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21765 (_DIRENT_MATCHES_DIRENT64): New macro.
21766
03af9520
RM
21767 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21768 Define lockf64 as an alias.
21769 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21770 Define fseeko64 as an alias.
21771 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21772 Define ftello64 as an alias.
21773 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21774 Define _IO_fgetpos64 and fgetpos64 as aliases.
21775 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21776 Define _IO_fsetpos64 and fsetpos64 as aliases.
21777 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21778 Conditionalize body on this.
21779 * libio/fseeko64.c: Likewise.
21780 * libio/ftello64.c: Likewise.
21781 * libio/iofgetpos64.c: Likewise.
21782 * libio/iofsetpos64.c: Likewise.
21783 * sysdeps/wordsize-64/lockf.c: File removed.
21784 * sysdeps/wordsize-64/lockf64.c: File removed.
21785 * sysdeps/wordsize-64/fseeko.c: File removed.
21786 * sysdeps/wordsize-64/fseeko64.c: File removed.
21787 * sysdeps/wordsize-64/ftello.c: File removed.
21788 * sysdeps/wordsize-64/ftello64.c: File removed.
21789 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21790 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21791 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21792 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21793 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21794 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21800 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21801 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21803
21804 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21805 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21806 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21807 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21808 [defined __arch64__ || defined __sparcv9]
21809 (__OFF_T_MATCHES_OFF64_T): New macro.
21810 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21811 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21813 (__OFF_T_MATCHES_OFF64_T): New macro.
21814
c5757acd
L
218152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21816
21817 * stdlib/secure-getenv.c (__secure_getenv): Replace
21818 GLIBC_2_16 with GLIBC_2_17.
21819
3a31811e
L
218202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21823 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21824
faa2bccb
DM
218252012-08-03 David S. Miller <davem@davemloft.net>
21826
21827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21828
85fe1997
JM
218292012-08-03 Joseph Myers <joseph@codesourcery.com>
21830
21831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21832 Remove.
21833 (__ASSUME_CORRECT_SI_PID): Likewise.
21834 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21835 (__ASSUME_TMPFS_NAME): Likewise.
21836 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21837 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21838 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21839 (HAVE_AUX_SECURE): Make definition unconditional.
21840 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21841 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21842
4f75b7a0
RM
218432012-08-03 Roland McGrath <roland@hack.frob.com>
21844
21845 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21846 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21847 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21848 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21849 __eloop_threshold instead of SYMLOOP_MAX.
21850
21851 * sysdeps/generic/eloop-threshold.h: New file.
21852 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21853 of MAXSYMLINKS.
21854 * elf/chroot_canon.c (chroot_canon): Likewise.
21855
7aab07e4
JM
218562012-08-03 Joseph Myers <joseph@codesourcery.com>
21857
21858 [BZ #13717]
21859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21860 Change to 2.6.0 everywhere.
21861 * sysdeps/unix/sysv/linux/configure: Regenerated.
21862 * sysdeps/unix/sysv/linux/kernel-features.h
21863 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21864 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21865 kernel versions.
21866 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21867 (__ASSUME_FUTEX_REQUEUE): Remove.
21868 (__ASSUME_STATFS64): Define unconditionally.
21869 (__ASSUME_AT_SECURE): Likewise.
21870 (__ASSUME_CORRECT_SI_PID): Likewise.
21871 (__ASSUME_TGKILL): Define without depending on kernel version for
21872 i386.
21873 (__ASSUME_UTIMES): Likewise.
21874 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21875 kernel version.
21876 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21877 (__ASSUME_TMPFS_NAME): Likewise.
21878 * README: Update reference to Linux kernel versions.
21879
b67e9372
MP
218802012-08-02 Marek Polacek <polacek@redhat.com>
21881
1f529f7d 21882 [BZ# 14150]
b67e9372
MP
21883 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21884 libc_cv_asm_type_prefix with %.
21885 * configure: Regenerated.
d2441631
RM
21886 * include/libc-symbols.h: Remove comment about
21887 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
21888 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21889 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21890 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21891 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21892 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21893 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21894 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21895 * elf/tst-unique2mod1.c: Likewise.
21896 * elf/tst-unique1mod2.c: Likewise.
21897 * elf/tst-unique1mod1.c: Likewise.
21898 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21899 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21900 Replace ASM_TYPE_DIRECTIVE with .type.
21901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21902 * sysdeps/i386/sysdep.h: Likewise.
21903 * sysdeps/x86_64/sysdep.h: Likewise.
21904 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21906 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 21907 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
21908 * sysdeps/powerpc/powerpc32/sysdep.h:
21909 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
21910 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21911 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21912 * sysdeps/i386/fpu/e_powf.S: Likewise.
21913 * sysdeps/i386/fpu/e_expl.S: Likewise.
21914 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21915 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21916 * sysdeps/i386/fpu/e_pow.S: Likewise.
21917 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21918 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21919 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21920 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21921 * sysdeps/i386/fpu/e_log2.S: Likewise.
21922 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21924 * sysdeps/i386/fpu/e_powl.S: Likewise.
21925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21926 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21927 * sysdeps/i386/fpu/e_logl.S: Likewise.
21928 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21929 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21930 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21931 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21932 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21933 * sysdeps/i386/fpu/e_log.S: Likewise.
21934 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21935 * sysdeps/i386/fpu/e_logf.S: Likewise.
21936 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21937 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21938 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21939 * sysdeps/i386/fpu/e_log10.S: Likewise.
21940 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21941 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21942 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21943 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21944 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21945 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21946 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21947 * sysdeps/i386/i686/strtok.S: Likewise.
21948 * sysdeps/i386/i386-mcount.S: Likewise.
21949 * sysdeps/i386/strtok.S: Likewise.
21950 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21951 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21952 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21953 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21954 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21955 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21956 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21957 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21958 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21959 * sysdeps/x86_64/_mcount.S: Likewise.
21960 * sysdeps/x86_64/strtok.S: Likewise.
21961 * sysdeps/sh/_mcount.S: Likewise.
21962
2747bf9a
RM
219632012-08-01 Roland McGrath <roland@hack.frob.com>
21964
21965 * libio/iofopen.c: Include <fcntl.h>.
21966 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21967 (_IO_fopen64, fopen64): Define as aliases.
21968 * libio/iofopen64.c: Include <fcntl.h>.
21969 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21970 Conditionalize body on this.
21971 * sysdeps/wordsize-64/iofopen.c: File removed.
21972 * sysdeps/wordsize-64/iofopen64.c: File removed.
21973
3fb791b8
MP
219742012-08-01 Marek Polacek <polacek@redhat.com>
21975
21976 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21977 Use dlfcn directly instead of a variable.
21978 (binfmt-subdir): Do not define.
21979 (dlfcn): Likewise.
21980
a9f1039f
JM
219812012-08-01 Joseph Myers <joseph@codesourcery.com>
21982
23bddc06
JM
21983 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21984 Remove all definitions.
21985 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21986 <kernel-features.h>.
21987 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21988 (miss_F_GETOWN_EX): Remove all definitions.
21989 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21990 macro definition.
21991 [!__ASSUME_FCNTL64]: Remove conditional code.
21992 [__ASSUME_FCNTL64]: Make code unconditional.
21993 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21994 <kernel-features.h>.
21995 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21996 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21997 (lockf64) [__NR_fcntl64]: Make code unconditional.
21998 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21999
a9f1039f
JM
22000 * sysdeps/unix/sysv/linux/kernel-features.h
22001 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22002 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22003 Make code unconditional.
22004 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22005 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22007 [__NR_vfork]: Make code unconditional.
22008 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22009 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22011 [__NR_vfork]: Make code unconditional.
22012 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22013 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22014
09c0ee5f
RM
220152012-08-01 Roland McGrath <roland@hack.frob.com>
22016
48aec5b9
RM
22017 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22018 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22019
cd97c966
RM
22020 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22021 Define mkstemp64 as an alias.
3f55550c
RM
22022 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22023 Define mkstemps64 as an alias.
cd97c966
RM
22024 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22025 Define mkostemp64 as an alias.
b8625cfc
RM
22026 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22027 Define mkostemps64 as an alias.
cd97c966
RM
22028 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22029 Conditionalize body on this.
22030 * misc/mkostemp64.c: Likewise.
b8625cfc 22031 * misc/mkostemps64.c: Likewise.
3f55550c 22032 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22033 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22034 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22035 * sysdeps/wordsize-64/mkostemp.c: File removed.
22036 * sysdeps/wordsize-64/mkstemp.c: File removed.
22037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22038 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22039 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22040 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22041
09c0ee5f
RM
22042 [BZ #14138]
22043 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22044 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22045 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22046 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22047
22048 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22049 compat_symbol macros from <shlib-compat.h> rather than the underlying
22050 default_symbol_version and symbol_version macros, so that DEFAULT
22051 lines in shlib-versions are respected.
22052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22053
7e66ee51
FW
220542012-08-01 Florian Weimer <fweimer@redhat.com>
22055
22056 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22057 Declare with warn_unused_result.
22058 (setgid, setregid, setegid, setresgid): Likewise.
22059 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22060 Likewise.
22061 * WUR-REPORT: Remove set*id functions.
22062
d2a54255
PT
220632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22064
22065 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22066
7ecdb005
RM
220672012-07-31 Roland McGrath <roland@hack.frob.com>
22068
b4180a5e 22069 [BZ #10191]
789bd351
RM
22070 * include/sys/socket.h (__libc_accept, __libc_accept4):
22071 Add attribute_hidden.
22072 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22073
40ce302d
RM
22074 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22075 use of PTR_MANGLE.
22076 * inet/getnetgrent_r.c (setup): Likewise.
22077
7ecdb005
RM
22078 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22079
e2eabb2c
DM
220802012-07-31 David S. Miller <davem@davemloft.net>
22081
22082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22083
d0419dbf
JM
220842012-07-31 Joseph Myers <joseph@codesourcery.com>
22085
22086 [BZ #13629]
22087 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22088 value between 1.0 and 2.0 and smaller part has absolute value less
22089 than 1.0.
22090 * math/s_clog10.c (__clog10): Likewise.
22091 * math/s_clog10f.c (__clog10f): Likewise.
22092 * math/s_clog10l.c (__clog10l): Likewise.
22093 * math/s_clogf.c (__clogf): Likewise.
22094 * math/s_clogl.c (__clogl): Likewise.
22095 * math/libm-test.inc (clog_test): Add more tests.
22096 (clog10_test): Likewise.
22097 * sysdeps/i386/fpu/libm-test-ulps: Update.
22098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22099
2bc13872
FW
221002012-07-31 Florian Weimer <fweimer@redhat.com>
22101
22102 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22103 Exit with zero in case no suitable GID is found, and write a
22104 message to standard error.
22105
bea9b193
RM
221062012-07-30 Roland McGrath <roland@hack.frob.com>
22107
22108 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22109 rather than to 1.
22110 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22111 (MAXPATHLEN): Removed.
22112 (NOGROUP, NODEV): New macros.
22113 (setbit, clrbit, isset, isclr): New macros.
22114 (howmany, roundup, powerof2): New macros.
22115 (DEV_BSIZE): New macro.
22116
22117 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22118 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22119
22120 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22121 definition on [!__NO_LONG_DOUBLE_MATH].
22122
22123 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22124 PTR_MANGLE and PTR_DEMANGLE.
22125
22126 * socket/accept4.c (accept4): Rename to __libc_accept4.
22127 Define accept4 as a weak alias.
22128
22129 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22130 on [_DIRENT_HAVE_D_TYPE].
22131 * io/ftw.c (ftw_dir): Likewise.
22132
22133 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22134
22135 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22136
22137 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22138 Use the BSD numbers rather than the arbitrary ones we had.
22139 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22140 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22141 (SIGXCPU, SIGXFSZ): New macros.
22142 (_NSIG): Now 32.
22143
22144 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22145 initializer on [_LIBC_REENTRANT].
22146
22147 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22148 definitions inside [_POSIX_MAPPED_FILES].
22149
22150 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22151
22152 * dirent/opendir.c: Include <fcntl.h>.
22153
22154 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22155 (__libc_getspecific): Likewise.
22156 (__libc_key_create): Likewise.
22157
22158 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22159 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22160 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22161 (tmpfile64): Define as alias.
22162 * sysdeps/wordsize-64/tmpfile.c: File removed.
22163 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22164 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22165 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22166
22167 * stdio-common/vfscanf.c: Include <stdbool.h>.
22168 * nss/makedb.c: Likewise.
22169 * stdio-common/_i18n_number.h: Likewise.
22170 * argp/argp-help.c: Likewise.
22171 * posix/wordexp.c: Likewise.
22172 * sysdeps/posix/spawni.c: Likewise.
22173 * nss/nss_files/files-initgroups.c: Likewise.
22174 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22175 * nss/nss_files/files-initgroups.c: Likewise.
22176 * nss/nss_db/db-netgrp.c: Likewise.
22177 * nss/nss_db/db-initgroups.c: Likewise.
22178 * io/fchmodat.c: Include <sys/stat.h>.
22179
22180 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22181 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22182
22183 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22184 [HAVE_MMAP].
22185
22186 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22187 Add multiple inclusion protection.
22188
e5abc686
DM
221892012-07-27 David S. Miller <davem@davemloft.net>
22190
22191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22192
815e6fa3
GB
221932012-07-27 Gary Benson <gbenson@redhat.com>
22194
22195 [BZ #14298]
22196 * elf/rtld.c: Include <stap-probe.h>.
22197 (dl_main): Added static probes "init_start" and "init_complete".
22198 * elf/dl-load.c: Include <stap-probe.h>.
22199 (lose): Take new parameter "nsid".
22200 Added static probe "map_failed".
22201 (_dl_map_object_from_fd): Pass namespace id to lose.
22202 Added static probe "map_start".
22203 (open_verify): Pass namespace id to lose.
22204 * elf/dl-open.c: Include <stap-probe.h>.
22205 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22206 and "reloc_complete".
22207 * elf/dl-close.c: Include <stap-probe.h>.
22208 (_dl_close_worker): Added static probes "unmap_start" and
22209 "unmap_complete".
22210 * elf/rtld-debugger-interface.txt: New file documenting the above.
22211
9f98c16c
RM
222122012-07-26 Roland McGrath <roland@hack.frob.com>
22213
22214 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22215 rather than a string variable.
22216 * sunrpc/rpc_main.c (h_output): Likewise.
22217 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22218
f3c22df3
PT
222192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22220
22221 * inet/check_native.c: New file.
22222
3129cfc6
JM
222232012-07-26 Joseph Myers <joseph@codesourcery.com>
22224
da865e95
JM
22225 [BZ #13629]
22226 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22227 if larger part has absolute value 1.0.
22228 * math/s_clog10.c (__clog10): Likewise.
22229 * math/s_clog10f.c (__clog10f): Likewise.
22230 * math/s_clog10l.c (__clog10l): Likewise.
22231 * math/s_clogf.c (__clogf): Likewise.
22232 * math/s_clogl.c (__clogl): Likewise.
22233 * math/libm-test.inc (clog_test): Add more tests.
22234 (clog10_test): Likewise.
22235 * sysdeps/i386/fpu/libm-test-ulps: Update.
22236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22237
3129cfc6
JM
22238 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22239 (pltexit): Likewise.
22240 (La_regs): Likewise.
22241 (La_retval): Likewise.
22242 (int_retval): Likewise.
22243 Update #error for removed macros to refer only to definitions in
22244 tst-audit.h.
22245 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22246 macro.
22247 (pltexit): Likewise.
22248 (La_regs): Likewise.
22249 (La_retval): Likewise.
22250 (int_retval): Likewise.
22251 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22252 macro.
22253 (pltexit): Likewise.
22254 (La_regs): Likewise.
22255 (La_retval): Likewise.
22256 (int_retval): Likewise.
22257 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22258 macro.
22259 (pltexit): Likewise.
22260 (La_regs): Likewise.
22261 (La_retval): Likewise.
22262 (int_retval): Likewise.
22263 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22264 macro.
22265 (pltexit): Likewise.
22266 (La_regs): Likewise.
22267 (La_retval): Likewise.
22268 (int_retval): Likewise.
22269 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22270 macro.
22271 (pltexit): Likewise.
22272 (La_regs): Likewise.
22273 (La_retval): Likewise.
22274 (int_retval): Likewise.
22275 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22276 macro.
22277 (pltexit): Likewise.
22278 (La_regs): Likewise.
22279 (La_retval): Likewise.
22280 (int_retval): Likewise.
22281 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22282 macro definitions in tst-audit.h.
22283 * sysdeps/i386/tst-audit.h: New file.
22284 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22285 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22286 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22287 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22288 * sysdeps/sh/tst-audit.h: Likewise.
22289 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22290 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22291 * sysdeps/x86_64/tst-audit.h: Likewise.
22292
bfc07087
AJ
222932012-07-26 Andreas Jaeger <aj@suse.de>
22294
b1b2aaf8
AJ
22295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22296 ptrace.
22297
22298 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22299 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22300 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22301 PTRACE_O_MASK.
22302 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22303 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22304 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22305
bfc07087
AJ
22306 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22307 value.
22308
22309 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22310 _sigsys.
22311 (si_call_addr, si_syscall, si_arch): Define new macro.
22312 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22313 _sigsys.
22314 (si_call_addr, si_syscall, si_arch): Define new marcro.
22315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22316 _sigsys.
22317 (si_call_addr, si_syscall, si_arch): Define new macro.
22318 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22319 _sigsys.
22320 (si_call_addr, si_syscall, si_arch): Define new macro.
22321
89b4b02f
JM
223222012-07-25 Joseph Myers <joseph@codesourcery.com>
22323
22324 [BZ #13717]
22325 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22326 Change to 2.4.21 where previously 2.4.1.
22327 * sysdeps/unix/sysv/linux/configure: Regenerated.
22328 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22329 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22330 Linux kernel version.
22331 (__ASSUME_STD_AUXV): Remove.
22332 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22333 kernel version.
22334 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22335 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22336 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22337 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22338 (__ASSUME_NETLINK_SUPPORT): Likewise.
22339 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22340 (__no_netlink_support): Remove conditional definition.
22341 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22342 Remove.
22343 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22344 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22345 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22346 (if_nameindex_ioctl): Remove.
22347 (if_nameindex_netlink): Do not handle __no_netlink_support.
22348 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22349 code.
22350 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22351 Remove conditional code.
22352 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22353 code.
22354 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22355 unconditional.
22356 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22357 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22358 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22359 Remove.
22360 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22361 [!__ASSUME_STD_AUXV]: Remove conditional code.
22362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22363 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22364 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22366 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22367 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22368 code.
22369 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22371 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22372 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22373 conditional code.
22374 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22376 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22377 code.
22378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22379 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22380 conditional code.
22381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22382 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22383 code unconditional.
22384 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22385 conditional code.
22386 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22387 unconditional.
22388 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22389 conditional code.
22390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22391 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22392 unconditional.
22393 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22394 conditional code.
22395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22396 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22397 code unconditional.
22398 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22399 conditional code.
22400 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22401 unconditional.
22402 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22403 conditional code.
22404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22405 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22406 code unconditional.
22407 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22408 conditional code.
22409 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22410 unconditional.
22411 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22412 conditional code.
22413
842a39cd
AS
224142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22415
22416 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22417 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22418 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22419 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22420 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22421 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22422 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22423 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22424 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22425 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22426 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22427 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22428 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22429 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22430 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22431 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22432 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22433 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22434 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22435 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22436 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22437 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22439
84b3fd84
FW
224402012-07-25 Florian Weimer <fweimer@redhat.com>
22441
22442 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22443 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22444 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22445 Introduce __libc_secure_getenv.
0c7936d5
FW
22446 * stdlib/Versions (2.17): Add secure_getenv
22447 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22448 * stdlib/secure-getenv.c: Rename __secure_getenv to
22449 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22450 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22451 * stdlib/tst-secure-getenv.c: New.
22452 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22453 * manual/startup.texi (Environment Access): Document
22454 secure_getenv.
84b3fd84
FW
22455 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22456 __libc_secure_getenv.
22457 * inet/ruserpass.c (ruserpass): Likewise.
22458 * malloc/mtrace.c (mtrace): Likewise.
22459 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22460 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22461 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22462 * sysdeps/posix/tempname.c: Likewise. Evaluate
22463 HAVE_SECURE_GETENV.
22464 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22465 __secure_getenv to __libc_secure_getenv.
84b3fd84 22466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22468 Likewise.
22469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22470 Likewise.
22471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22478
56e49b71
JM
224792012-07-25 Joseph Myers <joseph@codesourcery.com>
22480
22481 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22482 (struct La_i86_retval): Likewise.
22483 (struct La_x86_64_regs): Likewise.
22484 (struct La_x86_64_retval): Likewise.
22485 (struct La_x32_regs): Likewise.
22486 (struct La_x32_retval): Likewise.
22487 (struct La_ppc32_regs): Likewise.
22488 (struct La_ppc32_retval): Likewise.
22489 (struct La_ppc64_regs): Likewise.
22490 (struct La_ppc64_retval): Likewise.
22491 (struct La_sh_regs): Likewise.
22492 (struct La_sh_retval): Likewise.
22493 (struct La_s390_32_regs): Likewise.
22494 (struct La_s390_32_retval): Likewise.
22495 (struct La_s390_64_regs): Likewise.
22496 (struct La_s390_64_retval): Likewise.
22497 (struct La_sparc32_regs): Likewise.
22498 (struct La_sparc32_retval): Likewise.
22499 (struct La_sparc64_regs): Likewise.
22500 (struct La_sparc64_retval): Likewise.
22501 (struct audit_ifaces): Remove architecture-specific pltenter and
22502 pltexit members.
22503 * sysdeps/i386/ldsodefs.h: New file.
22504 * sysdeps/powerpc/ldsodefs.h: Likewise.
22505 * sysdeps/s390/ldsodefs.h: Likewise.
22506 * sysdeps/sh/ldsodefs.h: Likewise.
22507 * sysdeps/sparc/ldsodefs.h: Likewise.
22508 * sysdeps/x86_64/ldsodefs.h: Likewise.
22509
354691b7
MP
225102012-07-25 Marek Polacek <polacek@redhat.com>
22511
22512 [BZ #6808]
22513 * math/libm-test.inc (yn_test): Add another test.
22514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22515 to ERANGE when the result is +-Inf.
22516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22517 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22518 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22519 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22520
bf9e2071
JM
225212012-07-24 Joseph Myers <joseph@codesourcery.com>
22522
22523 * conform/data/time.h-data (NULL): Use macro-constant. Require
22524 equal to 0.
22525 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22526 clock_t.
22527 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22528
57633811
TS
225292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22530
22531 * configure.in <sysdeps resolving>: Correct printing
22532 Implies_before.
22533 * configure: Regenerate.
22534
c23c33b0
TS
225352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22536
22537 * math/w_ilogb.c: Include <limits.h>.
22538 * math/w_ilogbl.c: Likewise.
22539
b5982523
JM
225402012-07-20 Joseph Myers <joseph@codesourcery.com>
22541
22542 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22543 va_copy. Document allowing for unavailable va_copy only as
22544 pre-C99 compatibility.
22545 * manual/string.texi (Copying and Concatenation): Use va_copy
22546 instead of __va_copy in concat example.
22547
ac4ea442
PT
225482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22549
22550 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22551 (__sendto): Use create_address_port. Initialize APORT and deallocate
22552 it if not null.
22553
f98eafbd
PT
22554 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22555 with O_NOLINK passed to __file_name_lookup.
22556
898c7aab
PT
22557 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22558 with O_NOLINK passed to __file_name_lookup.
22559
0ced335a
PT
22560 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22561 negative N or less than NGIDS.
22562
b3404dbd
PT
22563 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22564 type to string_t. Set ERANGE as errno and return it if NAME is not big
22565 enough. Use memcpy instead of strncpy.
22566
0f48659e
JM
225672012-07-20 Joseph Myers <joseph@codesourcery.com>
22568
22569 * elf/Makefile (check-data): Remove.
22570 (localplt.data): New vpath directive.
22571 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22572 instead of $(check-data).
22573 * scripts/data/localplt-generic.data: Move to ...
22574 * sysdeps/generic/localplt.data: ... here.
22575 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22576 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22577 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22579 ... here.
22580 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22582 ... here.
22583 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22585 ... here.
22586 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22588 ... here.
22589 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22591 ... here.
22592 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22594 ... here.
22595
d37cbdaa
AZ
225962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22597
22598 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22599 PPC32 and PPC64 files.
22600 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22601 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22602
46f85fc2
AK
226032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22604
22605 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22606 __makecontext_ret to ...
22607 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22608 ... here and call exit if uc_link is NULL. New file.
22609 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22610 __makecontext_ret.S.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22612 __makecontext_ret to ...
22613 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22614 ... here and call exit if uc_link is NULL. New file.
22615 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22616 __makecontext_ret.S.
22617
08f43f9b
AK
226182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22619
22620 * elf/elf.h (R_390_IRELATIVE): New definition.
22621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22622 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22623 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22624 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22625 (elf_machine_lazy_rel): Likewise.
22626 * sysdeps/s390/dl-irel.h: New file.
22627 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22628 * sysdeps/s390/s390-64/memset.S: New asm code.
22629 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22630 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22631 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22632 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22633 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22634 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22635 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22636 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22637 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22638 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22639 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22640 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22641 * sysdeps/s390/s390-32/memset.S: New asm code.
22642 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22643
3b05db33
MP
226442012-07-17 Marek Polacek <polacek@redhat.com>
22645
22646 [BZ #14349]
22647 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22648 * sysdeps/s390/s390-64/configure.in: Likewise.
22649 * sysdeps/sparc/configure.in: Likewise.
22650 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22651 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22652 * sysdeps/i386/configure.in: Likewise.
22653 * sysdeps/x86_64/configure.in: Likewise.
22654 * sysdeps/sh/configure.in: Likewise.
22655 * sysdeps/s390/s390-32/configure: Regenerated.
22656 * sysdeps/s390/s390-64/configure: Likewise.
22657 * sysdeps/x86_64/configure: Likewise.
22658 * sysdeps/sh/configure: Likewise.
22659 * sysdeps/powerpc/powerpc64/configure: Likewise.
22660 * sysdeps/powerpc/powerpc32/configure: Likewise.
22661 * sysdeps/sparc/configure: Likwise.
22662 * sysdeps/i386/configure: Likewise.
22663
a66877c6
MP
22664 * elf/dl-open.c: Comment fixes.
22665
cfc82fd8
JM
226662012-07-17 Joseph Myers <joseph@codesourcery.com>
22667
bd29910a
JM
22668 * Makefile [CXX] (check-data): Remove.
22669 [CXX] (c++-types.data): New vpath directive.
22670 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22671 vpath. Do not allow for C++ type data being missing.
22672 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22673 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22674 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22675 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22676 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22677 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22678 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22680 ... here.
22681 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22683 ... here.
22684 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22686 ... here.
22687 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22689 ... here.
22690 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22692 ... here.
22693 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22695 ... here.
22696 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22698 ... here.
22699 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22701
cfc82fd8
JM
22702 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22703 definitions to architecture-specific files.
22704 (TLS_IE): Likewise.
22705 (TLS_LD): Likewise.
22706 (TLS_GD): Likewise.
22707 * sysdeps/i386/tls-macros.h: New file.
22708 * sysdeps/powerpc/tls-macros.h: Likewise.
22709 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22710 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22711 * sysdeps/sh/tls-macros.h: Likewise.
22712 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22713 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22714 * sysdeps/x86_64/tls-macros.h: Likewise.
22715
f7db3170
TS
227162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22717
07cbfc23
TS
22718 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22719 zero value for regular exit case.
22720
f7db3170
TS
22721 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22722 (__start_context): Preserve zero value for regular exit case.
22723
dc97c227
TS
227242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22725 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22726
22727 * manual/setjmp.texi (setcontext): Clarify normal process
22728 termination when uc_link is the null pointer.
22729 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22730 exit call.
22731
d0cd7d02
AS
227322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22733
22734 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22735 preprocessor. Test for each exception mask separately.
22736
dd318934
AJ
227372012-07-16 Andreas Jaeger <aj@suse.de>
22738
22739 * po/ru.po: Update from translation team.
22740
8048311a
JM
227412012-07-15 Joseph Myers <joseph@codesourcery.com>
22742
22743 * conform/data/string.h-data (NULL): Use macro-constant. Require
22744 equal to 0.
22745 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22746 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22747 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22748 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22750
b637d46e
AJ
227512012-07-13 Andreas Jaeger <aj@suse.de>
22752
22753 * po/fr.po: Update from translation team.
22754
541428fe
MP
227552012-07-12 Marek Polacek <polacek@redhat.com>
22756
22757 [BZ #14173]
22758 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22759 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22760 loop condition.
22761
ec332e94
JM
227622012-07-12 Joseph Myers <joseph@codesourcery.com>
22763
22764 [BZ #13717]
22765 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22766 Change to 2.4.1 where previously 2.4.0.
22767 * sysdeps/unix/sysv/linux/configure: Regenerated.
22768 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22769 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22770 version.
22771 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22772 (__ASSUME_AT_CLKTCK): Remove.
22773 (__ASSUME_AT_PAGESIZE): Likewise.
22774 (__ASSUME_AT_XID): Likewise.
22775 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22776 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22777 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22778 unconditionally.
22779 (HAVE_AUX_PAGESIZE): Likewise.
22780 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22781 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22782 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22783
7b6e99be
JB
227842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22785
22786 [BZ #14307]
22787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22788 the temporary buffer used to invoke __gethostbyname2_r,
22789 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22790 host_data / struct gaih_addrtuple.
22791 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22792 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22793 header file nss/nsswitch.h.
22794 * nss/nsswitch.h (global scope): Add definition of implementation
22795 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22796 resolv/nss_dns/dns-host.c).
22797
608404eb
AJ
227982012-07-11 Andreas Jaeger <aj@suse.de>
22799
22800 * po/fr.po: Update from translation team.
22801
71220aca
AJ
22802 * po/sv.po: Update from translation team
22803 * po/fr.po: Another update from translation team.
22804
28cfe843
AZ
228052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22806
22807 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22808 for subnormals or multiply small sinh result by itself.
22809 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22811
6b90f981
DM
228122012-07-11 David S. Miller <davem@davemloft.net>
22813
22814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22815
c6825772
AS
228162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22817
22818 [BZ #14347]
22819 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22820 (INTERNAL_MARK): Shift it here.
22821
7b8e0d49
MP
228222012-07-10 Marek Polacek <polacek@redhat.com>
22823
22824 [BZ #14151]
22825 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22826 libc_cv_asm_global_directive with .globl.
22827 * configure: Regenerated.
22828 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22829 with .globl.
22830 * sysdeps/i386/configure: Regenerated.
22831 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22832 with .globl.
22833 * sysdeps/x86_64/configure: Regenerated.
22834 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22835 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22836 * elf/tst-unique2mod2.c: Likewise.
22837 * elf/tst-unique2mod1.c: Likewise.
22838 * elf/tst-unique1mod2.c: Likewise.
22839 * elf/tst-unique1mod1.c: Likewise.
22840 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22841 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22843 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22844 * sysdeps/mach/sysdep.h: Likewise.
22845 * sysdeps/i386/sysdep.h: Likewise.
22846 * sysdeps/i386/i386-mcount.S: Likewise.
22847 * sysdeps/x86_64/_mcount.S: Likewise.
22848 * sysdeps/x86_64/sysdep.h: Likewise.
22849 * sysdeps/sh/_mcount.S: Likewise.
22850 * sysdeps/sh/sysdep.h: Likewise.
22851 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22852 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22853 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22854 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22855 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22856 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22857 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22858 * locale/localeinfo.h: Likewise.
22859 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22860 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22861
6c55cda3
RM
228622012-07-09 Roland McGrath <roland@hack.frob.com>
22863
22864 [BZ #14336]
22865 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22866 system".
22867 * manual/message.texi (The Uniforum approach): Likewise.
22868 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22869 (glibc iconv Implementation): Likewise.
22870
638a572e
JM
228712012-07-09 Joseph Myers <joseph@codesourcery.com>
22872
22873 [BZ #14337]
22874 * math/s_clog.c (__clog): Avoid scaling a value down where that
22875 could result in underflow.
22876 * math/s_clog10.c (__clog10): Likewise.
22877 * math/s_clog10f.c (__clog10f): Likewise.
22878 * math/s_clog10l.c (__clog10l): Likewise.
22879 * math/s_clogf.c (__clogf): Likewise.
22880 * math/s_clogl.c (__clogl): Likewise.
22881 * math/libm-test.inc (clog_test): Add more tests.
22882 (clog10_test): Likewise.
22883 * sysdeps/i386/fpu/libm-test-ulps: Update.
22884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22885
261f4859
AS
228862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22887
0abaf3e4
AS
22888 [BZ #14283]
22889 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22890 by 7 not 8 to examine high bit of fractional part.
22891
261f4859
AS
22892 [BZ #14042]
22893 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22894 for call to __mcount_internal.
22895 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22896 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22897 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22898
f17ac40d
JM
228992012-07-06 Joseph Myers <joseph@codesourcery.com>
22900
9ad63c23
JM
22901 [BZ #14154]
22902 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22903 approximation for values within 0x1p-13f of an odd multiple of
22904 pi/4.
22905 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22906 exception. Add more tests.
22907 * sysdeps/i386/fpu/libm-test-ulps: Update.
22908
f17ac40d
JM
22909 [BZ #6778]
22910 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22911 inputs and return -1 for them. Do not check for +Inf in case not
22912 reachable for +Inf.
22913 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22914 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22915 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22916 and return -1 for them. Do not check for +Inf in case not
22917 reachable for +Inf.
22918 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22919 define.
22920 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22921 and return -1 for them. Do not check for +Inf in case not
22922 reachable for +Inf.
22923 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22924 spurious underflow.
22925 * sysdeps/i386/fpu/libm-test-ulps: Update.
22926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22927
fb21f89b
MF
229282012-07-06 Mike Frysinger <vapier@gentoo.org>
22929
22930 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22931
cdfe2c5e
JM
229322012-07-05 Joseph Myers <joseph@codesourcery.com>
22933
22934 [BZ #14157]
22935 [BZ #14331]
22936 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22937 could result in spurious underflow. Scale down values above
22938 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22939 * math/s_csqrtf.c (__csqrtf): Likewise.
22940 * math/s_csqrtl.c (__csqrtl): Likewise.
22941 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22942 spurious underflow.
22943 * sysdeps/i386/fpu/libm-test-ulps: Update.
22944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22945
70d35b67
AS
229462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22947
704bc459
AS
22948 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22949 xopen-msg.sed.
22950 * catgets/xopen-msg.awk: New file.
22951 * catgets/xopen-msg.sed: Removed.
22952
70d35b67
AS
22953 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22954 po2text.sed.
22955 * intl/po2test.awk: New file.
22956 * intl/po2test.sed: Removed.
22957
ca61cf32
JM
229582012-07-04 Joseph Myers <joseph@codesourcery.com>
22959
22960 [BZ #14328]
22961 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22962 or multiply small sinh result by itself.
22963 * math/s_ctanf.c (__ctanf): Likewise.
22964 * math/s_ctanh.c (__ctanh): Likewise.
22965 * math/s_ctanhf.c (__ctanhf): Likewise.
22966 * math/s_ctanhl.c (__ctanhl): Likewise.
22967 * math/s_ctanl.c (__ctanl): Likewise.
22968 * math/libm-test.inc (ctan_test_tonearest): New function.
22969 (ctan_test_towardzero): Likewise.
22970 (ctan_test_downward): Likewise.
22971 (ctan_test_upward): Likewise.
22972 (ctanh_test_tonearest): Likewise.
22973 (ctanh_test_towardzero): Likewise.
22974 (ctanh_test_downward): Likewise.
22975 (ctanh_test_upward): Likewise.
22976 (main): Call these new functions.
22977 * sysdeps/i386/fpu/libm-test-ulps: Update.
22978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22979
ca48a46a
MF
229802012-07-03 Mike Frysinger <vapier@gentoo.org>
22981
22982 * .gitignore: Delete /ports entry.
22983
9d63d37d
AJ
229842012-07-03 Andreas Jaeger <aj@suse.de>
22985
22986 * po/bg.po: Update from translation team.
22987 * po/cs.po: Likewise.
22988 * po/de.po: Likewise.
22989 * po/hr.po: Likewise.
22990 * po/nl.pl: Likewise.
22991 * po/pl.po: Likewise.
22992 * po/vi.po: Likewise.
22993
370ca3d2
JM
229942012-07-03 Joseph Myers <joseph@codesourcery.com>
22995
95f5a9a8
JM
22996 * Makeconfig [!+link] (+link-before-libc): New variable.
22997 [!+link] (+link-after-libc): Likewise.
22998 [!+link] (+link-tests): Likewise.
22999 [!+link] (+link): Define in terms of $(+link-before-libc) and
23000 $(+link-after-libc).
23001 [!+link-static] (+link-static-before-libc): New variable.
23002 [!+link-static] (+link-static-after-libc): Likewise.
23003 [!+link-static] (+link-static-tests): Likewise.
23004 [!+link-static] (+link-static): Define in terms of
23005 $(+link-static-before-libc) and $(+link-static-after-libc).
23006 [build-shared] (link-libc-before-gnulib): New variable.
23007 [build-shared] (link-libc-tests): Likewise.
23008 [build-shared] (link-libc): Define in terms of
23009 $(link-libc-before-gnulib).
23010 [!build-shared] (link-libc-tests): New variable.
23011 (link-libc-static-tests): New variable.
23012 [!gnulib] (gnulib-arch): New variable.
23013 [!gnulib] (gnulib-tests): Likewise.
23014 [!gnulib] (static-gnulib-arch): Likewise.
23015 [!gnulib] (static-gnulib-tests): Likewise.
23016 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23017 Define with "=" instead of ":=".
23018 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23019 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23020 * Rules (binaries-all-notests): New variable.
23021 (binaries-all-tests): Likewise.
23022 (binaries-static-notests): Likewise.
23023 (binaries-static-tests): Likewise.
23024 (binaries-all): Define using $(binaries-all-notests) and
23025 $(binaries-all-tests).
23026 (binaries-static): Define using $(binaries-static-notests) and
23027 $(binaries-static-tests).
23028 (binaries-shared-tests): New variable.
23029 (binaries-shared-notests): Likewise.
23030 (binaries-shared): Remove variable.
23031 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23032 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23033 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23034 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23035 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23036 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23037 * elf/Makefile (sln-modules): New variable.
23038 (extra-objs): Add $(sln-modules:=.o).
23039 (ldconfig-modules): Add static-stubs.
23040 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23041 * elf/static-stubs.c: New file.
23042
7a845b2c
JM
23043 [BZ #14283]
23044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23045 by 7 not 8 to examine high bit of fractional part. Use volatile
23046 variables when splitting into final array of floats if
23047 __FLT_EVAL_METHOD__ != 0.
23048 * math/libm-test.inc (cos_test): Add another test.
23049 (sin_test): Likewise.
23050 * sysdeps/i386/fpu/libm-test-ulps: Update.
23051
e2283f38
JM
23052 [BZ #14273]
23053 * math/libm-test.inc (cosh_test): Add more tests.
23054
370ca3d2
JM
23055 * version.h (RELEASE): Set to "development".
23056 (VERSION): Set to "2.16.90".
23057
ee9247c3
CD
230582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23059
23060 * NEWS: Update copyright. Remove last-updated date.
23061 Mention math library bug fixes and timezone data changes.
23062 * README: Mention GNU/Hurd, x32, and HPPA support status.
23063
4648c381
TS
230642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23065
23066 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23067
aac78a43
AJ
230682012-06-27 Andreas Jaeger <aj@suse.de>
23069
23070 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23071
ed3dbfad
AJ
230722012-06-25 Andreas Jaeger <aj@suse.de>
23073
23074 * sysdeps/s390/fpu/libm-test-ulps: Update.
23075
4d0ee855
AS
230762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23077 Thomas Schwinge <thomas@codesourcery.com>
23078
23079 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23080 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23082 fanotify_mark.
23083
af1bce34
TS
230842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23085
a9fa33ba
TS
23086 * sysdeps/mach/start.c: Remove file.
23087 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23088 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23089 * sysdeps/sh/init-first.c: Likewise.
23090
58f902b8
TS
23091 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23092 registers for frame unwinding purposes, add CFI directives.
23093 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23094 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23095 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23096 Likewise.
23097
1518f58b
TS
23098 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23099 __fortify_fail returning.
23100 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23101
db9b5059
TS
23102 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23103 sysdeps/sh/____longjmp_chk.S.
23104 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23105 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23106 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23107 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23108
967705fe
TS
23109 * sysdeps/sh/abort-instr.h: New file.
23110 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23111 process in case exit returns.
23112
a9def8c4
TS
23113 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23114 initialize the GOT register before use.
23115
2a649725
TS
23116 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23117 calculation of ARGC > 4.
23118
af1bce34
TS
23119 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23120 meaningful names to some local labels.
23121
d230f50a
KK
231222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23123 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23124
23125 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23126 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23127 (__arch_compare_and_exchange_val_16_acq): Likewise.
23128 (__arch_compare_and_exchange_val_32_acq): Likewise.
23129 (atomic_exchange_and_add): Fix gUSA sequence.
23130 (atomic_add): Likewise.
23131 (atomic_add_negative): Likewise.
23132 (atomic_add_zero): Likewise.
23133 (atomic_bit_test_set): Likewise.
23134
0479b305
AS
231352012-06-22 Andreas Schwab <schwab@redhat.com>
23136
23137 [BZ #13579]
23138 * include/link.h (struct link_map): Add l_free_initfini.
23139 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23140 l_initfini.
23141 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23142 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23143 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23144 set.
23145
0e3933b9
CD
231462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23147
23148 * configure.in: Use AC_LANG_SOURCE.
23149 * configure: Regenerate.
23150
4248b1b1
RM
231512012-06-22 Roland McGrath <roland@hack.frob.com>
23152
23153 * configure.in (libc_cv_localstatedir): New substituted variable.
23154 * configure: Regenerated.
23155 * config.make.in (localstatedir): New variable, substituted from
23156 libc_cv_localstatedir.
23157 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23158 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23159 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23160 * sysdeps/gnu/configure: Regenerated.
23161
006dd861
JL
231622012-06-21 Jeff Law <law@redhat.com>
23163
23164 [BZ #14277]
23165 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23166 free. Simplify list management for _LIBC case.
23167
79662d42
JM
231682012-06-21 Joseph Myers <joseph@codesourcery.com>
23169
b7abb4bf
JM
23170 [BZ #14273]
23171 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23172 Clear sign bit of 64-bit integer value before comparing against
23173 overflow value.
23174
79662d42
JM
23175 * sysdeps/mach/configure: Regenerated.
23176
1f150908
L
231772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23178
23179 [BZ #14278]
23180 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23181
28363bbf
JL
231822012-06-21 Jeff Law <law@redhat.com>
23183
23184 [BZ #13882]
23185 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23186 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23187 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23188 * elf/dl-open.c (dl_open_worker): Likewise.
23189
09615db4
CD
231902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23191
23192 * scripts/list-sources.sh: Scan PORTS for translations.
23193 * po/libc.pot: Regenerated.
23194
2174c6dd
AJ
231952012-06-21 Andreas Jaeger <aj@suse.de>
23196
23197 [BZ #12194]
23198 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23199 warning.
23200 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23201 * bits/byteswap-16.h (__bswap_16): Likewise.
23202 * bits/byteswap.h (__bswap_constant_16): Likewise.
23203
3ee947b1
L
232042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23205
23206 [BZ #14117]
a2f34833
L
23207 * sysdeps/i386/fpu_control.h: Removed.
23208 * sysdeps/x86_64/fpu_control.h: Moved to ...
23209 * sysdeps/x86/fpu_control.h: Here.
23210
3ee947b1
L
23211 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23212 (_FPU_SETCW): Likewise.
23213
ed1825f8
L
232142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23215
25f1282a
L
23216 [BZ #14117]
23217 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23218 * sysdeps/x86/fpu/bits/mathinline.h: This.
23219 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23220
ed1825f8
L
23221 [BZ #14050]
23222 [BZ #14117]
23223 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23224 functions if __x86_64__ is defined.
23225
36d54b74
CLT
232262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23227
23228 * string/endian.h: Add !__ASSEMBLER__ condition for including
23229 conversion interfaces.
23230
10285c21
JM
232312012-06-15 Joseph Myers <joseph@codesourcery.com>
23232
23233 [BZ #14241]
23234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23235 of ABS(x) in calculating zero to negative powers other than odd
23236 integers.
23237 * math/libm-test.inc (pow_test): Add more tests.
23238
06c5abbd
AJ
232392012-06-15 Andreas Jaeger <aj@suse.de>
23240
23241 * manual/contrib.texi (Contributors): Update entry of Liubov
23242 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23243 Machado Filho.
23244
a3aeac40
CH
232452012-06-15 Cyril Hrubis <metan@ucw.cz>
23246
23247 * string/string.h: Add __wur to GNU version of strerror_r.
23248
49bdf4c1
L
232492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23250
23251 [BZ #14229]
23252 * string/Makefile (tests): Add tst-strtok_r.
23253 * string/tst-strtok_r.c: New file.
23254 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23255 RAX_LP/RDX_LP on SAVE_PTR.
23256
834f9b8d
RM
232572012-06-14 Roland McGrath <roland@hack.frob.com>
23258
23259 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23260
75fa1921
JM
232612012-06-14 Joseph Myers <joseph@codesourcery.com>
23262
23263 * libm_test.inc (csqrt_test): Allow more spurious underflow
23264 exceptions.
23265 (j0_test): Likewise.
23266 (j1_test): Likewise.
23267 (y0_test): Likewise.
23268 (y1_test): Likewise.
23269
771766df
CD
232702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23271
23272 * po/Makefile (libc.pot): Use UTF-8 charset.
23273
ceb9e56b
PP
232742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23275
23276 [BZ #14210]
23277 Suppress sign-conversion warning from FD_SET.
23278 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23279 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23280 not unsigned long int.
23281 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23282
ddb28975
L
232832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 [BZ #14050]
23286 [BZ #14117]
23287 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23288 __extern_always_inline instead of __extern_inline.
23289 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23290 (__signbit): Likewise.
23291 (__signbitl): Support C++ namespace.
23292 (lrintf): New inline function.
23293 (lrint): Likewise.
23294 (llrintf): Likewise.
23295 (llrint): Likewise.
23296 (fmaxf): Likewise.
23297 (fmax): Likewise.
23298 (fminf): Likewise.
23299 (fmin): Likewise.
23300 (rint): Likewise.
23301 (rintf): Likewise.
23302 (ceil): Likewise.
23303 (ceilf): Likewise.
23304 (floor): Likewise.
23305 (floorf): Likewise.
23306 (nearbyint): Likewise.
23307 (nearbyintf): Likewise.
23308
d7b4fb26
TS
233092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23310
23311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23312 non-default versions.
23313
eb55f5c2
RM
233142012-06-11 Roland McGrath <roland@hack.frob.com>
23315
23316 [BZ #14218]
23317 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23318
366af02c
TS
233192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23320
99ff6e5c
TS
23321 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23322 (FE_UPWARD, FE_DOWNWARD): Don't define.
23323 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23324 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23325
366af02c
TS
23326 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23327 reading it.
23328 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23329 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23330
793ea851
KK
233312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23332
23333 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23336 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23337
a728a38f
L
233382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23339
23340 [BZ #14117]
c08010c7
L
23341 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23342 * sysdeps/i386/fpu/Implies: New file.
23343 * sysdeps/x86_64/fpu/Implies: Likewise.
23344 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23345 * sysdeps/x86/fpu/bits/fenv.h: This.
23346
a728a38f
L
23347 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23348 __SSE_MATH__.
23349
6e230d11
SP
233502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23351
23352 [BZ #14134]
23353 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23354 character 0xffff that matches the last element of the
23355 conversion table.
23356
1b671feb
AZ
233572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23358
23359 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23360 fmodl commit.
23361
6043738b
AZ
233622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23363
23364 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23365 values higher than 25.6283.
23366
34ae0b32
AZ
233672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23368
23369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23370 subnormal exponent extraction and add some __builtin_expect.
23371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23372 Fix for subnormal mantissa calculation.
23373
1214ec8f
MF
233742012-06-04 Mike Frysinger <vapier@gentoo.org>
23375
23376 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23377 cpu2 is -1 and errno is not ENOSYS.
23378
f3d1f93c
L
233792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23380
23381 [BZ #14117]
0e4a3cd7
L
23382 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23383 * sysdeps/x86/bits/string.h: This.
23384 * sysdeps/x86_64/bits/string.h: Removed.
23385
6704c645
L
23386 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23387 if not compiling for x86-64, but compiling for >= i486.
23388
48495318
L
23389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23390 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23391
14adcbfc
L
23392 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23393 New macro from Linux kernel 3.4.0.
23394 (FP_XSTATE_MAGIC2): Likewise.
23395 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23396 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23397 (struct _fpx_sw_bytes): New struct.
23398 (struct _xsave_hdr): Likewise.
23399 (struct _ymmh_state): Likewise.
23400 (struct _xstate): Likewise.
23401
68e408ab
L
23402 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23403 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23405 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23406 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23407 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23408
f3d1f93c
L
23409 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23410 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23411 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23412 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23413 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23414 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23415
d9dc34cd
TMQMF
234162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23417
23418 [BZ #13743]
23419 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23420 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23421 (sysdep_headers): Include sys/platform/ppc.h.
23422 * sysdeps/powerpc/test-gettimebase.c: Test for
23423 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23424 * manual/Makefile (appendices): Include platform.texi.
23425 * manual/contrib.texi (Contributors): Update @node pointers.
23426 * manual/maint.texi (Maintenance): Likewise.
23427 (Platform): New node.
23428 * manual/platform.texi: New file. Document the new features.
23429
4af3879c
SP
234302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23431 Jakub Jelinek <jakub@redhat.com>
23432
23433 [BZ #14188]
23434 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23435 where __builtin_expect is unavailable.
23436
2fd6ff13
DM
234372012-06-03 David S. Miller <davem@davemloft.net>
23438
23439 * stdlib/longlong.h: Updated from GCC.
23440
173f7220
AS
234412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23442
23443 [BZ #14042]
23444 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23445 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23446 __mcount_internal.
23447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23448 (GLIBC_2.16): Likewise.
23449
f34a1c6f
L
234502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23451
23452 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23453
88a4576f
JM
234542012-06-01 Joseph Myers <joseph@codesourcery.com>
23455
ea32bcdd
JM
23456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23457 (default-abi): New variable.
23458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23459 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23460 variable.
23461 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23462 Likewise.
23463 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23464 Likewise.
23465 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23466 Likewise.
23467
88a4576f
JM
23468 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23469 definition. Document in comment.
23470
402fe938
DM
234712012-06-01 David S. Miller <davem@davemloft.net>
23472
23473 * stdlib/longlong.h: Updated from GCC.
23474
3553723f
L
234752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23476
23477 [BZ #14117]
3bd872c4
L
23478 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23479 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23480 sys/debugreg.h sys/io.h here.
23481 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23482 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23483 sys/io.h.
23484 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23485 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23486 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23487 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23488 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23489 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23490
3553723f
L
23491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23492 Define only if __x86_64__ is defined.
23493
4842e4fe
JM
234942012-06-01 Joseph Myers <joseph@codesourcery.com>
23495
c5bfe3d5
JM
23496 [BZ #14048]
23497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23498 Use int64_t for variable i.
23499 * math/libm-test.inc (fmod_test): Add more tests.
23500
4842e4fe
JM
23501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23502 z computation is not scheduled after fetestexcept.
23503 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23504 Use math_force_eval instead of asm to ensure calculation scheduled
23505 before exception test.
23506 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23507 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23508
efb73488
AJ
235092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23510
23511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23512 computation is not scheduled after fetestexcept.
23513
29bcce7c
L
235142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23515
23516 [BZ #14117]
23517 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23518 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23519
73a68f94
AZ
235202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23521
23522 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23523 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23524
67b6df78
L
235252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23526
edf2933a 23527 [BZ #14117]
ebc64a18
L
23528 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23529 <bits/wordsize.h>.
23530 (__WCHAR_MIN): Support __WORDSIZE == 64.
23531 (__WCHAR_MAX): Likewise.
23532
edf2933a
L
23533 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23534 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23535
57c6cf40
L
23536 [BZ #14183]
23537 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23538 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23539
67b6df78 23540 [BZ #14117]
8eb6281e
L
23541 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23542 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23543
aac639f4
L
23544 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23545 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23546
67b6df78
L
23547 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23548 Defined to 1 if __x86_64__ isn't defined.
23549 (_STAT_VER_LINUX_OLD): New.
23550 (st_atime): Remove duplicate.
23551 (st_mtime): Likewise.
23552 (st_ctime): Likewise.
23553
1c2cfe81
DM
235542012-05-31 David S. Miller <davem@davemloft.net>
23555
23556 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23557 entries.
23558
5be8418c
AS
235592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23560
e7725326
AS
23561 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23562 gen-libm-test.pl.
23563
5be8418c
AS
23564 [BZ #14132]
23565 * elf/dl-reloc.c: Include <_itoa.h>.
23566 (_dl_reloc_bad_type): Remove use of INTUSE.
23567 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23568 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23569 * stdio-common/psiginfo.c (psiginfo): Likewise.
23570 * stdio-common/psignal.c (psignal): Likewise.
23571 * string/strsignal.c (strsignal): Likewise.
23572 * include/signal.h (_sys_siglist): Declare hidden proto.
23573 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23574 INTVARDEF with libc_hidden_data_def.
23575 * stdio-common/itoa-udigits.c: Likewise.
23576 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23577 (_itoa_lower_digits_internal): Remove declaration.
23578 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23579 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23580 (_sys_sigabbrev_internal): Remove aliases.
23581 (_sys_siglist): Define hidden alias.
23582
507352f1
MT
235832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23584
23585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23586 bits/sysctl.h.
23587
42bbb1c3
L
235882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 [BZ #14117]
6bd784b6
L
23591 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23592 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23593
8bca20f0
L
23594 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23595 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23596 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23597 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23599 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23600
f9e890a9
L
23601 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23602 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23603 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23604
471101a1
L
23605 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23606 with __addr.
23607 (insw): Likewise.
23608 (insl): Likewise.
23609 (outsb): Likewise.
23610 (outsw): Likewise.
23611 (outsl): Likewise.
23612
6451c862
L
23613 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23614 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23615 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23616
a254b8c9
L
23617 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23618 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23619 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23620 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23621 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23622 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23623
b8dfdd92
L
23624 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23625 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23626
578cd270
L
23627 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23628 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23629
de662f5f
L
23630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23632 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23633
25653439
L
23634 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23635 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23636 to ...
23637 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23638
6bad24a0
L
23639 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23640 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23641 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23642
42bbb1c3
L
23643 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23644 for x86-64.
23645 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23646
2d10d547
JM
236472012-05-31 Joseph Myers <joseph@codesourcery.com>
23648
23649 * math/math.h (M_El): Use two more decimal places.
23650 (M_LOG2El): Likewise.
23651 (M_LOG10El): Likewise.
23652 (M_LN2l): Likewise.
23653 (M_LN10l): Likewise.
23654 (M_PIl): Likewise.
23655 (M_PI_2l): Likewise.
23656 (M_PI_4l): Likewise.
23657 (M_1_PIl): Likewise.
23658 (M_2_PIl): Likewise.
23659 (M_2_SQRTPIl): Likewise.
23660 (M_SQRT2l): Likewise.
23661 (M_SQRT1_2l): Likewise.
23662
f230c29b
DM
236632012-05-31 David S. Miller <davem@davemloft.net>
23664
23665 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23666 values between float registers.
23667 * sysdeps/sparc/sparc64/memset.S: Likewise.
23668 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23669
fed806c3
MF
236702012-05-31 Mike Frysinger <vapier@gentoo.org>
23671
23672 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23673 -D_FORTIFY_SOURCE=1.
23674 (CPPFLAGS-tst-longjmp_chk.c): Define.
23675 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23676 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23677 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23678 CFLAGS-tst-wchar-h.c.
23679
30917259
MP
236802012-05-31 Marek Polacek <polacek@redhat.com>
23681
23682 [BZ #14132]
23683 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23684 __endmntent_internal): Remove declaration.
23685 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23686 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23687 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23688
1c58d5dc
DM
236892012-05-30 David S. Miller <davem@davemloft.net>
23690
23691 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23692 (___Q_simulate_exceptions): Use real FP ops rather than writing
23693 into the %fsr.
23694 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23695 Likewise.
23696
7dc00e0d
L
236972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23698
23699 [BZ #14117]
0bd53985
L
23700 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23701 * sysdeps/x86/bits/xtitypes.h: This.
23702
3a257e66
L
23703 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23704 * sysdeps/x86/bits/wordsize.h: This.
23705
62f62904
L
23706 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23707 * sysdeps/x86/bits/huge_vall.h: This.
23708
404fe9d9
L
23709 * sysdeps/i386/bits/select.h: Removed.
23710 * sysdeps/x86_64/bits/select.h: Renamed to ...
23711 * sysdeps/x86/bits/select.h: This.
23712
d48d0446
L
23713 * sysdeps/i386/bits/setjmp.h: Removed.
23714 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23715 * sysdeps/x86/bits/setjmp.h: This.
23716
7dc00e0d
L
23717 * sysdeps/i386/bits/mathdef.h: Removed.
23718 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23719 * sysdeps/x86/bits/mathdef.h: This.
23720
03277f8f
AS
237212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23722
23723 [BZ #14132]
23724 * include/sys/socket.h (__connect_internal)
23725 (__libc_sa_len_internal): Remove declaration.
23726 (__connect, __libc_sa_len): Declare hidden_proto.
23727 (SA_LEN): Remove use of INTUSE.
23728 * socket/connect.c: Add libc_hidden_def.
23729 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23730 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23731 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23732 alias.
23733 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23734 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23735 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23736 of adding _internal alias.
23737
13764867
L
237382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23739
23740 [BZ #14117]
6bd97696
L
23741 * sysdeps/i386/bits/link.h: Removed.
23742 * sysdeps/i386/bits/linkmap.h: Likewise.
23743 * sysdeps/x86_64/bits/link.h: Renamed to ...
23744 * sysdeps/x86/bits/link.h: This.
23745 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23746 * sysdeps/x86/bits/linkmap.h: This.
23747
f726f0bb
L
23748 * sysdeps/i386/bits/endian.h: Removed.
23749 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23750 * sysdeps/x86/bits/endian.h: This.
23751
13764867
L
23752 * sysdeps/i386/bits/byteswap.h: Removed.
23753 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23754 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23755 * sysdeps/x86/bits/byteswap.h: This.
23756 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23757 * sysdeps/x86/bits/byteswap-16.h: This.
23758 * sysdeps/i386/Implies: Add x86.
23759 * sysdeps/x86_64/Implies: Likewise.
23760
ae251b0b
DM
237612012-05-30 David S. Miller <davem@davemloft.net>
23762
23763 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23764 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23765 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23766 (FP_TRAPPING_EXCEPTIONS): Define.
23767 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23768 (FP_TRAPPING_EXCEPTIONS): Define.
23769 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23770 subnormals only when inexact has been signalled or underflow
23771 exceptions are enabled.
23772 (_FP_PACK_CANONICAL): Likewise.
23773
d5c90867
L
237742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23775
23776 [BZ #14183]
23777 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23778 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23779
63f1549e
RH
237802012-05-30 Richard Henderson <rth@twiddle.net>
23781
8d8f2279
RH
23782 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23783 with #ifndef NOT_IN_libc.
23784
63f1549e
RH
23785 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23786 marked to avoid plt entry.
23787
0ab0291b
L
237882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23789
23790 [BZ #14112]
23791 * Makeconfig (default-abi): New macro.
23792 (abi-includes): Likewise.
23793 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23794 $(abi-$(default-abi)-lib-soname) for soname if defined.
23795 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23796 abi-variants.
23797 * Makefile (installed-stubs): Likewise.
23798 * include/stubs-biarch.h: Removed.
23799 * scripts/lib-names.awk: Only handle one library at a time.
23800 * scripts/soversions.awk: Remove WORDSIZE support.
23801 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23802 entries.
23803 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23804 Removed.
23805 (syscall-list-default-condition): Likewise.
23806 (syscall-list-default-condition): Likewise.
23807 (syscall-list-includes): Likewise.
23808 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23809 syscall-list-* with abi-*. Handle undefined abi-variants.
23810 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23811 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23812 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23813 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23814 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23815 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23816 Removed.
23817 (syscall-list-32-options): Likewise.
23818 (syscall-list-32-condition): Likewise.
23819 (syscall-list-64-options): Likewise.
23820 (syscall-list-64-condition): Likewise.
23821 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23822 macro.
23823 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23824 Renamed to ...
23825 (abi-*): This.
23826 (abi-64-ld-soname): New macro.
23827 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23828 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23829 Renamed to ...
23830 (abi-*): This.
23831 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23832 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23833
4da0431d
JM
238342012-05-30 Joseph Myers <joseph@codesourcery.com>
23835
3a85279c
JM
23836 * sysdeps/unix/sysv/linux/kernel-features.h
23837 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23838 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23839 include <kernel-features.h>.
23840 [!__NR_ftruncate64]: Remove conditional code.
23841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23842 [__NR_ftruncate64]: Make code unconditional.
23843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23844 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23845 include <kernel-features.h>.
23846 [!__NR_ftruncate64]: Remove conditional code.
23847 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23848 [__NR_ftruncate64]: Make code unconditional.
23849 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23851 include <kernel-features.h>.
23852 [!__NR_ftruncate64]: Remove conditional code.
23853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23854 [__NR_ftruncate64]: Make code unconditional.
23855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23857 include <kernel-features.h>.
23858 [!__NR_ftruncate64]: Remove conditional code.
23859 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23860 [__NR_ftruncate64]: Make code unconditional.
23861 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23862
4da0431d
JM
23863 * configure.in (libc_cv_fpie): Weaken to a compile test using
23864 LIBC_TRY_CC_OPTION.
23865 * configure: Regenerated.
23866
11ef492c
AK
238672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23868
23869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23873 Refreshed.
23874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23880 Refreshed.
23881
d66ef399
DM
238822012-05-27 David S. Miller <davem@davemloft.net>
23883
23884 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23885 (___Q_zero): New.
23886 (__Q_simulate_exceptions): Return void. Change to simulate
23887 exceptions by writing into the %fsr.
23888 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23889 (__Qp_handle_exceptions): Likewise.
23890 (numbers): Delete.
23891 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23892 __Qp_handle_exceptions.
23893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23894 __Qp_handle_exceptions.
23895 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23896 as unused and give dummy FP_RND_NEAREST initializer.
23897 (FP_INHIBIT_RESULTS): Define.
23898 (___Q_simulate_exceptions): Update declaration.
23899 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23900 formatting.
23901 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23902 as unused and give dummy FP_RND_NEAREST initializer.
23903 (__Qp_handle_exceptions): Update declaration.
23904 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23905 formatting.
23906
04fb54b5
TS
239072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23908
23909 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23910 the temporary FPU control word.
23911 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23912 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23913 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23914 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23915 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23916 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23917 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23918 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23919 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23920 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23921 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23922
3f99608f
KK
239232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23924
23925 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23926 fields.
23927
65a4de4e
CLT
239282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23929
23930 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23931 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23932 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23933 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23934 Likewise.
23935 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23936 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23937 Likewise.
23938
15749d40
UD
239392012-05-27 Ulrich Drepper <drepper@gmail.com>
23940
23941 * po/h.po: Update from translation team.
23942
25dbcb27
AS
239432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23944
3d3f8e55
AS
23945 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23946
25dbcb27
AS
23947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23948 handling of denormals.
23949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23950 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23951 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23955 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23956 Likewise.
23957
7ad47a80 239582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
23959
23960 [BZ #14152]
23961 * math/libm-test.inc (fma_test): Don't always expect underflow
23962 exception.
23963
9c6ea9fa
SP
239642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23965
23966 [BZ #12416]
23967 * elf/tst-execstack.c: Include stackinfo.h.
23968 (do_test): Adjust test case to ensure that pthread_getattr_np
23969 behaviour remains the same after marking stack executable.
23970
a8239222
JM
239712012-05-25 Joseph Myers <joseph@codesourcery.com>
23972
23973 * sysdeps/unix/sysv/linux/kernel-features.h
23974 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23975 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23976 kernel-features.h.
23977 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23978 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23979 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23980 kernel-features.h.
23981 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23982 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23983
918b5606
L
239842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23985
23986 * configure.in: Define the default includes to being none.
23987 * configure: Regenerated.
23988
3a097cc7
RM
239892012-05-25 Roland McGrath <roland@hack.frob.com>
23990
8422c9a5
RM
23991 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23992 * sysdeps/x86_64/setjmp.S: Likewise.
23993 * sysdeps/i386/bsd-setjmp.S: Likewise.
23994 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23995 * sysdeps/i386/setjmp.S: Likewise.
23996 * sysdeps/i386/__longjmp.S: Likewise.
23997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23998 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23999
3a097cc7
RM
24000 * include/stap-probe.h: New file.
24001 * configure.in: Handle --enable-systemtap.
24002 * configure: Regenerated.
24003 * config.h.in (USE_STAP_PROBE): New #undef.
24004 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24005 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24006 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24007
21708942
JM
240082012-05-25 Joseph Myers <joseph@codesourcery.com>
24009
24010 [BZ #13717]
24011 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24012 to 2.4.0 where earlier.
24013 * sysdeps/unix/sysv/linux/configure: Regenerated.
24014 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24015 <kernel-features.h>.
24016 [__ASSUME_32BITUIDS]: Make code unconditional.
24017 [!__ASSUME_32BITUIDS]: Remove conditional code.
24018 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24019 <kernel-features.h>.
24020 [__ASSUME_32BITUIDS]: Make code unconditional.
24021 [!__ASSUME_32BITUIDS]: Remove conditional code.
24022 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24023 [__ASSUME_32BITUIDS]: Make code unconditional.
24024 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24025 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24026 <kernel-features.h>.
24027 [__ASSUME_32BITUIDS]: Make code unconditional.
24028 [!__ASSUME_32BITUIDS]: Remove conditional code.
24029 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24030 <kernel-features.h>.
24031 [__ASSUME_32BITUIDS]: Make code unconditional.
24032 [!__ASSUME_32BITUIDS]: Remove conditional code.
24033 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24034 <kernel-features.h>.
24035 [__ASSUME_32BITUIDS]: Make code unconditional.
24036 [!__ASSUME_32BITUIDS]: Remove conditional code.
24037 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24038 <kernel-features.h>.
24039 [__ASSUME_32BITUIDS]: Make code unconditional.
24040 [!__ASSUME_32BITUIDS]: Remove conditional code.
24041 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24042 <kernel-features.h>.
24043 [__ASSUME_32BITUIDS]: Make code unconditional.
24044 [!__ASSUME_32BITUIDS]: Remove conditional code.
24045 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24046 <kernel-features.h>.
24047 [__ASSUME_32BITUIDS]: Make code unconditional.
24048 [!__ASSUME_32BITUIDS]: Remove conditional code.
24049 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24050 <kernel-features.h>.
24051 [__ASSUME_32BITUIDS]: Make code unconditional.
24052 [!__ASSUME_32BITUIDS]: Remove conditional code.
24053 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24054 <kernel-features.h>.
24055 [__ASSUME_32BITUIDS]: Make code unconditional.
24056 [!__ASSUME_32BITUIDS]: Remove conditional code.
24057 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24058 <kernel-features.h>.
24059 [__ASSUME_32BITUIDS]: Make code unconditional.
24060 [!__ASSUME_32BITUIDS]: Remove conditional code.
24061 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24062 <kernel-features.h>.
24063 [__ASSUME_32BITUIDS]: Make code unconditional.
24064 [!__ASSUME_32BITUIDS]: Remove conditional code.
24065 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24066 <kernel-features.h>.
24067 [__NR_setresgid] (__setresgid): Do not declare.
24068 [__ASSUME_32BITUIDS]: Make code unconditional.
24069 [!__ASSUME_32BITUIDS]: Remove conditional code.
24070 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24071 <kernel-features.h>.
24072 [__NR_setresuid] (__setresuid): Do not declare.
24073 [__ASSUME_32BITUIDS]: Make code unconditional.
24074 [!__ASSUME_32BITUIDS]: Remove conditional code.
24075 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24076 <kernel-features.h>.
24077 [__ASSUME_32BITUIDS]: Make code unconditional.
24078 [!__ASSUME_32BITUIDS]: Remove conditional code.
24079 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24080 <kernel-features.h>.
24081 [__ASSUME_32BITUIDS]: Make code unconditional.
24082 [!__ASSUME_32BITUIDS]: Remove conditional code.
24083 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24084 <kernel-features.h>.
24085 [__ASSUME_32BITUIDS]: Make code unconditional.
24086 [!__ASSUME_32BITUIDS]: Remove conditional code.
24087 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24088 <kernel-features.h>.
24089 [__ASSUME_32BITUIDS]: Make code unconditional.
24090 [!__ASSUME_32BITUIDS]: Remove conditional code.
24091 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24092 <kernel-features.h>.
24093 [__ASSUME_32BITUIDS]: Make code unconditional.
24094 [!__ASSUME_32BITUIDS]: Remove conditional code.
24095 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24096 <kernel-features.h>.
24097 [__ASSUME_32BITUIDS]: Make code unconditional.
24098 [!__ASSUME_32BITUIDS]: Remove conditional code.
24099 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24100 <kernel-features.h>.
24101 [__ASSUME_32BITUIDS]: Make code unconditional.
24102 [!__ASSUME_32BITUIDS]: Remove conditional code.
24103 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24104 <kernel-features.h>.
24105 [__ASSUME_32BITUIDS]: Make code unconditional.
24106 [!__ASSUME_32BITUIDS]: Remove conditional code.
24107 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24108 <kernel-features.h>.
24109 [__ASSUME_32BITUIDS]: Make code unconditional.
24110 [!__ASSUME_32BITUIDS]: Remove conditional code.
24111 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24112 <kernel-features.h>.
24113 [__ASSUME_32BITUIDS]: Make code unconditional.
24114 [!__ASSUME_32BITUIDS]: Remove conditional code.
24115 * sysdeps/unix/sysv/linux/kernel-features.h
24116 (__ASSUME_SETRESUID_SYSCALL): Remove.
24117 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24118 (__ASSUME_32BITUIDS): Likewise.
24119 (__ASSUME_LDT_WORKS): Likewise.
24120 (__ASSUME_O_DIRECTORY): Likewise.
24121 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24122 architecture but not kernel version.
24123 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24124 (__ASSUME_MMAP2_SYSCALL): Likewise.
24125 (__ASSUME_STAT64_SYSCALL): Likewise.
24126 (__ASSUME_IPC64): Likewise.
24127 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24128 <kernel-features.h>.
24129 [__ASSUME_32BITUIDS]: Make code unconditional.
24130 [!__ASSUME_32BITUIDS]: Remove conditional code.
24131 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24132 <kernel-features.h>.
24133 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24134 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24135 132096]: Remove conditional code.
24136 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24137 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24138 <kernel-features.h>.
24139 [__ASSUME_32BITUIDS]: Make code unconditional.
24140 [!__ASSUME_32BITUIDS]: Remove conditional code.
24141 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24142 <kernel-features.h>.
24143 [__ASSUME_32BITUIDS]: Make code unconditional.
24144 [!__ASSUME_32BITUIDS]: Remove conditional code.
24145 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24146 <kernel-features.h>.
24147 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24148 unconditional.
24149 (__setresgid): Do not declare.
24150 [__ASSUME_32BITUIDS]: Make code unconditional.
24151 [!__ASSUME_32BITUIDS]: Remove conditional code.
24152 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24153 <kernel-features.h>.
24154 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24155 unconditional.
24156 (__setresuid): Do not declare.
24157 [__ASSUME_32BITUIDS]: Make code unconditional.
24158 [!__ASSUME_32BITUIDS]: Remove conditional code.
24159 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24160 <kernel-features.h>.
24161 [__ASSUME_32BITUIDS]: Make code unconditional.
24162 [!__ASSUME_32BITUIDS]: Remove conditional code.
24163 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24164 <kernel-features.h>.
24165 [__ASSUME_32BITUIDS]: Make code unconditional.
24166 [!__ASSUME_32BITUIDS]: Remove conditional code.
24167
a386f1cc
RH
241682012-05-25 Richard Henderson <rth@twiddle.net>
24169
24170 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24171 dl_hwcap to ifunc resolver.
24172 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24173 elf_ifunc_invoke.
24174 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24175 dl_hwcap to ifunc resolver.
24176 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24177
b6550497
JM
241782012-05-24 Joseph Myers <joseph@codesourcery.com>
24179
24180 [BZ #14153]
24181 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24182 for |x| <= 2**-26, not 2**-57.
24183 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24184 exception.
24185
b0bc23a1
JL
241862012-05-24 Jeff Law <law@redhat.com>
24187
24188 * stdio-common/Makefile (tests): Add bug25.
24189 * stdio-common/bug25.c: New test.
24190
347c92e9
L
241912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24192
24193 [BZ #13576]
24194 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24195 multiple of MALLOC_ALIGNMENT in size.
24196 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24197
6bcc8b3f
JM
241982012-05-24 Joseph Myers <joseph@codesourcery.com>
24199
24200 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24201 Require >= 256.
24202 (FILENAME_MAX): Use macro-int-constant.
24203 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24204 (_IOFBF): Use macro-int-constant.
24205 (_IOLBF): Likewise.
24206 (_IONBF): Likewise.
24207 (SEEK_CUR): Likewise.
24208 (SEEK_END): Likewise.
24209 (SEEK_SET): Likewise.
24210 (TMP_MAX): Likewise.
24211 (EOF): Use macro-int-constant. Require < 0.
24212 (NULL): Use macro-constant. Require == 0.
24213 (stdin): Require type to be FILE *.
24214 (stdout): Likewise.
24215 (stderr): Likewise.
24216 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24217 macro-int-constant.
24218 (EXIT_SUCCESS): Likewise.
24219 (NULL): Use macro-constant. Require == 0.
24220 (RAND_MAX): Use macro-int-constant.
24221 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24222 [C99-based standards] (strtof): Require function.
24223 [C99-based standards] (strtold): Likewise.
24224 [C99-based standards] (strtoll): Likewise.
24225 [C99-based standards] (strtoull): Likewise.
24226 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24227 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24228 [ISO || ISO99 || ISO11] (math.h): Likewise.
24229 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24231 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24232
d18ea0c5
AS
242332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24234
24235 [BZ #14132]
56d25bb8
AS
24236 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24237 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24238 * intl/dgettext.c (DCGETTEXT): Likewise.
24239 * intl/gettext.c (DCGETTEXT): Likewise.
24240 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24241 * posix/regex_internal.h (gettext): Likewise.
24242 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24243 Remove declaration.
24244 * include/argz.h (__argz_count_internal)
24245 (__argz_stringify_internal): Remove declaration.
24246 (__argz_count, __argz_stringify): Declare hidden proto.
24247 * intl/dcgettext.c: Remove use of INTDEF.
24248 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24249 * string/argz-stringify.c: Likewise.
24250 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24251 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24252 Declare hidden proto.
d18ea0c5
AS
24253 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24254 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24255 Declare hidden proto.
24256 * include/stdio.h (__asprintf_internal): Don't declare.
24257 (__asprintf): Don't define as macro. Declare hidden proto.
24258 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24259 (__fsetlocking): Declare hidden proto.
24260 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24261 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24262 hidden proto.
24263 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24264 (_IO_setlinebuf): Remove use of INTUSE.
24265 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24266 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24267 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24268 Remove declaration.
24269 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24270 (_IO_do_flush): Remove use of INTUSE.
24271 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24272 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24273 (_IO_adjust_column, _IO_least_wmarker)
24274 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24275 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24276 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24277 (_IO_default_doallocate, _IO_wdefault_doallocate)
24278 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24279 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24280 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24281 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24282 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24283 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24284 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24285 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24286 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24287 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24288 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24289 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24290 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24291 proto.
24292 (_IO_flush_all_internal, _IO_adjust_column_internal)
24293 (_IO_default_uflow_internal, _IO_default_finish_internal)
24294 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24295 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24296 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24297 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24298 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24299 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24300 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24301 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24302 (_IO_file_close_internal, _IO_file_close_it_internal)
24303 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24304 (_IO_file_init_internal, _IO_file_attach_internal)
24305 (_IO_file_fopen_internal, _IO_file_read_internal)
24306 (_IO_file_sync_internal, _IO_file_seek_internal)
24307 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24308 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24309 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24310 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24311 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24312 (_IO_list_all_internal, _IO_link_in_internal)
24313 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24314 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24315 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24316 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24317 (_IO_do_write_internal, _IO_padn_internal)
24318 (_IO_getline_info_internal, _IO_getline_internal)
24319 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24320 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24321 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24322 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24323 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24324 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24325 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24326 with libc_hidden_ver, remove use of INTUSE.
24327 * libio/genops.c: Likewise.
24328 * libio/freopen.c: Likewise.
24329 * libio/freopen64.c: Likewise.
24330 * libio/iofclose.c: Likewise.
24331 * libio/iofdopen.c: Likewise.
24332 * libio/iofflush.c: Likewise.
24333 * libio/iofflush_u.c: Likewise.
24334 * libio/iofgets.c: Likewise.
24335 * libio/iofgets_u.c: Likewise.
24336 * libio/iofopen.c: Likewise.
24337 * libio/iofopncook.c: Likewise.
24338 * libio/iofread.c: Likewise.
24339 * libio/iofread_u.c: Likewise.
24340 * libio/ioftell.c: Likewise.
24341 * libio/iofwrite.c: Likewise.
24342 * libio/iogetline.c: Likewise.
24343 * libio/iogets.c: Likewise.
24344 * libio/iogetwline.c: Likewise.
24345 * libio/iopadn.c: Likewise.
24346 * libio/iopopen.c: Likewise.
24347 * libio/ioseekoff.c: Likewise.
24348 * libio/ioseekpos.c: Likewise.
24349 * libio/iosetbuffer.c: Likewise.
24350 * libio/iosetvbuf.c: Likewise.
24351 * libio/ioungetc.c: Likewise.
24352 * libio/ioungetwc.c: Likewise.
24353 * libio/iovdprintf.c: Likewise.
24354 * libio/iovsprintf.c: Likewise.
24355 * libio/iovsscanf.c: Likewise.
24356 * libio/memstream.c: Likewise.
24357 * libio/obprintf.c: Likewise.
24358 * libio/oldfileops.c: Likewise.
24359 * libio/oldiofclose.c: Likewise.
24360 * libio/oldiofdopen.c: Likewise.
24361 * libio/oldiofopen.c: Likewise.
24362 * libio/oldiopopen.c: Likewise.
24363 * libio/oldstdfiles.c: Likewise.
24364 * libio/putc.c: Likewise.
24365 * libio/setbuf.c: Likewise.
24366 * libio/setlinebuf.c: Likewise.
24367 * libio/stdfiles.c: Likewise.
24368 * libio/strops.c: Likewise.
24369 * libio/vasprintf.c: Likewise.
24370 * libio/vscanf.c: Likewise.
24371 * libio/vsnprintf.c: Likewise.
24372 * libio/vswprintf.c: Likewise.
24373 * libio/wfiledoalloc.c: Likewise.
24374 * libio/wfileops.c: Likewise.
24375 * libio/wgenops.c: Likewise.
24376 * libio/wmemstream.c: Likewise.
24377 * libio/wstrops.c: Likewise.
24378 * libio/__fpurge.c: Likewise.
24379 * libio/__fsetlocking.c: Likewise.
24380 * assert/assert.c: Likewise.
24381 * debug/fgets_chk.c: Likewise.
24382 * debug/fgets_u_chk.c: Likewise.
24383 * debug/fread_chk.c: Likewise.
24384 * debug/fread_u_chk.c: Likewise.
24385 * debug/gets_chk.c: Likewise.
24386 * debug/obprintf_chk.c: Likewise.
24387 * debug/vasprintf_chk.c: Likewise.
24388 * debug/vdprintf_chk.c: Likewise.
24389 * debug/vsnprintf_chk.c: Likewise.
24390 * debug/vsprintf_chk.c: Likewise.
24391 * malloc/mtrace.c: Likewise.
24392 * misc/error.c: Likewise.
24393 * misc/syslog.c: Likewise.
24394 * stdio-common/asprintf.c: Likewise.
24395 * stdio-common/fxprintf.c: Likewise.
24396 * stdio-common/getw.c: Likewise.
24397 * stdio-common/isoc99_fscanf.c: Likewise.
24398 * stdio-common/isoc99_scanf.c: Likewise.
24399 * stdio-common/isoc99_vfscanf.c: Likewise.
24400 * stdio-common/isoc99_vscanf.c: Likewise.
24401 * stdio-common/isoc99_vsscanf.c: Likewise.
24402 * stdio-common/printf-prs.c: Likewise.
24403 * stdio-common/printf_fp.c: Likewise.
24404 * stdio-common/printf_fphex.c: Likewise.
24405 * stdio-common/printf_size.c: Likewise.
24406 * stdio-common/putw.c: Likewise.
24407 * stdio-common/scanf.c: Likewise.
24408 * stdio-common/sprintf.c: Likewise.
24409 * stdio-common/tmpfile.c: Likewise.
24410 * stdio-common/vfprintf.c: Likewise.
24411 * stdio-common/vfscanf.c: Likewise.
24412 * stdlib/strfmon_l.c: Likewise.
24413 * sunrpc/openchild.c: Likewise.
24414 * sunrpc/xdr_stdio.c: Likewise.
24415 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24416 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24417
d6c33fda
RM
244182012-05-24 Roland McGrath <roland@hack.frob.com>
24419
c1487492
RM
24420 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24421
24422 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24423 in the third column, to generate for the shared library an IFUNC
24424 that uses _dl_vdso_vsym.
24425 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24426 * Makeconfig (object-suffixes-noshared): New variable.
24427
24428 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24429 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24430 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24431 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24432
d6c33fda
RM
24433 [BZ #14132]
24434 * include/sys/time.h (__gettimeofday): Remove macro.
24435 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24436 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24437 Remove INTDEF.
24438 (__gettimeofday): Add libc_hidden_def.
24439 (gettimeofday): Add libc_hidden_weak.
24440 * sysdeps/mach/gettimeofday.c: Likewise.
24441 * sysdeps/posix/gettimeofday.c: Likewise.
24442 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24443 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24445 (__gettimeofday_internal): Remove strong_alias.
24446 (__gettimeofday): Add libc_hidden_def.
24447 (gettimeofday): Add libc_hidden_weak.
24448 * sysdeps/unix/syscalls.list (gettimeofday):
24449 Remove __gettimeofday_internal alias.
24450
b5a2bbe6
L
244512012-05-24 Daniel Jacobowitz <drow@false.org>
24452 H.J. Lu <hongjiu.lu@intel.com>
24453
24454 [BZ #12495]
24455 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24456 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24457 (largebin_index_32_big): New.
24458 (largebin_index): Use it for 16-byte alignment.
24459 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24460 correction with front_misalign.
24461
cfba4fda
L
244622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24463
7f907421
L
24464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24466 Likewise.
24467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24468 Likewise.
24469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24470 Likewise.
24471 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24472 Likewise.
24473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24474 Likewise.
24475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24476 Likewise.
24477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24478 Likewise.
24479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24480 Likewise.
24481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24482 Likewise.
24483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24484 Likewise.
24485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24486 Likewise.
24487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24488 Likewise.
24489
cfba4fda
L
24490 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24491 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24492
80bad0cc
JM
244932012-05-24 Joseph Myers <joseph@codesourcery.com>
24494
7a25eb06
JM
24495 [BZ #10846]
24496 [BZ #14036]
24497 * math/libm-test.inc (exp_test): Add test from bug 14036.
24498 (pow_test): Add test from bug 10846.
24499
795405f9
JM
24500 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24501 and other flags.
24502 (special_function): Do not include flags in test name.
24503 (parse_args): Likewise.
24504 * sysdeps/i386/fpu/libm-test-ulps: Update.
24505 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24506 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24507 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24509
80bad0cc
JM
24510 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24511 exceptions.
24512 * math/libm-test.inc ("Philosophy"): Update comment about
24513 exception testing.
24514 (UNDERFLOW_EXCEPTION): New macro.
24515 (UNDERFLOW_EXCEPTION_OK): Likewise.
24516 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24517 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24518 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24519 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24520 (INVALID_EXCEPTION_OK): Update value.
24521 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24522 (OVERFLOW_EXCEPTION_OK): Likewise.
24523 (IGNORE_ZERO_INF_SIGN): Likewise.
24524 (test_exceptions): Handle underflow exceptions.
24525 (acos_test): Update for underflow exception expectations.
24526 (cexp_test): Likewise.
24527 (clog_test): Likewise.
24528 (clog10_test): Likewise.
24529 (csqrt_test): Likewise.
24530 (ctan_test): Likewise.
24531 (ctanh_test): Likewise.
24532 (exp_test): Likewise.
24533 (exp10_test): Likewise.
24534 (exp2_test): Likewise.
24535 (expm1_test): Likewise.
24536 (fma_test): Likewise.
24537 (j0_test): Likewise.
24538 (jn_test): Likewise.
24539 (nexttoward_test): Likewise.
24540 (pow_test): Likewise.
24541 (scalbn_test): Likewise.
24542 (scalbln_test): Likewise.
24543 (tan_test): Likewise.
24544 (y1_test): Likewise.
24545 * sysdeps/i386/fpu/libm-test-ulps: Update.
24546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24547
9e0e3d0b
DM
245482012-05-23 David S. Miller <davem@davemloft.net>
24549
24550 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24551 (__libc_sigaction): Remove unused local variables.
24552
ccd0a08f
L
245532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24554
24555 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24556
62bdf9a6
PE
245572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24558
f8591f80
PE
24559 mktime: avoid signed integer overflow
24560 * time/mktime.c (__mktime_internal): Do not mishandle the case
24561 where diff == INT_MIN.
24562
94c7d826
PE
24563 mktime: simplify computation of average
24564 * time/mktime.c (ranged_convert): Use new time_t_avg function
24565 instead of rolling our own (probably-slower) code.
24566
ce73d683
PE
24567 mktime: do not assume signed right shift propagates sign bit
24568 * time/mktime.c (isdst_differ): New static function.
24569 (__mktime_internal): No need to normalize tm_isdst now.
24570 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24571 tm_isdst values.
24572
72a22e59
PE
24573 mktime: merge another wrapv change from gnulib
24574 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24575 from some compilers.
24576
68605433
PE
24577 mktime: remove incorrect attempt at unusual arithmetics
24578 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24579 The code didn't really work on such machines anyway.
24580 (TYPE_MINIMUM): Assume two's complement.
24581 (twos_complement_arithmetic): Verify that long_int and time_t
24582 are two's complement (or unsigned, in the latter case).
24583
03cf7fe3
PE
24584 mktime: check signed shifts on long_int and time_t, too
24585 * time/mktime.c (SHR): Check that shifts work as desired
24586 on the types long_int and time_t too, as SHR is used on
24587 such types.
24588
f04dfbc2
PE
24589 mktime: do not assume 'long' is wide enough
24590 * time/mktime.c (verify): Move decl up.
24591 (long_int): New type.
24592 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24593 to remove assumption in the code that 'long' is wide enough to
24594 store year values. This assumption is not true on x32 and on
24595 some non-glibc platforms.
24596
62bdf9a6
PE
24597 mktime: merge wrapv change from gnulib
24598 * time/mktime.c (WRAPV): New macro.
24599 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24600 (guess_time_tm, __mktime_internal): Do not assume that signed
24601 integer overflow wraps around; modern compilers generate code
24602 where this assumption is no longer valid.
24603
5e292e4f
L
246042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24605
24606 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24607 Replace "jmp L(pseudo_end)" with "ret".
24608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24609 Likewise.
24610
8caf8c87
AJ
246112012-05-23 Andreas Jaeger <aj@suse.de>
24612
24613 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24614 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24615
1a09dc56
AJ
246162012-05-23 Andreas Jaeger <aj@suse.de>
24617 Maximilian Attems <max@stro.at>
24618
24619 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24620 New macros.
24621
1c87aba0
L
246222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24623
24624 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24625 code so that pseudo_end is just ret and the stack pointer is
24626 correct also for static library in error case.
24627
40e45bd5
JM
246282012-05-23 Joseph Myers <joseph@codesourcery.com>
24629
c2670533
JM
24630 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24631 move to syscalls.list.
24632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24636
40e45bd5
JM
24637 * manual/install.texi (Running make install): Do not mention Linux
24638 kernel version for which pt_chown is not needed.
24639 (Linux): Do not mention problems with nscd with 2.0 kernels.
24640 * INSTALL: Regenerated.
24641
be08eda5
AJ
246422012-05-23 Andreas Jaeger <aj@suse.de>
24643
24644 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24645 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24646 macro.
24647 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24648 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24649 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24650 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24651 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24652 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24654 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24655 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24656 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24657 * sysdeps/unix/sysv/linux/bits/in.h
24658 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24659
a6a056bb
RM
246602012-05-22 Roland McGrath <roland@hack.frob.com>
24661
24662 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24663 (PREPARE_VERSION): Just use assert instead, it will be elided
24664 under [NDEBUG] anyway.
24665
c9009328
L
246662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24667
24668 * sysdeps/unix/sysv/linux/Makefile: Include
24669 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24670 (sysdep_routines): Remove sysctl.
c9009328
L
24671 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24672 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24673 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24674 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24675 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24676
73338355
AJ
246772012-05-22 Andreas Jaeger <aj@suse.de>
24678
24679 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24680 that pseudo_end is just ret and the stack pointer is correct also
24681 for static library in error case.
24682
d44638b0
PP
246832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24684
24685 [BZ #14122]
24686 * nss/nsswitch.c (defconfig_entries): New variable.
24687 (__nss_database_lookup): Don't leak defconfig entries.
24688 (nss_parse_service_list): Don't leak on error paths.
24689 (free_database_entries): New function.
24690 (free_defconfig): New function.
24691 (free_mem): Move common code to free_database_entries.
24692
31a39bd8
L
246932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24694
da0331a8
L
24695 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24696 Add arch_prctl.
24697 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24698
31a39bd8
L
24699 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24700 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24702 New macro.
24703 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24704 (INTERNAL_SYSCALL_TYPES): Likewise.
24705 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24706 (LOAD_REGS_TYPES_[1-6]): Likewise.
24707 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24708 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24709
45470df3
AZ
247102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24711
24712 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24713 copysignl for GLIBC_2_0.
24714 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24715 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24717 logbl for GLIBC_2_0.
24718 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24719 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24720
98a61bcb
L
247212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24722
a4f6e481
L
24723 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24724 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24725
f63d5db6
L
24726 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24727 Use "neg %eax".
24728
98a61bcb
L
24729 * time/mktime.c: Update copyright years.
24730
95770f14
PE
247312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24732
6226efbd
PE
24733 mktime: merge comment-quoting-style change from gnulib
24734 * time/mktime.c: Quote 'like this' in comments.
24735 The GNU coding standards suggest that we no longer quote `like this',
24736 as "`" and "'" are typically rendered asymmetrically nowadays.
24737 The typical gnulib style is to quote 'like this' when quoting
24738 code, and "like this" when quoting English.
24739
b99e4f78
PE
24740 * time/mktime.c (compile-command): Add "-I.".
24741
643e01e6
PE
24742 mktime: merge mktime-internal.h change from gnulib
24743 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24744
2554247d
PE
24745 mktime: merge time_r change from gnulib
24746 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24747
826dd0ab
PE
24748 mktime: merge DEBUG change from gnulib
24749 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24750 case system <time.h> has a #define.
24751
bd83aabe
PE
24752 mktime: merge <sys/types.h> change from gnulib
24753 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24754 since <time.t> is now guaranteed to define time_t.
24755
95770f14
PE
24756 mktime: merge HAVE_CONFIG_H change from gnulib
24757 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24758
5e1a27a9
L
247592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24760
0e44a77e
L
24761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24762 Use "neg %eax".
24763
5e1a27a9
L
24764 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24765 __rlim_t cast.
24766 (struct rusage): Use anonymous union to pad each field to
24767 __syscall_slong_t.
24768
46259bec
DM
247692012-05-21 David S. Miller <davem@davemloft.net>
24770
24771 * Makefules (o-iterator): Remove .s cases.
24772 (compile-command.s): Delete.
24773 (COMPILE.s): Delete.
24774 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24775
59f0c22e
JM
247762012-05-21 Joseph Myers <joseph@codesourcery.com>
24777
24778 * configure.in (libc_cv_predef_stack_protector): Only consider
24779 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24780 * configure: Regenerated.
24781
20c07380
L
247822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24783
bbb3154b
L
24784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24785 New macro. Use R*LP on int and pointer.
24786 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
24787 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24788 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
24789 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24790
20c07380
L
24791 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24792 [__WORDSIZE_TIME64_COMPAT32] instead of
24793 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24794 (struct utmp): Likewise.
24795 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24796 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24797 Renamed to ...
24798 (__WORDSIZE_TIME64_COMPAT32): This.
24799 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24800 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24801 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24802 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24803 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24804 (__WORDSIZE_TIME64_COMPAT32): New macro.
24805
d8d1017e
AJ
248062012-05-21 Andreas Jaeger <aj@suse.de>
24807
24808 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24809 only if [SHARED]. Add prototype for __wcschr_ia32.
24810
6c7fb145
RM
248112012-05-21 Roland McGrath <roland@hack.frob.com>
24812
24813 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24814 of %rbp unmolested in the jmp_buf while mangling the low bits.
24815 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24816 unmolested high bits of %rbp while demangling the low bits.
24817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24818
66274218
AJ
248192012-05-21 Andreas Jaeger <aj@suse.de>
24820
07c58f8f
AJ
24821 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24822 * sunrpc/svc_simple.c: Use it for registerrpc.
24823 * sunrpc/xcrypt.c: Use it for passwd2des.
24824
66274218
AJ
24825 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24826
61f65140
L
248272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24828
24829 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24830 Don't define if [__SYSCALL_WORDSIZE != 32].
24831 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24832 New macro.
24833
5fefb436
AJ
248342012-05-21 Bruno Haible <bruno@clisp.org>
24835 Andreas Jaeger <aj@suse.de>
24836
24837 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24838 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24839 inptr and inend for must_buffer_ch.
24840 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24841 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24842 * stdio-common/Makefile (tests): Remove bug15.
24843 (bug15-ENV): Remove macro.
24844 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24845 anymore.
24846
d8e272ab
AJ
248472012-05-19 Andreas Jaeger <aj@suse.de>
24848 Roland McGrath <roland@hack.frob.com>
24849
24850 * manual/contrib.texi: Completely rewritten. It contains now an
24851 alphabetical list of contributors and their contributions.
24852
4a56a162
RH
248532012-05-21 Richard Henderson <rth@twiddle.net>
24854
24855 * misc/getauxval.c (__getauxval): Use unsigned long int.
24856 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24857 (getauxval): Use unsigned long int.
24858
d024d23c
L
248592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24860
24861 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24862
cbc00a03
RM
248632012-05-21 Roland McGrath <roland@hack.frob.com>
24864
24865 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24866 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24867 __alignof__ (long double).
24868
478143fa
AZ
248692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24870
24871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24872
c7683a6d
RH
248732012-05-20 Richard Henderson <rth@twiddle.net>
24874
24875 * misc/getauxval.c: New file.
24876 * misc/sys/auxv.h: New file.
24877 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24878 (routines): Add getauxval.
24879 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24880 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24881 * elf/dl-sysdep.c (_dl_auxv): Remove.
24882 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24883 * elf/dl-support.c (_dl_auxv): New variable.
24884 (_dl_aux_init): Initialize it.
24885 * manual/startup.texi (Auxiliary Vector): New node.
24886 * sysdeps/generic/bits/hwcap.h: New file.
24887 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24888 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24889 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24890 * sysdeps/sparc/sysdep.h: ... here. Include it.
24891 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24892 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24894 Update.
c7683a6d
RH
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24903
a6f1845d
AZ
249042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24905
24906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24907
cbcbe830
DM
249082012-05-19 David S. Miller <davem@davemloft.net>
24909
24910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24911
e0b16cc2
JM
249122012-05-19 Joseph Myers <joseph@codesourcery.com>
24913
24914 [BZ #14123]
24915 * math/s_ccosh.c: Include <float.h>
24916 (__ccosh): Avoid internal overflow calculating sinh and cosh
24917 values before multiplying by sin and cos values.
24918 * math/s_ccoshf.c: Likewise.
24919 * math/s_ccoshl.c: Likewise.
24920 * math/s_csin.c: Likewise.
24921 * math/s_csinf.c: Likewise.
24922 * math/s_csinl.c: Likewise.
24923 * math/s_csinh.c: Likewise.
24924 * math/s_csinhf.c: Likewise.
24925 * math/s_csinhl.c: Likewise.
24926 * math/libm-test.inc (ccos_test): Add more tests.
24927 (ccosh_test): Likewise.
24928 (csin_test): Likewise.
24929 (csinh_test): Likewise.
24930 * sysdeps/i386/fpu/libm-test-ulps: Update.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24932
6ad13e08
L
249332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24934
f66f0ce8
L
24935 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24936 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24937
6ad13e08
L
24938 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24939
b1d072a7
JM
249402012-05-19 Joseph Myers <joseph@codesourcery.com>
24941
24942 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24943 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24944 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24945 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24946 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24947 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24948 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24949 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24950 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24951 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24952 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24953 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24954 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24955 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24956 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24957 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24958 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24959 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24960 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24961 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24962 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24963 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24964 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24965 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24966 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24967 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24968 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24969 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24970 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24971 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24972 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24973
9eae47cb
AJ
249742012-05-18 Andreas Jaeger <aj@suse.de>
24975
24976 * csu/.gitignore: Delete.
24977
bb07f69f
L
249782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24979
24980 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24981 (timex): Use __syscall_slong_t.
24982
e6bdb741
AJ
249832012-05-18 Andreas Jaeger <aj@suse.de>
24984 Carlos O'Donell <carlos_odonell@mentor.com>
24985
24986 * manual/install.texi (Configuring and compiling): Update
24987 description about files modified in the source directory.
d6c33fda 24988 * INSTALL: Regenerated.
e6bdb741 24989
1b74487e
L
249902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24991
24992 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24993 value. Use "or" to set return value to -1.
24994 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24995 negate return value.
24996
a88b64b9
TMQMF
249972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24998
24999 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25000 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25001 failure if the compiler has Graphite support disabled.
25002 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25003 Likewise.
25004 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25005 CFLAGS-memmove.c): Likewise.
25006 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25007 Likewise.
25008
3707636e
L
250092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25010
610b8622
L
25011 * sysdeps/x86_64/x32/_itoa.h: New file.
25012
7cd195df
L
25013 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25014 getdents system call only if kernel and user dirents have the
25015 same d_ino and d_off.
25016
94b07d20
L
25017 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25018 LLONG_MAX != LONG_MAX.
25019 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25020 (_fitoa_word): Likewise.
25021
18298070
L
25022 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25023 years.
25024 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25025 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25026 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25027
553c7ea4
L
25028 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25029 include <bits/wordsize.h>. Check __x86_64__ instead of
25030 __WORDSIZE.
25031 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25032 if __x86_64__ is defined. Use anonymous union on fpstate.
25033
3707636e
L
25034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25035 anonymous union.
25036
b53ef01a
AS
250372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25038
37fb1dc0
AS
25039 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25040 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25041 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25042 Refer to _rtld_local_ro instead of _rtld_global_ro.
25043 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25044 Likewise.
25045 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25046 Likewise.
25047 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25048 Likewise.
25049 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25050 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25051 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25052
b53ef01a
AS
25053 * sysdeps/powerpc/powerpc32/dl-machine.c
25054 (__elf_machine_runtime_setup) [PROF]: Don't reference
25055 _dl_prof_resolve.
25056
7a185db2
AJ
250572012-05-18 Andreas Jaeger <aj@suse.de>
25058
25059 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25060 function only available for GCCs before 3.4 since GCC 3.4
25061 introduced a builtin.
25062 (lrint): Likewise.
25063 (llrintf): Likewise.
25064 (llrint): Likewise.
25065 (fmaxf): Likewise.
25066 (fmax): Likewise.
25067 (fminf): Likewise.
25068 (fmin): Likewise.
25069 (rint): Likewise.
25070 (rintf): Likewise.
25071 (nearbyint): Likewise.
25072 (nearbyintf): Likewise.
25073 (ceil): Likewise.
25074 (ceilf): Likewise.
25075 (floor): Likewise.
25076 (floorf): Likewise.
25077
3e5aef87
L
250782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25079
428bd707
L
25080 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25081 on both fields and cast pointer to __syscall_ulong_t.
25082
3e5aef87
L
25083 * bits/types.h (__fsword_t): New type.
25084 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25085 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25087 (__FSWORD_T_TYPE): Likewise.
25088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25089 (__FSWORD_T_TYPE): Likewise.
25090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25091 (__FSWORD_T_TYPE): Likewise.
25092 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25093 (__FSWORD_T_TYPE): Likewise.
25094 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25095 __SWORD_TYPE with __fsword_t.
25096 (statfs64): Likewise.
25097
1ba7c3dc
DM
250982012-05-17 David S. Miller <davem@davemloft.net>
25099
25100 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25101
59910343
AJ
251022012-05-17 Andreas Jaeger <aj@suse.de>
25103
25104 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25105 warning.
25106
2e4c1e9e
L
251072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25108
25109 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25110
de7f5ce7
AJ
251112012-05-17 Andreas Jaeger <aj@suse.de>
25112
25113 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25114 when it is used.
25115
286abc3d
CM
251162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25117
25118 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25119
477cc68e
L
251202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25121
25122 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25123 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25124
1a0994f5
CD
251252012-05-17 Andreas Jaeger <aj@suse.de>
25126 Carlos O'Donell <carlos_odonell@mentor.com>
25127
25128 [BZ #14059]
25129 * sysdeps/x86_64/multiarch/init-arch.h
25130 (bit_YMM_Usable): Rename to...
25131 (bit_AVX_Usable): ... this.
25132 (bit_FMA4_Usable): New macro.
25133 (bit_XMM_state): New macro.
25134 (bit_YMM_state): New macro.
25135 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25136 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25137 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25138 (CPUID_OSXSAVE): New macro.
25139 (CPUID_AVX): New macro.
25140 (CPUID_FMA4): New macro.
25141 (index_YMM_Usable): Rename to...
25142 (index_AVX_Usable): ... this.
25143 (HAS_AVX): Use HAS_ARCH_FEATURE.
25144 (HAS_FMA4): Likewise.
25145 (HAS_YMM_USABLE): Remove.
25146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25147 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25148 are present.
25149 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25150 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25151 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25152 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25153 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25154
0af797de
CM
251552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25156
25157 * math/libm-test.c: Support platforms without multiple rounding modes.
25158 * math/bug-nextafter.c: Support platforms without FP exceptions.
25159 * math/bug-nexttoward.c: Likewise.
25160 * math/test-fenv.c: Likewise.
25161 * math/test-misc.c: Likewise.
25162 * stdlib/bug-getcontext.c: Likewise.
25163
e39745ff
AJ
251642012-05-17 Andreas Jaeger <aj@suse.de>
25165
25166 * manual/examples/search.c (critter_cmp): Change signature to
25167 avoid warnings.
25168 * manual/string.texi (Collation Functions): Likewise.
25169
48970aba
L
251702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25171
25172 * bits/types.h: Fold copyright years.
25173 * bits/typesizes.h: Likewise.
25174 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25175 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25176 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25178 * time/time.h: Likewise.
25179
bedee953
PP
251802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25181
25182 [BZ #208]
25183 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25184 in instead of returning them. Return void.
25185 (__libc_mallinfo): Accumulate over all arenas.
25186 (__malloc_stats): Adjust for change in int_mallinfo interface.
25187
61653dfb
RM
251882012-05-16 Roland McGrath <roland@hack.frob.com>
25189
30b99d79
RM
25190 [BZ #10375]
25191 * configure.in (NM): Add AC_CHECK_TOOL for it.
25192 (libc_extra_cflags): New substituted variable.
25193 Check for -fstack-protector being used implicitly.
25194 * configure: Regenerated.
25195 * config.make.in (config-extra-cflags): New variable,
25196 gets @libc_extra_cflags@.
25197 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25198
61653dfb
RM
25199 [BZ #10375]
25200 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25201 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25202 * configure: Regenerated.
25203 * config.make.in (CPPUNDEFS): New substituted variable.
25204 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25205 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25206 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25207
661768bb
L
252082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25209
25210 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25211 (mq_attr): Use __syscall_slong_t.
25212
d4261567
L
252132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25214
25215 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25216 Check __x86_64__ instead of __WORDSIZE.
25217 (_STAT_VER_LINUX): Likewise.
25218 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25219 __syscall_ulong_t and __syscall_slong_t.
25220 (stat64): Likewise.
25221
cf3ff365
L
252222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25223
25224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25225
76cf3e4d
L
252262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25227
25228 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25229
a637753a
L
252302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25231
25232 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25233 __syscall_ulong_t.
25234
d5e05119
L
25235 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25236 include <bits/wordsize.h>. Check __x86_64__ instead of
25237 __WORDSIZE.
25238 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25239 defined.
25240 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25241
f62ee380
L
25242 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25243 include <bits/wordsize.h>. Check __x86_64__ instead of
25244 __WORDSIZE.
25245 (user_regs_struct): Use "__extension__ unsigned long long"
25246 instead of "unsigned long" if __x86_64__ is defined.
25247 (user): Likewise. Pad after pointer field if __ILP32__ is
25248 defined.
25249
4e124ced
JM
252502012-05-16 Joseph Myers <joseph@codesourcery.com>
25251
6a3951a0
JM
25252 * configure.in (makeinfo): Require version 4.5 or later. Allow
25253 versions 5 to 9.
25254 * configure: Regenerated.
25255 * manual/install.texi (texinfo): Increase version requirement to
25256 4.5 or later.
25257 * INSTALL: Regenerated.
25258
4e124ced
JM
25259 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25260
953ca31a
L
252612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25262
25263 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25264
617aca05
L
25265 * sysdeps/x86_64/x32/ffs.c: New file.
25266
5762f7ae
L
25267 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25268 __syscall_ulong_t.
25269 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25270 defined. Use __syscall_ulong_t.
25271 (shminfo): Use __syscall_ulong_t.
25272 (shm_info): Likewise.
25273
a26b6856
L
25274 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25275 __syscall_ulong_t.
25276
cb2b9ef7
L
25277 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25278 <bits/wordsize.h>.
25279 (msgqnum_t): Use __syscall_ulong_t.
25280 (msglen_t): Likewise.
25281 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25282 __syscall_ulong_t.
25283
34683bb0
L
25284 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25285 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25286
84a68786
L
25287 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25288
48baa5f1
L
25289 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25290 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25291
180be88b
L
25292 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25293 __syscall_slong_t.
25294
5e90c8ad
L
25295 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25296 include <bits/wordsize.h>. Check __x86_64__ instead of
25297 __WORDSIZE.
25298
23dfb58b
L
25299 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25300 "unsigned long long int" if __x86_64__ is defined.
25301 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25302
ce5d54b0
L
25303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25304 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25305 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25306
13dc9eac
L
25307 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25308 <stdint.h>.
25309 (GET_PC): Cast to uintptr_t first.
25310 (GET_FRAME): Likewise.
25311 (GET_STACK): Likewise.
25312
a7895d15
L
25313 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25314 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25315 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25316 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25317 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25318 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25319 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25320 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25321 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25322 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25323 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25324 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25325 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25327 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25328 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25329 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25330 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25331 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25333 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25334 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25335 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25336 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25337 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25338 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25339 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25340 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25341 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25342
656416c9
AS
253432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25344
5bd66283
AS
25345 * Makerules (+depfiles): Also collect depfiles from .oS in
25346 $(extra-objs).
25347 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25348 .oS, $(libnldbl-routines)).
25349
656416c9
AS
25350 * Makerules (native-compile-mkdep-flags): Define.
25351 * sunrpc/Makefile (extra-objs): Add $(addprefix
25352 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25353 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25354 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25355 calling $(make-target-directory).
25356
a46f2169
L
253572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25358
25359 * bits/types.h (__snseconds_t): Removed.
25360 * time/time.h (struct timespec): Replace __snseconds_t with
25361 __syscall_slong_t.
25362 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25363 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25364 Likewise.
25365 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25366 (__SNSECONDS_T_TYPE): Likewise.
25367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25368 (__SNSECONDS_T_TYPE): Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25370 (__SNSECONDS_T_TYPE): Likewise.
25371
6af6528b
L
253722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25373
25374 * sysdeps/mach/hurd/bits/typesizes.h
25375 (__SYSCALL_SLONG_TYPE): New macro.
25376 (__SYSCALL_ULONG_TYPE): Likewise.
25377
de986b56
L
253782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25379
25380 * bits/types.h (__syscall_slong_t): New type.
25381 (__syscall_ulong_t): Likewise.
25382
25383 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25384 (__SYSCALL_ULONG_TYPE): Likewise.
25385 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25386 (__SYSCALL_SLONG_TYPE): Likewise.
25387 (__SYSCALL_ULONG_TYPE): Likewise.
25388 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25389 (__SYSCALL_SLONG_TYPE): Likewise.
25390 (__SYSCALL_ULONG_TYPE): Likewise.
25391 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25392 (__SYSCALL_SLONG_TYPE): Likewise.
25393 (__SYSCALL_ULONG_TYPE): Likewise.
25394
85736dc7
L
253952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25396
25397 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25398 Add sigaltstack-offsets.sym.
25399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25400 <sigaltstack-offsets.h>.
25401 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25402 longjmp_msg pointer.
25403 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25404 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25405 signal stack.
25406 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25407
cc03b296
JM
254082012-05-15 Joseph Myers <joseph@codesourcery.com>
25409
a9538892
JM
25410 * elf/stackguard-macros.h: Remove file.
25411 * sysdeps/generic/stackguard-macros.h: New file.
25412 * sysdeps/i386/stackguard-macros.h: Likewise.
25413 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25414 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25415 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25416 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25417 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25418 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25419 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25420 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25421 <elf/stackguard-macros.h>.
25422
cc03b296
JM
25423 [BZ #14109]
25424 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25425 __aligned__ in attribute.
25426 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25427 (gregset_t): Likewise.
25428
93171016
L
254292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25430
25431 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25432 * sysdeps/x86_64/64/Implies-after: Here. New file.
25433 * sysdeps/x86_64/x32/Implies-after: New file.
25434
d86813a0
L
254352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25436
25437 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25438 and access return value for _dl_profile_fixup. Use R10_LP to
25439 load frame size.
25440
2953ec75
L
254412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25442
25443 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25444
3b550e9e
L
254452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25446
25447 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25448 * sysdeps/x86_64/x32/sysdep.h: New file.
25449
eda41706
L
254502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25451
25452 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25453 * sysdeps/x86_64/setjmp.S: Likewise.
25454
9ea01d93
AZ
254552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25456
25457 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25458 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25459 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25460 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25461 remove unused global constant.
25462
02a91938
CM
254632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25464
25465 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25466 include of <not-cancel.h>.
25467
6540185f
RM
254682012-05-15 Roland McGrath <roland@hack.frob.com>
25469
25470 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25471
509072a0
AJ
254722012-05-15 Jeff Law <law@redhat.com>
25473 Andreas Jaeger <aj@suse.de>
25474
25475 [BZ #13594]
25476 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25477 out from...
25478 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25479 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25480 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25481 code changing __hst_map_handle.map.
25482
ba75122d
RM
254832012-05-15 Roland McGrath <roland@hack.frob.com>
25484
25485 * configure.in (sysnames): Look for Implies-before and Implies-after
25486 files.
25487 * configure: Regenerated.
25488
890d8bd8
L
254892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25490
25491 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25492 8-byte data alignment with LP_SIZE alignment.
25493
f6ee6623
L
254942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25497 into R10_LP.
25498
ea2626f6
L
254992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25502
085f715e
L
255032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25504
25505 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25506 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25508 Likewise.
25509 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25510
be8498fc
L
255112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25512
25513 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25514 (stackinfo_sub_sp): Likewise.
25515
70bc83b9
L
255162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25517
25518 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25519 RAX_LP.
25520
9bc0b730
L
255212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25522
25523 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25524 into R*_LP.
25525
6d2850e7
L
255262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25527
25528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25529 sizes into R*_LP.
25530
3cb84561
L
255312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25534
54e2ed81
L
255352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25536
25537 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25538 into R11_LP and load __x86_64_shared_cache_size_half into
25539 R8_LP.
25540
8a17f349
L
255412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25542
25543 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25544 R8_LP.
25545
777b1eea
AZ
255462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25547
25548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25549 logb for POWER7.
25550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25551 logbf for POWER7.
25552 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25553 logbl for POWER7.
25554 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25555 powerpc32/power7/fpu/s_logb.c via #include.
25556 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25557 powerpc32/power7/fpu/s_logbf.c via #include.
25558 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25559 powerpc32/power7/fpu/s_logbl.c via #include.
25560
d20d4ac2
JM
255612012-05-15 Joseph Myers <joseph@codesourcery.com>
25562
25563 * README.libm: Remove file.
25564
6cdef1ab
L
255652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25566
25567 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25568 count for x32. Use R*_LP and omit operand-size suffix.
25569
0b254d8f
L
255702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25571
25572 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25573 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25574 * sysdeps/x86_64/x32/shlib-versions: New file.
25575
ceb809dc
RM
255762012-05-14 Roland McGrath <roland@hack.frob.com>
25577
25578 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25579 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25580 Use _dl_fatal_printf instead.
25581
37f1abd4
JM
255822012-05-14 Joseph Myers <joseph@codesourcery.com>
25583
25584 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25585 set if not set by the user. Do not allow for being unset.
25586 * sysdeps/unix/sysv/linux/configure: Regenerated.
25587
11de3a33
L
255882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25591 the `q' suffix from lea and replace .quad with ASM_ADDR.
25592
e02f153a
L
255932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25594
25595 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25596 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25597 instead of $17.
25598 (PTR_DEMANGLE): Likewise.
25599
520ae0fd
L
256002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25601
25602 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25603 (LP_OP): Likewise.
25604 (ASM_ADDR): Likewise.
25605 (RAX_LP): Likewise.
25606 (RBP_LP): Likewise.
25607 (RBX_LP): Likewise.
25608 (RCX_LP): Likewise.
25609 (RDI_LP): Likewise.
25610 (RSI_LP): Likewise.
25611 (RSP_LP): Likewise.
25612 (R8_LP): Likewise.
25613 (R9_LP): Likewise.
25614 (R10_LP): Likewise.
25615 (R10_LP): Likewise.
25616 (R11_LP): Likewise.
25617 (R12_LP): Likewise.
25618 (R13_LP): Likewise.
25619 (R14_LP): Likewise.
25620 (R15_LP): Likewise.
25621
b985be81
L
256222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25623
25624 * sysdeps/x86_64/x32/dl-machine.h: New file.
25625
6a4888ff
AJ
256262012-05-14 Andreas Jaeger <aj@suse.de>
25627
25628 * manual/Makefile (subdir): Remove export of subdir.
25629 (all): Remove target.
25630 (.PHONY): Remove all from list.
25631 (mkinstalldirs): Remove.
25632 (.PHONY): Remove installdirs from list.
25633 ($(inst_infodir)/libc.info): Use make-target-directory.
25634 (installdirs): Remove.
25635 (subdir_%): Remove.
25636 (glibc-targets): Remove.
25637 (lib): Remove.
25638 (stubs): Remove.
25639 ($(objpfx)stubs ../po/manual.pot): Remove.
25640 ($(objpfx)stamp%): Remove.
25641 (make-target-directory): Remove.
25642 (subdir_install): Remove.
25643 (routines): Remove.
25644 (aux): Remove.
25645 (sources): Remove.
25646 (objects): Remove.
25647 (headers): Remove.
25648
25649 [BZ #13750]
25650 * manual/.gitignore: Remove, it's not needed anymore.
25651 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25652 all files in it.
25653 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25654 directory.
25655 (texis): Renamed to $(objpfx)texis.
25656 (texis-path): New, contains path to generated files.
25657 (chapters.%): Use texis-path for complete path, add extra argument
25658 libc-texinfo.sh.
25659 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25660 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25661 (summary,texi, stamp-summary): Use complete path of
25662 files. Generate files in build dir.
25663 (dir-add.texi): Build in build dir.
25664 (libm-err.texi,stamp-libm-err): Likewise.
25665 (version.texi, stamp-version): Likewise.
25666 (.%c.texi): Likewise.
25667 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25668 (mostlyclean): Remove target.
25669 (realclean): Remove target.
25670 (generated): Add new variable with contents from mostlyclean and
25671 realclean, remove entries duplicated in common-mostlyclean, add
25672 stamp-libm-err and stamp-version.
25673 (generated-dirs): Add libc directory.
25674 ($(inst_infodir)/libc.info): Install files from build dir.
25675
25676 * manual/install.texi (Configuring and compiling): Adjust since
25677 the info files are not part of the tar ball anymore.
25678
7ac77294
AJ
256792012-05-14 Andreas Jaeger <aj@suse.de>
25680
25681 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25682 variable.
25683
ffb7875d
JM
256842012-05-14 Joseph Myers <joseph@codesourcery.com>
25685
25686 [BZ #13717]
25687 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25688 to 2.2.0 where earlier.
25689 * sysdeps/unix/sysv/linux/configure: Regenerated.
25690 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25691 Remove conditional code.
25692 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25693 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25694 Remove conditional code.
25695 [!__NR_lchown]: Likewise.
25696 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25697 [__NR_lchown]: Likewise.
25698 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25699 comment referencing __ASSUME_LCHOWN_SYSCALL.
25700 * sysdeps/unix/sysv/linux/i386/sigaction.c
25701 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25702 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25703 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25704 Remove conditional code.
25705 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25706 (__protocol_available): Remove #if 0 code.
25707 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25708 conditional code.
25709 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25710 * sysdeps/unix/sysv/linux/kernel-features.h
25711 (__ASSUME_GETCWD_SYSCALL): Don't define.
25712 (__ASSUME_REALTIME_SIGNALS): Likewise.
25713 (__ASSUME_PREAD_SYSCALL): Likewise.
25714 (__ASSUME_PWRITE_SYSCALL): Likewise.
25715 (__ASSUME_POLL_SYSCALL): Likewise.
25716 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25717 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25718 non-SPARC.
25719 (__ASSUME_SIOCGIFNAME): Don't define.
25720 (__ASSUME_MSG_NOSIGNAL): Likewise.
25721 (__ASSUME_SENDFILE): Define unconditionally.
25722 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25723 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25724 conditional code.
25725 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25726 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25727 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25728 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25729 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25730 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25731 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25736 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25756 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25757 Remove conditional code.
25758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25759 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25760 Remove conditional code.
25761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25762 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25763 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25764 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25765 Remove conditional code.
25766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25767 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25768 Remove conditional code.
25769 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25770 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25771 Remove conditional code.
25772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25773 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25774 Remove conditional code.
25775 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25776 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25777 Remove conditional code.
25778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25779 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25780 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25782 * sysdeps/unix/sysv/linux/sigaction.c
25783 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25784 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25785 * sysdeps/unix/sysv/linux/sigpending.c
25786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25788 * sysdeps/unix/sysv/linux/sigprocmask.c
25789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25791 * sysdeps/unix/sysv/linux/sigsuspend.c
25792 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25793 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25794 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25795 (__libc_missing_rt_sigs): Remove.
25796 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25797 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25798 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25799 Remove conditional code.
25800 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25801 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25802 return 1.
25803 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25804 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25805 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25806 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25807
1bfb7291
AJ
258082012-05-14 Andreas Jaeger <aj@suse.de>
25809
caae5a81
AJ
25810 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25811 it's not used in glibc.
25812 (__coshm1): Likewise.
25813 (__acosh1p): Likewise.
25814 (__sgn): Likewise.
25815
1bfb7291
AJ
25816 * manual/string.texi (Copying and Concatenation): Add missing
25817 variable in concat example.
25818 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25819
c044d724
L
258202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25821
144c5467 25822 [BZ #14103]
c044d724
L
25823 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25824 __builtin_clzl with __builtin_clzll.
25825
2523c62b
L
258262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25827
25828 [BZ #14104]
25829 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25830 libc_freeres_ptr.
25831
d7bb4c42
LD
258322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25833
25834 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25835 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25836 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25837 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25838
9dc4e1fb
MF
258392012-05-14 Mike Frysinger <vapier@gentoo.org>
25840
25841 * NEWS: Update ia64 info.
25842
c7df0112
AS
258432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25844
25845 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25846 used as bcopy.
25847
dc70356c
TS
258482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25849
25850 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25851 * sysdeps/unix/syscalls.list (dup3): Likewise.
25852 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25853 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25854
9fb1a21f
L
258552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25856
25857 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25858 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25859
4822a2a5
L
258602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25861
25862 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25863 thread pointer.
25864 (TLS_IE): Use mov/add instead of movq/addq to load thread
25865 pointer.
25866 (TLS_GD_PREFIX): New.
25867 (TLS_GD): Use it.
25868
842b81d6
DM
258692012-05-11 David S. Miller <davem@davemloft.net>
25870
25871 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25872 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25873 (_FPU_SETCW): Likewise.
25874
1cf463cd
L
258752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25876
25877 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25878 is 32-byte aligned.
25879
60cc4a18
AS
258802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25881
25882 [BZ #11837]
25883 * iconvdata/gb18030.c: Update tables.
25884 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25885 characters specially.
25886 (BODY for TO_LOOP): Add encoding of missing ranges.
25887
febb44a4
TS
258882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25889
25890 [BZ #13673]
25891 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25892 * sysdeps/mach/hurd/dup3.c: Likewise.
25893 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25894 * sysdeps/powerpc/memmove.c:: Likewise.
25895
0a10fb9e
L
258962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25897
25898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25899 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25900
df8a552f
L
259012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 * elf/elf.h (R_X86_64_RELATIVE64): New.
25904 (R_X86_64_NUM): Updated.
25905 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25906 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25907 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25908 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25909 tst-quad1pie tst-quad2pie
25910 (modules-names): Add tst-quadmod1 tst-quadmod2.
25911 ($(objpfx)tst-quad1): New dependency.
25912 ($(objpfx)tst-quad2): Likewise.
25913 ($(objpfx)tst-quad1pie): Likewise.
25914 ($(objpfx)tst-quad2pie): Likewise.
25915 * sysdeps/x86_64/tst-quad1.c: New file.
25916 * sysdeps/x86_64/tst-quad1pie.c: New file.
25917 * sysdeps/x86_64/tst-quad2.c: Likewise.
25918 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25919 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25920 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25921 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25922 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25923
f34d6f84
ST
259242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25925
f42d41d1
ST
25926 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25927 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25928 * streams/stropts.h (t_scalar_t): Define type.
25929
3c3571fc
ST
25930 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25931 (_PATH_PRESERVE): Set to "/var/lib".
25932 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25933
61f06bd3
ST
25934 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25935 instead of int.
25936
918d4d71
ST
25937 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25938 if __dir_mkfile succeeded.
25939
f34d6f84
ST
25940 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25941 checking for _hurd_dtablesize. Unlock it right after having
25942 finished _hurd_dtable allocation.
25943
10589b4a
TS
259442012-05-10 Thomas Schwinge <thomas@schwinge.name>
25945
674cdbc7
TS
25946 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25947 * sysdeps/mach/hurd/configure: Regenerated.
25948 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25949 special-casing to...
25950 * sysdeps/gnu/configure.in: ... this new file.
25951 * sysdeps/unix/sysv/linux/configure: Regenerated.
25952 * sysdeps/gnu/configure: New generated file.
25953
8e41b99f
TS
25954 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25955 for Linux: use nsec instead of usec, as well as:
25956 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25957 members of type struct timespec.
25958 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25959 New macros.
25960 (struct stat64): Likewise.
25961 (_STATBUF_ST_NSEC): New macro.
25962 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25963
10589b4a
TS
25964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25965 __strtoul_internal rather than strtoul.
25966
63643c85
PT
259672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25968
25969 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25970 and reject them.
25971
3faebe6a
ST
259722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25973
25974 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25975 which preserves existing values.
25976 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25977
c6474b07
PT
259782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25979
25980 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25981 TIMEOUT values. Return EINVAL for NFDS values either negative or
25982 greater than FD_SETSIZE.
25983
1043890b
ST
259842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25985
25986 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25987 allocated, call __vm_protect to finish enabling the existing space, and
25988 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25989 allocate the remainder.
25990
37ed8b9b
PT
259912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25992
25993 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25994 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25995
db653660
ST
259962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25997
37ed8b9b
PT
25998 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25999 sysdeps/mach/hurd/readlink.c.
b29d4053 26000
db653660
ST
26001 * posix/tst-sysconf.c (posix_options): Only use
26002 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26003 _POSIX_SYNCHRONIZED_IO when they are defined
26004 * sysdeps/mach/hurd/bits/posix_opt.h:
26005 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26006 (_XOPEN_REALTIME): Undefine macro.
26007 (_XOPEN_REALTIME_THREADS): Undefine macro.
26008 (_XOPEN_SHM): Undefine macro.
26009 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26010 macro to -1.
26011 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26012 macro to -1.
26013 (_POSIX_ASYNC_IO): Undefine macro.
26014 (_POSIX_PRIORITIZED_IO): Undefine macro.
26015 (_POSIX_SPIN_LOCKS): Define macro to -1.
26016
ee16e894
ST
26017 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26018 SA_NODEFER, SA_RESETHAND.
26019 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26020 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26021 F_DUPFD_CLOEXEC.
26022
6103ae3b
TS
260232012-05-10 Thomas Schwinge <thomas@schwinge.name>
26024
26025 * elf/Makefile (pldd-modules): Define unconditionally.
26026
80b4e5f3
TS
260272012-05-10 Thomas Schwinge <thomas@schwinge.name>
26028
26029 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26030
edadcbd6
ST
260312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26032
26033 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26034 Return ENOENT when name is empty.
26035 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26036
80694780
TS
260372012-05-10 Thomas Schwinge <thomas@schwinge.name>
26038
1792c087
TS
26039 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26040
80694780
TS
26041 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26042
6b645f0d
ST
260432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26044
80694780
TS
26045 Fix mlock in all cases except non-readable pages.
26046 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26047 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26048
6b645f0d
ST
26049 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26050 (__mkdir): When path is `/', just fail with EEXIST.
26051 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26052
e468f8a3
TS
260532012-05-10 Thomas Schwinge <thomas@schwinge.name>
26054
26055 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26056 <sys/uio.h> (for writev).
26057 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26058 and <sys/param.h> (for MIN).
26059
a4186cff
PT
260602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26061
26062 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26063 REQUESTED_TIME. Properly set the remaining time and return EINTR
26064 if interrupted.
26065
510bbf14
TS
260662012-05-10 Thomas Schwinge <thomas@schwinge.name>
26067
26068 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26069 Depend on against $(link-rpcuserlibs).
26070
5d5722e8
ST
260712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26072
a4186cff
PT
26073 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26074 (__libc_stack_end): Do not use attribute_relro.
26075 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26076 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26077 to libthread-provided value.
a4186cff
PT
26078 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26079 attribute_relro.
5d5722e8 26080
37233df9
TS
260812012-05-10 Thomas Schwinge <thomas@schwinge.name>
26082
be971a2b
TS
26083 [BZ #3748]
26084 * bits/libc-lock.h (__libc_once_get): New macro.
26085 * sysdeps/mach/bits/libc-lock.h: Likewise.
26086 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26088 instead of using implementation details.
26089
37233df9
TS
26090 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26091 * libio/freopen.c: Likewise.
26092 * libio/freopen64.c: Likewise.
26093 * misc/syslog.c: Likewise.
26094 * nscd/connections.c: Likewise.
26095 * nscd/netgroupcache.c: Likewise.
26096 * sysdeps/posix/getcwd.c: Likewise.
26097
38de94a5
RM
260982012-05-10 Roland McGrath <roland@hack.frob.com>
26099
26100 * math/w_ilogbf.c: Add #include <limits.h>.
26101
67530489
ST
261022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26103
a4186cff 26104 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26105 path instead of returning without unlocking.
26106
67530489
ST
26107 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26108 immediate-write ioctls.
26109 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26110
5aa3a74a
TS
261112012-05-10 Thomas Schwinge <thomas@schwinge.name>
26112
18bad2ae
TS
26113 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26114 __builtin_frame_address instead of making assumptions about the
26115 location of the return address relative to DATA. Force early load of
26116 the return address.
26117 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26118 __builtin_frame_address.
26119
5aa3a74a
TS
26120 dup3 for GNU Hurd.
26121 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26122 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26123 implement dup3 and do some further code clean-ups.
26124 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26125 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26126
ecd0de9a
ST
261272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26128
cd9fa985
ST
26129 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26130
a4186cff
PT
26131 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26132 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26133 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26134 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26135 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26136 d->port.lock.
802ca5a5 26137
a4186cff
PT
26138 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26139 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26140 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26141
bcf55240
TS
261422012-05-10 Thomas Schwinge <thomas@schwinge.name>
26143
6960eb42
TS
26144 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26145 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26146 definitions.
26147
eb43375f
TS
26148 accept4 for GNU Hurd.
26149 * include/sys/socket.h (__libc_accept4): New prototype.
26150 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26151 to implement __libc_accept4.
26152 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26153 __libc_accept4.
26154 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26155
bcf55240
TS
26156 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26157 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26158 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26159 signal-defines.sym.
26160
6178c55b
ST
261612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26162
a4186cff 26163 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26164
6f080c2f
TS
261652012-05-10 Thomas Schwinge <thomas@schwinge.name>
26166
26167 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26168 assertion on O_CLOEXEC flag.
26169 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26170 * hurd/intern-fd.c: Likewise.
26171 * hurd/port2fd.c: Likewise.
26172
bcfe3a54
ST
261732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26174
26175 [BZ #3906]
26176 * bits/in.h (IPV6_PKTINFO): Define new macro.
26177 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26178
89c9aa49
AZ
261792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26180
26181 [BZ #13954]
26182 [BZ #13955]
26183 [BZ #13956]
26184 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26186 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26187 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26189 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26190 * math/libm-test.inc (logb_test) : Additional logb tests.
26191
021db4be
AJ
261922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26193 Andreas Jaeger <aj@suse.de>
26194
26195 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26196 * configure: Regenerated.
26197 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26198 * config.make.in (link-obsolete-rpc): New substituted variable.
26199 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26200 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26201 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26202 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26203 so that libc.a contains the symbols.
26204 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26205 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26206 * sunrpc/auth_none.c: Likewise.
26207 * sunrpc/auth_unix.c: Likewise.
26208 * sunrpc/authdes_prot.c: Likewise.
26209 * sunrpc/authuxprot.c: Likewise.
26210 * sunrpc/clnt_gen.c: Likewise.
26211 * sunrpc/clnt_perr.c: Likewise.
26212 * sunrpc/clnt_raw.c: Likewise.
26213 * sunrpc/clnt_simp.c: Likewise.
26214 * sunrpc/clnt_tcp.c: Likewise.
26215 * sunrpc/clnt_udp.c: Likewise.
26216 * sunrpc/clnt_unix.c: Likewise.
26217 * sunrpc/des_crypt.c: Likewise.
26218 * sunrpc/des_soft.c: Likewise.
26219 * sunrpc/get_myaddr.c: Likewise.
26220 * sunrpc/key_call.c: Likewise.
26221 * sunrpc/key_prot.c: Likewise.
26222 * sunrpc/netname.c: Likewise.
26223 * sunrpc/pm_getmaps.c: Likewise.
26224 * sunrpc/pm_getport.c: Likewise.
26225 * sunrpc/pmap_clnt.c: Likewise.
26226 * sunrpc/pmap_prot.c: Likewise.
26227 * sunrpc/pmap_prot2.c: Likewise.
26228 * sunrpc/pmap_rmt.c: Likewise.
26229 * sunrpc/publickey.c: Likewise.
26230 * sunrpc/rpc_cmsg.c: Likewise.
26231 * sunrpc/rpc_common.c: Likewise.
26232 * sunrpc/rpc_dtable.c: Likewise.
26233 * sunrpc/rpc_prot.c: Likewise.
26234 * sunrpc/rpc_thread.c: Likewise.
26235 * sunrpc/rtime.c: Likewise.
26236 * sunrpc/svc.c: Likewise.
26237 * sunrpc/svc_auth.c: Likewise.
26238 * sunrpc/svc_raw.c: Likewise.
26239 * sunrpc/svc_run.c: Likewise.
26240 * sunrpc/svc_tcp.c: Likewise.
26241 * sunrpc/svc_udp.c: Likewise.
26242 * sunrpc/svc_unix.c: Likewise.
26243 * sunrpc/svcauth_des.c: Likewise.
26244 * sunrpc/xcrypt.c: Likewise.
26245 * sunrpc/xdr.c: Likewise.
26246 * sunrpc/xdr_array.c: Likewise.
26247 * sunrpc/xdr_float.c: Likewise.
26248 * sunrpc/xdr_intXX_t.c: Likewise.
26249 * sunrpc/xdr_mem.c: Likewise.
26250 * sunrpc/xdr_rec.c: Likewise.
26251 * sunrpc/xdr_ref.c: Likewise.
26252 * sunrpc/xdr_sizeof.c: Likewise.
26253 * sunrpc/xdr_stdio.c: Likewise.
26254
b5c086a2
RM
262552012-05-10 Roland McGrath <roland@hack.frob.com>
26256
26257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26258 change. Update copyright years.
26259
6d74dd09
JM
262602012-05-10 Joseph Myers <joseph@codesourcery.com>
26261
26262 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26263
28e72501
MK
262642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26265 Joseph Myers <joseph@codesourcery.com>
26266 Paul Pluzhnikov <ppluzhnikov@google.com>
26267
26268 [BZ #14012]
26269 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26270 requiring rpcgen.
26271 [cross-compiling] (extra-libs): Likewise.
26272 [cross-compiling] (extra-libs-others): Likewise.
26273 [cross-compiling] (librpcsvc-routines): Likewise.
26274 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26275 [cross-compiling] (omit-deps): Likewise.
26276 (sunrpc-CPPFLAGS): New variable.
26277 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26278 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26279 (cross-rpcgen-objs): New variable.
26280 (extra-objs): Append $(cross-rpcgen-objs).
26281 ($(cross-rpcgen-objs)): New rule.
26282 ($(objpfx)cross-rpcgen): Likewise.
26283 (rpcgen-cmd): Define to use $(built-program-file). Expand
26284 comment.
26285 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26286 ($(objpfx)x%.stmp): Likewise.
26287 * sunrpc/proto.h [IS_IN_build] (_): Define.
26288 [IS_IN_build] (_libc_intl_domainname): Likewise.
26289
c8c59454
L
262902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26291
26292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26293 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26294 and R_X86_64_TPOFF64.
26295
6f27cd16
JM
262962012-05-10 Joseph Myers <joseph@codesourcery.com>
26297
26298 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26299 sysdeps/unix/sysv/syscalls.list.
26300 (stime): Likewise.
26301 (utime): Likewise.
26302 * sysdeps/unix/sysv/syscalls.list: Remove file.
26303
02467e1c
PE
263042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26305
26306 [BZ #3440]
26307 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26308 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26309 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26310 (__LC_IDENTIFICATION): Make these macros useful in #if
26311 expressions, as required by C99.
26312
da392631
AS
263132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26314
26315 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26316 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26317 after this.
26318
8115f29b
L
263192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26320
26321 * stdlib/longlong.h: Updated from GCC.
26322
bdd74070
AJ
263232012-05-09 Andreas Jaeger <aj@suse.de>
26324
edfe0dbe
AJ
26325 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26326 default is first entry.
26327 (run_mode): Set type.
26328 (main): Remove informal message about syslog.
26329 (options): Fix typo.
26330
bcfe3a54
ST
26331 [BZ #14053]
26332 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26333 to asm.
bcfe3a54
ST
26334 (lrint): Likewise.
26335 (llrintf): Likewise.
26336 (llrint): Likewise.
26337 (rint): Likewise.
26338 (rintf): Likewise.
26339 (nearbyint): Likewise.
26340 (nearbyintf): Likewise.
bdd74070 26341
91d8d69e
AJ
263422012-05-09 Andreas Jaeger <aj@suse.de>
26343 Pedro Alves <palves@redhat.com>
26344
26345 * nscd/nscd.c (run_mode): Use enum.
26346 (main): Cleanup coding style issue.
26347
bb90b80b
AJ
263482012-05-09 Alexandre Oliva <aoliva@redhat.com>
26349 Andreas Jaeger <aj@suse.de>
26350
bcfe3a54
ST
26351 * nscd/nscd.c (go_background): Replaced with...
26352 (run_mode): ... this.
bb90b80b 26353 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26354 (options): Add -F --foreground.
26355 (main): Implement it.
26356 (parse_opt): Parse it.
bb90b80b 26357
1a4b75a1
AJ
263582012-05-09 Andreas Jaeger <aj@suse.de>
26359
26360 [BZ #14083]
26361 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26362 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26363 -Wconversion warning.
26364 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26365 Likewise.
26366
b1cc2472
JM
263672012-05-09 Joseph Myers <joseph@codesourcery.com>
26368
26369 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26370 == 0.
26371 (LC_ALL): Use macro-int-constant.
26372 (LC_COLLATE): Likewise.
26373 (LC_CTYPE): Likewise.
26374 (LC_MESSAGES): Likewise.
26375 (LC_MONETARY): Likewise.
26376 (LC_NUMERIC): Likewise.
26377 (LC_TIME): Likewise.
26378 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26379 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26380 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26381 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26382 Specify type.
26383 [C99-based standards] (float_t): Expect type.
26384 [C99-based standards] (double_t): Expect type.
26385 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26386 type.
26387 [C99-based standards] (HUGE_VALL): Likewise.
26388 [C99-based standards] (INFINITY): Likewise.
26389 [C99-based standards] (NAN): Likewise.
26390 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26391 [C99-based standards] (FP_NAN): Likewise.
26392 [C99-based standards] (FP_NORMAL): Likewise.
26393 [C99-based standards] (FP_SUBNORMAL): Likewise.
26394 [C99-based standards] (FP_ZERO): Likewise.
26395 [C99-based standards] (FP_FAST_FMA): Use
26396 optional-macro-int-constant. Specify type. Require == 1.
26397 [C99-based standards] (FP_FAST_FMAF): Likewise.
26398 [C99-based standards] (FP_FAST_FMAL): Likewise.
26399 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26400 [C99-based standards] (FP_ILOGBNAN): Likewise.
26401 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26402 Specify type.
26403 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26404 [C99-based standards] (math_errhandling): Specify type.
26405 [ISO99 || ISO11] (signgam): Do not allow.
26406 [non-C99-based standards] (copysignf): Do not allow.
26407 [non-C99-based standards] (exp2f): Likewise.
26408 [non-C99-based standards] (log2f): Likewise.
26409 [non-C99-based standards] (modff): Allow.
26410 [non-C99-based standards] (erff): Do not allow.
26411 [non-C99-based standards] (erfcf): Likewise.
26412 [non-C99-based standards] (gammaf): Likewise.
26413 [non-C99-based standards] (hypotf): Likewise.
26414 [non-C99-based standards] (j0f): Likewise.
26415 [non-C99-based standards] (j1f): Likewise.
26416 [non-C99-based standards] (jnf): Likewise.
26417 [non-C99-based standards] (lgammaf): Likewise.
26418 [non-C99-based standards] (tgammaf): Likewise.
26419 [non-C99-based standards] (y0f): Likewise.
26420 [non-C99-based standards] (y1f): Likewise.
26421 [non-C99-based standards] (ynf): Likewise.
26422 [non-C99-based standards] (isnanf): Likewise.
26423 [non-C99-based standards] (acoshf): Likewise.
26424 [non-C99-based standards] (asinhf): Likewise.
26425 [non-C99-based standards] (atanhf): Likewise.
26426 [non-C99-based standards] (cbrtf): Likewise.
26427 [non-C99-based standards] (expm1f): Likewise.
26428 [non-C99-based standards] (ilogbf): Likewise.
26429 [non-C99-based standards] (log1pf): Likewise.
26430 [non-C99-based standards] (logbf): Likewise.
26431 [non-C99-based standards] (nextafterf): Likewise.
26432 [non-C99-based standards] (remainderf): Likewise.
26433 [non-C99-based standards] (rintf): Likewise.
26434 [non-C99-based standards] (scalbf): Likewise.
26435 [non-C99-based standards] (copysignl): Likewise.
26436 [non-C99-based standards] (exp2l): Likewise.
26437 [non-C99-based standards] (log2l): Likewise.
26438 [non-C99-based standards] (modfl): Allow.
26439 [non-C99-based standards] (erfl): Do not allow.
26440 [non-C99-based standards] (erfcl): Likewise.
26441 [non-C99-based standards] (gammal): Likewise.
26442 [non-C99-based standards] (hypotl): Likewise.
26443 [non-C99-based standards] (j0l): Likewise.
26444 [non-C99-based standards] (j1l): Likewise.
26445 [non-C99-based standards] (jnl): Likewise.
26446 [non-C99-based standards] (lgammal): Likewise.
26447 [non-C99-based standards] (tgammal): Likewise.
26448 [non-C99-based standards] (y0l): Likewise.
26449 [non-C99-based standards] (y1l): Likewise.
26450 [non-C99-based standards] (ynl): Likewise.
26451 [non-C99-based standards] (isnanl): Likewise.
26452 [non-C99-based standards] (acoshl): Likewise.
26453 [non-C99-based standards] (asinhl): Likewise.
26454 [non-C99-based standards] (atanhl): Likewise.
26455 [non-C99-based standards] (cbrtl): Likewise.
26456 [non-C99-based standards] (expm1l): Likewise.
26457 [non-C99-based standards] (ilogbl): Likewise.
26458 [non-C99-based standards] (log1pl): Likewise.
26459 [non-C99-based standards] (logbl): Likewise.
26460 [non-C99-based standards] (nextafterl): Likewise.
26461 [non-C99-based standards] (remainderl): Likewise.
26462 [non-C99-based standards] (rintl): Likewise.
26463 [non-C99-based standards] (scalbl): Likewise.
26464 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26465 [non-C99-based standards] (FP_*): Do not allow.
26466 [C99-based standards] (FP_*): Change to
26467 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26468 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26469 allow.
26470 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26471 (SIG_ERR): Likewise.
26472 [X/Open-based standards] (SIG_HOLD): Likewise.
26473 (SIG_IGN): Likewise.
26474 (SIGABRT): Use macro-int-constant. Specify type. Require
26475 positive value.
26476 (SIGFPE): Likewise.
26477 (SIGILL): Likewise.
26478 (SIGINT): Likewise.
26479 (SIGSEGV): Likewise.
26480 (SIGTER): Likewise.
26481 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26482 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26483 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26484 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26485 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26486 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26487 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26488 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26489 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26490 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26491 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26492 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26493 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26494 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26495 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26496 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26497 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26498 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26499 [X/Open-based standards] (SIGTRAP): Likewise.
26500 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26501 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26502 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26503 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26504 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26505 allow.
26506
b9f1922d
IW
265072012-05-08 Ian Wienand <ianw@vmware.com>
26508
26509 [BZ #14080]
26510 * time/tzset.c (__tzset_parse_tz): Update default rules for
26511 daylight time changes in the Energy Policy Act of 2005.
26512
1db86e88
AJ
265132012-05-09 Andreas Jaeger <aj@suse.de>
26514
26515 [BZ #13983]
26516 * elf/ldconfig.c (parse_conf): Change string to make clear that
26517 ldconfig only issued a warning if ld.so.conf does not exist.
26518
dee4a4e3
DM
265192012-05-08 David S. Miller <davem@davemloft.net>
26520
ee0db190
DM
26521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26522 movxtod instead of popping the value on the stack.
26523
dee4a4e3
DM
26524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26525
6a43ec98
CD
265262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26527
26528 * config.h.in: Add HAVE_ARM_PCS_VFP.
26529
05c2c961
RMG
265302012-05-08 Roland Mc Grath <roland@hack.frob.com>
26531
bcfe3a54
ST
26532 [BZ #13979]
26533 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26534 checking but the checks are disabled for any reason.
05c2c961 26535
4b30f61a
L
265362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26537
26538 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26539 and ELF64_R_TYPE with ELFW(R_TYPE).
26540
eee2bc67
JM
265412012-05-08 Joseph Myers <joseph@codesourcery.com>
26542
7ea5391a
JM
26543 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26544 (ulimit): Likewise.
26545
eee2bc67
JM
26546 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26547 (settimeofday): Likewise.
26548
abb66a67
MF
265492012-05-08 Mike Frysinger <vapier@gentoo.org>
26550
26551 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26552 a struct th_u2 inside the union, and move tu_block/tu_code into
26553 a new th_u3 union of tu_block/tu_code inside of that. Move
26554 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26555 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26556 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26557 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26558 (th_stuff): Change to th_u1.tu_stuff.
26559 (th_data): Define.
26560 (th_msg): Change to th_u1.th_u2.tu_data.
26561
7f18b530
DM
265622012-05-07 David S. Miller <davem@davemloft.net>
26563
05760585
DM
26564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26565
7f18b530
DM
26566 [BZ #14074]
26567 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26568 (SETUP_PIC_REG): Use it.
26569 (SETUP_PIC_REG_LEAF): Use it.
26570
495fd99f
JM
265712012-05-07 Joseph Myers <joseph@codesourcery.com>
26572
26573 [BZ #13885]
26574 [BZ #13923]
26575 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26576 USE_AS_EXPM1L.
26577 (EXPL_FINITE): Likewise.
26578 (FLDLOG): Likewise.
26579 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26580 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26581 e_expl.S.
26582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26583 USE_AS_EXPM1L.
26584 (EXPL_FINITE): Likewise.
26585 (FLDLOG): Likewise.
26586 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26587 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26588 e_expl.S.
26589 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26590 test of -max_value argument for long double.
26591 * sysdeps/i386/fpu/libm-test-ulps: Update.
26592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26593
6693d694
DM
265942012-05-06 David S. Miller <davem@davemloft.net>
26595
26596 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26597 quad soft-float symbols whose references which are compiler
26598 generated.
26599 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26600
6c23e11c
JM
266012012-05-06 Joseph Myers <joseph@codesourcery.com>
26602
d8b82cad
JM
26603 [BZ #13884]
26604 [BZ #13914]
26605 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26606 USE_AS_EXP10L.
26607 (EXPL_FINITE): Likewise.
26608 (FLDLOG): Likewise.
26609 (c0): Likewise.
26610 (c1): Likewise.
26611 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26612 Adjust comments for base varying.
26613 (__expl_finite): Change alias to EXPL_FINITE.
26614 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26615 e_expl.S.
26616 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26617 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26619 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26620 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26621 USE_AS_EXP10L.
26622 (EXPL_FINITE): Likewise.
26623 (FLDLOG): Likewise.
26624 (c0): Likewise.
26625 (c1): Likewise.
26626 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26627 Adjust comments for base varying.
26628 (__expl_finite): Change alias to EXPL_FINITE.
26629 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26630 tests for bugs.
26631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26632
6c23e11c
JM
26633 [BZ #14064]
26634 * math/libm-test.inc (check_float_internal): Correct ulp
26635 calculation for subnormal expected results.
26636
29ba805c
AJ
266372012-05-06 Andreas Jaeger <aj@suse.de>
26638
26639 * Makeconfig (+math-flags): New, set to -frounding-math.
26640 (+cflags): Add +math-flags so that all of glibc gets compiled with
26641 it.
26642
26643 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26644
7b17aeda
JM
266452012-05-05 Joseph Myers <joseph@codesourcery.com>
26646
5779f134
JM
26647 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26648 Disable one test.
26649
41498f4d
JM
26650 [BZ #13787]
26651 [BZ #13922]
26652 [BZ #14036]
26653 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26654 (__ieee754_expl): Allow for and saturate large arguments.
26655 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26656 (u_threshold): Likewise.
26657 (__exp): Call __ieee754_exp before checking for overflow and
26658 underflow.
26659 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26660 (u_threshold): Likewise.
26661 (__expf): Call __ieee754_expf before checking for overflow and
26662 underflow.
26663 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26664 (u_threshold): Likewise.
26665 (__expl): Call __ieee754_expl before checking for overflow and
26666 underflow.
26667 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26668 (__ieee754_expl): Allow for and saturate large arguments.
26669 * math/libm-test.inc (exp_test): Add another test. Do not allow
26670 missing overflow exception on overflow.
26671 (expm1_test): Do not allow missing overflow exception on overflow.
26672
6698b8bf
JM
26673 * sysdeps/i386/fpu/e_expl.c: Move to ...
26674 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26675 rather than using inline asm.
26676 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26677 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26678 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26679
7b17aeda
JM
26680 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26681 (nice): Likewise.
26682 (poll): Likewise.
26683 (signal): Likewise.
26684 (time): Likewise.
26685 (times): Likewise.
26686
f7c85819
JM
266872012-05-04 Joseph Myers <joseph@codesourcery.com>
26688
26689 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26690 sysdeps/unix/common/syscalls.list.
26691 (fchmod): Likewise.
26692 (fchown): Likewise.
26693 (ftruncate): Likewise.
26694 (getrusage): Likewise.
26695 (gettimeofday): Likewise.
26696 (setpgid): Likewise.
26697 (setregid): Likewise.
26698 (setreuid): Likewise.
26699 (sigaction): Likewise.
26700 (truncate): Likewise.
26701 (vhangup): Likewise.
26702 * sysdeps/unix/common/syscalls.list: Remove file.
26703 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26704 * sysdeps/unix/sysv/linux/Implies: Likewise.
26705
336270d0
L
267062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26707
26708 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26710 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26711 Moved to ...
26712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26713 Here.
26714 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26715 to ...
26716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26717 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26718 to ...
26719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26720 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26721 to ...
26722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26723 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26724 to ...
26725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26726 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26727 to ...
26728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26729 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26730 to ...
26731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26732 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26733 to ...
26734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26735 Here.
26736 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26737 to ...
26738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26739 Here.
26740 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26741 to ...
26742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26743 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26744 Moved to ...
26745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26746 Here.
26747 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26748 to ...
26749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26750
d128e450
JM
267512012-05-04 Joseph Myers <joseph@codesourcery.com>
26752
fa8ee516
JM
26753 * sysdeps/unix/common/bits/dirent.h: Remove file.
26754 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26755
d128e450
JM
26756 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26757 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26758 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26759 * sysdeps/unix/bsd/isatty.c: Likewise.
26760 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26761 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26762 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26763
ff8faaf0 267642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 26765
62881be4 26766 [BZ #13563]
31dc8730
AZ
26767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26768 long double comparison inaccuracies.
26769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26771
6fef930c
AS
267722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26773
26774 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26776
8f203e6c
JM
267772012-05-04 Joseph Myers <joseph@codesourcery.com>
26778
26779 [BZ #14049]
26780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26781 nonzero digits before rounding a hex value.
26782 * stdlib/tst-strtod.c (tests): Add another test.
26783
5197d9c2
AK
267842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26785
26786 * sysdeps/s390/fpu/libm-test-ulps: Update.
26787
f0c1dedf
AJ
267882012-05-03 Andreas Jaeger <aj@suse.de>
26789
26790 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26791 does not get optimized out.
26792 (malloc_opt_barrier): New.
26793
a65ef2ae 267942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 26795 Roland McGrath <roland@hack.frob.com>
a65ef2ae 26796
2b942cb7 26797 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 26798 intermediate file deletion.
2b942cb7 26799 (generated): Add .symlist files.
a65ef2ae 26800
54b71e02
JM
268012012-05-03 Joseph Myers <joseph@codesourcery.com>
26802
26803 [BZ #13775]
26804 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26805 Redirect under this condition.
26806 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26807 [__USE_GNU] (__dprintf_chk): Not under this condition.
26808 [__USE_GNU] (__vdprintf_chk): Likewise.
26809 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26810 under this condition.
26811 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26812 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26813 [__USE_XOPEN2K8] (vdprintf): Likewise.
26814 [__USE_GNU] (__dprintf_chk): Not under this condition.
26815 [__USE_GNU] (__vdprintf_chk): Likewise.
26816 [__USE_GNU] (dprintf): Likewise.
26817 [__USE_GNU] (vdprintf): Likewise.
26818
d3dfcc41
RM
268192012-05-03 Roland McGrath <roland@hack.frob.com>
26820
26821 * elf/Makefile (common-generated): Set this instead of generated for
26822 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26823 $(all-built-dso)-derived lists.
26824
7ac30cc5
AJ
268252012-05-03 Andreas Jaeger <aj@suse.de>
26826
0c51e550
AJ
26827 * sysdeps/i386/fpu/libm-test-ulps: Update.
26828
7ac30cc5
AJ
26829 * FAQ: Removed.
26830 * FAQ.in: Likewise.
26831 * scripts/gen-FAQ.pl: Likewise.
26832 * manual/install.texi (Installation): Point to online location of
26833 FAQ.
26834 * Makefile (files-for-dist): Remove FAQ.
26835 (FAQ): Remove.
26836
d4c2917f
AM
268372012-05-02 Allan McRae <allan@archlinux.org>
26838
26839 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26840 (LDFLAGS-reldepmod5.so): Likewise.
26841 (LDFLAGS-reldep6mod1.so): Likewise.
26842 (LDFLAGS-reldep6mod4.so): Likewise.
26843 (LDFLAGS-reldep8mod3.so): Likewise.
26844 (LDFLAGS-unload4mod1.so): Likewise.
26845 (LDFLAGS-unload4mod2.so): Likewise.
26846 (LDFLAGS-tst-initorder): Likewise.
26847 (LDFLAGS-tst-initordera2.so): Likewise.
26848 (LDFLAGS-tst-initordera3.so): Likewise.
26849 (LDFLAGS-tst-initordera4.so): Likewise.
26850 (LDFLAGS-tst-initorderb2.so): Likewise.
26851 (LDFLAGS-noload): Likewise.
26852 (LDFLAGS-next): Likewise.
26853 (LDFLAGS-order2mod1.so): Likewise.
26854 (LDFLAGS-order2mod2.so): Likewise.
26855 (LDFLAGS-tst-initorder2): Likewise.
26856 (LDFLAGS-tst-initorder2a.so): Likewise.
26857 (LDFLAGS-tst-initorder2b.so): Likewise.
26858 (LDFLAGS-tst-initorder2c.so): Likewise.
26859 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26860
d77f993f
DM
268612012-05-02 David S. Miller <davem@davemloft.net>
26862
26863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26864
171a70b4
PP
268652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26866
26867 [BZ #14055]
26868 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26869
0be196ad
AJ
268702012-05-02 Andreas Jaeger <aj@suse.de>
26871
26872 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26873 since we manipulate rounding mode.
26874 (CPPFLAGS-test-idouble.c): Likewise.
26875 (CPPFLAGS-test-ifloat.c): Likewise.
26876 (CFLAGS-test-ldouble.c): Likewise.
26877 (CFLAGS-test-double.c): Likewise.
26878 (CFLAGS-test-float.c): Likewise.
26879 (CFLAGS-test-misc.c): Likewise.
26880 (CFLAGS-test-test-fenv.c): Likewise.
26881
4f9d04aa
AZ
268822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26883
2b942cb7
RM
26884 [BZ #2550]
26885 [BZ #2570]
26886 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26887 comparisons to determine direction to adjust input.
4f9d04aa 26888
82a79e7d
RM
268892012-05-01 Roland McGrath <roland@hack.frob.com>
26890
f5a01ca9
RM
26891 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26892 output to the target.
26893
90fe4186
RM
26894 * scripts/localplt.awk: New file.
26895 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26896 (check-localplt-CFLAGS): Variable removed.
26897 ($(all-built-dso:=.jmprel)): New static pattern rule.
26898 (generated): Add those targets.
26899 (localplt-built-dso): New variable.
26900 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26901
26902 * elf/check-localplt.c: File removed.
26903
82397ed6
RM
26904 * scripts/check-execstack.awk: New file.
26905 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26906 (check-execstack-CFLAGS): Variable removed.
26907 ($(objpfx)check-execstack.h): Target removed.
26908 ($(objpfx)execstack-default): New target.
26909 (generated): Add that instead of check-execstack.h.
26910 ($(all-built-dso:=.phdr)): New static pattern rule.
26911 (generated): Add those targets.
26912 * elf/check-execstack.c: File removed.
26913
82a79e7d
RM
26914 * scripts/check-textrel.awk: New file.
26915 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26916 (check-textrel-CFLAGS): Variable removed.
26917 (all-built-dso): Use := to define.o
26918 ($(all-built-dso:=.dyn)): New static pattern rule.
26919 (generated): Add those targets.
26920 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26921 * config.make.in (READELF): New substituted variable.
26922 * elf/check-textrel.c: File removed.
26923
62fde54f 269242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 26925
615605c9
JM
26926 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26927 allow.
26928 * conform/data/ctype.h-data [C99-based standards] (isblank):
26929 Expect function.
26930 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26931 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26932 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26933 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26934 Specify type. Require positive value.
26935 (EILSEQ): Likewise.
26936 (ERANGE): Likewise.
26937 [ISO || POSIX] (EILSEQ): Do not expect.
26938 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26939 Specify type. Require positive value.
26940 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26941 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26942 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26943 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26944 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26945 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26946 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26947 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26948 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26949 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26950 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26951 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26952 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26953 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26954 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26955 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26956 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26957 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26958 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26959 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26960 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26961 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26962 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26963 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26964 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26965 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26966 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26967 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26968 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26969 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26970 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26971 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26972 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26973 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26974 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26975 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26976 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26977 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26978 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26979 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26980 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26982 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26983 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26984 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26985 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26986 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26987 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26988 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26989 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26991 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26992 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26993 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26994 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26995 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26996 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26997 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26998 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26999 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27000 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27001 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27002 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27003 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27004 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27005 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27006 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27007 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27008 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27009 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27010 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27011 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27012 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27013 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27014 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27015 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27016 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27017 Require >= 2.
27018 (FLT_ROUNDS): Expect as macro, not constant.
27019 (FLT_MANT_DIG): Use macro-int-constant.
27020 (DBL_MANT_DIG): Likewise.
27021 (LDBL_MANT_DIG): Likewise.
27022 (FLT_DIG): Likewise.
27023 (DBL_DIG): Likewise.
27024 (LDBL_DIG): Likewise.
27025 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27026 (DBL_MIN_EXP): Likewise.
27027 (LDBL_MIN_EXP): Likewise.
27028 (FLT_MAX_EXP): Use macro-int-constant.
27029 (DBL_MAX_EXP): Likewise.
27030 (LDBL_MAX_EXP): Likewise.
27031 (FLT_MAX_10_EXP): Likewise.
27032 (DBL_MAX_10_EXP): Likewise.
27033 (LDBL_MAX_10_EXP): Likewise.
27034 (FLT_MAX): Use macro-constant.
27035 (DBL_MAX): Likewise.
27036 (LDBL_MAX): Likewise.
27037 (FLT_EPSILON): Use macro-constant. Give upper bound.
27038 (DBL_EPSILON): Likewise.
27039 (LDBL_EPSILON): Likewise.
27040 (FLT_MIN): Likewise.
27041 (DBL_MIN): Likewise.
27042 (LDBL_MIN): Likewise.
27043 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27044 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27045 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27046 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27047 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27048 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27049 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27050 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27051 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27052 [ISO11] (FLT_TRUE_MIN): Likewise.
27053 [ISO11] (LDBL_TRUE_MIN): Likewise.
27054 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27055 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27056 (SCHAR_MIN): Use macro-int-constant. Specify type.
27057 (SCHAR_MAX): Likewise.
27058 (UCHAR_MAX): Likewise.
27059 (CHAR_MIN): Likewise.
27060 (CHAR_MAX): Likewise.
27061 (MB_LEN_MAX): Use macro-int-constant.
27062 (SHRT_MIN): Use macro-int-constant. Specify type.
27063 (SHRT_MAX): Likewise.
27064 (USHRT_MAX): Likewise.
27065 (INT_MAX): Likewise.
27066 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27067 bound negative.
27068 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27069 bound with "U".
27070 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27071 bound with "L".
27072 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27073 bound negative. Suffix upper bound with "L".
27074 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27075 bound with "UL".
27076 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27077 Specify type.
27078 [C99-based standards] (LLONG_MAX): Likewise.
27079 [C99-based standards] (ULLONG_MAX): Likewise.
27080 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27081 == 0.
27082 [ISO11] (max_align_t): Require type.
27083 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27084
c9140a62
JM
27085 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27086 from $CFLAGS, without defining away __attribute__ calls.
27087 (checknamespace): Use $CFLAGS_namespace.
27088
9af0bf29
JM
27089 * conform/conformtest.pl (@keywords): Only include C99 keywords
27090 for standards based on C99 or C11.
27091
343222a2
JM
27092 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27093 Disable tests.
27094 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27095 UNIX98]: Likewise.
27096
661f8cf0
JM
27097 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27098 usability of symbols in #if.
27099
ee74b9cb
JM
27100 * conform/conformtest.pl: If macro or constant types start
27101 "promoted:", expect the symbol to be of the following type
27102 promoted by the integer promotions.
62fde54f 27103
aafc49b3
JM
27104 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27105 in one place. Also handle "macro-constant".
27106
fefdf574
JM
27107 * conform/conformtest.pl: Only accept expected macro values with
27108 "==". Parse all "macro" lines in one place.
27109 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27110
f2d922fe
JM
27111 * conform/conformtest.pl: Handle braced types on "constant" lines
27112 instead of handling "typed-constant".
27113 * conform/data/signal.h-data: Use "constant" instead of
27114 "typed-constant".
27115
d22956c9
JM
27116 * conform/conformtest.pl: Handle "optional-" at start of lines in
27117 one place rather than duplicating several cases. Handle each
27118 format of "macro" line with initial "optional-".
27119
028e2e38
JM
27120 * conform/conformtest.pl: Only accept expected constant or
27121 optional-constant values with "==". Parse all "constant" lines in
27122 one place. Parse all "optional-constant" lines in one place.
27123 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27124 * conform/data/fmtmsg.h-data: Likewise.
27125 * conform/data/netinet/in.h-data: Likewise.
27126 * conform/data/tar.h-data: Likewise.
27127 * conform/data/limits.h-data: Use "==" form on "constant" and
27128 "optional-constant" lines.
27129
1b8f2850
JM
27130 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27131 Use -std=c99 for XOPEN2K.
27132 (@knownproblems): Remove.
27133 (newtoken): Don't check %isknown.
27134
a05a144b
JM
27135 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27136 Do not expect macro.
27137 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27138 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27139 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27140 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27141 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27142 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27143 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27144 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27145 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27146 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27147 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27148 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27149 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27150 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27151 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27152 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27153 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27154 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27155 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27156 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27157 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27158 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27159 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27160 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27161 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27162 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27163 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27164 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27165 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27166 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27167 [XPG3] (acosh): Likewise.
27168 [XPG3] (asinh): Likewise.
27169 [XPG3] (atanh): Likewise.
27170 [XPG3] (cbrt): Likewise.
27171 [XPG3] (expm1): Likewise.
27172 [XPG3] (ilogb): Likewise.
27173 [XPG3] (log1p): Likewise.
27174 [XPG3] (logb): Likewise.
27175 [XPG3] (nextafter): Likewise.
27176 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27177 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27178 [XPG3] (remainder): Likewise.
27179 [XPG3] (rint): Likewise.
27180 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27181 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27182 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27183 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27184 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27185 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27186 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27187 [UNIX98 || XOPEN2K] (scalb): Expect.
27188 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27189 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27190 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27191 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27192 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27193 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27194 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27195 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27196 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27197 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27198 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27199 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27200 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27201 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27202 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27203 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27204 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27205 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27206 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27207 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27208 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27209 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27210 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27211 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27212 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27213 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27214 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27215 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27216 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27217 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27218 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27219 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27220 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27221 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27222 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27223 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27224 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27225 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27226 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27227 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27228 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27229 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27230 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27231 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27232 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27233 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27234 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27235 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27236 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27237 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27238 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27239 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27240 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27241 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27242 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27243 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27244 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27245 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27246 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27247 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27248 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27249 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27250 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27251 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27252 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27253 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27254 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27255 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27256 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27257 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27258 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27259 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27260 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27261 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27262 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27263 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27264 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27265 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27266 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27267 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27268 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27269 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27270 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27271 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27272 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27273 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27274 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27275 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27276 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27277 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27278 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27279 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27280 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27281 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27282 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27283 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27284 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27285 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27286 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27287 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27288 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27289 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27290 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27291 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27292 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27293 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27294 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27295 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27296 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27297 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27298 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27299 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27300 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27301 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27302 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27303 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27304 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27305 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27306 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27307 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27308 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27309 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27310 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27311 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27312 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27313 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27314 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27315 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27316 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27317 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27319 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27320 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27321 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27322 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27323 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27324 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27325
73c5ebe3
JM
27326 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27327 _XOPEN_SOURCE_EXTENDED for XPG4.
27328
39c33b6c
JM
27329 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27330
62fde54f
JM
27331 * Makeconfig (localtime): Remove variable.
27332 (inst_localtime-file): Likewise.
27333
0741d64c
AS
273342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27335
27336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27337 Update.
27338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27339 Update.
27340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27341 Update.
27342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27343 Update.
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27345 Update.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27347 Update.
27348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27349 Update.
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27351 Update.
27352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27353 Update.
27354
7cb029ee
JM
273552012-05-01 Joseph Myers <joseph@codesourcery.com>
27356
27357 [BZ #2550]
27358 [BZ #2570]
27359 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27360 comparisons to determine direction to adjust input.
27361 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27362 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27364 Likewise.
27365 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27366 Likewise.
27367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27368 Likewise.
27369 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27370 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27371 Likewise.
27372 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27373 Likewise.
27374 * math/libm-test.inc (nexttoward_test): Add more tests.
27375
412bd966
AS
273762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27377
27378 [BZ #14040]
27379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27380 in version GLIBC_2.1, not GLIBC_2.0.
27381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27382 Likewise.
27383
9568c0c2
JM
273842012-04-30 Joseph Myers <joseph@codesourcery.com>
27385
adfbc8ac
JM
27386 [BZ #13942]
27387 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27388 (1 - x) * (1 + x).
27389 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27390 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27391 * math/libm-test.inc (acos_test): Add more tests.
27392 (asin_test): Likewise.
27393 * sysdeps/i386/fpu/libm-test-ulps: Update.
27394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395
5ba3cc69
JM
27396 [BZ #14034]
27397 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27398 of square root.
27399 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27400 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27401 * math/libm-test.inc (acos_test_tonearest): New function.
27402 (acos_test_towardzero): Likewise.
27403 (acos_test_downward): Likewise.
27404 (acos_test_upward): Likewise.
27405 (asin_test_tonearest): Likewise.
27406 (asin_test_towardzero): Likewise.
27407 (asin_test_downward): Likewise.
27408 (asin_test_upward): Likewise.
27409 (main): Call the new functions.
27410 * sysdeps/i386/fpu/libm-test-ulps: Update.
27411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27412
9568c0c2
JM
27413 [BZ #13884]
27414 [BZ #13924]
27415 * math/e_exp10.c: Include <float.h>.
27416 (__ieee754_exp10): Handle underflow here rather than multiplying
27417 large negative argument by M_LN10.
27418 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27419 of __ieee754_expf.
27420 * math/e_exp10l.c: Include <float.h>.
27421 (__ieee754_exp10l): Handle underflow here rather than multiplying
27422 large negative argument by M_LN10l.
27423 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27424 spurious overflow exception on underflow.
27425
5ac3ea17
MP
274262012-04-29 Marek Polacek <polacek@redhat.com>
27427
27428 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27429 (__fortify_function): New macro.
27430 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27431 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27432 __extern_always_inline.
27433 * libio/bits/stdio2.h: Likewise.
27434 * libio/bits/stdio.h: Likewise.
27435 * string/string.h: Likewise.
27436 * string/bits/string3.h: Likewise.
27437 * include/stdio.h: Likewise.
27438 * stdlib/bits/stdlib.h: Likewise.
27439 * stdlib/stdlib.h: Likewise.
27440 * rt/bits/mqueue2.h: Likewise.
27441 * rt/mqueue.h: Likewise.
27442 * posix/bits/unistd.h: Likewise.
27443 * posix/unistd.h: Likewise.
27444 * io/bits/poll2.h: Likewise.
27445 * io/bits/fcntl2.h: Likewise.
27446 * io/fcntl.h: Likewise.
27447 * io/sys/poll.h: Likewise.
27448 * misc/bits/syslog.h: Likewise.
27449 * misc/bits/syslog-ldbl.h: Likewise.
27450 * misc/sys/syslog.h: Likewise.
27451 * socket/bits/socket2.h: Likewise.
27452 * socket/sys/socket.h: Likewise.
27453 * debug/tst-chk1.c: Likewise.
27454 * wcsmbs/bits/wchar2.h: Likewise.
27455 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27456 * wcsmbs/wchar.h: Likewise.
27457
ecf0ebfb
AJ
274582012-04-29 Andreas Jaeger <aj@suse.de>
27459
27460 * Makerules (tests): Remove enable-check-abi protection.
27461 (check-abi-warn): Remove.
27462 (check-abi-%): Remove check-abi-warn usage.
27463
27464 * configure.in: Remove check-abi configure option.
27465 * configure: Regenerated.
27466 * config.make.in (enable-check-abi): Remove.
27467
6d5c57fa
AS
274682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27469
24c5d07e 27470 [BZ #14033]
ded5180a
AS
27471 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27472 double functions to double *_finite functions.
27473
7e0d315d
AS
27474 [BZ #13941]
27475 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27476 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27477 LDBL_MIN_EXP.
27478 * stdio-common/Makefile (tests): Add tst-sprintf3.
27479 * stdio-common/tst-sprintf3.c: New file.
27480
6d5c57fa
AS
27481 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27482 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27483
0749ff8b
JM
274842012-04-28 Joseph Myers <joseph@codesourcery.com>
27485
27486 * conform/conformtest.pl: Remove duplicate typed-constant
27487 handling.
27488
8dbd5d7b
DM
274892012-04-28 David S. Miller <davem@davemloft.net>
27490
27491 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27492 (check-abi-%): Remove AWK script prerequisite and explicit
27493 abilist directory.
27494 (check-abi): Rewrite to just diff the symlist with the abilist.
27495 (config-tls, config-abi-config): Delete, no longer used.
27496 (update-abi-%): Remove AWK script and explicit abilist directory.
27497 (update-abi): Rewrite to simply compare and conditionally copy the
27498 symlist and the sysdep abilist file. Remove update-abi-config
27499 checks.
27500 * abilist/ld.abilist: Remove.
27501 * abilist/libBrokenLocale.abilist: Remove.
27502 * abilist/libanl.abilist: Remove.
27503 * abilist/libcrypt.abilist: Remove.
27504 * abilist/libdl.abilist: Remove.
27505 * abilist/librt.abilist: Remove.
27506 * abilist/libthread_db.abilist: Remove.
27507 * abilist/libutil.abilist: Remove.
27508 * scripts/extract-abilist.awk: Remove.
27509 * scripts/merge-abilist.awk: Remove.
27510 * sysdeps/generic/libcidn.abilist: New file.
27511 * sysdeps/generic/libnss_compat.abilist: New file.
27512 * sysdeps/generic/libnss_db.abilist: New file.
27513 * sysdeps/generic/libnss_dns.abilist: New file.
27514 * sysdeps/generic/libnss_files.abilist: New file.
27515 * sysdeps/generic/libnss_hesiod.abilist: New file.
27516 * sysdeps/generic/libnss_nis.abilist: New file.
27517 * sysdeps/generic/libnss_nisplus.abilist: New file.
27518 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27519 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27520 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27521 file.
27522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27523 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27524 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27525 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27526 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27527 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27528 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27529 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27530 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27531 file.
27532 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27533 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27534 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27535 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27536 file.
27537 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27538 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27539 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27540 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27541 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27542 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27543 file.
27544 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27545 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27546 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27547 file.
27548 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27550 New file.
27551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27552 New file.
27553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27554 New file.
27555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27556 New file.
27557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27558 New file.
27559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27560 New file.
27561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27562 New file.
27563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27564 New file.
27565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27566 New file.
27567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27568 New file.
27569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27570 New file.
27571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27572 New file.
27573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27574 New file.
27575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27576 file.
27577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27578 New file.
27579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27580 New file.
27581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27582 file.
27583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27584 New file.
27585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27586 New file.
27587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27588 file.
27589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27590 New file.
27591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27592 New file.
27593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27594 New file.
27595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27596 New file.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27598 New file.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27600 New file.
27601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27603 file.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27605 New file.
27606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27607 file.
27608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27609 file.
27610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27611 file.
27612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27613 file.
27614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27615 file.
27616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27617 New file.
27618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27619 file.
27620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27621 file.
27622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27623 New file.
27624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27625 file.
27626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27628 file.
27629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27630 New file.
27631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27632 file.
27633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27634 file.
27635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27636 file.
27637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27638 file.
27639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27640 file.
27641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27642 New file.
27643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27644 file.
27645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27646 file.
27647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27648 New file.
27649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27650 file.
27651 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27652 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27653 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27654 file.
27655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27656 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27657 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27658 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27659 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27660 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27661 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27662 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27663 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27664 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27667 file.
27668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27669 New file.
27670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27671 file.
27672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27673 file.
27674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27675 file.
27676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27677 file.
27678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27679 file.
27680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27681 New file.
27682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27683 New file.
27684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27685 file.
27686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27687 New file.
27688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27689 file.
27690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27692 file.
27693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27694 New file.
27695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27696 file.
27697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27698 file.
27699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27700 file.
27701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27702 file.
27703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27704 file.
27705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27706 New file.
27707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27708 New file.
27709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27710 file.
27711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27712 New file.
27713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27714 file.
27715
41d73a1b
JM
277162012-04-28 Joseph Myers <joseph@codesourcery.com>
27717
27718 * conform/conformtest.pl: Fix typo in handling typed-constant from
27719 allow-header.
27720
28aeeda4
JM
277212012-04-27 Joseph Myers <joseph@codesourcery.com>
27722
adae8f5e
JM
27723 * README: Cut down references to pre-2.6 Linux kernels and
27724 Linuxthreads. Update lists of configurations in libc and ports
27725 and sort alphabetically. Say "or newer" with Linux kernel version
27726 requirements.
27727
28aeeda4
JM
27728 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27729
a462cb63
RA
277302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27731
27732 [BZ #887]
27733 * math/libm-test.inc (logb_test_downward): New test to expose
27734 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27735 rounding mode.
27736
6ad3493e
JM
277372012-04-27 Joseph Myers <joseph@codesourcery.com>
27738
27739 [BZ #14027]
27740 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27741 to be done.
27742 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27743 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27744
2ce4f015
JM
277452012-04-26 Joseph Myers <joseph@codesourcery.com>
27746
5aeb141a
JM
27747 * sysdeps/unix/i386/brk.S: Remove file.
27748 * sysdeps/unix/i386/dl-brk.S: Likewise.
27749 * sysdeps/unix/i386/pipe.S: Likewise.
27750 * sysdeps/unix/i386/sigreturn.S: Likewise.
27751 * sysdeps/unix/i386/syscall.S: Likewise.
27752 * sysdeps/unix/i386/vfork.S: Likewise.
27753 * sysdeps/unix/i386/wait.S: Likewise.
27754
7143acae
JM
27755 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27756 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27757
2ce4f015
JM
27758 * configure.in (arm*-none*): Do not allow without
27759 --enable-hacker-mode.
27760 (netbsd*): Remove case setting base_os.
27761 (386bsd*): Likewise.
27762 (freebsd*): Likewise.
27763 (bsdi*): Likewise.
27764 (osf*): Likewise.
27765 (sunos*): Likewise.
27766 (ultrix*): Likewise.
27767 (newsos*): Likewise.
27768 (dynix*): Likewise.
27769 (*bsd*): Likewise.
27770 (sysv*): Likewise.
27771 (isc*): Likewise.
27772 (esix*): Likewise.
27773 (sco*): Likewise.
27774 (minix*): Likewise.
27775 (irix4*): Likewise.
27776 (irix6*): Likewise.
27777 (solaris[2-9]*): Likewise.
27778 (none): Likewise.
27779 * configure: Regenerated.
27780
0ac229c8
AZ
277812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27782
27783 [BZ #11521]
27784 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27785 overflow or cancellation in calculating denominator.
27786 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27788 down expression to avoid unexpected rounding in newer GCCs.
27789 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27790
33f244f4
DM
277912012-04-26 David S. Miller <davem@davemloft.net>
27792
27793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27794 long-double compat symbols.
27795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27808
cfa1f3e8
DM
278092012-04-25 David S. Miller <davem@davemloft.net>
27810
27811 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27812 HWCAP_* values only after the memory barriers have been defined.
27813 (atomic_full_barrier): Define.
27814 (atomic_read_barrier): Define.
27815 (atomic_write_barrier): Define.
27816
6e236b92
SP
278172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27818
27819 * shlib-versions: Add libgcc_s version information.
27820 * sysdeps/generic/libgcc_s.h: Remove.
27821 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27822 libgcc_s.h.
27823 * sysdeps/gnu/unwind-resume.c: Likewise.
27824 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27825
aab39a09
DM
278262012-04-25 David S. Miller <davem@davemloft.net>
27827
27828 * sysdeps/unix/sparc/brk.S: Delete.
27829 * sysdeps/unix/sparc/dl-brk.S: Delete.
27830 * sysdeps/unix/sparc/pipe.S: Delete.
27831 * sysdeps/unix/sparc/sysdep.S: Delete.
27832 * sysdeps/unix/sparc/sysdep.h: Delete.
27833 * sysdeps/unix/sparc/vfork.S: Delete.
27834 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27835 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27837 ret_ERRVAL, r0, r1, MOVE): Define.
27838 (JUMPTARGET): Remove.
27839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27840 sysdeps/unix/sparc/sysdep.h
27841 (ENTRY, END): Remove.
27842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27843
a3cc4f48
JM
278442012-04-25 Joseph Myers <joseph@codesourcery.com>
27845
2ed8cda2
JM
27846 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27847 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27848 -DIS_IN_build.
27849
35d76d59
JM
27850 * timezone/README: Update upstream location and email address for
27851 tzcode and tzdata.
27852 * timezone/zdump.c: Update from tzcode 2012b.
27853 * timezone/zic.c: Likewise.
27854
a3cc4f48
JM
27855 * configure.in (libc_cv_as_needed): Remove test.
27856 * configure: Regenerated.
27857 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27858 conditional definition.
27859 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27860 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27861 * config.make.in (have-as-needed): Remove variable.
27862
ceab42c3
SP
278632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27864 Paul Pluzhnikov <ppluzhnikov@google.com>
27865
27866 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27867 strings correctly.
27868
3ce2865f
CLT
278692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27870
27871 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27872 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27873 * sysdeps/sh/strlen.S: Likewise.
27874
f37e0d68
JM
278752012-04-24 Joseph Myers <joseph@codesourcery.com>
27876
ae186e9a
JM
27877 * sysdeps/unix/fork.S: Remove file.
27878 * sysdeps/unix/i386/fork.S: Likewise.
27879 * sysdeps/unix/sparc/fork.S: Likewise.
27880
b96914af
JM
27881 * sysdeps/unix/system.c: Remove file.
27882 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27883
f37e0d68
JM
27884 * sysdeps/unix/getegid.S: Remove file.
27885 * sysdeps/unix/geteuid.S: Likewise.
27886
87ef29ca
RM
278872012-04-24 Roland McGrath <roland@hack.frob.com>
27888
83bcd236
RM
27889 * scripts/check-localplt.awk: New file.
27890 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27891 of diff.
27892 * scripts/data/localplt-generic.data: Add a comment.
27893
87ef29ca
RM
27894 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27895 NODE when __dir_mkfile failed.
27896 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27897 Reported by Ludovic Courtès <ludo@gnu.org>.
27898
e5a6e567
AJ
278992012-04-24 Andreas Jaeger <aj@suse.de>
27900
27901 * Makerules (common-clean): Also remove gen-as-const-headers
27902 files.
27903
c1820385
JM
279042012-04-24 Joseph Myers <joseph@codesourcery.com>
27905
27906 * Makerules (native-compile): Do not change working directory for
27907 build. Use $(OUTPUT_OPTION) in command.
27908 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27909
94e02fc4
AZ
279102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27911
27912 [BZ #13886]
27913 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27914 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27915 * math/libm-test.inc (floor_test): Add more tests.
27916 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27917
3a533ca3
JM
279182012-04-24 Joseph Myers <joseph@codesourcery.com>
27919
940ab4b3
JM
27920 * sysdeps/unix/getdents.c: Remove file.
27921 * sysdeps/unix/sysv/getdents.c: Likewise.
27922 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27923
90e037bd
JM
27924 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27925 sysdeps/unix/mman/syscalls.list.
27926 (mmap): Likewise.
27927 (mprotect): Likewise.
27928 (msync): Likewise.
27929 (munmap): Likewise.
27930 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27931 * sysdeps/unix/mman/syscalls.list: Remove.
27932 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27933
3a533ca3
JM
27934 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27935 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27936 * configure: Regenerated.
27937 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27938 $(libgcc_s_suffix).
27939 * config.make.in (libgcc_s_suffix): Remove variable.
27940
1ad743de
JM
279412012-04-23 Joseph Myers <joseph@codesourcery.com>
27942
4ad451e2
JM
27943 * sysdeps/unix/sysv/gethostname.c: Move to ...
27944 * sysdeps/posix/gethostname.c: ... here.
27945
5e37ce39
JM
27946 * sysdeps/unix/execve.S: Remove file.
27947
1ad743de
JM
27948 * sysdeps/unix/_exit.S: Remove file.
27949
4e681b5b
AJ
279502012-04-23 Andreas Jaeger <aj@suse.de>
27951
27952 [BZ #13739]
27953 * manual/Makefile: Remove make dist support, there's no
27954 need for a stand-alone documentation tar ball.
27955 (TEXI2DVI): Define always, it's not in Makeconfig.
27956 (dist): Removed.
27957 (tar-it): Removed.
27958 (edition): Removed.
27959 (glibc-doc-$(edition).tar): Removed
27960 (%.Z): Removed.
27961 (%.gz): Removed.
27962 (%.uu): Removed.
27963 (ETAGS): Remove, it's in Makeconfig.
27964 (move-if-change): Remove, it's in Makeconfig.
27965
38686a03 279662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
27967
27968 [BZ #13970]
27969 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27970 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27971 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27972 (strtod_l, strtof_l, strtold_l): Remove __wur.
27973 It is not necessarily an error to ignore strtol's return value.
27974 One can reliably look at the stored endptr to decide whether
27975 the number had valid syntax.
27976
7c0616fa
AJ
279772012-04-21 Andreas Jaeger <aj@suse.de>
27978
803cb6b7 27979 [BZ #13739]
7c0616fa
AJ
27980 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27981
b0fe253f
JM
279822012-04-21 Joseph Myers <joseph@codesourcery.com>
27983
27984 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27985 * sysdeps/unix/sysv/Versions: Remove file.
27986
8280f22d
MT
279872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27988
27989 [BZ #13927]
27990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27991
75ce411f 279922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
27993
27994 [BZ #7064]
27995 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27996 version from __vm86.
27997
097d59fa
JM
279982012-04-20 Joseph Myers <joseph@codesourcery.com>
27999
a90f3bcb
JM
28000 * sysdeps/unix/common/lxstat.c: Remove file.
28001 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28002
edc7ea78
JM
28003 * sysdeps/unix/sysv/Makefile: Remove file.
28004
cb78c221
JM
28005 * sysdeps/unix/sysv/direct.h: Remove file.
28006
efa6a45f
JM
28007 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28008 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28009 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28010 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28011 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28012 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28013 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28014
9c9f2d0c
JM
28015 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28016
4541c83b
JM
28017 * sysdeps/unix/xmknod.c: Remove file.
28018 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28019
f5d153a0
JM
28020 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28021
aa746595
JM
28022 * sysdeps/unix/sysv/i386/time.S: Remove file.
28023
cce5905e
JM
28024 * sysdeps/unix/fxstat.c: Remove file.
28025 * sysdeps/unix/xstat.c: Likewise.
28026 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28027
37fa3841
JM
28028 * sysdeps/unix/sysv/sigaction.c: Remove file.
28029
ff1962a3
JM
28030 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28031 (sysdep_headers): Remove variable.
28032 [termio.h not in sysdep_headers] (generated): Likewise.
28033 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28034 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28035 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28036 * sysdeps/unix/sysv/tcflow.c: Likewise.
28037 * sysdeps/unix/sysv/tcflush.c: Likewise.
28038 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28039 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28040 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28041 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28042 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28043
e7740d31
JM
28044 * sysdeps/unix/siglist.c: Remove file.
28045
ee06f18b
JM
28046 * sysdeps/unix/getppid.S: Remove file.
28047
097d59fa
JM
28048 * sysdeps/unix/mkdir.c: Remove file.
28049 * sysdeps/unix/rmdir.c: Likewise.
28050
ff3d51ec
AS
280512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28052
28053 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28054 ERR_MAX value.
28055 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28056 errlist-compat value.
28057
50f81fd7
DM
280582012-04-18 David S. Miller <davem@davemloft.net>
28059
28060 * sysdeps/generic/memcopy.h (reg_char): Delete.
28061 * debug/strcat_chk.c: Use char, not reg_char.
28062 * debug/strcpy_chk.c: Likewise.
28063 * debug/strncat_chk.c: Likewise.
28064 * debug/strncpy_chk.c: Likewise.
28065 * string/memchr.c: Likewise.
28066 * string/memrchr.c: Likewise.
28067 * string/rawmemchr.c: Likewise.
28068 * string/strcat.c: Likewise.
28069 * string/strchr.c: Likewise.
28070 * string/strchrnul.c: Likewise.
28071 * string/strcmp.c: Likewise.
28072 * string/strcpy.c: Likewise.
28073 * string/strncat.c: Likewise.
28074 * string/strncmp.c: Likewise.
28075 * string/strncpy.c: Likewise.
28076
8ff41c46
WS
280772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28078
28079 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28080 __builtin_memcopy is called when src and dest ranges are known to not
28081 overlap.
28082
6b652f46
WS
280832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28084
28085 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28086 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28087 fwd_align_merge macro call.
28088 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28089 bwd_align_merge macro call.
28090 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28091
b282631e
WS
280922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28093
28094 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28095 bwd_align_merge macros.
28096 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28097 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28098 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28099
95aa737c
DM
281002012-04-18 David S. Miller <davem@davemloft.net>
28101
28102 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28103
7a99a614
AJ
281042012-04-18 Andreas Jaeger <aj@suse.de>
28105
28106 [BZ# 6794]
28107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28108 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28109 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28110
28111 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28112 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28113 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28114
28115 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28116 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28117 Adjust for changed ldbl-128 files.
28118
28119 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28120 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28122
e5270c23
DM
281232012-04-17 David S. Miller <davem@davemloft.net>
28124
28125 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28126
fb5e92c9
AS
281272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28128
28129 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28130 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28131 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28132 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28133 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28134 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28135
76da7265
AZ
281362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28137
28138 [BZ #6794]
28139 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28140 * math/libm-test.inc: Add ilogb errno and exception tests.
28141 * math/w_ilogb.c: New file: ilogb wrapper.
28142 * math/w_ilogbf.c: New file: ilogbf wrapper.
28143 * math/w_ilogbl.c: New file: ilogbl wrapper.
28144 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28145 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28146 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28147 exception being thrown with 0.0 as argument.
28148 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28149 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28150 exception being thrown with 0.0 as argument.
28151 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28152 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28153 exception being thrown with 0.0 as argument.
28154 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28155 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28156 exception being thrown with 0.0 as argument.
28157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28158 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28159 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28160 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28162 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28163 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28164 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28165 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28166
0396e69d
PB
281672012-04-17 Petr Baudis <pasky@ucw.cz>
28168
28169 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28170 with altivec.
28171
750b5926
MP
281722012-04-16 Marek Polacek <polacek@redhat.com>
28173
28174 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28175
751728a1
MP
281762012-04-16 Marek Polacek <polacek@redhat.com>
28177
28178 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28179 operands of fdivp instruction.
28180
34a27407
L
281812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28182
28183 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28184 * elf/tst-auditmod3b.c: Likewise.
28185 * elf/tst-auditmod4b.c: Likewise.
28186 * elf/tst-auditmod5b.c: Likewise.
28187 * elf/tst-auditmod6b.c: Likewise.
28188 * elf/tst-auditmod6c.c: Likewise.
28189 * elf/tst-auditmod7b.c: Likewise.
28190 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28191 * sysdeps/x86_64/preconfigure.in: Likewise.
28192 * sysdeps/x86_64/preconfigure: Regenerated.
28193
7e73e17d
L
281942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28195
28196 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28197 __ILP32__.
28198
c7a6ab72
AB
281992012-04-13 Antoine Balestrat <merkil33@gmail.com>
28200
28201 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28202 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28203
a9e8e0e0
CL
282042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28205
28206 [BZ #13973]
28207 * locale/iso-639.def: Fix gl language name. Spotted by
28208 Yaron Shahrabani.
28209
ec98af7d
RM
282102012-04-12 Roland McGrath <roland@hack.frob.com>
28211
28212 [BZ #2074]
28213 * libio/libio.h (__io_write_fn): Update comment.
28214
247c3ede
PB
282152012-04-12 Petr Baudis <pasky@ucw.cz>
28216
28217 [BZ #2074]
28218 * stdio.texi (Hook Functions): The user provided writer function
28219 is not allowed to return -1.
28220
55939d6d
DM
282212012-04-11 David S. Miller <davem@davemloft.net>
28222
28223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28224
90020f5a
MF
282252012-04-11 Mike Frysinger <vapier@gentoo.org>
28226
28227 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28228 Add a leading slash to rtkaio.
28229
288f9098
JM
282302012-04-11 Jim Meyering <meyering@redhat.com>
28231
90020f5a
MF
28232 [BZ #11959]
28233 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28234 It is not necessarily an error to ignore fwrite's return
28235 value. One can reliably use ferror to test for errors after
28236 the fact.
288f9098 28237
4be2b570
L
282382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28239
28240 * bits/types.h (__snseconds_t): New type.
28241 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28242
28243 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28245 (__SNSECONDS_T_TYPE): Likewise.
28246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28247 (__SNSECONDS_T_TYPE): Likewise.
28248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28249 (__SNSECONDS_T_TYPE): Likewise.
28250
288f9098 282512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28252
28253 [BZ #2636]
28254 * manual/time.texi (Processor Time): Return type of times is
28255 elapsed real time since an arbitrary point in the past.
28256 (CPU Time): Move CLK_TCK from here...
28257 (Processor Time): ...to here. Correct description.
28258 * manual/conf.texi (Constants for Sysconf): Correct description of
28259 _SC_CLK_TCK.
28260
d7dd4413
DM
282612012-04-10 David S. Miller <davem@davemloft.net>
28262
28263 [BZ #13967]
28264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28265 where the is a gap between DT_REL(A) and DT_JMPREL.
28266
b46068fc
L
282672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28268
28269 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28270 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28271 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28272
73d65cc3
SP
282732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28274
28275 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28276 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28277 (dl_main): Handle --inhibit-cache.
28278 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28279 _dl_inhibit_cache.
28280 * elf/dl-load.c (_dl_map_object): Use it.
28281 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28282
bcc8d661
JM
282832012-04-09 Joseph Myers <joseph@codesourcery.com>
28284
8f9a2fae
JM
28285 [BZ #13872]
28286 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28287 (__ieee754_powl): Saturate large exponents rather than testing for
28288 overflow of y*log2(x).
28289 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28290 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28291 exceptions.
28292
bcc8d661
JM
28293 [BZ #11521]
28294 * math/s_ctan.c: Include <float.h>.
28295 (__ctan): Avoid internal overflow or cancellation in calculating
28296 denominator.
28297 * math/s_ctanf.c: Likewise.
28298 * math/s_ctanl.c: Likewise.
28299 * math/s_ctanh.c: Likewise.
28300 * math/s_ctanhf.c: Likewise.
28301 * math/s_ctanhl.c: Likewise.
28302 * math/libm-test.inc (ctan_test): Add more tests.
28303 (ctanh_test): Likewise.
28304 * sysdeps/i386/fpu/libm-test-ulps: Update.
28305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28306
823fbbb4
AJ
283072012-04-09 Andreas Jaeger <aj@suse.de>
28308
03879793
AJ
28309 [BZ #6894]
28310 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28311 is an optional BSD extension.
28312
823fbbb4
AJ
28313 [BZ #10254]
28314 * manual/stdio.texi (Opening Streams): Document additional fopen
28315 parameters.
28316
8de131cb
RM
283172012-04-09 Roland McGrath <roland@hack.frob.com>
28318
28319 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28320 %eax without telling the compiler.
28321
c0ed9d7d
CD
283222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28323
28324 [BZ # 13963]
28325 * manual/install.texi: Use sourceware.org.
28326
c483f6b4
JM
283272012-04-09 Joseph Myers <joseph@codesourcery.com>
28328
d7dd9453
JM
28329 [BZ #13873]
28330 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28331 (__ieee754_pow): Generate overflow and underflow using huge*huge
28332 and tiny*tiny rather than just returning constant infinity or zero
28333 for large exponents.
28334 * math/libm-test.inc (pow_test): Require overflow exceptions for
28335 applicable cases of large exponents.
28336
c483f6b4
JM
28337 [BZ #706]
28338 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28339 (__ieee754_pow): Use iterative multiplication algorithm only for
28340 integer exponents with absolute value below 1024. Check for odd
28341 integer exponents when using algorithm for real exponents.
28342 * math/libm-test.inc (pow_test): Add more tests.
28343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28344
d2de7579
JM
283452012-04-08 Joseph Myers <joseph@codesourcery.com>
28346
28347 [BZ #13705]
28348 * math/libm-test.inc (exp_test): Do not allow overflow exception
28349 on underflow test.
28350
f77f1232
AJ
283512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28352
28353 [BZ #13705]
28354 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28355 instead of __kernel_standard_f.
28356
3884932b
MF
283572012-04-08 Mike Frysinger <vapier@gentoo.org>
28358
28359 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28360 * sysdeps/x86_64/memset_chk.S: Likewise.
28361
54472e9c
AJ
283622012-04-08 Andreas Jaeger <aj@suse.de>
28363
6ab0fbfc
AJ
28364 [BZ #10153]
28365 * manual/startup.texi (Environment Access): Describe return value
28366 for putenv and setenv.
28367
61efba8c
AJ
28368 [BZ #6895]
28369 * manual/filesys.texi (Directory Entries): Add description for
28370 DT_LNK.
28371
95c3f29a
AJ
28372 [BZ #6890]
28373 * manual/filesys.texi (Directory Entries): Clarify that it's file
28374 system not operating system in the description of DT_UNKNOWN.
28375
54472e9c
AJ
28376 [BZ #6578]
28377 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28378
624254b1
SC
283792012-04-08 Stephen Compall <s11@member.fsf.org>
28380
28381 [BZ #6649]
28382 * manual/llio.texi (Opening and Closing Files): Add cross
28383 reference to explain mode argument.
28384
1e4920e0
MF
283852012-04-07 Mike Frysinger <vapier@gentoo.org>
28386
28387 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28388 * sysdeps/x86_64/memset_chk.S: Likewise.
28389
5ed848f3
DM
283902012-04-07 David S. Miller <davem@davemloft.net>
28391
28392 * elf/elf.h (R_SPARC_WDISP10): Define.
28393 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28394 R_SPARC_SIZE32.
28395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28396 R_SPARC_SIZE64 and R_SPARC_H34.
28397
96154cd8
CD
283982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28399
28400 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28401 conditions and remove no longer applicable assertion.
28402
9904dc47
L
284032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28404
28405 * bits/byteswap.h: Include <features.h>.
28406 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28407 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28408
f8887d0a
L
284092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 * bits/byteswap.h (__bswap_16): Removed.
28412 Include <bits/byteswap-16.h> to get __bswap_16.
28413 * sysdeps/i386/bits/byteswap.h: Likewise.
28414 * sysdeps/s390/bits/byteswap.h: Likewise.
28415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28416 * bits/byteswap-16.h: New file.
28417 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28418 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28419 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28420 * string/Makefile (headers): Add bits/byteswap-16.h.
28421
62470f60
PP
284222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28423
28424 [BZ #13895]
28425 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28426 extra indirection.
28427 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28428 * nss/tst-nss-static.c: New.
28429
4dad7bab
RM
284302012-04-06 Robert Millan <rmh@gnu.org>
28431
28432 [BZ #6486]
28433 * manual/llio.texi (File Position Primitive): lseek
28434 refers to WHENCE when it really means OFFSET.
28435
e9142a17
AJ
284362012-04-06 Andreas Jaeger <aj@suse.de>
28437
2c040eff
AJ
28438 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28439 strncmp declarations.
28440
e9142a17
AJ
28441 * abilist/libc.abilist: Add __poll and __ppoll.
28442
ff9f1c5f
DM
284432012-04-05 David S. Miller <davem@davemloft.net>
28444
dcd2ae90
DM
28445 * scripts/check-local-headers.sh: Accept a host triplet in the
28446 path matched by the exclude regexp.
28447
993eb054
DM
28448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28449 definition.
28450 * sysdeps/powerpc/powerpc32/dl-machine.h
28451 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28452 * sysdeps/s390/s390-32/dl-machine.h
28453 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28454 * sysdeps/sparc/sparc32/dl-machine.h
28455 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28456 * sysdeps/sparc/sparc64/dl-machine.h
28457 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28458
ff9f1c5f
DM
28459 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28460 lazy binding.
48e2e132 28461 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28462 undefined symbol errors.
28463
48e2e132 28464 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28465 DT_NEEDED entries.
28466
e80d6f94
MM
284672012-04-05 Michael Matz <matz@suse.de>
28468
28469 [BZ #13592]
28470 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28471
349fa79f
AJ
284722012-04-05 Andreas Jaeger <aj@suse.de>
28473
28474 [BZ #13908]
28475 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28476 comment.
28477
f402708f
KK
284782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28479
28480 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28481 which ROUND is no valid rounding mode.
28482
2ecccfc9
KK
284832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28484
28485 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28486 read again.
28487 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28488
8a53f50f
KK
284892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28490
28491 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28492 an exception using FPU order intentionally.
28493
284942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28495
28496 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28497 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28498 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28499 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28500
d653abb7
SJ
285012012-04-05 Simon Josefsson <simon@josefsson.org>
28502
28503 [BZ #12340]
28504 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28505 EINVAL when BUFLEN is too smal.
28506
c3b1bf7d
TS
285072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28508
28509 [BZ #13553]
28510 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28511 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28512
b1aa60f3
AJ
285132012-04-03 Andreas Jaeger <aj@suse.de>
28514
c3b1bf7d 28515 [BZ #13938]
67f60a26
AJ
28516 * manual/setjmp.texi (System V contexts): Fix sentence.
28517
b1aa60f3
AJ
28518 [BZ #13926]
28519 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28520 New macro for this case.
28521 [!__GNUC__] (__bswap_64): New inline function for this case.
28522 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28523 * bits/byteswap.h: Likewise.
28524 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28525 ull, guard with __GLIBC_HAVE_LONG_LONG.
28526
28527 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28528 __GLIBC_HAVE_LONG_LONG.
28529
28530 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28531 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28532
39c59c35
TMQMF
285332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28534
28535 [BZ #13691]
28536 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28537 inptr and inend, rather than using last_ch.
28538
135ffda8
DM
285392012-04-02 David S. Miller <davem@davemloft.net>
28540
28541 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28542 * stdio-common/printf-parse.h (read_int): Change return type to
28543 'int', return -1 on INT_MAX overflow.
28544 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28545 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28546 overflows INT_MAX. Check for overflow of in-format-string precision
28547 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28548 SIZE_MAX not INT_MAX for integer overflow test.
28549 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28550 skip the construct in the format string but do not record anything.
28551 * stdio-common/bug22.c: Adjust to test both width/prevision
28552 INT_MAX overflow as well as total length INT_MAX overflow. Check
28553 explicitly for proper errno values.
28554
228c019e
TS
285552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28556
302cadd3
TS
28557 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28558 CHAR_MAX.
28559 * string/test-strcmp.c [! WIDE]: Likewise.
28560 * time/tst-mktime2.c: Likewise for INT_MAX.
28561 * string/test-string.h: #include <sys/param.h> for MIN.
28562
228c019e
TS
28563 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28564 * sysdeps/i386/init-first.c (init): Likewise.
28565 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28566 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28567 * sysdeps/sh/init-first.c (init): Likewise.
28568
cfa633f5
UD
285692012-04-01 Ulrich Drepper <drepper@gmail.com>
28570
28571 * po/ru.po: Update from translation team.
d1635ef8 28572 * po/vi.po: Likewise.
cfa633f5 28573
6cd0a5ea
SP
285742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28575
28576 * resolv/nss_dns/dns-host.c: Merge copyright years.
28577
4b43400f
LD
285782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28579
28580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28581 Optimize memcpy with prefetch if
28582 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28583 src, dst pointers have unequal 16 byte alignments.
28584
48c41d04
SP
285852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28586
28587 [BZ #13928]
28588 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28589 from a CNAME entry and return the minimum ttl for the query.
28590 (gaih_getanswer_slice): Likewise.
28591
b8dc394d
JL
285922012-03-30 Jeff Law <law@redhat.com>
28593
28594 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28595 due to long keys.
28596 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28597 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28598
2f5a5ed0
JL
28599 * resolv/nss_dns/dns-host.c: Update copyright year.
28600
1d39e359
UD
286012012-03-30 Ulrich Drepper <drepper@gmail.com>
28602
c030f70c 28603 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28604 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28605
1d39e359
UD
28606 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28607 comments for sendmmsg.
28608
286092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28610
28611 [BZ #13691]
28612 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28613 with only 1 character between 0x0041 and 0x01b0.
28614 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28615 * wcsmbs/tst-mbsnrtowcs.c: New file.
28616
20fde227
DM
286172012-03-29 David S. Miller <davem@davemloft.net>
28618
28619 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28620 small copies by hand.
28621
984a4237
JL
286222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28623
28624 [BZ #13761]
28625 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28626 _nss_compat_initgroups_dyn): Fall back to malloc/free
28627 for large group memberships.
28628
18c9d62b
DM
286292012-03-28 David S. Miller <davem@davemloft.net>
28630
88d85d4f
DM
28631 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28632 that branches into memcpy.
28633 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28634 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28635 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28636 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28638 bits.
28639 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28640 implementation too.
28641 * sysdeps/sparc/mempcpy.S: New file.
28642
e5aa83e1
DM
28643 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28644 the IFUNC routine in the libc case.
28645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28646
88570753
DM
28647 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28648 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28649 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28650 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28651 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28652 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28653 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28654 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28655
249d7567
DM
28656 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28657 loop to 256 bytes instead of 64 bytes and fix test signedness.
28658
18c9d62b
DM
28659 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28660 * sysdeps/sparc/sparc32/Makefile: rather than here...
28661 * sysdeps/sparc/sparc64/Makefile: and here.
28662
05f3d1f6
UD
286632012-03-28 Ulrich Drepper <drepper@gmail.com>
28664
28665 * malloc/mallocbug.c: Avoid warnings about unused variables.
28666
86ae07a8
JL
286672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28668
28669 [BZ #13760]
28670 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28671 in the right place. Discard and retry query if response is
28672 larger than input buffer size.
28673
41bf21a1
JM
286742012-03-28 Joseph Myers <joseph@codesourcery.com>
28675
d6270972
JM
28676 [BZ #369]
28677 [BZ #2678]
28678 [BZ #3866]
28679 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28680 x for large integer exponent.
28681 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28682 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28683 sign of result as needed afterwards.
28684 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28685 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28686 result for underflowing pow the same as for overflow.
28687 (__kernel_standard_l): Handle powl overflow and underflow here
28688 rather than calling __kernel_standard.
28689 * math/libm-test.inc (pow_test): Add more tests.
28690
414fca03 28691 [BZ #3868]
41bf21a1
JM
28692 [BZ #13879]
28693 [BZ #13910]
28694 [BZ #13911]
28695 [BZ #13912]
28696 [BZ #13913]
28697 [BZ #13915]
28698 [BZ #13916]
28699 [BZ #13917]
28700 [BZ #13918]
28701 [BZ #13919]
28702 [BZ #13920]
28703 [BZ #13921]
28704 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28705 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28706 (__kernel_standard_l): New function.
28707 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28708 __kernel_standard.
28709 * math/w_acosl.c (__acosl): Likewise.
28710 * math/w_asinl.c (__asinl): Likewise.
28711 * math/w_atan2l.c (__atan2l): Likewise.
28712 * math/w_atanhl.c (__atanhl): Likewise.
28713 * math/w_coshl.c (__coshl): Likewise.
28714 * math/w_exp10l.c (__exp10l): Likewise.
28715 * math/w_exp2l.c (__exp2l): Likewise.
28716 * math/w_fmodl.c (__fmodl): Likewise.
28717 * math/w_hypotl.c (__hypotl): Likewise.
28718 * math/w_j0l.c (__j0l, __y0l): Likewise.
28719 * math/w_j1l.c (__j1l, __y1l): Likewise.
28720 * math/w_jnl.c (__jnl, __ynl): Likewise.
28721 * math/w_lgammal.c (__lgammal): Likewise.
28722 * math/w_log10l.c (__log10l): Likewise.
28723 * math/w_log2l.c (__log2l): Likewise.
28724 * math/w_logl.c (__logl): Likewise.
28725 * math/w_powl.c (__powl): Likewise.
28726 * math/w_remainderl.c (__remainderl): Likewise.
28727 * math/w_scalbl.c (sysv_scalbl): Likewise.
28728 * math/w_sinhl.c (__sinhl): Likewise.
28729 * math/w_sqrtl.c (__sqrtl): Likewise.
28730 * math/w_tgammal.c (__tgammal): Likewise.
28731 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28732 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28733 * math/libm-test.inc (acos_test): Add more tests.
28734 (acosh_test): Likewise.
28735 (asin_test): Likewise.
28736 (atanh_test): Likewise.
28737 (exp_test): Likewise.
28738 (exp10_test): Likewise.
28739 (exp2_test): Likewise.
28740 (expm1_test): Likewise.
28741 (lgamma_test): Likewise.
28742 (log_test): Likewise.
28743 (log10_test): Likewise.
28744 (log1p_test): Likewise.
28745 (log2_test): Likewise.
28746 (pow_test): Do not allow some spurious overflow exceptions.
28747 (sqrt_test): Add more tests.
28748 (tgamma_test): Likewise.
28749 (y0_test): Likewise.
28750 (y1_test): Likewise.
28751 (yn_test): Likewise.
28752
dd62fda6
AB
287532012-03-27 Anton Blanchard <anton@samba.org>
28754
28755 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28756 MAP_HUGETLB.
28757 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28758 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28759 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28760
1e3cdfda
AJ
287612012-03-27 David S. Miller <davem@davemloft.net>
28762
b855ab85
DM
28763 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28764
1e3cdfda
AJ
28765 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28766 have-as-vis3 check.
28767
287682012-03-27 Andreas Jaeger <aj@suse.de>
28769
28770 * sysdeps/x86_64/elf/configure.in: Moved to ...
28771 * sysdeps/x86_64/configure.in: ... here.
28772 * sysdeps/x86_64/elf/start.S: Moved to ...
28773 * sysdeps/x86_64/start.S: ... here.
28774 * sysdeps/x86_64/elf/configure: Delete.
28775
28776 * sysdeps/x86_64/configure.in: Merge contents from
28777 sysdeps/i386/configure.in (without i686 check).
28778
28779 * sysdeps/i386/elf/Versions: Merge into ...
28780 * sysdeps/i386/Versions: ... this.
28781 * sysdeps/i386/elf/Versions: Delete file.
28782 * sysdeps/i386/elf/start.S: Moved to ...
28783 * sysdeps/i386/start.S: ...here.
28784 * sysdeps/i386/elf/configure.in: Merge into...
28785 * sysdeps/i386/configure.in: ...here.
28786 * sysdeps/i386/elf/configure.in: Delete file.
28787 * sysdeps/i386/elf/configure: Delete file.
28788
28789 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28790 * debug/backtracesyms.c: ... here.
28791 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28792 * debug/backtracesymsfd.c: ... here.
28793 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28794 * sysdeps/generic/ifunc-sel.h: ... here.
28795
28796 * sysdeps/unix/i386/start.c: Delete file.
28797 * sysdeps/unix/sparc/start.c: Delete file.
28798 * sysdeps/unix/start.c: Delete file.
28799
28800 * sysdeps/sh/elf/configure.in: Moved to ...
28801 * sysdeps/sh/configure.in: ... here.
28802 * sysdeps/sh/elf/start.S: Moved to ...
28803 * sysdeps/sh/start.S: ... here.
28804 * sysdeps/sh/elf/configure: Delete file.
28805
28806 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28807 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28808 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28809 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28810 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28811 * sysdeps/powerpc/powerpc64/start.S: here.
28812 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28813 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28814 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28815 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28816 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28817
28818 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28819 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28820 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28821 * sysdeps/powerpc/powerpc32/start.S: ... here.
28822 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28823 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28824 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28825
28826 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28827 * sysdeps/powerpc/ifunc-sel.h: ... here.
28828 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28829 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28830
28831 * sysdeps/sparc/elf/configure.in: Moved to ...
28832 * sysdeps/sparc/configure.in: ... here.
28833 * sysdeps/sparc/elf/configure: Delete file.
28834 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28835 * sysdeps/sparc/sparc32/start.S: ... here.
28836 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28837 * sysdeps/sparc/sparc64/start.S: ... here.
28838 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28839 * sysdeps/sparc/sparc32/Makefile: ... this.
28840 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28841 * sysdeps/sparc/sparc64/Makefile: ... this.
28842
28843 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28844 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28845 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28846 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28847 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28848 * sysdeps/s390/s390-32/setjmp.S: ... here.
28849 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28850 * sysdeps/s390/s390-32/configure.in: ... here.
28851 * sysdeps/s390/s390-32/elf/configure: Delete file.
28852 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28853 * sysdeps/s390/s390-32/start.S: ... here.
28854
28855 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28856 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28857 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28858 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28859 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28860 * sysdeps/s390/s390-64/setjmp.S: ... here.
28861 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28862 * sysdeps/s390/s390-64/configure.in: ... here
28863 * sysdeps/s390/s390-64/elf/configure: Delete file.
28864 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28865 * sysdeps/s390/s390-64/start.S: ... here.
28866 * sysdeps/s390/s390-64/elf/configure: Delete.
28867
28868 * configure.in: Remove support for elf directories in sysdeps.
28869
28870 * configure: Regenerated.
28871 * sysdeps/i386/configure: Regenerated.
28872 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28873 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28874 * sysdeps/s390/s390-32/configure: Regenerated.
28875 * sysdeps/s390/s390-64/configure: Regenerated.
28876 * sysdeps/sh/configure: Regenerated.
28877 * sysdeps/sparc/configure: Regenerated.
28878 * sysdeps/x86_64/configure: Regenerated.
28879
a3f61311
AS
288802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28881
c876e002
AS
28882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28883
a3f61311
AS
28884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28885 denormal result into account.
28886
ac4c54f0
RM
288872012-03-25 Roland McGrath <roland@hack.frob.com>
28888
28889 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28890 Reported by Allan McRae <allan@archlinux.org>.
28891
6a9b9c02
JL
288922012-03-23 Jeff Law <law@redhat.com>
28893
28894 * nss/getnssent.c (__nss_getent): Fix typo.
28895
4c42a0c1
DM
288962012-03-23 David S. Miller <davem@davemloft.net>
28897
28898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28899
1532c7ac
L
289002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28903 to pad to uint64_t for each field.
28904 (dl_tls_index): Replace unsigned long with uint64_t.
28905
3ff42526
PP
289062012-03-23 Daniel Jacobowitz <dmj@google.com>
28907 Paul Pluzhnikov <ppluzhnikov@google.com>
28908
28909 [BZ #6528]
28910 * grp/Makefile (otherlibs): Don't set it.
28911 * inet/Makefile (otherlibs): Likewise.
28912 * login/Makefile (otherlibs): Likewise.
28913 * nscd/Makefile (otherlibs): Likewise.
28914 * posix/Makefile (otherlibs): Likewise.
28915 * pwd/Makefile (otherlibs): Likewise.
28916 * rt/Makefile (otherlibs): Likewise.
28917 * sunrpc/Makefile (otherlibs): Likewise.
28918 * nss/Makefile (otherlibs): Likewise.
28919 Add libnss_files to routines and static-only-routines.
28920 ($(objpfx)getent): Remove rule.
28921 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28922 static-only-routines.
28923
7c69cd14
JM
289242012-03-22 Joseph Myers <joseph@codesourcery.com>
28925
28926 [BZ #13892]
28927 * math/s_cexp.c: Include <float.h>.
28928 (__cexp): Handle exp result overflowing not necessarily
28929 overflowing both real and imaginary parts of result.
28930 * math/s_cexpf.c: Likewise.
28931 * math/s_cexpl.c: Likewise.
28932 * math/libm-test.inc (cexp_test): Add more tests.
28933 * sysdeps/i386/fpu/libm-test-ulps: Update.
28934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28935
81b035fe
L
289362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28937
28938 * include/link.h (ELFW): New macro.
28939 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28940 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28941
1da7940c
L
289422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28945 with uint64_t.
28946
b749dbb9
L
289472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28950 declaration.
28951 (struct La_x32_retval): Likewise.
28952
2ff87f3f
L
289532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 * sysdeps/x86_64/preconfigure.in: New file.
28956 * sysdeps/x86_64/preconfigure: New generated file.
28957
c0df8e69
JM
289582012-03-22 Joseph Myers <joseph@codesourcery.com>
28959
48e44791
JM
28960 [BZ #13824]
28961 * math/e_exp2l.c: Include <float.h>.
28962 (__ieee754_exp2l): Handle overflow and underflow cases
28963 separately. Only pass fractional part of argument to
28964 __ieee754_expl.
28965 * math/libm-test.inc (exp2_test): Add more tests.
28966
c0df8e69
JM
28967 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28968 negating x to take absolute value.
28969 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28970 Likewise.
28971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28973 Likewise.
28974 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28975 computing low part if x was negated.
28976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28977
c8e43ba7
L
289782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28979
28980 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28981 la_x32_gnu_pltexit.
28982 (pltexit): Cast int_retval to ptrdiff_t.
28983 * elf/tst-auditmod3b.c: Likewise.
28984 * elf/tst-auditmod4b.c: Likewise.
28985 * elf/tst-auditmod5b.c: Likewise.
28986 * elf/tst-auditmod6b.c: Likewise.
28987 * elf/tst-auditmod6c.c: Likewise.
28988 * elf/tst-auditmod7b.c: Likewise.
28989
28990 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28991 and x32_gnu_pltexit.
28992
28993 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28994 __ELF_NATIVE_CLASS.
28995 (La_x32_regs): New macro.
28996 (La_x32_retval): Likewise.
28997 (la_x32_gnu_pltenter): New function prototype.
28998 (la_x32_gnu_pltexit): Likewise.
28999
7998fa78
AS
290002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29001
dcb33988
AS
29002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29003 exponent.
29004
233fc563
AS
29005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29006
7998fa78
AS
29007 * configure.in (libc_cv_cc_nofma): Check for option to disable
29008 generation of FMA instructions.
29009 * configure: Regenerate.
29010 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29011 * sysdeps/ieee754/dbl-64/Makefile: New file.
29012 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29013 Remove brandred-fma4.
29014 (CFLAGS-brandred-fma4.c): Remove.
29015 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29016 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29017 define.
29018 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29019 define.
29020
8e95c99a
L
290212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29024 LLONG_MAX != LONG_MAX.
29025 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29026 (_fitoa_word): Likewise.
29027 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29028 LLONG_MAX != LONG_MAX.
29029 * stdio-common/_itowa.h: Include <_itoa.h>.
29030 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29031 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29032 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29033 only if not defined.
29034 (_ITOA_WORD_TYPE): Likewise.
29035 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29036 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29037
6f4db457
DM
290382012-03-21 David S. Miller <davem@davemloft.net>
29039
29040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29041
7785fe5a
L
290422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29045 of x86_64 when setting libc_cv_slibdir, libdir and
29046 libc_cv_localedir.
29047 * sysdeps/unix/sysv/linux/configure: Regenerated.
29048
4535cd55
JM
290492012-03-21 Joseph Myers <joseph@codesourcery.com>
29050
29051 * manual/lang.texi (Old Varargs): Remove section.
29052 (How Variadic): Update menu.
29053 (va_start): Do not mention varargs.h.
29054
17228132
TS
290552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29056 Joseph Myers <joseph@codesourcery.com>
29057
29058 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29059 link test.
29060 * configure: Regenerated.
29061
8149f976
TS
290622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29063
05f3d1f6
UD
29064 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29065 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29066 conformtest.pl
8149f976 29067
1a4ac776
JM
290682012-03-21 Joseph Myers <joseph@codesourcery.com>
29069
be22ce65
JM
29070 * NOTES: Remove.
29071 * Makefile (files-for-dist): Remove NOTES.
29072 (NOTES): Remove rule.
29073 * README: Don't refer to NOTES.
29074 * manual/creature.texi: Don't include macros.texi.
29075 * manual/intro.texi (creature.texi): Remove comment referring to
29076 NOTES.
29077
40b601fb
JM
29078 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29079 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29080 * configure: Regenerated.
29081 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29082 LIBC_TRY_CC_OPTION.
29083 (libc_cv_as_i686): Likewise.
29084 (libc_cv_cc_avx): Likewise.
29085 (libc_cv_cc_sse2avx): Likewise.
29086 (libc_cv_cc_fma4): Likewise.
29087 (libc_cv_cc_novzeroupper): Likewise.
29088 * sysdeps/i386/configure: Regenerated.
29089
1a4ac776
JM
29090 [BZ #13883]
29091 * sysdeps/i386/fpu/s_cexp.S: Remove.
29092 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29093 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29094 * math/libm-test.inc (cexp_test): Add more tests.
29095 * sysdeps/i386/fpu/libm-test-ulps: Update.
29096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29097
a458e7fe
AM
290982012-03-21 Allan McRae <allan@archlinux.org>
29099
29100 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29101
0cb7efc5
JM
291022012-03-21 Joseph Myers <joseph@codesourcery.com>
29103
29104 [BZ #13871]
29105 * math/w_exp2.c: Do not include <float.h>.
29106 (o_threshold, u_threshold): Remove.
29107 (__exp2): Calculate result before checking finiteness and calling
29108 __kernel_standard.
29109 * math/w_exp2f.c: Likewise.
29110 * math/w_exp2l.c: Likewise.
29111 * math/libm-test.inc (exp2_test): Require overflow exception for
29112 1e6 input.
2460d3aa
JM
29113
29114 [BZ #3866]
29115 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29116 range of signed 64-bit integers before using fistpll. Remove
29117 checks for whether integers fit in mantissa bits.
29118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29119 the range of signed 32-bit integers before using fistpl. Remove
29120 checks for whether integers fit in mantissa bits.
29121 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29122 (__ieee754_powl): Test for y outside the range of signed 64-bit
29123 integers before using fistpll. Reduce 64-bit values to 63-bit
29124 ones as needed.
29125 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29126 divide-by-zero is raised for zero to large negative powers.
29127 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29128 (__ieee754_powl): Test for y outside the range of signed 64-bit
29129 integers before using fistpll. Reduce 64-bit values to 63-bit
29130 ones as needed.
29131 * math/libm-test.inc (pow_test): Add more tests.
29132
eb96ffb0
L
291332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29134
29135 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29136 <stdio-common/_itoa.h>.
29137 * debug/segfault.c: Likewise.
29138 * elf/dl-cache.c: Likewise.
29139 * elf/dl-minimal.c: Likewise.
29140 * elf/dl-misc.c: Likewise.
29141 * elf/dl-sysdep.c: Likewise.
29142 * elf/dl-version.c: Likewise.
29143 * elf/rtld.c: Likewise.
29144 * hurd/hurdsock.c: Likewise.
29145 * hurd/lookup-retry.c: Likewise.
29146 * malloc/malloc.c: Likewise.
29147 * malloc/mtrace.c: Likewise.
29148 * nscd/nscd_getgr_r.c: Likewise.
29149 * nscd/nscd_getpw_r.c: Likewise.
29150 * nscd/nscd_getserv_r.c: Likewise.
29151 * posix/getopt_init.c: Likewise.
29152 * posix/wordexp.c: Likewise.
29153 * stdio-common/_itoa.c: Likewise.
29154 * stdio-common/printf_fphex.c: Likewise.
29155 * stdio-common/vfprintf.c: Likewise.
29156 * string/_strerror.c: Likewise.
29157 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29158 * sysdeps/i386/i686/hp-timing.h: Likewise.
29159 * sysdeps/mach/_strerror.c: Likewise.
29160 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29161 * sysdeps/mach/hurd/sethostid.c: Likewise.
29162 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29163 * sysdeps/mach/xpg-strerror.c: Likewise.
29164 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29166 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29167 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29168 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29169 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29170 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29171 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29172 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29173 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29174 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29175 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29176 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29177 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29178 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29179 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29180 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29181 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29182 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29183 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29184 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29185
29186 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29187
29188 * stdio-common/_itoa.h: Moved to ...
29189 * sysdeps/generic/_itoa.h: Here.
29190
29191 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29192
29193 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29194 instead of "_itoa.h" and "_itowa.h".
29195 * stdio-common/vfprintf.: Likewise.
29196
d1af992d
L
291972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29198
29199 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29200 <bits/wordsize.h>.
29201 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29202 (__signbit): Likwise.
29203 (llrintf): Likwise.
29204 (llrint): Likwise.
29205
114883e0
L
292062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29207
29208 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29209 __WORDSIZE != 64.
29210
c135cc1b
JM
292112012-03-20 Joseph Myers <joseph@codesourcery.com>
29212
29213 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29214 OVERFLOW_EXCEPTION_OK.
29215 * math/libm-test.inc ("Philosophy"): Update comment about
29216 exception testing.
29217 (OVERFLOW_EXCEPTION): Define.
29218 (OVERFLOW_EXCEPTION_OK): Likewise.
29219 (INVALID_EXCEPTION_OK): Renumber.
29220 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29221 (IGNORE_ZERO_INF_SIGN): Likewise.
29222 (test_exceptions): Handle FE_OVERFLOW.
29223 (exp10_test): Expect overflow exceptions.
29224 (exp2_test): Likewise.
29225 (expm1_test): Likewise.
29226 (nextafter_test): Likewise.
29227 (pow_test): Likewise.
29228 (scalbn_test): Likewise.
29229 (scalbln_test): Likewise.
29230
95443d88
L
292312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29232
29233 * sysdeps/x86_64/bits/atomic.h
29234 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29235 64bit integer.
29236 (atomic_exchange_acq): Likewise.
29237 (__arch_exchange_and_add_body): Likewise.
29238 (__arch_add_body): Likewise.
29239 (atomic_add_negative): Likewise.
29240 (atomic_add_zero): Likewise.
29241
490df6c4
L
292422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29243
c2722551 29244 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29245 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29246
5e52b189
L
292472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29248
29249 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29250 Check __x86_64__ instead of __WORDSIZE.
29251
a9879d4c
L
292522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29253
29254 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29255
5df98260
DM
292562012-03-19 David S. Miller <davem@davemloft.net>
29257
e1497744
DM
29258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29259
5df98260
DM
29260 * sysdeps/sparc/fpu/fenv_private.h: New file.
29261 * sysdeps/sparc/fpu/math_private.h: Use it.
29262 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29263 Remove.
29264 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29265 (libc_feholdexcept_setroundl): Remove.
29266 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29267 Remove.
29268 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29269 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29270
b4c35121
L
292712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29272
29273 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29274 int64_t instead of long int.
29275 (INSERT_WORDS64): Likwise.
29276
56965fd7
L
292772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29278
29279 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29280 _Unwind_GetCFA return to _Unwind_Ptr first.
29281
83d1aec8
JM
292822012-03-19 Joseph Myers <joseph@codesourcery.com>
29283
1897ad44
JM
29284 [BZ #13629]
29285 * math/s_clog.c: Include <float.h>.
29286 (__clog): Scale large or subnormal inputs.
29287 * math/s_clogf.c: Likewise.
29288 * math/s_clogl.c: Likewise.
29289 * math/s_clog10.c: Include <float.h>.
29290 (M_LOG10_2): Define.
29291 (__clog10): Scale large or subnormal inputs.
29292 * math/s_clog10f.c: Likewise.
29293 * math/s_clog10l.c: Likewise.
29294 * math/libm-test.inc (clog_test): Add more tests.
29295 (clog10_test): Likewise.
29296 * sysdeps/i386/fpu/libm-test-ulps: Update.
29297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29298
7726d6a9
JM
29299 [BZ #11451]
29300 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29301 x and y.
29302 * math/libm-test.inc (atan2_test): Add another test.
29303
83d1aec8
JM
29304 * Makerules (common-objdir-compile): Remove.
29305 * sysdeps/unix/Makefile (config-generated): Do not add
29306 $(unix-generated) to variable.
29307 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29308 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29309 Remove rule.
29310 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29311 Likewise.
29312 [generic bits/local_lim.h] (before-compile): Do not append to
29313 variable.
29314 [generic bits/local_lim.h] (common-generated): Likewise.
29315 [generic sys/param.h] (before-compile): Do not append to variable.
29316 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29317 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29318 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29319 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29320 include.
29321 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29322 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29323 [generic sys/param.h] ($(addprefix
29324 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29325 [generic sys/param.h] (common-generated): Do not append to
29326 variable.
29327 [generic sys/param.h] (sysdep_headers): Likewise.
29328 [generic bits/errno.h] (before-compile): Do not append to
29329 variable.
29330 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29331 rule.
29332 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29333 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29334 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29335 [generic bits/errno.h] (common-generated): Do not append to
29336 variable.
29337 [generic bits/ioctls.h] (before-compile): Do not append to
29338 variable.
29339 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29340 rule.
29341 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29342 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29343 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29344 rule.
29345 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29346 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29347 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29348 [generic bits/ioctls.h] (common-generated): Do not append to
29349 variable.
29350 [generic sys/syscall.h] (syscall.h): Remove variable.
29351 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29352 rule.
29353 [generic sys/syscall.h] (before-compile): Do not append to
29354 variable.
29355 [generic sys/syscall.h] (common-generated): Likewise.
29356 * sysdeps/unix/errnos-tmpl.c: Remove file.
29357 * sysdeps/unix/errnos.awk: Likewise.
29358 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29359 * sysdeps/unix/ioctls.awk: Likewise.
29360 * sysdeps/unix/mk-local_lim.c: Likewise.
29361 * sysdeps/unix/snarf-ioctls: Likewise.
29362
4851a949
RH
293632012-03-19 Richard Henderson <rth@twiddle.net>
29364
bd37f2ee
RH
29365 * sysdeps/i386/fpu/fenv_private.h: New file.
29366 * sysdeps/i386/fpu/math_private.h: Use it.
29367 (math_opt_barrier, math_force_eval): Remove.
29368 (libc_feholdexcept_setround_53bit): Remove.
29369 (libc_feupdateenv_53bit): Remove.
29370 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29371 (math_opt_barrier, math_force_eval): Remove.
29372 (libc_feholdexcept): Remove.
29373 (libc_feholdexcept_setround): Remove.
29374 (libc_fetestexcept, libc_fesetenv): Remove.
29375 (libc_feupdateenv_test): Remove.
29376 (libc_feupdateenv, libc_feholdsetround): Remove.
29377 (libc_feresetround): Remove.
29378
d0adc922
RH
29379 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29380 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29381
0fe0f1f8
RH
29382 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29383 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29384 (libc_feupdateenv_testl): New.
29385 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29386 (libc_feupdateenv_testf): New.
29387 (libc_feupdateenv): Use libc_feupdateenv_test.
29388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29389 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29390
eb92c487
RH
29391 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29392 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29393 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29394 (libc_feresetround_noex): New.
29395 (libc_feresetround_noexf): New.
29396 (libc_feresetround_noexl): New.
29397 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29398 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29399 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29400 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29401 SET_RESTORE_ROUND.
29402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29403 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29404 (__cos): Likewise.
29405 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29406 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29407 SET_RESTORE_ROUND_NOEX.
29408 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29409 SET_RESTORE_ROUND_NOEXF.
29410 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29411 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29412 (libc_feholdsetroundf): New.
29413 (libc_feresetround, libc_feresetroundf): New.
29414
7d2e8012
RH
29415 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29416 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29417 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29418
b4dabbb4
RH
29419 * sysdeps/generic/math_private.h: Include <fenv.h>.
29420 (default_libc_feholdexcept): New.
29421 (default_libc_feholdexcept_setround): New.
29422 (default_libc_fesetenv, default_libc_feupdateenv): New.
29423 (libc_feholdexcept): Only define if undefined.
29424 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29425 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29426 (libc_feholdexcept_setroundl): Likewise.
29427 (libc_feholdexcept_setround_53bit): Likewise.
29428 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29429 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29430 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29431 (libc_feupdateenv_53bit): Likewise.
29432 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29433 (libc_feholdexcept): Convert from macro to inline function.
29434 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29435 (libc_fesetenv, libc_feupdateenv): Likewise.
29436
4851a949
RH
29437 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29438 not previously defined.
29439 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29440 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29441 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29442 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29443 * sysdeps/ieee754/flt-32/math_private.h: New file.
29444 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29445 math_private.h below SET_FLOAT_WORD.
29446 (__isnan, __isinf_ns, __finite): Remove.
29447 (__isnanf, __isinf_nsf, __finitef): Remove.
29448
e79d442e
AS
294492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29450
29451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29452
90b80344
DM
294532012-03-17 David S. Miller <davem@davemloft.net>
29454
29455 [BZ #6471]
29456 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29457 for 2.16.
29458
edc21804
DM
294592012-03-16 David S. Miller <davem@davemloft.net>
29460
77e927af
DM
29461 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29462 warnings.
29463
374976dd
DM
29464 [BZ #6471]
29465 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29466 properly.
29467 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29468 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29469 sysdep_routines when subdir is sysvipc.
29470 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29471 __getshmlba helper.
29472
edc21804
DM
29473 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29474
473c3ef3
L
294752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29476
29477 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29478 [__LP64__].
29479
eb0f39b6
L
294802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29481
29482 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29483 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29484 (__lround): Renamed to ...
29485 (__llround): This. Replace long int with long long int.
29486 Define lround functions as aliases of llround functions.
29487 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29488
6b6cd74b
L
294892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29490
29491 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29492 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29493 adresses to uintptr_t. Replace "long int" and "unsigned long
29494 int" with "greg_t" on va_arg.
29495
f1a77b01
L
294962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29497
29498 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29499 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29500
29501 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29502 Move e_machine check before EI_CLASS check. Handle x32
29503 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29504 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29505 SKIP_EM_IA_64 and include
29506 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29507
29508 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29509 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29510 (add_system_dir): New macro.
29511
29512 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29513 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29514
11b90b9f
JM
295152012-03-16 Joseph Myers <joseph@codesourcery.com>
29516
c36e1d23
JM
29517 [BZ #2551]
29518 [BZ #2552]
29519 [BZ #2553]
29520 [BZ #2554]
29521 [BZ #2562]
29522 [BZ #2563]
29523 [BZ #2565]
29524 [BZ #2566]
29525 [BZ #2576]
29526 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29527 (y0): Likewise.
29528 * math/w_j0f.c (j0f): Likewise.
29529 (y0f): Likewise.
29530 * math/w_j0l.c (__j0l): Likewise.
29531 (__y0l): Likewise.
29532 * math/w_j1.c (j1): Likewise.
29533 (y1): Likewise.
29534 * math/w_j1f.c (j1f): Likewise.
29535 (y1f): Likewise.
29536 * math/w_j1l.c (__j1l): Likewise.
29537 (__y1l): Likewise.
29538 * math/w_jn.c (jn): Likewise.
29539 (yn): Likewise.
29540 * math/w_jnf.c (jnf): Likewise.
29541 (ynf): Likewise.
29542 * math/w_jnl.c (__jnl): Likewise.
29543 (__ynl): Likewise.
29544 * math/libm-test.inc (j0_test): Add more tests.
29545 (j1_test): Likewise.
29546 (jn_test): Likewise. Add trailing semicolon to existing test.
29547 (y0_test): Likewise.
29548 (y1_test): Likewise.
29549 * sysdeps/i386/fpu/libm-test-ulps: Update.
29550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29551
11b90b9f
JM
29552 [BZ #13851]
29553 [BZ #13854]
29554 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29555 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29556 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29558 (__tanl): Set errno for infinite argument.
29559 * sysdeps/i386/fpu/mptan.c: Remove.
29560 * sysdeps/i386/fpu/s_tan.S: Likewise.
29561 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29562 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29563 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29564 * math/libm-test.inc (tan_test): Add more tests and enable more
29565 tests for double and long double.
29566 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29568
6a1bd2a1
JK
295692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29570
29571 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29572 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29573
10a803e0
RM
295742012-03-16 Roland McGrath <roland@hack.frob.com>
29575
29576 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29577 * configure.in: Use it for both main tree and add-ons.
29578 * configure: Regenerated.
29579
f196c7f7
L
295802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29581
29582 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29583
8848d99d
JM
295842012-03-16 Joseph Myers <joseph@codesourcery.com>
29585
96cbe7f4
JM
29586 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29587 in comment.
29588
8848d99d
JM
29589 [BZ #13851]
29590 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29591 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29592 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29593 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29594 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29595 infinite argument.
29596 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29598 != 0 for prec == 2.
29599 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29600 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29601 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29602 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29603 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29604 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29605 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29606 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29607 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29608 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29609 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29610 * math/libm-test.inc (cos_test): Add more tests and enable more
29611 tests for long double.
29612 (sin_test): Likewise.
29613 (sincos_test): Likewise.
29614 * sysdeps/i386/fpu/libm-test-ulps: Update.
29615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29616
dd7f4703
DM
296172012-03-16 David S. Miller <davem@davemloft.net>
29618
29619 * sysdeps/sparc/fpu/math_private.h: New file.
29620
006f1daa
DM
296212012-03-15 David S. Miller <davem@davemloft.net>
29622
c0c83bc8
DM
29623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29624 file.
e6a62e18 29625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29627 file.
e6a62e18
DM
29628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29633 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29634 sysdep routines.
29635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29636
88cb87d9
DM
29637 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29638 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29639
006f1daa 29640 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29642 sparc-ifunc.h
006f1daa 29643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29645 Likewise.
29646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29647 Likewise.
006f1daa
DM
29648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29652 Likewise.
006f1daa
DM
29653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29658 Likewise.
29659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29660 Likewise.
006f1daa
DM
29661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29665 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29666 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29667 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29668 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29678 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29685
11e0098e
AS
296862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29687
29688 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29689 scaling.
29690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29691
e85b09d0
AJ
296922012-03-15 Andreas Jaeger <aj@suse.de>
29693
29694 [BZ #13852]
29695 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29696 ieee754/flt-32 implementation for sin, cos and sincos.
29697 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29698 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29699 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29700 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29701 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29702 ieee754/flt-32 implementation for tan.
29703
29704 * math/libm-test.inc (cos_test): Enable some large input tests for
29705 float as well
29706 (sin_test): Likewise.
29707 (sincos_test): Likewise.
29708 (tan_test): Add tests for large input.
29709
29710 * sysdeps/i386/fpu/libm-test-ulps: Update.
29711
81c64153
AJ
297122012-03-15 Andreas Jaeger <aj@suse.de>
29713
29714 [BZ #13658]
29715 * math/libm-test.inc (cos_test): Add more test cases.
29716 (sin_test): Likewise.
29717 (sincos_test): Likewise.
29718
7bbfa5c6
AJ
297192012-03-15 Andreas Jaeger <aj@suse.de>
29720
29721 [BZ #13837]
29722 * math/libm-test.inc (cos_test): Add a test case for large input
29723 value.
29724 (sin_test): Likewise.
29725 (sincos_test): Likewise.
29726
297272012-03-15 Andreas Jaeger <aj@suse.de>,
29728 Joseph Myers <joseph@codesourcery.com>
29729
29730 [BZ #13658]
0671f479 29731 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
29732 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29733 * sysdeps/i386/fpu/branred.c: Likewise.
29734 * sysdeps/i386/fpu/dosincos.c: Likewise.
29735 * sysdeps/i386/fpu/mpa.c: Likewise.
29736 * sysdeps/i386/fpu/s_cos.S: Likewise.
29737 * sysdeps/i386/fpu/s_sin.S: Likewise.
29738 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29739 * sysdeps/i386/fpu/sincos32.c: Likewise.
29740
29741 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29742 Define.
29743 (libc_feupdateenv_53bit): Define.
29744 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29745 Define.
29746 (libc_feupdateenv_53bit): Define.
29747
29748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29749 53 bit (without extend i386 double precision).
29750
29751 * math/libm-test.inc (sincos_test): Add tests for large input.
29752 (sin): Likewise.
29753 (cos): Likewise.
29754
29755 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29756
9cad04ea
AS
297572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29758
29759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29760
f7062b9a
DM
297612012-03-15 David S. Miller <davem@davemloft.net>
29762
29763 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29764 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29765 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29766 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29779 file.
f7062b9a 29780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
29781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29782 file.
f7062b9a 29783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
29784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29785 file.
f7062b9a 29786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
29787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29788 file.
f7062b9a
DM
29789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29791 fmin/fmax sysdep routines.
29792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29793
7bd951ff
DM
297942012-03-14 David S. Miller <davem@davemloft.net>
29795
559398ab
DM
29796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29803 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29806 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29807 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29813 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29817 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29822 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29823 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29824 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29825 routines.
29826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29827 file.
559398ab 29828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
29829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29830 file.
559398ab 29831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
29832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29833 file.
559398ab 29834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
29835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29836 file.
559398ab 29837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
29838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29839 file.
559398ab 29840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
29841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29842 file.
29843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29844 file.
29845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29846 file.
29847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29848 file.
29849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29850 New file.
29851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29852 file.
29853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29854 file.
559398ab 29855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
29856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29857 file.
559398ab 29858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29860 file.
559398ab 29861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
29862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29863 file.
559398ab 29864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
29865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29866 VIS3 routines.
559398ab
DM
29867
29868 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29869 New file.
29870
5a1c1e32
DM
29871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29872
eae47a36
DM
29873 * sysdeps/sparc/configure.in: New file.
29874 * sysdeps/sparc/configure: Generate.
29875 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29876 * configure: Regenerate.
29877 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29878 * config.make.in (have-as-vis3): New.
29879 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29880 available use -Av9d instead of -Av9a.
29881 * sysdeps/sparc/sparc64/Makefile: Likewise.
29882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
29883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29884 New file.
29885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29886 file.
29887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29888 New file.
29889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29890 file.
eae47a36
DM
29891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29892 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29893 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29894 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29895 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29896
c0c83bc8
DM
29897 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29898 fzeros/fnegs to load 0x80000000 into a float register instead of
29899 using the stack.
7bd951ff
DM
29900 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29901
bd951ccb
JM
299022012-03-14 Joseph Myers <joseph@codesourcery.com>
29903
29904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29905 bits/syscall.h.
29906 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29907 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29908 ($(inst_includedir)/bits/syscall.h): Remove rule.
29909 ($(objpfx)bits/syscall.d): Include instead of
29910 $(objpfx)syscall-list.d.
29911 (generated): Change syscall-list.h and syscall-list.d to
29912 bits/syscall.h and bits/syscall.d.
29913
bb4e6db2
RM
299142012-03-14 Roland McGrath <roland@hack.frob.com>
29915
29916 [BZ #13846]
29917 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29918
aa4a2ae1
JM
299192012-03-14 Joseph Myers <joseph@codesourcery.com>
29920
e456826d
JM
29921 [BZ #13841]
29922 * math/s_csqrt.c: Include <float.h>.
29923 (__csqrt): Scale large or subnormal inputs.
29924 * math/s_csqrtf.c: Likewise.
29925 * math/s_csqrtl.c: Likewise.
29926 * math/libm-test.inc (csqrt_test): Add more tests.
29927 * sysdeps/i386/fpu/libm-test-ulps: Update.
29928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29929
aa4a2ae1
JM
29930 [BZ #13840]
29931 * math/libm-test.inc (hypot_test): Add more tests.
29932
7c10fd35
DM
299332012-03-13 David S. Miller <davem@davemloft.net>
29934
29935 [BZ #13840]
29936 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29937 double-precision for the calculation instead of scaling.
29938
f453b98b
JM
299392012-03-13 Joseph Myers <joseph@codesourcery.com>
29940
29941 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29942 manipulate bits before adding and subtracting TWO52[sx].
29943 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29944 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29945 Likewise.
29946 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29947
09a3453f
DM
299482012-03-13 David S. Miller <davem@davemloft.net>
29949
8e59da90
DM
29950 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29951 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29953 rtld-global-offsets.h
29954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29955
2a8ab7f2
DM
29956 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29957 large parameters.
29958
10f62770
DM
29959 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29960
5f0bdb18
DM
29961 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29962 'err' in the ifdef scope in which it is actually used.
29963
09a3453f
DM
29964 * nss/nss_db/db-init.c: Include string.h
29965
b4b2eb5e
DM
299662012-03-12 David S. Miller <davem@davemloft.net>
29967
98bb2f1c
DM
29968 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29969 masking out of the most significant byte of random value used.
29970 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29971 Fix coding style in previous change.
29972
b4b2eb5e
DM
29973 * sysdeps/unix/sysv/linux/kernel-features.h
29974 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29975 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29976 expression.
29977 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29978 later.
29979
6e226b09
DM
299802012-03-11 David S. Miller <davem@davemloft.net>
29981
a1bcbd40
DM
29982 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29983 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29984 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29985 for 'resultvar' otherwise things get truncated on 64-bit.
29986
cb9d6174
DM
29987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29988 Fix masking out of the most significant byte of random value used.
29989
6e226b09
DM
29990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29991
058c132d
AS
299922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29993
29994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29995
2d2cd515
DM
299962012-03-09 David S. Miller <davem@davemloft.net>
29997
29998 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29999 variables with appropriate CPP guards.
30000 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30001 frame pointer, not the stack pointer. Correct layout comments. Fix test
30002 on resulting framesize and the management of the outregs buffer for pltexit.
30003 Preserve floating point return values across _dl_call_pltexit call.
30004 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30005 framesize and the management of the outregs buffer for pltexit.
30006 Preserve floating point return values across _dl_call_pltexit
30007 call.
30008 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30009 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30010 (print_exit): Fix format string for return register value.
30011
9a07f9d0
JM
300122012-03-10 Joseph Myers <joseph@codesourcery.com>
30013
30014 * sunrpc/Makefile (others): Add rpcgen.
30015 ($(objpfx)rpcgen): Remove special build rule and dependency on
30016 libc.
30017 * sunrpc/rpcgen.c: New file.
30018
547b5e30
PE
300192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30020
c524201a
PE
30021 [BZ #13673]
30022 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30023 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30024 * sysdeps/i386/crti.S: Likewise.
30025 * sysdeps/i386/crtn.S: Likewise.
30026 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30027 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30028 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30029 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30030 * sysdeps/sh/crti.S: Likewise.
30031 * sysdeps/sh/crtn.S: Likewise.
30032 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30033
7b6235f2
PE
30034 [BZ #13673]
30035 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30036 with URL.
30037 * locale/programs/locfile-kw.gperf: Likewise.
30038 * locale/programs/charmap-kw.h: Regenerated.
30039 * locale/programs/locfile-kw.h: Likewise.
30040
547b5e30
PE
30041 [BZ #13673]
30042 * intl/plural.y: Replace FSF snail mail address with URL.
30043 * intl/plural.c: Regenerated.
30044
5f0a5dae
RH
300452012-03-09 Richard Henderson <rth@twiddle.net>
30046
30047 * include/math_private.h: Remove file.
30048 * math/math_private.h: Move file ...
30049 * sysdeps/generic/math_private.h: ... here.
30050
b8c03620
RH
30051 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30052 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30053 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30054
4e234f5d 30055 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30056 and <math_private.h>.
30057 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30058 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30059 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30060 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30061 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30062 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30063 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30065 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30066 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30067 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30068 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30071 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30073 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30075 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30076 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30089 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30090 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30092 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30093 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30096 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30097 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30102 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30109 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30110 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30111 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30112 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30113 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30114 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30115 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30116 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30117 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30118 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30120 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30121 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30122 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30123 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30124 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30125 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30126 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30128 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30129 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30132 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30133 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30134 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30136 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30137 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30138 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30139 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30140 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30143 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30144 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30145 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30148 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30149 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30150 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30151 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30152 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30153 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30154 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30155 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30156 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30157 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30158 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30159 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30160 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30161 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30162 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30164 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30165 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30166 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30167 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30168 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30169 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30170 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30171 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30172 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30173 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30174 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30175 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30176 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30177 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30178 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30179 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30180 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30181 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30183 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30184 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30185 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30186 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30187 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30188 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30189 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30190 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30191 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30192 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30193 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30194 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30195 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30196 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30197 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30198 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30199 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30200 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30201 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30205 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30206 * sysdeps/ieee754/k_standard.c: Likewise.
30207 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30208 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30209 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30210 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30211 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30212 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30213 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30214 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30215 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30216 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30217 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30218 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30219 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30220 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30221 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30224 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30225 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30226 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30227 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30228 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30229 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30230 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30231 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30232 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30233 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30234 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30235 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30236 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30237 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30238 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30239 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30241 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30242 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30243 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30244 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30245 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30246 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30247 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30248 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30249 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30250 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30251 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30252 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30253 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30254 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30255 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30256 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30257 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30258 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30259 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30261 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30262 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30263 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30264 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30265 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30266 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30267 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30268 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30269 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30277 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30278 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30283 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30284 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30286 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30287 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30288 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30289 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30290 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30292 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30293 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30296 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30297 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30298 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30299 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30300 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30301 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30303 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30304 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30305 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30306 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30307 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30310 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30311 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30314 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30321 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30326 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30327 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30329 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30332 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30334 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30335 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30337 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30339 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30354 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30355 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30356 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30357 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30367 * sysdeps/ieee754/s_lib_version.c: Likewise.
30368 * sysdeps/ieee754/s_matherr.c: Likewise.
30369 * sysdeps/ieee754/s_signgam.c: Likewise.
30370 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30371 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30372 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30373 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30374 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30375 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30376 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30377 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30378 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30379 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30380 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30381 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30382 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30383 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30384 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30385 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30387 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30388 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30391
1991fa03
JM
303922012-03-09 Joseph Myers <joseph@codesourcery.com>
30393
30394 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30395 * sunrpc/rpc_main.c: Likewise.
30396 * sunrpc/rpc_svcout.c: Likewise.
30397
60d6f5a6
DM
303982012-03-09 David S. Miller <davem@davemloft.net>
30399
30400 * include/math_private.h: New file.
30401
4962050e
JM
304022012-03-09 Joseph Myers <joseph@codesourcery.com>
30403
02a6f887
JM
30404 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30405 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30406 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30407 from <bits/socket_type.h>.
30408 (enum __socket_type): Don't define here.
30409 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30411 bits/socket_type.h.
30412
c6e013c1
JM
30413 [BZ #13566]
30414 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30415 checking __USE_GNU.
30416
4962050e
JM
30417 * Makerules ($(inst_includedir)/%.h): New rule.
30418 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30419 (install-others): Remove variable setting.
30420 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30421
38842f45
RH
304222012-03-08 Richard Henderson <rth@twiddle.net>
30423
67bb6da6
RH
30424 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30425 from macro to inline function; merge with the
30426 !__LIBC_INTERNAL_MATH_INLINES version.
30427 (__ieee754_sqrtf): Likewise.
30428
15194b4b
RH
30429 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30430 to inline function.
30431 (__rintf, __floor, __floorf): Likewise.
30432
64e21ede
RH
30433 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30434 macro to inline function.
30435 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30436
38842f45
RH
30437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30438 not <math/math_private.h>.
30439
c64bf5fe
DM
304402012-03-08 David S. Miller <davem@davemloft.net>
30441
30442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30443 copyright year.
30444 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30445
82d86f28
TS
304462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30447
30448 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30449 normalization.
30450 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30451 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30452
aea5d727
UD
304532012-03-08 Ulrich Drepper <drepper@gmail.com>
30454
30455 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30456 be defined individually, they must be defined as a block. Define
30457 S for printing a string instead of hidint the different by using a
30458 macro for adding the 'l'.
30459 * stdio-common/tst-fphex-wide.c: Adjust.
30460
70bca0a3
MP
304612012-03-07 Marek Polacek <polacek@redhat.com>
30462
30463 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30464
65b81130
MP
304652012-03-08 Marek Polacek <polacek@redhat.com>
30466
30467 [BZ #13806]
30468 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30469 * stdio-common/tst-fphex.c: Define a few macros to make the
30470 test reusable. Use them.
30471 * stdio-common/tst-fphex-wide.c: New file.
30472
07037eeb
JM
304732012-03-08 Joseph Myers <joseph@codesourcery.com>
30474
a7a93d50
JM
30475 [BZ #6911]
30476 * manual/macros.texi (gnusystems): New macro.
30477 (nongnusystems): Likewise.
30478 (gnulinuxhurdsystems): Likewise.
30479 (gnuhurdsystems): Likewise..
30480 (gnulinuxsystems): Likewise.
30481 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30482 variants of the GNU system, not "GNU system".
30483 * manual/conf.texi: Likewise.
30484 * manual/errno.texi: Likewise. Update example of errno macro
30485 expansion.
30486 * manual/filesys.texi: Likewise.
30487 (getumask): Document as specific to GNU/Hurd.
30488 * manual/install.texi: Likewise. Reword some references to
30489 GNU/Linux.
30490 * manual/intro.texi: Likewise.
30491 * manual/io.texi: Likewise.
30492 (File Name Portability): Detail which constraints are inapplicable
30493 to all GNU systems and which are only inapplicable to GNU/Hurd.
30494 * manual/job.texi: Likewise.
30495 * manual/llio.texi: Likewise.
30496 (O_NOCTTY): Document as present on GNU/Linux.
30497 * manual/maint.texi: Likewise.
30498 * manual/memory.texi: Likewise.
30499 * manual/pattern.texi: Likewise.
30500 * manual/pipe.texi: Likewise.
30501 * manual/process.texi: Likewise.
30502 * manual/resource.texi: Likewise.
30503 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30504 child on GNU/Hurd.
30505 * manual/setjmp.texi: Likewise.
30506 * manual/signal.texi: Likewise.
30507 * manual/startup.texi: Likewise.
30508 * manual/stdio.texi: Likewise.
30509 * manual/terminal.texi: Likewise.
30510 (ONLCR): Document as POSIX.
30511 (OXTABS): Document availability on GNU/Linux as XTABS.
30512 (ONOEOT): Document availability separately from other bits.
30513 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30514 * manual/time.texi: Likewise.
30515 * manual/users.texi: Likewise.
30516 * INSTALL: Regenerated.
30517 * sysdeps/gnu/errlist.c: Regenerated.
30518
07037eeb
JM
30519 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30520 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30521 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30522 puts.
30523 * configure: Regenerated.
30524
d1d3431a
JM
305252012-03-07 Joseph Myers <joseph@codesourcery.com>
30526
af6a1e37
JM
30527 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30528 default includes instead of AC_HEADER_CHECK.
30529 * sysdeps/i386/configure: Regenerated.
30530
d1d3431a
JM
30531 [BZ #10716]
30532 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30533 * math/s_cacoshf.c (__cacoshf): Likewise.
30534 * math/s_cacoshl.c (__cacoshl): Likewise.
30535 * math/s_casinh.c (__casinh): Set signs of result from argument.
30536 * math/s_casinhf.c (__casinhf): Likewise.
30537 * math/s_casinhl.c (__casinhl): Likewise.
30538 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30539 (casinh_test): Add more tests.
30540 * sysdeps/i386/fpu/libm-test-ulps: Update.
30541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30542
482ff4da
UD
305432012-03-07 Ulrich Drepper <drepper@gmail.com>
30544
872fda05
UD
30545 * po/zh_TW.po: Update from translation team.
30546
a4300c7a
UD
30547 * login/Makefile (distribute): Remove variable.
30548 * catgets/Makefile: Likewise.
30549 * mach/Makefile: Likewise.
30550 * malloc/Makefile: Likewise.
30551 * misc/Makefile: Likewise.
30552 * iconv/Makefile: Likewise.
30553 * nscd/Makefile: Likewise.
30554 * hurd/Makefile: Likewise.
30555 * manual/Makefile: Likewise.
30556 * locale/Makefile: Likewise.
30557 * intl/Makefile: Likewise.
30558 * conform/Makefile: Likewise.
30559 * nss/Makefile: Likewise.
30560 * time/Makefile: Likewise.
30561 * soft-fp/Makefile: Likewise.
30562 * dirent/Makefile: Likewise.
30563 * gmon/Makefile: Likewise.
30564 * po/Makefile: Likewise.
30565 * rt/Makefile: Likewise.
30566 * socket/Makefile: Likewise.
30567 * math/Makefile: Likewise.
30568 * signal/Makefile: Likewise.
30569 * debug/Makefile: Likewise.
30570 * elf/Makefile: Likewise.
30571 * timezone/Makefile: Likewise.
30572 * stdlib/Makefile: Likewise.
30573 * iconvdata/Makefile: Likewise.
30574 * sunrpc/Makefile: Likewise.
30575 * io/Makefile: Likewise.
30576 * argp/Makefile: Likewise.
30577 * inet/Makefile: Likewise.
30578 * hesiod/Makefile: Likewise.
30579 * grp/Makefile: Likewise.
30580 * csu/Makefile: Likewise.
30581 * wctype/Makefile: Likewise.
30582 * crypt/Makefile: Likewise.
30583 * libio/Makefile: Likewise.
30584 * string/Makefile: Likewise.
30585 * nis/Makefile: Likewise.
30586 * resolv/Makefile: Likewise.
30587 * stdio-common/Makefile: Likewise.
30588 * wcsmbs/Makefile: Likewise.
30589 * dlfcn/Makefile: Likewise.
30590 * posix/Makefile: Likewise.
30591
3b7c4e74 30592 [BZ #6959]
482ff4da
UD
30593 * timezone/Makefile: Don't install timezone files, just the programs
30594 and scripts.
30595
f72ed77d
UD
305962012-03-06 Ulrich Drepper <drepper@gmail.com>
30597
a000466f
UD
30598 * nss/databases.def: Add missing gshadow entry.
30599
f72ed77d
UD
30600 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30601
a53b7a4e
MP
306022012-03-06 Marek Polacek <polacek@redhat.com>
30603
30604 [BZ #13726]
30605 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30606 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30607 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30608 * stdio-common/tst-long-dbl-fphex.c: New file.
30609
e9258400
DM
306102012-03-06 David S. Miller <davem@davemloft.net>
30611
30612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30613 (set_obp_int): New function.
30614 (get_obp_int): New function.
30615 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30616 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30617 Avoid unused variable warnings on 'val' and use builtin_expect.
30618 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30619 __builtin_expect.
e9258400
DM
30620 (INLINE_CLONE_SYSCALL): Likewise.
30621
3bd2c723
DM
306222012-03-05 David S. Miller <davem@davemloft.net>
30623
30624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30625
bbb78d03
AS
306262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30627
884c5db4
AS
30628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30629
bbb78d03
AS
30630 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30631 only for |x| >= 40.
30632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30633
1c9f702a 306342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30635
30636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30637 Replace gettimeofday with __vdso_gettimeofday.
30638
7be16f82
RM
30639 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30640 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30641 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30642
30643 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30644 time with __vdso_time.
30645
ed58a00f
JM
306462012-03-05 Joseph Myers <joseph@codesourcery.com>
30647
30648 * manual/lang.texi (size_t): Note types to which size_t may be
30649 equivalent with the GNU C Library, but do not describe when
30650 differences between them are significant.
30651
30ee4ced
AJ
306522012-03-05 Andreas Jaeger <aj@suse.de>
30653
30654 * sysdeps/i386/fpu/libm-test-ulps: Update.
30655
b7cd39e8
JM
306562012-03-05 Joseph Myers <joseph@codesourcery.com>
30657
30658 [BZ #3976]
30659 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30660 (__ieee754_pow): Save and restore rounding mode and use
30661 round-to-nearest for main computations.
30662 * math/libm-test.inc (pow_test_tonearest): New function.
30663 (pow_test_towardzero): Likewise.
30664 (pow_test_downward): Likewise.
30665 (pow_test_upward): Likewise.
30666 (main): Call the new functions.
30667 * sysdeps/i386/fpu/libm-test-ulps: Update.
30668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
30669
30670 [BZ #3976]
30671 * math/libm-test.inc (cosh_test_tonearest): New function.
30672 (cosh_test_towardzero): Likewise.
30673 (cosh_test_downward): Likewise.
30674 (cosh_test_upward): Likewise.
30675 (sinh_test_tonearest): Likewise.
30676 (sinh_test_towardzero): Likewise.
30677 (sinh_test_downward): Likewise.
30678 (sinh_test_upward): Likewise.
30679 (main): Call the new functions.
30680 * sysdeps/i386/fpu/libm-test-ulps: Update.
30681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30682
6c6a98c9
TV
306832012-03-05 Tom de Vries <tom@codesourcery.com>
30684
30685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30686 default stack guard is set in last bytes.
30687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30688
21bb2d2e 306892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30690
21bb2d2e 30691 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30692
21bb2d2e
AJ
30693 [BZ #13656]
30694 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30695 possibly allocate from heap instead of stack.
30696 * stdio-common/bug-vfprintf-nargs.c: New file.
30697 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30698
c6922934
AS
306992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30700
30701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30702
bc957d53
MP
307032012-03-03 Marek Polacek <polacek@redhat.com>
30704
30705 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30706 * math/math_private.h: Likewise.
30707 * stdlib/tst-strtod.c: Likewise.
30708 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30709 * sysdeps/x86_64/bits/atomic.h: Likewise.
30710
6358490d
DM
307112012-03-02 David S. Miller <davem@davemloft.net>
30712
30713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30717 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30718 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30719 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30720 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30721
01ae168d
RM
307222012-03-02 Roland McGrath <roland@hack.frob.com>
30723
d9a17c07
RM
30724 [BZ #13792]
30725 * manual/examples/README: New file, says the example source files
30726 can be used under GPL>=2.
30727 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30728 line containing just "*/".
30729 * manual/examples/add.c: Add copyright header (GPL>=2).
30730 * manual/examples/argp-ex1.c: Likewise.
30731 * manual/examples/argp-ex2.c: Likewise.
30732 * manual/examples/argp-ex3.c: Likewise.
30733 * manual/examples/argp-ex4.c: Likewise.
30734 * manual/examples/atexit.c: Likewise.
30735 * manual/examples/db.c: Likewise.
30736 * manual/examples/dir.c: Likewise.
30737 * manual/examples/dir2.c: Likewise.
30738 * manual/examples/execinfo.c: Likewise.
30739 * manual/examples/filecli.c: Likewise.
30740 * manual/examples/filesrv.c: Likewise.
30741 * manual/examples/fmtmsgexpl.c: Likewise.
30742 * manual/examples/genpass.c: Likewise.
30743 * manual/examples/inetcli.c: Likewise.
30744 * manual/examples/inetsrv.c: Likewise.
30745 * manual/examples/isockad.c: Likewise.
30746 * manual/examples/longopt.c: Likewise.
30747 * manual/examples/memopen.c: Likewise.
30748 * manual/examples/memstrm.c: Likewise.
30749 * manual/examples/mkfsock.c: Likewise.
30750 * manual/examples/mkisock.c: Likewise.
30751 * manual/examples/mygetpass.c: Likewise.
30752 * manual/examples/pipe.c: Likewise.
30753 * manual/examples/popen.c: Likewise.
30754 * manual/examples/rprintf.c: Likewise.
30755 * manual/examples/search.c: Likewise.
30756 * manual/examples/select.c: Likewise.
30757 * manual/examples/setjmp.c: Likewise.
30758 * manual/examples/sigh1.c: Likewise.
30759 * manual/examples/sigusr.c: Likewise.
30760 * manual/examples/stpcpy.c: Likewise.
30761 * manual/examples/strdupa.c: Likewise.
30762 * manual/examples/strftim.c: Likewise.
30763 * manual/examples/strncat.c: Likewise.
30764 * manual/examples/subopt.c: Likewise.
30765 * manual/examples/swapcontext.c: Likewise.
30766 * manual/examples/termios.c: Likewise.
30767 * manual/examples/testopt.c: Likewise.
30768 * manual/examples/testpass.c: Likewise.
30769 * manual/examples/timeval_subtract.c: Likewise.
30770
01ae168d
RM
30771 [BZ #13792]
30772 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30773 function to ...
30774 * manual/timeval_subtract.c.texi: ... here, new file.
30775
49efa33d
DM
307762012-03-02 David S. Miller <davem@davemloft.net>
30777
30778 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30779
28afd92d
JM
307802012-03-02 Joseph Myers <joseph@codesourcery.com>
30781
804360ed
JM
30782 [BZ #3976]
30783 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30784 (__sin): Save and restore rounding mode and use round-to-nearest
30785 for all computations.
30786 (__cos): Save and restore rounding mode and use round-to-nearest
30787 for all computations.
30788 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30789 <fenv.h>.
30790 (tan): Save and restore rounding mode and use round-to-nearest for
30791 all computations.
30792 * math/libm-test.inc (cos_test_tonearest): New function.
30793 (cos_test_towardzero): Likewise.
30794 (cos_test_downward): Likewise.
30795 (cos_test_upward): Likewise.
30796 (sin_test_tonearest): Likewise.
30797 (sin_test_towardzero): Likewise.
30798 (sin_test_downward): Likewise.
30799 (sin_test_upward): Likewise.
30800 (tan_test_tonearest): Likewise.
30801 (tan_test_towardzero): Likewise.
30802 (tan_test_downward): Likewise.
30803 (tan_test_upward): Likewise.
30804 (main): Call the new functions.
30805 * sysdeps/i386/fpu/libm-test-ulps: Update.
30806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30807
a6d06d7b
JM
30808 [BZ #10135]
30809 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30810 small n, then large n, before computing and testing k+n.
30811 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30812 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30813 Likewise.
30814 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30815 Likewise.
30816 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30817 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30818 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30819 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30822 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30823 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30824 * math/libm-test.inc (scalbn_test): Add more tests.
30825 (scalbln_test): Likewise.
30826
07e12bb3
JM
30827 * manual/filesys.texi (mode_t): Describe constraints on size and
30828 signedness, not exact equivalence to a particular type.
30829 (ino_t): Likewise.
30830 (ino64_t): Likewise.
30831 (dev_t): Likewise.
30832 (nlink_t): Likewise.
30833 (blkcnt_t): Likewise.
30834 (blkcnt64_t): Likewise.
30835 * manual/llio.texi (off_t): Likewise.
30836
28afd92d
JM
30837 [BZ #3976]
30838 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30839 (__ieee754_exp): Save and restore rounding mode and use
30840 round-to-nearest for all computations.
30841 * math/libm-test.inc (exp_test_tonearest): New function.
30842 (exp_test_towardzero): Likewise.
30843 (exp_test_downward): Likewise.
30844 (exp_test_upward): Likewise.
30845 (main): Call the new functions.
30846 * sysdeps/i386/fpu/libm-test-ulps: Update.
30847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30848
b1eeb65d
CD
308492012-03-01 Chris Demetriou <cgd@google.com>
30850
30851 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30852 have predictable order.
30853
53362a4b
DM
308542012-03-01 David S. Miller <davem@davemloft.net>
30855
3c969083
DM
30856 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30857
759707de
DM
30858 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30859 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30860 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30861 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30862
dfdb8ff2
DM
30863 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30864 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30865 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30867 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30868 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30869 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30870 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30871 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30872
ead89f96
DM
30873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30874
7f66bd07
DM
30875 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30876 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30877 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30878
53362a4b
DM
30879 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30880 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30881 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30882 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30883 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30884 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30885 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30886 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30887 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30888 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30889 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30893 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30895 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30896 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30897 * sysdeps/sparc/elf/configure: Regenerated.
30898
7b1902cb
JM
308992012-03-01 Joseph Myers <joseph@codesourcery.com>
30900
bec039bc
JM
30901 * configure.in (AS, LD): Require binutils 2.20 or later.
30902 * configure: Regenerated.
30903 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30904 as required minimum version.
30905 * INSTALL: Regenerated.
30906
7b1902cb
JM
30907 [BZ #2541]
30908 [BZ #4108]
30909 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30910 before squaring exponent.
30911 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30912 bottom long double and 27 bits of top long double before squaring
30913 exponent.
30914 * math/libm-test.inc (erfc_test): Add more tests.
30915 * sysdeps/i386/fpu/libm-test-ulps: Update.
30916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30918
f775c276
KT
309192012-03-01 Kai Tietz <ktietz@redhat.com>
30920
30921 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30922 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30923 containing bit-fields.
30924 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30925 * soft-fp/single.h (_FP_UNION_S): Likewise.
30926 * soft-fp/double.h (_FP_UNION_D): Likewise.
30927
5b8a4d4a
JM
309282012-02-29 Joseph Myers <joseph@codesourcery.com>
30929
0bab47b6
JM
30930 [BZ #13786]
30931 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30932 not include ../strcmp.S.
30933 [USE_AS_STRNCASECMP_L]: Likewise.
30934 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30935 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30936 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30937 (__strncasecmp_l_ia32): Define as alias to
30938 __strncasecmp_l_nonascii.
30939
0fcad3e2
JM
30940 [BZ #5794]
30941 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30942 * sysdeps/i386/fpu/libm-test-ulps: Update.
30943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30944
5b8a4d4a
JM
30945 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30947
8fdceb2e
JL
309482012-02-29 Jeff Law <law@redhat.com>
30949
30950 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30951 out of bounds read.
30952
1f393a11
MP
309532012-02-29 Marek Polacek <polacek@redhat.com>
30954
30955 [BZ #13706]
30956 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30957 * elf/Makefile: Add rules to run tst-unused-dep.out.
30958
8847f037
DM
309592012-02-28 David S. Miller <davem@davemloft.net>
30960
30961 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30962 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30963 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30964 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30965 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30966 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30967
169d7f11
JM
309682012-02-29 Joseph Myers <joseph@codesourcery.com>
30969
30970 * math/libm-test.inc (llround_test): Move one test from
30971 lround_test. Use TEST_f_L in moved test.
30972 (lround_test): Move misplaced test to llround_test. Add testcase
30973 from bug 2561.
30974
39adf059
UD
309752012-02-28 Ulrich Drepper <drepper@gmail.com>
30976
30977 * sysdeps/x86_64/fpu/e_expf.S: New file.
30978 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30979
71b5d1c5
SB
309802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30981
30982 [BZ #13637]
30983 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30984 of remain_len that may cause incomplete multi-byte character and
30985 false match.
30986 * posix/bug-regex33.c: New file.
30987 * posix/Makefile (tests): Add bug-regex33.
30988
1f77f049
JM
309892012-02-28 Joseph Myers <joseph@codesourcery.com>
30990
30991 * manual/macros.texi: New file.
30992 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30993 * manual/libc.texinfo: Include macros.texi.
30994 * manual/creatute.texi: Likewise.
30995 * manual/install.texi: Likewise.
30996 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30997 @glibcadj{} in references to the GNU C Library.
30998 * manual/charset.texi: Likewise.
30999 * manual/conf.texi: Likewise.
31000 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31001 when not using those macros.
31002 * manual/creature.texi: Likewise.
31003 * manual/crypt.texi: Likewise.
31004 * manual/errno.texi: Likewise.
31005 * manual/filesys.texi: Likewise.
31006 * manual/header.texi: Likewise.
31007 * manual/install.texi: Likewise.
31008 * manual/intro.texi: Likewise.
31009 * manual/io.texi: Likewise.
31010 * manual/job.texi: Likewise.
31011 * manual/lang.texi: Likewise.
31012 * manual/libc.texiinfo: Likewise.
31013 * manual/llio.texi: Likewise.
31014 * manual/locale.texi: Likewise.
31015 * manual/maint.texi: Likewise.
31016 * manual/math.texi: Likewise.
31017 * manual/memory.texi: Likewise.
31018 * manual/message.texi: Likewise.
31019 * manual/nss.texi: Likewise.
31020 * manual/pattern.texi: Likewise.
31021 * manual/process.texi: Likewise.
31022 * manual/resource.texi: Likewise.
31023 * manual/search.texi: Likewise.
31024 * manual/setjmp.texi: Likewise.
31025 * manual/signal.texi: Likewise.
31026 * manual/socket.texi: Likewise.
31027 * manual/startup.texi: Likewise.
31028 * manual/stdio.texi: Likewise.
31029 * manual/string.texi: Likewise.
31030 * manual/sysinfo.texi: Likewise.
31031 * manual/syslog.texi: Likewise.
31032 * manual/terminal.texi: Likewise.
31033 * manual/time.texi: Likewise.
31034 * manual/users.texi: Likewise.
31035 * INSTALL: Regenerated.
31036 * NOTES: Regenerated.
d40c5d54 31037 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31038
450bf206
AS
310392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31040
31041 * include/dirent.h: Include <dirstream.h> before
31042 <dirent/dirent.h>.
31043
741a235b
DM
310442012-02-28 David S. Miller <davem@davemloft.net>
31045
31046 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31047 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31048 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31049 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31050
d6b5aa58
DM
310512012-02-27 David S. Miller <davem@davemloft.net>
31052
1aff59a3
DM
31053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31055 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31056 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31057
d6b5aa58
DM
31058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31059 frame pointer instead of stack pointer relative arg slot.
31060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31061 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31062 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31063
433f48bf
CD
310642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31065
31066 [BZ #3992]
31067 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31068
d674b76d
DM
310692012-02-27 David S. Miller <davem@davemloft.net>
31070
31071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31075 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31076 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31077 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31078 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31079
0e7727f7
JM
310802012-02-27 Joseph Myers <joseph@codesourcery.com>
31081
31082 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31083 later. Allow versions 5-9.
43be4ca2 31084 * configure: Regenerated.
0e7727f7
JM
31085 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31086 required minimum version and 4.6 as recommended version. Do not
31087 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31088 * INSTALL: Regenerated.
0e7727f7 31089
a78bc654
DM
310902012-02-27 David S. Miller <davem@davemloft.net>
31091
428d5830
DM
31092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31096 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31097 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31098 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31099 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31100
a78bc654
DM
31101 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31102 manipulate bits before adding and subtracting TWO112[sx].
31103 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31104
4579f81c
RM
311052012-02-27 Roland McGrath <roland@hack.frob.com>
31106
36c8acb4
RM
31107 [BZ #13775]
31108 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31109 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31110 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31111 being in POSIX, because they are in 1003.1-2008.
31112
84ad622b
RM
31113 * rt/tst-aio.c: Include <fcntl.h>.
31114 * rt/tst-aio7.c: Likewise.
31115 * rt/tst-aio64.c: Likewise.
31116
4579f81c
RM
31117 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31118
abd923db
JM
311192012-02-27 Joseph Myers <joseph@codesourcery.com>
31120
31121 * manual/install.texi (--with-headers): Describe headers as
31122 interface headers, not private headers.
31123 (Specific advice for GNU/Linux systems): Describe use of headers
31124 from "make headers_install", not private headers from older
31125 kernels.
43be4ca2 31126 * INSTALL: Regenerated.
abd923db
JM
31127 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31128 Change to 2.6.19.
31129 * sysdeps/unix/sysv/linux/configure: Regenerated.
31130
6664049b
JM
31131 * manual/llio.texi (fclean): Remove documentation.
31132
bb8b6697
JM
31133 * manual/Makefile (libc-texi-generated): New variable. Include
31134 version.texi.
31135 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31136 $(libc-texi-generated), not duplicated list of files.
31137 (version.texi, stamp-version): New rules.
31138 (realclean): Remove $(libc-texi-generated), not individual files
31139 from that list. Do not remove dir-add.texinfo.
31140 * manual/libc.texinfo: Comment out uses of edition numbers and
31141 references to printed manual. Remove last-updated dates.
31142 (EDITION): Comment out.
31143 (ISBN): Likewise.
31144 (VERSION, UPDATED): Remove.
31145 (version.texi): Include.
31146
12e5c3b9
AS
311472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31148
31149 * sysdeps/posix/spawni.c: Include <signal.h>.
31150 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31151 * sysdeps/pthread/aio_fsync.c: Likewise.
31152
4efeffc1 311532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31154
ba63ba08
UD
31155 * conform/Makefile (tests): Run only when not cross-compiling and
31156 when fast-check is not defined.
31157
d94a4670
UD
31158 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31159 * conform/data/limits.h-data: Fixes for POSIX2008.
31160 * conform/run-conformtest.sh: Run all tests.
31161 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31162 headers.
31163 * include/bits/dlfcn.h: Likewise.
31164 * include/langinfo.h: Likewise.
31165 * include/monetary.h: Likewise.
31166 * include/sys/poll.h: Likewise.
31167
31168 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31169 for __USE_GNU.
31170 * posix/spawn.h: Define __need_sigset_t.
31171 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31172 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31173 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31174 to get sigevent_t only.
31175 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31176 only for __USE_GNU.
31177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31178 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31179 process_vm_writev only for __USE_GNU.
31180 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31181
31182 * conform/Makefile: For now ignore errors from run-conformtest.
31183 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31184 POSIX to avoid namespace pollution. Don't prepend headers.
31185 * conform/data/aio.h-data: Fixes for POSIX testing.
31186 * conform/data/fcntl.h-data: Likewise.
31187 * conform/data/glob.h-data: Likewise.
31188 * conform/data/grp.h-data: Likewise.
31189 * conform/data/pthread.h-data: Likewise.
31190 * conform/data/pwd.h-data: Likewise.
31191 * conform/data/signal.h-data: Likewise.
31192 * conform/data/spawn.h-data: Likewise.
31193 * conform/data/stdio.h-data: Likewise.
31194 * conform/data/stdlib.h-data: Likewise.
31195 * conform/data/stropts.h-data: Likewise.
31196 * conform/data/sys/mman.h-data: Likewise.
31197 * conform/data/sys/stat.h-data: Likewise.
31198 * conform/data/sys/types.h-data: Likewise.
31199 * conform/data/sys/wait.h-data: Likewise.
31200 * conform/data/time.h-data: Likewise.
31201 * conform/data/unistd.h-data: Likewise.
31202 * conform/data/utime.h-data: Likewise.
31203
31204 * io/sys/stat.h: fchmod was always in POSIX.
31205 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31206 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31207 * rt/aio.h: Define __need_timespec before including <time.h>.
31208 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31209 struct. Add forward declaration of pthread_attr_t and use it in
31210 sigevent.
31211 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31212 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31213 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31214 always remove CLK_TCK definition.
31215
c20105c3
AS
312162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31217
31218 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31219
7a270350
UD
312202012-02-25 Ulrich Drepper <drepper@gmail.com>
31221
31341567
UD
31222 * conform/run-conformtest.sh: New file.
31223 * conform/Makefile: Run run-conformtest for tests.
31224 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31225 support.
31226
31227 * conform/data/uchar.h-data: New file.
31228 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31229 * conform/data/arpa/inet.h-data: Likewise.
31230 * conform/data/assert.h-data: Likewise.
31231 * conform/data/complex.h-data: Likewise.
31232 * conform/data/cpio.h-data: Likewise.
31233 * conform/data/ctype.h-data: Likewise.
31234 * conform/data/dirent.h-data: Likewise.
31235 * conform/data/dlfcn.h-data: Likewise.
31236 * conform/data/errno.h-data: Likewise.
31237 * conform/data/fcntl.h-data: Likewise.
31238 * conform/data/float.h-data: Likewise.
31239 * conform/data/fmtmsg.h-data: Likewise.
31240 * conform/data/fnmatch.h-data: Likewise.
31241 * conform/data/ftw.h-data: Likewise.
31242 * conform/data/glob.h-data: Likewise.
31243 * conform/data/grp.h-data: Likewise.
31244 * conform/data/iconv.h-data: Likewise.
31245 * conform/data/inttypes.h-data: Likewise.
31246 * conform/data/langinfo.h-data: Likewise.
31247 * conform/data/libgen.h-data: Likewise.
31248 * conform/data/limits.h-data: Likewise.
31249 * conform/data/locale.h-data: Likewise.
31250 * conform/data/math.h-data: Likewise.
31251 * conform/data/monetary.h-data: Likewise.
31252 * conform/data/mqueue.h-data: Likewise.
31253 * conform/data/ndbm.h-data: Likewise.
31254 * conform/data/net/if.h-data: Likewise.
31255 * conform/data/netdb.h-data: Likewise.
31256 * conform/data/netinet/in.h-data: Likewise.
31257 * conform/data/nl_types.h-data: Likewise.
31258 * conform/data/poll.h-data: Likewise.
31259 * conform/data/pthread.h-data: Likewise.
31260 * conform/data/pwd.h-data: Likewise.
31261 * conform/data/regex.h-data: Likewise.
31262 * conform/data/sched.h-data: Likewise.
31263 * conform/data/search.h-data: Likewise.
31264 * conform/data/semaphore.h-data: Likewise.
31265 * conform/data/setjmp.h-data: Likewise.
31266 * conform/data/signal.h-data: Likewise.
31267 * conform/data/spawn.h-data: Likewise.
31268 * conform/data/stdarg.h-data: Likewise.
31269 * conform/data/stdio.h-data: Likewise.
31270 * conform/data/stdlib.h-data: Likewise.
31271 * conform/data/string.h-data: Likewise.
31272 * conform/data/strings.h-data: Likewise.
31273 * conform/data/stropts.h-data: Likewise.
31274 * conform/data/sys/ipc.h-data: Likewise.
31275 * conform/data/sys/mman.h-data: Likewise.
31276 * conform/data/sys/msg.h-data: Likewise.
31277 * conform/data/sys/resource.h-data: Likewise.
31278 * conform/data/sys/select.h-data: Likewise.
31279 * conform/data/sys/sem.h-data: Likewise.
31280 * conform/data/sys/shm.h-data: Likewise.
31281 * conform/data/sys/socket.h-data: Likewise.
31282 * conform/data/sys/stat.h-data: Likewise.
31283 * conform/data/sys/statvfs.h-data: Likewise.
31284 * conform/data/sys/time.h-data: Likewise.
31285 * conform/data/sys/timeb.h-data: Likewise.
31286 * conform/data/sys/times.h-data: Likewise.
31287 * conform/data/sys/types.h-data: Likewise.
31288 * conform/data/sys/uio.h-data: Likewise.
31289 * conform/data/sys/un.h-data: Likewise.
31290 * conform/data/sys/utsname.h-data: Likewise.
31291 * conform/data/sys/wait.h-data: Likewise.
31292 * conform/data/syslog.h-data: Likewise.
31293 * conform/data/tar.h-data: Likewise.
31294 * conform/data/termios.h-data: Likewise.
31295 * conform/data/utime.h-data: Likewise.
31296 * conform/data/utmpx.h-data: Likewise.
31297 * conform/data/varargs.h-data: Likewise.
31298 * conform/data/wchar.h-data: Likewise.
31299 * conform/data/wctype.h-data: Likewise.
31300 * conform/data/wordexp.h-data: Likewise.
31301
31302 * include/stropts.h: New file.
31303 * include/uchar.h: New file.
31304 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31305 * include/assert.h: Likewise.
31306 * include/ctype.h: Likewise.
31307 * include/dirent.h: Likewise.
31308 * include/dlfcn.h: Likewise.
31309 * include/fcntl.h: Likewise.
31310 * include/fnmatch.h: Likewise.
31311 * include/glob.h: Likewise.
31312 * include/grp.h: Likewise.
31313 * include/libio.h: Likewise.
31314 * include/locale.h: Likewise.
31315 * include/math.h: Likewise.
31316 * include/net/if.h: Likewise.
31317 * include/netdb.h: Likewise.
31318 * include/netinet/in.h: Likewise.
31319 * include/pthread.h: Likewise.
31320 * include/pwd.h: Likewise.
31321 * include/regex.h: Likewise.
31322 * include/sched.h: Likewise.
31323 * include/search.h: Likewise.
31324 * include/setjmp.h: Likewise.
31325 * include/signal.h: Likewise.
31326 * include/stdio.h: Likewise.
31327 * include/stdlib.h: Likewise.
31328 * include/string.h: Likewise.
31329 * include/sys/cdefs.h: Likewise.
31330 * include/sys/mman.h: Likewise.
31331 * include/sys/msg.h: Likewise.
31332 * include/sys/resource.h: Likewise.
31333 * include/sys/select.h: Likewise.
31334 * include/sys/socket.h: Likewise.
31335 * include/sys/stat.h: Likewise.
31336 * include/sys/statvfs.h: Likewise.
31337 * include/sys/time.h: Likewise.
31338 * include/sys/times.h: Likewise.
31339 * include/sys/uio.h: Likewise.
31340 * include/sys/utsname.h: Likewise.
31341 * include/sys/wait.h: Likewise.
31342 * include/termios.h: Likewise.
31343 * include/time.h: Likewise.
31344 * include/ulimit.h: Likewise.
31345 * include/unistd.h: Likewise.
31346 * include/utime.h: Likewise.
31347 * include/wchar.h: Likewise.
31348 * include/wctype.h: Likewise.
31349 * include/wordexp.h: Likewise.
31350
31351 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31352
7a270350
UD
31353 * time/time.h: TIME_UTC must be a macro.
31354 Make timespec_get available for ISO C11 only as well.
31355
7724defc
UD
313562012-02-24 Ulrich Drepper <drepper@gmail.com>
31357
31358 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31359 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31360
6b1d1d46
JM
313612012-02-24 Joseph Myers <joseph@codesourcery.com>
31362
31363 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31364
0f8bbd69
JM
313652012-02-24 Joseph Myers <joseph@codesourcery.com>
31366
31367 * manual/texinfo.tex: Update to version 2012-01-19.16.
31368
66ab80bc
JM
313692012-02-24 Joseph Myers <joseph@codesourcery.com>
31370
31371 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31372
74981cc5
RM
313732012-02-24 Roland McGrath <roland@hack.frob.com>
31374
ee968201
RM
31375 [BZ #13738]
31376 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31377 * manual/fdl-1.3.texi: New file.
31378 * manual/fdl-1.1.texi: File removed.
31379
74981cc5
RM
31380 [BZ #13738]
31381 * manual/libc.texinfo (FDL_VERSION): New @set.
31382 Use it for mention of FDL in cover text.
31383 (Documentation License): Use it in @include file name.
31384
7bb764bc
JM
313852012-02-22 Joseph Myers <joseph@codesourcery.com>
31386 Roland McGrath <roland@hack.frob.com>
31387
31388 [BZ #5461]
31389 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31390 not LONG_LONG_MAX and LONG_LONG_MIN.
31391 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31392 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31393 name.
31394 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31395
6cbeae47
JM
313962012-02-22 Joseph Myers <joseph@codesourcery.com>
31397
31398 [BZ #2547]
31399 [BZ #11365]
31400 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31401 manipulate bits before adding and subtracting TWO23[sx].
31402 * math/libm-test.inc (nearbyint_test): Add more tests.
31403
fe45ce09
JM
314042012-02-22 Joseph Myers <joseph@codesourcery.com>
31405
31406 [BZ #2548]
31407 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31408 bits before adding and subtracting TWO23[sx].
31409 * math/libm-test.inc (rint_test): Add more tests.
31410 (rint_test_tonearest): Likewise.
31411 (rint_test_towardzero): Likewise.
31412 (rint_test_downward): Likewise.
31413 (rint_test_upward: Likewise.
31414
ff3b3d82
JM
314152012-02-22 Joseph Myers <joseph@codesourcery.com>
31416
31417 [BZ #10110]
31418 * include/stdc-predef.h: New file. Extracted from features.h.
31419 * include/features.h: Include stdc-predef.h.
31420 * Makefile (headers): Add stdc-predef.h.
31421 * CONFORMANCE (Compiler limitations): Update.
31422
ef0aab35
JM
314232012-02-22 Joseph Myers <joseph@codesourcery.com>
31424
31425 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31426
58639409
DM
314272012-02-21 David S. Miller <davem@davemloft.net>
31428
31429 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31430 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31431
c0e70b25
DM
314322012-02-20 David S. Miller <davem@davemloft.net>
31433
31434 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31435 using a normal save/restore sequence, rather than allocating a
31436 dummy stack frame just to store a frame pointer and restore.
31437 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31438
fb06851d
JM
314392012-02-21 Joseph Myers <joseph@codesourcery.com>
31440
31441 * manual/install.texi: Fix stray word in line-wrapped comment.
31442
7a8b71c3
DM
314432012-02-20 David S. Miller <davem@davemloft.net>
31444
d510c123
DM
31445 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31446 both binutils and gcc support GOTDATA.
31447
0722d7c2
DM
31448 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31449 "rd %pc" in the PIC register setup sequences.
31450
3d2b3019
DM
31451 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31452 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31453 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31454 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31455 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31457 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31458 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31459 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31460 (SYSCALL_ERROR_HANDLER): Likewise.
31461 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31462 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31464 (SYSCALL_ERROR_HANDLER): Likewise.
31465
c80098a9
DM
31466 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31467 (HAVE_GCC_GOTDATA): New.
31468 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31469 relocation support in both binutils and gcc.
31470 * sysdeps/sparc/elf/configure: Regenerate.
31471
3a2545a0
DM
31472 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31473 * sysdeps/sparc/sparc32/elf/configure: Delete.
31474 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31475 * sysdeps/sparc/sparc64/elf/configure: Delete.
31476 * sysdeps/sparc/elf/configure.in: New file.
31477 * sysdeps/sparc/elf/configure: Generate.
31478
7a8b71c3
DM
31479 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31480 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31481 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31482 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31483 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31484
f1e86fca
JM
314852012-02-21 Joseph Myers <joseph@codesourcery.com>
31486
31487 * manual/install.texi: Do not mention specific glibc version
31488 numbers.
31489 * manual/libc.texinfo (VERSION, UPDATED): Update.
31490 (@copying): Use @copyright{} and range of years.
31491
0e7dfaef
JM
314922012-02-21 Joseph Myers <joseph@codesourcery.com>
31493
31494 [BZ #13695]
31495 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31496 [crti.S not in sysdirs] (generated): Do not append.
31497 [crti.S not in sysdirs] (omit-deps): Likewise.
31498 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31499 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31500 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31501 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31502 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31503 Likewise.
31504 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31505 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31506 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31507 * csu/defs.awk: Remove file.
31508 * sysdeps/generic/initfini.c: Likewise.
31509 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31510 variable.
31511 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31512 Likewise.
31513
599af3ca
JM
315142012-02-20 Joseph Myers <joseph@codesourcery.com>
31515
31516 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31517 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31518 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31519 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31520 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31521 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31522 <bits/epoll.h>.
31523 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31524 (__EPOLL_PACKED): Define to empty if not defined by
31525 <bits/epoll.h>.
31526 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31528 bits/epoll.h.
31529
0e499750
JM
315302012-02-20 Joseph Myers <joseph@codesourcery.com>
31531
31532 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31533 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31534 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31535 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31536 <bits/timerfd.h>.
31537 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31539 bits/timerfd.h.
31540
5ad91f6e
JM
315412012-02-20 Joseph Myers <joseph@codesourcery.com>
31542
31543 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31544 in C locale.
31545 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31546 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31547 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31549
06b99b02
AJ
315502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31551
31552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31553 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31554
7638c0fd
AS
315552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31556
31557 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31558 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31559 defined.
31560 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31561 Likewise.
31562 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31563 entry for 2.16.
31564
92221550
AJ
315652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31566
31567 * math/w_acos.c: Use non-signaling floating-point comparisons.
31568 * math/w_acosf.c: Likewise.
31569 * math/w_acosh.c: Likewise.
31570 * math/w_acoshf.c: Likewise.
31571 * math/w_acoshl.c: Likewise.
31572 * math/w_acosl.c: Likewise.
31573 * math/w_asin.c: Likewise.
31574 * math/w_asinf.c: Likewise.
31575 * math/w_asinl.c: Likewise.
31576 * math/w_atanh.c: Likewise.
31577 * math/w_atanhf.c: Likewise.
31578 * math/w_atanhl.c: Likewise.
31579 * math/w_exp2.c: Likewise.
31580 * math/w_exp2f.c: Likewise.
31581 * math/w_exp2l.c: Likewise.
31582 * math/w_j0.c: Likewise.
31583 * math/w_j0f.c: Likewise.
31584 * math/w_j0l.c: Likewise.
31585 * math/w_j1.c: Likewise.
31586 * math/w_j1f.c: Likewise.
31587 * math/w_j1l.c: Likewise.
31588 * math/w_jn.c: Likewise.
31589 * math/w_jnf.c: Likewise.
31590 * math/w_log.c: Likewise.
31591 * math/w_log10.c: Likewise.
31592 * math/w_log10f.c: Likewise.
31593 * math/w_log10l.c: Likewise.
31594 * math/w_log2.c: Likewise.
31595 * math/w_log2f.c: Likewise.
31596 * math/w_log2l.c: Likewise.
31597 * math/w_logf.c: Likewise.
31598 * math/w_logl.c: Likewise.
31599 * math/w_sqrt.c: Likewise.
31600 * math/w_sqrtf.c: Likewise.
31601 * math/w_sqrtl.c: Likewise.
31602 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31603 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31605 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31606 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31607
ebaf36eb
JM
316082012-02-19 Joseph Myers <joseph@codesourcery.com>
31609
31610 [BZ #9739]
31611 * manual/string.texi (strnlen): Use correct parameter name in
31612 equivalent expression.
31613
71c254a6
JM
316142012-02-19 Joseph Myers <joseph@codesourcery.com>
31615
31616 [BZ #11174]
31617 * manual/users.texi (seteuid): Consistently use neweuid for
31618 argument name.
31619
16d2c631
JM
316202012-02-19 Joseph Myers <joseph@codesourcery.com>
31621
31622 [BZ #13704]
31623 * manual/nss.texi (Services in the NSS configuration): Correct
31624 list of services in example configuration file.
31625
cd837b09
NB
316262012-02-19 Nick Bowler <nbowler@draconx.ca>
31627
31628 [BZ #11322]
31629 * manual/arith.texi: Remove statements about negative zero
31630 behaving identically to zero.
31631
02c4bbad
JM
316322012-02-18 Joseph Myers <joseph@codesourcery.com>
31633
31634 [BZ #5993]
31635 * manual/install.texi: Do not document upgrading from libc5.
31636
366842e7
JM
316372012-02-18 Joseph Myers <joseph@codesourcery.com>
31638
31639 [BZ #4596]
31640 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31641
dd54084d
DM
316422012-02-18 David S. Miller <davem@davemloft.net>
31643
31644 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31645 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31646 %o7 across the call.
31647 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31648 instead.
31649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31650 SETUP_PIC_REG_LEAF.
31651 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31652 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31653 * sysdeps/sparc/crtn.S: Likewise.
31654
2bcc53a3
UD
316552012-02-17 Ulrich Drepper <drepper@gmail.com>
31656
31657 * aout/Makefile: Remove.
31658
09c093b5
RK
316592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31660
31661 [BZ #13058]
31662 * manual/examples/argp-ex1.c (main): Format definition in GNU
31663 style.
31664 * manual/examples/argp-ex2.c (main): Likewise.
31665 * manual/examples/argp-ex3.c (main): Likewise.
31666 * manual/examples/argp-ex4.c (main): Likewise.
31667 * manual/examples/longopt.c (main): Use new-style prototype
31668 definition.
31669 * manual/examples/strncat.c (main): Specify return type and use
31670 (void) for arguments.
31671 * manual/examples/subopt.c (main): Use char **argv argument.
31672
2ee633a2
JM
316732012-02-17 Joseph Myers <joseph@codesourcery.com>
31674
31675 [BZ #5077]
31676 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31677 rounding modes.
31678
0520adde
FB
316792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31680
31681 [BZ #6907]
31682 * manual/string.texi (strchr): Change when strchrnul is
31683 recommended.
31684
3f4081cd
DGM
316852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31686
31687 [BZ #174]
31688 * manual/locale.texi (setlocale): Document LOCPATH.
31689
d1b10e78
JM
316902012-02-17 Joseph Myers <joseph@codesourcery.com>
31691
31692 [BZ #10210]
31693 * manual/process.texi (execle): Move @dots{} before last argument.
31694
79c6869c
PB
316952012-02-17 Paul Bolle <pebolle@tiscali.nl>
31696
31697 [BZ #12047]
31698 * manual/charset.texi (Generic Charset Conversion): Fix typo
31699 (LC_TYPE -> LC_CTYPE).
31700
cc6e48bc
NB
317012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31702
31703 [BZ #5805]
31704 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31705 (scalbnf): Likewise.
31706 (scalbnl): Likewise.
31707 (scalbln): Likewise.
31708 (scalblnf): Likewise.
31709 (scalblnl): Likewise.
31710 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31711 (vwarnx): Likewise.
31712 (verr): Likewise.
31713 (verrx): Likewise.
31714 * manual/filesys.texi (telldir): Use braces around return type.
31715 * manual/llio.texi (mmap): Add space after comma.
31716 (mmap64): Likewise.
31717 * manual/math.texi (jn): Use @var{} on parameter names.
31718 (jnf): Likewise.
31719 (jnl): Likewise.
31720 (yn): Likewise.
31721 (ynf): Likewise.
31722 (ynl): Likewise.
31723 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31724 line.
31725 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31726 "...".
31727 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31728 (sched_get_priority_max): Likewise.
31729 * manual/signal.texi (sigvec): Add space after comma.
31730 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31731 names.
31732 (if_indextoname): Likewise.
31733 (if_freenameindex): Likewise.
31734 (sendto): Use ',' instead of '.' in prototype.
31735 * manual/startup.texi (syscall): Use @dots{} instead of literal
31736 "...".
31737 * manual/stdio.texi (__fpending): Separate initial words of
31738 paragraph from @deftypefun line.
31739 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31740 "...".
31741 (vsyslog): Use @var{} on parameter names.
31742 * manual/terminal.texi (stty): Use @var{} on parameter names.
31743 * manual/users.texi (getutmp): Use @var{} on parameter names.
31744 (getutmpx): Likewise.
31745
5b23062f
JM
317462012-02-17 Joseph Myers <joseph@codesourcery.com>
31747
31748 [BZ #6884]
31749 * manual/stdio.texi (fopen): Fix typos in description of
31750 ",ccs=STRING".
31751
8dee4833
AJ
317522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31753
31754 [BZ #4026]
31755 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31756 get clock_id definition.
31757
9078ce93
TS
317582012-02-17 Thomas Schwinge <thomas@schwinge.name>
31759
31760 [BZ #4822]
31761 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31762 (madvise): Cast every argument to void on its own.
31763
3835c55f
JM
317642012-02-17 Joseph Myers <joseph@codesourcery.com>
31765
31766 [BZ #9902]
31767 * manual/startup.texi (Exit Status): Fix typo.
31768
35c47e37
JM
317692012-02-17 Joseph Myers <joseph@codesourcery.com>
31770
31771 [BZ #10140]
31772 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31773 * manual/examples/argp-ex2.c: Likewise.
31774 * manual/examples/argp-ex3.c: Likewise.
31775
e3b69ca7
RH
317762012-02-16 Richard Henderson <rth@redhat.com>
31777
31778 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31779 * sysdeps/s390/s390-32/initfini.c: Remove.
31780 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31781 * sysdeps/s390/s390-64/initfini.c: Remove.
31782
df83af67
KK
317832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31784
31785 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31786 compiler output for sysdeps/generic/initfini.c.
31787 * sysdeps/sh/elf/initfini.c: Remove file.
31788
f63f3380
DM
317892012-02-16 David S. Miller <davem@davemloft.net>
31790
fb59b3a4
DM
31791 [BZ #11494]
31792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31793
f63f3380
DM
31794 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31795 * sysdeps/sparc/crti.S: New file.
31796 * sysdeps/sparc/crtn.S: New file.
31797 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31798 * sysdeps/sparc/sparc64/Makefile: Likewise.
31799
df6a4a4a
MF
318002012-02-15 Mike Frysinger <vapier@gentoo.org>
31801
6dd8f3dc 31802 [BZ #3335]
df6a4a4a
MF
31803 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31804
1cac7236
RM
318052012-02-15 Roland McGrath <roland@hack.frob.com>
31806
d2c736f8
RM
31807 [BZ #4822]
31808 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31809
1cac7236
RM
31810 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31811 (write, read, close): Likewise.
31812 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31813
8e475601
JM
318142012-02-15 Joseph Myers <joseph@codesourcery.com>
31815
31816 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31817 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31818 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31819 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31820 <bits/signalfd.h>.
31821 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31823 bits/signalfd.h.
31824
ed656b40
MP
318252012-02-14 Marek Polacek <polacek@redhat.com>
31826
31827 * sysdeps/x86_64/crti.S: New file.
31828 * sysdeps/x86_64/crtn.S: New file.
31829 * sysdeps/x86_64/elf/initfini.c: Remove file.
31830
2a979d3a
JM
318312012-02-13 Joseph Myers <joseph@codesourcery.com>
31832
31833 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31834 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31835 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31836 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31837 <bits/inotify.h>.
31838 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31840 bits/inotify.h.
31841
2a418ac3
JM
318422012-02-13 Joseph Myers <joseph@codesourcery.com>
31843
31844 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31845 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31846 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31847 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31848 <bits/eventfd.h>.
31849 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31851 bits/eventfd.h.
31852
fb779be7
TS
318532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31854
e19e83c5
RM
31855 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31856 __feraiseexcept instead of feraiseexcept.
7c35ffed 31857
fb779be7
TS
31858 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31859 nanosleep invocations.
31860 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31861 strings, and add error checking for a nanosleep invocations.
31862
59ba27a6
PE
318632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31864
31865 Replace FSF snail mail address with URLs, as per GNU coding standards.
31866 Most of the snail mail addresses were wrong anyway, and omitting
31867 them makes the source code easier to maintain. Almost all of the
31868 changes are to license notices and to locale LC_IDENTIFICATION
31869 addresses, except for this one:
31870 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31871 not its snail mail address.
31872
57b957eb
RH
318732012-02-09 Richard Henderson <rth@twiddle.net>
31874
af850b1c
RH
31875 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31876 of kernel-features.h.
31877
57b957eb
RH
31878 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31879
6b73181a
MP
318802012-02-08 Marek Polacek <polacek@redhat.com>
31881
31882 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31883 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31884 * sysdeps/gnu/_G_config.h: Likewise.
31885 * sysdeps/generic/_G_config.h: Likewise.
31886
26ecc33a
AS
318872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31888
6c6dbc63
AS
31889 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31890 tests.
31891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31892
e216c012
AS
31893 * sysdeps/powerpc/powerpc32/crti.S: New file.
31894 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31895 * sysdeps/powerpc/powerpc64/crti.S: New file.
31896 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31897
26ecc33a
AS
31898 * Makeconfig (have-initfini): Don't set.
31899 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31900 * configure.in (nopic_initfini): Don't substitute.
31901 * config.h.in (HAVE_INITFINI): Don't #undef.
31902 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31903 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31904
3add8e13
JM
319052012-02-08 Joseph Myers <joseph@codesourcery.com>
31906
31907 Support crti.S and crtn.S provided directly by architectures.
31908 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31909 [crti.S in sysdirs] (omit-deps): Likewise.
31910 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31911 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31912 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31913 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31914 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31915 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31916 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31917 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31918 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31919 compiler output for sysdeps/generic/initfini.c.
31920 * sysdeps/i386/elf/Makefile: Remove file.
31921 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31922
a22f12b4
MP
319232012-02-07 Marek Polacek <polacek@redhat.com>
31924
31925 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31926 * sysdeps/gnu/_G_config.h: Likewise.
31927 * sysdeps/mach/hurd/_G_config.h: Likewise.
31928
148cf100
MP
319292012-02-07 Marek Polacek <polacek@redhat.com>
31930
31931 * math/Makefile (tests): Add tst-CMPLX2.
31932 * math/tst-CMPLX2.c: New file.
31933
cfdc0dd7
AS
319342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31935
84ba42c4
AS
31936 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31937
cfdc0dd7
AS
31938 * math/libm-test.inc (jn_test): Add missing L suffix.
31939
622c86f4
MP
319402012-02-06 Marek Polacek <polacek@redhat.com>
31941
31942 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31943 * sysdeps/i386/fpu/e_powf.S: Likewise.
31944 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31945 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31946 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31947 * sysdeps/i386/fpu/e_pow.S: Likewise.
31948 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31949 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31950 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31951 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31952 * sysdeps/i386/fpu/e_log2.S: Likewise.
31953 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31954 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31955 * sysdeps/i386/fpu/e_powl.S: Likewise.
31956 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31957 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31958 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31959 * sysdeps/i386/fpu/e_logl.S: Likewise.
31960 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31961 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31962 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31963 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31964 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31965 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31966 * sysdeps/i386/fpu/e_log.S: Likewise.
31967 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31968 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31969 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31970 * sysdeps/i386/fpu/e_logf.S: Likewise.
31971 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31972 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31973 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31974 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31975 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31976 * sysdeps/i386/fpu/e_log10.S: Likewise.
31977 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31978 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31979 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31980 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31981 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31982 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31983 * sysdeps/i386/asm-syntax.h: Likewise.
31984 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31985 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31986 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31987 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31988 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31989 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31990 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31991 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31992 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31993 * sysdeps/powerpc/sysdep.h: Likewise.
31994 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31995 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31996
d4a54ac6
JM
319972012-02-06 Joseph Myers <joseph@codesourcery.com>
31998
31999 [BZ #411]
32000 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32001
314054ea
JM
320022012-02-06 Joseph Myers <joseph@codesourcery.com>
32003
32004 * sysdeps/i386/sysdep.h: Include <features.h>.
32005 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32006 version.
32007
d8e0ca50
JM
320082012-02-05 Joseph Myers <joseph@codesourcery.com>
32009
32010 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32011 Define.
32012 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32013 LOAD_PIC_REG_STR.
32014
b1da7dd9
JM
320152012-02-03 Joseph Myers <joseph@codesourcery.com>
32016
32017 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32018 (SETUP_PIC_REG): Use GET_PC_THUNK.
32019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32020 macro.
32021
9a1d9254
JM
320222012-02-03 Joseph Myers <joseph@codesourcery.com>
32023
32024 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32025 for non-PIC compilation.
32026 (SETUP_PIC_REG): Add .p2align directive.
32027 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32028 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32029 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32030 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32031 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32032 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32033 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32034 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32035 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32036 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32037 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32038 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32039 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32040 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32041 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32042 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32043 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32044 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32045 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32046 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32047 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32049 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32055 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32056 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32057 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32058 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32059 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32060 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32061 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32063 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32064 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32065 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32068
65dc3b75
JM
320692012-02-03 Joseph Myers <joseph@codesourcery.com>
32070
32071 * math/tst-CMPLX.c: Include <stdio.h>.
32072
d55bf177
JM
320732012-01-31 Joseph Myers <joseph@codesourcery.com>
32074
32075 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32076 float.
32077 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32078 * sysdeps/sparc/bits/mathdef.h: Likewise.
32079
69db4f8f
MP
320802012-01-31 Marek Polacek <polacek@redhat.com>
32081
32082 * libio/libio.h: Don't define _PARAMS.
32083 * locale/programs/config.h: Don't define PARAMS.
32084 * stdlib/strtol_l.c: Likewise.
32085 (__strtol_l): Remove PARAMS from the prototype.
32086
41b81892
UD
320872012-01-31 Ulrich Drepper <drepper@gmail.com>
32088
3b49edc0
UD
32089 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32090 names. Just use the correct names. Remove unnecessary wrapper
32091 functions.
32092 * malloc/arena.c: Likewise.
32093 * malloc/hooks.c: Likewise.
32094
41b81892
UD
32095 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32096 ARENA_TEST says not to. Simplify test for creation of a new arena.
32097 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32098
27a25b6e
UD
320992012-01-30 Ulrich Drepper <drepper@gmail.com>
32100
32101 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32102 into tail calls.
32103 (update_get_addr): New function.
32104 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32105 GET_ADDR_MODULE parameter.
32106
c8a89e7d
JM
321072012-01-30 Joseph Myers <joseph@codesourcery.com>
32108
32109 * crypt/cert.c: Remove __STDC__ conditionals.
32110 * crypt/crypt-entry.c: Likewise.
32111 * crypt/crypt_util.c: Likewise.
32112 * libio/filedoalloc.c: Likewise.
32113 * libio/fileops.c: Likewise.
32114 * libio/genops.c: Likewise.
32115 * libio/iofclose.c: Likewise.
32116 * libio/iofdopen.c: Likewise.
32117 * libio/iofopen.c: Likewise.
32118 * libio/iofopen64.c: Likewise.
32119 * libio/iogetdelim.c: Likewise.
32120 * libio/iopopen.c: Likewise.
32121 * libio/obprintf.c: Likewise.
32122 * libio/oldfileops.c: Likewise.
32123 * libio/oldiofclose.c: Likewise.
32124 * libio/oldiofdopen.c: Likewise.
32125 * libio/oldiofopen.c: Likewise.
32126 * libio/oldiopopen.c: Likewise.
32127 * libio/wfiledoalloc.c: Likewise.
32128 * libio/wgenops.c: Likewise.
32129 * locale/programs/xmalloc.c: Likewise.
32130 * misc/syslog.c: Likewise.
32131 * stdio-common/xbug.c: Likewise.
32132 * string/memchr.c: Likewise.
32133 * string/memcmp.c: Likewise.
32134 * string/memrchr.c: Likewise.
32135 * string/rawmemchr.c: Likewise.
32136 * sysdeps/posix/getcwd.c: Likewise.
32137 * time/strftime_l.c: Likewise.
32138
3b100462
JM
321392012-01-30 Joseph Myers <joseph@codesourcery.com>
32140
32141 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32142 * config.make.in (config-cflags-sse2avx): Define.
32143 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32144 Fix typo.
32145
607998af
CM
321462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32147
32148 * scripts/config.guess: Update from upstream config git repository.
32149 * scripts/config.sub: Likewise.
32150
3601428f
CM
321512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32152
3ac8b282
CM
32153 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32154 (EM_NUM): Update.
32155 (R_TILEPRO_*, R_TILEGX_*): New macros.
32156
e034841e
CM
32157 * scripts/firstversions.awk: Fix bug in version range handling.
32158
540d7568
CM
32159 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32160
3601428f
CM
32161 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32162
463de862
CM
32163 * include/sys/epoll.h: New file.
32164 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32165 libc_hidden_def.
32166
73139a76
UD
321672012-01-28 Ulrich Drepper <drepper@gmail.com>
32168
96bc5b45
UD
32169 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32170 Avoid unnecessary __WORDSIZE == 64 test.
32171 (fmaxf): Use VEX format if possible.
32172 (fmax): Likewise.
32173 (fminf): Likewise.
32174 (fmin): Likewise.
32175
56f6f6a2
UD
32176 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32177 * math/math_private.h: Remove libc_fegetround* and
32178 libc_fesetround*.
32179 * sysdeps/i386/configure.in: Check for -msse2avx.
32180 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32181 also if SSE2AVX is defined.
32182 Remove libc_fegetround* and libc_fesetround*.
32183 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32184 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32185 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32186 of HAS_YMM_USABLE.
32187 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32188 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32189 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32190 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32191 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32192
73139a76
UD
32193 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32194
d73f93a4
AZ
321952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32196
32197 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32198 size is not set.
32199 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32200
6ee65ed6
UD
322012012-01-27 Ulrich Drepper <drepper@gmail.com>
32202
32203 [BZ #13618]
32204 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32205 relocation.
32206 * Makeconfig (libm): Define.
32207 * elf/Makefile: Add rules to build and run tst-relsort1.
32208 * elf/tst-relsort1.c: New file.
32209 * elf/tst-relsort1mod1.c: New file.
32210 * elf/tst-relsort1mod2.c: New file.
32211
8db21882
JM
322122012-01-27 Joseph Myers <joseph@codesourcery.com>
32213
32214 * math/s_ldexp.c: Remove __STDC__ conditionals.
32215 * math/s_ldexpf.c: Likewise.
32216 * math/s_ldexpl.c: Likewise.
32217 * math/s_nextafter.c: Likewise.
32218 * math/s_nexttowardf.c: Likewise.
32219 * math/s_significand.c: Likewise.
32220 * math/s_significandf.c: Likewise.
32221 * math/s_significandl.c: Likewise.
32222 * math/w_jnl.c: Likewise.
32223 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32224 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32225 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32226 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32227 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32228 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32229 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32232 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32235 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32236 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32239 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32242 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32243 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32244 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32245 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32246 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32247 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32248 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32249 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32250 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32251 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32252 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32253 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32254 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32255 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32256 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32257 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32258 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32259 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32260 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32261 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32262 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32263 * sysdeps/ieee754/k_standard.c: Likewise.
32264 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32265 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32266 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32268 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32269 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32270 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32271 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32272 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32273 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32274 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32275 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32276 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32277 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32278 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32280 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32283 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32284 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32285 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32286 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32287 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32288 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32289 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32293 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32294 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32295 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32296 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32297 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32299 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32300 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32301 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32302 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32303 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32304 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32305 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32306 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32307 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32308 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32309 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32310 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32311 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32313 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32314 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32316 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32317 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32318 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32319 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32320 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32321 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32322 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32323 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32324 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32325 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32326 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32327 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32328 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32329 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32330 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32331 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32332 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32333 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32334 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32335 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32336 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32337 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32338 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32339 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32340 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32341 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32342 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32343 * sysdeps/ieee754/s_matherr.c: Likewise.
32344 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32345 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32348
965a54a4
JM
323492012-01-26 Joseph Myers <joseph@codesourcery.com>
32350
32351 * crypt/md5.h: Remove __STDC__ conditionals.
32352 * libio/libioP.h: Likewise.
32353 * locale/programs/config.h: Likewise.
32354 * sysdeps/generic/sysdep.h: Likewise.
32355 * sysdeps/i386/asm-syntax.h: Likewise.
32356 * sysdeps/s390/asm-syntax.h: Likewise.
32357 * sysdeps/unix/sysdep.h: Likewise.
32358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32360
7071ad79
JM
323612012-01-26 Joseph Myers <joseph@codesourcery.com>
32362
32363 * libio/libio.h: Remove __STDC__ conditionals.
32364 * malloc/obstack.h: Likewise.
32365 * math/complex.h: Likewise.
32366 * math/math.h: Likewise.
32367 * sysdeps/generic/_G_config.h: Likewise.
32368 * sysdeps/gnu/_G_config.h: Likewise.
32369 * sysdeps/mach/hurd/_G_config.h: Likewise.
32370 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32371 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32372 * sysdeps/sparc/bits/mathdef.h: Likewise.
32373
afc5ed09
UD
323742012-01-26 Ulrich Drepper <drepper@gmail.com>
32375
32376 [BZ #13583]
32377 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32378 Clean up HAS_* macros.
afc5ed09 32379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32380 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32381 possible.
32382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32383 HAS_AVX.
32384 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32385 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32387 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32388 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32389
bdb6de1d
JM
323902012-01-25 Joseph Myers <joseph@codesourcery.com>
32391
32392 * elf/tst-unique3.cc (gets): Remove declaration.
32393 * elf/tst-unique3lib.cc (gets): Likewise.
32394 * elf/tst-unique3lib2.cc (gets): Likewise.
32395 * elf/tst-unique4.cc (gets): Likewise.
32396
b15549e6
UD
323972012-01-24 Ulrich Drepper <drepper@gmail.com>
32398
32399 * include/stdio.h: Add C++ protection. Add gets declarations and
32400 definitions.
32401 * debug/tst-chk1.c: Don't declare gets here.
32402 * stdio-common/tst-gets.c: Likewise.
32403
a037381f
JM
324042012-01-24 Joseph Myers <joseph@codesourcery.com>
32405
32406 * posix/glob: Remove directory.
32407
f1d4aa75
JM
324082012-01-24 Joseph Myers <joseph@codesourcery.com>
32409
32410 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32411
81c0c964
PT
324122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32413
32414 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32415 of the non-standard EPFNOSUPPORT.
32416
0ea698ae
ST
324172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32418
32419 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32420 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32421 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32422
d220b117
UD
324232012-01-21 Ulrich Drepper <drepper@gmail.com>
32424
32425 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32426
3e1aa84e
UD
324272012-01-20 Ulrich Drepper <drepper@gmail.com>
32428
32429 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32430 transient errors.
32431 * nscd/grpcache.c (cache_addgr): Likewise.
32432 * nscd/hstcache.c (cache_addhst): Likewise.
32433 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32434 * nscd/pwdcache.c (cache_addpw): Likewise.
32435 * nscd/servicescache.c (cache_addserv): Likewise.
32436
400aa020
UD
324372012-01-16 Ulrich Drepper <drepper@gmail.com>
32438
d77e7869
UD
32439 * malloc/malloc.c: Various cleanups.
32440 * malloc/hooks.c: Likewise.
32441
400aa020
UD
32442 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32443 * stdlib/bug-fmtmsg1.c: New file.
32444
32445 * stdlib/fmtmsg.c (init): Add missing unlock.
32446 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32447
e0a309cf
MP
324482012-01-12 Marek Polacek <polacek@redhat.com>
32449
32450 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32451 and _GNU_SOURCE.
32452
929d11c7
WS
324532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32454
32455 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32456 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32457 macro to ensure uniqueness of label name.
32458 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32459 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32460
41d0e869
UD
324612012-01-11 Ulrich Drepper <drepper@gmail.com>
32462
0cc5ed3b
UD
32463 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32464
41d0e869
UD
32465 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32466 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32467 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32468 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32469
a47a831a
UD
324702012-01-10 Ulrich Drepper <drepper@gmail.com>
32471
daa891c0
UD
32472 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32473
32474 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32475 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32476 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32477
e58ef0f2
UD
32478 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32479
a47a831a 32480 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32481 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32482 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32483 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32484
32485 * math/bits/math-finite.h: Add ldexp support.
32486
a0bfc9c7
MP
324872012-01-10 Marek Polacek <polacek@redhat.com>
32488
32489 * locale/programs/localedef.h (show_archive_content): Add noreturn
32490 attribute.
32491
d6e97a1d
UD
324922012-01-09 Ulrich Drepper <drepper@gmail.com>
32493
32494 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32495
d5835c26
UD
324962012-01-08 Ulrich Drepper <drepper@gmail.com>
32497
e5f484c6
UD
32498 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32499
d5835c26
UD
32500 * io/Makefile (headers): Add bits/poll2.h.
32501
d1f741e9
WS
325022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32503
32504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32505 typo #include statement.
32506
ec09c1c4
UD
325072012-01-08 Ulrich Drepper <drepper@gmail.com>
32508
32509 * include/sys/cdefs.h: Define __attribute_alloc_size.
32510 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32511 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32512 * elf/pldd.c: Likewise.
32513 * iconv/iconv_charmap.c: Likewise.
32514 * iconv/iconvconfig.c: Likewise.
32515 * iconv/strtab.c: Likewise.
32516 * locale/programs/locale.c: Likewise.
32517 * locale/programs/localedef.h: Likewise.
32518 * locale/programs/simple-hash.c: Likewise.
32519 * nscd/nscd.h: Likewise.
32520 * nss/makedb.c: Likewise.
32521 * sysdeps/generic/ldconfig.h: Likewise.
32522 * locale/programs/localedef.c: Remove xmalloc prototype.
32523 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32524
20b38e03
PP
325252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32526
32527 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32528 appropriate.
32529
a0da5fe1
UD
325302012-01-08 Ulrich Drepper <drepper@gmail.com>
32531
1d5a644a 32532 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32533 * math/tst-CMPLX.c: New file.
1d5a644a 32534
8784a6db
UD
32535 * math/complex.h (CMPLXL): Fix typo.
32536
d9a216c0
UD
32537 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32538 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32539 GLIBC_2.16.
32540 * debug/tst-chk1.c: Add poll and ppoll tests.
32541 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32542 * include/sys/poll.h: Add hidden proto for ppoll.
32543 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32544 * sysdeps/mach/hurd/ppoll.c: Likewise.
32545 * io/ppoll.c: Likewise.
32546 * debug/poll_chk.c: New file.
32547 * debug/ppoll_chk.c: New file.
32548 * include/bits/poll2.h: New file.
32549 * io/bits/poll2.h: New file.
32550
ac097f5c
UD
32551 [BZ #1350]
32552 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32553
2119dcfa
UD
32554 * configure.in: static is always set to yes. Remove.
32555 * config.make.in: Don't set build-static.
32556 * Makeconfig: Remove use of build-static.
32557 * dlfcn/Makefile: Likewise.
32558 * elf/Makefile: Likewise.
32559 * math/Makefile: Likewise.
32560 * misc/Makefile: Likewise.
32561 * nptl/Makefile: Likewise.
32562 * sysdeps/mach/hurd/Makefile: Likewise.
32563
121766a9
UD
32564 * configure.in: PWD_P is not used anymore.
32565 * config.make.in: Remove PWD_P entry.
32566
51a1d39c 32567 * configure.in: Remove last remnants of RANLIB.
8720d066 32568 No need to check for signed size_t anymore.
215f4bdc
UD
32569 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32570 and IA-64.
3857022a 32571 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32572 * aclocal.m4: Likewise.
32573
d3ed7225
UD
32574 * wcsmbs/mbrtoc16.c: Implement using towc function.
32575 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32576 * wcsmbs/wcsmbsload.c: Likewise.
32577 * iconv/gconv_simple.c: Likewise.
32578 * iconv/gconv_int.h: Likewise.
32579 * iconv/gconv_builtin.h: Likewise.
32580 * iconv/iconv_prog.c: Remove CHAR16 handling.
32581
32582 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32583
32584 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32585
a0da5fe1
UD
32586 * configure.in: Remove --with-elf and --enable-bounded options.
32587 Dont set base_machine for ia64. More non-ELF conditions removed.
32588 Remove testing and setting of leading underscore information.
32589 * config.make.in (build-bounded): Set to no.
32590 * config.h.in: Remove NO_UNDERSCORES entry.
32591 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32592 them.
32593 * csu/start.c: Remove !NO_UNDERSCORE code.
32594 * locale/localeinfo.h: Likewise.
32595 * sysdeps/generic/machine-gmon.h: Likewise.
32596 * sysdeps/generic/sysdep.h: Likewise.
32597 * sysdeps/i386/sysdep.h: Likewise.
32598 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32599 * sysdeps/mach/sysdep.h: Likewise.
32600 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32602 * sysdeps/sh/sysdep.h: Likewise.
32603 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32604 * sysdeps/unix/i386/sysdep.S: Likewise.
32605 * sysdeps/unix/sparc/start.c: Likewise.
32606 * sysdeps/unix/sparc/sysdep.S: Likewise.
32607 * sysdeps/unix/sparc/sysdep.h: Likewise.
32608 * sysdeps/unix/start.c: Likewise.
32609 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32610 * sysdeps/x86_64/sysdep.h: Likewise.
32611
df78418a
UD
326122012-01-07 Ulrich Drepper <drepper@gmail.com>
32613
a784e502
UD
32614 [BZ #13553]
32615 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32616 for non-gcc.
32617 * argp/argp-fmtstream.h: Use const instead __const.
32618 * argp/argp.h: Likewise.
32619 * assert/assert.h: Likewise.
32620 * bits/fenv.h: Likewise.
32621 * bits/sched.h: Likewise.
32622 * bits/sigset.h: Likewise.
32623 * bits/sigthread.h: Likewise.
32624 * catgets/nl_types.h: Likewise.
32625 * conform/data/pthread.h-data: Likewise.
32626 * crypt/crypt-private.h: Likewise.
32627 * crypt/crypt.h: Likewise.
32628 * crypt/crypt_util.c: Likewise.
32629 * ctype/ctype.h: Likewise.
32630 * debug/execinfo.h: Likewise.
32631 * debug/mbsnrtowcs_chk.c: Likewise.
32632 * debug/mbsrtowcs_chk.c: Likewise.
32633 * debug/wcsnrtombs_chk.c: Likewise.
32634 * debug/wcsrtombs_chk.c: Likewise.
32635 * debug/wcstombs_chk.c: Likewise.
32636 * dirent/dirent.h: Likewise.
32637 * dlfcn/dlfcn.h: Likewise.
32638 * elf/neededtest4.c: Likewise.
32639 * grp/grp.h: Likewise.
32640 * gshadow/gshadow.h: Likewise.
32641 * iconv/gconv.h: Likewise.
32642 * iconv/gconv_int.h: Likewise.
32643 * iconv/gconv_simple.c: Likewise.
32644 * iconv/iconv.h: Likewise.
32645 * iconv/loop.c: Likewise.
32646 * iconv/skeleton.c: Likewise.
32647 * include/aio.h: Likewise.
32648 * include/aliases.h: Likewise.
32649 * include/argz.h: Likewise.
32650 * include/arpa/inet.h: Likewise.
32651 * include/assert.h: Likewise.
32652 * include/dirent.h: Likewise.
32653 * include/dlfcn.h: Likewise.
32654 * include/execinfo.h: Likewise.
32655 * include/fcntl.h: Likewise.
32656 * include/fenv.h: Likewise.
32657 * include/glob.h: Likewise.
32658 * include/grp.h: Likewise.
32659 * include/libintl.h: Likewise.
32660 * include/mntent.h: Likewise.
32661 * include/netdb.h: Likewise.
32662 * include/pwd.h: Likewise.
32663 * include/rpc/netdb.h: Likewise.
32664 * include/sched.h: Likewise.
32665 * include/search.h: Likewise.
32666 * include/shadow.h: Likewise.
32667 * include/signal.h: Likewise.
32668 * include/stdio.h: Likewise.
32669 * include/stdlib.h: Likewise.
32670 * include/string.h: Likewise.
32671 * include/sys/socket.h: Likewise.
32672 * include/sys/stat.h: Likewise.
32673 * include/sys/statfs.h: Likewise.
32674 * include/sys/statvfs.h: Likewise.
32675 * include/sys/syslog.h: Likewise.
32676 * include/sys/time.h: Likewise.
32677 * include/sys/uio.h: Likewise.
32678 * include/time.h: Likewise.
32679 * include/unistd.h: Likewise.
32680 * include/utmp.h: Likewise.
32681 * include/wchar.h: Likewise.
32682 * include/wctype.h: Likewise.
32683 * inet/aliases.h: Likewise.
32684 * inet/arpa/inet.h: Likewise.
32685 * inet/netinet/ether.h: Likewise.
32686 * inet/netinet/in.h: Likewise.
32687 * intl/libintl.h: Likewise.
32688 * io/bits/fcntl2.h: Likewise.
32689 * io/fcntl.h: Likewise.
32690 * io/ftw.h: Likewise.
32691 * io/sys/poll.h: Likewise.
32692 * io/sys/stat.h: Likewise.
32693 * io/sys/statfs.h: Likewise.
32694 * io/sys/statvfs.h: Likewise.
32695 * io/utime.h: Likewise.
32696 * libio/bits/stdio.h: Likewise.
32697 * libio/bits/stdio2.h: Likewise.
32698 * libio/libio.h: Likewise.
32699 * libio/libioP.h: Likewise.
32700 * libio/stdio.h: Likewise.
32701 * locale/lc-ctype.c: Likewise.
32702 * locale/locale.h: Likewise.
32703 * login/utmp.h: Likewise.
32704 * malloc/arena.c: Likewise.
32705 * malloc/malloc.c: Likewise.
32706 * malloc/malloc.h: Likewise.
32707 * malloc/mcheck.c: Likewise.
32708 * malloc/mtrace.c: Likewise.
32709 * math/bits/mathcalls.h: Likewise.
32710 * math/fenv.h: Likewise.
32711 * math/math_private.h: Likewise.
32712 * misc/bits/error.h: Likewise.
32713 * misc/bits/syslog.h: Likewise.
32714 * misc/err.h: Likewise.
32715 * misc/error.h: Likewise.
32716 * misc/fstab.h: Likewise.
32717 * misc/mntent.h: Likewise.
32718 * misc/regexp.h: Likewise.
32719 * misc/search.h: Likewise.
32720 * misc/sgtty.h: Likewise.
32721 * misc/sys/mman.h: Likewise.
32722 * misc/sys/syslog.h: Likewise.
32723 * misc/sys/uio.h: Likewise.
32724 * misc/sys/xattr.h: Likewise.
32725 * misc/ttyent.h: Likewise.
32726 * nis/rpcsvc/ypclnt.h: Likewise.
32727 * nss/nss.h: Likewise.
32728 * posix/bits/unistd.h: Likewise.
32729 * posix/fnmatch.h: Likewise.
32730 * posix/glob.h: Likewise.
32731 * posix/sched.h: Likewise.
32732 * posix/spawn.h: Likewise.
32733 * posix/sys/wait.h: Likewise.
32734 * posix/unistd.h: Likewise.
32735 * posix/wordexp.h: Likewise.
32736 * pwd/pwd.h: Likewise.
32737 * resolv/netdb.h: Likewise.
32738 * resource/sys/resource.h: Likewise.
32739 * rt/aio.h: Likewise.
32740 * rt/bits/mqueue2.h: Likewise.
32741 * rt/mqueue.h: Likewise.
32742 * shadow/shadow.h: Likewise.
32743 * signal/signal.h: Likewise.
32744 * socket/send.c: Likewise.
32745 * socket/sendto.c: Likewise.
32746 * socket/sys/socket.h: Likewise.
32747 * stdio-common/printf.h: Likewise.
32748 * stdlib/bits/stdlib.h: Likewise.
32749 * stdlib/fmtmsg.h: Likewise.
32750 * stdlib/monetary.h: Likewise.
32751 * stdlib/stdlib.h: Likewise.
32752 * stdlib/ucontext.h: Likewise.
32753 * streams/stropts.h: Likewise.
32754 * string/argz.h: Likewise.
32755 * string/bits/string2.h: Likewise.
32756 * string/string.h: Likewise.
32757 * string/strings.h: Likewise.
32758 * sunrpc/rpc/auth.h: Likewise.
32759 * sunrpc/rpc/auth_des.h: Likewise.
32760 * sunrpc/rpc/clnt.h: Likewise.
32761 * sunrpc/rpc/netdb.h: Likewise.
32762 * sunrpc/rpc/pmap_clnt.h: Likewise.
32763 * sunrpc/rpc/xdr.h: Likewise.
32764 * sysdeps/generic/inttypes.h: Likewise.
32765 * sysdeps/generic/net/if.h: Likewise.
32766 * sysdeps/generic/sys/swap.h: Likewise.
32767 * sysdeps/gnu/net/if.h: Likewise.
32768 * sysdeps/gnu/utmpx.h: Likewise.
32769 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32770 * sysdeps/i386/i486/bits/string.h: Likewise.
32771 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32772 * sysdeps/s390/bits/string.h: Likewise.
32773 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32774 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32775 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32776 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32777 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32778 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32779 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32780 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32781 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32782 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32783 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32784 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32785 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32786 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32787 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32788 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32789 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32791 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32792 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32794 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32795 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32796 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32797 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32798 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32799 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32800 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32801 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32802 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32803 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32804 * sysvipc/sys/ipc.h: Likewise.
32805 * sysvipc/sys/msg.h: Likewise.
32806 * sysvipc/sys/sem.h: Likewise.
32807 * sysvipc/sys/shm.h: Likewise.
32808 * termios/termios.h: Likewise.
32809 * time/sys/time.h: Likewise.
32810 * time/time.h: Likewise.
32811 * wcsmbs/bits/wchar2.h: Likewise.
32812 * wcsmbs/uchar.h: Likewise.
32813 * wcsmbs/wchar.h: Likewise.
32814 * wctype/wctype.h: Likewise.
32815
0269750c
UD
32816 [BZ #13551]
32817 * Makeconfig: Remove all but ELF support including AIX support.
32818 * Makerules: Likewise.
32819 * config.h.in: Likewise.
32820 * config.make.in: Likewise.
32821 * configure: Likewise.
32822 * configure.in: Likewise.
32823 * csu/Makefile: Likewise.
32824 * csu/version.c: Likewise.
32825 * debug/Makefile: Likewise.
32826 * dlfcn/Makefile: Likewise.
32827 * elf/Makefile: Likewise.
32828 * extra-lib.mk: Likewise.
32829 * iconv/Makefile: Likewise.
32830 * include/libc-symbols.h: Likewise.
32831 * include/shlib-compat.h: Likewise.
32832 * resolv/Makefile: Likewise.
32833 * resolv/res_libc.c: Likewise.
32834 * rt/Makefile: Likewise.
32835 * sysdeps/i386/asm-syntax.h: Likewise.
32836 * sysdeps/i386/sysdep.h: Likewise.
32837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32838 * sysdeps/mach/sysdep.h: Likewise.
32839 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32840 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32841 * sysdeps/s390/asm-syntax.h: Likewise.
32842 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32843 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32844 * sysdeps/sh/sysdep.h: Likewise.
32845 * sysdeps/unix/sparc/sysdep.h: Likewise.
32846 * sysdeps/wordsize-32/divdi3.c: Likewise.
32847 * sysdeps/x86_64/sysdep.h: Likewise.
32848
00bbd29b
UD
32849 * argp/Versions: Remove _argp_unlock_xxx.
32850
32851 [BZ #13559]
32852 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32853 * abilist/libBrokenLocale.abilist: Likewise.
32854 * abilist/libanl.abilist: Likewise.
32855 * abilist/libc.abilist: Likewise.
32856 * abilist/libcrypt.abilist: Likewise.
32857 * abilist/libdl.abilist: Likewise.
32858 * abilist/libm.abilist: Likewise.
32859 * abilist/libnsl.abilist: Likewise.
32860 * abilist/libpthread.abilist: Likewise.
32861 * abilist/libresolv.abilist: Likewise.
32862 * abilist/librt.abilist: Likewise.
32863 * abilist/libthread_db.abilist: Likewise.
32864 * abilist/libutil.abilist: Likewise.
32865 * abilist/libnss_db.abilist: New file.
32866
32867 * scripts/abilist.awk: Add support for indirect functions.
32868
a2693a0e
UD
32869 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32870
3f05895f
UD
32871 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32872
ecb6fb48
UD
32873 * shlib-versions: Remove entries for ports architectures.
32874
664f8cb9
UD
32875 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32876 files in ports.
32877 * elf/stackguard-macros.h: Remove support for IA-64.
32878 * elf/tst-auditmod1.c: Likewise.
32879 * sysdeps/generic/ldsodefs.h: Likewise.
32880
7ae81d88
UD
32881 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32882 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32883 configure files.
32884
bdeba135
UD
32885 [BZ #13552]
32886 * configure.in: Remove --enable-omitfp support.
32887 * FAQ.in: Adjust.
32888 * config.make.in: Likewise.
32889 * Makeconfig: Likewise.
32890 * manual/install.texi: Likewise.
32891
d75a0a62
UD
32892 In case anyone cares, the IA-64 architecture could move to ports.
32893 * sysdeps/ia64/*: Removed.
32894 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 32895 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 32896
dcc9756b
UD
32897 [BZ #13555]
32898 * configure.in: Remove entries for unsupported architectures.
32899
d3761ebc 32900 [BZ #13533]
9954432e
UD
32901 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32902 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32903 routines.
32904 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32905 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32906 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32907 fall back to using wcrtomb.
32908 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32909 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32910 renaming.
32911 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32912 * wcsmbs/tst-c16c32-1.c: New file.
32913
32914 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32915 local variable.
32916
c3a87236
UD
32917 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32918
28926a1b
UD
32919 * elf/tst-unique3.cc: Add explicit declaration of gets.
32920 * elf/tst-unique3lib.cc: Likewise.
32921 * elf/tst-unique3lib2.cc: Likewise.
32922 * elf/tst-unique4.cc: Likewise.
32923
df78418a
UD
32924 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32925
8ecd6b2a
JM
329262012-01-06 Joseph Myers <joseph@codesourcery.com>
32927
32928 [BZ #13566]
32929 * assert/assert.h (static_assert): Don't define for C++.
32930 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32931 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32932
9f115170
UD
329332012-01-03 Ulrich Drepper <drepper@gmail.com>
32934
5e0d0300
UD
32935 * iconv/loop.c (single loop): Fix assertion in storing of
32936 remaining bytes.
32937
9f115170
UD
32938 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32939
81fb02b0
UD
329402012-01-01 Ulrich Drepper <drepper@gmail.com>
32941
32942 * posix/getconf.c: Update copyright year.
32943 * nss/getent.c: Likewise.
a316c1f6 32944 * nss/makedb.c: Likewise.
81fb02b0
UD
32945 * iconv/iconvconfig.c: Likewise.
32946 * iconv/iconv_prog.c: Likewise.
32947 * elf/ldconfig.c: Likewise.
a316c1f6
UD
32948 * elf/pldd.c: Likewise.
32949 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
32950 * catgets/gencat.c: Likewise.
32951 * csu/version.c: Likewise.
32952 * elf/ldd.bash.in: Likewise.
32953 * elf/sprof.c (print_version): Likewise.
32954 * locale/programs/locale.c: Likewise.
32955 * locale/programs/localedef.c: Likewise.
a316c1f6 32956 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
32957 * nscd/nscd.c (print_version): Likewise.
32958 * debug/xtrace.sh: Likewise.
32959 * malloc/memusage.sh: Likewise.
32960 * malloc/mtrace.pl: Likewise.
32961 * debug/catchsegv.sh: Likewise.
32962
2ba92745
JJ
329632011-12-30 Jakub Jelinek <jakub@redhat.com>
32964
32965 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32966 pure attribute.
32967
dadebdae
UD
329682011-12-24 Ulrich Drepper <drepper@gmail.com>
32969
d3761ebc 32970 [BZ #13533]
db6af3eb
UD
32971 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32972 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32973 transformations.
32974 * iconv/gconv_int.h: Likewise.
32975 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32976 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32977 from libc for GLIBC_2.16.
32978 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32979 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32980 * wcsmbs/uchar.h: Really define mbstate_t.
32981 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32982 * wcsmbs/c16rtomb.c: New file.
32983 * wcsmbs/mbrtoc16.c: New file.
32984 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32985 for C/POSIX locale.
32986 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32987 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32988
dadebdae
UD
32989 * wcsmbs/wchar.h: Add missing __restrict.
32990
67371b56
UD
329912011-12-23 Ulrich Drepper <drepper@gmail.com>
32992
74033a25
UD
32993 [BZ #13532]
32994 * time/Makefile (routines): Add timespec_get.
32995 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32996 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32997 timespec for ISO C11.
32998 * time/timespec_get.c: New file.
32999 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33000 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33001
380d7e87
UD
33002 [BZ #13531]
33003 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33004 * stdlib/stdlib.h: Declare aligned_alloc.
33005 * Versions.def: Add GLIBC_2.16 for libc.
33006 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33007
4e9e7a35
UD
33008 [BZ 13527]
33009 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33010 ISO C11.
33011
380d7e87 33012 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33013 code.
33014
03a71829
UD
33015 [BZ #13528]
33016 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33017
839e283e
UD
33018 [BZ #13529]
33019 * assert/assert.h (static_assert): Define.
33020
ce5294e2 33021 * version.h: Update for 2.16 development version.
90fa7312 33022
8d44e150 33023 [BZ #13526]
d7809905
UD
33024 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33025 _ISOC11_SOURCE.
33026
c0da14cd
UD
33027 * version.h (RELEASE): Bump for 2.15 release.
33028 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33029
530a3249
MP
33030 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33031 Patch by Marek Polacek <mpolacek@redhat.com>.
33032
67371b56
UD
33033 * bits/byteswap.h: Protect long long constants with __extension__.
33034 * sysdeps/i386/bits/byteswap.h: Likewise.
33035 * sysdeps/ia64/bits/byteswap.h: Likewise.
33036 * sysdeps/s390/bits/byteswap.h: Likewise.
33037 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33038
15db4de1
LD
330392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33040
33041 [BZ #13540]
bbe315ea
LD
33042 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33043 destination buffer.
15db4de1
LD
33044 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33045
2b2596b1
MP
330462011-12-23 Marek Polacek <polacek@redhat.com>
33047
33048 * elf/dl-addr.c (determine_info): Add inline keyword.
33049 * elf/tst-auditmod4b.c (check_avx): Likewise.
33050 * elf/tst-auditmod6b.c (check_avx): Likewise.
33051 * elf/tst-auditmod6c.c (check_avx): Likewise.
33052 * elf/tst-auditmod7b.c (check_avx): Likewise.
33053
70c6c246
UD
330542011-12-23 Ulrich Drepper <drepper@gmail.com>
33055
33056 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33057 !__SSE_MATH__.
33058
c044cf14
LD
330592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33060
15db4de1 33061 [BZ #13540]
c044cf14
LD
33062 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33063 processing for last bytes.
33064
6b13d9d9
BH
330652011-08-06 Bruno Haible <bruno@clisp.org>
33066
d455f537
BH
33067 [BZ #13061]
33068 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33069 U+0385, not to U+1FEE.
33070
6b13d9d9
BH
33071 [BZ #13062]
33072 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33073 entry for U+00A5 U+0301.
33074
db910efd
UD
330752011-12-22 Ulrich Drepper <drepper@gmail.com>
33076
27deeafc
UD
33077 [BZ #13166]
33078 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33079 buffer for the output is too small.
33080
aed9d171
UD
33081 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33082 optimization.
33083
db910efd
UD
33084 [BZ #13185]
33085 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33086 SSE flags if possible.
33087
2bd779ae
LD
330882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33089
e7f9dac3 33090 [BZ #13540]
2bd779ae
LD
33091 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33092 processing for last bytes.
33093
154bfc16
JM
330942011-12-22 Joseph Myers <joseph@codesourcery.com>
33095
33096 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33097 (syscall-list-default-options, syscall-list-default-condition)
33098 (syscall-list-includes): Define.
33099 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33100 list of ABIs and options and #if conditions for each ABI. Do not
33101 handle common syscalls between ABIs specially.
33102 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33103 Remove.
33104 (syscall-list-variants, syscall-list-32bit-options)
33105 (syscall-list-32bit-condition, syscall-list-64bit-options)
33106 (syscall-list-64bit-condition): Define.
33107 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33108 (syscall-list-variants, syscall-list-32bit-options)
33109 (syscall-list-32bit-condition, syscall-list-64bit-options)
33110 (syscall-list-64bit-condition): Define.
33111 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33112 Remove.
33113 (syscall-list-variants, syscall-list-32bit-options)
33114 (syscall-list-32bit-condition, syscall-list-64bit-options)
33115 (syscall-list-64bit-condition): Define.
33116 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33117 Remove.
33118 (syscall-list-variants, syscall-list-32bit-options)
33119 (syscall-list-32bit-condition, syscall-list-64bit-options)
33120 (syscall-list-64bit-condition): Define.
33121
21eaf3a5
UD
331222011-12-22 Ulrich Drepper <drepper@gmail.com>
33123
16c6f992
UD
33124 * locale/iso-639.def: Add brx entry.
33125
41043168
UD
33126 [BZ #13328]
33127 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33128 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33129
21eaf3a5
UD
33130 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33131 __feraiseexcept_renamed.
33132
e3a851a2
UD
331332011-12-21 Ulrich Drepper <drepper@gmail.com>
33134
4920765e
UD
33135 [BZ #13538]
33136 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33137 EPOLLET with unsigned values.
33138 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33139 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33140
e3a851a2
UD
33141 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33142 to large cancellation.
33143 * math/s_cacoshf.c: Likewise.
33144 * math/s_cacoshl.c: Likewise.
33145
b27e24b8
RK
331462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33147
33148 [BZ #13305]
aebefeee 33149 [BZ #12786]
b27e24b8
RK
33150 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33151 * math/s_cacoshf.c: Likewise.
33152 * math/s_cacoshl.c: Likewise.
33153
ee190f67
UD
331542011-12-21 Ulrich Drepper <drepper@gmail.com>
33155
33156 [BZ #13439]
33157 * iconv/gconv.h: Define __GCONV_SWAP.
33158 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33159 * iconvdata/utf-16.c: Likewise.
33160 * iconvdata/utf-32.c: Likewise.
33161
707f25df
AS
331622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33163
33164 [BZ #13524]
33165 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33166 numerator after shifting it by one limb.
33167
d2daaa1e
RÁE
331682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33169
33170 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33171 under [__USE_EXTERN_INLINES].
33172
a4647e72
UD
331732011-12-17 Ulrich Drepper <drepper@gmail.com>
33174
33175 [BZ #13446]
33176 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33177
f0b264f1
AZ
331782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33179
33180 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33181 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33182 optimized code.
33183 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33184 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33185 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33186 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33187 for strncasecmp/strncasecmp_l compilation.
33188 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33189 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33190
8ef4f244
MP
331912011-12-08 Marek Polacek <mpolacek@redhat.com>
33192
33193 [BZ #13484]
33194 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33195 of __asm__.
33196
97ac2654
UD
331972011-12-17 Ulrich Drepper <drepper@gmail.com>
33198
33199 [BZ #13506]
33200 * time/tzfile.c (__tzfile_read): Check values from file header.
33201
91d2a845
WS
332022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33203
33204 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33205 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33206 * powerpc/powerpc32/dl-start.S: Likewise.
33207 * powerpc/powerpc32/elf/start.S: Likewise.
33208 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33209 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33210 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33211 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33212 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33213 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33214 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33215 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33216 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33217 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33218 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33219 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33220 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33221 * powerpc/powerpc32/memset.S: Likewise.
33222 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33223 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33224 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33225 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33226 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33227 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33228 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33229 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33230 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33231 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33232 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33233 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33234 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33235
a1267ba1
AZ
332362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33237
33238 * math/libm-test.inc: Added more nearbyint tests.
33239 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33240 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33241 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33243
ad8ac1bd
RL
332442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33245
33246 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33247 FD_CLOEXEC.
33248
1d3e4b61
UD
332492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33250
33251 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33252 Add wcscpy-ssse3 wcscpy-c.
33253 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33254 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33255 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33256 * sysdeps/x86_64/wcschr.S: New file.
33257 * sysdeps/x86_64/wcsrchr.S: New file.
33258 * string/test-strcmp.c: Remove checking of wcscmp function for
33259 wrong alignments.
33260 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33261 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33262 wcsrchr-sse2 wcsrchr-c.
33263 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33264 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33265 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33266 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33267 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33268 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33269 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33270 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33271 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33272 * wcsmbc/wcschr.c (WCSCHR): New macro.
33273
5b330a2d
UD
332742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33275
33276 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33277 * wcsmbs/test-wcsrchr.c: New file.
33278 * string/test-strrchr.c: Add wcsrchr support.
33279 (WIDE): New macro.
33280 * wcsmbs/test-wcscpy.c: New file.
33281 * string/test-strcpy.c: Add wcscpy support.
33282 (WIDE): New macro.
26428b7c 33283
f039c043
UD
332842011-12-10 Ulrich Drepper <drepper@gmail.com>
33285
33286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33287 the inner loop.
33288
850fb039
AS
332892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33290
33291 [BZ #13472]
33292 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33293
4efbd5cb
UD
332942011-12-04 Ulrich Drepper <drepper@gmail.com>
33295
52ff5dd0 33296 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33297 Minor optimizations.
52ff5dd0 33298
4efbd5cb
UD
33299 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33300 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33301 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33302
8a426e12
UD
333032011-12-03 Ulrich Drepper <drepper@gmail.com>
33304
aff2453d
UD
33305 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33306 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33307 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33308 for gcc to avoid warnings.
33309 * inet/Makefile (tests): Add tst-checks.
33310 * inet/tst-checks.c: New file.
33311
33312 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33313 warning.
33314
33315 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33316 __wmemcmp_sse2.
33317
33318 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33319 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33320
8a426e12
UD
33321 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33322
9bea3473
UD
333232011-12-02 Ulrich Drepper <drepper@gmail.com>
33324
3a965496
UD
33325 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33326 problem.
33327
9bea3473
UD
33328 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33329
f101631b
UD
333302011-11-29 Joseph Myers <joseph@codesourcery.com>
33331
33332 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33333 conditional on GCC version.
33334 (__arch_compare_and_exchange_val_8_acq)
33335 (__arch_compare_and_exchange_val_16_acq)
33336 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33337 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33338 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33339
a98275aa
UD
333402011-12-02 Joseph Myers <joseph@codesourcery.com>
33341
33342 * sysdeps/sh/backtrace.c: New file.
33343
d4cc29a2
AS
333442011-12-02 Andreas Schwab <schwab@redhat.com>
33345
33346 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33347 parenthesis.
33348
6257af2d
AS
333492011-12-01 Andreas Schwab <schwab@redhat.com>
33350
33351 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33352 falling back to utime.
33353
b5f44c1a
AS
333542011-11-30 Andreas Schwab <schwab@redhat.com>
33355
33356 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33357 expectations for float.
33358
f3a6cc0a
AS
333592011-11-29 Andreas Schwab <schwab@redhat.com>
33360
33361 * locale/weight.h (findidx): Add parameter len.
33362 * locale/weightwc.h (findidx): Likewise.
33363 * posix/fnmatch_loop.c (FCT): Adjust caller.
33364 * posix/regcomp.c (build_equiv_class): Likewise.
33365 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33366 * posix/regexec.c (check_node_accept_bytes): Likewise.
33367 * string/strcoll_l.c (STRCOLL): Likewise.
33368 * string/strxfrm_l.c (STRXFRM): Likewise.
33369
9d65ea3a
UD
333702011-11-17 Ulrich Drepper <drepper@gmail.com>
33371
33372 * Makefile.in: Remove CVSOPT handling.
33373 * configure.in: Remove use of AC_REVISION.
33374 * iconvdata/Makefile (distribute): No need to filter out CVS.
33375 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33376 handling.
33377
5583a086
AS
333782011-11-16 Andreas Schwab <schwab@redhat.com>
33379
33380 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33381 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33382 [USE_AS_STRNCASECMP_L]: Likewise.
33383 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33384 NO_TLS_DIRECT_SEG_REFS.
33385 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33386 Fix argument offsets for non-PIC.
33387 [USE_AS_STRNCASECMP_L]: Likewise.
33388 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33389 NO_TLS_DIRECT_SEG_REFS.
33390
d62a8200
UD
333912011-11-15 Ulrich Drepper <drepper@gmail.com>
33392
9d65ea3a 33393 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33394 O_CLOEXEC.
33395 * locale/loadlocale.c (_nl_load_locale): Likewise.
33396
09f93bd3
AS
333972011-11-15 Andreas Schwab <schwab@redhat.com>
33398
446514f9
AS
33399 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33400 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33401 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33402 (SYSCALL_GETTIME): Set errno on error.
33403
09f93bd3
AS
33404 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33405 count references to noai6ai_cached.
33406
312be3f9
UD
334072011-11-15 Ulrich Drepper <drepper@gmail.com>
33408
33409 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33410
33411 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33412 FD_CLOEXEC for /proc/self/maps.
33413
33414 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33415 FD_CLOEXEC for /proc/meminfo.
33416
33417 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33418 gai.conf.
33419
33420 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33421 FD_CLOEXEC for given file.
33422
33423 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33424
33425 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33426 FD_CLOEXEC for /etc/hosts.
33427 (_gethtent): Likewise.
33428
33429 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33430
33431 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33432 cancellation and set FD_CLOEXEC for /etc/netgroup.
33433
33434 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33435 reading /etc/publickey.
33436
33437 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33438 allow cancellation when reading /etc/group.
33439
33440 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33441 cancellation.
33442 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33443
33444 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33445 when using data file.
33446
33447 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33448
33449 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33450 (write_nis_obj): Use "c" and "e" in fopen.
33451
33452 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33453
33454 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33455
33456 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33457
33458 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33459
33460 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33461 locale.alias.
33462
33463 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33464
33465 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33466
33467 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33468
33469 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33470 file parsing and set FD_CLOEXEC.
33471
82af0fa8
UD
334722011-11-14 Ulrich Drepper <drepper@gmail.com>
33473
33474 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33475
a5fb313c
AS
334762011-11-14 Andreas Schwab <schwab@redhat.com>
33477
33478 * malloc/arena.c (arena_get2): Don't call reused_arena when
33479 _int_new_arena failed.
33480
6abf3465
UD
334812011-11-14 Ulrich Drepper <drepper@gmail.com>
33482
33483 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33484 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33485 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33486 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33487 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33489 to compile strcasecmp and strncasecmp.
33490 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33491 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33492
33493 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33494
76e3966e
UD
334952011-11-13 Ulrich Drepper <drepper@gmail.com>
33496
33497 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33498 locale-defines.sym to gen-as-const-headers.
33499 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33500 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33502 to compile strcasecmp and strncasecmp.
33503 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33504 strcasecmp_l and strncasecmp_l.
33505 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33506 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33507 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33508 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33509 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33510 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33511 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33512 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33513 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33514 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33515 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33516
ab26144e
UD
335172011-11-12 Ulrich Drepper <drepper@gmail.com>
33518
7edb22ef
UD
33519 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33520 result of SYSDEP_GETTIME_CPU to retval.
33521 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33522 parameter list to macro. Remove trailing semicolon. Adjust users.
33523
9694fc44
UD
33524 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33525 variable.
33526
8ad89ef8
UD
33527 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33528 mantissa words.
33529 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33530
0c822ef9
UD
33531 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33532 from unused variable.
33533
874e0564
UD
33534 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33535 DWARF definitions.
33536 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33537 for assembling.
33538
3a2edc79
UD
33539 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33540 over namespaces.
33541
f3c2577f
UD
33542 * sunrpc/rpc_prot.c (rejected): Fix case value.
33543
294ce126
UD
33544 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33545 unsigned long long int to avoid warnings in shift.
33546
5e2b63c6
UD
33547 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33548 of use of trans.
33549 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33550 variable tmp.
33551
e7f4b08e
UD
33552 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33553 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33554 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33555
ab26144e
UD
33556 * nis/nis_table.c (nis_list): Use variable of correct type for
33557 result of __follow_path call.
33558
8a6d5255
AZ
335592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33560
33561 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33562 of math functions ceil, trunc, floor, round, and sqrt, when
33563 avaliable on the platform.
33564 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33565 name clash.
33566 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33567 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33568 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33569
aaddc98c
MP
335702011-10-30 Marek Polacek <mpolacek@redhat.com>
33571
33572 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33574
95b7042b
RM
335752011-11-11 Roland McGrath <roland@hack.frob.com>
33576
33577 * include/unistd.h: Fix __readlink return type.
33578 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33579
57769839
UD
335802011-11-11 Ulrich Drepper <drepper@gmail.com>
33581
33582 * stdlib/ucontext.h: Undo last change for makecontext.
33583
edc5984d
AS
335842011-11-11 Andreas Schwab <schwab@redhat.com>
33585
98591e58
AS
33586 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33587
edc5984d
AS
33588 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33589 * setjmp/setjmp.h: Mark functions as non-leaf.
33590 * setjmp/bits/setjmp2.h: Likewise.
33591 * stdlib/ucontext.h: Likewise.
33592
77cdc054
AS
335932011-11-10 Andreas Schwab <schwab@redhat.com>
33594
33595 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33596 (reused_arena): Don't check arena limit.
33597 (arena_get2): Atomically check arena limit.
33598
fe72eebd
UD
335992011-11-08 Ulrich Drepper <drepper@gmail.com>
33600
5f078c32
UD
33601 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33602 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33603
fe72eebd
UD
33604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33605 instructions.
33606
ae1bc2fa
AS
336072011-11-07 Andreas Schwab <schwab@redhat.com>
33608
7583a88d
AS
33609 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33610 handler when locking.
33611
ae1bc2fa
AS
33612 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33613 Fix size of allocated buffer.
33614
10fb0bfa
AS
336152011-11-04 Andreas Schwab <schwab@redhat.com>
33616
998832a4
AS
33617 [BZ #10103]
33618 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33619 declarations for long double functions.
33620 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33621
10fb0bfa
AS
33622 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33623
3d7ba52b
AS
336242011-11-03 Andreas Schwab <schwab@redhat.com>
33625
a9ae54a1
AS
33626 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33627 installed.
33628
3d7ba52b
AS
33629 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33630 is disabled.
33631
bc8db248
ST
336322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33633
33634 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33635
45b96dd6
AS
336362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33637
647776f6
AS
33638 * include/alloca.h (stackinfo_alloca_round): Define.
33639 (extend_alloca): Use it.
33640 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33641 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33642 here.
33643
d91a8b93
AS
33644 * scripts/check-local-headers.sh: Ignore libaudit.h.
33645
45b96dd6
AS
33646 * nscd/Makefile (extra-objs): Make recursively expanded.
33647
432d41ce
UD
336482011-11-01 Ulrich Drepper <drepper@gmail.com>
33649
34372fc6
UD
33650 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33652
fadb59f8
UD
33653 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33654 * posix/tst-rfc3484-2.c: Likewise.
33655 * posix/tst-rfc3484-3.c: Likewise.
33656
78239589
UD
33657 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33658 process_vm_writev.
33659 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33660 process_vm_writev.
33661 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33662 process_vm_writev from libc using GLIBC_2.15 version.
33663
432d41ce
UD
33664 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33665
02f9c6cf
PP
336662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33667
33668 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33669 stack usage.
33670
3a2c0242
UD
336712011-10-31 Ulrich Drepper <drepper@gmail.com>
33672
f4ec4833
UD
33673 [BZ #13367]
33674 * nss/getent.c (initgroups_keys): Show error message in case no group
33675 names are given.
33676
3a2c0242
UD
33677 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33678 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33679 __bump_nl_timestamp.
33680 * nscd/connections (nscd_init): When host database is served open
33681 netlink socket and request notification about configuration changes.
33682 (main_loop_poll): Track netlink file descriptor and bump timestamp
33683 in case data becomes available.
33684 (main_loop_epoll): Likewise.
33685 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33686 (database_pers_head): Add extra_data fileds.
33687 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33688 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33689 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33690 Adjust caller.
33691 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33692 in6ai data, call __free_in6ai.
33693 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33694 Add -DHAVE_NETLINK.
33695 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33696 interface information. Reuse previous data if netlink timestamp
33697 is not changed.
33698 (__bump_nl_timestamp): New function.
33699 (__free_in6ai): New function.
33700
636064eb
UD
337012011-10-30 Ulrich Drepper <drepper@gmail.com>
33702
33703 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33704 close_not_cancel_no_status here.
33705 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33706
9beb2334
UD
337072011-10-29 Ulrich Drepper <drepper@gmail.com>
33708
6ef76f3b
UD
33709 [BZ #13276]
33710 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33711 return value.
33712
0ffc4f3e 33713 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33714 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33715 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33716
cb95113e
UD
337172011-07-03 Andreas Jaeger <aj@suse.de>
33718
33719 [BZ #10709]
33720 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33721 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33722 * math/libm-test.inc (sin_test): Add test case.
33723
a1b560ff
UD
337242011-10-29 Ulrich Drepper <drepper@gmail.com>
33725
c9aaface
UD
33726 [BZ #13337]
33727 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33728 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33729
d272e7f1
UD
33730 * elf/chroot_canon.c (chroot_canon): Cleanups.
33731
1bc33071
UD
33732 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33733
1760874d
TJ
33734 [BZ #13335]
33735 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33736 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33737
51d91b18
UD
33738 * string/test-strchr.c: Make usable for strchrnul testing.
33739 * string/test-strchrnul.c: New file.
33740 * string/Makefile (strop-tests): Add strchrnul.
33741
a1b560ff 33742 * po/it.po: Update from translation team.
b611fb81 33743 * po/es.po: Likewise.
a1b560ff 33744
a5b81e1f
UD
337452011-10-28 Ulrich Drepper <drepper@gmail.com>
33746
fd52bc6d
UD
33747 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33748 the three constants needed as parameters. Drop the others.
33749 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33750 __m128i_strloadu_tolower.
52e4b9eb
UD
33751 Create and initialize variable zero and use it in all the places
33752 where _mm_setzero_si128 was used.
fd52bc6d 33753
a5b81e1f
UD
33754 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33755 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33756 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33757 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33758 anymore.
33759 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33760 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33761 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33762 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33763 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33764 __mpranred, __mptan.
33765 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33766 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33767 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33768 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33769 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33770 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33772 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33773 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33774
b4343346
AS
337752011-10-28 Andreas Schwab <schwab@redhat.com>
33776
0c92d8a8
AS
33777 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33778 redefine if SHARED.
33779 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33780
b4343346
AS
33781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33782 wide char related routines to wcsmbs subdir.
33783
3871f58f
AS
337842011-10-27 Andreas Schwab <schwab@redhat.com>
33785
33786 [BZ #13344]
33787 * misc/sys/cdefs.h (__THROWNL): Define.
33788 * posix/unistd.h: Use __THREADNL instead of __THREAD
33789 for memory synchronization functions.
33790
94d44d9f
RM
337912011-10-26 Roland McGrath <roland@hack.frob.com>
33792
21b64b15 33793 [BZ #13349]
94d44d9f
RM
33794 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33795 doesn't exist.
33796 * manual/stdio.texi (Obstack Streams): Node removed.
33797
f6ce9294
AS
337982011-10-26 Andreas Schwab <schwab@redhat.com>
33799
80479147
AS
33800 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33801 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33802 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33803
f6ce9294
AS
33804 * math/math_private.h (math_force_eval): Allow non-addressable
33805 arguments.
33806 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33807
618280a1
UD
338082011-10-25 Ulrich Drepper <drepper@gmail.com>
33809
e0016b11
UD
33810 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33811 file is not needed.
33812
33813 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33814 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33820 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33821 Add AVX variants.
33822 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33823 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33824 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33825 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33826 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33827 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33828 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33829 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33830 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33831 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33832 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33833 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33834 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33835 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33836 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33837 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33838 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33839 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33840 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33841
33842 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33843 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33844
618280a1
UD
33845 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33846 place. Use VEX encoding when compiling for AVX.
33847
37822576
AS
338482011-10-25 Andreas Schwab <schwab@redhat.com>
33849
1f1e1947
AS
33850 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33851 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33852
37822576
AS
33853 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33854
31ea014d
UD
338552011-10-25 Ulrich Drepper <drepper@gmail.com>
33856
d7826aa1 33857 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 33858 useless if() expression.
d7826aa1
UD
33859 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33868 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33869 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33870 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33871 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33872 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33873 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33875 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33877 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33878
31ea014d
UD
33879 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33880
16437fec
AS
338812011-10-25 Andreas Schwab <schwab@redhat.com>
33882
33883 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33884 condition.
33885 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33886
31d3cc00
UD
338872011-10-25 Ulrich Drepper <drepper@gmail.com>
33888
33889 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33890 .text section. Avoid duplicate constants.
33891 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33893 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33901 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33903 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33906 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33908 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33914 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33915 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33916 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33917 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33918 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33920 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33921 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33922 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33923 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33924 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33925 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33926 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33927 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33929 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33930 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33931 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33932 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33933 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33934 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33935 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33936
58985aa9
UD
339372011-10-24 Ulrich Drepper <drepper@gmail.com>
33938
202c9deb
UD
33939 * sysdeps/x86_64/dla.h: Move to ...
33940 * sysdeps/x86_64/fpu/dla.h: ...here.
33941 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33942 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 33943
af968f62
UD
33944 * config.make.in: Add have-mfma4 entry.
33945 * configure.in: Substitute libc_cv_cc_fma4.
33946 * math/Makefile (dbl-only-routines): Add sincostab.
33947 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33948 Use __sincostab not sincos.
33949 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33950 name is a macro.
33951 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33955 using __copysign.
33956 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33957 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33958 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33959 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33960 and __inv.
33961 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33962 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33963 __copysign.
33964 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33965 define aliases when function name is a macro.
33966 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33967 sysdeps/ieee754/dbl-64/sincos.tbl.
33968 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33969 fma4-enabled routines.
33970 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33971 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33972 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33973 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33974 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33975 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33979 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33980 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33981 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33982 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33983 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33984 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33985 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33986 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33987 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33988 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33989 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33990 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33991 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33992 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33993 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33994 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33995 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33996 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33997 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33998 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33999 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34000
58985aa9
UD
34001 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34002 rename.
34003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34011
a201fbcf
AS
340122011-10-24 Andreas Schwab <schwab@redhat.com>
34013
34014 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34015
fc2ee42a
LD
340162011-10-23 Ulrich Drepper <drepper@gmail.com>
34017
bb3129bd
UD
34018 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34019
0275fff8
UD
34020 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34021 prediction.
34022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34023
2fa2ae85
UD
34024 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34025 Remove unused variable magic_bits.
34026 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34027
fc2ee42a
LD
34028 * string/strnlen.c: Define and use STRNLEN macro.
34029 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34030 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34031 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34032 * wcsmbs/wcslen.c: Define and use WCSLEN.
34033 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34034 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34035 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34036 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34037 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34038 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34039 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34040
ce7dd29f
LD
340412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34042
34043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34044 strnlen-sse2-no-bsf.
34045 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34047 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34048 Add strnlen support.
34049 (USE_AS_STRNLEN): New macro.
34050 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34051 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34052 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34053 * sysdeps/x86_64/wcslen.S: New file.
34054
979c70a3
MZ
340552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34056
34057 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34058 XMM-moves are used for copying on small sizes.
34059
2d09f82f
LD
340602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34061
34062 * wcsmbs/Makefile (strop-tests): Add wcschr.
34063 * wcsmbs/test-wcschr.c: New file.
34064 * string/test-strchr.c: Update.
34065 Add wcschr support.
34066 (WIDE): New macro.
34067
619fccca
LD
340682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34069
2d09f82f 34070 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34071 * wcsmbs/test-wcslen.c: New file.
34072 * string/test-strlen.c: Update.
34073 Add wcslen support.
34074 (WIDE): New macro.
34075
09f699ea
UD
340762011-10-23 Ulrich Drepper <drepper@gmail.com>
34077
34078 * po/it.po: Update from translation team.
34079
95584d3b
LD
340802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34081
34082 * sysdeps/x86_64/wcscmp.S: Update.
34083 Fix wrong comparison semantics.
34084 wcscmp shall use signed comparison not unsigned.
34085 Don't use substraction to avoid overflow bug.
34086 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34087 * wcsmbc/wcscmp.c: Likewise.
34088 * string/test-strcmp.c: Likewise.
34089 Add new tests to check cases with negative values.
34090
c8b3296b
UD
340912011-10-23 Ulrich Drepper <drepper@gmail.com>
34092
34093 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34094 * sysdeps/x86_64/dla.h: ...here. New file.
34095 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34097 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34100 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34104
246ad57a
AS
341052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34106
34107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34108 __ynl_finite aliases.
34109
a1a87169
UD
341102011-10-22 Ulrich Drepper <drepper@gmail.com>
34111
0d355eb7
UD
34112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34113
a1a87169
UD
34114 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34115 define DLA_FMA.
34116 [DLA_FMA] (EMULV): Use DLA_FMA.
34117 [DLA_FMA] (MUL12): Use EMULV.
34118 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34119 that are not needed.
34120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34127
ee2aafe0
AS
341282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34129
34130 * math/s_nan.c: Undef __nan.
34131 * math/s_nanf.c: Undef __nanf.
34132 * math/s_nanl.c: Undef __nanl.
34133 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34134 "math_private.h".
34135
bc62c2fb
UD
341362011-10-22 Ulrich Drepper <drepper@gmail.com>
34137
77425c63
UD
34138 * math/s_catan.c: Add branch predictions.
34139 * math/s_catanf.c: Likewise.
34140 * math/s_catanh.c: Likewise.
34141 * math/s_catanhf.c: Likewise.
34142 * math/s_catanhl.c: Likewise.
34143 * math/s_catanl.c: Likewise.
34144 * math/s_cexp.c: Likewise.
34145 * math/s_cexpf.c: Likewise.
34146 * math/s_cexpl.c: Likewise.
34147 * math/s_clog.c: Likewise.
34148 * math/s_clog10.c: Likewise.
34149 * math/s_clog10f.c: Likewise.
34150 * math/s_clog10l.c: Likewise.
34151 * math/s_clogf.c: Likewise.
34152 * math/s_clogl.c: Likewise.
34153 * math/s_csqrt.c: Likewise.
34154 * math/s_csqrtf.c: Likewise.
34155 * math/s_csqrtl.c: Likewise.
34156 * math/s_ctanf.c: Likewise.
34157 * math/s_ctanh.c: Likewise.
34158 * math/s_ctanhf.c: Likewise.
34159 * math/s_ctanhl.c: Likewise.
34160 * math/s_ctanl.c: Likewise.
34161
bc62c2fb
UD
34162 * math/math_private.h: Define __nan, __nanf, __nanl.
34163 * math/s_cacosh.c: Include <math_private.h>.
34164 * math/s_cacoshl.c: Likewise.
34165 * math/s_casinh.c: Likewise.
34166 * math/s_casinhf.c: Likewise.
34167 * math/s_casinhl.c: Likewise.
34168 * math/s_ccos.c: Rely entire on ccosh.
34169 * math/s_ccosf.c: Rely entire on ccoshf.
34170 * math/s_ccosl.c: Rely entirely on ccoshl.
34171 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34172 Remove tests for FE_INVALID.
34173 * math/s_ccoshf.c: Likewise.
34174 * math/s_ccoshl.c: Likewise.
34175 * math/s_csin.c: Likewise.
34176 * math/s_csinf.c: Likewise.
34177 * math/s_csinh.c Likewise.
34178 * math/s_csinhf.c: Likewise.
34179 * math/s_csinhl.c: Likewise.
34180 * math/s_csinl.c: Likewise.
34181 * math/s_ctan.c: Likewise.
34182 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34183 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34184 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34185
8ec250a4
UD
341862011-10-21 Ulrich Drepper <drepper@gmail.com>
34187
c196fed8
UD
34188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34189 compilation problems.
34190
8ec250a4
UD
34191 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34192 __builtin_expect.
34193
8d4f46c6
UD
341942011-10-20 Ulrich Drepper <drepper@gmail.com>
34195
ed72b654
UD
34196 * sysdeps/i386/configure.in: Test for -mfma4 option.
34197 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34198 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34199 COMMON_CPUID_INDEX_80000001.
34200 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34201 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34202 use it if FMA3 is not supported.
34203 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34204
8d4f46c6
UD
34205 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34207
d45c60c2
AS
342082011-10-20 Andreas Schwab <schwab@redhat.com>
34209
34210 [BZ #12892]
34211 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34212 it would create a cycle with a link time dependency.
34213
d9a4d2ab
UD
342142011-10-19 Ulrich Drepper <drepper@gmail.com>
34215
855d1560
UD
34216 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34217 instruction.
34218 * string/Makefile (strop-tests): Add rawmemchr.
34219 * string/test-rawmemchr.c: New file.
34220
d9a4d2ab
UD
34221 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34223 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34224 when compiling str{,n}casecmp and when AVX is available. Hook up
34225 new optimized code in initializers.
34226
8f3b1ffe
AS
342272011-10-19 Andreas Schwab <schwab@redhat.com>
34228
34229 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34230 __feraiseexcept instead of feraiseexcept.
34231
d38f1dba
UD
342322011-10-18 Ulrich Drepper <drepper@gmail.com>
34233
d9a8d0ab
UD
34234 * math/math_private.h: Define defaults for libc_fetestexcept and
34235 libc_feupdateenv.
34236 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34237 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34238 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34239 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34240 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34241 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34242 libc_fetestexcept and libc_feupdateenv.
34243
4855e3dd
UD
34244 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34245 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34246 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34247 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34248 libc_feholdexcept_setround.
34249
581d30e3
UD
34250 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34251 Add s_nearbyint-c and s_nearbyintf-c.
34252 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34253 nearbyintf inlines.
34254 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34255 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34256 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34257 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34258
d38f1dba
UD
34259 * math/math_private.h: Define defaults for libc_fegetround,
34260 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34261 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34262 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34263 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34264 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34265 standard functions.
34266 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34267 Remove comments and hacks for old compiler versions.
34268 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34269 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34270 libc_feholdexceptl.
34271
caa6c9d8
AS
342722011-10-18 Andreas Schwab <schwab@redhat.com>
34273
34274 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34275 (__feraiseexcept_renamed): Add __NTH.
34276 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34277 namespace violations.
34278
97c066e6
UD
342792011-10-17 Ulrich Drepper <drepper@gmail.com>
34280
99ce7b04
UD
34281 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34282
1004d182
UD
34283 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34284
228a984d
UD
34285 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34286 recently added interfaces.
34287 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34288
c8553a6a
UD
34289 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34290 about macro parameter expansion.
34291
ed22dcf6
UD
34292 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34293 __NO_MATH_INLINES is defined. Cleanups.
34294
34295 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34296 and __floorf is target has SSE4.1.
34297 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34298 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34299 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34300 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34301
b171c137
UD
34302 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34303 name.
34304 (floorf): Likewise.
34305
97c066e6
UD
34306 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34307
629f62ef
AS
343082011-10-17 Andreas Schwab <schwab@redhat.com>
34309
49a43d80
AS
34310 * misc/sys/cdefs.h: Fix last change.
34311
629f62ef
AS
34312 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34313 database lookup.
34314
e453f6cd
UD
343152011-10-16 Ulrich Drepper <drepper@gmail.com>
34316
aa78043a
UD
34317 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34318
ad0f5cad
UD
34319 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34320 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34321 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34322 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34323 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34324 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34326 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34327 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34328 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34329 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34330 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34331 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34332 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34333 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34334 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34335 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34336 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34337 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34338 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34339 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34340 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34341
34342 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34343 ceil, ceilf, floor, floorf.
34344
34345 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34346 Perform IRELATIVE relocations last.
34347
e453f6cd
UD
34348 * elf/do-rel.h: Add another parameter nrelative, replacing the
34349 local variable with the same name. Change name of the function
34350 to end in Rel or Rela (uppercase).
34351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34352 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34353 elf_dynamic_do_##reloc function.
34354
fd5bdc09
UD
343552011-10-15 Ulrich Drepper <drepper@gmail.com>
34356
79b195b5
UD
34357 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34358 is sufficient, at least on modern CPUs.
34359
d4a28569
UD
34360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34361
b61099b5
UD
34362 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34363 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34364
bcf01e6d
UD
34365 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34366 __expl_finite.
34367 * math/bits/math-finite.h: Add entries for exp.
34368 * math/e_expl.c: Add __*_finite alias.
34369 * sysdeps/i386/fpu/e_exp.S: Likewise.
34370 * sysdeps/i386/fpu/e_expf.S: Likewise.
34371 * sysdeps/i386/fpu/e_expl.c: Likewise.
34372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34373 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34374 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34375 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34376 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34377 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34378 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34379
ba1a0d59
UD
34380 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34381 is sufficient, at least on modern CPUs.
34382
fd5bdc09
UD
34383 * ctype/ctype-info.c (__ctype_init): Define.
34384 * include/ctype.h (__ctype_init): Declare.
34385 (__ctype_b_loc): The variable is always initialized.
34386 (__ctype_toupper_loc): Likewise.
34387 (__ctype_tolower_loc): Likewise.
34388 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34389 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34390
7872cfb0
AS
343912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34392
b468825a
AS
34393 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34394
7872cfb0
AS
34395 * configure.in: Also look in $cxxmachine/include for C++ system
34396 headers.
34397
be13f7bf
LD
343982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34399
34400 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34401 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34402 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34403 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34404 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34405 (USE_AS_WMEMCMP): New macro.
34406 Fixing indents.
34407 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34408 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34409 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34410 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34412 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34413 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34414 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34415 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34416 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34417 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34418 (USE_AS_WMEMCMP): New macro.
34419 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34420 * sysdeps/string/test-memcmp.c: Update.
34421 Fix simple_wmemcmp.
34422 Add new tests.
34423 * wcsmbs/wmemcmp.c: Update.
34424 (WMEMCMP): New macro.
34425 Fix overflow bug.
34426
556a2007
AJ
344272011-10-12 Andreas Jaeger <aj@suse.de>
34428
34429 [BZ #13268]
34430 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34431
538faaa7
UD
344322011-10-15 Ulrich Drepper <drepper@gmail.com>
34433
ab6737ff
UD
34434 * libio/iofwide.c (do_length): Avoid warning.
34435
538faaa7
UD
34436 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34437
396a21b1
UD
344382011-10-14 Ulrich Drepper <drepper@gmail.com>
34439
cdf2901f
UD
34440 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34441
38ad40ce
UD
34442 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34443 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34444 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34445 * sysdeps/i386/i686/fpu/e_log.S: New file.
34446 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34447 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34448
396a21b1
UD
34449 * ctype/ctype.h: Add support for inlined isXXX functions when
34450 compiling C++ code.
34451
6b1f68c9
AS
344522011-10-14 Andreas Schwab <schwab@redhat.com>
34453
349290c0
AS
34454 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34455
6b1f68c9
AS
34456 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34457
f2282d42
RM
344582011-10-13 Roland McGrath <roland@hack.frob.com>
34459
34460 [BZ #13291]
34461 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34462
5298ffa8
AS
344632011-10-13 Andreas Schwab <schwab@redhat.com>
34464
714fad23
AS
34465 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34466 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34467 feraiseexcept.
34468
81dcc7fb
AS
34469 * sysdeps/x86_64/memrchr.S: Check for zero size.
34470
5298ffa8
AS
34471 * string/stratcliff.c: Add memrchr tests.
34472
951fbcec
LD
344732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34474
34475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34476 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34477 rawmemchr-sse2 rawmemchr-sse2-bsf.
34478 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34479 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34480 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34481 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34482 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34483 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34484 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34485 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34486 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34487 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34488 * string/memrchr.c (MEMRCHR): New macro.
34489
0ac5ae23
UD
344902011-10-12 Ulrich Drepper <drepper@gmail.com>
34491
34492 Add integration with gcc's -ffinite-math-only and optimize wrapper
34493 functions in libm.
34494 * Versions.def: Define GLIBC_2.15 version for libm.
34495 * math/Makefile (headers): Add bits/math-finite.h.
34496 * math/bits/math-finite.h: New file.
34497 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34498 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34499 * math/e_acoshl.c: Add __*_finite alias.
34500 * math/e_acosl.c: Likewise.
34501 * math/e_asinl.c: Likewise.
34502 * math/e_atan2l.c: Likewise.
34503 * math/e_atanhl.c: Likewise.
34504 * math/e_coshl.c: Likewise.
34505 * math/e_exp10.c: Likewise.
34506 * math/e_exp10f.c: Likewise.
34507 * math/e_exp10l.c: Likewise.
34508 * math/e_exp2l.c: Likewise.
34509 * math/e_fmodl.c: Likewise.
34510 * math/e_gammal_r.c: Likewise.
34511 * math/e_hypotl.c: Likewise.
34512 * math/e_j0l.c: Likewise.
34513 * math/e_j1l.c: Likewise.
34514 * math/e_jnl.c: Likewise.
34515 * math/e_lgammal_r.c: Likewise.
34516 * math/e_log10l.c: Likewise.
34517 * math/e_log2l.c: Likewise.
34518 * math/e_logl.c: Likewise.
34519 * math/e_powl.c: Likewise.
34520 * math/e_sinhl.c: Likewise.
34521 * math/e_sqrtl.c: Likewise.
34522 * math/e_scalb.c: Completely rewritten and optimized.
34523 * math/e_scalbf.c: Likewise.
34524 * math/e_scalbl.c: Likewise.
34525 * math/w_acos.c: Likewise.
34526 * math/w_acosf.c: Likewise.
34527 * math/w_acosl.c: Likewise.
34528 * math/w_acosh.c: Likewise.
34529 * math/w_acoshf.c: Likewise.
34530 * math/w_acoshl.c: Likewise.
34531 * math/w_asin.c: Likewise.
34532 * math/w_asinf.c: Likewise.
34533 * math/w_asinl.c: Likewise.
34534 * math/w_atan2.c: Likewise.
34535 * math/w_atan2f.c: Likewise.
34536 * math/w_atan2l.c: Likewise.
34537 * math/w_atanh.c: Likewise.
34538 * math/w_atanhf.c: Likewise.
34539 * math/w_atanhl.c: Likewise.
34540 * math/w_exp10.c: Likewise.
34541 * math/w_exp10f.c: Likewise.
34542 * math/w_exp10l.c: Likewise.
34543 * math/w_fmod.c: Likewise.
34544 * math/w_fmodf.c: Likewise.
34545 * math/w_fmodl.c: Likewise.
34546 * math/w_j0.c: Likewise.
34547 * math/w_j0f.c: Likewise.
34548 * math/w_j0l.c: Likewise.
34549 * math/w_j1.c: Likewise.
34550 * math/w_j1f.c: Likewise.
34551 * math/w_j1l.c: Likewise.
34552 * math/w_jn.c: Likewise.
34553 * math/w_jnf.c: Likewise.
34554 * math/w_log.c: Likewise.
34555 * math/w_logf.c: Likewise.
34556 * math/w_logl.c: Likewise.
34557 * math/w_log10.c: Likewise.
34558 * math/w_log10f.c: Likewise.
34559 * math/w_log10l.c: Likewise.
34560 * math/w_log2.c: Likewise.
34561 * math/w_log2f.c: Likewise.
34562 * math/w_log2l.c: Likewise.
34563 * math/w_pow.c: Likewise.
34564 * math/w_powf.c: Likewise.
34565 * math/w_powl.c: Likewise.
34566 * math/w_remainder.c: Likewise.
34567 * math/w_remainderf.c: Likewise.
34568 * math/w_remainderl.c: Likewise.
34569 * math/w_scalb.c: Likewise.
34570 * math/w_scalbf.c: Likewise.
34571 * math/w_scalbl.c: Likewise.
34572 * math/w_sqrt.c: Likewise.
34573 * math/w_sqrtf.c: Likewise.
34574 * math/w_sqrtl.c: Likewise.
34575 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34576 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34577 used.
34578 * math/math_private.h: Declare __kernel_standard_f.
34579 * math/w_cosh.c: Remove cruft and optimize a bit.
34580 * math/w_coshf.c: Likewise.
34581 * math/w_coshl.c: Likewise.
34582 * math/w_exp2.c: Likewise.
34583 * math/w_exp2f.c: Likewise.
34584 * math/w_exp2l.c: Likewise.
34585 * math/w_hypot.c: Likewise.
34586 * math/w_hypotf.c: Likewise.
34587 * math/w_hypotl.c: Likewise.
34588 * math/w_lgamma.c: Likewise.
34589 * math/w_lgamma_r.c: Likewise.
34590 * math/w_lgammaf.c: Likewise.
34591 * math/w_lgammaf_r.c: Likewise.
34592 * math/w_lgammal.c: Likewise.
34593 * math/w_lgammal_r.c: Likewise.
34594 * math/w_sinh.c: Likewise.
34595 * math/w_sinhf.c: Likewise.
34596 * math/w_sinhl.c: Likewise.
34597 * math/w_tgamma.c: Likewise.
34598 * math/w_tgammaf.c: Likewise.
34599 * math/w_tgammal.c: Likewise.
34600 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34601 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34602 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34603 Minor optimizations. Pretty printing. Remove cruft.
34604 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34605 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34606 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34607 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34608 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34609 * sysdeps/i386/fpu/e_asin.S: Likewise.
34610 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34611 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34612 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34613 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34614 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34615 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34616 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34617 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34618 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34619 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34620 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34621 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34622 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34623 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34624 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34625 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34626 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34627 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34628 * sysdeps/i386/fpu/e_log.S: Likewise.
34629 * sysdeps/i386/fpu/e_log10.S: Likewise.
34630 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34631 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34632 * sysdeps/i386/fpu/e_log2.S: Likewise.
34633 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34634 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34635 * sysdeps/i386/fpu/e_logf.S: Likewise.
34636 * sysdeps/i386/fpu/e_logl.S: Likewise.
34637 * sysdeps/i386/fpu/e_pow.S: Likewise.
34638 * sysdeps/i386/fpu/e_powf.S: Likewise.
34639 * sysdeps/i386/fpu/e_powl.S: Likewise.
34640 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34641 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34642 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34643 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34644 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34645 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34646 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34647 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34648 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34652 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34657 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34658 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34659 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34660 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34662 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34665 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34667 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34670 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34673 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34674 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34676 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34677 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34678 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34679 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34680 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34681 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34682 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34683 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34684 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34685 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34686 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34687 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34688 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34689 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34690 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34720 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34727 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34728 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34729 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34732 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34734 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34737 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34738 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34739 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34742 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34743 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34744 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34745 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34746 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34747 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34748 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34749 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34750 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34751 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34752 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34753 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34755 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34757 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34758 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34759 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34760 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34761 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34762 (__isnanf): Likewise.
34763 (__isinf_ns): Likewise.
34764 (__isinf_nsf): Likewise.
34765 (__finite): Likewise.
34766 (__finitef): Likewise.
34767 (__ieee754_sqrt): Define as macro.
34768 (__ieee754_sqrtf): Define as macro.
34769 (__ieee754_sqrtl): Define as macro.
34770 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34771 inlined copy.
34772 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34773 __FINITE_MATH_ONLY__ consistent.
34774 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34775
12cc2fcd
AS
347762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34777
a843a204
AS
34778 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34779 of rawmemchr.
34780
12cc2fcd
AS
34781 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34782
c853acd5
UD
347832011-10-09 Ulrich Drepper <drepper@gmail.com>
34784
34785 * po/ja.po: Update from translation team.
34786
c658d255
RM
347872011-10-08 Roland McGrath <roland@hack.frob.com>
34788
110946e4
RM
34789 * locale/programs/locarchive.c (prepare_address_space): New function.
34790 (create_archive, enlarge_archive, open_archive): Use it.
34791
50604220
RM
34792 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34793 inside [SHARED], where it is used.
34794
c658d255
RM
34795 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34796
34797 * nss/getent.c (netgroup_keys): Remove unused variable.
34798 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34799
6a621eb7
UD
348002011-10-08 Ulrich Drepper <drepper@gmail.com>
34801
7edb55ce
UD
34802 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34803 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34805 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34806 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34807 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34808 * math/Makefile (libm-calls): Add s_isinf_ns.
34809 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34810 * math/multc3.c: Likewise.
34811 * math/s_casin.c: Likewise.
34812 * math/s_casinf.c: Likewise.
34813 * math/s_casinl.c: Likewise.
34814 * math/s_ccos.c: Likewise.
34815 * math/s_ccosf.c: Likewise.
34816 * math/s_ccosl.c: Likewise.
34817 * math/s_ctan.c: Likewise.
34818 * math/s_ctanf.c: Likewise.
34819 * math/s_ctanh.c: Likewise.
34820 * math/s_ctanhf.c: Likewise.
34821 * math/s_ctanhl.c: Likewise.
34822 * math/s_ctanl.c: Likewise.
34823 * math/w_fmod.c: Likewise.
34824 * math/w_fmodf.c: Likewise.
34825 * math/w_fmodl.c: Likewise.
34826 * math/w_remainder.c: Likewise.
34827 * math/w_remainderf.c: Likewise.
34828 * math/w_remainderl.c: Likewise.
34829 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34830 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34831 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34833 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34834 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34835 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34836 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34837
187da0ae
UD
34838 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34839 of the number.
34840 * stdio-common/printf_fphex.c: Likewise.
34841 * stdio-common/printf_size.c: Likewise.
34842
9277c064
UD
34843 * math/e_exp10.c: Include math_private.h using <...> not "...".
34844 * math/e_exp10f.c: Likewise.
34845 * math/e_exp10l.c: Likewise.
34846 * math/e_exp2l.c: Likewise.
34847 * math/e_j0l.c: Likewise.
34848 * math/e_j1l.c: Likewise.
34849 * math/e_jnl.c: Likewise.
34850 * math/e_lgammal_r.c: Likewise.
34851 * math/e_rem_pio2l.c: Likewise.
34852 * math/e_scalb.c: Likewise.
34853 * math/e_scalbf.c: Likewise.
34854 * math/e_scalbl.c: Likewise.
34855 * math/k_cosl.c: Likewise.
34856 * math/k_sinl.c: Likewise.
34857 * math/k_tanl.c: Likewise.
34858 * math/s_cacoshf.c: Likewise.
34859 * math/s_catan.c: Likewise.
34860 * math/s_catanf.c: Likewise.
34861 * math/s_catanh.c: Likewise.
34862 * math/s_catanhf.c: Likewise.
34863 * math/s_catanhl.c: Likewise.
34864 * math/s_catanl.c: Likewise.
34865 * math/s_ccosh.c: Likewise.
34866 * math/s_ccoshf.c: Likewise.
34867 * math/s_ccoshl.c: Likewise.
34868 * math/s_cexp.c: Likewise.
34869 * math/s_cexpf.c: Likewise.
34870 * math/s_cexpl.c: Likewise.
34871 * math/s_clog.c: Likewise.
34872 * math/s_clog10.c: Likewise.
34873 * math/s_clog10f.c: Likewise.
34874 * math/s_clog10l.c: Likewise.
34875 * math/s_clogf.c: Likewise.
34876 * math/s_clogl.c: Likewise.
34877 * math/s_csin.c: Likewise.
34878 * math/s_csinf.c: Likewise.
34879 * math/s_csinh.c: Likewise.
34880 * math/s_csinhf.c: Likewise.
34881 * math/s_csinhl.c: Likewise.
34882 * math/s_csinl.c: Likewise.
34883 * math/s_csqrt.c: Likewise.
34884 * math/s_csqrtf.c: Likewise.
34885 * math/s_csqrtl.c: Likewise.
34886 * math/s_ctan.c: Likewise.
34887 * math/s_ctanf.c: Likewise.
34888 * math/s_ctanh.c: Likewise.
34889 * math/s_ctanhf.c: Likewise.
34890 * math/s_ctanhl.c: Likewise.
34891 * math/s_ctanl.c: Likewise.
34892 * math/s_ldexp.c: Likewise.
34893 * math/s_ldexpf.c: Likewise.
34894 * math/s_ldexpl.c: Likewise.
34895 * math/s_significand.c: Likewise.
34896 * math/s_significandf.c: Likewise.
34897 * math/s_significandl.c: Likewise.
34898 * math/w_acos.c: Likewise.
34899 * math/w_acosf.c: Likewise.
34900 * math/w_acosh.c: Likewise.
34901 * math/w_acoshf.c: Likewise.
34902 * math/w_acoshl.c: Likewise.
34903 * math/w_acosl.c: Likewise.
34904 * math/w_asin.c: Likewise.
34905 * math/w_asinf.c: Likewise.
34906 * math/w_asinl.c: Likewise.
34907 * math/w_atan2.c: Likewise.
34908 * math/w_atan2f.c: Likewise.
34909 * math/w_atan2l.c: Likewise.
34910 * math/w_atanh.c: Likewise.
34911 * math/w_atanhf.c: Likewise.
34912 * math/w_atanhl.c: Likewise.
34913 * math/w_cosh.c: Likewise.
34914 * math/w_coshf.c: Likewise.
34915 * math/w_coshl.c: Likewise.
34916 * math/w_dremf.c: Likewise.
34917 * math/w_exp10.c: Likewise.
34918 * math/w_exp10f.c: Likewise.
34919 * math/w_exp10l.c: Likewise.
34920 * math/w_exp2.c: Likewise.
34921 * math/w_exp2f.c: Likewise.
34922 * math/w_fmod.c: Likewise.
34923 * math/w_fmodf.c: Likewise.
34924 * math/w_fmodl.c: Likewise.
34925 * math/w_hypot.c: Likewise.
34926 * math/w_hypotf.c: Likewise.
34927 * math/w_hypotl.c: Likewise.
34928 * math/w_j0.c: Likewise.
34929 * math/w_j0f.c: Likewise.
34930 * math/w_j0l.c: Likewise.
34931 * math/w_j1.c: Likewise.
34932 * math/w_j1f.c: Likewise.
34933 * math/w_j1l.c: Likewise.
34934 * math/w_jn.c: Likewise.
34935 * math/w_jnf.c: Likewise.
34936 * math/w_jnl.c: Likewise.
34937 * math/w_lgamma.c: Likewise.
34938 * math/w_lgamma_r.c: Likewise.
34939 * math/w_lgammaf.c: Likewise.
34940 * math/w_lgammaf_r.c: Likewise.
34941 * math/w_lgammal.c: Likewise.
34942 * math/w_lgammal_r.c: Likewise.
34943 * math/w_log.c: Likewise.
34944 * math/w_log10.c: Likewise.
34945 * math/w_log10f.c: Likewise.
34946 * math/w_log10l.c: Likewise.
34947 * math/w_log2.c: Likewise.
34948 * math/w_log2f.c: Likewise.
34949 * math/w_log2l.c: Likewise.
34950 * math/w_logf.c: Likewise.
34951 * math/w_logl.c: Likewise.
34952 * math/w_pow.c: Likewise.
34953 * math/w_powf.c: Likewise.
34954 * math/w_powl.c: Likewise.
34955 * math/w_remainder.c: Likewise.
34956 * math/w_remainderf.c: Likewise.
34957 * math/w_remainderl.c: Likewise.
34958 * math/w_scalb.c: Likewise.
34959 * math/w_scalbf.c: Likewise.
34960 * math/w_scalbl.c: Likewise.
34961 * math/w_sinh.c: Likewise.
34962 * math/w_sinhf.c: Likewise.
34963 * math/w_sinhl.c: Likewise.
34964 * math/w_sqrt.c: Likewise.
34965 * math/w_sqrtf.c: Likewise.
34966 * math/w_sqrtl.c: Likewise.
34967 * math/w_tgamma.c: Likewise.
34968 * math/w_tgammaf.c: Likewise.
34969 * math/w_tgammal.c: Likewise.
34970
6a621eb7
UD
34971 * po/ja.po: Update from translation team.
34972
bf582445
AJ
349732011-09-29 Andreas Jaeger <aj@suse.de>
34974
f9efbf3a
AJ
34975 [BZ #13179]
34976 * sunrpc/netname.c (netname2host): Fix logic.
34977
bf582445
AJ
34978 [BZ #6779]
34979 [BZ #6783]
34980 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34981 correctly.
34982 * math/w_remainder.c (__remainder): Likewise.
34983 * math/w_remainderf.c (__remainderf): Likewise.
34984 * math/libm-test.inc (remainder_test): Add test cases.
34985
48693bea
AK
349862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34987
34988 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34989 sdiv_qrnnd.
34990
42622229
LD
349912011-10-07 Ulrich Drepper <drepper@gmail.com>
34992
34993 * string/test-memcmp.c: Avoid unncessary #defines.
34994 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34995
093ecf92
LD
349962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34997
34998 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34999 Use new sse2 version for core i3 - i7 as it's faster
35000 than sse42 version.
35001 (bit_Prefer_PMINUB_for_stringop): New.
35002 * sysdeps/x86_64/rawmemchr.S: Update.
35003 Replace with faster SSE2 version.
35004 * sysdeps/x86_64/memrchr.S: New file.
35005 * sysdeps/x86_64/memchr.S: Update.
35006 Replace with faster SSE2 version.
35007
fde56e5c
MP
350082011-09-12 Marek Polacek <mpolacek@redhat.com>
35009
35010 * elf/dl-load.c (lose): Add cast to avoid warning.
35011
21fd49a9
UD
350122011-10-07 Ulrich Drepper <drepper@gmail.com>
35013
5a06e643
UD
35014 * po/ca.po: Update from translation team.
35015
684ae515
UD
35016 * inet/getnetgrent_r.c: Hook up nscd.
35017 * nscd/Makefile (routines): Add nscd_netgroup.
35018 (nscd-modules): Add netgroupcache.
35019 (CFLAGS-netgroupcache.c): Define.
35020 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35021 (cache_search): Add const to second parameter.
35022 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35023 INNETGR.
35024 (dbs): Add netgrdb entry.
35025 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35026 (verify_persistent_db): Handle netgrdb.
35027 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35028 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35029 GETFDNETGR.
35030 (netgroup_response_header): Define.
35031 (innetgroup_response_header): Define.
35032 (datahead): Add netgroup_response_header and innetgroup_response_header
35033 elements.
35034 * nscd/nscd.conf: Add entries for netgroup cache.
35035 * nscd/nscd.h (dbtype): Add netgrdb.
35036 (_PATH_NSCD_NETGROUP_DB): Define.
35037 (netgroup_iov_disabled): Declare.
35038 (xmalloc, xcalloc, xrealloc): Move declarations here.
35039 (cache_search): Adjust prototype.
35040 Add netgroup-related prototypes.
35041 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35042 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35043 (__nscd_innetgr): Declare.
35044 * nscd/selinux.c (perms): Use access_vector_t as element type and
35045 add netgroup-related initializers.
35046 * nscd/netgroupcache.c: New file.
35047 * nscd/nscd_netgroup.c: New file.
35048 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35049 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35050 For four parameters use innetgr.
35051 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35052 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35053 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35054 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35055
21fd49a9
UD
35056 * nscd/connections.c (register_traced_file): Don't register file
35057 for disabled databases.
35058
054c0457
UD
350592011-10-06 Ulrich Drepper <drepper@gmail.com>
35060
32b63198
UD
35061 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35062
054c0457
UD
35063 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35064 from tree and freeing node.
35065
64031225
JO
350662011-09-25 Jiri Olsa <jolsa@redhat.com>
35067
35068 * nss/nsswitch.c (__nss_database_lookup): Handle
35069 nss_parse_service_list out of memory case.
35070
0490345c
JO
350712011-09-15 Jiri Olsa <jolsa@redhat.com>
35072
35073 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35074 out of memory case.
35075
3a62d00d
AS
350762011-10-04 Andreas Schwab <schwab@redhat.com>
35077
35078 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35079 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35080 pass it down.
35081 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35082 elf_machine_rela, elf_machine_lazy_rel.
35083 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35084 (ELF_DYNAMIC_DO_REL): Likewise.
35085 (ELF_DYNAMIC_DO_RELA): Likewise.
35086 (ELF_DYNAMIC_RELOCATE): Likewise.
35087 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35088 to ELF_DYNAMIC_DO_REL.
35089 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35090 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35091 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35092 elf_machine_rela.
35093 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35094 skip_ifunc, don't call ifunc function if non-zero.
35095 (elf_machine_rela): Likewise.
35096 (elf_machine_lazy_rel): Likewise.
35097 (elf_machine_lazy_rela): Likewise.
35098 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35099 (elf_machine_lazy_rel): Likewise.
35100 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35101 Likewise.
35102 (elf_machine_lazy_rel): Likewise.
35103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35104 Likewise.
35105 (elf_machine_lazy_rel): Likewise.
35106 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35107 (elf_machine_lazy_rel): Likewise.
35108 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35109 (elf_machine_lazy_rel): Likewise.
35110 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35111 (elf_machine_lazy_rel): Likewise.
35112 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35113 (elf_machine_lazy_rel): Likewise.
35114 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35115 (elf_machine_lazy_rel): Likewise.
35116 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35117 (elf_machine_lazy_rel): Likewise.
35118
68577918
UD
351192011-09-28 Ulrich Drepper <drepper@gmail.com>
35120
35121 * nss/nss_files/files-init.c (_nss_files_init): Use static
35122 initialization for all the *_traced_file variables.
35123
68822d74
AS
351242011-09-28 Andreas Schwab <schwab@redhat.com>
35125
35126 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35127
2056100b
RM
351282011-09-27 Roland McGrath <roland@hack.frob.com>
35129
35130 [BZ #13226]
35131 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35132
32c76b63
AS
351332011-09-27 Andreas Schwab <schwab@redhat.com>
35134
35135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35136 Reread the line before reparsing it.
35137
bf972c9d
AS
351382011-09-26 Andreas Schwab <schwab@redhat.com>
35139
35140 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35141
e057a1b5
JM
351422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35143 Maxim Kuvyrkov <maxim@codesourcery.com>
35144 Joseph Myers <joseph@codesourcery.com>
35145
35146 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35147 if needed for __stack_chk_guard.
35148
bc7e1c36
RM
351492011-09-19 Roland McGrath <roland@hack.frob.com>
35150
ecb1482f
RM
35151 * sysdeps/posix/spawni.c (script_execute): Always define it.
35152 It will be optimized away if unused.
35153 (maybe_script_execute): New function.
35154 (__spawni): Call it.
35155
bc7e1c36
RM
35156 * Makerules: Don't include tls.make.
35157 (config-tls): Always set to thread.
35158 * tls.make.c: File removed.
35159
1c3b002b
MF
351602011-09-19 Mike Frysinger <vapier@gentoo.org>
35161
35162 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35163 * config.make.in (CPPFLAGS-config): New substituted variable.
35164
2840865d
UD
351652011-09-15 Ulrich Drepper <drepper@gmail.com>
35166
88738eb6
UD
35167 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35168
cbf645a6 35169 [BZ #13192]
2840865d
UD
35170 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35171 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35172
b402e91a
RM
351732011-09-15 Roland McGrath <roland@hack.frob.com>
35174
35175 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35176 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35178 (CALL_FAIL): Likewise.
35179 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35180 (CALL_FAIL): Macro removed.
35181 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35182
4c1a1f71
UD
351832011-09-15 Ulrich Drepper <drepper@gmail.com>
35184
35185 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35186 for __FINITE_MATH_ONLY__ == 1.
35187
edc121be
AS
351882011-09-15 Andreas Schwab <schwab@redhat.com>
35189
35190 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35191 __ieee754_sqrt instead of sqrt.
35192 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35193 __ieee754_sqrtf instead of sqrtf.
35194 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35195 __floorf instead of floorf.
35196 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35197 __floorf, __truncf instead of floorf, truncf.
35198
cd205654
UD
351992011-09-14 Ulrich Drepper <drepper@gmail.com>
35200
ee4d0315
UD
35201 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35202
cd205654
UD
35203 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35204 __extern_always_inline.
35205 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35206 32-bit.
35207
48b67d71
AS
352082011-09-14 Andreas Schwab <schwab@redhat.com>
35209
35210 * elf/rtld.c (dl_main): Also relocate in dependency order when
35211 doing symbol dependency testing.
35212
1ae12c75
AS
352132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35214
35215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35216 Always define `refsym'.
35217
995a80df
AS
352182011-09-13 Andreas Schwab <schwab@redhat.com>
35219
e529793b
AS
35220 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35221 (__FD_ELT): Renamed from __FDELT.
35222 * misc/bits/select2.h (__FD_ELT): Likewise.
35223 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35224 __FD_MASK instead of __FDELT, __FDMASK.
35225 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35226 Likewise.
35227 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35228 Likewise.
35229
52d4fef8
AS
35230 * elf/Makefile (gen-ldd): Fix pattern.
35231
995a80df
AS
35232 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35233 (init_tls): Likewise.
35234
8682f8b0
UD
352352011-09-12 Ulrich Drepper <drepper@gmail.com>
35236
35237 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35238
de82006d
AS
352392011-09-12 Andreas Schwab <schwab@redhat.com>
35240
a7c8e6a1
AS
35241 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35242 `struct cmsghdr *' instead of `void *'.
35243 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35244 Likewise.
35245
0f31fe77
AS
352462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35247
35248 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35249 if non-absolute.
35250 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35251 ldd_rewrite_script.
0f31fe77 35252
32b4c839
UD
352532011-09-11 Ulrich Drepper <drepper@gmail.com>
35254
83cd1420
UD
35255 * configure.in: Remove --with-tls option.
35256 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35257 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35258 out in case it is missing.
35259 * sysdeps/ia64/elf/configure.in: Likewise.
35260 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35261 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35262 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35263 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35264 * sysdeps/sh/elf/configure.in: Likewise.
35265 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35266 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35267 * sysdeps/x86_64/elf/configure.in: Likewise.
35268 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35269 * sysdeps/mach/hurd/tls.h: Likewise.
35270
633f745d
UD
35271 [BZ #13067]
35272 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35273
f318beb8
UD
35274 [BZ #13090]
35275 * configure.in: Fix use of AC_INIT.
35276
32b4c839
UD
35277 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35278
3ce1f295
UD
352792011-09-10 Ulrich Drepper <drepper@gmail.com>
35280
bb016596
UD
35281 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35282 __set_errno.
8e58439c
UD
35283 * malloc/hooks.c: Likewise.
35284
aebae053 35285 [BZ #11929]
02d46fc4
UD
35286 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35287 variables statically.
35288 (narenas): Initialize.
35289 (list_lock): Initialize.
bb016596
UD
35290 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35291 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35292 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35293 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35294 Add initializers to main_arena and mp_.
35295 (malloc_state): Remove pagesize member. Change all users to use
35296 GLRO(dl_pagesize).
35297
35298 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35299 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35300 is always initialized.
35301
22a89187
UD
35302 * malloc/malloc.c: Removed unused configurations and dead code.
35303 * malloc/arena.c: Likewise.
35304 * malloc/hooks.c: Likewise.
02d46fc4 35305 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35306
d063d164
UD
35307 * include/tls.h: Removed. USE___THREAD must always be defined.
35308 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35309 * elf/dl-libc.c: Likewise.
35310 * elf/dl-tsd.c: Likewise.
35311 * include/errno.h: Likewise.
35312 * include/netdb.h: Likewise.
35313 * include/resolv.h: Likewise.
35314 * inet/herrno-loc.c: Likewise.
35315 * inet/herrno.c: Likewise.
35316 * malloc/arena.c: Likewise.
35317 * malloc/hooks.c: Likewise.
35318 * malloc/malloc.c: Likewise.
35319 * resolv/res-state.c: Likewise.
35320 * resolv/res_libc.c: Likewise.
35321 * sysdeps/i386/dl-machine.h: Likewise.
35322 * sysdeps/ia64/dl-machine.h: Likewise.
35323 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35324 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35325 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35326 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35327 * sysdeps/sh/dl-machine.h: Likewise.
35328 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35329 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35330 * sysdeps/unix/i386/sysdep.S: Likewise.
35331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35332 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35333 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35337 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35341 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35342 * sysdeps/x86_64/dl-machine.h: Likewise.
35343 * tls.make.c: Likewise.
35344
3ce1f295
UD
35345 * configure.in: Remove --with-__thread option. Make tests for
35346 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35347 tls_model attribute fail if no support is available. Remove
35348 USE_IN_LIBIO.
35349 * Makeconfig: Adjust for dropped configure option. All features are
35350 now mandatory.
35351 * Makerules: Likewise.
35352 * Versions.def: Likewise.
35353 * argp/argp-fmtstream.c: Likewise.
35354 * argp/argp-fmtstream.h: Likewise.
35355 * argp/argp-help.c: Likewise.
35356 * assert/assert.c: Likewise.
35357 * config.h.in: Likewise.
35358 * config.make.in: Likewise.
35359 * configure: Likewise.
35360 * configure.in: Likewise.
35361 * csu/Versions: Likewise.
35362 * csu/init.c: Likewise.
35363 * elf/tst-audit2.c: Likewise.
35364 * elf/tst-tls10.c: Likewise.
35365 * elf/tst-tls10.h: Likewise.
35366 * elf/tst-tls11.c: Likewise.
35367 * elf/tst-tls12.c: Likewise.
35368 * elf/tst-tls14.c: Likewise.
35369 * elf/tst-tlsmod11.c: Likewise.
35370 * elf/tst-tlsmod12.c: Likewise.
35371 * elf/tst-tlsmod13.c: Likewise.
35372 * elf/tst-tlsmod13a.c: Likewise.
35373 * elf/tst-tlsmod14a.c: Likewise.
35374 * elf/tst-tlsmod15b.c: Likewise.
35375 * elf/tst-tlsmod16a.c: Likewise.
35376 * elf/tst-tlsmod16b.c: Likewise.
35377 * elf/tst-tlsmod7.c: Likewise.
35378 * elf/tst-tlsmod8.c: Likewise.
35379 * elf/tst-tlsmod9.c: Likewise.
35380 * gmon/gmon.c: Likewise.
35381 * grp/fgetgrent_r.c: Likewise.
35382 * grp/putgrent.c: Likewise.
35383 * hurd/fopenport.c: Likewise.
35384 * include/libc-symbols.h: Likewise.
35385 * include/tls.h: Likewise.
35386 * intl/gettextP.h: Likewise.
35387 * intl/loadinfo.h: Likewise.
35388 * locale/global-locale.c: Likewise.
35389 * locale/localeinfo.h: Likewise.
35390 * mach/devstream.c: Likewise.
35391 * malloc/arena.c: Likewise.
35392 * malloc/set-freeres.c: Likewise.
35393 * misc/err.c: Likewise.
35394 * misc/getttyent.c: Likewise.
35395 * misc/mntent_r.c: Likewise.
35396 * posix/getopt.c: Likewise.
35397 * posix/wordexp.c: Likewise.
35398 * pwd/fgetpwent_r.c: Likewise.
35399 * resolv/Versions: Likewise.
35400 * resolv/res_hconf.c: Likewise.
35401 * shadow/fgetspent_r.c: Likewise.
35402 * shadow/putspent.c: Likewise.
35403 * stdio-common/printf_fphex.c: Likewise.
35404 * stdio-common/tmpfile.c: Likewise.
35405 * stdlib/abort.c: Likewise.
35406 * stdlib/fmtmsg.c: Likewise.
35407 * sunrpc/auth_unix.c: Likewise.
35408 * sunrpc/clnt_perr.c: Likewise.
35409 * sunrpc/clnt_tcp.c: Likewise.
35410 * sunrpc/clnt_udp.c: Likewise.
35411 * sunrpc/clnt_unix.c: Likewise.
35412 * sunrpc/openchild.c: Likewise.
35413 * sunrpc/svc_simple.c: Likewise.
35414 * sunrpc/svc_tcp.c: Likewise.
35415 * sunrpc/svc_udp.c: Likewise.
35416 * sunrpc/svc_unix.c: Likewise.
35417 * sunrpc/xdr.c: Likewise.
35418 * sunrpc/xdr_array.c: Likewise.
35419 * sunrpc/xdr_rec.c: Likewise.
35420 * sunrpc/xdr_ref.c: Likewise.
35421 * sunrpc/xdr_stdio.c: Likewise.
35422
1248c1c4
PB
354232011-09-09 Ulrich Drepper <drepper@gmail.com>
35424
35425 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35426
354272011-07-03 Andreas Jaeger <aj@suse.de>
35428
35429 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35430 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35431 regenerate with gen-libm-tests.pl.
35432
354332010-05-12 Petr Baudis <pasky@suse.cz>
35434
35435 [BZ #11589]
35436 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35437 around j0() zero points by switching to j1().
35438 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35439 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35441 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35442
f22e1074
UD
354432011-09-09 Ulrich Drepper <drepper@gmail.com>
35444
f19009c1
UD
35445 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35446 instead of 0.
35447 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35448 instead of 0.
f19009c1
UD
35449 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35450 Patch in part by Pavel Roskin <proski@gnu.org>.
35451
3f8cc204
UD
35452 [BZ #13138]
35453 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35454 realloc.
35455 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35456 Free memory block if necessary.
35457
f22e1074
UD
35458 [BZ #12847]
35459 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35460 be NULL. Don't lock in this case.
35461
0a2349f9
RM
354622011-09-09 Roland McGrath <roland@hack.frob.com>
35463
35464 * elf/elf.h (ELFOSABI_GNU): New macro.
35465 (ELFOSABI_LINUX): Define to that.
35466
f3cdd467
DZ
354672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35468
35469 * string/strncat.c (strncat): Undef the symbol in case it has been
35470 defined in bits/string.h.
35471
74718d13
UD
354722011-09-09 Ulrich Drepper <drepper@gmail.com>
35473
633e9e0f
UD
35474 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35475
0a2349f9 35476 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35477 link map.
35478
f9924780
AJ
354792011-08-17 Andreas Jaeger <aj@suse.de>
35480
35481 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35482
7f5517aa
PP
354832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35484 Ian Lance Taylor <iant@google.com>
35485
35486 * math/libm-test.inc (lround_test): New testcase.
35487 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35488
762011fe
UD
354892011-09-08 Ulrich Drepper <drepper@gmail.com>
35490
92963737
UD
35491 * Makefile: Remove support for automatic cvs check-ins.
35492 * Makerules: Likewise.
35493 * config.make.in: Likewise.
35494 * configure.in: Likewise.
35495 * intl/Makefile: Likewise.
35496 * locale/Makefile: Likewise.
35497 * po/Makefile: Likewise.
35498 * posix/Makefile: Likewise.
35499 * sysdeps/gnu/Makefile: Likewise.
35500 * sysdeps/mach/hurd/Makefile: Likewise.
35501 * sysdeps/sparc/sparc32/Makefile: Likewise.
35502
b0727fd8
JS
35503 [BZ #13118]
35504 * posix/Makefile (bug-regex32-ENV): Define.
35505 Patch by John Stanley <jpsinthemix@verizon.net>.
35506
a0f33f99
UD
35507 * misc/Makefile (headers): Add bits/select2.h.
35508 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35509 * misc/bits/select2.h: New file.
35510 * include/bits/select2.h: New file.
35511 * debug/Makefile (routines): Add fdelt_chk.
35512 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35513 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35514 FD_ISSET.
35515 * debug/fdelt_chk.c: New file.
35516
762011fe
UD
35517 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35518 * wcsmbs/test-wmemcmp.c: Likewise.
35519 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35520 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35521
355222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35523
35524 * string/Makefile (strop-tests): Add memcmp.
35525 * string/test-wmemcmp.c: New file.
35526 * string/test-memcmp.c: Add wmemcmp support.
35527
7f513ec8
RM
355282011-09-08 Roland McGrath <roland@hack.frob.com>
35529
0442afb4
RM
35530 [BZ #13153]
35531 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35532 2011-07-19 change.
35533
7f513ec8
RM
35534 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35535 garbage value in a __mach_port_mod_refs call in the cases of the
35536 task-self and thread-self ports.
35537
a12b2239
ST
355382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35539
35540 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35541
610f9ab4
AS
355422011-09-08 Andreas Schwab <schwab@redhat.com>
35543
7f513ec8 35544 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35545
48882a1a
LD
355462011-09-07 Ulrich Drepper <drepper@gmail.com>
35547
b49865be
UD
35548 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35549
fdc86bc9
UD
35550 * elf/dl-libc.c (dlerror_run): Pass back error code from
35551 dl_catch_error.
35552
c966526a
UD
35553 [BZ #13123]
35554 * elf/dl-load.c (lose): Free l_origin if it is valid.
35555
48882a1a
LD
35556 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35557 names.
35558 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35559 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35560 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35561 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35562 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35563 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35564
77a2a8b4
AZ
355652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35566
35567 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35568 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35569 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35570 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35571 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35572 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35573 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35574 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35575 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35576 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35577
24f579d8
AM
355782011-08-15 Alan Modra <amodra@gmail.com>
35579
35580 [BZ #13092]
35581 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35582 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35583 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35584 ppc_mcount to static-only-routines.
35585 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35586 __mcount_internal.
35587 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35588 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35589
3d4837df
UD
355902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35591
35592 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35593 for finite and infinity parameters.
35594
22700377
WS
355952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35596
35597 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35598 and add nop instructions for throughput optimization.
35599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35600
5025581e
WS
356012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35602
35603 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35604 aligned copy for power7 with vector-scalar instructions.
35605 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35606
08a300c9
L
356072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35608
35609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35610 AVX check.
35611
59178ef9
AS
356122011-09-07 Andreas Schwab <schwab@redhat.com>
35613
35614 [BZ #13144]
35615 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35616 last change.
35617
e38ba7ab
UD
356182011-09-07 Ulrich Drepper <drepper@gmail.com>
35619
35620 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35621 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35622 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35623 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35624 clock_gettime.
35625
d53a73ac
UD
356262011-09-06 Ulrich Drepper <drepper@gmail.com>
35627
fc8bffcc
UD
35628 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35629 Forgot to demangle the pointer.
35630
ceaa0c5d
UD
35631 * sysdeps/i386/sysdep.h: Define atom_text_section.
35632 * sysdeps/x86_64/sysdep.h: Likewise.
35633 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35634 section with atom_text_section.
35635 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35636 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35637 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35638 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35639 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35640
a77d3c17
UD
35641 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35642 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35643 already be defined. Change to take two parameters and don't assign
35644 result to variable. Adjust all users.
35645 Define INTERNAL_GETTIME if not already defined.
35646 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35647 call.
35648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35649 HAVE_CLOCK_GETTIME_VSYSCALL.
35650 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35651
d53a73ac
UD
35652 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35653 gettimeofday vsyscall, just use time.
35654
a8f84144
AS
356552011-09-06 Andreas Schwab <schwab@redhat.com>
35656
35657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35658 <errno.h>.
35659
ef606249
UD
356602011-09-06 Ulrich Drepper <drepper@gmail.com>
35661
35662 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35663 syscall on x86-64.
35664 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35665 syscall.
35666 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35667 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35668 syscall if possible.
35669
6585cb60
UD
356702011-09-05 Ulrich Drepper <drepper@gmail.com>
35671
35672 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35673 e_ident. Don't pass to find_mapsXX.
35674 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35675
a5f524e4
LD
356762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35677
35678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35679 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35680 * sysdeps/x86_64/multiarch/strchr.S: Update.
35681 Check bit_slow_BSF bit.
35682 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35683 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35684 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35685
554881ef
UD
356862011-09-05 Ulrich Drepper <drepper@gmail.com>
35687
d96de963
UD
35688 [BZ #13134]
35689 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35690 before glibc 2.15.
35691 (tryshell): Define.
35692 (__spawni): Change last parameter to be flag. Test
35693 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35694 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35695 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35696 * posix/spawni.c: Likewise.
35697 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35698 * posix/spawnp.c: Likewise. Change normal version to use
35699 SPAWN_XFLAGS_USE_PATH.
35700 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35701 SPAWN_XFLAGS_TRY_SHELL.
35702
d48e5868
UD
35703 [BZ #13150]
35704 * posix/glob.h: Remove gcc 1.x support.
35705
554881ef
UD
35706 [BZ #13068]
35707 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35708
693fb948
LD
357092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35710
35711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35712 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35713 strrchr-sse2-bsf
35714 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35715 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35716 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35717 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35718 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35720
1b48c537
UD
357212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35722
49d42c37
UD
35723 * sysdeps/x86_64/wcscmp.S: New file.
35724
1b48c537
UD
35725 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35726 wcscmp-c wcscmp-sse2
35727 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35728 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35729 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35730 * wcsmbs/wcscmp.c: Allow renaming.
35731
15c95c5d
DM
357322011-09-05 David S. Miller <davem@davemloft.net>
35733
35734 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35735 stack slot, rather than the struct return pointer slot.
35736 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35737 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35739 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35740
2f0ad8f3
UD
357412011-09-05 Ulrich Drepper <drepper@gmail.com>
35742
d88ae418
UD
35743 * po/ja.po: Update from translation team.
35744
2f0ad8f3
UD
35745 [BZ #13144]
35746 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35747 kernel in 64-bit binaries.
35748
5f4318d1
DM
357492011-09-01 David S. Miller <davem@davemloft.net>
35750
35751 * elf/elf.h (HWCAP_SPARC_*): Move to..
35752 * sysdeps/sparc/sysdep.h: this new file and add new values.
35753 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35754 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35755 _DL_HWCAP_COUNT to 24.
35756 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35757 entries.
35758 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35759 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35760 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35762 instead of magic constants.
35763 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35764
3ba57516
DM
357652011-08-31 David S. Miller <davem@davemloft.net>
35766
35767 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35769 Reimplement to do errno handling inline.
35770 (SYSCALL_ERROR_HANDLER): New macro.
35771 (__SYSCALL_STRING): Do not do errno handling in asm.
35772 (__CLONE_SYSCALL_STRING): Delete.
35773 (__INTERNAL_SYSCALL_STRING): Delete.
35774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35775 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35776 (PSEUDO): Reimplement to do errno handling inline.
35777 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35778 (SYSCALL_ERROR_HANDLER): New macro.
35779 (__SYSCALL_STRING): Do not do errno handling in asm.
35780 (__CLONE_SYSCALL_STRING): Delete.
35781 (__INTERNAL_SYSCALL_STRING): Delete.
35782 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35783 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35784 i386.
35785 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35786 (inline_syscall*): Add 'err' argument.
35787 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35788 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35789 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35790 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35791
35792 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35793 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35794
2bc17433
AS
357952011-08-30 Andreas Schwab <schwab@redhat.com>
35796
35797 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35798
fbeb5f4d
JO
357992011-08-29 Jiri Olsa <jolsa@redhat.com>
35800
35801 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35802 directive.
35803
ad69cc26
DM
358042011-08-24 David S. Miller <davem@davemloft.net>
35805
35806 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35807
39dd69df
AS
358082011-08-24 Andreas Schwab <schwab@redhat.com>
35809
35810 * elf/Makefile: Add rules to build and run unload8 test.
35811 * elf/unload8.c: New file.
35812 * elf/unload8mod1.c: New file.
35813 * elf/unload8mod1x.c: New file.
35814 * elf/unload8mod2.c: New file.
35815 * elf/unload8mod3.c: New file.
35816
35817 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35818 it wasn't used.
35819
2c0b250a
DM
358202011-08-23 David S. Miller <davem@davemloft.net>
35821
35822 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35823 subtract stack bias.
35824 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35825 %sp not %fp in calculations.
35826 (_JMPBUF_UNWINDS_ADJ): Likewise.
35827
22044b48
DM
35828 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35829 (aio_suspend): Call it to force an exception region around the
35830 AIO_MISC_WAIT() invocation.
35831
2cae4995
AS
358322011-08-23 Andreas Schwab <schwab@redhat.com>
35833
35834 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35835 backslash.
35836
873a772e
AJ
358372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35838
35839 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35840 protection macro.
35841 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35842 and <dl-machine.h>.
35843 (Elf64_FuncDesc): Remove.
35844
25ad0df1
DM
358452011-08-22 David S. Miller <davem@davemloft.net>
35846
35847 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35848 sigaltstack check, add missing cfi directives.
35849 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35850 missing cfi directives, and sigaltstack handling.
35851
e888bcbe
AS
358522011-08-16 Andreas Schwab <schwab@redhat.com>
35853
35854 [BZ #11724]
35855 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35856 object is seen twice.
35857 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35858
35859 * elf/Makefile (distribute): Add tst-initorder2.c.
35860 (tests): Add tst-initorder2.
35861 (modules-names): Add tst-initorder2a tst-initorder2b
35862 tst-initorder2c tst-initorder2d. Add rules to build them.
35863 ($(objpfx)tst-initorder2.out): New rule.
35864 * elf/tst-initorder2.c: New file.
35865 * elf/tst-initorder2.exp: New file.
35866
87162f46
AS
358672011-08-22 Andreas Schwab <schwab@redhat.com>
35868
70538b7f
AS
35869 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35870
f55ffe58
AS
35871 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35872 dependencies back to end of function.
35873
87162f46
AS
35874 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35875 $(elfobjdir)/ld.so.
35876
91b392a4
UD
358772011-08-21 Ulrich Drepper <drepper@gmail.com>
35878
35879 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35880 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35882 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35883 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35884 of __vdso_gettimeofday.
35885 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35886 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35887 attribute_hidden.
35888 (_libc_vdso_platform_setup): Remove initialization of
35889 __vdso_gettimeofday and __vdso_time.
35890
5c43483f
UD
358912011-08-20 Ulrich Drepper <drepper@gmail.com>
35892
775a77e7
UD
35893 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35894 and fgetc_unlocked.
35895 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35896 getc_unlocked.
89f447ed 35897
49c74ba9
UD
35898 * elf/dl-open.c (add_to_global): Report additions to the global scope
35899 for LD_DEBUG=scopes.
35900 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 35901 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 35902
5c43483f
UD
35903 [BZ #13114]
35904 * stdio-common/Makefile (tests): Add bug24.
35905 * stdio-common/bug24.c: New file.
35906
a101b025
AJ
359072011-08-19 Andreas Jaeger <aj@suse.de>
35908
35909 [BZ #13114]
35910 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35911 non-existant file when using close-on-exec mode.
35912
c88f1766
UD
359132011-08-20 Ulrich Drepper <drepper@gmail.com>
35914
0276a718
UD
35915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35916 the very first instruction.
35917
c88f1766
UD
35918 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35919 the CFI state in the end.
35920 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35921 inclusion of dl-trampoline.h.
35922 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35923
51ccffa0
AS
359242011-08-19 Andreas Schwab <schwab@redhat.com>
35925
94d7165f
AS
35926 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35927 expectations for long double.
35928
51ccffa0
AS
35929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35930 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35931
fd708658 359322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
35933
35934 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35935 artificual limit depends upon the system page size.
35936
44f0a71e
UD
359372011-08-17 Ulrich Drepper <drepper@gmail.com>
35938
35939 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35940 * resolv/Makefile: Define CFLAGS-libresolv.
35941
8de79a24
AS
359422011-08-17 Andreas Schwab <schwab@redhat.com>
35943
35944 * nss/makedb.c (compute_tables): Make variables used in nested
35945 function static.
35946
27724598
UD
359472011-08-17 Ulrich Drepper <drepper@gmail.com>
35948
c5305d88
UD
35949 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35950 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35951 if buffer was too small.
35952
27724598
UD
35953 * elf/pldd.c (main): Attach to all threads in the process.
35954 Rewrite /proc handling to use *at functions.
35955
076fe015
UD
359562011-08-16 Ulrich Drepper <drepper@gmail.com>
35957
174baab3
UD
35958 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35959 specifies first scope to show.
35960 (dl_open_worker): Update callers. Move printing scope of new
35961 object to before the relocation.
44f0a71e 35962 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
35963 * sysdeps/generic/ldsodefs.h: Update declaration.
35964
076fe015
UD
35965 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35966 string for the scope number.
35967
a60df2c3
UD
359682011-08-14 Ulrich Drepper <drepper@gmail.com>
35969
35970 * nscd/servicescache.c (cache_addserv): Make sure written is always
35971 initialized.
35972
5e4287d1
RM
359732011-08-14 Roland McGrath <roland@hack.frob.com>
35974
85ae0589
RM
35975 * sysdeps/i386/i486/bits/atomic.h
35976 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35977 statement expression, so as to suppress "set but not used" warning.
35978 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35979
69f63097
RM
35980 * string/strncat.c (STRNCAT): Use prototype definition.
35981
675456ef
RM
35982 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35983 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35984 -Iprograms here.
35985 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35986 (localedef-modules): Add localedef.
35987 (locale-modules): Add locale.
35988
5e4287d1
RM
35989 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35990 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35991 to avoid a warning.
35992
9c96ff23
DM
359932011-08-14 David S. Miller <davem@davemloft.net>
35994
35995 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35996 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35997
f9ddf089
UD
359982011-08-13 Ulrich Drepper <drepper@gmail.com>
35999
44f0a71e 36000 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36001 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36002 * elf/rtld.c (dl_main): Set l_name of vDSO.
36003 Call _dl_show_scope when DL_DEBUG_SCOPES.
36004 (process_dl_debug): Recognize scopes flag and also set it for all.
36005 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36006 Declare _dl_show_scope.
36007
1dc27704
UD
36008 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36009 (do_dlopen): Pass caller_dlopen to dl_open.
36010 (__libc_dlopen_mode): Initialize caller_dlopen.
36011
f9ddf089
UD
36012 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36013 of libc. Make tolower call locale-independent. Optimize a bit by
36014 using isdigit instead of isalnum.
36015 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36016
9ac533d3
UD
360172011-08-12 Ulrich Drepper <drepper@gmail.com>
36018
36019 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36020 was a dependency or dynamically loaded.
36021
89edf2e9
UD
360222011-08-11 Ulrich Drepper <drepper@gmail.com>
36023
8e999d29
UD
36024 * intl/l10nflist.c: Allow architecture-specific pop function.
36025 * sysdeps/x86_64/l10nflist.c: New file.
36026
89edf2e9
UD
36027 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36028 classification.
36029
14d96785
AS
360302011-08-10 Andreas Schwab <schwab@redhat.com>
36031
36032 * include/dirent.h: Add libc_hidden_proto for scandirat and
36033 scandirat64. Don't declare __scandirat64.
36034 * dirent/scandirat.c: Add libc_hidden_def.
36035 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36036 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36037
6761ac04
DM
360382011-08-10 David S. Miller <davem@davemloft.net>
36039
36040 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36041 enum.
36042 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36043 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36044 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36045
c55fbd1e
UD
360462011-08-09 Ulrich Drepper <drepper@gmail.com>
36047
36048 * Versions.def [libc]: Add GLIBC_2.15.
36049 * dirent/Makefile (routines): Add scandirat and scandirat64.
36050 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36051 GLIBC_2.15.
36052 * dirent/dirent.h: Declare scandirat and scandirat64.
36053 * dirent/scandirat.c: New file.
36054 * dirent/scandirat64.c: New file.
36055 * sysdeps/wordsize-64/scandirat.c: New file.
36056 * sysdeps/wordsize-64/scandirat64.c: New file.
36057 * dirent/opendir.c: Define opendirat.
36058 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36059 using scandirat.
36060 * dirent/scandir64.c: Adjust for scandir.c change.
36061 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36062 __scandirat64, and __scandir_cancel_handler.
36063 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36064 additional parameter and use openat instead of open (outside of ld.so).
36065 Add new __opendir as wrapper around __opendirat.
36066 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36067 here without requiring old scandirat implementation.
36068
879165f2
UD
360692011-08-08 Ulrich Drepper <drepper@gmail.com>
36070
36071 * dirent/scandir.c (cancel_handler): Renamed to
36072 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36073 defined. Adjust users.
36074 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36075 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36076
cb7e923b
UD
360772011-08-04 Ulrich Drepper <drepper@gmail.com>
36078
16292edd
UD
36079 * string/test-string.h (IMPL): Use __STRING to expand name and then
36080 stringify it.
36081
cb7e923b
UD
36082 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36083 of cleanups.
36084
cff82933
LD
360852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36086
36087 * string/Makefile: Update.
36088 (strop-tests): Append strncat.
36089 * string/test-wcscmp.c: New file.
36090 New comprehensive test for wcscmp.
36091 * string/test-strcmp.c: Update.
36092 (WIDE): New define.
36093
9be9bfcc
AS
360942011-07-22 Andreas Schwab <schwab@redhat.com>
36095
36096 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36097 line.
36098
2e96f1c7
AS
360992011-07-26 Andreas Schwab <schwab@redhat.com>
36100
36101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36102 encoding to ACE if AI_IDN.
36103
85188888
JJ
361042011-08-01 Jakub Jelinek <jakub@redhat.com>
36105
36106 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36107 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36108
5fa16e9b
LD
361092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36110
36111 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36112 Fix overflow bug in strncat.
36113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36114
36115 * string/test-strncat.c: Update.
36116 Add new tests for checking overflow bugs.
36117
361182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36119
36120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36121 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36122 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36123 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36124 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36125 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36126 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36127 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36128 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36129
36130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36131 (USE_AS_STRCAT): Define.
36132 Add strcat and strncat support.
36133 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36134
8c1a459f
AS
361352011-07-25 Andreas Schwab <schwab@redhat.com>
36136
36137 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36138 __n bigger than INT_MAX+1.
36139 (__strncmp_g): Likewise.
36140
bba33c28
UD
361412011-07-23 Ulrich Drepper <drepper@gmail.com>
36142
798be72d
UD
36143 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36144 * libio/stido.h: Likewise.
36145
8accd4dc
UD
36146 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36147 (AF_NFC): Define.
36148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36149 (AF_NFC): Define.
36150
cbff0d96
UD
36151 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36154 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36156
9191c04a
UD
36157 [BZ #13021]
36158 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36159 installed.
36160
bba33c28
UD
36161 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36162 typo.
36163 (_dl_x86_64_save_sse): Likewise.
36164
90f139dd
UD
361652011-07-22 Ulrich Drepper <drepper@gmail.com>
36166
1aae088a
UD
36167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36168 OSXSAVE.
36169 (_dl_x86_64_save_sse): Likewise.
36170
8e2045f5
UD
36171 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36172
90f139dd
UD
36173 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36174
1d002f25
AS
361752011-07-21 Andreas Schwab <schwab@redhat.com>
36176
36177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36178 change.
36179 (_dl_x86_64_save_sse): Use correct AVX check.
36180
21137f89
UD
361812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36182
36183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36184 bug in strncpy/strncat.
36185 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36186
a65c0b7a
UD
361872011-07-21 Ulrich Drepper <drepper@gmail.com>
36188
36189 * string/tester.c (test_strcat): Add tests for different alignments
36190 of source and destination.
36191 (test_strncat): Likewise.
36192
6986b98a
UD
361932011-07-20 Ulrich Drepper <drepper@gmail.com>
36194
90bb2039
UD
36195 [BZ #12852]
36196 * posix/glob.c (glob): Check passed in values before using them in
36197 expressions to avoid some overflows.
36198 (glob_in_dir): Likewise.
36199
5644ef54
UD
36200 [BZ #13007]
36201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36202 check for AVX enablement so that we don't crash with old kernels and
36203 new hardware.
36204 * elf/tst-audit4.c: Add same checks here.
36205 * elf/tst-audit6.c: Likewise.
36206
36207 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36208
bfc9dc9b
AS
362092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36210
36211 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36212
702e64bb
UD
362132011-07-20 Ulrich Drepper <drepper@gmail.com>
36214
36215 * po/cs.po: Update from translation team.
36216 * po/bg.po: Likewise.
36217
295e904f
MP
362182011-07-12 Marek Polacek <mpolacek@redhat.com>
36219
36220 * misc/sys/cdefs.h: Add support for const attribute.
36221 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36222 to gnu_dev_{major,minor,makedev} functions.
36223
3ff94596
MP
362242011-07-20 Marek Polacek <mpolacek@redhat.com>
36225
36226 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36227
28b59fca
AS
362282011-07-20 Andreas Schwab <schwab@redhat.com>
36229
36230 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36231 strlen results.
36232
19df733e
AK
362332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36234
36235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36236 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36237 register in order to avoid conflicts with the soft frame pointer
36238 being held in r11 when necessary.
36239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36240 (INTERNAL_VSYSCALL_NCS): Likewise.
36241
c8835729
MP
362422011-07-14 Marek Polacek <mpolacek@redhat.com>
36243
36244 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36245 * elf/dl-fini.c (_dl_fini): Adjust caller.
36246 * elf/dl-close.c (_dl_close_worker): Likewise.
36247 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36248
b902330c
MP
362492011-07-15 Marek Polacek <mpolacek@redhat.com>
36250
8991e135
MP
36251 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36252 "aux_cache->nlibs < 0".
36253
b902330c
MP
36254 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36255 in the reload-count case.
36256
99710781
LD
362572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36258
36259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36260 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36261 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36262 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36263 * sysdeps/x86_64/multiarch/strcat.S: New file.
36264 * sysdeps/x86_64/multiarch/strncat.S: New file.
36265 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36266 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36267 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36268 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36269 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36270 (USE_AS_STRCAT): Define.
36271 Add strcat and strncat support.
36272 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36273 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36274 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36275 * string/strncat.c: Update.
36276 (USE_AS_STRNCAT): Define.
36277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36278 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36279 and i7.
36280 * sysdeps/x86_64/multiarch/init-arch.h
36281 (bit_Prefer_PMINUB_for_stringop): New.
36282 (index_Prefer_PMINUB_for_stringop): Likewise.
36283 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36284 bit_Prefer_PMINUB_for_stringop.
36285
7dc6bd90
UD
362862011-07-19 Ulrich Drepper <drepper@gmail.com>
36287
36288 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36289 buffer64.
36290 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36291 of casting of buffer.
36292 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36293 buffer32 and buffer64.
36294 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36295 writes instead of casting of buffer.
36296 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36297 buffer32.
36298 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36299 casting of buffer.
36300
e0e72284
AS
363012011-07-19 Andreas Schwab <schwab@redhat.com>
36302
36303 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36304
feb1eb0b
UD
363052011-07-19 Ulrich Drepper <drepper@gmail.com>
36306
36307 * nscd/nscd.c (termination_handler): Don't do anything for a database
36308 if it has not yet been initialized.
36309
298711ff
UD
363102011-07-18 Ulrich Drepper <drepper@gmail.com>
36311
36312 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36313
363142011-07-15 Marek Polacek <mpolacek@redhat.com>
36315
36316 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36317
f9d68389
UD
363182011-07-18 Ulrich Drepper <drepper@gmail.com>
36319
36320 * po/nl.po: Update from translation team.
36321 * po/sv.po: Likewise.
36322
db290cf5
RM
363232011-07-16 Roland McGrath <roland@hack.frob.com>
36324
36325 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36326 now disallowed by GCC.
5c550700 36327
fd5e21c7
RM
36328 * configure.in (use-default-link): Default to yes if a test -shared
36329 link meets our qualifications.
36330 * configure: Regenerated.
36331
5c550700
RM
36332 * config.make.in (output-format): New variable.
36333 * configure.in: Check for ld --print-output-format support.
36334 * configure: Regenerated.
36335 * Makerules ($(common-objpfx)format.lds)
36336 [$(output-format) != unknown]: Just use $(output-format),
36337 instead of the linker-script munging.
36338
9fa2c032
RM
363392011-07-14 Roland McGrath <roland@hack.frob.com>
36340
a6928d51
RM
36341 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36342 of $(common-objpfx)shlib.lds.
36343 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36344
661607b3
RM
36345 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36346 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36347
9fa2c032
RM
36348 * configure.in (-z relro check): Adjust test code to add a large
36349 writable data section after it.
36350 * configure: Regenerated.
36351
defe9061
RM
363522011-07-11 Roland McGrath <roland@hack.frob.com>
36353
36354 * configure.in (-z relro check): Fix test code to make the variable
36355 truly const.
36356 * configure: Regenerated.
36357
319b9ad4
UD
363582011-07-11 Ulrich Drepper <drepper@gmail.com>
36359
36360 * nscd/nscd.h (struct traced_file): Define.
36361 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36362 elements. Add traced_files.
36363 (inotify_fd): Declare.
36364 (register_traced_file): Declare.
36365 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36366 (inotify_fd): Export.
36367 (resolv_conf_descr): Remove.
36368 (nscd_init): Move inotify descriptor creation to main.
36369 Don't register files for notification here.
36370 (register_traced_file): New function.
36371 (invalidate_cache): Don't use reset_res to determine whether to call
36372 res_init, go through the list of registered files.
36373 (main_loop_poll): The inotify descriptors are now stored in the
36374 structures for the traced files.
36375 (main_loop_epoll): Likewise
36376 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36377 to __nss_disable_nscd.
36378 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36379 for a database anymore. Check the records for all the registered
36380 files instead.
36381 * nss/Makefile (libnss_files-routines): Add files-init.
36382 (libnss_db-routines): Add db-init.
36383 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36384 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36385 * nss/nss_db/db-init.c: New file.
36386 * nss/nss_files/files-init.c: New file.
36387 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36388 __nss_lookup_function.
36389 (__nss_lookup_function): Call nss_load_library.
36390 (nss_load_all_libraries): New function.
36391 (__nss_disable_nscd): Take parameter with callback function for files
36392 to register. Set is_nscd. Load all the DSOs for the NSS modules
36393 used for the cached services.
36394 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36395 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36396 options for features to all the files in nscd.
36397
36398 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36399
23bee3e8
RM
364002011-07-10 Roland McGrath <roland@hack.frob.com>
36401
36402 * csu/elf-init.c (__libc_csu_init): Comment typo.
36403
46a5b7f0
UD
364042011-07-09 Ulrich Drepper <drepper@gmail.com>
36405
36406 * po/pl.po: Update from translation team.
36407 * po/ja.po: Likewise.
36408 * po/ru.po: Likewise.
36409 * po/ko.po: Likewise.
36410 * po/fr.po: Likewise.
36411
d30cf5bb
RM
364122011-07-09 Roland McGrath <roland@hack.frob.com>
36413
113ddea4
RM
36414 * configure.in (.ctors/.dtors header and trailer check):
36415 Use an empirical test on a built program.
36416 * configure: Regenerated.
36417
574920b4
RM
36418 * configure.in (-z relro check): Use an empirical test on a built DSO.
36419 Detect, but do not require, on ia64.
36420 * configure: Regenerated.
36421
d30cf5bb
RM
36422 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36423 Update tests that use readelf to use $READELF instead.
36424 * configure: Regenerated.
36425
8538fdb3
UD
364262011-07-08 Ulrich Drepper <drepper@gmail.com>
36427
36428 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36429 if the result is not used.
36430
04d08991
AJ
364312011-07-05 Andreas Jaeger <aj@suse.de>
36432
36433 [BZ#9696]
36434 * stdlib/tst-strtod.c: Add testcase.
36435
de283087
AD
364362011-07-07 Ulrich Drepper <drepper@gmail.com>
36437
4e5f31c8 36438 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36439 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36440 The latter has a higher limit. Take additional parameter to pass to
36441 the new function.
36442 (__pathconf): Pass file to __statfs_link_max.
36443 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36444 __statfs_link_max.
36445 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36446 __statfs_link_max.
36447
de283087
AD
36448 [BZ #12868]
36449 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36450 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36451 Handle Lustre.
36452 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36453 (__statfs_filesize_max): Likewise.
36454 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36455
c75fa153
AJ
364562011-07-05 Andreas Jaeger <aj@suse.de>
36457
36458 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36459
1a544854
UD
364602011-07-06 Marek Polacek <mpolacek@redhat.com>
36461
36462 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36463 `status' variable.
36464 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36465 Likewise.
36466
6f0eec67
UD
364672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36468
36469 * Makefile (strop-tests): Add strncat.
36470 * string/test-strncat.c: New file.
36471
aae30307
UD
364722011-06-30 Marek Polacek <mpolacek@redhat.com>
36473
36474 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36475
c0cfb5eb
UD
364762011-06-21 Andreas Jaeger <aj@suse.de>
36477
36478 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36479 Copy rule from iconvdata/Makefile.
36480
01636b21
UD
364812011-07-06 Ulrich Drepper <drepper@gmail.com>
36482
36483 [BZ #12922]
36484 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36485 but no long options are defined, just return 'W'.
36486
9895c8bc
UD
364872011-06-22 Marek Polacek <mpolacek@redhat.com>
36488
36489 [BZ #9696]
36490 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36491
5d4cf042
UD
364922011-07-06 Ulrich Drepper <drepper@gmail.com>
36493
36494 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36495 netgroups to read.
960e5535 36496 (innetgr): Likewise.
5d4cf042 36497
751eb97e
RM
364982011-07-05 Roland McGrath <roland@hack.frob.com>
36499
36500 * config.make.in (install_root): Default to $(DESTDIR).
36501
f15f1e45
UD
365022011-07-05 Ulrich Drepper <drepper@gmail.com>
36503
36504 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36505
4e34ac6a
RM
365062011-07-02 Roland McGrath <roland@hack.frob.com>
36507
5e9b6af4
RM
36508 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36509
84f9ea0f
RM
36510 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36511 containing directory rather than embedding absolute directory names.
36512
ea5ee9f7
RM
36513 * scripts/check-local-headers.sh: Rewritten using awk.
36514 Match by word, not by line. Print error messages for matches.
36515 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36516
1b74661a
RM
36517 * Makerules [shlib-lds-flags empty]:
36518 ($(common-objpfx)libc_pic.opts): New target.
36519 ($(common-objpfx)libc_pic.os.clean): New target.
36520 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36521
36522 * config.make.in (OBJCOPY): New variable.
36523 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36524 * configure: Regenerated.
36525
f781ef40
RM
36526 * config.make.in (use-default-link): New variable.
36527 * configure.in (use_default_link): Grok --with-default-link to set it.
36528 * configure: Regenerated.
36529 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36530 (shlib-lds, shlib-lds-flags): Define to empty.
36531
2d4fa81e
RM
36532 * Makerules (shlib-lds): New variable.
36533 (shlib-lds-flags): New variable.
36534 (build-shlib, build-moduile, build-module-asneeded): Use it.
36535 ($(common-objpfx)libc.so): Use $(shlib-lds).
36536 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36537 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36538
31fffa6b
RM
36539 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36540 DT_FLAGS/DT_FLAGS_1 with zero flags.
36541
4e34ac6a
RM
36542 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36543 linker script munging.
36544
fcfc776b
UD
365452011-07-02 Ulrich Drepper <drepper@gmail.com>
36546
36547 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36548 as 128-bit value.
36549 * crypt/sha512.c (sha512_process_block): Perform total addition using
36550 128-bit if possible.
36551 (__sha512_finish_ctx): Likewise.
36552 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36553 as 64-bit value.
36554 * crypt/sha256.c (SWAP64): Define.
36555 (sha256_process_block): Perform total addition using 64-bit if
36556 possible.
36557 (__sha256_finish_ctx): Likewise.
36558
99231d9a
UD
365592011-07-01 Ulrich Drepper <drepper@gmail.com>
36560
36561 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36562 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36563 * nscd/hstcache.c (cache_addhst): Likewise.
36564 * nscd/grpcache.c (cache_addgr): Likewise.
36565 * nscd/aicache.c (addhstaiX): Likewise
36566 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36567
445b4a53
TK
365682011-07-01 Thorsten Kukuk <kukuk@suse.de>
36569
36570 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36572 * nscd/hstcache.c (cache_addhst): Likewise.
36573 * nscd/grpcache.c (cache_addgr): Likewise.
36574 * nscd/aicache.c (addhstaiX): Likewise
36575
6d4d8e8e
AS
365762011-07-01 Andreas Schwab <schwab@redhat.com>
36577
36578 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36579 domain only when needed.
36580
89f654c5
AS
365812011-06-30 Andreas Schwab <schwab@redhat.com>
36582
36583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36584 is always restored.
36585
cf3b23ff
UD
365862011-06-29 Ulrich Drepper <drepper@gmail.com>
36587
36588 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36589 are re-adding the entry.
36590 * nscd/servicescache.c (cache_addserv): Likewise.
36591
751626f9
AJ
365922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36593
36594 * sysdeps/generic/dl-irel.h: fix protection against multiple
36595 inclusions.
36596 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36597
9113ea1f
UD
365982011-06-28 Ulrich Drepper <drepper@gmail.com>
36599
5c0b8d90
UD
36600 [BZ #12935]
36601 * malloc/memusage.sh: Fix quoting in message.
36602 * debug/xtrace.sh: Likewise.
36603
9113ea1f
UD
36604 * configure.in: Remove support for --experimental-malloc option, make
36605 it the default.
36606 * config.make.in: Likewise.
36607 * malloc/Makefile: Likewise.
36608
a4172181
AS
366092011-06-27 Andreas Schwab <schwab@redhat.com>
36610
36611 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36612 two-byte characters.
36613
78a7eee7
RM
366142011-06-27 Roland McGrath <roland@hack.frob.com>
36615
62bede13
RM
36616 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36617 AC_CACHE_CHECK invocation.
36618 * configure: Regenerated.
36619
78a7eee7
RM
36620 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36621
5ce33a62
UD
366222011-06-27 Ulrich Drepper <drepper@gmail.com>
36623
034807a9
UD
36624 [BZ #12350]
36625 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36626 bit from old_res_options.
36627
4902da17
UD
36628 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36629
5ce33a62
UD
36630 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36631 value type for setfct.
36632
c2344f56
L
366332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36634
36635 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36636 __gettimeofday instead of gettimeofday.
36637
68468076
UD
366382011-06-26 Ulrich Drepper <drepper@gmail.com>
36639
36640 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36641
acb0d739
L
366422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36643
36644 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36645
36646 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36647 info.
36648
8912479f
L
366492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36650
36651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36652 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36653 strcpy-sse2-unaligned strncpy-sse2-unaligned
36654 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36655 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36656 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36657 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36658 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36659 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36661 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36662 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36663 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36664 (STRCPY): Support SSE2 and SSSE3 versions.
36665
d5495a11
UD
366662011-06-24 Ulrich Drepper <drepper@gmail.com>
36667
36668 [BZ #12874]
36669 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36670 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36671 kernels which artificially limit size of requests.
36672
0b1cbaae
L
366732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36674
36675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36676 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36677 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36678 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36679 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36680 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36681 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36682 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36683 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36684 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36685 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36686 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36687 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36688 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36689 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36691 Enable unaligned load optimization for Intel Core i3, i5 and i7
36692 processors.
36693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36694 Define.
36695 (index_Fast_Unaligned_Load): Define.
36696 (HAS_FAST_UNALIGNED_LOAD): Define.
36697
07f494a0
MP
366982011-06-23 Marek Polacek <mpolacek@redhat.com>
36699
36700 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36701
fa3fc0fe
UD
367022011-06-22 Ulrich Drepper <drepper@gmail.com>
36703
36704 [BZ #12907]
36705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36706 until it is clear that the information is realy needed.
36707 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36708
e12df166
AS
367092011-06-22 Andreas Schwab <schwab@redhat.com>
36710
36711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36712
852eb34d
UD
367132011-06-22 Ulrich Drepper <drepper@gmail.com>
36714
84e2a551
UD
36715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36716 /sys/devices/system/cpu/online if it is usable.
36717
852eb34d
UD
36718 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36719 reading the information from the /proc filesystem to once a second.
36720
6e502e19
UD
367212011-06-21 Andreas Jaeger <aj@suse.de>
36722
36723 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36724 NULL after inclusion of kernel headers.
36725
75d39ff2
UD
367262011-06-21 Ulrich Drepper <drepper@gmail.com>
36727
51f9aa6a
UD
36728 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36729 calls to internal_setent.
36730
c0244a9d
UD
36731 [BZ #12885]
36732 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36733 addresses using gethostbyname4_r ignore IPv4 addresses.
36734
c5e3c2ae
UD
36735 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36736 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36737
75d39ff2
UD
36738 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36739
42675c6f
DM
367402011-06-20 David S. Miller <davem@davemloft.net>
36741
36742 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36743 inclusions.
36744 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36745
36746 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36747 (elf_irel): Use it.
36748 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36749 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36750 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36751 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36752 * sysdeps/x86_64/dl-irel.h: Likewise.
36753
36754 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36755 * elf/dl-sym.c: Likewise.
36756
57912a71
UD
367572011-06-15 Ulrich Drepper <drepper@gmail.com>
36758
36759 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36760 need to dereference resplen2.
36761
ee22793d
AS
367622011-06-14 Andreas Schwab <schwab@redhat.com>
36763
36764 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36765
a9e836b0
UD
367662011-06-15 Ulrich Drepper <drepper@gmail.com>
36767
77fb9117
UD
36768 * Makeconfig: Define vardbdir and inst_vardbdir.
36769 * nss/Makefile: Add rules to install db-Makefile.
36770
40c1b22c
UD
36771 * nss/nss_db/db-XXX.c: Cleanup.
36772
9f2da732
UD
36773 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36774 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36775 GLIBC_PRIVATE.
36776 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36777 * nss/makedb.c: Implement -g option to specify that value strings
36778 are generated and should not be added to table iterated over for
36779 get*ent calls.
36780 * nss/nss_db/db-initgroups.c: New file.
36781
82e9a1f7
UD
36782 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36783 interface.
36784
c41af17e
UD
36785 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36786 (internal_getgrouplist): Adjust to name change.
36787 Update use_initgroups_entry if this is not the first call.
36788 * nss/databases.def: Add initgroups entry.
36789
a9e836b0
UD
36790 * nss/makedb.c (compute_tables): Check result of multiple hash table
36791 sizes to minimize maximum chain length.
36792
2666d441
UD
367932011-06-14 Ulrich Drepper <drepper@gmail.com>
36794
36795 * Versions.def: Add entry for libnss_db.
36796 * shlib-versions: Likewise.
36797 * nss/Makefile: Add rules to build libnss_db.
36798 * nss/Versions: Add libnss_db information. Organize libnss_files
36799 entries better.
36800 * nss/db-Makefile: Add gshadow support. Change rules for the new
36801 makedb progra. Some minor improvements to generate smaller files.
36802 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36803 here from...
36804 * nss/makedb.c: ...here.
36805 Improve database format to be smaller and require less memory at
36806 runtime.
36807 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36808 db anymore.
36809 * nss/nss_db/db-netgrp.c: Likewise.
36810 * nss/nss_db/db-open.c: Likewise.
36811 * nss/nss_files/flies-XXX.x: Adjust comments.
36812 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36813 * nss/nss_files/files-grp.c: Likewise.
36814 * nss/nss_files/files-hosts.c: Likewise.
36815 * nss/nss_files/files-network.c: Likewise.
36816 * nss/nss_files/files-proto.c: Likewise.
36817 * nss/nss_files/files-pwd.c: Likewise.
36818 * nss/nss_files/files-rpc.c: Likewise.
36819 * nss/nss_files/files-service.c: Likewise.
36820 * nss/nss_files/files-sgrp.c: Likewise.
36821 * nss/nss_files/files-spwd.c: Likewise.
36822 * nss/nss_db/db-alias.c: Removed.
36823 * nss/nss_db/dummy-db.h: Removed.
36824
9ee76b5a
UD
368252011-06-02 Ulrich Drepper <drepper@gmail.com>
36826
36827 * nss/makedb.c: Rewritten to not use database library.
36828 * nss/Makefile: Update to build new makedb program.
36829
c71ca1f8
AJ
368302011-06-14 Andreas Jaeger <aj@suse.de>
36831
36832 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36833 memset declaration.
36834
3154bfb8
UD
368352011-06-10 Andreas Schwab <schwab@redhat.com>
36836
36837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36838 tmpbuf.
36839
b350afab
RM
368402011-06-10 Roland McGrath <roland@hack.frob.com>
36841
decd4e50
RM
36842 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36843 * elf/Makefile ($(objpfx)ld.so): Likewise.
36844
5615eaf2
RM
36845 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36846 Don't list ld.so twice in dependencies.
36847
36848 * posix/bug-regex31.c: Include <stdlib.h>.
36849
36850 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36851
36852 * nis/nss_compat/compat-spwd.c
36853 (getspent_next_nss_netgr): Remove unused variable.
36854 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36855
36856 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36857 nonmembers" output to use the right array.
36858
36859 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36860
36861 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36862
36863 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36864 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36865 * catgets/gencat.c (read_input_file): Likewise.
36866 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36867
36868 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36869 variable definition inside #if's controlling its use.
36870
36871 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36872
36873 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36874
36875 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36876
36877 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36878 unreachable code.
36879
36880 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36881
b68e08db
RM
36882 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36883 * configure: Regenerated.
36884
b350afab
RM
36885 * Makerules: Revert last change.
36886 * elf/Makefile: Likewise.
36887
28368601
RM
368882011-06-09 Roland McGrath <roland@hack.frob.com>
36889
36890 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36891 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36892 (reloc-link): Likewise.
36893
11988f8f
UD
368942011-06-09 Ulrich Drepper <drepper@gmail.com>
36895
36896 * elf/Makefile: Add rules to build pldd.
36897 * elf/pldd.c: New file.
36898 * elf/pldd-xx.c: New file.
36899
e80fab37
UD
369002011-06-07 Ulrich Drepper <drepper@gmail.com>
36901
36902 * version.h: Update for 2.15 development version.
36903
9b849836
DM
369042011-06-07 David S. Miller <davem@davemloft.net>
36905
36906 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36907 ifuncs.
36908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36909 elf_machine_lazy_rel): Likewise.
36910 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36912 elf_machine_lazy_rel): Likewise.
36913 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36914 dl_hwcap via passed in argument.
36915 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36916 Likewise.
36917
5a31b283
AK
369182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36919
36920 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36921
069e52f8
RM
369222011-06-06 Roland McGrath <roland@hack.frob.com>
36923
36924 [BZ #12849]
36925 * manual/fdl-1.1.texi: New file, verbatim from:
36926 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36927 * manual/lgpl-2.1.texi: New file, verbatim from:
36928 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36929 * manual/Makefile (licenses): New variable, list those new file names.
36930 (texis): Use it.
36931 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36932
36933 * manual/fdl.texi: File removed.
36934 * manual/lesser.texi: File removed.
36935 * manual/libc.texinfo (Copying, Documentation License):
36936 Use new @include file names, put @appendix directive before @include.
36937
f16846a5
JJ
369382011-06-04 Jakub Jelinek <jakub@redhat.com>
36939
36940 [BZ #12841]
36941 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36942 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36943 (mq_open): Add __NTH.
36944
3d29045b
L
369452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36946
36947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36948 Assume Intel Core i3/i5/i7 processor if AVX is available.
36949
8c297311
UD
369502011-05-31 Ulrich Drepper <drepper@gmail.com>
36951
36952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36953 typo.
36954
c8fc0c91
UD
369552011-05-31 Andreas Schwab <schwab@redhat.com>
36956
36957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36958 memory. Use alloca_account. Fix memory leak when retrying.
36959
5b27a807
UD
369602011-05-31 Ulrich Drepper <drepper@gmail.com>
36961
356f8bc6
UD
36962 * version.h (RELEASE): Bump for 2.14 release.
36963 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36964
5b27a807
UD
36965 * config.make.in (RANLIB): Remove entry.
36966
01f16ab0
UD
369672011-05-30 Ulrich Drepper <drepper@gmail.com>
36968
41fce8bd
UD
36969 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36970 (libc.pot): Work around missing support for .ksh extension in xgettext.
36971
4769ae77
UD
36972 [BZ #12684]
36973 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36974 if both request failed.
36975 (send_dg): In case of server errors clear resplen or *resplen2.
36976
6b1e7d19
UD
36977 [BZ #12454]
36978 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36979 when there are multiple maps.
36980 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36981 (_dl_fini): Remove test here.
36982
01f16ab0
UD
36983 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36984
b1ebd700
UD
369852011-05-29 Ulrich Drepper <drepper@gmail.com>
36986
7ae22829
UD
36987 [BZ #12350]
36988 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36989 bit from old_res_options.
36990 (gaih_inet): Likewise.
36991
553149f6 36992 [BZ #11099]
18a84741 36993 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
36994 as signed.
36995
652ffab1
UD
36996 * resolv/res_init.c (res_setoptions): Make the code more compact.
36997
16985fd0
UD
36998 [BZ #11558]
36999 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37000 set RES_USEVC.
37001
0464f746
UD
37002 [BZ #11634]
37003 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37004
7d17596c
UD
37005 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37006
cf6bbbd7
UD
37007 [BZ #11781]
37008 * malloc/malloc.h: Declare malloc hook variables as volatile.
37009
13f1ab36
UD
37010 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37011 in last patch.
37012
b1ebd700
UD
37013 [BZ #11799]
37014 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37015 raise in the comment.
80e2212d
UD
37016 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37017 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37018 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37019
ce67228d
UD
370202011-05-28 Ulrich Drepper <drepper@gmail.com>
37021
8887a920
UD
37022 [BZ #12811]
37023 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37024 grow the buffers more if it already has to be sufficient.
37025 (build_wcs_upper_buffer): Likewise.
37026 * posix/regexec.c (check_matching): Likewise.
37027 (clean_state_log_if_needed): Likewise.
37028 (extend_buffers): Don't enlarge buffers beyond size of the input
37029 buffer.
37030 Patches mostly by Emil Wojak <emil@wojak.eu>.
37031 * posix/bug-regex32.c: New file.
37032 * posix/Makefile (tests): Add bug-regex32.
37033
4f031072
UD
37034 * locale/findlocale.c (_nl_find_locale): Return right away if
37035 _nl_explode_name failed.
37036 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37037
d0478f0c
UD
37038 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37039
de81b246
UD
37040 * debug/xtrace.sh: Unify messages.
37041 * malloc/memusage.sh: Likewise.
37042
c738465a
UD
37043 [BZ #12813]
37044 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37045 time symbol from vDSO. Substitute with vsyscall if not available.
37046 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37047 __vdso_time.
37048
f1f929d7
UD
37049 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37050 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37051 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37052 Add sendmmsg and internal_sendmmsg.
37053 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37054 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37055 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37056
ce67228d
UD
37057 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37058 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37059 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37060
e57420c6
UD
370612011-05-27 Ulrich Drepper <drepper@gmail.com>
37062
a8509ca5
UD
37063 [BZ #12813]
37064 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37065 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37066 available.
37067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37068 __vdso_getcpu.
37069
e57420c6
UD
37070 [BZ #12814]
37071 * iconvdata/Makefile (tests): Add bug-iconv9.
37072 * iconvdata/bug-iconv9.c: New file.
37073
4d07db15
AS
370742011-05-27 Andreas Schwab <schwab@redhat.com>
37075
37076 [BZ #12814]
37077 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37078
ea486f69
JJ
370792011-05-25 Jakub Jelinek <jakub@redhat.com>
37080
37081 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37082 (struct user_regs_struct): Change intcs field back to cs.
37083
6f038433
UD
370842011-05-25 Ulrich Drepper <drepper@gmail.com>
37085
37086 * po/ja.po: Update from translation team.
37087
67f86a25
UD
370882011-05-23 Ulrich Drepper <drepper@gmail.com>
37089
37090 [BZ #12795]
37091 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37092 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37093
def7fbd6
AS
370942011-05-20 Andreas Schwab <schwab@redhat.com>
37095
37096 * stdlib/longlong.h: Update from GCC.
37097
f50ef8f1
AS
370982011-05-23 Andreas Schwab <schwab@redhat.com>
37099
37100 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37101 parameter name.
37102 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37103 Add parameter name.
37104 (__sysconf): Pass it down.
37105
de7ce8f1
UD
371062011-05-22 Ulrich Drepper <drepper@gmail.com>
37107
f2962a71
UD
37108 [BZ #12671]
37109 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37110 some situations.
37111 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37112 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37113 add in in __libc_use_alloca calls. Adjust callers.
37114 (glob): Use malloc in some situations.
37115
de7ce8f1
UD
37116 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37117 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37118 pltexit.
37119
aec84f53
UD
371202011-05-21 Ulrich Drepper <drepper@gmail.com>
37121
05bb4a68
UD
37122 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37123 and CLOCK_BOOTTIME_ALARM.
37124
7ea72f99
UD
37125 [BZ #12782]
37126 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37127 is returned.
37128
7e4afad5
UD
37129 * string/_strerror.c (__strerror_r): Print negative errors as signed
37130 numbers.
37131
8e211fec
UD
37132 [BZ #12777]
37133 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37134 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37135 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37136
f7d82dc9
UD
37137 * configure.in: Fix typo in redirection and correct removal of test
37138 files in two cases.
37139
cc9e536d
UD
37140 [BZ #12788]
37141 * locale/setlocale.c (new_composite_name): Fix test to check for
37142 identical name of all categories.
37143
aec84f53
UD
37144 [BZ #12792]
37145 * libio/filedoalloc.c (local_isatty): New function.
37146 (_IO_file_doallocate): Use local_isatty.
37147 * stdio-common/perror.c (perror): In case a new stream is used
37148 forward the stream error.
37149 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37150 error flag.
37151
78e64fdc
RT
371522011-05-20 Ulrich Drepper <drepper@gmail.com>
37153
34a9094f
UD
37154 [BZ #11869]
37155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37156 alloca.
37157 * include/alloca.h (extend_alloca_account): Define.
37158
78e64fdc
RT
37159 [BZ #11857]
37160 * posix/regex.h: Fix comments with documentation of user-accessible
37161 fields after compilation and describe correct free'ing of pattern
37162 after re_compile_pattern.
37163 Patch by Reuben Thomas <rrt@sc3d.org>.
37164
457bddfc
RA
371652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37166
37167 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37168 and -mno-altivec to prevent the compiler from using Altivec and/or
37169 VSX instructions when the corresponding registers are not available.
37170
a4527b51
AS
371712011-05-19 Andreas Schwab <schwab@redhat.com>
37172
37173 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37174
ed690b2f
UD
371752011-05-19 Ulrich Drepper <drepper@gmail.com>
37176
37177 * libio/freopen.c (freopen): Use __dup2, not dup2.
37178 * libio/freopen64.c (freopen64): Likewise.
37179
8db73634
L
371802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37181
37182 [BZ #12775]
37183 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37184 * math/Makefile (tests): Add test-powl.
37185 (CFLAGS-test-powl.c): Define.
37186 * math/test-powl.c: New file.
37187
0a197a9d
L
371882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37189
37190 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37191
ee30c380
UD
371922011-05-17 Ulrich Drepper <drepper@gmail.com>
37193
37194 [BZ #11837]
37195 * iconvdata/gb18030.c: Update to GB18020-2005.
37196
6ce75379
UD
371972011-05-16 Ulrich Drepper <drepper@gmail.com>
37198
a4b89fd8
AR
37199 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37200 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37201 Patch by Aharon Robbins <arnold@skeeve.com>.
37202
ea389b12
UD
37203 [BZ #11892]
37204 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37205 on the stack.
37206
68a3f91f
UD
37207 [BZ #11895]
37208 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37209 through underflows.
37210
15cc7dd1
UD
37211 [BZ #12766]
37212 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37213 point to strings before performing equality test for error_one_per_line
37214 mode.
37215
f3799213
UD
37216 [BZ #11697]
37217 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37218
d79a9c94
UD
37219 [BZ #11820]
37220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37221 (struct user_fpregs_struct): Avoid __uint*_t types.
37222
56e5eb46
UD
37223 [BZ #6420]
37224 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37225 symbol info. Use it instead of calling _dl_addr locally.
37226 (lock_and_info): New function.
37227 (tr_freehook): Call lock_and_info and pass symbol info as additional
37228 parameter to tr_where.
37229 (tr_mallochook): Likewise.
37230 (tr_reallochook): Likewise.
37231 (tr_memalignhook): Likewise.
37232
6ce75379
UD
37233 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37234 used and couldn't be at all thread-safe.
37235
f8a3b5bf
UD
372362011-05-15 Ulrich Drepper <drepper@gmail.com>
37237
94b7cc37
UD
37238 * libio/freopen.c (freopen): Don't close old file descriptor
37239 before the new one is opened. Instead dup the new file descriptor
37240 to the old one after the new stream is created.
37241 * libio/freopen64.c (freopen64): Likewise.
37242 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37243 * libio/fileops.c (_IO_new_file_close_it): Handle new
37244 _IO_FLAGS2_NOCLOSE flag.
37245 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37246 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37247 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37248 _IO_FLAGS2_NOCLOSE flag.
37249 * include/unistd.h: Add hidden_proto for dup3.
37250 Define __have_dup3.
37251 * io/dup3.c: Define hidden symbol.
37252 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37253
bd25564e
UD
37254 [BZ #7101]
37255 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37256 when an incomplete long option is used.
37257 * posix/tst-getopt_long1.c: New file.
37258 * posix/Makefile (tests): Add tst-getopt_long1.
37259
c84cfef4
UD
37260 [BZ #10138]
37261 * scripts/config.guess: Update from autoconf-2.68.
37262 * scripts/config.sub: Likewise.
37263
3b85df27
UD
37264 [BZ #10157]
37265 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37266 tests into ...
37267 (has_cpuclock): ...this. New function.
37268 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37269 macro here based on has_cpuclock code.
37270
15a856b1
UD
37271 [BZ #10149]
37272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37273 First byte (not low byte) is now always NUL.
37274 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37275
05f399e6
UD
37276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37277 Use non-cancelable interfaces.
37278
10a52685 37279 [BZ #9809]
94ecc67d
UD
37280 * locale/iso-639.def: Add entry for Sorani.
37281
f8a3b5bf
UD
37282 [BZ #11901]
37283 * include/stdlib.h: Move include protection to the right place.
37284 Define abort_msg_s. Declare __abort_msg with it.
37285 * stdlib/abort.c (__abort_msg): Adjust type.
37286 * assert/assert.c (__assert_fail_base): New function. Majority
37287 of code from __assert_fail. Allocate memory for __abort_msg with
37288 mmap.
37289 (__assert_fail): Now call __assert_fail_base.
37290 * assert/assert-perr.c: Remove bulk of implementation. Use
37291 __assert_fail_base.
37292 * include/assert.hL Declare __assert_fail_base.
37293 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37294 mmap.
37295 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37296
1af4e298
UD
372972011-05-14 Ulrich Drepper <drepper@gmail.com>
37298
f8a3b5bf 37299 [BZ #11952]
d26dfc60
MG
37300 [BZ #12453]
37301 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37302 until all modules are registered in the DTV.
37303 * elf/Makefile: Add rules to build and run tst-tls19.
37304 * elf/tst-tls19.c: New file.
37305 * elf/tst-tls19mod1.c: New file.
37306 * elf/tst-tls19mod2.c: New file.
37307 * elf/tst-tls19mod3.c: New file.
37308 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37309
2fc54d6f
UD
37310 [BZ #12083]
37311 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37312 correctly.
37313
98d76b46
UD
37314 [BZ #12601]
37315 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37316 two-byte sequence errors.
37317 * iconvdata/Makefile (tests): Add bug-iconv8.
37318 * iconvdata/bug-iconv8.c: New file.
37319
da3c19ef
UD
37320 [BZ #12626]
37321 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37322 buf2 definition.
37323
ca408c15
UD
37324 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37325
d6f67f7d
UD
37326 [BZ #12432]
37327 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37328 (dummy_getcfa): New function.
37329 (init): Get _Unwind_GetCFA address, use dummy if not found.
37330 (backtrace_helper): In recursion check, also check whether CFA changes.
37331 (__backtrace): Completely initialize arg.
37332
1af4e298 37333 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37334 storing incomplete byte sequence in state object. Avoid testing for
37335 guaranteed too small input if we know there is enough data available.
1af4e298 37336
da62f81b
AS
373372011-05-11 Andreas Schwab <schwab@redhat.com>
37338
37339 * Makeconfig (+link-pie): Indent.
37340 * Rules (binaries-pie): Define if $(have-fpie) and
37341 $(build-shared).
37342 (binaries-shared): Also filter out $(binaries-pie).
37343 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37344 * nscd/Makefile (others-pie): Add nscd.
37345 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37346 ($(objpfx)nscd): Remove command override.
37347 * login/Makefile (others-pie): Add pt_chown.
37348 ($(objpfx)pt_chown): Remove command override.
37349 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37350 remove command overrides.
37351
fcabc0f8
UD
373522011-05-13 Ulrich Drepper <drepper@gmail.com>
37353
20030ae6
UD
37354 * libio/tst_putwc.c: Fix error messages.
37355
fcabc0f8
UD
37356 [BZ #12724]
37357 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37358 currently writing and seek to current position when not.
37359 * libio/Makefile (tests): Add bug-fclose1.
37360 * libio/bug-fclose1.c: New file.
37361
320a5dc0
PB
373622011-05-12 Ulrich Drepper <drepper@gmail.com>
37363
37364 [BZ #12511]
37365 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37366 don't set DF_1_NODELETE here.
37367 (do_lookup_x): When entering new entry test for copy relocation
37368 and if necessary set DF_1_NODELETE flag.
37369 * elf/tst-unique4.cc: New file.
37370 * elf/tst-unique4.h: New file.
37371 * elf/tst-unique4lib.cc: New file.
37372 * elf/Makefile: Add rules to build and run tst-unique4.
37373 Patch by Piotr Bury <pbury@goahead.com>.
37374
22836f52
UD
373752011-05-11 Ulrich Drepper <drepper@gmail.com>
37376
f574184a
UD
37377 [BZ #12052]
37378 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37379
e1fb097f
UD
37380 [BZ #12625]
37381 * misc/mntent_r.c (addmntent): Flush the stream after the output
37382
22836f52
UD
37383 [BZ #12393]
37384 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37385 (is_trusted_path_normalize): Skip initial colon. Append slash
37386 to empty buffer. Duplicate is_trusted_path code but allow
37387 constructed patch to be prefix.
37388 (is_dst): Allow $ORIGIN followed by /.
37389 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37390 Correct testing of result of is_trusted_path_normalize
37391 (decompose_rpath): Fix warning.
37392
7b3b0b2a
UD
373932011-05-10 Ulrich Drepper <drepper@gmail.com>
37394
37395 [BZ #11257]
37396 * grp/initgroups.c (internal_getgrouplist): When we found the service
37397 list through the initgroups entry in nsswitch.conf do not always
37398 continue on a successful lookup. Don't always use the
eac80ce2 37399 __nss_group_database value if it is set.
7b3b0b2a
UD
37400 * nss/nsswitch.conf (initgroups): Change action for successful db
37401 lookup to continue for compatibility.
37402
2a81eaa5
UD
374032011-05-09 Ulrich Drepper <drepper@gmail.com>
37404
be97a69e
UD
37405 [BZ #11532]
37406 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37407 and CP774 modules.
37408 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37409 and CP774 modules.
37410 * iconvdata/tst-tables.sh: Likewise.
37411 * iconvdata/cp770.c: New file.
37412 * iconvdata/cp771.c: New file.
37413 * iconvdata/cp772.c: New file.
37414 * iconvdata/cp773.c: New file.
37415 * iconvdata/cp774.c: New file.
37416 * iconvdata/testdata/CP770: New file.
37417 * iconvdata/testdata/CP770..UTF8: New file.
37418 * iconvdata/testdata/CP771: New file.
37419 * iconvdata/testdata/CP771..UTF8: New file.
37420 * iconvdata/testdata/CP772: New file.
37421 * iconvdata/testdata/CP772..UTF8: New file.
37422 * iconvdata/testdata/CP773: New file.
37423 * iconvdata/testdata/CP773..UTF8: New file.
37424 * iconvdata/testdata/CP774: New file.
37425 * iconvdata/testdata/CP774..UTF8: New file.
37426
37427 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37428 END CHARMAP line.
37429 * iconvdata/gen-8bit-gap.sh: Likewise.
37430 * iconvdata/gen-8bit.sh: Likewise.
37431
c1e9e399
UD
37432 * locale/iso-639.def: Add ary entry.
37433
24c55fb3 37434 [BZ #11258]
96b4b1b0
UD
37435 * locale/C-translit.h.in: Add U20A1 transliteration.
37436
bdc2f971
KB
37437 [BZ #12178]
37438 * locale/iso-639.def: Add wae entry.
37439 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37440
2952b117
UD
37441 [BZ #12545]
37442 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37443 for n.
37444
2a81eaa5
UD
37445 [BZ #12711]
37446 * locale/C-translit.h.in: Add entry for U20B9.
37447 Patch by pravin.d.s@gmail.com.
37448
28377d1b
UD
374492011-05-08 Ulrich Drepper <drepper@gmail.com>
37450
7fb90fb8
UD
37451 [BZ #12713]
37452 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37453 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37454 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37455 in rtld. Use *stat64.
7fb90fb8 37456 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37457 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37458 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37459 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37460 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37461 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37462 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37463 __fstatat64 macros.
7fb90fb8
UD
37464 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37465 * dirent/rewinddir.c: Add libc_hidden_def.
37466 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37467 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37468
28377d1b
UD
37469 * include/dirent.h (__alloc_dir): Add flags parameter.
37470 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37471 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37472 __alloc_dir.
37473 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37474 from fdopendir if O_CLOEXEC is already set.
37475
66bdbaa4
AM
374762011-03-15 Alan Modra <amodra@gmail.com>
37477
37478 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37479 l_tls_firstbyte_offset non-zero. Save padding offset in
37480 l_tls_firstbyte_offset for later use.
37481 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37482 freeing static tls block.
37483
95721191
JN
374842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37485
37486 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37487 where #ifdef was intended. The intent is to prevent ARG_MAX from
37488 being defined by the kernel headers.
37489
f87dfb1f
UD
374902011-05-07 Ulrich Drepper <drepper@gmail.com>
37491
37492 [BZ #12734]
37493 * resolv/resolv.h: Define RES_NOTLDQUERY.
37494 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37495 no-tld-query and set RES_NOTLDQUERY.
37496 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37497 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37498 modern BIND to search name as TLD unless forbidden.
37499
47c3cd7a
UD
375002011-05-07 Petr Baudis <pasky@suse.cz>
37501 Ulrich Drepper <drepper@gmail.com>
37502
37503 [BZ #12393]
37504 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37505 (is_trusted_path): ...to here.
c1e9ea35 37506 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37507 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37508 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37509
8a35c912
PP
375102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37511
37512 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37513 __BEGIN/__END_DECLS.
37514
acd41f47
UD
375152011-05-06 Ulrich Drepper <drepper@gmail.com>
37516
37517 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37518 NSS_STATUS_NOTFOUND if no record was found.
37519
597df647
AS
375202011-05-05 Andreas Schwab <schwab@redhat.com>
37521
37522 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37523 (headers-not-in-tirpc): Remove rpc/netdb.h
37524 * resolv/netdb.h: Revert last change.
37525
b9af1301
PP
375262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37527
37528 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37529 circular dependency between libgcc.a and libc.a.
37530
4e34d5f5
AS
375312011-05-05 Andreas Schwab <schwab@redhat.com>
37532
37533 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37534 * nis/Makefile: Don't install rpcsvc/*.
37535 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37536 instead of <rpc/types.h>.
37537 (MAXHOSTNAMELEN): Define.
37538
00ee369c
AS
375392011-05-03 Andreas Schwab <schwab@redhat.com>
37540
37541 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37542
0b592a30
MB
375432011-04-28 Maciej Babinski <mbabinski@google.com>
37544
37545 [BZ #12714]
37546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37547 gethostbyname4_r when IPv6 results are possible.
37548
6e04cbbe
UD
375492011-05-02 Ulrich Drepper <drepper@gmail.com>
37550
37551 [BZ #12723]
37552 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37553 _PC_PIPE_BUF handling.
37554
e4ecafe0
BH
375552011-04-30 Bruno Haible <bruno@clisp.org>
37556
37557 [BZ #12717]
37558 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37559 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37560 to 'int'.
37561 * inet/getnameinfo.c (getnameinfo): Likewise.
37562
125ee683
UD
375632011-04-29 Ulrich Drepper <drepper@gmail.com>
37564
37565 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37566 to groups setting in database lookup.
37567 * nss/nsswitch.conf: Add initgroups entry.
37568
b722481a
EB
375692011-04-22 Ulrich Drepper <drepper@gmail.com>
37570
37571 [BZ #12685]
37572 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37573 mode string.
37574 Patch by Eric Blake <eblake@redhat.com>.
37575
4df46dbd
L
375762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37577
37578 * sunrpc/Makefile (need-export-routines): Add svc_run.
37579 (routines): Remove svc_run.
37580 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37581 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37582 * sunrpc/svc_run.c (svc_run): Likewise.
37583 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37584
e84142d2
UD
375852011-04-21 Ulrich Drepper <drepper@gmail.com>
37586
37587 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37588 problem in reallocation in last patch.
37589
877175d8
UD
375902011-04-20 Ulrich Drepper <drepper@gmail.com>
37591
37592 * sunrpc/Makefile: Move inclusion of Rules.
37593
ab8eed78
UD
375942011-04-19 Ulrich Drepper <drepper@gmail.com>
37595
37596 * nss/nss_files/files-initgroups.c: New file.
37597 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37598 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37599 _nss_files_initgroups_dyn.
37600
e3d8f584
RS
376012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37602
37603 * elf/elf.h (R_ARM_IRELATIVE): Define.
37604
af190f45
UD
376052011-04-19 Ulrich Drepper <drepper@gmail.com>
37606
37607 * po/ru.po: Update from translation team.
37608
53cf59ef
UD
376092011-04-17 Ulrich Drepper <drepper@gmail.com>
37610
37611 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37612 dependencies.
37613
4c559bcd
MF
376142011-02-06 Mike Frysinger <vapier@gentoo.org>
37615
37616 [BZ #12653]
37617 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37618 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37619 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37622
4420675c
AS
376232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37624
37625 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37626 differing bytes.
37627 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37628 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37629 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37630
75ea32ab
UD
376312011-04-17 Ulrich Drepper <drepper@gmail.com>
37632
37633 [BZ #12420]
37634 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37635 storing it.
37636 * stdlib/bug-getcontext.c: New file.
37637 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37638
27390476
AK
376392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37640
37641 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37642 instructions into .machine "z9-109".
37643 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37644 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37645
10442705
AK
376462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37647
37648 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37649 between environment variables and auxiliary vector.
37650
7b57bfe5
UD
376512011-04-16 Ulrich Drepper <drepper@gmail.com>
37652
37653 * Makefile: Add rules to build linkobj/libc.so.
37654 * include/libc-symbols.h: Define libc_hidden_nolink.
37655 * include/rpc/auth.h: Mark functions which are to be hidden.
37656 * include/rpc/auth_des.h: Likewise.
37657 * include/rpc/auth_unix.h: Likewise.
37658 * include/rpc/clnt.h: Likewise.
37659 * include/rpc/des_crypt.h: Likewise.
37660 * include/rpc/key_prot.h: Likewise.
37661 * include/rpc/pmap_clnt.h: Likewise.
37662 * include/rpc/pmap_prot.h: Likewise.
37663 * include/rpc/pmap_rmt.h: Likewise.
37664 * include/rpc/rpc_msg.h: Likewise.
37665 * include/rpc/svc.h: Likewise.
37666 * include/rpc/svc_auth.h: Likewise.
37667 * include/rpc/xdr.h: Likewise.
37668 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37669 * nss/Makefile: Likewise.
37670 * sunrpc/Makefile: Don't install headers. Build library with normal
37671 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37672 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37673 for the compat linking library. Remove use of INTDEF/INTUSE.
37674 * sunrpc/auth_none.c: Likewise.
37675 * sunrpc/auth_unix.c: Likewise.
37676 * sunrpc/authdes_prot.c: Likewise.
37677 * sunrpc/authuxprot.c: Likewise.
37678 * sunrpc/clnt_gen.c: Likewise.
37679 * sunrpc/clnt_perr.c: Likewise.
37680 * sunrpc/clnt_raw.c: Likewise.
37681 * sunrpc/clnt_simp.c: Likewise.
37682 * sunrpc/clnt_tcp.c: Likewise.
37683 * sunrpc/clnt_udp.c: Likewise.
37684 * sunrpc/clnt_unix.c: Likewise.
37685 * sunrpc/des_crypt.c: Likewise.
37686 * sunrpc/des_soft.c: Likewise.
37687 * sunrpc/get_myaddr.c: Likewise.
37688 * sunrpc/key_call.c: Likewise.
37689 * sunrpc/key_prot.c: Likewise.
37690 * sunrpc/netname.c: Likewise.
37691 * sunrpc/pm_getmaps.c: Likewise.
37692 * sunrpc/pm_getport.c: Likewise.
37693 * sunrpc/pmap_clnt.c: Likewise.
37694 * sunrpc/pmap_prot.c: Likewise.
37695 * sunrpc/pmap_prot2.c: Likewise.
37696 * sunrpc/pmap_rmt.c: Likewise.
37697 * sunrpc/publickey.c: Likewise.
37698 * sunrpc/rpc_cmsg.c: Likewise.
37699 * sunrpc/rpc_common.c: Likewise.
37700 * sunrpc/rpc_dtable.c: Likewise.
37701 * sunrpc/rpc_prot.c: Likewise.
37702 * sunrpc/rpc_thread.c: Likewise.
37703 * sunrpc/rtime.c: Likewise.
37704 * sunrpc/svc.c: Likewise.
37705 * sunrpc/svc_auth.c: Likewise.
37706 * sunrpc/svc_authux.c: Likewise.
37707 * sunrpc/svc_raw.c: Likewise.
37708 * sunrpc/svc_run.c: Likewise.
37709 * sunrpc/svc_simple.c: Likewise.
37710 * sunrpc/svc_tcp.c: Likewise.
37711 * sunrpc/svc_udp.c: Likewise.
37712 * sunrpc/svc_unix.c: Likewise.
37713 * sunrpc/svcauth_des.c: Likewise.
37714 * sunrpc/xcrypt.c: Likewise.
37715 * sunrpc/xdr.c: Likewise.
37716 * sunrpc/xdr_array.c: Likewise.
37717 * sunrpc/xdr_float.c: Likewise.
37718 * sunrpc/xdr_intXX_t.c: Likewise.
37719 * sunrpc/xdr_mem.c: Likewise.
37720 * sunrpc/xdr_rec.c: Likewise.
37721 * sunrpc/xdr_ref.c: Likewise.
37722 * sunrpc/xdr_sizeof.c: Likewise.
37723 * sunrpc/xdr_stdio.c: Likewise.
37724
e6c61494
UD
377252011-04-10 Ulrich Drepper <drepper@gmail.com>
37726
37727 [BZ #12650]
37728 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37729 * sysdeps/ia64/dl-tls.h: Likewise.
37730 * sysdeps/powerpc/dl-tls.h: Likewise.
37731 * sysdeps/s390/dl-tls.h: Likewise.
37732 * sysdeps/sh/dl-tls.h: Likewise.
37733 * sysdeps/sparc/dl-tls.h: Likewise.
37734 * sysdeps/x86_64/dl-tls.h: Likewise.
37735 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37736
34fe483e
AS
377372011-03-14 Andreas Schwab <schwab@redhat.com>
37738
37739 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37740 rpath element also skip the following colon.
37741 (expand_dynamic_string_token): Add is_path parameter and pass
37742 down to DL_DST_REQUIRED and _dl_dst_substitute.
37743 (decompose_rpath): Call expand_dynamic_string_token with
37744 non-zero is_path. Ignore empty rpaths.
37745 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37746 with zero is_path.
37747
f12a32e6
AS
377482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37749
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37751 Make cancelable.
37752
38a7d692
UD
377532011-04-09 Ulrich Drepper <drepper@gmail.com>
37754
37755 [BZ #12655]
37756 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37757 Patch by Filipe David Manana <fdmanana@apache.org>.
37758
e451d22b
AS
377592011-04-07 Andreas Schwab <schwab@redhat.com>
37760
37761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37762 Maintain aligned stack.
37763 (CHECK_RSP): Remove unused macro.
37764
dedc7c7b
UD
377652011-04-03 Ulrich Drepper <drepper@gmail.com>
37766
37767 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37769
94521213
UD
377702011-04-02 Ulrich Drepper <drepper@gmail.com>
37771
37772 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37773
8cb700c0 37774 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 37775
0354e355
L
377762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37777
37778 [BZ #12518]
37779 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37780 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37781 * sysdeps/x86_64/memmove.c: New file.
37782 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37783 (memcpy): Renamed to ...
37784 (__new_memcpy): This.
37785 (memcpy): Provide GLIBC_2_14 memcpy.
37786 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37787 (memcpy): Provide GLIBC_2_2_5 memcpy.
37788
8593482f
UD
377892011-04-01 Ulrich Drepper <drepper@gmail.com>
37790
37791 [BZ #12631]
37792 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37793
81a5726b
AS
377942011-03-30 Andreas Schwab <schwab@redhat.com>
37795
37796 * misc/syncfs.c: New file.
37797 * misc/Makefile (routines): Add syncfs.
37798 * posix/unistd.h: Declare syncfs.
37799 * sysdeps/unix/syscalls.list: Add syncfs.
37800
00e5419f
AS
378012011-04-01 Andreas Schwab <schwab@redhat.com>
37802
37803 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37804 open_by_handle_at.
37805 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37807 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37808 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37809 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37810 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37812
748876bf
UD
378132011-04-01 Ulrich Drepper <drepper@gmail.com>
37814
658e451d
UD
37815 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37816 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37817 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37819 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37822
748876bf
UD
37823 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37824 sync_file_range.c with -fexceptions.
37825 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37826 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37827 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37828 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37829 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37830 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
37832 sync_file_range as cancellation point
37833 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37834 now a wrapper around __call_sync_file_range with cancellation handling.
37835 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37836 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37837 function name to __call_sync_file_range.
37838 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37839 Add call_sync_file_range.
748876bf 37840
6e63d5e1
AS
378412011-04-01 Andreas Schwab <schwab@redhat.com>
37842
37843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 37844 bits/timex.h.
6e63d5e1 37845
46998f74
UD
378462011-04-01 Ulrich Drepper <drepper@gmail.com>
37847
4c1423ed
UD
37848 * iconv/iconv.h: Fix typo in comment.
37849 * io/fcntl.h: Likewise.
37850 * libio/stdio.h: Likewise.
37851 * posix/spawn.h: Likewise.
37852 * posix/unistd.h: Likewise.
37853 * stdlib/stdlib.h: Likewise.
37854 * time/time.h: Likewise.
37855 * wcsmbs/wchar.h: Likewise.
37856
158648c0
UD
37857 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37858 open_by_handle): Add.
37859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37860 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37861 Augment a few comments.
37862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37864 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37866 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37867 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37868 open_by_handle.
37869
46998f74
UD
37870 * io/fcntl.h (AT_EMPTY_PATH): Define.
37871
83fe108b
UD
378722011-03-30 Ulrich Drepper <drepper@gmail.com>
37873
37874 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37875 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37876 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37877 to...
37878 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
37879 * Versions.def: Add GLIBC_2.14.
37880 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37881 Export.
83fe108b 37882
bb242059
UD
378832011-03-22 Ulrich Drepper <drepper@gmail.com>
37884
37885 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37886 round counter.
37887 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37888
c97a1282
L
378892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37890
37891 [BZ #12597]
37892 * string/test-strncmp.c (do_page_test): New function.
37893 (check2): Likewise.
37894 (test_main): Call check2.
37895 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37896
2a115601
UD
378972011-03-20 Ulrich Drepper <drepper@gmail.com>
37898
37899 [BZ #12587]
37900 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37901 Handle cache information in CPU leaf 4.
37902 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37903
8126d904
UD
379042011-03-18 Ulrich Drepper <drepper@gmail.com>
37905
042c49c6 37906 [BZ #12583]
8126d904
UD
37907 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37908 character representation.
37909 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37910
ccfe366e
RA
379112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37912
37913 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37914 END(__isnan) to END(__isnanf) to match function entry point/label
37915 EALIGN(__isnanf,...).
37916
c6e13027
JJ
379172011-03-10 Jakub Jelinek <jakub@redhat.com>
37918
37919 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37920
33f85a3f
UD
379212011-03-10 Ulrich Drepper <drepper@gmail.com>
37922
028478fa
UD
37923 [BZ #12510]
37924 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37925 copy from the symbol referenced in the relocation to initialize the
37926 used variable.
37927 Patch by Piotr Bury <pbury@goahead.com>.
37928 * elf/Makefile: Add rules to build and tst-unique3.
37929 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37930 * elf/tst-unique3.cc: New file.
37931 * elf/tst-unique3.h: New file.
37932 * elf/tst-unique3lib.cc: New file.
37933 * elf/tst-unique3lib2.cc: New file.
37934
33f85a3f
UD
37935 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37936
03592fc7
MF
379372011-03-10 Mike Frysinger <vapier@gentoo.org>
37938
37939 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37940 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37941 to _start.
03592fc7 37942
6a5ee102
UD
379432011-03-06 Ulrich Drepper <drepper@gmail.com>
37944
37945 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37946 to-be-loaded object along a path to loader is ld.so.
37947
7e4ba49c
HJ
379482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37949 Ulrich Drepper <drepper@gmail.com>
37950
37951 * sysdeps/x86_64/memset.S: After aligning destination, code
37952 branches to different locations depending on the value of
37953 misalignment, when multiarch is enabled. Fix this.
37954
379552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37956
37957 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37958 Set _x86_64_preferred_memory_instruction for AMD processsors.
37959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37960 Set bit_Prefer_SSE_for_memop for AMD processors.
37961
13a804de
UD
379622011-03-04 Ulrich Drepper <drepper@gmail.com>
37963
37964 * libio/fmemopen.c (fmemopen): Optimize a bit.
37965
9d25c392
AS
379662011-03-03 Andreas Schwab <schwab@redhat.com>
37967
37968 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37969
a5543c6a
RM
379702011-03-03 Roland McGrath <roland@redhat.com>
37971
37972 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37973
012d35f7
DM
379742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37975
7e4ba49c 37976 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
37977 __bzero_ultra1 instead of __memset_ultra1.
37978
4bff6e01
AS
379792011-02-23 Andreas Schwab <schwab@redhat.com>
37980 Ulrich Drepper <drepper@gmail.com>
37981
37982 [BZ #12509]
37983 * include/link.h (struct link_map): Add l_orig_initfini.
37984 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37985 returning unsuccessfully.
37986 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37987 close of a file loaded at startup, restore the original l_initfini
37988 list.
37989 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37990 list, store the pointer.
37991 * elf/Makefile ($(objpfx)noload-mem): New rule.
37992 (noload-ENV): Define.
37993 (tests): Add $(objpfx)noload-mem.
37994 * elf/noload.c: Include <memcheck.h>.
37995 (main): Call mtrace. Close all opened handles.
37996
f2092faf
AS
379972011-02-17 Andreas Schwab <schwab@redhat.com>
37998
37999 [BZ #12454]
38000 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38001 dependencies are missing.
38002
6c8a2e88
ST
380032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38004
f2092faf 38005 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38006 Hurd needs munmap.
38007 * sysdeps/mach/hurd/ifreq.h: New file.
38008
84a42118
PB
380092011-01-27 Petr Baudis <pasky@suse.cz>
38010 Ulrich Drepper <drepper@gmail.com>
38011
071f805e 38012 [BZ 12445]#
84a42118
PB
38013 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38014 to extend_alloca().
38015 * stdio-common/bug23.c: New file.
38016 * stdio-common/Makefile (tests): Add bug23.
38017
e23fe25b
AS
380182010-09-28 Andreas Schwab <schwab@redhat.com>
38019 Ulrich Drepper <drepper@gmail.com>
38020
38021 [BZ #12489]
38022 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38023 before performing relro protection. At old place add assertion
38024 to make sure nothing changed.
38025
d3f02e10
NS
380262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38027 Glauber de Oliveira Costa <glommer@gmail.com>
38028
38029 * elf/elf.h: Add new ARM TLS relocs.
38030
d55fd7a5
RA
380312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38032
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38034 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38035 cast from r3.
38036 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38037 'tests' variable.
38038 * sysdeps/wordsize-64/tst-writev.c: New file.
38039
2206397e
RA
380402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38041
38042 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38043 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38044 insns in _dl_start to prevent a TOC reference before relocs are
38045 resolved.
38046
e9433893
UD
380472011-02-15 Ulrich Drepper <drepper@gmail.com>
38048
38049 [BZ #12469]
38050 * Makeconfig: Remove RANLIB definition.
38051 * Makerules: Don't use RANLIB.
38052 * aclocal.m4: Remove ranlib test.
38053 * configure.in: No need to check for ranlib.
38054 * elf/rtld-Rules: Don't use RANLIB.
38055
f75286c6
ST
380562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38057
8e31c82d
ST
38058 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38059 protection macro.
38060 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38061 inclusion protection macro.
38062
f75286c6
ST
38063 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38064 SIGRTMIN and SIGRTMAX and print information in that case only when
38065 SIGRTMIN is defined.
38066
c1d0e639
JJ
380672011-02-11 Jakub Jelinek <jakub@redhat.com>
38068
38069 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38070 arginfo fn returning -1.
38071
38072 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38073 and thousands string is zero terminated.
38074
edf9294e
AS
380752011-02-03 Andreas Schwab <schwab@redhat.com>
38076
38077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38078 sysdeps/unix/sysv/linux/bits/socket.h.
38079
2b7e92df
ST
380802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38081
edf9294e
AS
38082 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38083 (__CPU_COUNT): Remove old macros.
38084 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38085 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38086 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38087 (__sched_cpualloc, __sched_cpufree): Add declarations.
38088
a4c7ea7b
UD
380892011-02-05 Ulrich Drepper <drepper@gmail.com>
38090
38091 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38092 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38093 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38094 (readdhstai): Return value of addhstaiX call.
38095 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38096 (addgrbyX): Return value returned by cache_addgr.
38097 (readdgrbyname): Return value returned by addgrbyX.
38098 (readdgrbygid): Likewise.
38099 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38100 (addpwbyX): Return value returned by cache_addpw.
38101 (readdpwbyname): Return value returned by addhstbyX.
38102 (readdpwbyuid): Likewise.
38103 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38104 (addservbyX): Return value returned by cache_addserv.
38105 (readdservbyname): Return value returned by addservbyX:
38106 (readdservbyport): Likewise.
38107 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38108 (addhstbyX): Return value returned by cache_addhst.
38109 (readdhstbyname): Return value returned by addhstbyX.
38110 (readdhstbyaddr): Likewise.
38111 (readdhstbynamev6): Likewise.
38112 (readdhstbyaddrv6): Likewise.
38113 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38114 (readdinitgroups): Return value returned by addinitgroupsX.
38115 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38116 (prune_cache): Keep track of timeout value of re-added entries.
38117 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38118 * nscd/nscd.h: Adjust prototypes of readd* functions.
38119
a0bf67cc
RM
381202011-02-04 Roland McGrath <roland@redhat.com>
38121
38122 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38123 (nis_stats): Likewise.
38124 * nis/nis_modify.c (nis_modify): Likewise.
38125 * nis/nis_remove.c (nis_remove): Likewise.
38126 * nis/nis_add.c (nis_add): Likewise.
38127
38128 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38129
38130 * posix/fnmatch_loop.c: Add some consts.
38131
38132 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38133
435b95eb
L
381342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38135
38136 [BZ #12460]
38137 * config.make.in (config-cflags-novzeroupper): Define.
38138 * configure.in: Substitute libc_cv_cc_novzeroupper.
38139 * elf/Makefile (AVX-CFLAGS): Define.
38140 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38141 (CFLAGS-tst-auditmod4a.c): Likewise.
38142 (CFLAGS-tst-auditmod4b.c): Likewise.
38143 (CFLAGS-tst-auditmod6b.c): Likewise.
38144 (CFLAGS-tst-auditmod6c.c): Likewise.
38145 (CFLAGS-tst-auditmod7b.c): Likewise.
38146 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38147
8517b15e
UD
381482011-02-02 Ulrich Drepper <drepper@gmail.com>
38149
38150 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38151 function to the callback.
38152 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38153
10a656fe
AS
381542011-02-02 Andreas Schwab <schwab@redhat.com>
38155
38156 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38157 of errno.
38158
968dad0a
UD
381592011-01-19 Ulrich Drepper <drepper@gmail.com>
38160
9f94d2ea 38161 [BZ #11724]
968dad0a
UD
38162 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38163 of constructors.
38164 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38165 of destructors.
38166 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38167
38168 [BZ #11724]
38169 * elf/Makefile: Add rules to build and run new test.
38170 * elf/tst-initorder.c: New file.
38171 * elf/tst-initorder.exp: New file.
38172 * elf/tst-initordera1.c: New file.
38173 * elf/tst-initordera2.c: New file.
38174 * elf/tst-initordera3.c: New file.
38175 * elf/tst-initordera4.c: New file.
38176 * elf/tst-initorderb1.c: New file.
38177 * elf/tst-initorderb2.c: New file.
38178 * elf/tst-order-a1.c: New file.
38179 * elf/tst-order-a2.c: New file.
38180 * elf/tst-order-a3.c: New file.
38181 * elf/tst-order-a4.c: New file.
38182 * elf/tst-order-b1.c: New file.
38183 * elf/tst-order-b2.c: New file.
38184 * elf/tst-order-main.c: New file.
38185 New test case by George Gensure <werkt0@gmail.com>.
38186
86e92359
UD
381872010-10-01 Andreas Schwab <schwab@redhat.com>
38188
38189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38190 decoding ACE if AI_CANONIDN.
38191
5d5732b0
UD
381922011-01-18 Ulrich Drepper <drepper@gmail.com>
38193
38194 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38195
a77e8cbc
UD
381962011-01-17 Ulrich Drepper <drepper@gmail.com>
38197
6392473f
UD
38198 * version.h (RELEASE): Bump for 2.13 release.
38199 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38200
620a0529
UD
38201 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38202
18ba70a5
UD
38203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38204 MADV_NOHUGEPAGE.
32465c3e
UD
38205 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38206 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38207 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38208 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38209 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38210 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38211
c0dafcf1
UD
38212 * posix/getconf.c: Update copyright year.
38213 * catgets/gencat.c: Likewise.
38214 * csu/version.c: Likewise.
38215 * debug/catchsegv.sh: Likewise.
38216 * debug/xtrace.sh: Likewise.
38217 * elf/ldconfig.c: Likewise.
38218 * elf/ldd.bash.in: Likewise.
38219 * elf/sprof.c (print_version): Likewise.
38220 * iconv/iconv_prog.c: Likewise.
38221 * iconv/iconvconfig.c: Likewise.
38222 * locale/programs/locale.c: Likewise.
38223 * locale/programs/localedef.c: Likewise.
38224 * malloc/memusage.sh: Likewise.
38225 * malloc/mtrace.pl: Likewise.
38226 * nscd/nscd.c (print_version): Likewise.
38227 * nss/getent.c: Likewise.
38228
a77e8cbc
UD
38229 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38230 PF_CAIF, and PF_ALG.
38231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38232
77e8bddf
AS
382332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38234
1f20b93a
AS
38235 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38236 (modules-names): Use them.
38237 (ifunc-test-modules, ifunc-pie-tests): Define.
38238 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38239 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38240 (test-extras): Likewise.
38241 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38242 $(compile-command.c).
38243 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38244 (all-built-dso): Define.
38245 (check-textrel.out, check-execstack.out): Depend on it.
38246
77e8bddf
AS
38247 * configure.in: Don't override --enable-multi-arch.
38248
bc425b33
UD
382492011-01-15 Ulrich Drepper <drepper@gmail.com>
38250
38251 [BZ #6812]
38252 * nscd/hstcache.c (tryagain): Define.
38253 (cache_addhst): Return tryagain not notfound for temporary errors.
38254 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38255 failed.
38256
794c3ad3
UD
382572011-01-14 Ulrich Drepper <drepper@gmail.com>
38258
70181fdd
UD
38259 [BZ #10563]
38260 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38261 to make the syscall.
38262 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38263
794c3ad3
UD
38264 [BZ #12378]
38265 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38266 and fall back to matching as normal character if the string ends before
38267 the matching ']' is found. This is what POSIX requires.
38268 * posix/testfnm.c: Adjust test result.
38269 * posix/globtest.sh: Adjust test result. Add new test.
38270 * posix/tst-fnmatch.input: Likewise.
38271 * posix/tst-fnmatch2.c: Add new test.
38272
68dc9497
AS
382732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38274
38275 * elf/Makefile (check-execstack): Revert last change. Depend on
38276 check-execstack.h.
38277 (check-execstack.h): New target.
38278 (generated): Add check-execstack.h.
38279 * elf/check-execstack.c: Include "check-execstack.h".
38280 (main): Revert last change.
38281 (handle_file): Return zero if GNU_STACK is absent and
38282 DEFAULT_STACK_PERMS doesn't include PF_X.
38283
451f001b
UD
382842011-01-13 Ulrich Drepper <drepper@gmail.com>
38285
cfa28e56
UD
38286 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38287 in child fails because the descriptor is already closed.
8cf8ce17
UD
38288 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38289 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38290 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38291
1086d70d
UD
38292 [BZ #12397]
38293 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38294 syscall.
38295
451f001b
UD
38296 [BZ #10484]
38297 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38298 temporary buffer used to handle multi lookups locally.
a85b5cb4 38299 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38300
08769175
UD
383012011-01-12 Ulrich Drepper <drepper@gmail.com>
38302
38303 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38304 loader is ld.so.
38305
5e49c52e
UD
383062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38307
38308 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38309 alignment for SSE2.
38310
60522a5f
UD
383112011-01-12 Ulrich Drepper <drepper@gmail.com>
38312
38313 [BZ #12394]
38314 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38315 characters. When rounding increased number of integer digits recompute
38316 number of groups.
38317 * stdio-common/tst-grouping.c: New file.
38318 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38319
f257bbd7
UD
383202011-01-09 Ulrich Drepper <drepper@gmail.com>
38321
38322 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38323 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38324
38325 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38326 void.
38327 * bits/select.h: Likewise.
38328
fa9c15cb
UD
383292011-01-08 Ulrich Drepper <drepper@gmail.com>
38330
38331 * po/ja.po: Update from translation team.
38332
16c2895f
DM
383332011-01-04 David S. Miller <davem@sunset.davemloft.net>
38334
38335 [BZ #11155]
38336 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38337 implementation just like for lxstat, fxstatat, et al.
38338
2543fef2
JM
383392010-12-27 Jim Meyering <meyering@redhat.com>
38340
38341 [BZ #12348]
38342 * posix/regexec.c (build_trtable): Return failure indication upon
38343 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38344
98727dbe
UD
383452010-12-25 Ulrich Drepper <drepper@gmail.com>
38346
5bd6dc5c
UD
38347 [BZ #12201]
38348 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38349 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38350 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38352
97983464
UD
38353 [BZ #12207]
38354 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38355
98727dbe
UD
38356 [BZ #12204]
38357 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38358 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38359
4a531bb0
L
383602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38361
38362 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38363 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38364 script has SORT_BY_INIT_PRIORITY.
38365 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38366 NO_CTORS_DTORS_SECTIONS is defined.
38367 * elf/soinit.c: Likewise.
38368 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38369 NO_CTORS_DTORS_SECTIONS is defined.
38370 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38371 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38372 * sysdeps/sh/init-first.c: Likewise.
38373 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38374
07eb4b71
UD
383752010-12-24 Ulrich Drepper <drepper@gmail.com>
38376
38377 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38378 always use the slow path.
38379
30950a5f
RA
383802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38381
38382 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38383 similar rule which adds the sysdep directories to the header search in
38384 order to pick up the correct platform stackinfo.h.
38385 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38386 perform test if it is, otherwise return successfully without testing.
38387 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38388 DEFAULT_STACK_PERMS define in stackinfo.h.
38389 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38390 defined in stackinfo.h.
38391 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38392 DEFAULT_STACK_PERMS defined in stackinfo.h.
38393 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38394 * sysdeps/ia64/stackinfo.h: Likewise.
38395 * sysdeps/s390/stackinfo.h: Likewise.
38396 * sysdeps/sh/stackinfo.h: Likewise.
38397 * sysdeps/sparc/stackinfo.h: Likewise.
38398 * sysdeps/x86_64/stackinfo.h: Likewise.
38399 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38400 PF_X for powerpc64. Retain PF_X for powerpc32.
38401
db753e2c
UD
384022010-12-19 Ulrich Drepper <drepper@gmail.com>
38403
14b697f7
UD
38404 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38405 accurately.
db753e2c
UD
38406 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38407 GETDENTS_64BIT_ALIGNED.
38408
28300719
UD
384092010-12-14 Ulrich Drepper <dreper@gmail.com>
38410
14b697f7 38411 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38412
4f197237
AS
384132010-12-10 Andreas Schwab <schwab@redhat.com>
38414
dbb0472f
AS
38415 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38416 _GNU_SOURCE.
38417
4f197237
AS
38418 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38419 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38420 Remove __restrict.
38421 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38422 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38423
fb88ac72
UD
384242010-12-09 Ulrich Drepper <drepper@gmail.com>
38425
38426 [BZ #11655]
38427 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38428 are initialized.
38429
42acbb92
JJ
384302010-12-09 Jakub Jelinek <jakub@redhat.com>
38431
38432 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38433
c038d98d
UD
384342010-12-03 Ulrich Drepper <drepper@gmail.com>
38435
38436 * po/it.po: Update from translation team.
38437
3a4a2499
L
384382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38439
38440 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38441 unused codes.
38442
1e24cf6e
UD
384432010-11-30 Ulrich Drepper <drepper@gmail.com>
38444
38445 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38446
a7690819
AS
384472010-11-24 Andreas Schwab <schwab@redhat.com>
38448
38449 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38450 specially.
38451 (gaih_getanswer_slice): Likewise.
38452
3bf8d1b1
JJ
384532010-10-20 Jakub Jelinek <jakub@redhat.com>
38454
38455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38456
6db52fbb
PB
384572010-05-31 Petr Baudis <pasky@suse.cz>
38458
38459 [BZ #11149]
38460 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38461 silently even in the chroot mode.
38462
eaca7569
UD
384632010-11-22 Ulrich Drepper <drepper@gmail.com>
38464
38465 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38466 last patch a bit. Pretty printing
38467
3056dcdb
UD
384682010-05-31 Petr Baudis <pasky@suse.cz>
38469
38470 [BZ #10085]
38471 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38472 initialization of skip_initgroups_dyn.
38473
cf7c9078
UD
384742010-11-19 Ulrich Drepper <drepper@gmail.com>
38475
38476 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38477 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38478
a1fb5e3e
UD
384792010-11-16 Ulrich Drepper <drepper@gmail.com>
38480
38481 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38482
3540d66b
AS
384832010-11-11 Andreas Schwab <schwab@redhat.com>
38484
38485 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38486 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38487 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38488 ($(objpfx)tst-fnmatch-mem): New rule.
38489 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38490 * posix/tst-fnmatch.c (main): Call mtrace.
38491
13b69574
L
384922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38493
38494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38495 Support Intel processor model 6 and model 0x2c.
38496
da93d214
LM
384972010-11-10 Luis Machado <luisgpm@br.ibm.com>
38498
38499 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38500 signed comparison.
38501
8ca52c6e
L
385022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38503
38504 [BZ #12205]
38505 * string/test-strncasecmp.c (check_result): New function.
38506 (do_one_test): Use it.
38507 (check1): New function.
38508 (test_main): Use it.
38509 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38510 Support strcasecmp and strncasecmp.
38511
69da074d
UD
385122010-11-08 Ulrich Drepper <drepper@gmail.com>
38513
38514 [BZ #12194]
38515 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38516 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38517
ff02d528
L
385182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38519
38520 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38521 IFUNC support.
38522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38523 memset-x86-64.
38524 * sysdeps/x86_64/multiarch/bzero.S: New file.
38525 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38526 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38527 * sysdeps/x86_64/multiarch/memset.S: New file.
38528 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38530 Set bit_Prefer_SSE_for_memop for Intel processors.
38531 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38532 Define.
38533 (index_Prefer_SSE_for_memop): Define.
38534 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38535
344d0b54
LM
385362010-11-04 Luis Machado <luisgpm@br.ibm.com>
38537
38538 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38539 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38540
c0dde15b
UD
385412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38542
38543 [BZ #12191]
38544 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38545 (__x86_64_raw_data_cache_size_half): Likewise.
38546 (__x86_64_raw_shared_cache_size): Likewise.
38547 (__x86_64_raw_shared_cache_size_half): Likewise.
38548
38549 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38550 (__x86_64_raw_data_cache_size_half): Likewise.
38551 (__x86_64_raw_shared_cache_size): Likewise.
38552 (__x86_64_raw_shared_cache_size_half): Likewise.
38553 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38554 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38555 and __x86_64_raw_shared_cache_size_half. Round
38556 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38557 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38558 to multiple of 256 bytes.
38559
0e516e0e
MS
385602010-11-03 Ulrich Drepper <drepper@gmail.com>
38561
38562 [BZ #12167]
38563 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38564 of inacessible symlinks. Verify result of symlink before returning it.
38565 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38566 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38567
0e012e87
ER
385682010-10-28 Erich Ritz <erichritz@gmail.com>
38569
38570 * math/math.h (isinf): Fix typo in comment.
38571
de0ff7bc
UD
385722010-11-01 Ulrich Drepper <drepper@gmail.com>
38573
38574 * po/da.po: Update from translation team.
38575
fa41c84d
UD
385762010-10-26 Ulrich Drepper <drepper@gmail.com>
38577
38578 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38579 is added to the list.
38580
f0967738
AK
385812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38582 Ulrich Drepper <drepper@gmail.com>
38583
38584 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38585 the global list here. Move code to...
38586 (_dl_add_to_namespace_list): ...here. New function.
38587 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38588 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38589 * elf/dl-load.c (lose): Don't remove the element from the list.
38590 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38591 (_dl_map_object): Likewise.
38592
385932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38594
38595 [BZ #12159]
38596 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38597 into all bytes of SSE register.
38598 Patch by Richard Li <richardpku@gmail.com>.
38599
f0967738 386002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38601
38602 [BZ #12140]
38603 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38604 perturbing.
38605
d0b9e94f
MB
386062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38607
38608 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38609 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38610 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38611 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38613 submachine.
38614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38615
8e9f92e9
AS
386162010-10-22 Andreas Schwab <schwab@redhat.com>
38617
38618 * include/dlfcn.h (__RTLD_SECURE): Define.
38619 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38620 mode & __RTLD_SECURE instead.
38621 (open_path): Rename preloaded parameter to secure.
38622 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38623 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38624 * elf/dl-deps.c (openaux): Likewise.
38625 * elf/rtld.c (struct map_args): Remove is_preloaded.
38626 (map_doit): Don't use it.
38627 (dl_main): Likewise.
38628 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38629 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38630
bc96fbda
AS
386312010-09-09 Andreas Schwab <schwab@redhat.com>
38632
38633 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38634 (sysd-rules-targets): Remove duplicates.
38635 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38636 rtld-%.$o dependency.
38637
22cd1c9b
AS
386382010-10-18 Andreas Schwab <schwab@redhat.com>
38639
38640 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38641 _dl_map_object do it.
38642
18edac48
UD
386432010-10-19 Ulrich Drepper <drepper@gmail.com>
38644
38645 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38646 fast fma builtins, define the macros in the C99 standard.
38647 (FP_FAST_FMAF): Likewise.
38648 (FP_FAST_FMAL): Likewise.
38649 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38650
38651 * bits/mathdef.h: Update copyright year.
38652 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38653
d2050124
MM
386542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38655
38656 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38657 builtins, define the macros in the C99 standard.
38658 (FP_FAST_FMAF): Likewise.
38659 (FP_FAST_FMAL): Likewise.
38660 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38661 multiply/add.
38662 (FP_FAST_FMAF): Likewise.
38663
475facd1
JJ
386642010-10-15 Jakub Jelinek <jakub@redhat.com>
38665
38666 [BZ #3268]
38667 * math/libm-test.inc (fma_test): Some new testcases.
38668 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38669 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38670 y and infinite z. Do multiplication by C already in long double.
38671 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38673 y and infinite z. Do bitwise or of inexact bit into u.d.
38674 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38675 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38676 * sysdeps/i386/fpu/s_fma.S: Removed.
38677 * sysdeps/i386/fpu/s_fmal.S: Removed.
38678
7c08a05c
JJ
386792010-10-16 Jakub Jelinek <jakub@redhat.com>
38680
38681 [BZ #3268]
38682 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38683 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38684 computation is not scheduled after fetestexcept. Fix value
38685 of minimum denormal long double.
38686
f3f7372d
JJ
386872010-10-14 Jakub Jelinek <jakub@redhat.com>
38688
38689 [BZ #3268]
38690 * math/libm-test.inc (fma_test): Add some more tests.
38691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38692 correctly.
38693
14d43591
AS
386942010-10-15 Andreas Schwab <schwab@redhat.com>
38695
38696 * scripts/data/localplt-s390-linux-gnu.data: New file.
38697 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38698
5e908464
JJ
386992010-10-13 Jakub Jelinek <jakub@redhat.com>
38700
38701 [BZ #3268]
38702 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38703 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38704 instead of dbl-64.
38705 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38706 inlines.
38707 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38709 if one of x and y is very large and the other is subnormal.
38710 * sysdeps/s390/fpu/s_fmaf.c: New file.
38711 * sysdeps/s390/fpu/s_fma.c: New file.
38712 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38713 * sysdeps/powerpc/fpu/s_fma.S: New file.
38714 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38715 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38716 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38717
387182010-10-12 Jakub Jelinek <jakub@redhat.com>
38719
38720 [BZ #3268]
38721 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38722 fma tests.
38723 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38724 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38725 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38726 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38727 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38728 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38730
b833d51f
UD
387312010-10-12 Ulrich Drepper <drepper@redhat.com>
38732
38733 [BZ #12078]
38734 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38735 * posix/bug-regex31.input: Add test case.
38736
1751705d
UD
387372010-10-11 Ulrich Drepper <drepper@gmail.com>
38738
e9b9cbf5
UD
38739 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38740 * posix/bug-regex31.input: New file.
38741
38742 [BZ #12078]
38743 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38744 (parse_sub_exp): Fix last change, use postorder.
38745
ef06edbe
UD
38746 * posix/bug-regex31.c: New file.
38747 * posix/Makefile: Add rules to build and run bug-regex31.
38748
a129c80d
UD
38749 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38750
38751 [BZ #12078]
38752 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38753
b76b818e
UD
38754 [BZ #12108]
38755 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38756 to have entries in sys_siglist.
38757
1751705d
UD
38758 [BZ #12093]
38759 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38760 be NULL.
38761
9ff8d36f
JJ
387622010-10-07 Jakub Jelinek <jakub@redhat.com>
38763
38764 [BZ #3268]
38765 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38766 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38767 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38768 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38769 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38770 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38771 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38772 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38773 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38774 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38775 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38776 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38777 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38778 * math/ftestexcept.c (fetestexcept): Likewise.
38779 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38780 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38781 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38782 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38783 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38784 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38785 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38786
af325969
UD
387872010-10-11 Ulrich Drepper <drepper@gmail.com>
38788
c579b202 38789 [BZ #12107]
af325969
UD
38790 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38791 newline.
38792
67a67b95
UD
387932010-10-06 Ulrich Drepper <drepper@gmail.com>
38794
38795 * string/bug-strstr1.c: New file.
38796 * string/Makefile: Add rules to build and run bug-strstr1.
38797
5fb308bc
EB
387982010-10-05 Eric Blake <eblake@redhat.com>
38799
38800 [BZ #12092]
38801 * string/str-two-way.h (two_way_long_needle): Always clear memory
38802 when skipping input due to the shift table.
38803
45db99c7
UD
388042010-10-03 Ulrich Drepper <drepper@gmail.com>
38805
3b111893
UD
38806 [BZ #12005]
38807 * malloc/mcheck.c: Handle large requests.
38808
45db99c7
UD
38809 [BZ #12077]
38810 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38811 for strncmp and strncasecmp.
38812 * string/stratcliff.c: Add tests for strcmp and strncmp.
38813 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38814
cf7a1eb8
NI
388152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38816
38817 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38818 __set_fpscr.
38819
6484ba5e
AJ
388202010-09-30 Andreas Jaeger <aj@suse.de>
38821
38822 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38823 (CGROUP_SUPER_MAGIC): Define.
38824 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38825 Handle btrfs and cgroup file systems.
38826 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38827 Likewise.
38828
91c42559
LM
388292010-09-27 Luis Machado <luisgpm@br.ibm.com>
38830
38831 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38832 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38833
87a97932
AK
388342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38835
38836 [BZ #12067]
38837 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38838 trying to locate the ELF header.
38839
c21cc9bc
AS
388402010-09-27 Andreas Schwab <schwab@redhat.com>
38841
38842 [BZ #11611]
38843 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38844 Mask out sign-bit copies when constructing f_fsid.
38845
315970f6
PB
388462010-09-24 Petr Baudis <pasky@suse.cz>
38847
38848 * debug/stack_chk_fail_local.c: Add missing licence exception.
38849 * debug/warning-nop.c: Likewise.
38850
1ac7a2c7
JM
388512010-09-15 Joseph Myers <joseph@codesourcery.com>
38852
38853 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38854 implementing getdents64 using getdents syscall, set d_type if
38855 __ASSUME_GETDENTS32_D_TYPE.
38856
56801c50
AS
388572010-09-16 Andreas Schwab <schwab@redhat.com>
38858
38859 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38860 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38861
dda51327
UD
388622010-09-21 Ulrich Drepper <drepper@redhat.com>
38863
38864 [BZ #12037]
38865 * posix/unistd.h: Undo change of feature selection for ftruncate from
38866 2010-01-11.
38867
8ffcee4a
UD
388682010-09-20 Ulrich Drepper <drepper@redhat.com>
38869
a545ecd9 38870 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
38871 detection.
38872
e24f0a8b
AS
388732010-09-20 Andreas Schwab <schwab@redhat.com>
38874
38875 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38876 fanotify_mark.
38877 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38878
7291c56f
AS
388792010-09-14 Andreas Schwab <schwab@redhat.com>
38880
38881 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38882 variables after CHECK_SP call.
38883 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38884
bc5fb037
AS
388852010-09-13 Andreas Schwab <schwab@redhat.com>
38886 Ulrich Drepper <drepper@redhat.com>
38887
38888 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38889 re-relocationg ld.so.
38890 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38891 _dl_init_paths call.
38892 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38893 here anymore.
38894
e66e7419
UD
388952010-09-14 Ulrich Drepper <drepper@redhat.com>
38896
38897 * resolv/res_init.c (__res_vinit): Count the default server we added.
38898
c044aa75
CLT
388992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38900 Ulrich Drepper <drepper@redhat.com>
38901
38902 [BZ #11968]
38903 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38904 (____longjmp_chk): Use %ebx for saving value across system call.
38905 Add unwind info.
38906
32cf4069
AS
389072010-09-06 Andreas Schwab <schwab@redhat.com>
38908
38909 * manual/Makefile: Don't mix pattern rules with normal rules.
38910
817328ee
AS
389112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38912
38913 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38914 operation.
38915 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38916 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38917 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38918 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38920 Likewise.
38921
29fddf61
UD
389222010-09-04 Ulrich Drepper <drepper@redhat.com>
38923
38924 [BZ #11979]
38925 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38926 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38927
0959ffc9
UD
389282010-09-02 Ulrich Drepper <drepper@redhat.com>
38929
38930 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38931 * sysdeps/x86_64/addmul_1.S: Likewise.
38932 * sysdeps/x86_64/lshift.S: Likewise.
38933 * sysdeps/x86_64/mul_1.S: Likewise.
38934 * sysdeps/x86_64/rshift.S: Likewise.
38935 * sysdeps/x86_64/sub_n.S: Likewise.
38936 * sysdeps/x86_64/submul_1.S: Likewise.
38937
ece29840
ST
389382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38939
0959ffc9
UD
38940 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38941 Define __sched_param instead of SCHED_* and sched_param when
ece29840 38942 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 38943 * bits/sched.h [__need_schedparam]
ece29840 38944 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
38945 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38946 (__defined_schedparam): Define to 1.
ece29840
ST
38947 (__sched_param): New structure, identical to sched_param.
38948 (__need_schedparam): Undefine.
38949
e53a31fe
MF
389502010-08-31 Mike Frysinger <vapier@gentoo.org>
38951
fdc0c10d
MF
38952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38953 (epoll_create1): Declare.
38954
e53a31fe
MF
38955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38956
a726d796
AS
389572010-08-31 Andreas Schwab <schwab@redhat.com>
38958
38959 [BZ #7066]
38960 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38961 shifting retval into place.
38962
2f3e3dc7
UD
389632010-09-01 Ulrich Drepper <drepper@redhat.com>
38964
f2933da9
UD
38965 * nis/rpcsvc/nis.h: Update copyright notice.
38966 * nis/rpcsvc/nis.x: Likewise.
38967 * nis/rpcsvc/nis_callback.h: Likewise.
38968 * nis/rpcsvc/nis_callback.x: Likewise.
38969 * nis/rpcsvc/nis_object.x: Likewise.
38970 * nis/rpcsvc/nis_tags.h: Likewise.
38971 * nis/rpcsvc/yp.h: Likewise.
38972 * nis/rpcsvc/yp.x: Likewise.
38973 * nis/rpcsvc/ypupd.h: Likewise.
38974 * nis/yp_xdr.c: Likewise.
38975 * nis/ypupdate_xdr.c: Likewise.
38976
2f3e3dc7
UD
38977 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38978 mainly the body of pmap_getport. Add parameters to specify timeouts.
38979 (pmap_getport): Use __libc_rpc_getport.
38980 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38981 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38982 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38983
f3dcc2f9
AS
389842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38985
38986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38987 fanotify_mark.
38988
6d34eb5b
RM
389892010-08-27 Roland McGrath <roland@redhat.com>
38990
38991 * sysdeps/i386/i686/multiarch/Makefile
38992 (CFLAGS-varshift.c): New variable.
38993
9ea3de11
UD
389942010-08-27 Ulrich Drepper <drepper@redhat.com>
38995
c96d23fc
UD
38996 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38997 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38998
9ea3de11
UD
38999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39000
39001 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39002
623aac7f
L
390032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39004
39005 * sysdeps/x86_64/strlen.S: Unroll the loop.
39006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39007 strlen-sse2 strlen-sse2-bsf.
39008 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39009 __strlen_no_bsf if bit_Slow_BSF is set.
39010 (__strlen_sse42): Removed.
39011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39012 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39013
8b2b7715
RM
390142010-08-25 Roland McGrath <roland@redhat.com>
39015
39016 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39017 * sysdeps/x86_64/multiarch/varshift.c: New file.
39018 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39019 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39020 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39022
e73015f2
L
390232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39024
39025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39026 strlen-sse2 strlen-sse2-bsf.
39027 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39028 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39029 (__strlen_sse2): Removed.
39030 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39031 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39033 bit_Slow_BSF for Atom.
39034 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39035 (index_Slow_BSF): Define.
39036 (HAS_SLOW_BSF): Define.
39037
df24a73e
UD
390382010-08-25 Ulrich Drepper <drepper@redhat.com>
39039
39040 [BZ #10851]
39041 * resolv/res_init.c (__res_vinit): When no server address at all
39042 is given default to loopback.
39043
f2ac4868
RM
390442010-08-24 Roland McGrath <roland@redhat.com>
39045
09055553
RM
39046 * configure.in: Remove config-name.h generation.
39047 * configure: Regenerated.
39048 * config-name.in: File removed.
39049 * scripts/config-uname.sh: New file.
39050 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39051 ($(objdir)config-name.h): New target.
39052
f2ac4868
RM
39053 * sunrpc/rpc_parse.h: Avoid nested comment.
39054
73f27d5e
RH
390552010-08-24 Richard Henderson <rth@redhat.com>
39056 Ulrich Drepper <drepper@redhat.com>
39057 H.J. Lu <hongjiu.lu@intel.com>
39058
39059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39061 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39062 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39063 _mm_alignr_epi8 with _mm_loadu_si128.
39064 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39065 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39066 (__m128i_shift_right): Removed.
39067 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39068 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39069 * sysdeps/x86_64/multiarch/varshift.h: New file.
39070 * sysdeps/x86_64/multiarch/varshift.S: New file.
39071
84b9230c
MF
390722010-08-21 Mike Frysinger <vapier@gentoo.org>
39073
39074 * configure.in: Move assembler checks to before sysdep dir checking.
39075
9bbd0ddc
PB
390762010-08-20 Petr Baudis <pasky@suse.cz>
39077
39078 * LICENSES: Sync the sunrpc license.
39079
9da4bb31
UD
390802010-08-19 Ulrich Drepper <drepper@redhat.com>
39081
a7ab6ec8
UD
39082 * sunrpc/auth_des.c: Update copyright notice once again.
39083 * sunrpc/auth_none.c: Likewise.
39084 * sunrpc/auth_unix.c: Likewise.
39085 * sunrpc/authdes_prot.c: Likewise.
39086 * sunrpc/authuxprot.c: Likewise.
39087 * sunrpc/bindrsvprt.c: Likewise.
39088 * sunrpc/clnt_gen.c: Likewise.
39089 * sunrpc/clnt_perr.c: Likewise.
39090 * sunrpc/clnt_raw.c: Likewise.
39091 * sunrpc/clnt_simp.c: Likewise.
39092 * sunrpc/clnt_tcp.c: Likewise.
39093 * sunrpc/clnt_udp.c: Likewise.
39094 * sunrpc/clnt_unix.c: Likewise.
39095 * sunrpc/des_crypt.c: Likewise.
39096 * sunrpc/des_soft.c: Likewise.
39097 * sunrpc/get_myaddr.c: Likewise.
39098 * sunrpc/getrpcport.c: Likewise.
39099 * sunrpc/key_call.c: Likewise.
39100 * sunrpc/key_prot.c: Likewise.
39101 * sunrpc/openchild.c: Likewise.
39102 * sunrpc/pm_getmaps.c: Likewise.
39103 * sunrpc/pm_getport.c: Likewise.
39104 * sunrpc/pmap_clnt.c: Likewise.
39105 * sunrpc/pmap_prot.c: Likewise.
39106 * sunrpc/pmap_prot2.c: Likewise.
39107 * sunrpc/pmap_rmt.c: Likewise.
39108 * sunrpc/rpc/auth.h: Likewise.
39109 * sunrpc/rpc/auth_unix.h: Likewise.
39110 * sunrpc/rpc/clnt.h: Likewise.
39111 * sunrpc/rpc/des_crypt.h: Likewise.
39112 * sunrpc/rpc/key_prot.h: Likewise.
39113 * sunrpc/rpc/netdb.h: Likewise.
39114 * sunrpc/rpc/pmap_clnt.h: Likewise.
39115 * sunrpc/rpc/pmap_prot.h: Likewise.
39116 * sunrpc/rpc/pmap_rmt.h: Likewise.
39117 * sunrpc/rpc/rpc.h: Likewise.
39118 * sunrpc/rpc/rpc_des.h: Likewise.
39119 * sunrpc/rpc/rpc_msg.h: Likewise.
39120 * sunrpc/rpc/svc.h: Likewise.
39121 * sunrpc/rpc/svc_auth.h: Likewise.
39122 * sunrpc/rpc/types.h: Likewise.
39123 * sunrpc/rpc/xdr.h: Likewise.
39124 * sunrpc/rpc_clntout.c: Likewise.
39125 * sunrpc/rpc_cmsg.c: Likewise.
39126 * sunrpc/rpc_common.c: Likewise.
39127 * sunrpc/rpc_cout.c: Likewise.
39128 * sunrpc/rpc_dtable.c: Likewise.
39129 * sunrpc/rpc_hout.c: Likewise.
39130 * sunrpc/rpc_main.c: Likewise.
39131 * sunrpc/rpc_parse.c: Likewise.
39132 * sunrpc/rpc_parse.h: Likewise.
39133 * sunrpc/rpc_prot.c: Likewise.
39134 * sunrpc/rpc_sample.c: Likewise.
39135 * sunrpc/rpc_scan.c: Likewise.
39136 * sunrpc/rpc_scan.h: Likewise.
39137 * sunrpc/rpc_svcout.c: Likewise.
39138 * sunrpc/rpc_tblout.c: Likewise.
39139 * sunrpc/rpc_util.c: Likewise.
39140 * sunrpc/rpc_util.h: Likewise.
39141 * sunrpc/rpcinfo.c: Likewise.
39142 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39143 * sunrpc/rpcsvc/key_prot.x: Likewise.
39144 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39145 * sunrpc/rpcsvc/mount.x: Likewise.
39146 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39147 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39148 * sunrpc/rpcsvc/rex.x: Likewise.
39149 * sunrpc/rpcsvc/rstat.x: Likewise.
39150 * sunrpc/rpcsvc/rusers.x: Likewise.
39151 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39152 * sunrpc/rpcsvc/spray.x: Likewise.
39153 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39154 * sunrpc/rtime.c: Likewise.
39155 * sunrpc/svc.c: Likewise.
39156 * sunrpc/svc_auth.c: Likewise.
39157 * sunrpc/svc_authux.c: Likewise.
39158 * sunrpc/svc_raw.c: Likewise.
39159 * sunrpc/svc_run.c: Likewise.
39160 * sunrpc/svc_simple.c: Likewise.
39161 * sunrpc/svc_tcp.c: Likewise.
39162 * sunrpc/svc_udp.c: Likewise.
39163 * sunrpc/svc_unix.c: Likewise.
39164 * sunrpc/svcauth_des.c: Likewise.
39165 * sunrpc/xcrypt.c: Likewise.
39166 * sunrpc/xdr.c: Likewise.
39167 * sunrpc/xdr_array.c: Likewise.
39168 * sunrpc/xdr_float.c: Likewise.
39169 * sunrpc/xdr_mem.c: Likewise.
39170 * sunrpc/xdr_rec.c: Likewise.
39171 * sunrpc/xdr_ref.c: Likewise.
39172 * sunrpc/xdr_sizeof.c: Likewise.
39173 * sunrpc/xdr_stdio.c: Likewise.
39174
9da4bb31
UD
39175 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39176 handling.
39177
bdaa77bc
AS
391782010-08-19 Andreas Schwab <schwab@redhat.com>
39179
39180 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39181
fe2f79db
LM
391822010-08-19 Luis Machado <luisgpm@br.ibm.com>
39183
39184 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39185 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39186 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39187 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39188 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39189 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39190 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39191 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39192 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39193 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39194 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39195 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39196 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39197 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39198
b9b42ee0
AB
391992010-07-26 Anton Blanchard <anton@samba.org>
39200
39201 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39202 * malloc/arena.c (heap_trim): Likewise.
39203
1c06ba31
UD
392042010-08-16 Ulrich Drepper <drepper@redhat.com>
39205
39206 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39207 here. Not...
39208 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39209 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39210
f8392f40
L
392112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39212
39213 * sysdeps/i386/elf/Makefile: New file.
39214
3162f12e
AS
392152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39216
39217 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39218 from fanotify_init.
39219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39220 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39221
28c90b2c
UD
392222010-08-15 Ulrich Drepper <drepper@redhat.com>
39223
39224 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39225 of strncasecmp_l.
1feccb6c 39226 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39227
ca6bb004
UD
392282010-08-14 Ulrich Drepper <drepper@redhat.com>
39229
e9f82e0d
UD
39230 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39231 strncase_l-nonascii.
39232 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39233 Add strncase_l-ssse3.
39234 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39235 * sysdeps/x86_64/strcmp.S: Likewise.
39236 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39237 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39238 * sysdeps/x86_64/strncase.S: New file.
39239 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39240 * sysdeps/x86_64/strncase_l.S: New file.
39241 * string/Makefile (strop-tests): Add strncasecmp.
39242 * string/test-strncasecmp.c: New file.
39243
39244 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39245 warning.
39246
ca6bb004
UD
39247 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39248 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39249
052fa7b3
AS
392502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39251
39252 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39253
962dba78
UD
392542010-08-12 Ulrich Drepper <drepper@redhat.com>
39255
39256 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39257 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39258 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39259
bebff237
AM
392602010-05-01 Alan Modra <amodra@gmail.com>
39261
39262 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39263 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39264 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39265 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39266 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39267 tidying. Don't tail-call __sigjmp_save for static lib.
39268 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39269 save location.
39270 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39271 (CALL_MCOUNT): Add eh info, and nop after bl.
39272 (TAIL_CALL_SYSCALL_ERROR): New macro.
39273 (PSEUDO_RET): Use it.
39274 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39275 Correct save location of integer regs and cr.
39276 (_dl_profile_resolve): Correct cr save location. Delete nops
39277 after bl when SHARED. Reduce cfi size a little by better
39278 placement of cfi directives.
39279 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39280 make a stack frame. Instead use parm save area as a temp.
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39282 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39284 Don't make a stack frame for parent, use parm save area.
39285 Increase child stack frame to 112 bytes. Don't save unused reg,
39286 and adjust reg usage. Set up cfi on error recovery and
39287 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39289 (__makecontext): Add dummy nop after jump to exit.
39290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39291 Use correct parm save area and cr save, reduce stack frame.
39292 Correct cfi for possible PSEUDO_RET frame setup.
39293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39294 Branch to local label emitted by PSEUDO_RET rather than
39295 __syscall_error.
39296
02637374
AS
392972010-08-12 Andreas Schwab <schwab@redhat.com>
39298
39299 [BZ #11904]
39300 * locale/programs/locale.c (print_assignment): New function.
39301 (show_locale_vars): Use it.
39302
c3e2f19b
UD
393032010-08-11 Ulrich Drepper <drepper@redhat.com>
39304
3cdaa6ad
UD
39305 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39306 field.
39307 (struct statfs64): Likewise.
39308 (_STATFS_F_FLAGS): Define.
39309 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39311 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39312 (ST_VALID): Define locally.
39313 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39314 __statvfs_getflags, use the provided value.
39315 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39316 __ASSUME_STATFS_F_FLAGS.
39317
754f7da3
UD
39318 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39319
10b3bedc
UD
39320 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39321 Add sys/fanotify.h.
39322 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39323 fanotify_mask for GLIBC_2.13.
39324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39325 fanotify_init and fanotify_mark.
39326 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39327 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39328
c08fb0d7
UD
39329 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39330 Add prlimit.
39331 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39332 prlimit64 for GLIBC_2.13.
39333 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39334 prlimit64.
39335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39336 syscall.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39338 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39339 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39341 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39342 add prlimit alias.
39343 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39344
15bac72b
UD
39345 [BZ #11903]
39346 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39347 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39348
c3e2f19b
UD
39349 * nss/Makefile: Add rules to build and run tst-nss-test1.
39350 * shlib-versions: Add entry for libnss_test1.
39351 * nss/nss_test1.c: New file.
39352 * nss/tst-nss-test1.c: New file.
39353
39354 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39355 (__nss_configure_lookup): Set appropriate entry in
39356 __nss_configure_lookup to true.
39357 * nss/nsswitch.h: Define enum with indeces of databases in
39358 databases and __nss_database_custom arrays. Declare
39359 __nss_database_custom.
39360 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39361 to avoid using nscd when custom rules are installed.
39362 * nss/getXXbyYY_r.c: Likewise.
39363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39364
39365 * nss/nss_files/files-parse.c: Whitespace fixes.
39366
f15ce4d8
UD
393672010-08-09 Ulrich Drepper <drepper@redhat.com>
39368
39369 [BZ #11883]
39370 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39371 * posix/fnmatch_loop.c: Likewise.
39372
d22e4cc9
AK
393732010-07-17 Andi Kleen <ak@linux.intel.com>
39374
39375 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39376 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39377 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39378 * Versions.def [GLIBC_2.13]: Add.
39379
805bc17d
UD
393802010-08-06 Ulrich Drepper <drepper@redhat.com>
39381
39382 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39383 Also fail if tpwd after pwuid call is NULL.
39384
5a42321d
ST
393852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39386
39387 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39388 when converting to ms.
39389
fd3ebeda
ST
393902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39391
39392 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39393 EOPNOTSUPP errors with ENOTTY.
39394 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39395 EOPNOTSUPP errors with ENOTTY.
39396
73507d3a
UD
393972010-07-31 Ulrich Drepper <drepper@redhat.com>
39398
39399 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39400 Add strcasecmp_l-ssse3.
39401 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39402 strcasecmp.
39403 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39404 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39405 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39406
fe36dd02
UD
394072010-07-30 Ulrich Drepper <drepper@redhat.com>
39408
66f6765a
UD
39409 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39410
42e08a54
UD
39411 * string/Makefile (strop-tests): Add strcasecmp.
39412 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39413 strcasecmp_l-nonascii.
39414 (gen-as-const-headers): Add locale-defines.sym.
39415 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39416 * sysdeps/x86_64/strcasecmp.S: New file.
39417 * sysdeps/x86_64/strcasecmp_l.S: New file.
39418 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39419 * sysdeps/x86_64/locale-defines.sym: New file.
39420 * string/test-strcasecmp.c: New file.
39421
fe36dd02
UD
39422 * string/test-strcasestr.c: Test both ends of the range of characters.
39423 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39424
48cbc0d6
RM
394252010-07-29 Roland McGrath <roland@redhat.com>
39426
76e6d6bc 39427 [BZ #11856]
48cbc0d6
RM
39428 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39429
880113d9
UD
394302010-07-27 Ulrich Drepper <drepper@redhat.com>
39431
39432 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39433 for ld.so.
39434
deb9cabb
AS
394352010-07-27 Andreas Schwab <schwab@redhat.com>
39436
39437 * manual/memory.texi (Malloc Tunable Parameters): Document
39438 M_PERTURB.
39439
1c7570ff
RM
394402010-07-26 Roland McGrath <roland@redhat.com>
39441
39442 [BZ #11840]
39443 * configure.in (-fgnu89-inline check): Set and substitute
39444 gnu89_inline, not libc_cv_gnu89_inline.
39445 * configure: Regenerated.
39446 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39447
24fb0f88
UD
394482010-07-26 Ulrich Drepper <drepper@redhat.com>
39449
39450 * string/test-strnlen.c: New file.
39451 * string/Makefile (strop-tests): Add strnlen.
39452 * string/tester.c (test_strnlen): Add a few more test cases.
39453 * string/tst-strlen.c: Better error reporting.
39454
39455 * sysdeps/x86_64/strnlen.S: New file.
39456
8e96b93a
UD
394572010-07-24 Ulrich Drepper <drepper@redhat.com>
39458
39459 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39460 lower-latency instructions.
39461
dbc676d4
UD
394622010-07-23 Ulrich Drepper <drepper@redhat.com>
39463
39464 * string/test-strcasestr.c: New file.
39465 * string/test-strstr.c: New file.
39466 * string/Makefile (strop-tests): Add strstr and strcasestr.
39467 * string/str-two-way.h: Don't undefine MAX.
39468 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39469
f6a31e0e
AS
394702010-07-21 Andreas Schwab <schwab@redhat.com>
39471
39472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39473 strcasestr-nonascii.
39474 (CFLAGS-strcasestr-nonascii.c): Define.
39475 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39476 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39477 Remove unused attribute.
39478
5dbc3b6c
RM
394792010-07-20 Roland McGrath <roland@redhat.com>
39480
39481 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39482 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39483 ld.so.cache was broken. With it, there is no way to disable dsocaps
39484 like LD_HWCAP_MASK can disable hwcaps.
39485
23d101d8
EPM
394862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39487
39488 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39489
cc9f2e47
UD
394902010-07-16 Ulrich Drepper <drepper@redhat.com>
39491
39492 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39493 call in strcasestr.
39494 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39495 __strcasestr_sse42_nonascii.
39496 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39497 strcasestr-nonascii.c.
39498 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39499
77c1b069
LM
395002010-06-15 Luis Machado <luisgpm@br.ibm.com>
39501
39502 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39503 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39504 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39505 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39506
440566c3
UD
395072010-07-09 Ulrich Drepper <drepper@redhat.com>
39508
39509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39510 fcntl.
39511
5be9d05d
AS
395122010-07-06 Andreas Schwab <schwab@redhat.com>
39513
c30b7ee2 39514 [BZ #11577]
5be9d05d
AS
39515 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39516 dl_signal_cerror.
39517
8a492a67
UD
395182010-07-06 Ulrich Drepper <drepper@redhat.com>
39519
39520 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39521 _PC_PIPE_BUF using F_GETPIPE_SZ.
39522
713df3d5
RM
395232010-07-05 Roland McGrath <roland@redhat.com>
39524
39525 * manual/arith.texi (Rounding Functions): Fix rint description
39526 implicit in round description.
39527
702e8f14
UD
395282010-07-02 Ulrich Drepper <drepper@redhat.com>
39529
39530 * elf/Makefile: Fix linking for a few tests to make recent linker
39531 happy.
39532
52ed8be9
AS
395332010-06-30 Andreas Schwab <schwab@redhat.com>
39534
39535 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39536 $(common-objpfx)libc_nonshared.a.
39537
f47c9a11
LM
395382010-06-21 Luis Machado <luisgpm@br.ibm.com>
39539
39540 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39541 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39542 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39543 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39544 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39545 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39546 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39547 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39562 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39563 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39564 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39565 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39566 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39567 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39568 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39569 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39570 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39571 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39572 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39573 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39588
6fb8cbcb
L
395892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39590
39591 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39592 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39593 * string/memmove.c (memmove): Renamed to ...
39594 (MEMMOVE): ...this. Default to memmove.
39595 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39596 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39597 (END_CHK): Define.
39598 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39599 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39600 mempcpy-ssse3-back memmove-ssse3-back.
39601 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39602 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39603 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39604 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39605 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39606 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39607 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39608 * sysdeps/x86_64/multiarch/memmove.c: New file.
39609 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39610 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39611 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39612 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39613 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39614 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39615 Define.
39616 (index_Fast_Copy_Backward): Define.
39617 (HAS_ARCH_FEATURE): Define.
39618 (HAS_FAST_REP_STRING): Define.
39619 (HAS_FAST_COPY_BACKWARD): Define.
39620
4e733bac 396212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39622
39623 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39624 Restore proper fallback handling.
39625
63c4ed22
UD
396262010-06-19 Ulrich Drepper <drepper@redhat.com>
39627
ac2b484c
UD
39628 [BZ #11701]
39629 * posix/group_member.c (__group_member): Correct checking loop.
39630
63c4ed22
UD
39631 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39632 OOM in getpwuid_r correctly. Return error number when the caller
39633 should return, otherwise -1.
39634 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39635 call returning > 0 value.
39636 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39637
765ade4b
AS
396382010-06-07 Andreas Schwab <schwab@redhat.com>
39639
39640 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39641 libc_nonshared.a from targets in modules-names.
39642
80da2e09
KS
396432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39644
39645 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39646 requires it.
39647
158db122
LM
396482010-06-10 Luis Machado <luisgpm@br.ibm.com>
39649
39650 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39651 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39653 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39654
caa78cf8
AS
396552010-06-02 Andreas Schwab <schwab@redhat.com>
39656
39657 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39658
b2ef2c01
UD
396592010-06-14 Ulrich Drepper <drepper@redhat.com>
39660
39661 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39662 and F_GETPIPE_SZ.
39663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39668 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39669
fbd643b6
RM
396702010-06-14 Roland McGrath <roland@redhat.com>
39671
39672 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39673
f32f2869
JJ
396742010-06-07 Jakub Jelinek <jakub@redhat.com>
39675
39676 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39677 __REDIRECT followed by __THROW.
39678 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39679 * posix/getopt.h (getopt): Likewise.
39680
2a50c078
EPM
396812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39682
39683 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39684 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39685 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39686 in AT_FLAGS.
39687 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39688 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39689
eb5ad2eb
LM
396902010-05-28 Luis Machado <luisgpm@br.ibm.com>
39691
39692 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39693
3c88fe1e
L
396942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39695
39696 [BZ #11640]
39697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39698 Properly check family and model.
39699
d2f73151
TY
397002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39701
39702 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39703
ebd2e13d
LM
397042010-05-24 Luis Machado <luisgpm@br.ibm.com>
39705
39706 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39707
b32b8b45
UD
397082010-05-21 Ulrich Drepper <drepper@redhat.com>
39709
39710 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39711 symbol reference.
39712
9acbe24d
AS
397132010-05-19 Andreas Schwab <schwab@redhat.com>
39714
39715 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39716 symbol reference.
39717
f0ccf6ea
AS
397182010-05-21 Andreas Schwab <schwab@redhat.com>
39719
3d04ff3a
AS
39720 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39721 and internal_recvmmsg.
39722 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39723 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39724 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39725 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39726
f0ccf6ea
AS
39727 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39728 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39729 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39730
5b08ac57
AS
397312010-05-20 Andreas Schwab <schwab@redhat.com>
39732
39733 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39734
4828935d
LM
397352010-05-17 Luis Machado <luisgpm@br.ibm.com>
39736
39737 POWER7 optimizations.
39738 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39739 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39740
373d545e
UD
397412010-05-19 Ulrich Drepper <drepper@redhat.com>
39742
39743 * version.h: Update for 2.13 development version.
39744
21a2b1ae
AS
397452010-05-12 Andrew Stubbs <ams@codesourcery.com>
39746
39747 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39748 exceptions. Return 0.
39749
3f7dcb2b
RM
397502010-05-07 Roland McGrath <roland@redhat.com>
39751
39752 * elf/ldconfig.c (main): Add a const.
39753
5f24d53a 397542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 39755
a160f8d8
UD
39756 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39757 (args_options): Add no-idn option.
39758 (ahosts_keys_int): Add idn_flags to ai_flags.
39759 (parse_option): Handle 'i' option to clear idn_flags.
39760
5f24d53a
UD
39761 * malloc/malloc.c (_int_free): Possible race in the most recently
39762 added check. Only act on the data if no current modification
39763 happened.
265bb1ce
UD
39764
39765See ChangeLog.17 for earlier changes.