]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Relocate alpha from ports to libc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
68b7efaa
RH
12014-02-12 Richard Henderson <rth@redhat.com>
2
3 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5 * sysdeps/unix/sysv/linux/alpha: Move directory from
6 ports/sysdeps/unix/sysv/linux/alpha.
7 * README: Update listing for alpha-*-linux-gnu.
8
cb4a2928
JM
92014-02-11 Joseph Myers <joseph@codesourcery.com>
10
c941736c
JM
11 * include/features.h: Update comment documenting feature test
12 macros.
13 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
14 _DEFAULT_SOURCE.
15 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16 (_SVID_SOURCE): Likewise.
17 (_DEFAULT_SOURCE): Update description of default features.
18 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19 with _GNU_SOURCE.
20 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21 (S_ISVTX): Likewise.
22 * manual/math.texi (Mathematical Constants): Likewise.
23 * manual/signal.texi (Interrupted Primitives): Likewise.
24 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27 Don't refer to _SVID_SOURCE in warning text.
28
e8d8d7ec
JM
29 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30
cb4a2928
JM
31 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32 already defined.
33 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34 * sysdeps/mips/dl-lookup.c: Remove.
35 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36
7e6424e3
AK
372014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38
39 [BZ #16447]
40 * math/auto-libm-test-in: Add testcase for expl.
41 * math/auto-libm-test-out: Regenerate.
42 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43 calculation of unsafe.
44 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45
75eff3fe
MS
462014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
47
48 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49 * sysdeps/unix/sysv/linux/aarch64: Move directory from
50 ports/sysdeps/unix/sysv/linux/aarch64.
51 * README: Update listing for aarch64*-*-linux-gnu.
52
d35f1e80
WN
532014-02-11 Will Newton <will.newton@linaro.org>
54
55 * manual/probes.texi (Mathematical Function Probes): Use
56 "triggered" instead of "hit".
57
7b3436d4
WN
582014-02-11 Will Newton <will.newton@linaro.org>
59
60 * manual/probes.texi (Internal Probes): Add documentation
61 of setjmp, longjmp and longjmp_target probes.
62
b4f12ca3
WN
632014-02-11 Will Newton <will.newton@linaro.org>
64
65 * include/stap-probe.h: Add comment about probe argument
66 format.
67
c13a72b7
WN
682014-02-11 Will Newton <will.newton@linaro.org>
69
70 * malloc/mtrace.c (attribute_hidden): Remove unused macro
71 definition. (tr_where, tr_freehook, tr_mallochook,
72 tr_reallochook, tr_memalignhook): Use ANSI protoype.
73
195b8165
DM
742014-02-11 David S. Miller <davem@davemloft.net>
75
76 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
77 processing int_tests.
78
2ad7600b
JM
792014-02-10 Joseph Myers <joseph@codesourcery.com>
80
81 * sysdeps/mips: Move directory from ports/sysdeps/mips.
82 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
83 * sysdeps/unix/sysv/linux/mips: Move directory from
84 ports/sysdeps/unix/sysv/linux/mips.
85 * README: Update listing for mips-*-linux-gnu and
86 mips64-*-linux-gnu.
87
73588a72
AS
882014-02-10 Andreas Schwab <schwab@linux-m68k.org>
89
90 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
91 * sysdeps/unix/sysv/linux/m68k: Move directory from
92 ports/sysdeps/unix/sysv/linux/m68k.
93 * README: Update listing for m68k-*-linux-gnu.
94
4372980f
CM
952014-02-10 Chris Metcalf <cmetcalf@tilera.com>
96
97 * sysdeps/tile: Move directory from ports/sysdeps/tile.
98 * sysdeps/unix/sysv/linux/generic: Move directory from
99 ports/sysdeps/unix/sysv/linux/generic.
100 * sysdeps/unix/sysv/linux/tile: Move directory from
101 ports/sysdeps/unix/sysv/linux/tile.
102 * README: Update listing for tile*-*-linux-gnu.
103
a1ffb40e
OB
1042014-02-10 Ondřej Bílka <neleai@seznam.cz>
105
106 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
107 * benchtests/bench-memmem.c (simple_memmem): Likewise.
108 * catgets/open_catalog.c (__open_catalog): Likewise.
109 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
110 * debug/confstr_chk.c: Likewise.
111 * debug/fread_chk.c (__fread_chk): Likewise.
112 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
113 * debug/getgroups_chk.c: Likewise.
114 * debug/mbsnrtowcs_chk.c: Likewise.
115 * debug/mbsrtowcs_chk.c: Likewise.
116 * debug/mbstowcs_chk.c: Likewise.
117 * debug/memcpy_chk.c: Likewise.
118 * debug/memmove_chk.c: Likewise.
119 * debug/mempcpy_chk.c: Likewise.
120 * debug/memset_chk.c: Likewise.
121 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
122 * debug/strcat_chk.c (__strcat_chk): Likewise.
123 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
124 * debug/strncat_chk.c (__strncat_chk): Likewise.
125 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
126 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
127 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
128 * debug/wcpncpy_chk.c: Likewise.
129 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
130 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
131 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
132 * debug/wcsncpy_chk.c: Likewise.
133 * debug/wcsnrtombs_chk.c: Likewise.
134 * debug/wcsrtombs_chk.c: Likewise.
135 * debug/wcstombs_chk.c: Likewise.
136 * debug/wmemcpy_chk.c: Likewise.
137 * debug/wmemmove_chk.c: Likewise.
138 * debug/wmempcpy_chk.c: Likewise.
139 * debug/wmemset_chk.c: Likewise.
140 * dirent/scandirat.c (SCANDIRAT): Likewise.
141 * dlfcn/dladdr1.c (dladdr1): Likewise.
142 * dlfcn/dladdr.c (dladdr): Likewise.
143 * dlfcn/dlclose.c (dlclose_doit): Likewise.
144 * dlfcn/dlerror.c (__dlerror): Likewise.
145 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
146 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
147 * dlfcn/dlopen.c (dlopen_doit): Likewise.
148 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
149 * dlfcn/dlsym.c (dlsym_doit): Likewise.
150 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
151 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
152 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
153 Likewise.
154 * elf/dl-conflict.c: Likewise.
155 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
156 * elf/dl-dst.h: Likewise.
157 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
158 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
159 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
160 * elf/dl-init.c (call_init, _dl_init): Likewise.
161 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
162 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
163 _dl_map_object_from_fd, open_verify, open_path,
164 _dl_map_object): Likewise.
165 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
166 Likewise.
167 * elf/dl-minimal.c (__libc_memalign): Likewise.
168 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
169 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
170 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
171 * elf/dl-sym.c (do_sym): Likewise.
172 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
173 _dl_tls_get_addr_soft): Likewise.
174 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
175 * elf/dl-writev.h (_dl_writev): Likewise.
176 * elf/ldconfig.c (search_dir): Likewise.
177 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
178 dl_main): Likewise.
179 * elf/setup-vdso.h (setup_vdso): Likewise.
180 * grp/compat-initgroups.c (compat_call): Likewise.
181 * grp/fgetgrent.c (fgetgrent): Likewise.
182 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
183 * grp/putgrent.c (putgrent): Likewise.
184 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
185 Likewise.
186 * hurd/hurdinit.c: Likewise.
187 * iconvdata/8bit-gap.c (struct): Likewise.
188 * iconvdata/ansi_x3.110.c : Likewise.
189 * iconvdata/big5.c : Likewise.
190 * iconvdata/big5hkscs.c : Likewise.
191 * iconvdata/cp1255.c: Likewise.
192 * iconvdata/cp1258.c : Likewise.
193 * iconvdata/cp932.c : Likewise.
194 * iconvdata/euc-cn.c: Likewise.
195 * iconvdata/euc-jisx0213.c : Likewise.
196 * iconvdata/euc-jp.c: Likewise.
197 * iconvdata/euc-jp-ms.c : Likewise.
198 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
199 * iconvdata/gb18030.c : Likewise.
200 * iconvdata/gbbig5.c (const): Likewise.
201 * iconvdata/gbgbk.c: Likewise.
202 * iconvdata/gbk.c : Likewise.
203 * iconvdata/ibm1364.c : Likewise.
204 * iconvdata/ibm930.c : Likewise.
205 * iconvdata/ibm932.c: Likewise.
206 * iconvdata/ibm933.c : Likewise.
207 * iconvdata/ibm935.c : Likewise.
208 * iconvdata/ibm937.c : Likewise.
209 * iconvdata/ibm939.c : Likewise.
210 * iconvdata/ibm943.c: Likewise.
211 * iconvdata/iso_11548-1.c: Likewise.
212 * iconvdata/iso-2022-cn.c : Likewise.
213 * iconvdata/iso-2022-cn-ext.c : Likewise.
214 * iconvdata/iso-2022-jp-3.c: Likewise.
215 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
216 * iconvdata/iso-2022-kr.c : Likewise.
217 * iconvdata/iso646.c (gconv_end): Likewise.
218 * iconvdata/iso_6937-2.c : Likewise.
219 * iconvdata/iso_6937.c : Likewise.
220 * iconvdata/iso8859-1.c: Likewise.
221 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
222 * iconvdata/shift_jisx0213.c : Likewise.
223 * iconvdata/sjis.c : Likewise.
224 * iconvdata/t.61.c : Likewise.
225 * iconvdata/tcvn5712-1.c : Likewise.
226 * iconvdata/tscii.c: Likewise.
227 * iconvdata/uhc.c : Likewise.
228 * iconvdata/unicode.c (gconv_end): Likewise.
229 * iconvdata/utf-16.c (gconv_end): Likewise.
230 * iconvdata/utf-32.c (gconv_end): Likewise.
231 * iconvdata/utf-7.c (base64): Likewise.
232 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
233 * iconv/gconv_close.c (__gconv_close): Likewise.
234 * iconv/gconv_open.c (__gconv_open): Likewise.
235 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
236 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
237 internal_ucs4le_loop_single, ucs4le_internal_loop,
238 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
239 * iconv/iconv.c (iconv): Likewise.
240 * iconv/iconv_close.c: Likewise.
241 * iconv/loop.c (SINGLE): Likewise.
242 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
243 * include/atomic.h: Likewise.
244 * inet/inet6_option.c (option_alloc): Likewise.
245 * intl/bindtextdom.c (set_binding_values): Likewise.
246 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
247 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
248 * intl/localealias.c (read_alias_file): Likewise.
249 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
250 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
251 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
252 * libio/fmemopen.c (fmemopen): Likewise.
253 * libio/iofgets.c (_IO_fgets): Likewise.
254 * libio/iofgets_u.c (fgets_unlocked): Likewise.
255 * libio/iofgetws.c (fgetws): Likewise.
256 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
257 * libio/iogetdelim.c (_IO_getdelim): Likewise.
258 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
259 adjust_wide_data, _IO_wfile_seekoff): Likewise.
260 * locale/findlocale.c (_nl_find_locale): Likewise.
261 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
262 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
263 Likewise.
264 * locale/setlocale.c (setlocale): Likewise.
265 * login/programs/pt_chown.c (main): Likewise.
266 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
267 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
268 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
269 mmap, mmap64, mremap, munmap): Likewise.
270 * math/e_exp2l.c: Likewise.
271 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
272 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
273 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
274 * math/s_catan.c (__catan): Likewise.
275 * math/s_catanf.c (__catanf): Likewise.
276 * math/s_catanh.c (__catanh): Likewise.
277 * math/s_catanhf.c (__catanhf): Likewise.
278 * math/s_catanhl.c (__catanhl): Likewise.
279 * math/s_catanl.c (__catanl): Likewise.
280 * math/s_ccosh.c (__ccosh): Likewise.
281 * math/s_ccoshf.c (__ccoshf): Likewise.
282 * math/s_ccoshl.c (__ccoshl): Likewise.
283 * math/s_cexp.c (__cexp): Likewise.
284 * math/s_cexpf.c (__cexpf): Likewise.
285 * math/s_cexpl.c (__cexpl): Likewise.
286 * math/s_clog10.c (__clog10): Likewise.
287 * math/s_clog10f.c (__clog10f): Likewise.
288 * math/s_clog10l.c (__clog10l): Likewise.
289 * math/s_clog.c (__clog): Likewise.
290 * math/s_clogf.c (__clogf): Likewise.
291 * math/s_clogl.c (__clogl): Likewise.
292 * math/s_csin.c (__csin): Likewise.
293 * math/s_csinf.c (__csinf): Likewise.
294 * math/s_csinh.c (__csinh): Likewise.
295 * math/s_csinhf.c (__csinhf): Likewise.
296 * math/s_csinhl.c (__csinhl): Likewise.
297 * math/s_csinl.c (__csinl): Likewise.
298 * math/s_csqrt.c (__csqrt): Likewise.
299 * math/s_csqrtf.c (__csqrtf): Likewise.
300 * math/s_csqrtl.c (__csqrtl): Likewise.
301 * math/s_ctan.c (__ctan): Likewise.
302 * math/s_ctanf.c (__ctanf): Likewise.
303 * math/s_ctanh.c (__ctanh): Likewise.
304 * math/s_ctanhf.c (__ctanhf): Likewise.
305 * math/s_ctanhl.c (__ctanhl): Likewise.
306 * math/s_ctanl.c (__ctanl): Likewise.
307 * math/w_pow.c: Likewise.
308 * math/w_powf.c: Likewise.
309 * math/w_powl.c: Likewise.
310 * math/w_scalb.c (sysv_scalb): Likewise.
311 * math/w_scalbf.c (sysv_scalbf): Likewise.
312 * math/w_scalbl.c (sysv_scalbl): Likewise.
313 * misc/error.c (error_tail): Likewise.
314 * misc/pselect.c (__pselect): Likewise.
315 * nis/nis_callback.c (__nis_create_callback): Likewise.
316 * nis/nis_call.c (__nisfind_server): Likewise.
317 * nis/nis_creategroup.c (nis_creategroup): Likewise.
318 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
319 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
320 * nis/nis_getservlist.c (nis_getservlist): Likewise.
321 * nis/nis_lookup.c (nis_lookup): Likewise.
322 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
323 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
324 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
325 * nis/nis_xdr.c (xdr_endpoint): Likewise.
326 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
327 internal_getgrgid_r): Likewise.
328 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
329 Likewise.
330 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
331 internal_getpwuid_r): Likewise.
332 * nis/nss_compat/compat-spwd.c (getspent_next_file,
333 internal_getspnam_r): Likewise.
334 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
335 _nss_nis_getaliasbyname_r): Likewise.
336 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
337 _nss_nis_getntohost_r): Likewise.
338 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
339 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
340 Likewise.
341 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
342 internal_nis_gethostent_r, internal_gethostbyname2_r,
343 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
344 _nss_nis_gethostbyname4_r): Likewise.
345 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
346 initgroups_netid): Likewise.
347 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
348 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
349 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
350 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
351 _nss_nis_getprotobynumber_r): Likewise.
352 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
353 _nss_nis_getsecretkey): Likewise.
354 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
355 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
356 Likewise.
357 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
358 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
359 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
360 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
361 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
362 _nss_nis_getspnam_r): Likewise.
363 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
364 Likewise.
365 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
366 _nss_nisplus_getntohost_r): Likewise.
367 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
368 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
369 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
370 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
371 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
372 Likewise.
373 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
374 _nss_nisplus_getnetbyaddr_r): Likewise.
375 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
376 _nss_nisplus_getprotobynumber_r): Likewise.
377 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
378 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
379 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
380 Likewise.
381 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
382 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
383 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
384 _nss_nisplus_getspnam_r): Likewise.
385 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
386 * nscd/aicache.c (addhstaiX): Likewise.
387 * nscd/cache.c (cache_search, prune_cache): Likewise.
388 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
389 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
390 * nscd/grpcache.c (addgrbyX): Likewise.
391 * nscd/hstcache.c (addhstbyX): Likewise.
392 * nscd/initgrcache.c (addinitgroupsX): Likewise.
393 * nscd/mem.c (gc, mempool_alloc): Likewise.
394 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
395 Likewise.
396 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
397 Likewise.
398 * nscd/nscd_getai.c (__nscd_getai): Likewise.
399 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
400 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
401 Likewise.
402 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
404 * nscd/nscd_helper.c (__readvall, open_socket,
405 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
406 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
407 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
408 * nscd/pwdcache.c (addpwbyX): Likewise.
409 * nscd/selinux.c (preserve_capabilities): Likewise.
410 * nscd/servicescache.c (addservbyX): Likewise.
411 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
412 * posix/fnmatch.c (fnmatch): Likewise.
413 * posix/getopt.c (_getopt_internal_r): Likewise.
414 * posix/glob.c (glob, glob_in_dir): Likewise.
415 * posix/wordexp.c (exec_comm_child): Likewise.
416 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
417 gaih_getanswer_slice): Likewise.
418 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
419 * resolv/res_init.c: Likewise.
420 * resolv/res_mkquery.c (res_nmkquery): Likewise.
421 * resolv/res_query.c (__libc_res_nquery): Likewise.
422 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
423 Likewise.
424 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
425 * stdio-common/perror.c (perror): Likewise.
426 * stdio-common/printf_fp.c (___printf_fp): Likewise.
427 * stdio-common/tmpnam.c (tmpnam): Likewise.
428 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
429 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
430 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
431 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
432 * stdlib/putenv.c (putenv): Likewise.
433 * stdlib/setenv.c (__add_to_environ): Likewise.
434 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
435 * stdlib/strtol_l.c (INTERNAL): Likewise.
436 * string/memmem.c (memmem): Likewise.
437 * string/strerror.c (strerror): Likewise.
438 * string/strnlen.c (__strnlen): Likewise.
439 * string/test-memmem.c (simple_memmem): Likewise.
440 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
441 * sunrpc/pm_getport.c (__get_socket): Likewise.
442 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
443 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
444 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
445 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
446 Likewise.
447 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
448 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
449 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
450 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
451 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
452 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
453 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
454 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
455 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
457 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
458 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
460 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
461 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
462 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
463 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
465 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
466 Likewise.
467 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
468 Likewise.
469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
470 Likewise.
471 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
474 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
475 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
476 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
477 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
480 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
481 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
482 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
483 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
484 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
486 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
487 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
488 Likewise.
489 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
490 Likewise.
491 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
492 Likewise.
493 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
494 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
495 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
496 Likewise.
497 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
498 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
499 * sysdeps/posix/opendir.c (__opendirat): Likewise.
500 * sysdeps/posix/sleep.c: Likewise.
501 * sysdeps/posix/tempname.c: Likewise.
502 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
503 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
504 Likewise.
505 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
506 elf_machine_rela): Likewise.
507 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
508 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
509 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
510 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
511 Likewise.
512 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
513 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
514 elf_machine_rela, elf_machine_lazy_rel): Likewise.
515 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
516 elf_machine_rela, elf_machine_lazy_rel): Likewise.
517 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
518 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
519 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
520 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
521 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
522 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
523 elf_machine_lazy_rel): Likewise.
524 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
526 elf_machine_lazy_rel): Likewise.
527 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
528 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
529 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
530 * sysdeps/unix/grantpt.c (grantpt): Likewise.
531 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
532 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
533 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
535 Likewise.
536 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
537 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
538 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
539 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
540 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
541 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
542 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
543 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
544 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
545 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
546 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
547 Likewise.
548 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
549 (__posix_fallocate64_l64): Likewise.
550 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
551 (posix_fallocate): Likewise.
552 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
553 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
554 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
555 getifaddrs_internal): Likewise.
556 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
557 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
558 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
559 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
560 * sysdeps/unix/sysv/linux/posix_fallocate64.c
561 (__posix_fallocate64_l64): Likewise.
562 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
563 Likewise.
564 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
565 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
566 Likewise.
567 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
568 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
569 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
570 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
571 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
572 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
573 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
574 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
575 Likewise.
576 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
577 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
578 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
579 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
580 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
581 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
582 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
583 Likewise.
584 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
585 (posix_fallocate): Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
587 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
588 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
589 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
590 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
591 Likewise.
592 * time/asctime.c (asctime_internal): Likewise.
593 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
594 * time/tzset.c (__tzset_parse_tz): Likewise.
595 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
596 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
597 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
598 * wcsmbs/wcsmbsload.h: Likewise.
599
f3d338c9
OB
6002014-02-10 Ondřej Bílka <neleai@seznam.cz>
601
602 [BZ #15894]
603 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
604
bdfe308a
OB
6052014-02-10 Ondřej Bílka <neleai@seznam.cz>
606
607 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
608 arena_get2): Remove THREAD_STATS conditionals.
609 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
610 __malloc_stats, int): Likewise.
611
d674667c
MF
6122014-02-08 Mike Frysinger <vapier@gentoo.org>
613
614 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
615 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
616
6349768c
MF
6172014-02-08 Mike Frysinger <vapier@gentoo.org>
618
619 * manual/setjmp.texi: Fix typos/grammar errors.
620
0b7c7473
MF
6212014-02-08 Mike Frysinger <vapier@gentoo.org>
622
623 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
624 Only return early when n is <= 0. Delete unused return statement.
625
ac8cc9e3
MF
6262014-02-08 Mike Frysinger <vapier@gentoo.org>
627
628 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
629 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
630 * debug/tst-longjmp_chk3.c: New file.
631
c5bb8e23
MF
6322014-02-08 Mike Frysinger <vapier@gentoo.org>
633
634 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
635 (test_main): Replace code with set_fortify_handler call.
636 * debug/test-strcpy_chk.c: Likewise.
637 * debug/tst-chk1.c: Likewise.
638 * debug/tst-longjmp_chk.c: Likewise.
639 * test-skeleton.c: Include fcntl.h & paths.h
640 (set_fortify_handler): Define.
641
10444e42
MF
6422014-02-08 Mike Frysinger <vapier@gentoo.org>
643
644 * debug/tst-longjmp_chk.c: Add header comment and include
645 ../test-skeleton.c.
646 (do_test): Mark static.
647 (TEST_FUNCTION): Define.
648
1e805e8d
MF
6492014-02-08 Mike Frysinger <vapier@gentoo.org>
650
651 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
652 (IP_PMTUDISC_INTERFACE): Likewise.
653 (IP_MULTICAST_IF): Likewise.
654 (IP_MULTICAST_TTL): Likewise.
655 (IP_MULTICAST_LOOP): Likewise.
656 (IP_ADD_MEMBERSHIP): Likewise.
657 (IP_DROP_MEMBERSHIP): Likewise.
658 (IP_UNBLOCK_SOURCE): Likewise.
659 (IP_BLOCK_SOURCE): Likewise.
660 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
661 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
662 (IP_MSFILTER): Likewise.
663 (MCAST_JOIN_GROUP): Likewise.
664 (MCAST_BLOCK_SOURCE): Likewise.
665 (MCAST_UNBLOCK_SOURCE): Likewise.
666 (MCAST_LEAVE_GROUP): Likewise.
667 (MCAST_JOIN_SOURCE_GROUP): Likewise.
668 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
669 (MCAST_MSFILTER): Likewise.
670 (IP_MULTICAST_ALL): Likewise.
671 (IP_UNICAST_IF): Likewise.
672
73f79bb7
MF
6732014-02-08 Mike Frysinger <vapier@gentoo.org>
674
675 * timezone/Makefile: Delete $(have-ksh) check.
676 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
677 * timezone/tzselect.ksh: Add +x mode bits.
678
8da79b60
MF
6792014-02-08 Mike Frysinger <vapier@gentoo.org>
680
681 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
682 (ANON_INODE_FS_MAGIC): Likewise.
683 (BDEVFS_MAGIC): Likewise.
684 (BINFMTFS_MAGIC): Likewise.
685 (BTRFS_TEST_MAGIC): Likewise.
686 (CRAMFS_MAGIC_WEND): Likewise.
687 (DEBUGFS_MAGIC): Likewise.
688 (ECRYPTFS_SUPER_MAGIC): Likewise.
689 (EXT3_SUPER_MAGIC): Likewise.
690 (EXT4_SUPER_MAGIC): Likewise.
691 (FUTEXFS_SUPER_MAGIC): Likewise.
692 (HOSTFS_SUPER_MAGIC): Likewise.
693 (HUGETLBFS_MAGIC): Likewise.
694 (MINIX3_SUPER_MAGIC): Likewise.
695 (MTD_INODE_FS_MAGIC): Likewise.
696 (NILFS_SUPER_MAGIC): Likewise.
697 (OPENPROM_SUPER_MAGIC): Likewise.
698 (PIPEFS_MAGIC): Likewise.
699 (PSTOREFS_MAGIC): Likewise.
700 (QNX6_SUPER_MAGIC): Likewise.
701 (RAMFS_MAGIC): Likewise.
702 (REISERFS_SUPER_MAGIC_STRING): Likewise.
703 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
704 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
705 (SECURITYFS_MAGIC): Likewise.
706 (SELINUX_MAGIC): Likewise.
707 (SMACK_MAGIC): Likewise.
708 (SOCKFS_MAGIC): Likewise.
709 (SQUASHFS_MAGIC): Likewise.
710 (STACK_END_MAGIC): Likewise.
711 (TMPFS_MAGIC): Likewise.
712 (USBDEVICE_SUPER_MAGIC): Likewise.
713 (V9FS_MAGIC): Likewise.
714 (XENFS_SUPER_MAGIC): Likewise.
715 (CRAMFS_MAGIC): Fix typo in comment.
716 (EXT2_SUPER_MAGIC): Update comment.
717 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
718
464263cc
JM
7192014-02-08 Joseph Myers <joseph@codesourcery.com>
720
c6bfe5c4
JM
721 * sysdeps/arm: Move directory from ports/sysdeps/arm.
722 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
723 * sysdeps/unix/sysv/linux/arm: Move directory from
724 ports/sysdeps/unix/sysv/linux/arm.
725 * README: Update listing for arm-*-linux-gnueabi.
726
464263cc
JM
727 * README: Remove mention of am33.
728
32749f6c
RM
7292014-02-07 Roland McGrath <roland@hack.frob.com>
730
731 * bits/sigset.h (__sigemptyset): Use a statement expression rather
732 than the comma operator, to avoid "rhs of comma has no effect"
733 compiler warnings.
734 (__sigfillset, __sigandset, __sigorset): Likewise.
735 * include/signal.h (__sigemptyset): Likewise.
736 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
737
d5b396c1
AM
7382014-02-07 Allan McRae <allan@archlinux.org>
739
740 * version.h (RELEASE): Set to "development".
741 (VERSION): Set to "2.19.90"
742 * NEWS: Add 2.20 section.
743
3bfff2ed
CD
7442014-02-06 Carlos O'Donell <carlos@redhat.com>
745
746 [BZ #16529]
747 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
748
ee7cc385
SP
7492014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
750
751 * manual/contrib.texi: Update entry for Carlos O'Donell,
752 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
753
f877c4f2
CD
7542014-02-05 Carlos O'Donell <carlos@rehdat.com>
755
27e839f6
CD
756 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
757
f877c4f2
CD
758 * sysdeps/unix/sysv/linux/kernel-features.h
759 [__LINUX_KERNEL_VERSION >= 0x020621]
760 (__ASSUME_PROC_PID_TASK_COMM): Define.
761
68159946
SP
7622014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
763
764 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
765 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
766 Leonard and Allan McRae.
767
2b528732
DM
7682014-02-04 David S. Miller <davem@davemloft.net>
769
770 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
771 32-bit.
772
0ff82463
AZ
7732014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
774
c01603f7
AZ
775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
776 file
777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
778 New file
779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
780 file.
781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
782 file.
783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
784 New file.
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
786 file.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
788 file.
789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
790 New file.
791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
792 New file.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
794 New file.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
796 New file.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
798 New file.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
800 New file.
801
8022014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803
0ff82463
AZ
804 * nptl/shlib-versions: Change powerpc*le start to 2.17.
805 * shlib-versions: Likewise.
806
1695c773
AZ
8072014-02-04 Roland McGrath <roland@hack.frob.com>
808 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
809
810 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
811 (abilist-pattern): New variable, set to %-le.abilist.
812
813 * Makerules (abilist-pattern): New variable.
814 (vpath): Use $(abilist-pattern) in place of %.abilist.
815 (check-abi-% pattern rule): Likewise.
816 (check-abi, update-abi): Likewise.
817
6c0ce4b4
EW
8182014-02-04 Eric Wong <normalperson@yhbt.net>
819
820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
821
dc98b8f5
EW
8222014-02-04 Eric Wong <normalperson@yhbt.net>
823
824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
825
481e3524
CD
8262014-02-03 Carlos O'Donell <carlos@redhat.com>
827
828 * manual/startup.texi: Add next, previous, and top entries for
829 the `Program Arguments' and `Environment Variables' nodes.
830
375592d3
AO
8312014-02-03 Alexandre Oliva <aoliva@redhat.com>
832
833 * manual/macros.texi: Add comments before MTASC-safety macros.
834
f54838ba
AO
835 * manual/users.texi: Document MTASC-safety properties.
836
909e12ad
AO
837 * manual/threads.texi (pthread_key_create, pthread_key_delete,
838 pthread_getspecific, pthread_setspecific): Format with
839 @deftypefun, and add @safety note.
840 * manual/signal.texi: Move comments that analyze the above
841 functions to their home place.
842
fd3daba4
AM
8432014-02-03 Allan McRae <allan@archlinux.org>
844
845 * po/sl.po: Update Slovenian translation from translation project.
846
597636d7
AO
8472014-02-02 Alexandre Oliva <aoliva@redhat.com>
848
849 * manual/time.texi (timegm): Add missing blank after @c.
850 Reported by Joseph Myers <joseph@codesourcery.com>.
851
ee196e3c
AO
8522014-02-01 Alexandre Oliva <aoliva@redhat.com>
853
854 * manual/check-safety.sh: New.
855 * manual/Makefile ($(objpfx)stamp-summary): Run it.
856
f8d529d5
AO
857 * manual/terminal.texi: Document MTASC-safety properties.
858
de55fdf4
AO
859 * manual/filesys.texi: Document MTASC-safety properties.
860
c3299c08
AO
861 * manual/errno.texi: Document MTASC-safety properties.
862
06e90b14
AO
863 * manual/intro.texi: Document safety identifiers and
864 conditionals.
865
1acd4371
AO
866 * manual/string.texi (wcstok): Fix prototype.
867 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
868
23e5b8cb
AO
869 * manual/time.texi: Document MTASC-safety properties.
870
11087373
AO
871 * manual/string.texi: Document MTASC-safety properties.
872
5da2c93d
AO
873 * manual/threads.texi: Document MTASC-safety properties.
874
171e9210
AO
875 * manual/stdio.texi: Document MTASC-safety properties.
876
d9e02532
AO
877 * manual/syslog.texi: Document MTASC-safety properties.
878
6af8bab7
AO
879 * manual/sysinfo.texi: Document MTASC-safety properties.
880
663b02d7
AO
881 * manual/startup.texi: Document MTASC-safety properties.
882
973f180b
AO
883 * manual/socket.texi: Document MTASC-safety properties.
884
8f3c25c8
AO
885 * manual/signal.texi: Document MTASC-safety properties.
886
542210fb
AO
8872014-01-31 Alexandre Oliva <aoliva@redhat.com>
888
889 * manual/setjmp.texi: Document MTASC-safety properties.
890
433c45a2
AO
891 * manual/search.texi: Document MTASC-safety properties.
892
c8ce789c
AO
893 * manual/resource.texi: Document MTASC-safety properties.
894
19f5d29c
AO
895 * manual/process.texi: Document MTASC-safety properties.
896
e2dfb7f4
AO
897 * manual/platform.texi: Document MTASC-safety properties.
898
8c1413f5
AO
899 * manual/pipe.texi: Document MTASC-safety properties.
900
03483ada
AO
901 * manual/pattern.texi: Document MTASC-safety properties.
902
29e7e2df
AO
903 * manual/message.texi: Document MTASC-safety properties.
904
9f529d7c
AO
905 [BZ #12751]
906 * manual/memory.texi: Document MTASC-safety properties.
907
27aaa791
AO
908 * manual/math.texi: Document MTASC-safety properties.
909
f2d58726
AO
910 * manual/locale.texi: Document MTASC-safety properties.
911
2cc3615c
AO
912 * manual/llio.texi: Document MTASC-safety properties.
913
d9f0ec97
AO
914 * manual/libdl.texi: New.
915
e7c4409a
AO
916 * manual/lang.texi: Document MTASC-safety properties.
917
27bdc63c
AO
918 * manual/job.texi: Document MTASC-safety properties.
919
a7b90ea9
AO
920 * manual/getopt.texi: Document MTASC-safety properties.
921
c49130e3
AO
922 * manual/ctype.texi: Document MTASC-safety properties.
923
0d23a5c1
MR
9242014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
925
926 [BZ #16046]
927 * csu/libc-tls.c (static_map): Remove variable.
928 (__libc_setup_tls): Use main executable's link map for TLS data.
929 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
930 casing for LM_ID_BASE and GL(dl_nns).
931 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
932 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
933 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
934 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
935 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
936 member.
937 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
938 l_phnum members.
939
0037bb60
AO
9402014-01-30 Alexandre Oliva <aoliva@redhat.com>
941
942 * manual/debug.texi: Document MTASC-safety properties.
943
409e00bd
L
9442014-01-29 H.J. Lu <hongjiu.lu@intel.com>
945
946 [BZ #16510]
947 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
948 of __x86_64__ when disabling x87 inline functions.
949
86e60666
AO
9502014-01-29 Alexandre Oliva <aoliva@redhat.com>
951
952 * manual/charset.texi: Document MTASC-safety properties.
953
76167637
AO
954 * manual/crypt.texi: Document MTASC-safety properties.
955
e567f2a0
AO
956 * manual/conf.texi: Document MTASC-safety properties.
957
b719dafd
AO
958 * manual/arith.texi: Document MTASC-safety properties.
959
4a16c662
AO
960 * manual/argp.texi: Document MTASC-safety properties.
961
0a57b83e
AO
962 * manual/macros.texi: Introduce macros to document multi
963 thread, asynchronous signal and asynchronous cancellation
964 safety properties.
965 * manual/intro.texi: Introduce the properties themselves.
966
feab2397
KK
9672014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
968
969 * sysdeps/sh/sh4/Makefile: New file.
970
1c0d11bc
AS
9712014-01-27 Andreas Schwab <schwab@linux-m68k.org>
972
973 * math/gen-libm-test.pl ($srcdir): New variable.
974 ($auto_input): Use it.
975
af37a8a3
SP
9762014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
977
d7b00f98
SP
978 [BZ #16506]
979 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
980 access beyond array bounds when parsing netgroups file.
981
af37a8a3
SP
982 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
983 the old buffer before realloc.
984
0c00f062
AM
9852014-01-27 Allan McRae <allan@archlinux.org>
986
987 * po/fr.po: Update French translation from translation project.
988
7d69a1b0
KK
9892014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
990
991 * sysdeps/sh/libm-test-ulps: Regenerate.
992
6e697ff7
DM
9932014-01-24 David S. Miller <davem@davemloft.net>
994
995 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
996
9cadb35c
KK
9972014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
998
999 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1000 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1001
5d41dadf
SP
10022013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1003
1004 [BZ #16474]
1005 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1006 string pointers after reallocation.
1007
0bad441c
KK
10082014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1009
1010 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1011 __SH4A__ instead of __SH_FPU_ANY__.
1012
7007c661
KK
10132014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1014
1015 * sysdeps/sh/fpu_control.h: New file.
1016 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1017 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1018 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1019 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1020 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1021 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1022 * sysdeps/sh/sys/ucontext.h: Remove.
1023 * sysdeps/sh/sys: Remove directory.
1024
0f0c35e4
AK
10252014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1026
1027 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1028 s390/sys/ucontext.h.
1029 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1030 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1031
4959e284
L
10322014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 [BZ #15605]
1035 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1036
d98720e0
AZ
10372014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038
1039 [BZ#16431]
1040 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1041 Adjust the vDSO correctly for internal calls.
1042 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1043
91cbd0bc
AM
10442014-01-20 Allan McRae <allan@archlinux.org>
1045
1046 * po/ca.po: Update Catalan translation from translation project.
1047
7a02cfad
MF
10482014-01-16 Mike Frysinger <vapier@gentoo.org>
1049
1050 * sysdeps/s390/sotruss-lib.c: New file.
1051
736c304a
AZ
10522014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1053
1054 [BZ#16430]
6e077ee5 1055 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1056 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1057 local calls issues by not having a PLT stub required for IFUNC calls.
1058 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1059
94d0cea0
JM
10602014-01-16 Joseph Myers <joseph@codesourcery.com>
1061
1062 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1063 * math/test-fpucw-static.c: Likewise.
1064
980cb518
SP
10652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1066
1067 [BZ #16453]
1068 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1069
2393fc01
AZ
10702014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1071
1072 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1073 implementation for powerpc.
1074
d359bcc2
OB
10752014-01-15 Ondřej Bílka <neleai@seznam.cz>
1076
1077 [BZ #14782]
1078 * sysdeps/posix/system.c (__libc_system): Do not enable
1079 asynchronous cancellation.
1080
7beb48cb
AK
10812014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1082
1083 [BZ #16427]
1084 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1085 handling only for numbers special also in the IEEE case.
1086
c20d5bf5
AK
10872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1088
1089 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1090
e83bd4ee
AM
10912014-01-11 Allan McRae <allan@archlinux.org>
1092
76d0ea69
AM
1093 * po/bg.po: Update Bulgarian translation from translation project.
1094
e83bd4ee
AM
1095 * po/de.po: Update German translation from translation project.
1096
bc2ba20a
RM
10972014-01-10 Roland McGrath <roland@hack.frob.com>
1098
1099 * sysdeps/generic/gcc-compat.h: New file.
1100
649ecea2
SP
11012014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1102
1103 * benchtests/asin-inputs: Correct slow inputs.
1104 * benchtests/acos-inputs: Likewise.
1105
1b19c006
AM
11062014-01-10 Allan McRae <allan@archlinux.org>
1107
a46dab08
AM
1108 * po:sv.po: Update Swedish translation from translation project.
1109
421df74a
AM
1110 * po/vi.po: Update Vietnamese translation from translation project.
1111
d61c51a7
AM
1112 * po/eo.po: Update Esperanto translation from translation project.
1113
0339a319
AM
1114 * po/cs.po: Update Czech translation from translation project.
1115
94ad3e99
AM
1116 * po/nl.po: Update Dutch translation from translation project.
1117
e349ca71
AM
1118 * po/pl.po: Update Polish translation from translation project.
1119
ddf930c1
AM
1120 * po/ru.po: Update Russian translation from translation project.
1121
1b19c006
AM
1122 * po/uk.po: Update Ukrainian translation from translation project.
1123
9f236c49
BM
11242014-01-08 Brooks Moses <bmoses@google.com>
1125
1126 * elf/dl-load.c: Fix comment typo.
1127
cd6701cf
CD
11282014-01-08 Carlos O'Donell <carlos@redhat.com>
1129
1130 * po/header.pot: Rename to...
1131 * po/pot.header: ... this.
1132 * po/Makefile: Use pot.header.
1133
66671c84
YK
11342014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1135 Maxim Kuvyrkov <maxim@kugelworks.com>
1136
1137 [BZ #16394]
cd6701cf
CD
1138 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1139 SRC and DEST against LEN.
66671c84 1140
38f34581
AZ
11412014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142
1143 [BZ #16414]
1144 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1145 implementation.
1146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1147
11482014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1149
1150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1151
4c327f2a
JM
11522014-01-08 Joseph Myers <joseph@codesourcery.com>
1153
1154 [BZ #16408]
1155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1156 for large positive arguments.
1157
b821f414
JM
11582014-01-07 Joseph Myers <joseph@codesourcery.com>
1159
1f0f2067
JM
1160 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1161
a5a326f6
JM
1162 * math/auto-libm-test-in: Mark various tests with
1163 xfail-rounding:ldbl-128ibm.
1164 * math/auto-libm-test-out: Regenerated.
1165
b821f414
JM
1166 [BZ #16407]
1167 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1168 Increase overflow threshold.
1169
94c8a4bc
OB
11702014-01-07 Ondřej Bílka <neleai@seznam.cz>
1171
1172 [BZ #14286]
1173 * stdio-common/vfprintf.c: Check for integer overflow.
1174
87ded0c3
AK
11752014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1176
1177 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1178 the first argument and return value of __tls_get_addr_internal.
1179
c5eebdd0
AK
11802014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1181
1182 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1183 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1184
05d138ef
AK
11852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1186
1187 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1188 * sysdeps/s390/rtld-global-offsets.sym: New file.
1189 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1190 GLIBC_2.19 symbol.
1191 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1192 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1193 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1194 ... this.
1195 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1196 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1197 ... this.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1199 Regenerate.
1200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1201 Regenerate.
1202 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1203 halfs of GPRs for high_gprs contexts.
1204 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1205 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1206 field.
1207 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1208 uc_flags field.
1209 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1210 64 bit versions:
1211 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1212 for high GPRs (uc_high_gprs) and for future extensions
1213 (__reserved).
1214 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1215 for future extensions (__reserved).
1216 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1217 64 bit versions:
1218 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1219 SC_HIGHGPRS offset definition.
1220 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1221 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1222
93a45ff1
AK
12232014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1224
1225 * Versions.def: Add GLIBC_2.19 for libpthread.
1226 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1227 siglongjmp for libpthread with GLIBC_2.19 symver.
1228 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1229 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1230 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1231 * sysdeps/s390/__longjmp.c: New file.
1232 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1233 * sysdeps/s390/longjmp.c: New file.
1234 * sysdeps/s390/setjmp.S: New file.
1235 * sysdeps/s390/sigjmp.S: New file.
1236 * sysdeps/s390/v1-longjmp.c: New file.
1237 * sysdeps/s390/v1-setjmp.h: New file.
1238 * sysdeps/s390/v1-sigjmp.c: New file.
1239 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1240 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1241 GLIBC_2.19 version.
1242 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1243 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1244 versioned symbols for ____longjmp_chk.
1245 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1248 Regenerate.
1249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1250 Regenerate.
1251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1252 Regenerate.
1253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1254 Regenerate.
1255 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1256 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1257 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1258 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1259 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1260 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1261 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1262 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1263 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1264 * sysdeps/s390/rtld-__longjmp.c: New file.
1265 * sysdeps/s390/rtld-setjmp.S: New file.
1266
eb3fc44b
JM
12672014-01-06 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #16400]
1270 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1271 Return -__logl (x) for small positive arguments without evaluating
1272 a polynomial.
1273
9341dde4
MF
12742014-01-06 Mike Frysinger <vapier@gentoo.org>
1275
1276 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1277 Rename to ...
1278 (__ptrace_peeksiginfo_args): ... this.
1279 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1280 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1282
4cff0293
AM
12832014-01-06 Allan McRae <allan@archlinux.org>
1284
1285 * inet/netinet/in.h: Fix typo in comment.
1286
75595dcf
AJ
12872014-01-05 Andreas Jaeger <aj@suse.de>
1288
1289 * sysdeps/i386/fpu/libm-test-ulps: Update.
1290
79c1e109
AM
12912014-01-05 Allan McRae <allan@archlinux.org>
1292
dd804818
AM
1293 * po/libc.pot: Regenerated.
1294
79c1e109
AM
1295 * malloc/memusagestat.c: Fix gettext call formatting.
1296
0c813d1f
SK
12972014-01-04 Sami Kerola <kerolasa@iki.fi>
1298
1299 * nscd/nscd.c: Improve usage() output.
1300
20f4a8d9
MF
13012014-01-04 Mike Frysinger <vapier@gentoo.org>
1302
1303 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1304 * sysdeps/unix/sysv/linux/configure: Regenerated.
1305 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1306 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1307
22562bb2
JM
13082014-01-03 Joseph Myers <joseph@codesourcery.com>
1309
1310 [BZ #16390]
1311 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1312 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1313
d7ad2d9b
AZ
13142014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1315
1316 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1317 extra tokens at end of #undef directive.
1318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1321
7dd009d8
JM
13222014-01-03 Joseph Myers <joseph@codesourcery.com>
1323
24db925a
JM
1324 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1325
7dd009d8
JM
1326 * math/auto-libm-test-in: Mark various tests with
1327 xfail-rounding:ldbl-128ibm.
1328 * math/auto-libm-test-out: Regenerated.
1329
396e3ecf
JM
13302014-01-02 Joseph Myers <joseph@codesourcery.com>
1331
819e5d50
JM
1332 [BZ #16386]
1333 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1334 numbers with subnormal high part when calculating exponent.
1335
90b6a1e5
JM
1336 [BZ #16385]
1337 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1338 fabs.
1339
396e3ecf
JM
1340 [BZ #16384]
1341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1342 M_LN2l.
1343 (__ieee754_acoshl): Use __log1pl not __log1p.
1344
6c8dbf00
OB
13452013-01-02 Ondřej Bílka <neleai@seznam.cz>
1346
1347 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1348 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1349 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1350 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1351 Convert to GNU style.
1352 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1353 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1354 memalign_check, __malloc_set_state): Likewise.
1355 * malloc/mallocbug.c (main): Likewise.
1356 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1357 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1358 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1359 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1360 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1361 * malloc/malloc.h: Likewise.
1362 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1363 memalignhook, reallochook, mabort): Likewise.
1364 * malloc/mcheck.h: Likewise.
1365 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1366 mmap64, mremap, munmap, dest): Likewise.
1367 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1368 * malloc/morecore.c (__default_morecore): Likewise.
1369 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1370 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1371 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1372 print_and_abort): Likewise.
1373 * malloc/obstack.h: Likewise.
1374 * malloc/set-freeres.c (__libc_freeres): Likewise.
1375 * malloc/tst-mallocstate.c (main): Likewise.
1376 * malloc/tst-mtrace.c (main): Likewise.
1377 * malloc/tst-realloc.c (do_test): Likewise.
1378
d4124212
SP
13792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1380
9a3c6a6f
SP
1381 [BZ #16366]
1382 * nscd/netgroupcache.c (do_notfound): New function.
1383 (addgetnetgrentX): Use it.
1384
d4124212
SP
1385 [BZ # 16365]
1386 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1387 NSS_STATUS_NOTFOUND.
1388
97b9a009
JM
13892014-01-01 Joseph Myers <joseph@codesourcery.com>
1390
1391 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1393
d4697bc9
AM
13942014-01-01 Allan McRae <allan@archlinux.org>
1395
ddb3687f
AM
1396 * scripts/update-copyrights: Update configure input file suffix.
1397
88726d48
AM
1398 * NEWS: Update copyright year.
1399 * catgets/gencat.c: Likewise.
1400 * csu/version.c: Likewise.
1401 * debug/catchsegv.sh: Likewise.
1402 * debug/pcprofiledump.c: Likewise.
1403 * debug/xtrace.sh: Likewise.
1404 * elf/ldconfig.c: Likewise.
1405 * elf/ldd.bash.in: Likewise.
1406 * elf/pldd.c: Likewise.
1407 * elf/sotruss.ksh: Likewise.
1408 * elf/sprof.c: Likewise.
1409 * iconv/iconv_prog.c: Likewise.
1410 * iconv/iconvconfig.c: Likewise.
1411 * locale/programs/locale.c: Likewise.
1412 * locale/programs/localedef.c: Likewise.
1413 * login/programs/pt_chown.c: Likewise.
1414 * malloc/memusage.sh: Likewise.
1415 * malloc/memusagestat.c: Likewise.
1416 * malloc/mtrace.pl: Likewise.
1417 * manual/libc.texinfo: Likewise.
1418 * nscd/nscd.c: Likewise.
1419 * nss/getent.c: Likewise.
1420 * nss/makedb.c: Likewise.
1421 * posix/getconf.c: Likewise.
1422 * scripts/test-installation.pl: Likewise.
1423
d4697bc9
AM
1424 * All files with FSF copyright notices: Update copyright dates
1425 using scripts/update-copyrights.
1426 * intl/plural.c: Regenerated.
1427 * locale/programs/charmap-kw.h: Likewise.
1428 * locale/programs/locfile-kw.h: Likewise.
1429
c8590f9d
MF
14302013-12-31 Mike Frysinger <vapier@gentoo.org>
1431
1432 * sysdeps/unix/sysv/linux/configure: Regenerated.
1433 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1434 the linux/fanotify.h header.
1435 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1436 HAVE_LINUX_FANOTIFY_H is defined.
1437
b19221b9
SP
14382013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
dd1d85e5
SP
1440 * benchtests/cos-inputs: New inputs.
1441 * benchtests/sin-inputs: Likewise.
1442
1acbb90f
SP
1443 * benchtests/atan-inputs: New inputs. Fix name of multiple
1444 precision fallback inputs.
1445
4c012ed3
SP
1446 * benchtests/atanh-inputs: New inputs.
1447 * benchtests/tanh-inputs: Likewise.
1448
eff98324
SP
1449 * benchtests/acosh-inputs: New inputs.
1450 * benchtests/asinh-inputs: Likewise.
1451
ce641152
SP
1452 * benchtests/cosh-inputs: New inputs.
1453 * benchtests/sinh-inputs: Likewise.
1454
b19221b9
SP
1455 * benchtests/acos-inputs: Add more inputs.
1456 * benchtests/asin-inputs: Likewise.
1457
030a4976 14582013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1459
030a4976 1460 [BZ #16375]
9dcc8f11
VS
1461 * manual/arith.texi: Fix spelling.
1462 * manual/charset.texi: Likewise.
1463 * manual/errno.texi: Likewise.
1464 * manual/filesys.texi: Likewise.
1465 * manual/lang.texi: Likewise.
1466 * manual/llio.texi: Likewise.
1467 * manual/locale.texi: Likewise.
1468 * manual/message.texi: Likewise.
1469 * manual/resource.texi: Likewise.
1470 * manual/search.texi: Likewise.
1471 * manual/setjmp.texi: Likewise.
1472 * manual/stdio.texi: Likewise.
1473 * manual/string.texi: Likewise.
1474 * manual/sysinfo.texi: Likewise.
1475 * manual/time.texi: Likewise.
1476
11520a57
CD
14772013-12-27 Carlos O'Donell <carlos@redhat.com>
1478
1479 * po/sl.po: New file.
1480
471103ae
MF
14812013-12-27 Mike Frysinger <vapier@gentoo.org>
1482
1483 * .gitignore: Add core/.gdbinit/.gdb_history.
1484
6c9642ed
AM
14852013-12-27 Allan McRae <allan@archlinux.org>
1486
1487 [BZ #16369]
1488 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1489 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1490
3f637079
BM
14912013-12-24 Brooks Moses <bmoses@google.com>
1492
1493 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1494 all compilers that claim C++98 compliance, not just GCC.
1495 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1496 Likewise.
1497
abc26e99
MK
14982013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1499
1500 * NEWS: Restore accidentally deleted bug-fix entries.
1501
362b47fe
MK
15022013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1503 Ondřej Bílka <neleai@seznam.cz>
1504
1505 [BZ #15073]
1506 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 1507 have_lock.
362b47fe 1508
b9bcbbcb
OB
15092013-12-23 Ondřej Bílka <neleai@seznam.cz>
1510
1511 [BZ #12986]
1512 * manual/stdio.texi (String Input Conversions): Clarify that character
1513 classes are not supported.
1514
fb55fcd2
AZ
15152013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1516
1517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1518
ef7344f0
JM
15192013-12-22 Joseph Myers <joseph@codesourcery.com>
1520
4f40e4b3
JM
1521 [BZ #16337]
1522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1523 Calculate results for small negative arguments directly rather
1524 than using reflection formula with special underflow handling.
1525
ef7344f0
JM
1526 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1527 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1528 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1529 (fchflags): Likewise.
1530 (revoke): Likewise.
1531 (setlogin): Likewise.
1532 (sigaltstack): Likewise.
1533 (wait4): Likewise.
1534 (sigblock): Remove.
1535 (sigsetmask): Likewise.
1536 (wait3): Likewise.
1537 (waitpid): Likewise.
1538 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1539 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1540 file.
1541 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1542 * sysdeps/unix/bsd/Makefile: ... here.
1543 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1544 * sysdeps/unix/bsd/Versions: ... here.
1545 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1546 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1547 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1548 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1549 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1550 * sysdeps/unix/bsd/sigblock.c: ... here.
1551 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1552 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1553 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1554 * sysdeps/unix/bsd/sigvec.c: ... here.
1555 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1556 * sysdeps/unix/bsd/tcdrain.c: ... here.
1557 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1558 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1559 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1560 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1561 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1562 * sysdeps/unix/bsd/wait.c: ... here.
1563 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1564 * sysdeps/unix/bsd/wait3.c: ... here.
1565 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1566 * sysdeps/unix/bsd/waitpid.c: ... here.
1567
5b0626b9
JM
15682013-12-21 Joseph Myers <joseph@codesourcery.com>
1569
1570 [BZ #16356]
1571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1572 round-to-nearest for [!USE_AS_EXPM1L].
1573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1574 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1575 more tests of exp and exp10. Expect some exp10 tests to miss
1576 exceptions or fail in directed rounding modes.
1577 * math/auto-libm-test-out: Regenerated.
1578 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1579 (exp10_test_tonearest): New function.
1580 (exp10_towardzero_test_data): New array.
1581 (exp10_test_towardzero): New function.
1582 (exp10_downward_test_data): New array.
1583 (exp10_test_downward): New function.
1584 (exp10_upward_test_data): New array.
1585 (exp10_test_upward): New function.
1586 (main): Call the new functions.
1587 * sysdeps/i386/fpu/libm-test-ulps: Update.
1588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1589
7fda5682
JM
15902013-12-20 Joseph Myers <joseph@codesourcery.com>
1591
31e3a405
JM
1592 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1593 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1594 * math/auto-libm-test-out: Regenerated.
1595 * math/libm-test.inc (acosh_test_data): Add more tests.
1596 (atanh_test_data): Likewise.
1597 (ceil_test_data): Likewise.
1598 (copysign_test_data): Likewise.
1599 * sysdeps/i386/fpu/libm-test-ulps: Update.
1600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601
85bff96a
JM
1602 * timezone/checktab.awk: Update from tzcode 2013i.
1603 * timezone/private.h: Likewise.
1604 * timezone/scheck.c: Likewise.
1605 * timezone/tzfile.h: Likewise.
1606 * timezone/tzselect.ksh: Likewise.
1607 * timezone/zdump.c: Likewise.
1608 * timezone/zic.c: Likewise.
1609
b7867a3b
JM
1610 * math/auto-libm-test-in: Add tests of cpow.
1611 * math/auto-libm-test-out: Regenerated.
1612 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1613 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1614 mpc_cc_c.
1615 (func_calc_desc): Add mpc_cc_c union field.
1616 (test_functions): Add cpow.
1617 (special_fill_2pi): New function.
1618 (special_real_inputs): Add 2pi.
1619 (calc_generic_results): Handle mpc_cc_c.
1620 * sysdeps/i386/fpu/libm-test-ulps: Update.
1621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1622
7fda5682
JM
1623 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1624 csqrt, ctan and ctanh.
1625 * math/auto-libm-test-out: Regenerated.
1626 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1627 (TEST_COND_x86): Likewise.
1628 (ccos_test_data): Use AUTO_TESTS_c_c.
1629 (ccosh_test_data): Likewise.
1630 (cexp_test_data): Likewise.
1631 (clog_test_data): Likewise.
1632 (csqrt_test_data): Likewise.
1633 (ctan_test_data): Likewise.
1634 (ctan_tonearest_test_data): Likewise.
1635 (ctan_towardzero_test_data): Likewise.
1636 (ctan_downward_test_data): Likewise.
1637 (ctan_upward_test_data): Likewise.
1638 (ctanh_test_data): Likewise.
1639 (ctanh_tonearest_test_data): Likewise.
1640 (ctanh_towardzero_test_data): Likewise.
1641 (ctanh_downward_test_data): Likewise.
1642 (ctanh_upward_test_data): Likewise.
1643 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1644 mpc_c_c.
1645 (func_calc_desc): Add mpc_c_c union field.
1646 (FUNC_mpc_c_c): New macro.
1647 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1648 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1649 ctanh.
1650 (special_fill_min_subnorm_p120): New function.
1651 (special_real_inputs): Add min_subnorm_p120.
1652 (calc_generic_results): Handle mpc_c_c.
1653 * sysdeps/i386/fpu/libm-test-ulps: Update.
1654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1655
5ff8d60e
SP
16562013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1657
392dd2de
SP
1658 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1659 do_sin_slow): New functions.
1660 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1661 cslow2, csloww1, csloww2): Use the new functions.
1662
84ba214c
SP
1663 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1664 Use M to change sign of result instead of X. Assume X is
1665 positive.
1666 (csloww1): Likewise.
1667 (__sin): Adjust.
1668 (__cos): Adjust.
1669
975195e4
SP
1670 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1671 arguments A and DA.
1672 (__sin): Adjust.
1673 (__cos): Likewise.
1674
5ff8d60e
SP
1675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1676 (__cos): Likewise.
1677 (sloww1): Don't adjust sign of DX.
1678 (csloww1): Likewise.
1679 (sloww2): Use X directly and don't adjust sign of DX.
1680 (csloww2): Likewise.
1681
eb983568
JM
16822013-12-19 Joseph Myers <joseph@codesourcery.com>
1683
64a17f1a
JM
1684 * math/auto-libm-test-in: Add tests of cabs and carg.
1685 * math/auto-libm-test-out: Regenerated.
1686 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1687 (carg_test_data): Likewise.
1688 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1689 mpc_c_f.
1690 (func_calc_desc): Add mpc_c_f union field.
1691 (test_functions): Add cabs and carg.
1692 (calc_generic_results): Handle mpc_c_f.
1693
eb983568
JM
1694 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1695 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1696 as a macro and a compat symbol.
1697 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1698 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1699 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1700 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1701 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1702 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1703 not use .hidden.
1704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1705 Likewise.
1706 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1707 Likewise.
1708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1709 Likewise.
1710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1711 Likewise.
1712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1713 Likewise.
1714 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1715 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1716 from GLIBC_2.3.2.
1717
6eeb678a
AZ
17182013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719
1720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1721
6f6fc482
JM
17222013-12-19 Joseph Myers <joseph@codesourcery.com>
1723
21fea2e2
JM
1724 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1725 trailing whitespace removed.
1726 * scripts/config.guess: Update to version 2013-11-29.
1727 * scripts/config.sub: Update to version 2013-10-01.
1728
6f6fc482
JM
1729 * math/auto-libm-test-in: Add tests of sincos.
1730 * math/auto-libm-test-out: Regenerated.
1731 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1733 mpfr_f_11.
1734 (func_calc_desc): Add mpfr_f_11 union field.
1735 (test_functions): Add sincos.
1736 (calc_generic_results): Handle mpfr_f_11.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739
83f5c32d
AS
17402013-12-19 Andreas Schwab <schwab@suse.de>
1741
1742 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1743 CALL_MCOUNT.
1744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1745 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1746 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1747
c688b419
JM
17482013-12-19 Joseph Myers <joseph@codesourcery.com>
1749
335ee092
JM
1750 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1751 * sysdeps/i386/fpu/libm-test-ulps: Update.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1753
f88acd39
JM
1754 [BZ #16293]
1755 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1756 round-to-nearest mode when using frndint.
1757 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1758 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1759 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1760 Likewise.
1761 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1762 sinh test to fail.
1763 * math/auto-libm-test-out: Regenerated.
1764 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1765 (TEST_COND_x86): Likewise.
1766 (expm1_tonearest_test_data): New array.
1767 (expm1_test_tonearest): New function.
1768 (expm1_towardzero_test_data): New array.
1769 (expm1_test_towardzero): New function.
1770 (expm1_downward_test_data): New array.
1771 (expm1_test_downward): New function.
1772 (expm1_upward_test_data): New array.
1773 (expm1_test_upward): New function.
1774 (main): Run the new test functions.
1775 * sysdeps/i386/fpu/libm-test-ulps: Update.
1776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1777
c688b419
JM
1778 * include/features.h: Update comment documenting feature test
1779 macros. Mention _DEFAULT_SOURCE in comment.
1780 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1781 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1782 _BSD_SOURCE and _SVID_SOURCE.
1783 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1784 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1785 !_SVID_SOURCE]: Likewise.
1786 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1787 (__USE_POSIX_IMPLICITLY): Define.
1788 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1789 (_POSIX_SOURCE): Undefine and redefine.
1790 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1791 (_POSIX_C_SOURCE): Likewise.
1792 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1793 (Feature Test Macros): Update documentation of default features.
1794
9f6e964c
RS
17952013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1796
1797 * benchtests/Makefile: Add bench-strtok.
1798 * benchtests/bench-strtok.c: New file: strtok benchtest.
1799
ee0a148a
AM
18002013-12-19 Allan McRae <allan@archlinux.org>
1801
1802 * manual/install.texi: Suppress menu for plain text output.
1803 * INSTALL: Regenerated.
1804
b9ab448f
BM
18052013-12-18 Brooks Moses <bmoses@google.com>
1806
1807 [BZ #15846]
1808 * misc/getauxval.c: Include errno.h.
1809 (__getauxval): Set errno to ENOENT if the requested type is not
1810 found.
1811 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1812 don't declare with __attribute_const__.
1813 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1814 * manual/startup.texi: Document that getauxval sets errno.
1815
23776487
JM
18162013-12-18 Joseph Myers <joseph@codesourcery.com>
1817
f889953b
JM
1818 * math/auto-libm-test-in: Add tests of jn and yn.
1819 * math/auto-libm-test-out: Regenerated.
1820 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1821 (yn_test_data): Likewise.
1822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1823 mpfr_if_f.
1824 (func_calc_desc): Add mpfr_if_f union field.
1825 (FUNC_mpfr_if_f): New macro.
1826 (test_functions): Add jn and yn.
1827 (calc_generic_results): Assert type of second input for
1828 mpfr_ff_f. Handle mpfr_if_f.
1829 (output_for_one_input_case): Disable all checking for arguments
1830 fitting floating-point types in case of an integer argument.
1831 * sysdeps/i386/fpu/libm-test-ulps: Update.
1832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1833
23776487
JM
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1835 Don't expect fegetround reference in libm.so.
1836
cb756c6d
MS
18372013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1838
1839 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1840 $(config-cflags-nofma).
1841
2dec468f
JM
18422013-12-18 Joseph Myers <joseph@codesourcery.com>
1843
5953eb3a
JM
1844 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1845 * math/auto-libm-test-out: Regenerated.
1846
2dec468f
JM
1847 [BZ #16338]
1848 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1849 to determine exponent and adjust argument to have exponent of -1.
1850 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1851 log2.
1852 * math/auto-libm-test-out: Regenerated.
1853 * sysdeps/i386/fpu/libm-test-ulps: Update.
1854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1855
4d84e6ad
OB
18562013-12-18 Ondřej Bílka <neleai@seznam.cz>
1857
1858 * manual/probes.texi: Remove cases when per-thread arenas are
1859 disabled.
1860
1818483b
AS
18612013-12-18 Andreas Schwab <schwab@suse.de>
1862
1863 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1864 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1865 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1866 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1867 * sysdeps/i386/i686/multiarch/Makefile: Update.
1868 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1869
25de95bf
JM
18702013-12-17 Joseph Myers <joseph@codesourcery.com>
1871
1872 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1873 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1874
674762d9
PE
18752013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1876
ed27ed83 1877 [BZ #15968]
0748546f
PE
1878 Support TZ transition times < 00:00:00.
1879 This is needed for version-3 tz-format files; it supports time
1880 stamps past 2037 for America/Godthab (the only entry in the tz
1881 database for which this change is relevant).
1882 * manual/time.texi (TZ Variable): Document transition times
1883 from -167:59:59 through -00:00:01.
1884 * time/tzset.c (tz_rule): Time of day is now signed.
1885 (__tzset_parse_tz): Parse negative time of day.
1886
4480e934
PE
1887 Document TZ transition times >= 25:00:00.
1888 * manual/time.texi (TZ Variable): Document transition times from
1889 25:00:00 through 167:59:59. These are already supported, and this
1890 support will help with version-3 tz-format files.
1891
69947401
PE
1892 * manual/time.texi (TZ Variable): Modernize North America example
1893 to reflect current (i.e., 2007-and-later) daylight saving rules.
1894
674762d9
PE
1895 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1896
7011c262
JM
18972013-12-17 Joseph Myers <joseph@codesourcery.com>
1898
2fc6557e
JM
1899 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1900 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1902 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1903 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1904 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1905 * sysdeps/unix/bsd/clock.c: Likewise.
1906 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1907 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1908 * sysdeps/unix/bsd/init-posix.c: Likewise.
1909 * sysdeps/unix/bsd/poll.c: Likewise.
1910 * sysdeps/unix/bsd/ptsname.c: Likewise.
1911 * sysdeps/unix/bsd/seekdir.c: Likewise.
1912 * sysdeps/unix/bsd/setegid.c: Likewise.
1913 * sysdeps/unix/bsd/seteuid.c: Likewise.
1914 * sysdeps/unix/bsd/setgid.c: Likewise.
1915 * sysdeps/unix/bsd/setrgid.c: Likewise.
1916 * sysdeps/unix/bsd/setruid.c: Likewise.
1917 * sysdeps/unix/bsd/setsid.c: Likewise.
1918 * sysdeps/unix/bsd/setuid.c: Likewise.
1919 * sysdeps/unix/bsd/sigaction.c: Likewise.
1920 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1921 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1922 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1923 * sysdeps/unix/bsd/telldir.c: Likewise.
1924 * sysdeps/unix/bsd/times.c: Likewise.
1925 * sysdeps/unix/bsd/usleep.c: Likewise.
1926
029c7b25
JM
1927 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1928 ($(objpfx)libbsd-compat.a): Remove rule.
1929
7011c262
JM
1930 * include/features.h (__FAVOR_BSD): Do not define.
1931 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1932 features conflicting with POSIX.
1933 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1934 (_BSD_SOURCE): Remove description of not being a subset of other
1935 feature test macros.
1936 * manual/job.texi (getpgrp): Do not document BSD version.
1937 (getpgid): Do not document by reference to BSD getpgrp.
1938 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1939 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1940 * signal/signal.h [__FAVOR_BSD]: Likewise.
1941 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1942 instead of making contents conditional on [__FAVOR_BSD].
1943 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1944
affb6f78
AZ
19452013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1946
1947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1948
c88769dd
JM
19492013-12-17 Joseph Myers <joseph@codesourcery.com>
1950
6432a540
JM
1951 [BZ #16314]
1952 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1953 values below 2**-450, not 2**-500.
1954 * math/auto-libm-test-in: Don't allow spurious underflow from
1955 hypot.
1956 * math/auto-libm-test-out: Regenerated.
1957
c88769dd
JM
1958 [BZ #16316]
1959 [BZ #16330]
1960 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1961 values of ha and hb and sort them after adjusting subnormal
1962 arguments.
1963 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1964 Likewise.
1965 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1966 values of ea and eb and sort them after adjusting subnormal
1967 arguments.
1968 * math/auto-libm-test-in: Do not expect some hypot tests of
1969 subnormals to fail. Add more hypot tests.
1970 * math/auto-libm-test-out: Regenerated.
1971
29618f6b
KK
19722013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1973
1974 [BZ #13304]
1975 * sysdeps/sh/s_fma.c: New file.
1976 * sysdeps/sh/s_fmaf.c: New file.
1977 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1978 version.
1979 * sysdeps/sh/Implies: Add sh/soft-fp.
1980
eacfdfbf
RM
19812013-12-16 Roland McGrath <roland@hack.frob.com>
1982
1983 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1984 level of indirection to members `objname', `errstring', `malloced'.
1985 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1986 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1987 it as the __longjmp argument (just pass 1 instead).
1988 (_dl_catch_error): Initialize C with argument pointers and address of
1989 volatile local ERRCODE rather than copying values out of C at return.
1990
ff362e5b
JM
19912013-12-16 Joseph Myers <joseph@codesourcery.com>
1992
1993 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1994 * math/auto-libm-test-out: Regenerated.
1995 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1996 (hypot_test_data): Likewise.
1997 (pow_test_data): Likewise.
1998 (pow_tonearest_test_data): Likewise.
1999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2000 mpfr_ff_f.
2001 (func_calc_desc): Add mpfr_ff_f union field.
2002 (FUNC_mpfr_ff_f): New macro.
2003 (test_functions): Add atan2, hypot and pow.
2004 (special_fill_min): New function.
2005 (special_fill_minus_min): Likewise.
2006 (special_fill_min_subnorm): Likewise.
2007 (special_fill_minus_min_subnorm): Likewise.
2008 (special_real_inputs): Add min, -min, min_subnorm and
2009 -min_subnorm.
2010 (calc_generic_results): Handle mpfr_ff_f.
2011 * sysdeps/i386/fpu/libm-test-ulps: Update.
2012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2013
5764c27f
WN
20142013-12-16 Will Newton <will.newton@linaro.org>
2015
2016 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2017 (Aligned Memory Blocks): Add documentation for aligned_alloc
2018 and suggest it as an alternative to posix_memalign.
2019 (Hooks for Malloc): Document __memalign_hook is also called
2020 for aligned_alloc. (Summary of Malloc): Add summary for
2021 aligned alloc. Document __memalign_hook is also called
2022 for aligned_alloc.
2023
0a096e44
WN
20242013-12-16 Will Newton <will.newton@linaro.org>
2025
2026 * manual/memory.texi (Malloc Examples): Clarify default
2027 alignment documentation. Suggest posix_memalign rather
2028 than memalign or valloc.
2029 (Aligned Memory Blocks): Remove suggestion to use memalign
2030 or valloc. Remove obsolete comment about BSD.
2031 Document memalign errno values and mark the function obsolete.
2032 Document posix_memalign returned error codes. Mark valloc
2033 as obsolete. (Hooks for Malloc): __memalign_hook is also
2034 called for posix_memalign and valloc.
2035 (Summary of Malloc): Add posix_memalign to function summary.
2036 __memalign_hook is also called for posix_memalign and valloc.
2037
8d561986
SP
20382013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2039
2040 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2041 TAYLOR_SIN.
2042 (__sin): Adjust.
2043 (__cos): Likewise.
2044 (sloww): Use mynumber union. Expand ternary operator into
2045 if-else statements.
2046 (cslow): use mynumber union.
2047
73616a74
AM
20482013-12-16 Allan McRae <allan@archlinux.org>
2049
9e8ac24b
AM
2050 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2051 * configure: Regenerated.
2052
6f8e37eb
AM
2053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2054
8894bad3
AM
2055 [BZ #14120]
2056 * configure.ac: Added --enable-maintainer-mode. Check for
2057 autoconf when enabled.
2058 * configure: Regenerated.
2059
73616a74
AM
2060 * nscd/nscd.service: New file.
2061 * nscd/nscd.tmpfiles: New file.
2062
584b18eb
OB
20632013-12-14 Ondřej Bílka <neleai@seznam.cz>
2064
2065 [BZ #12100]
2066 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2067 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2068 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2069 (strstr): Add __strstr_sse2_unaligned ifunc.
2070 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2071 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2072 (strcasestr): Remove __strcasestr_sse42 ifunc.
2073 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2074 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2076
8a5c7897
KK
20772013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2078
2079 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2080 * sysdeps/sh/bits/fenv.h: ... here.
2081 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2082
fd712ef3
AZ
20832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2084
2085 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2086
42fcb46c
AZ
20872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2088
2089 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2090 hypotf multiarch implementations.
2091 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2092 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2094 multiarch hypot for PPC64.
2095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2098 multiarch hypotf for PPC64.
2099
83efded4
AZ
21002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101
2102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2103 modff multiarch implementations.
2104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2107 multiarch modf for PPC64.
2108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2111 multiarch modff for PPC64.
2112
43e246d2
AZ
21132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2114
2115 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2116 and logl multiarch implementations.
2117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2120 multiarch logb for PPC64.
2121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2124 multiarch logb for PPC64.
2125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2128 multiarch logb for PPC64.
2129
8fdad123
AZ
21302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2131
2132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2133 isinff multiarch implementation.
2134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2135 file.
2136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2138 multiarch isinf for PPC64.
2139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2140 file.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2142 multiarch isinff for PPC64.
2143
1481d706
AZ
21442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2145
2146 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2147 finitef multiarch implementation.
2148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2149 file.
2150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2152 multiarch finite for PPC64.
2153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2154 file.
2155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2156 multiarch finitef for PPC64.
2157
5ccd5fc8
AZ
21582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2159
2160 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2161 lrint multiarch implementation.
2162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2163 file.
2164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2166 multiarch llrint for PPC64.
2167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2168 multiarch lrint for PPC64.
2169
2568f3fa
AZ
21702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2171
2172 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2173 copysignf multiarch implementation.
2174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2175 file.
2176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2177 file.
2178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2179 multiarch copysign for PPC64.
2180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2181 multiarch copysignf for PPC64.
2182
1cb341fd
AZ
21832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2184
2185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2186 multiarch implementation.
2187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2188 file.
2189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2190 file.
2191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2192 file.
2193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2194 file.
2195 multiarch llround for PPC64.
2196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2197 multiarch trunc for PPC64.
2198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2199 multiarch truncf for PPC64.
2200
59a3e194
AZ
22012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2202
2203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2204 multiarch implementation.
2205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2206 file.
2207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2208 file.
2209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2210 file.
2211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2212 file.
2213 multiarch llround for PPC64.
2214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2215 multiarch round for PPC64.
2216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2217 multiarch roundf for PPC64.
2218
357fd3b4
AZ
22192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2220
2221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2222 multiarch implementation.
2223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2224 file.
2225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2226 file.
2227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2228 file.
2229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2230 file.
2231 multiarch llround for PPC64.
2232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2233 multiarch floor for PPC64.
2234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2235 multiarch floorf for PPC64.
2236
96770f12
AZ
22372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238
2239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2240 multiarch implementation.
2241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2242 file.
2243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2244 file.
2245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2246 file.
2247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2248 file.
2249 multiarch llround for PPC64.
2250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2251 multiarch ceil for PPC64.
2252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2253 multiarch ceilf for PPC64.
2254
c3627f6e
AZ
22552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256
2257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2258 multiarch implementation.
2259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2260 file.
2261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2262 file.
2263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2264 file.
2265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2266 multiarch llround for PPC64.
2267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2268 multiarch lround for PPC64.
2269
b2284ad7
AZ
22702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2271
2272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2273 multiarch implementation.
2274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2277 file.
2278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2281 multiarch isnan for PPC64.
2282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2283 multiarch isnanf for PPC64.
2284
69bbc63d
AZ
22852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2286
2287 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2288 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2289 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2290 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2291 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2293
c24517c9
AZ
22942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2295
2296 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2297 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2300
a52374e8
AZ
23012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2302
2303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2304 multiarch implementations.
2305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2306 (__libc_ifunc_impl_list): Likewise.
2307 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2308 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2310 multiarch stpcpy for PPC64.
2311
7f5ec113
AZ
23122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2313
2314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2315 multiarch implementations.
2316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2317 (__libc_ifunc_impl_list): Likewise.
2318 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2319 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2320 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2321 multiarch strcpy for PPC64.
2322
e28bcd42
AZ
23232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2324
2325 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2326 redefine function name.
2327 (_wordcopy_fwd_dest_aligned): Likewise.
2328 (_wordcopy_bwd_aligned): Likewise.
2329 (_wordcopy_bwd_dest_aligned): Likewise.
2330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2331 multiarch implementations.
2332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2333 (__libc_ifunc_impl_list): Likewise.
2334 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2335 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2336 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2337 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2338 multiarch wcscpy for PPC64.
2339
92cacfce
AZ
23402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2341
2342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2343 multiarch implementations.
2344 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2345 (__libc_ifunc_impl_list): Likewise.
2346 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2347 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2348 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2350 multiarch wcscpy for PPC64.
2351
7b714620
AZ
23522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2353
2354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2355 multiarch implementations.
2356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2357 (__libc_ifunc_impl_list): Likewise.
2358 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2359 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2361 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2362 multiarch wcsrchr for PPC64.
2363
16fd2ae3
AZ
23642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2365
2366 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2367 multiarch implementations.
2368 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2369 (__libc_ifunc_impl_list): Likewise.
2370 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2371 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2372 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2373 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2374 multiarch wcschr for PPC64.
2375
9ee2969b
AZ
23762013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2377
2378 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2379 multiarch implementations.
2380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2381 (__libc_ifunc_impl_list): Likewise.
2382 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2383 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2384 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2385 multiarch strchrnul for PPC64.
2386
372dc060
AZ
23872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2388
2389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2390 implementations.
2391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2392 (__libc_ifunc_impl_list): Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2394 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2395 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2396 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2397 strchr for PPC64.
2398
24c2c3b9
AZ
23992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2400
2401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2402 implementations.
2403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2404 (__libc_ifunc_impl_list): Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2406 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2408 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2409 strncmp for PPC64.
2410
1c92d9a0
AZ
24112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2412
2413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2414 multiarch implementations.
2415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2416 (__libc_ifunc_impl_list): Likewise.
2417 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2418 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2419 strncasecmp for PPC64.
2420 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2421 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2422 multiarch strncasecmp_l for PPC64.
2423
17de3ee3
AZ
24242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2425
2426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2427 multiarch implementations.
2428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2429 (__libc_ifunc_impl_list): Likewise.
2430 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2431 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2432 multiarch strcasecmp for PPC64.
2433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2434 file.
2435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2436 multiarch strcasecmp_l for PPC64.
2437
62982bf9
AZ
24382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2439
2440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2441 implementations.
2442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2443 (__libc_ifunc_impl_list): Likewise.
2444 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2445 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2446 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2447 strnlen for PPC64.
2448
a65f4904
AZ
24492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2450
2451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2452 implementations.
2453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2454 (__libc_ifunc_impl_list): Likewise.
2455 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2456 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2457 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2458 strlen for PPC64.
2459
1fd005ad
AZ
24602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461
2462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2463 implementations.
2464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2465 (__libc_ifunc_impl_list): Likewise.
2466 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2467 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2468 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2469 rawmemrchr for PPC64.
2470
cd05ba91
AZ
24712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2472
2473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2474 implementation.
2475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2476 (__libc_ifunc_impl_list): Likewise.
2477 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2478 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2479 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2480 memrchr for PPC64.
2481
870f8676
AZ
24822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2483
2484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2485 implementation.
2486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2487 (__libc_ifunc_impl_list): Likewise.
2488 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2489 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2490 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2491 memchr for PPC64.
2492
f00be62b
AZ
24932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2494
2495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2496 implementation.
2497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2498 (__libc_ifunc_impl_list): Likewise.
2499 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2500 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2502 mempcpy for PPC64.
2503
8a29a3d0
AZ
25042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2505
2506 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2507 avoid cretion of __bzero symbol.
2508 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2509 Likewise.
2510 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2511 Likewise.
2512 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2513 Likewise.
2514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2515 multiarch implementations.
2516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2517 (__libc_ifunc_impl_list): Likewise.
2518 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2519 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2520 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2521 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2522 bzero for PPC32.
2523 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2524 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2525 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2526 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2527 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2528 memset for PPC64.
2529 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2530
07253fcf
AZ
25312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532
2533 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2535 implementations.
2536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2537 (__libc_ifunc_impl_list): Likewise.
2538 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2539 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2541 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2542 memcmp for PPC64.
2543
b5beafbc
AZ
25442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2545
2546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2547 multiarch for POWER/PPC64.
2548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2549 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2556 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2557 memcpy for PPC64.
2558
5e6a4d4b
AZ
25592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2560
2561 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2562 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2563 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2564 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2565 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2566 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2567 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2568 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2569 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2570 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2571 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2572 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2573 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2574 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2575 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2583
ddfab6dc
KK
25842013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2585
2586 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2587
19b5525e
SP
25882013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2589
2590 * benchtests/Makefile (bench): Add exp2 and log2.
2591 (LDLIBS-bench-exp2): Add -lm.
2592 (LDLIBS-bench-log2): Likewise.
2593 * benchtests/exp2-inputs: New inputs file.
2594 * benchtests/log2-inputs: New inputs file.
2595 * benchtests/log-inputs: Add new inputs.
2596 * benchtests/tan-inputs: Likewise.
2597
196f7f5d
SP
25982013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2599
7a74607f
SP
2600 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2601 definition...
2602 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2603 csloww1, csloww2): ... from here.
2604
196f7f5d
SP
2605 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2606 instead of structures.
2607 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2608 (POLYNOMIAL): Likewise.
2609 (TAYLOR_SLOW): Likewise.
2610 (__sin): Likewise.
2611 (__cos): Likewise.
2612 (slow1): Likewise.
2613 (slow2): Likewise.
2614 (sloww): Likewise.
2615 (sloww1); Likewise.
2616 (sloww2): Likewise.
2617 (bsloww1): Likewise.
2618 (bsloww2): Likewise.
2619 (cslow2): Likewise.
2620 (csloww): Likewise.
2621 (csloww1): Likewise.
2622 (csloww2): Likewise.
2623
0dfa665c
OB
26242013-12-10 Ondřej Bílka <neleai@seznam.cz>
2625
2626 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2627 (__malloc_assert, __libc_realloc, __libc_calloc,
2628 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2629 memcpy and memset.
2630 * malloc/hooks.c (realloc_check): Likewise.
2631
5782a80f
OB
26322013-12-10 Ondřej Bílka <neleai@seznam.cz>
2633
2634 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2635 * malloc/arena.c: Remove PER_THREAD conditional.
2636 [!PER_THREAD]: Remove code.
2637 (ptmalloc_unlock_all2): Likewise.
2638 (ptmalloc_init): Likewise.
2639 (_int_new_arena): Likewise.
2640 (arena_get2): Likewise.
2641 * malloc/hooks.c (__malloc_get_state): Likewise.
2642 (__malloc_set_state): Likewise.
2643 * malloc/malloc.c: Likewise.
2644 (struct malloc_state): Likewise.
2645 (struct malloc_par): Likewise.
2646 (__libc_realloc): Likewise.
2647 (__libc_mallopt): Likewise.
2648
aeb95445
AZ
26492013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2650
2651 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2652
e8349efd
OB
26532013-12-09 Ondřej Bílka <neleai@seznam.cz>
2654
2655 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2656 macro to a function. Check for zero perturb_byte.
2657 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2658
f3eeb3fc
OB
26592013-12-09 Ondřej Bílka <neleai@seznam.cz>
2660
2661 * malloc/malloc.c: (force_reg): Remove.
2662 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2663 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2664 force_reg by atomic_forced_read.
2665 * malloc/arena.c (ptmalloc_init): Likewise.
2666 * malloc/hooks.c (top_check): Likewise.
2667
be2f9009
AZ
26682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2669
2670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2671
e7b914bd
MT
26722013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2673
2674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2675
9f0be4f8
JM
26762013-12-08 Joseph Myers <joseph@codesourcery.com>
2677
2678 * math/auto-libm-test-in: Add tests of lgamma.
2679 * math/auto-libm-test-out: Regenerated.
2680 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2681 (M_LOG_2_SQRT_PIl): Likewise.
2682 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2683 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2684 mpfr_f_f1.
2685 (func_calc_desc): Add mpfr_f_f1 union field.
2686 (ARGS1): New macro.
2687 (ARGS2): Likewise.
2688 (ARGS3): Likewise.
2689 (ARGS4): Likewise.
2690 (RET1): Likewise.
2691 (RET2): Likewise.
2692 (CALC): Likewise.
2693 (FUNC): Likewise.
2694 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2695 (test_functions): Add lgamma.
2696 (calc_generic_results): Handle mpfr_f_f1.
2697 * sysdeps/i386/fpu/libm-test-ulps: Update.
2698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2699
24eeafdb
AZ
27002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2703 __mpn_add_n for PowerPC64/POWER7.
2704 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2705 __mpn_sub_n for PowerPC64/POWER7.
2706
4a2c0fd4
AZ
27072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2708
2709 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2710 __mpn_addmul_1 for PowerPC64.
2711 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2712 __mpn_submul_1 for PowerPC64.
2713 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2714 for PowerPC64.
2715 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2716 for PowerPC64.
2717
4b5b548c
FS
27182013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2719
2720 [BZ #15089]
2721 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2722
0a3ac0aa
AZ
27232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2724
2725 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2726
ccdc8438
AZ
27272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728
2729 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2730 add multiarch folders.
2731 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2732 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2733 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2734 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2735 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2736 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2737 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2738 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2739 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2740 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2741 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2748
2e973d99
AZ
27492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2750
2751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2752 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2754 New file.
2755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2756 New file.
2757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2758 multiarch __ieee754_hypot for PowerPC32.
2759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2760 New file.
2761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2762 New file.
2763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2764 multiarch __ieee754_hypotf for PowerPC32.
2765
2d9470b2
AZ
27662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2767
2768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2769 long_double_symbol only if __logbl is defined.
2770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2771 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2773 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2775 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2777 path for implementation.
2778 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2779 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2781 logb, and logbl multiarch implementations for PowerPC32.
2782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2783 file.
2784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2785 file.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2787 multiarch logb for PowerPC32.
2788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2789 file.
2790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2791 file.
2792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2793 multiarch logbf for PowerPC32.
2794 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2796 file.
2797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2798 multiarch logbl implementation for PowerPC32.
2799
5212ffce
AZ
28002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2801
2802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2803 and modff multiarch implementations.
2804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2805 New file.
2806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2807 New file.
2808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2809 multiarch modf for PowerPC32.
2810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2811 New file.
2812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2813 New file.
2814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2815 multiarch modff for PowerPC32.
2816
79dccf31
AZ
28172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2818
2819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2820 and lrintf multiarch implementations.
2821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2822 New file.
2823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2824 New file.
2825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2826 multiarch lrint for PowerPC32.
2827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2828 file: multiarch lrintf for PowerPC32.
2829
deb66480
AZ
28302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2831
2832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2833 and lroundf multiarch implementations.
2834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2835 New file.
2836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2837 New file.
2838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2839 New file.
2840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2841 multiarch lround for PowerPC32.
2842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2843 file: multiarch lroundf for PowerPC32.
2844
264b036b
AZ
28452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2846
2847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2848 copysign and copysignf multiarch implementations.
2849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2850 New file.
2851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2852 New file.
2853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2854 file: multiarch copysign for PowerPC32.
2855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2856 file: multiarch copysignf for PowerPC32.
2857
d47db6c9
AZ
28582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2859
2860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2861 and truncf multiarch implementations.
2862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2863 New file.
2864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2865 file.
2866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2867 multiarch trunc for PowerPC32.
2868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2869 New file.
2870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2871 New file.
2872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2873 multiarch truncf for PowerPC32.
2874
ddb60b5a
AZ
28752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876
2877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2878 and roundf multiarch implementations.
2879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2880 New file.
2881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2882 file.
2883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2884 multiarch round for PowerPC32.
2885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2886 New file.
2887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2888 New file.
2889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2890 multiarch roundf for PowerPC32.
2891
bedcf49b
AZ
28922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2893
2894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2895 and floorf multiarch implementations.
2896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2897 New file.
2898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2899 file.
2900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2901 multiarch floor for PowerPC32.
2902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2903 New file.
2904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2905 New file.
2906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2907 multiarch floorf for PowerPC32.
2908
35ae5b40
AZ
29092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2910
2911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2912 and ceilf multiarch implementations.
2913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2914 New file.
2915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2916 file.
2917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2918 multiarch ceil for PowerPC32.
2919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2920 New file.
2921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2922 file.
2923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2924 multiarch ceilf for PowerPC32.
2925
ae1a4cd9
AZ
29262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2927
2928 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2929 is defined.
2930 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2931 FINITEF is defined.
2932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2933 and finitef multiarch implementations.
2934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2935 New file.
2936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2937 file.
2938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2939 multiarch finite for PowerPC32.
2940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2941 New file.
2942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2943 file: multiarch finitef for PowerPC32.
2944
64fffd65
AZ
29452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2946
2947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2948 and isinff multiarch implementations.
2949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2950 file.
2951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2952 file.
2953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2954 multiarch isinf for PowerPC32.
2955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2956 New file.
2957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2958 multiarch isinff for PowerPC32.
2959
8e4e7ba2
AZ
29602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2961
2962 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2963 alias when __isnan is defined.
2964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2965 and isnanf multiarch implementations.
2966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2967 file.
2968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2969 file.
2970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2971 file.
2972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2973 file.
2974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2975 multiarch isnan for PowerPC32.
2976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2977 New file.
2978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2979 New file.
2980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2981 multiarch isnanf for PowerPC32.
2982
ddba588e
AZ
29832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2984
2985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2986 and sqrtf multiarch implementations.
2987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2988 file.
2989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2990 file.
2991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2992 multiarch sqrt for PowerPC32.
2993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2994 file.
2995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2996 file.
2997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2998 multiarch sqrtf for PowerPC32.
2999
0f96a2f0
AZ
30002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3001
3002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3003 and llroundf multiarch implementations.
3004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3005 New file.
3006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3007 New file.
3008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3009 New file.
3010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3011 file: multiarch llround for PowerPC32.
3012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3013 file: multiarch llroundf for PowerPC32.
3014
c9b5d79e
AZ
30152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3016
3017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3018 multiarch PowerPC32 fpu implementations.
3019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3020 New file.
3021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3022 New file.
3023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3024 multiarch llrint for PowerPC32.
3025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3026 New file.
3027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3028 New file.
3029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3030 file.
3031
9cbb3aab
AZ
30322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3033
3034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3035
ea5a72f8
AZ
30362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037
3038 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3039 file.
3040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3041 file.
3042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3043 file.
3044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3045 multiarch wordcopy for PPC32.
3046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3047 wordcopy objects.
3048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3049 (__libc_ifunc_impl_list): Likewise.
3050 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3051 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3053 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3054 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3055 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3056
93be09e7
AZ
30572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3058
3059 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3061 file.
3062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3063 file.
3064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3065 file.
3066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3067 multiarch wcscpy for PPC32.
3068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3069 multiarch objects.
3070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3071 (__libc_ifunc_impl_list): Likewise.
3072 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3073 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3074 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3075 sysdeps/powerpc/power6/wcscpy.c.
3076
bb04e529
AZ
30772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3078
3079 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3081 file.
3082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3083 file.
3084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3085 file.
3086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3087 multiarch wcsrchr for PPC32.
3088 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3089 multiarch objects.
3090 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3091 (__libc_ifunc_impl_list): Likewise.
3092 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3093 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3094 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3095 sysdeps/powerpc/power6/wcsrchr.c.
3096
05b5cd1c
AZ
30972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098
3099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3100 file.
3101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3102 file.
3103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3105 multiarch wcschr for PPc32.
3106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3107 multiarch objects.
3108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3109 (__libc_ifunc_impl_list): Likewise.
3110 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3111 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3112 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3113 sysdeps/powerpc/power6/wcschr.c.
3114
ba964147
AZ
31152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3116
3117 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3118 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3119 file.
3120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3121 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3122 file: multiarch strchr for PPC32.
3123 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3124 multiarch objects.
3125 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3126 (__libc_ifunc_impl_list): Likewise.
3127
31c81aaa
AZ
31282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3129
3130 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3131 name.
3132 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3133 file.
3134 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3135 file.
3136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3137 multiarch strchrnul for PPC32.
3138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3139 multiarch objects.
3140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3141 (__libc_ifunc_impl_list): Likewise.
3142
0d0607d9
AZ
31432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3144
3145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3146 file.
3147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3148 multiarch strncasecmp for PPC32.
3149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3150 file.
3151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3152 multiarch strncasecmp_l for PPC32.
3153 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3154 strncasecmp multiarch objects.
3155 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3156 (__libc_ifunc_impl_list): Likewise.
3157
4dfd5c86
AZ
31582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3159
3160 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3161 file.
3162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3163 multiarch strncasecmp for PPC32.
3164 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3165 New file.
3166 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3167 multiarch strcasecmp_l for PPC32.
3168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3169 multiarch objects.
3170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3171 (__libc_ifunc_impl_list): Likewise.
3172
a19e01a3
AZ
31732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3174
3175 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3176 file.
3177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3178 file.
3179 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3180 multiarch strncmp for PPC32.
3181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3182 multiarch objects.
3183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3184 (__libc_ifunc_impl_list): Likewise.
3185
ae9cf7a2
AZ
31862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3187
3188 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3189 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3190 file.
3191 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3192 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3194 multiarch objects.
3195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3196 (__libc_ifunc_impl_list): Likewise.
3197
3148bb7d
AZ
31982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3199
3200 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3201 file.
3202 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3203 file.
3204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3206 multiarch objects.
3207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3208 (__libc_ifunc_impl_list): Likewise.
3209
7af8b946
AZ
32102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3211
3212 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3213 file.
3214 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3215 file.
3216 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3217 multiarch rawmemchr for PPC32.
3218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3219 multiarch objects.
3220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3221 (__libc_ifunc_impl_list): Likewise.
3222
03a6aa6a
AZ
32232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3224
3225 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3226 file.
3227 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3228 file.
3229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3230 file: memrchr multiarch for PPC32.
3231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3232 multiarch objects.
3233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3234 (__libc_ifunc_impl_list): Likewise.
3235
1c62e6d9
AZ
32362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3237
3238 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3239 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3240 file.
3241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3242 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3243 multiarch memchr for PPC32.
3244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3245 multiarch objects.
3246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3247 (__libc_ifunc_impl_list): Likewise.
3248
87da8bdb
AZ
32492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250
3251 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3252 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3253 file.
3254 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3255 file.
3256 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3257 file: multiarch mempcpy for PPC32.
3258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3259 multiarch objects.
3260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3261 (__libc_ifunc_impl_list): Likewise.
3262
20ed4714
AZ
32632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3264
3265 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3266 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3267 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3268 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3269 multiarch bzero for PPC32.
3270 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3271 file.
3272 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3273 file.
3274 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3275 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3276 file: multiarch memset for PPC32.
3277 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3279 memset multiarch objects.
3280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3281 (__libc_ifunc_impl_list): Likewise.
3282
ab3e3a46
AZ
32832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3284
3285 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3286 file.
3287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3288 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3289 memcmp for PPC32.
3290 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3292 multiarch objects.
3293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3294 (__libc_ifunc_impl_list): Likewise.
3295
930de6f0
AZ
32962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297
3298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3301 file.
3302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3303 file.
3304 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3305 file.
3306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3307 multiarch memcpy for PPC32.
3308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3309 multiarch objects.
3310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3311 (__libc_ifunc_impl_list): Likewise.
3312
4c628e00
AZ
33132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3314
3315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3316 support multiarch for POWER/PPC32.
3317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3318 Likewise.
3319 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3321 Implies file to make multiarch folder appers before the fpu and
3322 default folder for power4 configuration.
3323
f4479220
SP
33242013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
3326 * scripts/bench.pl: Append volatile keyword to type.
3327
8517800f
KK
33282013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3329
3330 * sysdeps/sh/sotruss-lib.c: New file.
3331 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3332
180138f1
AZ
33332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3334
3335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3336
bbf37bdc
JM
33372013-12-05 Joseph Myers <joseph@codesourcery.com>
3338
e47cc4e0
JM
3339 [BZ #6810]
3340 * math/w_tgamma.c: Include <errno.h>.
3341 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3342 * math/w_tgammaf.c: Include <errno.h>.
3343 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3344 * math/w_tgammal.c: Include <errno.h>.
3345 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3346 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3347 underflow. Add more tgamma tests.
3348 * math/auto-libm-test-out: Regenerated.
3349 * sysdeps/i386/fpu/libm-test-ulps: Update.
3350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3351
bbf37bdc
JM
3352 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3353 sin, sinh, tan, tanh, tgamma, y0 and y1.
3354 * math/auto-libm-test-out: Regenerated.
3355 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3356 (TEST_COND_x86): Likewise.
3357 (M_E2l): Remove macro.
3358 (M_E3l): Likewise.
3359 (M_2_SQRT_PIl): Likewise.
3360 (M_SQRT_PIl): Likewise.
3361 (M_1_DIV_El): Likewise.
3362 (log_test_data): Use AUTO_TESTS_f_f.
3363 (log10_test_data): Likewise.
3364 (log1p_test_data): Likewise.
3365 (log2_test_data): Likewise.
3366 (sin_test_data): Likewise.
3367 (sin_tonearest_test_data): Likewise.
3368 (sin_towardzero_test_data): Likewise.
3369 (sin_downward_test_data): Likewise.
3370 (sin_upward_test_data): Likewise.
3371 (sinh_test_data): Likewise.
3372 (sinh_tonearest_test_data): Likewise.
3373 (sinh_towardzero_test_data): Likewise.
3374 (sinh_downward_test_data): Likewise.
3375 (sinh_upward_test_data): Likewise.
3376 (tan_test_data): Likewise.
3377 (tan_tonearest_test_data): Likewise.
3378 (tan_towardzero_test_data): Likewise.
3379 (tan_downward_test_data): Likewise.
3380 (tan_upward_test_data): Likewise.
3381 (tanh_test_data): Likewise.
3382 (tgamma_test_data): Likewise.
3383 (y0_test_data): Likewise.
3384 (y1_test_data): Likewise.
3385 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3386 (special_real_inputs): Add pi/4.
3387 * sysdeps/i386/fpu/libm-test-ulps: Update.
3388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3389
eb5ad6b9
AZ
33902013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3391
3392 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3393 "longjmp_target" static probes.
3394 (__longjmp): Rename to __longjmp_symbol.
3395 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3396 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3397 on which longjmp to generate.
3398 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3399 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3400 probe.
3401 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3402 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3403 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3404 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3405 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3406 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3408 __longjmp_symbol based on which __longjmp to generate.
3409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3410 probe.
3411 (setjmp): Rename to setjmp_symbol.
3412 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3413 (_setjmp): Rename to _setjmp_symbol.
3414 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3415 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3416 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3417 which setjmp to generate.
3418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3419 "longjmp_target" static probes.
3420
d136c6dc
SP
34212013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
9298ecba
SP
3423 * benchtests/README: Add note about output arguments.
3424 * benchtests/bench-sincos.c: Remove file.
3425 * benchtests/sincos-inputs: New file.
3426 * scripts/bench.pl: Identify output arguments and define
3427 static variables for them.
3428
232983e9
SP
3429 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3430
d136c6dc
SP
3431 [BZ #15941]
3432 * Makefile (INSTALL): Add install-plain.texi as the primary
3433 dependency.
3434 * manual/install-plain.texi: New file.
3435 * manual/install.texi: Include node directive only for
3436 non-plaintext output.
3437
699ff837
JM
34382013-12-04 Joseph Myers <joseph@codesourcery.com>
3439
ab07cea8
JM
3440 * stdlib/longlong.h: Update from GCC.
3441
699ff837
JM
3442 [BZ #6807]
3443 [BZ #15901]
3444 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3445 * math/w_j0f.c (y0f): Likewise.
3446 * math/w_j0l.c (__y0l): Likewise.
3447 * math/w_j1.c (y1): Likewise.
3448 * math/w_j1f.c (y1f): Likewise.
3449 * math/w_j1l.c (__y1l): Likewise
3450 * math/w_jn.c (yn): Likewise.
3451 * math/w_jnf.c (ynf): Likewise.
3452 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3453 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3454 value for Bessel function domain errors outside _SVID_ mode.
3455 Adjust sign of return value for yn (negative integer, 0).
3456 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3457 by zero in return for negative x and set sign appropriately for
3458 negative n.
3459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3461 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3462 expectations in error cases.
3463 (y1_test_data): Likewise.
3464 (yn_test_data): Likewise.
3465 * sysdeps/i386/fpu/libm-test-ulps: Update.
3466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3467
5b118558
UW
34682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3469
3470 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3471 "64" to "64-v1". Add "64-v2".
3472 (abi-64-options): Rename to ...
3473 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3474 (abi-64-condition): Rename to ...
3475 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3476 (abi-64-ld-soname): Rename to ...
3477 (abi-64-v1-ld-soname): ... this.
3478 (abi-64-v2-options): Define.
3479 (abi-64-v2-condition): Likewise.
3480 (abi-64-v2-ld-soname): Likewise.
3481 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3482 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3486
61cd8fe4
UW
34872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3488 Alan Modra <amodra@gmail.com>
3489
3490 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3491 New versions for use with the ELFv2 ABI.
3492 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3493 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3494 declaration.
3495 (struct La_ppc64v2_retval): Likewise.
3496 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3497 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3498 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3499 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3500 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3501 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3502 Do not save or restore CR.
3503 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3504 (_dl_profile_resolve): Do no save or restore CR. Support extended
3505 return values for ELFv2 ABI. Fix location of FPR return registers.
3506 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3507 updated values for _CALL_ELF == 2.
3508 (La_regs, La_retval, int_retval): Likewise.
3509
8b8a692c
UW
35102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3511
3512 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3513 (FRAME_MIN_SIZE_PARM): Likewise.
3514 (FRAME_BACKCHAIN): Likewise.
3515 (FRAME_CR_SAVE): Likewise.
3516 (FRAME_LR_SAVE): Likewise.
3517 (FRAME_TOC_SAVE): Likewise.
3518 (FRAME_PARM_SAVE): Likewise.
3519 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3520 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3521 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3522 (call_mcount_parm_offset): New macro.
3523 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3524 (PROF): Use symbolic stack frame offsets.
3525 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3526 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3527 Redefine in terms of FRAME_MIN_SIZE.
3528 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3529 (_dl_profile_resolve): Likewise. Update comment.
3530 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3531 symbols stack frame offsets.
3532 (__sigsetjmp): Likewise.
3533 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3534 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3535 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3536 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3537
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3539 (FRAME_BACKCHAIN): Remove.
3540 (FRAME_CR_SAVE): Likewise.
3541 (FRAME_LR_SAVE): Likewise.
3542 (FRAME_COMPILER_DW): Likewise.
3543 (FRAME_LINKER_DW): Likewise.
3544 (FRAME_TOC_SAVE): Likewise.
3545 (FRAME_PARM_SAVE): Likewise.
3546 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3547 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3548 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3550 (CHECK_SP): Use symbolic stack frame offsets.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3552 zone" instead of caller's parameter save area for temp storage.
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3554 Likewise. Also, use symbolic stack frame offsets.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3556 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3557 our own stack frame instead of the caller's.
3558 (__socket): Use symbolic stack frame offsets.
3559
122b66de
UW
35602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3561 Alan Modra <amodra@gmail.com>
3562
3563 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3564 Define.
3565 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3566 PPC64_LOCAL_ENTRY_OFFSET): Define.
3567 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3568 New function.
3569 (elf_machine_fixup_plt): Call it.
3570 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3571 reloc arguments.
3572 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
3573 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3574 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
3575 r2 before calling target.
3576
696caf1d
UW
35772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3578 Alan Modra <amodra@gmail.com>
3579
3580 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3581 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3582 versions of macros to support ELFv2 ABI.
3583 (LOCALENTRY): New macro.
3584 (ENTRY, EALIGN): Use it.
3585 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3586 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3587 fall through into ENTRY entry point.
3588 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3589 Only define if _CALL_ELF != 2.
3590
3591 (elf_machine_matches_host): Verify ABI version matches.
3592 (RTLD_START): Use LOCALENTRY.
3593 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3594 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3595 (PLT_ENTRY_WORDS): New macro.
3596 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3597 (elf_machine_runtime_setup): Support ELFv2 ABI.
3598 (elf_machine_fixup_plt): Likewise.
3599 (elf_machine_plt_conflict): Likewise.
3600 (resolve_ifunc): Likewise.
3601 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3603 Likewise.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3605 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3607 (makecontext): Support ELFv2 ABI.
3608 * elf/elf.h (EF_PPC64_ABI): Define.
3609
d31beafa
UW
36102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3611
3612 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3613 New assembler macro.
3614 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3615 [ASSEMBLER] (ENTRY): ... but instead here ...
3616 [ASSEMBLER] (EALIGN): ... and here.
3617 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3618 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3619 [!ASSEMBLER] (ENTRY_2): Use it.
3620 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3621 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3622 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3623 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3624 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3626 Use PPC64_LOAD_FUNCPTR.
3627
b525166b
UW
36282013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3629
3630 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3631
7ec07d9a
AM
36322013-12-04 Alan Modra <amodra@gmail.com>
3633
3634 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3635 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3636 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3637 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3638
3639 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3640 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3641 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3642 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3643 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3644 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3645
5162e7dd
UW
36462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3647
3648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3649 (__makecontext): Fix incorrect CFI when backtracing out of
3650 context created via makecontext.
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3652 (__setcontext): Fix incorrect CFI during switch to new context.
3653 (__novec_setcontext): Likewise.
3654
19e3372b
OB
36552013-12-04 Ondřej Bílka <neleai@seznam.cz>
3656
3657 [BZ #4772]
3658 * time/strptime_l.c (__strptime_internal): Allow modifiers
3659 in strptime.
3660 * time/tst-strptime.c (day_tests): Add testcase.
3661
3662
ecaf142d
SP
36632013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
3665 * scripts/bench.pl: Skip over blank lines.
3666
fbf964ae
PE
36672013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3668
3669 [BZ #926]
3670 * manual/time.texi (Calendar Time): Clarify what timezone functions
3671 use.
3672
fa60a674
AZ
36732013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3674
3675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3676
d674f0ef
OB
36772013-12-04 Ondřej Bílka <neleai@seznam.cz>
3678
3679 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3680 implementation.
3681 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3682 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3683 * debug/memset_chk.c (__memset_chk): Likewise.
3684 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3685 * debug/strncpy_chk.c: Likewise.
3686
17dea188
JM
36872013-12-03 Joseph Myers <joseph@codesourcery.com>
3688
749008ff
JM
3689 [BZ #15268]
3690 [BZ #15425]
3691 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3692 (__ieee754_exp): For possibly underflowing results, check size of
3693 result and force underflow exception if required.
3694 * math/auto-libm-test-in: Add more tests of exp.
3695 * math/auto-libm-test-out: Regenerated.
3696 * sysdeps/i386/fpu/libm-test-ulps: Update.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3698
17dea188
JM
3699 [BZ #16283]
3700 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3701 * math/w_exp2f.c (__exp2f): Likewise.
3702 * math/w_exp2l.c (__exp2l): Likewise.
3703 * math/auto-libm-test-in: Do not allow missing errno on exp2
3704 underflow.
3705 * math/auto-libm-test-out: Regenerated.
3706
b20de2c3
OB
37072013-12-03 Ondřej Bílka <neleai@seznam.cz>
3708
3709 [BZ #16274]
3710 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3711 handle filename validation.
3712 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3713 (do_open): Delete.
3714
d8e2dbe3
JM
37152013-12-03 Joseph Myers <joseph@codesourcery.com>
3716
34e16df5
JM
3717 [BZ #6786]
3718 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3719 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3720 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3721 <float.h>.
3722 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3723 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3724 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3726 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3729 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3730 Add more erfc tests.
3731 * math/auto-libm-test-out: Regenerated.
3732 * sysdeps/i386/fpu/libm-test-ulps: Update.
3733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3734
d8e2dbe3
JM
3735 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3736 exp2, expm1, j0 and j1.
3737 * math/auto-libm-test-out: Regenerated.
3738 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3739 (erfc_test_data): Likewise.
3740 (exp_test_data): Likewise.
3741 (exp_tonearest_test_data): Likewise.
3742 (exp_towardzero_test_data): Likewise.
3743 (exp_downward_test_data): Likewise.
3744 (exp_upward_test_data): Likewise.
3745 (exp10_test_data): Likewise.
3746 (exp2_test_data): Likewise.
3747 (expm1_test_data): Likewise.
3748 (j0_test_data): Likewise.
3749 (j1_test_data): Likewise.
3750 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3751 (input_flag_type): Add flag_xfail_rounding.
3752 (input_flags): Add xfail-rounding.
3753 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3754 (output_for_one_input_case): Handle flag_xfail_rounding.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757
18d14251
AJ
37582013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3759
3d2e6075 3760 [BZ #16289]
18d14251
AJ
3761 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3762 division by 0.
3763
520d437b
SP
37642013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3765
3766 [BZ #16195]
3767 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3768 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3769 (STAP_PROBE0): New macro.
3770 (STAP_PROBE1): Likewise.
3771 (STAP_PROBE2): Likewise.
3772 (STAP_PROBE3): Likewise.
3773 (STAP_PROBE4): Likewise.
3774
416e0145
OB
37752013-12-02 Ondřej Bílka <neleai@seznam.cz>
3776
3777 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3778
9d17796a
SE
37792013-12-02 Steve Ellcey <sellcey@mips.com>
3780
3781 * benchtests/Makefile (bench): Add sqrt.
3782 (LDLIBS-bench-sqrt): New.
3783 * benchtests/sqrt-input: New.
3784
f524d6a8
PS
37852013-12-02 Pavel Simerda <psimerda@redhat.com>
3786
639a0ef8
PS
3787 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3788 (GAIH_EAI): Likewise.
3789 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3790 (gaih_inet): Likewise.
3791 (getaddrinfo): Don't use GAIH_EAI.
3792
f524d6a8
PS
3793 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3794 (struct gaih): Remove definition.
3795
df3aedaf
SP
37962013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3797
3798 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3799 Use HERRNOP directly.
3800
1ab19dec
AZ
38012013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3802
b42ad38d 3803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 3804
176b0c79
JM
38052013-11-30 Joseph Myers <joseph@codesourcery.com>
3806
3807 * math/gen-auto-libm-tests.c (test_functions): Add more
3808 single-argument functions.
3809 (special_fill_pi_2): New function.
3810 (special_fill_minus_pi_2): Likewise.
3811 (special_fill_pi_6): Likewise.
3812 (special_fill_minus_pi_6): Likewise.
3813 (special_fill_pi_3): Likewise.
3814 (special_fill_2pi_3): Likewise.
3815 (special_fill_e): Likewise.
3816 (special_fill_1_e): Likewise.
3817 (special_fill_e_minus_1): Likewise.
3818 (special_real_inputs): Add more special inputs.
3819 (output_for_one_input_case): Do not require ERANGE on underflow to
3820 zero if round-to-nearest result does not underflow to zero, unless
3821 exact results required.
3822 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3823 atan, atanh, cbrt, cos and cosh.
3824 * math/auto-libm-test-out: Regenerated.
3825 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3826 (acos_tonearest_test_data): Likewise.
3827 (acos_towardzero_test_data): Likewise.
3828 (acos_downward_test_data): Likewise.
3829 (acos_upward_test_data): Likewise.
3830 (acosh_test_data): Likewise.
3831 (asin_test_data): Likewise.
3832 (asin_tonearest_test_data): Likewise.
3833 (asin_towardzero_test_data): Likewise.
3834 (asin_upward_test_data): Likewise.
3835 (asinh_test_data): Likewise.
3836 (atan_test_data): Likewise.
3837 (atanh_test_data): Likewise.
3838 (cbrt_test_data): Likewise.
3839 (cos_test_data): Likewise.
3840 (cos_tonearest_test_data): Likewise.
3841 (cos_towardzero_test_data): Likewise.
3842 (cos_downward_test_data): Likewise.
3843 (cos_upward_test_data): Likewise.
3844 (cosh_test_data): Likewise.
3845 (cosh_tonearest_test_data): Likewise.
3846 (cosh_towardzero_test_data): Likewise.
3847 (cosh_downward_test_data): Likewise.
3848 (cosh_upward_test_data): Likewise.
3849 * sysdeps/i386/fpu/libm-test-ulps: Update.
3850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3851
ffb536d0
JM
38522013-11-29 Joseph Myers <joseph@codesourcery.com>
3853
2a77a467
JM
3854 [BZ #6787]
3855 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3856 * math/w_exp10f.c (__exp10f): Likewise.
3857 * math/w_exp10l.c (__exp10l): Likewise.
3858 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3859 errno settings in existing tests.
3860
ea3bc4e8
JM
3861 [BZ #14032]
3862 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3863 precision control set to double precision.
3864 * sysdeps/i386/fpu/w_sqrt.c: New file.
3865 * math/auto-libm-test-in: Add more tests.
3866 * math/auto-libm-test-out: Update.
3867
0712c9d8
JM
3868 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3869 (sqrt_test_tonearest): New function.
3870 (sqrt_towardzero_test_data): New variable.
3871 (sqrt_test_towardzero): New function.
3872 (sqrt_downward_test_data): New variable.
3873 (sqrt_test_downward): New function.
3874 (sqrt_upward_test_data): New variable.
3875 (sqrt_test_upward): New function.
3876 (main): Call the new functions.
3877
ffb536d0
JM
3878 * math/gen-auto-libm-tests.c: New file.
3879 * math/auto-libm-test-in: Likewise.
3880 * math/auto-libm-test-out: New generated file.
3881 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3882 variables.
3883 (%beautify): Add generated representations of zero.
3884 (top level): Set $auto_input and call parse_auto_input.
3885 (beautify): Remove trailing "f" from hex float constants.
3886 (parse_args): Handle XFAIL_TEST.
3887 (convert_condition): New function.
3888 (or_value): Likewise.
3889 (or_cond_value): Likewise.
3890 (generate_testfile): Handle AUTO_TESTS_* lines.
3891 (parse_auto_input): New function.
3892 * math/libm-test.inc (XFAIL_TEST): New macro.
3893 (ERRNO_UNCHANGED): Update value.
3894 (ERRNO_EDOM): Likewise.
3895 (ERRNO_ERANGE): Likewise.
3896 (IGNORE_RESULT): Likewise.
3897 (TEST_COND_flt_32): New macro.
3898 (TEST_COND_dbl_64): Likewise.
3899 (TEST_COND_ldbl_96_intel): Likewise.
3900 (TEST_COND_ldbl_96_m68k): Likewise.
3901 (TEST_COND_ldbl_128): Likewise.
3902 (TEST_COND_ldbl_128ibm): Likewise.
3903 (TEST_COND_long32): Likewise.
3904 (TEST_COND_long64): Likewise.
3905 (TEST_COND_before_rounding): Likewise.
3906 (TEST_COND_after_rounding): Likewise.
3907 (enable_test): Handle XFAIL_TEST flag.
3908 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3909 with finite results.
3910 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3911 auto-libm-test-out.
3912
acd98a8e
AK
39132013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3914 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3915
3916 [BZ #16214]
3917 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3918 __tls_get_addr_internal instead of __tls_get_offset in order to
3919 avoid GOT pointer dependency. Make rtld export
3920 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3921 __tls_get_addr since we are a __tls_get_offset platform.
3922 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3923 GOT pointer being set up before.
3924 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3925
3c1c46a6
JM
39262013-11-28 Joseph Myers <joseph@codesourcery.com>
3927
7475aef5
JM
3928 * manual/math.texi (Errors in Math Functions): Document accuracy
3929 goals.
3930
8bca7cd8
JM
3931 [BZ #15004]
3932 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3933 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3936 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3938 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3948
91a1f3fe
JM
3949 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3950 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3951 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3952 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3953 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3954 Likewise.
3955 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3956 Likewise.
3957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3958 Likewise.
3959 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3960 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3961 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3962 atomic-feupdateenv and flt-rounds.
3963 * sysdeps/powerpc/nofpu/Versions (libc): Add
3964 __atomic_feholdexcept, __atomic_feclearexcept,
3965 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3966 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3967 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3968 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3969 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3970 here.
3971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3972 Update.
3973
c5df7609
JM
3974 * manual/arith.texi (FP Exceptions): Document that exceptions may
3975 not be raised when matherr is used.
3976 (Math Error Reporting): Document overflow in directed rounding
3977 modes. Document that errno may not be set when finite values are
3978 returned on overflow. Document intent to set errno on underflow
3979 only for underflow to zero.
3980
3c1c46a6
JM
3981 [BZ #16271]
3982 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3983 round-to-nearest then adjust result for other rounding modes.
3984 * include/fenv.h (fegetround): Use libm_hidden_proto.
3985 * math/fegetround.c (fegetround): Use libm_hidden_def.
3986 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3987 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3988 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3989 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3990 Likewise.
3991 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3992 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3993 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3994 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3995
5a4c6d53
SP
39962013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3997
3998 [BZ #16077]
3999 * nss/Versions (libnss_files): Add
4000 _nss_files_gethostbyname3_r.
4001 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4002 New function.
4003 (HOST_DB_LOOKUP): Remove macro.
4004 (_nss_files_gethostbyname_r): Implement function without the
4005 HOST_DB_LOOKUP macro.
4006 (_nss_files_gethostbyname2_r): Likewise.
4007
897b98ba
OB
40082013-11-28 Ondřej Bílka <neleai@seznam.cz>
4009
4010 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4011
6f476861
UB
40122013-11-26 Uros Bizjak <ubizjak@gmail.com>
4013
4014 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4015 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4016 warning.
4017
bd12ab55
AZ
40182013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4019
4020 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4021 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4022 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4023 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4024 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4025 __fe_nomask_env_priv and attribute_hidden.
4026 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4027 (libc_feupdateenv_test_ppc): Likewise.
4028 (libc_feresetround_ppc): Likewise.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4030 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4031 compat_symbol macro.
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4033 (__fe_nomask_env): Likewise.
4034 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4035
52bb6543
OB
40362013-11-26 Ondřej Bílka <neleai@seznam.cz>
4037
4038 * string/Makefile: Remove ifunc tests.
4039 * string/test-string.h: Define TEST_IFUNC.
4040 * string/test-bcopy-ifunc.c: Remove.
4041 * string/test-bzero-ifunc.c: Likewise.
4042 * string/test-memccpy-ifunc.c: Likewise.
4043 * string/test-memchr-ifunc.c: Likewise.
4044 * string/test-memcmp-ifunc.c: Likewise.
4045 * string/test-memcpy-ifunc.c: Likewise.
4046 * string/test-memmem-ifunc.c: Likewise.
4047 * string/test-memmove-ifunc.c: Likewise.
4048 * string/test-mempcpy-ifunc.c: Likewise.
4049 * string/test-memrchr-ifunc.c: Likewise.
4050 * string/test-memset-ifunc.c: Likewise.
4051 * string/test-rawmemchr-ifunc.c: Likewise.
4052 * string/test-stpcpy-ifunc.c: Likewise.
4053 * string/test-stpncpy-ifunc.c: Likewise.
4054 * string/test-strcasecmp-ifunc.c: Likewise.
4055 * string/test-strcasestr-ifunc.c: Likewise.
4056 * string/test-strcat-ifunc.c: Likewise.
4057 * string/test-strchr-ifunc.c: Likewise.
4058 * string/test-strchrnul-ifunc.c: Likewise.
4059 * string/test-strcmp-ifunc.c: Likewise.
4060 * string/test-strcpy-ifunc.c: Likewise.
4061 * string/test-strcspn-ifunc.c: Likewise.
4062 * string/test-strlen-ifunc.c: Likewise.
4063 * string/test-strncasecmp-ifunc.c: Likewise.
4064 * string/test-strncat-ifunc.c: Likewise.
4065 * string/test-strncmp-ifunc.c: Likewise.
4066 * string/test-strncpy-ifunc.c: Likewise.
4067 * string/test-strnlen-ifunc.c: Likewise.
4068 * string/test-strpbrk-ifunc.c: Likewise.
4069 * string/test-strrchr-ifunc.c: Likewise.
4070 * string/test-strspn-ifunc.c: Likewise.
4071 * string/test-strstr-ifunc.c: Likewise.
4072
ab260039 40732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4074
4075 * benchtests/Makefile: Remove ifunc tests.
4076 * benchtests/bench-string.h: Define TEST_IFUNC.
4077 * benchtests/bench-bcopy-ifunc.c: Remove.
4078 * benchtests/bench-bzero-ifunc.c: Likewise.
4079 * benchtests/bench-memccpy-ifunc.c: Likewise.
4080 * benchtests/bench-memchr-ifunc.c: Likewise.
4081 * benchtests/bench-memcmp-ifunc.c: Likewise.
4082 * benchtests/bench-memcpy-ifunc.c: Likewise.
4083 * benchtests/bench-memmem-ifunc.c: Likewise.
4084 * benchtests/bench-memmove-ifunc.c: Likewise.
4085 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4086 * benchtests/bench-memrchr-ifunc.c: Likewise.
4087 * benchtests/bench-memset-ifunc.c: Likewise.
4088 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4089 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4090 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4091 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4092 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4093 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4094 * benchtests/bench-strcat-ifunc.c: Likewise.
4095 * benchtests/bench-strchr-ifunc.c: Likewise.
4096 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4097 * benchtests/bench-strcmp-ifunc.c: Likewise.
4098 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4099 * benchtests/bench-strcpy-ifunc.c: Likewise.
4100 * benchtests/bench-strcspn-ifunc.c: Likewise.
4101 * benchtests/bench-strlen-ifunc.c: Likewise.
4102 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4103 * benchtests/bench-strncat-ifunc.c: Likewise.
4104 * benchtests/bench-strncmp-ifunc.c: Likewise.
4105 * benchtests/bench-strncpy-ifunc.c: Likewise.
4106 * benchtests/bench-strnlen-ifunc.c: Likewise.
4107 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4108 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4109 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4110 * benchtests/bench-strspn-ifunc.c: Likewise.
4111 * benchtests/bench-strstr-ifunc.c: Likewise.
4112
41132013-11-26 Ondřej Bílka <neleai@seznam.cz>
4114
ab260039
OB
4115 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4116
d1d9eaf4 41172013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4118
d1d9eaf4
OB
4119 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4120 * rt/aio.h: Likewise.
4121 * sysdeps/gnu/bits/utmp.h: Likewise.
4122 * sysdeps/gnu/bits/utmpx.h: Likewise.
4123 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4124 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4125 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4126 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4127 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4128 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4129 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4130 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4131 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4132 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4133 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4134 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4135 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4137 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4138 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4139 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4140 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4141 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4142 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4143 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4144 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4145 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4146 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4147 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4149 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4150 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4151 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4152 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4153 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4154 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4155 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4158 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4159 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4160 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4161 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4162 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4163 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4164 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4165
a7624ed9
CD
41662013-11-25 Carlos O'Donell <carlos@redhat.com>
4167
4168 [BZ #16245]
4169 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4170 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4171
63cfe52b
JM
41722013-11-25 Joseph Myers <joseph@codesourcery.com>
4173
4174 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4175 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4176 Likewise.
4177
41e8926a
AZ
41782013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4179
4180 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4181 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4182 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4183 (__fesetround): Remove define.
4184 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4185 rounding and exceptions handling.
4186 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4187 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4188 (__fe_nomask_env): Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4190 __fegetround instead of fegetround.
4191 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4193
6851bd4d
RM
41942013-11-21 Roland McGrath <roland@hack.frob.com>
4195
070906ff
RM
4196 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4197 it's there.
4198
6851bd4d
RM
4199 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4200
84ae135d
MI
42012013-11-21 Meador Inge <meadori@codesourcery.com>
4202
4203 [BZ #11157]
4204 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4205 (encrypt_r): Likewise.
4206 * malloc/obstack.h (obstack_free): Likewise.
4207 * posix/unistd.h (encrypt): Likewise.
4208
daf75146
GM
42092013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4210
4211 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4212 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4213 DL_CALL_DT_FINI() that call the functions directly.
4214 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4215 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4216 * elf/dl-fini.c: Likewise.
4217
10ad46bc
OB
42182013-11-20 Ondřej Bílka <neleai@seznam.cz>
4219
4220 * malloc/hooks.c (memalign_check): Add alignment rounding.
4221 * malloc/malloc.c (_mid_memalign): New function.
4222 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4223 Implement by calling _mid_memalign.
4224 * manual/probes.texi (Memory Allocation Probes): Remove
4225 memory_valloc_retry and memory_pvalloc_retry.
4226
f3fd2628
SP
42272013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4228
4712799f
SP
4229 * locale/programs/locarchive.c (open_archive): Add const
4230 qualifier to ARCHIVEFNAME and copy default fname to
4231 DEFAULT_FNAME.
4232
0417b20f
SP
4233 [BZ #15601]
4234 * libio/tst-widetext.input: Rename Oriya to Odia.
4235 * locale/iso-639.def: Likewise.
4236
f3fd2628
SP
4237 * manual/probes.texi (Mathematical Function Probes): Add
4238 documentation for sin, cos, asin and acos probes.
4239 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4240 (__sin32): Add slowasin probe.
4241 (__cos32): Add slowacos probe.
4242 (__mpsin): Add slowsin probe.
4243 (__mpcos): Add slowcos probe.
4244
73c1ce4f
JM
42452013-11-19 Joseph Myers <joseph@codesourcery.com>
4246
4247 [BZ #15483]
4248 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4249 thread-local __sim_exceptions_thread and global
4250 __sim_exceptions_global.
4251 (__sim_disabled_exceptions): Change to thread-local
4252 __sim_disabled_exceptions_thread and global
4253 __sim_disabled_exceptions_global.
4254 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4255 and global __sim_round_mode_global.
4256 (__simulate_exceptions): Use thread-local floating-point state and
4257 set global state from it as needed.
4258 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4259 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4260 __sim_round_mode_thread.
4261 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4262 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4263 and global __sim_exceptions_global.
4264 (__sim_disabled_exceptions): Change to thread-local
4265 __sim_disabled_exceptions_thread and global
4266 __sim_disabled_exceptions_global.
4267 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4268 and global __sim_round_mode_global.
4269 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4270 (SIM_SET_GLOBAL): Likewise.
4271 * sysdeps/powerpc/soft-fp/sfp-machine.h
4272 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4273 __sim_round_mode_thread.
4274 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4275 __sim_disabled_exceptions_thread.
4276 (__sim_exceptions): Change to __sim_exceptions_thread.
4277 (__sim_disabled_exceptions): Change to
4278 __sim_disabled_exceptions_thread.
4279 (__sim_round_mode): Change to __sim_round_mode_thread.
4280 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4281 thread-local floating-point state and set global state from it as
4282 needed.
4283 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4284 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4285 (__sim_disabled_exceptions): Remove extern declaration.
4286 (feenableexcept): Use thread-local floating-point state and set
4287 global state from it as needed.
4288 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4289 extern declaration.
4290 (__sim_disabled_exceptions): Likewise.
4291 (__sim_round_mode): Likewise.
4292 (__fegetenv): Use thread-local floating-point state.
4293 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4294 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4295 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4296 floating-point state and set global state from it as needed.
4297 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4298 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4299 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4300 Likewise.
4301 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4302 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4303 Likewise.
4304 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4305 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4306 Use __sim_round_mode_thread.
4307 * math/test-fenv-tls.c: New file.
4308 * math/Makefile (tests): Add test-fenv-tls.
4309 ($(objpfx)test-fenv-tls): Depend on
4310 $(common-objpfx)nptl/libpthread.so.
4311
b5449b12
AS
43122013-11-19 Andreas Schwab <schwab@suse.de>
4313
4314 * locale/programs/locale.c (show_info): Decode wordarray elements.
4315 * locale/categories.def (LC_MONETARY): Add element for
4316 _NL_MONETARY_CRNCYSTR.
4317 * locale/C-monetary.c (conversion_rate): New variable.
4318 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4319 element.
4320
e186536b
CM
43212013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4322
4323 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4324 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4325
5c349950
PP
43262013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4327
4328 * elf/Makefile (tst-auxv): New test.
4329 * elf/tst-auxv.c: New
4330 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4331
699df45b
JM
43322013-11-18 Joseph Myers <joseph@codesourcery.com>
4333
4334 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4335 (hidden_proto): Caller changed.
4336 (hidden_tls_proto): New macro.
4337 (libc_hidden_tls_proto): Likewise.
4338 (rtld_hidden_tls_proto): Likewise.
4339 (libm_hidden_tls_proto): Likewise.
4340 (libresolv_hidden_tls_proto): Likewise.
4341 (librt_hidden_tls_proto): Likewise.
4342 (libdl_hidden_tls_proto): Likewise.
4343 (libnss_files_hidden_tls_proto): Likewise.
4344 (libnsl_hidden_tls_proto): Likewise.
4345 (libnss_nisplus_hidden_tls_proto): Likewise.
4346 (libutil_hidden_tls_proto): Likewise.
4347
b7589107
OB
43482013-11-18 Ondřej Bílka <neleai@seznam.cz>
4349
4350 [BZ #10253]
4351 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4352 (decompose_rpath): Defer expansion to fillin_rpath.
4353 (_dl_init_paths): Pass linkmap to fillin_rpath.
4354
250c23bd
RS
43552013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4356
4357 * benchtests/Makefile: Add strsep.
4358 * benchtests/bench-strsep.c: New file: strsep benchtest.
4359 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4360
a7931fcf
AS
43612013-11-18 Andreas Schwab <schwab@suse.de>
4362
4363 * locale/programs/locale.c (show_info) [case byte]: Check for
4364 '\377' instead of '\177'.
4365 * locale/C-monetary.c (not_available): Always use "\377".
4366 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4367 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4368 detect unavailable sign_posn locale elements.
4369 * locale/localeconv.c (__localeconv): For grouping and
4370 mon_grouping handle "\177" and "\377" like no grouping.
4371 (INT_ELEM): New macro. Use it to set all numeric members.
4372 * locale/programs/ld-monetary.c (monetary_read)
4373 <tok_mon_grouping>: Normalize single -1 to the empty string.
4374 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4375 Likewise.
4376
728dab0e
OB
43772013-11-07 Ondřej Bílka <neleai@seznam.cz>
4378
4379 [BZ #16055]
4380 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4381 when we match (nil).
4382 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4383
66294491
JM
43842013-11-16 Joseph Myers <joseph@codesourcery.com>
4385
ce665817
JM
4386 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4387 (NO_TEST_INLINE): Update value.
4388 (ERRNO_UNCHANGED): Likewise.
4389 (ERRNO_EDOM): Likewise.
4390 (ERRNO_ERANGE): Likewise.
4391 (IGNORE_RESULT): Likewise.
4392 (check_float_internal): Check signs of NaN results if
4393 TEST_NAN_SIGN used.
4394 (check_complex): Pass TEST_NAN_SIGN flag through to second
4395 check_float_internal call.
4396 (copysign_test_data): Add tests with quiet NaNs as second
4397 argument. Use TEST_NAN_SIGN.
4398 (fabs_test_data): Add test of negative quiet NaN argument. Use
4399 TEST_NAN_SIGN.
4400 (signbit_test_data): Add tests of quiet NaN argument.
4401 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4402
ee1466a9
JM
4403 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4404 $ignore_result.
4405 (parse_args): Handle function results specified as IGNORE.
4406 * math/libm-test.inc (IGNORE_RESULT): New macro.
4407 (check_float_internal): Do not check numerical result if flag
4408 IGNORE_RESULT set.
4409 (check_complex): Pass through IGNORE_RESULT to second
4410 check_float_internal call.
4411 (check_int): Do not check numerical result if flag IGNORE_RESULT
4412 set.
4413 (check_long): Likewise.
4414 (check_bool): Likewise.
4415 (check_longlong): Likewise.
4416 (lrint_test_data): Add tests of infinite and NaN arguments.
4417 (lrint_tonearest_test_data): Likewise.
4418 (lrint_towardzero_test_data): Likewise.
4419 (lrint_downward_test_data): Likewise.
4420 (lrint_upward_test_data): Likewise.
4421 (llrint_test_data): Likewise.
4422 (llrint_tonearest_test_data): Likewise.
4423 (llrint_towardzero_test_data): Likewise.
4424 (llrint_downward_test_data): Likewise.
4425 (llrint_upward_test_data): Likewise.
4426 (lround_test_data): Likewise.
4427 (llround_test_data): Likewise.
4428
14407b7e
JM
4429 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4430 (ERRNO_UNCHANGED): Update value.
4431 (ERRNO_EDOM): Likewise.
4432 (ERRNO_ERANGE): Likewise.
4433 (NO_TEST_INLINE_FLOAT): New macro.
4434 (NO_TEST_INLINE_DOUBLE): Likewise.
4435 (enable_test): New function.
4436 (RUN_TEST_f_f): Check enable_test before running test.
4437 (RUN_TEST_2_f): Likewise.
4438 (RUN_TEST_fff_f): Likewise.
4439 (RUN_TEST_c_f): Likewise.
4440 (RUN_TEST_f_f1): Likewise.
4441 (RUN_TEST_fF_f1): Likewise.
4442 (RUN_TEST_fI_f1): Likewise.
4443 (RUN_TEST_ffI_f1): Likewise.
4444 (RUN_TEST_c_c): Likewise.
4445 (RUN_TEST_cc_c): Likewise.
4446 (RUN_TEST_f_i): Likewise.
4447 (RUN_TEST_f_i_tg): Likewise.
4448 (RUN_TEST_ff_i_tg): Likewise.
4449 (RUN_TEST_f_b): Likewise.
4450 (RUN_TEST_f_b_tg): Likewise.
4451 (RUN_TEST_f_l): Likewise.
4452 (RUN_TEST_f_L): Likewise.
4453 (RUN_TEST_fFF_11): Likewise.
4454 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4455 conditionals.
4456 (cosh_test_data): Likewise.
4457 (exp_test_data): Likewise.
4458 (expm1_test_data): Likewise.
4459 (hypot_test_data): Likewise.
4460 (pow_test_data): Likewise.
4461 (sinh_test_data): Likewise.
4462 (tanh_test_data): Likewise.
4463 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4464 flags argument.
4465
ca07f197
JM
4466 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4467 tests with quiet NaN input and output.
4468 (acosh_test_data): Likewise.
4469 (asin_test_data): Likewise.
4470 (asinh_test_data): Likewise.
4471 (atan_test_data): Likewise.
4472 (atanh_test_data): Likewise.
4473 (atan2_test_data): Likewise.
4474 (cbrt_test_data): Likewise.
4475 (cos_test_data): Likewise.
4476 (cosh_test_data): Likewise.
4477 (erf_test_data): Likewise.
4478 (erfc_test_data): Likewise.
4479 (exp_test_data): Likewise.
4480 (exp10_test_data): Likewise.
4481 (exp2_test_data): Likewise.
4482 (expm1_test_data): Likewise.
4483 (hypot_test_data): Likewise.
4484 (j0_test_data): Likewise.
4485 (j1_test_data): Likewise.
4486 (jn_test_data): Likewise.
4487 (lgamma_test_data): Likewise.
4488 (log_test_data): Likewise.
4489 (log10_test_data): Likewise.
4490 (log1p_test_data): Likewise.
4491 (log2_test_data): Likewise.
4492 (pow_test_data): Likewise.
4493 (scalb_test_data): Likewise.
4494 (sin_test_data): Likewise.
4495 (sincos_test_data): Likewise.
4496 (sinh_test_data): Likewise.
4497 (tan_test_data): Likewise.
4498 (tanh_test_data): Likewise.
4499 (tgamma_test_data): Likewise.
4500 (y0_test_data): Likewise.
4501 (y1_test_data): Likewise.
4502 (yn_test_data): Likewise.
4503
66294491
JM
4504 [BZ #16167]
4505 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4506 argument being NaN and avoid computations with second argument in
4507 that case.
4508 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4509 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4510 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4511
1820b143
CL
45122013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4513
4514 * locale/iso-639.def: Add Chitwani Tharu (the).
4515
714bd261
AS
45162013-11-14 Andreas Schwab <schwab@suse.de>
4517
4518 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4519 word instead of empty string.
4520
7ab44563
AZ
45212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4522
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4524 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4526 (__fe_nomask_env): Likewise.
4527
e8470ea2
SE
45282013-11-13 Steve Ellcey <sellcey@mips.com>
4529
4530 * benchtests/bench-timing.h: Include time.h.
4531
17c1d9f0
L
45322013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4533
4534 [BZ #15997]
4535 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4536 to 3.4.0 for x32.
4537 * sysdeps/unix/sysv/linux/configure: Regenerated.
4538
9310c284
JM
45392013-11-13 Joseph Myers <joseph@codesourcery.com>
4540
4541 [BZ #16151]
4542 * stdlib/strtod_l.c (round_and_return): Do not consider
4543 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4544 exponent one less than half the least subnormal exponent.
4545 * stdlib/test-strtod-round-data: Add more tests.
4546 * stdlib/tst-strtod-round.c (tests): Regenerated.
4547
7a2ad8cf
AZ
45482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4549
4550 [BZ #14143]
4551 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4552 (__fe_mask_env): Likewise.
4553 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4554 libm_hidden_proto and add function prototype.
4555 (__fe_mask_env): Add function prototype.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4557 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4559 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4561 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4562
50727aa7
MS
45632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4564
b2f386c1 4565 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
4566 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4567
a615be46
MS
45682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4569
4570 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4571 of htab_find_slot().
4572
7ddace62
DM
45732013-11-11 David S. Miller <davem@davemloft.net>
4574
4575 [BZ #16150]
4576 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4577 symbol in the non-vis3 case in static builds.
4578 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4579 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4580 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4581 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4582
9182aa67
JK
45832013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 [BZ #387]
4586 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4587 it is empty.
4588
450a2e2d
AZ
45892013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4590
b2f386c1
SP
4591 * benchtests/Makefile: Add bench-strtod.
4592 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 4593
8ec3f656
AS
45942013-11-11 Andreas Schwab <schwab@suse.de>
4595
4596 [BZ #16153]
4597 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4598 terminating NUL in key length.
4599
76a9b998
AZ
46002013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4601
4602 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4603 Add artificial ODP entry for vDSO symbol for PPC64.
4604 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4605 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4606
e4368156
OB
46072013-11-07 Ondřej Bílka <neleai@seznam.cz>
4608
4609 [BZ #15374]
4610 * nss/getent.c (services_keys): Recognize services starting with digit.
4611
8d6bb57c
DM
46122013-11-06 David S. Miller <davem@davemloft.net>
4613
4614 [BZ #15985]
4615 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4616 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4617
e256c421
WN
46182013-11-06 Will Newton <will.newton@linaro.org>
4619
4620 * manual/memory.texi (Malloc Examples): Remove register
4621 keyword from examples.
4622
f6e12daa 46232013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 4624
f6e12daa 4625 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 4626
9d880655
AS
46272013-11-04 Joseph Myers <joseph@codesourcery.com>
4628
fd2f9486 4629 [BZ #6981]
9d880655
AS
4630 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4631 depending on [__GCC_IEC_559 > 0].
4632 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4633 depending on [__GCC_IEC_559_COMPLEX > 0].
4634
ae129d3c
CL
46352013-11-03 Chris Leonard <cjl@sugarlabs.org>
4636
4637 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4638 to iso-639.def.
4639
4a15c2a4 46402013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
4641
4642 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4643
8b35e35d
OB
46442013-11-01 Ondřej Bílka <neleai@seznam.cz>
4645
4646 [BZ #16112]
4647 * malloc/malloc (malloc_info): Do not handle first bin as
4648 special case.
4649
1d70fd6c
CL
46502013-11-01 Chris Leonard <cjl@sugarlabs.org>
4651
4652 * locale/iso-639.def: Add Central Nahuatl (nhn).
4653
8c5c2600
BH
46542013-11-01 Bruno Haible <bruno@clisp.org>
4655
4656 [BZ #7003]
4657 * manual/math.texi (BSD Random): Specify range upper bound as
4658 in POSIX.
4659
da5579c2
CL
46602013-10-31 Chris Leonard <cjl@sugarlabs.org>
4661
4662 * locale/iso-639.def: Add Meadow Mari (mhr).
4663
5d30d853
OB
46642013-10-31 Ondřej Bílka <neleai@seznam.cz>
4665
4666 [BZ #14752], [BZ #15763]
4667 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4668 Validate name.
4669 * rt/tst_shm.c: Add test for escaping directory.
4670
a4966c61
AS
46712013-10-31 Andreas Schwab <schwab@suse.de>
4672
8a43e768 4673 [BZ #15917]
a4966c61
AS
4674 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4675 followed by 'x' as part of digit sequence.
4676 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4677
28d708c4
MAP
46782013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4679
4680 [BZ #16037]
4681 * configure.ac: allow GNU Make 4.0 and greater.
4682 * configure: Regenerated.
4683
a56ee40b
WN
46842013-10-30 Will Newton <will.newton@linaro.org>
4685
4686 [BZ #16038]
4687 * malloc/hooks.c (memalign_check): Limit alignment to the
4688 maximum representable power of two.
4689 * malloc/malloc.c (__libc_memalign): Likewise.
4690 * malloc/tst-memalign.c (do_test): Add test for very
4691 large alignment values.
4692 * malloc/tst-posix_memalign.c (do_test): Likewise.
4693
c6e4925d
OB
46942013-10-30 Ondřej Bílka <neleai@seznam.cz>
4695
4696 [BZ #11087]
4697 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4698 (munmap_chunk): Likewise.
4699 (mremap_chunk): Likewise.
4700
47012013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 4702
8a43e768 4703 [BZ #15799]
bbea82f7
OB
4704 * stdlib/div.c (div): Remove obsolete code.
4705 * stdlib/ldiv.c (ldiv): Likewise.
4706 * stdlib/lldiv.c (lldiv): Likewise.
4707
977f4b31
SP
47082013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
4710 [BZ #16071]
4711 * nss/nss_files/files-XXX.c (get_contents_ret): New
4712 enumerator.
4713 (get_contents): New function.
4714 (internal_getent): Use it. Expand size of LINEBUFLEN.
4715
cb8a6dbd
MF
47162013-10-30 Mike Frysinger <vapier@gentoo.org>
4717
4718 * configure.in: Moved to ...
4719 * configure.ac: ... here. Change reference to configure.in
4720 to configure.ac.
4721 * sysdeps/arm/preconfigure.ac: ... here.
4722 configure.in to configure.ac.
4723 * sysdeps/gnu/configure.in: Moved to ...
4724 * sysdeps/gnu/configure.ac: ... here.
4725 * sysdeps/i386/configure.in: Moved to ...
4726 * sysdeps/i386/configure.ac: ... here.
4727 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4728 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4729 * sysdeps/mach/configure.in: Moved to ...
4730 * sysdeps/mach/configure.ac: ... here.
4731 * sysdeps/mach/hurd/configure.in: Moved to ...
4732 * sysdeps/mach/hurd/configure.ac: ... here.
4733 * sysdeps/powerpc/configure.in: Moved to ...
4734 * sysdeps/powerpc/configure.ac: ... here.
4735 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4736 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4737 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4738 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4739 * sysdeps/s390/s390-32/configure.in: Moved to ...
4740 * sysdeps/s390/s390-32/configure.ac: ... here.
4741 * sysdeps/s390/s390-64/configure.in: Moved to ...
4742 * sysdeps/s390/s390-64/configure.ac: ... here.
4743 * sysdeps/sh/configure.in: Moved to ...
4744 * sysdeps/sh/configure.ac: ... here.
4745 * sysdeps/sparc/configure.in: Moved to ...
4746 * sysdeps/sparc/configure.ac: ... here.
4747 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4748 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4749 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4750 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4751 * sysdeps/x86_64/configure.in: Moved to ...
4752 * sysdeps/x86_64/configure.ac: ... here.
4753 * sysdeps/x86_64/preconfigure.in: Moved to ...
4754 * sysdeps/x86_64/preconfigure.ac: ... here.
4755 * aclocal.m4: Change reference to configure.in to configure.ac.
4756 * config.h.in: Likewise.
4757 * manual/install.texi: Likewise.
4758 * manual/maint.texi: Likewise.
4759 * Makefile: Likewise.
4760 * malloc/Makefile: Likewise.
4761 * nscd/Makefile: Likewise.
4762 * Makeconfig: Change reference to configure.in and
4763 preconfigure.in to configure.ac and preconfigure.ac
4764 respectively.
4765 * INSTALL: Regenerated.
4766 * configure: Likewise.
4767 * sysdeps/gnu/configure: Likewise.
4768 * sysdeps/i386/configure: Likewise.
4769 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4770 * sysdeps/mach/configure: Likewise.
4771 * sysdeps/mach/hurd/configure: Likewise.
4772 * sysdeps/powerpc/configure: Likewise.
4773 * sysdeps/powerpc/powerpc32/configure: Likewise.
4774 * sysdeps/powerpc/powerpc64/configure: Likewise.
4775 * sysdeps/s390/s390-32/configure: Likewise.
4776 * sysdeps/s390/s390-64/configure: Likewise.
4777 * sysdeps/sh/configure: Likewise.
4778 * sysdeps/sparc/configure: Likewise.
4779 * sysdeps/unix/sysv/linux/configure: Likewise.
4780 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4781 * sysdeps/x86_64/configure: Likewise.
4782 * sysdeps/x86_64/preconfigure: Likewise.
4783
36a4953a
AS
47842013-10-29 Andreas Schwab <schwab@suse.de>
4785
4786 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4787
c79a1204
SP
47882013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4789
dfa1b402
SP
4790 * benchtests/pow-inputs: Add new inputs.
4791
54f73d9c
SP
4792 * benchtests/exp-inputs: Add new inputs.
4793
c79a1204
SP
4794 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4795 conditional check for return value.
4796 (__cos32): Likewise.
4797
67beb545 47982013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
4799
4800 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4801 to provide a boost for large inputs with word alignment.
4802 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4803 implementation based on optimized PPC64 strcpy.
4804 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4805 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4806 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4807 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4808
151659f6
OB
48092013-10-25 Ondřej Bílka <neleai@seznam.cz>
4810
482a077e 4811 [BZ #2801]
151659f6
OB
4812 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4813
10b0f26b
OB
48142013-10-25 Ondřej Bílka <neleai@seznam.cz>
4815
4816 [BZ #14876]
4817 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4818 * time/tst-strptime.c (day_tests): Add testcase.
4819
ca42d35e
OB
48202013-10-25 Ondřej Bílka <neleai@seznam.cz>
4821
482a077e 4822 [BZ #14029]
ca42d35e
OB
4823 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4824
52e6d801
FB
48252013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4826
4827 [BZ #16074]
4828 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4829 MAP_FAILED on error.
4830
7cbcdb36
SP
48312013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4832
4833 [BZ #16072]
4834 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4835 heap for large requests.
4836
894f3f10
AM
48372013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4838
4839 [BZ #9954]
4840 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4841 result if the result has no associated interface.
4842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4843 interface for all 127.X.Y.Z addresses.
4844
b85545a6
CL
48452013-10-24 Chris Leonard <cjl@sugarlabs.org>
4846
4847 * locale/iso-639.def: Add Ligurian (lij)
4848
d1f23d46
OB
48492013-10-21 Ondřej Bílka <neleai@seznam.cz>
4850
4851 [BZ #15825]
4852 * sunrpc/rpc_main.c: Document rpcgen -5.
4853
4db5b08f
MS
48542013-10-19 Michael Stahl <mstahl@redhat.com>
4855
4856 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4857
a471e96a
OB
48582013-10-19 Ondřej Bílka <neleai@seznam.cz>
4859
d1f23d46 4860 [BZ #10278]
a471e96a
OB
4861 * posix/glob.c: Match only directories when trailing slash is present.
4862 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4863 (main): Add testcase.
4864
45c30c61
OB
48652013-10-19 Ondřej Bílka <neleai@seznam.cz>
4866
4867 [BZ #15670]
4868 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4869
484c12fb
CD
48702013-10-18 Carlos O'Donell <carlos@redhat.com>
4871
3d7dc513
CD
4872 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4873 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4874 AUTH_DES and cindex for FIPS 140-2.
4875 (DES Encryption): Add cindex FIPS 46-3.
4876
484c12fb
CD
4877 * locale/locarchive.h (struct locarhandle): Add fname.
4878 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4879 if an optional argument was specified to --list-archive,
4880 otherwise NULL.
4881 * locale/programs/locarchive.c (show_archive_content): Take new
4882 argument fname and pass it via ah.fname to open_archive.
4883 * locale/programs/localedef.h: Update decl.
4884 (open_archive): If AH->fname is non-null, open that file
4885 rather than the default file name, and don't ignore ENOENT.
4886 (create_archive): Set AH.fname to NULL.
4887 (delete_locales_from_archive): Likewise.
4888 (add_locales_to_archive): Likewise.
4889 * locale/programs/locfile.c (write_all_categories): Likewise.
4890
3c8325fb
JM
48912013-10-18 Joseph Myers <joseph@codesourcery.com>
4892 Aldy Hernandez <aldyh@redhat.com>
4893
4894 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4895 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4896 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4897 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4898 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4899 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4900 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4901 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4902 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4903 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4904 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4905 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4906 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4907 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4908 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4909 Likewise.
4910 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4911 Likewise.
4912 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4913 Likewise.
4914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4915 Likewise.
4916 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4917 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4918 Likewise.
4919 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4920 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4921 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4922 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4923 Likewise.
4924 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4925 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4926 * sysdeps/powerpc/preconfigure: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4928 Likewise.
4929 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4930 Replace contents of file by #include of <fenv_libc.h>.
4931 * sysdeps/powerpc/soft-fp/sfp-machine.h
4932 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4933 and <sys/prctl.h>.
4934 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4935 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4947 Allow copysignl PLT reference to be missing.
4948
5abe0682
RS
49492013-10-18 Richard Sandiford <richard@codesourcery.com>
4950 Joseph Myers <joseph@codesourcery.com
4951
4952 [BZ #15948]
4953 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4954 single character.
4955 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4956
c7738d08
SP
49572013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4958
4959 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4960 * elf/tst-tls1.c: Likewise.
4961 * elf/tst-tls10.h: Likewise.
4962 * elf/tst-tls14.c: Likewise.
4963 * elf/tst-tls2.c: Likewise.
4964 * elf/tst-tls3.c: Likewise.
4965 * elf/tst-tls4.c: Likewise.
4966 * elf/tst-tls5.c: Likewise.
4967 * elf/tst-tls6.c: Likewise.
4968 * elf/tst-tls7.c: Likewise.
4969 * elf/tst-tls8.c: Likewise.
4970 * elf/tst-tls9.c: Likewise.
4971 * elf/tst-tlsmod1.c: Likewise.
4972 * elf/tst-tlsmod13.c: Likewise.
4973 * elf/tst-tlsmod13a.c: Likewise.
4974 * elf/tst-tlsmod14a.c: Likewise.
4975 * elf/tst-tlsmod16a.c: Likewise.
4976 * elf/tst-tlsmod16b.c: Likewise.
4977 * elf/tst-tlsmod2.c: Likewise.
4978 * elf/tst-tlsmod3.c: Likewise.
4979 * elf/tst-tlsmod4.c: Likewise.
4980 * elf/tst-tlsmod5.c: Likewise.
4981 * elf/tst-tlsmod6.c: Likewise.
4982
0bfcf2c7
OB
49832013-10-18 Ondřej Bílka <neleai@seznam.cz>
4984
4985 [BZ #12486]
4986 * malloc/malloc.c: remove checks for statistics.
4987
264aad1e
OB
49882013-10-17 Ondřej Bílka <neleai@seznam.cz>
4989
4990 [BZ #15277]
4991 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4992 * inet/tst-network.c: Add testcase.
4993
b957ced8
AS
49942013-10-17 Andreas Schwab <schwab@suse.de>
4995
4996 [BZ #15218]
4997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4998 to determine canonical name.
4999
c5d5d574
OB
50002013-10-17 Ondřej Bílka <neleai@seznam.cz>
5001
5002 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5003 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5020 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5021 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5022 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5024 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5025 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5026 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5027 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5028 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5029 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5030 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5031 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5032 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5034 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5035 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5036 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5037 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5038 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5039 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5040 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5041 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5042 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5043 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5044 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5045 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5046 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5047 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5048 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5049 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5050 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5051 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5052 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5053 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5054 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5055 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5056 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5057 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5060
e5c2c2d0
JM
50612013-10-17 Joseph Myers <joseph@codesourcery.com>
5062
5063 [BZ #16041]
5064 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5065 make result into a quiet NaN.
5066
51ca9e29
JM
50672013-10-16 Joseph Myers <joseph@codesourcery.com>
5068
5069 * soft-fp/adddf3.c: Fix horizontal whitespace.
5070 * soft-fp/addsf3.c: Likewise.
5071 * soft-fp/addtf3.c: Likewise.
5072 * soft-fp/divdf3.c: Likewise.
5073 * soft-fp/divsf3.c: Likewise.
5074 * soft-fp/divtf3.c: Likewise.
5075 * soft-fp/double.h: Likewise.
5076 * soft-fp/eqdf2.c: Likewise.
5077 * soft-fp/eqsf2.c: Likewise.
5078 * soft-fp/eqtf2.c: Likewise.
5079 * soft-fp/extenddftf2.c: Likewise.
5080 * soft-fp/extended.h: Likewise.
5081 * soft-fp/extendsfdf2.c: Likewise.
5082 * soft-fp/extendsftf2.c: Likewise.
5083 * soft-fp/extendxftf2.c: Likewise.
5084 * soft-fp/fixdfdi.c: Likewise.
5085 * soft-fp/fixdfsi.c: Likewise.
5086 * soft-fp/fixdfti.c: Likewise.
5087 * soft-fp/fixsfdi.c: Likewise.
5088 * soft-fp/fixsfsi.c: Likewise.
5089 * soft-fp/fixsfti.c: Likewise.
5090 * soft-fp/fixtfdi.c: Likewise.
5091 * soft-fp/fixtfsi.c: Likewise.
5092 * soft-fp/fixtfti.c: Likewise.
5093 * soft-fp/fixunsdfdi.c: Likewise.
5094 * soft-fp/fixunsdfsi.c: Likewise.
5095 * soft-fp/fixunsdfti.c: Likewise.
5096 * soft-fp/fixunssfdi.c: Likewise.
5097 * soft-fp/fixunssfsi.c: Likewise.
5098 * soft-fp/fixunssfti.c: Likewise.
5099 * soft-fp/fixunstfdi.c: Likewise.
5100 * soft-fp/fixunstfsi.c: Likewise.
5101 * soft-fp/fixunstfti.c: Likewise.
5102 * soft-fp/floatdidf.c: Likewise.
5103 * soft-fp/floatdisf.c: Likewise.
5104 * soft-fp/floatditf.c: Likewise.
5105 * soft-fp/floatsidf.c: Likewise.
5106 * soft-fp/floatsisf.c: Likewise.
5107 * soft-fp/floatsitf.c: Likewise.
5108 * soft-fp/floattidf.c: Likewise.
5109 * soft-fp/floattisf.c: Likewise.
5110 * soft-fp/floattitf.c: Likewise.
5111 * soft-fp/floatundidf.c: Likewise.
5112 * soft-fp/floatundisf.c: Likewise.
5113 * soft-fp/floatunditf.c: Likewise.
5114 * soft-fp/floatunsidf.c: Likewise.
5115 * soft-fp/floatunsisf.c: Likewise.
5116 * soft-fp/floatunsitf.c: Likewise.
5117 * soft-fp/floatuntidf.c: Likewise.
5118 * soft-fp/floatuntisf.c: Likewise.
5119 * soft-fp/floatuntitf.c: Likewise.
5120 * soft-fp/fmadf4.c: Likewise.
5121 * soft-fp/fmasf4.c: Likewise.
5122 * soft-fp/fmatf4.c: Likewise.
5123 * soft-fp/gedf2.c: Likewise.
5124 * soft-fp/gesf2.c: Likewise.
5125 * soft-fp/getf2.c: Likewise.
5126 * soft-fp/ledf2.c: Likewise.
5127 * soft-fp/lesf2.c: Likewise.
5128 * soft-fp/letf2.c: Likewise.
5129 * soft-fp/muldf3.c: Likewise.
5130 * soft-fp/mulsf3.c: Likewise.
5131 * soft-fp/multf3.c: Likewise.
5132 * soft-fp/negdf2.c: Likewise.
5133 * soft-fp/negsf2.c: Likewise.
5134 * soft-fp/negtf2.c: Likewise.
5135 * soft-fp/op-1.h: Likewise.
5136 * soft-fp/op-2.h: Likewise.
5137 * soft-fp/op-4.h: Likewise.
5138 * soft-fp/op-8.h: Likewise.
5139 * soft-fp/op-common.h: Likewise.
5140 * soft-fp/quad.h: Likewise.
5141 * soft-fp/single.h: Likewise.
5142 * soft-fp/soft-fp.h: Likewise.
5143 * soft-fp/sqrtdf2.c: Likewise.
5144 * soft-fp/sqrtsf2.c: Likewise.
5145 * soft-fp/sqrttf2.c: Likewise.
5146 * soft-fp/subdf3.c: Likewise.
5147 * soft-fp/subsf3.c: Likewise.
5148 * soft-fp/subtf3.c: Likewise.
5149 * soft-fp/truncdfsf2.c: Likewise.
5150 * soft-fp/trunctfdf2.c: Likewise.
5151 * soft-fp/trunctfsf2.c: Likewise.
5152 * soft-fp/trunctfxf2.c: Likewise.
5153 * soft-fp/unorddf2.c: Likewise.
5154 * soft-fp/unordsf2.c: Likewise.
5155 * soft-fp/unordtf2.c: Likewise.
5156
9ebb0332
JM
51572013-10-15 Joseph Myers <joseph@codesourcery.com>
5158
5159 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5160 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5161
4b1a6d8b
OB
51622013-10-15 Ondřej Bílka <neleai@seznam.cz>
5163
5164 * elf/dl-libc.c: Clear initfini list after freeing.
5165
1e145589
JM
51662013-10-14 Joseph Myers <joseph@codesourcery.com>
5167
5168 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5169 * soft-fp/addsf3.c: Likewise.
5170 * soft-fp/addtf3.c: Likewise.
5171 * soft-fp/divdf3.c: Likewise.
5172 * soft-fp/divsf3.c: Likewise.
5173 * soft-fp/divtf3.c: Likewise.
5174 * soft-fp/double.h: Likewise.
5175 * soft-fp/eqdf2.c: Likewise.
5176 * soft-fp/eqsf2.c: Likewise.
5177 * soft-fp/eqtf2.c: Likewise.
5178 * soft-fp/extenddftf2.c: Likewise.
5179 * soft-fp/extended.h: Likewise.
5180 * soft-fp/extendsfdf2.c: Likewise.
5181 * soft-fp/extendsftf2.c: Likewise.
5182 * soft-fp/extendxftf2.c: Likewise.
5183 * soft-fp/fixdfdi.c: Likewise.
5184 * soft-fp/fixdfsi.c: Likewise.
5185 * soft-fp/fixdfti.c: Likewise.
5186 * soft-fp/fixsfdi.c: Likewise.
5187 * soft-fp/fixsfsi.c: Likewise.
5188 * soft-fp/fixsfti.c: Likewise.
5189 * soft-fp/fixtfdi.c: Likewise.
5190 * soft-fp/fixtfsi.c: Likewise.
5191 * soft-fp/fixtfti.c: Likewise.
5192 * soft-fp/fixunsdfdi.c: Likewise.
5193 * soft-fp/fixunsdfsi.c: Likewise.
5194 * soft-fp/fixunsdfti.c: Likewise.
5195 * soft-fp/fixunssfdi.c: Likewise.
5196 * soft-fp/fixunssfsi.c: Likewise.
5197 * soft-fp/fixunssfti.c: Likewise.
5198 * soft-fp/fixunstfdi.c: Likewise.
5199 * soft-fp/fixunstfsi.c: Likewise.
5200 * soft-fp/fixunstfti.c: Likewise.
5201 * soft-fp/floatdidf.c: Likewise.
5202 * soft-fp/floatdisf.c: Likewise.
5203 * soft-fp/floatditf.c: Likewise.
5204 * soft-fp/floatsidf.c: Likewise.
5205 * soft-fp/floatsisf.c: Likewise.
5206 * soft-fp/floatsitf.c: Likewise.
5207 * soft-fp/floattidf.c: Likewise.
5208 * soft-fp/floattisf.c: Likewise.
5209 * soft-fp/floattitf.c: Likewise.
5210 * soft-fp/floatundidf.c: Likewise.
5211 * soft-fp/floatundisf.c: Likewise.
5212 * soft-fp/floatunsidf.c: Likewise.
5213 * soft-fp/floatunsisf.c: Likewise.
5214 * soft-fp/floatuntidf.c: Likewise.
5215 * soft-fp/floatuntisf.c: Likewise.
5216 * soft-fp/floatuntitf.c: Likewise.
5217 * soft-fp/fmadf4.c: Likewise.
5218 * soft-fp/fmasf4.c: Likewise.
5219 * soft-fp/fmatf4.c: Likewise.
5220 * soft-fp/gedf2.c: Likewise.
5221 * soft-fp/gesf2.c: Likewise.
5222 * soft-fp/getf2.c: Likewise.
5223 * soft-fp/ledf2.c: Likewise.
5224 * soft-fp/lesf2.c: Likewise.
5225 * soft-fp/letf2.c: Likewise.
5226 * soft-fp/muldf3.c: Likewise.
5227 * soft-fp/mulsf3.c: Likewise.
5228 * soft-fp/multf3.c: Likewise.
5229 * soft-fp/negdf2.c: Likewise.
5230 * soft-fp/negsf2.c: Likewise.
5231 * soft-fp/negtf2.c: Likewise.
5232 * soft-fp/op-1.h: Likewise.
5233 * soft-fp/op-2.h: Likewise.
5234 * soft-fp/op-4.h: Likewise.
5235 * soft-fp/op-8.h: Likewise.
5236 * soft-fp/op-common.h: Likewise.
5237 * soft-fp/quad.h: Likewise.
5238 * soft-fp/single.h: Likewise.
5239 * soft-fp/soft-fp.h: Likewise.
5240 * soft-fp/sqrtdf2.c: Likewise.
5241 * soft-fp/sqrtsf2.c: Likewise.
5242 * soft-fp/sqrttf2.c: Likewise.
5243 * soft-fp/subdf3.c: Likewise.
5244 * soft-fp/subsf3.c: Likewise.
5245 * soft-fp/subtf3.c: Likewise.
5246 * soft-fp/truncdfsf2.c: Likewise.
5247 * soft-fp/trunctfdf2.c: Likewise.
5248 * soft-fp/trunctfsf2.c: Likewise.
5249 * soft-fp/trunctfxf2.c: Likewise.
5250 * soft-fp/unorddf2.c: Likewise.
5251 * soft-fp/unordsf2.c: Likewise.
5252 * soft-fp/unordtf2.c: Likewise.
5253
17c48a60
OB
52542013-10-14 Ondřej Bílka <neleai@seznam.cz>
5255
5256 [BZ #15672]
5257 * misc/error.c (error_tail): Fix possible buffer overflow.
5258
cabba934
OB
52592013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5260
5261 [BZ #13028]
5262 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5263 address.
5264
94bf958a
PM
52652013-10-14 P. J. McDermott <pj@pehjota.net>
5266
5267 [BZ #832]
5268 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5269 testing pipefail option.
5270
71b4dea7
JM
52712013-10-12 Joseph Myers <joseph@codesourcery.com>
5272
5273 * soft-fp/double.h: Indent preprocessor directives inside #if.
5274 * soft-fp/extended.h: Likewise.
5275 * soft-fp/op-2.h: Likewise.
5276 * soft-fp/op-4.h: Likewise.
5277 * soft-fp/op-common.h: Likewise.
5278 * soft-fp/quad.h: Likewise.
5279 * soft-fp/single.h: Likewise.
5280 * soft-fp/soft-fp.h: Likewise.
5281
55602758
YC
52822013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5283
5284 * iconv/iconv_prog.c: Fix typos.
5285 * stdio-common/psiginfo-data.h: Likewise.
5286
9cd83302
RT
52872013-10-12 Reuben Thomas <rrt@sc3d.org>
5288
5289 [BZ #15764]
5290 * locale/setlocale.c: Fix typo.
5291
99fd9f47
JM
52922013-10-12 Joseph Myers <joseph@codesourcery.com>
5293
b7ea74f0
JM
5294 [BZ #16036]
5295 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5296 signaling NaN arguments.
5297 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5298 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5299
8a509447
JM
5300 [BZ #14910]
5301 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5302 unordered operands.
5303 * soft-fp/gesf2.c (__gesf2): Likewise.
5304 * soft-fp/getf2.c (__getf2): Likewise.
5305 * soft-fp/ledf2.c (__ledf2): Likewise.
5306 * soft-fp/lesf2.c (__lesf2): Likewise.
5307 * soft-fp/letf2.c (__letf2): Likewise.
5308
98998e9f
JM
5309 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5310 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5311 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5312 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5313 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5314 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5315 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5316 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5317 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5318 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5319 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5320 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5321 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5322 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5323 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5324 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5325 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5326 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5327 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5328 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5329 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5330 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5331 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5332 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5333 * soft-fp/floattidf.c (__floattidf): Likewise.
5334 * soft-fp/floattisf.c (__floattisf): Likewise.
5335 * soft-fp/floattitf.c (__floattitf): Likewise.
5336 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5337 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5338 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5339 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5340 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5341 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5342 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5343 * soft-fp/gesf2.c (__gesf2): Likewise.
5344 * soft-fp/getf2.c (__getf2): Likewise.
5345 * soft-fp/ledf2.c (__ledf2): Likewise.
5346 * soft-fp/lesf2.c (__lesf2): Likewise.
5347 * soft-fp/letf2.c (__letf2): Likewise.
5348
8edc4a11
JM
5349 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5350 Undefine and redefine.
5351 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5352 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5353 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5354 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5355 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5356 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5357 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5358 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5359 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5360 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5361 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5362 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5363 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5364 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5365 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5366
8399acaf
JM
5367 [BZ #16032]
5368 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5369 without decrementing exponent if mantissa >= that for the
5370 denominator, not >.
5371 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5372 denominator, not >. Decrement exponent in < case instead of
5373 incrementing in >= case.
5374 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5375 without decrementing exponent if mantissa >= that for the
5376 denominator, not >.
5377
99fd9f47
JM
5378 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5379 computing saturated result for unsigned overflow.
5380
10e1cf6b
SP
53812013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5382 Jeff Law <law@redhat.com>
5383
5384 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5385 (atan2Mp): Add systemtap probe marker.
5386 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5387 (__ieee754_log): Add systemtap probe marker.
5388 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5389 (atanMp): Add systemtap probe marker.
5390 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5391 (tanMp): Add systemtap probe marker.
5392 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5393 (__slowexp): Add systemtap probe marker.
5394 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5395 (__slowpow): Add systemtap probe marker.
5396 * manual/probes.texi: Document probes.
5397
3d110c7c
EB
53982013-10-11 Eric Biggers <ebiggers3@gmail.com>
5399
5400 [BZ #15362]
5401 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5402 written.
5403 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5404 written.
5405 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5406 written to buffer but not flushed.
5407 * libio/iofwrite_u.c: Likewise.
5408 * libio/iopadn.c: Return bytes returned even if EOF was
5409 encountered.
5410 * libio/iowpadn.c: Likewise.
5411 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5412 if _IO_padn does not write the whole buffer.
5413 [!COMPILE_WPRINTF] (PAD): Likewise.
5414
75b4202a
DM
54152013-10-10 David S. Miller <davem@davemloft.net>
5416
5417 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5418 directory block.
5419
6c6352e6
JM
54202013-10-10 Joseph Myers <joseph@codesourcery.com>
5421
33b853c3
JM
5422 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5423 instead of FSF address.
5424 * soft-fp/fixdfti.c: Likewise.
5425 * soft-fp/fixsfti.c: Likewise.
5426 * soft-fp/fixtfti.c: Likewise.
5427 * soft-fp/fixunsdfti.c: Likewise.
5428 * soft-fp/fixunssfti.c: Likewise.
5429 * soft-fp/fixunstfti.c: Likewise.
5430 * soft-fp/floattidf.c: Likewise.
5431 * soft-fp/floattisf.c: Likewise.
5432 * soft-fp/floattitf.c: Likewise.
5433 * soft-fp/floatuntidf.c: Likewise.
5434 * soft-fp/floatuntisf.c: Likewise.
5435 * soft-fp/floatuntitf.c: Likewise.
5436 * soft-fp/trunctfxf2.c: Likewise.
5437
6c6352e6
JM
5438 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5439 * soft-fp/fixdfti.c: Likewise.
5440 * soft-fp/fixsfti.c: Likewise.
5441 * soft-fp/fixtfti.c: Likewise.
5442 * soft-fp/fixunsdfti.c: Likewise.
5443 * soft-fp/fixunssfti.c: Likewise.
5444 * soft-fp/fixunstfti.c: Likewise.
5445 * soft-fp/floattidf.c: Likewise.
5446 * soft-fp/floattisf.c: Likewise.
5447 * soft-fp/floattitf.c: Likewise.
5448 * soft-fp/floatuntidf.c: Likewise.
5449 * soft-fp/floatuntisf.c: Likewise.
5450 * soft-fp/floatuntitf.c: Likewise.
5451 * soft-fp/trunctfxf2.c: Likewise.
5452
3bf78b71
DM
54532013-10-10 David S. Miller <davem@davemloft.net>
5454
5455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5456
6f10289e
JM
54572013-10-10 Joseph Myers <joseph@codsourcery.com>
5458
bd878fc0
JM
5459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5460 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5461 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5462 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5463 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5464 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5465 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5466
6f10289e
JM
5467 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5468 for NaNs before doing comparisons on argument.
5469 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5470 Likewise.
5471
321e2684
WN
54722013-10-10 Will Newton <will.newton@linaro.org>
5473
5474 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5475 passed to _int_memalign does not overflow.
5476
40fefba1
TR
54772013-10-10 Torvald Riegel <triegel@redhat.com>
5478
5479 * scripts/bench.pl: Add include-sources directive.
5480 * benchtests/README: Update documentation.
5481
2ae21ed2
JM
54822013-10-10 Joseph Myers <joseph@codesourcery.com>
5483
dcc2dd3f
JM
5484 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5485 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5486 instead of FP_INIT_ROUNDMODE.
5487 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5488 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5489
2ae21ed2
JM
5490 [BZ #16034]
5491 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5492 copy class of input value.
5493 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5494 not handle exceptions.
5495 * soft-fp/negsf2.c (__negsf2): Likewise.
5496 * soft-fp/negtf2.c (__negtf2): Likewise.
5497 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5498
cb8f9562
JM
54992013-10-09 Joseph Myers <joseph@codesourcery.com>
5500
5501 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5502 semicolon. From Linux kernel.
5503
5b60c59d
AB
55042013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5505
5506 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5507
b86835ca
YC
55082013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5509
5510 [BZ #156]
5511 * manual/socket.texi: Added statement about buffer
5512 for gethostbyname2_r.
5513
e7044ea7
OB
55142013-10-08 Ondřej Bílka <neleai@seznam.cz>
5515
5516 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5517 Use .p2align directive instead, throughout.
5518 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5519 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5520 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5523 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5524 * sysdeps/x86_64/strchr.S: Likewise.
5525 * sysdeps/x86_64/strrchr.S: Likewise.
5526
09544cbc
SP
55272013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5528
88576635
SP
5529 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5530
e7b2d1dd
SP
5531 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5532
09544cbc
SP
5533 * sysdeps/generic/math_private.h (__mpsin1): Remove
5534 declaration.
5535 (__mpcos1): Likewise.
5536 (__mpsin): New argument __range_reduce.
5537 (__mpcos): Likewise.
5538 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5539 (slow): Use __mpsin and __mpcos.
5540 (slow1): Likewise.
5541 (slow2): Likewise.
5542 (sloww): Likewise.
5543 (sloww1): Likewise.
5544 (sloww2): Likewise.
5545 (bsloww): Likewise.
5546 (bsloww1): Likewise.
5547 (bsloww2): Likewise.
5548 (cslow2): Likewise.
5549 (csloww): Likewise.
5550 (csloww1): Likewise.
5551 (csloww2): Likewise.
5552 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5553 range_reduce. Merge in __mpsin1.
5554 (__mpcos): Likewise.
5555 (__mpsin1): Remove.
5556 (__mpcos1): Likewise.
5557
7602d070
JM
55582013-10-07 Joseph Myers <joseph@codesourcery.com>
5559
5560 * locale/loadlocale.c (_nl_intern_locale_data): Use
5561 LOCFILE_ALIGNED_P.
5562 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5563 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5564 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5565 obstack data is appropriately aligned.
5566 (obstack_int32_grow_fast): Likewise.
5567 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5568 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5569 (add_locale_uint32_array): Likewise.
5570
a357259b
SP
55712013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5572
5573 * benchtests/Makefile: Remove ARGLIST and RET variables.
5574 ($(objpfx)bench-%.c): Pass only function name to the script.
5575 * benchtests/README: Update documentation.
5576 * benchtests/acos-inputs: Add new directives.
5577 * benchtests/acosh-inputs: Likewise.
5578 * benchtests/asin-inputs: Likewise.
5579 * benchtests/asinh-inputs: Likewise.
5580 * benchtests/atan-inputs: Likewise.
5581 * benchtests/atanh-inputs: Likewise.
5582 * benchtests/cos-inputs: Likewise.
5583 * benchtests/cosh-inputs: Likewise.
5584 * benchtests/exp-inputs: Likewise.
5585 * benchtests/log-inputs: Likewise.
5586 * benchtests/pow-inputs: Likewise.
5587 * benchtests/rint-inputs: Likewise.
5588 * benchtests/sin-inputs: Likewise.
5589 * benchtests/sinh-inputs: Likewise.
5590 * benchtests/tan-inputs: Likewise.
5591 * benchtests/tanh-inputs: Likewise.
5592 * scripts/bench.pl: Add support for new directives.
5593
9ec1b13d
AM
55942013-10-07 Alan Modra <amodra@gmail.com>
5595
5596 * README: Fix careless merge.
5597
8b7d57cd
AM
55982013-10-05 Alan Modra <amodra@gmail.com>
5599
5600 * NEWS: Mention powerpc64le support and bugs fixed.
5601 * README: Both big-endian and little-endian powerpc64 supported.
5602
7b7bab13
ST
56032013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5604
5605 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5606 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5607 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5608 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5609
d39baad1
RA
56102013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5611
5612 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5613 match prototype.
5614
cd78f7e7
JM
56152013-10-04 Joseph Myers <joseph@codesourcery.com>
5616
29d73d86
JM
5617 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5618 Move -mhard-float appending from
5619 ports/sysdeps/powerpc/powerpc32/Makefile.
5620 [$(with-fp) = yes] (ASFLAGS): Likewise.
5621 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5622 * sysdeps/powerpc/nofpu: Move directory from
5623 ports/sysdeps/powerpc/nofpu.
5624 * sysdeps/powerpc/soft-fp: Move directory from
5625 ports/sysdeps/powerpc/soft-fp.
5626 * sysdeps/powerpc/powerpc32/405: Move directory from
5627 ports/sysdeps/powerpc/powerpc32/405.
5628 * sysdeps/powerpc/powerpc32/440: Move directory from
5629 ports/sysdeps/powerpc/powerpc32/440.
5630 * sysdeps/powerpc/powerpc32/464: Move directory from
5631 ports/sysdeps/powerpc/powerpc32/464.
5632 * sysdeps/powerpc/powerpc32/476: Move directory from
5633 ports/sysdeps/powerpc/powerpc32/476.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5635 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5637 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5639 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5644 * README: Update for powerpc-*-linux-gnu software floating point
5645 support in libc.
5646
e246b347
JM
5647 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5648 case to powerpc/powerpc32*.
5649 * sysdeps/unix/sysv/linux/configure: Regenerated.
5650
89c2003e
JM
5651 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5652 (_FPU_MASK_OM): Define as 0x04.
5653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5655 0x00c10080.
5656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5657 0x0000003c.
5658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5659
cd78f7e7
JM
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5661 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5662 getcontext_e500.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5664 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5665 setcontext_e500.
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5667 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5668 and setcontext_e500.
5669
c755294d
CL
56702013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5671
5672 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5673
e16d221c
SP
56742013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5675
5676 * manual/threads.texi (Default Thread Attributes): Fix typo.
5677
215c7d43
WN
56782013-10-04 Will Newton <will.newton@linaro.org>
5679
5680 * malloc/Makefile: Add tst-memalign.
5681 * malloc/tst-memalign.c: New file.
5682
27d0461b
WN
5683 * malloc/tst-posix_memalign.c: Add comments.
5684 (do_test): Add comments and call free on all potentially
5685 allocated pointers. Add space after cast.
5686
1bc92709
WN
5687 * malloc/tst-pvalloc.c: Add comments.
5688 (do_test): Add comments and call free on all potentially
5689 allocated pointers. Remove duplicate check for NULL pointer.
5690 Add space after cast.
5691
66a9be9d
WN
5692 * malloc/tst-valloc.c: Add comments.
5693 (do_test): Add comments and call free on all potentially
5694 allocated pointers. Remove duplicate check for NULL pointer.
5695 Add space after cast.
5696
4cb81307
AM
56972013-10-04 Alan Modra <amodra@gmail.com>
5698
5699 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5700 Use stdint types in rather than __attribute__((mode())).
5701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5702
f8e3e9f3
AM
57032013-10-04 Alan Modra <amodra@gmail.com>
5704
5705 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5706 Correct handling of unaligned relocs for little-endian.
5707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5708
8f9ebb08
AM
57092013-10-04 Alan Modra <amodra@gmail.com>
5710
5711 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5712 * configure: Regenerate.
5713 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5714 * shlib-versions: Likewise.
5715
0edf96c2
AM
57162013-10-04 Alan Modra <amodra@gmail.com>
5717
5718 * string/tester.c (test_memrchr): Increment reported test cycle.
5719
e0f7a380
AM
57202013-10-04 Alan Modra <amodra@gmail.com>
5721
5722 * string/test-memcpy.c (do_one_test): When reporting errors, print
5723 string address and don't overrun end of string.
5724
466b0393
AM
57252013-10-04 Alan Modra <amodra@gmail.com>
5726
5727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5728 insrdi. Make better use of reg selection to speed exit slightly.
5729 Schedule entry path a little better. Remove useless "are we done"
5730 checks on entry to main loop. Handle wrapping around zero address.
5731 Correct main loop count. Handle single left-over word from main
5732 loop inline rather than by using loop_small. Remove extra word
5733 case in loop_small caused by wrong loop count. Add little-endian
5734 support.
5735 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5736 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5737 cache hint.
5738 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5739 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5740 support. Avoid rlwimi.
5741 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5742
3be87c77
AM
57432013-10-04 Alan Modra <amodra@gmail.com>
5744
5745 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 5746 insrdi. Formatting.
3be87c77
AM
5747 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5748 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5749 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5750 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5751 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5752 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5753
759cfef3
AM
57542013-10-04 Alan Modra <amodra@gmail.com>
5755
5756 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5757 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5758 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5759 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5760 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5762 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5764 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5765 use of regs. Use power7 mtocrf. Tidy function tails.
5766
fe6e95d7
AM
57672013-10-04 Alan Modra <amodra@gmail.com>
5768
5769 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5770 Formatting. Consistently use rXXX register defines or rN defines.
5771 Use early exit labels that avoid restoring unused non-volatile regs.
5772 Make cr field use more consistent with rWORDn compares. Rename
5773 regs used as shift registers for unaligned loop, using rN defines
5774 for short lifetime/multiple use regs.
5775 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5776 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5777 addi 1,1,64 to pop stack frame. Simplify return value code.
5778 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5779
664318c3
AM
57802013-10-04 Alan Modra <amodra@gmail.com>
5781
5782 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5783 support. Correct typos, formatting. Optimize tail. Use insrdi
5784 rather than rlwimi.
5785 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5786 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5787 little-endian support. Correct typos.
5788 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5789 rather than rlwimi.
5790 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5791 in loop and entry code to keep "and." results.
5792 (strchr): Add little-endian support. Comment. Move cntlzd
5793 earlier in tail.
5794 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5795
43b84013
AM
57962013-10-04 Alan Modra <amodra@gmail.com>
5797
5798 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5799 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5800 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5801 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5802
8a7413f9
AM
58032013-10-04 Alan Modra <amodra@gmail.com>
5804
5805 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5806 (rTMP): Define as r11.
5807 (strcmp): Add little-endian support. Optimise tail.
5808 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5809 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5810 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5811 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5812 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5813 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5815
33ee81de
AM
58162013-10-04 Alan Modra <amodra@gmail.com>
5817
5818 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5819 little-endian support. Remove unnecessary "are we done" tests.
5820 Handle "s" wrapping around zero and extremely large "size".
5821 Correct main loop count. Handle single left-over word from main
5822 loop inline rather than by using small_loop. Correct comments.
5823 Delete "zero" tail, use "end_max" instead.
5824 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5825
db9b4570
AM
58262013-10-04 Alan Modra <amodra@gmail.com>
5827
5828 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5829 support. Don't branch over align.
5830 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5831 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5832 support. Rearrange tmp reg use to suit. Comment.
5833 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5834
f7c399cf
AM
58352013-10-04 Alan Modra <amodra@gmail.com>
5836
5837 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5838
0b2c2ace
AM
58392013-10-04 Alan Modra <amodra@gmail.com>
5840
5841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5842 conditional form of branch and link when obtaining pc.
5843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5844
02f04a6c
AM
58452013-10-04 Alan Modra <amodra@gmail.com>
5846
5847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5848 HIWORD/LOWORD.
5849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5851
9b874b2f
AM
58522013-10-04 Alan Modra <amodra@gmail.com>
5853
5854 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5855 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5856 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5857 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5858 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5859 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5860 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5861 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5862 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5863 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5864
be1e5d31
AB
58652013-10-04 Anton Blanchard <anton@au1.ibm.com>
5866 Alistair Popple <alistair@ozlabs.au.ibm.com>
5867 Alan Modra <amodra@gmail.com>
5868
5869 [BZ #15723]
5870 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5871 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5872 _dl_hwcap access for little-endian.
5873 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5874 destroy vmx regs when saving unaligned.
5875 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5876 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5877 destroy vmx regs when saving unaligned.
5878
fef13a78
AM
58792013-10-04 Alan Modra <amodra@gmail.com>
5880
5881 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5882 Don't use a union to pack hi/low value.
5883
76a66d51
AB
58842013-10-04 Anton Blanchard <anton@au1.ibm.com>
5885
5886 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5887 for little-endian.
5888 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5890 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5891 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5892 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5893
6a31fe7f
AM
58942013-10-04 Alan Modra <amodra@gmail.com>
5895
5896 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5897 constants to usual value for .cst8 section, and remove redundant
5898 high address load.
5899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5900 constant for 0x1p52. Load little-endian words of double from
5901 correct stack offsets.
5902
7b88401f
AM
59032013-10-04 Alan Modra <amodra@gmail.com>
5904
5905 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5906 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5907 words of double from correct stack offsets.
5908 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5909 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5910 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5911 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5912 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5915 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5916 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5920 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5921 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5922 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5923 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5924 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5925
9c008155
AM
59262013-10-04 Alan Modra <amodra@gmail.com>
5927
5928 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5929 64-bit int/double union.
5930 (_FPU_SETCW): Likewise.
5931 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5932 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5933
da13146d
AM
59342013-10-04 Alan Modra <amodra@gmail.com>
5935
5936 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5937 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5938
603e8410
AM
59392013-10-04 Alan Modra <amodra@gmail.com>
5940
5941 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5942 use vector int constants.
5943 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5944
4a28b3ca
AB
59452013-10-04 Anton Blanchard <anton@au1.ibm.com>
5946
5947 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5948 array with long long.
5949 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5950 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5951 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5952 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5953 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5954 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5955 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5956 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5957 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5958 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5959 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5960 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5961 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5962
2ca85d2b
AB
59632013-10-04 Anton Blanchard <anton@au1.ibm.com>
5964
5965 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5966 (__signbit): Likewise. Correct for little-endian.
5967 (__signbitl): Call __signbit.
5968 (lrint): Correct for little-endian.
5969 (lrintf): Call lrint.
5970
62a728ae
AM
59712013-10-04 Alan Modra <amodra@gmail.com>
5972
5973 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5974 union 32-bit int array member with 64-bit int array.
5975 (t515, tm256): Double rather than long double.
5976 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5977
32c301df
AM
59782013-10-04 Alan Modra <amodra@gmail.com>
5979
5980 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5981 Delete.
5982 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5983 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5984 version of math_ldbl.h.
5985
650ef4bd
AM
59862013-10-04 Alan Modra <amodra@gmail.com>
5987
5988 [BZ #15734], [BZ #15735]
5989 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5990 all uses of ieee875 long double macros and unions. Simplify test
5991 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5992 ldbl_extract_mantissa value for ix,iy exponents. Properly
5993 normalize after ldbl_extract_mantissa, and don't add hidden bit
5994 already handled. Don't treat low word of ieee854 mantissa like
5995 low word of IBM long double and mask off bit when testing for
5996 zero.
5997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5998 all uses of ieee875 long double macros and unions. Simplify tests
5999 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6000 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6001 two1022, instead use their values. Recognise that tests for large
6002 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6004 Rewrite all uses of ieee875 long double macros and unions. Simplify
6005 test for 0.0L and nan. Correct negation.
6006 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6007 ieee875 long double macros and unions. Correct output for large
6008 magnitude x. Correct absolute value calculation.
6009 (__erfcl): Likewise.
6010 * math/libm-test.inc: Add tests for errors discovered in IBM long
6011 double versions of fmodl, remainderl, erfl and erfcl.
6012
765714ca
AM
60132013-10-04 Alan Modra <amodra@gmail.com>
6014
6015 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6016 all uses of ieee854 long double macros and unions. Simplify tests
6017 for long doubles that are fully specified by the high double.
6018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6019 Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6021 Remove dead code too.
6022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6023 (__ieee754_ynl): Likewise.
6024 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6027 Remove dead code too.
6028 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6032 Simplify.
6033 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6034 Simplify.
6035 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6038 Comment on variable precision.
6039 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6040 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6041 Likewise.
6042 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6046 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6047
4ebd120c
AM
60482013-10-04 Alan Modra <amodra@gmail.com>
6049
6050 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6051 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6052 all uses of ieee854 long double macros and unions.
6053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6058 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6059 Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6061 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6062 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6063 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6065 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6066 Simplify sign and nan test too.
6067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6071 Likewise.
6072 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6073 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6074 Likewise.
6075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6076 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6077 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6078 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6079 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6080 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6081
1b6adf88
AM
60822013-10-04 Alan Modra <amodra@gmail.com>
6083
6084 * stdio-common/printf_size.c (__printf_size): Don't use
6085 union ieee854_long_double in fpnum union.
6086 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6087 signbit macro to retrieve sign from long double.
6088 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6089 retrieve sign from long double.
6090 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6091 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6092 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6093 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6094 * math/test-misc.c (main): Don't use union ieee854_long_double.
6095
4cf69995
AM
60962013-10-04 Alan Modra <amodra@gmail.com>
6097
6098 [BZ #15680]
6099 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6100 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6101 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6102 calculation. Remove unnecessary test for denormal exponent.
6103 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6104 Correct handling of denormals. Avoid undefined shift behaviour.
6105 Correct normalisation of low mantissa when low double is denormal.
6106 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6107 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6108 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6109 Correct normalisation of low mantissa. Test for overflow of high
6110 mantissa and normalise.
6111 (ldbl_nearbyint): Use more readable constant for two52.
6112 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6113 (__mpn_construct_long_double): Fix test for overflow of high
6114 mantissa and correct normalisation. Avoid undefined shift.
6115
9605ca6c
AM
61162013-10-04 Alan Modra <amodra@gmail.com>
6117
6118 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6119 (union ibm_extended_long_double): Define as an array of ieee754_double.
6120 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6122 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6123 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6127 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6131
975569d0
JM
61322013-10-03 Joseph Myers <joseph@codesourcery.com>
6133
d3d23756
JM
6134 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6135 page size instead of calling getpagesize.
6136
975569d0
JM
6137 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6138 (LOCFILE_ALIGN_MASK): Likewise.
6139 (LOCFILE_ALIGN_UP): Likewise.
6140 (LOCFILE_ALIGNED_P): Likewise.
6141 * locale/programs/ld-collate.c (collate_output): Use the new
6142 macros instead of __alignof__ (int32_t).
6143 * locale/weight.h (findidx): Likewise.
6144
b1fe1f2b
OB
61452013-10-03 Ondřej Bílka <neleai@seznam.cz>
6146
6147 [BZ #431]
6148 * manual/string.texi: Fix strncat and wcsncat.
6149
5f855e35
BM
61502013-10-03 Brooks Moses <bmoses@google.com>
6151
6152 [BZ #15915]
6153 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6154 * Makerules: ...here, and adjust associated comments.
6155
3cef6009
WN
61562013-10-02 Will Newton <will.newton@linaro.org>
6157
6158 * malloc/Makefile: Add tst-pvalloc.
6159 * malloc/tst-pvalloc.c: New file.
6160
7815420b
WN
61612013-10-02 Will Newton <will.newton@linaro.org>
6162
6163 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6164 improve test coverage.
6165
4868b204
WN
61662013-10-02 Will Newton <will.newton@linaro.org>
6167
6168 * malloc/Makefile: Add tst-posix_memalign.
6169 * malloc/tst-posix_memalign.c: New file.
6170
29c793b3
EB
61712013-10-01 Eric Blake <eblake@redhat.com>
6172
6173 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6174 Use __THROWNL rather than __THROW on static functions.
6175
fd967522
PM
61762013-09-30 Petr Machata <pmachata@redhat.com>
6177
6178 * elf/elf.h (R_AARCH64_ABS16): New macro.
6179 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6180 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6181 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6182 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6183 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6184 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6185 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6186 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6187 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6188 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6189 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6190 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6191 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6192 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6193 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6194 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6195 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6196 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6197 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6198 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6199 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6200 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6201 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6202 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6203 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6204 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6205 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6206 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6207 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6208 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6209 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6210 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6211 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6212 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6213 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6214 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6215 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6216 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6217 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6218 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6219 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6220 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6221 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6222 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6223 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6224 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6225 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6226 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6227 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6228 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6229 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6230 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6231 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6232 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6233 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6234 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6235 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6236 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6237 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6238 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6239 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6240 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6241 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6242 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6243 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6244 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6245 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6246 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6247 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6248 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6249 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6250 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6251 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6252 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6253 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6254 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6255 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6256 (R_AARCH64_TLSDESC_LDR): Likewise.
6257 (R_AARCH64_TLSDESC_ADD): Likewise.
6258 (R_AARCH64_TLSDESC_CALL): Likewise.
6259
b2179107
AS
62602013-09-30 Andreas Schwab <schwab@suse.de>
6261
6262 [BZ #15048]
6263 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6264 the nss database lookup.
6265 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6267
47f28d0a
MF
62682013-09-28 Mike Frysinger <vapier@gentoo.org>
6269
6270 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6271
62722013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6273
6274 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6275 ${Bash-specific parameter/pattern/string} parameter expansion.
6276 * sysdeps/unix/make-syscalls.sh: Likewise.
6277
f4518a17
KK
62782013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6279
6280 * sysdeps/sh/stackguard-macros.h: New file.
6281
dc1a95c7
OB
62822013-09-26 Ondřej Bílka <neleai@seznam.cz>
6283
6284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6286 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6287 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6288 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6289 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6290
5ebbff8f
AZ
62912013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292
6293 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6294 Fix thread ID register.
6295
4fd2cf9f
JM
62962013-09-25 Joseph Myers <joseph@codesourcery.com>
6297
6298 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6299 [POSIX || UNIX98]: Require rather than permitting all symbols from
6300 <time.h>.
6301 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6302 element of struct sched_param.
6303 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6304 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6305 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6306 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6307 constant.
6308
12c22bc4
OL
63092013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6310
6311 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6312 argument calculation.
6313
a03d8ea7
JM
63142013-09-24 Joseph Myers <joseph@codesourcery.com>
6315
6316 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6317 Expect macro.
6318 [POSIX] (pthread_attr_t): Do not require type.
6319 [POSIX] (pthread_cond_t): Likewise.
6320 [POSIX] (pthread_condattr_t): Likewise.
6321 [POSIX] (pthread_key_t): Likewise.
6322 [POSIX] (pthread_mutex_t): Likewise.
6323 [POSIX] (pthread_mutexattr_t): Likewise.
6324 [POSIX] (pthread_once_t): Likewise.
6325 [POSIX] (pthread_t): Likewise.
6326 [POSIX-based standards] (pthread_atfork): Expect function.
6327
6055173a
JM
63282013-09-24 Joseph Myers <joseph@codesourcery.com>
6329 Richard Sandiford <richard@codesourcery.com>
6330
6331 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6332 (swap_endianness_p): New extern variable.
6333 (set_big_endian): New inline function.
6334 (maybe_swap_uint32): Likewise.
6335 (maybe_swap_uint32_array): Likewise.
6336 (maybe_swap_uint32_obstack): Likewise.
6337 * locale/programs/locfile.c: Include <stdbool.h>.
6338 (swap_endianness_p): New variable.
6339 (add_locale_uint32): Call maybe_swap_uint32.
6340 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6341 (write_locale_data): Call maybe_swap_uint32_array.
6342 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6343 maybe_swap_uint32.
6344 (obstack_int32_grow_fast): Likewise.
6345 (output_weightwc): Call maybe_swap_uint32_obstack.
6346 (collate_output): Likewise.
6347 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6348 (OPT_LITTLE_ENDIAN): Likewise.
6349 (options): Add --little-endian and --big-endian options.
6350 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6351 * locale/programs/locarchive.c: Include "locfile.h".
6352 (GET): New macro.
6353 (SET): Likewise.
6354 (INC): Likewise.
6355 (create_archive): Use the new macros to access fields of
6356 structures directly mapped from or written to locale archives.
6357 (oldlocrecentcmp): Likewise.
6358 (enlarge_archive): Likewise.
6359 (insert_name): Likewise.
6360 (add_alias): Likewise.
6361 (add_locale): Likewise.
6362 (delete_locales_from_archive): Likewise.
6363 (show_archive_content): Likewise.
6364 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6365 locale data.
6366
39bf0bb4
RM
63672013-09-24 Roland McGrath <roland@hack.frob.com>
6368
6369 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6370 http://www.gnu.org/doc/freemanuals.texi.
6371 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6372
f02eed10
WN
63732013-09-24 Will Newton <will.newton@linaro.org>
6374
6375 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6376 macro.
6377
a3a6c312
JM
63782013-09-23 Joseph Myers <joseph@codesourcery.com>
6379
6380 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6381 unsigned char.
6382
107375ac
MR
63832013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6384
6385 * manual/threads.texi (POSIX Threads): Fix a typo.
6386
141f3a77
SP
63872013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6388
303e567a
SP
6389 [BZ #14547]
6390 * string/tst-strcoll-overflow.c: New test case.
6391 * string/Makefile (xtests): Add tst-strcoll-overflow.
6392 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6393 cache if string sizes may cause integer overflow.
6394
141f3a77
SP
6395 [BZ #14547]
6396 * string/strcoll_l.c (coll_seq): New members rule, idx,
6397 save_idx and back_us.
6398 (get_next_seq_nocache): New function.
6399 (do_compare_nocache): New function.
6400 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6401 when malloc fails.
6402
c61b4d41
CD
64032013-09-23 Carlos O'Donell <carlos@redhat.com>
6404
0b1f8e35
CD
6405 [BZ #15754]
6406 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6407 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6408 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6409
c61b4d41
CD
6410 [BZ #15754]
6411 * elf/Makefile (tests): Add tst-ptrguard1.
6412 (tests-static): Add tst-ptrguard1-static.
6413 (tst-ptrguard1-ARGS): Define.
6414 (tst-ptrguard1-static-ARGS): Define.
6415 * elf/tst-ptrguard1.c: New file.
6416 * elf/tst-ptrguard1-static.c: New file.
6417 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6418 * sysdeps/i386/stackguard-macros.h: Likewise.
6419 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6420 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6421 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6422 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6423 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6424 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6425
64262013-09-23 Hector Marco <hecmargi@upv.es>
6427 Ismael Ripoll <iripoll@disca.upv.es>
6428 Carlos O'Donell <carlos@redhat.com>
6429
6430 [BZ #15754]
6431 * sysdeps/generic/stackguard-macros.h: Define
6432 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6433 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6434 Define __pointer_chk_guard_local.
6435 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6436 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6437
f5f4e7b4
VV
64382013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6439
6440 [BZ #15859]
6441 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6442
5bb43a43
AS
64432013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6444
6445 * include/string.h (__ffs): Declare as hidden.
6446 * string/ffs.c (__ffs): Define as hidden.
6447 * sysdeps/i386/ffs.c (__ffs): Likewise.
6448 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6449 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6450 * sysdeps/s390/ffs.c (__ffs): Likewise.
6451 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6452
3ea5be54
AO
64532013-09-20 Alexandre Oliva <aoliva@redhat.com>
6454
ffb89e53
AO
6455 * NEWS: Mention malloc probes.
6456
322dea08
AO
6457 * malloc/arena.c (new_heap): New memory_heap_new probe.
6458 (grow_heap): New memory_heap_more probe.
6459 (shrink_heap): New memory_heap_less probe.
6460 (heap_trim): New memory_heap_free probe.
6461 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6462 (systrim): New memory_sbrk_less probe.
6463 * manual/probes.texi: Document them.
6464
655673f3
AO
6465 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6466 * manual/probes.texi: Document it.
6467
35fed6f1
AO
6468 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6469 (__libc_realloc): Add memory_realloc_retry probe.
6470 (__libc_memalign): Add memory_memalign_retry probe.
6471 (__libc_valloc): Add memory_valloc_retry probe.
6472 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6473 (__libc_calloc): Add memory_calloc_retry probe.
6474 * manual/probes.texi: Document them.
6475
6999d38c
AO
6476 * malloc/arena.c (get_free_list): Add probe
6477 memory_arena_reuse_free_list.
6478 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6479 and memory_arena_reuse.
6480 (arena_get2) [!PER_THREAD]: Likewise.
6481 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6482 memory_arena_reuse_realloc.
6483 * manual/probes.texi: Document them.
6484
0653427f
AO
6485 * malloc/malloc.c (__libc_free): Add
6486 memory_mallopt_free_dyn_thresholds probe.
6487 (__libc_mallopt): Add multiple memory_mallopt probes.
6488 * manual/probes.texi: Document them.
6489
3ea5be54
AO
6490 * malloc/malloc.c: Include stap-probe.h.
6491 (__libc_mallopt): Add memory_mallopt probe.
6492 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6493 * manual/probes.texi: New.
6494 * manual/Makefile (chapters): Add probes.
6495 * manual/threads.texi: Set next node.
6496
e35696c3 64972013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 6498
e35696c3
CL
6499 [BZ #15963, #13985]
6500 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6501 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6502 Add `Chinese' to `nan' entry name.
6503
4aafb73c
SP
65042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
6506 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6507 (POLYNOMIAL): Likewise.
6508 (TAYLOR_SINCOS): Likewise.
6509 (TAYLOR_SLOW): Likewise.
6510 (__sin): Use TAYLOR_SINCOS.
6511 (__cos): Likewise.
6512 (slow): Use TAYLOR_SLOW.
6513 (sloww): Likewise.
6514 (bsloww): Likewise.
6515 (csloww): Likewise.
6516
d84f25c7
LD
65172013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6518
6519 * stdlib/strtod_l.c: Fix buffer overrun.
6520
5eea0404
SP
65212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6522
7849ff93
SP
6523 * benchtests/Makefile (bench): Add sincos.
6524 * benchtests/bench-sincos.c: New file.
6525
cfa3c886
SP
6526 * math/libm-test.inc (cos_test_data): New test inputs.
6527 (sin_test_data): Likewise.
6528
b348e1e3
SP
6529 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6530 macro.
6531 (__sin): Use it.
6532 (__cos): Likewise.
6533 (slow1): Likewise.
6534 (slow2): Likewise.
6535 (sloww1): Likewise.
6536 (sloww2): Likewise.
6537 (bsloww1): Likewise.
6538 (bsloww2): Likewise.
6539 (cslow2): Likewise.
6540 (csloww1): Likewise.
6541 (csloww2): Likewise.
6542
6cce25f8
SP
6543 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6544 function.
6545 (__sin): Use it.
6546 (__cos): Likewise.
6547
5eea0404
SP
6548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6549 gotos.
6550 (__cos): Likewise.
6551
9c21573c
MR
65522013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6553
6554 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6555 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6556 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6557 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6558 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6559 * elf/cache.c (print_entry): Handle the new cache flags.
6560
24d22e65
JM
65612013-09-18 Joseph Myers <joseph@codesourcery.com>
6562 Aldy Hernandez <aldyh@redhat.com>
6563
6564 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6565 Change condition to [_SOFT_FLOAT].
6566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6578 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6581 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6582 declaration.
6583
d13ef066
JM
65842013-09-18 Joseph Myers <joseph@codesourcery.com>
6585
2e071de0
JM
6586 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6587 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6588 (__longjmp): Use LOAD_GP to load saved GPRs.
6589 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6590 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6591 (__sigsetjmp): Use SAVE_GP to save GPRs.
6592
d13ef066
JM
6593 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6594 Do not append -msoft-float.
6595 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6596
97a0650b
SP
65972013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6598
6599 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6600
11ca09e9
JM
66012013-09-17 Joseph Myers <joseph@codesourcery.com>
6602
6603 [BZ #15966]
6604 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6605 (_FPU_GETCW): Use initial "__" on variable and field names but not
6606 on macro parameter name.
6607 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6608 parentheses around reference to macro parameter.
6609
08ffcf34
RS
66102013-09-13 Richard Sandiford <richard@codesourcery.com>
6611
6612 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6613 prototype.
6614 (ctype_startup): Use uint32_t in cast and sizeof for
6615 ctype->charnames.
6616
ae7080d3
JL
66172013-09-11 Jia Liu <proljc@gmail.com>
6618
6619 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6620 __daddr_t_defined.
6621 [__FreeBSD__]: Likewise.
6622
5905e7b3
OB
66232013-09-11 Ondřej Bílka <neleai@seznam.cz>
6624
6625 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6626 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6627 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6628 (strchr): Remove __strchr_sse42 ifunc selection.
6629 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6630 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6631
b987c776
WN
66322013-09-11 Will Newton <will.newton@linaro.org>
6633
6634 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6635 parameter to RES. Remove hardcoded 1000 value.
6636 * benchtests/bench-skeleton.c (main): Pass RES parameter
6637 to TIMING_INIT and multiply result by 1000.
6638
ddf985af
AZ
66392013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6640
6641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6642
ffdd3181
AS
66432013-09-11 Andreas Schwab <schwab@suse.de>
6644
6645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6646 if not defined.
6647 (O_TMPFILE) [__USE_GNU]: Define.
6648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6649 Define.
6650
b73ed247
WN
66512013-09-11 Will Newton <will.newton@linaro.org>
6652
6653 [BZ #15857]
6654 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6655 does not overflow.
6656
55e17aad
WN
66572013-09-11 Will Newton <will.newton@linaro.org>
6658
6659 [BZ #15856]
6660 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6661 does not overflow.
6662
1159a193
WN
66632013-09-11 Will Newton <will.newton@linaro.org>
6664
6665 [BZ #15855]
6666 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6667 does not overflow.
6668
5905e7b3 66692013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
6670
6671 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6672 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6676
cdfc721b
AM
66772013-09-10 Allan McRae <allan@archlinux.org>
6678
aa04af00
AM
6679 [BZ #15748]
6680 * manual/arith.texi (Parsing of Floats): Clarify
6681 cross-reference.
6682
cdfc721b
AM
6683 [BZ #15849]
6684 * manual/install.texi (Running make install): Mention
6685 --enable-pt-chown.
6686 * INSTALL: Regenerated.
6687
95e7cf29
MR
66882013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6689
6690 * csu/init-first.c (_init): Remove the !SHARED condition around
6691 FPU control word initialization.
6692 * elf/dl-support.c (_dl_fpu_control): New variable.
6693 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6694 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6695 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6696 * math/test-fpucw-static.c: New file.
6697 * math/test-fpucw-ieee.c: New file.
6698 * math/test-fpucw-ieee-static.c: New file.
6699 * math/Makefile (tests): Add `test-fpucw-ieee' and
6700 `$(tests-static)'.
6701 (tests-static): New variable.
6702 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6703 dependency to...
6704 [($(build-shared),yes)]
6705 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6706 ... this.
6707 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6708 New dependency.
6709
83e43bf0
AM
67102013-09-09 Allan McRae <allan@archlinux.org>
6711
a9f5ce09
AM
6712 [BZ #15939]
6713 * manual/string.texi (Collation Functions): Fix typo in
6714 strcoll example.
6715 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6716
34829bc2
AM
6717 [BZ #15893]
6718 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6719
3932737d
AM
6720 [BZ #15892]
6721 * libio/memstream.c (open_memstream): Fix memory leak.
6722 * libio/wmemstream.c (open_wmemstream): Likewise.
6723
83e43bf0
AM
6724 [BZ #15895]
6725 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6726
0c66b8e9
WN
67272013-09-09 Will Newton <will.newton@linaro.org>
6728
6729 * malloc/Makefile: Add tst-realloc to tests.
6730 * malloc/tst-realloc.c: New file.
6731
f6b00fd1
AM
67322013-09-09 Allan McRae <allan@archlinux.org>
6733
6734 [BZ #15844]
6735 * COPYING: Update from GNU website to fix FSF address.
6736 * COPYING.LIB: Likewise.
6737
eec55e16
DM
67382013-09-06 David S. Miller <davem@davemloft.net>
6739
6740 * po/zh_TW.po: Update Chinese (traditional) translation from
6741 translation project.
6742
1ecbb381
RS
67432013-09-06 Richard Sandiford <richard@codesourcery.com>
6744 Joseph Myers <joseph@codesourcery.com>
6745
6746 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6747 "localeinfo.h".
6748 (obstack_chunk_alloc): New macro.
6749 (obstack_chunk_free): Likewise.
6750 (record_offset): New function.
6751 (init_locale_data): Likewise.
6752 (align_locale_data): Likewise.
6753 (add_locale_empty): Likewise.
6754 (add_locale_raw_data): Likewise.
6755 (add_locale_raw_obstack): Likewise.
6756 (add_locale_string): Likewise.
6757 (add_locale_wstring): Likewise.
6758 (add_locale_uint32): Likewise.
6759 (add_locale_uint32_array): Likewise.
6760 (add_locale_char): Likewise.
6761 (start_locale_structure): Likewise.
6762 (end_locale_structure): Likewise.
6763 (start_locale_prelude): Likewise.
6764 (end_locale_prelude): Likewise.
6765 (write_locale_data): Take locale_file structure rather than an
6766 iovec.
6767 * locale/programs/locfile.h: Include "obstack.h".
6768 (struct locale_file): Change to store locale file contents instead
6769 of header.
6770 (init_locale_data): New prototype.
6771 (align_locale_data): Likewise.
6772 (add_locale_empty): Likewise.
6773 (add_locale_raw_data): Likewise.
6774 (add_locale_raw_obstack): Likewise.
6775 (add_locale_string): Likewise.
6776 (add_locale_wstring): Likewise.
6777 (add_locale_uint32): Likewise.
6778 (add_locale_uint32_array): Likewise.
6779 (add_locale_char): Likewise.
6780 (start_locale_structure): Likewise.
6781 (end_locale_structure): Likewise.
6782 (start_locale_prelude): Likewise.
6783 (end_locale_prelude): Likewise.
6784 (write_locale_data): Update prototype.
6785 * locale/programs/3level.h (struct TABLE): Remove result field.
6786 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6787 Use new locale_file interface.
6788 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6789 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6790 * locale/programs/ld-address.c (address_output): Use new
6791 locale_file interface.
6792 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6793 NO_ADD_LOCALE.
6794 (collate_finish): Don't call collseq_table_finalize.
6795 (collate_output): Use new locale_file interface.
6796 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6797 in file.
6798 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6799 (TABLE): Move defines earlier in file.
6800 (ELEMENT): Likewise.
6801 (DEFAULT): Likewise.
6802 (wctrans_table_add): Move macro and inline function earlier in
6803 file.
6804 (struct wctype_table): Move type earlier in file.
6805 (add_locale_wctype_table): New static prototype.
6806 (struct locale_ctype_t): Use logical types instead of struct iovec
6807 pointers for members.
6808 (ctype_output): Use new locale_file interface.
6809 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6810 new locale_file interface.
6811 (allocate_arrays): Update for use of new locale_file interface.
6812 * locale/programs/ld-identification.c (identification_output): Use
6813 new locale_file interface.
6814 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6815 * locale/programs/ld-messages.c (messages_output): Likewise.
6816 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6817 * locale/programs/ld-name.c (name_output): Likewise.
6818 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6819 * locale/programs/ld-paper.c (paper_output): Likewise.
6820 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6821 * locale/programs/ld-time.c (time_output): Likewise.
6822
e029e2e5
AZ
68232013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6824
6825 * benchtests/Makefile: Add memrchr benchmark.
6826 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6827 benchmark as memrchr.
6828 * benchtests/bench-memrchr-ifunc.c: New file.
6829 * benchtests/bench-memrchr.c: New file.
6830
bbf6e8e4
WN
68312013-09-06 Will Newton <will.newton@linaro.org>
6832
6833 * benchtests/Makefile (string-bench): Add memcpy.
6834
6c82a2f8
CD
68352013-09-05 Carlos O'Donell <carlos@redhat.com>
6836 Cong Wang <amwang@redhat.com>
6837
e732c5f0 6838 [BZ #15850]
6c82a2f8
CD
6839 * sysdeps/unix/sysv/linux/bits/in.h
6840 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6841 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6842 before __USE_KERNEL_IPV6_DEFS uses.
6843 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6844 IPPROTO_BEETPH.
6845 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6846 sockaddr_in6, or ipv6_mreq.
6847
5430fc65
AZ
68482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849
6850 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6851 memory access for final bytes in some large inputs.
6852 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6853
4660856c
AZ
68542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855
6856 * string/test-memrchr.c: New file.
6857 * string/test-memrchr-ifunc.c: New file.
6858 * string/Makefile: Add new memrchr testcase.
6859
bb8ea713
MF
68602013-09-05 Mike Frysinger <vapier@gentoo.org>
6861
6862 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6863 fanotify_init returns EPERM.
6864
b92a20b5
JM
68652013-09-04 Joseph Myers <joseph@codesourcery.com>
6866
6867 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6868 errors.
6869 (top level): Treat second token from macro or constant entries for
6870 allowed headers as allowed.
6871 * include/complex.h: Condition internal declarations on
6872 [!_ISOMAC].
6873 * include/fenv.h: Condition include of <stdbool.h> and internal
6874 declarations on [!_ISOMAC].
7447ccd9
CL
6875
68762013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6877
3e181dda 6878 [BZ #15923]
7447ccd9
CL
6879 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6880
3f2e46a4
JM
68812013-09-04 Joseph Myers <joseph@codesourcery.com>
6882
6883 * configure.in (--enable-versioning): Remove configure option.
6884 (libc_cv_asm_symver_directive): Remove configure test.
6885 (libc_cv_ld_version_script_option): Likewise.
6886 (VERSIONING): Remove variable and AC_SUBST.
6887 (DO_VERSIONING): Remove AC_DEFINE.
6888 * configure: Regenerated.
6889 * config.h.in (DO_VERSIONING): Remove macro.
6890 * Makerules [$(versioning) = yes]: Change conditionals to
6891 [$(build-shared) = yes].
6892 * config.make.in (versioning): Remove variable.
6893 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6894 [$(build-shared) = yes].
6895 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6896 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6897 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6898 [$(build-shared) = yes].
6899 * extra-lib.mk [$(versioning) = yes]: Likewise.
6900 * hurd/Makefile [$(versioning) = yes]: Likewise.
6901 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6902 [SHARED].
6903 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6904 [SHARED].
6905 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6906 [SHARED && !NO_HIDDEN].
6907 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6908 [SHARED].
6909 [SHARED && DO_VERSIONING]: Likewise..
6910 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6911 [$(build-shared) = yes].
6912 * manual/install.texi (--disable-versioning): Remove
6913 documentation.
6914 * INSTALL: Regenerated.
6915 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6916 to [SHARED].
6917 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6918 [$(build-shared) = yes].
6919 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6920 * sysdeps/i386/i686/multiarch/strstr-c.c
6921 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6922 [SHARED && !NO_HIDDEN].
6923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6924 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6925 * sysdeps/powerpc/powerpc32/dl-machine.c
6926 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6927 * sysdeps/powerpc/powerpc32/sysdep.h
6928 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6929 to [SHARED && PIC && !NO_HIDDEN].
6930 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6931 conditional to [SHARED].
6932
44558701
WN
69332013-09-04 Will Newton <will.newton@linaro.org>
6934
6935 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6936 * benchtests/bench-string.h: Include bench-timing.h instead
6937 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6938 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6939 call to HP_TIMING_DIFF_INIT.
6940 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6941 instead of hp-timing.h macros.
6942 * benchtests/bench-memchr.c: Likewise.
6943 * benchtests/bench-memcmp.c: Likewise.
6944 * benchtests/bench-memcpy.c: Likewise.
6945 * benchtests/bench-memmem.c: Likewise.
6946 * benchtests/bench-memmove.c: Likewise.
6947 * benchtests/bench-memset.c: Likewise.
6948 * benchtests/bench-rawmemchr.c: Likewise.
6949 * benchtests/bench-strcasecmp.c: Likewise.
6950 * benchtests/bench-strcasestr.c: Likewise.
6951 * benchtests/bench-strcat.c: Likewise.
6952 * benchtests/bench-strchr.c: Likewise.
6953 * benchtests/bench-strcmp.c: Likewise.
6954 * benchtests/bench-strcpy.c: Likewise.
6955 * benchtests/bench-strcpy_chk.c: Likewise.
6956 * benchtests/bench-strlen.c: Likewise.
6957 * benchtests/bench-strncasecmp.c: Likewise.
6958 * benchtests/bench-strncat.c: Likewise.
6959 * benchtests/bench-strncmp.c: Likewise.
6960 * benchtests/bench-strncpy.c: Likewise.
6961 * benchtests/bench-strnlen.c: Likewise.
6962 * benchtests/bench-strpbrk.c: Likewise.
6963 * benchtests/bench-strrchr.c: Likewise.
6964 * benchtests/bench-strspn.c: Likewise.
6965 * benchtests/bench-strstr.c: Likewise.
6966
cae16d66
WN
69672013-09-04 Will Newton <will.newton@linaro.org>
6968
6969 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6970
ffa3cd7f
JM
69712013-09-03 Joseph Myers <joseph@codesourcery.com>
6972
6973 [BZ #15427]
6974 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6975 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6976 * math/libm-test.inc (lgamma_test_data): Add more tests.
6977 * sysdeps/i386/fpu/libm-test-ulps: Update.
6978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979
8f02859f
OB
69802013-09-03 Ondřej Bílka <neleai@seznam.cz>
6981
6982 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6984 Add ifunc.
6985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6986 Add strcmp-sse2-unaligned
6987 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6988
18d43716
MF
69892013-09-02 Mike Frysinger <vapier@gentoo.org>
6990
6991 * Versions.def (libc): Add GLIBC_2.19.
6992
ac444012
MF
69932013-09-02 Mike Frysinger <vapier@gentoo.org>
6994
6995 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6996 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6997
b7835e32
JM
69982013-09-02 Joseph Myers <joseph@codesourcery.com>
6999
7000 [BZ #14155]
7001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7002 intermediate calculations in recurrence.
7003 (__ieee754_ynf): Likewise.
7004 * math/libm-test.inc (jn_test_data): Do not allow spurious
7005 underflow exception. Add more tests.
7006 (yn_test_data): Add more tests.
7007 * sysdeps/i386/fpu/libm-test-ulps: Update.
7008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009
8220f4f0
OB
70102013-09-02 Ondřej Bílka <neleai@seznam.cz>
7011
7012 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7013
f24a6d08
OB
70142013-08-30 Ondřej Bílka <neleai@seznam.cz>
7015
7016 * csu/init-first.c: Fix then/than typos.
7017 * locale/programs/ld-collate.c: Likewise.
7018 * locale/programs/linereader.h: Likewise.
7019 * manual/charset.texi: Likewise.
7020 * manual/filesys.texi: Likewise.
7021 * manual/stdio.texi: Likewise.
7022 * manual/string.texi: Likewise.
7023 * stdlib/fmtmsg.c: Likewise.
7024 * sysdeps/i386/stpncpy.S: Likewise.
7025 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7026 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7027 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7028 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7029
382466e0
OB
70302013-08-30 Ondřej Bílka <neleai@seznam.cz>
7031
7032 * elf/dl-open.c: Fix typos.
7033 * iconvdata/gbbig5.c: Likewise.
7034 * iconvdata/iso-2022-jp.c: Likewise.
7035 * iconv/gconv_int.h: Likewise.
7036 * iconv/loop.c: Likewise.
7037 * nis/rpcsvc/nis.h: Likewise.
7038 * resolv/ns_name.c: Likewise.
7039 * stdio-common/vfscanf.c: Likewise.
7040 * streams/stropts.h: Likewise.
7041 * sunrpc/rpc_thread.c: Likewise.
7042 * sysdeps/i386/strpbrk.S: Likewise.
7043 * sysdeps/ieee754/k_standard.c: Likewise.
7044 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7046 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7047 * sysdeps/mach/hurd/profil.c: Likewise.
7048 * sysdeps/s390/dl-procinfo.h: Likewise.
7049 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7050 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7051 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7052 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7053 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7054
0186c6e9
OB
70552013-08-30 Ondřej Bílka <neleai@seznam.cz>
7056
7057 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7059
d4e16af1
OB
70602013-08-29 Ondřej Bílka <neleai@seznam.cz>
7061
7062 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7063 aix specific files.
7064 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7065 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7067 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7069 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7070 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7071 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7072
88335980
TS
70732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7074 Roland McGrath <roland@hack.frob.com>
7075
7076 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7077 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7078
ed479b02
ST
70792013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7080
7081 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7082 __executable_start symbol instead of _start.
7083
f1cc4c86
TS
70842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7085
d821f07c
TS
7086 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7087 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7088 Move macros to...
7089 * sysdeps/gnu/ldsodefs.h: ... this new file.
7090
c54290cf
TS
7091 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7092 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7093 instead of ELFOSABI_LINUX.
7094
0007fc9b 7095 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7096 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7097 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7098 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7099 Likewise.
7100 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7101 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7102 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7103 Likewise.
7104 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7105 (ibm_extended_long_double): Add ieee_nan member.
7106 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7107 (do_test): New function.
7108
f1cc4c86
TS
7109 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7110 TEST_TRUNC.
7111 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7112 functions, renamed from truncdfsf_test, trunctfsf_test,
7113 trunctfdf_test.
7114 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7115 functions.
7116 (do_test): Run all these.
7117
6f65e668
OB
71182013-08-29 Ondřej Bílka <neleai@seznam.cz>
7119
7120 * argp/argp-help.c: Fix typos.
7121 * argp/argp-parse.c: Likewise.
7122 * debug/backtracesyms.c: Likewise.
7123 * elf/elf.h: Likewise.
7124 * malloc/malloc.c: Likewise.
7125 * nis/nis_print.c: Likewise.
7126 * resolv/res_comp.c: Likewise.
7127 * stdlib/stdlib.h: Likewise.
7128 * sunrpc/clnt_tcp.c: Likewise.
7129 * sunrpc/clnt_udp.c: Likewise.
7130 * sunrpc/clnt_unix.c: Likewise.
7131 * sysdeps/unix/bsd/ptsname.c: Likewise.
7132 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7133 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7135 Likewise.
7136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7137 Likewise.
7138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7139 Likewise.
6f65e668
OB
7140 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7141
3a309239
SP
71422013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7143
7144 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7146
3b813b29
MF
71472013-08-27 Mike Frysinger <vapier@gentoo.org>
7148
7149 [BZ #15897]
7150 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7151 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7152 ($(objpfx)bug-dl-leaf): New rule.
7153 ($(objpfx)bug-dl-leaf.so): Likewise.
7154 ($(objpfx)bug-dl-leaf.out): Likewise.
7155 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7156 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7157 * dlfcn/bug-dl-leaf.c: New test.
7158 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7159 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7160 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7161 (dlclose): Likewise.
7162 (dlmopen): Likewise.
7163
8cc3269f
RM
71642013-08-27 Roland McGrath <roland@hack.frob.com>
7165
7f9d0034
RM
7166 * include/netdb.h [!_ISOMAC]:
7167 Don't include <tls.h>.
7168 (h_errno, __libc_h_errno): Move declaration and macros out of
7169 [_LIBC_REENTRANT].
7170
fb431262
RM
7171 * include/resolv.h [_RESOLV_H_]:
7172 Don't include <tls.h>.
7173 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7174 * resolv/res_libc.c: Don't include <tls.h>.
7175 (_res): Use __attribute__ ((nocommon)) in place of
7176 __attribute__ ((section (".bss"))).
7177
bd81123a
RM
7178 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7179 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7180
c4e42566
RM
7181 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7182
f890a59b
RM
7183 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7184 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7185
7186 * resolv/res_mkquery.c: Include <sys/time.h>.
7187
5d1f0a09
RM
7188 * inet/ifreq.c: Moved to ...
7189 * sysdeps/unix/ifreq.c: ... here.
7190 * inet/ifreq.c: New file, true stub version.
7191
6fcf28b3
RM
7192 * socket/sa_len.c: New file.
7193 * socket/Makefile (aux): Add it.
7194 * sysdeps/unix/sysv/linux/Makefile
7195 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7196 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7197 and #include <socket/sa_len.c>.
7198 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7199 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7200
e041fb8b
RM
7201 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7202 * bits/socket.h: ... here.
7203
8cc3269f
RM
7204 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7205 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7206 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7207
5d228a43
AS
72082013-08-27 Andreas Schwab <schwab@suse.de>
7209
45b8accc
AS
7210 [BZ #15736]
7211 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7212 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7213 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7214 * string/test-strcasecmp.c (test_main): Run tests in several
7215 locales.
7216 * string/test-strncasecmp.c (test_main): Likewise.
7217
5d228a43
AS
7218 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7219 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7220 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7222 (__strncasecmp_ssse3) [PIC]: Likewise.
7223
59d112a4
RM
72242013-08-26 Roland McGrath <roland@hack.frob.com>
7225
53234cc3
RM
7226 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7227
59d112a4
RM
7228 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7229 instead of explicitly declaring xdecrypt.
7230 * nis/nss_nis/nis-publickey.c: Likewise.
7231
595aba70
SP
72322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7233
7234 [BZ #15890]
7235 * nscd/aicache.c: Include res_hconf.h.
7236 (addhstaiX): Initialize res_hconf.
7237
ffabd393
AS
72382013-08-26 Andreas Schwab <schwab@suse.de>
7239
7240 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7241 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7242
e0a69f5c
SP
72432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7244
7245 * nscd/aicache.c (addhstaiX): Fix indentation.
7246
8c12f01d
MF
72472013-08-25 Mike Frysinger <vapier@gentoo.org>
7248
7249 * configure.ac: Quote $build_pt_chown test.
7250 * configure: Regenerated.
7251
8fe89494
JM
72522013-08-23 Joseph Myers <joseph@codesourcery.com>
7253
7254 [BZ #15532]
7255 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7256 * math/s_cexpf.c (__cexpf): Likewise.
7257 * math/s_cexpl.c (__cexpl): Likewise.
7258 * math/libm-test.inc (cexp_test_data): Correct expected return
7259 value for NaN + i0. Add another test.
7260
75b181d6
DM
72612013-08-22 David S. Miller <davem@davemloft.net>
7262
7263 * po/ca.po: Update Catalan translation from translation project.
936241e4 7264 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7265
acd06bb1
JM
72662013-08-21 Joseph Myers <joseph@codesourcery.com>
7267
7268 [BZ #15797]
7269 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7270 is infinite, not alongside NaN test.
7271 * math/s_fdimf.c (__fdimf): Likewise.
7272 * math/s_fdiml.c (__fdiml): Likewise.
7273 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7274 errno is unchanged.
7275
c0c3f78a
OB
72762013-08-21 Ondřej Bílka <neleai@seznam.cz>
7277
7278 * argp/argp-help.c: Fix typos.
7279 * crypt/speeds.c: Likewise.
7280 * csu/check_fds.c: Likewise.
7281 * elf/dl-load.c: Likewise.
7282 * elf/dl-open.c: Likewise.
7283 * elf/reldep3.c: Likewise.
7284 * elf/reldep.c: Likewise.
7285 * elf/sprof.c: Likewise.
7286 * iconv/iconv_charmap.c: Likewise.
7287 * iconv/skeleton.c: Likewise.
7288 * iconv/strtab.c: Likewise.
7289 * io/lockf64.c: Likewise.
7290 * libio/libioP.h: Likewise.
7291 * resolv/gai_notify.c: Likewise.
7292 * resolv/ns_name.c: Likewise.
7293 * resolv/ns_samedomain.c: Likewise.
7294 * resolv/res_send.c: Likewise.
7295 * stdlib/random.c: Likewise.
7296 * sunrpc/rpc/xdr.h: Likewise.
7297 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7298 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7305 * sysdeps/mach/hurd/check_fds.c: Likewise.
7306 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7307 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7308 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7310 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7311 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7312 * sysdeps/pthread/aio_notify.c: Likewise.
7313 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7314 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7315 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7316 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7317 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7318
46ed1038
LD
73192013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7320
7321 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7322 version if bit_Slow_SSE4_2 is set.
7323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7324 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7325
d400dcac
AZ
73262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7327
7328 [BZ #15867]
7329 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7330 trampoline stack frame information.
7331 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7332 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7333 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7334 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7335 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7336 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7337 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7338 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7339 sa_flags value.
7340 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7341 interrupting a syscall and set with option SA_SIGINFO.
7342
42c8fdd8
JM
73432013-08-20 Joseph Myers <joseph@codesourcery.com>
7344
c980f2f4
JM
7345 [BZ #15531]
7346 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7347 argument is infinite.
7348 * math/s_cprojf.c (__cprojf): Likewise.
7349 * math/s_cprojl.c (__cprojl): Likewise.
7350 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7351 * math/libm-test.inc (cproj_test_data): Add more tests.
7352
0716c4fc
JM
7353 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7354
42c8fdd8
JM
7355 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7356 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7357 size. Use __ffs to determine corresponding shift.
7358
b31469d0
JM
73592013-08-20 Joseph Myers <joseph@codesourcery.com>
7360 Roland McGrath <roland@hack.frob.com>
7361
7362 * Makefile (INSTALL): Remove trailing blank lines from output of
7363 makeinfo.
7364
4e39af6e
AK
73652013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7366
7367 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7368 Align 32 bit compat elf_greg to 8 bytes.
7369
f315524e
AA
73702013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7371
7372 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7373
1326ba1a
SP
73742013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7375
7376 * string/strcoll_l.c (coll_seq): New structure.
7377 (get_next_seq_cached): New function.
7378 (get_next_seq): New function.
7379 (do_compare): New function.
7380 (STRCOLL): Use GNU style definition. Simplify implementation
7381 by using get_next_seq, get_next_seq_cached and do_compare.
7382
91ce4085
FW
73832013-08-16 Florian Weimer <fweimer@redhat.com>
7384
7385 [BZ #14699]
7386 CVE-2013-4237
7387 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7388 member.
7389 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7390 member.
7391 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7392 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7393 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7394 conditional.
7395 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7396 GETDENTS_64BIT_ALIGNED.
7397 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7398 * manual/filesys.texi (Reading/Closing Directory): Document
7399 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7400 strongly.
7401 * manual/conf.texi (Limits for Files): Add portability note to
7402 NAME_MAX, PATH_MAX.
7403 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7404
ca0a6bc4
AS
74052013-08-13 Andreas Schwab <schwab@suse.de>
7406
7407 [BZ #15749]
7408 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7409 of fabs.
7410 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7411 LDBL_MAX_EXP >= 16384]: Add tests for it.
7412
6c1fd795
DM
74132013-08-12 David S. Miller <davem@davemloft.net>
7414
7415 * version.h (RELEASE): Set to "development".
7416 (VERSION): Set to "2.18.90".
7417 * NEWS: Add 2.19 section.
7418
31ad488d
DM
74192013-08-03 David S. Miller <davem@davemloft.net>
7420
7421 * po/ko.po: Update Korean translation from translation project.
7422
db24e684
DM
74232013-08-01 David S. Miller <davem@davemloft.net>
7424
7425 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7426 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7427 Bilka.
7428
f723285b
DM
74292013-07-30 David S. Miller <davem@davemloft.net>
7430
7431 * po/fr.po: Update French translation from translation project.
7432
3cbc52db
DM
74332013-07-28 David S. Miller <davem@davemloft.net>
7434
30bbc0cc
DM
7435 * po/cs.po: Update Czech translation from translation project.
7436
3cbc52db
DM
7437 * po/sv.po: Update Swedish translation from translation project.
7438
d492e6d0
DM
74392013-07-27 David S. Miller <davem@davemloft.net>
7440
f1a7f492
DM
7441 * po/eo.po: Update Esperanto translation from translation project.
7442
90e62a4a
DM
7443 * po/vi.po: Update Vietnamese translation from translation project.
7444
d492e6d0
DM
7445 * po/de.po: Update German translation from translation project.
7446
d4baa62d
DM
74472013-07-26 David S. Miller <davem@davemloft.net>
7448
641aa7b4
DM
7449 * po/bg.po: Update Bulgarian translation from translation project.
7450
d4baa62d
DM
7451 * po/nl.po: Update Dutch translation from translation project.
7452 * po/pl.po: Update Polish translation from translation project.
7453 * po/ru.po: Update Russian translation from translation project.
7454
61a9dcb9
DM
74552013-07-24 David S. Miller <davem@davemloft.net>
7456
7457 * po/libc.pot: Update.
7458
7b1f8b58
AZ
74592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7460
7461 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7462 variable page size.
7463 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7465 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7466
a8fc7a03
AK
74672013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7468
7469 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7470
e4608715
CD
74712013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7472 Andreas Schwab <schwab@suse.de>
7473 Roland McGrath <roland@hack.frob.com>
7474 Joseph Myers <joseph@codesourcery.com>
7475 Carlos O'Donell <carlos@redhat.com>
7476
7477 [BZ #15755]
7478 * config.h.in: Define HAVE_PT_CHOWN.
7479 * config.make.in (build-pt-chown): New variable.
7480 * configure.in (--enable-pt_chown): New configure option.
7481 * configure: Regenerate.
7482 * login/Makefile: Include Makeconfig. Build pt_chown only if
7483 build-pt-chown is enabled.
7484 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7485 pt_chown to fix pty ownership.
7486 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7487 CLOSE_ALL_FDS.
7488 * manual/install.texi (Configuring and compiling): Mention
7489 --enable-pt_chown. Add @findex for grantpt.
7490 * INSTALL: Regenerate.
7491
da2d62df
DM
74922013-07-20 David S. Miller <davem@davemloft.net>
7493
7494 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7495 difference between 32-bit and 64-bit.
7496
d7e06450
CD
74972013-07-15 Carlos O'Donell <carlos@redhat.com>
7498
7499 [BZ #15711]
7500 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7501 Avoid system header dependency with -ffreestanding.
7502 ($(objpfx)bits/syscall%d): Likewise.
7503
f959cfd7
DM
75042013-07-13 David S. Miller <davem@davemloft.net>
7505
7506 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7507 underflows from atanl/atan2l due to bug 15319.
7508 (casinh_test_data): Likewise.
7509
c61f8513
DM
75102013-07-07 David S. Miller <davem@davemloft.net>
7511
7512 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7513
72c90ed0
JA
75142013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7515
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
52dfbe13
SP
75192013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7520
7521 * configure.in (--enable-lock-elision): Fix message text.
7522 * INSTALL: Regenerate.
7523 * configure: Regenerate.
7524
3f169543
AZ
75252013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7526
7527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7528
521c6785
AJ
75292013-07-03 Andreas Jaeger <aj@suse.de>
7530
7531 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7532 define.
7533 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7534 (ptrace_peeksiginfo_args): Add.
7535 (__ptrace_peeksiginfo_flags): Add.
7536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7537 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7539
d2cc15cb
AM
75402013-07-03 Allan McRae <allan@archlinux.org>
7541
7542 * sysdeps/i386/fpu/libm-test-ulps: Update.
7543
3aaeeca7
DM
75442013-07-02 David S. Miller <davem@davemloft.net>
7545
7546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7547
5314ed1a
MT
75482013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7549
7550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7551
67338156
JM
75522013-07-02 Joseph Myers <joseph@codesourcery.com>
7553
7554 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7556
1717da59
AK
75572013-07-02 Andi Kleen <ak@linux.intel.com>
7558
7559 * config.h.in (ENABLE_LOCK_ELISION): Add.
7560 * configure.in (--enable-lock-elision): Add option.
7561 * manual/install.texi: Document --enable lock elision.
7562 * configure: Regenerate
7563 * INSTALL: Regenerate.
7564
1c81621c
L
75652013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7568 SSE4.2 strcasecmp for libc.a.
7569 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7570
77f01ab5
JM
75712013-07-02 Joseph Myers <joseph@codesourcery.com>
7572
7573 [BZ #13304]
7574 * soft-fp/op-common.h (_FP_FMA): New macro.
7575 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7576 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7577 (_FP_MUL_MEAT_1_imm): ... here.
7578 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7579 (_FP_MUL_MEAT_1_wide): ... here.
7580 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7581 (_FP_MUL_MEAT_1_hard): ... here.
7582 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7583 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7584 (_FP_MUL_MEAT_2_wide): ... here.
7585 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7586 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7587 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7588 (_FP_MUL_MEAT_2_gmp): ... here.
7589 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7590 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7591 (_FP_MUL_MEAT_4_wide): ... here.
7592 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7593 (_FP_MUL_MEAT_4_gmp): ... here.
7594 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7595 (_FP_WFRACBITS_DW_S): Likewise.
7596 (_FP_WFRACXBITS_DW_S): Likewise.
7597 (_FP_HIGHBIT_DW_S): Likewise.
7598 (FP_FMA_S): Likewise.
7599 (_FP_FRAC_HIGH_DW_S): Likewise.
7600 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7601 (_FP_WFRACBITS_DW_D): Likewise.
7602 (_FP_WFRACXBITS_DW_D): Likewise.
7603 (_FP_HIGHBIT_DW_D): Likewise.
7604 (FP_FMA_D): Likewise.
7605 (_FP_FRAC_HIGH_DW_D): Likewise.
7606 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7607 (_FP_WFRACBITS_DW_E): Likewise.
7608 (_FP_WFRACXBITS_DW_E): Likewise.
7609 (_FP_HIGHBIT_DW_E): Likewise.
7610 (FP_FMA_E): Likewise.
7611 (_FP_FRAC_HIGH_DW_E): Likewise.
7612 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7613 (_FP_WFRACBITS_DW_Q): Likewise.
7614 (_FP_WFRACXBITS_DW_Q): Likewise.
7615 (_FP_HIGHBIT_DW_Q): Likewise.
7616 (FP_FMA_Q): Likewise.
7617 (_FP_FRAC_HIGH_DW_Q): Likewise.
7618 * soft-fp/fmasf4.c: New file.
7619 * soft-fp/fmadf4.c: Likewise.
7620 * soft-fp/fmatf4.c: Likewise.
7621
6308fd9a
LD
76222013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7623
7624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7625 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7626 Silvermont.
7627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7628 macro.
7629 (index_Slow_SSE4_2): Likewise.
7630 (index_Prefer_PMINUB_for_stringop): Likewise.
7631 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7632 bit_Slow_SSE4_2 is set.
7633 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7635
89cd9569
RA
76362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7637
7638 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7639 rtld_global._dl_hwcap2.
7640 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7641 POWER8.
7642 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7643 POWER8 feature descriptions defined in _dl_hwcap2.
7644 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7645 string handling for POWER8 feature bits.
7646 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7647 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7648 _dl_powerpc_cap_flags.
7649 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7650 * sysdeps/powerpc/rtld-global-offsets.sym
7651 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7652 _dl_hwcap2 in the rtld_global_ro structure.
7653
1ae8bfe0
RA
76542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7655
7656 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7657 hardware capabilities in support of AT_HWCAP2.
7658 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7659 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7660 GLRO(dl_hwcap2).
7661 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7662 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7663 explicitly the unknown a_type display mechanism is used.
7664 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7665 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7666 struct member.
7667 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7668 to macro prototype for AT_HWCAP2 support.
7669 * sysdeps/i386/dl-procinfo.h: Likewise.
7670 * sysdeps/s390/dl-procinfo.h: Likewise.
7671 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7672 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7673 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7674 return -1 for unknown a_type display fallback.
7675 * sysdeps/sparc/dl-procinfo.h: Likewise.
7676 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7677 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7678
8fbec010
JM
76792013-06-28 Joseph Myers <joseph@codesourcery.com>
7680
7681 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7682 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7683
0432680e
PY
76842013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7685
7686 [BZ #12492]
7687 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7688 mprotect making __stack_prot writable.
7689
ce61a2ad
NF
76902013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7691 Joseph Myers <joseph@codesourcery.com>
7692
7693 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7694 as being properly aligned.
7695
f91f1c0f
MR
76962013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7697
3d0f5d0c
MR
7698 * dlfcn/modstatic5.c: New file.
7699 * dlfcn/tststatic5.c: New file.
7700 * dlfcn/Makefile (tests): Add tststatic5.
7701 (tests-static): Likewise.
7702 (modules-names): Add modstatic5.
7703 (tststatic5-ENV): New variable.
7704 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7705
f91f1c0f
MR
7706 [BZ #15022]
7707 * elf/dl-support.c (_dl_main_map): New variable.
7708 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7709 (_dl_nns, _dl_load_adds): Set to 1.
7710 (_dl_initial_searchlist): Refer to _dl_main_map.
7711 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7712 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7713 call to _dl_get_origin.
7714 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7715 around call_map.
7716 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7717 * dlfcn/modstatic3.c: New file.
7718 * dlfcn/tststatic3.c: New file.
7719 * dlfcn/tststatic4.c: New file.
7720 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7721 (tests-static): Likewise.
7722 (modules-names): Add modstatic3.
7723 (tststatic3-ENV, tststatic4-ENV): New variables.
7724 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7725 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7726
cbe7d24b
JM
77272013-06-26 Joseph Myers <joseph@codesourcery.com>
7728
7729 * configure.in (CC): Require GCC version 4.4 or later.
7730 * configure: Regenerated.
7731 * manual/install.texi (Tools for Compilation): Update GCC version
7732 requirement.
7733 * INSTALL: Regenerated.
7734
11b8a0e1
LD
77352013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7736
7737 [BZ #15674]
bb5bb87c
L
7738 * string/test-memcmp.c (check2): New.
7739 (main): Call check2.
7740
11b8a0e1
LD
7741 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7742
b0037103
MR
77432013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7744
7745 [BZ #15022]
7746 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7747 over to...
7748 (dl_open_worker) [!SHARED]: ... here.
7749
c18c701d
RA
77502013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7751
7752 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7753
1d17fa5f
RH
77542013-06-25 Richard Henderson <rth@redhat.com>
7755
7756 * locale/programs/locarchive.c: Include <libc-internal.h>
7757
8fcb833a
JM
77582013-06-25 Joseph Myers <joseph@codesourcery.com>
7759
7760 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7761 trailing whitespace removed.
7762
17db6e8d
MF
77632013-06-24 Mike Frysinger <vapier@gentoo.org>
7764
7765 [BZ #10283]
17db6e8d
MF
7766 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7767 * locale/programs/locarchive.c: Include libc-mmap.h.
7768 (prepare_address_space): Take two new outputs (the mmap base and len).
7769 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7770 values.
7771 (create_archive): Declare new mmap base and len values for
7772 prepare_address_space, and store the result in ah.
7773 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7774 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7775 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7776 Declare new mmap base and len values for
7777 prepare_address_space, and store the result in new_ah.
7778 (open_archive): Declare new mmap base and len values for
7779 prepare_address_space, and store the result in ah.
7780 (close_archive): If ah->mmap_base is not NULL, use that and
7781 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7782 * sysdeps/generic/libc-mmap.h: New file.
7783
d605071e
MF
77842013-06-24 Mike Frysinger <vapier@gentoo.org>
7785
7786 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7787 (ALIGN_UP): Likewise.
7788 (PTR_ALIGN_DOWN): Likewise.
7789 (PTR_ALIGN_UP): Likewise.
7790
2f063a6e
RA
77912013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7792
7793 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7794 entry mapped to PPC_PLATFORM_POWER8.
7795 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7796 POWER8.
7797 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7798 (_dl_string_platform): Add case for exporting platform position for
7799 POWER8.
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7801 search path to sysdeps/powerpc/powerpc32/power8 directory.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7803 search path to sysdeps/powerpc/powerpc64/power8 directory.
7804 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7805 power7 directories.
7806 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7807 power7 directories.
7808
a31ee4b3
SP
78092013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7810
a74ca98f
SP
7811 * INSTALL: Regenerate.
7812
a31ee4b3
SP
7813 * nscd/connections.c (nscd_init): Fix comment.
7814
695c378f
JM
78152013-06-22 Joseph Myers <joseph@codesourcery.com>
7816
d8412221
JM
7817 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7818
695c378f
JM
7819 [BZ #15667]
7820 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7821 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7822
d1d54715
MR
78232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7824
7825 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7826 DL_DST_REQ_STATIC.
7827 (DL_DST_REQ_STATIC): Remove macro.
7828
8fdda7af
JM
78292013-06-21 Joseph Myers <joseph@codesourcery.com>
7830
7831 [BZ #7006]
7832 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7833 with a shift of 0 bits.
7834
f3bc5e5a
MR
78352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7836
7837 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7838 $(tststatic-ENV).
7839
be09e8c9
KK
78402013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7841
7842 [BZ #15655]
7843 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7844
85c2e611
AZ
78452013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7846
7847 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7848 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7849 accepts -fno-tree-loop-distribute-patterns.
7850 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7851 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7852 recursive call.
7853 * string/memset.c (memset): Likewise.
7854 * string/test-memmove.c (simple_memmove): Disable loop transformation
7855 to library calls.
7856 * string/test-memset.c (simple_memset): Likewise.
7857 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7858 * benchtests/bench-memset.c (simple_memset): Likewise.
7859 * configure: Regenerated.
7860
c91e0825
JM
78612013-06-20 Joseph Myers <joseph@codesourcery.com>
7862
b8c792af
JM
7863 * math/test-misc.c (main): Ignore fesetround failure when failures
7864 of subsequent rounding tests would be ignored.
7865
c91e0825
JM
7866 [BZ #15654]
7867 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7868 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7869 * math/fegetenv.c (__fegetenv): Return 0.
7870 * math/fegetexcept.c (fegetexcept): Return 0.
7871 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7872 FE_TONEAREST.
7873 * math/feholdexcpt.c (feholdexcept): Return 0.
7874 * math/fesetenv.c (__fesetenv): Return 0.
7875 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7876 argument FE_TONEAREST.
7877 * math/feupdateenv.c (__feupdateenv): Return 0.
7878 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7879
bfcacbde
RM
78802013-06-18 Roland McGrath <roland@hack.frob.com>
7881
7882 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7883 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7884 ($(objpfx)rtld-%.os rules): Use them.
7885
e55a9b25
AZ
78862013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7887
7888 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7889 fields.
7890
346d65b3
RM
78912013-06-17 Roland McGrath <roland@hack.frob.com>
7892
12086fb4
RM
7893 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7894 length of target pattern, then descending length of dependency pattern.
7895 * configure.in (AWK): Require gawk 3.1.2 or newer.
7896 * manual/install.texi (Tools for Compilation): Say that we do.
7897 * configure: Regenerated.
7898
346d65b3
RM
7899 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7900 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7901 * scripts/sysd-rules.awk: ... this new script.
7902 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7903 than a glob-style pattern.
7904
1a846317
JM
79052013-06-17 Joseph Myers <joseph@codesourcery.com>
7906
7907 * math/test-misc.c (main): Do not treat incorrectly rounded
7908 conversions as failure unless ROUNDING_TESTS passes.
7909
8fc75e6f
JM
79102013-06-15 Joseph Myers <joseph@codesourcery.com>
7911
3711a167
JM
7912 [BZ #15631]
7913 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7914 restore exception state around main square root computation, then
7915 check for inexactness explicitly.
7916
8fc75e6f
JM
7917 * math/libm-test.inc (fma_test_data): Add another test.
7918
61dd6208
SP
79192013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7920
adf23d2c
SP
7921 * manual/threads.texi (Non-POSIX Extensions): New document
7922 node. Document pthread_getattr_default_np and
7923 pthread_setattr_default_np.
7924
61dd6208
SP
7925 * Versions.def (libpthread): Add GLIBC_2.18.
7926 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7928 Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7930 Likewise.
7931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7932 Likewise.
7933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7934 Likewise.
7935 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7936 Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7938 Likewise.
7939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7940 Likewise.
7941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7942 Likewise.
7943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7944 Likewise.
7945
d086fc7b
LD
79462013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7947
7948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7949 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7950
747ef469
SP
79512013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7952 H.J. Lu <hjl.tools@gmail.com>
7953
7954 [BZ #15627]
7955 * sysdeps/x86_64/rtld-memset.c: Remove file.
7956 * sysdeps/x86_64/rtld-memset.S: New file.
7957
1b2feed2
JM
79582013-06-14 Joseph Myers <joseph@codesourcery.com>
7959
7960 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7961 (test_in_one_mode): Take arguments for whether the rounding mode
7962 is supported for each floating-point type.
7963 (do_test): Pass new arguments to test_in_one_mode using
7964 ROUNDING_TESTS.
7965
a58ad3f8
RM
79662013-06-13 Roland McGrath <roland@hack.frob.com>
7967
7968 * posix/tst-waitid.c (do_test): Distinguish different instances of
7969 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7970 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7971 before entering the kernel for waitpid.
7972
c204ab28
SP
79732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7974
7975 * NEWS: Fix note on clock function precision. Text by Roland
7976 McGrath.
7977
f4a29fba
RM
79782013-06-13 Roland McGrath <roland@hack.frob.com>
7979
7980 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7981 it into place only when and if the sanity check passes.
7982
1f24b9ad
JM
79832013-06-13 Joseph Myers <joseph@codesourcery.com>
7984
7985 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7986 output for whether conversion result is exact. Take argument
7987 indicating whether type is IBM long double.
7988 (round_for_all): Change need_exact field to ibm_ld.
7989 * stdlib/tst-strtod-round.c (struct exactness): New type.
7990 (struct test): Change bool ld_ok field to struct exactness exact.
7991 (TEST): Update all definitions for change to field.
7992 (tests): Regenerate array contents.
7993 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7994 field value. Check for IBM long double here.
7995 (do_test): Update calls to test_in_one_mode.
7996
58206c68
SP
79972013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7998
7999 [BZ #12515]
8000 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8001 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8002
2d6f4c5b 80032013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8004
8005 [BZ #15605]
8006 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8007 generated by the compiler on loop optimizations.
8008 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8009 general definitions.
8010
94f2c076
JM
80112013-06-12 Joseph Myers <joseph@codesourcery.com>
8012
8013 * math/bug-nextafter.c: Include <math-tests.h>.
8014 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8015 the relevant type.
8016 * math/bug-nexttoward.c: Include <math-tests.h>.
8017 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8018 the relevant type.
8019 * math/test-misc.c: Include <math-tests.h>.
8020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8021 the relevant type.
8022
e0e50a0a
AJ
80232013-06-12 Andreas Jaeger <aj@suse.de>
8024
8025 * po/ia.po: Update Interlingua translation from translation
8026 project.
8027
25061094
SP
80282013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8029
8030 * include/fenv.h: Include stdbool.h.
8031 (struct rm_ctx): New structure.
8032 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8033 Define macro.
8034 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8035 (SET_RESTORE_ROUNDF): Likewise.
8036 (SET_RESTORE_ROUNDL): Likewise.
8037 (SET_RESTORE_ROUND_NOEX): Likewise.
8038 (SET_RESTORE_ROUND_NOEXF): Likewise.
8039 (SET_RESTORE_ROUND_NOEXL): Likewise.
8040 (SET_RESTORE_ROUND_53BIT): Likewise.
8041 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8042 (libc_feresetround_noexf_ctx): Likewise.
8043 (libc_feresetround_noexl_ctx): Likewise.
8044 (libc_feholdsetround_53bit_ctx): Likewise.
8045 (libc_feresetround_53bit_ctx): Likewise.
8046 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8047 (libc_feholdexcept_setround_sse_ctx): New function.
8048 (libc_fesetenv_sse_ctx): Likewise.
8049 (libc_feupdateenv_sse_ctx): Likewise.
8050 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8051 (libc_feholdexcept_setround_387_ctx): Likewise.
8052 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8053 (libc_feholdsetround_387_prec_ctx): Likewise.
8054 (libc_feholdsetround_387_ctx): Likewise.
8055 (libc_feholdsetround_387_53bit_ctx): Likewise.
8056 (libc_feholdsetround_sse_ctx): Likewise.
8057 (libc_feresetround_sse_ctx): Likewise.
8058 (libc_feresetround_387_ctx): Likewise.
8059 (libc_feupdateenv_387_ctx): Likewise.
8060 (libc_feholdexcept_setroundf_ctx): Define macro.
8061 (libc_fesetenvf_ctx): Likewise.
8062 (libc_feupdateenvf_ctx): Likewise.
8063 (libc_feholdsetroundf_ctx): Likewise.
8064 (libc_feresetroundf_ctx): Likewise.
8065 (libc_feholdexcept_setround_ctx): Likewise.
8066 (libc_fesetenv_ctx): Likewise.
8067 (libc_feupdateenv_ctx): Likewise.
8068 (libc_feholdsetround_ctx): Likewise.
8069 (libc_feresetround_ctx): Likewise.
8070 (libc_feholdexcept_setroundl_ctx): Likewise.
8071 (libc_feupdateenvl_ctx): Likewise.
8072 (libc_feholdsetroundl_ctx): Likewise.
8073 (libc_feresetroundl_ctx): Likewise.
8074 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8075 (libc_feresetround_53bit_ctx): Likewise.
8076
59b30555
SP
80772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8078
8079 * locale/iso-639.def: Convert to UTF-8.
8080
f1d73d30
JM
80812013-06-11 Joseph Myers <joseph@codesourcery.com>
8082
8083 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8084 (EXCEPTION_TESTS_double): Likewise.
8085 (EXCEPTION_TESTS_long_double): Likewise.
8086 (EXCEPTION_TESTS): Likewise.
8087 * math/libm-test.inc (test_exceptions): Only test exceptions if
8088 EXCEPTION_TESTS (FLOAT).
8089
94aca5e7
SP
80902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8091
8092 * benchtests/Makefile (string-bench): Add strcpy_chk and
8093 stpcpy_chk.
8094 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8095 * benchtests/bench-stpcpy_chk.c: New file.
8096 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8097 * benchtests/bench-strcpy_chk.c: New file.
8098 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8099 code.
8100 (do_test): Likewise.
8101
fac0c5f2
RA
81022013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8103
8104 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8105 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8106 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8107 with tabs where appropriate.
8108 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8109 dl-procinfo.h.
8110 [PPC_PLATFORM_PPC440]: Likewise.
8111 [PPC_PLATFORM_PPC464]: Likewise.
8112 [PPC_PLATFORM_PPC476]: Likewise.
8113 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8114 ppc464, and ppc476 platform strings merging from ports/
8115 dl-procinfo.h.
8116
f22bc486
AS
81172013-06-11 Andreas Schwab <schwab@suse.de>
8118
8119 [BZ #14991]
8120 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8121 (from_ucs4_idx): Regenerate.
8122 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8123 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8124 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8125 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8126 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8127 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8128 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8129 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8130 from FROM_LOOP and TO_LOOP specific macros.
8131 (BODY): Handle combining characters.
8132 * iconvdata/BIG5HKSCS.irreversible: Update.
8133 * iconvdata/BIG5HKSCS.precomposed: New file.
8134 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8135 characters.
8136 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8137
c1f75dc3
SP
81382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8139
4eacded2
SP
8140 * include/sys/time.h: Fix indentation and add copyright header.
8141
fec799f8
SP
8142 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8143 (do_test): Likewise.
8144 * string/test-memchr.c (do_one_test): Likewise.
8145 (do_test): Likewise.
8146 * string/test-memcmp.c (do_one_test): Likewise.
8147 (do_test): Likewise.
8148 * string/test-memcpy.c (do_one_test): Likewise.
8149 (do_test): Likewise.
8150 * string/test-memmem.c (do_one_test): Likewise.
8151 (do_test): Likewise.
8152 (do_random_tests): Likewise.
8153 * string/test-memmove.c (do_one_test): Likewise.
8154 (do_test): Likewise.
8155 * string/test-memset.c (do_one_test): Likewise.
8156 (do_test): Likewise.
8157 * string/test-rawmemchr.c (do_one_test): Likewise.
8158 (do_test): Likewise.
8159 * string/test-strcasecmp.c (do_one_test): Likewise.
8160 (do_test): Likewise.
8161 * string/test-strcasestr.c (do_one_test): Likewise.
8162 (do_test): Likewise.
8163 * string/test-strcat.c (do_one_test): Likewise.
8164 (do_test): Likewise.
8165 * string/test-strchr.c (do_one_test): Likewise.
8166 (do_test): Likewise.
8167 * string/test-strcmp.c (do_one_test): Likewise.
8168 (do_test): Likewise.
8169 * string/test-strcpy.c (do_one_test): Likewise.
8170 (do_test): Likewise.
8171 * string/test-string.h: Likewise.
8172 (test_init): Likewise.
8173 * string/test-strlen.c (do_one_test): Likewise.
8174 (do_test): Likewise.
8175 * string/test-strncasecmp.c (do_one_test): Likewise.
8176 (do_test): Likewise.
8177 * string/test-strncat.c (do_one_test): Likewise.
8178 (do_test): Likewise.
8179 * string/test-strncmp.c (do_one_test): Likewise.
8180 (do_test_limit): Likewise.
8181 (do_test): Likewise.
8182 * string/test-strncpy.c (do_one_test): Likewise.
8183 (do_test): Likewise.
8184 * string/test-strnlen.c (do_one_test): Likewise.
8185 (do_test): Likewise.
8186 * string/test-strpbrk.c (do_one_test): Likewise.
8187 (do_test): Likewise.
8188 * string/test-strrchr.c (do_one_test): Likewise.
8189 (do_test): Likewise.
8190 * string/test-strspn.c (do_one_test): Likewise.
8191 (do_test): Likewise.
8192 * string/test-strstr.c (do_one_test): Likewise.
8193 (do_test): Likewise.
8194
97020474
SP
8195 * benchtests/Makefile (string-bench): Add string benchmarks.
8196 * benchtests/bench-bcopy-ifunc.c: New file.
8197 * benchtests/bench-bcopy.c: New file.
8198 * benchtests/bench-bzero-ifunc.c: New file.
8199 * benchtests/bench-bzero.c: New file.
8200 * benchtests/bench-memccpy-ifunc.c: New file.
8201 * benchtests/bench-memccpy.c: New file.
8202 * benchtests/bench-memchr-ifunc.c: New file.
8203 * benchtests/bench-memchr.c: New file.
8204 * benchtests/bench-memcmp-ifunc.c: New file.
8205 * benchtests/bench-memcmp.c: New file.
8206 * benchtests/bench-memmem-ifunc.c: New file.
8207 * benchtests/bench-memmem.c: New file.
8208 * benchtests/bench-memmove-ifunc.c: New file.
8209 * benchtests/bench-memmove.c: New file.
8210 * benchtests/bench-mempcpy-ifunc.c: New file.
8211 * benchtests/bench-mempcpy.c: New file.
8212 * benchtests/bench-memset-ifunc.c: New file.
8213 * benchtests/bench-memset.c: New file.
8214 * benchtests/bench-rawmemchr-ifunc.c: New file.
8215 * benchtests/bench-rawmemchr.c: New file.
8216 * benchtests/bench-stpcpy-ifunc.c: New file.
8217 * benchtests/bench-stpcpy.c: New file.
8218 * benchtests/bench-stpncpy-ifunc.c: New file.
8219 * benchtests/bench-stpncpy.c: New file.
8220 * benchtests/bench-strcasecmp-ifunc.c: New file.
8221 * benchtests/bench-strcasecmp.c: New file.
8222 * benchtests/bench-strcasestr-ifunc.c: New file.
8223 * benchtests/bench-strcasestr.c: New file.
8224 * benchtests/bench-strcat-ifunc.c: New file.
8225 * benchtests/bench-strcat.c: New file.
8226 * benchtests/bench-strchr-ifunc.c: New file.
8227 * benchtests/bench-strchr.c: New file.
8228 * benchtests/bench-strchrnul-ifunc.c: New file.
8229 * benchtests/bench-strchrnul.c: New file.
8230 * benchtests/bench-strcmp-ifunc.c: New file.
8231 * benchtests/bench-strcmp.c: New file.
8232 * benchtests/bench-strcpy-ifunc.c: New file.
8233 * benchtests/bench-strcpy.c: New file.
8234 * benchtests/bench-strcspn-ifunc.c: New file.
8235 * benchtests/bench-strcspn.c: New file.
8236 * benchtests/bench-strlen-ifunc.c: New file.
8237 * benchtests/bench-strlen.c: New file.
8238 * benchtests/bench-strncasecmp-ifunc.c: New file.
8239 * benchtests/bench-strncasecmp.c: New file.
8240 * benchtests/bench-strncat-ifunc.c: New file.
8241 * benchtests/bench-strncat.c: New file.
8242 * benchtests/bench-strncmp-ifunc.c: New file.
8243 * benchtests/bench-strncmp.c: New file.
8244 * benchtests/bench-strncpy-ifunc.c: New file.
8245 * benchtests/bench-strncpy.c: New file.
8246 * benchtests/bench-strnlen-ifunc.c: New file.
8247 * benchtests/bench-strnlen.c: New file.
8248 * benchtests/bench-strpbrk-ifunc.c: New file.
8249 * benchtests/bench-strpbrk.c: New file.
8250 * benchtests/bench-strrchr-ifunc.c: New file.
8251 * benchtests/bench-strrchr.c: New file.
8252 * benchtests/bench-strspn-ifunc.c: New file.
8253 * benchtests/bench-strspn.c: New file.
8254 * benchtests/bench-strstr-ifunc.c: New file.
8255 * benchtests/bench-strstr.c: New file.
8256
c1f75dc3
SP
8257 * benchtests/Makefile: Disable parallel execution of targets.
8258 (string-bench): Add memcpy.
8259 (benchset): New variable to store a list of benchmark sets.
8260 (bench-func): Renamed from bench.
8261 (bench-set): New target.
8262 (bench): Depend on bench-func and bench-set.
8263 * benchtests/README: Add section on benchmark sets.
8264 * benchtests/bench-memcpy-ifunc.c: New file.
8265 * benchtests/bench-memcpy.c: New file.
8266 * benchtests/bench-string.h: New file.
8267
50fd745b
AS
82682013-06-11 Andreas Schwab <schwab@suse.de>
8269
8270 [BZ #15577]
8271 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8272 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8273 values in the triple.
8274 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8275 terminator in the group key.
8276
3ee7e9fe
AJ
82772013-06-11 Andreas Jaeger <aj@suse.de>
8278
8279 * po/zh_TW.po: Update Chinese (traditional) translation from
8280 translation project.
8281
89fb6835
SP
82822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8283
8284 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8285 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8286 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8287 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8288 (clock_getcpuclockid): Likewise.
8289 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8290 Add weak_alias and libc_hidden_def.
8291 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8292 * rt/clock_gettime.c (clock_gettime): Rename to
8293 __clock_gettime. Add weak_alias and libc_hidden_def.
8294 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8295 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8296 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8297 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8298 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8299 Likewise.
8300 * rt/clock_settime.c (clock_settime): Rename to
8301 __clock_settime. Add weak_alias and libc_hidden_def.
8302 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8303
0efa6f8b
JM
83042013-06-10 Joseph Myers <joseph@codesourcery.com>
8305
b8c61b4b
JM
8306 * mach/err_boot.sub: Remove trailing whitespace.
8307 * mach/err_ipc.sub: Likewise.
8308 * mach/err_mach.sub: Likewise.
8309
0efa6f8b
JM
8310 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8311 (ROUNDING_TESTS_double): Likewise.
8312 (ROUNDING_TESTS_long_double): Likewise.
8313 (ROUNDING_TESTS): Likewise.
8314 * math/libm-test.inc: Include <math-tests.h>.
8315 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8316 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8317 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8318 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8319
50b818bf
SP
83202013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8321
8322 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8323 of assigning.
8324
60d2f8f3
JM
83252013-06-08 Joseph Myers <joseph@codesourcery.com>
8326
4902d2c3
JM
8327 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8328 otherwise empty TRANS lines.
8329 * sysdeps/gnu/errlist.c: Regenerated.
8330
60d2f8f3
JM
8331 * catgets/gencat.c (error_print): Use (void) in function
8332 definition.
8333 * crypt/crypt_util.c (__init_des): Likewise.
8334 * crypt/speeds.c (Stop): Likewise.
8335 (main): Likewise.
8336 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8337 * inet/ruserpass.c (token): Likewise.
8338 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8339 * intl/localealias.c (extend_alias_table): Likewise.
8340 * intl/plural-exp.c (init_germanic_plural): Likewise.
8341 * libio/fcloseall.c (__fcloseall): Likewise.
8342 * libio/genops.c (_IO_flush_all): Likewise.
8343 (_IO_flush_all_linebuffered): Likewise.
8344 (_IO_cleanup): Likewise.
8345 (_IO_iter_begin): Likewise.
8346 (_IO_iter_end): Likewise.
8347 (_IO_list_lock): Likewise.
8348 (_IO_list_unlock): Likewise.
8349 (_IO_list_resetlock): Likewise.
8350 * libio/getchar.c (getchar): Likewise.
8351 * libio/getchar_u.c (getchar_unlocked): Likewise.
8352 * libio/getwchar.c (getwchar): Likewise.
8353 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8354 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8355 * login/getpt.c (__getpt): Likewise.
8356 * login/tst-utmp.c (main): Likewise.
8357 * malloc/hooks.c (__malloc_check_init): Likewise.
8358 * malloc/malloc.c (__malloc_stats): Likewise.
8359 * malloc/mtrace.c (tr_break): Likewise.
8360 (mtrace): Likewise.
8361 (muntrace): Likewise.
8362 * misc/fstab.c (endfsent): Likewise.
8363 * misc/getclktck.c (__getclktck): Likewise.
8364 * misc/getdtsz.c (__getdtablesize): Likewise.
8365 * misc/gethostid.c (gethostid): Likewise.
8366 * misc/getpagesize.c (__getpagesize): Likewise.
8367 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8368 (__get_nprocs): Likewise.
8369 (__get_phys_pages): Likewise.
8370 (__get_avphys_pages): Likewise.
8371 * misc/getttyent.c (getttyent): Likewise.
8372 (setttyent): Likewise.
8373 (endttyent): Likewise.
8374 * misc/getusershell.c (getusershell): Likewise.
8375 (endusershell): Likewise.
8376 (setusershell): Likewise.
8377 (initshells): Likewise.
8378 * misc/hsearch.c (__hdestroy): Likewise.
8379 * misc/sync.c (sync): Likewise.
8380 * misc/syslog.c (closelog_internal): Likewise.
8381 (closelog): Likewise.
8382 * misc/ttyslot.c (ttyslot): Likewise.
8383 * misc/vhangup.c (vhangup): Likewise.
8384 * posix/fork.c (__fork): Likewise.
8385 * posix/getegid.c (__getegid): Likewise.
8386 * posix/geteuid.c (__geteuid): Likewise.
8387 * posix/getgid.c (__getgid): Likewise.
8388 * posix/getpid.c (__getpid): Likewise.
8389 * posix/getppid.c (__getppid): Likewise.
8390 * posix/getuid.c (__getuid): Likewise.
8391 * posix/pause.c (pause): Likewise.
8392 * posix/setpgrp.c (setpgrp): Likewise.
8393 * posix/setsid.c (__setsid): Likewise.
8394 * posix/test-vfork.c (noop): Likewise.
8395 * resolv/gethnamaddr.c (_endhtent): Likewise.
8396 (_gethtent): Likewise.
8397 (ht_endhostent): Likewise.
8398 (gethostent): Likewise.
8399 (dns_service): Likewise.
8400 * stdlib/drand48.c (drand48): Likewise.
8401 * stdlib/lrand48.c (lrand48): Likewise.
8402 * stdlib/mrand48.c (mrand48): Likewise.
8403 * stdlib/rand.c (rand): Likewise.
8404 * stdlib/random.c (__random): Likewise.
8405 * stdlib/setenv.c (clearenv): Likewise.
8406 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8407 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8408 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8409 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8410 (__get_nprocs): Likewise.
8411 (__get_phys_pages): Likewise.
8412 (__get_avphys_pages): Likewise.
8413 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8414 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8415 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8416 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8417 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8418 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8419 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8420 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8421 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8422 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8423 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8424 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8425 * sysdeps/posix/clock.c (clock): Likewise.
8426 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8427 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8428 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8429 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8430 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8432 (__get_nprocs_conf): Likewise.
8433 (__get_phys_pages): Likewise.
8434 (__get_avphys_pages): Likewise.
8435 * time/clock.c (clock): Likewise.
8436 * time/tzset.c (__tzname_max): Likewise.
8437
2e09a79a
JM
84382013-06-07 Joseph Myers <joseph@codesourcery.com>
8439
8440 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8441 (__bswap_32): Do not use "register".
8442 * crypt/crypt.c (_ufc_doit_r): Likewise.
8443 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8444 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8445 * gmon/gmon.c (__monstartup): Likewise.
8446 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8447 * hurd/hurdmalloc.c (more_memory): Likewise.
8448 (malloc): Likewise.
8449 (free): Likewise.
8450 (realloc): Likewise.
8451 (malloc_fork_prepare): Likewise.
8452 (malloc_fork_parent): Likewise.
8453 (malloc_fork_child): Likewise.
8454 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8455 (_svcauth_des): Likewise.
8456 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8457 * inet/inet_net.c (inet_network): Likewise.
8458 * inet/inet_netof.c (inet_netof): Likewise.
8459 * inet/rcmd.c (__validuser2_sa): Likewise.
8460 * io/fts.c (fts_open): Likewise.
8461 (fts_load): Likewise.
8462 (fts_close): Likewise.
8463 (fts_read): Likewise.
8464 (fts_children): Likewise.
8465 (fts_build): Likewise.
8466 (fts_stat): Likewise.
8467 (fts_sort): Likewise.
8468 (fts_alloc): Likewise.
8469 (fts_lfree): Likewise.
8470 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8471 (_IO_file_xsgetn): Likewise.
8472 (_IO_file_xsgetn_mmap): Likewise.
8473 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8474 (_IO_cookie_write): Likewise.
8475 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8476 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8477 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8478 * malloc/obstack.c (_obstack_begin): Likewise.
8479 (_obstack_begin_1): Likewise.
8480 (_obstack_newchunk): Likewise.
8481 (_obstack_allocated_p): Likewise.
8482 (obstack_free): Likewise.
8483 (_obstack_memory_used): Likewise.
8484 * misc/getttyent.c (getttynam): Likewise.
8485 (getttyent): Likewise.
8486 (skip): Likewise.
8487 (value): Likewise.
8488 * misc/getusershell.c (initshells): Likewise.
8489 * misc/syslog.c (__vsyslog_chk): Likewise.
8490 * misc/ttyslot.c (ttyslot): Likewise.
8491 * nis/nis_hash.c (__nis_hash): Likewise.
8492 * posix/fnmatch_loop.c (FCT): Likewise.
8493 * posix/getconf.c (print_all): Likewise.
8494 (main): Likewise.
8495 * posix/getopt.c (exchange): Likewise.
8496 * posix/glob.c (globfree): Likewise.
8497 (prefix_array): Likewise.
8498 (__glob_pattern_type): Likewise.
8499 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8500 (NS_GET32): Likewise.
8501 (NS_PUT16): Likewise.
8502 (NS_PUT32): Likewise.
8503 * resolv/gethnamaddr.c (getanswer): Likewise.
8504 (gethostbyname2): Likewise.
8505 (gethostbyaddr): Likewise.
8506 (_gethtent): Likewise.
8507 (_gethtbyname2): Likewise.
8508 (_gethtbyaddr): Likewise.
8509 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8510 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8511 * resolv/res_init.c (__res_vinit): Likewise.
8512 (net_mask): Likewise.
8513 * resolv/res_mkquery.c (outchar): Likewise.
8514 (PRINT): Likewise.
8515 * stdio-common/printf_fp.c (outchar): Likewise.
8516 (PRINT): Likewise.
8517 * stdio-common/printf_fphex.c (outchar): Likewise.
8518 (PRINT): Likewise.
8519 * stdio-common/printf_size.c (outchar): Likewise.
8520 (PRINT): Likewise.
8521 * stdio-common/test_rdwr.c (main): Likewise.
8522 * stdio-common/tfformat.c (matches): Likewise.
8523 * stdio-common/vfprintf.c (outchar): Likewise.
8524 (printf_unknown): Likewise.
8525 (buffered_vfprintf): Likewise.
8526 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8527 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8528 (ReadFile): Likewise.
8529 * stdlib/qsort.c (SWAP): Likewise.
8530 (_quicksort): Likewise.
8531 * stdlib/setenv.c (__add_to_environ): Likewise.
8532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8533 * stdlib/strtol_l.c (__strtol_l): Likewise.
8534 * stdlib/tst-strtod.c (main): Likewise.
8535 * stdlib/tst-strtol.c (main): Likewise.
8536 * stdlib/tst-strtoll.c (main): Likewise.
8537 * string/bits/string2.h (__strcmp_cc): Likewise.
8538 (__strcmp_cg): Likewise.
8539 (__strcspn_c1): Likewise.
8540 (__strcspn_c2): Likewise.
8541 (__strcspn_c3): Likewise.
8542 (__strspn_c1): Likewise.
8543 (__strspn_c2): Likewise.
8544 (__strspn_c3): Likewise.
8545 (__strsep_1c): Likewise.
8546 (__strsep_2c): Likewise.
8547 (__strsep_3c): Likewise.
8548 * string/memccpy.c (__memccpy): Likewise.
8549 * string/stpcpy.c (__stpcpy): Likewise.
8550 * string/strcmp.c (strcmp): Likewise.
8551 * string/strrchr.c (strrchr): Likewise.
8552 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8553 Likewise.
8554 * sysdeps/mach/hurd/getcwd.c
8555 (_hurd_canonicalize_directory_name_internal): Likewise.
8556 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8557 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8558 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8559 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8560 Likewise, in both definitions.
8561 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8562 definitions.
8563 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8564 64] (__bswap_64): Likewise.
8565 * time/test_time.c (main): Likewise.
8566 * time/tzfile.c (__tzfile_read): Likewise.
8567 (__tzfile_compute): Likewise.
8568 * time/tzset.c (__tzset_parse_tz): Likewise.
8569 (tzset_internal): Likewise.
8570 (compute_change): Likewise.
8571 * wcsmbs/wcscat.c (__wcscat): Likewise.
8572 * wcsmbs/wcschr.c (wcschr): Likewise.
8573 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8574 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8575 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8576 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8577 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8578 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8579 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8580 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8581 * wcsmbs/wmemset.c (wmemset): Likewise.
8582
9e54314b
JM
85832013-06-06 Joseph Myers <joseph@codesourcery.com>
8584
8585 * scripts/config.guess: Update to version 2013-05-16.
8586 * scripts/config.sub: Update to version 2013-04-24.
8587 * scripts/install-sh: Update to version 2011-11-20.07.
8588 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8589 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8590
350635a5
OB
85912013-06-06 Ondřej Bílka <neleai@seznam.cz>
8592
8593 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8594 * elf/sln.c: Likewise.
8595 * hurd/hurd/ioctl.h: Likewise.
8596 * hurd/hurdmalloc.c: Likewise.
8597 * hurd/xattr.c: Likewise.
8598 * include/shlib-compat.h: Likewise.
8599 * inet/ruserpass.c: Likewise.
8600 * libio/iofgets_u.c: Likewise.
8601 * libio/iofgetws_u.c: Likewise.
8602 * locale/programs/ld-identification.c: Likewise.
8603 * locale/programs/ld-time.c: Likewise.
8604 * mach/msg-destroy.c: Likewise.
8605 * nss/nss_files/files-netgrp.c: Likewise.
8606 * resolv/res_data.c: Likewise.
8607 * soft-fp/op-1.h: Likewise.
8608 * soft-fp/op-2.h: Likewise.
8609 * soft-fp/op-4.h: Likewise.
8610 * soft-fp/op-common.h: Likewise.
8611 * stdio-common/printf_fphex.c: Likewise.
8612 * stdlib/strtod_l.c: Likewise.
8613 * sunrpc/rpc/clnt.h: Likewise.
8614 * sysdeps/generic/framestate.c: Likewise.
8615 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8616 * sysdeps/i386/bsd-setjmp.S: Likewise.
8617 * sysdeps/i386/__longjmp.S: Likewise.
8618 * sysdeps/i386/setjmp.S: Likewise.
8619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8620 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8622 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8629 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8635 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8637 * sysdeps/ieee754/support.c: Likewise.
8638 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8639 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8640 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8641 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8642 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8643 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8644 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8645 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8646 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8647 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8648 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8649 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8650 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8651 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8652 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8653 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8654 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8656
44a988af
OB
86572013-06-05 Ondřej Bílka <neleai@seznam.cz>
8658
25506f09 8659 * posix/transbug.c: Remove executable mode.
44a988af 8660
9c84384c
JM
86612013-06-05 Joseph Myers <joseph@codesourcery.com>
8662
8663 * crypt/speeds.c: Remove trailing whitespace.
8664 * dlfcn/default.c: Likewise.
8665 * elf/ifuncdep2.c: Likewise.
8666 * elf/ifuncmain1.c: Likewise.
8667 * elf/ifuncmain1vis.c: Likewise.
8668 * elf/testobj.h: Likewise.
8669 * elf/tst-stackguard1.c: Likewise.
8670 * gmon/sys/gmon.h: Likewise.
8671 * hurd/hurdmsg.c: Likewise.
8672 * hurd/new-fd.c: Likewise.
8673 * hurd/ports-get.c: Likewise.
8674 * iconvdata/ibm1008_420.c: Likewise.
8675 * inet/tst-getni1.c: Likewise.
8676 * inet/tst-getni2.c: Likewise.
8677 * libio/ioungetc.c: Likewise.
8678 * libio/wfiledoalloc.c: Likewise.
8679 * manual/libm-err-tab.pl: Likewise.
8680 * math/w_dremf.c: Likewise.
8681 * misc/ftruncate.c: Likewise.
8682 * posix/bug-glob2.c: Likewise.
8683 * posix/tst-pcre.c: Likewise.
8684 * posix/wait4.c: Likewise.
8685 * resolv/README: Likewise.
8686 * resolv/res_debug.h: Likewise.
8687 * resolv/tst-inet_ntop.c: Likewise.
8688 * setjmp/bug269-setjmp.c: Likewise.
8689 * soft-fp/extended.h: Likewise.
8690 * soft-fp/op-1.h: Likewise.
8691 * soft-fp/op-2.h: Likewise.
8692 * soft-fp/op-4.h: Likewise.
8693 * soft-fp/op-8.h: Likewise.
8694 * soft-fp/testit.c: Likewise.
8695 * stdio-common/bug16.c: Likewise.
8696 * stdlib/random.c: Likewise.
8697 * sunrpc/rpcsvc/rquota.x: Likewise.
8698 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8699 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8701 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8702 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8706 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8707 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8727 * sysdeps/ieee754/s_lib_version.c: Likewise.
8728 * sysdeps/mach/hurd/check_fds.c: Likewise.
8729 * sysdeps/mach/hurd/getsockname.c: Likewise.
8730 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8731 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8732 * sysdeps/powerpc/bits/link.h: Likewise.
8733 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8734 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8735 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8736 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8737 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8738 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8739 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8740 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8741 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8742 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8743 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8744 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8745 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8746 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8747 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8748 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8749 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8750 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8751 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8754 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8755 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8756 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8757 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8759 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8762 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8763 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8765 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8766 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8767 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8768 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8769 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8770 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8771 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8772 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8773 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8774 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8775 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8776 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8777 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8778 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8779 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8780 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8781 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8782 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8785 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8786 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8787 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8788 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8789 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8790 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8791 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8792 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8793 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8794 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8795 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8796 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8797 * sysdeps/powerpc/sysdep.h: Likewise.
8798 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8799 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8800 * sysdeps/sh/dl-trampoline.S: Likewise.
8801 * sysdeps/sh/memset.S: Likewise.
8802 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8803 * sysdeps/sh/strlen.S: Likewise.
8804 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8805 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8806 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8807 * sysdeps/sparc/sparc32/rem.S: Likewise.
8808 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8809 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8810 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8811 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8812 * sysdeps/sparc/sparc32/urem.S: Likewise.
8813 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8814 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8815 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8816 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8817 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8818 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8819 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8820 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8821 * sysdeps/unix/bsd/times.c: Likewise.
8822 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8823 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8827 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8828 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8829 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8830 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8831 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8832 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8833 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8834 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8835 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8836 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8837 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8839 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8840 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8841 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8842 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8843 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8844 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8845 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8846 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8847 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8848 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8850 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8851 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8852 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8853 * sysdeps/x86_64/strcspn.S: Likewise.
8854
869378a5
RA
88552013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8856
8857 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8858 generated file. Regenerate properly from gen-translit.pl.
8859 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8860 locale/C-translit.h.
8861
840e2943
AS
88622013-06-05 Andreas Schwab <schwab@suse.de>
8863
8864 [BZ #15100]
8865 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8866 week as 6 instead of -1.
8867 * time/tst-strptime.c (day_tests): Add test case.
8868
4c60cb0c
SP
88692013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8870
8871 * sysdeps/generic/math_private.h
8872 (libc_feholdexcept_setround_53bit): Replace with
8873 libc_feholdsetround_53bit.
8874 (libc_feupdateenv_53bit): Replace with
8875 libc_feresetround_53bit.
8876 (SET_RESTORE_ROUND_53BIT): Adjust.
8877
d180203e
SP
88782013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8879
96df079a
SP
8880 * string/test-strchrnul.c: Add copyright header.
8881
d180203e
SP
8882 * posix/tst-getaddrinfo4.c: Increase test timeout.
8883
8b0ccb2d
CD
88842013-06-03 Carlos O'Donell <carlos@redhat.com>
8885
8886 [BZ #15536]
8887 * math/libm-test.inc (MAX_EXP): Remove
8888 (MIN_EXP): Define.
8889 (ulp): Use MIN_EXP - MANT_DIG.
8890 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8891
3b3c4d40
CD
88922013-05-31 Carlos O'Donell <carlos@redhat.com>
8893
8894 * po/be.po: Revert last change.
8895 * po/zh_CN.po: Likewise.
8896 * po/header.pot: Likewise.
8897
fab7ce3f
JM
88982013-05-31 Joseph Myers <joseph@codesourcery.com>
8899
8900 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8901 link-libc-deps to empty as target-specific variable.
8902 * Makerules (link-libc-args): New variable.
8903 (libc-for-link): Likewise.
8904 (link-libc-deps): Likewise.
8905 (lib%.so): Depend on $(link-libc-deps). Link with
8906 $(link-libc-args).
8907 (build-module): Link with $(link-libc-args).
8908 (build-module-asneeded): Likewise.
8909 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8910 list of objects.
8911 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8912 target-specific variable.
8913 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8914 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8915 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8916 libc.
8917 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8918 libc and ld.so.
8919 ($(objpfx)libpcprofile.so): Likewise.
8920 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8921 libc_nonshared.a.
8922 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8923 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8924 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8925 $(link-libc-deps).
8926 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8927 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8928 * login/Makefile ($(objpfx)libutil.so): Likewise.
8929 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8930 * math/Makefile ($(objpfx)libm.so): Likewise.
8931 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8932 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8933 variable instead of depending directly on libc.
8934 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8935 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8936 $(link-libc-deps).
8937 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8938 libc.
8939 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8940 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8941 ($(objpfx)libanl.so): Likewise.
8942 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8943 ld.so.
8944 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8945 $(link-libc-deps).
8946 * sysdeps/i386/fpu/Makefile: Remove file.
8947 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8948 ($(objpfx)libm.so): Remove dependency on ld.so.
8949
eca5920c
PF
89502013-05-30 Patsy Franklin <pfrankli@redhat.com>
8951
8952 [BZ # 15553]
8953 * nis/yp_xdr.c (XDRMAXNAME): Define.
8954 (XDRMAXRECORD): Define.
8955 (xdr_domainname): Use XDRMAXNAME.
8956 (xdr_mapname): Likewise.
8957 (xdr_peername): Likewise.
8958 (xdr_keydat): Use XDRMAXRECORD.
8959 (xdr_valdat): Likewise.
8960
89612013-05-30 Jeff Law <law@redhat.com>
96945714
JL
8962
8963 [BZ #14256]
8964 * manual/errno.texi (ESTALE): Update to account for more than
8965 just NFS file systems.
8966 * sysdeps/gnu/errlist.c: Regenerated.
8967
b9375348
SP
89682013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8969
8970 [BZ #15465]
8971 * elf/Makefile (tests): Add tst-null-argv.
8972 (modules-names): Add tst-null-argv-lib.
8973 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8974 (tst-null-argv-ENV): Set environment for tst-null-argv.
8975 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8976 (RTLD_PROGNAME): New macro.
8977 * elf/tst-null-argv.c: New test case.
8978 * elf/tst-null-argv-lib.c: Library for test case.
8979 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8980 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8981 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8982 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8983 * elf/dl-init.c (call_init): Likewise.
8984 (_dl_init): Likewise.
8985 * elf/dl-load.c (print_search_path): Likewise.
8986 (_dl_map_object): Likewise.
8987 * elf/dl-lookup.c (do_lookup_x): Likewise.
8988 (add_dependency): Likewise.
8989 (_dl_lookup_symbol_x): Likewise.
8990 (_dl_debug_bindings): Likewise.
8991 * elf/dl-open.c (_dl_show_scope): Likewise.
8992 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8993 * elf/dl-version.c (match_symbol): Likewise.
8994 (_dl_check_map_versions): Likewise.
8995 * elf/rtld.c (dl_main): Likewise.
8996 (print_unresolved): Use RTLD_PROGNAME.
8997 (print_missing_version): Likewise.
8998 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8999 (elf_machine_rela): Likewise.
9000 * sysdeps/powerpc/powerpc32/dl-machine.c
9001 (__process_machine_rela): Likewise.
9002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9003 Likewise.
9004 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9005 Likewise.
9006 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9007 Likewise.
9008 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9010 Likewise.
9011 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9012 Likewise.
9013 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9014
8a9f20c8
CD
90152013-05-28 Carlos O'Donell <carlos@redhat.com>
9016
9017 * po/be.po: Add descriptive title.
9018 * po/zh_CN.po: Likewise.
9019 * po/header.pot: Likewise.
9020
0e60d68e
MF
90212013-05-28 Mike Frysinger <vapier@gentoo.org>
9022
9023 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9024 error message.
9025 (enlarge_archive): Likewise.
9026
56b672e9
BN
90272013-05-28 Ben North <ben@redfrontdoor.org>
9028
9029 * manual/arith.texi (frexp): It is the magnitude of the return
9030 value which lies in [0.5, 1), not the return value itself.
9031
5e056687
AZ
90322013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9033
9034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9035
2b66ef5d
TS
90362013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9037
528c2405
TS
9038 * stdio-common/bug26.c (main): Correct fscanf template.
9039
07b4c13d
TS
9040 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9041 declare _dl_skip_args.
9042
ec9dd97c
TS
9043 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9044 Don't declare.
9045
2b66ef5d
TS
9046 * manual/platform.texi: Add missing @end deftypefun.
9047
4f8dfe27
JM
90482013-05-24 Joseph Myers <joseph@codesourcery.com>
9049
0323d086
JM
9050 [BZ #15529]
9051 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9052 bit of mantissa of 2^16382.
9053 * math/libm-test.inc (hypot_test_data): Add more tests.
9054
dd4259b9
JM
9055 * math/libm-test.inc: Add drem and pow10 to list of tested
9056 functions.
9057 (pow10_test): New function.
9058 (drem_test): Likewise.
9059 (drem_test_tonearest): Likewise.
9060 (drem_test_towardzero): Likewise.
9061 (drem_test_downward): Likewise.
9062 (drem_test_upward): Likewise.
9063 (main): Call the new functions.
9064
4f8dfe27
JM
9065 * math/libm-test.inc (finite_test_data): Remove.
9066 (finite_test): Run tests from isfinite_test_data.
9067 (gamma_test_data): Remove.
9068 (gamma_test): Run tests from lgamma_test_data.
9069 * sysdeps/i386/fpu/libm-test-ulps: Update.
9070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9071
d116b7c4
AZ
90722013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9073
9074 * manual/platform.texi: Add PowerPC PPR function set documentation.
9075 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9076 implementation.
9077
e96e3767
CD
90782013-05-24 Carlos O'Donell <carlos@redhat.com>
9079
9080 * math/libm-test.inc (MAX_EXP): Define.
9081 (ULPDIFF): Define.
9082 (ulp): New function.
9083 (check_float_internal): Use ULPDIFF.
9084 (cpow_test): Disable failing test.
9085 (check_ulp): Test ulp() implemetnation.
9086 (main): Call check_ulp before starting tests.
9087
b679a606
JM
90882013-05-24 Joseph Myers <joseph@codesourcery.com>
9089
e8bdba36
JM
9090 * math/gen-libm-test.pl (generate_testfile): Do not handle
9091 START_DATA and END_DATA.
9092 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9093 END_DATA.
9094 (acos_tonearest_test_data): Likewise.
9095 (acos_towardzero_test_data): Likewise.
9096 (acos_downward_test_data): Likewise.
9097 (acos_upward_test_data): Likewise.
9098 (acosh_test_data): Likewise.
9099 (asin_test_data): Likewise.
9100 (asin_tonearest_test_data): Likewise.
9101 (asin_towardzero_test_data): Likewise.
9102 (asin_downward_test_data): Likewise.
9103 (asin_upward_test_data): Likewise.
9104 (asinh_test_data): Likewise.
9105 (atan_test_data): Likewise.
9106 (atanh_test_data): Likewise.
9107 (atan2_test_data): Likewise.
9108 (cabs_test_data): Likewise.
9109 (cacos_test_data): Likewise.
9110 (cacosh_test_data): Likewise.
9111 (carg_test_data): Likewise.
9112 (casin_test_data): Likewise.
9113 (casinh_test_data): Likewise.
9114 (catan_test_data): Likewise.
9115 (catanh_test_data): Likewise.
9116 (cbrt_test_data): Likewise.
9117 (ccos_test_data): Likewise.
9118 (ccosh_test_data): Likewise.
9119 (ceil_test_data): Likewise.
9120 (cexp_test_data): Likewise.
9121 (cimag_test_data): Likewise.
9122 (clog_test_data): Likewise.
9123 (clog10_test_data): Likewise.
9124 (conj_test_data): Likewise.
9125 (copysign_test_data): Likewise.
9126 (cos_test_data): Likewise.
9127 (cos_tonearest_test_data): Likewise.
9128 (cos_towardzero_test_data): Likewise.
9129 (cos_downward_test_data): Likewise.
9130 (cos_upward_test_data): Likewise.
9131 (cosh_test_data): Likewise.
9132 (cosh_tonearest_test_data): Likewise.
9133 (cosh_towardzero_test_data): Likewise.
9134 (cosh_downward_test_data): Likewise.
9135 (cosh_upward_test_data): Likewise.
9136 (cpow_test_data): Likewise.
9137 (cproj_test_data): Likewise.
9138 (creal_test_data): Likewise.
9139 (csin_test_data): Likewise.
9140 (csinh_test_data): Likewise.
9141 (csqrt_test_data): Likewise.
9142 (ctan_test_data): Likewise.
9143 (ctan_tonearest_test_data): Likewise.
9144 (ctan_towardzero_test_data): Likewise.
9145 (ctan_downward_test_data): Likewise.
9146 (ctan_upward_test_data): Likewise.
9147 (ctanh_test_data): Likewise.
9148 (ctanh_tonearest_test_data): Likewise.
9149 (ctanh_towardzero_test_data): Likewise.
9150 (ctanh_downward_test_data): Likewise.
9151 (ctanh_upward_test_data): Likewise.
9152 (erf_test_data): Likewise.
9153 (erfc_test_data): Likewise.
9154 (exp_test_data): Likewise.
9155 (exp_tonearest_test_data): Likewise.
9156 (exp_towardzero_test_data): Likewise.
9157 (exp_downward_test_data): Likewise.
9158 (exp_upward_test_data): Likewise.
9159 (exp10_test_data): Likewise.
9160 (exp2_test_data): Likewise.
9161 (expm1_test_data): Likewise.
9162 (fabs_test_data): Likewise.
9163 (fdim_test_data): Likewise.
9164 (finite_test_data): Likewise.
9165 (floor_test_data): Likewise.
9166 (fma_test_data): Likewise.
9167 (fma_towardzero_test_data): Likewise.
9168 (fma_downward_test_data): Likewise.
9169 (fma_upward_test_data): Likewise.
9170 (fmax_test_data): Likewise.
9171 (fmin_test_data): Likewise.
9172 (fmod_test_data): Likewise.
9173 (fpclassify_test_data): Likewise.
9174 (frexp_test_data): Likewise.
9175 (gamma_test_data): Likewise.
9176 (hypot_test_data): Likewise.
9177 (ilogb_test_data): Likewise.
9178 (isfinite_test_data): Likewise.
9179 (isgreater_test_data): Likewise.
9180 (isgreaterequal_test_data): Likewise.
9181 (isinf_test_data): Likewise.
9182 (isless_test_data): Likewise.
9183 (islessequal_test_data): Likewise.
9184 (islessgreater_test_data): Likewise.
9185 (isnan_test_data): Likewise.
9186 (isnormal_test_data): Likewise.
9187 (issignaling_test_data): Likewise.
9188 (isunordered_test_data): Likewise.
9189 (j0_test_data): Likewise.
9190 (j1_test_data): Likewise.
9191 (jn_test_data): Likewise.
9192 (ldexp_test_data): Likewise.
9193 (lgamma_test_data): Likewise.
9194 (lrint_test_data): Likewise.
9195 (lrint_tonearest_test_data): Likewise.
9196 (lrint_towardzero_test_data): Likewise.
9197 (lrint_downward_test_data): Likewise.
9198 (lrint_upward_test_data): Likewise.
9199 (llrint_test_data): Likewise.
9200 (llrint_tonearest_test_data): Likewise.
9201 (llrint_towardzero_test_data): Likewise.
9202 (llrint_downward_test_data): Likewise.
9203 (llrint_upward_test_data): Likewise.
9204 (log_test_data): Likewise.
9205 (log10_test_data): Likewise.
9206 (log1p_test_data): Likewise.
9207 (log2_test_data): Likewise.
9208 (logb_test_data): Likewise.
9209 (logb_downward_test_data): Likewise.
9210 (lround_test_data): Likewise.
9211 (llround_test_data): Likewise.
9212 (modf_test_data): Likewise.
9213 (nearbyint_test_data): Likewise.
9214 (nextafter_test_data): Likewise.
9215 (nexttoward_test_data): Likewise.
9216 (pow_test_data): Likewise.
9217 (pow_tonearest_test_data): Likewise.
9218 (pow_towardzero_test_data): Likewise.
9219 (pow_downward_test_data): Likewise.
9220 (pow_upward_test_data): Likewise.
9221 (remainder_test_data): Likewise.
9222 (remainder_tonearest_test_data): Likewise.
9223 (remainder_towardzero_test_data): Likewise.
9224 (remainder_downward_test_data): Likewise.
9225 (remainder_upward_test_data): Likewise.
9226 (remquo_test_data): Likewise.
9227 (rint_test_data): Likewise.
9228 (rint_tonearest_test_data): Likewise.
9229 (rint_towardzero_test_data): Likewise.
9230 (rint_downward_test_data): Likewise.
9231 (rint_upward_test_data): Likewise.
9232 (round_test_data): Likewise.
9233 (scalb_test_data): Likewise.
9234 (scalbn_test_data): Likewise.
9235 (scalbln_test_data): Likewise.
9236 (signbit_test_data): Likewise.
9237 (sin_test_data): Likewise.
9238 (sin_tonearest_test_data): Likewise.
9239 (sin_towardzero_test_data): Likewise.
9240 (sin_downward_test_data): Likewise.
9241 (sin_upward_test_data): Likewise.
9242 (sincos_test_data): Likewise.
9243 (sinh_test_data): Likewise.
9244 (sinh_tonearest_test_data): Likewise.
9245 (sinh_towardzero_test_data): Likewise.
9246 (sinh_downward_test_data): Likewise.
9247 (sinh_upward_test_data): Likewise.
9248 (sqrt_test_data): Likewise.
9249 (tan_test_data): Likewise.
9250 (tan_tonearest_test_data): Likewise.
9251 (tan_towardzero_test_data): Likewise.
9252 (tan_downward_test_data): Likewise.
9253 (tan_upward_test_data): Likewise.
9254 (tanh_test_data): Likewise.
9255 (tgamma_test_data): Likewise.
9256 (trunc_test_data): Likewise.
9257 (y0_test_data): Likewise.
9258 (y1_test_data): Likewise.
9259 (yn_test_data): Likewise.
9260 (significand_test_data): Likewise.
9261
b679a606
JM
9262 * math/gen-libm-test.pl (@functions): Remove variable.
9263 (generate_testfile): Don't handle START and END lines.
9264 * math/libm-test.inc (START): New macro.
9265 (END): Likewise.
9266 (END_COMPLEX): Likewise.
9267 (acos_test): Use END macro without arguments.
9268 (acos_test_tonearest): Likewise.
9269 (acos_test_towardzero): Likewise.
9270 (acos_test_downward): Likewise.
9271 (acos_test_upward): Likewise.
9272 (acosh_test): Likewise.
9273 (asin_test): Likewise.
9274 (asin_test_tonearest): Likewise.
9275 (asin_test_towardzero): Likewise.
9276 (asin_test_downward): Likewise.
9277 (asin_test_upward): Likewise.
9278 (asinh_test): Likewise.
9279 (atan_test): Likewise.
9280 (atanh_test): Likewise.
9281 (atan2_test): Likewise.
9282 (cabs_test): Likewise.
9283 (cacos_test): Use END_COMPLEX macro without arguments.
9284 (cacosh_test): Likewise.
9285 (carg_test): Use END macro without arguments.
9286 (casin_test): Use END_COMPLEX macro without arguments.
9287 (casinh_test): Likewise.
9288 (catan_test): Likewise.
9289 (catanh_test): Likewise.
9290 (cbrt_test): Use END macro without arguments.
9291 (ccos_test): Use END_COMPLEX macro without arguments.
9292 (ccosh_test): Likewise.
9293 (ceil_test): Use END macro without arguments.
9294 (cexp_test): Use END_COMPLEX macro without arguments.
9295 (cimag_test): Use END macro without arguments.
9296 (clog_test): Use END_COMPLEX macro without arguments.
9297 (clog10_test): Likewise.
9298 (conj_test): Likewise.
9299 (copysign_test): Use END macro without arguments.
9300 (cos_test): Likewise.
9301 (cos_test_tonearest): Likewise.
9302 (cos_test_towardzero): Likewise.
9303 (cos_test_downward): Likewise.
9304 (cos_test_upward): Likewise.
9305 (cosh_test): Likewise.
9306 (cosh_test_tonearest): Likewise.
9307 (cosh_test_towardzero): Likewise.
9308 (cosh_test_downward): Likewise.
9309 (cosh_test_upward): Likewise.
9310 (cpow_test): Use END_COMPLEX macro without arguments.
9311 (cproj_test): Likewise.
9312 (creal_test): Use END macro without arguments.
9313 (csin_test): Use END_COMPLEX macro without arguments.
9314 (csinh_test): Likewise.
9315 (csqrt_test): Likewise.
9316 (ctan_test): Likewise.
9317 (ctan_test_tonearest): Likewise.
9318 (ctan_test_towardzero): Likewise.
9319 (ctan_test_downward): Likewise.
9320 (ctan_test_upward): Likewise.
9321 (ctanh_test): Likewise.
9322 (ctanh_test_tonearest): Likewise.
9323 (ctanh_test_towardzero): Likewise.
9324 (ctanh_test_downward): Likewise.
9325 (ctanh_test_upward): Likewise.
9326 (erf_test): Use END macro without arguments.
9327 (erfc_test): Likewise.
9328 (exp_test): Likewise.
9329 (exp_test_tonearest): Likewise.
9330 (exp_test_towardzero): Likewise.
9331 (exp_test_downward): Likewise.
9332 (exp_test_upward): Likewise.
9333 (exp10_test): Likewise.
9334 (exp2_test): Likewise.
9335 (expm1_test): Likewise.
9336 (fabs_test): Likewise.
9337 (fdim_test): Likewise.
9338 (finite_test): Likewise.
9339 (floor_test): Likewise.
9340 (fma_test): Likewise.
9341 (fma_test_towardzero): Likewise.
9342 (fma_test_downward): Likewise.
9343 (fma_test_upward): Likewise.
9344 (fmax_test): Likewise.
9345 (fmin_test): Likewise.
9346 (fmod_test): Likewise.
9347 (fpclassify_test): Likewise.
9348 (frexp_test): Likewise.
9349 (gamma_test): Likewise.
9350 (hypot_test): Likewise.
9351 (ilogb_test): Likewise.
9352 (isfinite_test): Likewise.
9353 (isgreater_test): Likewise.
9354 (isgreaterequal_test): Likewise.
9355 (isinf_test): Likewise.
9356 (isless_test): Likewise.
9357 (islessequal_test): Likewise.
9358 (islessgreater_test): Likewise.
9359 (isnan_test): Likewise.
9360 (isnormal_test): Likewise.
9361 (issignaling_test): Likewise.
9362 (isunordered_test): Likewise.
9363 (j0_test): Likewise.
9364 (j1_test): Likewise.
9365 (jn_test): Likewise.
9366 (ldexp_test): Likewise.
9367 (lgamma_test): Likewise.
9368 (lrint_test): Likewise.
9369 (lrint_test_tonearest): Likewise.
9370 (lrint_test_towardzero): Likewise.
9371 (lrint_test_downward): Likewise.
9372 (lrint_test_upward): Likewise.
9373 (llrint_test): Likewise.
9374 (llrint_test_tonearest): Likewise.
9375 (llrint_test_towardzero): Likewise.
9376 (llrint_test_downward): Likewise.
9377 (llrint_test_upward): Likewise.
9378 (log_test): Likewise.
9379 (log10_test): Likewise.
9380 (log1p_test): Likewise.
9381 (log2_test): Likewise.
9382 (logb_test): Likewise.
9383 (logb_test_downward): Likewise.
9384 (lround_test): Likewise.
9385 (llround_test): Likewise.
9386 (modf_test): Likewise.
9387 (nearbyint_test): Likewise.
9388 (nextafter_test): Likewise.
9389 (nexttoward_test): Likewise.
9390 (pow_test): Likewise.
9391 (pow_test_tonearest): Likewise.
9392 (pow_test_towardzero): Likewise.
9393 (pow_test_downward): Likewise.
9394 (pow_test_upward): Likewise.
9395 (remainder_test): Likewise.
9396 (remainder_test_tonearest): Likewise.
9397 (remainder_test_towardzero): Likewise.
9398 (remainder_test_downward): Likewise.
9399 (remainder_test_upward): Likewise.
9400 (remquo_test): Likewise.
9401 (rint_test): Likewise.
9402 (rint_test_tonearest): Likewise.
9403 (rint_test_towardzero): Likewise.
9404 (rint_test_downward): Likewise.
9405 (rint_test_upward): Likewise.
9406 (round_test): Likewise.
9407 (scalb_test): Likewise.
9408 (scalbn_test): Likewise.
9409 (scalbln_test): Likewise.
9410 (signbit_test): Likewise.
9411 (sin_test): Likewise.
9412 (sin_test_tonearest): Likewise.
9413 (sin_test_towardzero): Likewise.
9414 (sin_test_downward): Likewise.
9415 (sin_test_upward): Likewise.
9416 (sincos_test): Likewise.
9417 (sinh_test): Likewise.
9418 (sinh_test_tonearest): Likewise.
9419 (sinh_test_towardzero): Likewise.
9420 (sinh_test_downward): Likewise.
9421 (sinh_test_upward): Likewise.
9422 (sqrt_test): Likewise.
9423 (tan_test): Likewise.
9424 (tan_test_tonearest): Likewise.
9425 (tan_test_towardzero): Likewise.
9426 (tan_test_downward): Likewise.
9427 (tan_test_upward): Likewise.
9428 (tanh_test): Likewise.
9429 (tgamma_test): Likewise.
9430 (trunc_test): Likewise.
9431 (y0_test): Likewise.
9432 (y1_test): Likewise.
9433 (yn_test): Likewise.
9434 (significand_test): Likewise.
9435
bae143d2
OB
94362013-05-24 Ondřej Bílka <neleai@seznam.cz>
9437
9438 [BZ #15381]
9439 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9440
9323d39b
EM
94412013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9442
d4ea44a0 9443 [BZ #14894]
9323d39b
EM
9444 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9445 __ppc_mdoio and __ppc_mdoom.
9446 * manual/platform.texi: Document new functions __ppc_yield,
9447 __ppc_mdoio and __ppc_mdoom.
9448
13e23af7
CD
94492013-05-22 Carlos O'Donell <carlos@redhat.com>
9450
9451 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9452 (main): Mention "tls" pseudo-hwcap is legacy.
9453 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9454
351fe550
JM
94552013-05-22 Joseph Myers <joseph@codesourcery.com>
9456
9457 * math/gen-libm-test.pl (parse_args): Output only string of
9458 arguments as text for test name, not full call or descriptions of
9459 tests for extra outputs.
9460 (generate_testfile): Do not pass function name to parse_args.
9461 Generate this_func variable from START.
9462 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9463 field to arg_str.
9464 (struct test_ff_f_data): Likewise.
9465 (test_ff_f_data_nexttoward): Likewise.
9466 (struct test_fi_f_data): Likewise.
9467 (struct test_fl_f_data): Likewise.
9468 (struct test_if_f_data): Likewise.
9469 (struct test_fff_f_data): Likewise.
9470 (struct test_c_f_data): Likewise.
9471 (struct test_f_f1_data): Likewise. Remove field extra_name.
9472 (struct test_fF_f1_data): Likewise.
9473 (struct test_ffI_f1_data): Likewise.
9474 (struct test_c_c_data): Rename test_name field to arg_str.
9475 (struct test_cc_c_data): Likewise.
9476 (struct test_f_i_data): Likewise.
9477 (struct test_ff_i_data): Likewise.
9478 (struct test_f_l_data): Likewise.
9479 (struct test_f_L_data): Likewise.
9480 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9481 and extra2_name.
9482 (COMMON_TEST_SETUP): New macro.
9483 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9484 (COMMON_TEST_CLEANUP): Likewise.
9485 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9486 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9487 macros.
9488 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9489 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9490 macros.
9491 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9492 (RUN_TEST_fff_f): Take argument string. Call new setup and
9493 cleanup macros.
9494 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9495 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9496 macros.
9497 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9498 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9499 macros.
9500 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9501 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9502 cleanup macros.
9503 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9504 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9505 cleanup macros.
9506 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9507 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9508 cleanup macros.
9509 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9510 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9511 macros.
9512 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9513 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9514 macros.
9515 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9516 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9517 macros.
9518 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9519 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9520 cleanup macros.
9521 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9522 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9523 cleanup macros.
9524 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9525 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9526 macros.
9527 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9528 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9529 cleanup macros.
9530 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9531 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9532 macros.
9533 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9534 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9535 macros.
9536 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9537 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9538 cleanup macros.
9539 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9540
85118d4d
EBM
95412013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9542
9543 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9544 to _sifields.sigfault.
9545 (si_addr_lsb): Define new macro.
9546 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9547 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9548 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9549
7a44c18f
CD
95502013-05-03 Carlos O'Donell <carlos at redhat.com>
9551
9552 [BZ #15441]
9553 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9554 returns -1.
9555 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9556 null return -1.
9557 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9558 loading the domain.
9559
b50a7181
JM
95602013-05-22 Joseph Myers <joseph@codesourcery.com>
9561
9562 * math/gen-libm-test.pl (parse_args): Do not include expected
9563 result in test name.
9564 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9566 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9567 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9568 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9570
051063c8
SP
95712013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9572
3ce9e010
SP
9573 * benchtests/Makefile: Sort function entries.
9574
051063c8
SP
9575 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9576 tanh, asinh, acosh, atanh.
9577 * benchtests/acos-inputs: New file.
9578 * benchtests/acosh-inputs: New file.
9579 * benchtests/asin-inputs: New file.
9580 * benchtests/asinh-inputs: New file.
9581 * benchtests/atanh-inputs: New file.
9582 * benchtests/cosh-inputs: New file.
9583 * benchtests/log-inputs: New file.
9584 * benchtests/sinh-inputs: New file.
9585 * benchtests/tanh-inputs: New file.
9586
47c22455
DL
95872013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9588
9589 [BZ #15339]
9590 * posix/tst-getaddrinfo4.c: New test.
9591 * posix/Makefile (tests): Add it.
9592
3d04f5db
SP
95932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9594
9595 [BZ #15339]
9596 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9597 when no services were used.
9598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9599 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9600
d5dd6189
AS
96012013-05-21 Andreas Schwab <schwab@suse.de>
9602
9603 [BZ #15014]
9604 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9605 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9606 successful.
9607 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9608 redundant variable declarations and reallocation of buffer when
9609 parsing as IPv6 address. Always set NSS status when called from
9610 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9611 buffer too small. Correct computation of needed size.
9612 * nss/Makefile (tests): Add test-digits-dots.
9613 * nss/test-digits-dots.c: New test.
9614
fef94eab
SP
96152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9616
9617 * benchtests/Makefile: Remove instructions for adding
9618 benchmark tests.
9619 * benchtests/README: New file to explain how to execute and
9620 enhance the benchmark tests.
9621
e39adf43
AS
96222013-05-21 Andreas Schwab <schwab@suse.de>
9623
9624 [BZ #15493]
9625 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9626 * setjmp/tst-sigsetjmp.c: New test.
9627
b2b671b6
OB
96282013-05-20 Ondřej Bílka <neleai@seznam.cz>
9629
9630 * sysdeps/x86_64/memset.S (memset): New implementation.
9631 (__bzero): Likewise.
9632 (__memset_tail): New function.
9633
2d48b41c
OB
96342013-05-20 Ondřej Bílka <neleai@seznam.cz>
9635
9636 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9637 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9638 __memcpy_sse2_unaligned ifunc selection.
9639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9640 Add memcpy-sse2-unaligned.S.
9641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9642 Add: __memcpy_sse2_unaligned.
9643
f16cc3eb
JM
96442013-05-19 Joseph Myers <joseph@codesourcery.com>
9645
3e694268
JM
9646 [BZ #15490]
9647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9648 math_force_eval before restoring floating-point envrionment.
9649 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9650 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9651 Likewise.
9652 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9653 <math_private.h>.
9654 (__nearbyintl): Use math_force_eval before restoring
9655 floating-point environment.
9656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9657
db62a907
JM
9658 * math/gen-libm-test.pl (special_functions): Remove.
9659 (parse_args): Don't handle TEST_extra. Handle functions with no
9660 return value.
9661 * math/libm-test.inc (struct test_sincos_data): Replace with
9662 struct test_fFF_11_data.
9663 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9664 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9665 (sincos_test_data): Change element type to struct
9666 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9667 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9668 RUN_TEST_LOOP_sincos.
9669 * math/README.libm-test: Don't mention special handling of
9670 individual functions.
9671 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9672 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9673 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9674 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9675 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9677
f16cc3eb
JM
9678 * math/gen-libm-test.pl (get_variable): Remove function.
9679 (parse_args): Don't show pointer parameters to call in test
9680 names. Use "extra output N" in test names for extra outputs
9681 rather than naming variables.
9682
3779b5b6
JM
96832013-05-18 Joseph Myers <joseph@codesourcery.com>
9684
2ee094ff
JM
9685 [BZ #15488]
9686 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9687 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9688 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9689 double tests.
9690 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9691 disable.
9692 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9693 check_long_double.
9694
3779b5b6
JM
9695 * math/gen-libm-test.pl (@tests): Remove variable.
9696 ($count): Likewise.
9697 (new_test): Remove function.
9698 (show_exceptions): New function.
9699 (special_functions): Use show_exceptions instead of new_test.
9700 (parse_args): Likewise.
9701 (generate_testfile): Pass only function name in generated call to
9702 print_max_error or print_complex_max_error.
9703 (get_ulps): Do not handle complex tests specially.
9704 (output_test): Rename to ...
9705 (get_all_ulps_for_test): ... this. Return a string rather than
9706 printing to a file. Require ulps to be present.
9707 (output_ulps): Generate arrays rather than #defines.
9708 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9709 (struct ulp_data): New type.
9710 (BUILD_COMPLEX_ULP): Remove macro.
9711 (compare_ulp_data): New function.
9712 (find_ulps): Likewise.
9713 (find_test_ulps): Likewise.
9714 (find_function_ulps): Likewise.
9715 (find_complex_function_ulps): Likewise.
9716 (print_max_error): Determine allowed ulps using
9717 find_function_ulps.
9718 (print_complex_max_error): Determine allowed ulps using
9719 find_complex_function_ulps.
9720 (check_float_internal): Determine max ulps using find_test_ulps.
9721 (check_float): Do not take max_ulp parameter. Update call to
9722 check_float_internal.
9723 (check_complex): Likewise.
9724 (check_int): Do not take max_ulp parameter.
9725 (check_long): Likewise.
9726 (check_bool): Likewise.
9727 (check_longlong): Likewise.
9728 (struct test_f_f_data): Remove max_ulp field.
9729 (struct test_ff_f_data): Likewise.
9730 (struct test_ff_f_data_nexttoward): Likewise.
9731 (struct test_fi_f_data): Likewise.
9732 (struct test_fl_f_data): Likewise.
9733 (struct test_if_f_data): Likewise.
9734 (struct test_fff_f_data): Likewise.
9735 (struct test_c_f_data): Likewise.
9736 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9737 (struct test_fF_f1_data): Likewise.
9738 (struct test_ffI_f1_data): Likewise.
9739 (struct test_c_c_data): Remove max_ulp field.
9740 (struct test_cc_c_data): Likewise.
9741 (struct test_f_i_data): Likewise.
9742 (struct test_ff_i_data): Likewise.
9743 (struct test_f_l_data): Likewise.
9744 (struct test_f_L_data): Likewise.
9745 (struct test_sincos_data): Likewise.
9746 (RUN_TEST_f_f): Do not handle ulps.
9747 (RUN_TEST_LOOP_f_f): Likewise.
9748 (RUN_TEST_2_f): Likewise.
9749 (RUN_TEST_LOOP_2_f): Likewise.
9750 (RUN_TEST_fff_f): Likewise.
9751 (RUN_TEST_LOOP_fff_f): Likewise.
9752 (RUN_TEST_c_f): Likewise.
9753 (RUN_TEST_LOOP_c_f): Likewise.
9754 (RUN_TEST_f_f1): Likewise.
9755 (RUN_TEST_LOOP_f_f1): Likewise.
9756 (RUN_TEST_fF_f1): Likewise.
9757 (RUN_TEST_LOOP_fF_f1): Likewise.
9758 (RUN_TEST_fI_f1): Likewise.
9759 (RUN_TEST_LOOP_fI_f1): Likewise.
9760 (RUN_TEST_ffI_f1): Likewise.
9761 (RUN_TEST_LOOP_ffI_f1): Likewise.
9762 (RUN_TEST_c_c): Likewise.
9763 (RUN_TEST_LOOP_c_c): Likewise.
9764 (RUN_TEST_cc_c): Likewise.
9765 (RUN_TEST_LOOP_cc_c): Likewise.
9766 (RUN_TEST_f_i): Likewise.
9767 (RUN_TEST_LOOP_f_i): Likewise.
9768 (RUN_TEST_f_i_tg): Likewise.
9769 (RUN_TEST_LOOP_f_i_tg): Likewise.
9770 (RUN_TEST_ff_i_tg): Likewise.
9771 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9772 (RUN_TEST_f_b): Likewise.
9773 (RUN_TEST_LOOP_f_b): Likewise.
9774 (RUN_TEST_f_b_tg): Likewise.
9775 (RUN_TEST_LOOP_f_b_tg): Likewise.
9776 (RUN_TEST_f_l): Likewise.
9777 (RUN_TEST_LOOP_f_l): Likewise.
9778 (RUN_TEST_f_L): Likewise.
9779 (RUN_TEST_LOOP_f_L): Likewise.
9780 (RUN_TEST_sincos): Likewise.
9781 (RUN_TEST_LOOP_sincos): Likewise.
9782
8269107f
JM
97832013-05-17 Joseph Myers <joseph@codesourcery.com>
9784
bb38759d
JM
9785 [BZ #15480]
9786 [BZ #15485]
9787 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9788 main case of finite arguments, set rounding mode to FE_TONEAREST
9789 and discard exceptions.
9790 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9791 exceptions.
9792 (remainder_tonearest_test_data): New variable.
9793 (remainder_test_tonearest): New function.
9794 (remainder_towardzero_test_data): New variable.
9795 (remainder_test_towardzero): New function.
9796 (remainder_downward_test_data): New variable.
9797 (remainder_test_downward): New function.
9798 (remainder_upward_test_data): New variable.
9799 (remainder_test_upward): New function.
9800 (main): Call the new test functions.
9801
a00bdcf0
JM
9802 * math/libm-test.inc (struct test_f_f1_data): Remove field
9803 extra_init.
9804 (struct test_fF_f1_data): Likewise.
9805 (struct test_ffI_f1_data): Likewise.
9806 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9807 based on value of EXTRA_EXPECTED.
9808 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9809 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9810 EXTRA_VAR based on value of EXTRA_EXPECTED.
9811 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9812 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9813 EXTRA_VAR based on value of EXTRA_EXPECTED.
9814 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9815 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9816 EXTRA_VAR based on value of EXTRA_EXPECTED.
9817 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9818 * math/gen-libm-test.pl (parse_args): Don't output initializers
9819 for extra output values.
9820
de407f79
JM
9821 * math/libm-test.inc (check_int): Expect result to be exactly
9822 equal to expected value and do not handle ulps.
9823 (check_long): Likewise.
9824 (check_longlong): Likewise.
9825
8269107f
JM
9826 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9827 exceptions.
9828 (cimag_test_data): Likewise.
9829 (conj_test_data): Likewise.
9830 (copysign_test_data): Likewise.
9831 (cproj_test_data): Likewise.
9832 (creal_test_data): Likewise.
9833 (fabs_test_data): Likewise.
9834 (fdim_test_data): Likewise.
9835 (finite_test_data): Likewise.
9836 (floor_test_data): Likewise.
9837 (fmax_test_data): Likewise.
9838 (fmin_test_data): Likewise.
9839 (fmod_test_data): Likewise.
9840 (fpclassify_test_data): Likewise.
9841 (frexp_test_data): Likewise.
9842 (ilogb_test_data): Likewise.
9843 (isfinite_test_data): Likewise.
9844 (isgreater_test_data): Likewise.
9845 (isgreaterequal_test_data): Likewise.
9846 (isinf_test_data): Likewise.
9847 (isless_test_data): Likewise.
9848 (islessequal_test_data): Likewise.
9849 (islessgreater_test_data): Likewise.
9850 (isnan_test_data): Likewise.
9851 (isnormal_test_data): Likewise.
9852 (issignaling_test_data): Likewise.
9853 (isunordered_test_data): Likewise.
9854 (ldexp_test_data): Likewise.
9855 (lrint_test_data): Likewise.
9856 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9857 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9858 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9859 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9860 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9861 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9862 test input.
9863 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9864 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9865 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9866 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9867 that test input.
9868 (lrint_downward_test_data): Test for "inexact" exceptions.
9869 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9870 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9871 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9872 test input.
9873 (lrint_upward_test_data): Test for "inexact" exceptions.
9874 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9875 test input.
9876 (llrint_test_data): Test for "inexact" exceptions.
9877 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9878 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9879 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9880 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9881 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9882 (llrint_downward_test_data): Test for "inexact" exceptions.
9883 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9884 (llrint_upward_test_data): Test for "inexact" exceptions.
9885 (logb_test_data): Likewise.
9886 (logb_downward_test_data): Likewise.
9887 (nextafter_test_data): Likewise.
9888 (nexttoward_test_data): Likewise.
9889 (remainder_test_data): Likewise.
9890 (remquo_test_data): Likewise.
9891 (scalbn_test_data): Likewise.
9892 (scalbln_test_data): Likewise.
9893 (signbit_test_data): Likewise.
9894 (sqrt_test_data): Likewise.
9895 (significand_test_data): Likewise.
9896
48a18de1
SP
98972013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9898
9899 [BZ #15424]
9900 * benchtests/bench-modf.c (struct args): Mark arg0 as
9901 volatile.
9902 * scripts/bench.pl: Mark members of struct args as volatile.
9903
13d3b41a
AZ
99042013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905
68191c1d 9906 [BZ # 15497]
13d3b41a
AZ
9907 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9908 negative infinity on POWER6 or lower.
9909 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9910
2848b105
MR
99112013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9912
9913 [BZ #15442]
9914 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9915 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9916 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9917 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9918 (_FP_SETQNAN): New macro.
9919 (_FP_SETQNAN_SEMIRAW): Likewise.
9920 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9921 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9922 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9923 (FP_EXTEND): Use _FP_FRAC_SNANP.
9924 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9925 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9926 into account.
9927 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9928 New macro.
9929 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9930 Likewise.
9931
323e5cb7
JM
99322013-05-16 Joseph Myers <joseph@codesourcery.com>
9933
c58b274f
JM
9934 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9935 with DIVIDE_BY_ZERO_EXCEPTION.
9936 (gamma_test_data): Likewise.
9937 (lgamma_test_data): Likewise.
9938 (log_test_data): Likewise.
9939 (log10_test_data): Likewise.
9940 (log2_test_data): Likewise.
9941 (tgamma_test_data): Likewise.
9942
0ab34904
JM
9943 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9944 (acos_test_tonearest): Likewise.
9945 (acos_test_towardzero): Likewise.
9946 (acos_test_downward): Likewise.
9947 (acos_test_upward): Likewise.
9948 (acosh_test): Likewise.
9949 (asin_test): Likewise.
9950 (asin_test_tonearest): Likewise.
9951 (asin_test_towardzero): Likewise.
9952 (asin_test_downward): Likewise.
9953 (asin_test_upward): Likewise.
9954 (asinh_test): Likewise.
9955 (atan_test): Likewise.
9956 (atanh_test): Likewise.
9957 (atan2_test): Likewise.
9958 (cabs_test): Likewise.
9959 (cacos_test): Likewise.
9960 (cacosh_test): Likewise.
9961 (casin_test): Likewise.
9962 (casinh_test): Likewise.
9963 (catan_test): Likewise.
9964 (catanh_test): Likewise.
9965 (cbrt_test): Likewise.
9966 (ccos_test): Likewise.
9967 (ccosh_test): Likewise.
9968 (cexp_test): Likewise.
9969 (clog_test): Likewise.
9970 (clog10_test): Likewise.
9971 (cos_test): Likewise.
9972 (cos_test_tonearest): Likewise.
9973 (cos_test_towardzero): Likewise.
9974 (cos_test_downward): Likewise.
9975 (cos_test_upward): Likewise.
9976 (cosh_test): Likewise.
9977 (cosh_test_tonearest): Likewise.
9978 (cosh_test_towardzero): Likewise.
9979 (cosh_test_downward): Likewise.
9980 (cosh_test_upward): Likewise.
9981 (cpow_test): Likewise.
9982 (csin_test): Likewise.
9983 (csinh_test): Likewise.
9984 (csqrt_test): Likewise.
9985 (ctan_test): Likewise.
9986 (ctan_test_tonearest): Likewise.
9987 (ctan_test_towardzero): Likewise.
9988 (ctan_test_downward): Likewise.
9989 (ctan_test_upward): Likewise.
9990 (ctanh_test): Likewise.
9991 (ctanh_test_tonearest): Likewise.
9992 (ctanh_test_towardzero): Likewise.
9993 (ctanh_test_downward): Likewise.
9994 (ctanh_test_upward): Likewise.
9995 (erf_test): Likewise.
9996 (erfc_test): Likewise.
9997 (exp_test): Likewise.
9998 (exp_test_tonearest): Likewise.
9999 (exp_test_towardzero): Likewise.
10000 (exp_test_downward): Likewise.
10001 (exp_test_upward): Likewise.
10002 (exp10_test): Likewise.
10003 (exp2_test): Likewise.
10004 (expm1_test): Likewise.
10005 (fmod_test): Likewise.
10006 (gamma_test): Likewise.
10007 (hypot_test): Likewise.
10008 (j0_test): Likewise.
10009 (j1_test): Likewise.
10010 (jn_test): Likewise.
10011 (lgamma_test): Likewise.
10012 (log_test): Likewise.
10013 (log10_test): Likewise.
10014 (log1p_test): Likewise.
10015 (log2_test): Likewise.
10016 (logb_test_downward): Likewise.
10017 (pow_test): Likewise.
10018 (pow_test_tonearest): Likewise.
10019 (pow_test_towardzero): Likewise.
10020 (pow_test_downward): Likewise.
10021 (pow_test_upward): Likewise.
10022 (remainder_test): Likewise.
10023 (remquo_test): Likewise.
10024 (sin_test): Likewise.
10025 (sin_test_tonearest): Likewise.
10026 (sin_test_towardzero): Likewise.
10027 (sin_test_downward): Likewise.
10028 (sin_test_upward): Likewise.
10029 (sincos_test): Likewise.
10030 (sinh_test): Likewise.
10031 (sinh_test_tonearest): Likewise.
10032 (sinh_test_towardzero): Likewise.
10033 (sinh_test_downward): Likewise.
10034 (sinh_test_upward): Likewise.
10035 (sqrt_test): Likewise.
10036 (tan_test): Likewise.
10037 (tan_test_tonearest): Likewise.
10038 (tan_test_towardzero): Likewise.
10039 (tan_test_downward): Likewise.
10040 (tan_test_upward): Likewise.
10041 (tanh_test): Likewise.
10042 (tgamma_test): Likewise.
10043 (y0_test): Likewise.
10044 (y1_test): Likewise.
10045 (yn_test): Likewise.
10046
323e5cb7
JM
10047 * math/gen-libm-test.pl (adjust_arg): Remove function.
10048 (special_function): Remove argument $in_func. Only handle
10049 generating output for tables of tests, not inside functions.
10050 (parse_args): Likewise.
10051 (generate_testfile): Remove variable $in_func. Update call to
10052 parse_args.
10053 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10054 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10055 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10056 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10057 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10058 (MAX_VALUE_INIT): Rename macro to max_value.
10059 (MIN_VALUE_INIT): Rename macro to min_value.
10060 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10061 (plus_zero): Remove variable.
10062 (minus_zero): Likewise.
10063 (plus_infty): Likewise.
10064 (minus_infty): Likewise.
10065 (qnan_value): Likewise.
10066 (max_value): Likewise.
10067 (min_value): Likewise.
10068 (min_subnorm_value): Likewise.
10069
e054f494
RA
100702013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10071
10072 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10073 uint64_t or uint32_t usage.
10074 * crypt/sha256-block.c: Likewise.
10075 * crypt/sha256-crypt.c: Likewise.
10076 * crypt/sha256.c: Likewise.
10077 * crypt/sha512-block.c: Likewise.
10078 * crypt/sha512-crypt.c: Likewise.
10079 * crypt/sha512.c: Likewise.
10080 * debug/backtrace-tst.c: Likewise.
10081 * debug/pcprofiledump.c: Likewise.
10082 * elf/cache.c: Likewise.
10083 * elf/dl-cache.c: Likewise.
10084 * elf/dl-misc.c: Likewise.
10085 * elf/dl-profile.c: Likewise.
10086 * elf/dl-support.c: Likewise.
10087 * elf/ldconfig.c: Likewise.
10088 * elf/sprof.c: Likewise.
10089 * iconv/dummy-repertoire.c: Likewise.
10090 * iconv/iconv_charmap.c: Likewise.
10091 * iconv/skeleton.c: Likewise.
10092 * iconvdata/8bit-generic.c: Likewise.
10093 * iconvdata/cp737.h: Likewise.
10094 * iconvdata/cp775.h: Likewise.
10095 * iconvdata/ibm1008.h: Likewise.
10096 * iconvdata/ibm1025.h: Likewise.
10097 * iconvdata/ibm1046.h: Likewise.
10098 * iconvdata/ibm1097.h: Likewise.
10099 * iconvdata/ibm1112.h: Likewise.
10100 * iconvdata/ibm1122.h: Likewise.
10101 * iconvdata/ibm1123.h: Likewise.
10102 * iconvdata/ibm1124.h: Likewise.
10103 * iconvdata/ibm1129.h: Likewise.
10104 * iconvdata/ibm1130.h: Likewise.
10105 * iconvdata/ibm1132.h: Likewise.
10106 * iconvdata/ibm1133.h: Likewise.
10107 * iconvdata/ibm1137.h: Likewise.
10108 * iconvdata/ibm1140.h: Likewise.
10109 * iconvdata/ibm1141.h: Likewise.
10110 * iconvdata/ibm1142.h: Likewise.
10111 * iconvdata/ibm1143.h: Likewise.
10112 * iconvdata/ibm1144.h: Likewise.
10113 * iconvdata/ibm1145.h: Likewise.
10114 * iconvdata/ibm1146.h: Likewise.
10115 * iconvdata/ibm1147.h: Likewise.
10116 * iconvdata/ibm1148.h: Likewise.
10117 * iconvdata/ibm1149.h: Likewise.
10118 * iconvdata/ibm1153.h: Likewise.
10119 * iconvdata/ibm1154.h: Likewise.
10120 * iconvdata/ibm1155.h: Likewise.
10121 * iconvdata/ibm1156.h: Likewise.
10122 * iconvdata/ibm1157.h: Likewise.
10123 * iconvdata/ibm1158.h: Likewise.
10124 * iconvdata/ibm1160.h: Likewise.
10125 * iconvdata/ibm1161.h: Likewise.
10126 * iconvdata/ibm1162.h: Likewise.
10127 * iconvdata/ibm1163.h: Likewise.
10128 * iconvdata/ibm1164.h: Likewise.
10129 * iconvdata/ibm1166.h: Likewise.
10130 * iconvdata/ibm1167.h: Likewise.
10131 * iconvdata/ibm12712.h: Likewise.
10132 * iconvdata/ibm1390.h: Likewise.
10133 * iconvdata/ibm1399.h: Likewise.
10134 * iconvdata/ibm16804.h: Likewise.
10135 * iconvdata/ibm4517.h: Likewise.
10136 * iconvdata/ibm4899.h: Likewise.
10137 * iconvdata/ibm4909.h: Likewise.
10138 * iconvdata/ibm4971.h: Likewise.
10139 * iconvdata/ibm5347.h: Likewise.
10140 * iconvdata/ibm803.h: Likewise.
10141 * iconvdata/ibm856.h: Likewise.
10142 * iconvdata/ibm901.h: Likewise.
10143 * iconvdata/ibm902.h: Likewise.
10144 * iconvdata/ibm9030.h: Likewise.
10145 * iconvdata/ibm9066.h: Likewise.
10146 * iconvdata/ibm921.h: Likewise.
10147 * iconvdata/ibm922.h: Likewise.
10148 * iconvdata/ibm9448.h: Likewise.
10149 * iconvdata/isiri-3342.h: Likewise.
10150 * iconvdata/jis0201.h: Likewise.
10151 * include/link.h: Likewise.
10152 * include/netdb.h: Likewise.
10153 * inet/check_native.c: Likewise.
10154 * inet/check_pf.c: Likewise.
10155 * inet/getipv4sourcefilter.c: Likewise.
10156 * inet/getnameinfo.c: Likewise.
10157 * inet/getsourcefilter.c: Likewise.
10158 * inet/htonl.c: Likewise.
10159 * inet/setipv4sourcefilter.c: Likewise.
10160 * inet/setsourcefilter.c: Likewise.
10161 * inet/test-inet6_opt.c: Likewise.
10162 * inet/tst-network.c: Likewise.
10163 * locale/C-collate.c: Likewise.
10164 * locale/C-ctype.c: Likewise.
10165 * locale/C-time.c: Likewise.
10166 * locale/C-translit.h: Likewise.
10167 * locale/loadarchive.c: Likewise.
10168 * locale/programs/3level.h: Likewise.
10169 * locale/programs/charmap.c: Likewise.
10170 * locale/programs/charmap.h: Likewise.
10171 * locale/programs/ld-address.c: Likewise.
10172 * locale/programs/ld-collate.c: Likewise.
10173 * locale/programs/ld-ctype.c: Likewise.
10174 * locale/programs/ld-identification.c: Likewise.
10175 * locale/programs/ld-measurement.c: Likewise.
10176 * locale/programs/ld-messages.c: Likewise.
10177 * locale/programs/ld-monetary.c: Likewise.
10178 * locale/programs/ld-name.c: Likewise.
10179 * locale/programs/ld-numeric.c: Likewise.
10180 * locale/programs/ld-paper.c: Likewise.
10181 * locale/programs/ld-telephone.c: Likewise.
10182 * locale/programs/ld-time.c: Likewise.
10183 * locale/programs/linereader.c: Likewise.
10184 * locale/programs/locale.c: Likewise.
10185 * locale/programs/locarchive.c: Likewise.
10186 * locale/programs/locfile.h: Likewise.
10187 * locale/programs/repertoire.c: Likewise.
10188 * locale/programs/simple-hash.c: Likewise.
10189 * locale/programs/simple-hash.h: Likewise.
10190 * malloc/memusage.c: Likewise.
10191 * malloc/memusagestat.c: Likewise.
10192 * nis/nis_defaults.c: Likewise.
10193 * nis/nis_hash.c: Likewise.
10194 * nis/nis_print.c: Likewise.
10195 * nis/nis_xdr.c: Likewise.
10196 * nscd/connections.c: Likewise.
10197 * nscd/hstcache.c: Likewise.
10198 * nscd/nscd_gethst_r.c: Likewise.
10199 * nscd/nscd_getserv_r.c: Likewise.
10200 * nscd/nscd_helper.c: Likewise.
10201 * nscd/servicescache.c: Likewise.
10202 * nss/makedb.c: Likewise.
10203 * nss/nss_db/db-XXX.c: Likewise.
10204 * nss/nss_db/db-initgroups.c: Likewise.
10205 * nss/nss_db/db-netgrp.c: Likewise.
10206 * nss/nss_files/files-network.c: Likewise.
10207 * nss/nss_files/files-parse.c: Likewise.
10208 * posix/bug-regex5.c: Likewise.
10209 * posix/fnmatch_loop.c: Likewise.
10210 * posix/regcomp.c: Likewise.
10211 * posix/regexec.c: Likewise.
10212 * posix/tst-rfc3484-2.c: Likewise.
10213 * posix/tst-rfc3484-3.c: Likewise.
10214 * posix/tst-rfc3484.c: Likewise.
10215 * resolv/nss_dns/dns-canon.c: Likewise.
10216 * resolv/nss_dns/dns-network.c: Likewise.
10217 * resolv/res_init.c: Likewise.
10218 * resolv/res_mkquery.c: Likewise.
10219 * resolv/tst-aton.c: Likewise.
10220 * stdlib/cxa_atexit.c: Likewise.
10221 * stdlib/cxa_finalize.c: Likewise.
10222 * stdlib/gen-fpioconst.c: Likewise.
10223 * stdlib/strtol_l.c: Likewise.
10224 * string/tst-endian.c: Likewise.
10225 * sunrpc/auth_des.c: Likewise.
10226 * sunrpc/clnt_udp.c: Likewise.
10227 * sunrpc/rtime.c: Likewise.
10228 * sunrpc/svcauth_des.c: Likewise.
10229 * sunrpc/xdr.c: Likewise.
10230 * sunrpc/xdr_intXX_t.c: Likewise.
10231 * sunrpc/xdr_rec.c: Likewise.
10232 * sysdeps/generic/ldconfig.h: Likewise.
10233 * sysdeps/generic/ldsodefs.h: Likewise.
10234 * sysdeps/generic/memusage.h: Likewise.
10235 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10241 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10242 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10245 * sysdeps/posix/getaddrinfo.c: Likewise.
10246 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10248 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10249 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10250 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10251 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10252 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10253 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10254 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10255 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10256 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10257 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10258 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10259 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10261 * sysdeps/x86_64/dl-tls.h: Likewise.
10262 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10263 * time/alt_digit.c: Likewise.
10264 * time/era.c: Likewise.
10265 * wcsmbs/tst-c16c32-1.c: Likewise.
10266
8c75f674
JM
102672013-05-16 Joseph Myers <joseph@codesourcery.com>
10268
10269 * math/libm-test.inc (struct test_sincos_data): New type.
10270 (RUN_TEST_LOOP_sincos): New macro.
10271 (sincos_test_data): New variable.
10272 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10273
e6e49e59
RH
102742013-05-16 Richard Henderson <rth@redhat.com>
10275
10276 * math/atest-exp2.c (LIMB64): New macro.
10277 (CONSTSZ): New macro.
10278 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10279 (hexdig): Move ...
10280 (print_mpn_fp): ... to function scope.
10281 (read_mpn_hex): Remove.
10282 (get_log2): Remove.
10283 (exp2_mpn): Use mp_log2.
10284 (main): Use mp_exp1.
10285
15c7c18d
JM
102862013-05-16 Joseph Myers <joseph@codesourcery.com>
10287
105a07df
JM
10288 * math/libm-test.inc: Remove comment about not testing "inexact"
10289 exceptions.
10290 (INEXACT_EXCEPTION): New macro.
10291 (NO_INEXACT_EXCEPTION): Likewise.
10292 (INVALID_EXCEPTION_OK): Update value.
10293 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10294 (OVERFLOW_EXCEPTION_OK): Likewise.
10295 (UNDERFLOW_EXCEPTION_OK): Likewise.
10296 (IGNORE_ZERO_INF_SIGN): Likewise.
10297 (ERRNO_UNCHANGED): Likewise.
10298 (ERRNO_EDOM): Likewise.
10299 (ERRNO_ERANGE): Likewise.
10300 (test_exceptions): Handle testing "inexact" exceptions.
10301 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10302 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10303 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10304 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10305 INEXACT_EXCEPTION.
10306 (rint_towardzero_test_data): Likewise.
10307 (rint_downward_test_data): Likewise.
10308 (rint_upward_test_data): Likewise.
10309
e9eee333
JM
10310 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10311 with OVERFLOW_EXCEPTION.
10312 (exp10_test_data): Likewise.
10313 (exp2_test_data): Likewise.
10314 (expm1_test_data): Likewise.
10315 (lgamma_test_data): Likewise.
10316 (pow_test_data): Likewise.
10317 (tgamma_test_data): Likewise.
10318 (yn_test_data): Remove duplicate test of overflow.
10319
1c38ff73
JM
10320 * math/libm-test.inc (struct test_cc_c_data): New type.
10321 (RUN_TEST_LOOP_cc_c): New macro.
10322 (cpow_test_data): New variable.
10323 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10324
15c7c18d
JM
10325 * math/libm-test.inc (struct test_f_L_data): New type.
10326 (RUN_TEST_LOOP_f_L): New macro.
10327 (llrint_test_data): New variable.
10328 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10329 (llrint_tonearest_test_data): New variable.
10330 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10331 (llrint_towardzero_test_data): New variable.
10332 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10333 (llrint_downward_test_data): New variable.
10334 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10335 (llrint_upward_test_data): New variable.
10336 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10337 (llround_test_data): New variable.
10338 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10339
f137ff13
PC
103402013-05-13 Peter Collingbourne <pcc@google.com>
10341
10342 * math/atest-exp2.c (get_log2): Remove const attribute.
10343
3608cb24
JM
103442013-05-15 Joseph Myers <joseph@codesourcery.com>
10345
10346 * math/libm-test.inc (struct test_f_l_data): New type.
10347 (RUN_TEST_LOOP_f_l): New macro.
10348 (lrint_test_data): New variable.
10349 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10350 (lrint_tonearest_test_data): New variable.
10351 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10352 (lrint_towardzero_test_data): New variable.
10353 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10354 (lrint_downward_test_data): New variable.
10355 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10356 (lrint_upward_test_data): New variable.
10357 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10358 (lround_test_data): New variable.
10359 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10360
39b1f617
PC
103612013-05-15 Peter Collingbourne <pcc@google.com>
10362
1deff3dc
PC
10363 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10364 (EXTRACT_WORDS64) Use where appropriate.
10365 (INSERT_WORDS64) Likewise.
10366
791f3ba0
PC
10367 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10368 constraints with x constraints.
10369 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10370
39b1f617
PC
10371 * malloc/obstack.c (_obstack_compat): Add initializer.
10372
12fba011
EM
103732013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10374
10375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10376 si_trapno and add si_addr_lsb to _sifields.sigfault.
10377 (si_trapno): Remove macro.
10378 (si_addr_lsb): Define new macro.
10379 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10380
d369f531
JM
103812013-05-15 Joseph Myers <joseph@codesourcery.com>
10382
b861c6c4
JM
10383 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10384 instead of TEST_f_l.
10385 (llrint_test_tonearest): Likewise.
10386 (llrint_test_towardzero): Likewise.
10387 (llrint_test_downward): Likewise.
10388 (llrint_test_upward): Likewise.
10389 (llround_test): Likewise.
10390
7abeee12
JM
10391 * math/libm-test.inc (struct test_f_i_data): Add comment.
10392 (RUN_TEST_LOOP_f_b): New macro.
10393 (RUN_TEST_LOOP_f_b_tg): Likewise.
10394 (finite_test_data): New variable.
10395 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10396 (isfinite_test_data): New variable.
10397 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10398 (isinf_test_data): New variable.
10399 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10400 (isnan_test_data): New variable.
10401 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10402 (isnormal_test_data): New variable.
10403 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10404 (issignaling_test_data): New variable.
10405 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10406 (signbit_test_data): New variable.
10407 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10408
cbe8c4d3
JM
10409 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10410 with INVALID_EXCEPTION.
10411 (acosh_test_data): Likewise.
10412 (asin_test_data): Likewise.
10413 (atanh_test_data): Likewise.
10414 (fmod_test_data): Likewise.
10415 (log_test_data): Likewise.
10416 (log10_test_data): Likewise.
10417 (log2_test_data): Likewise.
10418 (pow_test_data): Likewise.
10419 (sqrt_test_data): Likewise.
10420 (y0_test_data): Likewise.
10421 (y1_test_data): Likewise.
10422 (yn_test_data): Likewise.
10423
5575c0e5
JM
10424 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10425 function contents.
10426
d369f531
JM
10427 * math/libm-test.inc (struct test_ff_i_data): New type.
10428 (RUN_TEST_LOOP_ff_i_tg): New macro.
10429 (isgreater_test_data): New variable.
10430 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10431 (isgreaterequal_test_data): New variable.
10432 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10433 (isless_test_data): New variable.
10434 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10435 (islessequal_test_data): New variable.
10436 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10437 (islessgreater_test_data): New variable.
10438 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10439 (isunordered_test_data): New variable.
10440 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10441
781fd748
DM
104422013-05-14 David S. Miller <davem@davemloft.net>
10443
10444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10445
87aa21df
JM
104462013-05-14 Joseph Myers <joseph@codesourcery.com>
10447
5e908270
JM
10448 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10449
f71172e5
JM
10450 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10451 extra_test to int.
10452 (struct test_f_i_data): Change type of max_ulp to int.
10453
8cfa635a
JM
10454 * math/libm-test.inc (test_ffI_f1_data): New type.
10455 (RUN_TEST_LOOP_ffI_f1): New macro.
10456 (remquo_test_data): New variable.
10457 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10458
2bcb36b2
JM
10459 * setjmp/tst-setjmp-fp.c: New file.
10460 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10461 (link-libm): New variable.
10462 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10463
acbd839a
JM
10464 * math/libm-test.inc (struct test_f_i_data): New type.
10465 (RUN_TEST_LOOP_f_i): New macro.
10466 (RUN_TEST_LOOP_f_i_tg): Likewise.
10467 (fpclassify_test_data): New variable.
10468 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10469 (ilogb_test_data): New variable.
10470 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10471
e414d745
JM
10472 * math/libm-test.inc (scalbln_test): Correct function name in END
10473 call.
10474
d9c2a0fd
JM
10475 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10476 (RUN_TEST_LOOP_fI_f1): New macro.
10477 (frexp_test_data): New variable.
10478 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10479
9dc9095d
JM
10480 * math/libm-test.inc (struct test_fF_f1_data): New type.
10481 (RUN_TEST_LOOP_fF_f1): New macro.
10482 (modf_test_data): New variable.
10483 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10484
87aa21df
JM
10485 * math/libm-test.inc (struct test_f_f1_data): New type.
10486 (RUN_TEST_LOOP_f_f1): New macro.
10487 (gamma_test_data): New variable.
10488 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10489 (lgamma_test_data): New variable.
10490 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10491
141af660
CD
104922013-05-13 Carlos O'Donell <carlos@redhat.com>
10493
10494 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10495 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10496 (main): Comment "tls" pseudo-hwcap.
10497
6d33265c
JM
104982013-05-13 Joseph Myers <joseph@codesourcery.com>
10499
68fc074c
JM
10500 * math/libm-test.inc (struct test_fl_f_data): New type.
10501 (RUN_TEST_LOOP_fl_f): New variable.
10502 (scalbln_test_data): New variable.
10503 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10504
243216e1
JM
10505 * math/libm-test.inc (struct test_fi_f_data): New type.
10506 (RUN_TEST_LOOP_fi_f): New macro.
10507 (ldexp_test_data): New variable.
10508 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10509 (scalbn_test_data): New variable.
10510 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10511
6a1992e2
JM
10512 * math/libm-test.inc (struct test_c_f_data): New type.
10513 (RUN_TEST_LOOP_c_f): New macro.
10514 (cabs_test_data): New variable.
10515 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10516 (carg_test_data): New variable.
10517 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10518 (cimag_test_data): New variable.
10519 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10520 (creal_test_data): New variable.
10521 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10522
0e400df5
JM
10523 * math/libm-test.inc (struct test_if_f_data): New type.
10524 (RUN_TEST_LOOP_if_f): New macro.
10525 (jn_test_data): New variable.
10526 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10527 (yn_test_data): New variable.
10528 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10529
6d33265c
JM
10530 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10531
f98ece5f
AZ
105322013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10533
10534 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10535 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10536
0f7d347b
SP
105372013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10538
43fe811b
SP
10539 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10540 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10541 (bench-deps): Add bench-timing.h.
10542 * benchtests-bench-skeleton.c: Include bench-timing.h.
10543 (main): Use TIMING_* macros instead of clock_gettime.
10544 * benchtests/bench-timing.h: New file.
10545
0f7d347b
SP
10546 [BZ #14582]
10547 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10548 Renamed from _LIB_VERSION.
10549 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10550
601a3a5f
JM
105512013-05-12 Joseph Myers <joseph@codesourcery.com>
10552
4f184d30
JM
10553 * math/libm-test.inc (struct test_fff_f_data): New type.
10554 (RUN_TEST_LOOP_fff_f): New macro.
10555 (fma_test_data): New variable.
10556 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10557 (fma_towardzero_test_data): New variable.
10558 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10559 (fma_downward_test_data): New variable.
10560 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10561 (fma_upward_test_data): New variable.
10562 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10563
08198877
JM
10564 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10565 (struct test_c_c_data): New type.
10566 (RUN_TEST_LOOP_c_c): New macro.
10567 (cacos_test_data): New variable.
10568 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10569 (cacosh_test_data): New variable.
10570 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10571 (casin_test_data): New variable.
10572 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10573 (casinh_test_data): New variable.
10574 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10575 (catan_test_data): New variable.
10576 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10577 (catanh_test_data): New variable.
10578 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10579 (ccos_test_data): New variable.
10580 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10581 (ccosh_test_data): New variable.
10582 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10583 (cexp_test_data): New variable.
10584 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10585 (clog_test_data): New variable.
10586 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10587 (clog10_test_data): New variable.
10588 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10589 (conj_test_data): New variable.
10590 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10591 (cproj_test_data): New variable.
10592 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10593 (csin_test_data): New variable.
10594 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10595 (csinh_test_data): New variable.
10596 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10597 (csqrt_test_data): New variable.
10598 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10599 (ctan_test_data): New variable.
10600 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10601 (ctan_tonearest_test_data): New variable.
10602 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10603 (ctan_towardzero_test_data): New variable.
10604 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10605 (ctan_downward_test_data): New variable.
10606 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10607 (ctan_upward_test_data): New variable.
10608 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10609 (ctanh_test_data): New variable.
10610 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10611 (ctanh_tonearest_test_data): New variable.
10612 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10613 (ctanh_towardzero_test_data): New variable.
10614 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10615 (ctanh_downward_test_data): New variable.
10616 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10617 (ctanh_upward_test_data): New variable.
10618 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10619 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10620 of BUILD_COMPLEX.
10621
601a3a5f
JM
10622 * math/libm-test.inc (struct test_ff_f_data): New type.
10623 (struct test_ff_f_data_nexttoward): Likewise.
10624 (RUN_TEST_LOOP_2_f): New macro.
10625 (RUN_TEST_LOOP_ff_f): Likewise.
10626 (atan2_test_data): New variable.
10627 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10628 (copysign_test_data): New variable.
10629 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10630 (fdim_test_data): New variable.
10631 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10632 (fmax_test_data): New variable.
10633 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10634 (fmin_test_data): New variable.
10635 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10636 (fmod_test_data): New variable.
10637 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10638 (hypot_test_data): New variable.
10639 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10640 (nextafter_test_data): New variable.
10641 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10642 (nexttoward_test_data): New variable.
10643 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10644 (pow_test_data): New variable.
10645 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10646 (pow_tonearest_test_data): New variable.
10647 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10648 (pow_towardzero_test_data): New variable.
10649 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10650 (pow_downward_test_data): New variable.
10651 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10652 (pow_upward_test_data): New variable.
10653 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10654 (remainder_test_data): New variable.
10655 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10656 (scalb_test_data): New variable.
10657 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10658 * sysdeps/i386/fpu/libm-test-ulps: Update.
10659
74c57478
JM
106602013-05-11 Joseph Myers <joseph@codesourcery.com>
10661
8329e4da
JM
10662 * math/libm-test.inc (fma_test): Use max_value instead of local
10663 variable fltmax.
10664 (nextafter_test): Likewise.
10665
74c57478
JM
10666 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10667 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10668 (acos_downward_test_data): New variable.
10669 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10670 (acos_upward_test_data): New variable.
10671 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10672 (acosh_test_data): New variable.
10673 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10674 (asin_test_data): New variable.
10675 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10676 (asin_tonearest_test_data): New variable.
10677 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10678 (asin_towardzero_test_data): New variable.
10679 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10680 (asin_downward_test_data): New variable.
10681 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10682 (asin_upward_test_data): New variable.
10683 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10684 (asinh_test_data): New variable.
10685 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10686 (atan_test_data): New variable.
10687 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10688 (atanh_test_data): New variable.
10689 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10690 (cbrt_test_data): New variable.
10691 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10692 (ceil_test_data): New variable.
10693 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10694 (cos_test_data): New variable.
10695 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10696 (cos_tonearest_test_data): New variable.
10697 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10698 (cos_towardzero_test_data): New variable.
10699 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10700 (cos_downward_test_data): New variable.
10701 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10702 (cos_upward_test_data): New variable.
10703 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10704 (cosh_test_data): New variable.
10705 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10706 (cosh_tonearest_test_data): New variable.
10707 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10708 (cosh_towardzero_test_data): New variable.
10709 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10710 (cosh_downward_test_data): New variable.
10711 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10712 (cosh_upward_test_data): New variable.
10713 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10714 (erf_test_data): New variable.
10715 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10716 (erfc_test_data): New variable.
10717 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10718 (exp_test_data): New variable.
10719 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10720 (exp_tonearest_test_data): New variable.
10721 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10722 (exp_towardzero_test_data): New variable.
10723 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10724 (exp_downward_test_data): New variable.
10725 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10726 (exp_upward_test_data): New variable.
10727 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10728 (exp10_test_data): New variable.
10729 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10730 (exp2_test_data): New variable.
10731 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10732 (expm1_test_data): New variable.
10733 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10734 (fabs_test_data): New variable.
10735 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10736 (floor_test_data): New variable.
10737 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10738 (j0_test_data): New variable.
10739 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10740 (j1_test_data): New variable.
10741 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10742 (log_test_data): New variable.
10743 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10744 (log10_test_data): New variable.
10745 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10746 (log1p_test_data): New variable.
10747 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10748 (log2_test_data): New variable.
10749 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10750 (logb_test_data): New variable.
10751 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10752 (logb_downward_test_data): New variable.
10753 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10754 (nearbyint_test_data): New variable.
10755 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10756 (rint_test_data): New variable.
10757 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10758 (rint_tonearest_test_data): New variable.
10759 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10760 (rint_towardzero_test_data): New variable.
10761 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10762 (rint_downward_test_data): New variable.
10763 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10764 (rint_upward_test_data): New variable.
10765 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10766 (round_test_data): New variable.
10767 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10768 (sin_test_data): New variable.
10769 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10770 (sin_tonearest_test_data): New variable.
10771 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10772 (sin_towardzero_test_data): New variable.
10773 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10774 (sin_downward_test_data): New variable.
10775 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10776 (sin_upward_test_data): New variable.
10777 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10778 (sinh_test_data): New variable.
10779 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10780 (sinh_tonearest_test_data): New variable.
10781 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10782 (sinh_towardzero_test_data): New variable.
10783 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10784 (sinh_downward_test_data): New variable.
10785 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10786 (sinh_upward_test_data): New variable.
10787 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10788 (sqrt_test_data): New variable.
10789 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10790 (tan_test_data): New variable.
10791 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10792 (tan_tonearest_test_data): New variable.
10793 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10794 (tan_towardzero_test_data): New variable.
10795 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10796 (tan_downward_test_data): New variable.
10797 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10798 (tan_upward_test_data): New variable.
10799 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10800 (tanh_test_data): New variable.
10801 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10802 (tgamma_test_data): New variable.
10803 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10804 (trunc_test_data): New variable.
10805 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10806 (y0_test_data): New variable.
10807 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10808 (y1_test_data): New variable.
10809 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10810 (significand_test_data): New variable.
10811 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10812
7187d844
CG
108132013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10814
10815 [BZ #12387]
10816 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10817
f63fae73
PT
108182013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10819
10820 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10821
8a67a4b3
AJ
108222013-05-10 Andreas Jaeger <aj@suse.de>
10823
10824 [BZ #15448]
10825 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10826 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10827
51df539d
JM
108282013-05-10 Joseph Myers <joseph@codesourcery.com>
10829
10830 * math/gen-libm-test.pl (adjust_arg): New function.
10831 (special_functions): Handle generating output in both functions
10832 and arrays.
10833 (parse_args): Likewise.
10834 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10835 $in_func argument to parse_args.
10836 * math/libm-test.inc (struct test_f_f_data): New type.
10837 (IF_ROUND_INIT_): New macro.
10838 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10839 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10840 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10841 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10842 (ROUND_RESTORE_): Likewise.
10843 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10844 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10845 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10846 (ROUND_RESTORE_FE_UPWARD): Likewise.
10847 (RUN_TEST_LOOP_f_f): New macro.
10848 (acos_test_data): New variable.
10849 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10850 (acos_tonearest_test_data): New variable.
10851 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10852
5c637fe5
SP
108532013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10854
10855 * benchtests/bench-skeleton.c (startup): Fix coding style.
10856
ab2b9461
JM
108572013-05-10 Joseph Myers <joseph@codesourcery.com>
10858
10859 [BZ #6809]
10860 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10861 negative infinity argument.
10862 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10863 negative infinity argument.
10864 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10865 negative infinity argument.
10866 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10867 domain errors.
10868
4c0fe6fe
FW
108692013-05-10 Florian Weimer <fweimer@redhat.com>
10870
10871 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10872 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10873 * iconv/iconv_prog.c (main): Likewise.
10874 * locale/programs/charmap-dir.c (charmap_readdir)
10875 (fopen_uncompressed): Likewise.
10876 * locale/programs/locfile.c (siblings_uncached)
10877 (write_locale_data): Use lstat64 instead of lstat.
10878 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10879 stat.
10880
a3375d29
AJ
108812013-05-10 Andreas Jaeger <aj@suse.de>
10882
10883 [BZ #15395]
10884 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10885 localization.
10886 Include <locale.h>.
10887
36129722
CD
108882013-05-09 Carlos O'Donell <carlos@redhat.com>
10889
10890 * elf/dl-close.c (_dl_close_worker): Add comments.
10891
faa7f811
JM
108922013-05-09 Joseph Myers <joseph@codesourcery.com>
10893
ed41ffef
JM
10894 [BZ #15359]
10895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10896 high part of pi/2.
10897 (__ieee754_rem_pio2l): Update comments.
10898
d0213cd0
JM
10899 [BZ #15429]
10900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10901 high part of pi/2.
10902 (__ieee754_rem_pio2l): Update comments.
10903
0d3e777a
JM
10904 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10905 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10906
24f56066
JM
10907 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10908 M_PI_4l.
10909
faa7f811
JM
10910 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10911 (M_PI_34_LOG10El): Likewise.
10912 (M_PI2_LOG10El): Likewise.
10913 (M_PI4_LOG10El): Likewise.
10914 (M_PI_LOG10El): Likewise.
10915
e9a5e0fd
AZ
109162013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10917
10918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10919
d8cd06db
JM
109202013-05-08 Joseph Myers <joseph@codesourcery.com>
10921
a0d9f9d7
JM
10922 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10923 (MINUS_ZERO_INIT): Likewise.
10924 (PLUS_INFTY_INIT): Likewise.
10925 (MINUS_INFTY_INIT): Likewise.
10926 (QNAN_VALUE_INIT): Likewise.
10927 (MAX_VALUE_INIT): Likewise.
10928 (MIN_VALUE_INIT): Likewise.
10929 (MIN_SUBNORM_VALUE_INIT): Likewise.
10930 (plus_zero): Initialize with PLUS_ZERO_INIT.
10931 (minus_zero): Initialize with MINUS_ZERO_INIT.
10932 (plus_infty): Initialize with PLUS_INFTY_INIT.
10933 (minus_infty): Initialize with MINUS_INFTY_INIT.
10934 (qnan_value): Initialize with QNAN_VALUE_INIT.
10935 (max_value): Initialize with MAX_VALUE_INIT.
10936 (min_value): Initialize with MIN_VALUE_INIT.
10937 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10938
ae08db3b
JM
10939 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10940 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10941 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10942 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10943
f44bf14a
JM
10944 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10945 (RUN_TEST_2_f): Likewise.
10946 (RUN_TEST_ff_f): Likewise.
10947 (RUN_TEST_fi_f): Likewise.
10948 (RUN_TEST_fl_f): Likewise.
10949 (RUN_TEST_fff_f): Likewise.
10950 (RUN_TEST_c_f): Likewise.
10951 (RUN_TEST_f_f1): Likewise.
10952 (RUN_TEST_fF_f1): Likewise.
10953 (RUN_TEST_fI_f1): Likewise.
10954 (RUN_TEST_ffI_f1): Likewise.
10955 (RUN_TEST_c_c): Likewise.
10956 (RUN_TEST_cc_c): Likewise.
10957 (RUN_TEST_f_i): Likewise.
10958 (RUN_TEST_f_i_tg): Likewise.
10959 (RUN_TEST_ff_i_tg): Likewise.
10960 (RUN_TEST_f_b): Likewise.
10961 (RUN_TEST_f_b_tg): Likewise.
10962 (RUN_TEST_f_l): Likewise.
10963 (RUN_TEST_f_L): Likewise.
10964 (RUN_TEST_sincos): Likewise.
10965 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10966 whether to show exceptions. Do not include ");\n" in return
10967 value.
10968 (special_functions): Output call to RUN_TEST_sincos instead of
10969 check_float calls. Update calls to new_test.
10970 (parse_args): Output call to single RUN_TEST_* macro instead of
10971 check_* calls and other assignments. Update calls to new_test.
10972
d8cd06db
JM
10973 [BZ #2546]
10974 [BZ #2560]
10975 [BZ #5159]
10976 [BZ #15426]
10977 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10978 input to result for tgamma overflow.
10979 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10980 (gamma_coeff): New variable.
10981 (NCOEFF): New macro.
10982 (gamma_positive): New function.
10983 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10984 underflow here. Use gamma_positive instead of exp (lgamma) for
10985 other arguments.
10986 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10987 (gamma_coeff): New variable.
10988 (NCOEFF): New macro.
10989 (gammaf_positive): New function.
10990 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10991 underflow here. Use gamma_positive instead of exp (lgamma) for
10992 other arguments.
10993 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10994 (gamma_coeff): New variable.
10995 (NCOEFF): New macro.
10996 (gammal_positive): New function.
10997 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10998 underflow here. Use gamma_positive instead of exp (lgamma) for
10999 other arguments.
11000 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11001 (gamma_coeff): New variable.
11002 (NCOEFF): New macro.
11003 (gammal_positive): New function.
11004 (__ieee754_gammal_r): Handle positive infinity, overflow and
11005 underflow here. Handle NaN the same as positive infinity. Remove
11006 check x < 0xffffffff for negative integers. Use gamma_positive
11007 instead of exp (lgamma) for other arguments.
11008 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11009 (gamma_coeff): New variable.
11010 (NCOEFF): New macro.
11011 (gammal_positive): New function.
11012 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11013 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11017 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11018 * sysdeps/generic/math_private.h (__gamma_productf): New
11019 prototype.
11020 (__gamma_product): Likewise.
11021 (__gamma_productl): Likewise.
11022 * math/Makefile (libm-calls): Add gamma_product.
11023 * math/libm-test.inc (tgamma_test): Add more tests.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11026
bb7cf681
OB
110272013-05-08 Ondřej Bílka <neleai@seznam.cz>
11028
11029 * benchtests/bench-skeleton.c (main): Preheat CPU.
11030
ba853947
AJ
110312013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11032
11033 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11034
8347c74c
RM
110352013-05-07 Roland McGrath <roland@hack.frob.com>
11036
11037 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11038 and _dl_skip_args_internal.
11039
e8dd4791
CD
110402013-05-07 Carlos O'Donell <carlos@redhat.com>
11041
11042 * manual/message.texi (Message Translation): Talk about users.
11043 Message to key mapping impacts design.
11044
c7405830
RM
110452013-05-06 Roland McGrath <roland@hack.frob.com>
11046
a9173057
RM
11047 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11048
976e2f03
RM
11049 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11050
9723ffc5
RM
11051 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11052 * sysdeps/wordsize-64/glob64.c: ... here.
11053
962e6658
RM
11054 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11055 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11056 New macros.
11057
ee586a6d
RM
11058 * debug/getlogin_r_chk.c: Moved to ...
11059 * login/getlogin_r_chk.c: ... here.
11060 * debug/Makefile (routines): Move getlogin_r_chk to ...
11061 * login/Makefile (routines): ... here.
11062 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11063 * login/Versions (libc: GLIBC_2.4): ... here.
11064
355f9165
RM
11065 * io/poll.c (__poll): Renamed from poll.
11066 Add libc_hidden_def.
11067 (poll): Define as weak alias.
11068
bd9ffde6
RM
11069 * debug/ptsname_r_chk.c: Moved to ...
11070 * login/ptsname_r_chk.c: ... here.
11071 * debug/Makefile (routines): Move ptsname_r_chk to ...
11072 * login/Makefile (routines): ... here.
11073 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11074 * login/Versions (libc: GLIBC_2.4): ... here.
11075
8fb16a04
RM
11076 * posix/getlogin.c: Moved to ...
11077 * login/getlogin.c: ... here.
11078 * posix/getlogin_r.c: Moved to ...
11079 * login/getlogin_r.c: ... here.
11080 * posix/getlogin_r.c: Moved to ...
11081 * login/getlogin_r.c: ... here.
11082 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11083 * login/Makefile (routines): ... here.
11084 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11085 * login/Versions (libc: GLIBC_2.0): ... here.
11086
b99b892f
RM
11087 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11088 (setrlimit): Define as weak alias.
11089
c7405830
RM
11090 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11091 Call __ names for open, ftruncate, and close.
11092 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11093 (truncate): Define as weak alias.
11094
5bf96de5
JM
110952013-05-06 Joseph Myers <joseph@codesourcery.com>
11096
9ea3513c
JM
11097 * math/gen-libm-test.pl (parse_args): Initialize x before each
11098 test of frexp, modf and remquo.
11099
5bf96de5
JM
11100 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11101 test signgam value.
11102
16e616a7
AZ
111032013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11104
11105 [BZ #15418]
11106 [BZ #15419]
11107 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11108 internal tests.
11109 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11110
d5e82754
RM
111112013-05-06 Roland McGrath <roland@hack.frob.com>
11112
11113 * elf/dl-writev.h: New file.
11114 * elf/dl-misc.c: Include it.
11115 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11116 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11117
a7548d41
JM
111182013-05-04 Joseph Myers <joseph@codesourcery.com>
11119
b7dab1e4
JM
11120 * math/libm-test.inc (noXFails): Remove variable.
11121 (noXPasses): Likewise.
11122 (BUILD_COMPLEX_INT): Remove macro.
11123 (print_screen): Remove xfail argument.
11124 (print_screen_max_error): Likewise.
11125 (update_stats): Likewise.
11126 (print_max_error): Likewise. Update calls to other affected
11127 functions.
11128 (print_complex_max_error): Likewise.
11129 (test_single_exception): Update calls to print_screen.
11130 (test_single_errno): Likewise.
11131 (check_float_internal): Remove xfail argument. Update calls to
11132 other affected functions.
11133 (check_float): Likewise.
11134 (check_complex): Likewise.
11135 (check_int): Likewise.
11136 (check_long): Likewise.
11137 (check_bool): Likewise.
11138 (check_longlong): Likewise.
11139 (main): Don't print noXFails and noXPasses.
11140 * math/gen-libm-test.pl (top level): Don't mention expected
11141 failure handling in comment.
11142 (new_test): Don't handle expected failures.
11143 (parse_args): Don't mention expected failure handling in comment.
11144 (generate_testfile): Don't handle expected failures.
11145 (parse_ulps): Likewise.
11146 (print_ulps_file): Likewise.
11147 (get_failure): Remove function.
11148 (output_test): Don't handle expected failures.
11149 * make/README.libm-test: Don't mention expected failure handling.
11150
a7548d41
JM
11151 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11152 (minus_zero): Likewise.
11153 (plus_infty): Likewise.
11154 (minus_infty): Likewise.
11155 (qnan_value): Likewise.
11156 (max_value): Likewise.
11157 (min_value): Likewise.
11158 (min_subnorm_value): Likewise.
11159 (initialize): Do not initialize those variables dynamically.
11160
60bfd54c
RM
111612013-05-03 Roland McGrath <roland@hack.frob.com>
11162
cc0e6ed8
RM
11163 * io/open.c (__open_2): Moved to ...
11164 * io/open_2.c: ... this new file.
11165 * io/open64.c (__open64_2): Moved to ...
11166 * io/open64_2.c: ... this new file.
11167 * io/openat.c (__openat_2): Moved to ...
11168 * io/openat_2.c: ... this new file.
11169 * io/openat64.c (__openat64_2): Moved to ...
11170 * io/openat64_2.c: ... this new file.
11171 * io/Makefile (routines): Add them.
11172 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11173 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11174 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11175 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11176 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11177 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11178 (__openat64): Add hidden_ver.
11179 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11180 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11181
60bfd54c
RM
11182 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11183 Separately conditionalize setting of GLRO(dl_sysinfo) so
11184 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11185 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11186
83e7640f
AZ
111872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11188
11189 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11190 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11191 definition.
11192 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11193 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11194 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11195 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11196 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11197
d5dc2af3
JM
111982013-05-03 Joseph Myers <joseph@codesourcery.com>
11199
c31a5b1e
JM
11200 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11201 test signgam value.
11202
d5dc2af3
JM
11203 * math/libm-test.inc (hypot_test): Do not use
11204 IGNORE_ZERO_INF_SIGN.
11205
164fd39d
AJ
112062013-05-03 Andreas Jaeger <aj@suse.de>
11207
11208 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11209 Linux 3.9.
11210 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11211 (PF_MAX): Adjust for VSOCK change.
11212
8237f48c
AZ
112132013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11214
11215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11216
9df02941
CD
112172013-05-02 Carlos O'Donell <carlos@redhat.com>
11218
11219 [BZ #15264]
11220 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11221 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11222 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11223
d422395e
DM
112242013-05-02 David S. Miller <davem@davemloft.net>
11225
11226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11227
a07c5731
OB
112282013-05-01 Ondřej Bílka <neleai@seznam.cz>
11229
11230 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11231
1324e37f
RM
112322013-05-01 Roland McGrath <roland@hack.frob.com>
11233
11234 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11235
0695940b
RS
112362013-05-01 Richard Smith <richard@metafoo.co.uk>
11237
bb5f27ad 11238 [BZ #14952]
0695940b
RS
11239 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11240 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11241 Use __attribute__ ((__gnu_inline__)).
11242 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11243 Don't use __attribute__ ((__gnu_inline__)).
11244
10de07f5
JM
112452013-05-01 Joseph Myers <joseph@codesourcery.com>
11246
11247 [BZ #15423]
11248 * math/s_catan.c (__catan): Handle small real or imaginary part of
11249 input specially to avoid spurious underflow.
11250 * math/s_catanf.c (__catanf): Likewise.
11251 * math/s_catanh.c (__catanh): Likewise.
11252 * math/s_catanhf.c (__catanhf): Likewise.
11253 * math/s_catanhl.c (__catanhl): Likewise.
11254 * math/s_catanl.c (__catanl): Likewise.
11255 * math/libm-test.inc (catan_test): Add more tests.
11256 (catanh_test): Likewise.
11257 * sysdeps/i386/fpu/libm-test-ulps: Update.
11258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11259
cb4d5414
AZ
112602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11261
11262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11263
caf84319
JM
112642013-04-30 Joseph Myers <joseph@codesourcery.com>
11265
11266 [BZ #15416]
11267 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11268 accurately for denominator in atan2.
11269 * math/s_catanf.c (__catanf): Likewise.
11270 * math/s_catanh.c (__catanh): Likewise.
11271 * math/s_catanhf.c (__catanhf): Likewise.
11272 * math/s_catanhl.c (__catanhl): Likewise.
11273 * math/s_catanl.c (__catanl): Likewise.
11274 * math/libm-test.inc (catan_test): Add more tests.
11275 (catanh_test): Likewise.
11276 * sysdeps/i386/fpu/libm-test-ulps: Update.
11277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11278
d569c6ee
SP
112792013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11280
6dbe713d
SP
11281 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11282
f0ee064b
SP
11283 * benchtests/Makefile (bench): Remove slow benchmarks.
11284 * benchtests/atan-inputs: Add slow benchmark inputs.
11285 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11286 (BENCH_FUNC): Accept variant offset.
11287 (VARIANT): Define.
11288 * benchtests/bench-skeleton.c (main): Run benchmark for each
11289 variant.
11290 * benchtests/cos-inputs: Add slow benchmark inputs.
11291 * benchtests/exp-inputs: Likewise.
11292 * benchtests/pow-inputs: Likewise.
11293 * benchtests/sin-inputs: Likewise.
11294 * benchtests/slowatan-inputs: Remove.
11295 * benchtests/slowatan.c: Remove.
11296 * benchtests/slowcos-inputs: Remove.
11297 * benchtests/slowcos.c: Remove.
11298 * benchtests/slowexp-inputs: Remove.
11299 * benchtests/slowexp.c: Remove.
11300 * benchtests/slowpow-inputs: Remove.
11301 * benchtests/slowpow.c: Remove.
11302 * benchtests/slowsin-inputs: Remove.
11303 * benchtests/slowsin.c: Remove.
11304 * benchtests/slowtan-inputs: Remove.
11305 * benchtests/slowtan.c: Remove.
11306 * benchtests/tan-inputs: Add slow benchmark inputs.
11307 * scripts/bench.pl: Parse comments and directives.
11308
d569c6ee
SP
11309 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11310 in CPPFLAGS.
11311 ($(objpfx)bench-%.c): Remove *-ITER.
11312 * benchtests/bench-modf.c: Remove definition of ITER.
11313 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11314 (main): Loop for DURATION seconds instead of fixed number of
11315 iterations.
11316 * scripts/bench.pl: Don't expect iterations in parameters.
11317
a6a242fe
RM
113182013-04-29 Roland McGrath <roland@hack.frob.com>
11319
11320 * io/fchdir.c (__fchdir): Renamed from fchdir.
11321 (fchdir): Define as weak alias.
11322
f2da7793
JM
113232013-04-29 Joseph Myers <joseph@codesourcery.com>
11324
11325 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11326 (ERRNO_EDOM): Likewise.
11327 (ERRNO_ERANGE): Likewise.
11328 (noErrnoTests): New variable.
11329 (init_max_error): Set errno to 0.
11330 (test_single_errno): New function.
11331 (test_errno): Likewise.
11332 (check_float_internal): Call test_errno. Set errno to 0.
11333 (check_complex): Refer to errno tests in comment.
11334 (check_int): Call test_errno. Set errno to 0.
11335 (check_long): Likewise.
11336 (check_bool): Likewise.
11337 (check_longlong): Likewise.
11338 (cos_test): Use ERRNO_* flags for errno tests instead of
11339 check_int.
11340 (expm1_test): Likewise.
11341 (fmod_test): Likewise.
11342 (ilogb_test): Likewise.
11343 (lgamma_test): Likewise.
11344 (pow_test): Likewise.
11345 (remainder_test): Likewise.
11346 (sin_test): Likewise.
11347 (tan_test): Likewise.
11348 (yn_test): Likewise.
11349 (initialize): Set errno to 0.
11350 (main): Print number of errno tests.
11351 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11352
b1a36ceb
AJ
113532013-04-29 Andreas Jaeger <aj@suse.de>
11354
c3ed8088
AJ
11355 [BZ #15084]
11356 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11357 and RES_USEVC.
11358
f1a24198
AJ
11359 [BZ #15085]
11360 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11361 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11362 unimplemented.
11363
9ce3b2cb
AJ
11364 [BZ #15380]
11365 * stdlib/random.c (__initstate): Return NULL if
11366 __initstate fails.
11367
f1a24198 11368 [BZ #15086]
b1a36ceb
AJ
11369 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11370 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11371 RES_SNGLKUPREOP.
11372
7e7b6f36
AZ
113732013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11374
11375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11376
4d14f449
JM
113772013-04-29 Joseph Myers <joseph@codesourcery.com>
11378
11379 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11380 of individual tests.
11381 (casin_test): Likewise.
11382 (casinh_test): Likewise.
11383
5b4217d7
JM
113842013-04-27 Joseph Myers <joseph@codesourcery.com>
11385
11386 [BZ #15409]
11387 * math/s_catan.c (__catan): Handle arguments with large real or
11388 imaginary part separately without squaring.
11389 * math/s_catanf.c (__catanf): Likewise.
11390 * math/s_catanh.c (__catanh): Likewise.
11391 * math/s_catanhf.c (__catanhf): Likewise.
11392 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11393 and redefine.
11394 (__catanhl): Handle arguments with large real or imaginary part
11395 separately without squaring.
11396 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11397 and redefine.
11398 (__catanl): Handle arguments with large real or imaginary part
11399 separately without squaring.
11400 * math/libm-test.inc (catan_test): Add more tests.
11401 (catanh_test): Likewise.
11402 * sysdeps/i386/fpu/libm-test-ulps: Update.
11403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11404
4220c3ef
AJ
114052013-04-27 Andreas Jaeger <aj@suse.de>
11406
11407 [BZ #15007]
11408 * stdlib/stdlib.h: Update guards for qecvt.
11409 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11410 <stdlib.h>.
11411
4721b2d1
AM
114122013-04-27 Allan McRae <allan@archlinux.org>
11413
11414 * sysdeps/i386/fpu/libm-test-ulps: Update.
11415
f0302940
JM
114162013-04-26 Joseph Myers <joseph@codesourcery.com>
11417
9457fd95
JM
11418 [BZ #15406]
11419 * math/s_catan.c: Include <float.h>.
11420 (__catan): Ensure underflow exception occurs for underflowed
11421 result.
11422 * math/s_catanf.c: Include <float.h>.
11423 (__catanf): Ensure underflow exception occurs for underflowed
11424 result.
11425 * math/s_catanh.c: Include <float.h>.
11426 (__catanh): Ensure underflow exception occurs for underflowed
11427 result.
11428 * math/s_catanhf.c: Include <float.h>.
11429 (__catanhf): Ensure underflow exception occurs for underflowed
11430 result.
11431 * math/s_catanhl.c: Include <float.h>.
11432 (__catanhl): Ensure underflow exception occurs for underflowed
11433 result.
11434 * math/s_catanl.c: Include <float.h>.
11435 (__catanl): Ensure underflow exception occurs for underflowed
11436 result.
11437 * math/libm-test.inc (catan_test): Add more tests.
11438 (catanh_test): Likewise.
11439
f0302940
JM
11440 [BZ #15405]
11441 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11442 underflowed result.
11443 * math/s_ccoshf.c (__ccoshf): Likewise.
11444 * math/s_ccoshl.c (__ccoshl): Likewise.
11445 * math/s_csin.c (__csin): Likewise.
11446 * math/s_csinf.c (__csinf): Likewise.
11447 * math/s_csinh.c (__csinh): Likewise.
11448 * math/s_csinhf.c (__csinhf): Likewise.
11449 * math/s_csinhl.c (__csinhl): Likewise.
11450 * math/s_csinl.c (__csinl): Likewise.
11451 * math/libm-test.inc (ccos_test): Add more tests.
11452 (ccosh_test): Likewise.
11453 (csin_test): Likewise.
11454 (csinh_test): Likewise.
11455
aa630f59
AZ
114562013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457
11458 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11459 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11460 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11461 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11462 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11463 powerpc/power5+/fpu folders.
11464 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11465
11466
1b835983
MT
114672013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11468
11469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11470
73709b26
JM
114712013-04-25 Joseph Myers <joseph@codesourcery.com>
11472
11473 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11474 additions to variable.
11475 [$(config-machine) = x86_64] (modules-names): Likewise.
11476 ($(objpfx)tst-audit3): Remove dependency.
11477 ($(objpfx)tst-audit3.out): Likewise.
11478 ($(objpfx)tst-audit4): Likewise.
11479 ($(objpfx)tst-audit4.out): Likewise.
11480 ($(objpfx)tst-audit5): Likewise.
11481 ($(objpfx)tst-audit5.out): Likewise.
11482 ($(objpfx)tst-audit6): Likewise.
11483 ($(objpfx)tst-audit6.out): Likewise.
11484 ($(objpfx)tst-audit7): Likewise.
11485 ($(objpfx)tst-audit7.out): Likewise.
11486 (tst-audit3-ENV): Remove variable.
11487 (tst-audit4-ENV): Likewise.
11488 (tst-audit5-ENV): Likewise.
11489 (tst-audit6-ENV): Likewise.
11490 (tst-audit7-ENV): Likewise.
11491 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11492 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11493 addition to variable.
11494 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11495 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11496 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11499 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11500 tst-audit3, tst-audit4 and tst-audit5.
11501 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11502 tst-audit6 and tst-audit7.
11503 [$(subdir) = elf] (modules-names): Add audit modules for those
11504 tests.
11505 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11506 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11507 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11508 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11509 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11510 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11511 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11512 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11513 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11514 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11515 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11516 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11517 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11518 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11519 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11520 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11521 Likewise.
11522 [$(subdir) = elf && $(config-cflags-avx) = yes]
11523 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11524 [$(subdir) = elf && $(config-cflags-avx) = yes]
11525 (CFLAGS-tst-auditmod4a.c): Likewise.
11526 [$(subdir) = elf && $(config-cflags-avx) = yes]
11527 (CFLAGS-tst-auditmod4b.c): Likewise.
11528 [$(subdir) = elf && $(config-cflags-avx) = yes]
11529 (CFLAGS-tst-auditmod6b.c): Likewise.
11530 [$(subdir) = elf && $(config-cflags-avx) = yes]
11531 (CFLAGS-tst-auditmod6c.c): Likewise.
11532 [$(subdir) = elf && $(config-cflags-avx) = yes]
11533 (CFLAGS-tst-auditmod7b.c): Likewise.
11534 * elf/tst-audit3.c: Move to ...
11535 * sysdeps/x86_64/tst-audit3.c: ... here.
11536 * elf/tst-audit4.c: Move to ...
11537 * sysdeps/x86_64/tst-audit4.c: ... here.
11538 * elf/tst-audit5.c: Move to ...
11539 * sysdeps/x86_64/tst-audit5.c: ... here.
11540 * elf/tst-audit6.c: Move to ...
11541 * sysdeps/x86_64/tst-audit6.c: ... here.
11542 * elf/tst-audit7.c: Move to ...
11543 * sysdeps/x86_64/tst-audit7.c: ... here.
11544 * elf/tst-auditmod3a.c: Move to ...
11545 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11546 * elf/tst-auditmod3b.c: Move to ...
11547 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11548 * elf/tst-auditmod4a.c: Move to ...
11549 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11550 * elf/tst-auditmod4b.c: Move to ...
11551 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11552 * elf/tst-auditmod5a.c: Move to ...
11553 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11554 * elf/tst-auditmod5b.c: Move to ...
11555 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11556 * elf/tst-auditmod6a.c: Move to ...
11557 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11558 * elf/tst-auditmod6b.c: Move to ...
11559 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11560 * elf/tst-auditmod6c.c: Move to ...
11561 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11562 * elf/tst-auditmod7a.c: Move to ...
11563 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11564 * elf/tst-auditmod7b.c: Move to ...
11565 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11566
1ef74943
PP
115672013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11568
11569 [BZ #15366]
11570 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11571 define unconditionally.
11572 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11573 define unconditionally.
11574 (INT8_C, INT16_C, etc.): Likewise.
11575
93fd48c5
MR
115762013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11577
ae9552cf
MR
11578 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11579 __ehdr_start with hidden visibility.
11580
93fd48c5
MR
11581 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11582
418601aa
CD
115832013-04-24 Carlos O'Donell <carlos@redhat.com>
11584
11585 * math/libm-test.inc (cos_test): Use accurate hex constants.
11586 (sincost_test): Likewise.
11587
2f38fbfe
JM
115882013-04-24 Joseph Myers <joseph@codesourcery.com>
11589
5e221800
JM
11590 * math/libm-test.inc (catan_test): Add more tests.
11591 (catanh_test): Likewise.
11592
77f143fd
JM
11593 * math/s_catanf.c (__catanf): Use suffixed floating-point
11594 constants.
11595 * math/s_catanhf.c (__catanhf): Likewise.
11596 * math/s_catanhl.c (__catanhl): Likewise.
11597 * math/s_catanl.c (__catanl): Likewise.
11598
2f38fbfe
JM
11599 [BZ #15394]
11600 * math/s_catan.c (__catan): Calculate imaginary part of result
11601 with log1p not log unless computing log of number close to 0.
11602 * math/s_catanf.c (__catanf): Likewise.
11603 * math/s_catanl.c (__catanl): Likewise.
11604 * math/s_catanh.c (__catanh): Calculate real part of result with
11605 log1p not log unless computing log of number close to 0.
11606 * math/s_catanhf.c (__catanhf): Likewise.
11607 * math/s_catanhl.c (__catanhl): Likewise.
11608 * math/libm-test.inc (catan_test): Add more tests.
11609 (catanh_test): Likewise.
11610 * sysdeps/i386/fpu/libm-test-ulps: Update.
11611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11612
45d69176
SP
116132013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11614
11615 * benchtests/Makefile: Mention files in which fast and slow
11616 paths of math functions are implemented.
11617
87f51853
RM
116182013-04-23 Roland McGrath <roland@hack.frob.com>
11619
11620 * sysdeps/posix/timespec_get.c: New file.
11621
3c026539
AZ
116222013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11623
11624 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11625 POWER.
11626 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11627 for POWER.
11628 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11629 powerpc/power5/fpu folders.
11630 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11631 * benchtests/Makefile: Add modf testcase.
11632 * benchtests/bench-modf.c: New file: Benchmark test for mo
11633
ff491d14
SP
116342013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11635
11636 [BZ #14888]
11637 * time/Makefile (tests): Add tst-strptime-whitespace.
11638 * time/strptime_l.c (get_number): Use ISSPACE.
11639 (__strptime_internal): Likewise.
11640 * time/tst-strptime-whitespace.c: New test case.
11641
7ed3f4e8
AS
116422013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11643
11644 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11645 member.
11646 (_nss_files_init): Set it here.
11647
5c95f7b6
HC
116482013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11649
11650 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11651 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11652 unsigned.
11653
d34c9158
JBG
116542013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11655
11656 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11657
2169712d
SP
116582013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11659
11660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11661 size just once.
11662
29c5de99
DM
116632013-04-21 David S. Miller <davem@davemloft.net>
11664
11665 * po/ru.po: Update Russion translation from translation project.
11666
ccdad15d
AC
116672013-04-17 Adam Conrad <adconrad@0c3.net>
11668
11669 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11670 and setfsgid.
11671
0f122b8d
CD
116722013-04-17 Carlos O'Donell <carlos@redhat.com>
11673
5c5b07da 11674 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 11675 * configure: Regenerate.
5c5b07da 11676 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
11677 Add example to error message.
11678 * sysdeps/i386/configure: Regenerate.
11679
037714dd
SP
116802013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11681
11682 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11683 slowtan.
11684 * benchtests/cos-inputs: New file.
11685 * benchtests/slowcos-inputs: New file.
11686 * benchtests/slowcos.c: New file.
11687 * benchtests/slowtan-inputs: New file.
11688 * benchtests/slowtan.c: New file.
11689 * benchtests/tan-inputs: New file.
11690
e913141d
RM
116912013-04-16 Roland McGrath <roland@hack.frob.com>
11692
11693 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11694 considered kosher.
11695
a2964074
SP
116962013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11697
4856bcd2
SP
11698 * benchtests/Makefile: Include cppflags-iterator.mk to add
11699 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11700
a2964074
SP
11701 * Makefile.in (bench-clean): New target.
11702 * benchtests/Makefile (bench-clean): Likewise.
11703
9fbf9aca
DH
117042013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11705
11706 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11707
207d1e2a
TS
117082013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11709
11710 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11711
306dfba9
AS
117122013-04-15 Andreas Schwab <schwab@suse.de>
11713
11714 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11715 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11716 * nscd/pwdcache.c (cache_addpw): Likewise.
11717 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11718 more than recsize.
11719
206a6699
SP
117202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11721
11722 * benchtests/Makefile (bench): Write all output to
11723 bench-out.tmp together.
11724
0582f6b3
AS
117252013-04-15 Andreas Schwab <schwab@suse.de>
11726
11727 * nscd/nscd.c (main): Don't fork again after closing files.
11728
acb4325f
SP
117292013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11730
5cb26d0a
SP
11731 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11732
acb4325f
SP
11733 * benchtests/Rules (bench-deps): Collect dependencies into a
11734 single variable. Add Makefile to dependencies.
11735 ($(objpfx)bench-%.c): Depend on bench-deps.
11736
47792506
RM
117372013-04-12 Roland McGrath <roland@hack.frob.com>
11738 Xavier Roche <roche+kml2@exalead.com>
11739
11740 [BZ #15361]
11741 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11742 just that it's a file descriptor.
11743 * manual/llio.texi (Synchronizing AIO Operations): Update description
11744 for EBADF error from aio_fsync.
11745
8fc1bee5
SP
117462013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11747
11748 * Rules (bench): Move target definition...
11749 * benchtests/Makefile: ... here.
11750
aba5e333
CD
117512013-04-11 Carlos O'Donell <carlos@redhat.com>
11752
11753 * math/libm-test.inc (cos_test): Fix PI/2 test.
11754 (sincos_test): Likewise.
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11756 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11757
273cdee8
AS
117582013-04-11 Andreas Schwab <schwab@suse.de>
11759
6ecec3b6
AS
11760 [BZ #13988]
11761 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11762 accept exponent character only when digits were seen.
11763 * stdio-common/Makefile (tests): Add bug26.
11764 * stdio-common/bug26.c: New file.
11765
273cdee8
AS
11766 [BZ #14293]
11767 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11768 non-freeable.
11769
8da491f5
SP
117702013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11771
01dc6df9
SP
11772 * Makeconfig (rtld-prefix): Define built linker prefix.
11773 * Rules (run-bench): Use it.
11774 * math/Makefile (run-regen-ulps): Likewise.
11775
8da491f5
SP
11776 * Rules (bench): Remove eval.
11777
abe7f530
SP
117782013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11779 Roland McGrath <roland@hack.frob.com>
11780 Ondrej Bilka <neleai@seznam.cz>
11781
11782 [BZ #15346]
11783 * time/getdate.c: Include ctype.h and alloca.h.
11784 (__getdate_r): Trim leading and trailing spaces of input.
11785 * time/tst-getdate.c (tests): Add tests with leading and
11786 trailing spaces.
11787
61c23e62
RM
117882013-04-08 Roland McGrath <roland@hack.frob.com>
11789
11790 [BZ #14280]
11791 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11792 when computing value.
11793
7208a313
CD
117942013-04-06 Carlos O'Donell <carlos@redhat.com>
11795
085b2d41
CD
11796 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11797 Use testrun.sh to run libm tests.
11798
7208a313
CD
11799 [BZ #15309]
11800 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11801
872c0acd
MM
118022013-04-06 Marko Myllynen <myllynen@redhat.com>
11803
11804 [BZ #15264]
11805 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11806
26510bdd
CD
118072013-04-06 Carlos O'Donell <carlos@redhat.com>
11808
11809 * Makefile.in (regen-ulps): New target.
11810 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11811 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11812 [ifneq (no,$(PERL)] (regen-ulps): New target.
11813 [ifeq (no,$(PERL)] (regen-ulps): New target.
11814 * math/libm-test.inc (ulps_file_name): Define.
11815 (output_dir): New variable.
11816 (options): Add "output-dir" option.
11817 (parse_opt): Handle 'o' case.
11818 (main): If output_dir is non-NULL use it as a prefix
11819 otherwise use "".
11820 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11821
a01f19c8
CD
118222013-04-06 Carlos O'Donell <carlos@redhat.com>
11823
11824 [BZ #10060, #10062]
11825 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11826 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11827 fail configure if __sync_val_compare_and_swap is not inlined.
11828 * sysdeps/i386/configure: Regenerate.
11829 * configure.in: Build for i686 when configured for i386.
11830 * configure: Regenerate.
11831 * README: Remove i386 reference.
11832
b7a329a5
CD
118332013-04-06 Carlos O'Donell <carlos@redhat.com>
11834
11835 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11837
bf0f50df
TS
118382013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11839
ee091edf
TS
11840 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11841 (lmsnanval): New variables.
11842 (F): Add conversion tests.
11843 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11844 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11845
a8b792d6
TS
11846 * stdio-common/tstdiomisc.c (F): Properly collect individual
11847 tests' results.
11848
a1cbf437
TS
11849 [BZ #14686, #15336]
11850 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11851 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11852 Instead, use input NaN values or generate a qNaN by arithmetic
11853 operation. Also fix bugs to comply with the standard.
11854 * math/libm-test.inc (remainder_test): Add more tests.
11855
8b43a0c9
TS
11856 [BZ #15335, #15342]
11857 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11859 input NaN values or generate a qNaN by arithmetic operation.
11860
d91da4ce
TS
11861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11862 unreachable code.
11863
bf0f50df
TS
11864 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11865 definitions.
11866
05e166c8
JM
118672013-04-03 Joseph Myers <joseph@codesourcery.com>
11868
11869 [BZ #14478]
11870 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11871 underflowed result.
11872 * math/s_cexpf.c (__cexpf): Likewise.
11873 * math/s_cexpl.c (__cexpl): Likewise.
11874 * math/libm-test.inc (cexp_test): Add more tests.
11875
1cef1b19
AS
118762013-04-03 Andreas Schwab <schwab@suse.de>
11877
11878 [BZ #15330]
11879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11880 order arrays from heap if bigger than alloca cutoff.
11881
74d87055
TS
118822013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11883
11884 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11885 (SNAN_TESTS_double): Refer to GCC PR56831.
11886 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11887 GCC PR56828.
11888
d755bba4
SP
118892013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11890
90d5d5bb
SP
11891 * Rules (bench): Move bench.out after the run is complete.
11892
73e0cd5d
SP
11893 * Rules (bench): Echo currently running benchmark.
11894
64aabd4b
SP
11895 * benchtests/Makefile (bench): Add atan and slowatan.
11896 * benchtests/atan-inputs: New file.
11897 * benchtests/slowatan-inputs: New file.
11898 * benchtests/slowatan.c: New file.
11899
c871eccd
SP
11900 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11902 its value.
11903
d755bba4
SP
11904 [BZ #15305]
11905 * sysdeps/unix/sysv/linux/kernel-features.h
11906 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11907 __ASSUME_XFS_RESTRICTED_CHOWN.
11908 * sysdeps/unix/sysv/linux/pathconf.c
11909 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11910 Save and restore errno.
11911
52ce4860
JM
119122013-04-02 Joseph Myers <joseph@codesourcery.com>
11913
11914 [BZ #15327]
11915 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11916 arguments using __kernel_casinh.
11917 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11918 arguments using __kernel_casinhf.
11919 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11920 arguments using __kernel_casinhl.
11921 * math/libm-test.inc (cacosh_test): Add more tests.
11922 * sysdeps/i386/fpu/libm-test-ulps: Update.
11923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11924
81f311c2
SP
119252013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11926
e7906a47
SP
11927 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11929
92e3664b
SP
11930 * bench/Makefile (bench): Add sin and slowsin.
11931 * benchtests/sin-inputs: New file.
11932 * benchtests/slowsin-inputs: New file.
11933 * benchtests/slowsin.c: New file.
11934
81f311c2
SP
11935 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11936 (bench): Add slowexp and slowpow.
11937 (exp-ITER): Increase iterations.
11938 (pow-ITER): Likewise.
11939 * benchtests/exp-inputs: Change input.
11940 * benchtests/pow-inputs: Likewise.
11941 * benchtests/slowexp-inputs: New file.
11942 * benchtests/slowexp.c: New file.
11943 * benchtests/slowpow-inputs: New file.
11944 * benchtests/slowpow.c: New file.
11945
ab0f1aa9
AZ
119462013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947
11948 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11949 instructions.
11950 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11951 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11952 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11953 * benchtests/Makefile: Add rint benchtest.
11954 * benchtests/rint-inputs: Input for rint benchtest.
11955
57267616
TS
119562013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11957
11958 * Versions.def (libm): Add GLIBC_2.18.
11959 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11960 hidden libm prototypes.
11961 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11962 * math/Makefile (libm-calls): Add s_issignaling.
11963 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11964 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11965 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11966 declaration.
11967 * math/math.h [__USE_GNU] (issignaling): New macro.
11968 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11969 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11970 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11971 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11972 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11973 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11974 * manual/arith.texi (issignaling): New section.
11975 * manual/libm-err-tab.pl (@all_functions): Update comment.
11976 * math/gen-libm-test.pl (parse_args): Apply special handling for
11977 issignaling.
11978 * math/libm-test.inc (print_float, issignaling_test): New
11979 functions.
11980 (check_float_internal): Add issignaling checks.
11981 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11982 default definition.
11983 * sysdeps/powerpc/math-tests.h: New file.
11984 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11985 tests.
11986 * math/test-snan.c (TEST_FUNC): Likewise.
11987
6142896d
DM
119882013-03-30 David S. Miller <davem@davemloft.net>
11989
11990 * po/de.po: Update from translation team.
11991
ccc8cadf
JM
119922013-03-30 Joseph Myers <joseph@codesourcery.com>
11993
11994 [BZ #10357]
11995 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11996 imaginary part less than 1.0 and real part less than 0.5
11997 specially.
11998 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11999 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12000 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12001 (cacos_test): Add more tests.
12002 (casin_test): Likewise.
12003 (casinh_test): Likewise.
12004 * sysdeps/i386/fpu/libm-test-ulps: Update.
12005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12006
0f6a8d4b
SP
120072013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12008
0d1029de
SP
12009 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12010 ONE with its value.
12011
c2d94018
SP
12012 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12013 (__pow_mp): Replace ONE and MONE with their values.
12014 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12015 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12016 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12017 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12018 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12019 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12020
27ec37f1
SP
12021 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12022
a64d7e0e
SP
12023 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12024 (__pow_mp): Replace ZERO and MZERO with their values.
12025 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12026 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12027 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12029 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12030 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12031 (__sqr): Likewise.
12032
d26dd3eb
SP
12033 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12034
0f6a8d4b
SP
12035 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12036
e57b0c61
RM
120372013-03-28 Roland McGrath <roland@hack.frob.com>
12038
12039 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12040 Declare with __attribute__ ((weak)).
12041 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12042 Call __call_tls_dtors only if it's not NULL.
12043
356b3480
RM
120442013-03-28 Roland McGrath <roland@hack.frob.com>
12045
288f7d79
RM
12046 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12047 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12048 magic __ehdr_start linker symbol if it's defined.
12049 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12050 them up here if it was already done.
12051
dc0a0263
RM
12052 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12053 (_dl_aux_init): Use const in cast when setting it.
12054 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12055 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12056 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12057
3d3436ae
RM
12058 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12059 Declare them here.
12060 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12061 * csu/libc-tls.c: Nor here.
12062 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12063
356b3480
RM
12064 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12065 (__libc_message): Never call vsyslog.
12066
b0f1246a
AM
120672013-03-28 Alan Modra <amodra@gmail.com>
12068
12069 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12070 Define as empty.
12071 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12072 Likewise.
12073
fbbe2b9a
AZ
120742013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12075
12076 [BZ #15214]
12077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12078 underflow.
12079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12080
1728ab37
SP
120812013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12082
7a86be6e
SP
12083 [BZ #15304]
12084 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12085 Don't add gid passed as argument.
12086
1728ab37
SP
12087 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12088
3a7182a1
JM
120892013-03-27 Joseph Myers <joseph@codesourcery.com>
12090
12091 [BZ #15307]
12092 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12093 imaginary part between 1.0 and 1.5 and real part less than 0.5
12094 specially.
12095 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12096 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12097 * math/libm-test.inc (cacos_test): Add more tests.
12098 (casin_test): Likewise.
12099 (casinh_test): Likewise.
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12102
6f2e90e7
SP
121032013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12104
5739f705
SP
12105 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12106 constants.
12107 (norm): Likewise.
12108 (denorm): Likewise.
12109 (__dbl_mp): Likewise.
12110 (add_magnitudes): Likewise.
12111 (sub_magnitudes): Likewise.
12112 (__add): Likewise.
12113 (__sub): Likewise.
12114 (__mul): Likewise.
12115 (__sqr): Likewise.
12116 (__inv): Likewise.
12117 (__dvd): Likewise.
12118
e375e83d
SP
12119 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12120 commented code.
12121 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12122 (__dubcos): Likewise.
12123 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12124 (__ieee754_acos): Likewise.
12125 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12126 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12127 (__exp1): Likewise.
12128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12130 (log1): Likewise.
12131 (my_log2): Likewise.
12132 (checkint): Likewise.
12133 * sysdeps/ieee754/dbl-64/e_remainder.c
12134 (__ieee754_remainder): Likewise.
12135 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12136 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12137 (bsloww): Likewise.
12138 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12139
6f2e90e7
SP
12140 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12141 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12142 MANTISSA_STORE_T to store computations on mantissa. Use
12143 macros for rounding and division.
12144 (denorm): Likewise.
12145 (__dbl_mp): Likewise.
12146 (add_magnitudes): Likewise.
12147 (sub_magnitudes): Likewise.
12148 (__mul): Likewise.
12149 (__sqr): Likewise.
12150 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12151 powers of two in terms of TWOPOW macro.
12152 (mp_no): Make type of mantissa as MANTISSA_T.
12153 [!RADIXI]: Define RADIXI.
12154 [!TWO52]: Define TWO52.
12155 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12156
fce14d4e
AZ
121572013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12158
12159 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12160 llroundl symbol when building for PPC32.
12161
9ad027fb
MW
121622013-03-24 Mark H Weaver <mhw@netris.org>
12163
12164 * manual/arith.texi (Normalization Functions): Fix prototypes for
12165 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12166
e42a38dd
AZ
121672013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12168
12169 [BZ #13889]
12170 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12171 high value to check if expl overflow.
12172 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12173 to check for underflow and overflow.
12174 * math/libm-test.inc: Add exp test.
12175
2e0fb521
DL
121762013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12177
12178 [BZ #11120]
12179 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12180 with NOT_IN_libc.
12181
b5784d95
AZ
121822013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12183
12184 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12185 symbol.
12186
5aa4a1a1
TS
121872013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12188
bdef0be7
TS
12189 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12190 wrap blocks consisting of several statements.
12191
5aa4a1a1
TS
12192 * sysdeps/generic/math-tests.h: New file.
12193 * sysdeps/i386/fpu/math-tests.h: Likewise.
12194 * math/test-snan.c: Include it.
12195 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12196
98c48fe5
JM
121972013-03-21 Joseph Myers <joseph@codesourcery.com>
12198
12199 [BZ #15285]
12200 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12201 (__ieee754_j0l): Do not improve calculations using cos of twice
12202 input for inputs above LDBL_MAX / 2.0L.
12203 (__ieee754_y0l): Likewise.
12204 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12205 (__ieee754_j1l): Do not improve calculations using cos of twice
12206 input for inputs above LDBL_MAX / 2.0L.
12207 (__ieee754_y1l): Likewise.
12208 * math/libm-test.inc (j0_test): Add another test.
12209 (j1_test): Likewise.
12210 (y0_test): Likewise.
12211 (y1_test): Likewise.
12212 * sysdeps/i386/fpu/libm-test-ulps: Update.
12213
3775a8bc
SP
122142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12215
12216 * Rules ($(objpfx)bench-%.c): Include code from a C source
12217 file.
12218
0a1b2ae6
JM
122192013-03-21 Joseph Myers <joseph@codesourcery.com>
12220
12221 [BZ #15287]
12222 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12223 imaginary part 1.0 and real part less than 0.5 specially.
12224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12226 * math/libm-test.inc (cacos_test): Add more tests.
12227 (casin_test): Likewise.
12228 (casinh_test): Likewise.
12229 * sysdeps/i386/fpu/libm-test-ulps: Update.
12230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12231
b33d4ce4
SP
122322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12233
12234 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12235 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12236
bef0b507
JM
122372013-03-20 Joseph Myers <joseph@codesourcery.com>
12238
12239 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12240 * config.make.in (config-cflags-sse4): Remove variable.
12241 (config-cflags-avx): Likewise.
12242 (config-cflags-sse2avx): Likewise.
12243 (config-cflags-novzeroupper): Likewise.
12244 (config-asflags-i686): Likewise.
12245 (have-mfma4): Likewise.
12246 (have-as-vis3): Likewise.
12247 (MIG): Likewise.
12248 * configure.in (MIG): Do not AC_SUBST.
12249 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12250 (libc_cv_cc_sse4): Do not AC_SUBST.
12251 (libc_cv_cc_avx): Likewise.
12252 (libc_cv_cc_sse2avx): Likewise.
12253 (libc_cv_cc_novzeroupper): Likewise.
12254 (libc_cv_cc_fma4): Likewise.
12255 (libc_cv_as_i686): Likewise.
12256 (libc_cv_sparc_as_vis3): Likewise.
12257 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12258 LIBC_CONFIG_VAR.
12259 (config-asflags-i686): Likewise.
12260 (config-cflags-avx): Likewise.
12261 (config-cflags-sse2avx): Likewise.
12262 (have-mfma4): Likewise.
12263 (config-cflags-novzeroupper): Likewise.
12264 * sysdeps/mach/configure.in (MIG): Likewise.
12265 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12266 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12267 LIBC_CONFIG_VAR.
12268 (config-cflags-avx): Likewise.
12269 (config-cflags-sse2avx): Likewise.
12270 (have-mfma4): Likewise.
12271 (config-cflags-novzeroupper): Likewise.
12272 * configure: Regenerated.
12273 * sysdeps/i386/configure: Likewise.
12274 * sysdeps/mach/configure: Likewise.
12275 * sysdeps/sparc/configure: Likewise.
12276 * sysdeps/x86_64/configure: Likewise.
12277
912cc4b3
RM
122782013-03-20 Roland McGrath <roland@hack.frob.com>
12279
12280 [BZ #14812]
12281 * locale/programs/localedef.c (options): Put N_ translation marker
12282 on argument names, not just descriptions.
12283
04eed2b0
MS
122842013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12285
12286 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12287
a065ceff
OB
122882013-03-20 Ondřej Bílka <neleai@seznam.cz>
12289
9bb2a810 12290 [BZ #14176]
a065ceff
OB
12291 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12292
a600e5ce
RM
122932013-03-19 Roland McGrath <roland@hack.frob.com>
12294
12295 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12296 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12297 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12298 [!BEFORE_ABORT] (before_abort): New function.
12299 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12300 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12301 (writev_for_fatal): New function.
12302 (WRITEV_FOR_FATAL): New macro; call that.
12303 (backtrace_and_maps): New function.
12304 (BEFORE_ABORT): New macro; call that.
12305 (struct str_list): Type removed.
12306 (__libc_message, __libc_fatal): Functions removed.
12307 Include <sysdeps/posix/libc_fatal.c> instead.
12308
6b18bea6
JM
123092013-03-19 Joseph Myers <joseph@codesourcery.com>
12310
12311 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12312 constants.
12313 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12314 double constants.
12315
aaa8cb4b
AS
123162013-03-19 Andreas Schwab <schwab@suse.de>
12317
44673770
AS
12318 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12319 * sysdeps/gnu/configure: Regenerate.
12320
aaa8cb4b
AS
12321 * configure.in: Substitute libc_cv_rtlddir.
12322 * configure: Regenerate.
12323 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12324 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12325 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12326 * elf/Makefile (install-others, CFLAGS-interp.c)
12327 (ldso_install, common-ldd-rewrite): Likewise.
12328 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12329 $(inst_slibdir)/$(rtld-installed-name).
12330 * scripts/rellns-sh: Add -p option.
12331 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12332 for source.
12333
d3cfc668
SP
123342013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12335
12336 * manual/nptl.texi: Renamed to ...
12337 * manual/threads.texi: ... this.
12338 * manual/Makefile (chapters): Update.
12339
0e2b9cdd
RM
123402013-03-18 Roland McGrath <roland@hack.frob.com>
12341
12342 [BZ #14812]
12343 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12344 on argument names, not just descriptions.
0e2b9cdd
RM
12345 * malloc/memusagestat.c (options): Likewise.
12346 * nss/getent.c (options): Likewise.
63270c24
RM
12347
123482013-03-18 Benno Schulenberg <bensberg@justemail.net>
12349
12350 [BZ #14812]
12351 * iconv/iconv_prog.c (options): Put N_ translation marker
12352 on argument names, not just descriptions.
12353 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12354
b2e1393c
OB
123552013-03-18 Ondrej Bilka <neleai@seznam.cz>
12356
12357 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12358 implementation which is faster on all x86_64 architectures.
12359 Tested on AMD, Intel Nehalem, SNB, IVB.
12360 * sysdeps/x86_64/strnlen.S: Likewise.
12361
12362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12363 Remove all multiarch strlen and strnlen versions.
12364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12365 Remove strlen and strnlen related parts.
12366
12367 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12368 Inline strlen part.
12369 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12370
12371 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12372 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12374 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12375 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12376 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12377
ec4ff04d
CD
123782013-03-17 Carlos O'Donell <carlos@redhat.com>
12379
12380 * manual/memory.texi (Malloc Tunable Parameters):
12381 Sort parameters alphabetically. Add comments for missing entries.
12382
cd18e90a
DM
123832013-03-17 David S. Miller <davem@davemloft.net>
12384
12385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12386
2a185d32
JM
123872013-03-16 Joseph Myers <joseph@codesourcery.com>
12388
d2f9799e
JM
12389 [BZ #15283]
12390 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12391 for arguments at most half maximum finite value.
12392 * math/libm-test.inc (j0_test): Add more tests.
12393 (j1_test): Likewise.
12394 (y0_test): Likewise.
12395 (y1_test): Likewise.
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12398
2a185d32
JM
12399 [BZ #14155]
12400 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12401 1 / x and functions P and Q for arguments above 0x1p256L.
12402 (__ieee754_y0l): Likewise.
12403 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12404 (__ieee754_y1l): Likewise.
12405 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12406 (j1_test): Likewise.
12407 (y0_test): Likewise.
12408 (y1_test): Likewise.
12409
6cbec759
TS
124102013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12411
12412 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12413 variable.
12414
bc16e260
RM
124152013-03-15 Roland McGrath <roland@hack.frob.com>
12416
aefc9b8c
RM
12417 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12418 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12419 zero since it's initialized to EXEC_PAGESIZE.
12420
bc16e260
RM
12421 * sysdeps/unix/sysv/linux/ldsodefs.h
12422 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12423 * sysdeps/generic/ldsodefs.h: ... here.
12424
a57da955
TS
124252013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12426
af00a34d
TS
12427 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12428
495ded2c
TS
12429 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12430 math/test-snan.c.
12431 * math/test-snan.c: Renamed from
12432 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12433 * math/Makefile (tests): Add test-snan.
12434 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12435 test-powerpc-snan.
12436
777b0332
TS
12437 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12438 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12439 functions.
12440 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12441 __builtin_nan family of functions.
12442 * math/libm-test.inc (initialize): Initialize qnan_value with
12443 __builtin_nan family of functions.
12444 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12445 Remove variables.
12446 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12447 Remove functions.
12448 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12449 storage class. Initialize qNaN_var and sNaN_var with
12450 __builtin_nan and __builtin_nans families of functions,
12451 respectively.
12452
64d063b8
TS
12453 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12454 (sqrt_test): Remove duplicate test with qNaN input.
12455 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12456 (round_test, signbit_test, significand_test): Note missing +/-Inf
12457 as well as qNaN tests.
12458
67e971f1
TS
12459 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12460 qNaN_var. Fix a few strings, too.
12461 * math/libm-test.inc (nan_value): Rename to qnan_value.
12462 * math/gen-libm-test.pl (%beautify): Adjust to that.
12463 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12464 * math/test-misc.c (main): Likewise.
12465 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12466 to __qnan_bytes, and __qnan_union, respectively.
12467 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12468 Likewise.
12469 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12470 and lqnanval, respectively.
12471 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12472 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12473 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12474 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12475
64487e12
TS
12476 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12477 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12478 doubles.
12479
e015e27b
TS
12480 * math/test-misc.c (main): Fix copy'n'pastos.
12481 * misc/tst-efgcvt.c (special): Likewise.
12482
a57da955
TS
12483 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12484 Remove declarations.
12485
1e380345
SP
124862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12487
12488 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12489 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12490 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12491 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12492
ef26eece
AZ
124932013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12494
12495 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12496 macro to return vdso values correctly in IFUNC implementations.
12497 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12498 Optimization by using IFUNC.
12499
8cfdb7e0
SP
125002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12501 Richard Henderson <rth@redhat.com>
12502 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12503
12504 * Makefile.in (bench): New target.
12505 * NEWS: Mention the benchmark framework.
12506 * Rules (bench): Likewise.
12507 (binaries-bench): Generate binaries for functions to
12508 benchmark.
12509 * benchtests/Makefile: New makefile for benchmark tests.
12510 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12511 programs.
12512 * benchtests/exp-inputs: New input file for EXP function.
12513 * benchtests/pow-inputs: New input file for POW function.
12514 * scripts/bench.pl: New script to generate source files for
12515 benchmark programs.
12516
bcda9880
SP
125172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12518
d22ca8cd
SP
12519 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12520 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12521 computations on mantissa. Use macros for rounding and
12522 division.
12523 (denorm): Likewise.
12524 (__dbl_mp): Likewise.
12525 (add_magnitudes): Likewise.
12526 (sub_magnitudes): Likewise.
12527 (__mul): Likewise.
12528 (__sqr): Likewise.
12529 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12530 powers of two in terms of TWOPOW macro.
12531 (mp_no): Make type of mantissa as MANTISSA_T.
12532 [!RADIXI]: Define RADIXI.
12533 [!TWO52]: Define TWO52.
12534 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12535
bcda9880
SP
12536 * manual/nptl.texi (cindex): Modify threads to pthreads.
12537
06d5adfb
JM
125382013-03-15 Joseph Myers <joseph@codesourcery.com>
12539
12540 * sysdeps/x86_64/preconfigure: Regenerated.
12541
41c7328e
JM
125422013-03-14 Joseph Myers <joseph@codesourcery.com>
12543
12544 [BZ #14155]
12545 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12546 0x1p28 and above.
12547 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12548 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12549 0x1p28 and above.
12550 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12551 * math/libm-test.inc (j0_test): Do not allow one spurious
12552 underflow exception.
12553 (y1_test): Likewise.
12554
e25cfa60
SP
125552013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12556
0409959c
SP
12557 * manual/Makefile (chapters): Add nptl.
12558 * manual/debug.texi (Debugging Support): Add link to Threads
12559 chapter.
12560 * manual/nptl.texi: New file.
12561
e25cfa60
SP
12562 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12563
58a1335e
PB
125642013-03-14 Petr Baudis <pasky@ucw.cz>
12565
12566 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12567 for non-NULL pointer before the memory validity test. Pointed
12568 out by Holger Brunck <holger.brunck@keymile.com>.
12569
9dc7c64f
AS
125702013-03-13 Andreas Schwab <schwab@suse.de>
12571
12572 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12573 instead of .os.
12574
54206aa6
JM
125752013-03-13 Joseph Myers <joseph@codesourcery.com>
12576
12577 * timezone/zic.c: Update from tzcode 2013b.
12578
e98cdb38
CD
125792013-03-12 Carlos O'Donell <carlos@redhat.com>
12580
12581 * manual/install.texi (Configuring and compiling):
12582 Mention i686 and i586.
12583 * INSTALL: Regenerate.
12584
9967e003
RM
125852013-03-12 Roland McGrath <roland@hack.frob.com>
12586
12587 * sysdeps/init_array/elf-init.c: New file.
12588 * csu/elf-init.c
12589 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12590 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12591
12592 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12593 __gmon_start__ as global, but as static with a .preinit_array pointer.
12594 * sysdeps/init_array/gmon-start.c: New file. Use that.
12595 * sysdeps/init_array/crti.S: New file, empty except for comments.
12596 * sysdeps/init_array/crtn.S: Likewise.
12597
e6b5a293 125982013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
12599
12600 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12601 definining bcopy.
80f844c9
OB
12602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12603 Remove Prefer_SSE_for_memop.
12604 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12605 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12606 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
12607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12608 memset-x86-64.
80f844c9 12609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 12610 Remove bzero, memset ifunc support.
80f844c9
OB
12611 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12612 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12613 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12614 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12615
fb6b0fcb
AS
126162013-03-11 Andreas Schwab <schwab@suse.de>
12617
12618 [BZ #15234]
12619 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12620 by SHLIB_COMPAT.
12621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12622 (GLIBC_2.16): Remove pthread_atfork.
12623
3e6bd4b1
PP
126242013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12625
12626 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12627 (ptestcases.h): Likewise.
12628
222d7f00
RM
126292013-03-08 Roland McGrath <roland@hack.frob.com>
12630
12631 * Makeconfig ($(common-objpfx)config.status): Depend on
12632 sysdeps/*/preconfigure{,.in} too.
12633
1ba4f030
JM
126342013-03-08 Joseph Myers <joseph@codesourcery.com>
12635
a222d91a
JM
12636 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12637 (__free_hook): Use void * instead of __malloc_ptr_t.
12638 (__malloc_hook): Likewise.
12639 (__realloc_hook): Likewise.
12640 (__memalign_hook): Likewise.
12641 (__after_morecore_hook): Likewise.
12642 * malloc/arena.c (save_malloc_hook): Likewise.
12643 (save_free_hook): Likewise.
12644 * malloc/hooks.c (malloc_hook_ini): Likewise.
12645 (realloc_hook_ini): Likewise.
12646 (memalign_hook_ini): Likewise.
12647 * malloc/malloc.c (malloc_hook_ini): Likewise.
12648 (realloc_hook_ini): Likewise.
12649 (memalign_hook_ini): Likewise.
12650 (__free_hook): Likewise.
12651 (__malloc_hook): Likewise.
12652 (__realloc_hook): Likewise.
12653 (__memalign_hook): Likewise.
12654 (__libc_malloc): Likewise.
12655 (__libc_free): Likewise.
12656 (__libc_realloc): Likewise.
12657 (__libc_memalign): Likewise.
12658 (__libc_valloc): Likewise.
12659 (__libc_pvalloc): Likewise.
12660 (__libc_calloc): Likewise.
12661 (__posix_memalign): Likewise.
12662 * malloc/morecore.c (__sbrk): Likewise.
12663 (__default_morecore): Likewise.
12664
5cc45e10
JM
12665 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12666
dd54b864
JM
12667 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12668 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12669 __malloc_ptrdiff_t.
12670
1ba4f030
JM
12671 * malloc/malloc.h (__malloc_size_t): Remove macro.
12672 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12673 __malloc_size_t.
12674 (old_memalign_hook): Likewise.
12675 (old_realloc_hook): Likewise.
12676 (struct hdr): Likewise.
12677 (flood): Likewise.
12678 (mallochook): Likewise.
12679 (memalignhook): Likewise.
12680 (reallochook): Likewise.
12681 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12682 (tr_old_realloc_hook): Likewise.
12683 (tr_old_memalign_hook): Likewise.
12684 (tr_mallochook): Likewise.
12685 (tr_reallochook): Likewise.
12686 (tr_memalignhook): Likewise.
12687
edf66e57
AZ
126882013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12689
12690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12691 default_ldbl_pack and using as default implementation.
12692 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12693 implementation.
12694 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12695 redundant definition.
12696 (ldbl_insert_mantissa): Likewise.
12697 (ldbl_canonicalize): Likewise.
12698 (ldbl_nearbyint): Likewise.
12699 (ldbl_pack): Rename to ldbl_pack_ppc.
12700 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12701 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12702 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12703
6d9145d8
SP
127042013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12705
12706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12707 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12708 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12709 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12711 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12712 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12713 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12714
4dd4e157
AJ
127152013-03-07 Andreas Jaeger <aj@suse.de>
12716
12717 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12718 bits/mman-linux.h.
12719
adbb8027
SP
127202013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12721
ce544b5b
SP
12722 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12723 Include mpa.h and declare __MPEXP.
12724 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12725 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12726 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12727 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12728 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12729 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12730 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12731
4cc149fd
SP
12732 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12733 (__slowpow): Use long double EXPL and LOGL functions to
12734 compute POW.
12735 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12736 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12738 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12739 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12740 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12741
e6ebd4a7
SP
12742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12743 intermediate variable to calculate exponent.
12744 (__sqr): Likewise.
12745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12746 Likewise.
12747 (__sqr): Likewise.
12748
82a9811d
SP
12749 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12750 [!NO__SQR]: Define __sqr.
12751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12752 and NO__SQR. Remove all code except __mul and __sqr. Include
12753 sysdeps/ieee754/dbl-64/mpa.c.
12754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12755
adbb8027
SP
12756 [BZ #12723]
12757 * posix/Makefile (tests): Add tst-pathconf.
12758 * posix/tst-pathconf.c: New test case.
12759 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12760 _PC_PIPE_BUF.
12761 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12762
39120df9
PF
127632013-03-06 Patsy Franklin <pfrankli@redhat.com>
12764
12765 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12766
67525cb8
AJ
127672013-03-06 Andreas Jaeger <aj@suse.de>
12768
664a9ce4
AJ
12769 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12770 definition via __MAP_ANONYMOUS.
12771
8e39047d
AJ
12772 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12773 it's not part of Linux headers.
12774
67525cb8
AJ
12775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12776 (MAP_HUGE_MASK): Define.
12777
12778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12779 Define.
12780 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12781 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12782 Define.
12783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12784 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12785 Define.
12786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12787 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12788 Define.
12789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12790
12791 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12792 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12793 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12794 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12795 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12796 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12797
12798 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12799 Handle f2fs.
12800
12801 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12802 Handle f2fs and efivarfs.
12803
12804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12805 f2fs.
12806
12807 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12808 (EFIVARFS_MAGIC): Add.
12809 (F2FS_LINK_MAX): Add.
12810
e1b42695
PP
128112013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12812
12813 * stdio-common/vfprintf.c: Replace __builtin_expect with
12814 __glibc_unlikely.
12815
2d67d91a
JM
128162013-03-06 Joseph Myers <joseph@codesourcery.com>
12817
12818 [BZ #13550]
12819 * sysdeps/generic/bp-sym.h: Remove file.
12820 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12821 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12822 <bp-sym.h> and <bp-asm.h>.
12823 (__longjmp): Don't use BP_SYM.
12824 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12825 and <bp-asm.h>.
12826 (memcpy): Don't use BP_SYM.
12827 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12828 <bp-sym.h> and <bp-asm.h>.
12829 (memcpy): Don't use BP_SYM.
12830 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12831 <bp-asm.h>.
12832 (memcpy): Don't use BP_SYM.
12833 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12834 <bp-asm.h>.
12835 (memset): Don't use BP_SYM.
12836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12838 (__bzero): Don't use BP_SYM.
12839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12841 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12842 <bp-sym.h> and <bp-asm.h>.
12843 (memcmp): Don't use BP_SYM. Remove comment about bounded
12844 pointers.
12845 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12846 <bp-sym.h> and <bp-asm.h>.
12847 (memcpy): Don't use BP_SYM.
12848 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12849 <bp-sym.h> and <bp-asm.h>.
12850 (memset): Don't use BP_SYM.
12851 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12852 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12853 (__bzero): Don't use BP_SYM.
12854 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12855 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12856 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12857 <bp-sym.h> and <bp-asm.h>.
12858 (strncmp): Don't use BP_SYM. Remove comment about bounded
12859 pointers.
12860 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12861 <bp-sym.h> and <bp-asm.h>.
12862 (memcpy): Don't use BP_SYM.
12863 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12864 <bp-sym.h> and <bp-asm.h>.
12865 (memset): Don't use BP_SYM.
12866 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12867 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12868 (__bzero): Don't use BP_SYM.
12869 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12870 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12871 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12872 <bp-sym.h> and <bp-asm.h>.
12873 (__memchr): Don't use BP_SYM.
12874 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12875 <bp-sym.h> and <bp-asm.h>.
12876 (memcmp): Don't use BP_SYM. Remove comment about bounded
12877 pointers.
12878 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12879 <bp-sym.h> and <bp-asm.h>.
12880 (memcpy): Don't use BP_SYM.
12881 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12882 <bp-sym.h> and <bp-asm.h>.
12883 (__mempcpy): Don't use BP_SYM.
12884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12885 <bp-sym.h> and <bp-asm.h>.
12886 (__memrchr): Don't use BP_SYM.
12887 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12888 <bp-sym.h> and <bp-asm.h>.
12889 (memset): Don't use BP_SYM.
12890 (__bzero): Likewise.
12891 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12892 <bp-sym.h> and <bp-asm.h>.
12893 (__rawmemchr): Don't use BP_SYM.
12894 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12895 <bp-sym.h> and <bp-asm.h>.
12896 (__STRCMP): Don't use BP_SYM.
12897 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12898 <bp-sym.h> and <bp-asm.h>.
12899 (strchr): Don't use BP_SYM.
12900 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12901 <bp-sym.h> and <bp-asm.h>.
12902 (__strchrnul): Don't use BP_SYM.
12903 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12904 <bp-sym.h> and <bp-asm.h>.
12905 (strlen): Don't use BP_SYM.
12906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12907 <bp-sym.h> and <bp-asm.h>.
12908 (strncmp): Don't use BP_SYM. Remove comment about bounded
12909 pointers.
12910 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12911 <bp-sym.h> and <bp-asm.h>.
12912 (__strnlen): Don't use BP_SYM.
12913 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12914 <bp-sym.h> and <bp-asm.h>.
12915 (__GI__setjmp): Don't use BP_SYM.
12916 (_setjmp): Likewise.
12917 (__sigsetjmp): Likewise.
12918 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12919 (L(start_addresses)): Don't use BP_SYM.
12920 (_start): Likewise.
12921 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12922 <bp-asm.h>.
12923 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12924 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12925 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12926 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12927 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12928 <bp-asm.h>.
12929 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12930 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12931 about bounded pointers.
12932 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12933 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12934 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12935 <bp-asm.h>.
12936 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12937 about bounded pointers. Remove GKM FIXME comments.
12938 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12939 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12940 <bp-asm.h>.
12941 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12942 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12943 Remove GKM FIXME comments.
12944 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12945 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12946 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12947 <bp-asm.h>.
12948 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12949 about bounded pointers. Remove GKM FIXME comment.
12950 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12951 and <bp-asm.h>.
12952 (strncmp): Don't use BP_SYM. Remove comment about bounded
12953 pointers.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12955 <bp-sym.h> and <bp-asm.h>.
12956 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12958 <bp-sym.h> and <bp-asm.h>.
12959 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12960 comment.
12961
cdcf361f
PP
129622013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12963
12964 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12965 call free(NULL).
12966
3c4a2b15
DM
129672013-03-05 David S. Miller <davem@davemloft.net>
12968
12969 * po/es.po: Update from translation team.
12970
cdcf361f 129712013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
12972
12973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12974 <bits/mman-linux.h>.
12975 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12976 is fine.
12977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12978 <bits/mman-linux.h> to end of file.
12979 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12980 is fine.
12981 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12982 <bits/mman-linux.h> to end of file.
12983 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12984 is fine.
12985 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12986 <bits/mman-linux.h> to end of file.
12987
12988 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12989 (MCL_CURRENT, MCL_FUTURE): Define here.
12990
5f67c04f
AK
129912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12992
8a4473cc 12993 [BZ #15232]
5f67c04f
AK
12994 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12995 attribute_hidden.
12996 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12997
c3e94a95
AK
129982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12999
13000 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13001 fourth parameter needed for rt_sigprocmask syscall.
13002 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13003 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13004 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13005 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13006 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13007 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13008
cfb6382a
JM
130092013-03-04 Joseph Myers <joseph@codesourcery.com>
13010
13011 [BZ #13550]
13012 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13013 comment about bounded pointers.
13014 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13015 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13016
539d8e01
AJ
130172013-03-04 Andreas Jaeger <aj@suse.de>
13018
13019 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13020 common definitions.
13021
13022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13023 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13024 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13025 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13026 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13028
2e167a70 130292013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13030
13031 [BZ #15055]
13032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13033 __ieee754_sqrl instead of __sqrl.
13034
68508633
JM
130352013-03-01 Joseph Myers <joseph@codesourcery.com>
13036
13037 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13038 * sysdeps/powerpc/fpu_control.h: ... here.
13039 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13040 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13041 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13042 * sysdeps/powerpc/bits/mathinline.h: ... here.
13043
7775448e
RM
130442013-03-01 Roland McGrath <roland@hack.frob.com>
13045
13046 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13047 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13048 to just [NEED_DL_SYSINFO_DSO].
13049 * elf/dl-support.c: Likewise.
13050 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13051 * elf/rtld.c (dl_main): Likewise.
13052 * elf/setup-vdso.h (setup_vdso): Likewise.
13053 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13054 * sysdeps/unix/sysv/linux/dl-sysdep.c
13055 (_dl_discover_osversion): Likewise.
13056
4e9b5995
CD
130572013-03-01 Carlos O'Donell <carlos@redhat.com>
13058
13059 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13060 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13061
e23872c8
SP
130622013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13063
e5c74c63
SP
13064 * NEWS: Mention libm performance improvements and non-x86 PI
13065 futex support.
13066
e23872c8
SP
13067 * csu/libc-start.c (__pthread_initialize_minimal): Change
13068 function arguments.
13069 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13070
b5510883
JM
130712013-02-28 Joseph Myers <joseph@codesourcery.com>
13072
13073 [BZ #13550]
13074 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13075 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13076 <bp-sym.h> and <bp-asm.h>.
13077 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13078 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13079 and <bp-asm.h>.
13080 (memcpy): Don't use BP_SYM.
13081 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13082 <bp-asm.h>.
13083 (__mpn_add_n): Don't use BP_SYM.
13084 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13085 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13086 and <bp-asm.h>.
13087 (__mpn_addmul_1): Don't use BP_SYM.
13088 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13089 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13090 <bp-sym.h>.
13091 (_setjmp): Don't use BP_SYM.
13092 (__novmx_setjmp): Likewise.
13093 (__GI__setjmp): Likewise.
13094 (__vmx_setjmp): Likewise.
13095 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13096 <bp-sym.h>.
13097 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13098 (__bzero): Don't use BP_SYM.
13099 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13100 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13101 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13102 <bp-sym.h> and <bp-asm.h>.
13103 (memcpy): Don't use BP_SYM.
13104 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13105 <bp-sym.h> and <bp-asm.h>.
13106 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13107 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13108 <bp-sym.h> and <bp-asm.h>.
13109 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13110 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13111 <bp-asm.h>.
13112 (__mpn_lshift): Don't use BP_SYM.
13113 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13114 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13115 <bp-asm.h>.
13116 (memset): Don't use BP_SYM.
13117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13119 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13120 <bp-asm.h>.
13121 (__mpn_mul_1): Don't use BP_SYM.
13122 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13123 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13124 <bp-sym.h> and <bp-asm.h>.
13125 (memcmp): Don't use BP_SYM.
13126 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13127 <bp-sym.h> and <bp-asm.h>.
13128 (memcpy): Don't use BP_SYM.
13129 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13130 <bp-sym.h> and <bp-asm.h>.
13131 (memset): Don't use BP_SYM.
13132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13133 <bp-sym.h> and <bp-asm.h>.
13134 (strncmp): Don't use BP_SYM.
13135 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13136 <bp-sym.h> and <bp-asm.h>.
13137 (memcpy): Don't use BP_SYM.
13138 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13139 <bp-sym.h> and <bp-asm.h>.
13140 (memset): Don't use BP_SYM.
13141 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13142 <bp-sym.h> and <bp-asm.h>.
13143 (__memchr): Don't use BP_SYM.
13144 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13145 <bp-sym.h> and <bp-asm.h>.
13146 (memcmp): Don't use BP_SYM.
13147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13148 <bp-sym.h> and <bp-asm.h>.
13149 (memcpy): Don't use BP_SYM.
13150 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13151 <bp-sym.h> and <bp-asm.h>.
13152 (__mempcpy): Don't use BP_SYM.
13153 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13154 <bp-sym.h> and <bp-asm.h>.
13155 (__memrchr): Don't use BP_SYM.
13156 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13157 <bp-sym.h> and <bp-asm.h>.
13158 (memset): Don't use BP_SYM.
13159 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13160 <bp-sym.h> and <bp-asm.h>.
13161 (__rawmemchr): Don't use BP_SYM.
13162 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13163 <bp-sym.h> and <bp-asm.h>.
13164 (__STRCMP): Don't use BP_SYM.
13165 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13166 <bp-sym.h> and <bp-asm.h>.
13167 (strchr): Don't use BP_SYM.
13168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13169 <bp-sym.h> and <bp-asm.h>.
13170 (__strchrnul): Don't use BP_SYM.
13171 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13172 <bp-sym.h> and <bp-asm.h>.
13173 (strlen): Don't use BP_SYM.
13174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13175 <bp-sym.h> and <bp-asm.h>.
13176 (strncmp): Don't use BP_SYM.
13177 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13178 <bp-sym.h> and <bp-asm.h>.
13179 (__strnlen): Don't use BP_SYM.
13180 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13181 <bp-asm.h>.
13182 (__mpn_rshift): Don't use BP_SYM.
13183 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13184 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13185 <bp-sym.h> and <bp-asm.h>.
13186 (__sigsetjmp): Don't use BP_SYM.
13187 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13188 (L(start_addresses)): Don't use BP_SYM.
13189 (_start): Likewise.
13190 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13191 <bp-asm.h>.
13192 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13193 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13194 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13195 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13196 <bp-asm.h>.
13197 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13198 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13199 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13200 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13201 <bp-asm.h>.
13202 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13203 comments.
13204 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13205 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13206 <bp-asm.h>.
13207 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13208 FIXME comments.
13209 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13210 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13211 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13212 <bp-asm.h>.
13213 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13214 comment.
13215 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13216 and <bp-asm.h>.
13217 (strncmp): Don't use BP_SYM,
13218 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13219 <bp-asm.h>.
13220 (__mpn_sub_n): Don't use BP_SYM.
13221 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13222 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13223 and <bp-asm.h>.
13224 (__mpn_submul_1): Don't use BP_SYM.
13225 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13227 <bp-sym.h> and <bp-asm.h>.
13228 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13230 <bp-sym.h> and <bp-asm.h>.
13231 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13232 comment.
13233
8d19fe64
SP
132342013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13235
13236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13237 Use ZK to minimize writes to Z.
13238 (sub_magnitudes): Simplify code a bit.
13239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13240 Use ZK to minimize writes to Z.
13241 (sub_magnitudes): Simplify code a bit.
13242
85bd816a
RM
132432013-02-27 Roland McGrath <roland@hack.frob.com>
13244
13245 * csu/gmon-start.c: Add special exception to license text.
13246
b5977bf2
RH
132472013-02-27 Richard Henderson <rth@redhat.com>
13248
13249 * scripts/config.guess: Update from config.git.
13250 * scripts/config.sub: Likewise.
13251
11d6e2f2
SP
132522013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13253
09c14ed2
SP
13254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13255
a688864e
SP
13256 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13257
6295157a
SP
13258 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13259
b8de2202
SP
13260 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13261
11d6e2f2
SP
13262 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13263
7e80ddb8
RM
132642013-02-26 Roland McGrath <roland@hack.frob.com>
13265
13266 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13267 [$(build-shared = yes].
7e80ddb8 13268
7da6d9ed
SP
132692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13270
45f05884
SP
13271 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13272 (__mul): Reduce iterations for calculating mantissa.
13273
2236d359
SP
13274 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13275 MPTWO.
13276 (__mpranred): Likewise.
13277
7da6d9ed
SP
13278 [BZ #15160]
13279 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13280 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13281
b7688c42
PE
132822013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13283
13284 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13285 Define __attribute__.
13286
53a5c423
SP
132872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13288
13289 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13290 unused.
13291 * posix/regex_internal.h (__attribute): Remove.
13292 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13293 (re_string_context_at): Likewise.
13294 (bitset_not): Use __attribute__ and mark function as possibly
13295 unused.
13296 (bitset_merge): Likewise.
13297 (bitset_mask): Likewise.
13298 (re_string_char_size_at): Likewise.
13299 (re_string_wchar_at): Likewise.
13300 (re_string_elem_size_at): Likewise.
13301
60f5a8b5
SP
133022013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13303
2a983a2e
SP
13304 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13305 code.
13306 (cc32): Likewise.
13307
e69804d1
SP
13308 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13309 (__acr): Likewise.
13310 (__cpy): Likewise.
13311 (norm): Likewise.
13312 (denorm): Likewise.
13313 (__dbl_mp): Likewise.
13314 (add_magnitudes): Likewise.
13315 (sub_magnitudes): Likewise.
13316 (__mul): Likewise.
13317 (__inv): Likewise.
13318
2f22a1e8
SP
13319 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13320 style.
13321
8930ddc7
SP
13322 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13323 style.
13324
dc60cb11
SP
13325 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13326 code.
13327
60f5a8b5
SP
13328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13329 up changes with default code.
13330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13331 Likewise.
13332
b4d1fd33
AM
133332013-02-24 Allan McRae <allan@archlinux.org>
13334
faf6f8bc
AM
13335 * manual/socket.texi (The Internet Namespace): Order menu items
13336 to match that in the file.
13337
b4d1fd33
AM
13338 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13339 node listing of the info page menu.
13340
2366713d
JM
133412013-02-21 Joseph Myers <joseph@codesourcery.com>
13342
13343 [BZ #13550]
13344 * sysdeps/i386/bp-asm.h: Remove file.
13345 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13346 (PARMS): Do not use macros from bp-asm.h.
13347 (S1): Likewise.
13348 (S2): Likewise.
13349 (SIZE): Likewise.
13350 (__mpn_add_n): Do not use BP_SYM
13351 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13352 "bp-asm.h".
13353 (PARMS): Do not use macros from bp-asm.h.
13354 (S1): Likewise.
13355 (SIZE): Likewise.
13356 (__mpn_addmul_1): Do not use BP_SYM
13357 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13358 "bp-asm.h".
13359 (PARMS): Do not use macros from bp-asm.h.
13360 (SIGMSK): Likewise.
13361 (_setjmp): Likewise. Do not use BP_SYM.
13362 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13363 "bp-asm.h".
13364 (PARMS): Do not use macros from bp-asm.h.
13365 (SIGMSK): Likewise.
13366 (setjmp): Likewise. Do not use BP_SYM.
13367 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13368 "bp-asm.h".
13369 (PARMS): Do not use macros from bp-asm.h.
13370 (__frexp): Do not use BP_SYM.
13371 (frexp): Likewise.
13372 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13373 "bp-asm.h".
13374 (PARMS): Do not use macros from bp-asm.h.
13375 (__frexpf): Do not use BP_SYM.
13376 (frexpf): Likewise.
13377 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13378 "bp-asm.h".
13379 (PARMS): Do not use macros from bp-asm.h.
13380 (__frexpl): Do not use BP_SYM.
13381 (frexpl): Likewise.
13382 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13383 "bp-asm.h".
13384 (PARMS): Do not use macros from bp-asm.h.
13385 (__remquo): Do not use BP_SYM.
13386 (remquo): Likewise.
13387 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13388 "bp-asm.h".
13389 (PARMS): Do not use macros from bp-asm.h.
13390 (__remquof): Do not use BP_SYM.
13391 (remquof): Likewise.
13392 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13393 "bp-asm.h".
13394 (PARMS): Do not use macros from bp-asm.h.
13395 (__remquol): Do not use BP_SYM.
13396 (remquol): Likewise.
13397 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13398 "bp-asm.h".
13399 (PARMS): Do not use macros from bp-asm.h.
13400 (DEST): Likewise.
13401 (SRC): Likewise.
13402 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13403 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13404 "bp-asm.h".
13405 (PARMS): Do not use macros from bp-asm.h.
13406 (strlen): Do not use BP_SYM.
13407 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13408 "bp-asm.h".
13409 (PARMS): Do not use macros from bp-asm.h.
13410 (S1): Likewise.
13411 (S2): Likewise.
13412 (SIZE): Likewise.
13413 (__mpn_add_n): Do not use BP_SYM.
13414 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13415 "bp-asm.h".
13416 (PARMS): Do not use macros from bp-asm.h.
13417 (S1): Likewise.
13418 (SIZE): Likewise.
13419 (__mpn_addmul_1): Do not use BP_SYM.
13420 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13421 weak_alias.
13422 (bzero): Likewise.
13423 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13424 "bp-asm.h".
13425 (PARMS): Do not use macros from bp-asm.h.
13426 (S): Likewise.
13427 (SIZE): Likewise.
13428 (__mpn_lshift): Do not use BP_SYM.
13429 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13430 "bp-asm.h".
13431 (PARMS): Do not use macros from bp-asm.h.
13432 (DEST): Likewise.
13433 (SRC): Likewise.
13434 (LEN): Likewise.
13435 (memcpy): Likewise. Do not use BP_SYM.
13436 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13437 libc_hidden_def and weak_alias.
13438 (mempcpy): Do not use BP_SYM in weak_alias.
13439 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13440 "bp-asm.h".
13441 (PARMS): Do not use macros from bp-asm.h.
13442 (DEST): Likewise.
13443 (LEN): Likewise.
13444 [!BZERO_P] (CHR): Likewise.
13445 (memset): Likewise. Do not use BP_SYM.
13446 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13447 "bp-asm.h".
13448 (PARMS): Do not use macros from bp-asm.h.
13449 (S1): Likewise.
13450 (SIZE): Likewise.
13451 (__mpn_mul_1): Do not use BP_SYM.
13452 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13453 "bp-asm.h".
13454 (PARMS): Do not use macros from bp-asm.h.
13455 (S): Likewise.
13456 (SIZE): Likewise.
13457 (__mpn_rshift): Do not use BP_SYM.
13458 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13459 "bp-asm.h".
13460 (PARMS): Do not use macros from bp-asm.h.
13461 (STR): Likewise.
13462 (CHR): Likewise.
13463 (strchr): Likewise. Do not use BP_SYM.
13464 (index): Do not use BP_SYM in weak_alias.
13465 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13466 "bp-asm.h".
13467 (PARMS): Do not use macros from bp-asm.h.
13468 (DEST): Likewise.
13469 (SRC): Likewise.
13470 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13471 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13472 "bp-asm.h".
13473 (PARMS): Do not use macros from bp-asm.h.
13474 (strlen): Do not use BP_SYM.
13475 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13476 "bp-asm.h".
13477 (PARMS): Do not use macros from bp-asm.h.
13478 (S1): Likewise.
13479 (S2): Likewise.
13480 (SIZE): Likewise.
13481 (__mpn_sub_n): Do not use BP_SYM.
13482 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13483 "bp-asm.h".
13484 (PARMS): Do not use macros from bp-asm.h.
13485 (S1): Likewise.
13486 (SIZE): Likewise.
13487 (__mpn_submul_1): Do not use BP_SYM.
13488 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13489 "bp-asm.h".
13490 (PARMS): Do not use macros from bp-asm.h.
13491 (S1): Likewise.
13492 (S2): Likewise.
13493 (SIZE): Likewise.
13494 (__mpn_add_n): Do not use BP_SYM.
13495 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13496 weak_alias.
13497 (bzero): Likewise.
13498 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13499 "bp-asm.h".
13500 (PARMS): Do not use macros from bp-asm.h.
13501 (BLK2): Likewise.
13502 (LEN): Likewise.
13503 (memcmp): Do not use BP_SYM.
13504 (bcmp): Do not use BP_SYM in weak_alias.
13505 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13506 "bp-asm.h".
13507 (PARMS): Do not use macros from bp-asm.h.
13508 (DEST): Likewise.
13509 (SRC): Likewise.
13510 (LEN): Likewise.
13511 (memcpy): Likewise. Do not use BP_SYM.
13512 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13513 "bp-asm.h".
13514 (PARMS): Do not use macros from bp-asm.h.
13515 (DEST): Likewise.
13516 (SRC): Likewise.
13517 (LEN): Likewise.
13518 (memmove): Likewise. Do not use BP_SYM.
13519 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13520 "bp-asm.h".
13521 (PARMS): Do not use macros from bp-asm.h.
13522 (DEST): Likewise.
13523 (SRC): Likewise.
13524 (LEN): Likewise.
13525 (__mempcpy): Likewise. Do not use BP_SYM.
13526 (mempcpy): Do not use BP_SYM in weak_alias.
13527 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13528 "bp-asm.h".
13529 (PARMS): Do not use macros from bp-asm.h.
13530 (DEST): Likewise.
13531 (LEN): Likewise.
13532 [!BZERO_P] (CHR): Likewise.
13533 (memset): Likewise. Do not use BP_SYM.
13534 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13535 "bp-asm.h".
13536 (PARMS): Do not use macros from bp-asm.h.
13537 (STR2): Likewise.
13538 (strcmp): Do not use BP_SYM.
13539 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13540 "bp-asm.h".
13541 (PARMS): Do not use macros from bp-asm.h.
13542 (STR): Likewise.
13543 (DELIM): Likewise.
13544 [USE_AS_STRTOK_R] (SAVE): Likewise.
13545 (FUNCTION): Likewise. Do not use BP_SYM.
13546 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13547 aliases.
13548 (strtok_r): Likewise.
13549 (__GI___strtok_r): Likewise.
13550 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13551 (PARMS): Do not use macros from bp-asm.h.
13552 (S): Likewise.
13553 (SIZE): Likewise.
13554 (__mpn_lshift): Do not use BP_SYM.
13555 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13556 (PARMS): Do not use macros from bp-asm.h.
13557 (STR): Likewise.
13558 (CHR): Likewise.
13559 (__memchr): Do not use BP_SYM.
13560 (memchr): Do not use BP_SYM in weak_alias.
13561 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13562 (PARMS): Do not use macros from bp-asm.h.
13563 (BLK2): Likewise.
13564 (LEN): Likewise.
13565 (memcmp): Do not use BP_SYM.
13566 (bcmp): Do not use BP_SYM in weak_alias.
13567 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13568 (PARMS): Do not use macros from bp-asm.h.
13569 (S1): Likewise.
13570 (SIZE): Likewise.
13571 (__mpn_mul_1): Do not use BP_SYM.
13572 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13573 "bp-asm.h".
13574 (PARMS): Do not use macros from bp-asm.h.
13575 (STR): Likewise.
13576 (CHR): Likewise.
13577 (__rawmemchr): Do not use BP_SYM.
13578 (rawmemchr): Do not use BP_SYM in weak_alias.
13579 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13580 (PARMS): Do not use macros from bp-asm.h.
13581 (S): Likewise.
13582 (SIZE): Likewise.
13583 (__mpn_rshift): Do not use BP_SYM.
13584 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13585 (PARMS): Do not use macros from bp-asm.h.
13586 (SIGMSK): Likewise.
13587 (__sigsetjmp): Likewise. Do not use BP_SYM.
13588 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13589 (_start): Do not use BP_SYM.
13590 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13591 (PARMS): Do not use macros from bp-asm.h.
13592 (DEST): Likewise.
13593 (SRC): Likewise.
13594 (__stpcpy): Likewise. Do not use BP_SYM.
13595 (stpcpy): Do not use BP_SYM in weak_alias.
13596 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13597 "bp-asm.h".
13598 (PARMS): Do not use macros from bp-asm.h.
13599 (DEST): Likewise.
13600 (SRC): Likewise.
13601 (LEN): Likewise.
13602 (__stpncpy): Likewise. Do not use BP_SYM.
13603 (stpncpy): Do not use BP_SYM in weak_alias.
13604 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13605 (PARMS): Do not use macros from bp-asm.h.
13606 (STR): Likewise.
13607 (CHR): Likewise.
13608 (strchr): Likewise. Do not use BP_SYM.
13609 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13610 "bp-asm.h".
13611 (PARMS): Do not use macros from bp-asm.h.
13612 (STR): Likewise.
13613 (CHR): Likewise.
13614 (__strchrnul): Likewise. Do not use BP_SYM.
13615 (strchrnul): Do not use BP_SYM in weak_alias.
13616 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13617 "bp-asm.h".
13618 (PARMS): Do not use macros from bp-asm.h.
13619 (STOP): Likewise.
13620 (strcspn): Do not use BP_SYM.
13621 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13622 "bp-asm.h".
13623 (PARMS): Do not use macros from bp-asm.h.
13624 (STR): Likewise.
13625 (STOP): Likewise.
13626 (strpbrk): Likewise. Do not use BP_SYM.
13627 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13628 "bp-asm.h".
13629 (PARMS): Do not use macros from bp-asm.h.
13630 (STR): Likewise.
13631 (CHR): Likewise.
13632 (strrchr): Likewise. Do not use BP_SYM.
13633 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13634 (PARMS): Do not use macros from bp-asm.h.
13635 (SKIP): Likewise.
13636 (strspn): Do not use BP_SYM.
13637 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13638 (PARMS): Do not use macros from bp-asm.h.
13639 (STR): Likewise.
13640 (DELIM): Likewise.
13641 (SAVE): Likewise.
13642 (FUNCTION): Likewise. Do not use BP_SYM.
13643 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13644 aliases.
13645 (strtok_r): Likewise.
13646 (__GI___strtok_r): Likewise.
13647 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13648 (PARMS): Do not use macros from bp-asm.h.
13649 (S1): Likewise.
13650 (S2): Likewise.
13651 (SIZE): Likewise.
13652 (__mpn_sub_n): Do not use BP_SYM.
13653 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13654 "bp-asm.h".
13655 (PARMS): Do not use macros from bp-asm.h.
13656 (S1): Likewise.
13657 (SIZE): Likewise.
13658 (__mpn_submul_1): Do not use BP_SYM.
13659 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13660 <bp-sym.h>.
13661 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13662 and <bp-asm.h>.
13663 (PARMS): Do not use macros from bp-asm.h.
13664 (FLAGS): Likewise.
13665 (PTID): Likewise.
13666 (TLS): Likewise.
13667 (CTID): Likewise.
13668 (__clone): Do not use BP_SYM.
13669 (clone): Do not use BP_SYM in weak_alias.
13670 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13671 and <bp-asm.h>.
13672 (PARMS): Do not use macros from bp-asm.h.
13673 (LEN): Likewise.
13674 (__mmap64): Do not use BP_SYM.
13675 (mmap64): Do not use BP_SYM in weak_alias.
13676 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13677 <bp-sym.h> and <bp-asm.h>.
13678 (PARMS): Do not use macros from bp-asm.h.
13679 (__posix_fadvise64_l64): Do not use BP_SYM.
13680 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13681 (PARMS): Do not use macros from bp-asm.h.
13682 (NSOPS): Likewise.
13683 (semtimedop): Do not use BP_SYM.
13684 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13685 and <bp-asm.h>.
13686
582a3cff
AM
136872013-02-21 Allan McRae <allan@archlinux.org>
13688
13689 * manual/message.texi (Charset conversion in gettext):
13690 Move @end statement to beginning of line.
13691
bab8a695
SP
136922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13693
80945231
SP
13694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13695 static.
13696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13697 Likewise.
13698
bab8a695
SP
13699 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13700 (denorm): Likewise.
13701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13703
e21d7aa7
AK
137042013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13705
13706 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13707 tail-call to the resolved function if pltexit isn't needed.
13708
4c7a4263
SP
137092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13710
13711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13712 or Y being zero as being unlikely.
13713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13714 Likewise.
13715
41f49342
CD
137162013-02-20 Carlos O'Donell <carlos@redhat.com>
13717
13718 * manual/nss.texi (System Databases and Name Service Switch):
13719 Remove frobnicate @pxref.
13720
50022a93
TS
137212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13722
13723 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13724 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13725
08cbd996
PM
137262013-02-20 Petr Machata <pmachata@redhat.com>
13727
13728 * elf/elf.h (R_ARM_TARGET1): New macro.
13729 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13730 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13731 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13732 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13733 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13734 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13735 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13736 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13737 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13738 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13739 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13740 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13741 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13742 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13743 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13744 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13745 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13746 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13747 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13748 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13749 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13750 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13751 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13752 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13753 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13754 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13755 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13756 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13757 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13758 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13759 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13760 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13761 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13762 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13763 (R_ARM_THM_GOT_BREL12): Likewise.
13764 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13765 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13766 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13767 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13768 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13769 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13770 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13771 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13772 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13773
c7b275d6
TS
137742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13775
13776 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13777 __attribute_used__ to __attribute__ ((unused)).
13778
20cd7fb3
SP
137792013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13780
13781 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13782 powerpc mpa.c.
13783 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13784 comment formatting.
13785 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13786
92945b52
JM
137872013-02-19 Joseph Myers <joseph@codesourcery.com>
13788
13789 [BZ #13550]
13790 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13791 Remove macro.
13792 (ENTER): Remove both macro definitions.
13793 (LEAVE): Likewise.
13794 (CHECK_BOUNDS_LOW): Likewise.
13795 (CHECK_BOUNDS_HIGH): Likewise.
13796 (CHECK_BOUNDS_BOTH): Likewise.
13797 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13798 (RETURN_BOUNDED_POINTER): Likewise.
13799 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13800 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13801 (POP_ERRNO_LOCATION_RETURN): Likewise.
13802 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13803 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13804 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13805 macros.
13806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13807 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13808 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13809 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13810 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13811 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13812 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13813 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13814 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13815 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13816 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13817 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13818 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13819 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13820 removed macros.
13821 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13822 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13823 macros.
13824 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13825 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13826 * sysdeps/i386/i586/memset.S (memset): Likewise.
13827 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13828 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13829 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13830 macros.
13831 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13832 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13833 Change uses of L(2) to L(out).
13834 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13835 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13836 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13837 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13838 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13839 removed macros.
13840 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13841 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13842 macros.
13843 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13844 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13845 (RETURN): Do not use macro LEAVE.
13846 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13847 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13848 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13849 * sysdeps/i386/i686/memset.S (memset): Likewise.
13850 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13851 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13852 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13853 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13854 Likewise.
13855 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13856 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13857 L(1_2) and L(1_3) into L(1).
13858 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13859 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13860 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13861 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13862 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13863 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13864 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13865 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13866 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13867 macros.
13868 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13869 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13870 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13871 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13872 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13873 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13874 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13875 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13876 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13877 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13878 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13879 * sysdeps/i386/strspn.S (strspn): Likewise.
13880 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13881 conditional code.
13882 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13883 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13884 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13885 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13886 L(1_3) into L(1_1).
13887 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13888 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13889 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13890 macros.
13891 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13892
2389741a
JJ
138932013-02-19 Jakub Jelinek <jakub@redhat.com>
13894
13895 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13896 macro.
13897
2016b3cd
SP
138982013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13899
e4f22324
SP
13900 * math/atest-exp.c (exp_mpn): Remove ROUND.
13901 * math/atest-exp2.c (exp_mpn): Likewise.
13902 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13903
2016b3cd
SP
13904 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13905 * stdlib/tst-tls-atexit-lib.c: Likewise.
13906 * stdlib/tst-tls-atexit.c: Likewise.
13907
4be9b544
MF
139082013-02-18 Mike Frysinger <vapier@gentoo.org>
13909
13910 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13911 and __attribute_alloc_size__.
13912
2f62b9ee
MF
139132013-02-18 Mike Frysinger <vapier@gentoo.org>
13914
13915 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13916 __attribute_alloc_size__.
13917 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13918 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13919
6ff444c4
MF
139202013-02-18 Mike Frysinger <vapier@gentoo.org>
13921
13922 * include/programs/xmalloc.h: New file.
13923 * catgets/gencat.c: Include it.
13924 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13925 * elf/pldd.c: Likewise.
13926 * iconv/iconv_charmap.c: Likewise.
13927 * iconv/iconvconfig.c: Likewise.
13928 * iconv/strtab.c: Likewise.
13929 * locale/programs/locale.c: Likewise.
13930 * locale/programs/localedef.h: Likewise.
13931 * locale/programs/simple-hash.c: Likewise.
13932 * nscd/nscd.h: Likewise.
13933 * nss/makedb.c: Likewise.
13934 * sysdeps/generic/ldconfig.h: Likewise.
13935
be179c8a
SP
139362013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13937
ba384f6e
SP
13938 * Versions.def: Add GLIBC_2.18.
13939 * include/link.h (struct link_map): New member l_tls_dtor_count.
13940 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13941 (__call_tls_dtors): Likewise.
13942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13943 __cxa_thread_atexit_impl.
13944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13945 Likewise.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13947 Likewise.
13948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13949 Likewise.
13950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13951 Likewise.
13952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13954 Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13956 Likewise.
13957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13959 Likewise.
13960 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13961 (tests): Add test case tst-tls-atexit.
13962 (modules-names): Add shared library for tst-tls-atexit.
85891aca 13963 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
13964 (GLIBC_PRIVATE): Add __call_tls_dtors.
13965 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13966 for libstdc++.
13967 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13968 * stdlib/tst-tls-atexit.c: New test case.
13969 * stdlib/tst-tls-atexit-lib.c: New test case.
13970
ffaa74cf 13971 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 13972
be179c8a
SP
13973 * elf/Versions (ld): Add _dl_find_dso_for_object.
13974 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13975 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13976 (dl_open_worker): Use _dl_find_dso_for_object.
13977 * elf/dl-sym.c (do_sym): Likewise.
13978 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13979
f78b5caa
AK
139802013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13981
13982 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13983 Syntactic changes only.
13984 (_dl_runtime_profile): Do a tail-call to the resolved function.
13985
29691210
JM
139862013-02-17 Joseph Myers <joseph@codesourcery.com>
13987
13988 [BZ #13550]
13989 * sysdeps/x86_64/bp-asm.h: Remove file.
13990 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13991 <bp-sym.h> and <bp-asm.h>.
13992 (__clone): Do not use BP_SYM.
13993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13994 <bp-sym.h> and <bp-asm.h>.
13995 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13996 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13997 "bp-asm.h".
13998 (_setjmp): Do not use BP_SYM.
13999 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14000 "bp-asm.h".
14001 (setjmp): Do not use BP_SYM.
14002 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14003 libc_hidden_def.
14004 (mempcpy): Do not use BP_SYM in weak_alias.
14005 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14006 "bp-asm.h".
14007 (strchr): Do not use BP_SYM.
14008 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14009 "bp-asm.h".
14010 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14011 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14012 (_start): Do not use BP_SYM.
14013 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14014 "bp-asm.h".
14015 (strcat): Do not use BP_SYM.
14016 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14017 "bp-asm.h".
14018 (STRCMP): Do not use BP_SYM.
14019 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14020 "bp-asm.h".
14021 (STRCPY): Do not use BP_SYM.
14022 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14023 "bp-asm.h".
14024 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14025 "bp-asm.h".
14026 (FUNCTION): Do not use BP_SYM.
14027 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14028 weak_alias.
14029 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14030
f238fd19
AJ
140312013-02-17 Andreas Jaeger <aj@suse.de>
14032
14033 * time/Versions: Sort entries.
14034 * string/Versions: Likewise.
14035 * resolv/Versions: Likewise.
14036 * posix/Versions: Likewise.
14037 * iconv/Versions: Likewise.
14038 * elf/Versions: Likewise.
14039 * wcsmbs/Versions: Likewise.
14040
bd07f23c 140412013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14042
22af19f9
SP
14043 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14044 loop termination condition.
14045
4709fe76
SP
14046 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14047 variable to calculate EZ.
14048 (__sqr): Likewise.
2d0e0f29
SP
14049
14050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14051 the lower precision input.
14052
daaa7713
JM
140532013-02-15 Joseph Myers <joseph@codesourcery.com>
14054
14055 [BZ #13550]
14056 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14057 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14058 (run-via-rtld-prefix): Do not handle %-bp tests.
14059 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14060 (all-object-suffixes): Remove .ob.
14061 (bppfx): Remove variable.
14062 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14063 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14064 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14065 [$(build-bounded) = yes] (libtype.ob): Likewise.
14066 * Makerules (elide-routines.ob): Remove variable.
14067 (do-tests-clean): Do not handle *-bp.out.
14068 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14069 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14070 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14071 (tests): Do not include $(tests-bp.out).
14072 (xtests): Do not include $(xtests-bp.out).
14073 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14074 [$(build-bounded) = yes] ($(addprefix
14075 $(objpfx),$(binaries-bounded))): Remove rule.
14076 ($(objpfx)%-bp.out): Remove rule.
14077 * config.make.in (build-bounded): Remove variable.
14078 * crypt/Makefile [$(build-bounded) = yes]
14079 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14080 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14081 append to variable.
14082 [$(build-bounded) = yes] (install-lib): Likewise.
14083 [$(build-bounded) = yes] (generated): Likewise.
14084 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14085 Remove rule.
14086 * intl/Makefile [$(build-bounded) = yes]
14087 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14088 * math/Makefile [$(build-bounded) = yes]
14089 ($(tests:%=$(objpfx)%-bp): Likewise.
14090 * misc/Makefile [$(build-bounded) = yes]
14091 ($(objpfx)tst-tsearch-bp): Likewise.
14092 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14093 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14094 Remove dependency.
14095 * string/Makefile (o-objects.ob): Remove variable.
14096 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14097 (CFLAGS-.ob): Remove variable.
14098 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14099 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14100 both definitions of variable.
14101 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14102 (ASFLAGS-.ob): Remove variable.
14103
e97ed6dd
JM
141042013-02-14 Joseph Myers <joseph@codesourcery.com>
14105
2bdd4ca6
JM
14106 [BZ #13550]
14107 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14108 Remove __BOUNDED_POINTERS__ from condition.
14109 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14110 * string/bits/string2.h [!__NO_STRING_INLINES &&
14111 !__BOUNDED_POINTERS__]: Likewise.
14112 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14113 Likewise.
14114 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14115 Remove conditional code.
14116 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14117 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14118 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14119 condition.
14120
e97ed6dd
JM
14121 [BZ #13550]
14122 * csu/libc-start.c: Do not include <bp-sym.h>.
14123 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14124 * elf/dl-open.c: Do not include <bp-sym.h>.
14125 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14126 * math/fegetenv.c: Do not include <bp-sym.h>.
14127 (fegetenv): Do not use BP_SYM in versioned symbols.
14128 * nptl/sysdeps/pthread/bits/libc-lockP.h
14129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14130 <bp-sym.h>.
14131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14132 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14134 (__pthread_mutex_destroy): Likewise.
14135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14136 (__pthread_mutex_lock): Likewise.
14137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14138 (__pthread_mutex_trylock): Likewise.
14139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14140 (__pthread_mutex_unlock): Likewise.
14141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14142 (__pthread_mutexattr_init): Likewise.
14143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14144 (__pthread_mutexattr_destroy): Likewise.
14145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14146 (__pthread_mutexattr_settype): Likewise.
14147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14148 (__pthread_rwlock_init): Likewise.
14149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14150 (__pthread_rwlock_destroy): Likewise.
14151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14152 (__pthread_rwlock_rdlock): Likewise.
14153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14154 (__pthread_rwlock_tryrdlock): Likewise.
14155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14156 (__pthread_rwlock_wrlock): Likewise.
14157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14158 (__pthread_rwlock_trywrlock): Likewise.
14159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14160 (__pthread_rwlock_unlock): Likewise.
14161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14162 (__pthread_key_create): Likewise.
14163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14164 (__pthread_setspecific): Likewise.
14165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14166 (__pthread_getspecific): Likewise.
14167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14168 Likewise.
14169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14170 (_pthread_cleanup_push_defer): Likewise.
14171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14172 (_pthread_cleanup_pop_restore): Likewise.
14173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14174 (pthread_setcancelstate): Likewise.
14175 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14176 <bp-sym.h>.
14177 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14178 (memchr): Do not use BP_SYM in weak_alias.
14179 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14180 (fegetenv): Do not use BP_SYM in versioned symbols.
14181 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14182 (fesetenv): Do not use BP_SYM in versioned symbols.
14183 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14184 (feupdateenv): Do not use BP_SYM in versioned symbols.
14185 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14186 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14187 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14188 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14189 (open64): Do not use BP_SYM in weak_alias.
14190 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14191 (fegetenv): Do not use BP_SYM in versioned symbols.
14192 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14193 (fesetenv): Do not use BP_SYM in versioned symbols.
14194 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14195 (feupdateenv): Do not use BP_SYM in versioned symbols.
14196 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14197 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14198 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14199 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14200 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14201 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14202 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14203 <bp-sym.h>.
14204 (__libc_start_main): Do not use BP_SYM.
14205
d6752ccd
SP
142062013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14207
cb57ce60
SP
14208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14209 redundant return line.
14210 (norm): Likewise.
14211 (denorm): Likewise.
14212 (dbl_mp): Likewise.
14213 (sub_magnitudes): Likewise.
14214 (__add): Likewise.
14215 (__sub): Likewise.
14216 (__mul): Likewise.
14217 (__inv): Likewise.
14218 (__dvd): Likewise.
14219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14220 (norm): Likewise.
14221 (denorm): Likewise.
14222 (dbl_mp): Likewise.
14223 (sub_magnitudes): Likewise.
14224 (__add): Likewise.
14225 (__sub): Likewise.
14226 (__mul): Likewise.
14227 (__inv): Likewise.
14228 (__dvd): Likewise.
14229
f414520d
SP
14230 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14231 instead of __mul.
14232 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14233 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14234 (cc32): Likewise.
14235
d6752ccd
SP
14236 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14237 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14239 of __mul for squares.
14240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14241 function
14242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14243 Likewise.
14244 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14245 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14246
70d9946a
JM
142472013-02-13 Joseph Myers <joseph@codesourcery.com>
14248
14249 [BZ #13550]
14250 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14251 code.
14252 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14253 prototype or function definition. Rename ubp_* variables and
14254 parameters. Remove argv definitions conditional on
14255 [__BOUNDED_POINTERS__].
14256 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14257 * elf/dl-runtime.c (_dl_fixup): Likewise.
14258 * include/set-hooks.h (RUN_HOOK): Likewise.
14259 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14260 definition.
14261 * string/strcpy.c (strcpy): Do not use __unbounded.
14262 * sysdeps/generic/frame.h (struct layout): Likewise.
14263 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14264 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14265 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14266 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14267 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14268 (__backtrace): Likewise.
14269 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14270 use __ptrvalue.
14271 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14272 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14273 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14274 Likewise.
14275 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14276 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14277 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14278 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14279 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14280 Do not use __unbounded.
14281 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14282 Rename __unboundedrlimits parameter to rlimits in prototype.
14283 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14284 Do not use __unbounded.
14285 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14286 not use __ptrvalue.
14287 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14288 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14289 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14290 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14291 __ptrvalue or __unbounded.
14292 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14293 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14294 use __unbounded.
14295 (__new_msgctl): Do not use __ptrvalue.
14296 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14297 __unbounded.
14298 (__libc_msgrcv): Do not use __ptrvalue.
14299 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14300 startup_info): Do not use __unbounded.
14301 (__libc_start_main): Likewise. Rename ubp_* variables and
14302 parameters. Remove argv definitions conditional on
14303 [__BOUNDED_POINTERS__].
14304 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14305 __ptrvalue.
14306 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14307 use __unbounded.
14308 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14309 or __ptrvalue.
14310 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14311 use __unbounded.
14312 (__new_shmctl): Do not use __ptrvalue.
14313 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14314 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14315 Likewise.
14316 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14318 (__libc_sigaction): Likewise.
14319 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14320 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14321 Likewise.
14322 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14323
cc7834d6
OB
143242013-02-13 Ondřej Bílka <neleai@seznam.cz>
14325
ffb1ec7b 14326 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14327
14328 * string/mempcpy.c: Implement by calling memcpy.
14329
bdf02814
SP
143302013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14331
c2af38aa
SP
14332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14333
4e92d59e
SP
14334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14335 evaluation.
14336
909279a5
SP
14337 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14338 values in the mantissa.
14339
bdf02814
SP
14340 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14341 minimize writes to Z.
14342 (sub_magnitudes): Simplify code a bit.
14343
cd525923
RM
143442013-02-12 Roland McGrath <roland@hack.frob.com>
14345
14346 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14347 from the message. The linker prefixes all warnings with that already.
14348
7e2f0d2d
AS
143492013-02-12 Andreas Schwab <schwab@suse.de>
14350
a445af0b
AS
14351 [BZ #15078]
14352 * posix/regexec.c (extend_buffers): Add parameter min_len.
14353 (check_matching): Pass minimum needed length.
14354 (clean_state_log_if_needed): Likewise.
14355 (get_subexp): Likewise.
14356 * posix/Makefile (tests): Add bug-regex34.
14357 (bug-regex34-ENV): Define.
14358 * posix/bug-regex34.c: New file.
14359
7e2f0d2d
AS
14360 [BZ #11561]
14361 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14362 elements compare against the byte sequence of it, not its name.
14363 * posix/Makefile (tests): Add bug-regex35.
14364 (bug-regex35-ENV): Define.
14365 * posix/bug-regex35.c: New file.
14366
a175b684
TV
143672013-02-11 Tom de Vries <tom@codesourcery.com>
14368
14369 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14370 comment.
14371 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14372 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14373 (CHECK_EOL): Add undef.
14374
310998fe 143752013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14376
14377 * bits/stdlib-bsearch.h: New file.
14378 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14379 * stdlib/stdlib.h: Likewise.
41eda41d 14380
8ded91fb
RM
143812013-02-11 Roland McGrath <roland@hack.frob.com>
14382
14383 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14384 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14385 declaration.
14386 * manual/search.texi (Array Search Function): Add missing const in
14387 lfind prototype.
14388 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14389 declaration to use rlim_t.
14390 (Basic Scheduling Functions): Remove erroneous const from
14391 sched_getparam prototype. Remove erroneous * from
14392 sched_get_priority_max and sched_get_priority_min prototypes.
14393 (Resource Usage): Fix summary @comment on vtimes to refer to
14394 sys/vtimes.h rather than vtimes.h.
14395 Add missing *s in vtimes prototype.
14396 (Limits on Resources): Fix ulimit prototype to return long int.
14397 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14398 prototypes to use long int rather than double.
14399 (BSD Random): Fix initstate and setstate to use char *, not void *.
14400 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14401 prototype to make second argument 'struct aiocb64 *const[]'.
14402 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14403 (Status of AIO Operations): Remove erroneous const in aio_return and
14404 aio_return64 prototypes.
14405 (Synchronizing I/O): Fix sync prototype to return void.
14406 * manual/startup.texi (Suboptions): Remove an erroneous const in
14407 getsubopt prototype.
14408 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14409 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14410 use size_t rather than int.
14411 (Scanning All Users): Likewise for getpwent_r.
14412 (Setting Groups): Add missing const to setgroups prototype.
14413 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14414 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14415 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14416 'const void *' rather than 'const char *'.
14417 (Host Address Functions): Likewise for inet_ntop.
14418 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14419 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14420 ssize_t for return value.
14421 (Sending Data): Likewise for send, sendto, sendmsg.
14422 (Socket Option Functions): Add a missing const in setsockopt prototype.
14423 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14424 use wchar_t for the argument.
14425 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14426 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14427 take no arguments.
14428 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14429 double/float/long double for second argument.
14430 Fix return types of significand, significandf, significandl.
14431 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14432 argument in fchmod prototype.
14433 (File Owner): Use uid_t and gid_t in fchown prototype.
14434 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14435 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14436 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14437 use 'const struct dirent **' as argument types to CMP function pointer
14438 argument.
14439 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14440 (File Times): Fix summary magic @comment for struct utimbuf and utime
14441 to refer to utime.h, not time.h.
14442 * manual/string.texi (Argz Functions): Add missing const in
14443 argz_extract and argz_next prototypes.
14444 (Finding Tokens in a String): Likewise for basename.
14445 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14446 (Copying and Concatenation): Fix typo in wmemmove prototype.
14447 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14448 (Signal Stack): Remove erroneous const in sigstack prototype.
14449 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14450 prototype.
14451 (Simple Calendar Time): Likewise for stime.
14452 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14453 prototype.
14454 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14455 say sys/sysctl.h instead.
14456 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14457 and vsyslog prototypes.
14458
fe77fe6d
TV
144592013-02-11 Tom de Vries <tom@codesourcery.com>
14460
14461 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14462 Remove.
14463
3a09b620
RM
144642013-02-11 Roland McGrath <roland@hack.frob.com>
14465
14466 * misc/sys/mman.h: Fix typo in mremap comment.
14467
550a0b89
RM
144682013-02-08 Roland McGrath <roland@hack.frob.com>
14469
14470 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14471 the '\0' terminator.
14472
a2da1673
JM
144732013-02-08 Joseph Myers <joseph@codesourcery.com>
14474
14475 [BZ #13550]
14476 * debug/segfault.c: Don't include <bp-checks.h>.
14477 * sysdeps/generic/bp-checks.h: Remove file.
14478 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14479 (__GETDENTS): Don't use CHECK_N.
14480 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14481 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14482 (__getgroups): Don't use CHECK_N.
14483 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14484 (setgroups): Don't use CHECK_N.
14485 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14486 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14487 (__libc_msgrcv): Don't use CHECK_N.
14488 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14489 (__libc_msgsnd): Don't use CHECK_N.
14490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14491 <bp-checks.h>.
14492 (__libc_pread): Don't use CHECK_N.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14494 include <bp-checks.h>.
14495 (__libc_pread64): Don't use CHECK_N.
14496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14497 include <bp-checks.h>.
14498 (__libc_pwrite): Don't use CHECK_N.
14499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14500 include <bp-checks.h>.
14501 (__libc_pwrite64): Don't use CHECK_N.
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14503 <bp-checks.h>.
14504 (__libc_pread): Don't use CHECK_N.
14505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14506 include <bp-checks.h>.
14507 (__libc_pread64): Don't use CHECK_N.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14509 include <bp-checks.h>.
14510 (__libc_pwrite): Don't use CHECK_N.
14511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14512 include <bp-checks.h>.
14513 (__libc_pwrite64): Don't use CHECK_N.
14514 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14515 (do_pread): Don't use CHECK_N.
14516 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14517 (do_pread64): Don't use CHECK_N.
14518 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14519 (do_pwrite): Don't use CHECK_N.
14520 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14521 (do_pwrite64): Don't use CHECK_N.
14522 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14523 (__libc_readv): Don't use CHECK_N.
14524 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14525 (semop): Don't use CHECK_N.
14526 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14527 <bp-checks.h>.
14528 (semtimedop): Don't use CHECK_N.
14529 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14530 (__libc_pread): Don't use CHECK_N.
14531 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14532 <bp-checks.h>.
14533 (__libc_pread64): Don't use CHECK_N.
14534 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14535 <bp-checks.h>.
14536 (__libc_pwrite): Don't use CHECK_N.
14537 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14538 <bp-checks.h>.
14539 (__libc_pwrite64): Don't use CHECK_N.
14540 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14541 <bp-checks.h>.
14542 (__libc_msgrcv): Don't use CHECK_N.
14543 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14544 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14545 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14546 (__libc_writev): Don't use CHECK_N.
14547
b84660a8
RM
145482013-02-08 Roland McGrath <roland@hack.frob.com>
14549
7f3e75f8
RM
14550 * string/strcpy.c: Removed unused variable.
14551
b84660a8
RM
14552 * Makeconfig (+sysdep-includes): Define with := rather than =.
14553 Use an existing include/ subdir of each sysdeps dir before it.
14554
471514d3
CD
145552013-02-08 Carlos O'Donell <carlos@redhat.com>
14556
14557 * nscd/connection.c (register_traced_file): Comment function.
14558 [HAVE_INOTIFY] (union __inev): Define.
14559 [HAVE_INOTIFY] (inotify_check_files): New function.
14560 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14561 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14562 clear_db_cache.
14563 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14564
b2d3c3be
CD
145652013-02-08 Carlos O'Donell <carlos@redhat.com>
14566
14567 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14568 loaded if not already and that a failure is permanent.
14569
b39949d2
CD
145702013-02-08 Carlos O'Donell <carlos@redhat.com>
14571
ddacd1db 14572 [BZ #15006]
b39949d2
CD
14573 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14574 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14575
b2c9eff4
JM
145762013-02-08 Joseph Myers <joseph@codesourcery.com>
14577
f3aae3f3
JM
14578 [BZ #13550]
14579 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14580 (CHECK_1_NULL_OK): Likewise.
14581 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14582 (__fxstat): Do not use CHECK_1.
14583 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14584 <bp-checks.h>.
14585 (___fxstat64): Do not use CHECK_1.
14586 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14587 <bp-checks.h>.
14588 (__fxstatat): Do not use CHECK_1.
14589 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14590 <bp-checks.h>.
14591 (__fxstatat64): Do not use CHECK_1.
14592 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14593 <bp-checks.h>.
14594 (__fxstat): Do not use CHECK_1.
14595 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14596 <bp-checks.h>.
14597 (__fxstatat): Do not use CHECK_1.
14598 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14599 <bp-checks.h>.
14600 (__getresgid): Do not use CHECK_1.
14601 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14602 <bp-checks.h>.
14603 (__getresuid): Do not use CHECK_1.
14604 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14605 <bp-checks.h>.
14606 (__lxstat): Do not use CHECK_1.
14607 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14608 <bp-checks.h>.
14609 (__old_msgctl): Do not use CHECK_1.
14610 (__new_msgctl): Likewise.
14611 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14612 <bp-checks.h>.
14613 (__new_setrlimit): Do not use CHECK_1.
14614 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14615 <bp-checks.h>.
14616 (__old_shmctl): Do not use CHECK_1.
14617 (__new_shmctl): Likewise.
14618 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14619 <bp-checks.h>.
14620 (__xstat): Do not use CHECK_1.
14621 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14622 (__lxstat): Do not use CHECK_1.
14623 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14624 <bp-checks.h>.
14625 (___lxstat64): Do not use CHECK_1.
14626 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14627 (__old_msgctl): Do not use CHECK_1.
14628 (__new_msgctl): Likewise.
14629 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14630 <bp-checks.h>.
14631 (__gettimeofday): Do not use CHECK_1.
14632 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14633 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14634 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14635 <bp-checks.h>.
14636 (__gettimeofday): Do not use CHECK_1.
14637 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14638 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14639 (__new_shmctl): Do not use CHECK_1.
14640 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14641 <bp-checks.h>.
14642 (do_sigtimedwait): Do not use CHECK_1.
14643 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14644 <bp-checks.h>.
14645 (do_sigwaitinfo): Do not use CHECK_1.
14646 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14647 <bp-checks.h>.
14648 (msgctl): Do not use CHECK_1.
14649 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14650 <bp-checks.h>.
14651 (shmctl): Do not use CHECK_1.
14652 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14653 (ustat): Do not use CHECK_1.
14654 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14655 <bp-checks.h>.
14656 (__fxstat): Do not use CHECK_1.
14657 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14658 <bp-checks.h>.
14659 (__fxstatat): Do not use CHECK_1.
14660 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14661 <bp-checks.h>.
14662 (__lxstat): Do not use CHECK_1.
14663 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14664 <bp-checks.h>.
14665 (__xstat): Do not use CHECK_1.
14666 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14667 (__xstat): Do not use CHECK_1.
14668 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14669 (___xstat64): Do not use CHECK_1.
14670
b2c9eff4
JM
14671 [BZ #13550]
14672 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14673 definitions.
14674 (CHECK_BOUNDS_HIGH): Likewise.
14675 * string/strcpy.c: Do not include <bp-checks.h>.
14676 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14677
f1d70dad
RM
146782013-02-07 Roland McGrath <roland@hack.frob.com>
14679
14680 * nscd/nscd-client.h (__nscd_drop_map_ref):
14681 Add __attribute__ ((unused)).
14682 * nis/nss-nisplus.h (niserr2nss): Likewise.
14683
14684 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14685 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14686
14687 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14688 Remove inline keyword.
14689 * include/rounding-mode.h (round_away): Likewise.
14690 * libio/wfileops.c (adjust_wide_data): Likewise.
14691 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14692 (__m128i_strloadu_tolower): Likewise.
14693 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14694 (__m128i_strloadu_tolower): Likewise.
14695 * time/mktime.c (ydhms_diff): Likewise.
14696 * locale/elem-hash.h (elem_hash): Likewise.
14697 * locale/setlocale.c (setdata): Likewise.
14698 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14699 (re_string_wchar_at): Likewise.
14700 (bitset_not, bitset_merge, bitset_mask): Likewise.
14701 [!(__GNUC__ > 3)] (inline): Remove macro.
14702 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14703 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14704 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14705 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14706 * string/memcmp.c (memcmp_bytes): Likewise.
14707 * locale/programs/locarchive.c (compute_hashval): Likewise.
14708 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14709 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14710 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14711 * nss/getent.c (print_rpc, print_protocols): Likewise.
14712 (print_passwd, print_group, print_aliases): Likewise.
14713 * nis/nss-nisplus.h (niserr2nss): Likewise.
14714 * nscd/connections.c (restart_p): Likewise.
14715 Change return type to bool.
14716
eab55bfb
RM
147172013-02-05 Roland McGrath <roland@hack.frob.com>
14718
7bd642f5
RM
14719 * Makeconfig (all-Depend-files): Add existing
14720 $(sorted-subdirs:=/Depend) files.
14721 (all-subdirs): Remove nss.
14722 * sysdeps/unix/inet/Subdirs: Add it here instead.
14723 * hesiod/Depend: New file.
14724
573c29b2
RM
14725 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14726 instead of calling alloca.
14727
b2e25af0
RM
14728 * io/lseek.c (__lseek): Rename to __libc_lseek.
14729 Define __lseek as an alias.
14730
eab55bfb
RM
14731 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14732
9a0d1941
CD
147332013-02-04 Carlos O'Donell <carlos@redhat.com>
14734
14735 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14736 else clause and remove check for non-standard endianness.
14737
b83bbec4
DM
147382013-02-04 David S. Miller <davem@davemloft.net>
14739
14740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14741
6277fdab
JM
147422013-02-04 Joseph Myers <joseph@codesourcery.com>
14743
14744 [BZ #13550]
14745 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14746 (__ubp_memchr): Remove prototype.
14747 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14748 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14749 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14750 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14751 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14752 Remove alias.
14753 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14754 (__ubp_memchr): Likewise.
14755 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14756 (__ubp_memchr): Likewise.
14757 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14758 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14759 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14760 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14761 CHECK_STRING.
14762 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14763 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14764 (__getcwd): Do not use CHECK_STRING.
14765 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14766 <bp-checks.h>.
14767 (__real_chown): Do not use CHECK_STRING.
14768 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14769 <bp-checks.h>.
14770 (fchownat): Do not use CHECK_STRING.
14771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14772 CHECK_STRING.
14773 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14774 <bp-checks.h>.
14775 (__lchown): Do not use CHECK_STRING.
14776 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14777 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14778 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14779 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14781 include <bp-checks.h>.
14782 (truncate64): Do not use CHECK_STRING.
14783 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14784 <bp-checks.h>.
14785 (__real_chown): Do not use CHECK_STRING.
14786 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14787 <bp-checks.h>.
14788 (__lchown): Do not use CHECK_STRING.
14789 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14790 <bp-checks.h>.
14791 (__chown): Do not use CHECK_STRING.
14792 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14793 <bp-checks.h>.
14794 (truncate64): Do not use CHECK_STRING.
14795 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14796 Likewise.
14797 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14798 (__xmknod): Do not use CHECK_STRING.
14799 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14800 <bp-checks.h>.
14801 (__xmknodat): Do not use CHECK_STRING.
14802 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14803 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14804
903ae060
AS
148052013-02-04 Andreas Schwab <schwab@suse.de>
14806
14807 [BZ #14142]
14808 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14809 * include/netdb.h: Likewise for h_errno.
14810 * elf/tst-stackguard1.c: Include <tls.h>.
14811
542f9466
JK
148122013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14813
14814 * elf/link.h (struct link_map): Extend the l_addr comment.
14815 * include/link.h (struct link_map): Likewise.
14816
e782a927
JM
148172013-02-01 Joseph Myers <joseph@codesourcery.com>
14818
14819 [BZ #13550]
14820 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14821 (BOUNDED_1): Remove macro.
14822 * debug/backtrace.c: Don't include <bp-checks.h>.
14823 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14824 (__backtrace): Likewise.
14825 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14826 <bp-checks.h>.
14827 (__backtrace): Don't use BOUNDED_1.
14828 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14829 <bp-checks.h>.
14830 (__backtrace): Don't use BOUNDED_1.
14831 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14832 (__backtrace): Don't use BOUNDED_1.
14833 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14834 (shmat): Don't use BOUNDED_N.
14835
8cf28c5e
JM
148362013-01-31 Joseph Myers <joseph@codesourcery.com>
14837
3a7ac8a0
JM
14838 [BZ #13550]
14839 * sysdeps/generic/bp-start.h: Remove file.
14840 * csu/libc-start.c: Don't include <bp-start.h>.
14841 (LIBC_START_MAIN): Set up __environ directly instead of using
14842 INIT_ARGV_and_ENVIRON.
14843 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14844 <bp-start.h>.
14845
f3499f95
JM
14846 [BZ #13550]
14847 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14848 definitions.
14849 (CHECK_FCNTL): Likewise.
14850 (CHECK_N_PAGES): Likewise.
14851
32a45bea
JM
14852 [BZ #13550]
14853 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14854 definitions.
14855 (CHECK_SIGSET_NULL_OK): Likewise.
14856 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14857 <bp-checks.h>.
14858 (sigpending): Don't use CHECK_SIGSET.
14859 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14860 <bp-checks.h>.
14861 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14862 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14863 <bp-checks.h>.
14864 (do_sigsuspend): Don't use CHECK_SIGSET.
14865 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14866 use CHECK_SIGSET.
14867 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14868 (do_sigwait): Don't use CHECK_SIGSET.
14869 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14870 use CHECK_SIGSET.
14871 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14872 include <bp-checks.h>.
14873 (sigpending): Don't use CHECK_SIGSET.
14874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14875 include <bp-checks.h>.
14876 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14877 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14878 <bp-checks.h>.
14879 (sigpending): Don't use CHECK_SIGSET.
14880 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14881 <bp-checks.h>.
14882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14883
2e8a5c8c
JM
14884 [BZ #13550]
14885 * sysdeps/generic/bp-semctl.h: Remove file.
14886 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14887 <bp-checks.h> and <bp-semctl.h>.
14888 (__old_semctl): Don't use CHECK_SEMCTL.
14889 (__new_semctl): Likewise.
14890 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14891 and <bp-semctl.h>.
14892 (__old_semctl): Don't use CHECK_SEMCTL.
14893 (__new_semctl): Likewise.
14894 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14895 <bp-checks.h> and <bp-semctl.h>.
14896 (__old_semctl): Don't use CHECK_SEMCTL.
14897 (__new_semctl): Likewise.
14898 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14899 <bp-checks.h> and <bp-semctl.h>.
14900 (semctl): Don't use CHECK_SEMCTL.
14901
c2d54929
JM
14902 [BZ #13550]
14903 * Makerules (elide-bp-thunks): Remove variable.
14904 (elide-routines.oS): Don't use $(elide-bp-thunks).
14905 (elide-routines.os): Likewise.
14906 (elide-routines.o): Likewise.
14907 (elide-routines.op): Likewise.
14908 (elide-routines.og): Likewise.
14909 (objects): Don't use $(bp-thunks).
14910 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14911 include.
14912 (common-generated): Do not add s-proto-bp.d.
14913 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14914 (int): Likewise.
14915 (typ): Likewise.
14916 Do not generate makefile rules for bounded-pointer thunks.
14917 * sysdeps/generic/bp-thunks.h: Remove file.
14918 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14919 * sysdeps/unix/s-proto-bp.S: Likewise.
14920
8cf28c5e
JM
14921 [BZ #15062]
14922 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14923 parts of result separately when argument is not close to line from
14924 -i to i and one part of argument is small.
14925 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14926 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14927 * math/libm-test.inc (cacos_test): Add more tests.
14928 (casin_test): Likewise.
14929 (casinh_test): Likewise.
14930 * sysdeps/i386/fpu/libm-test-ulps: Update.
14931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14932
c4e33b8d
DM
149332013-01-31 David S. Miller <davem@davemloft.net>
14934
14935 * po/de.po: Update from translation team.
14936
3b60b421
MK
149372013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14938
14939 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14940
bb931195
TS
149412013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14942
b5a5da23
TS
14943 * configure.in (_AC_PROG_CC_C89): New definition.
14944 * configure: Regenerate.
14945
bb931195
TS
14946 * configure.in (AC_PROG_CPP): New definition.
14947 * configure: Regenerate.
14948
8c53a12c
JM
149492013-01-23 Joseph Myers <joseph@codesourcery.com>
14950
14951 * debug/tst-backtrace.h: New file.
14952 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14953 (ret): Remove variable.
14954 (x): Likewise.
14955 (FAIL): Remove macro.
14956 (NO_INLINE): Likewise.
14957 (fn1): Use match function instead of strstr.
14958 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14959 (ret): Remove variable.
14960 (x): Likewise.
14961 (FAIL): Remove macro.
14962 (NO_INLINE): Likewise.
14963 (fn): Use match function instead of strstr.
14964 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14965 (ret): Remove variable.
14966 (x): Likewise.
14967 (FAIL): Remove macro.
14968 (NO_INLINE): Likewise.
14969 (handle_signal): Use match function instead of strstr.
14970 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14971 (ret): Remove variable.
14972 (x): Likewise.
14973 (FAIL): Remove macro.
14974 (NO_INLINE): Likewise.
14975 (handle_signal): Use match function instead of strstr.
14976
4858fa2a
RM
149772013-01-23 Roland McGrath <roland@hack.frob.com>
14978
14979 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14980
bae8e7f5
DM
149812013-01-23 David S. Miller <davem@davemloft.net>
14982
14983 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14984 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14985 argument of CAS if possible.
14986 * sysdeps/sparc/sparc64/bits/atomic.h
14987 (__arch_compare_and_exchange_val_32_acq): Likewise.
14988 (__arch_compare_and_exchange_val_64_acq): Likewise.
14989
9cbbc4ae
PT
149902013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14991
14992 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14993 * sysdeps/posix/ulimit.c: ... this.
92a601b8 14994 Include <limits.h>.
67b3f58c 14995 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 14996
5655a0b5
AC
149972013-01-23 Adam Conrad <adconrad@0c3.net>
14998
14999 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15000 (LDFLAGS-tst-array5): Likewise.
15001
052aff95
JM
150022013-01-23 Joseph Myers <joseph@codesourcery.com>
15003
15004 [BZ #15036]
15005 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15006 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15007 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15008 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15009
7c1e01aa
DM
150102013-01-21 David S. Miller <davem@davemloft.net>
15011
15012 * sysdeps/sparc/backtrace.c: New file.
15013 * sysdeps/sparc/sparc32/backtrace.h: New file.
15014 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15015 * sysdeps/sparc/sparc64/backtrace.h: New file.
15016 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15017 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15018 -funwind-tables.
15019
ab087e0a
AS
150202013-01-21 Andreas Schwab <schwab@suse.de>
15021
15022 [BZ #15020]
15023 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15024 closed its stdout.
15025
ed689c2f
AS
150262013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15027
15028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15029 "mpa2.h".
15030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15031
31d470ac
JM
150322013-01-18 Joseph Myers <joseph@codesourcery.com>
15033 Mark Mitchell <mark@codesourcery.com>
15034 Tom de Vries <tom@codesourcery.com>
15035 Paul Pluzhnikov <ppluzhnikov@google.com>
15036
15037 * debug/tst-backtrace2.c: New file.
15038 * debug/tst-backtrace3.c: Likewise.
15039 * debug/tst-backtrace4.c: Likewise.
15040 * debug/tst-backtrace5.c: Likewise.
15041 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15042 (CFLAGS-tst-backtrace3.c): Likewise.
15043 (CFLAGS-tst-backtrace4.c): Likewise.
15044 (CFLAGS-tst-backtrace5.c): Likewise.
15045 (LDFLAGS-tst-backtrace2): Likewise.
15046 (LDFLAGS-tst-backtrace3): Likewise.
15047 (LDFLAGS-tst-backtrace4): Likewise.
15048 (LDFLAGS-tst-backtrace5): Likewise.
15049 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15050 tst-backtrace4 and tst-backtrace5.
15051
90567f30 150522013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15053 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15054
15055 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15056 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15057 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15058 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15060 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15061 "+r" and remove output regs list as redundant. Add explicit inline
15062 asm to specify register of return val to work around compiler codegen
15063 bug. Remove (int) cast on return value. Add return type parameter to
15064 use in macro so that this macro does not truncate return value for
15065 64-bit values.
15066 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15067 pass to INTERNAL_VSYSCALL_NCS.
15068 (INLINE_VSYSCALL): Add 'long int' as return type to
15069 INTERNAL_VSYSCALL_NCS macro invocation.
15070 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15071 INTERNAL_VSYSCALL_NCS macro invocation.
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15073
d3b9ea61
SP
150742013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15075
0b57daeb
SP
15076 [BZ #14496]
15077 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15078 Fix application of SIMD FP exception mask.
15079
caa99d06
SP
15080 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15081 mp_no from a power of two.
15082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15083 __mpexp_twomm1. Use __pow_mp.
15084
d3b9ea61
SP
15085 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15086 multiplication.
15087
1dbaee3c
DM
150882013-01-17 David S. Miller <davem@davemloft.net>
15089
15090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15091
728d7b43
JM
150922013-01-17 Joseph Myers <joseph@codesourcery.com>
15093
15094 [BZ #15023]
15095 * include/complex.h: Condition contents on [!_COMPLEX_H].
15096 (__kernel_casinhf): New prototype.
15097 (__kernel_casinh): Likewise.
15098 (__kernel_casinhl): Likewise.
15099 * math/Makefile (libm_calls): Add k_casinh.
15100 * math/k_casinh.c: New file.
15101 * math/k_casinhf.c: Likewise.
15102 * math/k_casinhl.c: Likewise.
15103 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15104 finite nonzero arguments.
15105 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15106 finite nonzero arguments.
15107 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15108 finite nonzero arguments.
15109 * math/s_casinh.c: Do not include <float.h>.
15110 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15111 * math/s_casinhf.c: Do not include <float.h>.
15112 (__casinhf): Move code for finite nonzero arguments to
15113 k_casinhf.c.
15114 * math/s_casinhl.c: Do not include <float.h>.
15115 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15116 redefine.
15117 (__casinhl): Move code for finite nonzero arguments to
15118 k_casinhl.c.
15119 * math/libm-test.inc (cacos_test): Add more tests.
15120 * sysdeps/i386/fpu/libm-test-ulps: Update.
15121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15122
2a26ef3a
PT
151232013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15124
15125 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15126 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15127 [!HAVE_MREMAP]: Remove [defined linux] case.
15128 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15129
a897655d
SP
151302013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15131
15132 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15133
881ebe89 151342013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15135
15136 * elf/elf.h (R_386_SIZE32): New relocation.
15137 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15138 R_386_SIZE32.
15139 (elf_machine_rela): Likewise.
15140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15141 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15142
59981e9b
JM
151432013-01-17 Joseph Myers <joseph@codesourcery.com>
15144
15145 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15146 (FP_FAST_FMA): Do not define.
15147 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15148 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15149 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15150 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15151 !_SOFT_FLOAT]: Likewise.
15152 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15153 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15154 value.
15155 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15156 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15158 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15159 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15160 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15161 file.
15162
cfa8054f
AS
151632013-01-16 Andreas Schwab <schwab@suse.de>
15164
15165 [BZ #14327]
15166 * include/stdlib.h (__mktemp): Add declaration.
15167 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15168 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15169
dd930cc5
SP
151702013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15171
881ebe89
SP
15172 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15173 definitions.
15174 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15175 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15176 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15177 definitions here.
15178 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15179 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15180 definitions.
15181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15182 and ONE.
15183 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15184 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15185 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15186 definitions.
15187 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15188 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15189 definitions.
15190 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15191
dd930cc5
SP
15192 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15193
c19a9f89
DM
151942013-01-15 David S. Miller <davem@davemloft.net>
15195
1aa61767
DM
15196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15197 trunc{,f} to libm-sysdep_routes.
15198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15200 file.
15201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15203 file.
15204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15205 file.
15206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15208 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15209 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15210 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15211 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15212 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15213 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15214
c42d5e98
DM
15215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15216 nearbyint{,f} to libm-sysdep_routes.
15217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15219 New file.
15220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15221 file.
15222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15223 New file.
15224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15225 file.
15226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15228 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15229 file.
15230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15231 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15232 file.
15233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15234 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15235 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15236
c19a9f89
DM
15237 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15238 libc_feholdexcept and libc_fesetenv.
15239
357679d2
MF
152402013-01-15 Mike Frysinger <vapier@gentoo.org>
15241
15242 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15243
65a82e3d
DM
152442013-01-14 David S. Miller <davem@davemloft.net>
15245
8b954ab9
DM
15246 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15247 (SPARC_ASM_VIS2_IFUNC): Likewise.
15248 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15250 use of 'siam' instruction.
15251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15252 Likewise.
15253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15254 Likewise.
15255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15256 Likewise.
15257 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15262 file.
15263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15264 file.
15265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15266 file.
15267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15268 file.
15269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15274 new VIS2 routines.
15275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15278 Likewise.
15279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15284 routines to libm-sysdep_routines.
15285 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15286
65a82e3d
DM
15287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15288 fdim/fdimf to libm-sysdep_routines.
15289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15290 file.
15291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15293 file.
15294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15297 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15298 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15299 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15300 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15301
e34ab705
SP
153022013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15303
2a91b573
SP
15304 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15305 to optimize copies.
15306
1066a534
SP
15307 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15309 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15310
e34ab705
SP
15311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15312 local variable MPTWO.
15313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15314 Likewise.
15315
aba5e596
MF
153162013-01-13 Mike Frysinger <vapier@gentoo.org>
15317
15318 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15319 GLOB_NOESCAPE.
15320
e557e9e5
MF
153212013-01-13 Mike Frysinger <vapier@gentoo.org>
15322
15323 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15324
0428cec9
MF
153252013-01-13 Mike Frysinger <vapier@gentoo.org>
15326
15327 * manual/pattern.texi (glob_t): Document gl_flags.
15328 (glob64_t): Likewise.
15329
8794a964
DM
153302013-01-11 David S. Miller <davem@davemloft.net>
15331
66438c3f
RM
15332 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15333 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15334 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15335 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15336 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15337 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15338 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15339 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15340 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15341 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15342 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15343 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15344 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15345
4ae4244d
DM
15346 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15347 sparc V9 rather than using V8 code.
15348 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15349 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15350
8794a964
DM
15351 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15352 Move to...
15353 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15354 Here.
15355
6270516e
RM
153562013-01-11 Roland McGrath <roland@hack.frob.com>
15357
15358 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15359 not in the main loop.
15360 * configure: Regenerated.
15361
6a57d931
JM
153622013-01-11 Joseph Myers <joseph@codesourcery.com>
15363
15364 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15365 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15366 to just #else.
15367 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15368 [!__GLIBC_HAVE_LONG_LONG] case.
15369 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15370 condition to just #else.
15371 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15372 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15373 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15374 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15375 unconditional.
15376 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15377 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15378 #elif condition to just #else.
15379 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15380 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15381 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15382 #elif condition to just #else.
15383
0e8529e9
SE
153842013-01-11 Steve Ellcey <sellcey@mips.com>
15385
15386 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15387 (EF_MIPS_ARCH_64): Fix value.
15388 (EF_MIPS_ARCH_32R2): New.
15389 (EF_MIPS_ARCH_64R2): New.
15390
740b3dbe
L
153912013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15392
15393 * Makeconfig (+link-pie-before-libc): New.
15394 (+link-pie-after-libc): Likewise.
15395 (+link-pie-tests): Likewise.
15396 (+link-pie): Rewritten.
15397 (link-before-libc): Remove $(config-LDFLAGS).
15398 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15399 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15400 (config-LDFLAGS): Renamed to ...
15401 (rtld-LDFLAGS): This.
15402 (rtld-tests-LDFLAGS): New macro.
15403 (link-libc-rpath-link): Likewise.
15404 (link-libc-tests-rpath-link): Likewise.
15405 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15406 (link-libc): Prepand $(link-libc-rpath-link).
15407 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15408 (test-program-prefix): New macro.
15409 (test-via-rtld-prefix): Likewise.
15410 (test-program-cmd): Likewise.
15411 (host-test-program-cmd): Likewise.
15412 * Makefile ($(common-objpfx)testrun.sh): Replace
15413 $(run-program-prefix) with $(test-program-prefix).
15414 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15415 $(rtld-LDFLAGS).
15416 ($(common-objpfx)shlib.lds): Likewise.
15417 (build-module-helper): Likewise.
15418 ($(common-objpfx)format.lds): Likewise.
15419 * Rules (binaries-pie-tests): New.
15420 (binaries-pie-notests): Likewise.
15421 (binaries-pie): Rewritten.
15422 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15423 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15424 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15425 (make-test-out): Replace $(host-built-program-cmd) with
15426 $(host-test-program-cmd).
15427 * config.make.in (build-hardcoded-path-in-tests): New variable.
15428 * configure.in (--enable-hardcoded-path-in-tests): New configure
15429 option.
15430 (hardcoded_path_in_tests): New AC_SUBST.
15431 * configure: Regenerated.
15432 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15433 $(built-program-cmd) with $(test-program-cmd).
15434 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15435 (test_program_cmd): This.
15436 * elf/Makefile ($(objpfx)order.out): Run test with
15437 $(test-program-prefix).
15438 ($(objpfx)order2.out): Likewise.
15439 ($(objpfx)tst-initorder.out): Likewise.
15440 ($(objpfx)tst-initorder2.out): Likewise.
15441 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15442 $(test-program-cmd).
15443 ($(objpfx)tst-array1-static.out): Likewise.
15444 ($(objpfx)tst-array2.out): Likewise.
15445 ($(objpfx)tst-array3.out): Likewise.
15446 ($(objpfx)tst-array4.out): Likewise.
15447 ($(objpfx)tst-array5.out): Likewise.
15448 ($(objpfx)tst-array5-static.out): Likewise.
15449 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15450 $(test-program-cmd).
15451 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15452 $(run-program-prefix) with $(test-program-prefix).
15453 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15454 (test_program_prefix): This.
15455 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15456 $(run-program-prefix) with $(test-program-prefix).
15457 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15458 (test_program_prefix): This.
15459 * iconvdata/tst-tables.sh: Likewise.
15460 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15461 $(run-program-prefix) with $(test-program-prefix).
15462 ($(objpfx)tst-translit.out): Likewise.
15463 ($(objpfx)tst-gettext2.out): Likewise.
15464 ($(objpfx)tst-gettext4.out): Likewise.
15465 ($(objpfx)tst-gettext6.out): Likewise.
15466 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15467 (test_program_prefix): This.
15468 * intl/tst-gettext2.sh: Likewise.
15469 * intl/tst-gettext4.sh Likewise.
15470 * intl/tst-gettext6.sh: Likewise.
15471 * intl/tst-translit.sh: Likewise.
15472 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15473 with $(test-program-cmd).
15474 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15475 $(run-program-prefix) with $(test-program-prefix).
15476 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15477 (test_program_prefix): This.
15478 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15479 $(run-program-prefix) with $(test-program-prefix).
15480 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15481 (test_program_prefix): This.
15482 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15483 * posix/Makefile ($(objpfx)globtest.out): Replace
15484 $(run-via-rtld-prefix) and $(test-wrapper) with
15485 $(test-program-prefix) and $(test-via-rtld-prefix).
15486 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15487 $(test-program-prefix).
15488 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15489 $(host-test-program-cmd).
15490 (tst-spawn-ARGS): Likewise.
15491 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15492 $(test-program-prefix).
15493 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15494 (test_via_rtld_prefix): This.
15495 (test_wrapper): Renamed to ...
15496 (test_program_prefix): This.
15497 (run_program_prefix): Replaced by test_program_prefix.
15498 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15499 (test_program_prefix): This.
15500 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15501 with $(host-test-program-cmd).
15502 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15503 $(run-program-prefix) with $(test-program-prefix).
15504 ($(objpfx)tst-printf.out): Likewise.
15505 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15506 $(test-program-cmd).
15507 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15508 (test_program_prefix): This.
15509 * stdio-common/tst-unbputc.sh: Likewise.
15510 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15511 $(run-program-prefix) with $(test-program-prefix).
15512 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15513 (test_program_prefix): This.
15514 * string/Makefile ($(objpfx)tst-svc.out): Replace
15515 $(built-program-cmd) with $(test-program-cmd).
15516
c6fe55cf
AJ
155172013-01-11 Andreas Jaeger <aj@suse.de>
15518
15519 [BZ #15003]
15520 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15521 value. Sync with Linux 3.7.
15522
9e6919c8
DM
155232013-01-10 David S. Miller <davem@davemloft.net>
15524
15525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15526 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15527 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15528
1c9f1a02
RM
155292013-01-10 Roland McGrath <roland@hack.frob.com>
15530
15531 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15532 never set.
15533 * configure: Regenerated.
15534
b9de2dde
DM
155352013-01-10 David S. Miller <davem@davemloft.net>
15536
15537 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15538 sparc V9 rather than using V8 code.
15539 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15540 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15541
e7f68ef4
RM
155422013-01-10 Roland McGrath <roland@hack.frob.com>
15543
15544 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15545 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15546 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15547 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15548 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15549 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15550 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15551 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15552 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15553 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15554 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15555 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15556 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15557 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15558 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15559 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15560 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15561 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15562 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15563 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15564 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15565 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15566 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15567 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15568 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15569 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15570 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15571
5a47cc9c
DM
155722013-01-10 David S. Miller <davem@davemloft.net>
15573
15574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15575
4cf8f209
L
155762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15577
15578 * posix/Makefile (tests-static): New variable.
15579 (tests): Add $(tests-static).
15580 (tst-exec-static-ARGS): New variable.
15581 (tst-spawn-static-ARGS): Likewise.
15582 * posix/tst-exec-static.c: New file.
15583 * posix/tst-spawn-static.c: Likewise.
15584 * posix/tst-exec.c: Support run directly.
15585 * posix/tst-spawn.c: Likewise.
15586
fed0faa1
JM
155872013-01-10 Joseph Myers <joseph@codesourcery.com>
15588
828beb13
JM
15589 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15590 long.
15591 * math/bits/mathcalls.h (llrint): Likewise.
15592 (llround): Likewise.
15593 * stdlib/stdlib.h (struct drand48_data): Likewise.
15594 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15595 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15596 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15597 Likewise.
15598 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15599 Likewise.
15600 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15601 (elf_greg_t): Likewise.
15602 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15603 (__jmp_buf): Likewise.
15604 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15605 definitions.
15606 (llrint): Likewise, for all definitions.
15607 (llrintl): Likewise.
15608
fed0faa1
JM
15609 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15610 Remove [__GNUC__] condition.
15611 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15612 condition to just [__USE_ISOC99].
15613 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15614
1a20cb20
L
156152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15616
15617 [BZ #14200]
15618 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15619 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15620 defined.
15621 (_POSIX_V6_ILP32_OFF32): Likewise.
15622 (_XBS5_ILP32_OFF32): Likewise.
15623 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15624 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15625
751b85f7
SP
156262013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
7490eb81
SP
15628 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15629
751b85f7
SP
15630 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15631 doubles __mpexp_twomm1. Adjust usage.
15632 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15633 Remove.
15634
988197f0
AS
156352013-01-10 Andreas Schwab <schwab@suse.de>
15636
15637 [BZ #14964]
15638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15639 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15640
e83d7298
DM
156412013-01-09 David S. Miller <davem@davemloft.net>
15642
034ed64b 15643 [BZ #15003]
e83d7298
DM
15644 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15645 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15646 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15647 TCP_FASTOPEN): Define.
15648 (tcp_repair_opt): New structure.
15649 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15650 enum values.
15651 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15652 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15653 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15654 (tcp_cookie_transactions): New structure.
15655
d5e0b9bd
AB
156562013-01-09 Anton Blanchard <anton@samba.org>
15657
15658 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15659 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15660 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15661 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15662
0c07e3ea
JM
156632013-01-09 Joseph Myers <joseph@codesourcery.com>
15664
15665 * include/features.h (__USE_ANSI): Remove.
15666
232f7002
RM
156672013-01-09 Roland McGrath <roland@hack.frob.com>
15668
ad98e30c
RM
15669 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15670
232f7002
RM
15671 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15672
950c99ca
SP
156732013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
b5792741
SP
15675 * sysdeps/s390/fpu/libm-test-ulps: Update.
15676
47cf2278
SP
15677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15678
950c99ca
SP
15679 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15680 (__acr): Likewise.
15681 (__cpy): Likewise.
15682 (norm): Likewise.
15683 (denorm): Likewise.
15684 (__mp_dbl): Likewise.
15685 (__dbl_mp): Likewise.
15686 (add_magnitudes): Likewise.
15687 (sub_magnitudes): Likewise.
15688 (__add): Likewise.
15689 (__sub): Likewise.
15690 (__mul): Likewise.
15691 (__inv): Likewise.
15692 (__dvd): Likewise.
15693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15694 (__acr): Likewise.
15695 (__cpy): Likewise.
15696 (norm): Likewise.
15697 (denorm): Likewise.
15698 (__mp_dbl): Likewise.
15699 (__dbl_mp): Likewise.
15700 (add_magnitudes): Likewise.
15701 (sub_magnitudes): Likewise.
15702 (__add): Likewise.
15703 (__sub): Likewise.
15704 (__mul): Likewise.
15705 (__inv): Likewise.
15706 (__dvd): Likewise.
15707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15708 (__acr): Likewise.
15709 (__cpy): Likewise.
15710 (norm): Likewise.
15711 (denorm): Likewise.
15712 (__mp_dbl): Likewise.
15713 (__dbl_mp): Likewise.
15714 (add_magnitudes): Likewise.
15715 (sub_magnitudes): Likewise.
15716 (__add): Likewise.
15717 (__sub): Likewise.
15718 (__mul): Likewise.
15719 (__inv): Likewise.
15720 (__dvd): Likewise.
15721
eede9df9
JM
157222013-01-08 Joseph Myers <joseph@codesourcery.com>
15723
15724 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15725 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15726 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15727 2 && __USE_EXTERN_INLINES]: Likewise.
15728
c40ea3d9
AJ
157292013-01-08 Andreas Jaeger <aj@suse.de>
15730
15731 [BZ# 14985]
15732 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15733 Remove.
15734 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15735 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15736
2ccdea26
AB
157372013-01-07 Anton Blanchard <anton@samba.org>
15738
15739 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15740 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15741 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15742 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15743 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15744 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15745 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15746 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15748 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15749 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15750 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15751 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15752 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15753 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15754 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15755 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15756 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15757 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15760 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15761 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15762 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15763 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15764 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15765 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15766 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15768 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15769 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15771 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15772 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15773 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15774 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15775 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15776 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15777 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15778 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15780 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15781 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15782
a9708fed
JM
157832013-01-07 Joseph Myers <joseph@codesourcery.com>
15784
375607b9
JM
15785 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15786 (__MALLOC_PMT): Likewise.
15787 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15788 [__GNUC__], only on [_LIBC].
15789 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15790 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15791 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15792 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15793 forward declaration.
15794 (realloc_hook_ini): Likewise.
15795 (memalign_hook_ini): Likewise.
15796 (__libc_memalign): Do not use __MALLOC_PMT in variable
15797 declaration.
15798 (__libc_valloc): Likewise.
15799 (__libc_pvalloc): Likewise.
15800 (__libc_calloc): Likewise.
15801 (__posix_memalign): Likewise.
15802
a9708fed
JM
15803 [BZ #14996]
15804 * math/s_casinh.c: Include <float.h>.
15805 (__casinh): Do not do computation with squaring and square root
15806 for large arguments.
15807 * math/s_casinhf.c: Include <float.h>.
15808 (__casinhf): Do not do computation with squaring and square root
15809 for large arguments.
15810 * math/s_casinhl.c: Include <float.h>.
15811 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15812 (__casinhl): Do not do computation with squaring and square root
15813 for large arguments.
15814 * math/libm-test.inc (casin_test): Add more tests.
15815 (casinh_test): Likewise.
15816 * sysdeps/i386/fpu/libm-test-ulps: Update.
15817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15818
afec409a
L
158192013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15820
15821 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15822 (__x86_64_raw_data_cache_size): Likewise.
15823 (__x86_64_data_cache_size_half): Likewise.
15824 (__x86_64_raw_data_cache_size_half): Likewise.
15825 (__x86_64_shared_cache_size): Likewise.
15826 (__x86_64_raw_shared_cache_size): Likewise.
15827 (__x86_64_shared_cache_size_half): Likewise.
15828 (__x86_64_raw_shared_cache_size_half): Likewise.
15829 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15830 to ...
15831 (__x86_data_cache_size): This.
15832 (__x86_64_raw_data_cache_size): Renamed to ...
15833 (__x86_raw_data_cache_size): This.
15834 (__x86_64_data_cache_size_half): Renamed to ...
15835 (__x86_data_cache_size_half): This.
15836 (__x86_64_raw_data_cache_size_half): Renamed to ...
15837 (__x86_raw_data_cache_size_half): This.
15838 (__x86_64_shared_cache_size): Renamed to ...
15839 (__x86_shared_cache_size): This.
15840 (__x86_64_raw_shared_cache_size): Renamed to ...
15841 (__x86_raw_shared_cache_size): This.
15842 (__x86_64_shared_cache_size_half): Renamed to ...
15843 (__x86_shared_cache_size_half): This.
15844 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15845 (__x86_raw_shared_cache_size_half): This.
15846 * sysdeps/x86_64/memcpy.S: Updated.
15847 * sysdeps/x86_64/memset.S: Likewise.
15848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15850 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15851
0b3986d0
DM
158522013-01-04 David S. Miller <davem@davemloft.net>
15853
15854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15855
e47686e9
AS
158562013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15857
d643bac1
AS
15858 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15859 1 to avoid redefinition warning.
15860 (__USE_GNU): Don't define.
15861 (init_signaling_nan): Protoize.
15862
e47686e9
AS
15863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15864
b18decba
SP
158652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15866
fffb407f
SP
15867 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15869 (__cpymn): Likewise.
15870 (norm): Remove commented code.
15871 (denorm): Likewise.
15872 (__mp_dbl): Likewise.
15873 (__inv): Likewise.
15874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15875 (__cpymn): Likewise.
15876 (norm): Remove commented code.
15877 (denorm): Likewise.
15878 (__mp_dbl): Likewise.
15879 (__inv): Likewise.
15880
b18decba
SP
15881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15882 mp_no value for 1.0 and 2.0.
15883 (norm): Use RADIXI instead of radixi.d.
15884 (denorm): Likewise.
15885 (__mul): Use 0.0 instead of zero.d.
15886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15887 mp_no value for 1.0 and 2.0.
15888 (norm): Use RADIXI instead of radixi.d.
15889 (denorm): Likewise.
15890 (__mul): Use 0.0 instead of zero.d.
15891
cdc1c96f
JM
158922013-01-04 Joseph Myers <joseph@codesourcery.com>
15893
15894 [BZ #14994]
15895 * math/s_casinh.c (__casinh): Reduce finite argument to first
15896 quadrant then set signs of results at the end.
15897 * math/s_casinhf.c (__casinhf): Likewise.
15898 * math/s_casinhl.c (__casinhl): Likewise.
15899 * math/libm-test.inc (casin_test): Add more tests.
15900 (casinh_test): Likewise.
15901 * sysdeps/i386/fpu/libm-test-ulps: Update.
15902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15903
302913e1
SP
159042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15905
6420d207
SP
15906 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15907
a9e48ab4
SP
15908 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15909
b7837264
SP
15910 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15911 declarations.
15912 (denorm): Likewise.
15913 (__mp_dbl): Likewise.
15914 (__inv): Likewise.
15915
f8af25d2
SP
15916 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15917 and adjust the header comment.
15918
302913e1
SP
15919 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15920 variable name from declaration.
15921
5d7dd1ca
L
159222013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15923
15924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15925 Initialize COMMON_CPUID_INDEX_7 element.
15926 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15927 (CPUID_RTM): Likewise.
15928 (HAS_RTM): Likewise.
15929 (COMMON_CPUID_INDEX_7): New enum.
15930
2f5f40f4
AS
159312013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15932
15933 [BZ #14981]
15934 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15935 size is zero, record memory as freed.
15936
4056f4a0
AJ
159372013-01-03 Andreas Jaeger <aj@suse.de>
15938
15939 * po/ia.po: Add new Interlingua translation.
15940
ab15736f 159412012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
15942
15943 * locale/programs/localedef.c: Fix description of '--posix' flag.
15944
568035b7
JM
159452013-01-02 Joseph Myers <joseph@codesourcery.com>
15946
e6898b8d
JM
15947 * NEWS: Update dates in second copyright notice.
15948 * README: Update copyright dates in example.
15949 * manual/libc.texinfo: Update copyright dates.
15950 * scripts/test-installation.pl: Update copyright date in --version
15951 output.
15952
0e2f9562
JM
15953 * hurd/ctty-input.c: Fix copyright notice formatting.
15954 * hurd/ctty-output.c: Likewise.
15955 * hurd/dtable.c: Likewise.
15956 * hurd/hurd-raise.c: Likewise.
15957 * hurd/hurdprio.c: Likewise.
15958 * hurd/msgportdemux.c: Likewise.
15959 * misc/sys/file.h: Likewise.
15960 * misc/sys/ioctl.h: Likewise.
15961 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15962 * sysdeps/mach/hurd/chdir.c: Likewise.
15963 * sysdeps/mach/hurd/fchdir.c: Likewise.
15964 * sysdeps/mach/hurd/rename.c: Likewise.
15965 * sysdeps/mach/hurd/rmdir.c: Likewise.
15966 * sysdeps/mach/hurd/seekdir.c: Likewise.
15967 * sysdeps/mach/hurd/setsid.c: Likewise.
15968 * sysdeps/posix/wait3.c: Likewise.
15969
568035b7
JM
15970 * All files with FSF copyright notices: Update copyright dates
15971 using scripts/update-copyrights.
15972 * intl/plural.c: Regenerated.
15973 * locale/programs/charmap-kw.h: Likewise.
15974 * locale/programs/locfile-kw.h: Likewise.
15975
da08f647
SP
159762013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15977
0f5477af
SP
15978 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15979 four values.
15980
44e0d4c2
SP
15981 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15982 calculation loop and add branch prediction.
15983
4d55b4e5
SP
15984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15985 check access beyond bounds of m1np.
15986
da08f647
SP
15987 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15988 MPTWO.
15989 (__inv): Remove local variable MPTWO to use the global
15990 constant.
15991 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15992 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15993 variable MPTWO.
15994 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15995 MP3HALFS static const.
15996
8e051029
DM
159972013-01-01 David S. Miller <davem@davemloft.net>
15998
15999 * po/ca.po: Update from translation team.
16000
f4cf5f2d
JM
160012013-01-01 Joseph Myers <joseph@codesourcery.com>
16002
16003 * scripts/update-copyrights: New file.
16004 * Makeconfig: Reformat copyright notice.
16005 * ctype/ctype.h: Likewise.
16006 * debug/swprintf_chk.c: Likewise.
16007 * elf/dl-cache.c: Likewise.
16008 * elf/dl-debug.c: Likewise.
16009 * elf/dl-object.c: Likewise.
16010 * grp/initgroups.c: Likewise.
16011 * hurd/Makefile: Likewise.
16012 * hurd/hurd/signal.h: Likewise.
16013 * hurd/hurdfault.c: Likewise.
16014 * hurd/hurdioctl.c: Likewise.
16015 * hurd/hurdlookup.c: Likewise.
16016 * hurd/intr-msg.c: Likewise.
16017 * iconv/gconv_open.c: Likewise.
16018 * libio/swprintf.c: Likewise.
16019 * locale/lc-ctype.c: Likewise.
16020 * locale/nl_langinfo.c: Likewise.
16021 * mach/Machrules: Likewise.
16022 * mach/Makefile: Likewise.
16023 * malloc/obstack.h: Likewise.
16024 * manual/Makefile: Likewise.
16025 * manual/tsort.awk: Likewise.
16026 * misc/bits/stab.def: Likewise.
16027 * nis/nis_print_group_entry.c: Likewise.
16028 * nis/nis_table.c: Likewise.
16029 * nis/nss_compat/compat-pwd.c: Likewise.
16030 * nis/nss_compat/compat-spwd.c: Likewise.
16031 * po/Makefile: Likewise.
16032 * posix/fnmatch.c: Likewise.
16033 * posix/regex.h: Likewise.
16034 * resolv/Makefile: Likewise.
16035 * resolv/nss_dns/dns-network.c: Likewise.
16036 * resolv/res_hconf.c: Likewise.
16037 * scripts/gen-sorted.awk: Likewise.
16038 * soft-fp/soft-fp.h: Likewise.
16039 * stdio-common/printf.h: Likewise.
16040 * stdlib/monetary.h: Likewise.
16041 * stdlib/random.c: Likewise.
16042 * stdlib/random_r.c: Likewise.
16043 * sysdeps/generic/Makefile: Likewise.
16044 * sysdeps/gnu/Makefile: Likewise.
16045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16056 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16057 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16058 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16059 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16061 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16068 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16069 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16072 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16073 * sysdeps/mach/hurd/errnos.awk: Likewise.
16074 * sysdeps/mach/hurd/fork.c: Likewise.
16075 * sysdeps/mach/hurd/getcwd.c: Likewise.
16076 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16077 * sysdeps/mach/hurd/mmap.c: Likewise.
16078 * sysdeps/mach/hurd/utimes.c: Likewise.
16079 * sysdeps/mach/hurd/xmknod.c: Likewise.
16080 * sysdeps/posix/profil.c: Likewise.
16081 * sysdeps/posix/readdir_r.c: Likewise.
16082 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16083 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16084 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16085 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16087 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16091 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16092 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16093 * sysdeps/pthread/lio_listio.c: Likewise.
16094 * sysdeps/sparc/dl-procinfo.h: Likewise.
16095 * sysdeps/unix/i386/sysdep.S: Likewise.
16096 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16097 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16098 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16099 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16101 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16102 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16103 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16104 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16105 * sysdeps/wordsize-32/divdi3.c: Likewise.
16106 * time/sys/time.h: Likewise.
16107 * wcsmbs/Makefile: Likewise.
16108
0549fbba
DM
161092013-01-01 David S. Miller <davem@davemloft.net>
16110
a141f1a7
DM
16111 * po/fr.po: Update from translation team.
16112
0549fbba
DM
16113 * catgets/gencat.c: Update copyright year.
16114 * csu/version.c: Likewise.
16115 * debug/catchsegv.sh: Likewise.
16116 * debug/pcprofiledump.c: Likewise.
16117 * debug/xtrace.sh: Likewise.
16118 * elf/ldconfig.c: Likewise.
16119 * elf/ldd.bash.in: Likewise.
16120 * elf/pldd.c: Likewise.
16121 * elf/sotruss.ksh: Likewise.
16122 * elf/sprof.c: Likewise.
16123 * iconv/iconv_prog.c: Likewise.
16124 * iconv/iconvconfig.c: Likewise.
16125 * locale/programs/locale.c: Likewise.
16126 * locale/programs/localedef.c: Likewise.
16127 * login/programs/pt_chown.c: Likewise.
16128 * malloc/memusage.sh: Likewise.
16129 * malloc/memusagestat.c: Likewise.
16130 * malloc/mtrace.pl: Likewise.
16131 * nscd/nscd.c: Likewise.
16132 * nss/getent.c: Likewise.
16133 * nss/makedb.c: Likewise.
16134 * posix/getconf.c: Likewise.
16135
18ea052c
SP
161362012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16137
16138 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16139 numbers.
16140
9c89fca6
MF
161412012-12-30 Mike Frysinger <vapier@gentoo.org>
16142
16143 * math/bits/mathcalls.h (modf): Use __nonnull.
16144
085ec079
SP
161452012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16146
16147 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16148 (split): Use macro CN instead of the bare value.
16149 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16150 could be used.
16151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16152 instead of the bare value.
16153 (power1): Likewise.
16154
6d9f97e1
SP
161552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16156
d63f73be
SP
16157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16158 __ATAN_TWOM.
16159 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16160
6d9f97e1
SP
16161 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16162 their values.
16163 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16164 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16165 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16166 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16167
4c4febf5
AJ
161682012-12-28 Andreas Jaeger <aj@suse.de>
16169
af5843ef
AJ
16170 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16171 values are from Linux 3.7.
16172
4c4febf5
AJ
16173 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16174 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16175
99136f82
SP
161762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16177
2f216c3c 16178 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16179 TRUE case.
16180
99136f82
SP
16181 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16182 (norm): Likewise.
16183 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16184 variables with preprocessor constants.
16185 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16186 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16188
7fffbdff
BH
161892012-12-27 Bruno Haible <bruno@clisp.org>
16190
16191 [BZ #14317]
16192 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16193 only if needed.
16194
b76eb5f0
SP
161952012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16196
31a7fe5c
SP
16197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16198 and use variable directly.
16199 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16200
b76eb5f0
SP
16201 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16202 MPONE.
16203 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16205 variable MPONE.
16206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16208 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16209 include directive. Remove local variable MPONE.
16210 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16211 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16212 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16213
2c8bfe7d
DM
162142012-12-25 David S. Miller <davem@davemloft.net>
16215
16216 * version.h (RELEASE): Set to "development".
16217 (VERSION): Set to "2.17.90".
16218 * NEWS: Add 2.18 section.
16219
147d03b0
DM
162202012-12-21 David S. Miller <davem@davemloft.net>
16221
16222 * po/hr.po: Update from translation team.
16223
a8ebb2b9
AK
162242012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16225
16226 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16227
95b4f1b6
SE
162282012-12-19 Steve Ellcey <sellcey@mips.com>
16229
b2d94007 16230 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16231
cedb2a90
MS
162322012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16233
16234 * manual/contrib.texi (Contributors): Spelling correction.
16235
bbf527d6
DM
162362012-12-15 David S. Miller <davem@davemloft.net>
16237
16238 * po/ru.po: Update from translation team.
16239
bc38c906
DM
162402012-12-13 David S. Miller <davem@davemloft.net>
16241
85429b1a
DM
16242 * NEWS: Mention IFUNC testsuite enhancements.
16243
d283e353
DM
16244 * po/pl.po: Update from translation team.
16245 * po/bg.po: Likewise.
16246
bc38c906
DM
16247 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16248 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16249
a181b0d7
DM
162502012-12-11 David S. Miller <davem@davemloft.net>
16251
4641d57e
DM
16252 * po/sv.po: Update from translation team.
16253
f7bc6495
DM
16254 * po/vi.po: Update from translation team.
16255
6fc9048f
DM
16256 * po/cs.po: Update from translation team.
16257
a181b0d7
DM
16258 * po/de.po: Update from translation team.
16259 * po/eo.po: Likewise.
16260 * po/nl.po: Likewise.
16261
f70bfe80
SP
162622012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16263
3c8b4190
SP
16264 [BZ #14246]
16265 * manual/argp.texi (Argp Helper Functions): Move node to follow
16266 Argp Parsing State.
16267
f70bfe80
SP
16268 [BZ #14872]
16269 * manual/conf.texi (Limits on File System Capacity): Mention if
16270 terminating null is included in the max size.
16271
188f0adf
AJ
162722012-12-10 Andreas Jaeger <aj@suse.de>
16273
16274 * po/cs.po: Update from translation team.
16275
56e7d3ad
SP
162762012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16277
16278 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16279 void pointer and cast to uintptr_t.
16280 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16281 path.
16282 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16283 * sysdeps/s390/s390-64/memset.S: Likewise.
16284
76f2d2ea 162852012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16286
16287 [BZ #14833]
16288 * menual/message.texi (Message Translation): Fix typos.
16289 (Helper programs for gettext): Likewise.
16290
67cbf9a2
AS
162912012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16292
16293 [BZ #14898]
16294 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16295 Change to -1.
16296
682d0e9a
DM
162972012-12-07 David S. Miller <davem@davemloft.net>
16298
16299 * po/libc.pot: Update.
16300
573cd484
RH
163012012-12-07 Richard Henderson <rth@redhat.com>
16302
7e9da188 16303 [BZ #10114]
573cd484
RH
16304 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16305 normal/normal case to before the switch.
16306 (_FP_DIV): Likewise.
16307
e933a943
MF
163082012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16309 Mike Frysinger <vapier@gentoo.org>
16310
16311 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16312 check for __NR_fadvise64_64.
16313
82123268
CM
163142012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16315
16316 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16317 0, not just to plain "0" as a statement.
16318 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16319 with cw.
16320
d9814526
JM
163212012-12-06 Joseph Myers <joseph@codesourcery.com>
16322
16323 * NEWS: Use sourceware.org in Bugzilla URL.
16324
7728c574
SP
163252012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16326
f16946dd
SP
16327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16328 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16329
5704bbcb
SP
16330 * stdio-common/tst-put-error.c (do_test): Add newline to the
16331 padded test to ensure flush.
16332
17aa0516
JL
163332012-12-05 Jeff Law <law@redhat.com>
16334
16335 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16336
363313b5
JM
163372012-12-05 Joseph Myers <joseph@codesourcery.com>
16338
effbd42a
JM
16339 * README: Don't refer to ports add-on as distributed separately.
16340 Mention AArch64 in list of systems supported in the ports add-on.
16341
87600365
JM
16342 * LICENSES: Add more non-FSF copyright and license notices.
16343
a0d7066a
JM
16344 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16345 ((unused)).
16346
66ca5a5b
JM
16347 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16348
363313b5
JM
16349 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16350 10000 as width of padded output.
16351
b37984ad
JM
163522012-12-04 Joseph Myers <joseph@codesourcery.com>
16353
9003570a
JM
16354 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16355
b37984ad
JM
16356 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16357 variable LX with __attribute__ ((unused)).
16358 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16359 Likewise.
16360 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16362 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16363 with __attribute__ ((unused)).
16364
c8df52ec
DM
163652012-12-04 David S. Miller <davem@abraco.davemloft.net>
16366
16367 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16368
b3b099af
JM
163692012-12-04 Joseph Myers <joseph@codesourcery.com>
16370
c33aa6e3
JM
16371 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16372 (CFLAGS-nldbl-acos.c): New variable.
16373 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16374 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16375 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16376 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16377 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16378 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16379 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16380 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16381 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16382 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16383 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16384 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16385 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16386 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16387 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16388 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16389 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16390 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16391 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16392 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16393 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16394 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16395 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16396 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16397 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16398 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16399 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16400 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16401 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16402 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16403 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16404 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16405 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16406 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16407 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16408 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16409 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16410 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16411 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16412 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16413 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16414 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16415 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16416 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16417 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16418 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16419 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16420 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16421 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16422 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16423 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16424 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16425 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16426 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16427 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16428 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16429 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16430 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16431 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16432 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16433 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16434 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16435 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16436 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16437 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16438 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16439 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16440 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16441 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16442 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16443 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16444 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16445 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16446 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16447 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16448 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16449 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16450 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16451 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16452 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16453 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16454 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16455 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16456 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16457 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16458 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16459 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16460 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16461 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16462 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16463 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16464 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16465 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16466 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16467 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16468 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16469 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16470
20f0018d
JM
16471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16472 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16473
b3b099af
JM
16474 [BZ #14914]
16475 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16476 whole low double instead of just low 47 bits when splitting values
16477 into two parts.
16478
029264d1
AM
164792012-12-03 Allan McRae <allan@archlinux.org>
16480
16481 * manual/stdio.texi (Predefined Printf Handlers): Remove
16482 @hsep and @vsep usage.
16483
c9d6789e
MF
164842012-12-03 Mike Frysinger <vapier@gentoo.org>
16485
16486 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16487 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16488
4b7634a5
JL
164892012-12-03 Jeff Law <law@redhat.com>
16490
16491 * time/sys/time.h (settimeofday): Do not mark TV argument
16492 as __nonnull.
16493
eb6cbd24
MF
164942012-12-01 Mike Frysinger <vapier@gentoo.org>
16495
16496 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16497 when currently writing and seek to current position when not.
16498 * libio/Makefile (tests): Remove bug-fclose1.
16499 * libio/bug-fclose1.c: Delete.
16500
f638872a
JM
165012012-12-01 Joseph Myers <joseph@codesourcery.com>
16502
16503 * manual/arith.texi (feenableexcept): Fix typo.
16504 (fedisableexcept): Likewise.
16505
48085d14
RM
165062012-11-30 Roland McGrath <roland@hack.frob.com>
16507
16508 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16509 second, differently-typed declaration, rather than a cast.
16510
1a538b9f
SP
165112012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16512
16513 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16514 * include/rpc/svc.h: ... here.
16515
d07f2ff1 165162012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
16517
16518 [BZ #13013]
16519 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16520 depending n and resplen2 to catch cases where answer
16521 equals answerp2.
16522
c93ec1f0
CD
165232012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16524
16525 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16526 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16527
37db69de
MF
165282012-11-29 Mike Frysinger <vapier@gentoo.org>
16529
16530 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16531
e10c4e4f
RM
165322012-11-29 Roland McGrath <roland@hack.frob.com>
16533
16534 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16535
2af1b328
JL
165362012-11-28 Jeff Law <law@redhat.com>
16537
16538 [BZ #13761]
16539 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16540 dataset_temporary. Track alloca usage into alloca_used.
16541 If dataset is large allocate and release it via malloc/free.
16542
111db5b1
FW
165432012-06-04 Florian Weimer <fweimer@redhat.com>
16544
f06cc227 16545 [BZ #14197]
111db5b1
FW
16546 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16547
dd694abd
DM
165482012-11-28 David S. Miller <davem@davemloft.net>
16549
16550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16551
9984dd01
JM
165522012-11-28 Joseph Myers <joseph@codesourcery.com>
16553
16554 [BZ #14803]
16555 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16556 of pi/2 rounded to nearest to 64 bits.
16557 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16558 nearest to 64 bits.
16559 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16560 bits.
16561
14bc93a9
JL
165622012-11-28 Jeff Law <law@redhat.com>
16563 Martin Osvald <mosvald@redhat.com>
16564
16565 [BZ #14889]
16566 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16567 * sunrpc/svc.c: Include time.h.
16568 (__svc_accept_failed): New function.
16569 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16570 any reason other than EINTR, call __svc_accept_failed.
16571 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16572 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16573
e3c6aa3a
AS
165742012-11-28 Andreas Schwab <schwab@suse.de>
16575
16576 * scripts/abilist.awk: Also handle indirect functions in .opd
16577 section.
16578
1bead169
JM
165792012-11-28 Joseph Myers <joseph@codesourcery.com>
16580
16581 [BZ #13881]
16582 * sysdeps/x86/fpu/powl_helper.c: New file.
16583 * sysdeps/x86/fpu/Makefile: Likewise.
16584 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16585 (p3): New object.
16586 (__ieee754_powl): Use __powl_helper for finite arguments except
16587 integer exponents below 8.
16588 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16589 (p3): New object.
16590 (__ieee754_powl): Use __powl_helper for finite arguments except
16591 integer exponents below 8.
16592 * math/libm-test.inc (pow_test): Add more tests and enable some
16593 previously disabled tests.
16594 * sysdeps/i386/fpu/libm-test-ulps: Update.
16595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16596
0817d63d
SP
165972012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16598 Carlos O'Donell <carlos_odonell@mentor.com>
16599
16600 * nss/makedb.c (is_prime): Assert that input is odd and greater
16601 than 4. Note that fact in a comment too.
16602 (next_prime): Add 4 to input.
16603
de2fd463
SP
166042012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16605
16606 [BZ #11741]
16607 * libio/Makefile (tests): Add test case tst-fwrite-error.
16608 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16609 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16610 * libio/tst-fwrite-error.c: New test case.
16611
c515fb51
L
166122012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16613
16614 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16615 before casting to void *.
16616 * include/libc-internal.h (__pointer_type): New macro.
16617 (__integer_if_pointer_type_sub): Likewise.
16618 (__integer_if_pointer_type): Likewise.
16619 (cast_to_integer): Likewise.
16620 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16621 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16622 before casting to atomic64_t.
16623 (atomic_exchange_acq): Likewise.
16624 (__arch_exchange_and_add_body): Likewise.
16625 (__arch_add_body): Likewise.
16626 (atomic_add_negative): Likewise.
16627 (atomic_add_zero): Likewise.
16628
4cf77aa9
JM
166292012-11-26 Joseph Myers <joseph@codesourcery.com>
16630
16631 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16632 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16633 (add_fdes): Likewise.
16634 (linear_search_fdes): Likewise.
16635 (binary_search_unencoded_fdes): Likewise.
16636
d260b3b4
AS
166372012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16638
16639 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16640
67060746
AC
166412012-11-24 Adam Conrad <adconrad@0c3.net>
16642
16643 * configure.in: Autodetect C++ header directories.
16644 * configure: Regenerated.
16645
800938a1
MF
166462012-11-23 Mike Frysinger <vapier@gentoo.org>
16647
16648 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16649
4e6e34e6
AS
166502012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16651
16652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16653
7c7feb47
JM
166542012-11-22 Joseph Myers <joseph@codesourcery.com>
16655
7184dcdf
JM
16656 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16657 LDBL_MANT_DIG == 106]: Disable some tests.
16658 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16659 Likewise.
16660 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16661 Likewise.
16662
0a42601f
JM
16663 [BZ #14871]
16664 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16665 input for small inputs. Return +/- pi/2 for large inputs.
16666 * math/libm-test.inc (atan_test): Add more tests.
16667
79c9b9fe
JM
16668 * sysdeps/generic/unwind-dw2-fde-glibc.c
16669 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16670 __attribute__ ((unused)).
16671
c60d3bf2
JM
16672 [BZ #14645]
16673 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16674 x * y if x and y are nonzero and z is zero.
16675
ef1e0867
JM
16676 [BZ #14811]
16677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16678 nonzero exponents with absolute value below 0x1p-117 to +/-
16679 0x1p-117.
16680
1468ded3
JM
16681 [BZ #14869]
16682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16683 up arguments below 2**-450, not just those below 2**-500.
16684 * math/libm-test.inc (hypot_test): Add another test.
16685
8e27e3cc
JM
16686 [BZ #14868]
16687 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16688 Return a+b for ratio over 2**120, not 2**60.
16689 * math/libm-test.inc (hypot_test): Add another test.
16690
c9c0279b
JM
16691 * math/libm-test.inc (clog_test): Use
16692 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16693 (clog10_test): Likewise.
16694
7c7feb47
JM
16695 [BZ #6778]
16696 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16697
fff1530e
AS
166982012-11-22 Andreas Schwab <schwab@suse.de>
16699
16700 * sysdeps/i386/fpu/libm-test-ulps: Update.
16701
94558d30
PT
167022012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16703
16704 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16705 printf output with newline.
16706
7e1be741
L
167072012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16708
6bfea974
L
16709 [BZ #14865]
16710 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16711 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16712 -z nodlopen, -z initfirst and -z execstack support.
16713 * configure: Regenerated.
16714
7e1be741
L
16715 * elf/elf.h (DF_1_NODIRECT): New macro.
16716 (DF_1_IGNMULDEF): Likewise.
16717 (DF_1_NOKSYMS): Likewise.
16718 (DF_1_NOHDR): Likewise.
16719 (DF_1_EDITED): Likewise.
16720 (DF_1_NORELOC): Likewise.
16721 (DF_1_SYMINTPOSE): Likewise.
16722 (DF_1_GLOBAUDIT): Likewise.
16723 (DF_1_SINGLETON): Likewise.
16724 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16725 DT_1_SUPPORTED_MASK bits.
16726 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16727
105ce2ce
CD
167282012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16729
16730 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16731
123be9de
TS
167322012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16733
d072f3f7
TS
16734 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16735 macro.
16736
123be9de
TS
16737 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16738 (sendmmsg): Move declarations...
16739 * socket/sys/socket.h: ... here.
16740 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16741 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16742 include it from...
16743 * socket/recvmmsg.c: ... this new file.
16744 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16745 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16746 definition of __sendmmsg hidden.
16747 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16748 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16749 Move ENOSYS stub into and include it from...
16750 * socket/sendmmsg.c: ... this new file.
16751 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16752 (sysdep_routines): Move recvmmsg and sendmmsg...
16753 * socket/Makefile (routines): ... here.
16754 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16755 (GLIBC_PRIVATE): Add __sendmmsg.
16756 * include/sys/socket.h (__sendmmsg): Add declarations.
16757 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16758 sendmmsg.
16759
cf9a5d18
JM
167602012-11-20 Joseph Myers <joseph@codesourcery.com>
16761
16762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16763 variable I1 with __attribute__ ((unused)).
16764 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16765
ecd4caf9
JM
167662012-11-19 Joseph Myers <joseph@codesourcery.com>
16767
be14d48f
JM
16768 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16769 DUMMY variables with __attribute__ ((unused)).
16770
ecd4caf9
JM
16771 * bits/byteswap.h: Include <bits/types.h>.
16772 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16773
986cab95
PT
167742012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16775
16776 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16777 string_t. Do not manually set errno.
16778 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16779 length with __strnlen. Make sure to both set errno and return it on
16780 failure.
16781
6d33cc9d
DM
167822012-11-19 David S. Miller <davem@davemloft.net>
16783
16784 With help from Joseph Myers.
16785 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16786 very large arguments properly.
16787 * math/libm-test.inc (atan_test): New tests.
16788 (atan2_test): New tests.
16789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16791
ee663277
JM
167922012-11-19 Joseph Myers <joseph@codesourcery.com>
16793
877f2d8e
JM
16794 [BZ #14856]
16795 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16796 Define to 3.
16797
116fc08a
JM
16798 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16799 [POSIX] (EADDRNOTAVAIL): Likewise.
16800 [POSIX] (EAFNOSUPPORT): Likewise.
16801 [POSIX] (EALREADY): Likewise.
16802 [POSIX] (ECONNABORTED): Likewise.
16803 [POSIX] (ECONNREFUSED): Likewise.
16804 [POSIX] (ECONNRESET): Likewise.
16805 [POSIX] (EDESTADDRREQ): Likewise.
16806 [POSIX] (EDQUOT): Likewise.
16807 [POSIX] (EHOSTUNREACH): Likewise.
16808 [POSIX] (EIDRM): Likewise.
16809 [POSIX] (EISCONN): Likewise.
16810 [POSIX] (ELOOP): Likewise.
16811 [POSIX] (EMULTIHOP): Likewise.
16812 [POSIX] (ENETDOWN): Likewise.
16813 [POSIX] (ENETUNREACH): Likewise.
16814 [POSIX] (ENOBUFS): Likewise.
16815 [POSIX] (ENODATA): Likewise.
16816 [POSIX] (ENOLINK): Likewise.
16817 [POSIX] (ENOMSG): Likewise.
16818 [POSIX] (ENOPROTOOPT): Likewise.
16819 [POSIX] (ENOSR): Likewise.
16820 [POSIX] (ENOSTR): Likewise.
16821 [POSIX] (ENOTCONN): Likewise.
16822 [POSIX] (ENOTSOCK): Likewise.
16823 [POSIX] (EOPNOTSUPP): Likewise.
16824 [POSIX] (EOVERFLOW): Likewise.
16825 [POSIX] (EPROTO): Likewise.
16826 [POSIX] (EPROTONOSUPPORT): Likewise.
16827 [POSIX] (EPROTOTYPE): Likewise.
16828 [POSIX] (ESTALE): Likewise.
16829 [POSIX] (ETIME): Likewise.
16830 [POSIX] (ETXTBSY): Likewise.
16831 [POSIX] (EWOULDBLOCK): Likewise.
16832 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16833 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16834 [POSIX] (SEEK_CUR): Likewise.
16835 [POSIX] (SEEK_END): Likewise.
16836 [POSIX || UNIX98] (mode_t): Do not require.
16837 [POSIX] (off_t): Likewise.
16838 [POSIX] (pid_t): Likewise.
16839 [POSIX] (sys/stat.h): Do not allow header.
16840 [POSIX] (unistd.h): Likewise.
16841 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16842 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16843 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16844 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16845 require.
16846 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16847 sigevent): Specify elements.
16848 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16849 entry.
16850 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16851 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16852
a483863f
JM
16853 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16854 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16855 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16856 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16857 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16858 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16859 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16860 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16861 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16862 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16863 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16864 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16865 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16866 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16867 Likewise.
16868 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16869 Likewise.
16870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16871 Likewise.
16872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16873 Likewise.
16874 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16875 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16876 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16877 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16878 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16879 Specify lower bound on value.
16880 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16881 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16882 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16883 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16884 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16885 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16886 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16887 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16888 value.
16889 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16890 as optional.
16891 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16892 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16893 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16894 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16895 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16896 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16897 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16898 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16899 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16900 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16901 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16902 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16903 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16904 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16905 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16906 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16907 entry.
16908 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16909 optional.
16910 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16911 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16912 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16913 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16914 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16915 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16916 Likewise.
16917 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16918 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16919 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16920 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16921 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16922 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16923 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16924 as optional.
16925 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16926 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16928 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16929 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16930 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16931 specify as optional.
16932 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16933 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16934 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16935 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16936 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16937 [XPG3] (NL_LANGMAX): Likewise.
16938 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16939 [POSIX || XPG3] (NL_NMAX): Likewise.
16940 [POSIX || XPG3] (NL_SETMAX): Likewise.
16941 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16942 [XPG3] (NZERO): Likewise.
16943 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16944 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16945 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16946 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16947 (REG_ERANGE): Expect.
16948 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16949 optional-constant.
16950 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16951 Use (void) in prototype.
16952 [POSIX] (*_t): Allow.
16953 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16954 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16955 (WRDE_BADVAL): Expect.
16956
5ba924e3
JM
16957 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16958 expect.
16959 [XPG3 || XPG4] (O_RSYNC): Likewise.
16960 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16961 Likewise.
16962 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16963 [XPG3 || XPG4] (sigqueue): Likewise.
16964 [XPG3 || XPG4] (sigtimedwait): Likewise.
16965 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16966 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16967 [XPG3 || XPG4] (vsnprintf): Likewise.
16968 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16969 Likewise.
16970 [XPG3 || XPG4] (blksize_t): Likewise.
16971 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16972 Likewise.
16973 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16974 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16975 [XPG3 || XPG4] (struct itimerspec): Likewise.
16976 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16977 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16978 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16979 [XPG3 || XPG4] (clockid_t): Likewise.
16980 [XPG3 || XPG4] (timer_t): Likewise.
16981 [XPG3 || XPG4] (clock_getres): Likewise.
16982 [XPG3 || XPG4] (clock_gettime): Likewise.
16983 [XPG3 || XPG4] (clock_settime): Likewise.
16984 [XPG3 || XPG4] (nanosleep): Likewise.
16985 [XPG3 || XPG4] (timer_create): Likewise.
16986 [XPG3 || XPG4] (timer_delete): Likewise.
16987 [XPG3 || XPG4] (timer_gettime): Likewise.
16988 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16989 [XPG3 || XPG4] (timer_settime): Likewise.
16990 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16991 [XPG3 || XPG4] (getlogin_r): Likewise.
16992 [XPG3 || XPG4] (pread): Likewise.
16993 [XPG3 || XPG4] (pthread_atfork): Likewise.
16994 [XPG3 || XPG4] (pwrite): Likewise.
16995
ee663277
JM
16996 [BZ #14835]
16997 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16998 <bits/siginfo.h>.
16999
942caa16
PT
170002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17001
e19af380
PT
17002 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17003 finalizing MALLSTREAM.
17004
942caa16
PT
17005 * sysdeps/mach/hurd/syncfs.c: New file.
17006
cfde9b46
SP
170072012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17008
17009 [BZ #14719]
17010 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17011 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17013 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17014 (_nss_dns_gethostbyname4_r): Likewise.
17015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17016 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17017
f6da27e5
PH
170182012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17019
17020 [BZ #13763]
17021 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17022
6665d4a2
SM
170232012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17024
1f51ee92
SM
17025 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17026 * elf/cache.c (print_entry): Print ",AArch64" for
17027 FLAG_AARCH64_LIB64
17028
6665d4a2
SM
17029 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17030 * elf/cache.c (print_entry): Print ",hard-float" for
17031 FLAG_ARM_LIBHF.
17032
05b227bd
DM
170332012-11-18 David S. Miller <davem@davemloft.net>
17034
17035 With help from Joseph Myers.
17036 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17037 cutoff to 2**-13.
17038 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17039 cutoff to 2**-25.
17040 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17041 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17042 small.
17043 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17044 * math/libm-test.inc (y0_test): New tests.
17045 (y1_test): New tests.
17046 * sysdeps/i386/fpu/libm-test-ulps: Update.
17047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17049
786b0b67
AS
170502012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17051
17052 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17053 64-bit targets.
17054 * configure: Regenerated.
17055
8e18b86d
DM
170562012-11-17 David S. Miller <davem@davemloft.net>
17057
17058 [BZ #14811]
17059 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17060 nonzero exponents with absolute value below 0x1p-128 to +/-
17061 0x1p-128.
17062
531f1ae0
JM
170632012-11-17 Joseph Myers <joseph@codesourcery.com>
17064
12df29e2
JM
17065 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17066
150dc1a0
JM
17067 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17068
531f1ae0
JM
17069 * posix/getconf-speclist.c: New file.
17070 * posix/posix-envs.def: Likewise.
17071 * posix/confstr.c (START_ENV_GROUP): New macro.
17072 (END_ENV_GROUP): Likewise.
17073 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17074 (KNOWN_PRESENT_ENV_STRING): Likewise.
17075 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17076 (UNKNOWN_ENVIRONMENT): Likewise.
17077 (confstr): Include posix-envs.def instead of handling
17078 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17079 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17080 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17081 (END_ENV_GROUP): Likewise.
17082 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17083 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17084 (UNKNOWN_ENVIRONMENT): Likewise.
17085 (__sysconf): Include posix-envs.def instead of handling associated
17086 cases directly here.
17087 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17088 preprocessing getconf-speclist.c rather than running getconf or
17089 generating empty file.
17090
a93f9cbc
PT
170912012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17092
17093 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17094
d64d9f87
AL
170952012-11-16 Andrej Lajovic <natrij@gmail.com>
17096
17097 [BZ #14672]
17098 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17099
447885eb
DM
171002012-11-16 David S. Miller <davem@davemloft.net>
17101
17102 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17103 smaller than LDBL_EPSILON/2.0L, just return xm1.
17104
bcbf9830
L
171052012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 * elf/tst-array1.c (init): Set constructor priority to 1000.
17108 (fini): Set destructor priority to 1000.
17109 * elf/tst-array2dep.c: Likewise.
17110
2b766585
SP
171112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17112
17113 [BZ #11741]
17114 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17115 (_IO_new_file_xsputn): Also return EOF if none of the input
17116 data was written when overflow failed.
17117 * libio/iopadn.c (_IO_padn): Likewise.
17118 * libio/iowpadn.c (_IO_wpadn): Likewise.
17119 * stdio-common/tst-put-error.c: Add copyright notice.
17120 (do_test): Add case for printing padded string.
17121 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17122 _IO_padn returned error.
17123 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17124 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17125 return EOF.
17126
b1848fde
SP
171272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17128
17129 * libio/libioP.h: Add comment note that the references to C++
17130 bits are now obsolete.
17131
2fd89785
MS
171322012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17133
17134 * math/libm-test.inc (check_complex): Use asprintf.
17135
e3ea5409
JM
171362012-11-14 Joseph Myers <joseph@codesourcery.com>
17137
17138 * debug/pcprofiledump.c (print_version): Update copyright year.
17139 * malloc/memusagestat.c (print_version): Likewise.
17140
2e64d265
L
171412012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 [BZ #14831]
17144 * elf/Makefile (tests): Add tst-audit8.
17145 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17146 ($(objpfx)tst-audit8.out): New target.
17147 (tst-audit8-ENV): New variable.
17148 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17149 audit if l_reloc_result is NULL.
17150 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17151 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17152 * elf/tst-audit8.c: New file.
17153
c485e4d2
MS
171542012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17155
17156 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17157 * misc/Makefile (CFLAGS-select.c): Define.
17158 * posix/Makefile (CFLAGS-pause.c): Define.
17159
3a0d900a
DM
171602012-11-13 David S. Miller <davem@davemloft.net>
17161
17162 * crypt/Makefile: Move test targets after toplevel Rules
17163 inclusion. Grab any necessary sysdep routines when linking.
17164 * crypt/md5.c (md5_process_block): Remove define, we will always
17165 name it __md5_process_block.
17166 (md5_finish_ctx): Update md5_process_block call.
17167 (md5_stream): Likewise.
17168 (md5_process_bytes): Likewise.
17169 (md5_process_block): Rename to __md5_process_block and move to ...
17170 * crypt/md5-block.c: ... here.
17171 * crypt/sha256.c (sha256_process_block): Move to ...
17172 * crypt/sha256-block.c: ... here.
17173 * crypt/sha512.c (sha512_process_block): Move to ...
17174 * crypt/sha512-block.c: ... here.
17175 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17176 path.
17177 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17178 * sysdeps/sparc/sparc64/multiarch/Makefile
17179 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17180 crypt subdir.
17181 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17182 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17183 multiarch changes.
17184 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17185 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17186 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17187 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17188 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17189 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17190 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17191 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17192 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17193 file.
17194 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17195 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17196 file.
17197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17198
8ca89318
JM
171992012-11-13 Joseph Myers <joseph@codesourcery.com>
17200
e27d476a
JM
17201 * timezone/tzselect.ksh: Update from tzcode git revision
17202 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17203 * timezone/zdump.c: Likewise.
17204 * timezone/zic.c: Likewise.
17205 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17206 in TZVERSION setting, not $(PKGVERSION).
17207 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17208 REPORT_BUGS_TO settings.
17209
8ca89318
JM
17210 [BZ #14838]
17211 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17212 macro.
17213
47594329
MS
172142012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17215
17216 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17217 detection to immediately after _FP_ROUND().
17218 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17219 bits are 0.
17220
640ac3f1
DM
172212012-11-11 David S. Miller <davem@davemloft.net>
17222
17223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17224 inttypes.h
17225 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17226 __close rather than their public counterparts.
17227
3d2577bb
JM
172282012-11-10 Joseph Myers <joseph@codesourcery.com>
17229
17230 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17231 file.
17232 [UNIX98] (sem_timedwait): Do not expect.
17233 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17234 [XPG4 || UNIX98] (sockatmark): Do not expect.
17235 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17236 (clock_getcpuclockid): Do not expect.
17237 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17238 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17239 Do not expect.
17240 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17241 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17242 [UNIX98] (vwscanf): Likewise.
17243 [UNIX98] (vswscanf): Likewise.
17244
fb1ae1ee
JM
172452012-11-09 Joseph Myers <joseph@codesourcery.com>
17246
9ec6f8bd
JM
17247 * timezone/version.h: Remove file.
17248 * timezone/README: Do not refer to version.h.
17249 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17250 $(objpfx)version.h.
17251 ($(objpfx)zdump.o): Likewise.
c3f81911 17252 ($(objpfx)version.h): New target.
9ec6f8bd 17253
0aa8f8a1
JM
17254 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17255 2012i.
17256 * timezone/README: Don't mention modification to tzselect.ksh.
17257 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17258 work on unmodified tzselect.ksh. Substitute version numbers in
17259 tzselect.ksh.
17260
4e87147f
JM
17261 * Makefile (format-me): Remove.
17262 (INSTALL): Adjust indentation. Use commands directly instead of
17263 using $(format-me).
17264
8b748aed
JM
17265 * aclocal.m4 (ACX_PKGVERSION): New macro.
17266 (ACX_BUGURL): Likewise.
17267 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17268 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17269 (REPORT_BUGS_TO): Likewise.
17270 * configure: Regenerated.
17271 * config.h.in (PKGVERSION): New macro.
17272 (REPORT_BUGS_TO): Likewise.
17273 * config.make.in (PKGVERSION): New variable.
17274 (PKGVERSION_TEXI): Likewise.
17275 (REPORT_BUGS_TO): Likewise.
17276 (REPORT_BUGS_TEXI): Likewise.
17277 * Makefile (format-me): Use -I$(common-objpfx)manual.
17278 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17279 ($(common-objpfx)manual/%): New target.
17280 (manual/%): Remove target.
17281 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17282 (print_version): Use PKGVERSION.
17283 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17284 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17285 and REPORT_BUGS_TO.
17286 ($(objpfx)xtrace): Likewise.
17287 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17288 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17289 (print_version): Use PKGVERSION.
17290 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17291 (do_version): Use PKGVERSION.
17292 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17293 REPORT_BUGS_TO.
17294 (common-ldd-rewrite): Likewise.
17295 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17296 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17297 (print_version): Use PKGVERSION.
17298 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17299 * elf/pldd.c (argp_program_bug_address): Remove variable.
17300 (more_help): New function.
17301 (argp): Use more_help.
17302 (print_version): Use PKGVERSION.
17303 * elf/sln.c (main): Use PKGVERSION.
17304 (usage): Use REPORT_BUGS_TO.
17305 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17306 (top level): Use PKGVERSION.
17307 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17308 (print_version): Use PKGVERSION.
17309 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17310 (print_version): Use PKGVERSION.
17311 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17312 (print_version): Use PKGVERSION.
17313 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17314 (print_version): Use PKGVERSION.
17315 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17316 (print_version): Use PKGVERSION.
17317 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17318 (print_version): Use PKGVERSION.
17319 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17320 and BUGURL.
17321 ($(objpfx)memusage): Likewise.
17322 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17323 (do_version): Use PKGVERSION.
17324 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17325 (print_version): Use PKGVERSION.
17326 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17327 ($PKGVERSION): New variable.
17328 ($REPORT_BUGS_TO): Likewise.
17329 (usage): Use $REPORT_BUGS_TO.
17330 (top level): Use $PKGVERSION.
17331 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17332 ($(objpfx)pkgvers.texi): New rule.
17333 ($(objpfx)stamp-pkgvers): Likewise.
17334 * manual/install.texi: Include pkgvers.texi.
17335 (--with-pkgversion): Document new configure option.
17336 (--with-bugurl): Likewise.
17337 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17338 than necessarily for this particular distribution. Use
17339 REPORT_BUGS_TO for where to report bugs.
17340 * INSTALL: Regenerated.
17341 * manual/libc.texinfo: Include pkgvers.texi.
17342 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17343 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17344 (print_version): Use PKGVERSION.
17345 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17346 (print_version): Use PKGVERSION.
17347 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17348 (print_version): Use PKGVERSION.
17349 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17350 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17351 macro.
17352 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17353 (print_version): Use PKGVERSION.
17354 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17355 (print_version): Use PKGVERSION.
17356 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17357 and PKGVERSION.
17358
92e4b6a9
JM
17359 * timezone/checktab.awk: Update from tzcode 2012i.
17360 * timezone/ialloc.c: Likewise.
17361 * timezone/private.h: Likewise.
17362 * timezone/scheck.c: Likewise.
17363 * timezone/tzfile.h: Likewise.
17364 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17365 (TZVERSION): Hardcode tzcode version number.
17366 * timezone/zdump.c: Update from tzcode 2012i.
17367 * timezone/zic.c: Likewise.
17368 * timezone/version.h: New file.
17369 * timezone/README: Describe version.h. Update upstream location.
17370
9bde902c
JM
17371 [BZ #14824]
17372 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17373 (mktemp): Enable declaration.
17374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17378 Likewise.
17379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17380 Likewise.
17381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17382 Likewise.
17383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17384 Likewise.
17385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17386 Likewise.
17387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17388 Likewise.
17389
fb1ae1ee
JM
17390 [BZ #14821]
17391 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17392 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17393 for copies of such integer values.
17394 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17395 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17396
2c1adbcb
AJ
173972012-11-09 Andreas Jaeger <aj@suse.de>
17398
17399 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17400 definitions and declarations that are provided by
17401 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17402
d0f8457e
AK
174032012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17404
3a235abb 17405 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17406 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17407 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17408 definition.
17409
57241e26
MS
174102012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17411
17412 * elf/elf.h: Update comment before AArch64 relocations.
17413
60e8270d
DM
174142012-11-07 David S. Miller <davem@davemloft.net>
17415
17416 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17417 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17418 (__start_context): Declare.
17419 (__makecontext_ret): Delete.
17420 (__makecontext): Hook up __start_context instead of
17421 __makecontext_ret.
17422 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17423 (sysdep_routines): Add __start_context when in stdlib.
17424
0fbb0fbc
JM
174252012-11-07 Joseph Myers <joseph@codesourcery.com>
17426
17427 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17428 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17429 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17430 hardcoded "nm".
17431 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17432 (READELF): New variable. Use it instead of hardcoded "readelf".
17433
eb48db7e
L
174342012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17437 * sysdeps/x86/Makefile: Here.
17438 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17439 * sysdeps/x86/tst-xmmymm.sh: This.
17440
05bcf62a
JM
174412012-11-07 Joseph Myers <joseph@codesourcery.com>
17442
c4b6cf53
JM
17443 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17444 expectations.
17445 [UNIX98] (pthread_barrier_t): Do not expect.
17446 [UNIX98] (pthread_barrierattr_t): Likewise.
17447 [UNIX98] (pthread_spinlock_t): Likewise.
17448 [UNIX98] (pthread_barrier_destroy): Likewise.
17449 [UNIX98] (pthread_barrier_init): Likewise.
17450 [UNIX98] (pthread_barrier_wait): Likewise.
17451 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17452 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17453 [UNIX98] (pthread_barrierattr_init): Likewise.
17454 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17455 [UNIX98] (pthread_getcpuclockid): Likewise.
17456 [UNIX98] (pthread_mutex_timedlock): Likewise.
17457 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17458 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17459 [UNIX98] (pthread_sigmask): Likewise.
17460 [UNIX98] (pthread_spin_destroy): Likewise.
17461 [UNIX98] (pthread_spin_init): Likewise.
17462 [UNIX98] (pthread_spin_lock): Likewise.
17463 [UNIX98] (pthread_spin_trylock): Likewise.
17464 [UNIX98] (pthread_spin_unlock): Likewise.
17465 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17466 Do not expect.
17467 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17468 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17469 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17470 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17471 [XPG3 || XPG4] (pthread_key_t): Likewise.
17472 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17473 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17474 [XPG3 || XPG4] (pthread_once_t): Likewise.
17475 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17476 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17477 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17478 [XPG3 || XPG4] (pthread_t): Likewise.
17479
cbe6e120
JM
17480 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17481 not expect.
17482 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17483
1b126443
JM
17484 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17485 Change function return type to int.
17486
b961a573
JM
17487 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17488 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17489 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17490 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17491 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17492 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17493 [!POSIX] (posix_madvise): Likewise.
17494 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17495 && !UNIX98].
17496 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17497 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17498 (mode_t): Likewise.
17499 (posix_mem_offset): Likewise.
17500 (posix_typed_mem_get_info): Likewise.
17501 (posix_typed_mem_open): Likewise.
17502
9e188909
JM
17503 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17504 Change condition to [XOPEN2K8].
17505
05bcf62a
JM
17506 * conform/conformtest.pl: Preprocess allow-header data with -x c
17507 instead of from stdin.
17508 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17509 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17510 [C99-based standards] (cerfc): Likewise.
17511 [C99-based standards] (cexp2): Likewise.
17512 [C99-based standards] (cexpm1): Likewise.
17513 [C99-based standards] (clog10): Likewise.
17514 [C99-based standards] (clog1p): Likewise.
17515 [C99-based standards] (clog2): Likewise.
17516 [C99-based standards] (clgamma): Likewise.
17517 [C99-based standards] (ctgamma): Likewise.
17518 [C99-based standards] (cerff): Likewise.
17519 [C99-based standards] (cerfcf): Likewise.
17520 [C99-based standards] (cexp2f): Likewise.
17521 [C99-based standards] (cexpm1f): Likewise.
17522 [C99-based standards] (clog10f): Likewise.
17523 [C99-based standards] (clog1pf): Likewise.
17524 [C99-based standards] (clog2f): Likewise.
17525 [C99-based standards] (clgammaf): Likewise.
17526 [C99-based standards] (ctgammaf): Likewise.
17527 [C99-based standards] (cerfl): Likewise.
17528 [C99-based standards] (cerfcl): Likewise.
17529 [C99-based standards] (cexp2l): Likewise.
17530 [C99-based standards] (cexpm1l): Likewise.
17531 [C99-based standards] (clog10l): Likewise.
17532 [C99-based standards] (clog1pl): Likewise.
17533 [C99-based standards] (clog2l): Likewise.
17534 [C99-based standards] (clgammal): Likewise.
17535 [C99-based standards] (ctgammal): Likewise.
17536 * conform/data/inttypes.h-data [C99-based standards]: Include
17537 stdint.h-data. Remove all expectations for stdint.h contents.
17538 [C99-based standards] (PRI*): Do not allow.
17539 [C99-based standards] (SCN*): Likewise.
17540 [C99-based standards] (*_t): Likewise.
17541 [C99-based-standards] (PRId8): Expect macro.
17542 [C99-based-standards] (PRIi8): Likewise.
17543 [C99-based-standards] (PRIo8): Likewise.
17544 [C99-based-standards] (PRIu8): Likewise.
17545 [C99-based-standards] (PRIx8): Likewise.
17546 [C99-based-standards] (PRIX8): Likewise.
17547 [C99-based-standards] (SCNd8): Likewise.
17548 [C99-based-standards] (SCNi8): Likewise.
17549 [C99-based-standards] (SCNo8): Likewise.
17550 [C99-based-standards] (SCNu8): Likewise.
17551 [C99-based-standards] (SCNx8): Likewise.
17552 [C99-based-standards] (PRIdLEAST8): Likewise.
17553 [C99-based-standards] (PRIiLEAST8): Likewise.
17554 [C99-based-standards] (PRIoLEAST8): Likewise.
17555 [C99-based-standards] (PRIuLEAST8): Likewise.
17556 [C99-based-standards] (PRIxLEAST8): Likewise.
17557 [C99-based-standards] (PRIXLEAST8): Likewise.
17558 [C99-based-standards] (SCNdLEAST8): Likewise.
17559 [C99-based-standards] (SCNiLEAST8): Likewise.
17560 [C99-based-standards] (SCNoLEAST8): Likewise.
17561 [C99-based-standards] (SCNuLEAST8): Likewise.
17562 [C99-based-standards] (SCNxLEAST8): Likewise.
17563 [C99-based-standards] (PRIdFAST8): Likewise.
17564 [C99-based-standards] (PRIiFAST8): Likewise.
17565 [C99-based-standards] (PRIoFAST8): Likewise.
17566 [C99-based-standards] (PRIuFAST8): Likewise.
17567 [C99-based-standards] (PRIxFAST8): Likewise.
17568 [C99-based-standards] (PRIXFAST8): Likewise.
17569 [C99-based-standards] (SCNdFAST8): Likewise.
17570 [C99-based-standards] (SCNiFAST8): Likewise.
17571 [C99-based-standards] (SCNoFAST8): Likewise.
17572 [C99-based-standards] (SCNuFAST8): Likewise.
17573 [C99-based-standards] (SCNxFAST8): Likewise.
17574 [C99-based-standards] (PRId16): Likewise.
17575 [C99-based-standards] (PRIi16): Likewise.
17576 [C99-based-standards] (PRIo16): Likewise.
17577 [C99-based-standards] (PRIu16): Likewise.
17578 [C99-based-standards] (PRIx16): Likewise.
17579 [C99-based-standards] (PRIX16): Likewise.
17580 [C99-based-standards] (SCNd16): Likewise.
17581 [C99-based-standards] (SCNi16): Likewise.
17582 [C99-based-standards] (SCNo16): Likewise.
17583 [C99-based-standards] (SCNu16): Likewise.
17584 [C99-based-standards] (SCNx16): Likewise.
17585 [C99-based-standards] (PRIdLEAST16): Likewise.
17586 [C99-based-standards] (PRIiLEAST16): Likewise.
17587 [C99-based-standards] (PRIoLEAST16): Likewise.
17588 [C99-based-standards] (PRIuLEAST16): Likewise.
17589 [C99-based-standards] (PRIxLEAST16): Likewise.
17590 [C99-based-standards] (PRIXLEAST16): Likewise.
17591 [C99-based-standards] (SCNdLEAST16): Likewise.
17592 [C99-based-standards] (SCNiLEAST16): Likewise.
17593 [C99-based-standards] (SCNoLEAST16): Likewise.
17594 [C99-based-standards] (SCNuLEAST16): Likewise.
17595 [C99-based-standards] (SCNxLEAST16): Likewise.
17596 [C99-based-standards] (PRIdFAST16): Likewise.
17597 [C99-based-standards] (PRIiFAST16): Likewise.
17598 [C99-based-standards] (PRIoFAST16): Likewise.
17599 [C99-based-standards] (PRIuFAST16): Likewise.
17600 [C99-based-standards] (PRIxFAST16): Likewise.
17601 [C99-based-standards] (PRIXFAST16): Likewise.
17602 [C99-based-standards] (SCNdFAST16): Likewise.
17603 [C99-based-standards] (SCNiFAST16): Likewise.
17604 [C99-based-standards] (SCNoFAST16): Likewise.
17605 [C99-based-standards] (SCNuFAST16): Likewise.
17606 [C99-based-standards] (SCNxFAST16): Likewise.
17607 [C99-based-standards] (PRId32): Likewise.
17608 [C99-based-standards] (PRIi32): Likewise.
17609 [C99-based-standards] (PRIo32): Likewise.
17610 [C99-based-standards] (PRIu32): Likewise.
17611 [C99-based-standards] (PRIx32): Likewise.
17612 [C99-based-standards] (PRIX32): Likewise.
17613 [C99-based-standards] (SCNd32): Likewise.
17614 [C99-based-standards] (SCNi32): Likewise.
17615 [C99-based-standards] (SCNo32): Likewise.
17616 [C99-based-standards] (SCNu32): Likewise.
17617 [C99-based-standards] (SCNx32): Likewise.
17618 [C99-based-standards] (PRIdLEAST32): Likewise.
17619 [C99-based-standards] (PRIiLEAST32): Likewise.
17620 [C99-based-standards] (PRIoLEAST32): Likewise.
17621 [C99-based-standards] (PRIuLEAST32): Likewise.
17622 [C99-based-standards] (PRIxLEAST32): Likewise.
17623 [C99-based-standards] (PRIXLEAST32): Likewise.
17624 [C99-based-standards] (SCNdLEAST32): Likewise.
17625 [C99-based-standards] (SCNiLEAST32): Likewise.
17626 [C99-based-standards] (SCNoLEAST32): Likewise.
17627 [C99-based-standards] (SCNuLEAST32): Likewise.
17628 [C99-based-standards] (SCNxLEAST32): Likewise.
17629 [C99-based-standards] (PRIdFAST32): Likewise.
17630 [C99-based-standards] (PRIiFAST32): Likewise.
17631 [C99-based-standards] (PRIoFAST32): Likewise.
17632 [C99-based-standards] (PRIuFAST32): Likewise.
17633 [C99-based-standards] (PRIxFAST32): Likewise.
17634 [C99-based-standards] (PRIXFAST32): Likewise.
17635 [C99-based-standards] (SCNdFAST32): Likewise.
17636 [C99-based-standards] (SCNiFAST32): Likewise.
17637 [C99-based-standards] (SCNoFAST32): Likewise.
17638 [C99-based-standards] (SCNuFAST32): Likewise.
17639 [C99-based-standards] (SCNxFAST32): Likewise.
17640 [C99-based-standards] (PRId64): Likewise.
17641 [C99-based-standards] (PRIi64): Likewise.
17642 [C99-based-standards] (PRIo64): Likewise.
17643 [C99-based-standards] (PRIu64): Likewise.
17644 [C99-based-standards] (PRIx64): Likewise.
17645 [C99-based-standards] (PRIX64): Likewise.
17646 [C99-based-standards] (SCNd64): Likewise.
17647 [C99-based-standards] (SCNi64): Likewise.
17648 [C99-based-standards] (SCNo64): Likewise.
17649 [C99-based-standards] (SCNu64): Likewise.
17650 [C99-based-standards] (SCNx64): Likewise.
17651 [C99-based-standards] (PRIdLEAST64): Likewise.
17652 [C99-based-standards] (PRIiLEAST64): Likewise.
17653 [C99-based-standards] (PRIoLEAST64): Likewise.
17654 [C99-based-standards] (PRIuLEAST64): Likewise.
17655 [C99-based-standards] (PRIxLEAST64): Likewise.
17656 [C99-based-standards] (PRIXLEAST64): Likewise.
17657 [C99-based-standards] (SCNdLEAST64): Likewise.
17658 [C99-based-standards] (SCNiLEAST64): Likewise.
17659 [C99-based-standards] (SCNoLEAST64): Likewise.
17660 [C99-based-standards] (SCNuLEAST64): Likewise.
17661 [C99-based-standards] (SCNxLEAST64): Likewise.
17662 [C99-based-standards] (PRIdFAST64): Likewise.
17663 [C99-based-standards] (PRIiFAST64): Likewise.
17664 [C99-based-standards] (PRIoFAST64): Likewise.
17665 [C99-based-standards] (PRIuFAST64): Likewise.
17666 [C99-based-standards] (PRIxFAST64): Likewise.
17667 [C99-based-standards] (PRIXFAST64): Likewise.
17668 [C99-based-standards] (SCNdFAST64): Likewise.
17669 [C99-based-standards] (SCNiFAST64): Likewise.
17670 [C99-based-standards] (SCNoFAST64): Likewise.
17671 [C99-based-standards] (SCNuFAST64): Likewise.
17672 [C99-based-standards] (SCNxFAST64): Likewise.
17673 [C99-based-standards] (PRIdMAX): Likewise.
17674 [C99-based-standards] (PRIiMAX): Likewise.
17675 [C99-based-standards] (PRIoMAX): Likewise.
17676 [C99-based-standards] (PRIuMAX): Likewise.
17677 [C99-based-standards] (PRIxMAX): Likewise.
17678 [C99-based-standards] (PRIXMAX): Likewise.
17679 [C99-based-standards] (SCNdMAX): Likewise.
17680 [C99-based-standards] (SCNiMAX): Likewise.
17681 [C99-based-standards] (SCNoMAX): Likewise.
17682 [C99-based-standards] (SCNuMAX): Likewise.
17683 [C99-based-standards] (SCNxMAX): Likewise.
17684 [C99-based-standards] (PRIdPTR): Likewise.
17685 [C99-based-standards] (PRIiPTR): Likewise.
17686 [C99-based-standards] (PRIoPTR): Likewise.
17687 [C99-based-standards] (PRIuPTR): Likewise.
17688 [C99-based-standards] (PRIxPTR): Likewise.
17689 [C99-based-standards] (PRIXPTR): Likewise.
17690 [C99-based-standards] (SCNdPTR): Likewise.
17691 [C99-based-standards] (SCNiPTR): Likewise.
17692 [C99-based-standards] (SCNoPTR): Likewise.
17693 [C99-based-standards] (SCNuPTR): Likewise.
17694 [C99-based-standards] (SCNxPTR): Likewise.
17695 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17696 allow.
17697 * conform/data/stdint.h-data: Update comments to clarify
17698 requirements.
17699 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17700 type.
17701 [C99-based standards] (INT8_MAX): Likewise.
17702 [C99-based standards] (INT16_MIN): Likewise.
17703 [C99-based standards] (INT16_MAX): Likewise.
17704 [C99-based standards] (INT32_MIN): Likewise.
17705 [C99-based standards] (INT32_MAX): Likewise.
17706 [C99-based standards] (INT64_MIN): Likewise.
17707 [C99-based standards] (INT64_MAX): Likewise.
17708 [C99-based standards] (UINT8_MAX): Likewise.
17709 [C99-based standards] (UINT16_MAX): Likewise.
17710 [C99-based standards] (UINT32_MAX): Likewise.
17711 [C99-based standards] (UINT64_MAX): Likewise.
17712 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17713 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17714 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17715 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17716 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17717 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17718 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17719 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17720 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17721 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17722 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17723 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17724 [C99-based standards] (INT_FAST8_MIN): Likewise.
17725 [C99-based standards] (INT_FAST8_MAX): Likewise.
17726 [C99-based standards] (INT_FAST16_MIN): Likewise.
17727 [C99-based standards] (INT_FAST16_MAX): Likewise.
17728 [C99-based standards] (INT_FAST32_MIN): Likewise.
17729 [C99-based standards] (INT_FAST32_MAX): Likewise.
17730 [C99-based standards] (INT_FAST64_MIN): Likewise.
17731 [C99-based standards] (INT_FAST64_MAX): Likewise.
17732 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17733 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17734 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17735 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17736 [C99-based standards] (INTPTR_MIN): Likewise.
17737 [C99-based standards] (INTPTR_MAX): Likewise.
17738 [C99-based standards] (UINTPTR_MAX): Likewise.
17739 [C99-based standards] (INTMAX_MIN): Likewise.
17740 [C99-based standards] (INTMAX_MAX): Likewise.
17741 [C99-based standards] (UINTMAX_MAX): Likewise.
17742 [C99-based standards] (PTRDIFF_MIN): Likewise.
17743 [C99-based standards] (PTRDIFF_MAX): Likewise.
17744 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17745 [C99-based standards] (SIZE_MAX): Likewise.
17746 [C99-based standards] (WCHAR_MAX): Likewise.
17747 [C99-based standards] (WINT_MAX): Likewise.
17748 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17749 constraint on value.
17750 [C99-based standards] (WCHAR_MIN): Likewise.
17751 [C99-based standards] (WINT_MIN): Likewise.
17752 [C99-based standards] (*_t): Allow.
17753 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17754 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17755 Include math.h-data and complex.h-data. Remove all expectations
17756 of math.h and complex.h contents.
17757 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17758 at end of line.
17759 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17760 (struct tm): Expect tag.
17761 [C99-based-standards] (wcstof): Expect function.
17762 [C99-based-standards] (wcstold): Likewise.
17763 [C99-based-standards] (wcstoll): Likewise.
17764 [C99-based-standards] (wcstoull): Likewise.
17765 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17766 macro-int-constant. Specify type.
17767 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17768 constraint on value.
17769 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17770 Specify type.
17771 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17772 Specify value.
17773 [ISO C standards]: Do not allow headers.
17774 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17775 wcs[abcdefghijklmnopqrstuvwxyz]*.
17776 [ISO C standards] (*_t): Do not allow.
17777 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17778 Expect function.
17779 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17780 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17781 Specify type.
17782 [ISO C standards]: Do not allow headers.
17783 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17784 is[abcdefghijklmnopqrstuvwxyz]*.
17785 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17786 to[abcdefghijklmnopqrstuvwxyz]*.
17787 [ISO C standards] (*_t): Do not allow.
17788 * conform/data/stdalign.h-data: New file.
17789 * conform/data/stdbool.h-data: Likewise.
17790 * conform/data/stdnoreturn.h-data: Likewise.
17791
7514feb8
RM
177922012-11-07 Roland McGrath <roland@hack.frob.com>
17793
17794 [BZ #14815]
17795 * manual/filesys.texi (Directory Entries): Typo fix.
17796 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17797
19b2ecfc
MS
177982012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17799
17800 * elf/elf.h (EM_AARCH64): New macro.
17801 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17802 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17803 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17804 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17805 (R_AARCH64_TLSDESC): Likewise.
17806 (NT_ARM_TLS): Likewise.
17807 (NT_ARM_HW_BREAK): Likewise.
17808 (NT_ARM_HW_WATCH): Likewise.
17809
60e235ee
JM
178102012-11-07 Joseph Myers <joseph@codesourcery.com>
17811
17812 [BZ #14811]
17813 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17814 (__ieee754_powl): Saturate nonzero exponents with absolute value
17815 below 0x1p-79 to +/- 0x1p-79.
17816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17817 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17818 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17819 nonzero exponents with absolute value below 0x1p-32 to +/-
17820 0x1p-32.
17821 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17822 (__ieee754_powl): Saturate nonzero exponents with absolute value
17823 below 0x1p-79 to +/- 0x1p-79.
17824 * math/libm-test.inc (pow_test): Add more tests.
17825
0ab234b7
AK
178262012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17827
17828 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17829 _dl_s390_cap_flags with kernel. Increase string length.
17830 (_dl_s390_platforms): Add z196 and zEC12.
17831
45832f74
JM
178322012-11-07 Joseph Myers <joseph@codesourcery.com>
17833
17834 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17835 Change XOPEN21K to XOPEN2K.
17836
19218757
MK
178372012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17838
17839 * string/memmove.c: Use memcpy when possible.
17840
c5f45721
AJ
178412012-11-06 Andreas Jaeger <aj@suse.de>
17842
17843 * po/eo.po: Update from translation team.
17844
82477c28
JM
178452012-11-06 Joseph Myers <joseph@codesourcery.com>
17846
17847 [BZ #14793]
17848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17849 exponent and small x and y exponents, scale x or y up. Increase
17850 by 2 the exponent used in scaling up.
17851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17852 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17853 * math/libm-test.inc (fma_test): Add more tests.
17854 (fma_test_towardzero): Likewise.
17855 (fma_test_downward): Likewise.
17856 (fma_test_upward): Likewise.
17857
99252c8c
JM
178582012-11-05 Joseph Myers <joseph@codesourcery.com>
17859
acfa885f
JM
17860 [BZ #14805]
17861 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17862 fenv_t *.
17863
99252c8c
JM
17864 [BZ #14801]
17865 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17866 namespace for names of struct fields.
17867 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17868 fenv_t fields.
17869 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17870 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17871
d6d98dea
ST
178722012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17873
17874 [BZ #3665]
17875 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17876
e10bb107
TS
178772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17878
17879 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17880 PTR_DEMANGLE.
17881
17882 [BZ #5246]
17883 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17884 PTR_DEMANGLE.
17885
a0c2940d
JM
178862012-11-04 Joseph Myers <joseph@codesourcery.com>
17887
17888 [BZ #14797]
17889 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17890 definitely overflow as x * y not x * y + z.
17891 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17892 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17893 * math/libm-test.inc (fma_test): Add more tests.
17894 (fma_test_towardzero): Likewise.
17895 (fma_test_downward): Likewise.
17896 (fma_test_upward): Likewise.
17897
b830319d
TS
178982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17899
17900 [BZ #157]
17901
17902 * include/stub-tag.h: Remove file.
17903 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17904 '#include' of it.
17905 * manual/maint.texi (Porting): Don't reference it.
17906 * Makerules ($(objpfx)stubs): Likewise.
17907 * dirent/closedir.c: Don't include <stub-tag.h>.
17908 * dirent/dirfd.c: Likewise.
17909 * dirent/fdopendir.c: Likewise.
17910 * dirent/getdents.c: Likewise.
17911 * dirent/getdents64.c: Likewise.
17912 * dirent/opendir.c: Likewise.
17913 * dirent/readdir.c: Likewise.
17914 * dirent/readdir64.c: Likewise.
17915 * dirent/readdir64_r.c: Likewise.
17916 * dirent/readdir_r.c: Likewise.
17917 * dirent/rewinddir.c: Likewise.
17918 * dirent/seekdir.c: Likewise.
17919 * dirent/telldir.c: Likewise.
17920 * gmon/profil.c: Likewise.
17921 * grp/setgroups.c: Likewise.
17922 * inet/if_index.c: Likewise.
17923 * io/access.c: Likewise.
17924 * io/chdir.c: Likewise.
17925 * io/chmod.c: Likewise.
17926 * io/chown.c: Likewise.
17927 * io/close.c: Likewise.
17928 * io/dup.c: Likewise.
17929 * io/dup2.c: Likewise.
17930 * io/dup3.c: Likewise.
17931 * io/euidaccess.c: Likewise.
17932 * io/faccessat.c: Likewise.
17933 * io/fchdir.c: Likewise.
17934 * io/fchmod.c: Likewise.
17935 * io/fchmodat.c: Likewise.
17936 * io/fchown.c: Likewise.
17937 * io/fchownat.c: Likewise.
17938 * io/fcntl.c: Likewise.
17939 * io/flock.c: Likewise.
17940 * io/fstatfs.c: Likewise.
17941 * io/fstatfs64.c: Likewise.
17942 * io/fstatvfs.c: Likewise.
17943 * io/fstatvfs64.c: Likewise.
17944 * io/futimens.c: Likewise.
17945 * io/fxstat.c: Likewise.
17946 * io/fxstat64.c: Likewise.
17947 * io/fxstatat.c: Likewise.
17948 * io/fxstatat64.c: Likewise.
17949 * io/getcwd.c: Likewise.
17950 * io/isatty.c: Likewise.
17951 * io/lchmod.c: Likewise.
17952 * io/lchown.c: Likewise.
17953 * io/link.c: Likewise.
17954 * io/linkat.c: Likewise.
17955 * io/lseek.c: Likewise.
17956 * io/lseek64.c: Likewise.
17957 * io/lxstat64.c: Likewise.
17958 * io/mkdir.c: Likewise.
17959 * io/mkdirat.c: Likewise.
17960 * io/mkfifo.c: Likewise.
17961 * io/mkfifoat.c: Likewise.
17962 * io/open.c: Likewise.
17963 * io/open64.c: Likewise.
17964 * io/openat.c: Likewise.
17965 * io/openat64.c: Likewise.
17966 * io/pipe.c: Likewise.
17967 * io/pipe2.c: Likewise.
17968 * io/poll.c: Likewise.
17969 * io/posix_fadvise.c: Likewise.
17970 * io/posix_fadvise64.c: Likewise.
17971 * io/posix_fallocate.c: Likewise.
17972 * io/posix_fallocate64.c: Likewise.
17973 * io/read.c: Likewise.
17974 * io/readlink.c: Likewise.
17975 * io/readlinkat.c: Likewise.
17976 * io/rmdir.c: Likewise.
17977 * io/sendfile.c: Likewise.
17978 * io/sendfile64.c: Likewise.
17979 * io/statfs.c: Likewise.
17980 * io/statfs64.c: Likewise.
17981 * io/statvfs.c: Likewise.
17982 * io/statvfs64.c: Likewise.
17983 * io/symlink.c: Likewise.
17984 * io/symlinkat.c: Likewise.
17985 * io/ttyname.c: Likewise.
17986 * io/ttyname_r.c: Likewise.
17987 * io/umask.c: Likewise.
17988 * io/unlink.c: Likewise.
17989 * io/unlinkat.c: Likewise.
17990 * io/utime.c: Likewise.
17991 * io/utimensat.c: Likewise.
17992 * io/write.c: Likewise.
17993 * io/xmknod.c: Likewise.
17994 * io/xmknodat.c: Likewise.
17995 * io/xstat.c: Likewise.
17996 * io/xstat64.c: Likewise.
17997 * login/getpt.c: Likewise.
17998 * login/grantpt.c: Likewise.
17999 * login/unlockpt.c: Likewise.
18000 * math/e_acoshl.c: Likewise.
18001 * math/e_acosl.c: Likewise.
18002 * math/e_asinl.c: Likewise.
18003 * math/e_atan2l.c: Likewise.
18004 * math/e_atanhl.c: Likewise.
18005 * math/e_coshl.c: Likewise.
18006 * math/e_expl.c: Likewise.
18007 * math/e_fmodl.c: Likewise.
18008 * math/e_gammal_r.c: Likewise.
18009 * math/e_hypotl.c: Likewise.
18010 * math/e_j0l.c: Likewise.
18011 * math/e_j1l.c: Likewise.
18012 * math/e_jnl.c: Likewise.
18013 * math/e_lgammal_r.c: Likewise.
18014 * math/e_log10l.c: Likewise.
18015 * math/e_log2l.c: Likewise.
18016 * math/e_logl.c: Likewise.
18017 * math/e_powl.c: Likewise.
18018 * math/e_rem_pio2l.c: Likewise.
18019 * math/e_sinhl.c: Likewise.
18020 * math/e_sqrtl.c: Likewise.
18021 * math/fclrexcpt.c: Likewise.
18022 * math/fedisblxcpt.c: Likewise.
18023 * math/feenablxcpt.c: Likewise.
18024 * math/fegetenv.c: Likewise.
18025 * math/fegetexcept.c: Likewise.
18026 * math/fegetround.c: Likewise.
18027 * math/feholdexcpt.c: Likewise.
18028 * math/fesetenv.c: Likewise.
18029 * math/fesetround.c: Likewise.
18030 * math/feupdateenv.c: Likewise.
18031 * math/fgetexcptflg.c: Likewise.
18032 * math/fraiseexcpt.c: Likewise.
18033 * math/fsetexcptflg.c: Likewise.
18034 * math/ftestexcept.c: Likewise.
18035 * math/k_cosl.c: Likewise.
18036 * math/k_rem_pio2l.c: Likewise.
18037 * math/k_sinl.c: Likewise.
18038 * math/k_tanl.c: Likewise.
18039 * math/s_asinhl.c: Likewise.
18040 * math/s_atanl.c: Likewise.
18041 * math/s_cbrtl.c: Likewise.
18042 * math/s_erfl.c: Likewise.
18043 * math/s_expm1l.c: Likewise.
18044 * math/s_log1pl.c: Likewise.
18045 * math/s_tanhl.c: Likewise.
18046 * misc/acct.c: Likewise.
18047 * misc/brk.c: Likewise.
18048 * misc/chflags.c: Likewise.
18049 * misc/chroot.c: Likewise.
18050 * misc/fchflags.c: Likewise.
18051 * misc/fgetxattr.c: Likewise.
18052 * misc/flistxattr.c: Likewise.
18053 * misc/fremovexattr.c: Likewise.
18054 * misc/fsetxattr.c: Likewise.
18055 * misc/fsync.c: Likewise.
18056 * misc/ftruncate.c: Likewise.
18057 * misc/futimes.c: Likewise.
18058 * misc/futimesat.c: Likewise.
18059 * misc/getdomain.c: Likewise.
18060 * misc/getdtsz.c: Likewise.
18061 * misc/gethostid.c: Likewise.
18062 * misc/gethostname.c: Likewise.
18063 * misc/getloadavg.c: Likewise.
18064 * misc/getpagesize.c: Likewise.
18065 * misc/getsysstats.c: Likewise.
18066 * misc/getxattr.c: Likewise.
18067 * misc/gtty.c: Likewise.
18068 * misc/ioctl.c: Likewise.
18069 * misc/lgetxattr.c: Likewise.
18070 * misc/listxattr.c: Likewise.
18071 * misc/llistxattr.c: Likewise.
18072 * misc/lremovexattr.c: Likewise.
18073 * misc/lsetxattr.c: Likewise.
18074 * misc/lutimes.c: Likewise.
18075 * misc/madvise.c: Likewise.
18076 * misc/mincore.c: Likewise.
18077 * misc/mlock.c: Likewise.
18078 * misc/mlockall.c: Likewise.
18079 * misc/mmap.c: Likewise.
18080 * misc/mprotect.c: Likewise.
18081 * misc/msync.c: Likewise.
18082 * misc/munlock.c: Likewise.
18083 * misc/munlockall.c: Likewise.
18084 * misc/munmap.c: Likewise.
18085 * misc/preadv.c: Likewise.
18086 * misc/preadv64.c: Likewise.
18087 * misc/ptrace.c: Likewise.
18088 * misc/pwritev.c: Likewise.
18089 * misc/pwritev64.c: Likewise.
18090 * misc/readv.c: Likewise.
18091 * misc/reboot.c: Likewise.
18092 * misc/remap_file_pages.c: Likewise.
18093 * misc/removexattr.c: Likewise.
18094 * misc/revoke.c: Likewise.
18095 * misc/select.c: Likewise.
18096 * misc/setdomain.c: Likewise.
18097 * misc/setegid.c: Likewise.
18098 * misc/seteuid.c: Likewise.
18099 * misc/sethostid.c: Likewise.
18100 * misc/sethostname.c: Likewise.
18101 * misc/setregid.c: Likewise.
18102 * misc/setreuid.c: Likewise.
18103 * misc/setxattr.c: Likewise.
18104 * misc/sstk.c: Likewise.
18105 * misc/stty.c: Likewise.
18106 * misc/swapoff.c: Likewise.
18107 * misc/swapon.c: Likewise.
18108 * misc/sync.c: Likewise.
18109 * misc/syncfs.c: Likewise.
18110 * misc/syscall.c: Likewise.
18111 * misc/truncate.c: Likewise.
18112 * misc/ualarm.c: Likewise.
18113 * misc/usleep.c: Likewise.
18114 * misc/ustat.c: Likewise.
18115 * misc/utimes.c: Likewise.
18116 * misc/vhangup.c: Likewise.
18117 * misc/writev.c: Likewise.
18118 * posix/_exit.c: Likewise.
18119 * posix/alarm.c: Likewise.
18120 * posix/execve.c: Likewise.
18121 * posix/fexecve.c: Likewise.
18122 * posix/fork.c: Likewise.
18123 * posix/fpathconf.c: Likewise.
18124 * posix/getaddrinfo.c: Likewise.
18125 * posix/getegid.c: Likewise.
18126 * posix/geteuid.c: Likewise.
18127 * posix/getgid.c: Likewise.
18128 * posix/getgroups.c: Likewise.
18129 * posix/getlogin.c: Likewise.
18130 * posix/getlogin_r.c: Likewise.
18131 * posix/getpgid.c: Likewise.
18132 * posix/getpid.c: Likewise.
18133 * posix/getppid.c: Likewise.
18134 * posix/getresgid.c: Likewise.
18135 * posix/getresuid.c: Likewise.
18136 * posix/getsid.c: Likewise.
18137 * posix/getuid.c: Likewise.
18138 * posix/glob64.c: Likewise.
18139 * posix/nanosleep.c: Likewise.
18140 * posix/pathconf.c: Likewise.
18141 * posix/pause.c: Likewise.
18142 * posix/posix_madvise.c: Likewise.
18143 * posix/pread.c: Likewise.
18144 * posix/pread64.c: Likewise.
18145 * posix/pwrite.c: Likewise.
18146 * posix/pwrite64.c: Likewise.
18147 * posix/sched_getaffinity.c: Likewise.
18148 * posix/sched_getp.c: Likewise.
18149 * posix/sched_gets.c: Likewise.
18150 * posix/sched_primax.c: Likewise.
18151 * posix/sched_primin.c: Likewise.
18152 * posix/sched_rr_gi.c: Likewise.
18153 * posix/sched_setaffinity.c: Likewise.
18154 * posix/sched_setp.c: Likewise.
18155 * posix/sched_sets.c: Likewise.
18156 * posix/sched_yield.c: Likewise.
18157 * posix/setgid.c: Likewise.
18158 * posix/setlogin.c: Likewise.
18159 * posix/setpgid.c: Likewise.
18160 * posix/setresgid.c: Likewise.
18161 * posix/setresuid.c: Likewise.
18162 * posix/setsid.c: Likewise.
18163 * posix/setuid.c: Likewise.
18164 * posix/sleep.c: Likewise.
18165 * posix/spawni.c: Likewise.
18166 * posix/sysconf.c: Likewise.
18167 * posix/times.c: Likewise.
18168 * posix/wait.c: Likewise.
18169 * posix/wait3.c: Likewise.
18170 * posix/wait4.c: Likewise.
18171 * posix/waitpid.c: Likewise.
18172 * resolv/gai_sigqueue.c: Likewise.
18173 * resource/getpriority.c: Likewise.
18174 * resource/getrlimit.c: Likewise.
18175 * resource/getrusage.c: Likewise.
18176 * resource/nice.c: Likewise.
18177 * resource/setpriority.c: Likewise.
18178 * resource/setrlimit.c: Likewise.
18179 * resource/ulimit.c: Likewise.
18180 * rt/aio_cancel.c: Likewise.
18181 * rt/aio_fsync.c: Likewise.
18182 * rt/aio_read.c: Likewise.
18183 * rt/aio_sigqueue.c: Likewise.
18184 * rt/aio_suspend.c: Likewise.
18185 * rt/aio_write.c: Likewise.
18186 * rt/clock_getres.c: Likewise.
18187 * rt/clock_gettime.c: Likewise.
18188 * rt/clock_nanosleep.c: Likewise.
18189 * rt/clock_settime.c: Likewise.
18190 * rt/lio_listio.c: Likewise.
18191 * rt/mq_close.c: Likewise.
18192 * rt/mq_getattr.c: Likewise.
18193 * rt/mq_notify.c: Likewise.
18194 * rt/mq_open.c: Likewise.
18195 * rt/mq_receive.c: Likewise.
18196 * rt/mq_send.c: Likewise.
18197 * rt/mq_setattr.c: Likewise.
18198 * rt/mq_timedreceive.c: Likewise.
18199 * rt/mq_timedsend.c: Likewise.
18200 * rt/mq_unlink.c: Likewise.
18201 * rt/shm_open.c: Likewise.
18202 * rt/shm_unlink.c: Likewise.
18203 * rt/timer_create.c: Likewise.
18204 * rt/timer_delete.c: Likewise.
18205 * rt/timer_getoverr.c: Likewise.
18206 * rt/timer_gettime.c: Likewise.
18207 * rt/timer_settime.c: Likewise.
18208 * setjmp/__longjmp.c: Likewise.
18209 * setjmp/setjmp.c: Likewise.
18210 * signal/kill.c: Likewise.
18211 * signal/killpg.c: Likewise.
18212 * signal/raise.c: Likewise.
18213 * signal/sigaction.c: Likewise.
18214 * signal/sigaltstack.c: Likewise.
18215 * signal/sigblock.c: Likewise.
18216 * signal/sigignore.c: Likewise.
18217 * signal/sigintr.c: Likewise.
18218 * signal/signal.c: Likewise.
18219 * signal/sigpause.c: Likewise.
18220 * signal/sigpending.c: Likewise.
18221 * signal/sigqueue.c: Likewise.
18222 * signal/sigreturn.c: Likewise.
18223 * signal/sigset.c: Likewise.
18224 * signal/sigsetmask.c: Likewise.
18225 * signal/sigstack.c: Likewise.
18226 * signal/sigsuspend.c: Likewise.
18227 * signal/sigtimedwait.c: Likewise.
18228 * signal/sigvec.c: Likewise.
18229 * signal/sigwait.c: Likewise.
18230 * signal/sigwaitinfo.c: Likewise.
18231 * signal/sysv_signal.c: Likewise.
18232 * socket/accept.c: Likewise.
18233 * socket/accept4.c: Likewise.
18234 * socket/bind.c: Likewise.
18235 * socket/connect.c: Likewise.
18236 * socket/getpeername.c: Likewise.
18237 * socket/getsockname.c: Likewise.
18238 * socket/getsockopt.c: Likewise.
18239 * socket/isfdtype.c: Likewise.
18240 * socket/listen.c: Likewise.
18241 * socket/recv.c: Likewise.
18242 * socket/recvfrom.c: Likewise.
18243 * socket/recvmsg.c: Likewise.
18244 * socket/send.c: Likewise.
18245 * socket/sendmsg.c: Likewise.
18246 * socket/sendto.c: Likewise.
18247 * socket/setsockopt.c: Likewise.
18248 * socket/shutdown.c: Likewise.
18249 * socket/sockatmark.c: Likewise.
18250 * socket/socket.c: Likewise.
18251 * socket/socketpair.c: Likewise.
18252 * stdio-common/ctermid.c: Likewise.
18253 * stdio-common/cuserid.c: Likewise.
18254 * stdio-common/remove.c: Likewise.
18255 * stdio-common/rename.c: Likewise.
18256 * stdio-common/renameat.c: Likewise.
18257 * stdio-common/tempname.c: Likewise.
18258 * stdlib/getcontext.c: Likewise.
18259 * stdlib/makecontext.c: Likewise.
18260 * stdlib/setcontext.c: Likewise.
18261 * stdlib/swapcontext.c: Likewise.
18262 * stdlib/system.c: Likewise.
18263 * streams/fattach.c: Likewise.
18264 * streams/fdetach.c: Likewise.
18265 * streams/getmsg.c: Likewise.
18266 * streams/getpmsg.c: Likewise.
18267 * streams/putmsg.c: Likewise.
18268 * streams/putpmsg.c: Likewise.
18269 * sysdeps/unix/bsd/getpt.c: Likewise.
18270 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18271 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18272 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18274 Likewise.
18275 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18276 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18277 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18278 * sysvipc/msgctl.c: Likewise.
18279 * sysvipc/msgget.c: Likewise.
18280 * sysvipc/msgrcv.c: Likewise.
18281 * sysvipc/msgsnd.c: Likewise.
18282 * sysvipc/semctl.c: Likewise.
18283 * sysvipc/semget.c: Likewise.
18284 * sysvipc/semop.c: Likewise.
18285 * sysvipc/semtimedop.c: Likewise.
18286 * sysvipc/shmat.c: Likewise.
18287 * sysvipc/shmctl.c: Likewise.
18288 * sysvipc/shmdt.c: Likewise.
18289 * sysvipc/shmget.c: Likewise.
18290 * termios/tcdrain.c: Likewise.
18291 * termios/tcflow.c: Likewise.
18292 * termios/tcflush.c: Likewise.
18293 * termios/tcgetattr.c: Likewise.
18294 * termios/tcgetpgrp.c: Likewise.
18295 * termios/tcsendbrk.c: Likewise.
18296 * termios/tcsetattr.c: Likewise.
18297 * termios/tcsetpgrp.c: Likewise.
18298 * time/adjtime.c: Likewise.
18299 * time/clock.c: Likewise.
18300 * time/getitimer.c: Likewise.
18301 * time/gettimeofday.c: Likewise.
18302 * time/setitimer.c: Likewise.
18303 * time/settimeofday.c: Likewise.
18304 * time/stime.c: Likewise.
18305 * time/time.c: Likewise.
18306
183072012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18308
a20492cf
PT
18309 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18310 /usr/old/bin.
18311
72e182e3
PT
18312 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18313 instead of spaces.
18314 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18315
fbeafede
JM
183162012-11-03 Joseph Myers <joseph@codesourcery.com>
18317
5b5b04d6
JM
18318 [BZ #14796]
18319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18320 FE_TONEAREST before applying Dekker multiplication and Knuth
18321 addition. Clear inexact exceptions and check for exact zero
18322 results afterwards.
18323 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18326 * math/libm-test.inc (fma_test): Add more tests.
18327 (fma_test_towardzero): Likewise.
18328 (fma_test_downward): Likewise.
18329 (fma_test_upward): Likewise.
18330 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18331 function.
18332 (libc_fesetround): New macro.
18333 (libc_fesetroundf): Likewise.
18334 (libc_fesetroundl): Likewise.
18335 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18336 function.
18337 (libc_fesetround_387): Likewise.
18338 (libc_fesetroundf): New macro.
18339 (libc_fesetround): Likewise.
18340 (libc_fesetroundl): Likewise.
18341 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18342 function.
18343 (libc_fesetroundf): New macro.
18344 (libc_fesetround): Likewise.
18345 (libc_fesetroundl): Likewise.
18346 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18347 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18348 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18349 libm_hidden_ver.
18350 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18351 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18352 libm_hidden_def.
18353 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18354 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18355 libm_hidden_ver.
18356 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18357 libm_hidden_def.
18358
fbeafede
JM
18359 [BZ #3439]
18360 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18361 integer constant usable in #if and use that to give value to enum
18362 constant.
18363 (FE_DIVBYZERO): Likewise.
18364 (FE_UNDERFLOW): Likewise.
18365 (FE_OVERFLOW): Likewise.
18366 (FE_INVALID): Likewise.
18367 (FE_INVALID_SNAN): Likewise.
18368 (FE_INVALID_ISI): Likewise.
18369 (FE_INVALID_IDI): Likewise.
18370 (FE_INVALID_ZDZ): Likewise.
18371 (FE_INVALID_IMZ): Likewise.
18372 (FE_INVALID_COMPARE): Likewise.
18373 (FE_INVALID_SOFTWARE): Likewise.
18374 (FE_INVALID_SQRT): Likewise.
18375 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18376 (FE_TONEAREST): Likewise.
18377 (FE_TOWARDZERO): Likewise.
18378 (FE_UPWARD): Likewise.
18379 (FE_DOWNWARD): Likewise.
18380 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18381 (FE_DIVBYZERO): Likewise.
18382 (FE_OVERFLOW): Likewise.
18383 (FE_UNDERFLOW): Likewise.
18384 (FE_INEXACT): Likewise.
18385 (FE_TONEAREST): Likewise.
18386 (FE_DOWNWARD): Likewise.
18387 (FE_UPWARD): Likewise.
18388 (FE_TOWARDZERO): Likewise.
18389 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18390 (FE_UNDERFLOW): Likewise.
18391 (FE_OVERFLOW): Likewise.
18392 (FE_DIVBYZERO): Likewise.
18393 (FE_INVALID): Likewise.
18394 (FE_TONEAREST): Likewise.
18395 (FE_TOWARDZERO): Likewise.
18396 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18397 (FE_OVERFLOW): Likewise.
18398 (FE_UNDERFLOW): Likewise.
18399 (FE_DIVBYZERO): Likewise.
18400 (FE_INEXACT): Likewise.
18401 (FE_TONEAREST): Likewise.
18402 (FE_TOWARDZERO): Likewise.
18403 (FE_UPWARD): Likewise.
18404 (FE_DOWNWARD): Likewise.
18405 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18406 (FE_DIVBYZERO): Likewise.
18407 (FE_OVERFLOW): Likewise.
18408 (FE_UNDERFLOW): Likewise.
18409 (FE_INEXACT): Likewise.
18410 (FE_TONEAREST): Likewise.
18411 (FE_DOWNWARD): Likewise.
18412 (FE_UPWARD): Likewise.
18413 (FE_TOWARDZERO): Likewise.
18414
105ca950
CM
184152012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18416
18417 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18418
a542b389
AS
184192012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18420
18421 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18422 commands. Quote $PWD.
18423 (blacklist_exports): Don't use remove_newlines. Replace "declare
18424 -x" by "export".
18425 (remove_newlines): Remove.
18426
f62c8abc
L
184272012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18428
18429 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18430 * stdlib/stdlib.h (atof): Moved to ...
18431 * include/bits/stdlib-float.h: Here. New file.
18432 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18433 * stdlib/bits/stdlib-float.h: New file.
18434 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18435 -mno-sse -mno-mmx.
18436 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18437 <xmmintrin.h>.
18438
0155d5b2
JM
184392012-11-02 Joseph Myers <joseph@codesourcery.com>
18440
a68d0680
JM
18441 * conform/conformtest.pl (@headers): Add fenv.h.
18442 * conform/data/fenv.h-data: New file.
18443 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18444 include of <math/fenv.h>.
18445
caf7f573
JM
18446 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18447 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18448 && !UNIX98]. Enables tests for XOPEN2K8.
18449 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18450 POSIX2008]: Likewise.
18451
6c073ad6
JM
18452 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18453 (struct rusage): Do not expect type or its members.
18454
0155d5b2
JM
18455 [BZ #3439]
18456 * math/math.h (FP_NAN): Define macro to integer constant usable in
18457 #if and use that to give value to enum constant.
18458 (FP_INFINITE): Likewise.
18459 (FP_ZERO): Likewise.
18460 (FP_SUBNORMAL): Likewise.
18461 (FP_NORMAL): Likewise.
18462
b5dcacb4
AS
184632012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18464
18465 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18466 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18467 arguments.
18468
f7934be8
RM
184692012-11-02 Roland McGrath <roland@hack.frob.com>
18470
18471 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18472 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18473 autoconf-time if not.
18474 * configure.in: Remove AC_PREREQ.
18475
d7d08bde
TMQMF
184762012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18477
18478 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18479 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18480 of the internal implementation.
18481
dcdae19a
JM
184822012-11-02 Joseph Myers <joseph@codesourcery.com>
18483
18484 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18485 except include of <misc/sys/syslog.h>.
18486
d6cffd3e
AS
184872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18488
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18490 function returns with a NULL context exit with zero.
18491
b3563932
TMQMF
184922012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18493
18494 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18495
b288a93d
L
184962012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18499 (run_program_cmd): This.
18500 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18501 (tst_langinfo): New variable. Use it.
18502
a2421a68
SAS
185032012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18504
18505 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18506 floating point opcodes.
18507
6f796e1b
TS
185082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18509
7402596b
TS
18510 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18511 variable.
18512
d0d4f868
TS
18513 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18514
6f796e1b
TS
18515 * sysdeps/mach/hurd/powerpc: Remove directory.
18516 * sysdeps/mach/powerpc: Likewise.
18517
4da224a2
AS
185182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18519
18520 * scripts/check-local-headers.sh: Ignore c++ headers.
18521
341dd673
TS
185222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18523
18524 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18525 __libc_cleanup_region_start argument.
18526
473611b2
JM
185272012-11-01 Joseph Myers <joseph@codesourcery.com>
18528
18529 [BZ #14784]
18530 [BZ #14785]
18531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18532 x * y using scaling, not as x * y + z.
18533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18535 * math/libm-test.inc (fma_test): Add more tests.
18536 (fma_test_towardzero): Likewise.
18537 (fma_test_downward): Likewise.
18538 (fma_test_upward): Likewise.
18539
4078da3d
TS
185402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18541
18542 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18543
903252aa
JM
185442012-10-31 Joseph Myers <joseph@codesourcery.com>
18545
18546 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18547 New variable.
18548
cbc818d0
TS
185492012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18550
18551 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18552
5a03cb1e
AS
185532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18554
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18556 Fix sort order.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18558 Likewise.
18559
90aff2ff
TMQMF
185602012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18561
18562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18563 Fix the order of the list for glibc 2.17.
18564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18565 Likewise.
18566
1818fcb7
AS
185672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18568
18569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18570
ef82f4da
JM
185712012-10-31 Joseph Myers <joseph@codesourcery.com>
18572
16a0e2ec
JM
18573 [BZ #14610]
18574 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18575 for low part of x being zero before using __atanl (y).
18576 * math/libm-test.inc (atan2_test): Add another test.
18577
0eb69512
JM
18578 * manual/install.texi (Configuring and compiling): Document
18579 general use of test-wrapper and test-wrapper-env.
18580 * INSTALL: Regenerated.
18581
ef82f4da
JM
18582 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18583 (__fma): Do not extract and scale down low bits on after-rounding
18584 systems when result rounded to normal precision would have normal
18585 exponent.
18586 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18587 (__fmal): Do not extract and scale down low bits on after-rounding
18588 systems when result rounded to normal precision would have normal
18589 exponent.
18590 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18591 (__fmal): Do not extract and scale down low bits on after-rounding
18592 systems when result rounded to normal precision would have normal
18593 exponent.
18594 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18595 macro.
18596 (fma_test): Add more tests.
18597 (fma_test_towardzero): Likewise.
18598 (fma_test_downward): Likewise.
18599 (fma_test_upward): Likewise.
18600
954ef0d9
L
186012012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18602
18603 * sysdeps/i386/tininess.h: Renamed to ...
18604 * sysdeps/x86/tininess.h: This.
18605 * sysdeps/x86_64/tininess.h: Removed.
18606
df61ffb2
JM
186072012-10-30 Joseph Myers <joseph@codesourcery.com>
18608
18609 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18610 input. Use $(build-program-cmd).
18611 ($(objpfx)tst-array1-static.out): Likewise.
18612 ($(objpfx)tst-array2.out): Likewise.
18613 ($(objpfx)tst-array3.out): Likewise.
18614 ($(objpfx)tst-array4.out): Likewise.
18615 ($(objpfx)tst-array5.out): Likewise.
18616 ($(objpfx)tst-array5-static.out): Likewise.
18617
01767843
CM
186182012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18619
47cc1490
CM
18620 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18621 if defined.
18622
01767843
CM
18623 * nss/nsswitch.h (nss_interface_function): Provide new
18624 macro for use with NSS functions.
18625 * grp/initgroups.c: Use new macro.
18626 * nss/getXXbyYY.c: Likewise.
18627 * nss/getXXbyYY_r.c: Likewise.
18628 * nss/getXXent.c: Likewise.
18629 * nss/getXXent_r.c: Likewise.
18630 * sysdeps/posix/getaddrinfo.c: Likewise.
18631
8321aa97
AJ
186322012-10-30 Andreas Jaeger <aj@suse.de>
18633
18634 * po/ru.po: Update Russion translation from translation project.
18635
2a27fd6d
JM
186362012-10-30 Joseph Myers <joseph@codesourcery.com>
18637
8627a232
JM
18638 [BZ #14152]
18639 [BZ #14783]
18640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18641 result and shift together with sticky bit instead of replicating
18642 round-to-nearest rounding.
18643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18645 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18646 missing underflow exceptions.
18647 (fma_test_towardzero): Add more tests.
18648 (fma_test_downward): Likewise.
18649 (fma_test_upward): Likewise.
18650
2a27fd6d
JM
18651 [BZ #14047]
18652 * sysdeps/generic/tininess.h: New file.
18653 * sysdeps/i386/tininess.h: Likewise.
18654 * sysdeps/sh/tininess.h: Likewise.
18655 * sysdeps/x86_64/tininess.h: Likewise.
18656 * stdlib/tst-strtod-underflow.c: Likewise.
18657 * stdlib/tst-tininess.c: Likewise.
18658 * stdlib/strtod_l.c: Include <tininess.h>.
18659 (round_and_return): Do not set errno for exact underflow cases.
18660 Force an underflow exception when setting errno for underflow.
18661 Determine underflow based on rounding to normal precision if
18662 TININESS_AFTER_ROUNDING.
18663 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18664 ERANGE for exact underflow cases.
18665 * stdlib/Makefile (tests): Add tst-tininess and
18666 tst-strtod-underflow.
18667 ($(objpfx)tst-tininess): Use $(link-libm).
18668 ($(objpfx)tst-strtod-underflow): Likewise.
18669
e7170363
AJ
186702012-10-30 Andreas Jaeger <aj@suse.de>
18671
e5088dc6
AJ
18672 [BZ#14767]
18673 * elf/Makefile (tests): Remove conditional for have-initfini-array
18674 since this is now always required and the variable does not exist
18675 anymore.
18676 (tests-static): Likewise.
18677 (modules-names): Likewise.
18678
e7170363 18679 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
18680
18681 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18682 merged with constructor/destructor.
18683 (init_array): Likewise.
18684 * elf/tst-array2dep.c (fini_array): Likewise.
18685 (init_array): Likewise.
18686
60457d8a
MF
186872012-10-29 Mike Frysinger <vapier@gentoo.org>
18688
18689 * manual/message.texi: Delete @cartouche tags.
18690
8bece752
PT
186912012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18692
94ce799f
PT
18693 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18694 EOPNOTSUPP.
18695 * sysdeps/mach/hurd/fsync.c: Likewise.
18696
8bece752
PT
18697 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18698 [_POSIX_REALTIME_SIGNALS]: Change condition to
18699 [_POSIX_REALTIME_SIGNALS > 0].
18700
86ebe6b1
AJ
187012012-10-27 Andreas Jaeger <aj@suse.de>
18702
18703 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18704 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18706 [__WORDSIZE != 64]: Likewise.
18707
54399c08
L
187082012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * iconvdata/tst-table.sh: Remove ${SHELL}.
18711 * iconvdata/tst-tables.sh: Likewise.
18712
e2211bed
DM
187132012-10-25 David S. Miller <davem@davemloft.net>
18714
18715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18716 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18717 of strtoull.
18718
f303f97c
DM
18719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18720 ifunc-impl-list.c
18721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18722 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18723 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18724 file.
18725
1e9d84cd
RM
187262012-10-25 Roland McGrath <roland@hack.frob.com>
18727
18728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18729 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18730 __getdirentries.
18731
df381762
JM
187322012-10-25 Joseph Myers <joseph@codesourcery.com>
18733 Jim Blandy <jimb@codesourcery.com>
18734
18735 * scripts/cross-test-ssh.sh: New file.
18736 * manual/install.texi (Configuring and compiling): Document use of
18737 cross-test-ssh.sh.
18738 * INSTALL: Regenerated.
18739
bff64913
PT
187402012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18741
18742 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18743 EOPNOTSUPP.
18744
25fe8932
JM
187452012-10-25 Joseph Myers <joseph@codesourcery.com>
18746
18747 * Makeconfig (run-program-prefix): Fix comment.
18748
cc1290d0
JM
187492012-10-24 Joseph Myers <joseph@codesourcery.com>
18750 Jim Blandy <jimb@codesourcery.com>
18751
18752 * Makeconfig (test-wrapper): New variable,
18753 (test-wrapper-env): Likewise.
18754 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18755 (run-built-tests): Define to yes.
18756 (run-program-prefix): Use $(test-wrapper).
18757 (built-program-cmd): Likewise.
18758 * Rules (make-test-out): Use $(test-wrapper-env) and
18759 $(host-built-program-cmd).
18760 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18761 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18762 tst-pathopt.sh.
18763 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18764 $(test-wrapper-env) to tst-rtld-load-self.sh.
18765 ($(objpfx)order2.out): Use $(test-wrapper).
18766 ($(objpfx)tst-initorder.out): Likewise.
18767 ($(objpfx)tst-initorder2.out): Likewise.
18768 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18769 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18770 (test_wrapper_env): New variable. Use it to run ld.so.
18771 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18772 Use it to run ld.so.
18773 (test_wrapper_env): Likewise.
18774 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18775 $(test-wrapper) to run-iconv-test.sh.
18776 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18777 (ICONV): Use $test_wrapper.
18778 * posix/Makefile ($(objpfx)globtest.out): Pass
18779 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18780 globtest.sh, not $(run-program-prefix).
18781 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18782 (test_wrapper): Likewise.
18783 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18784 set together with run_via_rtld_prefix.
18785 (run_program_prefix): Define in terms of test_wrapper and
18786 run_via_rtld_prefix.
18787
6e6249d0
RM
187882012-10-24 Roland McGrath <roland@hack.frob.com>
18789
18790 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18791 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18792 Targets removed.
18793
18794 [BZ #14743]
18795 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18796 Declare __clock_getres, __clock_gettime, __clock_settime,
18797 __clock_nanosleep, and __clock_getcpuclockid.
18798 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18799 Remove librt_hidden_def (clock_gettime).
18800 * sysdeps/unix/clock_gettime.c: Likewise.
18801 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18803 * rt/clock_getres.c: Define __clock_getres as an alias.
18804 * sysdeps/posix/clock_getres.c: Likewise.
18805 * rt/clock_settime.c: Define __clock_settime as an alias.
18806 * sysdeps/unix/clock_settime.c: Likewise.
18807 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18808 * sysdeps/unix/clock_nanosleep.c: Likewise.
18809 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18810 * rt/clock-compat.c: New file.
18811 * rt/Makefile (librt-routines): Add clock-compat and move
18812 $(clock-routines) to ...
18813 (routines): ... here, new variable.
18814 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18815 Don't add get_clockfreq here.
18816 * rt/Versions (libc: GLIBC_2.17): New version set.
18817 Add clock_* symbols here.
18818 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18819 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18820 (GLIBC_2.17): Add clock_* symbols.
18821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18823 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18825 Likewise.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18827 Likewise.
18828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18829 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18832 * NEWS: Mention the move.
18833
18834 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18835 Use __open, __read, __close rather than their public counterparts.
18836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18837 (__get_clockfreq_via_cpuinfo): Likewise.
18838 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18839 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18840
18841 * config.h.in (HAVE_IFUNC): New #undef.
18842 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18843 was successful.
18844 * configure: Regenerated.
18845
0cae3f4b
MF
188462012-10-24 Mike Frysinger <vapier@gentoo.org>
18847
18848 * configure.in: Move READELF check to start of file.
18849 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18850 libc_cv_asm_gnu_indirect_function in the process.
18851 * configure: Regenerated.
18852
8175a253
MF
188532012-10-24 Mike Frysinger <vapier@gentoo.org>
18854
18855 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18856 send the output to /dev/null.
18857 (libc_cv_cc_with_libunwind): Likewise.
18858 (libc_cv_as_noexecstack): Likewise.
18859 * configure: Regenerate.
18860
0708a7d1
JM
188612012-10-24 Joseph Myers <joseph@codesourcery.com>
18862
10b40d85
JM
18863 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18864
0708a7d1
JM
18865 * posix/globtest.sh (TMPDIR): Do not set.
18866 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18867 (testout): Likewise.
18868
9fddec1a
AJ
188692012-10-24 Andreas Jaeger <aj@suse.de>
18870
3a8db22f
AJ
18871 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18872 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18873 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18874 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18875 posix_fadvise64, posix_fallocate64.
18876
9fddec1a
AJ
18877 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18878 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18879 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18880 Likewise.
18881 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18882 Likewise.
18883 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18884
18885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18886 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18887 <bits/fcntl-linux.h>.
18888 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18889
18890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18891 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18892 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18893 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18894 [__WORDSIZE != 64]: Likewise.
18895
ebfd1bbd
JM
188962012-10-23 Joseph Myers <joseph@codesourcery.com>
18897
03ac099f
JM
18898 * Makeconfig (run-built-tests): New variable.
18899 * Rules [$(cross-compiling) = yes]: Change condition to
18900 [$(run-built-tests) = no].
18901 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18902 to [$(run-built-tests) = yes].
18903 * elf/Makefile [$(cross-compiling) = no]: Likewise
18904 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18905 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18906 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18907 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18908 * io/Makefile [$(cross-compiling) = no]: Likewise.
18909 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18910 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18911 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18912 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18913 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18914 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18915 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18916 * string/Makefile [$(cross-compiling) = no]: Likewise.
18917
ebfd1bbd
JM
18918 * posix/Makefile ($(objpfx)globtest.out): Pass
18919 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18920 $(rtld-installed-name).
18921 * posix/globtest.sh (elf_objpfx): Remove variable.
18922 (rtld_installed_name): Likewise.
18923 (library_path): Likewise.
18924 (run_program_prefix): New variable. Use for running globtest
18925 binary.
18926
166bca24
JB
189272012-10-23 Jim Blandy <jimb@codesourcery.com>
18928 Joseph Myers <joseph@codesourcery.com>
18929
18930 * Makeconfig (host-built-program-cmd): New variable.
18931 * elf/Makefile (tst-stackguard1-ARGS): Use
18932 $(host-built-program-cmd).
18933 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18934 (tst-spawn-ARGS): Likewise.
18935 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18936
88866099
JM
189372012-10-23 Joseph Myers <joseph@codesourcery.com>
18938 Jim Blandy <jimb@codesourcery.com>
18939
18940 * Makeconfig (run-via-rtld-prefix): New variable.
18941 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18942 (built-program-cmd): Likewise.
18943
b4b4c296
AJ
189442012-10-22 Andreas Jaeger <aj@suse.de>
18945
18946 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18947 __O_RSYNC if it exists, otherwise to O_SYNC.
18948
6fb54a22
JB
189492012-10-22 Jim Blandy <jimb@codesourcery.com>
18950 Joseph Myers <joseph@codesourcery.com>
18951
18952 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18953 /dev/null.
18954 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18955 from /dev/null
18956 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18957 /dev/null.
18958
481b90b9
AJ
189592012-10-22 Andreas Jaeger <aj@suse.de>
18960
2a0e2669
AJ
18961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18962 Define always.
18963 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18964
76e38f9a
AJ
18965 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18966 bits/fcntl-linux.h.
18967
7cd37b43
AJ
18968 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18969 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18970
481b90b9
AJ
18971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18972 to __O_LARGEFILE.
18973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18974 to __O_LARGEFILE.
18975
aba75984
JB
189762012-10-21 Jim Blandy <jimb@codesourcery.com>
18977 Joseph Myers <joseph@codesourcery.com>
18978
18979 * config.make.in (NM): New variable.
18980
88d4247f
AJ
189812012-10-21 Andreas Jaeger <aj@suse.de>
18982
18983 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18984 definitions and declarations that are provided by
18985 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18986
f2eed205
L
189872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18988
18989 [BZ #14683]
18990 * elf/Makefile (tests-static): Add tst-leaks1-static.
18991 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18992 ($(objpfx)tst-leaks1-static): New rule.
18993 ($(objpfx)tst-leaks1-static-mem): Likewise.
18994 (tst-leaks1-static-ENV): New macro.
18995 * elf/dl-open.c (dl_open_worker): Check the main application
18996 only if SHARED is defined.
18997 * elf/tst-leaks1-static.c: New file.
18998
335e6931
AJ
189992012-10-20 Andreas Jaeger <aj@suse.de>
19000
19001 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19002 generic values for Linux.
19003 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19004 and declarations that are provided by <bits/fcntl-linux.h> and
19005 include <bits/fcntl-linux.h>.
19006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19008
ac5c94d3
RM
190092012-10-20 Roland McGrath <roland@hack.frob.com>
19010
19011 * io/fcntl.h: Move include of <bits/types.h> to the top and
19012 include it unconditionally.
19013
de54b33a
L
190142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19015
228cfb01
L
19016 * wcsmbs/Makefile (tests-ifunc): New variable.
19017 (tests): Add $(tests-ifunc).
19018 * wcsmbs/test-wcschr-ifunc.c: New file.
19019 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19020 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19021 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19022 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19023 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19024
69f07e5f
L
19025 * string/Makefile (tests-ifunc): New variable.
19026 (tests): Add $(tests-ifunc).
19027 * string/test-memccpy.c (TEST_NAME): New macro.
19028 * string/test-memchr.c (TEST_NAME): Likewise.
19029 * string/test-memcmp.c (TEST_NAME): Likewise.
19030 * string/test-memcpy.c (TEST_NAME): Likewise.
19031 * string/test-memmem.c (TEST_NAME): Likewise.
19032 * string/test-memmove.c (TEST_NAME): Likewise.
19033 * string/test-memset.c (TEST_NAME): Likewise.
19034 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19035 * string/test-stpcpy.c (TEST_NAME): Likewise.
19036 * string/test-stpncpy.c (TEST_NAME): Likewise.
19037 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19038 * string/test-strcasestr.c (TEST_NAME): Likewise.
19039 * string/test-strcat.c (TEST_NAME): Likewise.
19040 * string/test-strchr.c (TEST_NAME): Likewise.
19041 * string/test-strcmp.c(TEST_NAME): Likewise.
19042 * string/test-strcpy.c (TEST_NAME): Likewise.
19043 * string/test-strcspn.c (TEST_NAME): Likewise.
19044 * string/test-strlen.c (TEST_NAME): Likewise.
19045 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19046 * string/test-strncmp.c (TEST_NAME): Likewise.
19047 * string/test-strncpy.c (TEST_NAME): Likewise.
19048 * string/test-strnlen.c (TEST_NAME): Likewise.
19049 * string/test-strpbrk.c (TEST_NAME): Likewise.
19050 * string/test-strrchr.c (TEST_NAME): Likewise.
19051 * string/test-strspn.c (TEST_NAME): Likewise.
19052 * string/test-strstr.c (TEST_NAME): Likewise.
19053 * string/test-bcopy-ifunc.c: New file.
19054 * string/test-bzero-ifunc.c: Likewise.
19055 * string/test-memccpy-ifunc.c: Likewise.
19056 * string/test-memchr-ifunc.c: Likewise.
19057 * string/test-memcmp-ifunc.c: Likewise.
19058 * string/test-memcpy-ifunc.c: Likewise.
19059 * string/test-memmem-ifunc.c: Likewise.
19060 * string/test-memmove-ifunc.c: Likewise.
19061 * string/test-mempcpy-ifunc.c: Likewise.
19062 * string/test-memset-ifunc.c: Likewise.
19063 * string/test-rawmemchr-ifunc.c: Likewise.
19064 * string/test-stpcpy-ifunc.c: Likewise.
19065 * string/test-stpncpy-ifunc.c: Likewise.
19066 * string/test-strcasecmp-ifunc.c: Likewise.
19067 * string/test-strcasestr-ifunc.c: Likewise.
19068 * string/test-strcat-ifunc.c: Likewise.
19069 * string/test-strchr-ifunc.c: Likewise.
19070 * string/test-strchrnul-ifunc.c: Likewise.
19071 * string/test-strcmp-ifunc.c: Likewise.
19072 * string/test-strcpy-ifunc.c: Likewise.
19073 * string/test-strcspn-ifunc.c: Likewise.
19074 * string/test-strlen-ifunc.c: Likewise.
19075 * string/test-strncasecmp-ifunc.c: Likewise.
19076 * string/test-strncat-ifunc.c: Likewise.
19077 * string/test-strncmp-ifunc.c: Likewise.
19078 * string/test-strncpy-ifunc.c: Likewise.
19079 * string/test-strnlen-ifunc.c: Likewise.
19080 * string/test-strpbrk-ifunc.c: Likewise.
19081 * string/test-strrchr-ifunc.c: Likewise.
19082 * string/test-strspn-ifunc.c: Likewise.
19083 * string/test-strstr-ifunc.c: Likewise.
19084
de54b33a
L
19085 * debug/Makefile (tests-ifunc): New variable.
19086 (tests): Add $(tests-ifunc).
19087 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19088 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19089 * debug/test-stpcpy_chk-ifunc.c: New file.
19090 * debug/test-strcpy_chk-ifunc.c: Likewise.
19091
88481c16
SP
190922012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19093
19094 [BZ #13601]
19095 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19096 header is not read in.
19097
135948bd
JM
190982012-10-19 Joseph Myers <joseph@codesourcery.com>
19099
89f1c388
JM
19100 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19101 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19102 directly. Pass built executable to script as
19103 $(built-program-cmd).
19104 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19105 $testprogram without using LD_LIBRARY_PATH and $ldso.
19106
e40a0d21
JM
19107 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19108 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19109 $(rtld-installed-name).
19110 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19111 (rtld_installed_name): Likewise.
19112 (library_path): Likewise.
19113 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19114 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19115 $(run-program-prefix) to tst-tables.sh.
19116 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19117 it to run tst-table-from and tst-table-to.
19118 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19119 Pass it to tst-table.sh.
19120 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19121 $(run-program-prefix) to tst-gettext.sh.
19122 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19123 tst-translit.sh.
19124 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19125 tst-gettext2.sh.
19126 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19127 to run tst-gettext.
19128 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19129 to run tst-gettext2.
19130 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19131 to run tst-translit.
19132 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19133 $(run-program-prefix) to tst-mtrace.sh.
19134 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19135 to run tst-mtrace.
19136 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19137 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19138 $(rtld-installed-name).
19139 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19140 (rtld_installed_name): Likewise.
19141 (run_program_prefix): New variable. Use it to run wordexp-test.
19142
728e272a
JM
19143 * Makeconfig (ARCH): Remove all definitions.
19144 (machine): Likewise.
19145 [ARCH]: Remove conditional code.
19146 [!objdir]: Give error.
19147 [!objdir] (objpfx): Remove.
19148 [!objdir] (common-objpfx): Likewise.
19149 [!objdir] (common-objdir): Likewise.
19150 * configure.in (config_makefile): Remove. Hardcode Makefile in
19151 AC_CONFIG_FILES call.
19152 * configure: Regenerated.
19153
d528cdcf
JM
19154 [BZ #13888]
19155 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19156 or TMPDIR.
19157 (testout): Likewise.
19158
135948bd
JM
19159 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19160 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19161 $(rtld-installed-name).
19162 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19163 (rtld_installed_name): Likwise.
19164 (runit): Remove function.
19165 (run_getconf): New variable, Use it for running getconf binary.
19166
38c78296
L
191672012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19168
19169 [BZ #14716]
19170 * string/test-memmem.c (check_result): New function.
19171 (do_one_test): Use it.
19172 (check1): New function.
19173 (test_main): Use it.
19174
d077f65f
MT
191752012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19176
19177 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19178
ced52c71
JM
191792012-10-18 Joseph Myers <joseph@codesourcery.com>
19180
19181 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19182 (_G_LSEEK64): Likewise.
19183 (_G_MMAP64): Likewise.
19184 (_G_FSTAT64): Likewise.
19185 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19186 (_G_LSEEK64): Likewise.
19187 (_G_MMAP64): Likewise.
19188 (_G_FSTAT64): Likewise.
19189 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19190 unconditional. Call __mmap64 directly.
19191 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19192 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19193 __lseek64 directly.
19194 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19195 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19196 __mmap64 directly.
19197 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19198 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19199 __lseek64 directly.
19200 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19201 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19202 __lseek64 directly.
19203 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19204 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19205 __lseek64 directly.
19206 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19207 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19208 __fxstat64 directly.
19209 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19210 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19211 unconditional.
19212 (freopen64) [!_G_OPEN64]: Remove conditional code.
19213 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19214 unconditional.
19215 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19216 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19217 unconditional.
19218 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19219 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19220 unconditional.
19221 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19222 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19223 unconditional.
19224 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19225 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19226 unconditional.
19227 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19228 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19229 unconditional.
19230 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19231 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19232 unconditional.
19233 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19234
b741de23
SP
192352012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19236
19237 [BZ #12140]
19238 * manual/memory.texi (Malloc Tunable Parameters): Add note
19239 about free list pointers overwriting some perturb bytes.
19240 Wording suggested by Roland McGrath.
19241
f9b9d9c9
JM
192422012-10-17 Joseph Myers <joseph@codesourcery.com>
19243
19244 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19245 (lgamma_test): Likewise.
19246 (tgamma_test): Likewise.
19247
172a631a
FW
192482012-10-16 Florian Weimer <fweimer@redhat.com>
19249
19250 [BZ #14700]
19251 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19252 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19253
e9f37252
MK
192542012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19255
19256 * NEWS: Mention BZ #14716.
19257 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19258 when removing AVAILABLE1_USES_J macro.
19259
d394eb74
L
192602012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19261
19262 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19263 (__bswap_64): __uint64_t for unsigned 64-bit int.
19264
ca38dc17
AS
192652012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19266
19267 * include/string.h (memmem): Declare libc hidden alias.
19268 * string/memmem.c (memmem): Define libc hidden alias.
19269 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19270 __read, __close instead of open, read, close.
19271
9a387d1f
L
192722012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19273
ac49ecaf
L
19274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19275 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19276 global and hidden.
19277 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19278 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19279 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19280 Likewise.
19281 (__rawmemchr_sse2): Likewise.
19282 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19283 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19284 (__strchr_sse2): Likewise.
19285 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19286 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19287 (__strcasecmp_sse2): Likewise.
19288 (__strncasecmp_sse2): Likewise.
19289 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19290 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19291 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19292 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19293 (__strrchr_sse2): Likewise.
19294 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19295 ifunc-impl-list.c.
19296 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19297 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19298 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19299 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19300 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19301 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19302 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19303 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19304 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19305 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19306 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19307 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19308 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19309 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19310 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19311 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19312 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19313 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19314 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19315 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19316 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19317 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19318 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19319 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19320 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19321 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19322 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19323 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19324 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19325 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19326
b090e8ea
L
19327 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19328 global and hidden.
19329 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19330 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19331 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19332 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19333 Likewise.
19334 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19335 Likewise.
19336 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19337 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19338 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19339 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19340 ifunc-impl-list.c.
19341 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19342 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19343 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19344 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19345 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19346 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19347 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19348 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19349 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19350 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19351 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19352 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19353 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19354 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19355 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19356 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19357 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19358 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19359 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19360 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19361 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19362 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19363 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19364 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19365 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19366 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19367 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19368 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19369 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19370 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19371 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19372 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19373 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19374 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19375 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19376 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19377 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19378 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19379 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19380 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19381 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19382
11dd4af6
L
19383 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19384 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19385 * include/ifunc-impl-list.h: New file.
19386 * misc/ifunc-impl-list.c: Likewise.
19387 * misc/Makefile (routines): Add ifunc-impl-list.
19388 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19389 * string/test-string.h: Include <ifunc-impl-list.h>.
19390 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19391 impl_array): New variables.
19392 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19393 are defined.
19394 (test_init): Call __libc_ifunc_impl_list to initialize
19395 func_list if TEST_IFUNC and TEST_NAME are defined.
19396
9a387d1f
L
19397 * string/Makefile (strop-tests): Add bcopy and bzero.
19398 * string/test-bcopy.c: New file.
19399 * string/test-bzero.c: Likewise.
19400 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19401 defined.
19402 * string/test-memset.c: Support bzero test if TEST_BZERO is
19403 defined.
19404 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19405 __libc_memmove.
19406 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19407 __libc_memset.
19408 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19409 of memset.
19410
472371b9
JM
194112012-10-10 Joseph Myers <joseph@codesourcery.com>
19412
1e4a9536
JM
19413 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19414 * configure: Regenerated.
19415
d173d12e
JM
19416 * Makeconfig (+link-static-before-libc): Don't include
19417 $(link-static-libc).
19418
472371b9
JM
19419 * libio/libio.h (_IO_pos_t): Remove.
19420
89a3ad0b
AO
194212012-10-10 Alexandre Oliva <aoliva@redhat.com>
19422
19423 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19424 McGrath.
19425
e7451425
AO
194262012-10-10 Alexandre Oliva <aoliva@redhat.com>
19427
19428 * crypt/crypt-entry.c: Include fips-private.h.
19429 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19430 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19431 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19432 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19433
4ba74a35
AO
194342012-10-10 Alexandre Oliva <aoliva@redhat.com>
19435
19436 * crypt/crypt-private.h: Include stdbool.h.
19437 (_ufc_setup_salt_r): Return bool.
19438 * crypt/crypt-entry.c: Include errno.h.
19439 (__crypt_r): Return NULL with EINVAL for bad salt.
19440 * crypt/crypt_util.c (bad_for_salt): New.
19441 (_ufc_setup_salt_r): Check that salt is long enough and within
19442 the specified alphabet.
19443 * crypt/badsalttest.c: New file.
19444 * crypt/Makefile (tests): Add it.
19445 ($(objpfx)badsalttest): New.
19446
f96f1242
MK
194472012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19448
19449 * NEWS: Add entry for BZ #14602.
19450
0e8e0c1c
JM
194512012-10-09 Joseph Myers <joseph@codesourcery.com>
19452
19453 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19454 type-generic.
19455 * math/libm-test.inc: Update comment listing what functions and
19456 macros are tested.
19457 (isgreater_test): New function.
19458 (isgreaterequal_test): Likewise.
19459 (isless_test): Likewise.
19460 (islessequal_test): Likewise.
19461 (islessgreater_test): Likewise.
19462 (isunordered_test): Likewise.
19463 (main): Call the new functions.
19464
273edc5e
RM
194652012-10-09 Roland McGrath <roland@hack.frob.com>
19466
b8493de0
RM
19467 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19468 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19469 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19470 * sysdeps/i386/configure: Regenerated.
19471 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19472 * sysdeps/mach/configure: Regenerated.
19473 * sysdeps/mach/hurd/configure: Regenerated.
19474 * sysdeps/powerpc/configure: Regenerated.
19475 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19476 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19477 * sysdeps/s390/s390-32/configure: Regenerated.
19478 * sysdeps/s390/s390-64/configure: Regenerated.
19479 * sysdeps/sh/configure: Regenerated.
19480 * sysdeps/sparc/configure: Regenerated.
19481 * sysdeps/unix/sysv/linux/configure: Regenerated.
19482 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19483 * sysdeps/x86_64/configure: Regenerated.
19484
273edc5e
RM
19485 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19486 defined. Don't check if MAP is NULL.
19487
c8450f70
JM
194882012-10-09 Joseph Myers <joseph@codesourcery.com>
19489
19490 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19491 (_G_stat64): Likewise.
19492 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19493 (_G_stat64): Likewise.
19494 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19495 instead of struct _G_stat64.
19496 * libio/fileops.c (mmap_remap_check): Likewise.
19497 (decide_maybe_mmap): Likewise.
19498 (_IO_new_file_seekoff): Likewise.
19499 (_IO_file_stat): Likewise.
19500 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19501 _G_off64_t.
19502 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19503 instead of struct _G_stat64.
19504 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19505
57e605ba
MK
195062012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19507
19508 [BZ #14602]
19509 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19510 Replace with ...
19511 (CHECK_EOL): New macro.
19512 (two_way_short_needle): Check beginning of haystack for EOL. Use
19513 CHECK_EOL.
19514 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19515 Replace with CHECK_EOL.
19516 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19517 Replace with CHECK_EOL.
19518
ef1bb361
JM
195192012-10-08 Joseph Myers <joseph@codesourcery.com>
19520
19521 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19522 type-generic.
19523 * math/libm-test.inc: Update comment listing what functions and
19524 macros are tested.
19525 (finite_test): New function.
19526 (isinf_test): Likewise.
19527 (isnan_test): Likewise.
19528 (fpclassify_test): Test subnormal input.
19529 (isfinite_test): Likewise.
19530 (isnormal_test): Likewise.
19531 (main): Call the new functions.
19532
55f11534
JN
195332012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19534
19535 [BZ #14660]
19536 * Makerules (%.dynsym): Force C locale when running
19537 $(OBJDUMP) --dynamic-syms.
19538
1ab29350
AS
195392012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19540
19541 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19542 <stdint.h>.
19543
f1ecb7ef
DM
195442012-10-06 David S. Miller <davem@davemloft.net>
19545
19546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19547 upper 32-bits of the length value in %o2 since we use branch-on-register
19548 tests which consider the entire 64-bit register.
19549
5d41d91a
L
195502012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19551
19552 * string/test-strstr.c (check2): Add a test for page boundary.
19553
3baddb72
DM
195542012-10-05 David S. Miller <davem@davemloft.net>
19555
19556 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19557 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19558 file.
19559 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19560 sysdep_routines.
19561 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19562 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19563 and bzero when HWCAP_SPARC_CRYPTO is present.
19564
9cee5585
L
195652012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19566
d7e0dab9
L
19567 [BZ #14602]
19568 * string/test-strstr.c (check2): New function.
19569 (test_main): Call check2.
19570
03759f47
L
19571 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19572 and bug-strchr1.
19573 * string/bug-strcasestr1.c (do_test): Moved to ...
19574 * string/test-strcasestr.c (check1): Here. New function.
19575 (do_one_test): Break out result checking code into ...
19576 (check_result): This. New function.
19577 (do_one_test): Call check_result.
19578 (test_main): Call check1.
19579 * string/bug-strchr1.c (do_test): Moved to ...
19580 * string/test-strchr.c (check1): Here. New function.
19581 (do_one_test): Break out result checking code into ...
19582 (check_result): This. New function.
19583 (do_one_test): Call check_result.
19584 (test_main): Call check1.
19585 * string/bug-strstr1.c (main): Moved to ...
046f153e 19586 * string/test-strstr.c (check1): Here. New function.
03759f47
L
19587 (do_one_test): Break out result checking code into ...
19588 (check_result): This. New function.
19589 (do_one_test): Call check_result.
19590 (test_main): Call check1.
19591 * string/bug-strcasestr1.c: Removed.
19592 * string/bug-strchr1.c: Likewise.
19593 * string/bug-strstr1.c: Likewise.
19594
53cea63e
L
19595 * elf/Makefile (dl-routines): Add hwcaps.
19596 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19597 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19598 (_dl_important_hwcaps): Moved to ...
19599 * elf/dl-hwcaps.c: Here. New file.
19600 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19601
9cee5585 19602 [BZ #14557]
bb859b06
L
19603 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19604 if IS_IN_rtld isn't defined.
19605
9cee5585
L
19606 * elf/dl-support.c (_dl_sysinfo_map): New.
19607 Include "get-dynamic-info.h" and "setup-vdso.h".
19608 (_dl_non_dynamic_init): Call setup_vdso.
19609 * elf/dynamic-link.h: Don't include <assert.h>.
19610 (elf_get_dynamic_info): Moved to ...
19611 * elf/get-dynamic-info.h: Here. New file.
19612 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19613 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19614 * elf/setup-vdso.h: Here. New file.
19615 * elf/rtld.c: Include "setup-vdso.h".
19616 (dl_main): Call setup_vdso.
19617
23c31b76
JM
196182012-10-05 Joseph Myers <joseph@codesourcery.com>
19619
28234b07
JM
19620 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19621 creal in comment listing functions tested. List finite, isinf,
19622 isnan, isless, islessequal, isgreater, isgreaterequal,
19623 islessgreater, isunordered, lgamma_r and pow10 as functions and
19624 macros not tested. Mention which functions not tested are aliases
19625 for other functions. Fix typo. Note that signs of NaNs are not
19626 tested.
19627
23c31b76
JM
19628 * scripts/config.guess: Update from config.git.
19629 * scripts/config.sub: Likewise.
19630
9043e228
RM
196312012-10-04 Roland McGrath <roland@hack.frob.com>
19632
19633 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19634 * misc/madvise.c (madvise): Renamed to __madvise.
19635 Make madvise a weak alias.
19636 * include/sys/mman.h: Declare __madvise.
19637 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19638 * sysdeps/unix/syscalls.list
19639 (madvise): Make __madvise the strong name, and madvise a weak alias.
19640 * sysdeps/unix/sysv/linux/syscalls.list
19641 (madvise, mmap): Remove redundant entries.
19642 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19643 * malloc/malloc.c (mtrim): Likewise.
19644 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19645
f57f8055
RM
196462012-10-03 Roland McGrath <roland@hack.frob.com>
19647
19648 * sysdeps/mach/hurd/dl-cache.c: File removed.
19649 * config.h.in (USE_LDCONFIG): New #undef.
19650 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19651 * configure: Regenerated.
19652 * elf/Makefile (dl-routines): Add dl-cache only under
19653 [$(use-ldconfig) = yes].
19654 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19655 cache on [USE_LDCONFIG].
19656 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19657 [USE_LDCONFIG].
19658 * elf/rtld.c (dl_main): Likewise.
19659
5bb0c10a
PT
196602012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19661
19662 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19663 _SC_LEVEL4_CACHE_LINESIZE.
19664
010188c6
RM
196652012-10-03 Roland McGrath <roland@hack.frob.com>
19666
19667 * sysdeps/unix/bsd/confstr.h: File removed.
19668
b6c5ec07
AO
196692012-10-02 Alexandre Oliva <aoliva@redhat.com>
19670
19671 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19672 sys/sdt-config.h.
19673
408223d4
RM
196742012-10-02 Roland McGrath <roland@hack.frob.com>
19675
19676 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19677 Make 'mapoff' field ElfW(Off) rather than off_t.
19678
bb9510dc
DL
196792012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19680
fc997c6e
DL
19681 * nscd/Makefile: Remove nscd-cflags and all its users.
19682 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19683 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19684
bb9510dc
DL
19685 [BZ #10631]
19686 * malloc.c (malloc_printerr): Clarify error message.
19687
05699367
L
196882012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19689
19690 [BZ #14648]
19691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19692 Set bit_FMA_Usable if FMA is supported.
19693 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19694 macro.
19695 (bit_FMA4_Usable): Updated.
19696 (index_FMA_Usable): New macro.
19697 (CPUID_FMA): Likewise
19698 (HAS_FMA): Defined with bit_FMA_Usable.
19699
51367701
RM
197002012-10-01 Roland McGrath <roland@hack.frob.com>
19701
19702 * bits/types.h (__swblk_t): Type removed.
19703 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19704 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19705 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19706 (__SWBLK_T_TYPE): Likewise.
19707 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19708 (__SWBLK_T_TYPE): Likewise.
19709 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19710 (__SWBLK_T_TYPE): Likewise.
19711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19712 (__SWBLK_T_TYPE): Likewise.
19713
4d57bf63 197142012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 19715 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
19716
19717 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19718 (xdr_mapname): Use YPMAXMAP as maxsize.
19719 (xdr_peername): Use YPMAXPEER as maxsize.
19720 (xdr_keydat): Use YPAXRECORD as maxsize.
19721 (xdr_valdat): Use YPMAXRECORD as maxsize.
19722
93c65d43
RM
197232012-10-01 Roland McGrath <roland@hack.frob.com>
19724
497a03d6
RM
19725 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19726
93c65d43
RM
19727 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19728 * csu/init-first.c: ... here.
19729 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19730 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19731 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19732 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19733 * sysdeps/i386/init-first.c: File removed.
19734 * sysdeps/sh/init-first.c: File removed.
19735
bec749fd
JM
197362012-10-01 Joseph Myers <joseph@codesourcery.com>
19737
19738 [BZ #14645]
19739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19740 if x * y might underflow to zero and z is zero.
19741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19742 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19743 * math/libm-test.inc (min_subnorm_value): New variable.
19744 (fma_test): Add more tests.
19745 (fma_test_towardzero): Likewise.
19746 (fma_test_downward): Likewise
19747 (fma_test_upward): Likewise.
19748 (initialize): Set min_subnorm_value.
19749
8ec5b013
JM
197502012-09-29 Joseph Myers <joseph@codesourcery.com>
19751
19752 [BZ #14638]
19753 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19754 0 + 0.
19755 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19756 mode for addition resulting in exact zero.
19757 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19759 exact 0 + 0.
19760 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19761 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19762 * math/libm-test.inc (fma_test): Add more tests.
19763 (fma_test_towardzero): New function.
19764 (fma_test_downward): Likewise.
19765 (fma_test_upward): Likewise.
19766 (main): Call the new functions.
19767
b1fa802e
DM
197682012-09-28 David S. Miller <davem@davemloft.net>
19769
19770 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19771
d3b9fd9e
RM
197722012-09-28 Roland McGrath <roland@hack.frob.com>
19773
ea4d37b3
RM
19774 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19775 instead of SIGALRM.
19776
ac51c949
RM
19777 * sysdeps/gnu/_G_config.h: Moved to ...
19778 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19779 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19780 * sysdeps/generic/_G_config.h: ... here.
19781
28c195f7
RM
19782 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19783
848917f9
RM
19784 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19785
6bacf05b
RM
19786 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19787 Conditionalize target on [libnss_test1.so-version].
19788
91363dbb
RM
19789 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19790
cc87f7d8
RM
19791 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19792 (elfobjdir): Move out of conditionals.
19793
b1c608fe
RM
19794 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19795 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19796 (__nss_lookup_function): Conditionalize label remove_from_tree on
19797 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 19798
1d9a6d96
DM
197992012-09-28 David S. Miller <davem@davemloft.net>
19800
19801 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19802 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19803 file.
19804 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19805 sysdep_routines.
19806 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19807 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19808 when HWCAP_SPARC_CRYPTO is present.
19809
72581615
PT
198102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19811
19812 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19813
715a900c
JL
198142012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19815
19816 [BZ #6530]
19817 * stdio-common/vfprintf.c (process_string_arg): Revert
19818 2000-07-22 change.
19819
198202011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19821
19822 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19823 for testcase.
19824 * stdio-common/tst-sprintf.c: Include <locale.h>
19825 (main): Test sprintf's handling of incomplete multibyte
19826 characters.
19827
9bac1d86
L
198282012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19829
19830 * elf/dl-runtime.c (VERSYMIDX): Removed.
19831 * elf/dl-version.c (VERSYMIDX): Likewise.
19832 * elf/do-rel.h (VERSYMIDX): Likewise.
19833 (VALIDX): Likewise.
19834 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19835 * elf/rtld.c (VALIDX): Likewise.
19836 (ADDRIDX): Likewise.
9bac1d86
L
19837 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19838 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19839 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
19840 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19841 (VALIDX): Likewise.
19842 (ADDRIDX): Likewise.
9bac1d86 19843
b31606c0
PT
198442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19845
19846 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19847
11541177
JL
198482012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19849
19850 [BZ #11438]
19851 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19852 to global scope.
19853 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19854 addresses are in the same scope as 192.0.2/24.
19855 * posix/gai.conf: Document new scope table defaults.
19856
adb26fae
SP
198572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19858
19859 [BZ #5298]
19860 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19861 for ftell. Compute offsets from write pointers instead.
19862 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19863
4573c6b0
SP
198642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19865
19866 [BZ #14543]
19867 * libio/Makefile (tests): New test case tst-fseek.
19868 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19869 combination works in wide mode.
19870 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19871 state when the external buffer state changes.
19872
aa9bbfe6
DM
198732012-09-27 David S. Miller <davem@davemloft.net>
19874
19875 [BZ #14376]
19876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19877 pass reloc->r_addend in as the 'high' argument to
19878 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19879
784421e7
DM
19880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19881
c39bc8b8
PT
198822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19883
19884 * rt/tst-aio2.c: Include <pthread.h>.
19885 * rt/tst-aio3.c: Likewise.
19886
1ccc2399
SE
198872012-09-27 Steve Ellcey <sellcey@mips.com>
19888
19889 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19890
31ed4153
L
198912012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19892
25f5f885
L
19893 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19894 contents on [SHARED].
31ed4153 19895
b7bfe116
MP
198962012-09-26 Marek Polacek <polacek@redhat.com>
19897
19898 [BZ #14530]
19899 [BZ #13741]
19900 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19901 for C++ and GCC <4.3 as well as for non GCC compilers.
19902
43c4edba
MT
199032012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19904
19905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19906
6a1bf82f
RM
199072012-09-25 Roland McGrath <roland@hack.frob.com>
19908
19909 * Makefile.in (all, install): Declare with .PHONY.
19910 Reported by Michael Hope <michael.hope@linaro.org>.
19911
8ad11b9a
TMQMF
199122012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19913
19914 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19915 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19916 system header.
19917 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19918 Likewise.
19919 (sydep_routines): Add the new and the internal functions.
19920 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19921 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19923 (GLIBC_2.17): Add the new function.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19925 (GLIBC_2.17): Likewise.
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19927 (GLIBC_2.17): Likewise.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19929 (GLIBC_2.17): Likewise.
19930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19931
7e2fca8d
AM
199322012-09-25 Alan Modra <amodra@gmail.com>
19933
19934 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19935 Add release barrier before setting once_control to say
19936 initialisation is done. Add hints on lwarx. Use macro in
19937 place of isync.
19938 (clear_once_control): Add release barrier.
19939
b87c4b24
JM
199402012-09-25 Joseph Myers <joseph@codesourcery.com>
19941
d032e0d2
JM
19942 [BZ #13629]
19943 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19944 specially.
19945 * math/s_clog10.c (__clog10): Likewise.
19946 * math/s_clog10f.c (__clog10f): Likewise.
19947 * math/s_clog10l.c (__clog10l): Likewise.
19948 * math/s_clogf.c (__clogf): Likewise.
19949 * math/s_clogl.c (__clogl): Likewise.
19950 * math/Makefile (libm-calls): Add x2y2m1.
19951 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19952 (__x2y2m1): Likewise.
19953 (__x2y2m1l): Likewise.
19954 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19955 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19956 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19957 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19958 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19959 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19960 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19961 * sysdeps/i386/fpu/libm-test-ulps: Update.
19962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19963
b87c4b24
JM
19964 [BZ #14621]
19965 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19966 int as type of variable DEPTH.
19967 (glob): Use size_t instead of int as type of variables NEWCOUNT
19968 and OLD_PATHC.
19969
6d3bf199
LD
199702012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19971
22bf5c17
LD
19972 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19973 Add s_sincosf-sse2.
19974 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19975 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19976 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19977 macros for using routine as __sincosf_ia32.
19978 Use macro for function declaration and weak_alias.
19979 * sysdeps/i386/fpu/libm-test-ulps: Update.
19980
19981 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19983
19984 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
19985 subnormal argument.
19986 * math/s_cexpf.c (__cexpf): Likewise.
19987 * math/s_csinf.c (__csinf): Likewise.
19988 * math/s_csinhf.c (__csinhf): Likewise.
19989 * math/s_ctanf.c (__ctanf): Likewise.
19990 * math/s_ctanhf.c (__ctanhf): Likewise.
19991 * math/s_ccosh.c (__ccoshf): Likewise.
19992 * math/s_cexp.c (__cexpl): Likewise.
19993 * math/s_csin.c (__csin): Likewise.
19994 * math/s_csinh.c (__csinh): Likewise.
19995 * math/s_ctan.c (__ctan): Likewise.
19996 * math/s_ctanh.c (ctanh): Likewise.
19997 * math/s_ccoshl.c (__ccoshl): Likewise.
19998 * math/s_cexpl.c (__cexpl): Likewise.
19999 * math/s_csinl.c (__csinl): Likewise.
20000 * math/s_csinhl.c (__csinhl): Likewise.
20001 * math/s_ctanl.c (__ctanl): Likewise.
20002 * math/s_ctanhl.c (__ctanhl): Likewise.
20003
203e5603
JM
200042012-09-25 Joseph Myers <joseph@codesourcery.com>
20005
20006 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20007 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20008 (_IO_off_t): Define to __off_t, not _G_off_t.
20009 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20010 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20011 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20012 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20013 type of __dummy and __dummy2 fields.
20014 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20015 (_G_ssize_t): Likewise.
20016 (_G_off_t): Likewise.
20017 (_G_pid_t): Likewise.
20018 (_G_uid_t): Likewise.
20019 (_G_wchar_t): Likewise.
20020 (_G_wint_t): Likewise.
20021 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20022 (_G_ssize_t): Likewise.
20023 (_G_off_t): Likewise.
20024 (_G_pid_t): Likewise.
20025 (_G_uid_t): Likewise.
20026 (_G_wchar_t): Likewise.
20027 (_G_wint_t): Likewise.
20028 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20029 (_G_ssize_t): Likewise.
20030 (_G_off_t): Likewise.
20031 (_G_pid_t): Likewise.
20032 (_G_uid_t): Likewise.
20033 (_G_wchar_t): Likewise.
20034 (_G_wint_t): Likewise.
20035
9fab36eb
SP
200362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20037
20038 * malloc/arena.c: Include malloc-sysdep.h.
20039 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20040 is sufficient to shrink the heap or an unmap is needed.
20041 * sysdeps/generic/malloc-sysdep.h: New file. Define
20042 new function check_may_shrink_heap.
20043 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20044 new function check_may_shrink_heap.
20045
2b4f00d1
SP
200462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20047
20048 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20049 comments.
20050
9a9028b1
DL
200512012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20052
57c69bef
DL
20053 * catgets/test-gencat.sh: Add "set -e".
20054 * elf/tst-pathopt.sh: Likewise.
20055 * grp/tst_fgetgrent.sh: Likewise.
20056 * iconvdata/run-iconv-test.sh: Likewise.
20057 * intl/tst-gettext.sh: Likewise.
20058 * intl/tst-gettext2.sh: Likewise.
20059 * intl/tst-gettext4.sh: Likewise.
20060 * intl/tst-gettext6.sh: Likewise.
20061 * intl/tst-translit.sh: Likewise.
20062 * io/ftwtest-sh: Likewise.
20063 * libio/test-freopen.sh: Likewise.
20064 * malloc/tst-mtrace.sh: Likewise.
20065 * posix/globtest.sh: Likewise.
20066 * posix/tst-getconf.sh: Likewise.
20067 * posix/wordexp-tst.sh: Likewise.
20068 * stdio-common/tst-printf.sh: Likewise.
20069 * stdio-common/tst-unbputc.sh: Likewise.
20070 * stdlib/tst-fmtmsg.sh: Likewise.
20071 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20072 * catgets/Makefile: Do not specify -e option when running
20073 testsuite shell scripts.
20074 * elf/Makefile: Likewise.
20075 * grp/Makefile: Likewise.
20076 * iconvdata/Makefile: Likewise.
20077 * intl/Makefile: Likewise.
20078 * io/Makefile: Likewise.
20079 * libio/Makefile: Likewise.
20080 * malloc/Makefile: Likewise.
20081 * posix/Makefile: Likewise.
20082 * stdio-common/Makefile: Likewise.
20083 * stdlib/Makefile: Likewise.
20084 * sysdeps/x86_64/Makefile: Likewise.
20085
9a9028b1
DL
20086 * io/ftwtest-sh: Add copyright header.
20087 * posix/globtest.sh: Likewise.
20088 * posix/tst-getconf.sh: Likewise.
20089 * posix/wordexp-tst.sh: Likewise.
20090 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20091
ced6f16e
L
200922012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20093
94b32c39
L
20094 [BZ #13679]
20095 * Makeconfig (+link): Defined as $(+link-static) if
20096 $(build-shared) isn't yes.
20097 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20098 isn't yes.
20099 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20100
189e935b
L
20101 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20102
ced6f16e
L
20103 [BZ #14562]
20104 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20105 new chunk size with MALLOC_ALIGN_MASK.
20106
a9f8e53a
JM
201072012-09-24 Joseph Myers <joseph@codesourcery.com>
20108
20109 [BZ #5044]
20110 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20111 <rounding-mode.h>.
20112 (__printf_fphex): Determine rounding using get_rounding_mode and
20113 round_away.
20114 * stdio-common/tst-printf-round.c (struct hex_test): New
20115 structure.
20116 (hex_tests): New variable.
20117 (test_hex_in_one_mode): New function.
20118 (do_test): Also run tests for hex float output.
20119
43153109
JM
201202012-09-21 Joseph Myers <joseph@codesourcery.com>
20121
20122 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20123 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20124 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20125 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20126 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20127 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20128 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20129 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20130
8a26625d
JM
201312012-09-20 Joseph Myers <joseph@codesourcery.com>
20132
20133 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20134 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20135 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20136 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20137
f3fd569c
DL
201382012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20139
20140 [BZ #14579]
20141 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20142 mode only.
20143 * elf/tst-rtld-load-self.sh: New test.
20144 * elf/Makefile: Run it.
20145
63bbedd4
JM
201462012-09-18 Joseph Myers <joseph@codesourcery.com>
20147
20148 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20149 (tst-writev-ENV): Remove.
20150 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20151
626f8b6a
CM
201522012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20153
20154 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20155
b7aaa4d6
JM
201562012-09-17 Joseph Myers <joseph@codesourcery.com>
20157
20158 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20159 unconditional.
20160 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20161 Likewise.
20162 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20163 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20164 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20165 Likewise.
20166
65513990
L
201672012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20168
20169 [BZ #14587]
20170 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20171 * config.make.in (have-cpp-asm-debuginfo): Removed.
20172 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20173 * configure: Regenerated.
20174
784761be
JM
201752012-09-14 Joseph Myers <joseph@codesourcery.com>
20176
20177 [BZ #5044]
20178 * stdio-common/printf_fp.c: Include <stdbool.h> and
20179 <rounding-mode.h>.
20180 (___printf_fp): Determine rounding using get_rounding_mode and
20181 round_away.
20182 * stdio-common/tst-printf-round.c: New file.
20183 * stdio-common/Makefile (tests): Add tst-printf-round.
20184 (link-libm): New variable.
20185 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20186
9503345f
L
201872012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20188
20189 [BZ #14576]
20190 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20191 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20192 Likewise.
20193 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20194 Likewise.
20195
ad35fc00
JM
201962012-09-13 Joseph Myers <joseph@codesourcery.com>
20197
20198 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20199 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20200 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20201 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20202
6c9b0f68
JM
202032012-09-12 Joseph Myers <joseph@codesourcery.com>
20204
20205 [BZ #14518]
20206 * include/rounding-mode.h: New file.
20207 * sysdeps/generic/get-rounding-mode.h: Likewise.
20208 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20209 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20210 (MAX_VALUE): New macro.
20211 (MIN_VALUE): Likewise.
20212 (overflow_value): New function.
20213 (underflow_value): Likewise.
20214 (round_and_return): Use overflow_value and underflow_value to
20215 determine return values in overflow and underflow cases. Use
20216 round_away to determine rounding depending on rounding mode.
20217 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20218 determine return values in overflow and underflow cases.
20219 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20220 (struct test_results): New structure.
20221 (struct test): Use struct test_results to store expected results
20222 for all rounding modes.
20223 (TEST): Include expected results for all rounding modes.
20224 (test_in_one_mode): New function.
20225 (do_test): Use test_in_one_mode to compute and check results.
20226 Check results for all rounding modes.
20227 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20228 $(link-libm).
20229
19fcedd5
AM
202302012-12-09 Allan McRae <allan@archlinux.org>
20231
1e9d84cd 20232 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20233
8bbfd2f1
JM
202342012-09-11 Joseph Myers <joseph@codesourcery.com>
20235
20236 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20237 (_G_int32_t): Likewise.
20238 (_G_uint16_t): Likewise.
20239 (_G_uint32_t): Likewise.
20240 (_G_HAVE_BOOL): Likewise.
20241 (_G_HAVE_ATEXIT): Likewise.
20242 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20243 (_G_HAVE_IO_FILE_OPEN): Likewise.
20244 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20245 (_G_int32_t): Likewise.
20246 (_G_uint16_t): Likewise.
20247 (_G_uint32_t): Likewise.
20248 (_G_HAVE_BOOL): Likewise.
20249 (_G_HAVE_ATEXIT): Likewise.
20250 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20251 (_G_HAVE_IO_FILE_OPEN): Likewise.
20252 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20253 (_G_int32_t): Likewise.
20254 (_G_uint16_t): Likewise.
20255 (_G_uint32_t): Likewise.
20256 (_G_HAVE_BOOL): Likewise.
20257 (_G_HAVE_ATEXIT): Likewise.
20258 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20259 (_G_HAVE_IO_FILE_OPEN): Likewise.
20260
b1dc5912
L
202612012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20262
20263 * csu/libc-tls.c: Update copyright years.
20264
0e886ef9
JM
202652012-09-10 Joseph Myers <joseph@codesourcery.com>
20266
28361c5e
JM
20267 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20268 [!_G_USING_THUNKS]: Remove conditional code.
20269 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20270 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20271
0e886ef9
JM
20272 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20273 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20274 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20275 (_G_VTABLE_LABEL_PREFIX): Likewise.
20276 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20277 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20278 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20279 (_G_VTABLE_LABEL_PREFIX): Likewise.
20280 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20281 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20283 (_G_VTABLE_LABEL_PREFIX): Likewise.
20284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20285
bcba7aa2
L
202862012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20287
20288 * libio/Makefile: Include ../Makeconfig before tests.
20289 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20290 only if $(build-shared) is yes.
20291
06585ee8
L
20292 * iconv/gconv_db.c: Update copyright years.
20293
80ccd52c
LD
202942012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20295
20296 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20297 unwind info if defined PIC. Fix special cases description.
20298 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20299
20300 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20301 DP_HI_MASK entry.
20302 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20303
691bc9c1
L
203042012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20305
3d9b46b3
L
20306 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20307
de2139a9
L
20308 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20309 is NULL.
20310
5ca78dd0
L
20311 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20312 (LDLIBS-tst-chk4): This.
20313 (LDFLAGS-tst-chk5): Renamed to ...
20314 (LDLIBS-tst-chk5): This.
20315 (LDFLAGS-tst-chk6): Renamed to ...
20316 (LDLIBS-tst-chk6): This.
20317 (LDFLAGS-tst-lfschk4): Renamed to ...
20318 (LDLIBS-tst-lfschk4): This.
20319 (LDFLAGS-tst-lfschk5): Renamed to ...
20320 (LDLIBS-tst-lfschk5): This.
20321 (LDFLAGS-tst-lfschk6): Renamed to ...
20322 (LDLIBS-tst-lfschk6): This.
20323
691bc9c1
L
20324 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20325 on $(common-objpfx)soversions.mk.
20326
65cafb1c
JM
203272012-09-07 Joseph Myers <joseph@codesourcery.com>
20328
20329 [BZ #10014]
20330 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20331 example host name.
20332
c78ab094
SP
203332012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20334
20335 * malloc/arena.c (arena_get_retry): New function that gets
20336 another arena for the caller to try its request on.
20337 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20338 current arena cannot fulfill the request.
20339 (__libc_memalign): Likewise.
20340 (__libc_memalign): Likewise.
20341 (__libc_pvalloc): Likewise.
20342 (__libc_calloc): Likewise.
20343
01f49f59
JT
203442012-09-05 John Tobey <john.tobey@gmail.com>
20345
20346 [BZ #13542]
20347 * manual/arith.texi (Operations on Complex): Fix description
20348 of carg branch cut.
20349
4c23fed5
JM
203502012-09-06 Joseph Myers <joseph@codesourcery.com>
20351
1d3c8572
JM
20352 [BZ #10014]
20353 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20354 host name.
20355
4c23fed5
JM
20356 [BZ #10038]
20357 * manual/memory.texi (Memory): Make order of menu items match
20358 order of sections.
20359
04570aaa
L
203602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20361
20362 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20363 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20364 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20365
b80af2f4
L
203662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20367
20368 * csu/libc-tls.c (static_dtv): Renamed to ...
20369 (_dl_static_dtv): This. Make it global.
20370 (_dl_initial_dtv): Removed.
20371 (__libc_setup_tls): Updated.
20372 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20373 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20374 DL_INITIAL_DTV.
20375
2abe9f15
PM
203762012-09-06 Petr Machata <pmachata@redhat.com>
20377
20378 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20379 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20380 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20381 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20382
0948c3af
L
203832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20384
20385 [BZ #14545]
20386 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20387 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20388 freeing dtv[-1].
20389
a5055ad1
L
203902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 [BZ #14544]
20393 * Makeconfig (link-static-before-libc): Replace $(+prector)
20394 with $(+prectorT).
20395 (link-static-after-libc): Replace $(+postctor) with
20396 $(+postctorT).
20397 (link-bounded): Replace $(+prector)/$(+postctor) with
20398 $(+prectorT)/$(+postctorT).
20399 (+prectorT): New macro.
20400 (+postctorT): Likewise.
20401
ed8c2ecd
JM
204022012-09-06 Joseph Myers <joseph@codesourcery.com>
20403
20404 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20405 (round_str): Handle values above the maximum for IBM long double
20406 as inexact.
20407 * stdlib/tst-strtod-round.c (tests): Regenerated.
20408
14c996c8
AK
204092012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20410
20411 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20412 assembler flag.
20413 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20414 zarch_nohighgprs around the zarch optimized routines.
20415 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20416 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20418 for zarch.
20419
430d6ce6
DM
204202012-09-05 David S. Miller <davem@davemloft.net>
20421
20422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20423
ff04dda4
DM
20424 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20425 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20426 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20427 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20428 entries.
20429
24d4e01b
AO
204302012-09-05 Alexandre Oliva <aoliva@redhat.com>
20431
20432 * malloc/arena.c: Fold copyright years.
20433 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20434
61d58174
AO
204352012-09-05 Alexandre Oliva <aoliva@redhat.com>
20436
20437 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20438
20196a5e
AO
204392012-09-05 Alexandre Oliva <aoliva@redhat.com>
20440
20441 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20442
5c447383
AO
204432012-09-05 Alexandre Oliva <aoliva@redhat.com>
20444
20445 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20446 change internal state upon failure.
20447
fad64255
AO
204482012-09-05 Alexandre Oliva <aoliva@redhat.com>
20449
20450 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20451 * malloc/memusage.c (mmap): Likewise.
20452 (mmap64, mremap): Likewise. Adjust name in comment.
20453
1ffb8c90
SP
204542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20455
20456 * libio/fileops.c: Fix typos in comments.
20457 * libio/oldfileops.c: Likewise.
20458 * libio/wfileops.c: Likewise.
20459
6ef9cc37
SP
204602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20461
20462 [BZ #1349]
20463 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20464 (tst-malloc-usable-ENV): Set environment for test case.
20465 * malloc/hooks.c (malloc_check_get_size): New function to get
20466 requested size.
20467 * malloc/malloc.c (musable): Use malloc_check_get_size.
20468 * malloc/tst-malloc-usable.c: New test case.
20469
4d038ae3
AS
204702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20471
20472 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20473
c4e85184
AM
204742012-09-05 Allan McRae <allan@archlinux.org>
20475
b9dafc56 20476 [BZ #13966]
c4e85184
AM
20477 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20478 determine header location.
20479 * configure: Regenerated.
20480
e1343020
AS
204812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20482
20483 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20484 float format.
20485 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20486 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20487 format.
e1343020
AS
20488 (test): Regenerate.
20489
0a9f1987
DM
204902012-09-04 David S. Miller <davem@davemloft.net>
20491
20492 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20493 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20495
29237804
FW
204962012-09-04 Florian Weimer <fweimer@redhat.com>
20497
20498 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20499 failures.
20500
edb3cb88
FW
20501 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20502
60160d83
JM
205032012-09-04 Joseph Myers <joseph@codesourcery.com>
20504
20505 [BZ #9914]
20506 * libio/iogetdelim.c: Include <limits.h>.
20507 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20508 + len + 1 would overflow.
20509
bcd6c8dc
AJ
205102012-09-03 Andreas Jaeger <aj@suse.de>
20511
20512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20513 * sysdeps/i386/fpu/libm-test-ulps: Update.
20514
4ffffbd2
LD
205152012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20516
20517 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20518 Add s_sinf-sse2, s_conf-sse2.
20519
20520 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20521 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20522 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20523 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20524
20525 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20526 for using routine as __sinf_ia32.
20527 Use macro for function declaration and weak_alias.
20528 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20529 for using routine as __cosf_ia32.
20530 Use macro for function declaration and weak_alias.
20531
20532 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20533 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20534
20535 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20536 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20538
20539 * math/libm-test.inc (cos_test): Add more test cases.
20540 (sin_test): Likewise.
20541 (sincos_test): Likewise.
20542
511fa286
AK
205432012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20544
20545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20546 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20547 hidden.
20548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20549
5f30cfec
L
205502012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20551
20552 [BZ #14538]
20553 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20554 first element of the GOT.
20555 (elf_machine_load_address): Return the difference between
20556 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20557
0786794f
AM
205582012-09-01 Allan McRae <allan@archlinux.org>
20559
5f30cfec
L
20560 [BZ #13412]
20561 * configure.in (AWK): Require gawk version 3.0 or later.
20562 * configure: Regenerated.
0786794f 20563
26889eac
JM
205642012-09-01 Joseph Myers <joseph@codesourcery.com>
20565
20566 * sysdeps/unix/sysv/linux/kernel-features.h
20567 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20568 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20569 [__NR_clock_getres]: Make code unconditional.
20570 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20571 (clock_getcpuclockid): Remove code left unreachable by removal of
20572 conditionals.
20573 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20574 code unconditional.
20575 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20576 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20577 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20578 Make code unconditional.
20579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20581 * sysdeps/unix/sysv/linux/clock_settime.c
20582 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20583 conditional code.
20584 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20586
d22e28b0
L
205872012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20588
20589 [BZ #14476]
20590 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20591 scripts/test-installation.pl.
20592
20593 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20594 and $ld_so_version if it is set.
20595
050af9c4
SP
205962012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20597
20598 [BZ #14516]
20599 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20600 failure if reading from procfs failed.
20601 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20602
ad845c0b
JM
206032012-08-27 Joseph Myers <joseph@codesourcery.com>
20604
20605 * sysdeps/unix/sysv/linux/kernel-features.h
20606 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20607 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20608 Remove conditional code.
20609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20610 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20611 Remove conditional code.
20612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20613 * sysdeps/unix/sysv/linux/i386/fxstat.c
20614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20616 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20617 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20619 * sysdeps/unix/sysv/linux/i386/lxstat.c
20620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20622 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20623 Remove conditional code.
20624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20625 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20626 Remove conditional code.
20627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20628 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20629 <kernel-features.h>.
20630 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20631 Remove.
20632 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20633 Remove conditional code.
20634 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20635 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20636 Remove conditional.
20637
5dbf56af
MF
206382012-08-27 Mike Frysinger <vapier@gentoo.org>
20639
20640 [BZ #5400]
20641 * NEWS: Add fixed bug number.
20642
d6e70f43
JM
206432012-08-27 Joseph Myers <joseph@codesourcery.com>
20644
7efb4737
JM
20645 [BZ #14519]
20646 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20647 underflowing exponent in case of negative sign.
20648 * stdlib/tst-strtod-round-data: Add more tests.
20649 * stdlib/tst-strtod-round.c (tests): Regenerated.
20650
af92131a
JM
20651 [BZ #3479]
20652 * stdlib/strtod_l.c (NDIG): Remove.
20653 (HEXNDIG): Likewise.
20654 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20655 smallest representable value.
20656 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20657 lie within an exact representation of 1/2 ulp of the result.
20658 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20659 unconditionally.
20660 (TENS_P9_IDX): Define unconditionally.
20661 (TENS_P9_SIZE): Likewise.
20662 (TENS_P10_IDX): Likewise.
20663 (TENS_P10_SIZE): Likewise.
20664 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20665 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20666 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20667 entries for 10^2^13 and 10^2^14.
20668 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20669 (TENS_P13_IDX): Define.
20670 (TENS_P13_SIZE): Likewise.
20671 (TENS_P14_IDX): Likewise.
20672 (TENS_P14_SIZE): Likewise.
20673 (_fpioconst_pow10): Change array size to
20674 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20675 unconditional.
20676 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20677 1024]: Add entries for 10^2^13 and 10^2^14.
20678 [LAST_POW10 > _LAST_POW10]: Remove #error.
20679 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20680 (_fpioconst_pow10): Change array size to
20681 FPIOCONST_POW10_ARRAY_SIZE.
20682 * stdlib/gen-fpioconst.c: New file.
20683 * stdlib/gen-tst-strtod-round.c: Likewise.
20684 * stdlib/tst-strtod-round-data: Likewise.
20685 * stdlib/tst-strtod-round.c: Likewise.
20686 * stdlib/Makefile (tests): Add tst-strtod-round.
20687
d6e70f43
JM
20688 [BZ #14459]
20689 * stdlib/strtod_l.c: Include <stdint.h>.
20690 (NDEBUG): Do not define.
20691 (round_and_return): Change EXPONENT parameter to type intmax_t.
20692 Rearrange calculations to avoid internal overflow possibilities.
20693 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20694 Rearrange calculations to avoid internal overflow possibilities.
20695 Assert that number fits inside MPNSIZE limbs.
20696 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20697 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20698 calculations and add assertions to avoid internal overflow
20699 possibilities. Add casts to avoid signed/unsigned operations.
20700 * stdlib/tst-strtod-overflow.c: New file.
20701 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20702
1f529f7d
MP
207032012-08-25 Marek Polacek <polacek@redhat.com>
20704
20705 * time/time.h: Fix some typos in comments.
20706
59a629f1
RM
207072012-08-23 Roland McGrath <roland@hack.frob.com>
20708
20709 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20710 * posix/tst-rfc3484-2.c: Likewise.
20711 * posix/tst-rfc3484-3.c: Likewise.
20712
d3bafbc9
SM
207132012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20714
20715 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20716 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20717
4efcc022
JM
207182012-08-23 Joseph Myers <joseph@codesourcery.com>
20719
20720 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20721 #include of fxstatat64.c.
20722
3cc3ef96
RM
207232012-08-22 Roland McGrath <roland@hack.frob.com>
20724
f04e2132
RM
20725 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20726 * shadow/getspent_r.c: Likewise.
20727 * shadow/getspnam.c: Likewise.
20728 * shadow/getspnam_r.c: Likewise.
20729 * gshadow/getsgent.c: Likewise.
20730 * gshadow/getsgent_r.c: Likewise.
20731 * gshadow/getsgnam.c: Likewise.
20732 * gshadow/getsgnam_r.c: Likewise.
20733 * inet/getnetbyad.c: Likewise.
20734 * inet/getnetbyad_r.c: Likewise.
20735 * inet/getnetbynm.c: Likewise.
20736 * inet/getnetbynm_r.c: Likewise.
20737 * inet/getnetent.c: Likewise.
20738 * inet/getnetent_r.c: Likewise.
20739 * inet/getproto.c: Likewise.
20740 * inet/getproto_r.c: Likewise.
20741 * inet/getprtent.c: Likewise.
20742 * inet/getprtent_r.c: Likewise.
20743 * inet/getprtname.c: Likewise.
20744 * inet/getprtname_r.c: Likewise.
20745 * inet/getrpcbyname.c: Likewise.
20746 * inet/getrpcbyname_r.c: Likewise.
20747 * inet/getrpcbynumber.c: Likewise.
20748 * inet/getrpcbynumber_r.c: Likewise.
20749 * inet/getrpcent.c: Likewise.
20750 * inet/getrpcent_r.c: Likewise.
20751 * inet/getaliasent.c: Likewise.
20752 * inet/getaliasent_r.c: Likewise.
20753 * inet/getaliasname.c: Likewise.
20754 * inet/getaliasname_r.c: Likewise.
20755 * nscd/getgrgid_r.c: Likewise.
20756 * nscd/getgrnam_r.c: Likewise.
20757 * nscd/gethstbyad_r.c: Likewise.
20758 * nscd/gethstbynm3_r.c: Likewise.
20759 * nscd/getpwnam_r.c: Likewise.
20760 * nscd/getpwuid_r.c: Likewise.
20761 * nscd/getsrvbynm_r.c: Likewise.
20762 * nscd/getsrvbypt_r.c: Likewise.
20763 * nscd/gai.c: Likewise.
20764
c53d909c
RM
20765 * configure.in (build_nscd): New substituted variable, set
20766 by --disable-build-nscd and defaults to $use_nscd.
20767 * configure: Regenerated.
20768 * config.make.in (build-nscd): New substituted variable.
20769 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20770 Change conditional to require [$(build-nscd) = yes] as well.
20771 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20772
3cc3ef96
RM
20773 [BZ# 13696]
20774 * configure.in (use_nscd): New substituted variable, set by
20775 --disable-nscd. If enabled, define USE_NSCD.
20776 * configure: Regenerated.
20777 * config.h.in: Add USE_NSCD.
20778 * config.make.in (use-nscd): New substituted variable.
20779 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20780 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20781 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20782 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20783 (CFLAGS-getgrnam_r.c): Likewise.
20784 (CFLAGS-initgroups.c): Likewise.
20785 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20786 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20787 Variables removed.
20788 * inet/getnetgrent_r.c
20789 (nscd_setnetgrent): New function, broken out of ...
20790 (setnetgrent): ... here. Call it.
20791 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20792 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20793 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20794 * nscd/Makefile (routines, aux): Move definitions after include of
20795 Makeconfig. Conditionalize on [$(use-nscd) != no].
20796 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20797 Conditionalize on [USE_NSCD].
20798 (is_nscd, nscd_init_cb): Likewise.
20799 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20800 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20801 * nss/nss_db/db-init.c: Likewise.
20802 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20803 [USE_NSCD].
20804 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20805 (make_request): Use it.
20806 (cache_valid_p): New function.
20807 (__check_pf): Use it.
20808 * NEWS: Add item for --disable-nscd.
20809
07e51550
DL
208102012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20811
20812 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20813 to support sed >= 4.2.1-20-ga9bf076.
20814 * configure: Regenerated.
20815
35a5b08b
RM
208162012-08-22 Roland McGrath <roland@hack.frob.com>
20817
20818 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20819 Conditionalize whole body on [IREL].
20820
8479f23a
JL
208212012-08-22 Jeff Law <law@redhat.com>
20822
20823 [BZ #14505]
20824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20825 if the family is PF_UNSPEC.
20826
48da0b21
MF
208272012-08-22 Mike Frysinger <vapier@gentoo.org>
20828
20829 * Makerules (lib-version): Rename from V.
20830 (install-lib-nosubdir): Change V to lib-version.
20831
15d0da8c
WS
208322012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20833
20834 [BZ #14252]
20835 * powerpc32/power6/wcschr.c: New file.
20836 * powerpc32/power6/wcscpy.c: New file.
20837 * powerpc32/power6/wcsrchr.c: New file.
20838 * powerpc64/power6/wcschr.c: New file.
20839 * powerpc64/power6/wcscpy.c: New file.
20840 * powerpc64/power6/wcsrchr.c: New file.
20841
bcca0895
MK
208422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20843
20844 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20845 (two_way_short_needle): Use it.
5a4aaa33
RM
20846 * string/strstr.c (AVAILABLE1_USES_J): Define.
20847 * string/strcasestr.c: Likewise.
99677e57
MK
20848
20849 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20850 array references.
20851 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20852
400726de
MK
20853 [BZ #11607]
20854 * NEWS: Add an entry.
20855 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20856 define their defaults.
20857 (two_way_short_needle): Detect end-of-string on-the-fly.
20858 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20859 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20860 * string/bug-strcasestr1.c: New test.
20861 * string/Makefile: Run it.
20862
20a71f2c
MK
208632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20864
20865 [BZ #11607]
20866 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20867 the first character.
20868
21ad0558
RM
208692012-08-21 Roland McGrath <roland@hack.frob.com>
20870
20871 * csu/elf-init.c (__libc_csu_irel): Function removed.
20872 * csu/libc-start.c (apply_irel): New function.
20873 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20874
0e1d9911
JM
208752012-08-21 Joseph Myers <joseph@codesourcery.com>
20876
20877 * sysdeps/unix/sysv/linux/kernel-features.h
20878 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20879 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20880 <kernel-features.h>.
20881 [__NR_fadvise64_64]: Make code unconditional.
20882 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20883 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20884 !__NR_fadvise64_64)]: Likewise.
20885 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20886 !__NR_fadvise64_64))]: Likewise.
20887 [__NR_fadvise64]: Make code unconditional.
20888 [!__NR_fadvise64]: Remove conditional code.
20889 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20890 <kernel-features.h>.
20891 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20892 unconditional.
20893 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20894 conditional code.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20896 not include <kernel-features.h>.
20897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20898 unconditional.
20899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20900 conditional code.
20901 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20902 include <kernel-features.h>.
20903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20904 unconditional.
20905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20906 conditional code.
20907
14a50c9d
WS
209082012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20909
20910 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20911 slight instruction rearrangements per scrollpipe analysis.
20912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20913
c0f4faf0
RM
209142012-08-20 Roland McGrath <roland@hack.frob.com>
20915
696da859
RM
20916 * manual/syslog.texi (syslog; vsyslog, closelog):
20917 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20918 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20919
c0f4faf0
RM
20920 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20921 DSOCAPS to match condition on defining it.
20922
348363b2
JM
209232012-08-20 Joseph Myers <joseph@codesourcery.com>
20924
a35cbf28
JM
20925 * sysdeps/unix/sysv/linux/kernel-features.h
20926 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20931 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20932 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20936
445f7ecd
JM
20937 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20938 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20939
348363b2
JM
20940 * sysdeps/unix/sysv/linux/kernel-features.h
20941 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20942 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20943 unconditional.
20944 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20945 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20946 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20947 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20948 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20949 Make code unconditional.
20950 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20951 (__mmap64) [!__NR_mmap2]: Likewise.
20952 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20953 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20954 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20955 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20956 [__NR_mmap2]: Make code unconditional.
20957 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20958 (__mmap64) [!__NR_mmap2]: Likewise.
20959
bc5bc0e5
AK
209602012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20961
20962 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20963
88d506de
AJ
209642012-08-18 Andreas Jaeger <aj@suse.de>
20965
20966 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20967
493387d2
MF
209682012-08-18 Mike Frysinger <vapier@gentoo.org>
20969
20970 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20971 * include/unistd.h (__have_sock_cloexec): Likewise.
20972 (__have_pipe2): Likewise.
20973 (__have_dup3): Likewise.
20974
a277af22
MF
209752012-08-18 Mike Frysinger <vapier@gentoo.org>
20976
20977 [BZ #9685]
20978 * include/unistd.h (__have_pipe2): Change define into an extern int.
20979 (__have_dup3): Likewise.
20980 * socket/have_sock_cloexec.c: Include fcntl.h.
20981 (__have_pipe2): New variable.
20982 (__have_dup3): Likewise.
20983
fdab8fd3
MF
209842012-08-17 Mike Frysinger <vapier@gentoo.org>
20985
20986 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20987
31035e80
MP
209882012-08-17 Marek Polacek <polacek@redhat.com>
20989
20990 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20991 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20992
3bd9e993
RM
209932012-08-17 Roland McGrath <roland@hack.frob.com>
20994
c91c505f
RM
20995 * configure.in: Add AC_SUBST for sysheaders.
20996 * configure: Regenerated.
20997 * config.make.in (sysheaders): New substituted variable.
20998
7c6f9d53
RM
20999 * sysdeps/unix/mkfifo.c: Moved ...
21000 * sysdeps/posix/mkfifo.c: ... here.
21001 * sysdeps/unix/mkfifoat.c: Moved ...
21002 * sysdeps/posix/mkfifoat.c: ... here.
21003
21004 * sysdeps/unix/utime.c: Moved ...
21005 * sysdeps/posix/utime.c: ... here.
21006
21007 * sysdeps/unix/time.c: Moved ...
21008 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21009 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21010 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21011
21012 * sysdeps/unix/nice.c: Moved ...
21013 * sysdeps/posix/nice.c: ... here.
21014
21015 * sysdeps/unix/alarm.c: Moved ...
21016 * sysdeps/posix/alarm.c: ... here.
21017
3bd9e993
RM
21018 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21019
d1f09384
JL
210202012-08-17 Jeff Law <law@redhat.com>
21021
21022 * intl/Makefile (codeset_mo): New variable.
21023 ($(codeset_mo)): New target.
21024 (tst-codeset.out): Depend on that. Remove explicit rule.
21025 (tst-gettext3.out, tst-gettext5.out): Likewise.
21026 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21027 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21028 * intl/tst-codeset.sh: Remove.
21029 * intl/tst-gettext3.sh: Likewise.
21030 * intl/tst-gettext5.sh: Likewise.
21031
2ae1ae5c
RM
210322012-08-17 Roland McGrath <roland@hack.frob.com>
21033
c31fdb83
RM
21034 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21035 * sysdeps/unix/syscalls.list: ... here.
21036
a0844057
RM
21037 * sysdeps/posix/getaddrinfo.c
21038 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21039 (gaiconf_init, gaiconf_reload): Use them.
21040 [!_STATBUF_ST_NSEC]
21041 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21042 Define using time_t rather than struct timespec.
21043
750c1f2a
RM
21044 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21045 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21046 Macros removed.
21047 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21048 [!NO_THREADS].
21049 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21050 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21051 Likewise.
21052
2ae1ae5c
RM
21053 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21054 __libc_cleanup_push argument.
21055
e66a42f5
RM
21056 * bits/param.h: New file.
21057 * misc/sys/param.h: New file.
21058 * include/sys/param.h: New file.
21059 * misc/Makefile (headers): Add bits/param.h.
21060 * sysdeps/generic/sys/param.h: File removed.
21061 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21062 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21063 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21064 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21065
b7c08a66
RM
21066 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21067 last change.
21068
b2e1c562
RM
21069 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21070 [_IO_MTSAFE_IO].
21071 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21072 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21073 New macros.
21074
c75ccd4c
RM
21075 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21076 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21077 rather than -D_IO_MTSAFE_IO conditionally.
21078 * stdio-common/Makefile (CPPFLAGS): Likewise.
21079 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21080 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21081 Use $(libio-mtsafe).
21082 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21083 of -D_IO_MTSAFE_IO.
21084 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21085 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21086 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21087 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21088 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21089 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21090 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21091 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21092 (CFLAGS-fread_u_chk.c): Likewise.
21093 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21094 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21095 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21096 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21097 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21098 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21099 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21100 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21101 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21102
21103 * libio/Makefile: Test [$(libc-reentrant) = yes]
21104 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21105
21106 * Makeconfig
21107 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21108 * sysdeps/pthread/configure: File removed.
21109 * sysdeps/pthread/Makeconfig: New file.
21110 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21111 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21112
d9195db8
GB
211132012-08-16 Gary Benson <gbenson@redhat.com>
21114
21115 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21116 unmapping the first object in a namespace.
21117
86466cd9
RM
211182012-08-16 Roland McGrath <roland@hack.frob.com>
21119
21120 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21121 (__internal_setnetgrent): ... this. Add internal_function to
21122 definition. Add libc_hidden_def.
21123 (setnetgrent): Update caller.
21124 (internal_endnetgrent): Renamed to ...
21125 (__internal_endnetgrent): ... this. Add internal_function to
21126 definition. Add libc_hidden_def.
21127 (endnetgrent): Update caller.
21128 (internal_getnetgrent_r): Renamed to ...
21129 (__internal_getnetgrent_r): ... this. Add internal_function to
21130 definition. Add libc_hidden_def.
21131 (__getnetgrent_r): Update caller.
21132 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21133
c3c8283c
JM
211342012-08-16 Joseph Myers <joseph@codesourcery.com>
21135
21136 * stdlib/longlong.h: Update from GCC.
21137
db1ee0a8
RM
211382012-08-16 Roland McGrath <roland@hack.frob.com>
21139
21140 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21141 on _QL, which is set by umul_ppmm but never used.
21142 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21143 variables, which are set by GMP macros but never used.
21144 * stdio-common/_itowa.c (_itowa): Likewise.
21145 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21146 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21147
30f69637
CD
211482012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21149
21150 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21151 struct La_sh_regs is not constant.
21152 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21153 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21154 and struct La_sparc64_regs are not constant.
21155
93a78ac4
JM
211562012-08-16 Joseph Myers <joseph@codesourcery.com>
21157
21158 * sysdeps/unix/sysv/linux/kernel-features.h
21159 (__ASSUME_POSIX_TIMERS): Remove.
21160 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21162 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21163 Make code unconditional.
21164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21165 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21166 Make code unconditional.
21167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21168 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21169 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21171 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21172 Make code unconditional.
21173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21174 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21175 (__libc_missing_posix_timers): Remove.
21176
dd924cd7
RM
211772012-08-15 Roland McGrath <roland@hack.frob.com>
21178
4b4f2771
RM
21179 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21180 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21181
601c888b
RM
21182 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21183
176790a7
RM
21184 * elf/dl-sym.c: Include <stdlib.h>.
21185
329bc018
RM
21186 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21187 constants, which avoids warnings in 32-bit builds.
21188
e04e272d
RM
21189 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21190 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21191
952bf94a
RM
21192 * misc/lseek.c: File moved to ...
21193 * io/lseek.c: ... here.
21194
7c99b50a
RM
21195 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21196
dd924cd7
RM
21197 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21198 shifting LEN more than 31 bits at once.
21199
b3f479a8
LD
212002012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21201
21202 [BZ #14195]
8c4ae0d4
RM
21203 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21204 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21205 * string/test-strncasecmp.c (check1): Renamed to...
21206 (bz12205): ...this.
21207 (bz14195): Add new testcase for two empty input strings and N > 0.
21208 (test_main): Call new testcase, adapt for renamed function.
21209
9c55864e
AJ
212102012-08-15 Andreas Jaeger <aj@suse.de>
21211
21212 [BZ #14090]
21213 * crypt/md5test2.c: New test, based on test supplied by Serge
21214 Belyshev <belyshev@depni.sinp.msu.ru>.
21215 * crypt/Makefile (xtests): Add md5test-giant..
21216 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21217
02dcb6c5
PE
212182012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21219
21220 [BZ #14090]
21221 * crypt/md5.c (md5_process_block): Don't assume the buffer
21222 length is less than 2**32.
21223 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21224 length is less than 2**64.
21225
a3f95dcc
RM
212262012-08-15 Roland McGrath <roland@hack.frob.com>
21227
be75d758
RM
21228 * string/str-two-way.h: Include <sys/param.h>.
21229 (MAX): Macro removed.
21230
7312ca90
RM
21231 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21232 Move #define and #undef of memmove to just before and after
21233 including <string.h>.
21234
9a0a5486
RM
21235 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21236 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21237 and after including <string.h>. Move declarations of
21238 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21239 to before #include "string/memmove.c".
21240
67cc348d
RM
21241 * include/dirent.h: Declare __getdirentries.
21242
a3f95dcc
RM
21243 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21244 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21245
ca98e171
MF
212462012-08-14 Mike Frysinger <vapier@gentoo.org>
21247
21248 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21249 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21250 * sysdeps/i386/configure: Regenerated.
21251 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21252 STABS_CURRENT_FILE, and STABS_FUN.
21253 (END): Remove call to STABS_FUN_END.
21254 (STABS_CURRENT_FILE1): Delete.
21255 (STABS_CURRENT_FILE): Likewise.
21256 (STABS_FUN): Likewise.
21257 (STABS_FUN_END): Likewise.
21258 (STABS_FUN2): Likewise.
21259 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21260 * sysdeps/x86_64/configure: Regenerated.
21261
5908bf46
RM
212622012-08-14 Roland McGrath <roland@hack.frob.com>
21263
21264 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21265 * elf/dl-lookup.c: Likewise.
5908bf46 21266
f2c05b9e
JM
212672012-08-14 Joseph Myers <joseph@codesourcery.com>
21268
21269 * sysdeps/unix/sysv/linux/kernel-features.h
21270 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21271 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21272 unconditionally.
21273 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21274 unconditionally.
21275 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21276 condition on __ASSUME_CLONE_THREAD_FLAGS.
21277
e11f5155
AJ
212782012-08-14 Andreas Jaeger <aj@suse.de>
21279
21280 * sysdeps/i386/fpu/libm-test-ulps: Update.
21281
51a9ba86
MK
212822012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21283
2fdd4f78
AJ
21284 * include/atomic.h (atomic_exchange_and_add): Split into ...
21285 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21286 New atomic macros.
51a9ba86 21287
ba6cba9e
MT
212882012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21289
21290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21291
42443a47
JL
212922012-08-13 Jeff Law <law@redhat.com>
21293
21294 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21295 null byte in the output string.
21296
121dce05
JM
212972012-08-10 Joseph Myers <joseph@codesourcery.com>
21298
21299 * sysdeps/unix/sysv/linux/kernel-features.h
21300 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21301 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21302 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21304 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21305 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21306 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21307
bf51f568
JL
213082012-08-09 Jeff Law <law@redhat.com>
21309
21310 [BZ #13939]
21311 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21312 When avoid_arena is set, don't retry in the that arena. Pick the
21313 next one, whatever it might be.
21314 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21315 (arena_lock): Pass in new parameter to arena_get2.
21316 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21317 arena_get2.
21318 (__libc_malloc): Unify retrying after main arena failure with
21319 __libc_memalign version.
21320 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21321
f85fa270
L
213222012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21323
21324 [BZ #14166]
21325 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21326 to __redirect_strstr.
21327 (__strstr_sse42): Use typeof __redirect_strstr.
21328 (__strstr_ia32): Likewise.
21329 (__libc_strstr): New prototype.
21330 (strstr): Renamed to ...
21331 (__libc_strstr): This.
21332 (strstr): New strong alias of __libc_strstr.
21333 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21334 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21335 __redirect_time.
21336 Include <time.h>.
21337 (__libc_time): New prototype.
21338 (time_ifunc): Replace time with __libc_time.
21339 (time): New strong alias and hidden definition of __libc_time.
21340 (__GI_time): Remove strong alias.
21341 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21342 Include <stddef.h>.
21343 (memmove): Redefined to __redirect_memmove.
21344 (__memmove_sse2): Use typeof __redirect_memmove.
21345 (__memmove_ssse3): Likewise.
21346 (__memmove_ssse3_back): Likewise.
21347 (__libc_memmove): New prototype.
21348 (memmove): Renamed to ...
21349 (__libc_memmove): This.
21350 (memmove): New strong alias of __libc_memmove.
21351
33b4a91e
MS
213522012-08-08 Mark Salter <msalter@redhat.com>
21353
21354 * elf/elf.h
21355 (R_MN10300_TLS_GD): Define.
21356 (R_MN10300_TLS_LD): Likewise.
21357 (R_MN10300_TLS_LDO): Likewise.
21358 (R_MN10300_TLS_GOTIE): Likewise.
21359 (R_MN10300_TLS_IE): Likewise.
21360 (R_MN10300_TLS_LE): Likewise.
21361 (R_MN10300_TLS_DTPMOD): Likewise.
21362 (R_MN10300_TLS_DTPOFF): Likewise.
21363 (R_MN10300_TLS_TPOFF): Likewise.
21364 (R_MN10300_SYM_DIFF): Likewise.
21365 (R_MN10300_ALIGN): Likewise.
21366 (R_MN10300_NUM): Update.
21367
b36137f1
JM
213682012-08-08 Joseph Myers <joseph@codesourcery.com>
21369
21370 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21371 Remove.
21372
cdd915fd
RM
213732012-08-08 Roland McGrath <roland@hack.frob.com>
21374
a2433aac
RM
21375 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21376
cdd915fd
RM
21377 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21378 sysdeps/unix -> sysdeps/posix move.
21379 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21380
bf9b740a
AM
213812012-08-07 Allan McRae <allan@archlinux.org>
21382
21383 [BZ #14303]
21384 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21385 (SUNOS_CPP): Likewise.
21386 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21387 not found.
21388 (open_input): Call CPP using execvp.
21389
93df14ee
JM
213902012-08-07 Joseph Myers <joseph@codesourcery.com>
21391
21392 * sysdeps/unix/sysv/linux/kernel-features.h
21393 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21394 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21395 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21396 (__ASSUME_WAITID_SYSCALL): Likewise.
21397 * sysdeps/unix/sysv/linux/dl-execstack.c
21398 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21399 code unconditional.
21400 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21401 conditional code.
21402 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21403 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21404 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21405 code.
21406 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21407 unconditional.
21408 [__ASSUME_WAITID_SYSCALL]: Likewise.
21409 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21410
d34689de
RM
214112012-08-07 Roland McGrath <roland@hack.frob.com>
21412
a281decc
RM
21413 * sysdeps/unix/closedir.c: Renamed to ...
21414 * sysdeps/posix/closedir.c: ... here.
21415 * sysdeps/unix/dirfd.c: Renamed to ...
21416 * sysdeps/posix/dirfd.c: ... here.
21417 * sysdeps/unix/dirstream.h: Renamed to ...
21418 * sysdeps/posix/dirstream.h: ... here.
21419 * sysdeps/unix/fdopendir.c: Renamed to ...
21420 * sysdeps/posix/fdopendir.c: ... here.
21421 * sysdeps/unix/opendir.c: Renamed to ...
21422 * sysdeps/posix/opendir.c: ... here.
21423 * sysdeps/unix/readdir.c: Renamed to ...
21424 * sysdeps/posix/readdir.c: ... here.
21425 * sysdeps/unix/readdir_r.c: Renamed to ...
21426 * sysdeps/posix/readdir_r.c: ... here.
21427 * sysdeps/unix/rewinddir.c: Renamed to ...
21428 * sysdeps/posix/rewinddir.c: ... here.
21429 * sysdeps/unix/seekdir.c: Renamed to ...
21430 * sysdeps/posix/seekdir.c: ... here.
21431 * sysdeps/unix/telldir.c: Renamed to ...
21432 * sysdeps/posix/telldir.c: ... here.
21433 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21434 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21435 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21436 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21437
22895b47
RM
21438 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21439 * bits/fcntl.h: ... here.
21440
707a53b6
RM
21441 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21442 not 0.
21443 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21444 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21445 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21446 (struct flock): Move l_start, l_len to the beginning.
21447 Use __pid_t for l_pid.
21448 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21449 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21450 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21451 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21452 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21453 [__USE_LARGEFILE64] (struct flock64): New type.
21454 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21455
f0bd3e25
RM
21456 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21457 * bits/dirent.h: ... here.
21458
d34689de
RM
21459 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21460 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21461
6dad2c06
JM
214622012-08-07 Joseph Myers <joseph@codesourcery.com>
21463
21464 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21465 Change from 2.6.0 to 2.6.16.
21466 * sysdeps/unix/sysv/linux/configure: Regenerated.
21467 * sysdeps/unix/sysv/linux/kernel-features.h
21468 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21469 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21470 version.
21471 (__ASSUME_UTIMES): Likewise.
21472 (__ASSUME_CLONE_STOPPED): Remove.
21473 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21474 architectures, not kernel version.
21475 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21476 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21477 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21478 (__ASSUME_WAITID_SYSCALL): Likewise.
21479 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21480 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21481 * README: State 2.6.16 as minimum Linux kernel version. Do not
21482 refer to older versions.
21483
03af9520
RM
214842012-08-06 Roland McGrath <roland@hack.frob.com>
21485
8e49df1d
RM
21486 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21487 Define alphasort64 as an alias.
21488 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21489 Define versionsort64 as an alias.
21490 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21491 Define scandir64 as an alias.
21492 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21493 Define scandirat64 as an alias.
21494 * dirent/alphasort64.c (alphasort64):
21495 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21496 * dirent/versionsort64.c: Likewise.
21497 * dirent/scandir64.c: Likewise.
21498 * dirent/scandirat64.c: Likewise.
21499 * sysdeps/wordsize-64/alphasort.c: File removed.
21500 * sysdeps/wordsize-64/alphasort64.c: File removed.
21501 * sysdeps/wordsize-64/scandir.c: File removed.
21502 * sysdeps/wordsize-64/scandir64.c: File removed.
21503 * sysdeps/wordsize-64/scandirat.c: File removed.
21504 * sysdeps/wordsize-64/scandirat64.c: File removed.
21505 * sysdeps/wordsize-64/versionsort.c: File removed.
21506 * sysdeps/wordsize-64/versionsort64.c: File removed.
21507 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21508 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21509 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21510 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21511 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21512 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21514 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21515
21516 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21518 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21520 [defined __arch64__ || defined __sparcv9]
21521 (__INO_T_MATCHES_INO64_T): New macro.
21522 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21523 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21524 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21525 * sysdeps/unix/sysv/linux/bits/dirent.h
21526 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21527 (_DIRENT_MATCHES_DIRENT64): New macro.
21528
03af9520
RM
21529 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21530 Define lockf64 as an alias.
21531 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21532 Define fseeko64 as an alias.
21533 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21534 Define ftello64 as an alias.
21535 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21536 Define _IO_fgetpos64 and fgetpos64 as aliases.
21537 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21538 Define _IO_fsetpos64 and fsetpos64 as aliases.
21539 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21540 Conditionalize body on this.
21541 * libio/fseeko64.c: Likewise.
21542 * libio/ftello64.c: Likewise.
21543 * libio/iofgetpos64.c: Likewise.
21544 * libio/iofsetpos64.c: Likewise.
21545 * sysdeps/wordsize-64/lockf.c: File removed.
21546 * sysdeps/wordsize-64/lockf64.c: File removed.
21547 * sysdeps/wordsize-64/fseeko.c: File removed.
21548 * sysdeps/wordsize-64/fseeko64.c: File removed.
21549 * sysdeps/wordsize-64/ftello.c: File removed.
21550 * sysdeps/wordsize-64/ftello64.c: File removed.
21551 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21552 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21553 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21554 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21555 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21556 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21557 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21558 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21559 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21560 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21561 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21562 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21563 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21564 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21565
21566 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21568 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21570 [defined __arch64__ || defined __sparcv9]
21571 (__OFF_T_MATCHES_OFF64_T): New macro.
21572 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21573 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21574 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21575 (__OFF_T_MATCHES_OFF64_T): New macro.
21576
c5757acd
L
215772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21578
21579 * stdlib/secure-getenv.c (__secure_getenv): Replace
21580 GLIBC_2_16 with GLIBC_2_17.
21581
3a31811e
L
215822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21583
21584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21586
faa2bccb
DM
215872012-08-03 David S. Miller <davem@davemloft.net>
21588
21589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21590
85fe1997
JM
215912012-08-03 Joseph Myers <joseph@codesourcery.com>
21592
21593 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21594 Remove.
21595 (__ASSUME_CORRECT_SI_PID): Likewise.
21596 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21597 (__ASSUME_TMPFS_NAME): Likewise.
21598 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21599 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21600 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21601 (HAVE_AUX_SECURE): Make definition unconditional.
21602 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21603 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21604
4f75b7a0
RM
216052012-08-03 Roland McGrath <roland@hack.frob.com>
21606
21607 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21608 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21609 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21611 __eloop_threshold instead of SYMLOOP_MAX.
21612
21613 * sysdeps/generic/eloop-threshold.h: New file.
21614 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21615 of MAXSYMLINKS.
21616 * elf/chroot_canon.c (chroot_canon): Likewise.
21617
7aab07e4
JM
216182012-08-03 Joseph Myers <joseph@codesourcery.com>
21619
21620 [BZ #13717]
21621 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21622 Change to 2.6.0 everywhere.
21623 * sysdeps/unix/sysv/linux/configure: Regenerated.
21624 * sysdeps/unix/sysv/linux/kernel-features.h
21625 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21626 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21627 kernel versions.
21628 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21629 (__ASSUME_FUTEX_REQUEUE): Remove.
21630 (__ASSUME_STATFS64): Define unconditionally.
21631 (__ASSUME_AT_SECURE): Likewise.
21632 (__ASSUME_CORRECT_SI_PID): Likewise.
21633 (__ASSUME_TGKILL): Define without depending on kernel version for
21634 i386.
21635 (__ASSUME_UTIMES): Likewise.
21636 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21637 kernel version.
21638 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21639 (__ASSUME_TMPFS_NAME): Likewise.
21640 * README: Update reference to Linux kernel versions.
21641
b67e9372
MP
216422012-08-02 Marek Polacek <polacek@redhat.com>
21643
1f529f7d 21644 [BZ# 14150]
b67e9372
MP
21645 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21646 libc_cv_asm_type_prefix with %.
21647 * configure: Regenerated.
d2441631
RM
21648 * include/libc-symbols.h: Remove comment about
21649 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
21650 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21651 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21652 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21653 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21654 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21655 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21656 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21657 * elf/tst-unique2mod1.c: Likewise.
21658 * elf/tst-unique1mod2.c: Likewise.
21659 * elf/tst-unique1mod1.c: Likewise.
21660 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21661 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21662 Replace ASM_TYPE_DIRECTIVE with .type.
21663 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21664 * sysdeps/i386/sysdep.h: Likewise.
21665 * sysdeps/x86_64/sysdep.h: Likewise.
21666 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
21667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21668 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 21669 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
21670 * sysdeps/powerpc/powerpc32/sysdep.h:
21671 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
21672 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21673 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21674 * sysdeps/i386/fpu/e_powf.S: Likewise.
21675 * sysdeps/i386/fpu/e_expl.S: Likewise.
21676 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21677 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21678 * sysdeps/i386/fpu/e_pow.S: Likewise.
21679 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21680 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21681 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21682 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21683 * sysdeps/i386/fpu/e_log2.S: Likewise.
21684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21685 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21686 * sysdeps/i386/fpu/e_powl.S: Likewise.
21687 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21688 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21689 * sysdeps/i386/fpu/e_logl.S: Likewise.
21690 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21691 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21692 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21693 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21694 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21695 * sysdeps/i386/fpu/e_log.S: Likewise.
21696 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21697 * sysdeps/i386/fpu/e_logf.S: Likewise.
21698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21700 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21701 * sysdeps/i386/fpu/e_log10.S: Likewise.
21702 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21703 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21704 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21705 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21706 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21707 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21708 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21709 * sysdeps/i386/i686/strtok.S: Likewise.
21710 * sysdeps/i386/i386-mcount.S: Likewise.
21711 * sysdeps/i386/strtok.S: Likewise.
21712 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21713 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21715 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21716 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21717 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21718 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21719 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21720 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21721 * sysdeps/x86_64/_mcount.S: Likewise.
21722 * sysdeps/x86_64/strtok.S: Likewise.
21723 * sysdeps/sh/_mcount.S: Likewise.
21724
2747bf9a
RM
217252012-08-01 Roland McGrath <roland@hack.frob.com>
21726
21727 * libio/iofopen.c: Include <fcntl.h>.
21728 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21729 (_IO_fopen64, fopen64): Define as aliases.
21730 * libio/iofopen64.c: Include <fcntl.h>.
21731 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21732 Conditionalize body on this.
21733 * sysdeps/wordsize-64/iofopen.c: File removed.
21734 * sysdeps/wordsize-64/iofopen64.c: File removed.
21735
3fb791b8
MP
217362012-08-01 Marek Polacek <polacek@redhat.com>
21737
21738 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21739 Use dlfcn directly instead of a variable.
21740 (binfmt-subdir): Do not define.
21741 (dlfcn): Likewise.
21742
a9f1039f
JM
217432012-08-01 Joseph Myers <joseph@codesourcery.com>
21744
23bddc06
JM
21745 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21746 Remove all definitions.
21747 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21748 <kernel-features.h>.
21749 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21750 (miss_F_GETOWN_EX): Remove all definitions.
21751 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21752 macro definition.
21753 [!__ASSUME_FCNTL64]: Remove conditional code.
21754 [__ASSUME_FCNTL64]: Make code unconditional.
21755 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21756 <kernel-features.h>.
21757 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21758 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21759 (lockf64) [__NR_fcntl64]: Make code unconditional.
21760 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21761
a9f1039f
JM
21762 * sysdeps/unix/sysv/linux/kernel-features.h
21763 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21764 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21765 Make code unconditional.
21766 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21767 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21769 [__NR_vfork]: Make code unconditional.
21770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21773 [__NR_vfork]: Make code unconditional.
21774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21776
09c0ee5f
RM
217772012-08-01 Roland McGrath <roland@hack.frob.com>
21778
48aec5b9
RM
21779 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21780 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21781
cd97c966
RM
21782 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21783 Define mkstemp64 as an alias.
3f55550c
RM
21784 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21785 Define mkstemps64 as an alias.
cd97c966
RM
21786 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21787 Define mkostemp64 as an alias.
b8625cfc
RM
21788 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21789 Define mkostemps64 as an alias.
cd97c966
RM
21790 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21791 Conditionalize body on this.
21792 * misc/mkostemp64.c: Likewise.
b8625cfc 21793 * misc/mkostemps64.c: Likewise.
3f55550c 21794 * misc/mkstemps64.c: Likewise.
cd97c966
RM
21795 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21796 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21797 * sysdeps/wordsize-64/mkostemp.c: File removed.
21798 * sysdeps/wordsize-64/mkstemp.c: File removed.
21799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21800 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21801 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21802 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21803
09c0ee5f
RM
21804 [BZ #14138]
21805 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21806 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21807 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21808 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21809
21810 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21811 compat_symbol macros from <shlib-compat.h> rather than the underlying
21812 default_symbol_version and symbol_version macros, so that DEFAULT
21813 lines in shlib-versions are respected.
21814 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21815
7e66ee51
FW
218162012-08-01 Florian Weimer <fweimer@redhat.com>
21817
21818 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21819 Declare with warn_unused_result.
21820 (setgid, setregid, setegid, setresgid): Likewise.
21821 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21822 Likewise.
21823 * WUR-REPORT: Remove set*id functions.
21824
d2a54255
PT
218252012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21826
21827 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21828
7ecdb005
RM
218292012-07-31 Roland McGrath <roland@hack.frob.com>
21830
b4180a5e 21831 [BZ #10191]
789bd351
RM
21832 * include/sys/socket.h (__libc_accept, __libc_accept4):
21833 Add attribute_hidden.
21834 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21835
40ce302d
RM
21836 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21837 use of PTR_MANGLE.
21838 * inet/getnetgrent_r.c (setup): Likewise.
21839
7ecdb005
RM
21840 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21841
e2eabb2c
DM
218422012-07-31 David S. Miller <davem@davemloft.net>
21843
21844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21845
d0419dbf
JM
218462012-07-31 Joseph Myers <joseph@codesourcery.com>
21847
21848 [BZ #13629]
21849 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21850 value between 1.0 and 2.0 and smaller part has absolute value less
21851 than 1.0.
21852 * math/s_clog10.c (__clog10): Likewise.
21853 * math/s_clog10f.c (__clog10f): Likewise.
21854 * math/s_clog10l.c (__clog10l): Likewise.
21855 * math/s_clogf.c (__clogf): Likewise.
21856 * math/s_clogl.c (__clogl): Likewise.
21857 * math/libm-test.inc (clog_test): Add more tests.
21858 (clog10_test): Likewise.
21859 * sysdeps/i386/fpu/libm-test-ulps: Update.
21860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21861
2bc13872
FW
218622012-07-31 Florian Weimer <fweimer@redhat.com>
21863
21864 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21865 Exit with zero in case no suitable GID is found, and write a
21866 message to standard error.
21867
bea9b193
RM
218682012-07-30 Roland McGrath <roland@hack.frob.com>
21869
21870 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21871 rather than to 1.
21872 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21873 (MAXPATHLEN): Removed.
21874 (NOGROUP, NODEV): New macros.
21875 (setbit, clrbit, isset, isclr): New macros.
21876 (howmany, roundup, powerof2): New macros.
21877 (DEV_BSIZE): New macro.
21878
21879 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21880 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21881
21882 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21883 definition on [!__NO_LONG_DOUBLE_MATH].
21884
21885 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21886 PTR_MANGLE and PTR_DEMANGLE.
21887
21888 * socket/accept4.c (accept4): Rename to __libc_accept4.
21889 Define accept4 as a weak alias.
21890
21891 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21892 on [_DIRENT_HAVE_D_TYPE].
21893 * io/ftw.c (ftw_dir): Likewise.
21894
21895 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21896
21897 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21898
21899 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21900 Use the BSD numbers rather than the arbitrary ones we had.
21901 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21902 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21903 (SIGXCPU, SIGXFSZ): New macros.
21904 (_NSIG): Now 32.
21905
21906 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21907 initializer on [_LIBC_REENTRANT].
21908
21909 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21910 definitions inside [_POSIX_MAPPED_FILES].
21911
21912 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21913
21914 * dirent/opendir.c: Include <fcntl.h>.
21915
21916 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21917 (__libc_getspecific): Likewise.
21918 (__libc_key_create): Likewise.
21919
21920 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21921 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21922 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21923 (tmpfile64): Define as alias.
21924 * sysdeps/wordsize-64/tmpfile.c: File removed.
21925 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21926 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21927 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21928
21929 * stdio-common/vfscanf.c: Include <stdbool.h>.
21930 * nss/makedb.c: Likewise.
21931 * stdio-common/_i18n_number.h: Likewise.
21932 * argp/argp-help.c: Likewise.
21933 * posix/wordexp.c: Likewise.
21934 * sysdeps/posix/spawni.c: Likewise.
21935 * nss/nss_files/files-initgroups.c: Likewise.
21936 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21937 * nss/nss_files/files-initgroups.c: Likewise.
21938 * nss/nss_db/db-netgrp.c: Likewise.
21939 * nss/nss_db/db-initgroups.c: Likewise.
21940 * io/fchmodat.c: Include <sys/stat.h>.
21941
21942 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21943 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21944
21945 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21946 [HAVE_MMAP].
21947
21948 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21949 Add multiple inclusion protection.
21950
e5abc686
DM
219512012-07-27 David S. Miller <davem@davemloft.net>
21952
21953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21954
815e6fa3
GB
219552012-07-27 Gary Benson <gbenson@redhat.com>
21956
21957 [BZ #14298]
21958 * elf/rtld.c: Include <stap-probe.h>.
21959 (dl_main): Added static probes "init_start" and "init_complete".
21960 * elf/dl-load.c: Include <stap-probe.h>.
21961 (lose): Take new parameter "nsid".
21962 Added static probe "map_failed".
21963 (_dl_map_object_from_fd): Pass namespace id to lose.
21964 Added static probe "map_start".
21965 (open_verify): Pass namespace id to lose.
21966 * elf/dl-open.c: Include <stap-probe.h>.
21967 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21968 and "reloc_complete".
21969 * elf/dl-close.c: Include <stap-probe.h>.
21970 (_dl_close_worker): Added static probes "unmap_start" and
21971 "unmap_complete".
21972 * elf/rtld-debugger-interface.txt: New file documenting the above.
21973
9f98c16c
RM
219742012-07-26 Roland McGrath <roland@hack.frob.com>
21975
21976 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21977 rather than a string variable.
21978 * sunrpc/rpc_main.c (h_output): Likewise.
21979 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21980
f3c22df3
PT
219812012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21982
21983 * inet/check_native.c: New file.
21984
3129cfc6
JM
219852012-07-26 Joseph Myers <joseph@codesourcery.com>
21986
da865e95
JM
21987 [BZ #13629]
21988 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21989 if larger part has absolute value 1.0.
21990 * math/s_clog10.c (__clog10): Likewise.
21991 * math/s_clog10f.c (__clog10f): Likewise.
21992 * math/s_clog10l.c (__clog10l): Likewise.
21993 * math/s_clogf.c (__clogf): Likewise.
21994 * math/s_clogl.c (__clogl): Likewise.
21995 * math/libm-test.inc (clog_test): Add more tests.
21996 (clog10_test): Likewise.
21997 * sysdeps/i386/fpu/libm-test-ulps: Update.
21998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21999
3129cfc6
JM
22000 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22001 (pltexit): Likewise.
22002 (La_regs): Likewise.
22003 (La_retval): Likewise.
22004 (int_retval): Likewise.
22005 Update #error for removed macros to refer only to definitions in
22006 tst-audit.h.
22007 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22008 macro.
22009 (pltexit): Likewise.
22010 (La_regs): Likewise.
22011 (La_retval): Likewise.
22012 (int_retval): Likewise.
22013 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22014 macro.
22015 (pltexit): Likewise.
22016 (La_regs): Likewise.
22017 (La_retval): Likewise.
22018 (int_retval): Likewise.
22019 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22020 macro.
22021 (pltexit): Likewise.
22022 (La_regs): Likewise.
22023 (La_retval): Likewise.
22024 (int_retval): Likewise.
22025 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22026 macro.
22027 (pltexit): Likewise.
22028 (La_regs): Likewise.
22029 (La_retval): Likewise.
22030 (int_retval): Likewise.
22031 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22032 macro.
22033 (pltexit): Likewise.
22034 (La_regs): Likewise.
22035 (La_retval): Likewise.
22036 (int_retval): Likewise.
22037 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22038 macro.
22039 (pltexit): Likewise.
22040 (La_regs): Likewise.
22041 (La_retval): Likewise.
22042 (int_retval): Likewise.
22043 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22044 macro definitions in tst-audit.h.
22045 * sysdeps/i386/tst-audit.h: New file.
22046 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22047 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22048 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22049 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22050 * sysdeps/sh/tst-audit.h: Likewise.
22051 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22052 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22053 * sysdeps/x86_64/tst-audit.h: Likewise.
22054
bfc07087
AJ
220552012-07-26 Andreas Jaeger <aj@suse.de>
22056
b1b2aaf8
AJ
22057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22058 ptrace.
22059
22060 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22061 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22062 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22063 PTRACE_O_MASK.
22064 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22066 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22067
bfc07087
AJ
22068 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22069 value.
22070
22071 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22072 _sigsys.
22073 (si_call_addr, si_syscall, si_arch): Define new macro.
22074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22075 _sigsys.
22076 (si_call_addr, si_syscall, si_arch): Define new marcro.
22077 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22078 _sigsys.
22079 (si_call_addr, si_syscall, si_arch): Define new macro.
22080 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22081 _sigsys.
22082 (si_call_addr, si_syscall, si_arch): Define new macro.
22083
89b4b02f
JM
220842012-07-25 Joseph Myers <joseph@codesourcery.com>
22085
22086 [BZ #13717]
22087 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22088 Change to 2.4.21 where previously 2.4.1.
22089 * sysdeps/unix/sysv/linux/configure: Regenerated.
22090 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22091 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22092 Linux kernel version.
22093 (__ASSUME_STD_AUXV): Remove.
22094 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22095 kernel version.
22096 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22097 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22098 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22099 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22100 (__ASSUME_NETLINK_SUPPORT): Likewise.
22101 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22102 (__no_netlink_support): Remove conditional definition.
22103 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22104 Remove.
22105 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22106 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22107 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22108 (if_nameindex_ioctl): Remove.
22109 (if_nameindex_netlink): Do not handle __no_netlink_support.
22110 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22111 code.
22112 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22113 Remove conditional code.
22114 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22115 code.
22116 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22117 unconditional.
22118 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22119 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22120 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22121 Remove.
22122 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22123 [!__ASSUME_STD_AUXV]: Remove conditional code.
22124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22125 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22126 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22128 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22129 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22130 code.
22131 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22133 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22134 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22135 conditional code.
22136 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22138 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22139 code.
22140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22141 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22142 conditional code.
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22144 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22145 code unconditional.
22146 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22147 conditional code.
22148 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22149 unconditional.
22150 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22151 conditional code.
22152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22153 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22154 unconditional.
22155 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22156 conditional code.
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22158 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22159 code unconditional.
22160 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22161 conditional code.
22162 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22163 unconditional.
22164 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22165 conditional code.
22166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22167 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22168 code unconditional.
22169 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22170 conditional code.
22171 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22172 unconditional.
22173 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22174 conditional code.
22175
842a39cd
AS
221762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22177
22178 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22179 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22180 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22181 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22182 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22183 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22184 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22185 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22186 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22187 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22188 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22189 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22190 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22191 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22192 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22193 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22194 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22195 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22196 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22198 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22199 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22200 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22201
84b3fd84
FW
222022012-07-25 Florian Weimer <fweimer@redhat.com>
22203
22204 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22205 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22206 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22207 Introduce __libc_secure_getenv.
0c7936d5
FW
22208 * stdlib/Versions (2.17): Add secure_getenv
22209 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22210 * stdlib/secure-getenv.c: Rename __secure_getenv to
22211 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22212 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22213 * stdlib/tst-secure-getenv.c: New.
22214 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22215 * manual/startup.texi (Environment Access): Document
22216 secure_getenv.
84b3fd84
FW
22217 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22218 __libc_secure_getenv.
22219 * inet/ruserpass.c (ruserpass): Likewise.
22220 * malloc/mtrace.c (mtrace): Likewise.
22221 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22222 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22223 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22224 * sysdeps/posix/tempname.c: Likewise. Evaluate
22225 HAVE_SECURE_GETENV.
22226 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22227 __secure_getenv to __libc_secure_getenv.
84b3fd84 22228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22230 Likewise.
22231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22232 Likewise.
22233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22240
56e49b71
JM
222412012-07-25 Joseph Myers <joseph@codesourcery.com>
22242
22243 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22244 (struct La_i86_retval): Likewise.
22245 (struct La_x86_64_regs): Likewise.
22246 (struct La_x86_64_retval): Likewise.
22247 (struct La_x32_regs): Likewise.
22248 (struct La_x32_retval): Likewise.
22249 (struct La_ppc32_regs): Likewise.
22250 (struct La_ppc32_retval): Likewise.
22251 (struct La_ppc64_regs): Likewise.
22252 (struct La_ppc64_retval): Likewise.
22253 (struct La_sh_regs): Likewise.
22254 (struct La_sh_retval): Likewise.
22255 (struct La_s390_32_regs): Likewise.
22256 (struct La_s390_32_retval): Likewise.
22257 (struct La_s390_64_regs): Likewise.
22258 (struct La_s390_64_retval): Likewise.
22259 (struct La_sparc32_regs): Likewise.
22260 (struct La_sparc32_retval): Likewise.
22261 (struct La_sparc64_regs): Likewise.
22262 (struct La_sparc64_retval): Likewise.
22263 (struct audit_ifaces): Remove architecture-specific pltenter and
22264 pltexit members.
22265 * sysdeps/i386/ldsodefs.h: New file.
22266 * sysdeps/powerpc/ldsodefs.h: Likewise.
22267 * sysdeps/s390/ldsodefs.h: Likewise.
22268 * sysdeps/sh/ldsodefs.h: Likewise.
22269 * sysdeps/sparc/ldsodefs.h: Likewise.
22270 * sysdeps/x86_64/ldsodefs.h: Likewise.
22271
354691b7
MP
222722012-07-25 Marek Polacek <polacek@redhat.com>
22273
22274 [BZ #6808]
22275 * math/libm-test.inc (yn_test): Add another test.
22276 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22277 to ERANGE when the result is +-Inf.
22278 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22279 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22280 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22281 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22282
bf9e2071
JM
222832012-07-24 Joseph Myers <joseph@codesourcery.com>
22284
22285 * conform/data/time.h-data (NULL): Use macro-constant. Require
22286 equal to 0.
22287 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22288 clock_t.
22289 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22290
57633811
TS
222912012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22292
22293 * configure.in <sysdeps resolving>: Correct printing
22294 Implies_before.
22295 * configure: Regenerate.
22296
c23c33b0
TS
222972012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22298
22299 * math/w_ilogb.c: Include <limits.h>.
22300 * math/w_ilogbl.c: Likewise.
22301
b5982523
JM
223022012-07-20 Joseph Myers <joseph@codesourcery.com>
22303
22304 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22305 va_copy. Document allowing for unavailable va_copy only as
22306 pre-C99 compatibility.
22307 * manual/string.texi (Copying and Concatenation): Use va_copy
22308 instead of __va_copy in concat example.
22309
ac4ea442
PT
223102012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22311
22312 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22313 (__sendto): Use create_address_port. Initialize APORT and deallocate
22314 it if not null.
22315
f98eafbd
PT
22316 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22317 with O_NOLINK passed to __file_name_lookup.
22318
898c7aab
PT
22319 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22320 with O_NOLINK passed to __file_name_lookup.
22321
0ced335a
PT
22322 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22323 negative N or less than NGIDS.
22324
b3404dbd
PT
22325 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22326 type to string_t. Set ERANGE as errno and return it if NAME is not big
22327 enough. Use memcpy instead of strncpy.
22328
0f48659e
JM
223292012-07-20 Joseph Myers <joseph@codesourcery.com>
22330
22331 * elf/Makefile (check-data): Remove.
22332 (localplt.data): New vpath directive.
22333 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22334 instead of $(check-data).
22335 * scripts/data/localplt-generic.data: Move to ...
22336 * sysdeps/generic/localplt.data: ... here.
22337 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22338 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22339 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22341 ... here.
22342 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22344 ... here.
22345 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22347 ... here.
22348 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22350 ... here.
22351 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22353 ... here.
22354 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22356 ... here.
22357
d37cbdaa
AZ
223582012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22359
22360 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22361 PPC32 and PPC64 files.
22362 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22363 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22364
46f85fc2
AK
223652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22366
22367 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22368 __makecontext_ret to ...
22369 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22370 ... here and call exit if uc_link is NULL. New file.
22371 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22372 __makecontext_ret.S.
22373 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22374 __makecontext_ret to ...
22375 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22376 ... here and call exit if uc_link is NULL. New file.
22377 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22378 __makecontext_ret.S.
22379
08f43f9b
AK
223802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22381
22382 * elf/elf.h (R_390_IRELATIVE): New definition.
22383 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22384 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22385 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22387 (elf_machine_lazy_rel): Likewise.
22388 * sysdeps/s390/dl-irel.h: New file.
22389 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22390 * sysdeps/s390/s390-64/memset.S: New asm code.
22391 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22392 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22393 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22394 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22395 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22396 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22397 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22398 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22399 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22400 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22401 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22402 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22403 * sysdeps/s390/s390-32/memset.S: New asm code.
22404 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22405
3b05db33
MP
224062012-07-17 Marek Polacek <polacek@redhat.com>
22407
22408 [BZ #14349]
22409 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22410 * sysdeps/s390/s390-64/configure.in: Likewise.
22411 * sysdeps/sparc/configure.in: Likewise.
22412 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22413 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22414 * sysdeps/i386/configure.in: Likewise.
22415 * sysdeps/x86_64/configure.in: Likewise.
22416 * sysdeps/sh/configure.in: Likewise.
22417 * sysdeps/s390/s390-32/configure: Regenerated.
22418 * sysdeps/s390/s390-64/configure: Likewise.
22419 * sysdeps/x86_64/configure: Likewise.
22420 * sysdeps/sh/configure: Likewise.
22421 * sysdeps/powerpc/powerpc64/configure: Likewise.
22422 * sysdeps/powerpc/powerpc32/configure: Likewise.
22423 * sysdeps/sparc/configure: Likwise.
22424 * sysdeps/i386/configure: Likewise.
22425
a66877c6
MP
22426 * elf/dl-open.c: Comment fixes.
22427
cfc82fd8
JM
224282012-07-17 Joseph Myers <joseph@codesourcery.com>
22429
bd29910a
JM
22430 * Makefile [CXX] (check-data): Remove.
22431 [CXX] (c++-types.data): New vpath directive.
22432 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22433 vpath. Do not allow for C++ type data being missing.
22434 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22435 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22436 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22437 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22438 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22439 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22440 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22442 ... here.
22443 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22445 ... here.
22446 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22448 ... here.
22449 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22451 ... here.
22452 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22454 ... here.
22455 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22457 ... here.
22458 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22460 ... here.
22461 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22463
cfc82fd8
JM
22464 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22465 definitions to architecture-specific files.
22466 (TLS_IE): Likewise.
22467 (TLS_LD): Likewise.
22468 (TLS_GD): Likewise.
22469 * sysdeps/i386/tls-macros.h: New file.
22470 * sysdeps/powerpc/tls-macros.h: Likewise.
22471 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22472 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22473 * sysdeps/sh/tls-macros.h: Likewise.
22474 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22475 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22476 * sysdeps/x86_64/tls-macros.h: Likewise.
22477
f7db3170
TS
224782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22479
07cbfc23
TS
22480 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22481 zero value for regular exit case.
22482
f7db3170
TS
22483 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22484 (__start_context): Preserve zero value for regular exit case.
22485
dc97c227
TS
224862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22487 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22488
22489 * manual/setjmp.texi (setcontext): Clarify normal process
22490 termination when uc_link is the null pointer.
22491 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22492 exit call.
22493
d0cd7d02
AS
224942012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22495
22496 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22497 preprocessor. Test for each exception mask separately.
22498
dd318934
AJ
224992012-07-16 Andreas Jaeger <aj@suse.de>
22500
22501 * po/ru.po: Update from translation team.
22502
8048311a
JM
225032012-07-15 Joseph Myers <joseph@codesourcery.com>
22504
22505 * conform/data/string.h-data (NULL): Use macro-constant. Require
22506 equal to 0.
22507 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22508 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22509 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22510 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22512
b637d46e
AJ
225132012-07-13 Andreas Jaeger <aj@suse.de>
22514
22515 * po/fr.po: Update from translation team.
22516
541428fe
MP
225172012-07-12 Marek Polacek <polacek@redhat.com>
22518
22519 [BZ #14173]
22520 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22521 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22522 loop condition.
22523
ec332e94
JM
225242012-07-12 Joseph Myers <joseph@codesourcery.com>
22525
22526 [BZ #13717]
22527 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22528 Change to 2.4.1 where previously 2.4.0.
22529 * sysdeps/unix/sysv/linux/configure: Regenerated.
22530 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22531 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22532 version.
22533 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22534 (__ASSUME_AT_CLKTCK): Remove.
22535 (__ASSUME_AT_PAGESIZE): Likewise.
22536 (__ASSUME_AT_XID): Likewise.
22537 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22538 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22539 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22540 unconditionally.
22541 (HAVE_AUX_PAGESIZE): Likewise.
22542 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22543 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22544 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22545
7b6e99be
JB
225462012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22547
22548 [BZ #14307]
22549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22550 the temporary buffer used to invoke __gethostbyname2_r,
22551 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22552 host_data / struct gaih_addrtuple.
22553 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22554 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22555 header file nss/nsswitch.h.
22556 * nss/nsswitch.h (global scope): Add definition of implementation
22557 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22558 resolv/nss_dns/dns-host.c).
22559
608404eb
AJ
225602012-07-11 Andreas Jaeger <aj@suse.de>
22561
22562 * po/fr.po: Update from translation team.
22563
71220aca
AJ
22564 * po/sv.po: Update from translation team
22565 * po/fr.po: Another update from translation team.
22566
28cfe843
AZ
225672012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22568
22569 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22570 for subnormals or multiply small sinh result by itself.
22571 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22573
6b90f981
DM
225742012-07-11 David S. Miller <davem@davemloft.net>
22575
22576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22577
c6825772
AS
225782012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22579
22580 [BZ #14347]
22581 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22582 (INTERNAL_MARK): Shift it here.
22583
7b8e0d49
MP
225842012-07-10 Marek Polacek <polacek@redhat.com>
22585
22586 [BZ #14151]
22587 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22588 libc_cv_asm_global_directive with .globl.
22589 * configure: Regenerated.
22590 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22591 with .globl.
22592 * sysdeps/i386/configure: Regenerated.
22593 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22594 with .globl.
22595 * sysdeps/x86_64/configure: Regenerated.
22596 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22597 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22598 * elf/tst-unique2mod2.c: Likewise.
22599 * elf/tst-unique2mod1.c: Likewise.
22600 * elf/tst-unique1mod2.c: Likewise.
22601 * elf/tst-unique1mod1.c: Likewise.
22602 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22603 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22604 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22605 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22606 * sysdeps/mach/sysdep.h: Likewise.
22607 * sysdeps/i386/sysdep.h: Likewise.
22608 * sysdeps/i386/i386-mcount.S: Likewise.
22609 * sysdeps/x86_64/_mcount.S: Likewise.
22610 * sysdeps/x86_64/sysdep.h: Likewise.
22611 * sysdeps/sh/_mcount.S: Likewise.
22612 * sysdeps/sh/sysdep.h: Likewise.
22613 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22614 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22615 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22616 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22617 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22618 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22619 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22620 * locale/localeinfo.h: Likewise.
22621 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22622 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22623
6c55cda3
RM
226242012-07-09 Roland McGrath <roland@hack.frob.com>
22625
22626 [BZ #14336]
22627 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22628 system".
22629 * manual/message.texi (The Uniforum approach): Likewise.
22630 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22631 (glibc iconv Implementation): Likewise.
22632
638a572e
JM
226332012-07-09 Joseph Myers <joseph@codesourcery.com>
22634
22635 [BZ #14337]
22636 * math/s_clog.c (__clog): Avoid scaling a value down where that
22637 could result in underflow.
22638 * math/s_clog10.c (__clog10): Likewise.
22639 * math/s_clog10f.c (__clog10f): Likewise.
22640 * math/s_clog10l.c (__clog10l): Likewise.
22641 * math/s_clogf.c (__clogf): Likewise.
22642 * math/s_clogl.c (__clogl): Likewise.
22643 * math/libm-test.inc (clog_test): Add more tests.
22644 (clog10_test): Likewise.
22645 * sysdeps/i386/fpu/libm-test-ulps: Update.
22646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647
261f4859
AS
226482012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22649
0abaf3e4
AS
22650 [BZ #14283]
22651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22652 by 7 not 8 to examine high bit of fractional part.
22653
261f4859
AS
22654 [BZ #14042]
22655 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22656 for call to __mcount_internal.
22657 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22658 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22659 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22660
f17ac40d
JM
226612012-07-06 Joseph Myers <joseph@codesourcery.com>
22662
9ad63c23
JM
22663 [BZ #14154]
22664 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22665 approximation for values within 0x1p-13f of an odd multiple of
22666 pi/4.
22667 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22668 exception. Add more tests.
22669 * sysdeps/i386/fpu/libm-test-ulps: Update.
22670
f17ac40d
JM
22671 [BZ #6778]
22672 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22673 inputs and return -1 for them. Do not check for +Inf in case not
22674 reachable for +Inf.
22675 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22676 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22677 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22678 and return -1 for them. Do not check for +Inf in case not
22679 reachable for +Inf.
22680 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22681 define.
22682 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22683 and return -1 for them. Do not check for +Inf in case not
22684 reachable for +Inf.
22685 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22686 spurious underflow.
22687 * sysdeps/i386/fpu/libm-test-ulps: Update.
22688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22689
fb21f89b
MF
226902012-07-06 Mike Frysinger <vapier@gentoo.org>
22691
22692 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22693
cdfe2c5e
JM
226942012-07-05 Joseph Myers <joseph@codesourcery.com>
22695
22696 [BZ #14157]
22697 [BZ #14331]
22698 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22699 could result in spurious underflow. Scale down values above
22700 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22701 * math/s_csqrtf.c (__csqrtf): Likewise.
22702 * math/s_csqrtl.c (__csqrtl): Likewise.
22703 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22704 spurious underflow.
22705 * sysdeps/i386/fpu/libm-test-ulps: Update.
22706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22707
70d35b67
AS
227082012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22709
704bc459
AS
22710 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22711 xopen-msg.sed.
22712 * catgets/xopen-msg.awk: New file.
22713 * catgets/xopen-msg.sed: Removed.
22714
70d35b67
AS
22715 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22716 po2text.sed.
22717 * intl/po2test.awk: New file.
22718 * intl/po2test.sed: Removed.
22719
ca61cf32
JM
227202012-07-04 Joseph Myers <joseph@codesourcery.com>
22721
22722 [BZ #14328]
22723 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22724 or multiply small sinh result by itself.
22725 * math/s_ctanf.c (__ctanf): Likewise.
22726 * math/s_ctanh.c (__ctanh): Likewise.
22727 * math/s_ctanhf.c (__ctanhf): Likewise.
22728 * math/s_ctanhl.c (__ctanhl): Likewise.
22729 * math/s_ctanl.c (__ctanl): Likewise.
22730 * math/libm-test.inc (ctan_test_tonearest): New function.
22731 (ctan_test_towardzero): Likewise.
22732 (ctan_test_downward): Likewise.
22733 (ctan_test_upward): Likewise.
22734 (ctanh_test_tonearest): Likewise.
22735 (ctanh_test_towardzero): Likewise.
22736 (ctanh_test_downward): Likewise.
22737 (ctanh_test_upward): Likewise.
22738 (main): Call these new functions.
22739 * sysdeps/i386/fpu/libm-test-ulps: Update.
22740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22741
ca48a46a
MF
227422012-07-03 Mike Frysinger <vapier@gentoo.org>
22743
22744 * .gitignore: Delete /ports entry.
22745
9d63d37d
AJ
227462012-07-03 Andreas Jaeger <aj@suse.de>
22747
22748 * po/bg.po: Update from translation team.
22749 * po/cs.po: Likewise.
22750 * po/de.po: Likewise.
22751 * po/hr.po: Likewise.
22752 * po/nl.pl: Likewise.
22753 * po/pl.po: Likewise.
22754 * po/vi.po: Likewise.
22755
370ca3d2
JM
227562012-07-03 Joseph Myers <joseph@codesourcery.com>
22757
95f5a9a8
JM
22758 * Makeconfig [!+link] (+link-before-libc): New variable.
22759 [!+link] (+link-after-libc): Likewise.
22760 [!+link] (+link-tests): Likewise.
22761 [!+link] (+link): Define in terms of $(+link-before-libc) and
22762 $(+link-after-libc).
22763 [!+link-static] (+link-static-before-libc): New variable.
22764 [!+link-static] (+link-static-after-libc): Likewise.
22765 [!+link-static] (+link-static-tests): Likewise.
22766 [!+link-static] (+link-static): Define in terms of
22767 $(+link-static-before-libc) and $(+link-static-after-libc).
22768 [build-shared] (link-libc-before-gnulib): New variable.
22769 [build-shared] (link-libc-tests): Likewise.
22770 [build-shared] (link-libc): Define in terms of
22771 $(link-libc-before-gnulib).
22772 [!build-shared] (link-libc-tests): New variable.
22773 (link-libc-static-tests): New variable.
22774 [!gnulib] (gnulib-arch): New variable.
22775 [!gnulib] (gnulib-tests): Likewise.
22776 [!gnulib] (static-gnulib-arch): Likewise.
22777 [!gnulib] (static-gnulib-tests): Likewise.
22778 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22779 Define with "=" instead of ":=".
22780 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22781 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22782 * Rules (binaries-all-notests): New variable.
22783 (binaries-all-tests): Likewise.
22784 (binaries-static-notests): Likewise.
22785 (binaries-static-tests): Likewise.
22786 (binaries-all): Define using $(binaries-all-notests) and
22787 $(binaries-all-tests).
22788 (binaries-static): Define using $(binaries-static-notests) and
22789 $(binaries-static-tests).
22790 (binaries-shared-tests): New variable.
22791 (binaries-shared-notests): Likewise.
22792 (binaries-shared): Remove variable.
22793 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22794 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22795 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22796 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22797 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22798 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22799 * elf/Makefile (sln-modules): New variable.
22800 (extra-objs): Add $(sln-modules:=.o).
22801 (ldconfig-modules): Add static-stubs.
22802 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22803 * elf/static-stubs.c: New file.
22804
7a845b2c
JM
22805 [BZ #14283]
22806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22807 by 7 not 8 to examine high bit of fractional part. Use volatile
22808 variables when splitting into final array of floats if
22809 __FLT_EVAL_METHOD__ != 0.
22810 * math/libm-test.inc (cos_test): Add another test.
22811 (sin_test): Likewise.
22812 * sysdeps/i386/fpu/libm-test-ulps: Update.
22813
e2283f38
JM
22814 [BZ #14273]
22815 * math/libm-test.inc (cosh_test): Add more tests.
22816
370ca3d2
JM
22817 * version.h (RELEASE): Set to "development".
22818 (VERSION): Set to "2.16.90".
22819
ee9247c3
CD
228202012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22821
22822 * NEWS: Update copyright. Remove last-updated date.
22823 Mention math library bug fixes and timezone data changes.
22824 * README: Mention GNU/Hurd, x32, and HPPA support status.
22825
4648c381
TS
228262012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22827
22828 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22829
aac78a43
AJ
228302012-06-27 Andreas Jaeger <aj@suse.de>
22831
22832 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22833
ed3dbfad
AJ
228342012-06-25 Andreas Jaeger <aj@suse.de>
22835
22836 * sysdeps/s390/fpu/libm-test-ulps: Update.
22837
4d0ee855
AS
228382012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22839 Thomas Schwinge <thomas@codesourcery.com>
22840
22841 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22842 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22844 fanotify_mark.
22845
af1bce34
TS
228462012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22847
a9fa33ba
TS
22848 * sysdeps/mach/start.c: Remove file.
22849 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22850 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22851 * sysdeps/sh/init-first.c: Likewise.
22852
58f902b8
TS
22853 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22854 registers for frame unwinding purposes, add CFI directives.
22855 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22856 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22857 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22858 Likewise.
22859
1518f58b
TS
22860 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22861 __fortify_fail returning.
22862 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22863
db9b5059
TS
22864 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22865 sysdeps/sh/____longjmp_chk.S.
22866 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22867 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22868 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22869 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22870
967705fe
TS
22871 * sysdeps/sh/abort-instr.h: New file.
22872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22873 process in case exit returns.
22874
a9def8c4
TS
22875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22876 initialize the GOT register before use.
22877
2a649725
TS
22878 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22879 calculation of ARGC > 4.
22880
af1bce34
TS
22881 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22882 meaningful names to some local labels.
22883
d230f50a
KK
228842012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22885 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22886
22887 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22888 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22889 (__arch_compare_and_exchange_val_16_acq): Likewise.
22890 (__arch_compare_and_exchange_val_32_acq): Likewise.
22891 (atomic_exchange_and_add): Fix gUSA sequence.
22892 (atomic_add): Likewise.
22893 (atomic_add_negative): Likewise.
22894 (atomic_add_zero): Likewise.
22895 (atomic_bit_test_set): Likewise.
22896
0479b305
AS
228972012-06-22 Andreas Schwab <schwab@redhat.com>
22898
22899 [BZ #13579]
22900 * include/link.h (struct link_map): Add l_free_initfini.
22901 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22902 l_initfini.
22903 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22904 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22905 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22906 set.
22907
0e3933b9
CD
229082012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22909
22910 * configure.in: Use AC_LANG_SOURCE.
22911 * configure: Regenerate.
22912
4248b1b1
RM
229132012-06-22 Roland McGrath <roland@hack.frob.com>
22914
22915 * configure.in (libc_cv_localstatedir): New substituted variable.
22916 * configure: Regenerated.
22917 * config.make.in (localstatedir): New variable, substituted from
22918 libc_cv_localstatedir.
22919 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22920 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22921 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22922 * sysdeps/gnu/configure: Regenerated.
22923
006dd861
JL
229242012-06-21 Jeff Law <law@redhat.com>
22925
22926 [BZ #14277]
22927 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22928 free. Simplify list management for _LIBC case.
22929
79662d42
JM
229302012-06-21 Joseph Myers <joseph@codesourcery.com>
22931
b7abb4bf
JM
22932 [BZ #14273]
22933 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22934 Clear sign bit of 64-bit integer value before comparing against
22935 overflow value.
22936
79662d42
JM
22937 * sysdeps/mach/configure: Regenerated.
22938
1f150908
L
229392012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22940
22941 [BZ #14278]
22942 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22943
28363bbf
JL
229442012-06-21 Jeff Law <law@redhat.com>
22945
22946 [BZ #13882]
22947 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22948 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 22949 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
22950 * elf/dl-open.c (dl_open_worker): Likewise.
22951
09615db4
CD
229522012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22953
22954 * scripts/list-sources.sh: Scan PORTS for translations.
22955 * po/libc.pot: Regenerated.
22956
2174c6dd
AJ
229572012-06-21 Andreas Jaeger <aj@suse.de>
22958
22959 [BZ #12194]
22960 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22961 warning.
22962 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22963 * bits/byteswap-16.h (__bswap_16): Likewise.
22964 * bits/byteswap.h (__bswap_constant_16): Likewise.
22965
3ee947b1
L
229662012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22967
22968 [BZ #14117]
a2f34833
L
22969 * sysdeps/i386/fpu_control.h: Removed.
22970 * sysdeps/x86_64/fpu_control.h: Moved to ...
22971 * sysdeps/x86/fpu_control.h: Here.
22972
3ee947b1
L
22973 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22974 (_FPU_SETCW): Likewise.
22975
ed1825f8
L
229762012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22977
25f1282a
L
22978 [BZ #14117]
22979 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22980 * sysdeps/x86/fpu/bits/mathinline.h: This.
22981 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22982
ed1825f8
L
22983 [BZ #14050]
22984 [BZ #14117]
22985 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22986 functions if __x86_64__ is defined.
22987
36d54b74
CLT
229882012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22989
22990 * string/endian.h: Add !__ASSEMBLER__ condition for including
22991 conversion interfaces.
22992
10285c21
JM
229932012-06-15 Joseph Myers <joseph@codesourcery.com>
22994
22995 [BZ #14241]
22996 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22997 of ABS(x) in calculating zero to negative powers other than odd
22998 integers.
22999 * math/libm-test.inc (pow_test): Add more tests.
23000
06c5abbd
AJ
230012012-06-15 Andreas Jaeger <aj@suse.de>
23002
23003 * manual/contrib.texi (Contributors): Update entry of Liubov
23004 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23005 Machado Filho.
23006
a3aeac40
CH
230072012-06-15 Cyril Hrubis <metan@ucw.cz>
23008
23009 * string/string.h: Add __wur to GNU version of strerror_r.
23010
49bdf4c1
L
230112012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23012
23013 [BZ #14229]
23014 * string/Makefile (tests): Add tst-strtok_r.
23015 * string/tst-strtok_r.c: New file.
23016 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23017 RAX_LP/RDX_LP on SAVE_PTR.
23018
834f9b8d
RM
230192012-06-14 Roland McGrath <roland@hack.frob.com>
23020
23021 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23022
75fa1921
JM
230232012-06-14 Joseph Myers <joseph@codesourcery.com>
23024
23025 * libm_test.inc (csqrt_test): Allow more spurious underflow
23026 exceptions.
23027 (j0_test): Likewise.
23028 (j1_test): Likewise.
23029 (y0_test): Likewise.
23030 (y1_test): Likewise.
23031
771766df
CD
230322012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23033
23034 * po/Makefile (libc.pot): Use UTF-8 charset.
23035
ceb9e56b
PP
230362012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23037
23038 [BZ #14210]
23039 Suppress sign-conversion warning from FD_SET.
23040 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23041 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23042 not unsigned long int.
23043 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23044
ddb28975
L
230452012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23046
23047 [BZ #14050]
23048 [BZ #14117]
23049 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23050 __extern_always_inline instead of __extern_inline.
23051 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23052 (__signbit): Likewise.
23053 (__signbitl): Support C++ namespace.
23054 (lrintf): New inline function.
23055 (lrint): Likewise.
23056 (llrintf): Likewise.
23057 (llrint): Likewise.
23058 (fmaxf): Likewise.
23059 (fmax): Likewise.
23060 (fminf): Likewise.
23061 (fmin): Likewise.
23062 (rint): Likewise.
23063 (rintf): Likewise.
23064 (ceil): Likewise.
23065 (ceilf): Likewise.
23066 (floor): Likewise.
23067 (floorf): Likewise.
23068 (nearbyint): Likewise.
23069 (nearbyintf): Likewise.
23070
d7b4fb26
TS
230712012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23072
23073 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23074 non-default versions.
23075
eb55f5c2
RM
230762012-06-11 Roland McGrath <roland@hack.frob.com>
23077
23078 [BZ #14218]
23079 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23080
366af02c
TS
230812012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23082
99ff6e5c
TS
23083 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23084 (FE_UPWARD, FE_DOWNWARD): Don't define.
23085 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23086 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23087
366af02c
TS
23088 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23089 reading it.
23090 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23091 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23092
793ea851
KK
230932012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23094
23095 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23096 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23097 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23098 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23099
a728a38f
L
231002012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23101
23102 [BZ #14117]
c08010c7
L
23103 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23104 * sysdeps/i386/fpu/Implies: New file.
23105 * sysdeps/x86_64/fpu/Implies: Likewise.
23106 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23107 * sysdeps/x86/fpu/bits/fenv.h: This.
23108
a728a38f
L
23109 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23110 __SSE_MATH__.
23111
6e230d11
SP
231122012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23113
23114 [BZ #14134]
23115 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23116 character 0xffff that matches the last element of the
23117 conversion table.
23118
1b671feb
AZ
231192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23120
23121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23122 fmodl commit.
23123
6043738b
AZ
231242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23125
23126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23127 values higher than 25.6283.
23128
34ae0b32
AZ
231292012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23130
23131 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23132 subnormal exponent extraction and add some __builtin_expect.
23133 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23134 Fix for subnormal mantissa calculation.
23135
1214ec8f
MF
231362012-06-04 Mike Frysinger <vapier@gentoo.org>
23137
23138 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23139 cpu2 is -1 and errno is not ENOSYS.
23140
f3d1f93c
L
231412012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23142
23143 [BZ #14117]
0e4a3cd7
L
23144 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23145 * sysdeps/x86/bits/string.h: This.
23146 * sysdeps/x86_64/bits/string.h: Removed.
23147
6704c645
L
23148 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23149 if not compiling for x86-64, but compiling for >= i486.
23150
48495318
L
23151 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23152 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23153
14adcbfc
L
23154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23155 New macro from Linux kernel 3.4.0.
23156 (FP_XSTATE_MAGIC2): Likewise.
23157 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23158 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23159 (struct _fpx_sw_bytes): New struct.
23160 (struct _xsave_hdr): Likewise.
23161 (struct _ymmh_state): Likewise.
23162 (struct _xstate): Likewise.
23163
68e408ab
L
23164 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23165 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23167 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23168 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23169 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23170
f3d1f93c
L
23171 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23172 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23173 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23174 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23175 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23176 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23177
d9dc34cd
TMQMF
231782012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23179
23180 [BZ #13743]
23181 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23182 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23183 (sysdep_headers): Include sys/platform/ppc.h.
23184 * sysdeps/powerpc/test-gettimebase.c: Test for
23185 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23186 * manual/Makefile (appendices): Include platform.texi.
23187 * manual/contrib.texi (Contributors): Update @node pointers.
23188 * manual/maint.texi (Maintenance): Likewise.
23189 (Platform): New node.
23190 * manual/platform.texi: New file. Document the new features.
23191
4af3879c
SP
231922012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23193 Jakub Jelinek <jakub@redhat.com>
23194
23195 [BZ #14188]
23196 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23197 where __builtin_expect is unavailable.
23198
2fd6ff13
DM
231992012-06-03 David S. Miller <davem@davemloft.net>
23200
23201 * stdlib/longlong.h: Updated from GCC.
23202
173f7220
AS
232032012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23204
23205 [BZ #14042]
23206 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23207 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23208 __mcount_internal.
23209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23210 (GLIBC_2.16): Likewise.
23211
f34a1c6f
L
232122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23215
88a4576f
JM
232162012-06-01 Joseph Myers <joseph@codesourcery.com>
23217
ea32bcdd
JM
23218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23219 (default-abi): New variable.
23220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23221 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23222 variable.
23223 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23224 Likewise.
23225 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23226 Likewise.
23227 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23228 Likewise.
23229
88a4576f
JM
23230 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23231 definition. Document in comment.
23232
402fe938
DM
232332012-06-01 David S. Miller <davem@davemloft.net>
23234
23235 * stdlib/longlong.h: Updated from GCC.
23236
3553723f
L
232372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23238
23239 [BZ #14117]
3bd872c4
L
23240 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23241 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23242 sys/debugreg.h sys/io.h here.
23243 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23244 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23245 sys/io.h.
23246 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23247 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23248 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23249 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23250 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23251 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23252
3553723f
L
23253 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23254 Define only if __x86_64__ is defined.
23255
4842e4fe
JM
232562012-06-01 Joseph Myers <joseph@codesourcery.com>
23257
c5bfe3d5
JM
23258 [BZ #14048]
23259 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23260 Use int64_t for variable i.
23261 * math/libm-test.inc (fmod_test): Add more tests.
23262
4842e4fe
JM
23263 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23264 z computation is not scheduled after fetestexcept.
23265 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23266 Use math_force_eval instead of asm to ensure calculation scheduled
23267 before exception test.
23268 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23269 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23270
efb73488
AJ
232712012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23272
23273 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23274 computation is not scheduled after fetestexcept.
23275
29bcce7c
L
232762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23277
23278 [BZ #14117]
23279 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23280 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23281
73a68f94
AZ
232822012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23283
23284 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23285 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23286
67b6df78
L
232872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23288
edf2933a 23289 [BZ #14117]
ebc64a18
L
23290 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23291 <bits/wordsize.h>.
23292 (__WCHAR_MIN): Support __WORDSIZE == 64.
23293 (__WCHAR_MAX): Likewise.
23294
edf2933a
L
23295 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23297
57c6cf40
L
23298 [BZ #14183]
23299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23300 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23301
67b6df78 23302 [BZ #14117]
8eb6281e
L
23303 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23304 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23305
aac639f4
L
23306 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23307 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23308
67b6df78
L
23309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23310 Defined to 1 if __x86_64__ isn't defined.
23311 (_STAT_VER_LINUX_OLD): New.
23312 (st_atime): Remove duplicate.
23313 (st_mtime): Likewise.
23314 (st_ctime): Likewise.
23315
1c2cfe81
DM
233162012-05-31 David S. Miller <davem@davemloft.net>
23317
23318 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23319 entries.
23320
5be8418c
AS
233212012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23322
e7725326
AS
23323 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23324 gen-libm-test.pl.
23325
5be8418c
AS
23326 [BZ #14132]
23327 * elf/dl-reloc.c: Include <_itoa.h>.
23328 (_dl_reloc_bad_type): Remove use of INTUSE.
23329 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23330 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23331 * stdio-common/psiginfo.c (psiginfo): Likewise.
23332 * stdio-common/psignal.c (psignal): Likewise.
23333 * string/strsignal.c (strsignal): Likewise.
23334 * include/signal.h (_sys_siglist): Declare hidden proto.
23335 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23336 INTVARDEF with libc_hidden_data_def.
23337 * stdio-common/itoa-udigits.c: Likewise.
23338 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23339 (_itoa_lower_digits_internal): Remove declaration.
23340 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23341 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23342 (_sys_sigabbrev_internal): Remove aliases.
23343 (_sys_siglist): Define hidden alias.
23344
507352f1
MT
233452012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23346
23347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23348 bits/sysctl.h.
23349
42bbb1c3
L
233502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 [BZ #14117]
6bd784b6
L
23353 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23354 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23355
8bca20f0
L
23356 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23357 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23358 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23359 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23360 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23361 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23362
f9e890a9
L
23363 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23364 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23365 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23366
471101a1
L
23367 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23368 with __addr.
23369 (insw): Likewise.
23370 (insl): Likewise.
23371 (outsb): Likewise.
23372 (outsw): Likewise.
23373 (outsl): Likewise.
23374
6451c862
L
23375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23377 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23378
a254b8c9
L
23379 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23380 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23381 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23382 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23383 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23384 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23385
b8dfdd92
L
23386 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23387 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23388
578cd270
L
23389 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23390 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23391
de662f5f
L
23392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23393 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23395
25653439
L
23396 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23397 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23398 to ...
23399 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23400
6bad24a0
L
23401 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23402 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23403 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23404
42bbb1c3
L
23405 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23406 for x86-64.
23407 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23408
2d10d547
JM
234092012-05-31 Joseph Myers <joseph@codesourcery.com>
23410
23411 * math/math.h (M_El): Use two more decimal places.
23412 (M_LOG2El): Likewise.
23413 (M_LOG10El): Likewise.
23414 (M_LN2l): Likewise.
23415 (M_LN10l): Likewise.
23416 (M_PIl): Likewise.
23417 (M_PI_2l): Likewise.
23418 (M_PI_4l): Likewise.
23419 (M_1_PIl): Likewise.
23420 (M_2_PIl): Likewise.
23421 (M_2_SQRTPIl): Likewise.
23422 (M_SQRT2l): Likewise.
23423 (M_SQRT1_2l): Likewise.
23424
f230c29b
DM
234252012-05-31 David S. Miller <davem@davemloft.net>
23426
23427 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23428 values between float registers.
23429 * sysdeps/sparc/sparc64/memset.S: Likewise.
23430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23431
fed806c3
MF
234322012-05-31 Mike Frysinger <vapier@gentoo.org>
23433
23434 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23435 -D_FORTIFY_SOURCE=1.
23436 (CPPFLAGS-tst-longjmp_chk.c): Define.
23437 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23438 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23439 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23440 CFLAGS-tst-wchar-h.c.
23441
30917259
MP
234422012-05-31 Marek Polacek <polacek@redhat.com>
23443
23444 [BZ #14132]
23445 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23446 __endmntent_internal): Remove declaration.
23447 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23448 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23449 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23450
1c58d5dc
DM
234512012-05-30 David S. Miller <davem@davemloft.net>
23452
23453 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23454 (___Q_simulate_exceptions): Use real FP ops rather than writing
23455 into the %fsr.
23456 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23457 Likewise.
23458
7dc00e0d
L
234592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23460
23461 [BZ #14117]
0bd53985
L
23462 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23463 * sysdeps/x86/bits/xtitypes.h: This.
23464
3a257e66
L
23465 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23466 * sysdeps/x86/bits/wordsize.h: This.
23467
62f62904
L
23468 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23469 * sysdeps/x86/bits/huge_vall.h: This.
23470
404fe9d9
L
23471 * sysdeps/i386/bits/select.h: Removed.
23472 * sysdeps/x86_64/bits/select.h: Renamed to ...
23473 * sysdeps/x86/bits/select.h: This.
23474
d48d0446
L
23475 * sysdeps/i386/bits/setjmp.h: Removed.
23476 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23477 * sysdeps/x86/bits/setjmp.h: This.
23478
7dc00e0d
L
23479 * sysdeps/i386/bits/mathdef.h: Removed.
23480 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23481 * sysdeps/x86/bits/mathdef.h: This.
23482
03277f8f
AS
234832012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23484
23485 [BZ #14132]
23486 * include/sys/socket.h (__connect_internal)
23487 (__libc_sa_len_internal): Remove declaration.
23488 (__connect, __libc_sa_len): Declare hidden_proto.
23489 (SA_LEN): Remove use of INTUSE.
23490 * socket/connect.c: Add libc_hidden_def.
23491 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23492 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23493 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23494 alias.
23495 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23496 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23497 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23498 of adding _internal alias.
23499
13764867
L
235002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23501
23502 [BZ #14117]
6bd97696
L
23503 * sysdeps/i386/bits/link.h: Removed.
23504 * sysdeps/i386/bits/linkmap.h: Likewise.
23505 * sysdeps/x86_64/bits/link.h: Renamed to ...
23506 * sysdeps/x86/bits/link.h: This.
23507 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23508 * sysdeps/x86/bits/linkmap.h: This.
23509
f726f0bb
L
23510 * sysdeps/i386/bits/endian.h: Removed.
23511 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23512 * sysdeps/x86/bits/endian.h: This.
23513
13764867
L
23514 * sysdeps/i386/bits/byteswap.h: Removed.
23515 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23516 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23517 * sysdeps/x86/bits/byteswap.h: This.
23518 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23519 * sysdeps/x86/bits/byteswap-16.h: This.
23520 * sysdeps/i386/Implies: Add x86.
23521 * sysdeps/x86_64/Implies: Likewise.
23522
ae251b0b
DM
235232012-05-30 David S. Miller <davem@davemloft.net>
23524
23525 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23526 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23527 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23528 (FP_TRAPPING_EXCEPTIONS): Define.
23529 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23530 (FP_TRAPPING_EXCEPTIONS): Define.
23531 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23532 subnormals only when inexact has been signalled or underflow
23533 exceptions are enabled.
23534 (_FP_PACK_CANONICAL): Likewise.
23535
d5c90867
L
235362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23537
23538 [BZ #14183]
23539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23540 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23541
63f1549e
RH
235422012-05-30 Richard Henderson <rth@twiddle.net>
23543
8d8f2279
RH
23544 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23545 with #ifndef NOT_IN_libc.
23546
63f1549e
RH
23547 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23548 marked to avoid plt entry.
23549
0ab0291b
L
235502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23551
23552 [BZ #14112]
23553 * Makeconfig (default-abi): New macro.
23554 (abi-includes): Likewise.
23555 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23556 $(abi-$(default-abi)-lib-soname) for soname if defined.
23557 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23558 abi-variants.
23559 * Makefile (installed-stubs): Likewise.
23560 * include/stubs-biarch.h: Removed.
23561 * scripts/lib-names.awk: Only handle one library at a time.
23562 * scripts/soversions.awk: Remove WORDSIZE support.
23563 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23564 entries.
23565 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23566 Removed.
23567 (syscall-list-default-condition): Likewise.
23568 (syscall-list-default-condition): Likewise.
23569 (syscall-list-includes): Likewise.
23570 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23571 syscall-list-* with abi-*. Handle undefined abi-variants.
23572 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23573 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23574 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23575 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23576 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23577 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23578 Removed.
23579 (syscall-list-32-options): Likewise.
23580 (syscall-list-32-condition): Likewise.
23581 (syscall-list-64-options): Likewise.
23582 (syscall-list-64-condition): Likewise.
23583 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23584 macro.
23585 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23586 Renamed to ...
23587 (abi-*): This.
23588 (abi-64-ld-soname): New macro.
23589 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23590 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23591 Renamed to ...
23592 (abi-*): This.
23593 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23594 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23595
4da0431d
JM
235962012-05-30 Joseph Myers <joseph@codesourcery.com>
23597
3a85279c
JM
23598 * sysdeps/unix/sysv/linux/kernel-features.h
23599 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23600 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23601 include <kernel-features.h>.
23602 [!__NR_ftruncate64]: Remove conditional code.
23603 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23604 [__NR_ftruncate64]: Make code unconditional.
23605 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23606 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23607 include <kernel-features.h>.
23608 [!__NR_ftruncate64]: Remove conditional code.
23609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23610 [__NR_ftruncate64]: Make code unconditional.
23611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23613 include <kernel-features.h>.
23614 [!__NR_ftruncate64]: Remove conditional code.
23615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23616 [__NR_ftruncate64]: Make code unconditional.
23617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23619 include <kernel-features.h>.
23620 [!__NR_ftruncate64]: Remove conditional code.
23621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23622 [__NR_ftruncate64]: Make code unconditional.
23623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23624
4da0431d
JM
23625 * configure.in (libc_cv_fpie): Weaken to a compile test using
23626 LIBC_TRY_CC_OPTION.
23627 * configure: Regenerated.
23628
11ef492c
AK
236292012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23630
23631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23635 Refreshed.
23636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23642 Refreshed.
23643
d66ef399
DM
236442012-05-27 David S. Miller <davem@davemloft.net>
23645
23646 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23647 (___Q_zero): New.
23648 (__Q_simulate_exceptions): Return void. Change to simulate
23649 exceptions by writing into the %fsr.
23650 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23651 (__Qp_handle_exceptions): Likewise.
23652 (numbers): Delete.
23653 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23654 __Qp_handle_exceptions.
23655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23656 __Qp_handle_exceptions.
23657 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23658 as unused and give dummy FP_RND_NEAREST initializer.
23659 (FP_INHIBIT_RESULTS): Define.
23660 (___Q_simulate_exceptions): Update declaration.
23661 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23662 formatting.
23663 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23664 as unused and give dummy FP_RND_NEAREST initializer.
23665 (__Qp_handle_exceptions): Update declaration.
23666 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23667 formatting.
23668
04fb54b5
TS
236692012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23670
23671 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23672 the temporary FPU control word.
23673 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23674 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23675 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23676 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23678 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23679 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23680 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23681 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23682 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23683 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23684
3f99608f
KK
236852012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23686
23687 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23688 fields.
23689
65a4de4e
CLT
236902012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23691
23692 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23693 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23694 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23695 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23696 Likewise.
23697 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23698 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23699 Likewise.
23700
15749d40
UD
237012012-05-27 Ulrich Drepper <drepper@gmail.com>
23702
23703 * po/h.po: Update from translation team.
23704
25dbcb27
AS
237052012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23706
3d3f8e55
AS
23707 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23708
25dbcb27
AS
23709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23710 handling of denormals.
23711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23712 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23714 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23716 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23717 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23718 Likewise.
23719
7ad47a80 237202012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
23721
23722 [BZ #14152]
23723 * math/libm-test.inc (fma_test): Don't always expect underflow
23724 exception.
23725
9c6ea9fa
SP
237262012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23727
23728 [BZ #12416]
23729 * elf/tst-execstack.c: Include stackinfo.h.
23730 (do_test): Adjust test case to ensure that pthread_getattr_np
23731 behaviour remains the same after marking stack executable.
23732
a8239222
JM
237332012-05-25 Joseph Myers <joseph@codesourcery.com>
23734
23735 * sysdeps/unix/sysv/linux/kernel-features.h
23736 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23737 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23738 kernel-features.h.
23739 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23740 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23741 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23742 kernel-features.h.
23743 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23744 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23745
918b5606
L
237462012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23747
23748 * configure.in: Define the default includes to being none.
23749 * configure: Regenerated.
23750
3a097cc7
RM
237512012-05-25 Roland McGrath <roland@hack.frob.com>
23752
8422c9a5
RM
23753 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23754 * sysdeps/x86_64/setjmp.S: Likewise.
23755 * sysdeps/i386/bsd-setjmp.S: Likewise.
23756 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23757 * sysdeps/i386/setjmp.S: Likewise.
23758 * sysdeps/i386/__longjmp.S: Likewise.
23759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23760 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23761
3a097cc7
RM
23762 * include/stap-probe.h: New file.
23763 * configure.in: Handle --enable-systemtap.
23764 * configure: Regenerated.
23765 * config.h.in (USE_STAP_PROBE): New #undef.
23766 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23767 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23768 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23769
21708942
JM
237702012-05-25 Joseph Myers <joseph@codesourcery.com>
23771
23772 [BZ #13717]
23773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23774 to 2.4.0 where earlier.
23775 * sysdeps/unix/sysv/linux/configure: Regenerated.
23776 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23777 <kernel-features.h>.
23778 [__ASSUME_32BITUIDS]: Make code unconditional.
23779 [!__ASSUME_32BITUIDS]: Remove conditional code.
23780 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23781 <kernel-features.h>.
23782 [__ASSUME_32BITUIDS]: Make code unconditional.
23783 [!__ASSUME_32BITUIDS]: Remove conditional code.
23784 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23785 [__ASSUME_32BITUIDS]: Make code unconditional.
23786 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23787 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23788 <kernel-features.h>.
23789 [__ASSUME_32BITUIDS]: Make code unconditional.
23790 [!__ASSUME_32BITUIDS]: Remove conditional code.
23791 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23792 <kernel-features.h>.
23793 [__ASSUME_32BITUIDS]: Make code unconditional.
23794 [!__ASSUME_32BITUIDS]: Remove conditional code.
23795 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23796 <kernel-features.h>.
23797 [__ASSUME_32BITUIDS]: Make code unconditional.
23798 [!__ASSUME_32BITUIDS]: Remove conditional code.
23799 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23800 <kernel-features.h>.
23801 [__ASSUME_32BITUIDS]: Make code unconditional.
23802 [!__ASSUME_32BITUIDS]: Remove conditional code.
23803 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23804 <kernel-features.h>.
23805 [__ASSUME_32BITUIDS]: Make code unconditional.
23806 [!__ASSUME_32BITUIDS]: Remove conditional code.
23807 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23808 <kernel-features.h>.
23809 [__ASSUME_32BITUIDS]: Make code unconditional.
23810 [!__ASSUME_32BITUIDS]: Remove conditional code.
23811 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23812 <kernel-features.h>.
23813 [__ASSUME_32BITUIDS]: Make code unconditional.
23814 [!__ASSUME_32BITUIDS]: Remove conditional code.
23815 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23816 <kernel-features.h>.
23817 [__ASSUME_32BITUIDS]: Make code unconditional.
23818 [!__ASSUME_32BITUIDS]: Remove conditional code.
23819 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23820 <kernel-features.h>.
23821 [__ASSUME_32BITUIDS]: Make code unconditional.
23822 [!__ASSUME_32BITUIDS]: Remove conditional code.
23823 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23824 <kernel-features.h>.
23825 [__ASSUME_32BITUIDS]: Make code unconditional.
23826 [!__ASSUME_32BITUIDS]: Remove conditional code.
23827 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23828 <kernel-features.h>.
23829 [__NR_setresgid] (__setresgid): Do not declare.
23830 [__ASSUME_32BITUIDS]: Make code unconditional.
23831 [!__ASSUME_32BITUIDS]: Remove conditional code.
23832 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23833 <kernel-features.h>.
23834 [__NR_setresuid] (__setresuid): Do not declare.
23835 [__ASSUME_32BITUIDS]: Make code unconditional.
23836 [!__ASSUME_32BITUIDS]: Remove conditional code.
23837 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23838 <kernel-features.h>.
23839 [__ASSUME_32BITUIDS]: Make code unconditional.
23840 [!__ASSUME_32BITUIDS]: Remove conditional code.
23841 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23842 <kernel-features.h>.
23843 [__ASSUME_32BITUIDS]: Make code unconditional.
23844 [!__ASSUME_32BITUIDS]: Remove conditional code.
23845 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23846 <kernel-features.h>.
23847 [__ASSUME_32BITUIDS]: Make code unconditional.
23848 [!__ASSUME_32BITUIDS]: Remove conditional code.
23849 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23850 <kernel-features.h>.
23851 [__ASSUME_32BITUIDS]: Make code unconditional.
23852 [!__ASSUME_32BITUIDS]: Remove conditional code.
23853 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23854 <kernel-features.h>.
23855 [__ASSUME_32BITUIDS]: Make code unconditional.
23856 [!__ASSUME_32BITUIDS]: Remove conditional code.
23857 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23858 <kernel-features.h>.
23859 [__ASSUME_32BITUIDS]: Make code unconditional.
23860 [!__ASSUME_32BITUIDS]: Remove conditional code.
23861 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23862 <kernel-features.h>.
23863 [__ASSUME_32BITUIDS]: Make code unconditional.
23864 [!__ASSUME_32BITUIDS]: Remove conditional code.
23865 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23866 <kernel-features.h>.
23867 [__ASSUME_32BITUIDS]: Make code unconditional.
23868 [!__ASSUME_32BITUIDS]: Remove conditional code.
23869 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23870 <kernel-features.h>.
23871 [__ASSUME_32BITUIDS]: Make code unconditional.
23872 [!__ASSUME_32BITUIDS]: Remove conditional code.
23873 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23874 <kernel-features.h>.
23875 [__ASSUME_32BITUIDS]: Make code unconditional.
23876 [!__ASSUME_32BITUIDS]: Remove conditional code.
23877 * sysdeps/unix/sysv/linux/kernel-features.h
23878 (__ASSUME_SETRESUID_SYSCALL): Remove.
23879 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23880 (__ASSUME_32BITUIDS): Likewise.
23881 (__ASSUME_LDT_WORKS): Likewise.
23882 (__ASSUME_O_DIRECTORY): Likewise.
23883 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23884 architecture but not kernel version.
23885 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23886 (__ASSUME_MMAP2_SYSCALL): Likewise.
23887 (__ASSUME_STAT64_SYSCALL): Likewise.
23888 (__ASSUME_IPC64): Likewise.
23889 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23890 <kernel-features.h>.
23891 [__ASSUME_32BITUIDS]: Make code unconditional.
23892 [!__ASSUME_32BITUIDS]: Remove conditional code.
23893 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23894 <kernel-features.h>.
23895 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23896 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23897 132096]: Remove conditional code.
23898 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23899 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23900 <kernel-features.h>.
23901 [__ASSUME_32BITUIDS]: Make code unconditional.
23902 [!__ASSUME_32BITUIDS]: Remove conditional code.
23903 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23904 <kernel-features.h>.
23905 [__ASSUME_32BITUIDS]: Make code unconditional.
23906 [!__ASSUME_32BITUIDS]: Remove conditional code.
23907 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23908 <kernel-features.h>.
23909 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23910 unconditional.
23911 (__setresgid): Do not declare.
23912 [__ASSUME_32BITUIDS]: Make code unconditional.
23913 [!__ASSUME_32BITUIDS]: Remove conditional code.
23914 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23915 <kernel-features.h>.
23916 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23917 unconditional.
23918 (__setresuid): Do not declare.
23919 [__ASSUME_32BITUIDS]: Make code unconditional.
23920 [!__ASSUME_32BITUIDS]: Remove conditional code.
23921 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23922 <kernel-features.h>.
23923 [__ASSUME_32BITUIDS]: Make code unconditional.
23924 [!__ASSUME_32BITUIDS]: Remove conditional code.
23925 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23926 <kernel-features.h>.
23927 [__ASSUME_32BITUIDS]: Make code unconditional.
23928 [!__ASSUME_32BITUIDS]: Remove conditional code.
23929
a386f1cc
RH
239302012-05-25 Richard Henderson <rth@twiddle.net>
23931
23932 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23933 dl_hwcap to ifunc resolver.
23934 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23935 elf_ifunc_invoke.
23936 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23937 dl_hwcap to ifunc resolver.
23938 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23939
b6550497
JM
239402012-05-24 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #14153]
23943 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23944 for |x| <= 2**-26, not 2**-57.
23945 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23946 exception.
23947
b0bc23a1
JL
239482012-05-24 Jeff Law <law@redhat.com>
23949
23950 * stdio-common/Makefile (tests): Add bug25.
23951 * stdio-common/bug25.c: New test.
23952
347c92e9
L
239532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23954
23955 [BZ #13576]
23956 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23957 multiple of MALLOC_ALIGNMENT in size.
23958 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23959
6bcc8b3f
JM
239602012-05-24 Joseph Myers <joseph@codesourcery.com>
23961
23962 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23963 Require >= 256.
23964 (FILENAME_MAX): Use macro-int-constant.
23965 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23966 (_IOFBF): Use macro-int-constant.
23967 (_IOLBF): Likewise.
23968 (_IONBF): Likewise.
23969 (SEEK_CUR): Likewise.
23970 (SEEK_END): Likewise.
23971 (SEEK_SET): Likewise.
23972 (TMP_MAX): Likewise.
23973 (EOF): Use macro-int-constant. Require < 0.
23974 (NULL): Use macro-constant. Require == 0.
23975 (stdin): Require type to be FILE *.
23976 (stdout): Likewise.
23977 (stderr): Likewise.
23978 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23979 macro-int-constant.
23980 (EXIT_SUCCESS): Likewise.
23981 (NULL): Use macro-constant. Require == 0.
23982 (RAND_MAX): Use macro-int-constant.
23983 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23984 [C99-based standards] (strtof): Require function.
23985 [C99-based standards] (strtold): Likewise.
23986 [C99-based standards] (strtoll): Likewise.
23987 [C99-based standards] (strtoull): Likewise.
23988 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23989 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23990 [ISO || ISO99 || ISO11] (math.h): Likewise.
23991 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23992 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23994
d18ea0c5
AS
239952012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23996
23997 [BZ #14132]
56d25bb8
AS
23998 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23999 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24000 * intl/dgettext.c (DCGETTEXT): Likewise.
24001 * intl/gettext.c (DCGETTEXT): Likewise.
24002 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24003 * posix/regex_internal.h (gettext): Likewise.
24004 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24005 Remove declaration.
24006 * include/argz.h (__argz_count_internal)
24007 (__argz_stringify_internal): Remove declaration.
24008 (__argz_count, __argz_stringify): Declare hidden proto.
24009 * intl/dcgettext.c: Remove use of INTDEF.
24010 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24011 * string/argz-stringify.c: Likewise.
24012 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24013 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24014 Declare hidden proto.
d18ea0c5
AS
24015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24017 Declare hidden proto.
24018 * include/stdio.h (__asprintf_internal): Don't declare.
24019 (__asprintf): Don't define as macro. Declare hidden proto.
24020 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24021 (__fsetlocking): Declare hidden proto.
24022 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24023 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24024 hidden proto.
24025 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24026 (_IO_setlinebuf): Remove use of INTUSE.
24027 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24028 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24029 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24030 Remove declaration.
24031 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24032 (_IO_do_flush): Remove use of INTUSE.
24033 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24034 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24035 (_IO_adjust_column, _IO_least_wmarker)
24036 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24037 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24038 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24039 (_IO_default_doallocate, _IO_wdefault_doallocate)
24040 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24041 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24042 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24043 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24044 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24045 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24046 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24047 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24048 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24049 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24050 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24051 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24052 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24053 proto.
24054 (_IO_flush_all_internal, _IO_adjust_column_internal)
24055 (_IO_default_uflow_internal, _IO_default_finish_internal)
24056 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24057 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24058 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24059 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24060 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24061 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24062 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24063 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24064 (_IO_file_close_internal, _IO_file_close_it_internal)
24065 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24066 (_IO_file_init_internal, _IO_file_attach_internal)
24067 (_IO_file_fopen_internal, _IO_file_read_internal)
24068 (_IO_file_sync_internal, _IO_file_seek_internal)
24069 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24070 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24071 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24072 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24073 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24074 (_IO_list_all_internal, _IO_link_in_internal)
24075 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24076 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24077 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24078 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24079 (_IO_do_write_internal, _IO_padn_internal)
24080 (_IO_getline_info_internal, _IO_getline_internal)
24081 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24082 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24083 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24084 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24085 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24086 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24087 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24088 with libc_hidden_ver, remove use of INTUSE.
24089 * libio/genops.c: Likewise.
24090 * libio/freopen.c: Likewise.
24091 * libio/freopen64.c: Likewise.
24092 * libio/iofclose.c: Likewise.
24093 * libio/iofdopen.c: Likewise.
24094 * libio/iofflush.c: Likewise.
24095 * libio/iofflush_u.c: Likewise.
24096 * libio/iofgets.c: Likewise.
24097 * libio/iofgets_u.c: Likewise.
24098 * libio/iofopen.c: Likewise.
24099 * libio/iofopncook.c: Likewise.
24100 * libio/iofread.c: Likewise.
24101 * libio/iofread_u.c: Likewise.
24102 * libio/ioftell.c: Likewise.
24103 * libio/iofwrite.c: Likewise.
24104 * libio/iogetline.c: Likewise.
24105 * libio/iogets.c: Likewise.
24106 * libio/iogetwline.c: Likewise.
24107 * libio/iopadn.c: Likewise.
24108 * libio/iopopen.c: Likewise.
24109 * libio/ioseekoff.c: Likewise.
24110 * libio/ioseekpos.c: Likewise.
24111 * libio/iosetbuffer.c: Likewise.
24112 * libio/iosetvbuf.c: Likewise.
24113 * libio/ioungetc.c: Likewise.
24114 * libio/ioungetwc.c: Likewise.
24115 * libio/iovdprintf.c: Likewise.
24116 * libio/iovsprintf.c: Likewise.
24117 * libio/iovsscanf.c: Likewise.
24118 * libio/memstream.c: Likewise.
24119 * libio/obprintf.c: Likewise.
24120 * libio/oldfileops.c: Likewise.
24121 * libio/oldiofclose.c: Likewise.
24122 * libio/oldiofdopen.c: Likewise.
24123 * libio/oldiofopen.c: Likewise.
24124 * libio/oldiopopen.c: Likewise.
24125 * libio/oldstdfiles.c: Likewise.
24126 * libio/putc.c: Likewise.
24127 * libio/setbuf.c: Likewise.
24128 * libio/setlinebuf.c: Likewise.
24129 * libio/stdfiles.c: Likewise.
24130 * libio/strops.c: Likewise.
24131 * libio/vasprintf.c: Likewise.
24132 * libio/vscanf.c: Likewise.
24133 * libio/vsnprintf.c: Likewise.
24134 * libio/vswprintf.c: Likewise.
24135 * libio/wfiledoalloc.c: Likewise.
24136 * libio/wfileops.c: Likewise.
24137 * libio/wgenops.c: Likewise.
24138 * libio/wmemstream.c: Likewise.
24139 * libio/wstrops.c: Likewise.
24140 * libio/__fpurge.c: Likewise.
24141 * libio/__fsetlocking.c: Likewise.
24142 * assert/assert.c: Likewise.
24143 * debug/fgets_chk.c: Likewise.
24144 * debug/fgets_u_chk.c: Likewise.
24145 * debug/fread_chk.c: Likewise.
24146 * debug/fread_u_chk.c: Likewise.
24147 * debug/gets_chk.c: Likewise.
24148 * debug/obprintf_chk.c: Likewise.
24149 * debug/vasprintf_chk.c: Likewise.
24150 * debug/vdprintf_chk.c: Likewise.
24151 * debug/vsnprintf_chk.c: Likewise.
24152 * debug/vsprintf_chk.c: Likewise.
24153 * malloc/mtrace.c: Likewise.
24154 * misc/error.c: Likewise.
24155 * misc/syslog.c: Likewise.
24156 * stdio-common/asprintf.c: Likewise.
24157 * stdio-common/fxprintf.c: Likewise.
24158 * stdio-common/getw.c: Likewise.
24159 * stdio-common/isoc99_fscanf.c: Likewise.
24160 * stdio-common/isoc99_scanf.c: Likewise.
24161 * stdio-common/isoc99_vfscanf.c: Likewise.
24162 * stdio-common/isoc99_vscanf.c: Likewise.
24163 * stdio-common/isoc99_vsscanf.c: Likewise.
24164 * stdio-common/printf-prs.c: Likewise.
24165 * stdio-common/printf_fp.c: Likewise.
24166 * stdio-common/printf_fphex.c: Likewise.
24167 * stdio-common/printf_size.c: Likewise.
24168 * stdio-common/putw.c: Likewise.
24169 * stdio-common/scanf.c: Likewise.
24170 * stdio-common/sprintf.c: Likewise.
24171 * stdio-common/tmpfile.c: Likewise.
24172 * stdio-common/vfprintf.c: Likewise.
24173 * stdio-common/vfscanf.c: Likewise.
24174 * stdlib/strfmon_l.c: Likewise.
24175 * sunrpc/openchild.c: Likewise.
24176 * sunrpc/xdr_stdio.c: Likewise.
24177 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24178 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24179
d6c33fda
RM
241802012-05-24 Roland McGrath <roland@hack.frob.com>
24181
c1487492
RM
24182 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24183
24184 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24185 in the third column, to generate for the shared library an IFUNC
24186 that uses _dl_vdso_vsym.
24187 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24188 * Makeconfig (object-suffixes-noshared): New variable.
24189
24190 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24191 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24192 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24193 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24194
d6c33fda
RM
24195 [BZ #14132]
24196 * include/sys/time.h (__gettimeofday): Remove macro.
24197 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24198 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24199 Remove INTDEF.
24200 (__gettimeofday): Add libc_hidden_def.
24201 (gettimeofday): Add libc_hidden_weak.
24202 * sysdeps/mach/gettimeofday.c: Likewise.
24203 * sysdeps/posix/gettimeofday.c: Likewise.
24204 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24205 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24206 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24207 (__gettimeofday_internal): Remove strong_alias.
24208 (__gettimeofday): Add libc_hidden_def.
24209 (gettimeofday): Add libc_hidden_weak.
24210 * sysdeps/unix/syscalls.list (gettimeofday):
24211 Remove __gettimeofday_internal alias.
24212
b5a2bbe6
L
242132012-05-24 Daniel Jacobowitz <drow@false.org>
24214 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 [BZ #12495]
24217 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24218 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24219 (largebin_index_32_big): New.
24220 (largebin_index): Use it for 16-byte alignment.
24221 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24222 correction with front_misalign.
24223
cfba4fda
L
242242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24225
7f907421
L
24226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24228 Likewise.
24229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24230 Likewise.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24232 Likewise.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24234 Likewise.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24236 Likewise.
24237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24238 Likewise.
24239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24240 Likewise.
24241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24242 Likewise.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24244 Likewise.
24245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24246 Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24248 Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24250 Likewise.
24251
cfba4fda
L
24252 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24253 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24254
80bad0cc
JM
242552012-05-24 Joseph Myers <joseph@codesourcery.com>
24256
7a25eb06
JM
24257 [BZ #10846]
24258 [BZ #14036]
24259 * math/libm-test.inc (exp_test): Add test from bug 14036.
24260 (pow_test): Add test from bug 10846.
24261
795405f9
JM
24262 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24263 and other flags.
24264 (special_function): Do not include flags in test name.
24265 (parse_args): Likewise.
24266 * sysdeps/i386/fpu/libm-test-ulps: Update.
24267 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24268 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24269 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24271
80bad0cc
JM
24272 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24273 exceptions.
24274 * math/libm-test.inc ("Philosophy"): Update comment about
24275 exception testing.
24276 (UNDERFLOW_EXCEPTION): New macro.
24277 (UNDERFLOW_EXCEPTION_OK): Likewise.
24278 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24279 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24280 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24281 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24282 (INVALID_EXCEPTION_OK): Update value.
24283 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24284 (OVERFLOW_EXCEPTION_OK): Likewise.
24285 (IGNORE_ZERO_INF_SIGN): Likewise.
24286 (test_exceptions): Handle underflow exceptions.
24287 (acos_test): Update for underflow exception expectations.
24288 (cexp_test): Likewise.
24289 (clog_test): Likewise.
24290 (clog10_test): Likewise.
24291 (csqrt_test): Likewise.
24292 (ctan_test): Likewise.
24293 (ctanh_test): Likewise.
24294 (exp_test): Likewise.
24295 (exp10_test): Likewise.
24296 (exp2_test): Likewise.
24297 (expm1_test): Likewise.
24298 (fma_test): Likewise.
24299 (j0_test): Likewise.
24300 (jn_test): Likewise.
24301 (nexttoward_test): Likewise.
24302 (pow_test): Likewise.
24303 (scalbn_test): Likewise.
24304 (scalbln_test): Likewise.
24305 (tan_test): Likewise.
24306 (y1_test): Likewise.
24307 * sysdeps/i386/fpu/libm-test-ulps: Update.
24308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24309
9e0e3d0b
DM
243102012-05-23 David S. Miller <davem@davemloft.net>
24311
24312 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24313 (__libc_sigaction): Remove unused local variables.
24314
ccd0a08f
L
243152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24316
24317 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24318
62bdf9a6
PE
243192012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24320
f8591f80
PE
24321 mktime: avoid signed integer overflow
24322 * time/mktime.c (__mktime_internal): Do not mishandle the case
24323 where diff == INT_MIN.
24324
94c7d826
PE
24325 mktime: simplify computation of average
24326 * time/mktime.c (ranged_convert): Use new time_t_avg function
24327 instead of rolling our own (probably-slower) code.
24328
ce73d683
PE
24329 mktime: do not assume signed right shift propagates sign bit
24330 * time/mktime.c (isdst_differ): New static function.
24331 (__mktime_internal): No need to normalize tm_isdst now.
24332 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24333 tm_isdst values.
24334
72a22e59
PE
24335 mktime: merge another wrapv change from gnulib
24336 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24337 from some compilers.
24338
68605433
PE
24339 mktime: remove incorrect attempt at unusual arithmetics
24340 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24341 The code didn't really work on such machines anyway.
24342 (TYPE_MINIMUM): Assume two's complement.
24343 (twos_complement_arithmetic): Verify that long_int and time_t
24344 are two's complement (or unsigned, in the latter case).
24345
03cf7fe3
PE
24346 mktime: check signed shifts on long_int and time_t, too
24347 * time/mktime.c (SHR): Check that shifts work as desired
24348 on the types long_int and time_t too, as SHR is used on
24349 such types.
24350
f04dfbc2
PE
24351 mktime: do not assume 'long' is wide enough
24352 * time/mktime.c (verify): Move decl up.
24353 (long_int): New type.
24354 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24355 to remove assumption in the code that 'long' is wide enough to
24356 store year values. This assumption is not true on x32 and on
24357 some non-glibc platforms.
24358
62bdf9a6
PE
24359 mktime: merge wrapv change from gnulib
24360 * time/mktime.c (WRAPV): New macro.
24361 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24362 (guess_time_tm, __mktime_internal): Do not assume that signed
24363 integer overflow wraps around; modern compilers generate code
24364 where this assumption is no longer valid.
24365
5e292e4f
L
243662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24369 Replace "jmp L(pseudo_end)" with "ret".
24370 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24371 Likewise.
24372
8caf8c87
AJ
243732012-05-23 Andreas Jaeger <aj@suse.de>
24374
24375 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24376 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24377
1a09dc56
AJ
243782012-05-23 Andreas Jaeger <aj@suse.de>
24379 Maximilian Attems <max@stro.at>
24380
24381 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24382 New macros.
24383
1c87aba0
L
243842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24385
24386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24387 code so that pseudo_end is just ret and the stack pointer is
24388 correct also for static library in error case.
24389
40e45bd5
JM
243902012-05-23 Joseph Myers <joseph@codesourcery.com>
24391
c2670533
JM
24392 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24393 move to syscalls.list.
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24398
40e45bd5
JM
24399 * manual/install.texi (Running make install): Do not mention Linux
24400 kernel version for which pt_chown is not needed.
24401 (Linux): Do not mention problems with nscd with 2.0 kernels.
24402 * INSTALL: Regenerated.
24403
be08eda5
AJ
244042012-05-23 Andreas Jaeger <aj@suse.de>
24405
24406 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24407 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24408 macro.
24409 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24410 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24411 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24413 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24415 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24417 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24419 * sysdeps/unix/sysv/linux/bits/in.h
24420 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24421
a6a056bb
RM
244222012-05-22 Roland McGrath <roland@hack.frob.com>
24423
24424 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24425 (PREPARE_VERSION): Just use assert instead, it will be elided
24426 under [NDEBUG] anyway.
24427
c9009328
L
244282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24429
24430 * sysdeps/unix/sysv/linux/Makefile: Include
24431 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24432 (sysdep_routines): Remove sysctl.
c9009328
L
24433 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24434 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24435 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24436 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24437 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24438
73338355
AJ
244392012-05-22 Andreas Jaeger <aj@suse.de>
24440
24441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24442 that pseudo_end is just ret and the stack pointer is correct also
24443 for static library in error case.
24444
d44638b0
PP
244452012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24446
24447 [BZ #14122]
24448 * nss/nsswitch.c (defconfig_entries): New variable.
24449 (__nss_database_lookup): Don't leak defconfig entries.
24450 (nss_parse_service_list): Don't leak on error paths.
24451 (free_database_entries): New function.
24452 (free_defconfig): New function.
24453 (free_mem): Move common code to free_database_entries.
24454
31a39bd8
L
244552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24456
da0331a8
L
24457 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24458 Add arch_prctl.
24459 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24460
31a39bd8
L
24461 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24462 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24464 New macro.
24465 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24466 (INTERNAL_SYSCALL_TYPES): Likewise.
24467 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24468 (LOAD_REGS_TYPES_[1-6]): Likewise.
24469 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24470 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24471
45470df3
AZ
244722012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24473
24474 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24475 copysignl for GLIBC_2_0.
24476 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24477 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24479 logbl for GLIBC_2_0.
24480 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24481 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24482
98a61bcb
L
244832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24484
a4f6e481
L
24485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24486 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24487
f63d5db6
L
24488 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24489 Use "neg %eax".
24490
98a61bcb
L
24491 * time/mktime.c: Update copyright years.
24492
95770f14
PE
244932012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24494
6226efbd
PE
24495 mktime: merge comment-quoting-style change from gnulib
24496 * time/mktime.c: Quote 'like this' in comments.
24497 The GNU coding standards suggest that we no longer quote `like this',
24498 as "`" and "'" are typically rendered asymmetrically nowadays.
24499 The typical gnulib style is to quote 'like this' when quoting
24500 code, and "like this" when quoting English.
24501
b99e4f78
PE
24502 * time/mktime.c (compile-command): Add "-I.".
24503
643e01e6
PE
24504 mktime: merge mktime-internal.h change from gnulib
24505 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24506
2554247d
PE
24507 mktime: merge time_r change from gnulib
24508 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24509
826dd0ab
PE
24510 mktime: merge DEBUG change from gnulib
24511 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24512 case system <time.h> has a #define.
24513
bd83aabe
PE
24514 mktime: merge <sys/types.h> change from gnulib
24515 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24516 since <time.t> is now guaranteed to define time_t.
24517
95770f14
PE
24518 mktime: merge HAVE_CONFIG_H change from gnulib
24519 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24520
5e1a27a9
L
245212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24522
0e44a77e
L
24523 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24524 Use "neg %eax".
24525
5e1a27a9
L
24526 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24527 __rlim_t cast.
24528 (struct rusage): Use anonymous union to pad each field to
24529 __syscall_slong_t.
24530
46259bec
DM
245312012-05-21 David S. Miller <davem@davemloft.net>
24532
24533 * Makefules (o-iterator): Remove .s cases.
24534 (compile-command.s): Delete.
24535 (COMPILE.s): Delete.
24536 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24537
59f0c22e
JM
245382012-05-21 Joseph Myers <joseph@codesourcery.com>
24539
24540 * configure.in (libc_cv_predef_stack_protector): Only consider
24541 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24542 * configure: Regenerated.
24543
20c07380
L
245442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24545
bbb3154b
L
24546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24547 New macro. Use R*LP on int and pointer.
24548 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
24549 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24550 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
24551 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24552
20c07380
L
24553 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24554 [__WORDSIZE_TIME64_COMPAT32] instead of
24555 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24556 (struct utmp): Likewise.
24557 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24558 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24559 Renamed to ...
24560 (__WORDSIZE_TIME64_COMPAT32): This.
24561 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24562 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24563 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24564 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24565 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24566 (__WORDSIZE_TIME64_COMPAT32): New macro.
24567
d8d1017e
AJ
245682012-05-21 Andreas Jaeger <aj@suse.de>
24569
24570 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24571 only if [SHARED]. Add prototype for __wcschr_ia32.
24572
6c7fb145
RM
245732012-05-21 Roland McGrath <roland@hack.frob.com>
24574
24575 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24576 of %rbp unmolested in the jmp_buf while mangling the low bits.
24577 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24578 unmolested high bits of %rbp while demangling the low bits.
24579 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24580
66274218
AJ
245812012-05-21 Andreas Jaeger <aj@suse.de>
24582
07c58f8f
AJ
24583 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24584 * sunrpc/svc_simple.c: Use it for registerrpc.
24585 * sunrpc/xcrypt.c: Use it for passwd2des.
24586
66274218
AJ
24587 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24588
61f65140
L
245892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24590
24591 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24592 Don't define if [__SYSCALL_WORDSIZE != 32].
24593 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24594 New macro.
24595
5fefb436
AJ
245962012-05-21 Bruno Haible <bruno@clisp.org>
24597 Andreas Jaeger <aj@suse.de>
24598
24599 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24600 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24601 inptr and inend for must_buffer_ch.
24602 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24603 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24604 * stdio-common/Makefile (tests): Remove bug15.
24605 (bug15-ENV): Remove macro.
24606 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24607 anymore.
24608
d8e272ab
AJ
246092012-05-19 Andreas Jaeger <aj@suse.de>
24610 Roland McGrath <roland@hack.frob.com>
24611
24612 * manual/contrib.texi: Completely rewritten. It contains now an
24613 alphabetical list of contributors and their contributions.
24614
4a56a162
RH
246152012-05-21 Richard Henderson <rth@twiddle.net>
24616
24617 * misc/getauxval.c (__getauxval): Use unsigned long int.
24618 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24619 (getauxval): Use unsigned long int.
24620
d024d23c
L
246212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24622
24623 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24624
cbc00a03
RM
246252012-05-21 Roland McGrath <roland@hack.frob.com>
24626
24627 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24628 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24629 __alignof__ (long double).
24630
478143fa
AZ
246312012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24632
24633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24634
c7683a6d
RH
246352012-05-20 Richard Henderson <rth@twiddle.net>
24636
24637 * misc/getauxval.c: New file.
24638 * misc/sys/auxv.h: New file.
24639 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24640 (routines): Add getauxval.
24641 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24643 * elf/dl-sysdep.c (_dl_auxv): Remove.
24644 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24645 * elf/dl-support.c (_dl_auxv): New variable.
24646 (_dl_aux_init): Initialize it.
24647 * manual/startup.texi (Auxiliary Vector): New node.
24648 * sysdeps/generic/bits/hwcap.h: New file.
24649 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24650 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24651 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24652 * sysdeps/sparc/sysdep.h: ... here. Include it.
24653 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24654 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
24655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24656 Update.
c7683a6d
RH
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24665
a6f1845d
AZ
246662012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24667
24668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24669
cbcbe830
DM
246702012-05-19 David S. Miller <davem@davemloft.net>
24671
24672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24673
e0b16cc2
JM
246742012-05-19 Joseph Myers <joseph@codesourcery.com>
24675
24676 [BZ #14123]
24677 * math/s_ccosh.c: Include <float.h>
24678 (__ccosh): Avoid internal overflow calculating sinh and cosh
24679 values before multiplying by sin and cos values.
24680 * math/s_ccoshf.c: Likewise.
24681 * math/s_ccoshl.c: Likewise.
24682 * math/s_csin.c: Likewise.
24683 * math/s_csinf.c: Likewise.
24684 * math/s_csinl.c: Likewise.
24685 * math/s_csinh.c: Likewise.
24686 * math/s_csinhf.c: Likewise.
24687 * math/s_csinhl.c: Likewise.
24688 * math/libm-test.inc (ccos_test): Add more tests.
24689 (ccosh_test): Likewise.
24690 (csin_test): Likewise.
24691 (csinh_test): Likewise.
24692 * sysdeps/i386/fpu/libm-test-ulps: Update.
24693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24694
6ad13e08
L
246952012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24696
f66f0ce8
L
24697 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24698 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24699
6ad13e08
L
24700 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24701
b1d072a7
JM
247022012-05-19 Joseph Myers <joseph@codesourcery.com>
24703
24704 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24705 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24706 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24707 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24708 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24709 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24710 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24711 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24712 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24713 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24714 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24715 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24716 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24717 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24718 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24719 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24720 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24721 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24722 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24723 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24724 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24725 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24726 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24727 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24728 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24729 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24730 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24731 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24732 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24733 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24734 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24735
9eae47cb
AJ
247362012-05-18 Andreas Jaeger <aj@suse.de>
24737
24738 * csu/.gitignore: Delete.
24739
bb07f69f
L
247402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24741
24742 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24743 (timex): Use __syscall_slong_t.
24744
e6bdb741
AJ
247452012-05-18 Andreas Jaeger <aj@suse.de>
24746 Carlos O'Donell <carlos_odonell@mentor.com>
24747
24748 * manual/install.texi (Configuring and compiling): Update
24749 description about files modified in the source directory.
d6c33fda 24750 * INSTALL: Regenerated.
e6bdb741 24751
1b74487e
L
247522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24753
24754 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24755 value. Use "or" to set return value to -1.
24756 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24757 negate return value.
24758
a88b64b9
TMQMF
247592012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24760
24761 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24762 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24763 failure if the compiler has Graphite support disabled.
24764 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24765 Likewise.
24766 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24767 CFLAGS-memmove.c): Likewise.
24768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24769 Likewise.
24770
3707636e
L
247712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24772
610b8622
L
24773 * sysdeps/x86_64/x32/_itoa.h: New file.
24774
7cd195df
L
24775 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24776 getdents system call only if kernel and user dirents have the
24777 same d_ino and d_off.
24778
94b07d20
L
24779 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24780 LLONG_MAX != LONG_MAX.
24781 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24782 (_fitoa_word): Likewise.
24783
18298070
L
24784 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24785 years.
24786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24787 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24788 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24789
553c7ea4
L
24790 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24791 include <bits/wordsize.h>. Check __x86_64__ instead of
24792 __WORDSIZE.
24793 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24794 if __x86_64__ is defined. Use anonymous union on fpstate.
24795
3707636e
L
24796 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24797 anonymous union.
24798
b53ef01a
AS
247992012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24800
37fb1dc0
AS
24801 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24802 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24803 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24804 Refer to _rtld_local_ro instead of _rtld_global_ro.
24805 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24806 Likewise.
24807 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24808 Likewise.
24809 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24810 Likewise.
24811 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24812 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24813 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24814
b53ef01a
AS
24815 * sysdeps/powerpc/powerpc32/dl-machine.c
24816 (__elf_machine_runtime_setup) [PROF]: Don't reference
24817 _dl_prof_resolve.
24818
7a185db2
AJ
248192012-05-18 Andreas Jaeger <aj@suse.de>
24820
24821 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24822 function only available for GCCs before 3.4 since GCC 3.4
24823 introduced a builtin.
24824 (lrint): Likewise.
24825 (llrintf): Likewise.
24826 (llrint): Likewise.
24827 (fmaxf): Likewise.
24828 (fmax): Likewise.
24829 (fminf): Likewise.
24830 (fmin): Likewise.
24831 (rint): Likewise.
24832 (rintf): Likewise.
24833 (nearbyint): Likewise.
24834 (nearbyintf): Likewise.
24835 (ceil): Likewise.
24836 (ceilf): Likewise.
24837 (floor): Likewise.
24838 (floorf): Likewise.
24839
3e5aef87
L
248402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24841
428bd707
L
24842 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24843 on both fields and cast pointer to __syscall_ulong_t.
24844
3e5aef87
L
24845 * bits/types.h (__fsword_t): New type.
24846 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24847 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24848 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24849 (__FSWORD_T_TYPE): Likewise.
24850 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24851 (__FSWORD_T_TYPE): Likewise.
24852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24853 (__FSWORD_T_TYPE): Likewise.
24854 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24855 (__FSWORD_T_TYPE): Likewise.
24856 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24857 __SWORD_TYPE with __fsword_t.
24858 (statfs64): Likewise.
24859
1ba7c3dc
DM
248602012-05-17 David S. Miller <davem@davemloft.net>
24861
24862 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24863
59910343
AJ
248642012-05-17 Andreas Jaeger <aj@suse.de>
24865
24866 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24867 warning.
24868
2e4c1e9e
L
248692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24870
24871 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24872
de7f5ce7
AJ
248732012-05-17 Andreas Jaeger <aj@suse.de>
24874
24875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24876 when it is used.
24877
286abc3d
CM
248782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24879
24880 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24881
477cc68e
L
248822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24883
24884 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24885 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24886
1a0994f5
CD
248872012-05-17 Andreas Jaeger <aj@suse.de>
24888 Carlos O'Donell <carlos_odonell@mentor.com>
24889
24890 [BZ #14059]
24891 * sysdeps/x86_64/multiarch/init-arch.h
24892 (bit_YMM_Usable): Rename to...
24893 (bit_AVX_Usable): ... this.
24894 (bit_FMA4_Usable): New macro.
24895 (bit_XMM_state): New macro.
24896 (bit_YMM_state): New macro.
24897 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24898 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24899 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24900 (CPUID_OSXSAVE): New macro.
24901 (CPUID_AVX): New macro.
24902 (CPUID_FMA4): New macro.
24903 (index_YMM_Usable): Rename to...
24904 (index_AVX_Usable): ... this.
24905 (HAS_AVX): Use HAS_ARCH_FEATURE.
24906 (HAS_FMA4): Likewise.
24907 (HAS_YMM_USABLE): Remove.
24908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24909 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24910 are present.
24911 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24912 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24913 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24914 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24915 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24916
0af797de
CM
249172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24918
24919 * math/libm-test.c: Support platforms without multiple rounding modes.
24920 * math/bug-nextafter.c: Support platforms without FP exceptions.
24921 * math/bug-nexttoward.c: Likewise.
24922 * math/test-fenv.c: Likewise.
24923 * math/test-misc.c: Likewise.
24924 * stdlib/bug-getcontext.c: Likewise.
24925
e39745ff
AJ
249262012-05-17 Andreas Jaeger <aj@suse.de>
24927
24928 * manual/examples/search.c (critter_cmp): Change signature to
24929 avoid warnings.
24930 * manual/string.texi (Collation Functions): Likewise.
24931
48970aba
L
249322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24933
24934 * bits/types.h: Fold copyright years.
24935 * bits/typesizes.h: Likewise.
24936 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24937 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24938 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24939 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24940 * time/time.h: Likewise.
24941
bedee953
PP
249422012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24943
24944 [BZ #208]
24945 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24946 in instead of returning them. Return void.
24947 (__libc_mallinfo): Accumulate over all arenas.
24948 (__malloc_stats): Adjust for change in int_mallinfo interface.
24949
61653dfb
RM
249502012-05-16 Roland McGrath <roland@hack.frob.com>
24951
30b99d79
RM
24952 [BZ #10375]
24953 * configure.in (NM): Add AC_CHECK_TOOL for it.
24954 (libc_extra_cflags): New substituted variable.
24955 Check for -fstack-protector being used implicitly.
24956 * configure: Regenerated.
24957 * config.make.in (config-extra-cflags): New variable,
24958 gets @libc_extra_cflags@.
24959 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24960
61653dfb
RM
24961 [BZ #10375]
24962 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24963 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24964 * configure: Regenerated.
24965 * config.make.in (CPPUNDEFS): New substituted variable.
24966 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24967 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24968 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24969
661768bb
L
249702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24971
24972 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24973 (mq_attr): Use __syscall_slong_t.
24974
d4261567
L
249752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24976
24977 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24978 Check __x86_64__ instead of __WORDSIZE.
24979 (_STAT_VER_LINUX): Likewise.
24980 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24981 __syscall_ulong_t and __syscall_slong_t.
24982 (stat64): Likewise.
24983
cf3ff365
L
249842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24985
24986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24987
76cf3e4d
L
249882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24991
a637753a
L
249922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24995 __syscall_ulong_t.
24996
d5e05119
L
24997 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24998 include <bits/wordsize.h>. Check __x86_64__ instead of
24999 __WORDSIZE.
25000 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25001 defined.
25002 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25003
f62ee380
L
25004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25005 include <bits/wordsize.h>. Check __x86_64__ instead of
25006 __WORDSIZE.
25007 (user_regs_struct): Use "__extension__ unsigned long long"
25008 instead of "unsigned long" if __x86_64__ is defined.
25009 (user): Likewise. Pad after pointer field if __ILP32__ is
25010 defined.
25011
4e124ced
JM
250122012-05-16 Joseph Myers <joseph@codesourcery.com>
25013
6a3951a0
JM
25014 * configure.in (makeinfo): Require version 4.5 or later. Allow
25015 versions 5 to 9.
25016 * configure: Regenerated.
25017 * manual/install.texi (texinfo): Increase version requirement to
25018 4.5 or later.
25019 * INSTALL: Regenerated.
25020
4e124ced
JM
25021 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25022
953ca31a
L
250232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25024
25025 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25026
617aca05
L
25027 * sysdeps/x86_64/x32/ffs.c: New file.
25028
5762f7ae
L
25029 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25030 __syscall_ulong_t.
25031 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25032 defined. Use __syscall_ulong_t.
25033 (shminfo): Use __syscall_ulong_t.
25034 (shm_info): Likewise.
25035
a26b6856
L
25036 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25037 __syscall_ulong_t.
25038
cb2b9ef7
L
25039 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25040 <bits/wordsize.h>.
25041 (msgqnum_t): Use __syscall_ulong_t.
25042 (msglen_t): Likewise.
25043 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25044 __syscall_ulong_t.
25045
34683bb0
L
25046 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25047 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25048
84a68786
L
25049 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25050
48baa5f1
L
25051 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25052 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25053
180be88b
L
25054 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25055 __syscall_slong_t.
25056
5e90c8ad
L
25057 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25058 include <bits/wordsize.h>. Check __x86_64__ instead of
25059 __WORDSIZE.
25060
23dfb58b
L
25061 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25062 "unsigned long long int" if __x86_64__ is defined.
25063 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25064
ce5d54b0
L
25065 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25066 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25067 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25068
13dc9eac
L
25069 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25070 <stdint.h>.
25071 (GET_PC): Cast to uintptr_t first.
25072 (GET_FRAME): Likewise.
25073 (GET_STACK): Likewise.
25074
a7895d15
L
25075 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25077 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25078 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25079 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25080 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25081 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25082 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25083 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25086 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25087 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25088 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25089 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25090 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25091 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25092 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25093 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25094 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25095 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25096 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25097 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25098 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25099 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25100 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25101 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25104
656416c9
AS
251052012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25106
5bd66283
AS
25107 * Makerules (+depfiles): Also collect depfiles from .oS in
25108 $(extra-objs).
25109 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25110 .oS, $(libnldbl-routines)).
25111
656416c9
AS
25112 * Makerules (native-compile-mkdep-flags): Define.
25113 * sunrpc/Makefile (extra-objs): Add $(addprefix
25114 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25115 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25116 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25117 calling $(make-target-directory).
25118
a46f2169
L
251192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25120
25121 * bits/types.h (__snseconds_t): Removed.
25122 * time/time.h (struct timespec): Replace __snseconds_t with
25123 __syscall_slong_t.
25124 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25125 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25126 Likewise.
25127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25128 (__SNSECONDS_T_TYPE): Likewise.
25129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25130 (__SNSECONDS_T_TYPE): Likewise.
25131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25132 (__SNSECONDS_T_TYPE): Likewise.
25133
6af6528b
L
251342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25135
25136 * sysdeps/mach/hurd/bits/typesizes.h
25137 (__SYSCALL_SLONG_TYPE): New macro.
25138 (__SYSCALL_ULONG_TYPE): Likewise.
25139
de986b56
L
251402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25141
25142 * bits/types.h (__syscall_slong_t): New type.
25143 (__syscall_ulong_t): Likewise.
25144
25145 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25146 (__SYSCALL_ULONG_TYPE): Likewise.
25147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25148 (__SYSCALL_SLONG_TYPE): Likewise.
25149 (__SYSCALL_ULONG_TYPE): Likewise.
25150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25151 (__SYSCALL_SLONG_TYPE): Likewise.
25152 (__SYSCALL_ULONG_TYPE): Likewise.
25153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25154 (__SYSCALL_SLONG_TYPE): Likewise.
25155 (__SYSCALL_ULONG_TYPE): Likewise.
25156
85736dc7
L
251572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25158
25159 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25160 Add sigaltstack-offsets.sym.
25161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25162 <sigaltstack-offsets.h>.
25163 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25164 longjmp_msg pointer.
25165 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25166 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25167 signal stack.
25168 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25169
cc03b296
JM
251702012-05-15 Joseph Myers <joseph@codesourcery.com>
25171
a9538892
JM
25172 * elf/stackguard-macros.h: Remove file.
25173 * sysdeps/generic/stackguard-macros.h: New file.
25174 * sysdeps/i386/stackguard-macros.h: Likewise.
25175 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25176 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25177 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25178 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25179 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25180 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25181 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25182 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25183 <elf/stackguard-macros.h>.
25184
cc03b296
JM
25185 [BZ #14109]
25186 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25187 __aligned__ in attribute.
25188 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25189 (gregset_t): Likewise.
25190
93171016
L
251912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25192
25193 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25194 * sysdeps/x86_64/64/Implies-after: Here. New file.
25195 * sysdeps/x86_64/x32/Implies-after: New file.
25196
d86813a0
L
251972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25198
25199 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25200 and access return value for _dl_profile_fixup. Use R10_LP to
25201 load frame size.
25202
2953ec75
L
252032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25204
25205 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25206
3b550e9e
L
252072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25208
25209 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25210 * sysdeps/x86_64/x32/sysdep.h: New file.
25211
eda41706
L
252122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25213
25214 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25215 * sysdeps/x86_64/setjmp.S: Likewise.
25216
9ea01d93
AZ
252172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25218
25219 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25220 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25221 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25223 remove unused global constant.
25224
02a91938
CM
252252012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25226
25227 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25228 include of <not-cancel.h>.
25229
6540185f
RM
252302012-05-15 Roland McGrath <roland@hack.frob.com>
25231
25232 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25233
509072a0
AJ
252342012-05-15 Jeff Law <law@redhat.com>
25235 Andreas Jaeger <aj@suse.de>
25236
25237 [BZ #13594]
25238 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25239 out from...
25240 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25241 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25242 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25243 code changing __hst_map_handle.map.
25244
ba75122d
RM
252452012-05-15 Roland McGrath <roland@hack.frob.com>
25246
25247 * configure.in (sysnames): Look for Implies-before and Implies-after
25248 files.
25249 * configure: Regenerated.
25250
890d8bd8
L
252512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25252
25253 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25254 8-byte data alignment with LP_SIZE alignment.
25255
f6ee6623
L
252562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25257
25258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25259 into R10_LP.
25260
ea2626f6
L
252612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25262
25263 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25264
085f715e
L
252652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25266
25267 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25268 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25269 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25270 Likewise.
25271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25272
be8498fc
L
252732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25274
25275 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25276 (stackinfo_sub_sp): Likewise.
25277
70bc83b9
L
252782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25279
25280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25281 RAX_LP.
25282
9bc0b730
L
252832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25284
25285 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25286 into R*_LP.
25287
6d2850e7
L
252882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25289
25290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25291 sizes into R*_LP.
25292
3cb84561
L
252932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25294
25295 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25296
54e2ed81
L
252972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25298
25299 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25300 into R11_LP and load __x86_64_shared_cache_size_half into
25301 R8_LP.
25302
8a17f349
L
253032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25304
25305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25306 R8_LP.
25307
777b1eea
AZ
253082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25309
25310 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25311 logb for POWER7.
25312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25313 logbf for POWER7.
25314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25315 logbl for POWER7.
25316 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25317 powerpc32/power7/fpu/s_logb.c via #include.
25318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25319 powerpc32/power7/fpu/s_logbf.c via #include.
25320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25321 powerpc32/power7/fpu/s_logbl.c via #include.
25322
d20d4ac2
JM
253232012-05-15 Joseph Myers <joseph@codesourcery.com>
25324
25325 * README.libm: Remove file.
25326
6cdef1ab
L
253272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25328
25329 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25330 count for x32. Use R*_LP and omit operand-size suffix.
25331
0b254d8f
L
253322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25333
25334 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25335 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25336 * sysdeps/x86_64/x32/shlib-versions: New file.
25337
ceb809dc
RM
253382012-05-14 Roland McGrath <roland@hack.frob.com>
25339
25340 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25341 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25342 Use _dl_fatal_printf instead.
25343
37f1abd4
JM
253442012-05-14 Joseph Myers <joseph@codesourcery.com>
25345
25346 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25347 set if not set by the user. Do not allow for being unset.
25348 * sysdeps/unix/sysv/linux/configure: Regenerated.
25349
11de3a33
L
253502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25351
25352 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25353 the `q' suffix from lea and replace .quad with ASM_ADDR.
25354
e02f153a
L
253552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25356
25357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25358 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25359 instead of $17.
25360 (PTR_DEMANGLE): Likewise.
25361
520ae0fd
L
253622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25365 (LP_OP): Likewise.
25366 (ASM_ADDR): Likewise.
25367 (RAX_LP): Likewise.
25368 (RBP_LP): Likewise.
25369 (RBX_LP): Likewise.
25370 (RCX_LP): Likewise.
25371 (RDI_LP): Likewise.
25372 (RSI_LP): Likewise.
25373 (RSP_LP): Likewise.
25374 (R8_LP): Likewise.
25375 (R9_LP): Likewise.
25376 (R10_LP): Likewise.
25377 (R10_LP): Likewise.
25378 (R11_LP): Likewise.
25379 (R12_LP): Likewise.
25380 (R13_LP): Likewise.
25381 (R14_LP): Likewise.
25382 (R15_LP): Likewise.
25383
b985be81
L
253842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25385
25386 * sysdeps/x86_64/x32/dl-machine.h: New file.
25387
6a4888ff
AJ
253882012-05-14 Andreas Jaeger <aj@suse.de>
25389
25390 * manual/Makefile (subdir): Remove export of subdir.
25391 (all): Remove target.
25392 (.PHONY): Remove all from list.
25393 (mkinstalldirs): Remove.
25394 (.PHONY): Remove installdirs from list.
25395 ($(inst_infodir)/libc.info): Use make-target-directory.
25396 (installdirs): Remove.
25397 (subdir_%): Remove.
25398 (glibc-targets): Remove.
25399 (lib): Remove.
25400 (stubs): Remove.
25401 ($(objpfx)stubs ../po/manual.pot): Remove.
25402 ($(objpfx)stamp%): Remove.
25403 (make-target-directory): Remove.
25404 (subdir_install): Remove.
25405 (routines): Remove.
25406 (aux): Remove.
25407 (sources): Remove.
25408 (objects): Remove.
25409 (headers): Remove.
25410
25411 [BZ #13750]
25412 * manual/.gitignore: Remove, it's not needed anymore.
25413 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25414 all files in it.
25415 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25416 directory.
25417 (texis): Renamed to $(objpfx)texis.
25418 (texis-path): New, contains path to generated files.
25419 (chapters.%): Use texis-path for complete path, add extra argument
25420 libc-texinfo.sh.
25421 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25422 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25423 (summary,texi, stamp-summary): Use complete path of
25424 files. Generate files in build dir.
25425 (dir-add.texi): Build in build dir.
25426 (libm-err.texi,stamp-libm-err): Likewise.
25427 (version.texi, stamp-version): Likewise.
25428 (.%c.texi): Likewise.
25429 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25430 (mostlyclean): Remove target.
25431 (realclean): Remove target.
25432 (generated): Add new variable with contents from mostlyclean and
25433 realclean, remove entries duplicated in common-mostlyclean, add
25434 stamp-libm-err and stamp-version.
25435 (generated-dirs): Add libc directory.
25436 ($(inst_infodir)/libc.info): Install files from build dir.
25437
25438 * manual/install.texi (Configuring and compiling): Adjust since
25439 the info files are not part of the tar ball anymore.
25440
7ac77294
AJ
254412012-05-14 Andreas Jaeger <aj@suse.de>
25442
25443 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25444 variable.
25445
ffb7875d
JM
254462012-05-14 Joseph Myers <joseph@codesourcery.com>
25447
25448 [BZ #13717]
25449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25450 to 2.2.0 where earlier.
25451 * sysdeps/unix/sysv/linux/configure: Regenerated.
25452 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25453 Remove conditional code.
25454 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25455 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25456 Remove conditional code.
25457 [!__NR_lchown]: Likewise.
25458 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25459 [__NR_lchown]: Likewise.
25460 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25461 comment referencing __ASSUME_LCHOWN_SYSCALL.
25462 * sysdeps/unix/sysv/linux/i386/sigaction.c
25463 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25464 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25465 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25466 Remove conditional code.
25467 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25468 (__protocol_available): Remove #if 0 code.
25469 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25470 conditional code.
25471 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25472 * sysdeps/unix/sysv/linux/kernel-features.h
25473 (__ASSUME_GETCWD_SYSCALL): Don't define.
25474 (__ASSUME_REALTIME_SIGNALS): Likewise.
25475 (__ASSUME_PREAD_SYSCALL): Likewise.
25476 (__ASSUME_PWRITE_SYSCALL): Likewise.
25477 (__ASSUME_POLL_SYSCALL): Likewise.
25478 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25479 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25480 non-SPARC.
25481 (__ASSUME_SIOCGIFNAME): Don't define.
25482 (__ASSUME_MSG_NOSIGNAL): Likewise.
25483 (__ASSUME_SENDFILE): Define unconditionally.
25484 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25485 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25486 conditional code.
25487 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25488 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25489 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25490 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25491 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25493 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25495 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25518 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25519 Remove conditional code.
25520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25521 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25522 Remove conditional code.
25523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25524 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25525 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25526 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25527 Remove conditional code.
25528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25529 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25530 Remove conditional code.
25531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25532 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25533 Remove conditional code.
25534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25535 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25536 Remove conditional code.
25537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25538 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25539 Remove conditional code.
25540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25541 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25544 * sysdeps/unix/sysv/linux/sigaction.c
25545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25547 * sysdeps/unix/sysv/linux/sigpending.c
25548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25550 * sysdeps/unix/sysv/linux/sigprocmask.c
25551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25553 * sysdeps/unix/sysv/linux/sigsuspend.c
25554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25557 (__libc_missing_rt_sigs): Remove.
25558 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25559 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25560 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25561 Remove conditional code.
25562 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25563 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25564 return 1.
25565 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25566 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25567 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25568 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25569
1bfb7291
AJ
255702012-05-14 Andreas Jaeger <aj@suse.de>
25571
caae5a81
AJ
25572 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25573 it's not used in glibc.
25574 (__coshm1): Likewise.
25575 (__acosh1p): Likewise.
25576 (__sgn): Likewise.
25577
1bfb7291
AJ
25578 * manual/string.texi (Copying and Concatenation): Add missing
25579 variable in concat example.
25580 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25581
c044d724
L
255822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25583
144c5467 25584 [BZ #14103]
c044d724
L
25585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25586 __builtin_clzl with __builtin_clzll.
25587
2523c62b
L
255882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 [BZ #14104]
25591 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25592 libc_freeres_ptr.
25593
d7bb4c42
LD
255942012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25595
25596 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25597 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25598 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25600
9dc4e1fb
MF
256012012-05-14 Mike Frysinger <vapier@gentoo.org>
25602
25603 * NEWS: Update ia64 info.
25604
c7df0112
AS
256052012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25606
25607 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25608 used as bcopy.
25609
dc70356c
TS
256102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25611
25612 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25613 * sysdeps/unix/syscalls.list (dup3): Likewise.
25614 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25615 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25616
9fb1a21f
L
256172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25618
25619 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25620 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25621
4822a2a5
L
256222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25623
25624 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25625 thread pointer.
25626 (TLS_IE): Use mov/add instead of movq/addq to load thread
25627 pointer.
25628 (TLS_GD_PREFIX): New.
25629 (TLS_GD): Use it.
25630
842b81d6
DM
256312012-05-11 David S. Miller <davem@davemloft.net>
25632
25633 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25634 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25635 (_FPU_SETCW): Likewise.
25636
1cf463cd
L
256372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25638
25639 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25640 is 32-byte aligned.
25641
60cc4a18
AS
256422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25643
25644 [BZ #11837]
25645 * iconvdata/gb18030.c: Update tables.
25646 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25647 characters specially.
25648 (BODY for TO_LOOP): Add encoding of missing ranges.
25649
febb44a4
TS
256502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25651
25652 [BZ #13673]
25653 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25654 * sysdeps/mach/hurd/dup3.c: Likewise.
25655 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25656 * sysdeps/powerpc/memmove.c:: Likewise.
25657
0a10fb9e
L
256582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25659
25660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25661 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25662
df8a552f
L
256632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25664
25665 * elf/elf.h (R_X86_64_RELATIVE64): New.
25666 (R_X86_64_NUM): Updated.
25667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25668 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25669 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25670 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25671 tst-quad1pie tst-quad2pie
25672 (modules-names): Add tst-quadmod1 tst-quadmod2.
25673 ($(objpfx)tst-quad1): New dependency.
25674 ($(objpfx)tst-quad2): Likewise.
25675 ($(objpfx)tst-quad1pie): Likewise.
25676 ($(objpfx)tst-quad2pie): Likewise.
25677 * sysdeps/x86_64/tst-quad1.c: New file.
25678 * sysdeps/x86_64/tst-quad1pie.c: New file.
25679 * sysdeps/x86_64/tst-quad2.c: Likewise.
25680 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25681 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25682 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25683 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25684 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25685
f34d6f84
ST
256862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25687
f42d41d1
ST
25688 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25689 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25690 * streams/stropts.h (t_scalar_t): Define type.
25691
3c3571fc
ST
25692 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25693 (_PATH_PRESERVE): Set to "/var/lib".
25694 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25695
61f06bd3
ST
25696 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25697 instead of int.
25698
918d4d71
ST
25699 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25700 if __dir_mkfile succeeded.
25701
f34d6f84
ST
25702 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25703 checking for _hurd_dtablesize. Unlock it right after having
25704 finished _hurd_dtable allocation.
25705
10589b4a
TS
257062012-05-10 Thomas Schwinge <thomas@schwinge.name>
25707
674cdbc7
TS
25708 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25709 * sysdeps/mach/hurd/configure: Regenerated.
25710 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25711 special-casing to...
25712 * sysdeps/gnu/configure.in: ... this new file.
25713 * sysdeps/unix/sysv/linux/configure: Regenerated.
25714 * sysdeps/gnu/configure: New generated file.
25715
8e41b99f
TS
25716 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25717 for Linux: use nsec instead of usec, as well as:
25718 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25719 members of type struct timespec.
25720 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25721 New macros.
25722 (struct stat64): Likewise.
25723 (_STATBUF_ST_NSEC): New macro.
25724 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25725
10589b4a
TS
25726 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25727 __strtoul_internal rather than strtoul.
25728
63643c85
PT
257292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25730
25731 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25732 and reject them.
25733
3faebe6a
ST
257342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25735
25736 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25737 which preserves existing values.
25738 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25739
c6474b07
PT
257402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25741
25742 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25743 TIMEOUT values. Return EINVAL for NFDS values either negative or
25744 greater than FD_SETSIZE.
25745
1043890b
ST
257462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25747
25748 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25749 allocated, call __vm_protect to finish enabling the existing space, and
25750 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25751 allocate the remainder.
25752
37ed8b9b
PT
257532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25754
25755 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25756 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25757
db653660
ST
257582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25759
37ed8b9b
PT
25760 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25761 sysdeps/mach/hurd/readlink.c.
b29d4053 25762
db653660
ST
25763 * posix/tst-sysconf.c (posix_options): Only use
25764 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25765 _POSIX_SYNCHRONIZED_IO when they are defined
25766 * sysdeps/mach/hurd/bits/posix_opt.h:
25767 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25768 (_XOPEN_REALTIME): Undefine macro.
25769 (_XOPEN_REALTIME_THREADS): Undefine macro.
25770 (_XOPEN_SHM): Undefine macro.
25771 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25772 macro to -1.
25773 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25774 macro to -1.
25775 (_POSIX_ASYNC_IO): Undefine macro.
25776 (_POSIX_PRIORITIZED_IO): Undefine macro.
25777 (_POSIX_SPIN_LOCKS): Define macro to -1.
25778
ee16e894
ST
25779 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25780 SA_NODEFER, SA_RESETHAND.
25781 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25782 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25783 F_DUPFD_CLOEXEC.
25784
6103ae3b
TS
257852012-05-10 Thomas Schwinge <thomas@schwinge.name>
25786
25787 * elf/Makefile (pldd-modules): Define unconditionally.
25788
80b4e5f3
TS
257892012-05-10 Thomas Schwinge <thomas@schwinge.name>
25790
25791 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25792
edadcbd6
ST
257932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25794
25795 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25796 Return ENOENT when name is empty.
25797 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25798
80694780
TS
257992012-05-10 Thomas Schwinge <thomas@schwinge.name>
25800
1792c087
TS
25801 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25802
80694780
TS
25803 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25804
6b645f0d
ST
258052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25806
80694780
TS
25807 Fix mlock in all cases except non-readable pages.
25808 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25809 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 25810
6b645f0d
ST
25811 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25812 (__mkdir): When path is `/', just fail with EEXIST.
25813 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25814
e468f8a3
TS
258152012-05-10 Thomas Schwinge <thomas@schwinge.name>
25816
25817 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25818 <sys/uio.h> (for writev).
25819 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25820 and <sys/param.h> (for MIN).
25821
a4186cff
PT
258222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25823
25824 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25825 REQUESTED_TIME. Properly set the remaining time and return EINTR
25826 if interrupted.
25827
510bbf14
TS
258282012-05-10 Thomas Schwinge <thomas@schwinge.name>
25829
25830 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25831 Depend on against $(link-rpcuserlibs).
25832
5d5722e8
ST
258332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25834
a4186cff
PT
25835 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25836 (__libc_stack_end): Do not use attribute_relro.
25837 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25838 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 25839 to libthread-provided value.
a4186cff
PT
25840 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25841 attribute_relro.
5d5722e8 25842
37233df9
TS
258432012-05-10 Thomas Schwinge <thomas@schwinge.name>
25844
be971a2b
TS
25845 [BZ #3748]
25846 * bits/libc-lock.h (__libc_once_get): New macro.
25847 * sysdeps/mach/bits/libc-lock.h: Likewise.
25848 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25850 instead of using implementation details.
25851
37233df9
TS
25852 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25853 * libio/freopen.c: Likewise.
25854 * libio/freopen64.c: Likewise.
25855 * misc/syslog.c: Likewise.
25856 * nscd/connections.c: Likewise.
25857 * nscd/netgroupcache.c: Likewise.
25858 * sysdeps/posix/getcwd.c: Likewise.
25859
38de94a5
RM
258602012-05-10 Roland McGrath <roland@hack.frob.com>
25861
25862 * math/w_ilogbf.c: Add #include <limits.h>.
25863
67530489
ST
258642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25865
a4186cff 25866 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
25867 path instead of returning without unlocking.
25868
67530489
ST
25869 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25870 immediate-write ioctls.
25871 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25872
5aa3a74a
TS
258732012-05-10 Thomas Schwinge <thomas@schwinge.name>
25874
18bad2ae
TS
25875 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25876 __builtin_frame_address instead of making assumptions about the
25877 location of the return address relative to DATA. Force early load of
25878 the return address.
25879 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25880 __builtin_frame_address.
25881
5aa3a74a
TS
25882 dup3 for GNU Hurd.
25883 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25884 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25885 implement dup3 and do some further code clean-ups.
25886 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25887 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25888
ecd0de9a
ST
258892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25890
cd9fa985
ST
25891 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25892
a4186cff
PT
25893 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25894 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25895 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25896 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25897 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25898 d->port.lock.
802ca5a5 25899
a4186cff
PT
25900 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25901 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25902 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 25903
bcf55240
TS
259042012-05-10 Thomas Schwinge <thomas@schwinge.name>
25905
6960eb42
TS
25906 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25907 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25908 definitions.
25909
eb43375f
TS
25910 accept4 for GNU Hurd.
25911 * include/sys/socket.h (__libc_accept4): New prototype.
25912 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25913 to implement __libc_accept4.
25914 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25915 __libc_accept4.
25916 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25917
bcf55240
TS
25918 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25919 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25920 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25921 signal-defines.sym.
25922
6178c55b
ST
259232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25924
a4186cff 25925 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 25926
6f080c2f
TS
259272012-05-10 Thomas Schwinge <thomas@schwinge.name>
25928
25929 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25930 assertion on O_CLOEXEC flag.
25931 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25932 * hurd/intern-fd.c: Likewise.
25933 * hurd/port2fd.c: Likewise.
25934
bcfe3a54
ST
259352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25936
25937 [BZ #3906]
25938 * bits/in.h (IPV6_PKTINFO): Define new macro.
25939 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25940
89c9aa49
AZ
259412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25942
25943 [BZ #13954]
25944 [BZ #13955]
25945 [BZ #13956]
25946 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25947 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25948 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25949 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25951 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25952 * math/libm-test.inc (logb_test) : Additional logb tests.
25953
021db4be
AJ
259542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25955 Andreas Jaeger <aj@suse.de>
25956
25957 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25958 * configure: Regenerated.
25959 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25960 * config.make.in (link-obsolete-rpc): New substituted variable.
25961 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25962 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25963 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25964 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25965 so that libc.a contains the symbols.
25966 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25967 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25968 * sunrpc/auth_none.c: Likewise.
25969 * sunrpc/auth_unix.c: Likewise.
25970 * sunrpc/authdes_prot.c: Likewise.
25971 * sunrpc/authuxprot.c: Likewise.
25972 * sunrpc/clnt_gen.c: Likewise.
25973 * sunrpc/clnt_perr.c: Likewise.
25974 * sunrpc/clnt_raw.c: Likewise.
25975 * sunrpc/clnt_simp.c: Likewise.
25976 * sunrpc/clnt_tcp.c: Likewise.
25977 * sunrpc/clnt_udp.c: Likewise.
25978 * sunrpc/clnt_unix.c: Likewise.
25979 * sunrpc/des_crypt.c: Likewise.
25980 * sunrpc/des_soft.c: Likewise.
25981 * sunrpc/get_myaddr.c: Likewise.
25982 * sunrpc/key_call.c: Likewise.
25983 * sunrpc/key_prot.c: Likewise.
25984 * sunrpc/netname.c: Likewise.
25985 * sunrpc/pm_getmaps.c: Likewise.
25986 * sunrpc/pm_getport.c: Likewise.
25987 * sunrpc/pmap_clnt.c: Likewise.
25988 * sunrpc/pmap_prot.c: Likewise.
25989 * sunrpc/pmap_prot2.c: Likewise.
25990 * sunrpc/pmap_rmt.c: Likewise.
25991 * sunrpc/publickey.c: Likewise.
25992 * sunrpc/rpc_cmsg.c: Likewise.
25993 * sunrpc/rpc_common.c: Likewise.
25994 * sunrpc/rpc_dtable.c: Likewise.
25995 * sunrpc/rpc_prot.c: Likewise.
25996 * sunrpc/rpc_thread.c: Likewise.
25997 * sunrpc/rtime.c: Likewise.
25998 * sunrpc/svc.c: Likewise.
25999 * sunrpc/svc_auth.c: Likewise.
26000 * sunrpc/svc_raw.c: Likewise.
26001 * sunrpc/svc_run.c: Likewise.
26002 * sunrpc/svc_tcp.c: Likewise.
26003 * sunrpc/svc_udp.c: Likewise.
26004 * sunrpc/svc_unix.c: Likewise.
26005 * sunrpc/svcauth_des.c: Likewise.
26006 * sunrpc/xcrypt.c: Likewise.
26007 * sunrpc/xdr.c: Likewise.
26008 * sunrpc/xdr_array.c: Likewise.
26009 * sunrpc/xdr_float.c: Likewise.
26010 * sunrpc/xdr_intXX_t.c: Likewise.
26011 * sunrpc/xdr_mem.c: Likewise.
26012 * sunrpc/xdr_rec.c: Likewise.
26013 * sunrpc/xdr_ref.c: Likewise.
26014 * sunrpc/xdr_sizeof.c: Likewise.
26015 * sunrpc/xdr_stdio.c: Likewise.
26016
b5c086a2
RM
260172012-05-10 Roland McGrath <roland@hack.frob.com>
26018
26019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26020 change. Update copyright years.
26021
6d74dd09
JM
260222012-05-10 Joseph Myers <joseph@codesourcery.com>
26023
26024 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26025
28e72501
MK
260262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26027 Joseph Myers <joseph@codesourcery.com>
26028 Paul Pluzhnikov <ppluzhnikov@google.com>
26029
26030 [BZ #14012]
26031 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26032 requiring rpcgen.
26033 [cross-compiling] (extra-libs): Likewise.
26034 [cross-compiling] (extra-libs-others): Likewise.
26035 [cross-compiling] (librpcsvc-routines): Likewise.
26036 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26037 [cross-compiling] (omit-deps): Likewise.
26038 (sunrpc-CPPFLAGS): New variable.
26039 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26040 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26041 (cross-rpcgen-objs): New variable.
26042 (extra-objs): Append $(cross-rpcgen-objs).
26043 ($(cross-rpcgen-objs)): New rule.
26044 ($(objpfx)cross-rpcgen): Likewise.
26045 (rpcgen-cmd): Define to use $(built-program-file). Expand
26046 comment.
26047 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26048 ($(objpfx)x%.stmp): Likewise.
26049 * sunrpc/proto.h [IS_IN_build] (_): Define.
26050 [IS_IN_build] (_libc_intl_domainname): Likewise.
26051
c8c59454
L
260522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26053
26054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26055 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26056 and R_X86_64_TPOFF64.
26057
6f27cd16
JM
260582012-05-10 Joseph Myers <joseph@codesourcery.com>
26059
26060 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26061 sysdeps/unix/sysv/syscalls.list.
26062 (stime): Likewise.
26063 (utime): Likewise.
26064 * sysdeps/unix/sysv/syscalls.list: Remove file.
26065
02467e1c
PE
260662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26067
26068 [BZ #3440]
26069 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26070 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26071 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26072 (__LC_IDENTIFICATION): Make these macros useful in #if
26073 expressions, as required by C99.
26074
da392631
AS
260752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26076
26077 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26078 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26079 after this.
26080
8115f29b
L
260812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26082
26083 * stdlib/longlong.h: Updated from GCC.
26084
bdd74070
AJ
260852012-05-09 Andreas Jaeger <aj@suse.de>
26086
edfe0dbe
AJ
26087 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26088 default is first entry.
26089 (run_mode): Set type.
26090 (main): Remove informal message about syslog.
26091 (options): Fix typo.
26092
bcfe3a54
ST
26093 [BZ #14053]
26094 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26095 to asm.
bcfe3a54
ST
26096 (lrint): Likewise.
26097 (llrintf): Likewise.
26098 (llrint): Likewise.
26099 (rint): Likewise.
26100 (rintf): Likewise.
26101 (nearbyint): Likewise.
26102 (nearbyintf): Likewise.
bdd74070 26103
91d8d69e
AJ
261042012-05-09 Andreas Jaeger <aj@suse.de>
26105 Pedro Alves <palves@redhat.com>
26106
26107 * nscd/nscd.c (run_mode): Use enum.
26108 (main): Cleanup coding style issue.
26109
bb90b80b
AJ
261102012-05-09 Alexandre Oliva <aoliva@redhat.com>
26111 Andreas Jaeger <aj@suse.de>
26112
bcfe3a54
ST
26113 * nscd/nscd.c (go_background): Replaced with...
26114 (run_mode): ... this.
bb90b80b 26115 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26116 (options): Add -F --foreground.
26117 (main): Implement it.
26118 (parse_opt): Parse it.
bb90b80b 26119
1a4b75a1
AJ
261202012-05-09 Andreas Jaeger <aj@suse.de>
26121
26122 [BZ #14083]
26123 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26124 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26125 -Wconversion warning.
26126 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26127 Likewise.
26128
b1cc2472
JM
261292012-05-09 Joseph Myers <joseph@codesourcery.com>
26130
26131 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26132 == 0.
26133 (LC_ALL): Use macro-int-constant.
26134 (LC_COLLATE): Likewise.
26135 (LC_CTYPE): Likewise.
26136 (LC_MESSAGES): Likewise.
26137 (LC_MONETARY): Likewise.
26138 (LC_NUMERIC): Likewise.
26139 (LC_TIME): Likewise.
26140 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26141 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26143 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26144 Specify type.
26145 [C99-based standards] (float_t): Expect type.
26146 [C99-based standards] (double_t): Expect type.
26147 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26148 type.
26149 [C99-based standards] (HUGE_VALL): Likewise.
26150 [C99-based standards] (INFINITY): Likewise.
26151 [C99-based standards] (NAN): Likewise.
26152 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26153 [C99-based standards] (FP_NAN): Likewise.
26154 [C99-based standards] (FP_NORMAL): Likewise.
26155 [C99-based standards] (FP_SUBNORMAL): Likewise.
26156 [C99-based standards] (FP_ZERO): Likewise.
26157 [C99-based standards] (FP_FAST_FMA): Use
26158 optional-macro-int-constant. Specify type. Require == 1.
26159 [C99-based standards] (FP_FAST_FMAF): Likewise.
26160 [C99-based standards] (FP_FAST_FMAL): Likewise.
26161 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26162 [C99-based standards] (FP_ILOGBNAN): Likewise.
26163 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26164 Specify type.
26165 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26166 [C99-based standards] (math_errhandling): Specify type.
26167 [ISO99 || ISO11] (signgam): Do not allow.
26168 [non-C99-based standards] (copysignf): Do not allow.
26169 [non-C99-based standards] (exp2f): Likewise.
26170 [non-C99-based standards] (log2f): Likewise.
26171 [non-C99-based standards] (modff): Allow.
26172 [non-C99-based standards] (erff): Do not allow.
26173 [non-C99-based standards] (erfcf): Likewise.
26174 [non-C99-based standards] (gammaf): Likewise.
26175 [non-C99-based standards] (hypotf): Likewise.
26176 [non-C99-based standards] (j0f): Likewise.
26177 [non-C99-based standards] (j1f): Likewise.
26178 [non-C99-based standards] (jnf): Likewise.
26179 [non-C99-based standards] (lgammaf): Likewise.
26180 [non-C99-based standards] (tgammaf): Likewise.
26181 [non-C99-based standards] (y0f): Likewise.
26182 [non-C99-based standards] (y1f): Likewise.
26183 [non-C99-based standards] (ynf): Likewise.
26184 [non-C99-based standards] (isnanf): Likewise.
26185 [non-C99-based standards] (acoshf): Likewise.
26186 [non-C99-based standards] (asinhf): Likewise.
26187 [non-C99-based standards] (atanhf): Likewise.
26188 [non-C99-based standards] (cbrtf): Likewise.
26189 [non-C99-based standards] (expm1f): Likewise.
26190 [non-C99-based standards] (ilogbf): Likewise.
26191 [non-C99-based standards] (log1pf): Likewise.
26192 [non-C99-based standards] (logbf): Likewise.
26193 [non-C99-based standards] (nextafterf): Likewise.
26194 [non-C99-based standards] (remainderf): Likewise.
26195 [non-C99-based standards] (rintf): Likewise.
26196 [non-C99-based standards] (scalbf): Likewise.
26197 [non-C99-based standards] (copysignl): Likewise.
26198 [non-C99-based standards] (exp2l): Likewise.
26199 [non-C99-based standards] (log2l): Likewise.
26200 [non-C99-based standards] (modfl): Allow.
26201 [non-C99-based standards] (erfl): Do not allow.
26202 [non-C99-based standards] (erfcl): Likewise.
26203 [non-C99-based standards] (gammal): Likewise.
26204 [non-C99-based standards] (hypotl): Likewise.
26205 [non-C99-based standards] (j0l): Likewise.
26206 [non-C99-based standards] (j1l): Likewise.
26207 [non-C99-based standards] (jnl): Likewise.
26208 [non-C99-based standards] (lgammal): Likewise.
26209 [non-C99-based standards] (tgammal): Likewise.
26210 [non-C99-based standards] (y0l): Likewise.
26211 [non-C99-based standards] (y1l): Likewise.
26212 [non-C99-based standards] (ynl): Likewise.
26213 [non-C99-based standards] (isnanl): Likewise.
26214 [non-C99-based standards] (acoshl): Likewise.
26215 [non-C99-based standards] (asinhl): Likewise.
26216 [non-C99-based standards] (atanhl): Likewise.
26217 [non-C99-based standards] (cbrtl): Likewise.
26218 [non-C99-based standards] (expm1l): Likewise.
26219 [non-C99-based standards] (ilogbl): Likewise.
26220 [non-C99-based standards] (log1pl): Likewise.
26221 [non-C99-based standards] (logbl): Likewise.
26222 [non-C99-based standards] (nextafterl): Likewise.
26223 [non-C99-based standards] (remainderl): Likewise.
26224 [non-C99-based standards] (rintl): Likewise.
26225 [non-C99-based standards] (scalbl): Likewise.
26226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26227 [non-C99-based standards] (FP_*): Do not allow.
26228 [C99-based standards] (FP_*): Change to
26229 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26230 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26231 allow.
26232 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26233 (SIG_ERR): Likewise.
26234 [X/Open-based standards] (SIG_HOLD): Likewise.
26235 (SIG_IGN): Likewise.
26236 (SIGABRT): Use macro-int-constant. Specify type. Require
26237 positive value.
26238 (SIGFPE): Likewise.
26239 (SIGILL): Likewise.
26240 (SIGINT): Likewise.
26241 (SIGSEGV): Likewise.
26242 (SIGTER): Likewise.
26243 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26244 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26245 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26246 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26247 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26248 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26249 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26250 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26251 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26252 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26253 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26254 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26255 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26256 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26257 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26258 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26259 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26260 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26261 [X/Open-based standards] (SIGTRAP): Likewise.
26262 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26263 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26264 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26265 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26266 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26267 allow.
26268
b9f1922d
IW
262692012-05-08 Ian Wienand <ianw@vmware.com>
26270
26271 [BZ #14080]
26272 * time/tzset.c (__tzset_parse_tz): Update default rules for
26273 daylight time changes in the Energy Policy Act of 2005.
26274
1db86e88
AJ
262752012-05-09 Andreas Jaeger <aj@suse.de>
26276
26277 [BZ #13983]
26278 * elf/ldconfig.c (parse_conf): Change string to make clear that
26279 ldconfig only issued a warning if ld.so.conf does not exist.
26280
dee4a4e3
DM
262812012-05-08 David S. Miller <davem@davemloft.net>
26282
ee0db190
DM
26283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26284 movxtod instead of popping the value on the stack.
26285
dee4a4e3
DM
26286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26287
6a43ec98
CD
262882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26289
26290 * config.h.in: Add HAVE_ARM_PCS_VFP.
26291
05c2c961
RMG
262922012-05-08 Roland Mc Grath <roland@hack.frob.com>
26293
bcfe3a54
ST
26294 [BZ #13979]
26295 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26296 checking but the checks are disabled for any reason.
05c2c961 26297
4b30f61a
L
262982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26299
26300 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26301 and ELF64_R_TYPE with ELFW(R_TYPE).
26302
eee2bc67
JM
263032012-05-08 Joseph Myers <joseph@codesourcery.com>
26304
7ea5391a
JM
26305 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26306 (ulimit): Likewise.
26307
eee2bc67
JM
26308 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26309 (settimeofday): Likewise.
26310
abb66a67
MF
263112012-05-08 Mike Frysinger <vapier@gentoo.org>
26312
26313 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26314 a struct th_u2 inside the union, and move tu_block/tu_code into
26315 a new th_u3 union of tu_block/tu_code inside of that. Move
26316 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26317 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26318 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26319 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26320 (th_stuff): Change to th_u1.tu_stuff.
26321 (th_data): Define.
26322 (th_msg): Change to th_u1.th_u2.tu_data.
26323
7f18b530
DM
263242012-05-07 David S. Miller <davem@davemloft.net>
26325
05760585
DM
26326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26327
7f18b530
DM
26328 [BZ #14074]
26329 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26330 (SETUP_PIC_REG): Use it.
26331 (SETUP_PIC_REG_LEAF): Use it.
26332
495fd99f
JM
263332012-05-07 Joseph Myers <joseph@codesourcery.com>
26334
26335 [BZ #13885]
26336 [BZ #13923]
26337 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26338 USE_AS_EXPM1L.
26339 (EXPL_FINITE): Likewise.
26340 (FLDLOG): Likewise.
26341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26342 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26343 e_expl.S.
26344 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26345 USE_AS_EXPM1L.
26346 (EXPL_FINITE): Likewise.
26347 (FLDLOG): Likewise.
26348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26349 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26350 e_expl.S.
26351 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26352 test of -max_value argument for long double.
26353 * sysdeps/i386/fpu/libm-test-ulps: Update.
26354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26355
6693d694
DM
263562012-05-06 David S. Miller <davem@davemloft.net>
26357
26358 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26359 quad soft-float symbols whose references which are compiler
26360 generated.
26361 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26362
6c23e11c
JM
263632012-05-06 Joseph Myers <joseph@codesourcery.com>
26364
d8b82cad
JM
26365 [BZ #13884]
26366 [BZ #13914]
26367 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26368 USE_AS_EXP10L.
26369 (EXPL_FINITE): Likewise.
26370 (FLDLOG): Likewise.
26371 (c0): Likewise.
26372 (c1): Likewise.
26373 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26374 Adjust comments for base varying.
26375 (__expl_finite): Change alias to EXPL_FINITE.
26376 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26377 e_expl.S.
26378 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26379 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26380 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26381 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26382 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26383 USE_AS_EXP10L.
26384 (EXPL_FINITE): Likewise.
26385 (FLDLOG): Likewise.
26386 (c0): Likewise.
26387 (c1): Likewise.
26388 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26389 Adjust comments for base varying.
26390 (__expl_finite): Change alias to EXPL_FINITE.
26391 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26392 tests for bugs.
26393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26394
6c23e11c
JM
26395 [BZ #14064]
26396 * math/libm-test.inc (check_float_internal): Correct ulp
26397 calculation for subnormal expected results.
26398
29ba805c
AJ
263992012-05-06 Andreas Jaeger <aj@suse.de>
26400
26401 * Makeconfig (+math-flags): New, set to -frounding-math.
26402 (+cflags): Add +math-flags so that all of glibc gets compiled with
26403 it.
26404
26405 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26406
7b17aeda
JM
264072012-05-05 Joseph Myers <joseph@codesourcery.com>
26408
5779f134
JM
26409 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26410 Disable one test.
26411
41498f4d
JM
26412 [BZ #13787]
26413 [BZ #13922]
26414 [BZ #14036]
26415 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26416 (__ieee754_expl): Allow for and saturate large arguments.
26417 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26418 (u_threshold): Likewise.
26419 (__exp): Call __ieee754_exp before checking for overflow and
26420 underflow.
26421 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26422 (u_threshold): Likewise.
26423 (__expf): Call __ieee754_expf before checking for overflow and
26424 underflow.
26425 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26426 (u_threshold): Likewise.
26427 (__expl): Call __ieee754_expl before checking for overflow and
26428 underflow.
26429 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26430 (__ieee754_expl): Allow for and saturate large arguments.
26431 * math/libm-test.inc (exp_test): Add another test. Do not allow
26432 missing overflow exception on overflow.
26433 (expm1_test): Do not allow missing overflow exception on overflow.
26434
6698b8bf
JM
26435 * sysdeps/i386/fpu/e_expl.c: Move to ...
26436 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26437 rather than using inline asm.
26438 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26439 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26440 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26441
7b17aeda
JM
26442 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26443 (nice): Likewise.
26444 (poll): Likewise.
26445 (signal): Likewise.
26446 (time): Likewise.
26447 (times): Likewise.
26448
f7c85819
JM
264492012-05-04 Joseph Myers <joseph@codesourcery.com>
26450
26451 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26452 sysdeps/unix/common/syscalls.list.
26453 (fchmod): Likewise.
26454 (fchown): Likewise.
26455 (ftruncate): Likewise.
26456 (getrusage): Likewise.
26457 (gettimeofday): Likewise.
26458 (setpgid): Likewise.
26459 (setregid): Likewise.
26460 (setreuid): Likewise.
26461 (sigaction): Likewise.
26462 (truncate): Likewise.
26463 (vhangup): Likewise.
26464 * sysdeps/unix/common/syscalls.list: Remove file.
26465 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26466 * sysdeps/unix/sysv/linux/Implies: Likewise.
26467
336270d0
L
264682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26469
26470 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26472 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26473 Moved to ...
26474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26475 Here.
26476 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26477 to ...
26478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26479 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26480 to ...
26481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26482 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26483 to ...
26484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26485 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26486 to ...
26487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26488 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26489 to ...
26490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26491 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26492 to ...
26493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26494 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26495 to ...
26496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26497 Here.
26498 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26499 to ...
26500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26501 Here.
26502 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26503 to ...
26504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26505 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26506 Moved to ...
26507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26508 Here.
26509 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26510 to ...
26511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26512
d128e450
JM
265132012-05-04 Joseph Myers <joseph@codesourcery.com>
26514
fa8ee516
JM
26515 * sysdeps/unix/common/bits/dirent.h: Remove file.
26516 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26517
d128e450
JM
26518 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26519 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26520 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26521 * sysdeps/unix/bsd/isatty.c: Likewise.
26522 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26523 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26524 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26525
ff8faaf0 265262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 26527
62881be4 26528 [BZ #13563]
31dc8730
AZ
26529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26530 long double comparison inaccuracies.
26531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26533
6fef930c
AS
265342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26535
26536 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26538
8f203e6c
JM
265392012-05-04 Joseph Myers <joseph@codesourcery.com>
26540
26541 [BZ #14049]
26542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26543 nonzero digits before rounding a hex value.
26544 * stdlib/tst-strtod.c (tests): Add another test.
26545
5197d9c2
AK
265462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26547
26548 * sysdeps/s390/fpu/libm-test-ulps: Update.
26549
f0c1dedf
AJ
265502012-05-03 Andreas Jaeger <aj@suse.de>
26551
26552 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26553 does not get optimized out.
26554 (malloc_opt_barrier): New.
26555
a65ef2ae 265562012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 26557 Roland McGrath <roland@hack.frob.com>
a65ef2ae 26558
2b942cb7 26559 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 26560 intermediate file deletion.
2b942cb7 26561 (generated): Add .symlist files.
a65ef2ae 26562
54b71e02
JM
265632012-05-03 Joseph Myers <joseph@codesourcery.com>
26564
26565 [BZ #13775]
26566 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26567 Redirect under this condition.
26568 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26569 [__USE_GNU] (__dprintf_chk): Not under this condition.
26570 [__USE_GNU] (__vdprintf_chk): Likewise.
26571 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26572 under this condition.
26573 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26574 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26575 [__USE_XOPEN2K8] (vdprintf): Likewise.
26576 [__USE_GNU] (__dprintf_chk): Not under this condition.
26577 [__USE_GNU] (__vdprintf_chk): Likewise.
26578 [__USE_GNU] (dprintf): Likewise.
26579 [__USE_GNU] (vdprintf): Likewise.
26580
d3dfcc41
RM
265812012-05-03 Roland McGrath <roland@hack.frob.com>
26582
26583 * elf/Makefile (common-generated): Set this instead of generated for
26584 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26585 $(all-built-dso)-derived lists.
26586
7ac30cc5
AJ
265872012-05-03 Andreas Jaeger <aj@suse.de>
26588
0c51e550
AJ
26589 * sysdeps/i386/fpu/libm-test-ulps: Update.
26590
7ac30cc5
AJ
26591 * FAQ: Removed.
26592 * FAQ.in: Likewise.
26593 * scripts/gen-FAQ.pl: Likewise.
26594 * manual/install.texi (Installation): Point to online location of
26595 FAQ.
26596 * Makefile (files-for-dist): Remove FAQ.
26597 (FAQ): Remove.
26598
d4c2917f
AM
265992012-05-02 Allan McRae <allan@archlinux.org>
26600
26601 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26602 (LDFLAGS-reldepmod5.so): Likewise.
26603 (LDFLAGS-reldep6mod1.so): Likewise.
26604 (LDFLAGS-reldep6mod4.so): Likewise.
26605 (LDFLAGS-reldep8mod3.so): Likewise.
26606 (LDFLAGS-unload4mod1.so): Likewise.
26607 (LDFLAGS-unload4mod2.so): Likewise.
26608 (LDFLAGS-tst-initorder): Likewise.
26609 (LDFLAGS-tst-initordera2.so): Likewise.
26610 (LDFLAGS-tst-initordera3.so): Likewise.
26611 (LDFLAGS-tst-initordera4.so): Likewise.
26612 (LDFLAGS-tst-initorderb2.so): Likewise.
26613 (LDFLAGS-noload): Likewise.
26614 (LDFLAGS-next): Likewise.
26615 (LDFLAGS-order2mod1.so): Likewise.
26616 (LDFLAGS-order2mod2.so): Likewise.
26617 (LDFLAGS-tst-initorder2): Likewise.
26618 (LDFLAGS-tst-initorder2a.so): Likewise.
26619 (LDFLAGS-tst-initorder2b.so): Likewise.
26620 (LDFLAGS-tst-initorder2c.so): Likewise.
26621 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26622
d77f993f
DM
266232012-05-02 David S. Miller <davem@davemloft.net>
26624
26625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26626
171a70b4
PP
266272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26628
26629 [BZ #14055]
26630 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26631
0be196ad
AJ
266322012-05-02 Andreas Jaeger <aj@suse.de>
26633
26634 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26635 since we manipulate rounding mode.
26636 (CPPFLAGS-test-idouble.c): Likewise.
26637 (CPPFLAGS-test-ifloat.c): Likewise.
26638 (CFLAGS-test-ldouble.c): Likewise.
26639 (CFLAGS-test-double.c): Likewise.
26640 (CFLAGS-test-float.c): Likewise.
26641 (CFLAGS-test-misc.c): Likewise.
26642 (CFLAGS-test-test-fenv.c): Likewise.
26643
4f9d04aa
AZ
266442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26645
2b942cb7
RM
26646 [BZ #2550]
26647 [BZ #2570]
26648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26649 comparisons to determine direction to adjust input.
4f9d04aa 26650
82a79e7d
RM
266512012-05-01 Roland McGrath <roland@hack.frob.com>
26652
f5a01ca9
RM
26653 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26654 output to the target.
26655
90fe4186
RM
26656 * scripts/localplt.awk: New file.
26657 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26658 (check-localplt-CFLAGS): Variable removed.
26659 ($(all-built-dso:=.jmprel)): New static pattern rule.
26660 (generated): Add those targets.
26661 (localplt-built-dso): New variable.
26662 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26663
26664 * elf/check-localplt.c: File removed.
26665
82397ed6
RM
26666 * scripts/check-execstack.awk: New file.
26667 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26668 (check-execstack-CFLAGS): Variable removed.
26669 ($(objpfx)check-execstack.h): Target removed.
26670 ($(objpfx)execstack-default): New target.
26671 (generated): Add that instead of check-execstack.h.
26672 ($(all-built-dso:=.phdr)): New static pattern rule.
26673 (generated): Add those targets.
26674 * elf/check-execstack.c: File removed.
26675
82a79e7d
RM
26676 * scripts/check-textrel.awk: New file.
26677 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26678 (check-textrel-CFLAGS): Variable removed.
26679 (all-built-dso): Use := to define.o
26680 ($(all-built-dso:=.dyn)): New static pattern rule.
26681 (generated): Add those targets.
26682 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26683 * config.make.in (READELF): New substituted variable.
26684 * elf/check-textrel.c: File removed.
26685
62fde54f 266862012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 26687
615605c9
JM
26688 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26689 allow.
26690 * conform/data/ctype.h-data [C99-based standards] (isblank):
26691 Expect function.
26692 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26693 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26695 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26696 Specify type. Require positive value.
26697 (EILSEQ): Likewise.
26698 (ERANGE): Likewise.
26699 [ISO || POSIX] (EILSEQ): Do not expect.
26700 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26701 Specify type. Require positive value.
26702 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26703 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26704 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26705 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26706 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26707 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26708 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26709 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26710 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26711 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26712 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26713 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26714 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26715 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26716 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26717 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26718 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26719 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26720 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26721 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26722 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26723 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26724 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26725 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26726 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26727 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26728 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26729 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26730 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26731 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26732 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26733 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26734 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26735 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26736 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26737 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26738 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26739 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26740 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26741 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26742 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26743 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26744 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26745 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26747 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26748 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26749 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26750 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26751 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26752 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26753 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26754 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26755 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26756 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26757 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26758 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26759 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26760 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26761 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26762 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26764 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26765 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26766 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26767 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26768 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26769 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26770 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26771 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26772 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26773 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26774 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26775 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26776 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26777 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26778 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26779 Require >= 2.
26780 (FLT_ROUNDS): Expect as macro, not constant.
26781 (FLT_MANT_DIG): Use macro-int-constant.
26782 (DBL_MANT_DIG): Likewise.
26783 (LDBL_MANT_DIG): Likewise.
26784 (FLT_DIG): Likewise.
26785 (DBL_DIG): Likewise.
26786 (LDBL_DIG): Likewise.
26787 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26788 (DBL_MIN_EXP): Likewise.
26789 (LDBL_MIN_EXP): Likewise.
26790 (FLT_MAX_EXP): Use macro-int-constant.
26791 (DBL_MAX_EXP): Likewise.
26792 (LDBL_MAX_EXP): Likewise.
26793 (FLT_MAX_10_EXP): Likewise.
26794 (DBL_MAX_10_EXP): Likewise.
26795 (LDBL_MAX_10_EXP): Likewise.
26796 (FLT_MAX): Use macro-constant.
26797 (DBL_MAX): Likewise.
26798 (LDBL_MAX): Likewise.
26799 (FLT_EPSILON): Use macro-constant. Give upper bound.
26800 (DBL_EPSILON): Likewise.
26801 (LDBL_EPSILON): Likewise.
26802 (FLT_MIN): Likewise.
26803 (DBL_MIN): Likewise.
26804 (LDBL_MIN): Likewise.
26805 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26806 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26807 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26808 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26809 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26810 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26811 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26812 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26813 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26814 [ISO11] (FLT_TRUE_MIN): Likewise.
26815 [ISO11] (LDBL_TRUE_MIN): Likewise.
26816 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26817 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26818 (SCHAR_MIN): Use macro-int-constant. Specify type.
26819 (SCHAR_MAX): Likewise.
26820 (UCHAR_MAX): Likewise.
26821 (CHAR_MIN): Likewise.
26822 (CHAR_MAX): Likewise.
26823 (MB_LEN_MAX): Use macro-int-constant.
26824 (SHRT_MIN): Use macro-int-constant. Specify type.
26825 (SHRT_MAX): Likewise.
26826 (USHRT_MAX): Likewise.
26827 (INT_MAX): Likewise.
26828 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26829 bound negative.
26830 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26831 bound with "U".
26832 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26833 bound with "L".
26834 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26835 bound negative. Suffix upper bound with "L".
26836 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26837 bound with "UL".
26838 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26839 Specify type.
26840 [C99-based standards] (LLONG_MAX): Likewise.
26841 [C99-based standards] (ULLONG_MAX): Likewise.
26842 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26843 == 0.
26844 [ISO11] (max_align_t): Require type.
26845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26846
c9140a62
JM
26847 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26848 from $CFLAGS, without defining away __attribute__ calls.
26849 (checknamespace): Use $CFLAGS_namespace.
26850
9af0bf29
JM
26851 * conform/conformtest.pl (@keywords): Only include C99 keywords
26852 for standards based on C99 or C11.
26853
343222a2
JM
26854 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26855 Disable tests.
26856 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26857 UNIX98]: Likewise.
26858
661f8cf0
JM
26859 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26860 usability of symbols in #if.
26861
ee74b9cb
JM
26862 * conform/conformtest.pl: If macro or constant types start
26863 "promoted:", expect the symbol to be of the following type
26864 promoted by the integer promotions.
62fde54f 26865
aafc49b3
JM
26866 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26867 in one place. Also handle "macro-constant".
26868
fefdf574
JM
26869 * conform/conformtest.pl: Only accept expected macro values with
26870 "==". Parse all "macro" lines in one place.
26871 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26872
f2d922fe
JM
26873 * conform/conformtest.pl: Handle braced types on "constant" lines
26874 instead of handling "typed-constant".
26875 * conform/data/signal.h-data: Use "constant" instead of
26876 "typed-constant".
26877
d22956c9
JM
26878 * conform/conformtest.pl: Handle "optional-" at start of lines in
26879 one place rather than duplicating several cases. Handle each
26880 format of "macro" line with initial "optional-".
26881
028e2e38
JM
26882 * conform/conformtest.pl: Only accept expected constant or
26883 optional-constant values with "==". Parse all "constant" lines in
26884 one place. Parse all "optional-constant" lines in one place.
26885 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26886 * conform/data/fmtmsg.h-data: Likewise.
26887 * conform/data/netinet/in.h-data: Likewise.
26888 * conform/data/tar.h-data: Likewise.
26889 * conform/data/limits.h-data: Use "==" form on "constant" and
26890 "optional-constant" lines.
26891
1b8f2850
JM
26892 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26893 Use -std=c99 for XOPEN2K.
26894 (@knownproblems): Remove.
26895 (newtoken): Don't check %isknown.
26896
a05a144b
JM
26897 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26898 Do not expect macro.
26899 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26900 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26901 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26902 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26903 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26904 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26905 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26906 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26907 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26908 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26909 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26910 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26911 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26912 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26913 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26914 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26915 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26916 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26917 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26918 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26919 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26920 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26921 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26923 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26924 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26925 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26926 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26927 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26928 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26929 [XPG3] (acosh): Likewise.
26930 [XPG3] (asinh): Likewise.
26931 [XPG3] (atanh): Likewise.
26932 [XPG3] (cbrt): Likewise.
26933 [XPG3] (expm1): Likewise.
26934 [XPG3] (ilogb): Likewise.
26935 [XPG3] (log1p): Likewise.
26936 [XPG3] (logb): Likewise.
26937 [XPG3] (nextafter): Likewise.
26938 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26939 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26940 [XPG3] (remainder): Likewise.
26941 [XPG3] (rint): Likewise.
26942 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26943 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26944 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26945 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26946 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26947 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26948 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26949 [UNIX98 || XOPEN2K] (scalb): Expect.
26950 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26951 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26952 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26953 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26954 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26955 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26956 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26957 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26958 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26959 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26960 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26961 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26962 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26963 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26964 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26965 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26966 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26967 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26968 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26969 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26970 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26971 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26972 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26973 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26974 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26975 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26976 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26977 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26978 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26979 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26980 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26981 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26982 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26983 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26984 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26985 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26986 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26987 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26988 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26989 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26990 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26991 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26992 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26993 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26994 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26995 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26996 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26997 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26998 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26999 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27000 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27001 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27002 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27003 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27004 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27005 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27006 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27007 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27008 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27009 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27010 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27011 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27012 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27013 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27014 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27015 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27016 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27017 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27018 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27019 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27020 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27021 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27022 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27023 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27024 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27025 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27026 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27027 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27028 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27029 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27030 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27031 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27032 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27033 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27034 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27035 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27036 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27037 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27038 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27039 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27040 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27041 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27042 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27043 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27044 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27045 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27046 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27047 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27048 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27049 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27050 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27051 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27052 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27053 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27054 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27055 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27056 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27057 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27058 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27059 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27060 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27061 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27062 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27063 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27064 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27065 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27066 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27067 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27068 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27069 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27070 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27071 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27072 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27073 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27074 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27075 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27076 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27077 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27078 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27079 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27080 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27081 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27082 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27083 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27084 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27085 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27086 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27087
73c5ebe3
JM
27088 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27089 _XOPEN_SOURCE_EXTENDED for XPG4.
27090
39c33b6c
JM
27091 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27092
62fde54f
JM
27093 * Makeconfig (localtime): Remove variable.
27094 (inst_localtime-file): Likewise.
27095
0741d64c
AS
270962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27097
27098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27099 Update.
27100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27101 Update.
27102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27103 Update.
27104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27105 Update.
27106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27107 Update.
27108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27109 Update.
27110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27111 Update.
27112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27113 Update.
27114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27115 Update.
27116
7cb029ee
JM
271172012-05-01 Joseph Myers <joseph@codesourcery.com>
27118
27119 [BZ #2550]
27120 [BZ #2570]
27121 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27122 comparisons to determine direction to adjust input.
27123 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27124 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27126 Likewise.
27127 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27128 Likewise.
27129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27130 Likewise.
27131 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27132 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27133 Likewise.
27134 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27135 Likewise.
27136 * math/libm-test.inc (nexttoward_test): Add more tests.
27137
412bd966
AS
271382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27139
27140 [BZ #14040]
27141 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27142 in version GLIBC_2.1, not GLIBC_2.0.
27143 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27144 Likewise.
27145
9568c0c2
JM
271462012-04-30 Joseph Myers <joseph@codesourcery.com>
27147
adfbc8ac
JM
27148 [BZ #13942]
27149 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27150 (1 - x) * (1 + x).
27151 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27152 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27153 * math/libm-test.inc (acos_test): Add more tests.
27154 (asin_test): Likewise.
27155 * sysdeps/i386/fpu/libm-test-ulps: Update.
27156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27157
5ba3cc69
JM
27158 [BZ #14034]
27159 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27160 of square root.
27161 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27162 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27163 * math/libm-test.inc (acos_test_tonearest): New function.
27164 (acos_test_towardzero): Likewise.
27165 (acos_test_downward): Likewise.
27166 (acos_test_upward): Likewise.
27167 (asin_test_tonearest): Likewise.
27168 (asin_test_towardzero): Likewise.
27169 (asin_test_downward): Likewise.
27170 (asin_test_upward): Likewise.
27171 (main): Call the new functions.
27172 * sysdeps/i386/fpu/libm-test-ulps: Update.
27173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27174
9568c0c2
JM
27175 [BZ #13884]
27176 [BZ #13924]
27177 * math/e_exp10.c: Include <float.h>.
27178 (__ieee754_exp10): Handle underflow here rather than multiplying
27179 large negative argument by M_LN10.
27180 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27181 of __ieee754_expf.
27182 * math/e_exp10l.c: Include <float.h>.
27183 (__ieee754_exp10l): Handle underflow here rather than multiplying
27184 large negative argument by M_LN10l.
27185 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27186 spurious overflow exception on underflow.
27187
5ac3ea17
MP
271882012-04-29 Marek Polacek <polacek@redhat.com>
27189
27190 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27191 (__fortify_function): New macro.
27192 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27193 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27194 __extern_always_inline.
27195 * libio/bits/stdio2.h: Likewise.
27196 * libio/bits/stdio.h: Likewise.
27197 * string/string.h: Likewise.
27198 * string/bits/string3.h: Likewise.
27199 * include/stdio.h: Likewise.
27200 * stdlib/bits/stdlib.h: Likewise.
27201 * stdlib/stdlib.h: Likewise.
27202 * rt/bits/mqueue2.h: Likewise.
27203 * rt/mqueue.h: Likewise.
27204 * posix/bits/unistd.h: Likewise.
27205 * posix/unistd.h: Likewise.
27206 * io/bits/poll2.h: Likewise.
27207 * io/bits/fcntl2.h: Likewise.
27208 * io/fcntl.h: Likewise.
27209 * io/sys/poll.h: Likewise.
27210 * misc/bits/syslog.h: Likewise.
27211 * misc/bits/syslog-ldbl.h: Likewise.
27212 * misc/sys/syslog.h: Likewise.
27213 * socket/bits/socket2.h: Likewise.
27214 * socket/sys/socket.h: Likewise.
27215 * debug/tst-chk1.c: Likewise.
27216 * wcsmbs/bits/wchar2.h: Likewise.
27217 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27218 * wcsmbs/wchar.h: Likewise.
27219
ecf0ebfb
AJ
272202012-04-29 Andreas Jaeger <aj@suse.de>
27221
27222 * Makerules (tests): Remove enable-check-abi protection.
27223 (check-abi-warn): Remove.
27224 (check-abi-%): Remove check-abi-warn usage.
27225
27226 * configure.in: Remove check-abi configure option.
27227 * configure: Regenerated.
27228 * config.make.in (enable-check-abi): Remove.
27229
6d5c57fa
AS
272302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27231
24c5d07e 27232 [BZ #14033]
ded5180a
AS
27233 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27234 double functions to double *_finite functions.
27235
7e0d315d
AS
27236 [BZ #13941]
27237 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27238 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27239 LDBL_MIN_EXP.
27240 * stdio-common/Makefile (tests): Add tst-sprintf3.
27241 * stdio-common/tst-sprintf3.c: New file.
27242
6d5c57fa
AS
27243 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27244 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27245
0749ff8b
JM
272462012-04-28 Joseph Myers <joseph@codesourcery.com>
27247
27248 * conform/conformtest.pl: Remove duplicate typed-constant
27249 handling.
27250
8dbd5d7b
DM
272512012-04-28 David S. Miller <davem@davemloft.net>
27252
27253 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27254 (check-abi-%): Remove AWK script prerequisite and explicit
27255 abilist directory.
27256 (check-abi): Rewrite to just diff the symlist with the abilist.
27257 (config-tls, config-abi-config): Delete, no longer used.
27258 (update-abi-%): Remove AWK script and explicit abilist directory.
27259 (update-abi): Rewrite to simply compare and conditionally copy the
27260 symlist and the sysdep abilist file. Remove update-abi-config
27261 checks.
27262 * abilist/ld.abilist: Remove.
27263 * abilist/libBrokenLocale.abilist: Remove.
27264 * abilist/libanl.abilist: Remove.
27265 * abilist/libcrypt.abilist: Remove.
27266 * abilist/libdl.abilist: Remove.
27267 * abilist/librt.abilist: Remove.
27268 * abilist/libthread_db.abilist: Remove.
27269 * abilist/libutil.abilist: Remove.
27270 * scripts/extract-abilist.awk: Remove.
27271 * scripts/merge-abilist.awk: Remove.
27272 * sysdeps/generic/libcidn.abilist: New file.
27273 * sysdeps/generic/libnss_compat.abilist: New file.
27274 * sysdeps/generic/libnss_db.abilist: New file.
27275 * sysdeps/generic/libnss_dns.abilist: New file.
27276 * sysdeps/generic/libnss_files.abilist: New file.
27277 * sysdeps/generic/libnss_hesiod.abilist: New file.
27278 * sysdeps/generic/libnss_nis.abilist: New file.
27279 * sysdeps/generic/libnss_nisplus.abilist: New file.
27280 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27281 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27282 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27283 file.
27284 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27285 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27286 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27287 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27288 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27289 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27290 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27291 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27292 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27293 file.
27294 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27295 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27296 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27297 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27298 file.
27299 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27300 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27301 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27302 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27303 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27304 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27305 file.
27306 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27307 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27308 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27309 file.
27310 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27312 New file.
27313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27314 New file.
27315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27316 New file.
27317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27318 New file.
27319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27320 New file.
27321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27322 New file.
27323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27324 New file.
27325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27326 New file.
27327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27328 New file.
27329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27330 New file.
27331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27332 New file.
27333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27334 New file.
27335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27336 New file.
27337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27338 file.
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27340 New file.
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27342 New file.
27343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27344 file.
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27346 New file.
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27348 New file.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27350 file.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27352 New file.
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27354 New file.
27355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27356 New file.
27357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27358 New file.
27359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27360 New file.
27361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27362 New file.
27363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27365 file.
27366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27367 New file.
27368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27369 file.
27370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27371 file.
27372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27373 file.
27374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27375 file.
27376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27377 file.
27378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27379 New file.
27380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27381 file.
27382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27383 file.
27384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27385 New file.
27386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27387 file.
27388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27390 file.
27391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27392 New file.
27393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27394 file.
27395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27396 file.
27397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27398 file.
27399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27400 file.
27401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27402 file.
27403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27404 New file.
27405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27406 file.
27407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27408 file.
27409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27410 New file.
27411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27412 file.
27413 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27414 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27415 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27416 file.
27417 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27418 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27419 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27420 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27421 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27422 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27423 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27424 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27425 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27426 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27429 file.
27430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27431 New file.
27432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27433 file.
27434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27435 file.
27436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27437 file.
27438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27439 file.
27440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27441 file.
27442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27443 New file.
27444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27445 New file.
27446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27447 file.
27448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27449 New file.
27450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27451 file.
27452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27454 file.
27455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27456 New file.
27457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27458 file.
27459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27460 file.
27461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27462 file.
27463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27464 file.
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27466 file.
27467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27468 New file.
27469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27470 New file.
27471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27472 file.
27473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27474 New file.
27475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27476 file.
27477
41d73a1b
JM
274782012-04-28 Joseph Myers <joseph@codesourcery.com>
27479
27480 * conform/conformtest.pl: Fix typo in handling typed-constant from
27481 allow-header.
27482
28aeeda4
JM
274832012-04-27 Joseph Myers <joseph@codesourcery.com>
27484
adae8f5e
JM
27485 * README: Cut down references to pre-2.6 Linux kernels and
27486 Linuxthreads. Update lists of configurations in libc and ports
27487 and sort alphabetically. Say "or newer" with Linux kernel version
27488 requirements.
27489
28aeeda4
JM
27490 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27491
a462cb63
RA
274922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27493
27494 [BZ #887]
27495 * math/libm-test.inc (logb_test_downward): New test to expose
27496 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27497 rounding mode.
27498
6ad3493e
JM
274992012-04-27 Joseph Myers <joseph@codesourcery.com>
27500
27501 [BZ #14027]
27502 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27503 to be done.
27504 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27505 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27506
2ce4f015
JM
275072012-04-26 Joseph Myers <joseph@codesourcery.com>
27508
5aeb141a
JM
27509 * sysdeps/unix/i386/brk.S: Remove file.
27510 * sysdeps/unix/i386/dl-brk.S: Likewise.
27511 * sysdeps/unix/i386/pipe.S: Likewise.
27512 * sysdeps/unix/i386/sigreturn.S: Likewise.
27513 * sysdeps/unix/i386/syscall.S: Likewise.
27514 * sysdeps/unix/i386/vfork.S: Likewise.
27515 * sysdeps/unix/i386/wait.S: Likewise.
27516
7143acae
JM
27517 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27518 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27519
2ce4f015
JM
27520 * configure.in (arm*-none*): Do not allow without
27521 --enable-hacker-mode.
27522 (netbsd*): Remove case setting base_os.
27523 (386bsd*): Likewise.
27524 (freebsd*): Likewise.
27525 (bsdi*): Likewise.
27526 (osf*): Likewise.
27527 (sunos*): Likewise.
27528 (ultrix*): Likewise.
27529 (newsos*): Likewise.
27530 (dynix*): Likewise.
27531 (*bsd*): Likewise.
27532 (sysv*): Likewise.
27533 (isc*): Likewise.
27534 (esix*): Likewise.
27535 (sco*): Likewise.
27536 (minix*): Likewise.
27537 (irix4*): Likewise.
27538 (irix6*): Likewise.
27539 (solaris[2-9]*): Likewise.
27540 (none): Likewise.
27541 * configure: Regenerated.
27542
0ac229c8
AZ
275432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27544
27545 [BZ #11521]
27546 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27547 overflow or cancellation in calculating denominator.
27548 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27550 down expression to avoid unexpected rounding in newer GCCs.
27551 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27552
33f244f4
DM
275532012-04-26 David S. Miller <davem@davemloft.net>
27554
27555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27556 long-double compat symbols.
27557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27570
cfa1f3e8
DM
275712012-04-25 David S. Miller <davem@davemloft.net>
27572
27573 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27574 HWCAP_* values only after the memory barriers have been defined.
27575 (atomic_full_barrier): Define.
27576 (atomic_read_barrier): Define.
27577 (atomic_write_barrier): Define.
27578
6e236b92
SP
275792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27580
27581 * shlib-versions: Add libgcc_s version information.
27582 * sysdeps/generic/libgcc_s.h: Remove.
27583 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27584 libgcc_s.h.
27585 * sysdeps/gnu/unwind-resume.c: Likewise.
27586 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27587
aab39a09
DM
275882012-04-25 David S. Miller <davem@davemloft.net>
27589
27590 * sysdeps/unix/sparc/brk.S: Delete.
27591 * sysdeps/unix/sparc/dl-brk.S: Delete.
27592 * sysdeps/unix/sparc/pipe.S: Delete.
27593 * sysdeps/unix/sparc/sysdep.S: Delete.
27594 * sysdeps/unix/sparc/sysdep.h: Delete.
27595 * sysdeps/unix/sparc/vfork.S: Delete.
27596 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27597 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27599 ret_ERRVAL, r0, r1, MOVE): Define.
27600 (JUMPTARGET): Remove.
27601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27602 sysdeps/unix/sparc/sysdep.h
27603 (ENTRY, END): Remove.
27604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27605
a3cc4f48
JM
276062012-04-25 Joseph Myers <joseph@codesourcery.com>
27607
2ed8cda2
JM
27608 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27609 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27610 -DIS_IN_build.
27611
35d76d59
JM
27612 * timezone/README: Update upstream location and email address for
27613 tzcode and tzdata.
27614 * timezone/zdump.c: Update from tzcode 2012b.
27615 * timezone/zic.c: Likewise.
27616
a3cc4f48
JM
27617 * configure.in (libc_cv_as_needed): Remove test.
27618 * configure: Regenerated.
27619 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27620 conditional definition.
27621 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27622 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27623 * config.make.in (have-as-needed): Remove variable.
27624
ceab42c3
SP
276252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27626 Paul Pluzhnikov <ppluzhnikov@google.com>
27627
27628 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27629 strings correctly.
27630
3ce2865f
CLT
276312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27632
27633 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27634 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27635 * sysdeps/sh/strlen.S: Likewise.
27636
f37e0d68
JM
276372012-04-24 Joseph Myers <joseph@codesourcery.com>
27638
ae186e9a
JM
27639 * sysdeps/unix/fork.S: Remove file.
27640 * sysdeps/unix/i386/fork.S: Likewise.
27641 * sysdeps/unix/sparc/fork.S: Likewise.
27642
b96914af
JM
27643 * sysdeps/unix/system.c: Remove file.
27644 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27645
f37e0d68
JM
27646 * sysdeps/unix/getegid.S: Remove file.
27647 * sysdeps/unix/geteuid.S: Likewise.
27648
87ef29ca
RM
276492012-04-24 Roland McGrath <roland@hack.frob.com>
27650
83bcd236
RM
27651 * scripts/check-localplt.awk: New file.
27652 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27653 of diff.
27654 * scripts/data/localplt-generic.data: Add a comment.
27655
87ef29ca
RM
27656 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27657 NODE when __dir_mkfile failed.
27658 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27659 Reported by Ludovic Courtès <ludo@gnu.org>.
27660
e5a6e567
AJ
276612012-04-24 Andreas Jaeger <aj@suse.de>
27662
27663 * Makerules (common-clean): Also remove gen-as-const-headers
27664 files.
27665
c1820385
JM
276662012-04-24 Joseph Myers <joseph@codesourcery.com>
27667
27668 * Makerules (native-compile): Do not change working directory for
27669 build. Use $(OUTPUT_OPTION) in command.
27670 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27671
94e02fc4
AZ
276722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27673
27674 [BZ #13886]
27675 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27676 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27677 * math/libm-test.inc (floor_test): Add more tests.
27678 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27679
3a533ca3
JM
276802012-04-24 Joseph Myers <joseph@codesourcery.com>
27681
940ab4b3
JM
27682 * sysdeps/unix/getdents.c: Remove file.
27683 * sysdeps/unix/sysv/getdents.c: Likewise.
27684 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27685
90e037bd
JM
27686 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27687 sysdeps/unix/mman/syscalls.list.
27688 (mmap): Likewise.
27689 (mprotect): Likewise.
27690 (msync): Likewise.
27691 (munmap): Likewise.
27692 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27693 * sysdeps/unix/mman/syscalls.list: Remove.
27694 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27695
3a533ca3
JM
27696 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27697 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27698 * configure: Regenerated.
27699 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27700 $(libgcc_s_suffix).
27701 * config.make.in (libgcc_s_suffix): Remove variable.
27702
1ad743de
JM
277032012-04-23 Joseph Myers <joseph@codesourcery.com>
27704
4ad451e2
JM
27705 * sysdeps/unix/sysv/gethostname.c: Move to ...
27706 * sysdeps/posix/gethostname.c: ... here.
27707
5e37ce39
JM
27708 * sysdeps/unix/execve.S: Remove file.
27709
1ad743de
JM
27710 * sysdeps/unix/_exit.S: Remove file.
27711
4e681b5b
AJ
277122012-04-23 Andreas Jaeger <aj@suse.de>
27713
27714 [BZ #13739]
27715 * manual/Makefile: Remove make dist support, there's no
27716 need for a stand-alone documentation tar ball.
27717 (TEXI2DVI): Define always, it's not in Makeconfig.
27718 (dist): Removed.
27719 (tar-it): Removed.
27720 (edition): Removed.
27721 (glibc-doc-$(edition).tar): Removed
27722 (%.Z): Removed.
27723 (%.gz): Removed.
27724 (%.uu): Removed.
27725 (ETAGS): Remove, it's in Makeconfig.
27726 (move-if-change): Remove, it's in Makeconfig.
27727
38686a03 277282012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
27729
27730 [BZ #13970]
27731 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27732 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27733 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27734 (strtod_l, strtof_l, strtold_l): Remove __wur.
27735 It is not necessarily an error to ignore strtol's return value.
27736 One can reliably look at the stored endptr to decide whether
27737 the number had valid syntax.
27738
7c0616fa
AJ
277392012-04-21 Andreas Jaeger <aj@suse.de>
27740
803cb6b7 27741 [BZ #13739]
7c0616fa
AJ
27742 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27743
b0fe253f
JM
277442012-04-21 Joseph Myers <joseph@codesourcery.com>
27745
27746 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27747 * sysdeps/unix/sysv/Versions: Remove file.
27748
8280f22d
MT
277492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27750
27751 [BZ #13927]
27752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27753
75ce411f 277542012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
27755
27756 [BZ #7064]
27757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27758 version from __vm86.
27759
097d59fa
JM
277602012-04-20 Joseph Myers <joseph@codesourcery.com>
27761
a90f3bcb
JM
27762 * sysdeps/unix/common/lxstat.c: Remove file.
27763 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27764
edc7ea78
JM
27765 * sysdeps/unix/sysv/Makefile: Remove file.
27766
cb78c221
JM
27767 * sysdeps/unix/sysv/direct.h: Remove file.
27768
efa6a45f
JM
27769 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27770 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27771 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27772 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27773 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27774 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27775 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27776
9c9f2d0c
JM
27777 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27778
4541c83b
JM
27779 * sysdeps/unix/xmknod.c: Remove file.
27780 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27781
f5d153a0
JM
27782 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27783
aa746595
JM
27784 * sysdeps/unix/sysv/i386/time.S: Remove file.
27785
cce5905e
JM
27786 * sysdeps/unix/fxstat.c: Remove file.
27787 * sysdeps/unix/xstat.c: Likewise.
27788 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27789
37fa3841
JM
27790 * sysdeps/unix/sysv/sigaction.c: Remove file.
27791
ff1962a3
JM
27792 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27793 (sysdep_headers): Remove variable.
27794 [termio.h not in sysdep_headers] (generated): Likewise.
27795 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27796 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27797 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27798 * sysdeps/unix/sysv/tcflow.c: Likewise.
27799 * sysdeps/unix/sysv/tcflush.c: Likewise.
27800 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27801 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27802 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27803 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27804 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27805
e7740d31
JM
27806 * sysdeps/unix/siglist.c: Remove file.
27807
ee06f18b
JM
27808 * sysdeps/unix/getppid.S: Remove file.
27809
097d59fa
JM
27810 * sysdeps/unix/mkdir.c: Remove file.
27811 * sysdeps/unix/rmdir.c: Likewise.
27812
ff3d51ec
AS
278132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27814
27815 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27816 ERR_MAX value.
27817 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27818 errlist-compat value.
27819
50f81fd7
DM
278202012-04-18 David S. Miller <davem@davemloft.net>
27821
27822 * sysdeps/generic/memcopy.h (reg_char): Delete.
27823 * debug/strcat_chk.c: Use char, not reg_char.
27824 * debug/strcpy_chk.c: Likewise.
27825 * debug/strncat_chk.c: Likewise.
27826 * debug/strncpy_chk.c: Likewise.
27827 * string/memchr.c: Likewise.
27828 * string/memrchr.c: Likewise.
27829 * string/rawmemchr.c: Likewise.
27830 * string/strcat.c: Likewise.
27831 * string/strchr.c: Likewise.
27832 * string/strchrnul.c: Likewise.
27833 * string/strcmp.c: Likewise.
27834 * string/strcpy.c: Likewise.
27835 * string/strncat.c: Likewise.
27836 * string/strncmp.c: Likewise.
27837 * string/strncpy.c: Likewise.
27838
8ff41c46
WS
278392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27840
27841 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27842 __builtin_memcopy is called when src and dest ranges are known to not
27843 overlap.
27844
6b652f46
WS
278452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27846
27847 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27848 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27849 fwd_align_merge macro call.
27850 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27851 bwd_align_merge macro call.
27852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27853
b282631e
WS
278542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27855
27856 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27857 bwd_align_merge macros.
27858 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27859 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27861
95aa737c
DM
278622012-04-18 David S. Miller <davem@davemloft.net>
27863
27864 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27865
7a99a614
AJ
278662012-04-18 Andreas Jaeger <aj@suse.de>
27867
27868 [BZ# 6794]
27869 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27870 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27871 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27872
27873 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27874 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27875 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27876
27877 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27878 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27879 Adjust for changed ldbl-128 files.
27880
27881 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27882 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27884
e5270c23
DM
278852012-04-17 David S. Miller <davem@davemloft.net>
27886
27887 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27888
fb5e92c9
AS
278892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27890
27891 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27892 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27893 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27894 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27895 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27896 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27897
76da7265
AZ
278982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27899
27900 [BZ #6794]
27901 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27902 * math/libm-test.inc: Add ilogb errno and exception tests.
27903 * math/w_ilogb.c: New file: ilogb wrapper.
27904 * math/w_ilogbf.c: New file: ilogbf wrapper.
27905 * math/w_ilogbl.c: New file: ilogbl wrapper.
27906 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27907 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27908 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27909 exception being thrown with 0.0 as argument.
27910 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27911 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27912 exception being thrown with 0.0 as argument.
27913 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27914 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27915 exception being thrown with 0.0 as argument.
27916 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27917 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27918 exception being thrown with 0.0 as argument.
27919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27920 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 27921 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
27922 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27924 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27925 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27926 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27927 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27928
0396e69d
PB
279292012-04-17 Petr Baudis <pasky@ucw.cz>
27930
27931 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27932 with altivec.
27933
750b5926
MP
279342012-04-16 Marek Polacek <polacek@redhat.com>
27935
27936 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27937
751728a1
MP
279382012-04-16 Marek Polacek <polacek@redhat.com>
27939
27940 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27941 operands of fdivp instruction.
27942
34a27407
L
279432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27944
27945 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27946 * elf/tst-auditmod3b.c: Likewise.
27947 * elf/tst-auditmod4b.c: Likewise.
27948 * elf/tst-auditmod5b.c: Likewise.
27949 * elf/tst-auditmod6b.c: Likewise.
27950 * elf/tst-auditmod6c.c: Likewise.
27951 * elf/tst-auditmod7b.c: Likewise.
27952 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27953 * sysdeps/x86_64/preconfigure.in: Likewise.
27954 * sysdeps/x86_64/preconfigure: Regenerated.
27955
7e73e17d
L
279562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27957
27958 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27959 __ILP32__.
27960
c7a6ab72
AB
279612012-04-13 Antoine Balestrat <merkil33@gmail.com>
27962
27963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27964 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27965
a9e8e0e0
CL
279662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27967
27968 [BZ #13973]
27969 * locale/iso-639.def: Fix gl language name. Spotted by
27970 Yaron Shahrabani.
27971
ec98af7d
RM
279722012-04-12 Roland McGrath <roland@hack.frob.com>
27973
27974 [BZ #2074]
27975 * libio/libio.h (__io_write_fn): Update comment.
27976
247c3ede
PB
279772012-04-12 Petr Baudis <pasky@ucw.cz>
27978
27979 [BZ #2074]
27980 * stdio.texi (Hook Functions): The user provided writer function
27981 is not allowed to return -1.
27982
55939d6d
DM
279832012-04-11 David S. Miller <davem@davemloft.net>
27984
27985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27986
90020f5a
MF
279872012-04-11 Mike Frysinger <vapier@gentoo.org>
27988
27989 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27990 Add a leading slash to rtkaio.
27991
288f9098
JM
279922012-04-11 Jim Meyering <meyering@redhat.com>
27993
90020f5a
MF
27994 [BZ #11959]
27995 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27996 It is not necessarily an error to ignore fwrite's return
27997 value. One can reliably use ferror to test for errors after
27998 the fact.
288f9098 27999
4be2b570
L
280002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28001
28002 * bits/types.h (__snseconds_t): New type.
28003 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28004
28005 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28006 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28007 (__SNSECONDS_T_TYPE): Likewise.
28008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28009 (__SNSECONDS_T_TYPE): Likewise.
28010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28011 (__SNSECONDS_T_TYPE): Likewise.
28012
288f9098 280132012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28014
28015 [BZ #2636]
28016 * manual/time.texi (Processor Time): Return type of times is
28017 elapsed real time since an arbitrary point in the past.
28018 (CPU Time): Move CLK_TCK from here...
28019 (Processor Time): ...to here. Correct description.
28020 * manual/conf.texi (Constants for Sysconf): Correct description of
28021 _SC_CLK_TCK.
28022
d7dd4413
DM
280232012-04-10 David S. Miller <davem@davemloft.net>
28024
28025 [BZ #13967]
28026 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28027 where the is a gap between DT_REL(A) and DT_JMPREL.
28028
b46068fc
L
280292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28030
28031 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28032 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28033 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28034
73d65cc3
SP
280352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28036
28037 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28038 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28039 (dl_main): Handle --inhibit-cache.
28040 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28041 _dl_inhibit_cache.
28042 * elf/dl-load.c (_dl_map_object): Use it.
28043 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28044
bcc8d661
JM
280452012-04-09 Joseph Myers <joseph@codesourcery.com>
28046
8f9a2fae
JM
28047 [BZ #13872]
28048 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28049 (__ieee754_powl): Saturate large exponents rather than testing for
28050 overflow of y*log2(x).
28051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28052 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28053 exceptions.
28054
bcc8d661
JM
28055 [BZ #11521]
28056 * math/s_ctan.c: Include <float.h>.
28057 (__ctan): Avoid internal overflow or cancellation in calculating
28058 denominator.
28059 * math/s_ctanf.c: Likewise.
28060 * math/s_ctanl.c: Likewise.
28061 * math/s_ctanh.c: Likewise.
28062 * math/s_ctanhf.c: Likewise.
28063 * math/s_ctanhl.c: Likewise.
28064 * math/libm-test.inc (ctan_test): Add more tests.
28065 (ctanh_test): Likewise.
28066 * sysdeps/i386/fpu/libm-test-ulps: Update.
28067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28068
823fbbb4
AJ
280692012-04-09 Andreas Jaeger <aj@suse.de>
28070
03879793
AJ
28071 [BZ #6894]
28072 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28073 is an optional BSD extension.
28074
823fbbb4
AJ
28075 [BZ #10254]
28076 * manual/stdio.texi (Opening Streams): Document additional fopen
28077 parameters.
28078
8de131cb
RM
280792012-04-09 Roland McGrath <roland@hack.frob.com>
28080
28081 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28082 %eax without telling the compiler.
28083
c0ed9d7d
CD
280842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28085
28086 [BZ # 13963]
28087 * manual/install.texi: Use sourceware.org.
28088
c483f6b4
JM
280892012-04-09 Joseph Myers <joseph@codesourcery.com>
28090
d7dd9453
JM
28091 [BZ #13873]
28092 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28093 (__ieee754_pow): Generate overflow and underflow using huge*huge
28094 and tiny*tiny rather than just returning constant infinity or zero
28095 for large exponents.
28096 * math/libm-test.inc (pow_test): Require overflow exceptions for
28097 applicable cases of large exponents.
28098
c483f6b4
JM
28099 [BZ #706]
28100 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28101 (__ieee754_pow): Use iterative multiplication algorithm only for
28102 integer exponents with absolute value below 1024. Check for odd
28103 integer exponents when using algorithm for real exponents.
28104 * math/libm-test.inc (pow_test): Add more tests.
28105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28106
d2de7579
JM
281072012-04-08 Joseph Myers <joseph@codesourcery.com>
28108
28109 [BZ #13705]
28110 * math/libm-test.inc (exp_test): Do not allow overflow exception
28111 on underflow test.
28112
f77f1232
AJ
281132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28114
28115 [BZ #13705]
28116 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28117 instead of __kernel_standard_f.
28118
3884932b
MF
281192012-04-08 Mike Frysinger <vapier@gentoo.org>
28120
28121 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28122 * sysdeps/x86_64/memset_chk.S: Likewise.
28123
54472e9c
AJ
281242012-04-08 Andreas Jaeger <aj@suse.de>
28125
6ab0fbfc
AJ
28126 [BZ #10153]
28127 * manual/startup.texi (Environment Access): Describe return value
28128 for putenv and setenv.
28129
61efba8c
AJ
28130 [BZ #6895]
28131 * manual/filesys.texi (Directory Entries): Add description for
28132 DT_LNK.
28133
95c3f29a
AJ
28134 [BZ #6890]
28135 * manual/filesys.texi (Directory Entries): Clarify that it's file
28136 system not operating system in the description of DT_UNKNOWN.
28137
54472e9c
AJ
28138 [BZ #6578]
28139 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28140
624254b1
SC
281412012-04-08 Stephen Compall <s11@member.fsf.org>
28142
28143 [BZ #6649]
28144 * manual/llio.texi (Opening and Closing Files): Add cross
28145 reference to explain mode argument.
28146
1e4920e0
MF
281472012-04-07 Mike Frysinger <vapier@gentoo.org>
28148
28149 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28150 * sysdeps/x86_64/memset_chk.S: Likewise.
28151
5ed848f3
DM
281522012-04-07 David S. Miller <davem@davemloft.net>
28153
28154 * elf/elf.h (R_SPARC_WDISP10): Define.
28155 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28156 R_SPARC_SIZE32.
28157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28158 R_SPARC_SIZE64 and R_SPARC_H34.
28159
96154cd8
CD
281602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28161
28162 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28163 conditions and remove no longer applicable assertion.
28164
9904dc47
L
281652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * bits/byteswap.h: Include <features.h>.
28168 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28169 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28170
f8887d0a
L
281712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28172
28173 * bits/byteswap.h (__bswap_16): Removed.
28174 Include <bits/byteswap-16.h> to get __bswap_16.
28175 * sysdeps/i386/bits/byteswap.h: Likewise.
28176 * sysdeps/s390/bits/byteswap.h: Likewise.
28177 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28178 * bits/byteswap-16.h: New file.
28179 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28180 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28181 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28182 * string/Makefile (headers): Add bits/byteswap-16.h.
28183
62470f60
PP
281842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28185
28186 [BZ #13895]
28187 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28188 extra indirection.
28189 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28190 * nss/tst-nss-static.c: New.
28191
4dad7bab
RM
281922012-04-06 Robert Millan <rmh@gnu.org>
28193
28194 [BZ #6486]
28195 * manual/llio.texi (File Position Primitive): lseek
28196 refers to WHENCE when it really means OFFSET.
28197
e9142a17
AJ
281982012-04-06 Andreas Jaeger <aj@suse.de>
28199
2c040eff
AJ
28200 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28201 strncmp declarations.
28202
e9142a17
AJ
28203 * abilist/libc.abilist: Add __poll and __ppoll.
28204
ff9f1c5f
DM
282052012-04-05 David S. Miller <davem@davemloft.net>
28206
dcd2ae90
DM
28207 * scripts/check-local-headers.sh: Accept a host triplet in the
28208 path matched by the exclude regexp.
28209
993eb054
DM
28210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28211 definition.
28212 * sysdeps/powerpc/powerpc32/dl-machine.h
28213 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28214 * sysdeps/s390/s390-32/dl-machine.h
28215 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28216 * sysdeps/sparc/sparc32/dl-machine.h
28217 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28218 * sysdeps/sparc/sparc64/dl-machine.h
28219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28220
ff9f1c5f
DM
28221 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28222 lazy binding.
48e2e132 28223 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28224 undefined symbol errors.
28225
48e2e132 28226 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28227 DT_NEEDED entries.
28228
e80d6f94
MM
282292012-04-05 Michael Matz <matz@suse.de>
28230
28231 [BZ #13592]
28232 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28233
349fa79f
AJ
282342012-04-05 Andreas Jaeger <aj@suse.de>
28235
28236 [BZ #13908]
28237 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28238 comment.
28239
f402708f
KK
282402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28241
28242 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28243 which ROUND is no valid rounding mode.
28244
2ecccfc9
KK
282452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28246
28247 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28248 read again.
28249 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28250
8a53f50f
KK
282512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28252
28253 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28254 an exception using FPU order intentionally.
28255
282562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28257
28258 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28259 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28260 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28261 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28262
d653abb7
SJ
282632012-04-05 Simon Josefsson <simon@josefsson.org>
28264
28265 [BZ #12340]
28266 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28267 EINVAL when BUFLEN is too smal.
28268
c3b1bf7d
TS
282692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28270
28271 [BZ #13553]
28272 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28273 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28274
b1aa60f3
AJ
282752012-04-03 Andreas Jaeger <aj@suse.de>
28276
c3b1bf7d 28277 [BZ #13938]
67f60a26
AJ
28278 * manual/setjmp.texi (System V contexts): Fix sentence.
28279
b1aa60f3
AJ
28280 [BZ #13926]
28281 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28282 New macro for this case.
28283 [!__GNUC__] (__bswap_64): New inline function for this case.
28284 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28285 * bits/byteswap.h: Likewise.
28286 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28287 ull, guard with __GLIBC_HAVE_LONG_LONG.
28288
28289 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28290 __GLIBC_HAVE_LONG_LONG.
28291
28292 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28293 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28294
39c59c35
TMQMF
282952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28296
28297 [BZ #13691]
28298 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28299 inptr and inend, rather than using last_ch.
28300
135ffda8
DM
283012012-04-02 David S. Miller <davem@davemloft.net>
28302
28303 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28304 * stdio-common/printf-parse.h (read_int): Change return type to
28305 'int', return -1 on INT_MAX overflow.
28306 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28307 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28308 overflows INT_MAX. Check for overflow of in-format-string precision
28309 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28310 SIZE_MAX not INT_MAX for integer overflow test.
28311 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28312 skip the construct in the format string but do not record anything.
28313 * stdio-common/bug22.c: Adjust to test both width/prevision
28314 INT_MAX overflow as well as total length INT_MAX overflow. Check
28315 explicitly for proper errno values.
28316
228c019e
TS
283172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28318
302cadd3
TS
28319 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28320 CHAR_MAX.
28321 * string/test-strcmp.c [! WIDE]: Likewise.
28322 * time/tst-mktime2.c: Likewise for INT_MAX.
28323 * string/test-string.h: #include <sys/param.h> for MIN.
28324
228c019e
TS
28325 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28326 * sysdeps/i386/init-first.c (init): Likewise.
28327 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28328 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28329 * sysdeps/sh/init-first.c (init): Likewise.
28330
cfa633f5
UD
283312012-04-01 Ulrich Drepper <drepper@gmail.com>
28332
28333 * po/ru.po: Update from translation team.
d1635ef8 28334 * po/vi.po: Likewise.
cfa633f5 28335
6cd0a5ea
SP
283362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28337
28338 * resolv/nss_dns/dns-host.c: Merge copyright years.
28339
4b43400f
LD
283402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28341
28342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28343 Optimize memcpy with prefetch if
28344 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28345 src, dst pointers have unequal 16 byte alignments.
28346
48c41d04
SP
283472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28348
28349 [BZ #13928]
28350 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28351 from a CNAME entry and return the minimum ttl for the query.
28352 (gaih_getanswer_slice): Likewise.
28353
b8dc394d
JL
283542012-03-30 Jeff Law <law@redhat.com>
28355
28356 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28357 due to long keys.
28358 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28359 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28360
2f5a5ed0
JL
28361 * resolv/nss_dns/dns-host.c: Update copyright year.
28362
1d39e359
UD
283632012-03-30 Ulrich Drepper <drepper@gmail.com>
28364
c030f70c 28365 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28366 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28367
1d39e359
UD
28368 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28369 comments for sendmmsg.
28370
283712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28372
28373 [BZ #13691]
28374 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28375 with only 1 character between 0x0041 and 0x01b0.
28376 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28377 * wcsmbs/tst-mbsnrtowcs.c: New file.
28378
20fde227
DM
283792012-03-29 David S. Miller <davem@davemloft.net>
28380
28381 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28382 small copies by hand.
28383
984a4237
JL
283842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28385
28386 [BZ #13761]
28387 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28388 _nss_compat_initgroups_dyn): Fall back to malloc/free
28389 for large group memberships.
28390
18c9d62b
DM
283912012-03-28 David S. Miller <davem@davemloft.net>
28392
88d85d4f
DM
28393 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28394 that branches into memcpy.
28395 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28396 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28397 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28398 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28400 bits.
28401 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28402 implementation too.
28403 * sysdeps/sparc/mempcpy.S: New file.
28404
e5aa83e1
DM
28405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28406 the IFUNC routine in the libc case.
28407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28408
88570753
DM
28409 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28410 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28411 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28412 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28413 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28414 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28415 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28416 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28417
249d7567
DM
28418 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28419 loop to 256 bytes instead of 64 bytes and fix test signedness.
28420
18c9d62b
DM
28421 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28422 * sysdeps/sparc/sparc32/Makefile: rather than here...
28423 * sysdeps/sparc/sparc64/Makefile: and here.
28424
05f3d1f6
UD
284252012-03-28 Ulrich Drepper <drepper@gmail.com>
28426
28427 * malloc/mallocbug.c: Avoid warnings about unused variables.
28428
86ae07a8
JL
284292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28430
28431 [BZ #13760]
28432 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28433 in the right place. Discard and retry query if response is
28434 larger than input buffer size.
28435
41bf21a1
JM
284362012-03-28 Joseph Myers <joseph@codesourcery.com>
28437
d6270972
JM
28438 [BZ #369]
28439 [BZ #2678]
28440 [BZ #3866]
28441 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28442 x for large integer exponent.
28443 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28444 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28445 sign of result as needed afterwards.
28446 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28447 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28448 result for underflowing pow the same as for overflow.
28449 (__kernel_standard_l): Handle powl overflow and underflow here
28450 rather than calling __kernel_standard.
28451 * math/libm-test.inc (pow_test): Add more tests.
28452
414fca03 28453 [BZ #3868]
41bf21a1
JM
28454 [BZ #13879]
28455 [BZ #13910]
28456 [BZ #13911]
28457 [BZ #13912]
28458 [BZ #13913]
28459 [BZ #13915]
28460 [BZ #13916]
28461 [BZ #13917]
28462 [BZ #13918]
28463 [BZ #13919]
28464 [BZ #13920]
28465 [BZ #13921]
28466 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28467 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28468 (__kernel_standard_l): New function.
28469 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28470 __kernel_standard.
28471 * math/w_acosl.c (__acosl): Likewise.
28472 * math/w_asinl.c (__asinl): Likewise.
28473 * math/w_atan2l.c (__atan2l): Likewise.
28474 * math/w_atanhl.c (__atanhl): Likewise.
28475 * math/w_coshl.c (__coshl): Likewise.
28476 * math/w_exp10l.c (__exp10l): Likewise.
28477 * math/w_exp2l.c (__exp2l): Likewise.
28478 * math/w_fmodl.c (__fmodl): Likewise.
28479 * math/w_hypotl.c (__hypotl): Likewise.
28480 * math/w_j0l.c (__j0l, __y0l): Likewise.
28481 * math/w_j1l.c (__j1l, __y1l): Likewise.
28482 * math/w_jnl.c (__jnl, __ynl): Likewise.
28483 * math/w_lgammal.c (__lgammal): Likewise.
28484 * math/w_log10l.c (__log10l): Likewise.
28485 * math/w_log2l.c (__log2l): Likewise.
28486 * math/w_logl.c (__logl): Likewise.
28487 * math/w_powl.c (__powl): Likewise.
28488 * math/w_remainderl.c (__remainderl): Likewise.
28489 * math/w_scalbl.c (sysv_scalbl): Likewise.
28490 * math/w_sinhl.c (__sinhl): Likewise.
28491 * math/w_sqrtl.c (__sqrtl): Likewise.
28492 * math/w_tgammal.c (__tgammal): Likewise.
28493 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28494 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28495 * math/libm-test.inc (acos_test): Add more tests.
28496 (acosh_test): Likewise.
28497 (asin_test): Likewise.
28498 (atanh_test): Likewise.
28499 (exp_test): Likewise.
28500 (exp10_test): Likewise.
28501 (exp2_test): Likewise.
28502 (expm1_test): Likewise.
28503 (lgamma_test): Likewise.
28504 (log_test): Likewise.
28505 (log10_test): Likewise.
28506 (log1p_test): Likewise.
28507 (log2_test): Likewise.
28508 (pow_test): Do not allow some spurious overflow exceptions.
28509 (sqrt_test): Add more tests.
28510 (tgamma_test): Likewise.
28511 (y0_test): Likewise.
28512 (y1_test): Likewise.
28513 (yn_test): Likewise.
28514
dd62fda6
AB
285152012-03-27 Anton Blanchard <anton@samba.org>
28516
28517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28518 MAP_HUGETLB.
28519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28522
1e3cdfda
AJ
285232012-03-27 David S. Miller <davem@davemloft.net>
28524
b855ab85
DM
28525 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28526
1e3cdfda
AJ
28527 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28528 have-as-vis3 check.
28529
285302012-03-27 Andreas Jaeger <aj@suse.de>
28531
28532 * sysdeps/x86_64/elf/configure.in: Moved to ...
28533 * sysdeps/x86_64/configure.in: ... here.
28534 * sysdeps/x86_64/elf/start.S: Moved to ...
28535 * sysdeps/x86_64/start.S: ... here.
28536 * sysdeps/x86_64/elf/configure: Delete.
28537
28538 * sysdeps/x86_64/configure.in: Merge contents from
28539 sysdeps/i386/configure.in (without i686 check).
28540
28541 * sysdeps/i386/elf/Versions: Merge into ...
28542 * sysdeps/i386/Versions: ... this.
28543 * sysdeps/i386/elf/Versions: Delete file.
28544 * sysdeps/i386/elf/start.S: Moved to ...
28545 * sysdeps/i386/start.S: ...here.
28546 * sysdeps/i386/elf/configure.in: Merge into...
28547 * sysdeps/i386/configure.in: ...here.
28548 * sysdeps/i386/elf/configure.in: Delete file.
28549 * sysdeps/i386/elf/configure: Delete file.
28550
28551 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28552 * debug/backtracesyms.c: ... here.
28553 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28554 * debug/backtracesymsfd.c: ... here.
28555 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28556 * sysdeps/generic/ifunc-sel.h: ... here.
28557
28558 * sysdeps/unix/i386/start.c: Delete file.
28559 * sysdeps/unix/sparc/start.c: Delete file.
28560 * sysdeps/unix/start.c: Delete file.
28561
28562 * sysdeps/sh/elf/configure.in: Moved to ...
28563 * sysdeps/sh/configure.in: ... here.
28564 * sysdeps/sh/elf/start.S: Moved to ...
28565 * sysdeps/sh/start.S: ... here.
28566 * sysdeps/sh/elf/configure: Delete file.
28567
28568 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28569 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28570 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28571 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28572 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28573 * sysdeps/powerpc/powerpc64/start.S: here.
28574 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28575 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28576 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28577 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28578 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28579
28580 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28581 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28582 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28583 * sysdeps/powerpc/powerpc32/start.S: ... here.
28584 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28585 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28586 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28587
28588 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28589 * sysdeps/powerpc/ifunc-sel.h: ... here.
28590 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28591 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28592
28593 * sysdeps/sparc/elf/configure.in: Moved to ...
28594 * sysdeps/sparc/configure.in: ... here.
28595 * sysdeps/sparc/elf/configure: Delete file.
28596 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28597 * sysdeps/sparc/sparc32/start.S: ... here.
28598 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28599 * sysdeps/sparc/sparc64/start.S: ... here.
28600 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28601 * sysdeps/sparc/sparc32/Makefile: ... this.
28602 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28603 * sysdeps/sparc/sparc64/Makefile: ... this.
28604
28605 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28606 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28607 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28608 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28609 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28610 * sysdeps/s390/s390-32/setjmp.S: ... here.
28611 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28612 * sysdeps/s390/s390-32/configure.in: ... here.
28613 * sysdeps/s390/s390-32/elf/configure: Delete file.
28614 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28615 * sysdeps/s390/s390-32/start.S: ... here.
28616
28617 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28618 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28619 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28620 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28621 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28622 * sysdeps/s390/s390-64/setjmp.S: ... here.
28623 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28624 * sysdeps/s390/s390-64/configure.in: ... here
28625 * sysdeps/s390/s390-64/elf/configure: Delete file.
28626 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28627 * sysdeps/s390/s390-64/start.S: ... here.
28628 * sysdeps/s390/s390-64/elf/configure: Delete.
28629
28630 * configure.in: Remove support for elf directories in sysdeps.
28631
28632 * configure: Regenerated.
28633 * sysdeps/i386/configure: Regenerated.
28634 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28635 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28636 * sysdeps/s390/s390-32/configure: Regenerated.
28637 * sysdeps/s390/s390-64/configure: Regenerated.
28638 * sysdeps/sh/configure: Regenerated.
28639 * sysdeps/sparc/configure: Regenerated.
28640 * sysdeps/x86_64/configure: Regenerated.
28641
a3f61311
AS
286422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28643
c876e002
AS
28644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28645
a3f61311
AS
28646 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28647 denormal result into account.
28648
ac4c54f0
RM
286492012-03-25 Roland McGrath <roland@hack.frob.com>
28650
28651 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28652 Reported by Allan McRae <allan@archlinux.org>.
28653
6a9b9c02
JL
286542012-03-23 Jeff Law <law@redhat.com>
28655
28656 * nss/getnssent.c (__nss_getent): Fix typo.
28657
4c42a0c1
DM
286582012-03-23 David S. Miller <davem@davemloft.net>
28659
28660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28661
1532c7ac
L
286622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28663
28664 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28665 to pad to uint64_t for each field.
28666 (dl_tls_index): Replace unsigned long with uint64_t.
28667
3ff42526
PP
286682012-03-23 Daniel Jacobowitz <dmj@google.com>
28669 Paul Pluzhnikov <ppluzhnikov@google.com>
28670
28671 [BZ #6528]
28672 * grp/Makefile (otherlibs): Don't set it.
28673 * inet/Makefile (otherlibs): Likewise.
28674 * login/Makefile (otherlibs): Likewise.
28675 * nscd/Makefile (otherlibs): Likewise.
28676 * posix/Makefile (otherlibs): Likewise.
28677 * pwd/Makefile (otherlibs): Likewise.
28678 * rt/Makefile (otherlibs): Likewise.
28679 * sunrpc/Makefile (otherlibs): Likewise.
28680 * nss/Makefile (otherlibs): Likewise.
28681 Add libnss_files to routines and static-only-routines.
28682 ($(objpfx)getent): Remove rule.
28683 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28684 static-only-routines.
28685
7c69cd14
JM
286862012-03-22 Joseph Myers <joseph@codesourcery.com>
28687
28688 [BZ #13892]
28689 * math/s_cexp.c: Include <float.h>.
28690 (__cexp): Handle exp result overflowing not necessarily
28691 overflowing both real and imaginary parts of result.
28692 * math/s_cexpf.c: Likewise.
28693 * math/s_cexpl.c: Likewise.
28694 * math/libm-test.inc (cexp_test): Add more tests.
28695 * sysdeps/i386/fpu/libm-test-ulps: Update.
28696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28697
81b035fe
L
286982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28699
28700 * include/link.h (ELFW): New macro.
28701 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28702 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28703
1da7940c
L
287042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28705
28706 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28707 with uint64_t.
28708
b749dbb9
L
287092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28710
28711 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28712 declaration.
28713 (struct La_x32_retval): Likewise.
28714
2ff87f3f
L
287152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/x86_64/preconfigure.in: New file.
28718 * sysdeps/x86_64/preconfigure: New generated file.
28719
c0df8e69
JM
287202012-03-22 Joseph Myers <joseph@codesourcery.com>
28721
48e44791
JM
28722 [BZ #13824]
28723 * math/e_exp2l.c: Include <float.h>.
28724 (__ieee754_exp2l): Handle overflow and underflow cases
28725 separately. Only pass fractional part of argument to
28726 __ieee754_expl.
28727 * math/libm-test.inc (exp2_test): Add more tests.
28728
c0df8e69
JM
28729 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28730 negating x to take absolute value.
28731 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28732 Likewise.
28733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28735 Likewise.
28736 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28737 computing low part if x was negated.
28738 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28739
c8e43ba7
L
287402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28741
28742 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28743 la_x32_gnu_pltexit.
28744 (pltexit): Cast int_retval to ptrdiff_t.
28745 * elf/tst-auditmod3b.c: Likewise.
28746 * elf/tst-auditmod4b.c: Likewise.
28747 * elf/tst-auditmod5b.c: Likewise.
28748 * elf/tst-auditmod6b.c: Likewise.
28749 * elf/tst-auditmod6c.c: Likewise.
28750 * elf/tst-auditmod7b.c: Likewise.
28751
28752 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28753 and x32_gnu_pltexit.
28754
28755 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28756 __ELF_NATIVE_CLASS.
28757 (La_x32_regs): New macro.
28758 (La_x32_retval): Likewise.
28759 (la_x32_gnu_pltenter): New function prototype.
28760 (la_x32_gnu_pltexit): Likewise.
28761
7998fa78
AS
287622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28763
dcb33988
AS
28764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28765 exponent.
28766
233fc563
AS
28767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28768
7998fa78
AS
28769 * configure.in (libc_cv_cc_nofma): Check for option to disable
28770 generation of FMA instructions.
28771 * configure: Regenerate.
28772 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28773 * sysdeps/ieee754/dbl-64/Makefile: New file.
28774 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28775 Remove brandred-fma4.
28776 (CFLAGS-brandred-fma4.c): Remove.
28777 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28778 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28779 define.
28780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28781 define.
28782
8e95c99a
L
287832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28786 LLONG_MAX != LONG_MAX.
28787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28788 (_fitoa_word): Likewise.
28789 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28790 LLONG_MAX != LONG_MAX.
28791 * stdio-common/_itowa.h: Include <_itoa.h>.
28792 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28793 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28794 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28795 only if not defined.
28796 (_ITOA_WORD_TYPE): Likewise.
28797 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28798 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28799
6f4db457
DM
288002012-03-21 David S. Miller <davem@davemloft.net>
28801
28802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28803
7785fe5a
L
288042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28807 of x86_64 when setting libc_cv_slibdir, libdir and
28808 libc_cv_localedir.
28809 * sysdeps/unix/sysv/linux/configure: Regenerated.
28810
4535cd55
JM
288112012-03-21 Joseph Myers <joseph@codesourcery.com>
28812
28813 * manual/lang.texi (Old Varargs): Remove section.
28814 (How Variadic): Update menu.
28815 (va_start): Do not mention varargs.h.
28816
17228132
TS
288172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28818 Joseph Myers <joseph@codesourcery.com>
28819
28820 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28821 link test.
28822 * configure: Regenerated.
28823
8149f976
TS
288242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28825
05f3d1f6
UD
28826 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28827 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28828 conformtest.pl
8149f976 28829
1a4ac776
JM
288302012-03-21 Joseph Myers <joseph@codesourcery.com>
28831
be22ce65
JM
28832 * NOTES: Remove.
28833 * Makefile (files-for-dist): Remove NOTES.
28834 (NOTES): Remove rule.
28835 * README: Don't refer to NOTES.
28836 * manual/creature.texi: Don't include macros.texi.
28837 * manual/intro.texi (creature.texi): Remove comment referring to
28838 NOTES.
28839
40b601fb
JM
28840 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28841 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28842 * configure: Regenerated.
28843 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28844 LIBC_TRY_CC_OPTION.
28845 (libc_cv_as_i686): Likewise.
28846 (libc_cv_cc_avx): Likewise.
28847 (libc_cv_cc_sse2avx): Likewise.
28848 (libc_cv_cc_fma4): Likewise.
28849 (libc_cv_cc_novzeroupper): Likewise.
28850 * sysdeps/i386/configure: Regenerated.
28851
1a4ac776
JM
28852 [BZ #13883]
28853 * sysdeps/i386/fpu/s_cexp.S: Remove.
28854 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28855 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28856 * math/libm-test.inc (cexp_test): Add more tests.
28857 * sysdeps/i386/fpu/libm-test-ulps: Update.
28858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28859
a458e7fe
AM
288602012-03-21 Allan McRae <allan@archlinux.org>
28861
28862 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28863
0cb7efc5
JM
288642012-03-21 Joseph Myers <joseph@codesourcery.com>
28865
28866 [BZ #13871]
28867 * math/w_exp2.c: Do not include <float.h>.
28868 (o_threshold, u_threshold): Remove.
28869 (__exp2): Calculate result before checking finiteness and calling
28870 __kernel_standard.
28871 * math/w_exp2f.c: Likewise.
28872 * math/w_exp2l.c: Likewise.
28873 * math/libm-test.inc (exp2_test): Require overflow exception for
28874 1e6 input.
2460d3aa
JM
28875
28876 [BZ #3866]
28877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28878 range of signed 64-bit integers before using fistpll. Remove
28879 checks for whether integers fit in mantissa bits.
28880 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28881 the range of signed 32-bit integers before using fistpl. Remove
28882 checks for whether integers fit in mantissa bits.
28883 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28884 (__ieee754_powl): Test for y outside the range of signed 64-bit
28885 integers before using fistpll. Reduce 64-bit values to 63-bit
28886 ones as needed.
28887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28888 divide-by-zero is raised for zero to large negative powers.
28889 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28890 (__ieee754_powl): Test for y outside the range of signed 64-bit
28891 integers before using fistpll. Reduce 64-bit values to 63-bit
28892 ones as needed.
28893 * math/libm-test.inc (pow_test): Add more tests.
28894
eb96ffb0
L
288952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28898 <stdio-common/_itoa.h>.
28899 * debug/segfault.c: Likewise.
28900 * elf/dl-cache.c: Likewise.
28901 * elf/dl-minimal.c: Likewise.
28902 * elf/dl-misc.c: Likewise.
28903 * elf/dl-sysdep.c: Likewise.
28904 * elf/dl-version.c: Likewise.
28905 * elf/rtld.c: Likewise.
28906 * hurd/hurdsock.c: Likewise.
28907 * hurd/lookup-retry.c: Likewise.
28908 * malloc/malloc.c: Likewise.
28909 * malloc/mtrace.c: Likewise.
28910 * nscd/nscd_getgr_r.c: Likewise.
28911 * nscd/nscd_getpw_r.c: Likewise.
28912 * nscd/nscd_getserv_r.c: Likewise.
28913 * posix/getopt_init.c: Likewise.
28914 * posix/wordexp.c: Likewise.
28915 * stdio-common/_itoa.c: Likewise.
28916 * stdio-common/printf_fphex.c: Likewise.
28917 * stdio-common/vfprintf.c: Likewise.
28918 * string/_strerror.c: Likewise.
28919 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28920 * sysdeps/i386/i686/hp-timing.h: Likewise.
28921 * sysdeps/mach/_strerror.c: Likewise.
28922 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28923 * sysdeps/mach/hurd/sethostid.c: Likewise.
28924 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28925 * sysdeps/mach/xpg-strerror.c: Likewise.
28926 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28927 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28928 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28929 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28930 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28931 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28932 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28933 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28934 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28935 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28936 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28937 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28938 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28939 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28940 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28941 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28942 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28943 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28944 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28945 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28947
28948 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28949
28950 * stdio-common/_itoa.h: Moved to ...
28951 * sysdeps/generic/_itoa.h: Here.
28952
28953 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28954
28955 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28956 instead of "_itoa.h" and "_itowa.h".
28957 * stdio-common/vfprintf.: Likewise.
28958
d1af992d
L
289592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28962 <bits/wordsize.h>.
28963 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28964 (__signbit): Likwise.
28965 (llrintf): Likwise.
28966 (llrint): Likwise.
28967
114883e0
L
289682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28969
28970 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28971 __WORDSIZE != 64.
28972
c135cc1b
JM
289732012-03-20 Joseph Myers <joseph@codesourcery.com>
28974
28975 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28976 OVERFLOW_EXCEPTION_OK.
28977 * math/libm-test.inc ("Philosophy"): Update comment about
28978 exception testing.
28979 (OVERFLOW_EXCEPTION): Define.
28980 (OVERFLOW_EXCEPTION_OK): Likewise.
28981 (INVALID_EXCEPTION_OK): Renumber.
28982 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28983 (IGNORE_ZERO_INF_SIGN): Likewise.
28984 (test_exceptions): Handle FE_OVERFLOW.
28985 (exp10_test): Expect overflow exceptions.
28986 (exp2_test): Likewise.
28987 (expm1_test): Likewise.
28988 (nextafter_test): Likewise.
28989 (pow_test): Likewise.
28990 (scalbn_test): Likewise.
28991 (scalbln_test): Likewise.
28992
95443d88
L
289932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 * sysdeps/x86_64/bits/atomic.h
28996 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28997 64bit integer.
28998 (atomic_exchange_acq): Likewise.
28999 (__arch_exchange_and_add_body): Likewise.
29000 (__arch_add_body): Likewise.
29001 (atomic_add_negative): Likewise.
29002 (atomic_add_zero): Likewise.
29003
490df6c4
L
290042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29005
c2722551 29006 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29007 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29008
5e52b189
L
290092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29010
29011 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29012 Check __x86_64__ instead of __WORDSIZE.
29013
a9879d4c
L
290142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29015
29016 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29017
5df98260
DM
290182012-03-19 David S. Miller <davem@davemloft.net>
29019
e1497744
DM
29020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29021
5df98260
DM
29022 * sysdeps/sparc/fpu/fenv_private.h: New file.
29023 * sysdeps/sparc/fpu/math_private.h: Use it.
29024 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29025 Remove.
29026 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29027 (libc_feholdexcept_setroundl): Remove.
29028 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29029 Remove.
29030 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29031 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29032
b4c35121
L
290332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29034
29035 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29036 int64_t instead of long int.
29037 (INSERT_WORDS64): Likwise.
29038
56965fd7
L
290392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29040
29041 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29042 _Unwind_GetCFA return to _Unwind_Ptr first.
29043
83d1aec8
JM
290442012-03-19 Joseph Myers <joseph@codesourcery.com>
29045
1897ad44
JM
29046 [BZ #13629]
29047 * math/s_clog.c: Include <float.h>.
29048 (__clog): Scale large or subnormal inputs.
29049 * math/s_clogf.c: Likewise.
29050 * math/s_clogl.c: Likewise.
29051 * math/s_clog10.c: Include <float.h>.
29052 (M_LOG10_2): Define.
29053 (__clog10): Scale large or subnormal inputs.
29054 * math/s_clog10f.c: Likewise.
29055 * math/s_clog10l.c: Likewise.
29056 * math/libm-test.inc (clog_test): Add more tests.
29057 (clog10_test): Likewise.
29058 * sysdeps/i386/fpu/libm-test-ulps: Update.
29059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29060
7726d6a9
JM
29061 [BZ #11451]
29062 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29063 x and y.
29064 * math/libm-test.inc (atan2_test): Add another test.
29065
83d1aec8
JM
29066 * Makerules (common-objdir-compile): Remove.
29067 * sysdeps/unix/Makefile (config-generated): Do not add
29068 $(unix-generated) to variable.
29069 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29070 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29071 Remove rule.
29072 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29073 Likewise.
29074 [generic bits/local_lim.h] (before-compile): Do not append to
29075 variable.
29076 [generic bits/local_lim.h] (common-generated): Likewise.
29077 [generic sys/param.h] (before-compile): Do not append to variable.
29078 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29079 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29080 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29081 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29082 include.
29083 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29084 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29085 [generic sys/param.h] ($(addprefix
29086 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29087 [generic sys/param.h] (common-generated): Do not append to
29088 variable.
29089 [generic sys/param.h] (sysdep_headers): Likewise.
29090 [generic bits/errno.h] (before-compile): Do not append to
29091 variable.
29092 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29093 rule.
29094 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29095 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29096 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29097 [generic bits/errno.h] (common-generated): Do not append to
29098 variable.
29099 [generic bits/ioctls.h] (before-compile): Do not append to
29100 variable.
29101 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29102 rule.
29103 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29104 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29105 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29106 rule.
29107 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29108 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29109 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29110 [generic bits/ioctls.h] (common-generated): Do not append to
29111 variable.
29112 [generic sys/syscall.h] (syscall.h): Remove variable.
29113 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29114 rule.
29115 [generic sys/syscall.h] (before-compile): Do not append to
29116 variable.
29117 [generic sys/syscall.h] (common-generated): Likewise.
29118 * sysdeps/unix/errnos-tmpl.c: Remove file.
29119 * sysdeps/unix/errnos.awk: Likewise.
29120 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29121 * sysdeps/unix/ioctls.awk: Likewise.
29122 * sysdeps/unix/mk-local_lim.c: Likewise.
29123 * sysdeps/unix/snarf-ioctls: Likewise.
29124
4851a949
RH
291252012-03-19 Richard Henderson <rth@twiddle.net>
29126
bd37f2ee
RH
29127 * sysdeps/i386/fpu/fenv_private.h: New file.
29128 * sysdeps/i386/fpu/math_private.h: Use it.
29129 (math_opt_barrier, math_force_eval): Remove.
29130 (libc_feholdexcept_setround_53bit): Remove.
29131 (libc_feupdateenv_53bit): Remove.
29132 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29133 (math_opt_barrier, math_force_eval): Remove.
29134 (libc_feholdexcept): Remove.
29135 (libc_feholdexcept_setround): Remove.
29136 (libc_fetestexcept, libc_fesetenv): Remove.
29137 (libc_feupdateenv_test): Remove.
29138 (libc_feupdateenv, libc_feholdsetround): Remove.
29139 (libc_feresetround): Remove.
29140
d0adc922
RH
29141 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29142 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29143
0fe0f1f8
RH
29144 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29145 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29146 (libc_feupdateenv_testl): New.
29147 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29148 (libc_feupdateenv_testf): New.
29149 (libc_feupdateenv): Use libc_feupdateenv_test.
29150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29152
eb92c487
RH
29153 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29154 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29155 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29156 (libc_feresetround_noex): New.
29157 (libc_feresetround_noexf): New.
29158 (libc_feresetround_noexl): New.
29159 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29160 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29161 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29162 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29163 SET_RESTORE_ROUND.
29164 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29165 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29166 (__cos): Likewise.
29167 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29168 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29169 SET_RESTORE_ROUND_NOEX.
29170 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29171 SET_RESTORE_ROUND_NOEXF.
29172 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29173 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29174 (libc_feholdsetroundf): New.
29175 (libc_feresetround, libc_feresetroundf): New.
29176
7d2e8012
RH
29177 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29178 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29179 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29180
b4dabbb4
RH
29181 * sysdeps/generic/math_private.h: Include <fenv.h>.
29182 (default_libc_feholdexcept): New.
29183 (default_libc_feholdexcept_setround): New.
29184 (default_libc_fesetenv, default_libc_feupdateenv): New.
29185 (libc_feholdexcept): Only define if undefined.
29186 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29187 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29188 (libc_feholdexcept_setroundl): Likewise.
29189 (libc_feholdexcept_setround_53bit): Likewise.
29190 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29191 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29192 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29193 (libc_feupdateenv_53bit): Likewise.
29194 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29195 (libc_feholdexcept): Convert from macro to inline function.
29196 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29197 (libc_fesetenv, libc_feupdateenv): Likewise.
29198
4851a949
RH
29199 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29200 not previously defined.
29201 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29202 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29203 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29204 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29205 * sysdeps/ieee754/flt-32/math_private.h: New file.
29206 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29207 math_private.h below SET_FLOAT_WORD.
29208 (__isnan, __isinf_ns, __finite): Remove.
29209 (__isnanf, __isinf_nsf, __finitef): Remove.
29210
e79d442e
AS
292112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29212
29213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29214
90b80344
DM
292152012-03-17 David S. Miller <davem@davemloft.net>
29216
29217 [BZ #6471]
29218 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29219 for 2.16.
29220
edc21804
DM
292212012-03-16 David S. Miller <davem@davemloft.net>
29222
77e927af
DM
29223 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29224 warnings.
29225
374976dd
DM
29226 [BZ #6471]
29227 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29228 properly.
29229 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29230 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29231 sysdep_routines when subdir is sysvipc.
29232 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29233 __getshmlba helper.
29234
edc21804
DM
29235 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29236
473c3ef3
L
292372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29240 [__LP64__].
29241
eb0f39b6
L
292422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29243
29244 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29245 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29246 (__lround): Renamed to ...
29247 (__llround): This. Replace long int with long long int.
29248 Define lround functions as aliases of llround functions.
29249 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29250
6b6cd74b
L
292512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29252
29253 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29254 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29255 adresses to uintptr_t. Replace "long int" and "unsigned long
29256 int" with "greg_t" on va_arg.
29257
f1a77b01
L
292582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29261 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29262
29263 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29264 Move e_machine check before EI_CLASS check. Handle x32
29265 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29266 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29267 SKIP_EM_IA_64 and include
29268 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29269
29270 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29271 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29272 (add_system_dir): New macro.
29273
29274 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29275 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29276
11b90b9f
JM
292772012-03-16 Joseph Myers <joseph@codesourcery.com>
29278
c36e1d23
JM
29279 [BZ #2551]
29280 [BZ #2552]
29281 [BZ #2553]
29282 [BZ #2554]
29283 [BZ #2562]
29284 [BZ #2563]
29285 [BZ #2565]
29286 [BZ #2566]
29287 [BZ #2576]
29288 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29289 (y0): Likewise.
29290 * math/w_j0f.c (j0f): Likewise.
29291 (y0f): Likewise.
29292 * math/w_j0l.c (__j0l): Likewise.
29293 (__y0l): Likewise.
29294 * math/w_j1.c (j1): Likewise.
29295 (y1): Likewise.
29296 * math/w_j1f.c (j1f): Likewise.
29297 (y1f): Likewise.
29298 * math/w_j1l.c (__j1l): Likewise.
29299 (__y1l): Likewise.
29300 * math/w_jn.c (jn): Likewise.
29301 (yn): Likewise.
29302 * math/w_jnf.c (jnf): Likewise.
29303 (ynf): Likewise.
29304 * math/w_jnl.c (__jnl): Likewise.
29305 (__ynl): Likewise.
29306 * math/libm-test.inc (j0_test): Add more tests.
29307 (j1_test): Likewise.
29308 (jn_test): Likewise. Add trailing semicolon to existing test.
29309 (y0_test): Likewise.
29310 (y1_test): Likewise.
29311 * sysdeps/i386/fpu/libm-test-ulps: Update.
29312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29313
11b90b9f
JM
29314 [BZ #13851]
29315 [BZ #13854]
29316 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29317 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29318 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29319 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29320 (__tanl): Set errno for infinite argument.
29321 * sysdeps/i386/fpu/mptan.c: Remove.
29322 * sysdeps/i386/fpu/s_tan.S: Likewise.
29323 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29324 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29325 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29326 * math/libm-test.inc (tan_test): Add more tests and enable more
29327 tests for double and long double.
29328 * sysdeps/i386/fpu/libm-test-ulps: Update.
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29330
6a1bd2a1
JK
293312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29332
29333 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29334 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29335
10a803e0
RM
293362012-03-16 Roland McGrath <roland@hack.frob.com>
29337
29338 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29339 * configure.in: Use it for both main tree and add-ons.
29340 * configure: Regenerated.
29341
f196c7f7
L
293422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29343
29344 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29345
8848d99d
JM
293462012-03-16 Joseph Myers <joseph@codesourcery.com>
29347
96cbe7f4
JM
29348 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29349 in comment.
29350
8848d99d
JM
29351 [BZ #13851]
29352 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29353 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29354 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29355 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29356 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29357 infinite argument.
29358 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29360 != 0 for prec == 2.
29361 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29362 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29363 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29364 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29365 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29366 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29367 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29368 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29369 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29370 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29371 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29372 * math/libm-test.inc (cos_test): Add more tests and enable more
29373 tests for long double.
29374 (sin_test): Likewise.
29375 (sincos_test): Likewise.
29376 * sysdeps/i386/fpu/libm-test-ulps: Update.
29377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29378
dd7f4703
DM
293792012-03-16 David S. Miller <davem@davemloft.net>
29380
29381 * sysdeps/sparc/fpu/math_private.h: New file.
29382
006f1daa
DM
293832012-03-15 David S. Miller <davem@davemloft.net>
29384
c0c83bc8
DM
29385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29386 file.
e6a62e18 29387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29389 file.
e6a62e18
DM
29390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29395 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29396 sysdep routines.
29397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29398
88cb87d9
DM
29399 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29400 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29401
006f1daa 29402 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29404 sparc-ifunc.h
006f1daa 29405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29407 Likewise.
29408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29409 Likewise.
006f1daa
DM
29410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29414 Likewise.
006f1daa
DM
29415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29420 Likewise.
29421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29422 Likewise.
006f1daa
DM
29423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29442 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29447
11e0098e
AS
294482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29449
29450 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29451 scaling.
29452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29453
e85b09d0
AJ
294542012-03-15 Andreas Jaeger <aj@suse.de>
29455
29456 [BZ #13852]
29457 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29458 ieee754/flt-32 implementation for sin, cos and sincos.
29459 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29460 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29461 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29462 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29463 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29464 ieee754/flt-32 implementation for tan.
29465
29466 * math/libm-test.inc (cos_test): Enable some large input tests for
29467 float as well
29468 (sin_test): Likewise.
29469 (sincos_test): Likewise.
29470 (tan_test): Add tests for large input.
29471
29472 * sysdeps/i386/fpu/libm-test-ulps: Update.
29473
81c64153
AJ
294742012-03-15 Andreas Jaeger <aj@suse.de>
29475
29476 [BZ #13658]
29477 * math/libm-test.inc (cos_test): Add more test cases.
29478 (sin_test): Likewise.
29479 (sincos_test): Likewise.
29480
7bbfa5c6
AJ
294812012-03-15 Andreas Jaeger <aj@suse.de>
29482
29483 [BZ #13837]
29484 * math/libm-test.inc (cos_test): Add a test case for large input
29485 value.
29486 (sin_test): Likewise.
29487 (sincos_test): Likewise.
29488
294892012-03-15 Andreas Jaeger <aj@suse.de>,
29490 Joseph Myers <joseph@codesourcery.com>
29491
29492 [BZ #13658]
0671f479 29493 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
29494 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29495 * sysdeps/i386/fpu/branred.c: Likewise.
29496 * sysdeps/i386/fpu/dosincos.c: Likewise.
29497 * sysdeps/i386/fpu/mpa.c: Likewise.
29498 * sysdeps/i386/fpu/s_cos.S: Likewise.
29499 * sysdeps/i386/fpu/s_sin.S: Likewise.
29500 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29501 * sysdeps/i386/fpu/sincos32.c: Likewise.
29502
29503 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29504 Define.
29505 (libc_feupdateenv_53bit): Define.
29506 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29507 Define.
29508 (libc_feupdateenv_53bit): Define.
29509
29510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29511 53 bit (without extend i386 double precision).
29512
29513 * math/libm-test.inc (sincos_test): Add tests for large input.
29514 (sin): Likewise.
29515 (cos): Likewise.
29516
29517 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29518
9cad04ea
AS
295192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29520
29521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29522
f7062b9a
DM
295232012-03-15 David S. Miller <davem@davemloft.net>
29524
29525 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29526 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29527 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29528 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
29540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29541 file.
f7062b9a 29542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
29543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29544 file.
f7062b9a 29545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
29546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29547 file.
f7062b9a 29548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
29549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29550 file.
f7062b9a
DM
29551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29553 fmin/fmax sysdep routines.
29554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29555
7bd951ff
DM
295562012-03-14 David S. Miller <davem@davemloft.net>
29557
559398ab
DM
29558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29563 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29583 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29586 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29587 routines.
29588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29589 file.
559398ab 29590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
29591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29592 file.
559398ab 29593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29595 file.
559398ab 29596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
29597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29598 file.
559398ab 29599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
29600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29601 file.
559398ab 29602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
29603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29604 file.
29605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29606 file.
29607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29608 file.
29609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29610 file.
29611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29612 New file.
29613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29614 file.
29615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29616 file.
559398ab 29617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
29618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29619 file.
559398ab 29620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29622 file.
559398ab 29623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
29624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29625 file.
559398ab 29626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
29627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29628 VIS3 routines.
559398ab
DM
29629
29630 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29631 New file.
29632
5a1c1e32
DM
29633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29634
eae47a36
DM
29635 * sysdeps/sparc/configure.in: New file.
29636 * sysdeps/sparc/configure: Generate.
29637 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29638 * configure: Regenerate.
29639 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29640 * config.make.in (have-as-vis3): New.
29641 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29642 available use -Av9d instead of -Av9a.
29643 * sysdeps/sparc/sparc64/Makefile: Likewise.
29644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
29645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29646 New file.
29647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29648 file.
29649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29650 New file.
29651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29652 file.
eae47a36
DM
29653 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29658
c0c83bc8
DM
29659 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29660 fzeros/fnegs to load 0x80000000 into a float register instead of
29661 using the stack.
7bd951ff
DM
29662 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29663
bd951ccb
JM
296642012-03-14 Joseph Myers <joseph@codesourcery.com>
29665
29666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29667 bits/syscall.h.
29668 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29669 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29670 ($(inst_includedir)/bits/syscall.h): Remove rule.
29671 ($(objpfx)bits/syscall.d): Include instead of
29672 $(objpfx)syscall-list.d.
29673 (generated): Change syscall-list.h and syscall-list.d to
29674 bits/syscall.h and bits/syscall.d.
29675
bb4e6db2
RM
296762012-03-14 Roland McGrath <roland@hack.frob.com>
29677
29678 [BZ #13846]
29679 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29680
aa4a2ae1
JM
296812012-03-14 Joseph Myers <joseph@codesourcery.com>
29682
e456826d
JM
29683 [BZ #13841]
29684 * math/s_csqrt.c: Include <float.h>.
29685 (__csqrt): Scale large or subnormal inputs.
29686 * math/s_csqrtf.c: Likewise.
29687 * math/s_csqrtl.c: Likewise.
29688 * math/libm-test.inc (csqrt_test): Add more tests.
29689 * sysdeps/i386/fpu/libm-test-ulps: Update.
29690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29691
aa4a2ae1
JM
29692 [BZ #13840]
29693 * math/libm-test.inc (hypot_test): Add more tests.
29694
7c10fd35
DM
296952012-03-13 David S. Miller <davem@davemloft.net>
29696
29697 [BZ #13840]
29698 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29699 double-precision for the calculation instead of scaling.
29700
f453b98b
JM
297012012-03-13 Joseph Myers <joseph@codesourcery.com>
29702
29703 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29704 manipulate bits before adding and subtracting TWO52[sx].
29705 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29706 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29707 Likewise.
29708 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29709
09a3453f
DM
297102012-03-13 David S. Miller <davem@davemloft.net>
29711
8e59da90
DM
29712 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29713 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29715 rtld-global-offsets.h
29716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29717
2a8ab7f2
DM
29718 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29719 large parameters.
29720
10f62770
DM
29721 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29722
5f0bdb18
DM
29723 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29724 'err' in the ifdef scope in which it is actually used.
29725
09a3453f
DM
29726 * nss/nss_db/db-init.c: Include string.h
29727
b4b2eb5e
DM
297282012-03-12 David S. Miller <davem@davemloft.net>
29729
98bb2f1c
DM
29730 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29731 masking out of the most significant byte of random value used.
29732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29733 Fix coding style in previous change.
29734
b4b2eb5e
DM
29735 * sysdeps/unix/sysv/linux/kernel-features.h
29736 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29737 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29738 expression.
29739 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29740 later.
29741
6e226b09
DM
297422012-03-11 David S. Miller <davem@davemloft.net>
29743
a1bcbd40
DM
29744 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29745 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29747 for 'resultvar' otherwise things get truncated on 64-bit.
29748
cb9d6174
DM
29749 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29750 Fix masking out of the most significant byte of random value used.
29751
6e226b09
DM
29752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29753
058c132d
AS
297542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29755
29756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29757
2d2cd515
DM
297582012-03-09 David S. Miller <davem@davemloft.net>
29759
29760 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29761 variables with appropriate CPP guards.
29762 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29763 frame pointer, not the stack pointer. Correct layout comments. Fix test
29764 on resulting framesize and the management of the outregs buffer for pltexit.
29765 Preserve floating point return values across _dl_call_pltexit call.
29766 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29767 framesize and the management of the outregs buffer for pltexit.
29768 Preserve floating point return values across _dl_call_pltexit
29769 call.
29770 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29771 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29772 (print_exit): Fix format string for return register value.
29773
9a07f9d0
JM
297742012-03-10 Joseph Myers <joseph@codesourcery.com>
29775
29776 * sunrpc/Makefile (others): Add rpcgen.
29777 ($(objpfx)rpcgen): Remove special build rule and dependency on
29778 libc.
29779 * sunrpc/rpcgen.c: New file.
29780
547b5e30
PE
297812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29782
c524201a
PE
29783 [BZ #13673]
29784 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29785 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29786 * sysdeps/i386/crti.S: Likewise.
29787 * sysdeps/i386/crtn.S: Likewise.
29788 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29789 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29790 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29791 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29792 * sysdeps/sh/crti.S: Likewise.
29793 * sysdeps/sh/crtn.S: Likewise.
29794 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29795
7b6235f2
PE
29796 [BZ #13673]
29797 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29798 with URL.
29799 * locale/programs/locfile-kw.gperf: Likewise.
29800 * locale/programs/charmap-kw.h: Regenerated.
29801 * locale/programs/locfile-kw.h: Likewise.
29802
547b5e30
PE
29803 [BZ #13673]
29804 * intl/plural.y: Replace FSF snail mail address with URL.
29805 * intl/plural.c: Regenerated.
29806
5f0a5dae
RH
298072012-03-09 Richard Henderson <rth@twiddle.net>
29808
29809 * include/math_private.h: Remove file.
29810 * math/math_private.h: Move file ...
29811 * sysdeps/generic/math_private.h: ... here.
29812
b8c03620
RH
29813 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29814 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29815 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29816
4e234f5d 29817 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
29818 and <math_private.h>.
29819 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29820 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29821 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29822 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29823 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29824 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29826 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29827 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29828 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29829 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29830 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29831 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29832 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29833 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29834 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29835 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29836 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29837 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29838 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29841 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29843 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29844 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29845 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29846 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29849 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29850 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29851 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29865 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29866 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29867 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29868 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29869 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29870 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29871 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29872 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29873 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29874 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29875 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29876 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29877 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29878 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29882 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29883 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29884 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29885 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29886 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29887 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29907 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29908 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29909 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29910 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29912 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29913 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29914 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29915 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29916 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29917 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29918 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29919 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29920 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29921 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29923 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29924 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29925 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29926 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29927 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29928 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29929 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29931 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29933 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29935 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29937 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29938 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29940 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29941 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29942 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29943 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29944 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29945 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29946 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29947 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29948 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29949 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29950 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29951 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29952 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29953 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29954 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29955 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29956 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29957 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29958 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29959 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29960 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29961 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29962 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29963 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29964 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29965 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29966 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29967 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29968 * sysdeps/ieee754/k_standard.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29986 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29988 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29991 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29993 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29994 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29996 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29999 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30000 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30001 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30002 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30003 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30004 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30005 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30006 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30007 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30008 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30009 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30010 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30014 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30020 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30021 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30022 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30024 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30025 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30026 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30027 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30028 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30030 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30031 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30032 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30033 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30034 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30035 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30036 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30038 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30039 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30041 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30042 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30045 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30046 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30048 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30049 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30051 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30052 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30053 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30054 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30055 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30056 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30057 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30058 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30059 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30060 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30061 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30062 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30065 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30066 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30067 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30072 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30073 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30074 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30075 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30076 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30078 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30079 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30080 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30081 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30083 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30084 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30085 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30086 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30088 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30089 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30090 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30091 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30095 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30096 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30101 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30105 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30106 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30109 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30112 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30114 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30118 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30119 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30120 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30121 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30124 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30125 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30126 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30128 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30129 * sysdeps/ieee754/s_lib_version.c: Likewise.
30130 * sysdeps/ieee754/s_matherr.c: Likewise.
30131 * sysdeps/ieee754/s_signgam.c: Likewise.
30132 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30133 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30134 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30135 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30136 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30137 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30138 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30139 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30140 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30141 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30142 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30143 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30144 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30145 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30146 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30147 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30148 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30149 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30152 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30153
1991fa03
JM
301542012-03-09 Joseph Myers <joseph@codesourcery.com>
30155
30156 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30157 * sunrpc/rpc_main.c: Likewise.
30158 * sunrpc/rpc_svcout.c: Likewise.
30159
60d6f5a6
DM
301602012-03-09 David S. Miller <davem@davemloft.net>
30161
30162 * include/math_private.h: New file.
30163
4962050e
JM
301642012-03-09 Joseph Myers <joseph@codesourcery.com>
30165
02a6f887
JM
30166 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30167 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30168 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30169 from <bits/socket_type.h>.
30170 (enum __socket_type): Don't define here.
30171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30173 bits/socket_type.h.
30174
c6e013c1
JM
30175 [BZ #13566]
30176 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30177 checking __USE_GNU.
30178
4962050e
JM
30179 * Makerules ($(inst_includedir)/%.h): New rule.
30180 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30181 (install-others): Remove variable setting.
30182 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30183
38842f45
RH
301842012-03-08 Richard Henderson <rth@twiddle.net>
30185
67bb6da6
RH
30186 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30187 from macro to inline function; merge with the
30188 !__LIBC_INTERNAL_MATH_INLINES version.
30189 (__ieee754_sqrtf): Likewise.
30190
15194b4b
RH
30191 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30192 to inline function.
30193 (__rintf, __floor, __floorf): Likewise.
30194
64e21ede
RH
30195 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30196 macro to inline function.
30197 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30198
38842f45
RH
30199 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30200 not <math/math_private.h>.
30201
c64bf5fe
DM
302022012-03-08 David S. Miller <davem@davemloft.net>
30203
30204 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30205 copyright year.
30206 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30207
82d86f28
TS
302082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30209
30210 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30211 normalization.
30212 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30213 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30214
aea5d727
UD
302152012-03-08 Ulrich Drepper <drepper@gmail.com>
30216
30217 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30218 be defined individually, they must be defined as a block. Define
30219 S for printing a string instead of hidint the different by using a
30220 macro for adding the 'l'.
30221 * stdio-common/tst-fphex-wide.c: Adjust.
30222
70bca0a3
MP
302232012-03-07 Marek Polacek <polacek@redhat.com>
30224
30225 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30226
65b81130
MP
302272012-03-08 Marek Polacek <polacek@redhat.com>
30228
30229 [BZ #13806]
30230 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30231 * stdio-common/tst-fphex.c: Define a few macros to make the
30232 test reusable. Use them.
30233 * stdio-common/tst-fphex-wide.c: New file.
30234
07037eeb
JM
302352012-03-08 Joseph Myers <joseph@codesourcery.com>
30236
a7a93d50
JM
30237 [BZ #6911]
30238 * manual/macros.texi (gnusystems): New macro.
30239 (nongnusystems): Likewise.
30240 (gnulinuxhurdsystems): Likewise.
30241 (gnuhurdsystems): Likewise..
30242 (gnulinuxsystems): Likewise.
30243 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30244 variants of the GNU system, not "GNU system".
30245 * manual/conf.texi: Likewise.
30246 * manual/errno.texi: Likewise. Update example of errno macro
30247 expansion.
30248 * manual/filesys.texi: Likewise.
30249 (getumask): Document as specific to GNU/Hurd.
30250 * manual/install.texi: Likewise. Reword some references to
30251 GNU/Linux.
30252 * manual/intro.texi: Likewise.
30253 * manual/io.texi: Likewise.
30254 (File Name Portability): Detail which constraints are inapplicable
30255 to all GNU systems and which are only inapplicable to GNU/Hurd.
30256 * manual/job.texi: Likewise.
30257 * manual/llio.texi: Likewise.
30258 (O_NOCTTY): Document as present on GNU/Linux.
30259 * manual/maint.texi: Likewise.
30260 * manual/memory.texi: Likewise.
30261 * manual/pattern.texi: Likewise.
30262 * manual/pipe.texi: Likewise.
30263 * manual/process.texi: Likewise.
30264 * manual/resource.texi: Likewise.
30265 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30266 child on GNU/Hurd.
30267 * manual/setjmp.texi: Likewise.
30268 * manual/signal.texi: Likewise.
30269 * manual/startup.texi: Likewise.
30270 * manual/stdio.texi: Likewise.
30271 * manual/terminal.texi: Likewise.
30272 (ONLCR): Document as POSIX.
30273 (OXTABS): Document availability on GNU/Linux as XTABS.
30274 (ONOEOT): Document availability separately from other bits.
30275 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30276 * manual/time.texi: Likewise.
30277 * manual/users.texi: Likewise.
30278 * INSTALL: Regenerated.
30279 * sysdeps/gnu/errlist.c: Regenerated.
30280
07037eeb
JM
30281 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30282 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30283 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30284 puts.
30285 * configure: Regenerated.
30286
d1d3431a
JM
302872012-03-07 Joseph Myers <joseph@codesourcery.com>
30288
af6a1e37
JM
30289 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30290 default includes instead of AC_HEADER_CHECK.
30291 * sysdeps/i386/configure: Regenerated.
30292
d1d3431a
JM
30293 [BZ #10716]
30294 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30295 * math/s_cacoshf.c (__cacoshf): Likewise.
30296 * math/s_cacoshl.c (__cacoshl): Likewise.
30297 * math/s_casinh.c (__casinh): Set signs of result from argument.
30298 * math/s_casinhf.c (__casinhf): Likewise.
30299 * math/s_casinhl.c (__casinhl): Likewise.
30300 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30301 (casinh_test): Add more tests.
30302 * sysdeps/i386/fpu/libm-test-ulps: Update.
30303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30304
482ff4da
UD
303052012-03-07 Ulrich Drepper <drepper@gmail.com>
30306
872fda05
UD
30307 * po/zh_TW.po: Update from translation team.
30308
a4300c7a
UD
30309 * login/Makefile (distribute): Remove variable.
30310 * catgets/Makefile: Likewise.
30311 * mach/Makefile: Likewise.
30312 * malloc/Makefile: Likewise.
30313 * misc/Makefile: Likewise.
30314 * iconv/Makefile: Likewise.
30315 * nscd/Makefile: Likewise.
30316 * hurd/Makefile: Likewise.
30317 * manual/Makefile: Likewise.
30318 * locale/Makefile: Likewise.
30319 * intl/Makefile: Likewise.
30320 * conform/Makefile: Likewise.
30321 * nss/Makefile: Likewise.
30322 * time/Makefile: Likewise.
30323 * soft-fp/Makefile: Likewise.
30324 * dirent/Makefile: Likewise.
30325 * gmon/Makefile: Likewise.
30326 * po/Makefile: Likewise.
30327 * rt/Makefile: Likewise.
30328 * socket/Makefile: Likewise.
30329 * math/Makefile: Likewise.
30330 * signal/Makefile: Likewise.
30331 * debug/Makefile: Likewise.
30332 * elf/Makefile: Likewise.
30333 * timezone/Makefile: Likewise.
30334 * stdlib/Makefile: Likewise.
30335 * iconvdata/Makefile: Likewise.
30336 * sunrpc/Makefile: Likewise.
30337 * io/Makefile: Likewise.
30338 * argp/Makefile: Likewise.
30339 * inet/Makefile: Likewise.
30340 * hesiod/Makefile: Likewise.
30341 * grp/Makefile: Likewise.
30342 * csu/Makefile: Likewise.
30343 * wctype/Makefile: Likewise.
30344 * crypt/Makefile: Likewise.
30345 * libio/Makefile: Likewise.
30346 * string/Makefile: Likewise.
30347 * nis/Makefile: Likewise.
30348 * resolv/Makefile: Likewise.
30349 * stdio-common/Makefile: Likewise.
30350 * wcsmbs/Makefile: Likewise.
30351 * dlfcn/Makefile: Likewise.
30352 * posix/Makefile: Likewise.
30353
3b7c4e74 30354 [BZ #6959]
482ff4da
UD
30355 * timezone/Makefile: Don't install timezone files, just the programs
30356 and scripts.
30357
f72ed77d
UD
303582012-03-06 Ulrich Drepper <drepper@gmail.com>
30359
a000466f
UD
30360 * nss/databases.def: Add missing gshadow entry.
30361
f72ed77d
UD
30362 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30363
a53b7a4e
MP
303642012-03-06 Marek Polacek <polacek@redhat.com>
30365
30366 [BZ #13726]
30367 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30368 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30369 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30370 * stdio-common/tst-long-dbl-fphex.c: New file.
30371
e9258400
DM
303722012-03-06 David S. Miller <davem@davemloft.net>
30373
30374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30375 (set_obp_int): New function.
30376 (get_obp_int): New function.
30377 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30379 Avoid unused variable warnings on 'val' and use builtin_expect.
30380 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30381 __builtin_expect.
e9258400
DM
30382 (INLINE_CLONE_SYSCALL): Likewise.
30383
3bd2c723
DM
303842012-03-05 David S. Miller <davem@davemloft.net>
30385
30386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30387
bbb78d03
AS
303882012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30389
884c5db4
AS
30390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30391
bbb78d03
AS
30392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30393 only for |x| >= 40.
30394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30395
1c9f702a 303962012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30397
30398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30399 Replace gettimeofday with __vdso_gettimeofday.
30400
7be16f82
RM
30401 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30402 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30403 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30404
30405 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30406 time with __vdso_time.
30407
ed58a00f
JM
304082012-03-05 Joseph Myers <joseph@codesourcery.com>
30409
30410 * manual/lang.texi (size_t): Note types to which size_t may be
30411 equivalent with the GNU C Library, but do not describe when
30412 differences between them are significant.
30413
30ee4ced
AJ
304142012-03-05 Andreas Jaeger <aj@suse.de>
30415
30416 * sysdeps/i386/fpu/libm-test-ulps: Update.
30417
b7cd39e8
JM
304182012-03-05 Joseph Myers <joseph@codesourcery.com>
30419
30420 [BZ #3976]
30421 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30422 (__ieee754_pow): Save and restore rounding mode and use
30423 round-to-nearest for main computations.
30424 * math/libm-test.inc (pow_test_tonearest): New function.
30425 (pow_test_towardzero): Likewise.
30426 (pow_test_downward): Likewise.
30427 (pow_test_upward): Likewise.
30428 (main): Call the new functions.
30429 * sysdeps/i386/fpu/libm-test-ulps: Update.
30430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
30431
30432 [BZ #3976]
30433 * math/libm-test.inc (cosh_test_tonearest): New function.
30434 (cosh_test_towardzero): Likewise.
30435 (cosh_test_downward): Likewise.
30436 (cosh_test_upward): Likewise.
30437 (sinh_test_tonearest): Likewise.
30438 (sinh_test_towardzero): Likewise.
30439 (sinh_test_downward): Likewise.
30440 (sinh_test_upward): Likewise.
30441 (main): Call the new functions.
30442 * sysdeps/i386/fpu/libm-test-ulps: Update.
30443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30444
6c6a98c9
TV
304452012-03-05 Tom de Vries <tom@codesourcery.com>
30446
30447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30448 default stack guard is set in last bytes.
30449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30450
21bb2d2e 304512012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30452
21bb2d2e 30453 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30454
21bb2d2e
AJ
30455 [BZ #13656]
30456 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30457 possibly allocate from heap instead of stack.
30458 * stdio-common/bug-vfprintf-nargs.c: New file.
30459 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30460
c6922934
AS
304612012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30462
30463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30464
bc957d53
MP
304652012-03-03 Marek Polacek <polacek@redhat.com>
30466
30467 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30468 * math/math_private.h: Likewise.
30469 * stdlib/tst-strtod.c: Likewise.
30470 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30471 * sysdeps/x86_64/bits/atomic.h: Likewise.
30472
6358490d
DM
304732012-03-02 David S. Miller <davem@davemloft.net>
30474
30475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30479 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30480 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30481 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30482 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30483
01ae168d
RM
304842012-03-02 Roland McGrath <roland@hack.frob.com>
30485
d9a17c07
RM
30486 [BZ #13792]
30487 * manual/examples/README: New file, says the example source files
30488 can be used under GPL>=2.
30489 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30490 line containing just "*/".
30491 * manual/examples/add.c: Add copyright header (GPL>=2).
30492 * manual/examples/argp-ex1.c: Likewise.
30493 * manual/examples/argp-ex2.c: Likewise.
30494 * manual/examples/argp-ex3.c: Likewise.
30495 * manual/examples/argp-ex4.c: Likewise.
30496 * manual/examples/atexit.c: Likewise.
30497 * manual/examples/db.c: Likewise.
30498 * manual/examples/dir.c: Likewise.
30499 * manual/examples/dir2.c: Likewise.
30500 * manual/examples/execinfo.c: Likewise.
30501 * manual/examples/filecli.c: Likewise.
30502 * manual/examples/filesrv.c: Likewise.
30503 * manual/examples/fmtmsgexpl.c: Likewise.
30504 * manual/examples/genpass.c: Likewise.
30505 * manual/examples/inetcli.c: Likewise.
30506 * manual/examples/inetsrv.c: Likewise.
30507 * manual/examples/isockad.c: Likewise.
30508 * manual/examples/longopt.c: Likewise.
30509 * manual/examples/memopen.c: Likewise.
30510 * manual/examples/memstrm.c: Likewise.
30511 * manual/examples/mkfsock.c: Likewise.
30512 * manual/examples/mkisock.c: Likewise.
30513 * manual/examples/mygetpass.c: Likewise.
30514 * manual/examples/pipe.c: Likewise.
30515 * manual/examples/popen.c: Likewise.
30516 * manual/examples/rprintf.c: Likewise.
30517 * manual/examples/search.c: Likewise.
30518 * manual/examples/select.c: Likewise.
30519 * manual/examples/setjmp.c: Likewise.
30520 * manual/examples/sigh1.c: Likewise.
30521 * manual/examples/sigusr.c: Likewise.
30522 * manual/examples/stpcpy.c: Likewise.
30523 * manual/examples/strdupa.c: Likewise.
30524 * manual/examples/strftim.c: Likewise.
30525 * manual/examples/strncat.c: Likewise.
30526 * manual/examples/subopt.c: Likewise.
30527 * manual/examples/swapcontext.c: Likewise.
30528 * manual/examples/termios.c: Likewise.
30529 * manual/examples/testopt.c: Likewise.
30530 * manual/examples/testpass.c: Likewise.
30531 * manual/examples/timeval_subtract.c: Likewise.
30532
01ae168d
RM
30533 [BZ #13792]
30534 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30535 function to ...
30536 * manual/timeval_subtract.c.texi: ... here, new file.
30537
49efa33d
DM
305382012-03-02 David S. Miller <davem@davemloft.net>
30539
30540 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30541
28afd92d
JM
305422012-03-02 Joseph Myers <joseph@codesourcery.com>
30543
804360ed
JM
30544 [BZ #3976]
30545 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30546 (__sin): Save and restore rounding mode and use round-to-nearest
30547 for all computations.
30548 (__cos): Save and restore rounding mode and use round-to-nearest
30549 for all computations.
30550 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30551 <fenv.h>.
30552 (tan): Save and restore rounding mode and use round-to-nearest for
30553 all computations.
30554 * math/libm-test.inc (cos_test_tonearest): New function.
30555 (cos_test_towardzero): Likewise.
30556 (cos_test_downward): Likewise.
30557 (cos_test_upward): Likewise.
30558 (sin_test_tonearest): Likewise.
30559 (sin_test_towardzero): Likewise.
30560 (sin_test_downward): Likewise.
30561 (sin_test_upward): Likewise.
30562 (tan_test_tonearest): Likewise.
30563 (tan_test_towardzero): Likewise.
30564 (tan_test_downward): Likewise.
30565 (tan_test_upward): Likewise.
30566 (main): Call the new functions.
30567 * sysdeps/i386/fpu/libm-test-ulps: Update.
30568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30569
a6d06d7b
JM
30570 [BZ #10135]
30571 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30572 small n, then large n, before computing and testing k+n.
30573 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30575 Likewise.
30576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30577 Likewise.
30578 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30579 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30580 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30581 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30582 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30583 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30584 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30586 * math/libm-test.inc (scalbn_test): Add more tests.
30587 (scalbln_test): Likewise.
30588
07e12bb3
JM
30589 * manual/filesys.texi (mode_t): Describe constraints on size and
30590 signedness, not exact equivalence to a particular type.
30591 (ino_t): Likewise.
30592 (ino64_t): Likewise.
30593 (dev_t): Likewise.
30594 (nlink_t): Likewise.
30595 (blkcnt_t): Likewise.
30596 (blkcnt64_t): Likewise.
30597 * manual/llio.texi (off_t): Likewise.
30598
28afd92d
JM
30599 [BZ #3976]
30600 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30601 (__ieee754_exp): Save and restore rounding mode and use
30602 round-to-nearest for all computations.
30603 * math/libm-test.inc (exp_test_tonearest): New function.
30604 (exp_test_towardzero): Likewise.
30605 (exp_test_downward): Likewise.
30606 (exp_test_upward): Likewise.
30607 (main): Call the new functions.
30608 * sysdeps/i386/fpu/libm-test-ulps: Update.
30609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30610
b1eeb65d
CD
306112012-03-01 Chris Demetriou <cgd@google.com>
30612
30613 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30614 have predictable order.
30615
53362a4b
DM
306162012-03-01 David S. Miller <davem@davemloft.net>
30617
3c969083
DM
30618 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30619
759707de
DM
30620 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30621 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30622 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30623 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30624
dfdb8ff2
DM
30625 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30626 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30627 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30629 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30630 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30631 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30632 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30633 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30634
ead89f96
DM
30635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636
7f66bd07
DM
30637 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30638 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30639 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30640
53362a4b
DM
30641 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30642 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30643 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30644 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30645 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30646 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30647 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30648 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30649 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30650 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30651 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30652 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30653 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30654 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30655 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30656 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30657 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30658 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30659 * sysdeps/sparc/elf/configure: Regenerated.
30660
7b1902cb
JM
306612012-03-01 Joseph Myers <joseph@codesourcery.com>
30662
bec039bc
JM
30663 * configure.in (AS, LD): Require binutils 2.20 or later.
30664 * configure: Regenerated.
30665 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30666 as required minimum version.
30667 * INSTALL: Regenerated.
30668
7b1902cb
JM
30669 [BZ #2541]
30670 [BZ #4108]
30671 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30672 before squaring exponent.
30673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30674 bottom long double and 27 bits of top long double before squaring
30675 exponent.
30676 * math/libm-test.inc (erfc_test): Add more tests.
30677 * sysdeps/i386/fpu/libm-test-ulps: Update.
30678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30680
f775c276
KT
306812012-03-01 Kai Tietz <ktietz@redhat.com>
30682
30683 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30684 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30685 containing bit-fields.
30686 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30687 * soft-fp/single.h (_FP_UNION_S): Likewise.
30688 * soft-fp/double.h (_FP_UNION_D): Likewise.
30689
5b8a4d4a
JM
306902012-02-29 Joseph Myers <joseph@codesourcery.com>
30691
0bab47b6
JM
30692 [BZ #13786]
30693 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30694 not include ../strcmp.S.
30695 [USE_AS_STRNCASECMP_L]: Likewise.
30696 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30697 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30698 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30699 (__strncasecmp_l_ia32): Define as alias to
30700 __strncasecmp_l_nonascii.
30701
0fcad3e2
JM
30702 [BZ #5794]
30703 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30704 * sysdeps/i386/fpu/libm-test-ulps: Update.
30705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30706
5b8a4d4a
JM
30707 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30709
8fdceb2e
JL
307102012-02-29 Jeff Law <law@redhat.com>
30711
30712 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30713 out of bounds read.
30714
1f393a11
MP
307152012-02-29 Marek Polacek <polacek@redhat.com>
30716
30717 [BZ #13706]
30718 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30719 * elf/Makefile: Add rules to run tst-unused-dep.out.
30720
8847f037
DM
307212012-02-28 David S. Miller <davem@davemloft.net>
30722
30723 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30724 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30726 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30727 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30728 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30729
169d7f11
JM
307302012-02-29 Joseph Myers <joseph@codesourcery.com>
30731
30732 * math/libm-test.inc (llround_test): Move one test from
30733 lround_test. Use TEST_f_L in moved test.
30734 (lround_test): Move misplaced test to llround_test. Add testcase
30735 from bug 2561.
30736
39adf059
UD
307372012-02-28 Ulrich Drepper <drepper@gmail.com>
30738
30739 * sysdeps/x86_64/fpu/e_expf.S: New file.
30740 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30741
71b5d1c5
SB
307422012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30743
30744 [BZ #13637]
30745 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30746 of remain_len that may cause incomplete multi-byte character and
30747 false match.
30748 * posix/bug-regex33.c: New file.
30749 * posix/Makefile (tests): Add bug-regex33.
30750
1f77f049
JM
307512012-02-28 Joseph Myers <joseph@codesourcery.com>
30752
30753 * manual/macros.texi: New file.
30754 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30755 * manual/libc.texinfo: Include macros.texi.
30756 * manual/creatute.texi: Likewise.
30757 * manual/install.texi: Likewise.
30758 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30759 @glibcadj{} in references to the GNU C Library.
30760 * manual/charset.texi: Likewise.
30761 * manual/conf.texi: Likewise.
30762 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30763 when not using those macros.
30764 * manual/creature.texi: Likewise.
30765 * manual/crypt.texi: Likewise.
30766 * manual/errno.texi: Likewise.
30767 * manual/filesys.texi: Likewise.
30768 * manual/header.texi: Likewise.
30769 * manual/install.texi: Likewise.
30770 * manual/intro.texi: Likewise.
30771 * manual/io.texi: Likewise.
30772 * manual/job.texi: Likewise.
30773 * manual/lang.texi: Likewise.
30774 * manual/libc.texiinfo: Likewise.
30775 * manual/llio.texi: Likewise.
30776 * manual/locale.texi: Likewise.
30777 * manual/maint.texi: Likewise.
30778 * manual/math.texi: Likewise.
30779 * manual/memory.texi: Likewise.
30780 * manual/message.texi: Likewise.
30781 * manual/nss.texi: Likewise.
30782 * manual/pattern.texi: Likewise.
30783 * manual/process.texi: Likewise.
30784 * manual/resource.texi: Likewise.
30785 * manual/search.texi: Likewise.
30786 * manual/setjmp.texi: Likewise.
30787 * manual/signal.texi: Likewise.
30788 * manual/socket.texi: Likewise.
30789 * manual/startup.texi: Likewise.
30790 * manual/stdio.texi: Likewise.
30791 * manual/string.texi: Likewise.
30792 * manual/sysinfo.texi: Likewise.
30793 * manual/syslog.texi: Likewise.
30794 * manual/terminal.texi: Likewise.
30795 * manual/time.texi: Likewise.
30796 * manual/users.texi: Likewise.
30797 * INSTALL: Regenerated.
30798 * NOTES: Regenerated.
d40c5d54 30799 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 30800
450bf206
AS
308012012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30802
30803 * include/dirent.h: Include <dirstream.h> before
30804 <dirent/dirent.h>.
30805
741a235b
DM
308062012-02-28 David S. Miller <davem@davemloft.net>
30807
30808 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30809 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30810 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30812
d6b5aa58
DM
308132012-02-27 David S. Miller <davem@davemloft.net>
30814
1aff59a3
DM
30815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30817 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30818 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30819
d6b5aa58
DM
30820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30821 frame pointer instead of stack pointer relative arg slot.
30822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30825
433f48bf
CD
308262012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30827
30828 [BZ #3992]
30829 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30830
d674b76d
DM
308312012-02-27 David S. Miller <davem@davemloft.net>
30832
30833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30837 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30838 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30839 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30840 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30841
0e7727f7
JM
308422012-02-27 Joseph Myers <joseph@codesourcery.com>
30843
30844 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30845 later. Allow versions 5-9.
43be4ca2 30846 * configure: Regenerated.
0e7727f7
JM
30847 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30848 required minimum version and 4.6 as recommended version. Do not
30849 mention bugs in GCC 2.7 and 2.8.
43be4ca2 30850 * INSTALL: Regenerated.
0e7727f7 30851
a78bc654
DM
308522012-02-27 David S. Miller <davem@davemloft.net>
30853
428d5830
DM
30854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30858 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30859 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30860 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30861 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30862
a78bc654
DM
30863 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30864 manipulate bits before adding and subtracting TWO112[sx].
30865 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30866
4579f81c
RM
308672012-02-27 Roland McGrath <roland@hack.frob.com>
30868
36c8acb4
RM
30869 [BZ #13775]
30870 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30871 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30872 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30873 being in POSIX, because they are in 1003.1-2008.
30874
84ad622b
RM
30875 * rt/tst-aio.c: Include <fcntl.h>.
30876 * rt/tst-aio7.c: Likewise.
30877 * rt/tst-aio64.c: Likewise.
30878
4579f81c
RM
30879 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30880
abd923db
JM
308812012-02-27 Joseph Myers <joseph@codesourcery.com>
30882
30883 * manual/install.texi (--with-headers): Describe headers as
30884 interface headers, not private headers.
30885 (Specific advice for GNU/Linux systems): Describe use of headers
30886 from "make headers_install", not private headers from older
30887 kernels.
43be4ca2 30888 * INSTALL: Regenerated.
abd923db
JM
30889 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30890 Change to 2.6.19.
30891 * sysdeps/unix/sysv/linux/configure: Regenerated.
30892
6664049b
JM
30893 * manual/llio.texi (fclean): Remove documentation.
30894
bb8b6697
JM
30895 * manual/Makefile (libc-texi-generated): New variable. Include
30896 version.texi.
30897 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30898 $(libc-texi-generated), not duplicated list of files.
30899 (version.texi, stamp-version): New rules.
30900 (realclean): Remove $(libc-texi-generated), not individual files
30901 from that list. Do not remove dir-add.texinfo.
30902 * manual/libc.texinfo: Comment out uses of edition numbers and
30903 references to printed manual. Remove last-updated dates.
30904 (EDITION): Comment out.
30905 (ISBN): Likewise.
30906 (VERSION, UPDATED): Remove.
30907 (version.texi): Include.
30908
12e5c3b9
AS
309092012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30910
30911 * sysdeps/posix/spawni.c: Include <signal.h>.
30912 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30913 * sysdeps/pthread/aio_fsync.c: Likewise.
30914
4efeffc1 309152012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 30916
ba63ba08
UD
30917 * conform/Makefile (tests): Run only when not cross-compiling and
30918 when fast-check is not defined.
30919
d94a4670
UD
30920 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30921 * conform/data/limits.h-data: Fixes for POSIX2008.
30922 * conform/run-conformtest.sh: Run all tests.
30923 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30924 headers.
30925 * include/bits/dlfcn.h: Likewise.
30926 * include/langinfo.h: Likewise.
30927 * include/monetary.h: Likewise.
30928 * include/sys/poll.h: Likewise.
30929
30930 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30931 for __USE_GNU.
30932 * posix/spawn.h: Define __need_sigset_t.
30933 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30934 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30935 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30936 to get sigevent_t only.
30937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30938 only for __USE_GNU.
30939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30940 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30941 process_vm_writev only for __USE_GNU.
30942 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
30943
30944 * conform/Makefile: For now ignore errors from run-conformtest.
30945 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30946 POSIX to avoid namespace pollution. Don't prepend headers.
30947 * conform/data/aio.h-data: Fixes for POSIX testing.
30948 * conform/data/fcntl.h-data: Likewise.
30949 * conform/data/glob.h-data: Likewise.
30950 * conform/data/grp.h-data: Likewise.
30951 * conform/data/pthread.h-data: Likewise.
30952 * conform/data/pwd.h-data: Likewise.
30953 * conform/data/signal.h-data: Likewise.
30954 * conform/data/spawn.h-data: Likewise.
30955 * conform/data/stdio.h-data: Likewise.
30956 * conform/data/stdlib.h-data: Likewise.
30957 * conform/data/stropts.h-data: Likewise.
30958 * conform/data/sys/mman.h-data: Likewise.
30959 * conform/data/sys/stat.h-data: Likewise.
30960 * conform/data/sys/types.h-data: Likewise.
30961 * conform/data/sys/wait.h-data: Likewise.
30962 * conform/data/time.h-data: Likewise.
30963 * conform/data/unistd.h-data: Likewise.
30964 * conform/data/utime.h-data: Likewise.
30965
30966 * io/sys/stat.h: fchmod was always in POSIX.
30967 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30968 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30969 * rt/aio.h: Define __need_timespec before including <time.h>.
30970 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30971 struct. Add forward declaration of pthread_attr_t and use it in
30972 sigevent.
30973 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30974 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30975 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30976 always remove CLK_TCK definition.
30977
c20105c3
AS
309782012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30979
30980 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30981
7a270350
UD
309822012-02-25 Ulrich Drepper <drepper@gmail.com>
30983
31341567
UD
30984 * conform/run-conformtest.sh: New file.
30985 * conform/Makefile: Run run-conformtest for tests.
30986 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30987 support.
30988
30989 * conform/data/uchar.h-data: New file.
30990 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30991 * conform/data/arpa/inet.h-data: Likewise.
30992 * conform/data/assert.h-data: Likewise.
30993 * conform/data/complex.h-data: Likewise.
30994 * conform/data/cpio.h-data: Likewise.
30995 * conform/data/ctype.h-data: Likewise.
30996 * conform/data/dirent.h-data: Likewise.
30997 * conform/data/dlfcn.h-data: Likewise.
30998 * conform/data/errno.h-data: Likewise.
30999 * conform/data/fcntl.h-data: Likewise.
31000 * conform/data/float.h-data: Likewise.
31001 * conform/data/fmtmsg.h-data: Likewise.
31002 * conform/data/fnmatch.h-data: Likewise.
31003 * conform/data/ftw.h-data: Likewise.
31004 * conform/data/glob.h-data: Likewise.
31005 * conform/data/grp.h-data: Likewise.
31006 * conform/data/iconv.h-data: Likewise.
31007 * conform/data/inttypes.h-data: Likewise.
31008 * conform/data/langinfo.h-data: Likewise.
31009 * conform/data/libgen.h-data: Likewise.
31010 * conform/data/limits.h-data: Likewise.
31011 * conform/data/locale.h-data: Likewise.
31012 * conform/data/math.h-data: Likewise.
31013 * conform/data/monetary.h-data: Likewise.
31014 * conform/data/mqueue.h-data: Likewise.
31015 * conform/data/ndbm.h-data: Likewise.
31016 * conform/data/net/if.h-data: Likewise.
31017 * conform/data/netdb.h-data: Likewise.
31018 * conform/data/netinet/in.h-data: Likewise.
31019 * conform/data/nl_types.h-data: Likewise.
31020 * conform/data/poll.h-data: Likewise.
31021 * conform/data/pthread.h-data: Likewise.
31022 * conform/data/pwd.h-data: Likewise.
31023 * conform/data/regex.h-data: Likewise.
31024 * conform/data/sched.h-data: Likewise.
31025 * conform/data/search.h-data: Likewise.
31026 * conform/data/semaphore.h-data: Likewise.
31027 * conform/data/setjmp.h-data: Likewise.
31028 * conform/data/signal.h-data: Likewise.
31029 * conform/data/spawn.h-data: Likewise.
31030 * conform/data/stdarg.h-data: Likewise.
31031 * conform/data/stdio.h-data: Likewise.
31032 * conform/data/stdlib.h-data: Likewise.
31033 * conform/data/string.h-data: Likewise.
31034 * conform/data/strings.h-data: Likewise.
31035 * conform/data/stropts.h-data: Likewise.
31036 * conform/data/sys/ipc.h-data: Likewise.
31037 * conform/data/sys/mman.h-data: Likewise.
31038 * conform/data/sys/msg.h-data: Likewise.
31039 * conform/data/sys/resource.h-data: Likewise.
31040 * conform/data/sys/select.h-data: Likewise.
31041 * conform/data/sys/sem.h-data: Likewise.
31042 * conform/data/sys/shm.h-data: Likewise.
31043 * conform/data/sys/socket.h-data: Likewise.
31044 * conform/data/sys/stat.h-data: Likewise.
31045 * conform/data/sys/statvfs.h-data: Likewise.
31046 * conform/data/sys/time.h-data: Likewise.
31047 * conform/data/sys/timeb.h-data: Likewise.
31048 * conform/data/sys/times.h-data: Likewise.
31049 * conform/data/sys/types.h-data: Likewise.
31050 * conform/data/sys/uio.h-data: Likewise.
31051 * conform/data/sys/un.h-data: Likewise.
31052 * conform/data/sys/utsname.h-data: Likewise.
31053 * conform/data/sys/wait.h-data: Likewise.
31054 * conform/data/syslog.h-data: Likewise.
31055 * conform/data/tar.h-data: Likewise.
31056 * conform/data/termios.h-data: Likewise.
31057 * conform/data/utime.h-data: Likewise.
31058 * conform/data/utmpx.h-data: Likewise.
31059 * conform/data/varargs.h-data: Likewise.
31060 * conform/data/wchar.h-data: Likewise.
31061 * conform/data/wctype.h-data: Likewise.
31062 * conform/data/wordexp.h-data: Likewise.
31063
31064 * include/stropts.h: New file.
31065 * include/uchar.h: New file.
31066 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31067 * include/assert.h: Likewise.
31068 * include/ctype.h: Likewise.
31069 * include/dirent.h: Likewise.
31070 * include/dlfcn.h: Likewise.
31071 * include/fcntl.h: Likewise.
31072 * include/fnmatch.h: Likewise.
31073 * include/glob.h: Likewise.
31074 * include/grp.h: Likewise.
31075 * include/libio.h: Likewise.
31076 * include/locale.h: Likewise.
31077 * include/math.h: Likewise.
31078 * include/net/if.h: Likewise.
31079 * include/netdb.h: Likewise.
31080 * include/netinet/in.h: Likewise.
31081 * include/pthread.h: Likewise.
31082 * include/pwd.h: Likewise.
31083 * include/regex.h: Likewise.
31084 * include/sched.h: Likewise.
31085 * include/search.h: Likewise.
31086 * include/setjmp.h: Likewise.
31087 * include/signal.h: Likewise.
31088 * include/stdio.h: Likewise.
31089 * include/stdlib.h: Likewise.
31090 * include/string.h: Likewise.
31091 * include/sys/cdefs.h: Likewise.
31092 * include/sys/mman.h: Likewise.
31093 * include/sys/msg.h: Likewise.
31094 * include/sys/resource.h: Likewise.
31095 * include/sys/select.h: Likewise.
31096 * include/sys/socket.h: Likewise.
31097 * include/sys/stat.h: Likewise.
31098 * include/sys/statvfs.h: Likewise.
31099 * include/sys/time.h: Likewise.
31100 * include/sys/times.h: Likewise.
31101 * include/sys/uio.h: Likewise.
31102 * include/sys/utsname.h: Likewise.
31103 * include/sys/wait.h: Likewise.
31104 * include/termios.h: Likewise.
31105 * include/time.h: Likewise.
31106 * include/ulimit.h: Likewise.
31107 * include/unistd.h: Likewise.
31108 * include/utime.h: Likewise.
31109 * include/wchar.h: Likewise.
31110 * include/wctype.h: Likewise.
31111 * include/wordexp.h: Likewise.
31112
31113 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31114
7a270350
UD
31115 * time/time.h: TIME_UTC must be a macro.
31116 Make timespec_get available for ISO C11 only as well.
31117
7724defc
UD
311182012-02-24 Ulrich Drepper <drepper@gmail.com>
31119
31120 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31121 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31122
6b1d1d46
JM
311232012-02-24 Joseph Myers <joseph@codesourcery.com>
31124
31125 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31126
0f8bbd69
JM
311272012-02-24 Joseph Myers <joseph@codesourcery.com>
31128
31129 * manual/texinfo.tex: Update to version 2012-01-19.16.
31130
66ab80bc
JM
311312012-02-24 Joseph Myers <joseph@codesourcery.com>
31132
31133 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31134
74981cc5
RM
311352012-02-24 Roland McGrath <roland@hack.frob.com>
31136
ee968201
RM
31137 [BZ #13738]
31138 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31139 * manual/fdl-1.3.texi: New file.
31140 * manual/fdl-1.1.texi: File removed.
31141
74981cc5
RM
31142 [BZ #13738]
31143 * manual/libc.texinfo (FDL_VERSION): New @set.
31144 Use it for mention of FDL in cover text.
31145 (Documentation License): Use it in @include file name.
31146
7bb764bc
JM
311472012-02-22 Joseph Myers <joseph@codesourcery.com>
31148 Roland McGrath <roland@hack.frob.com>
31149
31150 [BZ #5461]
31151 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31152 not LONG_LONG_MAX and LONG_LONG_MIN.
31153 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31154 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31155 name.
31156 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31157
6cbeae47
JM
311582012-02-22 Joseph Myers <joseph@codesourcery.com>
31159
31160 [BZ #2547]
31161 [BZ #11365]
31162 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31163 manipulate bits before adding and subtracting TWO23[sx].
31164 * math/libm-test.inc (nearbyint_test): Add more tests.
31165
fe45ce09
JM
311662012-02-22 Joseph Myers <joseph@codesourcery.com>
31167
31168 [BZ #2548]
31169 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31170 bits before adding and subtracting TWO23[sx].
31171 * math/libm-test.inc (rint_test): Add more tests.
31172 (rint_test_tonearest): Likewise.
31173 (rint_test_towardzero): Likewise.
31174 (rint_test_downward): Likewise.
31175 (rint_test_upward: Likewise.
31176
ff3b3d82
JM
311772012-02-22 Joseph Myers <joseph@codesourcery.com>
31178
31179 [BZ #10110]
31180 * include/stdc-predef.h: New file. Extracted from features.h.
31181 * include/features.h: Include stdc-predef.h.
31182 * Makefile (headers): Add stdc-predef.h.
31183 * CONFORMANCE (Compiler limitations): Update.
31184
ef0aab35
JM
311852012-02-22 Joseph Myers <joseph@codesourcery.com>
31186
31187 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31188
58639409
DM
311892012-02-21 David S. Miller <davem@davemloft.net>
31190
31191 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31192 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31193
c0e70b25
DM
311942012-02-20 David S. Miller <davem@davemloft.net>
31195
31196 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31197 using a normal save/restore sequence, rather than allocating a
31198 dummy stack frame just to store a frame pointer and restore.
31199 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31200
fb06851d
JM
312012012-02-21 Joseph Myers <joseph@codesourcery.com>
31202
31203 * manual/install.texi: Fix stray word in line-wrapped comment.
31204
7a8b71c3
DM
312052012-02-20 David S. Miller <davem@davemloft.net>
31206
d510c123
DM
31207 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31208 both binutils and gcc support GOTDATA.
31209
0722d7c2
DM
31210 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31211 "rd %pc" in the PIC register setup sequences.
31212
3d2b3019
DM
31213 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31214 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31215 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31216 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31217 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31218 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31220 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31222 (SYSCALL_ERROR_HANDLER): Likewise.
31223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31224 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31226 (SYSCALL_ERROR_HANDLER): Likewise.
31227
c80098a9
DM
31228 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31229 (HAVE_GCC_GOTDATA): New.
31230 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31231 relocation support in both binutils and gcc.
31232 * sysdeps/sparc/elf/configure: Regenerate.
31233
3a2545a0
DM
31234 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31235 * sysdeps/sparc/sparc32/elf/configure: Delete.
31236 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31237 * sysdeps/sparc/sparc64/elf/configure: Delete.
31238 * sysdeps/sparc/elf/configure.in: New file.
31239 * sysdeps/sparc/elf/configure: Generate.
31240
7a8b71c3
DM
31241 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31242 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31243 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31244 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31245 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31246
f1e86fca
JM
312472012-02-21 Joseph Myers <joseph@codesourcery.com>
31248
31249 * manual/install.texi: Do not mention specific glibc version
31250 numbers.
31251 * manual/libc.texinfo (VERSION, UPDATED): Update.
31252 (@copying): Use @copyright{} and range of years.
31253
0e7dfaef
JM
312542012-02-21 Joseph Myers <joseph@codesourcery.com>
31255
31256 [BZ #13695]
31257 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31258 [crti.S not in sysdirs] (generated): Do not append.
31259 [crti.S not in sysdirs] (omit-deps): Likewise.
31260 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31261 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31262 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31263 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31264 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31265 Likewise.
31266 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31267 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31268 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31269 * csu/defs.awk: Remove file.
31270 * sysdeps/generic/initfini.c: Likewise.
31271 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31272 variable.
31273 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31274 Likewise.
31275
599af3ca
JM
312762012-02-20 Joseph Myers <joseph@codesourcery.com>
31277
31278 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31279 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31281 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31283 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31284 <bits/epoll.h>.
31285 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31286 (__EPOLL_PACKED): Define to empty if not defined by
31287 <bits/epoll.h>.
31288 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31289 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31290 bits/epoll.h.
31291
0e499750
JM
312922012-02-20 Joseph Myers <joseph@codesourcery.com>
31293
31294 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31295 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31296 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31297 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31298 <bits/timerfd.h>.
31299 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31301 bits/timerfd.h.
31302
5ad91f6e
JM
313032012-02-20 Joseph Myers <joseph@codesourcery.com>
31304
31305 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31306 in C locale.
31307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31308 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31309 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31311
06b99b02
AJ
313122012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31313
31314 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31315 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31316
7638c0fd
AS
313172012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31318
31319 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31320 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31321 defined.
31322 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31323 Likewise.
31324 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31325 entry for 2.16.
31326
92221550
AJ
313272012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31328
31329 * math/w_acos.c: Use non-signaling floating-point comparisons.
31330 * math/w_acosf.c: Likewise.
31331 * math/w_acosh.c: Likewise.
31332 * math/w_acoshf.c: Likewise.
31333 * math/w_acoshl.c: Likewise.
31334 * math/w_acosl.c: Likewise.
31335 * math/w_asin.c: Likewise.
31336 * math/w_asinf.c: Likewise.
31337 * math/w_asinl.c: Likewise.
31338 * math/w_atanh.c: Likewise.
31339 * math/w_atanhf.c: Likewise.
31340 * math/w_atanhl.c: Likewise.
31341 * math/w_exp2.c: Likewise.
31342 * math/w_exp2f.c: Likewise.
31343 * math/w_exp2l.c: Likewise.
31344 * math/w_j0.c: Likewise.
31345 * math/w_j0f.c: Likewise.
31346 * math/w_j0l.c: Likewise.
31347 * math/w_j1.c: Likewise.
31348 * math/w_j1f.c: Likewise.
31349 * math/w_j1l.c: Likewise.
31350 * math/w_jn.c: Likewise.
31351 * math/w_jnf.c: Likewise.
31352 * math/w_log.c: Likewise.
31353 * math/w_log10.c: Likewise.
31354 * math/w_log10f.c: Likewise.
31355 * math/w_log10l.c: Likewise.
31356 * math/w_log2.c: Likewise.
31357 * math/w_log2f.c: Likewise.
31358 * math/w_log2l.c: Likewise.
31359 * math/w_logf.c: Likewise.
31360 * math/w_logl.c: Likewise.
31361 * math/w_sqrt.c: Likewise.
31362 * math/w_sqrtf.c: Likewise.
31363 * math/w_sqrtl.c: Likewise.
31364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31365 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31367 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31368 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31369
ebaf36eb
JM
313702012-02-19 Joseph Myers <joseph@codesourcery.com>
31371
31372 [BZ #9739]
31373 * manual/string.texi (strnlen): Use correct parameter name in
31374 equivalent expression.
31375
71c254a6
JM
313762012-02-19 Joseph Myers <joseph@codesourcery.com>
31377
31378 [BZ #11174]
31379 * manual/users.texi (seteuid): Consistently use neweuid for
31380 argument name.
31381
16d2c631
JM
313822012-02-19 Joseph Myers <joseph@codesourcery.com>
31383
31384 [BZ #13704]
31385 * manual/nss.texi (Services in the NSS configuration): Correct
31386 list of services in example configuration file.
31387
cd837b09
NB
313882012-02-19 Nick Bowler <nbowler@draconx.ca>
31389
31390 [BZ #11322]
31391 * manual/arith.texi: Remove statements about negative zero
31392 behaving identically to zero.
31393
02c4bbad
JM
313942012-02-18 Joseph Myers <joseph@codesourcery.com>
31395
31396 [BZ #5993]
31397 * manual/install.texi: Do not document upgrading from libc5.
31398
366842e7
JM
313992012-02-18 Joseph Myers <joseph@codesourcery.com>
31400
31401 [BZ #4596]
31402 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31403
dd54084d
DM
314042012-02-18 David S. Miller <davem@davemloft.net>
31405
31406 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31407 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31408 %o7 across the call.
31409 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31410 instead.
31411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31412 SETUP_PIC_REG_LEAF.
31413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31414 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31415 * sysdeps/sparc/crtn.S: Likewise.
31416
2bcc53a3
UD
314172012-02-17 Ulrich Drepper <drepper@gmail.com>
31418
31419 * aout/Makefile: Remove.
31420
09c093b5
RK
314212012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31422
31423 [BZ #13058]
31424 * manual/examples/argp-ex1.c (main): Format definition in GNU
31425 style.
31426 * manual/examples/argp-ex2.c (main): Likewise.
31427 * manual/examples/argp-ex3.c (main): Likewise.
31428 * manual/examples/argp-ex4.c (main): Likewise.
31429 * manual/examples/longopt.c (main): Use new-style prototype
31430 definition.
31431 * manual/examples/strncat.c (main): Specify return type and use
31432 (void) for arguments.
31433 * manual/examples/subopt.c (main): Use char **argv argument.
31434
2ee633a2
JM
314352012-02-17 Joseph Myers <joseph@codesourcery.com>
31436
31437 [BZ #5077]
31438 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31439 rounding modes.
31440
0520adde
FB
314412012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31442
31443 [BZ #6907]
31444 * manual/string.texi (strchr): Change when strchrnul is
31445 recommended.
31446
3f4081cd
DGM
314472012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31448
31449 [BZ #174]
31450 * manual/locale.texi (setlocale): Document LOCPATH.
31451
d1b10e78
JM
314522012-02-17 Joseph Myers <joseph@codesourcery.com>
31453
31454 [BZ #10210]
31455 * manual/process.texi (execle): Move @dots{} before last argument.
31456
79c6869c
PB
314572012-02-17 Paul Bolle <pebolle@tiscali.nl>
31458
31459 [BZ #12047]
31460 * manual/charset.texi (Generic Charset Conversion): Fix typo
31461 (LC_TYPE -> LC_CTYPE).
31462
cc6e48bc
NB
314632012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31464
31465 [BZ #5805]
31466 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31467 (scalbnf): Likewise.
31468 (scalbnl): Likewise.
31469 (scalbln): Likewise.
31470 (scalblnf): Likewise.
31471 (scalblnl): Likewise.
31472 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31473 (vwarnx): Likewise.
31474 (verr): Likewise.
31475 (verrx): Likewise.
31476 * manual/filesys.texi (telldir): Use braces around return type.
31477 * manual/llio.texi (mmap): Add space after comma.
31478 (mmap64): Likewise.
31479 * manual/math.texi (jn): Use @var{} on parameter names.
31480 (jnf): Likewise.
31481 (jnl): Likewise.
31482 (yn): Likewise.
31483 (ynf): Likewise.
31484 (ynl): Likewise.
31485 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31486 line.
31487 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31488 "...".
31489 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31490 (sched_get_priority_max): Likewise.
31491 * manual/signal.texi (sigvec): Add space after comma.
31492 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31493 names.
31494 (if_indextoname): Likewise.
31495 (if_freenameindex): Likewise.
31496 (sendto): Use ',' instead of '.' in prototype.
31497 * manual/startup.texi (syscall): Use @dots{} instead of literal
31498 "...".
31499 * manual/stdio.texi (__fpending): Separate initial words of
31500 paragraph from @deftypefun line.
31501 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31502 "...".
31503 (vsyslog): Use @var{} on parameter names.
31504 * manual/terminal.texi (stty): Use @var{} on parameter names.
31505 * manual/users.texi (getutmp): Use @var{} on parameter names.
31506 (getutmpx): Likewise.
31507
5b23062f
JM
315082012-02-17 Joseph Myers <joseph@codesourcery.com>
31509
31510 [BZ #6884]
31511 * manual/stdio.texi (fopen): Fix typos in description of
31512 ",ccs=STRING".
31513
8dee4833
AJ
315142012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31515
31516 [BZ #4026]
31517 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31518 get clock_id definition.
31519
9078ce93
TS
315202012-02-17 Thomas Schwinge <thomas@schwinge.name>
31521
31522 [BZ #4822]
31523 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31524 (madvise): Cast every argument to void on its own.
31525
3835c55f
JM
315262012-02-17 Joseph Myers <joseph@codesourcery.com>
31527
31528 [BZ #9902]
31529 * manual/startup.texi (Exit Status): Fix typo.
31530
35c47e37
JM
315312012-02-17 Joseph Myers <joseph@codesourcery.com>
31532
31533 [BZ #10140]
31534 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31535 * manual/examples/argp-ex2.c: Likewise.
31536 * manual/examples/argp-ex3.c: Likewise.
31537
e3b69ca7
RH
315382012-02-16 Richard Henderson <rth@redhat.com>
31539
31540 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31541 * sysdeps/s390/s390-32/initfini.c: Remove.
31542 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31543 * sysdeps/s390/s390-64/initfini.c: Remove.
31544
df83af67
KK
315452012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31546
31547 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31548 compiler output for sysdeps/generic/initfini.c.
31549 * sysdeps/sh/elf/initfini.c: Remove file.
31550
f63f3380
DM
315512012-02-16 David S. Miller <davem@davemloft.net>
31552
fb59b3a4
DM
31553 [BZ #11494]
31554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31555
f63f3380
DM
31556 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31557 * sysdeps/sparc/crti.S: New file.
31558 * sysdeps/sparc/crtn.S: New file.
31559 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31560 * sysdeps/sparc/sparc64/Makefile: Likewise.
31561
df6a4a4a
MF
315622012-02-15 Mike Frysinger <vapier@gentoo.org>
31563
6dd8f3dc 31564 [BZ #3335]
df6a4a4a
MF
31565 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31566
1cac7236
RM
315672012-02-15 Roland McGrath <roland@hack.frob.com>
31568
d2c736f8
RM
31569 [BZ #4822]
31570 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31571
1cac7236
RM
31572 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31573 (write, read, close): Likewise.
31574 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31575
8e475601
JM
315762012-02-15 Joseph Myers <joseph@codesourcery.com>
31577
31578 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31579 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31580 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31581 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31582 <bits/signalfd.h>.
31583 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31585 bits/signalfd.h.
31586
ed656b40
MP
315872012-02-14 Marek Polacek <polacek@redhat.com>
31588
31589 * sysdeps/x86_64/crti.S: New file.
31590 * sysdeps/x86_64/crtn.S: New file.
31591 * sysdeps/x86_64/elf/initfini.c: Remove file.
31592
2a979d3a
JM
315932012-02-13 Joseph Myers <joseph@codesourcery.com>
31594
31595 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31596 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31597 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31598 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31599 <bits/inotify.h>.
31600 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31602 bits/inotify.h.
31603
2a418ac3
JM
316042012-02-13 Joseph Myers <joseph@codesourcery.com>
31605
31606 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31607 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31608 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31609 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31610 <bits/eventfd.h>.
31611 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31613 bits/eventfd.h.
31614
fb779be7
TS
316152012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31616
e19e83c5
RM
31617 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31618 __feraiseexcept instead of feraiseexcept.
7c35ffed 31619
fb779be7
TS
31620 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31621 nanosleep invocations.
31622 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31623 strings, and add error checking for a nanosleep invocations.
31624
59ba27a6
PE
316252012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31626
31627 Replace FSF snail mail address with URLs, as per GNU coding standards.
31628 Most of the snail mail addresses were wrong anyway, and omitting
31629 them makes the source code easier to maintain. Almost all of the
31630 changes are to license notices and to locale LC_IDENTIFICATION
31631 addresses, except for this one:
31632 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31633 not its snail mail address.
31634
57b957eb
RH
316352012-02-09 Richard Henderson <rth@twiddle.net>
31636
af850b1c
RH
31637 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31638 of kernel-features.h.
31639
57b957eb
RH
31640 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31641
6b73181a
MP
316422012-02-08 Marek Polacek <polacek@redhat.com>
31643
31644 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31645 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31646 * sysdeps/gnu/_G_config.h: Likewise.
31647 * sysdeps/generic/_G_config.h: Likewise.
31648
26ecc33a
AS
316492012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31650
6c6dbc63
AS
31651 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31652 tests.
31653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31654
e216c012
AS
31655 * sysdeps/powerpc/powerpc32/crti.S: New file.
31656 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31657 * sysdeps/powerpc/powerpc64/crti.S: New file.
31658 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31659
26ecc33a
AS
31660 * Makeconfig (have-initfini): Don't set.
31661 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31662 * configure.in (nopic_initfini): Don't substitute.
31663 * config.h.in (HAVE_INITFINI): Don't #undef.
31664 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31665 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31666
3add8e13
JM
316672012-02-08 Joseph Myers <joseph@codesourcery.com>
31668
31669 Support crti.S and crtn.S provided directly by architectures.
31670 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31671 [crti.S in sysdirs] (omit-deps): Likewise.
31672 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31673 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31674 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31675 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31676 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31677 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31678 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31679 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31680 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31681 compiler output for sysdeps/generic/initfini.c.
31682 * sysdeps/i386/elf/Makefile: Remove file.
31683 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31684
a22f12b4
MP
316852012-02-07 Marek Polacek <polacek@redhat.com>
31686
31687 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31688 * sysdeps/gnu/_G_config.h: Likewise.
31689 * sysdeps/mach/hurd/_G_config.h: Likewise.
31690
148cf100
MP
316912012-02-07 Marek Polacek <polacek@redhat.com>
31692
31693 * math/Makefile (tests): Add tst-CMPLX2.
31694 * math/tst-CMPLX2.c: New file.
31695
cfdc0dd7
AS
316962012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31697
84ba42c4
AS
31698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31699
cfdc0dd7
AS
31700 * math/libm-test.inc (jn_test): Add missing L suffix.
31701
622c86f4
MP
317022012-02-06 Marek Polacek <polacek@redhat.com>
31703
31704 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31705 * sysdeps/i386/fpu/e_powf.S: Likewise.
31706 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31707 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31709 * sysdeps/i386/fpu/e_pow.S: Likewise.
31710 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31711 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31712 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31713 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31714 * sysdeps/i386/fpu/e_log2.S: Likewise.
31715 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31716 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31717 * sysdeps/i386/fpu/e_powl.S: Likewise.
31718 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31719 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31720 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31721 * sysdeps/i386/fpu/e_logl.S: Likewise.
31722 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31723 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31724 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31725 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31727 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31728 * sysdeps/i386/fpu/e_log.S: Likewise.
31729 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31730 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31731 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31732 * sysdeps/i386/fpu/e_logf.S: Likewise.
31733 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31734 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31735 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31736 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31737 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31738 * sysdeps/i386/fpu/e_log10.S: Likewise.
31739 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31741 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31742 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31743 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31744 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31745 * sysdeps/i386/asm-syntax.h: Likewise.
31746 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31747 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31749 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31750 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31751 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31752 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31753 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31754 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31755 * sysdeps/powerpc/sysdep.h: Likewise.
31756 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31757 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31758
d4a54ac6
JM
317592012-02-06 Joseph Myers <joseph@codesourcery.com>
31760
31761 [BZ #411]
31762 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31763
314054ea
JM
317642012-02-06 Joseph Myers <joseph@codesourcery.com>
31765
31766 * sysdeps/i386/sysdep.h: Include <features.h>.
31767 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31768 version.
31769
d8e0ca50
JM
317702012-02-05 Joseph Myers <joseph@codesourcery.com>
31771
31772 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31773 Define.
31774 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31775 LOAD_PIC_REG_STR.
31776
b1da7dd9
JM
317772012-02-03 Joseph Myers <joseph@codesourcery.com>
31778
31779 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31780 (SETUP_PIC_REG): Use GET_PC_THUNK.
31781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31782 macro.
31783
9a1d9254
JM
317842012-02-03 Joseph Myers <joseph@codesourcery.com>
31785
31786 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31787 for non-PIC compilation.
31788 (SETUP_PIC_REG): Add .p2align directive.
31789 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31790 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31791 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31792 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31793 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31794 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31795 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31797 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31798 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31799 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31800 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31801 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31802 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31803 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31804 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31805 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31806 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31807 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31808 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31809 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31811 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31812 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31815 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31816 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31817 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31818 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31819 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31821 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31822 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31823 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31824 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31825 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31826 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31827 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31828 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31829 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31830
65dc3b75
JM
318312012-02-03 Joseph Myers <joseph@codesourcery.com>
31832
31833 * math/tst-CMPLX.c: Include <stdio.h>.
31834
d55bf177
JM
318352012-01-31 Joseph Myers <joseph@codesourcery.com>
31836
31837 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31838 float.
31839 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31840 * sysdeps/sparc/bits/mathdef.h: Likewise.
31841
69db4f8f
MP
318422012-01-31 Marek Polacek <polacek@redhat.com>
31843
31844 * libio/libio.h: Don't define _PARAMS.
31845 * locale/programs/config.h: Don't define PARAMS.
31846 * stdlib/strtol_l.c: Likewise.
31847 (__strtol_l): Remove PARAMS from the prototype.
31848
41b81892
UD
318492012-01-31 Ulrich Drepper <drepper@gmail.com>
31850
3b49edc0
UD
31851 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31852 names. Just use the correct names. Remove unnecessary wrapper
31853 functions.
31854 * malloc/arena.c: Likewise.
31855 * malloc/hooks.c: Likewise.
31856
41b81892
UD
31857 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31858 ARENA_TEST says not to. Simplify test for creation of a new arena.
31859 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31860
27a25b6e
UD
318612012-01-30 Ulrich Drepper <drepper@gmail.com>
31862
31863 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31864 into tail calls.
31865 (update_get_addr): New function.
31866 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31867 GET_ADDR_MODULE parameter.
31868
c8a89e7d
JM
318692012-01-30 Joseph Myers <joseph@codesourcery.com>
31870
31871 * crypt/cert.c: Remove __STDC__ conditionals.
31872 * crypt/crypt-entry.c: Likewise.
31873 * crypt/crypt_util.c: Likewise.
31874 * libio/filedoalloc.c: Likewise.
31875 * libio/fileops.c: Likewise.
31876 * libio/genops.c: Likewise.
31877 * libio/iofclose.c: Likewise.
31878 * libio/iofdopen.c: Likewise.
31879 * libio/iofopen.c: Likewise.
31880 * libio/iofopen64.c: Likewise.
31881 * libio/iogetdelim.c: Likewise.
31882 * libio/iopopen.c: Likewise.
31883 * libio/obprintf.c: Likewise.
31884 * libio/oldfileops.c: Likewise.
31885 * libio/oldiofclose.c: Likewise.
31886 * libio/oldiofdopen.c: Likewise.
31887 * libio/oldiofopen.c: Likewise.
31888 * libio/oldiopopen.c: Likewise.
31889 * libio/wfiledoalloc.c: Likewise.
31890 * libio/wgenops.c: Likewise.
31891 * locale/programs/xmalloc.c: Likewise.
31892 * misc/syslog.c: Likewise.
31893 * stdio-common/xbug.c: Likewise.
31894 * string/memchr.c: Likewise.
31895 * string/memcmp.c: Likewise.
31896 * string/memrchr.c: Likewise.
31897 * string/rawmemchr.c: Likewise.
31898 * sysdeps/posix/getcwd.c: Likewise.
31899 * time/strftime_l.c: Likewise.
31900
3b100462
JM
319012012-01-30 Joseph Myers <joseph@codesourcery.com>
31902
31903 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
31904 * config.make.in (config-cflags-sse2avx): Define.
31905 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31906 Fix typo.
31907
607998af
CM
319082012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31909
31910 * scripts/config.guess: Update from upstream config git repository.
31911 * scripts/config.sub: Likewise.
31912
3601428f
CM
319132012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31914
3ac8b282
CM
31915 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31916 (EM_NUM): Update.
31917 (R_TILEPRO_*, R_TILEGX_*): New macros.
31918
e034841e
CM
31919 * scripts/firstversions.awk: Fix bug in version range handling.
31920
540d7568
CM
31921 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31922
3601428f
CM
31923 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31924
463de862
CM
31925 * include/sys/epoll.h: New file.
31926 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31927 libc_hidden_def.
31928
73139a76
UD
319292012-01-28 Ulrich Drepper <drepper@gmail.com>
31930
96bc5b45
UD
31931 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31932 Avoid unnecessary __WORDSIZE == 64 test.
31933 (fmaxf): Use VEX format if possible.
31934 (fmax): Likewise.
31935 (fminf): Likewise.
31936 (fmin): Likewise.
31937
56f6f6a2
UD
31938 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31939 * math/math_private.h: Remove libc_fegetround* and
31940 libc_fesetround*.
31941 * sysdeps/i386/configure.in: Check for -msse2avx.
31942 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31943 also if SSE2AVX is defined.
31944 Remove libc_fegetround* and libc_fesetround*.
31945 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31946 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31947 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31948 of HAS_YMM_USABLE.
31949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31954
73139a76
UD
31955 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31956
d73f93a4
AZ
319572012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31958
31959 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31960 size is not set.
31961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31962
6ee65ed6
UD
319632012-01-27 Ulrich Drepper <drepper@gmail.com>
31964
31965 [BZ #13618]
31966 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31967 relocation.
31968 * Makeconfig (libm): Define.
31969 * elf/Makefile: Add rules to build and run tst-relsort1.
31970 * elf/tst-relsort1.c: New file.
31971 * elf/tst-relsort1mod1.c: New file.
31972 * elf/tst-relsort1mod2.c: New file.
31973
8db21882
JM
319742012-01-27 Joseph Myers <joseph@codesourcery.com>
31975
31976 * math/s_ldexp.c: Remove __STDC__ conditionals.
31977 * math/s_ldexpf.c: Likewise.
31978 * math/s_ldexpl.c: Likewise.
31979 * math/s_nextafter.c: Likewise.
31980 * math/s_nexttowardf.c: Likewise.
31981 * math/s_significand.c: Likewise.
31982 * math/s_significandf.c: Likewise.
31983 * math/s_significandl.c: Likewise.
31984 * math/w_jnl.c: Likewise.
31985 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31986 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31987 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31988 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31989 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31991 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31992 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31993 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31994 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31995 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32004 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32005 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32006 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32007 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32008 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32009 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32010 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32011 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32012 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32013 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32014 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32015 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32016 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32017 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32018 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32019 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32020 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32021 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32025 * sysdeps/ieee754/k_standard.c: Likewise.
32026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32030 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32031 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32033 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32034 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32035 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32036 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32037 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32038 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32039 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32040 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32042 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32043 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32044 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32045 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32047 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32048 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32049 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32050 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32054 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32057 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32058 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32061 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32062 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32064 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32065 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32066 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32067 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32068 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32069 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32070 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32071 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32072 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32079 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32080 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32082 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32083 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32084 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32085 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32086 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32087 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32088 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32089 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32090 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32091 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32092 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32095 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32096 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32097 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32098 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32099 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32100 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32101 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32102 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32103 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32105 * sysdeps/ieee754/s_matherr.c: Likewise.
32106 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32107 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32109 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32110
965a54a4
JM
321112012-01-26 Joseph Myers <joseph@codesourcery.com>
32112
32113 * crypt/md5.h: Remove __STDC__ conditionals.
32114 * libio/libioP.h: Likewise.
32115 * locale/programs/config.h: Likewise.
32116 * sysdeps/generic/sysdep.h: Likewise.
32117 * sysdeps/i386/asm-syntax.h: Likewise.
32118 * sysdeps/s390/asm-syntax.h: Likewise.
32119 * sysdeps/unix/sysdep.h: Likewise.
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32122
7071ad79
JM
321232012-01-26 Joseph Myers <joseph@codesourcery.com>
32124
32125 * libio/libio.h: Remove __STDC__ conditionals.
32126 * malloc/obstack.h: Likewise.
32127 * math/complex.h: Likewise.
32128 * math/math.h: Likewise.
32129 * sysdeps/generic/_G_config.h: Likewise.
32130 * sysdeps/gnu/_G_config.h: Likewise.
32131 * sysdeps/mach/hurd/_G_config.h: Likewise.
32132 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32133 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32134 * sysdeps/sparc/bits/mathdef.h: Likewise.
32135
afc5ed09
UD
321362012-01-26 Ulrich Drepper <drepper@gmail.com>
32137
32138 [BZ #13583]
32139 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32140 Clean up HAS_* macros.
afc5ed09 32141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32142 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32143 possible.
32144 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32145 HAS_AVX.
32146 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32147 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32148 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32151
bdb6de1d
JM
321522012-01-25 Joseph Myers <joseph@codesourcery.com>
32153
32154 * elf/tst-unique3.cc (gets): Remove declaration.
32155 * elf/tst-unique3lib.cc (gets): Likewise.
32156 * elf/tst-unique3lib2.cc (gets): Likewise.
32157 * elf/tst-unique4.cc (gets): Likewise.
32158
b15549e6
UD
321592012-01-24 Ulrich Drepper <drepper@gmail.com>
32160
32161 * include/stdio.h: Add C++ protection. Add gets declarations and
32162 definitions.
32163 * debug/tst-chk1.c: Don't declare gets here.
32164 * stdio-common/tst-gets.c: Likewise.
32165
a037381f
JM
321662012-01-24 Joseph Myers <joseph@codesourcery.com>
32167
32168 * posix/glob: Remove directory.
32169
f1d4aa75
JM
321702012-01-24 Joseph Myers <joseph@codesourcery.com>
32171
32172 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32173
81c0c964
PT
321742012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32175
32176 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32177 of the non-standard EPFNOSUPPORT.
32178
0ea698ae
ST
321792011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32180
32181 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32182 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32183 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32184
d220b117
UD
321852012-01-21 Ulrich Drepper <drepper@gmail.com>
32186
32187 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32188
3e1aa84e
UD
321892012-01-20 Ulrich Drepper <drepper@gmail.com>
32190
32191 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32192 transient errors.
32193 * nscd/grpcache.c (cache_addgr): Likewise.
32194 * nscd/hstcache.c (cache_addhst): Likewise.
32195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32196 * nscd/pwdcache.c (cache_addpw): Likewise.
32197 * nscd/servicescache.c (cache_addserv): Likewise.
32198
400aa020
UD
321992012-01-16 Ulrich Drepper <drepper@gmail.com>
32200
d77e7869
UD
32201 * malloc/malloc.c: Various cleanups.
32202 * malloc/hooks.c: Likewise.
32203
400aa020
UD
32204 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32205 * stdlib/bug-fmtmsg1.c: New file.
32206
32207 * stdlib/fmtmsg.c (init): Add missing unlock.
32208 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32209
e0a309cf
MP
322102012-01-12 Marek Polacek <polacek@redhat.com>
32211
32212 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32213 and _GNU_SOURCE.
32214
929d11c7
WS
322152012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32216
32217 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32218 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32219 macro to ensure uniqueness of label name.
32220 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32221 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32222
41d0e869
UD
322232012-01-11 Ulrich Drepper <drepper@gmail.com>
32224
0cc5ed3b
UD
32225 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32226
41d0e869
UD
32227 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32228 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32229 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32231
a47a831a
UD
322322012-01-10 Ulrich Drepper <drepper@gmail.com>
32233
daa891c0
UD
32234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32235
32236 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32237 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32238 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32239
e58ef0f2
UD
32240 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32241
a47a831a 32242 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32243 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32246
32247 * math/bits/math-finite.h: Add ldexp support.
32248
a0bfc9c7
MP
322492012-01-10 Marek Polacek <polacek@redhat.com>
32250
32251 * locale/programs/localedef.h (show_archive_content): Add noreturn
32252 attribute.
32253
d6e97a1d
UD
322542012-01-09 Ulrich Drepper <drepper@gmail.com>
32255
32256 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32257
d5835c26
UD
322582012-01-08 Ulrich Drepper <drepper@gmail.com>
32259
e5f484c6
UD
32260 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32261
d5835c26
UD
32262 * io/Makefile (headers): Add bits/poll2.h.
32263
d1f741e9
WS
322642011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32265
32266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32267 typo #include statement.
32268
ec09c1c4
UD
322692012-01-08 Ulrich Drepper <drepper@gmail.com>
32270
32271 * include/sys/cdefs.h: Define __attribute_alloc_size.
32272 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32273 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32274 * elf/pldd.c: Likewise.
32275 * iconv/iconv_charmap.c: Likewise.
32276 * iconv/iconvconfig.c: Likewise.
32277 * iconv/strtab.c: Likewise.
32278 * locale/programs/locale.c: Likewise.
32279 * locale/programs/localedef.h: Likewise.
32280 * locale/programs/simple-hash.c: Likewise.
32281 * nscd/nscd.h: Likewise.
32282 * nss/makedb.c: Likewise.
32283 * sysdeps/generic/ldconfig.h: Likewise.
32284 * locale/programs/localedef.c: Remove xmalloc prototype.
32285 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32286
20b38e03
PP
322872012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32288
32289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32290 appropriate.
32291
a0da5fe1
UD
322922012-01-08 Ulrich Drepper <drepper@gmail.com>
32293
1d5a644a 32294 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32295 * math/tst-CMPLX.c: New file.
1d5a644a 32296
8784a6db
UD
32297 * math/complex.h (CMPLXL): Fix typo.
32298
d9a216c0
UD
32299 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32300 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32301 GLIBC_2.16.
32302 * debug/tst-chk1.c: Add poll and ppoll tests.
32303 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32304 * include/sys/poll.h: Add hidden proto for ppoll.
32305 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32306 * sysdeps/mach/hurd/ppoll.c: Likewise.
32307 * io/ppoll.c: Likewise.
32308 * debug/poll_chk.c: New file.
32309 * debug/ppoll_chk.c: New file.
32310 * include/bits/poll2.h: New file.
32311 * io/bits/poll2.h: New file.
32312
ac097f5c
UD
32313 [BZ #1350]
32314 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32315
2119dcfa
UD
32316 * configure.in: static is always set to yes. Remove.
32317 * config.make.in: Don't set build-static.
32318 * Makeconfig: Remove use of build-static.
32319 * dlfcn/Makefile: Likewise.
32320 * elf/Makefile: Likewise.
32321 * math/Makefile: Likewise.
32322 * misc/Makefile: Likewise.
32323 * nptl/Makefile: Likewise.
32324 * sysdeps/mach/hurd/Makefile: Likewise.
32325
121766a9
UD
32326 * configure.in: PWD_P is not used anymore.
32327 * config.make.in: Remove PWD_P entry.
32328
51a1d39c 32329 * configure.in: Remove last remnants of RANLIB.
8720d066 32330 No need to check for signed size_t anymore.
215f4bdc
UD
32331 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32332 and IA-64.
3857022a 32333 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32334 * aclocal.m4: Likewise.
32335
d3ed7225
UD
32336 * wcsmbs/mbrtoc16.c: Implement using towc function.
32337 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32338 * wcsmbs/wcsmbsload.c: Likewise.
32339 * iconv/gconv_simple.c: Likewise.
32340 * iconv/gconv_int.h: Likewise.
32341 * iconv/gconv_builtin.h: Likewise.
32342 * iconv/iconv_prog.c: Remove CHAR16 handling.
32343
32344 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32345
32346 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32347
a0da5fe1
UD
32348 * configure.in: Remove --with-elf and --enable-bounded options.
32349 Dont set base_machine for ia64. More non-ELF conditions removed.
32350 Remove testing and setting of leading underscore information.
32351 * config.make.in (build-bounded): Set to no.
32352 * config.h.in: Remove NO_UNDERSCORES entry.
32353 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32354 them.
32355 * csu/start.c: Remove !NO_UNDERSCORE code.
32356 * locale/localeinfo.h: Likewise.
32357 * sysdeps/generic/machine-gmon.h: Likewise.
32358 * sysdeps/generic/sysdep.h: Likewise.
32359 * sysdeps/i386/sysdep.h: Likewise.
32360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32361 * sysdeps/mach/sysdep.h: Likewise.
32362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32364 * sysdeps/sh/sysdep.h: Likewise.
32365 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32366 * sysdeps/unix/i386/sysdep.S: Likewise.
32367 * sysdeps/unix/sparc/start.c: Likewise.
32368 * sysdeps/unix/sparc/sysdep.S: Likewise.
32369 * sysdeps/unix/sparc/sysdep.h: Likewise.
32370 * sysdeps/unix/start.c: Likewise.
32371 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32372 * sysdeps/x86_64/sysdep.h: Likewise.
32373
df78418a
UD
323742012-01-07 Ulrich Drepper <drepper@gmail.com>
32375
a784e502
UD
32376 [BZ #13553]
32377 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32378 for non-gcc.
32379 * argp/argp-fmtstream.h: Use const instead __const.
32380 * argp/argp.h: Likewise.
32381 * assert/assert.h: Likewise.
32382 * bits/fenv.h: Likewise.
32383 * bits/sched.h: Likewise.
32384 * bits/sigset.h: Likewise.
32385 * bits/sigthread.h: Likewise.
32386 * catgets/nl_types.h: Likewise.
32387 * conform/data/pthread.h-data: Likewise.
32388 * crypt/crypt-private.h: Likewise.
32389 * crypt/crypt.h: Likewise.
32390 * crypt/crypt_util.c: Likewise.
32391 * ctype/ctype.h: Likewise.
32392 * debug/execinfo.h: Likewise.
32393 * debug/mbsnrtowcs_chk.c: Likewise.
32394 * debug/mbsrtowcs_chk.c: Likewise.
32395 * debug/wcsnrtombs_chk.c: Likewise.
32396 * debug/wcsrtombs_chk.c: Likewise.
32397 * debug/wcstombs_chk.c: Likewise.
32398 * dirent/dirent.h: Likewise.
32399 * dlfcn/dlfcn.h: Likewise.
32400 * elf/neededtest4.c: Likewise.
32401 * grp/grp.h: Likewise.
32402 * gshadow/gshadow.h: Likewise.
32403 * iconv/gconv.h: Likewise.
32404 * iconv/gconv_int.h: Likewise.
32405 * iconv/gconv_simple.c: Likewise.
32406 * iconv/iconv.h: Likewise.
32407 * iconv/loop.c: Likewise.
32408 * iconv/skeleton.c: Likewise.
32409 * include/aio.h: Likewise.
32410 * include/aliases.h: Likewise.
32411 * include/argz.h: Likewise.
32412 * include/arpa/inet.h: Likewise.
32413 * include/assert.h: Likewise.
32414 * include/dirent.h: Likewise.
32415 * include/dlfcn.h: Likewise.
32416 * include/execinfo.h: Likewise.
32417 * include/fcntl.h: Likewise.
32418 * include/fenv.h: Likewise.
32419 * include/glob.h: Likewise.
32420 * include/grp.h: Likewise.
32421 * include/libintl.h: Likewise.
32422 * include/mntent.h: Likewise.
32423 * include/netdb.h: Likewise.
32424 * include/pwd.h: Likewise.
32425 * include/rpc/netdb.h: Likewise.
32426 * include/sched.h: Likewise.
32427 * include/search.h: Likewise.
32428 * include/shadow.h: Likewise.
32429 * include/signal.h: Likewise.
32430 * include/stdio.h: Likewise.
32431 * include/stdlib.h: Likewise.
32432 * include/string.h: Likewise.
32433 * include/sys/socket.h: Likewise.
32434 * include/sys/stat.h: Likewise.
32435 * include/sys/statfs.h: Likewise.
32436 * include/sys/statvfs.h: Likewise.
32437 * include/sys/syslog.h: Likewise.
32438 * include/sys/time.h: Likewise.
32439 * include/sys/uio.h: Likewise.
32440 * include/time.h: Likewise.
32441 * include/unistd.h: Likewise.
32442 * include/utmp.h: Likewise.
32443 * include/wchar.h: Likewise.
32444 * include/wctype.h: Likewise.
32445 * inet/aliases.h: Likewise.
32446 * inet/arpa/inet.h: Likewise.
32447 * inet/netinet/ether.h: Likewise.
32448 * inet/netinet/in.h: Likewise.
32449 * intl/libintl.h: Likewise.
32450 * io/bits/fcntl2.h: Likewise.
32451 * io/fcntl.h: Likewise.
32452 * io/ftw.h: Likewise.
32453 * io/sys/poll.h: Likewise.
32454 * io/sys/stat.h: Likewise.
32455 * io/sys/statfs.h: Likewise.
32456 * io/sys/statvfs.h: Likewise.
32457 * io/utime.h: Likewise.
32458 * libio/bits/stdio.h: Likewise.
32459 * libio/bits/stdio2.h: Likewise.
32460 * libio/libio.h: Likewise.
32461 * libio/libioP.h: Likewise.
32462 * libio/stdio.h: Likewise.
32463 * locale/lc-ctype.c: Likewise.
32464 * locale/locale.h: Likewise.
32465 * login/utmp.h: Likewise.
32466 * malloc/arena.c: Likewise.
32467 * malloc/malloc.c: Likewise.
32468 * malloc/malloc.h: Likewise.
32469 * malloc/mcheck.c: Likewise.
32470 * malloc/mtrace.c: Likewise.
32471 * math/bits/mathcalls.h: Likewise.
32472 * math/fenv.h: Likewise.
32473 * math/math_private.h: Likewise.
32474 * misc/bits/error.h: Likewise.
32475 * misc/bits/syslog.h: Likewise.
32476 * misc/err.h: Likewise.
32477 * misc/error.h: Likewise.
32478 * misc/fstab.h: Likewise.
32479 * misc/mntent.h: Likewise.
32480 * misc/regexp.h: Likewise.
32481 * misc/search.h: Likewise.
32482 * misc/sgtty.h: Likewise.
32483 * misc/sys/mman.h: Likewise.
32484 * misc/sys/syslog.h: Likewise.
32485 * misc/sys/uio.h: Likewise.
32486 * misc/sys/xattr.h: Likewise.
32487 * misc/ttyent.h: Likewise.
32488 * nis/rpcsvc/ypclnt.h: Likewise.
32489 * nss/nss.h: Likewise.
32490 * posix/bits/unistd.h: Likewise.
32491 * posix/fnmatch.h: Likewise.
32492 * posix/glob.h: Likewise.
32493 * posix/sched.h: Likewise.
32494 * posix/spawn.h: Likewise.
32495 * posix/sys/wait.h: Likewise.
32496 * posix/unistd.h: Likewise.
32497 * posix/wordexp.h: Likewise.
32498 * pwd/pwd.h: Likewise.
32499 * resolv/netdb.h: Likewise.
32500 * resource/sys/resource.h: Likewise.
32501 * rt/aio.h: Likewise.
32502 * rt/bits/mqueue2.h: Likewise.
32503 * rt/mqueue.h: Likewise.
32504 * shadow/shadow.h: Likewise.
32505 * signal/signal.h: Likewise.
32506 * socket/send.c: Likewise.
32507 * socket/sendto.c: Likewise.
32508 * socket/sys/socket.h: Likewise.
32509 * stdio-common/printf.h: Likewise.
32510 * stdlib/bits/stdlib.h: Likewise.
32511 * stdlib/fmtmsg.h: Likewise.
32512 * stdlib/monetary.h: Likewise.
32513 * stdlib/stdlib.h: Likewise.
32514 * stdlib/ucontext.h: Likewise.
32515 * streams/stropts.h: Likewise.
32516 * string/argz.h: Likewise.
32517 * string/bits/string2.h: Likewise.
32518 * string/string.h: Likewise.
32519 * string/strings.h: Likewise.
32520 * sunrpc/rpc/auth.h: Likewise.
32521 * sunrpc/rpc/auth_des.h: Likewise.
32522 * sunrpc/rpc/clnt.h: Likewise.
32523 * sunrpc/rpc/netdb.h: Likewise.
32524 * sunrpc/rpc/pmap_clnt.h: Likewise.
32525 * sunrpc/rpc/xdr.h: Likewise.
32526 * sysdeps/generic/inttypes.h: Likewise.
32527 * sysdeps/generic/net/if.h: Likewise.
32528 * sysdeps/generic/sys/swap.h: Likewise.
32529 * sysdeps/gnu/net/if.h: Likewise.
32530 * sysdeps/gnu/utmpx.h: Likewise.
32531 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32532 * sysdeps/i386/i486/bits/string.h: Likewise.
32533 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32534 * sysdeps/s390/bits/string.h: Likewise.
32535 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32536 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32537 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32538 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32539 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32540 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32541 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32542 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32543 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32544 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32545 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32546 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32547 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32548 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32549 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32550 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32551 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32554 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32555 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32556 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32557 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32558 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32559 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32560 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32561 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32562 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32563 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32564 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32565 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32566 * sysvipc/sys/ipc.h: Likewise.
32567 * sysvipc/sys/msg.h: Likewise.
32568 * sysvipc/sys/sem.h: Likewise.
32569 * sysvipc/sys/shm.h: Likewise.
32570 * termios/termios.h: Likewise.
32571 * time/sys/time.h: Likewise.
32572 * time/time.h: Likewise.
32573 * wcsmbs/bits/wchar2.h: Likewise.
32574 * wcsmbs/uchar.h: Likewise.
32575 * wcsmbs/wchar.h: Likewise.
32576 * wctype/wctype.h: Likewise.
32577
0269750c
UD
32578 [BZ #13551]
32579 * Makeconfig: Remove all but ELF support including AIX support.
32580 * Makerules: Likewise.
32581 * config.h.in: Likewise.
32582 * config.make.in: Likewise.
32583 * configure: Likewise.
32584 * configure.in: Likewise.
32585 * csu/Makefile: Likewise.
32586 * csu/version.c: Likewise.
32587 * debug/Makefile: Likewise.
32588 * dlfcn/Makefile: Likewise.
32589 * elf/Makefile: Likewise.
32590 * extra-lib.mk: Likewise.
32591 * iconv/Makefile: Likewise.
32592 * include/libc-symbols.h: Likewise.
32593 * include/shlib-compat.h: Likewise.
32594 * resolv/Makefile: Likewise.
32595 * resolv/res_libc.c: Likewise.
32596 * rt/Makefile: Likewise.
32597 * sysdeps/i386/asm-syntax.h: Likewise.
32598 * sysdeps/i386/sysdep.h: Likewise.
32599 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32600 * sysdeps/mach/sysdep.h: Likewise.
32601 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32602 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32603 * sysdeps/s390/asm-syntax.h: Likewise.
32604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32606 * sysdeps/sh/sysdep.h: Likewise.
32607 * sysdeps/unix/sparc/sysdep.h: Likewise.
32608 * sysdeps/wordsize-32/divdi3.c: Likewise.
32609 * sysdeps/x86_64/sysdep.h: Likewise.
32610
00bbd29b
UD
32611 * argp/Versions: Remove _argp_unlock_xxx.
32612
32613 [BZ #13559]
32614 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32615 * abilist/libBrokenLocale.abilist: Likewise.
32616 * abilist/libanl.abilist: Likewise.
32617 * abilist/libc.abilist: Likewise.
32618 * abilist/libcrypt.abilist: Likewise.
32619 * abilist/libdl.abilist: Likewise.
32620 * abilist/libm.abilist: Likewise.
32621 * abilist/libnsl.abilist: Likewise.
32622 * abilist/libpthread.abilist: Likewise.
32623 * abilist/libresolv.abilist: Likewise.
32624 * abilist/librt.abilist: Likewise.
32625 * abilist/libthread_db.abilist: Likewise.
32626 * abilist/libutil.abilist: Likewise.
32627 * abilist/libnss_db.abilist: New file.
32628
32629 * scripts/abilist.awk: Add support for indirect functions.
32630
a2693a0e
UD
32631 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32632
3f05895f
UD
32633 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32634
ecb6fb48
UD
32635 * shlib-versions: Remove entries for ports architectures.
32636
664f8cb9
UD
32637 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32638 files in ports.
32639 * elf/stackguard-macros.h: Remove support for IA-64.
32640 * elf/tst-auditmod1.c: Likewise.
32641 * sysdeps/generic/ldsodefs.h: Likewise.
32642
7ae81d88
UD
32643 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32644 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32645 configure files.
32646
bdeba135
UD
32647 [BZ #13552]
32648 * configure.in: Remove --enable-omitfp support.
32649 * FAQ.in: Adjust.
32650 * config.make.in: Likewise.
32651 * Makeconfig: Likewise.
32652 * manual/install.texi: Likewise.
32653
d75a0a62
UD
32654 In case anyone cares, the IA-64 architecture could move to ports.
32655 * sysdeps/ia64/*: Removed.
32656 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 32657 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 32658
dcc9756b
UD
32659 [BZ #13555]
32660 * configure.in: Remove entries for unsupported architectures.
32661
d3761ebc 32662 [BZ #13533]
9954432e
UD
32663 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32664 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32665 routines.
32666 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32667 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32668 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32669 fall back to using wcrtomb.
32670 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32671 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32672 renaming.
32673 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32674 * wcsmbs/tst-c16c32-1.c: New file.
32675
32676 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32677 local variable.
32678
c3a87236
UD
32679 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32680
28926a1b
UD
32681 * elf/tst-unique3.cc: Add explicit declaration of gets.
32682 * elf/tst-unique3lib.cc: Likewise.
32683 * elf/tst-unique3lib2.cc: Likewise.
32684 * elf/tst-unique4.cc: Likewise.
32685
df78418a
UD
32686 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32687
8ecd6b2a
JM
326882012-01-06 Joseph Myers <joseph@codesourcery.com>
32689
32690 [BZ #13566]
32691 * assert/assert.h (static_assert): Don't define for C++.
32692 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32693 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32694
9f115170
UD
326952012-01-03 Ulrich Drepper <drepper@gmail.com>
32696
5e0d0300
UD
32697 * iconv/loop.c (single loop): Fix assertion in storing of
32698 remaining bytes.
32699
9f115170
UD
32700 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32701
81fb02b0
UD
327022012-01-01 Ulrich Drepper <drepper@gmail.com>
32703
32704 * posix/getconf.c: Update copyright year.
32705 * nss/getent.c: Likewise.
a316c1f6 32706 * nss/makedb.c: Likewise.
81fb02b0
UD
32707 * iconv/iconvconfig.c: Likewise.
32708 * iconv/iconv_prog.c: Likewise.
32709 * elf/ldconfig.c: Likewise.
a316c1f6
UD
32710 * elf/pldd.c: Likewise.
32711 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
32712 * catgets/gencat.c: Likewise.
32713 * csu/version.c: Likewise.
32714 * elf/ldd.bash.in: Likewise.
32715 * elf/sprof.c (print_version): Likewise.
32716 * locale/programs/locale.c: Likewise.
32717 * locale/programs/localedef.c: Likewise.
a316c1f6 32718 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
32719 * nscd/nscd.c (print_version): Likewise.
32720 * debug/xtrace.sh: Likewise.
32721 * malloc/memusage.sh: Likewise.
32722 * malloc/mtrace.pl: Likewise.
32723 * debug/catchsegv.sh: Likewise.
32724
2ba92745
JJ
327252011-12-30 Jakub Jelinek <jakub@redhat.com>
32726
32727 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32728 pure attribute.
32729
dadebdae
UD
327302011-12-24 Ulrich Drepper <drepper@gmail.com>
32731
d3761ebc 32732 [BZ #13533]
db6af3eb
UD
32733 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32734 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32735 transformations.
32736 * iconv/gconv_int.h: Likewise.
32737 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32738 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32739 from libc for GLIBC_2.16.
32740 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32741 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32742 * wcsmbs/uchar.h: Really define mbstate_t.
32743 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32744 * wcsmbs/c16rtomb.c: New file.
32745 * wcsmbs/mbrtoc16.c: New file.
32746 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32747 for C/POSIX locale.
32748 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32749 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32750
dadebdae
UD
32751 * wcsmbs/wchar.h: Add missing __restrict.
32752
67371b56
UD
327532011-12-23 Ulrich Drepper <drepper@gmail.com>
32754
74033a25
UD
32755 [BZ #13532]
32756 * time/Makefile (routines): Add timespec_get.
32757 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32758 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32759 timespec for ISO C11.
32760 * time/timespec_get.c: New file.
32761 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32762 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32763
380d7e87
UD
32764 [BZ #13531]
32765 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32766 * stdlib/stdlib.h: Declare aligned_alloc.
32767 * Versions.def: Add GLIBC_2.16 for libc.
32768 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32769
4e9e7a35
UD
32770 [BZ 13527]
32771 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32772 ISO C11.
32773
380d7e87 32774 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
32775 code.
32776
03a71829
UD
32777 [BZ #13528]
32778 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32779
839e283e
UD
32780 [BZ #13529]
32781 * assert/assert.h (static_assert): Define.
32782
ce5294e2 32783 * version.h: Update for 2.16 development version.
90fa7312 32784
8d44e150 32785 [BZ #13526]
d7809905
UD
32786 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32787 _ISOC11_SOURCE.
32788
c0da14cd
UD
32789 * version.h (RELEASE): Bump for 2.15 release.
32790 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32791
530a3249
MP
32792 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32793 Patch by Marek Polacek <mpolacek@redhat.com>.
32794
67371b56
UD
32795 * bits/byteswap.h: Protect long long constants with __extension__.
32796 * sysdeps/i386/bits/byteswap.h: Likewise.
32797 * sysdeps/ia64/bits/byteswap.h: Likewise.
32798 * sysdeps/s390/bits/byteswap.h: Likewise.
32799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32800
15db4de1
LD
328012011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32802
32803 [BZ #13540]
bbe315ea
LD
32804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32805 destination buffer.
15db4de1
LD
32806 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32807
2b2596b1
MP
328082011-12-23 Marek Polacek <polacek@redhat.com>
32809
32810 * elf/dl-addr.c (determine_info): Add inline keyword.
32811 * elf/tst-auditmod4b.c (check_avx): Likewise.
32812 * elf/tst-auditmod6b.c (check_avx): Likewise.
32813 * elf/tst-auditmod6c.c (check_avx): Likewise.
32814 * elf/tst-auditmod7b.c (check_avx): Likewise.
32815
70c6c246
UD
328162011-12-23 Ulrich Drepper <drepper@gmail.com>
32817
32818 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32819 !__SSE_MATH__.
32820
c044cf14
LD
328212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32822
15db4de1 32823 [BZ #13540]
c044cf14
LD
32824 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32825 processing for last bytes.
32826
6b13d9d9
BH
328272011-08-06 Bruno Haible <bruno@clisp.org>
32828
d455f537
BH
32829 [BZ #13061]
32830 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32831 U+0385, not to U+1FEE.
32832
6b13d9d9
BH
32833 [BZ #13062]
32834 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32835 entry for U+00A5 U+0301.
32836
db910efd
UD
328372011-12-22 Ulrich Drepper <drepper@gmail.com>
32838
27deeafc
UD
32839 [BZ #13166]
32840 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32841 buffer for the output is too small.
32842
aed9d171
UD
32843 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32844 optimization.
32845
db910efd
UD
32846 [BZ #13185]
32847 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32848 SSE flags if possible.
32849
2bd779ae
LD
328502011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32851
e7f9dac3 32852 [BZ #13540]
2bd779ae
LD
32853 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32854 processing for last bytes.
32855
154bfc16
JM
328562011-12-22 Joseph Myers <joseph@codesourcery.com>
32857
32858 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32859 (syscall-list-default-options, syscall-list-default-condition)
32860 (syscall-list-includes): Define.
32861 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32862 list of ABIs and options and #if conditions for each ABI. Do not
32863 handle common syscalls between ABIs specially.
32864 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32865 Remove.
32866 (syscall-list-variants, syscall-list-32bit-options)
32867 (syscall-list-32bit-condition, syscall-list-64bit-options)
32868 (syscall-list-64bit-condition): Define.
32869 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32870 (syscall-list-variants, syscall-list-32bit-options)
32871 (syscall-list-32bit-condition, syscall-list-64bit-options)
32872 (syscall-list-64bit-condition): Define.
32873 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32874 Remove.
32875 (syscall-list-variants, syscall-list-32bit-options)
32876 (syscall-list-32bit-condition, syscall-list-64bit-options)
32877 (syscall-list-64bit-condition): Define.
32878 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32879 Remove.
32880 (syscall-list-variants, syscall-list-32bit-options)
32881 (syscall-list-32bit-condition, syscall-list-64bit-options)
32882 (syscall-list-64bit-condition): Define.
32883
21eaf3a5
UD
328842011-12-22 Ulrich Drepper <drepper@gmail.com>
32885
16c6f992
UD
32886 * locale/iso-639.def: Add brx entry.
32887
41043168
UD
32888 [BZ #13328]
32889 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32890 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32891
21eaf3a5
UD
32892 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32893 __feraiseexcept_renamed.
32894
e3a851a2
UD
328952011-12-21 Ulrich Drepper <drepper@gmail.com>
32896
4920765e
UD
32897 [BZ #13538]
32898 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32899 EPOLLET with unsigned values.
32900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32902
e3a851a2
UD
32903 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32904 to large cancellation.
32905 * math/s_cacoshf.c: Likewise.
32906 * math/s_cacoshl.c: Likewise.
32907
b27e24b8
RK
329082011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32909
32910 [BZ #13305]
aebefeee 32911 [BZ #12786]
b27e24b8
RK
32912 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32913 * math/s_cacoshf.c: Likewise.
32914 * math/s_cacoshl.c: Likewise.
32915
ee190f67
UD
329162011-12-21 Ulrich Drepper <drepper@gmail.com>
32917
32918 [BZ #13439]
32919 * iconv/gconv.h: Define __GCONV_SWAP.
32920 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32921 * iconvdata/utf-16.c: Likewise.
32922 * iconvdata/utf-32.c: Likewise.
32923
707f25df
AS
329242011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32925
32926 [BZ #13524]
32927 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32928 numerator after shifting it by one limb.
32929
d2daaa1e
RÁE
329302011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32931
32932 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32933 under [__USE_EXTERN_INLINES].
32934
a4647e72
UD
329352011-12-17 Ulrich Drepper <drepper@gmail.com>
32936
32937 [BZ #13446]
32938 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32939
f0b264f1
AZ
329402011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32941
32942 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32943 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32944 optimized code.
32945 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32946 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32947 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32948 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32949 for strncasecmp/strncasecmp_l compilation.
32950 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32951 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32952
8ef4f244
MP
329532011-12-08 Marek Polacek <mpolacek@redhat.com>
32954
32955 [BZ #13484]
32956 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32957 of __asm__.
32958
97ac2654
UD
329592011-12-17 Ulrich Drepper <drepper@gmail.com>
32960
32961 [BZ #13506]
32962 * time/tzfile.c (__tzfile_read): Check values from file header.
32963
91d2a845
WS
329642011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32965
32966 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32967 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32968 * powerpc/powerpc32/dl-start.S: Likewise.
32969 * powerpc/powerpc32/elf/start.S: Likewise.
32970 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32971 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32972 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32973 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32974 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32975 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32976 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32977 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32978 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32979 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32980 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32981 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32982 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32983 * powerpc/powerpc32/memset.S: Likewise.
32984 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32985 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32986 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32987 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32988 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32989 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32990 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32991 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32992 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32993 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32994 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32995 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32996 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32997
a1267ba1
AZ
329982011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32999
33000 * math/libm-test.inc: Added more nearbyint tests.
33001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33002 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33005
ad8ac1bd
RL
330062011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33007
33008 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33009 FD_CLOEXEC.
33010
1d3e4b61
UD
330112011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33012
33013 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33014 Add wcscpy-ssse3 wcscpy-c.
33015 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33016 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33017 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33018 * sysdeps/x86_64/wcschr.S: New file.
33019 * sysdeps/x86_64/wcsrchr.S: New file.
33020 * string/test-strcmp.c: Remove checking of wcscmp function for
33021 wrong alignments.
33022 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33023 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33024 wcsrchr-sse2 wcsrchr-c.
33025 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33026 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33027 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33028 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33029 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33030 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33031 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33032 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33034 * wcsmbc/wcschr.c (WCSCHR): New macro.
33035
5b330a2d
UD
330362011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33037
33038 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33039 * wcsmbs/test-wcsrchr.c: New file.
33040 * string/test-strrchr.c: Add wcsrchr support.
33041 (WIDE): New macro.
33042 * wcsmbs/test-wcscpy.c: New file.
33043 * string/test-strcpy.c: Add wcscpy support.
33044 (WIDE): New macro.
26428b7c 33045
f039c043
UD
330462011-12-10 Ulrich Drepper <drepper@gmail.com>
33047
33048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33049 the inner loop.
33050
850fb039
AS
330512011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33052
33053 [BZ #13472]
33054 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33055
4efbd5cb
UD
330562011-12-04 Ulrich Drepper <drepper@gmail.com>
33057
52ff5dd0 33058 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33059 Minor optimizations.
52ff5dd0 33060
4efbd5cb
UD
33061 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33062 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33063 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33064
8a426e12
UD
330652011-12-03 Ulrich Drepper <drepper@gmail.com>
33066
aff2453d
UD
33067 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33068 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33069 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33070 for gcc to avoid warnings.
33071 * inet/Makefile (tests): Add tst-checks.
33072 * inet/tst-checks.c: New file.
33073
33074 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33075 warning.
33076
33077 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33078 __wmemcmp_sse2.
33079
33080 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33081 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33082
8a426e12
UD
33083 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33084
9bea3473
UD
330852011-12-02 Ulrich Drepper <drepper@gmail.com>
33086
3a965496
UD
33087 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33088 problem.
33089
9bea3473
UD
33090 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33091
f101631b
UD
330922011-11-29 Joseph Myers <joseph@codesourcery.com>
33093
33094 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33095 conditional on GCC version.
33096 (__arch_compare_and_exchange_val_8_acq)
33097 (__arch_compare_and_exchange_val_16_acq)
33098 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33099 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33100 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33101
a98275aa
UD
331022011-12-02 Joseph Myers <joseph@codesourcery.com>
33103
33104 * sysdeps/sh/backtrace.c: New file.
33105
d4cc29a2
AS
331062011-12-02 Andreas Schwab <schwab@redhat.com>
33107
33108 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33109 parenthesis.
33110
6257af2d
AS
331112011-12-01 Andreas Schwab <schwab@redhat.com>
33112
33113 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33114 falling back to utime.
33115
b5f44c1a
AS
331162011-11-30 Andreas Schwab <schwab@redhat.com>
33117
33118 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33119 expectations for float.
33120
f3a6cc0a
AS
331212011-11-29 Andreas Schwab <schwab@redhat.com>
33122
33123 * locale/weight.h (findidx): Add parameter len.
33124 * locale/weightwc.h (findidx): Likewise.
33125 * posix/fnmatch_loop.c (FCT): Adjust caller.
33126 * posix/regcomp.c (build_equiv_class): Likewise.
33127 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33128 * posix/regexec.c (check_node_accept_bytes): Likewise.
33129 * string/strcoll_l.c (STRCOLL): Likewise.
33130 * string/strxfrm_l.c (STRXFRM): Likewise.
33131
9d65ea3a
UD
331322011-11-17 Ulrich Drepper <drepper@gmail.com>
33133
33134 * Makefile.in: Remove CVSOPT handling.
33135 * configure.in: Remove use of AC_REVISION.
33136 * iconvdata/Makefile (distribute): No need to filter out CVS.
33137 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33138 handling.
33139
5583a086
AS
331402011-11-16 Andreas Schwab <schwab@redhat.com>
33141
33142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33143 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33144 [USE_AS_STRNCASECMP_L]: Likewise.
33145 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33146 NO_TLS_DIRECT_SEG_REFS.
33147 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33148 Fix argument offsets for non-PIC.
33149 [USE_AS_STRNCASECMP_L]: Likewise.
33150 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33151 NO_TLS_DIRECT_SEG_REFS.
33152
d62a8200
UD
331532011-11-15 Ulrich Drepper <drepper@gmail.com>
33154
9d65ea3a 33155 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33156 O_CLOEXEC.
33157 * locale/loadlocale.c (_nl_load_locale): Likewise.
33158
09f93bd3
AS
331592011-11-15 Andreas Schwab <schwab@redhat.com>
33160
446514f9
AS
33161 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33162 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33164 (SYSCALL_GETTIME): Set errno on error.
33165
09f93bd3
AS
33166 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33167 count references to noai6ai_cached.
33168
312be3f9
UD
331692011-11-15 Ulrich Drepper <drepper@gmail.com>
33170
33171 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33172
33173 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33174 FD_CLOEXEC for /proc/self/maps.
33175
33176 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33177 FD_CLOEXEC for /proc/meminfo.
33178
33179 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33180 gai.conf.
33181
33182 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33183 FD_CLOEXEC for given file.
33184
33185 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33186
33187 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33188 FD_CLOEXEC for /etc/hosts.
33189 (_gethtent): Likewise.
33190
33191 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33192
33193 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33194 cancellation and set FD_CLOEXEC for /etc/netgroup.
33195
33196 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33197 reading /etc/publickey.
33198
33199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33200 allow cancellation when reading /etc/group.
33201
33202 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33203 cancellation.
33204 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33205
33206 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33207 when using data file.
33208
33209 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33210
33211 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33212 (write_nis_obj): Use "c" and "e" in fopen.
33213
33214 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33215
33216 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33217
33218 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33219
33220 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33221
33222 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33223 locale.alias.
33224
33225 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33226
33227 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33228
33229 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33230
33231 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33232 file parsing and set FD_CLOEXEC.
33233
82af0fa8
UD
332342011-11-14 Ulrich Drepper <drepper@gmail.com>
33235
33236 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33237
a5fb313c
AS
332382011-11-14 Andreas Schwab <schwab@redhat.com>
33239
33240 * malloc/arena.c (arena_get2): Don't call reused_arena when
33241 _int_new_arena failed.
33242
6abf3465
UD
332432011-11-14 Ulrich Drepper <drepper@gmail.com>
33244
33245 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33246 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33247 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33248 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33250 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33251 to compile strcasecmp and strncasecmp.
33252 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33253 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33254
33255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33256
76e3966e
UD
332572011-11-13 Ulrich Drepper <drepper@gmail.com>
33258
33259 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33260 locale-defines.sym to gen-as-const-headers.
33261 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33262 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33264 to compile strcasecmp and strncasecmp.
33265 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33266 strcasecmp_l and strncasecmp_l.
33267 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33268 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33269 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33270 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33271 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33272 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33273 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33274 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33275 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33276 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33277 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33278
ab26144e
UD
332792011-11-12 Ulrich Drepper <drepper@gmail.com>
33280
7edb22ef
UD
33281 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33282 result of SYSDEP_GETTIME_CPU to retval.
33283 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33284 parameter list to macro. Remove trailing semicolon. Adjust users.
33285
9694fc44
UD
33286 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33287 variable.
33288
8ad89ef8
UD
33289 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33290 mantissa words.
33291 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33292
0c822ef9
UD
33293 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33294 from unused variable.
33295
874e0564
UD
33296 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33297 DWARF definitions.
33298 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33299 for assembling.
33300
3a2edc79
UD
33301 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33302 over namespaces.
33303
f3c2577f
UD
33304 * sunrpc/rpc_prot.c (rejected): Fix case value.
33305
294ce126
UD
33306 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33307 unsigned long long int to avoid warnings in shift.
33308
5e2b63c6
UD
33309 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33310 of use of trans.
33311 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33312 variable tmp.
33313
e7f4b08e
UD
33314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33315 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33316 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33317
ab26144e
UD
33318 * nis/nis_table.c (nis_list): Use variable of correct type for
33319 result of __follow_path call.
33320
8a6d5255
AZ
333212011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33322
33323 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33324 of math functions ceil, trunc, floor, round, and sqrt, when
33325 avaliable on the platform.
33326 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33327 name clash.
33328 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33329 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33330 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33331
aaddc98c
MP
333322011-10-30 Marek Polacek <mpolacek@redhat.com>
33333
33334 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33336
95b7042b
RM
333372011-11-11 Roland McGrath <roland@hack.frob.com>
33338
33339 * include/unistd.h: Fix __readlink return type.
33340 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33341
57769839
UD
333422011-11-11 Ulrich Drepper <drepper@gmail.com>
33343
33344 * stdlib/ucontext.h: Undo last change for makecontext.
33345
edc5984d
AS
333462011-11-11 Andreas Schwab <schwab@redhat.com>
33347
98591e58
AS
33348 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33349
edc5984d
AS
33350 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33351 * setjmp/setjmp.h: Mark functions as non-leaf.
33352 * setjmp/bits/setjmp2.h: Likewise.
33353 * stdlib/ucontext.h: Likewise.
33354
77cdc054
AS
333552011-11-10 Andreas Schwab <schwab@redhat.com>
33356
33357 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33358 (reused_arena): Don't check arena limit.
33359 (arena_get2): Atomically check arena limit.
33360
fe72eebd
UD
333612011-11-08 Ulrich Drepper <drepper@gmail.com>
33362
5f078c32
UD
33363 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33364 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33365
fe72eebd
UD
33366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33367 instructions.
33368
ae1bc2fa
AS
333692011-11-07 Andreas Schwab <schwab@redhat.com>
33370
7583a88d
AS
33371 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33372 handler when locking.
33373
ae1bc2fa
AS
33374 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33375 Fix size of allocated buffer.
33376
10fb0bfa
AS
333772011-11-04 Andreas Schwab <schwab@redhat.com>
33378
998832a4
AS
33379 [BZ #10103]
33380 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33381 declarations for long double functions.
33382 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33383
10fb0bfa
AS
33384 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33385
3d7ba52b
AS
333862011-11-03 Andreas Schwab <schwab@redhat.com>
33387
a9ae54a1
AS
33388 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33389 installed.
33390
3d7ba52b
AS
33391 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33392 is disabled.
33393
bc8db248
ST
333942011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33395
33396 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33397
45b96dd6
AS
333982011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33399
647776f6
AS
33400 * include/alloca.h (stackinfo_alloca_round): Define.
33401 (extend_alloca): Use it.
33402 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33403 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33404 here.
33405
d91a8b93
AS
33406 * scripts/check-local-headers.sh: Ignore libaudit.h.
33407
45b96dd6
AS
33408 * nscd/Makefile (extra-objs): Make recursively expanded.
33409
432d41ce
UD
334102011-11-01 Ulrich Drepper <drepper@gmail.com>
33411
34372fc6
UD
33412 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33414
fadb59f8
UD
33415 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33416 * posix/tst-rfc3484-2.c: Likewise.
33417 * posix/tst-rfc3484-3.c: Likewise.
33418
78239589
UD
33419 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33420 process_vm_writev.
33421 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33422 process_vm_writev.
33423 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33424 process_vm_writev from libc using GLIBC_2.15 version.
33425
432d41ce
UD
33426 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33427
02f9c6cf
PP
334282011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33429
33430 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33431 stack usage.
33432
3a2c0242
UD
334332011-10-31 Ulrich Drepper <drepper@gmail.com>
33434
f4ec4833
UD
33435 [BZ #13367]
33436 * nss/getent.c (initgroups_keys): Show error message in case no group
33437 names are given.
33438
3a2c0242
UD
33439 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33440 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33441 __bump_nl_timestamp.
33442 * nscd/connections (nscd_init): When host database is served open
33443 netlink socket and request notification about configuration changes.
33444 (main_loop_poll): Track netlink file descriptor and bump timestamp
33445 in case data becomes available.
33446 (main_loop_epoll): Likewise.
33447 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33448 (database_pers_head): Add extra_data fileds.
33449 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33450 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33451 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33452 Adjust caller.
33453 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33454 in6ai data, call __free_in6ai.
33455 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33456 Add -DHAVE_NETLINK.
33457 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33458 interface information. Reuse previous data if netlink timestamp
33459 is not changed.
33460 (__bump_nl_timestamp): New function.
33461 (__free_in6ai): New function.
33462
636064eb
UD
334632011-10-30 Ulrich Drepper <drepper@gmail.com>
33464
33465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33466 close_not_cancel_no_status here.
33467 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33468
9beb2334
UD
334692011-10-29 Ulrich Drepper <drepper@gmail.com>
33470
6ef76f3b
UD
33471 [BZ #13276]
33472 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33473 return value.
33474
0ffc4f3e 33475 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33476 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33477 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33478
cb95113e
UD
334792011-07-03 Andreas Jaeger <aj@suse.de>
33480
33481 [BZ #10709]
33482 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33483 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33484 * math/libm-test.inc (sin_test): Add test case.
33485
a1b560ff
UD
334862011-10-29 Ulrich Drepper <drepper@gmail.com>
33487
c9aaface
UD
33488 [BZ #13337]
33489 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33490 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33491
d272e7f1
UD
33492 * elf/chroot_canon.c (chroot_canon): Cleanups.
33493
1bc33071
UD
33494 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33495
1760874d
TJ
33496 [BZ #13335]
33497 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33499
51d91b18
UD
33500 * string/test-strchr.c: Make usable for strchrnul testing.
33501 * string/test-strchrnul.c: New file.
33502 * string/Makefile (strop-tests): Add strchrnul.
33503
a1b560ff 33504 * po/it.po: Update from translation team.
b611fb81 33505 * po/es.po: Likewise.
a1b560ff 33506
a5b81e1f
UD
335072011-10-28 Ulrich Drepper <drepper@gmail.com>
33508
fd52bc6d
UD
33509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33510 the three constants needed as parameters. Drop the others.
33511 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33512 __m128i_strloadu_tolower.
52e4b9eb
UD
33513 Create and initialize variable zero and use it in all the places
33514 where _mm_setzero_si128 was used.
fd52bc6d 33515
a5b81e1f
UD
33516 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33517 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33518 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33519 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33520 anymore.
33521 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33524 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33525 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33526 __mpranred, __mptan.
33527 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33528 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33529 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33530 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33531 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33532 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33534 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33535 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33536
b4343346
AS
335372011-10-28 Andreas Schwab <schwab@redhat.com>
33538
0c92d8a8
AS
33539 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33540 redefine if SHARED.
33541 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33542
b4343346
AS
33543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33544 wide char related routines to wcsmbs subdir.
33545
3871f58f
AS
335462011-10-27 Andreas Schwab <schwab@redhat.com>
33547
33548 [BZ #13344]
33549 * misc/sys/cdefs.h (__THROWNL): Define.
33550 * posix/unistd.h: Use __THREADNL instead of __THREAD
33551 for memory synchronization functions.
33552
94d44d9f
RM
335532011-10-26 Roland McGrath <roland@hack.frob.com>
33554
21b64b15 33555 [BZ #13349]
94d44d9f
RM
33556 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33557 doesn't exist.
33558 * manual/stdio.texi (Obstack Streams): Node removed.
33559
f6ce9294
AS
335602011-10-26 Andreas Schwab <schwab@redhat.com>
33561
80479147
AS
33562 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33563 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33564 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33565
f6ce9294
AS
33566 * math/math_private.h (math_force_eval): Allow non-addressable
33567 arguments.
33568 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33569
618280a1
UD
335702011-10-25 Ulrich Drepper <drepper@gmail.com>
33571
e0016b11
UD
33572 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33573 file is not needed.
33574
33575 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33576 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33577 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33578 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33580 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33581 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33582 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33583 Add AVX variants.
33584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33588 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33589 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33590 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33591 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33592 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33593 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33594 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33595 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33596 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33597 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33598 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33599 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33600 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33602 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33603
33604 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33605 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33606
618280a1
UD
33607 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33608 place. Use VEX encoding when compiling for AVX.
33609
37822576
AS
336102011-10-25 Andreas Schwab <schwab@redhat.com>
33611
1f1e1947
AS
33612 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33613 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33614
37822576
AS
33615 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33616
31ea014d
UD
336172011-10-25 Ulrich Drepper <drepper@gmail.com>
33618
d7826aa1 33619 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 33620 useless if() expression.
d7826aa1
UD
33621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33622 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33623 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33624 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33625 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33626 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33627 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33628 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33639 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33640
31ea014d
UD
33641 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33642
16437fec
AS
336432011-10-25 Andreas Schwab <schwab@redhat.com>
33644
33645 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33646 condition.
33647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33648
31d3cc00
UD
336492011-10-25 Ulrich Drepper <drepper@gmail.com>
33650
33651 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33652 .text section. Avoid duplicate constants.
33653 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33655 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33662 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33663 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33664 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33665 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33666 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33667 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33668 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33669 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33670 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33671 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33672 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33673 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33674 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33675 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33676 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33677 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33678 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33679 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33680 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33681 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33682 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33683 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33684 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33685 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33686 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33687 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33688 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33689 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33691 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33692 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33694 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33695 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33696 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33697 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33698
58985aa9
UD
336992011-10-24 Ulrich Drepper <drepper@gmail.com>
33700
202c9deb
UD
33701 * sysdeps/x86_64/dla.h: Move to ...
33702 * sysdeps/x86_64/fpu/dla.h: ...here.
33703 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33704 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 33705
af968f62
UD
33706 * config.make.in: Add have-mfma4 entry.
33707 * configure.in: Substitute libc_cv_cc_fma4.
33708 * math/Makefile (dbl-only-routines): Add sincostab.
33709 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33710 Use __sincostab not sincos.
33711 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33712 name is a macro.
33713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33717 using __copysign.
33718 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33719 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33720 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33721 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33722 and __inv.
33723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33724 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33725 __copysign.
33726 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33727 define aliases when function name is a macro.
33728 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33729 sysdeps/ieee754/dbl-64/sincos.tbl.
33730 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33731 fma4-enabled routines.
33732 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33733 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33734 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33735 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33736 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33739 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33740 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33741 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33742 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33743 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33744 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33745 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33746 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33747 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33748 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33749 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33750 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33752 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33753 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33755 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33756 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33758 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33759 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33760 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33761 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33762
58985aa9
UD
33763 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33764 rename.
33765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33773
a201fbcf
AS
337742011-10-24 Andreas Schwab <schwab@redhat.com>
33775
33776 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33777
fc2ee42a
LD
337782011-10-23 Ulrich Drepper <drepper@gmail.com>
33779
bb3129bd
UD
33780 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33781
0275fff8
UD
33782 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33783 prediction.
33784 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33785
2fa2ae85
UD
33786 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33787 Remove unused variable magic_bits.
33788 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33789
fc2ee42a
LD
33790 * string/strnlen.c: Define and use STRNLEN macro.
33791 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33792 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33794 * wcsmbs/wcslen.c: Define and use WCSLEN.
33795 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33796 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33797 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33798 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33799 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33800 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33801 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33802
ce7dd29f
LD
338032011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33804
33805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33806 strnlen-sse2-no-bsf.
33807 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33809 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33810 Add strnlen support.
33811 (USE_AS_STRNLEN): New macro.
33812 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33813 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33814 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33815 * sysdeps/x86_64/wcslen.S: New file.
33816
979c70a3
MZ
338172011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33818
33819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33820 XMM-moves are used for copying on small sizes.
33821
2d09f82f
LD
338222011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33823
33824 * wcsmbs/Makefile (strop-tests): Add wcschr.
33825 * wcsmbs/test-wcschr.c: New file.
33826 * string/test-strchr.c: Update.
33827 Add wcschr support.
33828 (WIDE): New macro.
33829
619fccca
LD
338302011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33831
2d09f82f 33832 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
33833 * wcsmbs/test-wcslen.c: New file.
33834 * string/test-strlen.c: Update.
33835 Add wcslen support.
33836 (WIDE): New macro.
33837
09f699ea
UD
338382011-10-23 Ulrich Drepper <drepper@gmail.com>
33839
33840 * po/it.po: Update from translation team.
33841
95584d3b
LD
338422011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33843
33844 * sysdeps/x86_64/wcscmp.S: Update.
33845 Fix wrong comparison semantics.
33846 wcscmp shall use signed comparison not unsigned.
33847 Don't use substraction to avoid overflow bug.
33848 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33849 * wcsmbc/wcscmp.c: Likewise.
33850 * string/test-strcmp.c: Likewise.
33851 Add new tests to check cases with negative values.
33852
c8b3296b
UD
338532011-10-23 Ulrich Drepper <drepper@gmail.com>
33854
33855 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33856 * sysdeps/x86_64/dla.h: ...here. New file.
33857 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33858 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33866
246ad57a
AS
338672011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33868
33869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33870 __ynl_finite aliases.
33871
a1a87169
UD
338722011-10-22 Ulrich Drepper <drepper@gmail.com>
33873
0d355eb7
UD
33874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33875
a1a87169
UD
33876 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33877 define DLA_FMA.
33878 [DLA_FMA] (EMULV): Use DLA_FMA.
33879 [DLA_FMA] (MUL12): Use EMULV.
33880 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33881 that are not needed.
33882 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33884 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33885 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33889
ee2aafe0
AS
338902011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33891
33892 * math/s_nan.c: Undef __nan.
33893 * math/s_nanf.c: Undef __nanf.
33894 * math/s_nanl.c: Undef __nanl.
33895 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33896 "math_private.h".
33897
bc62c2fb
UD
338982011-10-22 Ulrich Drepper <drepper@gmail.com>
33899
77425c63
UD
33900 * math/s_catan.c: Add branch predictions.
33901 * math/s_catanf.c: Likewise.
33902 * math/s_catanh.c: Likewise.
33903 * math/s_catanhf.c: Likewise.
33904 * math/s_catanhl.c: Likewise.
33905 * math/s_catanl.c: Likewise.
33906 * math/s_cexp.c: Likewise.
33907 * math/s_cexpf.c: Likewise.
33908 * math/s_cexpl.c: Likewise.
33909 * math/s_clog.c: Likewise.
33910 * math/s_clog10.c: Likewise.
33911 * math/s_clog10f.c: Likewise.
33912 * math/s_clog10l.c: Likewise.
33913 * math/s_clogf.c: Likewise.
33914 * math/s_clogl.c: Likewise.
33915 * math/s_csqrt.c: Likewise.
33916 * math/s_csqrtf.c: Likewise.
33917 * math/s_csqrtl.c: Likewise.
33918 * math/s_ctanf.c: Likewise.
33919 * math/s_ctanh.c: Likewise.
33920 * math/s_ctanhf.c: Likewise.
33921 * math/s_ctanhl.c: Likewise.
33922 * math/s_ctanl.c: Likewise.
33923
bc62c2fb
UD
33924 * math/math_private.h: Define __nan, __nanf, __nanl.
33925 * math/s_cacosh.c: Include <math_private.h>.
33926 * math/s_cacoshl.c: Likewise.
33927 * math/s_casinh.c: Likewise.
33928 * math/s_casinhf.c: Likewise.
33929 * math/s_casinhl.c: Likewise.
33930 * math/s_ccos.c: Rely entire on ccosh.
33931 * math/s_ccosf.c: Rely entire on ccoshf.
33932 * math/s_ccosl.c: Rely entirely on ccoshl.
33933 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33934 Remove tests for FE_INVALID.
33935 * math/s_ccoshf.c: Likewise.
33936 * math/s_ccoshl.c: Likewise.
33937 * math/s_csin.c: Likewise.
33938 * math/s_csinf.c: Likewise.
33939 * math/s_csinh.c Likewise.
33940 * math/s_csinhf.c: Likewise.
33941 * math/s_csinhl.c: Likewise.
33942 * math/s_csinl.c: Likewise.
33943 * math/s_ctan.c: Likewise.
33944 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33945 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33947
8ec250a4
UD
339482011-10-21 Ulrich Drepper <drepper@gmail.com>
33949
c196fed8
UD
33950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33951 compilation problems.
33952
8ec250a4
UD
33953 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33954 __builtin_expect.
33955
8d4f46c6
UD
339562011-10-20 Ulrich Drepper <drepper@gmail.com>
33957
ed72b654
UD
33958 * sysdeps/i386/configure.in: Test for -mfma4 option.
33959 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33960 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33961 COMMON_CPUID_INDEX_80000001.
33962 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33963 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33964 use it if FMA3 is not supported.
33965 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33966
8d4f46c6
UD
33967 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33968 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33969
d45c60c2
AS
339702011-10-20 Andreas Schwab <schwab@redhat.com>
33971
33972 [BZ #12892]
33973 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33974 it would create a cycle with a link time dependency.
33975
d9a4d2ab
UD
339762011-10-19 Ulrich Drepper <drepper@gmail.com>
33977
855d1560
UD
33978 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33979 instruction.
33980 * string/Makefile (strop-tests): Add rawmemchr.
33981 * string/test-rawmemchr.c: New file.
33982
d9a4d2ab
UD
33983 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33985 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33986 when compiling str{,n}casecmp and when AVX is available. Hook up
33987 new optimized code in initializers.
33988
8f3b1ffe
AS
339892011-10-19 Andreas Schwab <schwab@redhat.com>
33990
33991 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33992 __feraiseexcept instead of feraiseexcept.
33993
d38f1dba
UD
339942011-10-18 Ulrich Drepper <drepper@gmail.com>
33995
d9a8d0ab
UD
33996 * math/math_private.h: Define defaults for libc_fetestexcept and
33997 libc_feupdateenv.
33998 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33999 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34000 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34003 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34004 libc_fetestexcept and libc_feupdateenv.
34005
4855e3dd
UD
34006 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34007 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34008 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34009 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34010 libc_feholdexcept_setround.
34011
581d30e3
UD
34012 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34013 Add s_nearbyint-c and s_nearbyintf-c.
34014 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34015 nearbyintf inlines.
34016 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34017 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34018 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34019 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34020
d38f1dba
UD
34021 * math/math_private.h: Define defaults for libc_fegetround,
34022 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34023 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34024 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34025 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34026 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34027 standard functions.
34028 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34029 Remove comments and hacks for old compiler versions.
34030 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34031 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34032 libc_feholdexceptl.
34033
caa6c9d8
AS
340342011-10-18 Andreas Schwab <schwab@redhat.com>
34035
34036 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34037 (__feraiseexcept_renamed): Add __NTH.
34038 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34039 namespace violations.
34040
97c066e6
UD
340412011-10-17 Ulrich Drepper <drepper@gmail.com>
34042
99ce7b04
UD
34043 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34044
1004d182
UD
34045 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34046
228a984d
UD
34047 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34048 recently added interfaces.
34049 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34050
c8553a6a
UD
34051 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34052 about macro parameter expansion.
34053
ed22dcf6
UD
34054 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34055 __NO_MATH_INLINES is defined. Cleanups.
34056
34057 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34058 and __floorf is target has SSE4.1.
34059 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34060 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34061 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34062 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34063
b171c137
UD
34064 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34065 name.
34066 (floorf): Likewise.
34067
97c066e6
UD
34068 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34069
629f62ef
AS
340702011-10-17 Andreas Schwab <schwab@redhat.com>
34071
49a43d80
AS
34072 * misc/sys/cdefs.h: Fix last change.
34073
629f62ef
AS
34074 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34075 database lookup.
34076
e453f6cd
UD
340772011-10-16 Ulrich Drepper <drepper@gmail.com>
34078
aa78043a
UD
34079 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34080
ad0f5cad
UD
34081 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34083 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34087 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34089 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34090 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34091 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34093 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34095 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34097 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34098 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34099 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34100 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34101 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34102 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34103
34104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34105 ceil, ceilf, floor, floorf.
34106
34107 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34108 Perform IRELATIVE relocations last.
34109
e453f6cd
UD
34110 * elf/do-rel.h: Add another parameter nrelative, replacing the
34111 local variable with the same name. Change name of the function
34112 to end in Rel or Rela (uppercase).
34113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34114 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34115 elf_dynamic_do_##reloc function.
34116
fd5bdc09
UD
341172011-10-15 Ulrich Drepper <drepper@gmail.com>
34118
79b195b5
UD
34119 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34120 is sufficient, at least on modern CPUs.
34121
d4a28569
UD
34122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34123
b61099b5
UD
34124 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34125 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34126
bcf01e6d
UD
34127 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34128 __expl_finite.
34129 * math/bits/math-finite.h: Add entries for exp.
34130 * math/e_expl.c: Add __*_finite alias.
34131 * sysdeps/i386/fpu/e_exp.S: Likewise.
34132 * sysdeps/i386/fpu/e_expf.S: Likewise.
34133 * sysdeps/i386/fpu/e_expl.c: Likewise.
34134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34135 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34138 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34139 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34140 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34141
ba1a0d59
UD
34142 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34143 is sufficient, at least on modern CPUs.
34144
fd5bdc09
UD
34145 * ctype/ctype-info.c (__ctype_init): Define.
34146 * include/ctype.h (__ctype_init): Declare.
34147 (__ctype_b_loc): The variable is always initialized.
34148 (__ctype_toupper_loc): Likewise.
34149 (__ctype_tolower_loc): Likewise.
34150 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34151 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34152
7872cfb0
AS
341532011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34154
b468825a
AS
34155 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34156
7872cfb0
AS
34157 * configure.in: Also look in $cxxmachine/include for C++ system
34158 headers.
34159
be13f7bf
LD
341602011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34161
34162 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34163 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34164 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34165 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34166 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34167 (USE_AS_WMEMCMP): New macro.
34168 Fixing indents.
34169 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34170 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34171 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34172 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34173 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34174 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34175 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34176 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34177 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34178 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34179 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34180 (USE_AS_WMEMCMP): New macro.
34181 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34182 * sysdeps/string/test-memcmp.c: Update.
34183 Fix simple_wmemcmp.
34184 Add new tests.
34185 * wcsmbs/wmemcmp.c: Update.
34186 (WMEMCMP): New macro.
34187 Fix overflow bug.
34188
556a2007
AJ
341892011-10-12 Andreas Jaeger <aj@suse.de>
34190
34191 [BZ #13268]
34192 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34193
538faaa7
UD
341942011-10-15 Ulrich Drepper <drepper@gmail.com>
34195
ab6737ff
UD
34196 * libio/iofwide.c (do_length): Avoid warning.
34197
538faaa7
UD
34198 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34199
396a21b1
UD
342002011-10-14 Ulrich Drepper <drepper@gmail.com>
34201
cdf2901f
UD
34202 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34203
38ad40ce
UD
34204 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34205 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34206 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34207 * sysdeps/i386/i686/fpu/e_log.S: New file.
34208 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34209 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34210
396a21b1
UD
34211 * ctype/ctype.h: Add support for inlined isXXX functions when
34212 compiling C++ code.
34213
6b1f68c9
AS
342142011-10-14 Andreas Schwab <schwab@redhat.com>
34215
349290c0
AS
34216 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34217
6b1f68c9
AS
34218 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34219
f2282d42
RM
342202011-10-13 Roland McGrath <roland@hack.frob.com>
34221
34222 [BZ #13291]
34223 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34224
5298ffa8
AS
342252011-10-13 Andreas Schwab <schwab@redhat.com>
34226
714fad23
AS
34227 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34228 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34229 feraiseexcept.
34230
81dcc7fb
AS
34231 * sysdeps/x86_64/memrchr.S: Check for zero size.
34232
5298ffa8
AS
34233 * string/stratcliff.c: Add memrchr tests.
34234
951fbcec
LD
342352011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34236
34237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34238 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34239 rawmemchr-sse2 rawmemchr-sse2-bsf.
34240 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34241 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34242 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34243 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34244 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34245 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34246 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34247 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34248 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34249 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34250 * string/memrchr.c (MEMRCHR): New macro.
34251
0ac5ae23
UD
342522011-10-12 Ulrich Drepper <drepper@gmail.com>
34253
34254 Add integration with gcc's -ffinite-math-only and optimize wrapper
34255 functions in libm.
34256 * Versions.def: Define GLIBC_2.15 version for libm.
34257 * math/Makefile (headers): Add bits/math-finite.h.
34258 * math/bits/math-finite.h: New file.
34259 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34260 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34261 * math/e_acoshl.c: Add __*_finite alias.
34262 * math/e_acosl.c: Likewise.
34263 * math/e_asinl.c: Likewise.
34264 * math/e_atan2l.c: Likewise.
34265 * math/e_atanhl.c: Likewise.
34266 * math/e_coshl.c: Likewise.
34267 * math/e_exp10.c: Likewise.
34268 * math/e_exp10f.c: Likewise.
34269 * math/e_exp10l.c: Likewise.
34270 * math/e_exp2l.c: Likewise.
34271 * math/e_fmodl.c: Likewise.
34272 * math/e_gammal_r.c: Likewise.
34273 * math/e_hypotl.c: Likewise.
34274 * math/e_j0l.c: Likewise.
34275 * math/e_j1l.c: Likewise.
34276 * math/e_jnl.c: Likewise.
34277 * math/e_lgammal_r.c: Likewise.
34278 * math/e_log10l.c: Likewise.
34279 * math/e_log2l.c: Likewise.
34280 * math/e_logl.c: Likewise.
34281 * math/e_powl.c: Likewise.
34282 * math/e_sinhl.c: Likewise.
34283 * math/e_sqrtl.c: Likewise.
34284 * math/e_scalb.c: Completely rewritten and optimized.
34285 * math/e_scalbf.c: Likewise.
34286 * math/e_scalbl.c: Likewise.
34287 * math/w_acos.c: Likewise.
34288 * math/w_acosf.c: Likewise.
34289 * math/w_acosl.c: Likewise.
34290 * math/w_acosh.c: Likewise.
34291 * math/w_acoshf.c: Likewise.
34292 * math/w_acoshl.c: Likewise.
34293 * math/w_asin.c: Likewise.
34294 * math/w_asinf.c: Likewise.
34295 * math/w_asinl.c: Likewise.
34296 * math/w_atan2.c: Likewise.
34297 * math/w_atan2f.c: Likewise.
34298 * math/w_atan2l.c: Likewise.
34299 * math/w_atanh.c: Likewise.
34300 * math/w_atanhf.c: Likewise.
34301 * math/w_atanhl.c: Likewise.
34302 * math/w_exp10.c: Likewise.
34303 * math/w_exp10f.c: Likewise.
34304 * math/w_exp10l.c: Likewise.
34305 * math/w_fmod.c: Likewise.
34306 * math/w_fmodf.c: Likewise.
34307 * math/w_fmodl.c: Likewise.
34308 * math/w_j0.c: Likewise.
34309 * math/w_j0f.c: Likewise.
34310 * math/w_j0l.c: Likewise.
34311 * math/w_j1.c: Likewise.
34312 * math/w_j1f.c: Likewise.
34313 * math/w_j1l.c: Likewise.
34314 * math/w_jn.c: Likewise.
34315 * math/w_jnf.c: Likewise.
34316 * math/w_log.c: Likewise.
34317 * math/w_logf.c: Likewise.
34318 * math/w_logl.c: Likewise.
34319 * math/w_log10.c: Likewise.
34320 * math/w_log10f.c: Likewise.
34321 * math/w_log10l.c: Likewise.
34322 * math/w_log2.c: Likewise.
34323 * math/w_log2f.c: Likewise.
34324 * math/w_log2l.c: Likewise.
34325 * math/w_pow.c: Likewise.
34326 * math/w_powf.c: Likewise.
34327 * math/w_powl.c: Likewise.
34328 * math/w_remainder.c: Likewise.
34329 * math/w_remainderf.c: Likewise.
34330 * math/w_remainderl.c: Likewise.
34331 * math/w_scalb.c: Likewise.
34332 * math/w_scalbf.c: Likewise.
34333 * math/w_scalbl.c: Likewise.
34334 * math/w_sqrt.c: Likewise.
34335 * math/w_sqrtf.c: Likewise.
34336 * math/w_sqrtl.c: Likewise.
34337 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34338 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34339 used.
34340 * math/math_private.h: Declare __kernel_standard_f.
34341 * math/w_cosh.c: Remove cruft and optimize a bit.
34342 * math/w_coshf.c: Likewise.
34343 * math/w_coshl.c: Likewise.
34344 * math/w_exp2.c: Likewise.
34345 * math/w_exp2f.c: Likewise.
34346 * math/w_exp2l.c: Likewise.
34347 * math/w_hypot.c: Likewise.
34348 * math/w_hypotf.c: Likewise.
34349 * math/w_hypotl.c: Likewise.
34350 * math/w_lgamma.c: Likewise.
34351 * math/w_lgamma_r.c: Likewise.
34352 * math/w_lgammaf.c: Likewise.
34353 * math/w_lgammaf_r.c: Likewise.
34354 * math/w_lgammal.c: Likewise.
34355 * math/w_lgammal_r.c: Likewise.
34356 * math/w_sinh.c: Likewise.
34357 * math/w_sinhf.c: Likewise.
34358 * math/w_sinhl.c: Likewise.
34359 * math/w_tgamma.c: Likewise.
34360 * math/w_tgammaf.c: Likewise.
34361 * math/w_tgammal.c: Likewise.
34362 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34363 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34364 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34365 Minor optimizations. Pretty printing. Remove cruft.
34366 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34367 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34368 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34369 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34370 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34371 * sysdeps/i386/fpu/e_asin.S: Likewise.
34372 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34373 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34374 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34375 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34376 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34379 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34380 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34381 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34382 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34383 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34384 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34385 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34386 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34387 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34388 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34389 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34390 * sysdeps/i386/fpu/e_log.S: Likewise.
34391 * sysdeps/i386/fpu/e_log10.S: Likewise.
34392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34393 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34394 * sysdeps/i386/fpu/e_log2.S: Likewise.
34395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34396 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34397 * sysdeps/i386/fpu/e_logf.S: Likewise.
34398 * sysdeps/i386/fpu/e_logl.S: Likewise.
34399 * sysdeps/i386/fpu/e_pow.S: Likewise.
34400 * sysdeps/i386/fpu/e_powf.S: Likewise.
34401 * sysdeps/i386/fpu/e_powl.S: Likewise.
34402 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34403 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34404 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34405 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34406 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34407 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34408 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34409 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34410 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34411 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34412 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34414 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34415 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34416 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34417 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34421 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34422 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34423 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34424 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34425 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34426 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34427 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34428 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34429 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34431 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34432 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34435 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34436 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34437 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34438 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34439 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34440 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34441 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34442 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34443 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34444 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34445 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34446 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34447 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34448 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34449 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34450 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34451 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34452 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34453 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34454 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34456 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34457 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34458 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34459 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34460 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34461 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34462 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34463 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34465 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34466 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34467 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34468 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34469 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34470 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34474 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34475 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34476 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34477 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34478 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34479 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34480 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34481 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34483 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34485 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34486 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34487 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34488 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34489 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34490 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34491 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34492 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34493 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34494 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34495 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34496 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34498 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34499 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34500 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34501 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34502 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34503 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34504 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34505 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34506 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34507 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34508 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34509 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34510 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34511 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34512 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34513 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34514 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34515 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34516 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34518 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34519 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34520 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34521 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34522 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34523 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34524 (__isnanf): Likewise.
34525 (__isinf_ns): Likewise.
34526 (__isinf_nsf): Likewise.
34527 (__finite): Likewise.
34528 (__finitef): Likewise.
34529 (__ieee754_sqrt): Define as macro.
34530 (__ieee754_sqrtf): Define as macro.
34531 (__ieee754_sqrtl): Define as macro.
34532 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34533 inlined copy.
34534 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34535 __FINITE_MATH_ONLY__ consistent.
34536 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34537
12cc2fcd
AS
345382011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34539
a843a204
AS
34540 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34541 of rawmemchr.
34542
12cc2fcd
AS
34543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34544
c853acd5
UD
345452011-10-09 Ulrich Drepper <drepper@gmail.com>
34546
34547 * po/ja.po: Update from translation team.
34548
c658d255
RM
345492011-10-08 Roland McGrath <roland@hack.frob.com>
34550
110946e4
RM
34551 * locale/programs/locarchive.c (prepare_address_space): New function.
34552 (create_archive, enlarge_archive, open_archive): Use it.
34553
50604220
RM
34554 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34555 inside [SHARED], where it is used.
34556
c658d255
RM
34557 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34558
34559 * nss/getent.c (netgroup_keys): Remove unused variable.
34560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34561
6a621eb7
UD
345622011-10-08 Ulrich Drepper <drepper@gmail.com>
34563
7edb55ce
UD
34564 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34565 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34568 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34569 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34570 * math/Makefile (libm-calls): Add s_isinf_ns.
34571 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34572 * math/multc3.c: Likewise.
34573 * math/s_casin.c: Likewise.
34574 * math/s_casinf.c: Likewise.
34575 * math/s_casinl.c: Likewise.
34576 * math/s_ccos.c: Likewise.
34577 * math/s_ccosf.c: Likewise.
34578 * math/s_ccosl.c: Likewise.
34579 * math/s_ctan.c: Likewise.
34580 * math/s_ctanf.c: Likewise.
34581 * math/s_ctanh.c: Likewise.
34582 * math/s_ctanhf.c: Likewise.
34583 * math/s_ctanhl.c: Likewise.
34584 * math/s_ctanl.c: Likewise.
34585 * math/w_fmod.c: Likewise.
34586 * math/w_fmodf.c: Likewise.
34587 * math/w_fmodl.c: Likewise.
34588 * math/w_remainder.c: Likewise.
34589 * math/w_remainderf.c: Likewise.
34590 * math/w_remainderl.c: Likewise.
34591 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34592 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34593 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34595 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34596 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34597 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34598 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34599
187da0ae
UD
34600 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34601 of the number.
34602 * stdio-common/printf_fphex.c: Likewise.
34603 * stdio-common/printf_size.c: Likewise.
34604
9277c064
UD
34605 * math/e_exp10.c: Include math_private.h using <...> not "...".
34606 * math/e_exp10f.c: Likewise.
34607 * math/e_exp10l.c: Likewise.
34608 * math/e_exp2l.c: Likewise.
34609 * math/e_j0l.c: Likewise.
34610 * math/e_j1l.c: Likewise.
34611 * math/e_jnl.c: Likewise.
34612 * math/e_lgammal_r.c: Likewise.
34613 * math/e_rem_pio2l.c: Likewise.
34614 * math/e_scalb.c: Likewise.
34615 * math/e_scalbf.c: Likewise.
34616 * math/e_scalbl.c: Likewise.
34617 * math/k_cosl.c: Likewise.
34618 * math/k_sinl.c: Likewise.
34619 * math/k_tanl.c: Likewise.
34620 * math/s_cacoshf.c: Likewise.
34621 * math/s_catan.c: Likewise.
34622 * math/s_catanf.c: Likewise.
34623 * math/s_catanh.c: Likewise.
34624 * math/s_catanhf.c: Likewise.
34625 * math/s_catanhl.c: Likewise.
34626 * math/s_catanl.c: Likewise.
34627 * math/s_ccosh.c: Likewise.
34628 * math/s_ccoshf.c: Likewise.
34629 * math/s_ccoshl.c: Likewise.
34630 * math/s_cexp.c: Likewise.
34631 * math/s_cexpf.c: Likewise.
34632 * math/s_cexpl.c: Likewise.
34633 * math/s_clog.c: Likewise.
34634 * math/s_clog10.c: Likewise.
34635 * math/s_clog10f.c: Likewise.
34636 * math/s_clog10l.c: Likewise.
34637 * math/s_clogf.c: Likewise.
34638 * math/s_clogl.c: Likewise.
34639 * math/s_csin.c: Likewise.
34640 * math/s_csinf.c: Likewise.
34641 * math/s_csinh.c: Likewise.
34642 * math/s_csinhf.c: Likewise.
34643 * math/s_csinhl.c: Likewise.
34644 * math/s_csinl.c: Likewise.
34645 * math/s_csqrt.c: Likewise.
34646 * math/s_csqrtf.c: Likewise.
34647 * math/s_csqrtl.c: Likewise.
34648 * math/s_ctan.c: Likewise.
34649 * math/s_ctanf.c: Likewise.
34650 * math/s_ctanh.c: Likewise.
34651 * math/s_ctanhf.c: Likewise.
34652 * math/s_ctanhl.c: Likewise.
34653 * math/s_ctanl.c: Likewise.
34654 * math/s_ldexp.c: Likewise.
34655 * math/s_ldexpf.c: Likewise.
34656 * math/s_ldexpl.c: Likewise.
34657 * math/s_significand.c: Likewise.
34658 * math/s_significandf.c: Likewise.
34659 * math/s_significandl.c: Likewise.
34660 * math/w_acos.c: Likewise.
34661 * math/w_acosf.c: Likewise.
34662 * math/w_acosh.c: Likewise.
34663 * math/w_acoshf.c: Likewise.
34664 * math/w_acoshl.c: Likewise.
34665 * math/w_acosl.c: Likewise.
34666 * math/w_asin.c: Likewise.
34667 * math/w_asinf.c: Likewise.
34668 * math/w_asinl.c: Likewise.
34669 * math/w_atan2.c: Likewise.
34670 * math/w_atan2f.c: Likewise.
34671 * math/w_atan2l.c: Likewise.
34672 * math/w_atanh.c: Likewise.
34673 * math/w_atanhf.c: Likewise.
34674 * math/w_atanhl.c: Likewise.
34675 * math/w_cosh.c: Likewise.
34676 * math/w_coshf.c: Likewise.
34677 * math/w_coshl.c: Likewise.
34678 * math/w_dremf.c: Likewise.
34679 * math/w_exp10.c: Likewise.
34680 * math/w_exp10f.c: Likewise.
34681 * math/w_exp10l.c: Likewise.
34682 * math/w_exp2.c: Likewise.
34683 * math/w_exp2f.c: Likewise.
34684 * math/w_fmod.c: Likewise.
34685 * math/w_fmodf.c: Likewise.
34686 * math/w_fmodl.c: Likewise.
34687 * math/w_hypot.c: Likewise.
34688 * math/w_hypotf.c: Likewise.
34689 * math/w_hypotl.c: Likewise.
34690 * math/w_j0.c: Likewise.
34691 * math/w_j0f.c: Likewise.
34692 * math/w_j0l.c: Likewise.
34693 * math/w_j1.c: Likewise.
34694 * math/w_j1f.c: Likewise.
34695 * math/w_j1l.c: Likewise.
34696 * math/w_jn.c: Likewise.
34697 * math/w_jnf.c: Likewise.
34698 * math/w_jnl.c: Likewise.
34699 * math/w_lgamma.c: Likewise.
34700 * math/w_lgamma_r.c: Likewise.
34701 * math/w_lgammaf.c: Likewise.
34702 * math/w_lgammaf_r.c: Likewise.
34703 * math/w_lgammal.c: Likewise.
34704 * math/w_lgammal_r.c: Likewise.
34705 * math/w_log.c: Likewise.
34706 * math/w_log10.c: Likewise.
34707 * math/w_log10f.c: Likewise.
34708 * math/w_log10l.c: Likewise.
34709 * math/w_log2.c: Likewise.
34710 * math/w_log2f.c: Likewise.
34711 * math/w_log2l.c: Likewise.
34712 * math/w_logf.c: Likewise.
34713 * math/w_logl.c: Likewise.
34714 * math/w_pow.c: Likewise.
34715 * math/w_powf.c: Likewise.
34716 * math/w_powl.c: Likewise.
34717 * math/w_remainder.c: Likewise.
34718 * math/w_remainderf.c: Likewise.
34719 * math/w_remainderl.c: Likewise.
34720 * math/w_scalb.c: Likewise.
34721 * math/w_scalbf.c: Likewise.
34722 * math/w_scalbl.c: Likewise.
34723 * math/w_sinh.c: Likewise.
34724 * math/w_sinhf.c: Likewise.
34725 * math/w_sinhl.c: Likewise.
34726 * math/w_sqrt.c: Likewise.
34727 * math/w_sqrtf.c: Likewise.
34728 * math/w_sqrtl.c: Likewise.
34729 * math/w_tgamma.c: Likewise.
34730 * math/w_tgammaf.c: Likewise.
34731 * math/w_tgammal.c: Likewise.
34732
6a621eb7
UD
34733 * po/ja.po: Update from translation team.
34734
bf582445
AJ
347352011-09-29 Andreas Jaeger <aj@suse.de>
34736
f9efbf3a
AJ
34737 [BZ #13179]
34738 * sunrpc/netname.c (netname2host): Fix logic.
34739
bf582445
AJ
34740 [BZ #6779]
34741 [BZ #6783]
34742 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34743 correctly.
34744 * math/w_remainder.c (__remainder): Likewise.
34745 * math/w_remainderf.c (__remainderf): Likewise.
34746 * math/libm-test.inc (remainder_test): Add test cases.
34747
48693bea
AK
347482011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34749
34750 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34751 sdiv_qrnnd.
34752
42622229
LD
347532011-10-07 Ulrich Drepper <drepper@gmail.com>
34754
34755 * string/test-memcmp.c: Avoid unncessary #defines.
34756 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34757
093ecf92
LD
347582011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34759
34760 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34761 Use new sse2 version for core i3 - i7 as it's faster
34762 than sse42 version.
34763 (bit_Prefer_PMINUB_for_stringop): New.
34764 * sysdeps/x86_64/rawmemchr.S: Update.
34765 Replace with faster SSE2 version.
34766 * sysdeps/x86_64/memrchr.S: New file.
34767 * sysdeps/x86_64/memchr.S: Update.
34768 Replace with faster SSE2 version.
34769
fde56e5c
MP
347702011-09-12 Marek Polacek <mpolacek@redhat.com>
34771
34772 * elf/dl-load.c (lose): Add cast to avoid warning.
34773
21fd49a9
UD
347742011-10-07 Ulrich Drepper <drepper@gmail.com>
34775
5a06e643
UD
34776 * po/ca.po: Update from translation team.
34777
684ae515
UD
34778 * inet/getnetgrent_r.c: Hook up nscd.
34779 * nscd/Makefile (routines): Add nscd_netgroup.
34780 (nscd-modules): Add netgroupcache.
34781 (CFLAGS-netgroupcache.c): Define.
34782 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34783 (cache_search): Add const to second parameter.
34784 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34785 INNETGR.
34786 (dbs): Add netgrdb entry.
34787 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34788 (verify_persistent_db): Handle netgrdb.
34789 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34790 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34791 GETFDNETGR.
34792 (netgroup_response_header): Define.
34793 (innetgroup_response_header): Define.
34794 (datahead): Add netgroup_response_header and innetgroup_response_header
34795 elements.
34796 * nscd/nscd.conf: Add entries for netgroup cache.
34797 * nscd/nscd.h (dbtype): Add netgrdb.
34798 (_PATH_NSCD_NETGROUP_DB): Define.
34799 (netgroup_iov_disabled): Declare.
34800 (xmalloc, xcalloc, xrealloc): Move declarations here.
34801 (cache_search): Adjust prototype.
34802 Add netgroup-related prototypes.
34803 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34804 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34805 (__nscd_innetgr): Declare.
34806 * nscd/selinux.c (perms): Use access_vector_t as element type and
34807 add netgroup-related initializers.
34808 * nscd/netgroupcache.c: New file.
34809 * nscd/nscd_netgroup.c: New file.
34810 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34811 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34812 For four parameters use innetgr.
34813 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34814 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34815 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34816 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34817
21fd49a9
UD
34818 * nscd/connections.c (register_traced_file): Don't register file
34819 for disabled databases.
34820
054c0457
UD
348212011-10-06 Ulrich Drepper <drepper@gmail.com>
34822
32b63198
UD
34823 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34824
054c0457
UD
34825 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34826 from tree and freeing node.
34827
64031225
JO
348282011-09-25 Jiri Olsa <jolsa@redhat.com>
34829
34830 * nss/nsswitch.c (__nss_database_lookup): Handle
34831 nss_parse_service_list out of memory case.
34832
0490345c
JO
348332011-09-15 Jiri Olsa <jolsa@redhat.com>
34834
34835 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34836 out of memory case.
34837
3a62d00d
AS
348382011-10-04 Andreas Schwab <schwab@redhat.com>
34839
34840 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34841 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34842 pass it down.
34843 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34844 elf_machine_rela, elf_machine_lazy_rel.
34845 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34846 (ELF_DYNAMIC_DO_REL): Likewise.
34847 (ELF_DYNAMIC_DO_RELA): Likewise.
34848 (ELF_DYNAMIC_RELOCATE): Likewise.
34849 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34850 to ELF_DYNAMIC_DO_REL.
34851 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34852 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34853 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34854 elf_machine_rela.
34855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34856 skip_ifunc, don't call ifunc function if non-zero.
34857 (elf_machine_rela): Likewise.
34858 (elf_machine_lazy_rel): Likewise.
34859 (elf_machine_lazy_rela): Likewise.
34860 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34861 (elf_machine_lazy_rel): Likewise.
34862 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34863 Likewise.
34864 (elf_machine_lazy_rel): Likewise.
34865 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34866 Likewise.
34867 (elf_machine_lazy_rel): Likewise.
34868 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34869 (elf_machine_lazy_rel): Likewise.
34870 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34871 (elf_machine_lazy_rel): Likewise.
34872 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34873 (elf_machine_lazy_rel): Likewise.
34874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34875 (elf_machine_lazy_rel): Likewise.
34876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34877 (elf_machine_lazy_rel): Likewise.
34878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34879 (elf_machine_lazy_rel): Likewise.
34880
68577918
UD
348812011-09-28 Ulrich Drepper <drepper@gmail.com>
34882
34883 * nss/nss_files/files-init.c (_nss_files_init): Use static
34884 initialization for all the *_traced_file variables.
34885
68822d74
AS
348862011-09-28 Andreas Schwab <schwab@redhat.com>
34887
34888 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34889
2056100b
RM
348902011-09-27 Roland McGrath <roland@hack.frob.com>
34891
34892 [BZ #13226]
34893 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34894
32c76b63
AS
348952011-09-27 Andreas Schwab <schwab@redhat.com>
34896
34897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34898 Reread the line before reparsing it.
34899
bf972c9d
AS
349002011-09-26 Andreas Schwab <schwab@redhat.com>
34901
34902 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34903
e057a1b5
JM
349042011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34905 Maxim Kuvyrkov <maxim@codesourcery.com>
34906 Joseph Myers <joseph@codesourcery.com>
34907
34908 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34909 if needed for __stack_chk_guard.
34910
bc7e1c36
RM
349112011-09-19 Roland McGrath <roland@hack.frob.com>
34912
ecb1482f
RM
34913 * sysdeps/posix/spawni.c (script_execute): Always define it.
34914 It will be optimized away if unused.
34915 (maybe_script_execute): New function.
34916 (__spawni): Call it.
34917
bc7e1c36
RM
34918 * Makerules: Don't include tls.make.
34919 (config-tls): Always set to thread.
34920 * tls.make.c: File removed.
34921
1c3b002b
MF
349222011-09-19 Mike Frysinger <vapier@gentoo.org>
34923
34924 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34925 * config.make.in (CPPFLAGS-config): New substituted variable.
34926
2840865d
UD
349272011-09-15 Ulrich Drepper <drepper@gmail.com>
34928
88738eb6
UD
34929 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34930
cbf645a6 34931 [BZ #13192]
2840865d
UD
34932 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34933 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34934
b402e91a
RM
349352011-09-15 Roland McGrath <roland@hack.frob.com>
34936
34937 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34938 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34939 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34940 (CALL_FAIL): Likewise.
34941 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34942 (CALL_FAIL): Macro removed.
34943 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34944
4c1a1f71
UD
349452011-09-15 Ulrich Drepper <drepper@gmail.com>
34946
34947 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34948 for __FINITE_MATH_ONLY__ == 1.
34949
edc121be
AS
349502011-09-15 Andreas Schwab <schwab@redhat.com>
34951
34952 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34953 __ieee754_sqrt instead of sqrt.
34954 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34955 __ieee754_sqrtf instead of sqrtf.
34956 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34957 __floorf instead of floorf.
34958 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34959 __floorf, __truncf instead of floorf, truncf.
34960
cd205654
UD
349612011-09-14 Ulrich Drepper <drepper@gmail.com>
34962
ee4d0315
UD
34963 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34964
cd205654
UD
34965 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34966 __extern_always_inline.
34967 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34968 32-bit.
34969
48b67d71
AS
349702011-09-14 Andreas Schwab <schwab@redhat.com>
34971
34972 * elf/rtld.c (dl_main): Also relocate in dependency order when
34973 doing symbol dependency testing.
34974
1ae12c75
AS
349752011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34976
34977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34978 Always define `refsym'.
34979
995a80df
AS
349802011-09-13 Andreas Schwab <schwab@redhat.com>
34981
e529793b
AS
34982 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34983 (__FD_ELT): Renamed from __FDELT.
34984 * misc/bits/select2.h (__FD_ELT): Likewise.
34985 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34986 __FD_MASK instead of __FDELT, __FDMASK.
34987 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34988 Likewise.
34989 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34990 Likewise.
34991
52d4fef8
AS
34992 * elf/Makefile (gen-ldd): Fix pattern.
34993
995a80df
AS
34994 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34995 (init_tls): Likewise.
34996
8682f8b0
UD
349972011-09-12 Ulrich Drepper <drepper@gmail.com>
34998
34999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35000
de82006d
AS
350012011-09-12 Andreas Schwab <schwab@redhat.com>
35002
a7c8e6a1
AS
35003 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35004 `struct cmsghdr *' instead of `void *'.
35005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35006 Likewise.
35007
0f31fe77
AS
350082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35009
35010 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35011 if non-absolute.
35012 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35013 ldd_rewrite_script.
0f31fe77 35014
32b4c839
UD
350152011-09-11 Ulrich Drepper <drepper@gmail.com>
35016
83cd1420
UD
35017 * configure.in: Remove --with-tls option.
35018 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35019 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35020 out in case it is missing.
35021 * sysdeps/ia64/elf/configure.in: Likewise.
35022 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35023 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35024 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35025 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35026 * sysdeps/sh/elf/configure.in: Likewise.
35027 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35028 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35029 * sysdeps/x86_64/elf/configure.in: Likewise.
35030 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35031 * sysdeps/mach/hurd/tls.h: Likewise.
35032
633f745d
UD
35033 [BZ #13067]
35034 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35035
f318beb8
UD
35036 [BZ #13090]
35037 * configure.in: Fix use of AC_INIT.
35038
32b4c839
UD
35039 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35040
3ce1f295
UD
350412011-09-10 Ulrich Drepper <drepper@gmail.com>
35042
bb016596
UD
35043 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35044 __set_errno.
8e58439c
UD
35045 * malloc/hooks.c: Likewise.
35046
aebae053 35047 [BZ #11929]
02d46fc4
UD
35048 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35049 variables statically.
35050 (narenas): Initialize.
35051 (list_lock): Initialize.
bb016596
UD
35052 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35053 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35054 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35055 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35056 Add initializers to main_arena and mp_.
35057 (malloc_state): Remove pagesize member. Change all users to use
35058 GLRO(dl_pagesize).
35059
35060 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35061 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35062 is always initialized.
35063
22a89187
UD
35064 * malloc/malloc.c: Removed unused configurations and dead code.
35065 * malloc/arena.c: Likewise.
35066 * malloc/hooks.c: Likewise.
02d46fc4 35067 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35068
d063d164
UD
35069 * include/tls.h: Removed. USE___THREAD must always be defined.
35070 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35071 * elf/dl-libc.c: Likewise.
35072 * elf/dl-tsd.c: Likewise.
35073 * include/errno.h: Likewise.
35074 * include/netdb.h: Likewise.
35075 * include/resolv.h: Likewise.
35076 * inet/herrno-loc.c: Likewise.
35077 * inet/herrno.c: Likewise.
35078 * malloc/arena.c: Likewise.
35079 * malloc/hooks.c: Likewise.
35080 * malloc/malloc.c: Likewise.
35081 * resolv/res-state.c: Likewise.
35082 * resolv/res_libc.c: Likewise.
35083 * sysdeps/i386/dl-machine.h: Likewise.
35084 * sysdeps/ia64/dl-machine.h: Likewise.
35085 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35086 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35087 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35088 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35089 * sysdeps/sh/dl-machine.h: Likewise.
35090 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35091 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35092 * sysdeps/unix/i386/sysdep.S: Likewise.
35093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35094 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35096 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35099 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35100 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35103 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35104 * sysdeps/x86_64/dl-machine.h: Likewise.
35105 * tls.make.c: Likewise.
35106
3ce1f295
UD
35107 * configure.in: Remove --with-__thread option. Make tests for
35108 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35109 tls_model attribute fail if no support is available. Remove
35110 USE_IN_LIBIO.
35111 * Makeconfig: Adjust for dropped configure option. All features are
35112 now mandatory.
35113 * Makerules: Likewise.
35114 * Versions.def: Likewise.
35115 * argp/argp-fmtstream.c: Likewise.
35116 * argp/argp-fmtstream.h: Likewise.
35117 * argp/argp-help.c: Likewise.
35118 * assert/assert.c: Likewise.
35119 * config.h.in: Likewise.
35120 * config.make.in: Likewise.
35121 * configure: Likewise.
35122 * configure.in: Likewise.
35123 * csu/Versions: Likewise.
35124 * csu/init.c: Likewise.
35125 * elf/tst-audit2.c: Likewise.
35126 * elf/tst-tls10.c: Likewise.
35127 * elf/tst-tls10.h: Likewise.
35128 * elf/tst-tls11.c: Likewise.
35129 * elf/tst-tls12.c: Likewise.
35130 * elf/tst-tls14.c: Likewise.
35131 * elf/tst-tlsmod11.c: Likewise.
35132 * elf/tst-tlsmod12.c: Likewise.
35133 * elf/tst-tlsmod13.c: Likewise.
35134 * elf/tst-tlsmod13a.c: Likewise.
35135 * elf/tst-tlsmod14a.c: Likewise.
35136 * elf/tst-tlsmod15b.c: Likewise.
35137 * elf/tst-tlsmod16a.c: Likewise.
35138 * elf/tst-tlsmod16b.c: Likewise.
35139 * elf/tst-tlsmod7.c: Likewise.
35140 * elf/tst-tlsmod8.c: Likewise.
35141 * elf/tst-tlsmod9.c: Likewise.
35142 * gmon/gmon.c: Likewise.
35143 * grp/fgetgrent_r.c: Likewise.
35144 * grp/putgrent.c: Likewise.
35145 * hurd/fopenport.c: Likewise.
35146 * include/libc-symbols.h: Likewise.
35147 * include/tls.h: Likewise.
35148 * intl/gettextP.h: Likewise.
35149 * intl/loadinfo.h: Likewise.
35150 * locale/global-locale.c: Likewise.
35151 * locale/localeinfo.h: Likewise.
35152 * mach/devstream.c: Likewise.
35153 * malloc/arena.c: Likewise.
35154 * malloc/set-freeres.c: Likewise.
35155 * misc/err.c: Likewise.
35156 * misc/getttyent.c: Likewise.
35157 * misc/mntent_r.c: Likewise.
35158 * posix/getopt.c: Likewise.
35159 * posix/wordexp.c: Likewise.
35160 * pwd/fgetpwent_r.c: Likewise.
35161 * resolv/Versions: Likewise.
35162 * resolv/res_hconf.c: Likewise.
35163 * shadow/fgetspent_r.c: Likewise.
35164 * shadow/putspent.c: Likewise.
35165 * stdio-common/printf_fphex.c: Likewise.
35166 * stdio-common/tmpfile.c: Likewise.
35167 * stdlib/abort.c: Likewise.
35168 * stdlib/fmtmsg.c: Likewise.
35169 * sunrpc/auth_unix.c: Likewise.
35170 * sunrpc/clnt_perr.c: Likewise.
35171 * sunrpc/clnt_tcp.c: Likewise.
35172 * sunrpc/clnt_udp.c: Likewise.
35173 * sunrpc/clnt_unix.c: Likewise.
35174 * sunrpc/openchild.c: Likewise.
35175 * sunrpc/svc_simple.c: Likewise.
35176 * sunrpc/svc_tcp.c: Likewise.
35177 * sunrpc/svc_udp.c: Likewise.
35178 * sunrpc/svc_unix.c: Likewise.
35179 * sunrpc/xdr.c: Likewise.
35180 * sunrpc/xdr_array.c: Likewise.
35181 * sunrpc/xdr_rec.c: Likewise.
35182 * sunrpc/xdr_ref.c: Likewise.
35183 * sunrpc/xdr_stdio.c: Likewise.
35184
1248c1c4
PB
351852011-09-09 Ulrich Drepper <drepper@gmail.com>
35186
35187 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35188
351892011-07-03 Andreas Jaeger <aj@suse.de>
35190
35191 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35192 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35193 regenerate with gen-libm-tests.pl.
35194
351952010-05-12 Petr Baudis <pasky@suse.cz>
35196
35197 [BZ #11589]
35198 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35199 around j0() zero points by switching to j1().
35200 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35201 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35203 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35204
f22e1074
UD
352052011-09-09 Ulrich Drepper <drepper@gmail.com>
35206
f19009c1
UD
35207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35208 instead of 0.
35209 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35210 instead of 0.
f19009c1
UD
35211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35212 Patch in part by Pavel Roskin <proski@gnu.org>.
35213
3f8cc204
UD
35214 [BZ #13138]
35215 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35216 realloc.
35217 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35218 Free memory block if necessary.
35219
f22e1074
UD
35220 [BZ #12847]
35221 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35222 be NULL. Don't lock in this case.
35223
0a2349f9
RM
352242011-09-09 Roland McGrath <roland@hack.frob.com>
35225
35226 * elf/elf.h (ELFOSABI_GNU): New macro.
35227 (ELFOSABI_LINUX): Define to that.
35228
f3cdd467
DZ
352292011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35230
35231 * string/strncat.c (strncat): Undef the symbol in case it has been
35232 defined in bits/string.h.
35233
74718d13
UD
352342011-09-09 Ulrich Drepper <drepper@gmail.com>
35235
633e9e0f
UD
35236 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35237
0a2349f9 35238 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35239 link map.
35240
f9924780
AJ
352412011-08-17 Andreas Jaeger <aj@suse.de>
35242
35243 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35244
7f5517aa
PP
352452011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35246 Ian Lance Taylor <iant@google.com>
35247
35248 * math/libm-test.inc (lround_test): New testcase.
35249 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35250
762011fe
UD
352512011-09-08 Ulrich Drepper <drepper@gmail.com>
35252
92963737
UD
35253 * Makefile: Remove support for automatic cvs check-ins.
35254 * Makerules: Likewise.
35255 * config.make.in: Likewise.
35256 * configure.in: Likewise.
35257 * intl/Makefile: Likewise.
35258 * locale/Makefile: Likewise.
35259 * po/Makefile: Likewise.
35260 * posix/Makefile: Likewise.
35261 * sysdeps/gnu/Makefile: Likewise.
35262 * sysdeps/mach/hurd/Makefile: Likewise.
35263 * sysdeps/sparc/sparc32/Makefile: Likewise.
35264
b0727fd8
JS
35265 [BZ #13118]
35266 * posix/Makefile (bug-regex32-ENV): Define.
35267 Patch by John Stanley <jpsinthemix@verizon.net>.
35268
a0f33f99
UD
35269 * misc/Makefile (headers): Add bits/select2.h.
35270 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35271 * misc/bits/select2.h: New file.
35272 * include/bits/select2.h: New file.
35273 * debug/Makefile (routines): Add fdelt_chk.
35274 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35275 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35276 FD_ISSET.
35277 * debug/fdelt_chk.c: New file.
35278
762011fe
UD
35279 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35280 * wcsmbs/test-wmemcmp.c: Likewise.
35281 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35282 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35283
352842011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35285
35286 * string/Makefile (strop-tests): Add memcmp.
35287 * string/test-wmemcmp.c: New file.
35288 * string/test-memcmp.c: Add wmemcmp support.
35289
7f513ec8
RM
352902011-09-08 Roland McGrath <roland@hack.frob.com>
35291
0442afb4
RM
35292 [BZ #13153]
35293 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35294 2011-07-19 change.
35295
7f513ec8
RM
35296 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35297 garbage value in a __mach_port_mod_refs call in the cases of the
35298 task-self and thread-self ports.
35299
a12b2239
ST
353002011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35301
35302 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35303
610f9ab4
AS
353042011-09-08 Andreas Schwab <schwab@redhat.com>
35305
7f513ec8 35306 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35307
48882a1a
LD
353082011-09-07 Ulrich Drepper <drepper@gmail.com>
35309
b49865be
UD
35310 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35311
fdc86bc9
UD
35312 * elf/dl-libc.c (dlerror_run): Pass back error code from
35313 dl_catch_error.
35314
c966526a
UD
35315 [BZ #13123]
35316 * elf/dl-load.c (lose): Free l_origin if it is valid.
35317
48882a1a
LD
35318 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35319 names.
35320 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35323 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35324 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35325 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35326
77a2a8b4
AZ
353272011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35328
35329 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35330 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35331 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35332 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35333 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35334 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35335 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35336 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35337 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35338 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35339
24f579d8
AM
353402011-08-15 Alan Modra <amodra@gmail.com>
35341
35342 [BZ #13092]
35343 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35344 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35345 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35346 ppc_mcount to static-only-routines.
35347 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35348 __mcount_internal.
35349 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35350 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35351
3d4837df
UD
353522011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35353
35354 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35355 for finite and infinity parameters.
35356
22700377
WS
353572011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35358
35359 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35360 and add nop instructions for throughput optimization.
35361 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35362
5025581e
WS
353632011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35364
35365 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35366 aligned copy for power7 with vector-scalar instructions.
35367 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35368
08a300c9
L
353692011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35370
35371 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35372 AVX check.
35373
59178ef9
AS
353742011-09-07 Andreas Schwab <schwab@redhat.com>
35375
35376 [BZ #13144]
35377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35378 last change.
35379
e38ba7ab
UD
353802011-09-07 Ulrich Drepper <drepper@gmail.com>
35381
35382 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35383 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35384 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35385 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35386 clock_gettime.
35387
d53a73ac
UD
353882011-09-06 Ulrich Drepper <drepper@gmail.com>
35389
fc8bffcc
UD
35390 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35391 Forgot to demangle the pointer.
35392
ceaa0c5d
UD
35393 * sysdeps/i386/sysdep.h: Define atom_text_section.
35394 * sysdeps/x86_64/sysdep.h: Likewise.
35395 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35396 section with atom_text_section.
35397 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35398 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35399 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35401 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35402
a77d3c17
UD
35403 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35405 already be defined. Change to take two parameters and don't assign
35406 result to variable. Adjust all users.
35407 Define INTERNAL_GETTIME if not already defined.
35408 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35409 call.
35410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35411 HAVE_CLOCK_GETTIME_VSYSCALL.
35412 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35413
d53a73ac
UD
35414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35415 gettimeofday vsyscall, just use time.
35416
a8f84144
AS
354172011-09-06 Andreas Schwab <schwab@redhat.com>
35418
35419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35420 <errno.h>.
35421
ef606249
UD
354222011-09-06 Ulrich Drepper <drepper@gmail.com>
35423
35424 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35425 syscall on x86-64.
35426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35427 syscall.
35428 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35429 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35430 syscall if possible.
35431
6585cb60
UD
354322011-09-05 Ulrich Drepper <drepper@gmail.com>
35433
35434 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35435 e_ident. Don't pass to find_mapsXX.
35436 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35437
a5f524e4
LD
354382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35439
35440 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35441 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35442 * sysdeps/x86_64/multiarch/strchr.S: Update.
35443 Check bit_slow_BSF bit.
35444 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35445 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35446 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35447
554881ef
UD
354482011-09-05 Ulrich Drepper <drepper@gmail.com>
35449
d96de963
UD
35450 [BZ #13134]
35451 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35452 before glibc 2.15.
35453 (tryshell): Define.
35454 (__spawni): Change last parameter to be flag. Test
35455 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35456 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35457 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35458 * posix/spawni.c: Likewise.
35459 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35460 * posix/spawnp.c: Likewise. Change normal version to use
35461 SPAWN_XFLAGS_USE_PATH.
35462 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35463 SPAWN_XFLAGS_TRY_SHELL.
35464
d48e5868
UD
35465 [BZ #13150]
35466 * posix/glob.h: Remove gcc 1.x support.
35467
554881ef
UD
35468 [BZ #13068]
35469 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35470
693fb948
LD
354712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35472
35473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35474 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35475 strrchr-sse2-bsf
35476 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35477 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35478 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35480 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35481 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35482
1b48c537
UD
354832011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35484
49d42c37
UD
35485 * sysdeps/x86_64/wcscmp.S: New file.
35486
1b48c537
UD
35487 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35488 wcscmp-c wcscmp-sse2
35489 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35490 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35491 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35492 * wcsmbs/wcscmp.c: Allow renaming.
35493
15c95c5d
DM
354942011-09-05 David S. Miller <davem@davemloft.net>
35495
35496 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35497 stack slot, rather than the struct return pointer slot.
35498 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35499 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35502
2f0ad8f3
UD
355032011-09-05 Ulrich Drepper <drepper@gmail.com>
35504
d88ae418
UD
35505 * po/ja.po: Update from translation team.
35506
2f0ad8f3
UD
35507 [BZ #13144]
35508 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35509 kernel in 64-bit binaries.
35510
5f4318d1
DM
355112011-09-01 David S. Miller <davem@davemloft.net>
35512
35513 * elf/elf.h (HWCAP_SPARC_*): Move to..
35514 * sysdeps/sparc/sysdep.h: this new file and add new values.
35515 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35516 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35517 _DL_HWCAP_COUNT to 24.
35518 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35519 entries.
35520 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35521 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35522 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35524 instead of magic constants.
35525 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35526
3ba57516
DM
355272011-08-31 David S. Miller <davem@davemloft.net>
35528
35529 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35531 Reimplement to do errno handling inline.
35532 (SYSCALL_ERROR_HANDLER): New macro.
35533 (__SYSCALL_STRING): Do not do errno handling in asm.
35534 (__CLONE_SYSCALL_STRING): Delete.
35535 (__INTERNAL_SYSCALL_STRING): Delete.
35536 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35537 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35538 (PSEUDO): Reimplement to do errno handling inline.
35539 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35540 (SYSCALL_ERROR_HANDLER): New macro.
35541 (__SYSCALL_STRING): Do not do errno handling in asm.
35542 (__CLONE_SYSCALL_STRING): Delete.
35543 (__INTERNAL_SYSCALL_STRING): Delete.
35544 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35545 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35546 i386.
35547 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35548 (inline_syscall*): Add 'err' argument.
35549 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35550 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35551 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35552 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35553
35554 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35555 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35556
2bc17433
AS
355572011-08-30 Andreas Schwab <schwab@redhat.com>
35558
35559 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35560
fbeb5f4d
JO
355612011-08-29 Jiri Olsa <jolsa@redhat.com>
35562
35563 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35564 directive.
35565
ad69cc26
DM
355662011-08-24 David S. Miller <davem@davemloft.net>
35567
35568 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35569
39dd69df
AS
355702011-08-24 Andreas Schwab <schwab@redhat.com>
35571
35572 * elf/Makefile: Add rules to build and run unload8 test.
35573 * elf/unload8.c: New file.
35574 * elf/unload8mod1.c: New file.
35575 * elf/unload8mod1x.c: New file.
35576 * elf/unload8mod2.c: New file.
35577 * elf/unload8mod3.c: New file.
35578
35579 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35580 it wasn't used.
35581
2c0b250a
DM
355822011-08-23 David S. Miller <davem@davemloft.net>
35583
35584 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35585 subtract stack bias.
35586 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35587 %sp not %fp in calculations.
35588 (_JMPBUF_UNWINDS_ADJ): Likewise.
35589
22044b48
DM
35590 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35591 (aio_suspend): Call it to force an exception region around the
35592 AIO_MISC_WAIT() invocation.
35593
2cae4995
AS
355942011-08-23 Andreas Schwab <schwab@redhat.com>
35595
35596 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35597 backslash.
35598
873a772e
AJ
355992011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35600
35601 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35602 protection macro.
35603 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35604 and <dl-machine.h>.
35605 (Elf64_FuncDesc): Remove.
35606
25ad0df1
DM
356072011-08-22 David S. Miller <davem@davemloft.net>
35608
35609 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35610 sigaltstack check, add missing cfi directives.
35611 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35612 missing cfi directives, and sigaltstack handling.
35613
e888bcbe
AS
356142011-08-16 Andreas Schwab <schwab@redhat.com>
35615
35616 [BZ #11724]
35617 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35618 object is seen twice.
35619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35620
35621 * elf/Makefile (distribute): Add tst-initorder2.c.
35622 (tests): Add tst-initorder2.
35623 (modules-names): Add tst-initorder2a tst-initorder2b
35624 tst-initorder2c tst-initorder2d. Add rules to build them.
35625 ($(objpfx)tst-initorder2.out): New rule.
35626 * elf/tst-initorder2.c: New file.
35627 * elf/tst-initorder2.exp: New file.
35628
87162f46
AS
356292011-08-22 Andreas Schwab <schwab@redhat.com>
35630
70538b7f
AS
35631 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35632
f55ffe58
AS
35633 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35634 dependencies back to end of function.
35635
87162f46
AS
35636 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35637 $(elfobjdir)/ld.so.
35638
91b392a4
UD
356392011-08-21 Ulrich Drepper <drepper@gmail.com>
35640
35641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35642 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35644 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35645 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35646 of __vdso_gettimeofday.
35647 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35648 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35649 attribute_hidden.
35650 (_libc_vdso_platform_setup): Remove initialization of
35651 __vdso_gettimeofday and __vdso_time.
35652
5c43483f
UD
356532011-08-20 Ulrich Drepper <drepper@gmail.com>
35654
775a77e7
UD
35655 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35656 and fgetc_unlocked.
35657 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35658 getc_unlocked.
89f447ed 35659
49c74ba9
UD
35660 * elf/dl-open.c (add_to_global): Report additions to the global scope
35661 for LD_DEBUG=scopes.
35662 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 35663 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 35664
5c43483f
UD
35665 [BZ #13114]
35666 * stdio-common/Makefile (tests): Add bug24.
35667 * stdio-common/bug24.c: New file.
35668
a101b025
AJ
356692011-08-19 Andreas Jaeger <aj@suse.de>
35670
35671 [BZ #13114]
35672 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35673 non-existant file when using close-on-exec mode.
35674
c88f1766
UD
356752011-08-20 Ulrich Drepper <drepper@gmail.com>
35676
0276a718
UD
35677 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35678 the very first instruction.
35679
c88f1766
UD
35680 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35681 the CFI state in the end.
35682 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35683 inclusion of dl-trampoline.h.
35684 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35685
51ccffa0
AS
356862011-08-19 Andreas Schwab <schwab@redhat.com>
35687
94d7165f
AS
35688 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35689 expectations for long double.
35690
51ccffa0
AS
35691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35692 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35693
fd708658 356942011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
35695
35696 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35697 artificual limit depends upon the system page size.
35698
44f0a71e
UD
356992011-08-17 Ulrich Drepper <drepper@gmail.com>
35700
35701 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35702 * resolv/Makefile: Define CFLAGS-libresolv.
35703
8de79a24
AS
357042011-08-17 Andreas Schwab <schwab@redhat.com>
35705
35706 * nss/makedb.c (compute_tables): Make variables used in nested
35707 function static.
35708
27724598
UD
357092011-08-17 Ulrich Drepper <drepper@gmail.com>
35710
c5305d88
UD
35711 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35712 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35713 if buffer was too small.
35714
27724598
UD
35715 * elf/pldd.c (main): Attach to all threads in the process.
35716 Rewrite /proc handling to use *at functions.
35717
076fe015
UD
357182011-08-16 Ulrich Drepper <drepper@gmail.com>
35719
174baab3
UD
35720 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35721 specifies first scope to show.
35722 (dl_open_worker): Update callers. Move printing scope of new
35723 object to before the relocation.
44f0a71e 35724 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
35725 * sysdeps/generic/ldsodefs.h: Update declaration.
35726
076fe015
UD
35727 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35728 string for the scope number.
35729
a60df2c3
UD
357302011-08-14 Ulrich Drepper <drepper@gmail.com>
35731
35732 * nscd/servicescache.c (cache_addserv): Make sure written is always
35733 initialized.
35734
5e4287d1
RM
357352011-08-14 Roland McGrath <roland@hack.frob.com>
35736
85ae0589
RM
35737 * sysdeps/i386/i486/bits/atomic.h
35738 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35739 statement expression, so as to suppress "set but not used" warning.
35740 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35741
69f63097
RM
35742 * string/strncat.c (STRNCAT): Use prototype definition.
35743
675456ef
RM
35744 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35745 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35746 -Iprograms here.
35747 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35748 (localedef-modules): Add localedef.
35749 (locale-modules): Add locale.
35750
5e4287d1
RM
35751 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35752 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35753 to avoid a warning.
35754
9c96ff23
DM
357552011-08-14 David S. Miller <davem@davemloft.net>
35756
35757 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35758 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35759
f9ddf089
UD
357602011-08-13 Ulrich Drepper <drepper@gmail.com>
35761
44f0a71e 35762 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
35763 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35764 * elf/rtld.c (dl_main): Set l_name of vDSO.
35765 Call _dl_show_scope when DL_DEBUG_SCOPES.
35766 (process_dl_debug): Recognize scopes flag and also set it for all.
35767 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35768 Declare _dl_show_scope.
35769
1dc27704
UD
35770 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35771 (do_dlopen): Pass caller_dlopen to dl_open.
35772 (__libc_dlopen_mode): Initialize caller_dlopen.
35773
f9ddf089
UD
35774 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35775 of libc. Make tolower call locale-independent. Optimize a bit by
35776 using isdigit instead of isalnum.
35777 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35778
9ac533d3
UD
357792011-08-12 Ulrich Drepper <drepper@gmail.com>
35780
35781 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35782 was a dependency or dynamically loaded.
35783
89edf2e9
UD
357842011-08-11 Ulrich Drepper <drepper@gmail.com>
35785
8e999d29
UD
35786 * intl/l10nflist.c: Allow architecture-specific pop function.
35787 * sysdeps/x86_64/l10nflist.c: New file.
35788
89edf2e9
UD
35789 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35790 classification.
35791
14d96785
AS
357922011-08-10 Andreas Schwab <schwab@redhat.com>
35793
35794 * include/dirent.h: Add libc_hidden_proto for scandirat and
35795 scandirat64. Don't declare __scandirat64.
35796 * dirent/scandirat.c: Add libc_hidden_def.
35797 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35798 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35799
6761ac04
DM
358002011-08-10 David S. Miller <davem@davemloft.net>
35801
35802 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35803 enum.
35804 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35805 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35806 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35807
c55fbd1e
UD
358082011-08-09 Ulrich Drepper <drepper@gmail.com>
35809
35810 * Versions.def [libc]: Add GLIBC_2.15.
35811 * dirent/Makefile (routines): Add scandirat and scandirat64.
35812 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35813 GLIBC_2.15.
35814 * dirent/dirent.h: Declare scandirat and scandirat64.
35815 * dirent/scandirat.c: New file.
35816 * dirent/scandirat64.c: New file.
35817 * sysdeps/wordsize-64/scandirat.c: New file.
35818 * sysdeps/wordsize-64/scandirat64.c: New file.
35819 * dirent/opendir.c: Define opendirat.
35820 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35821 using scandirat.
35822 * dirent/scandir64.c: Adjust for scandir.c change.
35823 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35824 __scandirat64, and __scandir_cancel_handler.
35825 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35826 additional parameter and use openat instead of open (outside of ld.so).
35827 Add new __opendir as wrapper around __opendirat.
35828 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35829 here without requiring old scandirat implementation.
35830
879165f2
UD
358312011-08-08 Ulrich Drepper <drepper@gmail.com>
35832
35833 * dirent/scandir.c (cancel_handler): Renamed to
35834 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35835 defined. Adjust users.
35836 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35837 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35838
cb7e923b
UD
358392011-08-04 Ulrich Drepper <drepper@gmail.com>
35840
16292edd
UD
35841 * string/test-string.h (IMPL): Use __STRING to expand name and then
35842 stringify it.
35843
cb7e923b
UD
35844 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35845 of cleanups.
35846
cff82933
LD
358472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35848
35849 * string/Makefile: Update.
35850 (strop-tests): Append strncat.
35851 * string/test-wcscmp.c: New file.
35852 New comprehensive test for wcscmp.
35853 * string/test-strcmp.c: Update.
35854 (WIDE): New define.
35855
9be9bfcc
AS
358562011-07-22 Andreas Schwab <schwab@redhat.com>
35857
35858 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35859 line.
35860
2e96f1c7
AS
358612011-07-26 Andreas Schwab <schwab@redhat.com>
35862
35863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35864 encoding to ACE if AI_IDN.
35865
85188888
JJ
358662011-08-01 Jakub Jelinek <jakub@redhat.com>
35867
35868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35869 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35870
5fa16e9b
LD
358712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35872
35873 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35874 Fix overflow bug in strncat.
35875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35876
35877 * string/test-strncat.c: Update.
35878 Add new tests for checking overflow bugs.
35879
358802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35881
35882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35883 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35884 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35885 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35886 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35887 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35888 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35889 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35890 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35891
35892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35893 (USE_AS_STRCAT): Define.
35894 Add strcat and strncat support.
35895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35896
8c1a459f
AS
358972011-07-25 Andreas Schwab <schwab@redhat.com>
35898
35899 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35900 __n bigger than INT_MAX+1.
35901 (__strncmp_g): Likewise.
35902
bba33c28
UD
359032011-07-23 Ulrich Drepper <drepper@gmail.com>
35904
798be72d
UD
35905 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35906 * libio/stido.h: Likewise.
35907
8accd4dc
UD
35908 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35909 (AF_NFC): Define.
35910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35911 (AF_NFC): Define.
35912
cbff0d96
UD
35913 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35914 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35916 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35918
9191c04a
UD
35919 [BZ #13021]
35920 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35921 installed.
35922
bba33c28
UD
35923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35924 typo.
35925 (_dl_x86_64_save_sse): Likewise.
35926
90f139dd
UD
359272011-07-22 Ulrich Drepper <drepper@gmail.com>
35928
1aae088a
UD
35929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35930 OSXSAVE.
35931 (_dl_x86_64_save_sse): Likewise.
35932
8e2045f5
UD
35933 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35934
90f139dd
UD
35935 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35936
1d002f25
AS
359372011-07-21 Andreas Schwab <schwab@redhat.com>
35938
35939 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35940 change.
35941 (_dl_x86_64_save_sse): Use correct AVX check.
35942
21137f89
UD
359432011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35944
35945 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35946 bug in strncpy/strncat.
35947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35948
a65c0b7a
UD
359492011-07-21 Ulrich Drepper <drepper@gmail.com>
35950
35951 * string/tester.c (test_strcat): Add tests for different alignments
35952 of source and destination.
35953 (test_strncat): Likewise.
35954
6986b98a
UD
359552011-07-20 Ulrich Drepper <drepper@gmail.com>
35956
90bb2039
UD
35957 [BZ #12852]
35958 * posix/glob.c (glob): Check passed in values before using them in
35959 expressions to avoid some overflows.
35960 (glob_in_dir): Likewise.
35961
5644ef54
UD
35962 [BZ #13007]
35963 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35964 check for AVX enablement so that we don't crash with old kernels and
35965 new hardware.
35966 * elf/tst-audit4.c: Add same checks here.
35967 * elf/tst-audit6.c: Likewise.
35968
35969 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 35970
bfc9dc9b
AS
359712011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35972
35973 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35974
702e64bb
UD
359752011-07-20 Ulrich Drepper <drepper@gmail.com>
35976
35977 * po/cs.po: Update from translation team.
35978 * po/bg.po: Likewise.
35979
295e904f
MP
359802011-07-12 Marek Polacek <mpolacek@redhat.com>
35981
35982 * misc/sys/cdefs.h: Add support for const attribute.
35983 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35984 to gnu_dev_{major,minor,makedev} functions.
35985
3ff94596
MP
359862011-07-20 Marek Polacek <mpolacek@redhat.com>
35987
35988 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35989
28b59fca
AS
359902011-07-20 Andreas Schwab <schwab@redhat.com>
35991
35992 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35993 strlen results.
35994
19df733e
AK
359952011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35996
35997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35998 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35999 register in order to avoid conflicts with the soft frame pointer
36000 being held in r11 when necessary.
36001 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36002 (INTERNAL_VSYSCALL_NCS): Likewise.
36003
c8835729
MP
360042011-07-14 Marek Polacek <mpolacek@redhat.com>
36005
36006 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36007 * elf/dl-fini.c (_dl_fini): Adjust caller.
36008 * elf/dl-close.c (_dl_close_worker): Likewise.
36009 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36010
b902330c
MP
360112011-07-15 Marek Polacek <mpolacek@redhat.com>
36012
8991e135
MP
36013 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36014 "aux_cache->nlibs < 0".
36015
b902330c
MP
36016 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36017 in the reload-count case.
36018
99710781
LD
360192011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36020
36021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36022 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36023 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36024 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36025 * sysdeps/x86_64/multiarch/strcat.S: New file.
36026 * sysdeps/x86_64/multiarch/strncat.S: New file.
36027 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36028 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36029 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36030 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36032 (USE_AS_STRCAT): Define.
36033 Add strcat and strncat support.
36034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36035 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36036 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36037 * string/strncat.c: Update.
36038 (USE_AS_STRNCAT): Define.
36039 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36040 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36041 and i7.
36042 * sysdeps/x86_64/multiarch/init-arch.h
36043 (bit_Prefer_PMINUB_for_stringop): New.
36044 (index_Prefer_PMINUB_for_stringop): Likewise.
36045 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36046 bit_Prefer_PMINUB_for_stringop.
36047
7dc6bd90
UD
360482011-07-19 Ulrich Drepper <drepper@gmail.com>
36049
36050 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36051 buffer64.
36052 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36053 of casting of buffer.
36054 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36055 buffer32 and buffer64.
36056 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36057 writes instead of casting of buffer.
36058 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36059 buffer32.
36060 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36061 casting of buffer.
36062
e0e72284
AS
360632011-07-19 Andreas Schwab <schwab@redhat.com>
36064
36065 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36066
feb1eb0b
UD
360672011-07-19 Ulrich Drepper <drepper@gmail.com>
36068
36069 * nscd/nscd.c (termination_handler): Don't do anything for a database
36070 if it has not yet been initialized.
36071
298711ff
UD
360722011-07-18 Ulrich Drepper <drepper@gmail.com>
36073
36074 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36075
360762011-07-15 Marek Polacek <mpolacek@redhat.com>
36077
36078 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36079
f9d68389
UD
360802011-07-18 Ulrich Drepper <drepper@gmail.com>
36081
36082 * po/nl.po: Update from translation team.
36083 * po/sv.po: Likewise.
36084
db290cf5
RM
360852011-07-16 Roland McGrath <roland@hack.frob.com>
36086
36087 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36088 now disallowed by GCC.
5c550700 36089
fd5e21c7
RM
36090 * configure.in (use-default-link): Default to yes if a test -shared
36091 link meets our qualifications.
36092 * configure: Regenerated.
36093
5c550700
RM
36094 * config.make.in (output-format): New variable.
36095 * configure.in: Check for ld --print-output-format support.
36096 * configure: Regenerated.
36097 * Makerules ($(common-objpfx)format.lds)
36098 [$(output-format) != unknown]: Just use $(output-format),
36099 instead of the linker-script munging.
36100
9fa2c032
RM
361012011-07-14 Roland McGrath <roland@hack.frob.com>
36102
a6928d51
RM
36103 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36104 of $(common-objpfx)shlib.lds.
36105 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36106
661607b3
RM
36107 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36108 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36109
9fa2c032
RM
36110 * configure.in (-z relro check): Adjust test code to add a large
36111 writable data section after it.
36112 * configure: Regenerated.
36113
defe9061
RM
361142011-07-11 Roland McGrath <roland@hack.frob.com>
36115
36116 * configure.in (-z relro check): Fix test code to make the variable
36117 truly const.
36118 * configure: Regenerated.
36119
319b9ad4
UD
361202011-07-11 Ulrich Drepper <drepper@gmail.com>
36121
36122 * nscd/nscd.h (struct traced_file): Define.
36123 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36124 elements. Add traced_files.
36125 (inotify_fd): Declare.
36126 (register_traced_file): Declare.
36127 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36128 (inotify_fd): Export.
36129 (resolv_conf_descr): Remove.
36130 (nscd_init): Move inotify descriptor creation to main.
36131 Don't register files for notification here.
36132 (register_traced_file): New function.
36133 (invalidate_cache): Don't use reset_res to determine whether to call
36134 res_init, go through the list of registered files.
36135 (main_loop_poll): The inotify descriptors are now stored in the
36136 structures for the traced files.
36137 (main_loop_epoll): Likewise
36138 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36139 to __nss_disable_nscd.
36140 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36141 for a database anymore. Check the records for all the registered
36142 files instead.
36143 * nss/Makefile (libnss_files-routines): Add files-init.
36144 (libnss_db-routines): Add db-init.
36145 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36146 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36147 * nss/nss_db/db-init.c: New file.
36148 * nss/nss_files/files-init.c: New file.
36149 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36150 __nss_lookup_function.
36151 (__nss_lookup_function): Call nss_load_library.
36152 (nss_load_all_libraries): New function.
36153 (__nss_disable_nscd): Take parameter with callback function for files
36154 to register. Set is_nscd. Load all the DSOs for the NSS modules
36155 used for the cached services.
36156 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36157 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36158 options for features to all the files in nscd.
36159
36160 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36161
23bee3e8
RM
361622011-07-10 Roland McGrath <roland@hack.frob.com>
36163
36164 * csu/elf-init.c (__libc_csu_init): Comment typo.
36165
46a5b7f0
UD
361662011-07-09 Ulrich Drepper <drepper@gmail.com>
36167
36168 * po/pl.po: Update from translation team.
36169 * po/ja.po: Likewise.
36170 * po/ru.po: Likewise.
36171 * po/ko.po: Likewise.
36172 * po/fr.po: Likewise.
36173
d30cf5bb
RM
361742011-07-09 Roland McGrath <roland@hack.frob.com>
36175
113ddea4
RM
36176 * configure.in (.ctors/.dtors header and trailer check):
36177 Use an empirical test on a built program.
36178 * configure: Regenerated.
36179
574920b4
RM
36180 * configure.in (-z relro check): Use an empirical test on a built DSO.
36181 Detect, but do not require, on ia64.
36182 * configure: Regenerated.
36183
d30cf5bb
RM
36184 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36185 Update tests that use readelf to use $READELF instead.
36186 * configure: Regenerated.
36187
8538fdb3
UD
361882011-07-08 Ulrich Drepper <drepper@gmail.com>
36189
36190 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36191 if the result is not used.
36192
04d08991
AJ
361932011-07-05 Andreas Jaeger <aj@suse.de>
36194
36195 [BZ#9696]
36196 * stdlib/tst-strtod.c: Add testcase.
36197
de283087
AD
361982011-07-07 Ulrich Drepper <drepper@gmail.com>
36199
4e5f31c8 36200 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36201 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36202 The latter has a higher limit. Take additional parameter to pass to
36203 the new function.
36204 (__pathconf): Pass file to __statfs_link_max.
36205 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36206 __statfs_link_max.
36207 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36208 __statfs_link_max.
36209
de283087
AD
36210 [BZ #12868]
36211 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36212 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36213 Handle Lustre.
36214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36215 (__statfs_filesize_max): Likewise.
36216 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36217
c75fa153
AJ
362182011-07-05 Andreas Jaeger <aj@suse.de>
36219
36220 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36221
1a544854
UD
362222011-07-06 Marek Polacek <mpolacek@redhat.com>
36223
36224 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36225 `status' variable.
36226 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36227 Likewise.
36228
6f0eec67
UD
362292011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36230
36231 * Makefile (strop-tests): Add strncat.
36232 * string/test-strncat.c: New file.
36233
aae30307
UD
362342011-06-30 Marek Polacek <mpolacek@redhat.com>
36235
36236 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36237
c0cfb5eb
UD
362382011-06-21 Andreas Jaeger <aj@suse.de>
36239
36240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36241 Copy rule from iconvdata/Makefile.
36242
01636b21
UD
362432011-07-06 Ulrich Drepper <drepper@gmail.com>
36244
36245 [BZ #12922]
36246 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36247 but no long options are defined, just return 'W'.
36248
9895c8bc
UD
362492011-06-22 Marek Polacek <mpolacek@redhat.com>
36250
36251 [BZ #9696]
36252 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36253
5d4cf042
UD
362542011-07-06 Ulrich Drepper <drepper@gmail.com>
36255
36256 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36257 netgroups to read.
960e5535 36258 (innetgr): Likewise.
5d4cf042 36259
751eb97e
RM
362602011-07-05 Roland McGrath <roland@hack.frob.com>
36261
36262 * config.make.in (install_root): Default to $(DESTDIR).
36263
f15f1e45
UD
362642011-07-05 Ulrich Drepper <drepper@gmail.com>
36265
36266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36267
4e34ac6a
RM
362682011-07-02 Roland McGrath <roland@hack.frob.com>
36269
5e9b6af4
RM
36270 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36271
84f9ea0f
RM
36272 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36273 containing directory rather than embedding absolute directory names.
36274
ea5ee9f7
RM
36275 * scripts/check-local-headers.sh: Rewritten using awk.
36276 Match by word, not by line. Print error messages for matches.
36277 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36278
1b74661a
RM
36279 * Makerules [shlib-lds-flags empty]:
36280 ($(common-objpfx)libc_pic.opts): New target.
36281 ($(common-objpfx)libc_pic.os.clean): New target.
36282 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36283
36284 * config.make.in (OBJCOPY): New variable.
36285 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36286 * configure: Regenerated.
36287
f781ef40
RM
36288 * config.make.in (use-default-link): New variable.
36289 * configure.in (use_default_link): Grok --with-default-link to set it.
36290 * configure: Regenerated.
36291 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36292 (shlib-lds, shlib-lds-flags): Define to empty.
36293
2d4fa81e
RM
36294 * Makerules (shlib-lds): New variable.
36295 (shlib-lds-flags): New variable.
36296 (build-shlib, build-moduile, build-module-asneeded): Use it.
36297 ($(common-objpfx)libc.so): Use $(shlib-lds).
36298 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36299 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36300
31fffa6b
RM
36301 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36302 DT_FLAGS/DT_FLAGS_1 with zero flags.
36303
4e34ac6a
RM
36304 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36305 linker script munging.
36306
fcfc776b
UD
363072011-07-02 Ulrich Drepper <drepper@gmail.com>
36308
36309 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36310 as 128-bit value.
36311 * crypt/sha512.c (sha512_process_block): Perform total addition using
36312 128-bit if possible.
36313 (__sha512_finish_ctx): Likewise.
36314 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36315 as 64-bit value.
36316 * crypt/sha256.c (SWAP64): Define.
36317 (sha256_process_block): Perform total addition using 64-bit if
36318 possible.
36319 (__sha256_finish_ctx): Likewise.
36320
99231d9a
UD
363212011-07-01 Ulrich Drepper <drepper@gmail.com>
36322
36323 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36324 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36325 * nscd/hstcache.c (cache_addhst): Likewise.
36326 * nscd/grpcache.c (cache_addgr): Likewise.
36327 * nscd/aicache.c (addhstaiX): Likewise
36328 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36329
445b4a53
TK
363302011-07-01 Thorsten Kukuk <kukuk@suse.de>
36331
36332 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36333 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36334 * nscd/hstcache.c (cache_addhst): Likewise.
36335 * nscd/grpcache.c (cache_addgr): Likewise.
36336 * nscd/aicache.c (addhstaiX): Likewise
36337
6d4d8e8e
AS
363382011-07-01 Andreas Schwab <schwab@redhat.com>
36339
36340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36341 domain only when needed.
36342
89f654c5
AS
363432011-06-30 Andreas Schwab <schwab@redhat.com>
36344
36345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36346 is always restored.
36347
cf3b23ff
UD
363482011-06-29 Ulrich Drepper <drepper@gmail.com>
36349
36350 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36351 are re-adding the entry.
36352 * nscd/servicescache.c (cache_addserv): Likewise.
36353
751626f9
AJ
363542011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36355
36356 * sysdeps/generic/dl-irel.h: fix protection against multiple
36357 inclusions.
36358 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36359
9113ea1f
UD
363602011-06-28 Ulrich Drepper <drepper@gmail.com>
36361
5c0b8d90
UD
36362 [BZ #12935]
36363 * malloc/memusage.sh: Fix quoting in message.
36364 * debug/xtrace.sh: Likewise.
36365
9113ea1f
UD
36366 * configure.in: Remove support for --experimental-malloc option, make
36367 it the default.
36368 * config.make.in: Likewise.
36369 * malloc/Makefile: Likewise.
36370
a4172181
AS
363712011-06-27 Andreas Schwab <schwab@redhat.com>
36372
36373 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36374 two-byte characters.
36375
78a7eee7
RM
363762011-06-27 Roland McGrath <roland@hack.frob.com>
36377
62bede13
RM
36378 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36379 AC_CACHE_CHECK invocation.
36380 * configure: Regenerated.
36381
78a7eee7
RM
36382 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36383
5ce33a62
UD
363842011-06-27 Ulrich Drepper <drepper@gmail.com>
36385
034807a9
UD
36386 [BZ #12350]
36387 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36388 bit from old_res_options.
36389
4902da17
UD
36390 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36391
5ce33a62
UD
36392 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36393 value type for setfct.
36394
c2344f56
L
363952011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36396
36397 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36398 __gettimeofday instead of gettimeofday.
36399
68468076
UD
364002011-06-26 Ulrich Drepper <drepper@gmail.com>
36401
36402 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36403
acb0d739
L
364042011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36405
36406 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36407
36408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36409 info.
36410
8912479f
L
364112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36412
36413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36414 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36415 strcpy-sse2-unaligned strncpy-sse2-unaligned
36416 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36417 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36418 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36419 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36420 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36421 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36422 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36423 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36424 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36425 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36426 (STRCPY): Support SSE2 and SSSE3 versions.
36427
d5495a11
UD
364282011-06-24 Ulrich Drepper <drepper@gmail.com>
36429
36430 [BZ #12874]
36431 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36432 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36433 kernels which artificially limit size of requests.
36434
0b1cbaae
L
364352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36436
36437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36438 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36439 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36440 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36441 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36442 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36443 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36444 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36447 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36448 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36449 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36450 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36451 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36453 Enable unaligned load optimization for Intel Core i3, i5 and i7
36454 processors.
36455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36456 Define.
36457 (index_Fast_Unaligned_Load): Define.
36458 (HAS_FAST_UNALIGNED_LOAD): Define.
36459
07f494a0
MP
364602011-06-23 Marek Polacek <mpolacek@redhat.com>
36461
36462 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36463
fa3fc0fe
UD
364642011-06-22 Ulrich Drepper <drepper@gmail.com>
36465
36466 [BZ #12907]
36467 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36468 until it is clear that the information is realy needed.
36469 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36470
e12df166
AS
364712011-06-22 Andreas Schwab <schwab@redhat.com>
36472
36473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36474
852eb34d
UD
364752011-06-22 Ulrich Drepper <drepper@gmail.com>
36476
84e2a551
UD
36477 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36478 /sys/devices/system/cpu/online if it is usable.
36479
852eb34d
UD
36480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36481 reading the information from the /proc filesystem to once a second.
36482
6e502e19
UD
364832011-06-21 Andreas Jaeger <aj@suse.de>
36484
36485 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36486 NULL after inclusion of kernel headers.
36487
75d39ff2
UD
364882011-06-21 Ulrich Drepper <drepper@gmail.com>
36489
51f9aa6a
UD
36490 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36491 calls to internal_setent.
36492
c0244a9d
UD
36493 [BZ #12885]
36494 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36495 addresses using gethostbyname4_r ignore IPv4 addresses.
36496
c5e3c2ae
UD
36497 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36498 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36499
75d39ff2
UD
36500 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36501
42675c6f
DM
365022011-06-20 David S. Miller <davem@davemloft.net>
36503
36504 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36505 inclusions.
36506 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36507
36508 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36509 (elf_irel): Use it.
36510 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36511 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36512 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36513 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36514 * sysdeps/x86_64/dl-irel.h: Likewise.
36515
36516 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36517 * elf/dl-sym.c: Likewise.
36518
57912a71
UD
365192011-06-15 Ulrich Drepper <drepper@gmail.com>
36520
36521 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36522 need to dereference resplen2.
36523
ee22793d
AS
365242011-06-14 Andreas Schwab <schwab@redhat.com>
36525
36526 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36527
a9e836b0
UD
365282011-06-15 Ulrich Drepper <drepper@gmail.com>
36529
77fb9117
UD
36530 * Makeconfig: Define vardbdir and inst_vardbdir.
36531 * nss/Makefile: Add rules to install db-Makefile.
36532
40c1b22c
UD
36533 * nss/nss_db/db-XXX.c: Cleanup.
36534
9f2da732
UD
36535 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36536 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36537 GLIBC_PRIVATE.
36538 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36539 * nss/makedb.c: Implement -g option to specify that value strings
36540 are generated and should not be added to table iterated over for
36541 get*ent calls.
36542 * nss/nss_db/db-initgroups.c: New file.
36543
82e9a1f7
UD
36544 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36545 interface.
36546
c41af17e
UD
36547 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36548 (internal_getgrouplist): Adjust to name change.
36549 Update use_initgroups_entry if this is not the first call.
36550 * nss/databases.def: Add initgroups entry.
36551
a9e836b0
UD
36552 * nss/makedb.c (compute_tables): Check result of multiple hash table
36553 sizes to minimize maximum chain length.
36554
2666d441
UD
365552011-06-14 Ulrich Drepper <drepper@gmail.com>
36556
36557 * Versions.def: Add entry for libnss_db.
36558 * shlib-versions: Likewise.
36559 * nss/Makefile: Add rules to build libnss_db.
36560 * nss/Versions: Add libnss_db information. Organize libnss_files
36561 entries better.
36562 * nss/db-Makefile: Add gshadow support. Change rules for the new
36563 makedb progra. Some minor improvements to generate smaller files.
36564 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36565 here from...
36566 * nss/makedb.c: ...here.
36567 Improve database format to be smaller and require less memory at
36568 runtime.
36569 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36570 db anymore.
36571 * nss/nss_db/db-netgrp.c: Likewise.
36572 * nss/nss_db/db-open.c: Likewise.
36573 * nss/nss_files/flies-XXX.x: Adjust comments.
36574 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36575 * nss/nss_files/files-grp.c: Likewise.
36576 * nss/nss_files/files-hosts.c: Likewise.
36577 * nss/nss_files/files-network.c: Likewise.
36578 * nss/nss_files/files-proto.c: Likewise.
36579 * nss/nss_files/files-pwd.c: Likewise.
36580 * nss/nss_files/files-rpc.c: Likewise.
36581 * nss/nss_files/files-service.c: Likewise.
36582 * nss/nss_files/files-sgrp.c: Likewise.
36583 * nss/nss_files/files-spwd.c: Likewise.
36584 * nss/nss_db/db-alias.c: Removed.
36585 * nss/nss_db/dummy-db.h: Removed.
36586
9ee76b5a
UD
365872011-06-02 Ulrich Drepper <drepper@gmail.com>
36588
36589 * nss/makedb.c: Rewritten to not use database library.
36590 * nss/Makefile: Update to build new makedb program.
36591
c71ca1f8
AJ
365922011-06-14 Andreas Jaeger <aj@suse.de>
36593
36594 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36595 memset declaration.
36596
3154bfb8
UD
365972011-06-10 Andreas Schwab <schwab@redhat.com>
36598
36599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36600 tmpbuf.
36601
b350afab
RM
366022011-06-10 Roland McGrath <roland@hack.frob.com>
36603
decd4e50
RM
36604 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36605 * elf/Makefile ($(objpfx)ld.so): Likewise.
36606
5615eaf2
RM
36607 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36608 Don't list ld.so twice in dependencies.
36609
36610 * posix/bug-regex31.c: Include <stdlib.h>.
36611
36612 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36613
36614 * nis/nss_compat/compat-spwd.c
36615 (getspent_next_nss_netgr): Remove unused variable.
36616 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36617
36618 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36619 nonmembers" output to use the right array.
36620
36621 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36622
36623 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36624
36625 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36626 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36627 * catgets/gencat.c (read_input_file): Likewise.
36628 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36629
36630 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36631 variable definition inside #if's controlling its use.
36632
36633 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36634
36635 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36636
36637 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36638
36639 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36640 unreachable code.
36641
36642 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36643
b68e08db
RM
36644 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36645 * configure: Regenerated.
36646
b350afab
RM
36647 * Makerules: Revert last change.
36648 * elf/Makefile: Likewise.
36649
28368601
RM
366502011-06-09 Roland McGrath <roland@hack.frob.com>
36651
36652 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36653 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36654 (reloc-link): Likewise.
36655
11988f8f
UD
366562011-06-09 Ulrich Drepper <drepper@gmail.com>
36657
36658 * elf/Makefile: Add rules to build pldd.
36659 * elf/pldd.c: New file.
36660 * elf/pldd-xx.c: New file.
36661
e80fab37
UD
366622011-06-07 Ulrich Drepper <drepper@gmail.com>
36663
36664 * version.h: Update for 2.15 development version.
36665
9b849836
DM
366662011-06-07 David S. Miller <davem@davemloft.net>
36667
36668 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36669 ifuncs.
36670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36671 elf_machine_lazy_rel): Likewise.
36672 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36673 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36674 elf_machine_lazy_rel): Likewise.
36675 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36676 dl_hwcap via passed in argument.
36677 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36678 Likewise.
36679
5a31b283
AK
366802011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36681
36682 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36683
069e52f8
RM
366842011-06-06 Roland McGrath <roland@hack.frob.com>
36685
36686 [BZ #12849]
36687 * manual/fdl-1.1.texi: New file, verbatim from:
36688 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36689 * manual/lgpl-2.1.texi: New file, verbatim from:
36690 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36691 * manual/Makefile (licenses): New variable, list those new file names.
36692 (texis): Use it.
36693 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36694
36695 * manual/fdl.texi: File removed.
36696 * manual/lesser.texi: File removed.
36697 * manual/libc.texinfo (Copying, Documentation License):
36698 Use new @include file names, put @appendix directive before @include.
36699
f16846a5
JJ
367002011-06-04 Jakub Jelinek <jakub@redhat.com>
36701
36702 [BZ #12841]
36703 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36704 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36705 (mq_open): Add __NTH.
36706
3d29045b
L
367072011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36708
36709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36710 Assume Intel Core i3/i5/i7 processor if AVX is available.
36711
8c297311
UD
367122011-05-31 Ulrich Drepper <drepper@gmail.com>
36713
36714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36715 typo.
36716
c8fc0c91
UD
367172011-05-31 Andreas Schwab <schwab@redhat.com>
36718
36719 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36720 memory. Use alloca_account. Fix memory leak when retrying.
36721
5b27a807
UD
367222011-05-31 Ulrich Drepper <drepper@gmail.com>
36723
356f8bc6
UD
36724 * version.h (RELEASE): Bump for 2.14 release.
36725 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36726
5b27a807
UD
36727 * config.make.in (RANLIB): Remove entry.
36728
01f16ab0
UD
367292011-05-30 Ulrich Drepper <drepper@gmail.com>
36730
41fce8bd
UD
36731 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36732 (libc.pot): Work around missing support for .ksh extension in xgettext.
36733
4769ae77
UD
36734 [BZ #12684]
36735 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36736 if both request failed.
36737 (send_dg): In case of server errors clear resplen or *resplen2.
36738
6b1e7d19
UD
36739 [BZ #12454]
36740 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36741 when there are multiple maps.
36742 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36743 (_dl_fini): Remove test here.
36744
01f16ab0
UD
36745 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36746
b1ebd700
UD
367472011-05-29 Ulrich Drepper <drepper@gmail.com>
36748
7ae22829
UD
36749 [BZ #12350]
36750 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36751 bit from old_res_options.
36752 (gaih_inet): Likewise.
36753
553149f6 36754 [BZ #11099]
18a84741 36755 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
36756 as signed.
36757
652ffab1
UD
36758 * resolv/res_init.c (res_setoptions): Make the code more compact.
36759
16985fd0
UD
36760 [BZ #11558]
36761 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36762 set RES_USEVC.
36763
0464f746
UD
36764 [BZ #11634]
36765 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36766
7d17596c
UD
36767 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36768
cf6bbbd7
UD
36769 [BZ #11781]
36770 * malloc/malloc.h: Declare malloc hook variables as volatile.
36771
13f1ab36
UD
36772 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36773 in last patch.
36774
b1ebd700
UD
36775 [BZ #11799]
36776 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 36777 raise in the comment.
80e2212d
UD
36778 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36779 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36780 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 36781
ce67228d
UD
367822011-05-28 Ulrich Drepper <drepper@gmail.com>
36783
8887a920
UD
36784 [BZ #12811]
36785 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36786 grow the buffers more if it already has to be sufficient.
36787 (build_wcs_upper_buffer): Likewise.
36788 * posix/regexec.c (check_matching): Likewise.
36789 (clean_state_log_if_needed): Likewise.
36790 (extend_buffers): Don't enlarge buffers beyond size of the input
36791 buffer.
36792 Patches mostly by Emil Wojak <emil@wojak.eu>.
36793 * posix/bug-regex32.c: New file.
36794 * posix/Makefile (tests): Add bug-regex32.
36795
4f031072
UD
36796 * locale/findlocale.c (_nl_find_locale): Return right away if
36797 _nl_explode_name failed.
36798 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36799
d0478f0c
UD
36800 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36801
de81b246
UD
36802 * debug/xtrace.sh: Unify messages.
36803 * malloc/memusage.sh: Likewise.
36804
c738465a
UD
36805 [BZ #12813]
36806 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36807 time symbol from vDSO. Substitute with vsyscall if not available.
36808 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36809 __vdso_time.
36810
f1f929d7
UD
36811 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36812 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36813 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36814 Add sendmmsg and internal_sendmmsg.
36815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36816 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36817 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36818
ce67228d
UD
36819 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36820 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36822
e57420c6
UD
368232011-05-27 Ulrich Drepper <drepper@gmail.com>
36824
a8509ca5
UD
36825 [BZ #12813]
36826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36827 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36828 available.
36829 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36830 __vdso_getcpu.
36831
e57420c6
UD
36832 [BZ #12814]
36833 * iconvdata/Makefile (tests): Add bug-iconv9.
36834 * iconvdata/bug-iconv9.c: New file.
36835
4d07db15
AS
368362011-05-27 Andreas Schwab <schwab@redhat.com>
36837
36838 [BZ #12814]
36839 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36840
ea486f69
JJ
368412011-05-25 Jakub Jelinek <jakub@redhat.com>
36842
36843 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36844 (struct user_regs_struct): Change intcs field back to cs.
36845
6f038433
UD
368462011-05-25 Ulrich Drepper <drepper@gmail.com>
36847
36848 * po/ja.po: Update from translation team.
36849
67f86a25
UD
368502011-05-23 Ulrich Drepper <drepper@gmail.com>
36851
36852 [BZ #12795]
36853 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36855
def7fbd6
AS
368562011-05-20 Andreas Schwab <schwab@redhat.com>
36857
36858 * stdlib/longlong.h: Update from GCC.
36859
f50ef8f1
AS
368602011-05-23 Andreas Schwab <schwab@redhat.com>
36861
36862 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36863 parameter name.
36864 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36865 Add parameter name.
36866 (__sysconf): Pass it down.
36867
de7ce8f1
UD
368682011-05-22 Ulrich Drepper <drepper@gmail.com>
36869
f2962a71
UD
36870 [BZ #12671]
36871 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36872 some situations.
36873 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36874 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36875 add in in __libc_use_alloca calls. Adjust callers.
36876 (glob): Use malloc in some situations.
36877
de7ce8f1
UD
36878 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36879 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36880 pltexit.
36881
aec84f53
UD
368822011-05-21 Ulrich Drepper <drepper@gmail.com>
36883
05bb4a68
UD
36884 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36885 and CLOCK_BOOTTIME_ALARM.
36886
7ea72f99
UD
36887 [BZ #12782]
36888 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36889 is returned.
36890
7e4afad5
UD
36891 * string/_strerror.c (__strerror_r): Print negative errors as signed
36892 numbers.
36893
8e211fec
UD
36894 [BZ #12777]
36895 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36896 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36897 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36898
f7d82dc9
UD
36899 * configure.in: Fix typo in redirection and correct removal of test
36900 files in two cases.
36901
cc9e536d
UD
36902 [BZ #12788]
36903 * locale/setlocale.c (new_composite_name): Fix test to check for
36904 identical name of all categories.
36905
aec84f53
UD
36906 [BZ #12792]
36907 * libio/filedoalloc.c (local_isatty): New function.
36908 (_IO_file_doallocate): Use local_isatty.
36909 * stdio-common/perror.c (perror): In case a new stream is used
36910 forward the stream error.
36911 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36912 error flag.
36913
78e64fdc
RT
369142011-05-20 Ulrich Drepper <drepper@gmail.com>
36915
34a9094f
UD
36916 [BZ #11869]
36917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36918 alloca.
36919 * include/alloca.h (extend_alloca_account): Define.
36920
78e64fdc
RT
36921 [BZ #11857]
36922 * posix/regex.h: Fix comments with documentation of user-accessible
36923 fields after compilation and describe correct free'ing of pattern
36924 after re_compile_pattern.
36925 Patch by Reuben Thomas <rrt@sc3d.org>.
36926
457bddfc
RA
369272011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36928
36929 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36930 and -mno-altivec to prevent the compiler from using Altivec and/or
36931 VSX instructions when the corresponding registers are not available.
36932
a4527b51
AS
369332011-05-19 Andreas Schwab <schwab@redhat.com>
36934
36935 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36936
ed690b2f
UD
369372011-05-19 Ulrich Drepper <drepper@gmail.com>
36938
36939 * libio/freopen.c (freopen): Use __dup2, not dup2.
36940 * libio/freopen64.c (freopen64): Likewise.
36941
8db73634
L
369422011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36943
36944 [BZ #12775]
36945 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36946 * math/Makefile (tests): Add test-powl.
36947 (CFLAGS-test-powl.c): Define.
36948 * math/test-powl.c: New file.
36949
0a197a9d
L
369502011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36951
36952 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36953
ee30c380
UD
369542011-05-17 Ulrich Drepper <drepper@gmail.com>
36955
36956 [BZ #11837]
36957 * iconvdata/gb18030.c: Update to GB18020-2005.
36958
6ce75379
UD
369592011-05-16 Ulrich Drepper <drepper@gmail.com>
36960
a4b89fd8
AR
36961 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36962 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36963 Patch by Aharon Robbins <arnold@skeeve.com>.
36964
ea389b12
UD
36965 [BZ #11892]
36966 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36967 on the stack.
36968
68a3f91f
UD
36969 [BZ #11895]
36970 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36971 through underflows.
36972
15cc7dd1
UD
36973 [BZ #12766]
36974 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36975 point to strings before performing equality test for error_one_per_line
36976 mode.
36977
f3799213
UD
36978 [BZ #11697]
36979 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36980
d79a9c94
UD
36981 [BZ #11820]
36982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36983 (struct user_fpregs_struct): Avoid __uint*_t types.
36984
56e5eb46
UD
36985 [BZ #6420]
36986 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36987 symbol info. Use it instead of calling _dl_addr locally.
36988 (lock_and_info): New function.
36989 (tr_freehook): Call lock_and_info and pass symbol info as additional
36990 parameter to tr_where.
36991 (tr_mallochook): Likewise.
36992 (tr_reallochook): Likewise.
36993 (tr_memalignhook): Likewise.
36994
6ce75379
UD
36995 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36996 used and couldn't be at all thread-safe.
36997
f8a3b5bf
UD
369982011-05-15 Ulrich Drepper <drepper@gmail.com>
36999
94b7cc37
UD
37000 * libio/freopen.c (freopen): Don't close old file descriptor
37001 before the new one is opened. Instead dup the new file descriptor
37002 to the old one after the new stream is created.
37003 * libio/freopen64.c (freopen64): Likewise.
37004 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37005 * libio/fileops.c (_IO_new_file_close_it): Handle new
37006 _IO_FLAGS2_NOCLOSE flag.
37007 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37008 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37009 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37010 _IO_FLAGS2_NOCLOSE flag.
37011 * include/unistd.h: Add hidden_proto for dup3.
37012 Define __have_dup3.
37013 * io/dup3.c: Define hidden symbol.
37014 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37015
bd25564e
UD
37016 [BZ #7101]
37017 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37018 when an incomplete long option is used.
37019 * posix/tst-getopt_long1.c: New file.
37020 * posix/Makefile (tests): Add tst-getopt_long1.
37021
c84cfef4
UD
37022 [BZ #10138]
37023 * scripts/config.guess: Update from autoconf-2.68.
37024 * scripts/config.sub: Likewise.
37025
3b85df27
UD
37026 [BZ #10157]
37027 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37028 tests into ...
37029 (has_cpuclock): ...this. New function.
37030 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37031 macro here based on has_cpuclock code.
37032
15a856b1
UD
37033 [BZ #10149]
37034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37035 First byte (not low byte) is now always NUL.
37036 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37037
05f399e6
UD
37038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37039 Use non-cancelable interfaces.
37040
10a52685 37041 [BZ #9809]
94ecc67d
UD
37042 * locale/iso-639.def: Add entry for Sorani.
37043
f8a3b5bf
UD
37044 [BZ #11901]
37045 * include/stdlib.h: Move include protection to the right place.
37046 Define abort_msg_s. Declare __abort_msg with it.
37047 * stdlib/abort.c (__abort_msg): Adjust type.
37048 * assert/assert.c (__assert_fail_base): New function. Majority
37049 of code from __assert_fail. Allocate memory for __abort_msg with
37050 mmap.
37051 (__assert_fail): Now call __assert_fail_base.
37052 * assert/assert-perr.c: Remove bulk of implementation. Use
37053 __assert_fail_base.
37054 * include/assert.hL Declare __assert_fail_base.
37055 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37056 mmap.
37057 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37058
1af4e298
UD
370592011-05-14 Ulrich Drepper <drepper@gmail.com>
37060
f8a3b5bf 37061 [BZ #11952]
d26dfc60
MG
37062 [BZ #12453]
37063 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37064 until all modules are registered in the DTV.
37065 * elf/Makefile: Add rules to build and run tst-tls19.
37066 * elf/tst-tls19.c: New file.
37067 * elf/tst-tls19mod1.c: New file.
37068 * elf/tst-tls19mod2.c: New file.
37069 * elf/tst-tls19mod3.c: New file.
37070 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37071
2fc54d6f
UD
37072 [BZ #12083]
37073 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37074 correctly.
37075
98d76b46
UD
37076 [BZ #12601]
37077 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37078 two-byte sequence errors.
37079 * iconvdata/Makefile (tests): Add bug-iconv8.
37080 * iconvdata/bug-iconv8.c: New file.
37081
da3c19ef
UD
37082 [BZ #12626]
37083 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37084 buf2 definition.
37085
ca408c15
UD
37086 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37087
d6f67f7d
UD
37088 [BZ #12432]
37089 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37090 (dummy_getcfa): New function.
37091 (init): Get _Unwind_GetCFA address, use dummy if not found.
37092 (backtrace_helper): In recursion check, also check whether CFA changes.
37093 (__backtrace): Completely initialize arg.
37094
1af4e298 37095 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37096 storing incomplete byte sequence in state object. Avoid testing for
37097 guaranteed too small input if we know there is enough data available.
1af4e298 37098
da62f81b
AS
370992011-05-11 Andreas Schwab <schwab@redhat.com>
37100
37101 * Makeconfig (+link-pie): Indent.
37102 * Rules (binaries-pie): Define if $(have-fpie) and
37103 $(build-shared).
37104 (binaries-shared): Also filter out $(binaries-pie).
37105 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37106 * nscd/Makefile (others-pie): Add nscd.
37107 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37108 ($(objpfx)nscd): Remove command override.
37109 * login/Makefile (others-pie): Add pt_chown.
37110 ($(objpfx)pt_chown): Remove command override.
37111 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37112 remove command overrides.
37113
fcabc0f8
UD
371142011-05-13 Ulrich Drepper <drepper@gmail.com>
37115
20030ae6
UD
37116 * libio/tst_putwc.c: Fix error messages.
37117
fcabc0f8
UD
37118 [BZ #12724]
37119 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37120 currently writing and seek to current position when not.
37121 * libio/Makefile (tests): Add bug-fclose1.
37122 * libio/bug-fclose1.c: New file.
37123
320a5dc0
PB
371242011-05-12 Ulrich Drepper <drepper@gmail.com>
37125
37126 [BZ #12511]
37127 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37128 don't set DF_1_NODELETE here.
37129 (do_lookup_x): When entering new entry test for copy relocation
37130 and if necessary set DF_1_NODELETE flag.
37131 * elf/tst-unique4.cc: New file.
37132 * elf/tst-unique4.h: New file.
37133 * elf/tst-unique4lib.cc: New file.
37134 * elf/Makefile: Add rules to build and run tst-unique4.
37135 Patch by Piotr Bury <pbury@goahead.com>.
37136
22836f52
UD
371372011-05-11 Ulrich Drepper <drepper@gmail.com>
37138
f574184a
UD
37139 [BZ #12052]
37140 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37141
e1fb097f
UD
37142 [BZ #12625]
37143 * misc/mntent_r.c (addmntent): Flush the stream after the output
37144
22836f52
UD
37145 [BZ #12393]
37146 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37147 (is_trusted_path_normalize): Skip initial colon. Append slash
37148 to empty buffer. Duplicate is_trusted_path code but allow
37149 constructed patch to be prefix.
37150 (is_dst): Allow $ORIGIN followed by /.
37151 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37152 Correct testing of result of is_trusted_path_normalize
37153 (decompose_rpath): Fix warning.
37154
7b3b0b2a
UD
371552011-05-10 Ulrich Drepper <drepper@gmail.com>
37156
37157 [BZ #11257]
37158 * grp/initgroups.c (internal_getgrouplist): When we found the service
37159 list through the initgroups entry in nsswitch.conf do not always
37160 continue on a successful lookup. Don't always use the
eac80ce2 37161 __nss_group_database value if it is set.
7b3b0b2a
UD
37162 * nss/nsswitch.conf (initgroups): Change action for successful db
37163 lookup to continue for compatibility.
37164
2a81eaa5
UD
371652011-05-09 Ulrich Drepper <drepper@gmail.com>
37166
be97a69e
UD
37167 [BZ #11532]
37168 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37169 and CP774 modules.
37170 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37171 and CP774 modules.
37172 * iconvdata/tst-tables.sh: Likewise.
37173 * iconvdata/cp770.c: New file.
37174 * iconvdata/cp771.c: New file.
37175 * iconvdata/cp772.c: New file.
37176 * iconvdata/cp773.c: New file.
37177 * iconvdata/cp774.c: New file.
37178 * iconvdata/testdata/CP770: New file.
37179 * iconvdata/testdata/CP770..UTF8: New file.
37180 * iconvdata/testdata/CP771: New file.
37181 * iconvdata/testdata/CP771..UTF8: New file.
37182 * iconvdata/testdata/CP772: New file.
37183 * iconvdata/testdata/CP772..UTF8: New file.
37184 * iconvdata/testdata/CP773: New file.
37185 * iconvdata/testdata/CP773..UTF8: New file.
37186 * iconvdata/testdata/CP774: New file.
37187 * iconvdata/testdata/CP774..UTF8: New file.
37188
37189 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37190 END CHARMAP line.
37191 * iconvdata/gen-8bit-gap.sh: Likewise.
37192 * iconvdata/gen-8bit.sh: Likewise.
37193
c1e9e399
UD
37194 * locale/iso-639.def: Add ary entry.
37195
24c55fb3 37196 [BZ #11258]
96b4b1b0
UD
37197 * locale/C-translit.h.in: Add U20A1 transliteration.
37198
bdc2f971
KB
37199 [BZ #12178]
37200 * locale/iso-639.def: Add wae entry.
37201 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37202
2952b117
UD
37203 [BZ #12545]
37204 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37205 for n.
37206
2a81eaa5
UD
37207 [BZ #12711]
37208 * locale/C-translit.h.in: Add entry for U20B9.
37209 Patch by pravin.d.s@gmail.com.
37210
28377d1b
UD
372112011-05-08 Ulrich Drepper <drepper@gmail.com>
37212
7fb90fb8
UD
37213 [BZ #12713]
37214 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37215 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37216 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37217 in rtld. Use *stat64.
7fb90fb8 37218 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37219 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37220 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37221 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37222 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37223 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37224 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37225 __fstatat64 macros.
7fb90fb8
UD
37226 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37227 * dirent/rewinddir.c: Add libc_hidden_def.
37228 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37229 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37230
28377d1b
UD
37231 * include/dirent.h (__alloc_dir): Add flags parameter.
37232 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37233 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37234 __alloc_dir.
37235 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37236 from fdopendir if O_CLOEXEC is already set.
37237
66bdbaa4
AM
372382011-03-15 Alan Modra <amodra@gmail.com>
37239
37240 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37241 l_tls_firstbyte_offset non-zero. Save padding offset in
37242 l_tls_firstbyte_offset for later use.
37243 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37244 freeing static tls block.
37245
95721191
JN
372462011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37247
37248 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37249 where #ifdef was intended. The intent is to prevent ARG_MAX from
37250 being defined by the kernel headers.
37251
f87dfb1f
UD
372522011-05-07 Ulrich Drepper <drepper@gmail.com>
37253
37254 [BZ #12734]
37255 * resolv/resolv.h: Define RES_NOTLDQUERY.
37256 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37257 no-tld-query and set RES_NOTLDQUERY.
37258 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37259 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37260 modern BIND to search name as TLD unless forbidden.
37261
47c3cd7a
UD
372622011-05-07 Petr Baudis <pasky@suse.cz>
37263 Ulrich Drepper <drepper@gmail.com>
37264
37265 [BZ #12393]
37266 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37267 (is_trusted_path): ...to here.
c1e9ea35 37268 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37269 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37270 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37271
8a35c912
PP
372722011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37273
37274 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37275 __BEGIN/__END_DECLS.
37276
acd41f47
UD
372772011-05-06 Ulrich Drepper <drepper@gmail.com>
37278
37279 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37280 NSS_STATUS_NOTFOUND if no record was found.
37281
597df647
AS
372822011-05-05 Andreas Schwab <schwab@redhat.com>
37283
37284 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37285 (headers-not-in-tirpc): Remove rpc/netdb.h
37286 * resolv/netdb.h: Revert last change.
37287
b9af1301
PP
372882011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37289
37290 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37291 circular dependency between libgcc.a and libc.a.
37292
4e34d5f5
AS
372932011-05-05 Andreas Schwab <schwab@redhat.com>
37294
37295 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37296 * nis/Makefile: Don't install rpcsvc/*.
37297 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37298 instead of <rpc/types.h>.
37299 (MAXHOSTNAMELEN): Define.
37300
00ee369c
AS
373012011-05-03 Andreas Schwab <schwab@redhat.com>
37302
37303 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37304
0b592a30
MB
373052011-04-28 Maciej Babinski <mbabinski@google.com>
37306
37307 [BZ #12714]
37308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37309 gethostbyname4_r when IPv6 results are possible.
37310
6e04cbbe
UD
373112011-05-02 Ulrich Drepper <drepper@gmail.com>
37312
37313 [BZ #12723]
37314 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37315 _PC_PIPE_BUF handling.
37316
e4ecafe0
BH
373172011-04-30 Bruno Haible <bruno@clisp.org>
37318
37319 [BZ #12717]
37320 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37321 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37322 to 'int'.
37323 * inet/getnameinfo.c (getnameinfo): Likewise.
37324
125ee683
UD
373252011-04-29 Ulrich Drepper <drepper@gmail.com>
37326
37327 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37328 to groups setting in database lookup.
37329 * nss/nsswitch.conf: Add initgroups entry.
37330
b722481a
EB
373312011-04-22 Ulrich Drepper <drepper@gmail.com>
37332
37333 [BZ #12685]
37334 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37335 mode string.
37336 Patch by Eric Blake <eblake@redhat.com>.
37337
4df46dbd
L
373382011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37339
37340 * sunrpc/Makefile (need-export-routines): Add svc_run.
37341 (routines): Remove svc_run.
37342 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37343 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37344 * sunrpc/svc_run.c (svc_run): Likewise.
37345 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37346
e84142d2
UD
373472011-04-21 Ulrich Drepper <drepper@gmail.com>
37348
37349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37350 problem in reallocation in last patch.
37351
877175d8
UD
373522011-04-20 Ulrich Drepper <drepper@gmail.com>
37353
37354 * sunrpc/Makefile: Move inclusion of Rules.
37355
ab8eed78
UD
373562011-04-19 Ulrich Drepper <drepper@gmail.com>
37357
37358 * nss/nss_files/files-initgroups.c: New file.
37359 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37360 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37361 _nss_files_initgroups_dyn.
37362
e3d8f584
RS
373632011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37364
37365 * elf/elf.h (R_ARM_IRELATIVE): Define.
37366
af190f45
UD
373672011-04-19 Ulrich Drepper <drepper@gmail.com>
37368
37369 * po/ru.po: Update from translation team.
37370
53cf59ef
UD
373712011-04-17 Ulrich Drepper <drepper@gmail.com>
37372
37373 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37374 dependencies.
37375
4c559bcd
MF
373762011-02-06 Mike Frysinger <vapier@gentoo.org>
37377
37378 [BZ #12653]
37379 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37380 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37381 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37383 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37384
4420675c
AS
373852011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37386
37387 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37388 differing bytes.
37389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37391 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37392
75ea32ab
UD
373932011-04-17 Ulrich Drepper <drepper@gmail.com>
37394
37395 [BZ #12420]
37396 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37397 storing it.
37398 * stdlib/bug-getcontext.c: New file.
37399 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37400
27390476
AK
374012011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37402
37403 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37404 instructions into .machine "z9-109".
37405 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37406 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37407
10442705
AK
374082011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37409
37410 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37411 between environment variables and auxiliary vector.
37412
7b57bfe5
UD
374132011-04-16 Ulrich Drepper <drepper@gmail.com>
37414
37415 * Makefile: Add rules to build linkobj/libc.so.
37416 * include/libc-symbols.h: Define libc_hidden_nolink.
37417 * include/rpc/auth.h: Mark functions which are to be hidden.
37418 * include/rpc/auth_des.h: Likewise.
37419 * include/rpc/auth_unix.h: Likewise.
37420 * include/rpc/clnt.h: Likewise.
37421 * include/rpc/des_crypt.h: Likewise.
37422 * include/rpc/key_prot.h: Likewise.
37423 * include/rpc/pmap_clnt.h: Likewise.
37424 * include/rpc/pmap_prot.h: Likewise.
37425 * include/rpc/pmap_rmt.h: Likewise.
37426 * include/rpc/rpc_msg.h: Likewise.
37427 * include/rpc/svc.h: Likewise.
37428 * include/rpc/svc_auth.h: Likewise.
37429 * include/rpc/xdr.h: Likewise.
37430 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37431 * nss/Makefile: Likewise.
37432 * sunrpc/Makefile: Don't install headers. Build library with normal
37433 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37434 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37435 for the compat linking library. Remove use of INTDEF/INTUSE.
37436 * sunrpc/auth_none.c: Likewise.
37437 * sunrpc/auth_unix.c: Likewise.
37438 * sunrpc/authdes_prot.c: Likewise.
37439 * sunrpc/authuxprot.c: Likewise.
37440 * sunrpc/clnt_gen.c: Likewise.
37441 * sunrpc/clnt_perr.c: Likewise.
37442 * sunrpc/clnt_raw.c: Likewise.
37443 * sunrpc/clnt_simp.c: Likewise.
37444 * sunrpc/clnt_tcp.c: Likewise.
37445 * sunrpc/clnt_udp.c: Likewise.
37446 * sunrpc/clnt_unix.c: Likewise.
37447 * sunrpc/des_crypt.c: Likewise.
37448 * sunrpc/des_soft.c: Likewise.
37449 * sunrpc/get_myaddr.c: Likewise.
37450 * sunrpc/key_call.c: Likewise.
37451 * sunrpc/key_prot.c: Likewise.
37452 * sunrpc/netname.c: Likewise.
37453 * sunrpc/pm_getmaps.c: Likewise.
37454 * sunrpc/pm_getport.c: Likewise.
37455 * sunrpc/pmap_clnt.c: Likewise.
37456 * sunrpc/pmap_prot.c: Likewise.
37457 * sunrpc/pmap_prot2.c: Likewise.
37458 * sunrpc/pmap_rmt.c: Likewise.
37459 * sunrpc/publickey.c: Likewise.
37460 * sunrpc/rpc_cmsg.c: Likewise.
37461 * sunrpc/rpc_common.c: Likewise.
37462 * sunrpc/rpc_dtable.c: Likewise.
37463 * sunrpc/rpc_prot.c: Likewise.
37464 * sunrpc/rpc_thread.c: Likewise.
37465 * sunrpc/rtime.c: Likewise.
37466 * sunrpc/svc.c: Likewise.
37467 * sunrpc/svc_auth.c: Likewise.
37468 * sunrpc/svc_authux.c: Likewise.
37469 * sunrpc/svc_raw.c: Likewise.
37470 * sunrpc/svc_run.c: Likewise.
37471 * sunrpc/svc_simple.c: Likewise.
37472 * sunrpc/svc_tcp.c: Likewise.
37473 * sunrpc/svc_udp.c: Likewise.
37474 * sunrpc/svc_unix.c: Likewise.
37475 * sunrpc/svcauth_des.c: Likewise.
37476 * sunrpc/xcrypt.c: Likewise.
37477 * sunrpc/xdr.c: Likewise.
37478 * sunrpc/xdr_array.c: Likewise.
37479 * sunrpc/xdr_float.c: Likewise.
37480 * sunrpc/xdr_intXX_t.c: Likewise.
37481 * sunrpc/xdr_mem.c: Likewise.
37482 * sunrpc/xdr_rec.c: Likewise.
37483 * sunrpc/xdr_ref.c: Likewise.
37484 * sunrpc/xdr_sizeof.c: Likewise.
37485 * sunrpc/xdr_stdio.c: Likewise.
37486
e6c61494
UD
374872011-04-10 Ulrich Drepper <drepper@gmail.com>
37488
37489 [BZ #12650]
37490 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37491 * sysdeps/ia64/dl-tls.h: Likewise.
37492 * sysdeps/powerpc/dl-tls.h: Likewise.
37493 * sysdeps/s390/dl-tls.h: Likewise.
37494 * sysdeps/sh/dl-tls.h: Likewise.
37495 * sysdeps/sparc/dl-tls.h: Likewise.
37496 * sysdeps/x86_64/dl-tls.h: Likewise.
37497 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37498
34fe483e
AS
374992011-03-14 Andreas Schwab <schwab@redhat.com>
37500
37501 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37502 rpath element also skip the following colon.
37503 (expand_dynamic_string_token): Add is_path parameter and pass
37504 down to DL_DST_REQUIRED and _dl_dst_substitute.
37505 (decompose_rpath): Call expand_dynamic_string_token with
37506 non-zero is_path. Ignore empty rpaths.
37507 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37508 with zero is_path.
37509
f12a32e6
AS
375102011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37511
37512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37513 Make cancelable.
37514
38a7d692
UD
375152011-04-09 Ulrich Drepper <drepper@gmail.com>
37516
37517 [BZ #12655]
37518 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37519 Patch by Filipe David Manana <fdmanana@apache.org>.
37520
e451d22b
AS
375212011-04-07 Andreas Schwab <schwab@redhat.com>
37522
37523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37524 Maintain aligned stack.
37525 (CHECK_RSP): Remove unused macro.
37526
dedc7c7b
UD
375272011-04-03 Ulrich Drepper <drepper@gmail.com>
37528
37529 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37531
94521213
UD
375322011-04-02 Ulrich Drepper <drepper@gmail.com>
37533
37534 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37535
8cb700c0 37536 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 37537
0354e355
L
375382011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37539
37540 [BZ #12518]
37541 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37542 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37543 * sysdeps/x86_64/memmove.c: New file.
37544 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37545 (memcpy): Renamed to ...
37546 (__new_memcpy): This.
37547 (memcpy): Provide GLIBC_2_14 memcpy.
37548 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37549 (memcpy): Provide GLIBC_2_2_5 memcpy.
37550
8593482f
UD
375512011-04-01 Ulrich Drepper <drepper@gmail.com>
37552
37553 [BZ #12631]
37554 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37555
81a5726b
AS
375562011-03-30 Andreas Schwab <schwab@redhat.com>
37557
37558 * misc/syncfs.c: New file.
37559 * misc/Makefile (routines): Add syncfs.
37560 * posix/unistd.h: Declare syncfs.
37561 * sysdeps/unix/syscalls.list: Add syncfs.
37562
00e5419f
AS
375632011-04-01 Andreas Schwab <schwab@redhat.com>
37564
37565 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37566 open_by_handle_at.
37567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37570 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37572 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37574
748876bf
UD
375752011-04-01 Ulrich Drepper <drepper@gmail.com>
37576
658e451d
UD
37577 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37579 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37581 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37584
748876bf
UD
37585 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37586 sync_file_range.c with -fexceptions.
37587 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37588 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37589 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37590 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37591 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37592 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
37594 sync_file_range as cancellation point
37595 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37596 now a wrapper around __call_sync_file_range with cancellation handling.
37597 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37598 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37599 function name to __call_sync_file_range.
37600 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37601 Add call_sync_file_range.
748876bf 37602
6e63d5e1
AS
376032011-04-01 Andreas Schwab <schwab@redhat.com>
37604
37605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 37606 bits/timex.h.
6e63d5e1 37607
46998f74
UD
376082011-04-01 Ulrich Drepper <drepper@gmail.com>
37609
4c1423ed
UD
37610 * iconv/iconv.h: Fix typo in comment.
37611 * io/fcntl.h: Likewise.
37612 * libio/stdio.h: Likewise.
37613 * posix/spawn.h: Likewise.
37614 * posix/unistd.h: Likewise.
37615 * stdlib/stdlib.h: Likewise.
37616 * time/time.h: Likewise.
37617 * wcsmbs/wchar.h: Likewise.
37618
158648c0
UD
37619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37620 open_by_handle): Add.
37621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37622 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37623 Augment a few comments.
37624 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37625 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37626 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37629 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37630 open_by_handle.
37631
46998f74
UD
37632 * io/fcntl.h (AT_EMPTY_PATH): Define.
37633
83fe108b
UD
376342011-03-30 Ulrich Drepper <drepper@gmail.com>
37635
37636 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37637 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37638 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37639 to...
37640 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
37641 * Versions.def: Add GLIBC_2.14.
37642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37643 Export.
83fe108b 37644
bb242059
UD
376452011-03-22 Ulrich Drepper <drepper@gmail.com>
37646
37647 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37648 round counter.
37649 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37650
c97a1282
L
376512011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37652
37653 [BZ #12597]
37654 * string/test-strncmp.c (do_page_test): New function.
37655 (check2): Likewise.
37656 (test_main): Call check2.
37657 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37658
2a115601
UD
376592011-03-20 Ulrich Drepper <drepper@gmail.com>
37660
37661 [BZ #12587]
37662 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37663 Handle cache information in CPU leaf 4.
37664 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37665
8126d904
UD
376662011-03-18 Ulrich Drepper <drepper@gmail.com>
37667
042c49c6 37668 [BZ #12583]
8126d904
UD
37669 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37670 character representation.
37671 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37672
ccfe366e
RA
376732011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37674
37675 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37676 END(__isnan) to END(__isnanf) to match function entry point/label
37677 EALIGN(__isnanf,...).
37678
c6e13027
JJ
376792011-03-10 Jakub Jelinek <jakub@redhat.com>
37680
37681 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37682
33f85a3f
UD
376832011-03-10 Ulrich Drepper <drepper@gmail.com>
37684
028478fa
UD
37685 [BZ #12510]
37686 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37687 copy from the symbol referenced in the relocation to initialize the
37688 used variable.
37689 Patch by Piotr Bury <pbury@goahead.com>.
37690 * elf/Makefile: Add rules to build and tst-unique3.
37691 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37692 * elf/tst-unique3.cc: New file.
37693 * elf/tst-unique3.h: New file.
37694 * elf/tst-unique3lib.cc: New file.
37695 * elf/tst-unique3lib2.cc: New file.
37696
33f85a3f
UD
37697 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37698
03592fc7
MF
376992011-03-10 Mike Frysinger <vapier@gentoo.org>
37700
37701 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37702 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37703 to _start.
03592fc7 37704
6a5ee102
UD
377052011-03-06 Ulrich Drepper <drepper@gmail.com>
37706
37707 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37708 to-be-loaded object along a path to loader is ld.so.
37709
7e4ba49c
HJ
377102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37711 Ulrich Drepper <drepper@gmail.com>
37712
37713 * sysdeps/x86_64/memset.S: After aligning destination, code
37714 branches to different locations depending on the value of
37715 misalignment, when multiarch is enabled. Fix this.
37716
377172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37718
37719 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37720 Set _x86_64_preferred_memory_instruction for AMD processsors.
37721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37722 Set bit_Prefer_SSE_for_memop for AMD processors.
37723
13a804de
UD
377242011-03-04 Ulrich Drepper <drepper@gmail.com>
37725
37726 * libio/fmemopen.c (fmemopen): Optimize a bit.
37727
9d25c392
AS
377282011-03-03 Andreas Schwab <schwab@redhat.com>
37729
37730 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37731
a5543c6a
RM
377322011-03-03 Roland McGrath <roland@redhat.com>
37733
37734 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37735
012d35f7
DM
377362011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37737
7e4ba49c 37738 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
37739 __bzero_ultra1 instead of __memset_ultra1.
37740
4bff6e01
AS
377412011-02-23 Andreas Schwab <schwab@redhat.com>
37742 Ulrich Drepper <drepper@gmail.com>
37743
37744 [BZ #12509]
37745 * include/link.h (struct link_map): Add l_orig_initfini.
37746 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37747 returning unsuccessfully.
37748 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37749 close of a file loaded at startup, restore the original l_initfini
37750 list.
37751 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37752 list, store the pointer.
37753 * elf/Makefile ($(objpfx)noload-mem): New rule.
37754 (noload-ENV): Define.
37755 (tests): Add $(objpfx)noload-mem.
37756 * elf/noload.c: Include <memcheck.h>.
37757 (main): Call mtrace. Close all opened handles.
37758
f2092faf
AS
377592011-02-17 Andreas Schwab <schwab@redhat.com>
37760
37761 [BZ #12454]
37762 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37763 dependencies are missing.
37764
6c8a2e88
ST
377652011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37766
f2092faf 37767 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
37768 Hurd needs munmap.
37769 * sysdeps/mach/hurd/ifreq.h: New file.
37770
84a42118
PB
377712011-01-27 Petr Baudis <pasky@suse.cz>
37772 Ulrich Drepper <drepper@gmail.com>
37773
071f805e 37774 [BZ 12445]#
84a42118
PB
37775 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37776 to extend_alloca().
37777 * stdio-common/bug23.c: New file.
37778 * stdio-common/Makefile (tests): Add bug23.
37779
e23fe25b
AS
377802010-09-28 Andreas Schwab <schwab@redhat.com>
37781 Ulrich Drepper <drepper@gmail.com>
37782
37783 [BZ #12489]
37784 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37785 before performing relro protection. At old place add assertion
37786 to make sure nothing changed.
37787
d3f02e10
NS
377882011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37789 Glauber de Oliveira Costa <glommer@gmail.com>
37790
37791 * elf/elf.h: Add new ARM TLS relocs.
37792
d55fd7a5
RA
377932011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37794
37795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37796 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37797 cast from r3.
37798 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37799 'tests' variable.
37800 * sysdeps/wordsize-64/tst-writev.c: New file.
37801
2206397e
RA
378022011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37803
37804 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37805 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37806 insns in _dl_start to prevent a TOC reference before relocs are
37807 resolved.
37808
e9433893
UD
378092011-02-15 Ulrich Drepper <drepper@gmail.com>
37810
37811 [BZ #12469]
37812 * Makeconfig: Remove RANLIB definition.
37813 * Makerules: Don't use RANLIB.
37814 * aclocal.m4: Remove ranlib test.
37815 * configure.in: No need to check for ranlib.
37816 * elf/rtld-Rules: Don't use RANLIB.
37817
f75286c6
ST
378182011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37819
8e31c82d
ST
37820 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37821 protection macro.
37822 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37823 inclusion protection macro.
37824
f75286c6
ST
37825 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37826 SIGRTMIN and SIGRTMAX and print information in that case only when
37827 SIGRTMIN is defined.
37828
c1d0e639
JJ
378292011-02-11 Jakub Jelinek <jakub@redhat.com>
37830
37831 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37832 arginfo fn returning -1.
37833
37834 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37835 and thousands string is zero terminated.
37836
edf9294e
AS
378372011-02-03 Andreas Schwab <schwab@redhat.com>
37838
37839 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37840 sysdeps/unix/sysv/linux/bits/socket.h.
37841
2b7e92df
ST
378422011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37843
edf9294e
AS
37844 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37845 (__CPU_COUNT): Remove old macros.
37846 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37847 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37848 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
37849 (__sched_cpualloc, __sched_cpufree): Add declarations.
37850
a4c7ea7b
UD
378512011-02-05 Ulrich Drepper <drepper@gmail.com>
37852
37853 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37854 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37855 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37856 (readdhstai): Return value of addhstaiX call.
37857 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37858 (addgrbyX): Return value returned by cache_addgr.
37859 (readdgrbyname): Return value returned by addgrbyX.
37860 (readdgrbygid): Likewise.
37861 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37862 (addpwbyX): Return value returned by cache_addpw.
37863 (readdpwbyname): Return value returned by addhstbyX.
37864 (readdpwbyuid): Likewise.
37865 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37866 (addservbyX): Return value returned by cache_addserv.
37867 (readdservbyname): Return value returned by addservbyX:
37868 (readdservbyport): Likewise.
37869 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37870 (addhstbyX): Return value returned by cache_addhst.
37871 (readdhstbyname): Return value returned by addhstbyX.
37872 (readdhstbyaddr): Likewise.
37873 (readdhstbynamev6): Likewise.
37874 (readdhstbyaddrv6): Likewise.
37875 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37876 (readdinitgroups): Return value returned by addinitgroupsX.
37877 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37878 (prune_cache): Keep track of timeout value of re-added entries.
37879 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37880 * nscd/nscd.h: Adjust prototypes of readd* functions.
37881
a0bf67cc
RM
378822011-02-04 Roland McGrath <roland@redhat.com>
37883
37884 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37885 (nis_stats): Likewise.
37886 * nis/nis_modify.c (nis_modify): Likewise.
37887 * nis/nis_remove.c (nis_remove): Likewise.
37888 * nis/nis_add.c (nis_add): Likewise.
37889
37890 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37891
37892 * posix/fnmatch_loop.c: Add some consts.
37893
37894 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37895
435b95eb
L
378962011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37897
37898 [BZ #12460]
37899 * config.make.in (config-cflags-novzeroupper): Define.
37900 * configure.in: Substitute libc_cv_cc_novzeroupper.
37901 * elf/Makefile (AVX-CFLAGS): Define.
37902 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37903 (CFLAGS-tst-auditmod4a.c): Likewise.
37904 (CFLAGS-tst-auditmod4b.c): Likewise.
37905 (CFLAGS-tst-auditmod6b.c): Likewise.
37906 (CFLAGS-tst-auditmod6c.c): Likewise.
37907 (CFLAGS-tst-auditmod7b.c): Likewise.
37908 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37909
8517b15e
UD
379102011-02-02 Ulrich Drepper <drepper@gmail.com>
37911
37912 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37913 function to the callback.
37914 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37915
10a656fe
AS
379162011-02-02 Andreas Schwab <schwab@redhat.com>
37917
37918 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37919 of errno.
37920
968dad0a
UD
379212011-01-19 Ulrich Drepper <drepper@gmail.com>
37922
9f94d2ea 37923 [BZ #11724]
968dad0a
UD
37924 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37925 of constructors.
37926 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37927 of destructors.
37928 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37929
37930 [BZ #11724]
37931 * elf/Makefile: Add rules to build and run new test.
37932 * elf/tst-initorder.c: New file.
37933 * elf/tst-initorder.exp: New file.
37934 * elf/tst-initordera1.c: New file.
37935 * elf/tst-initordera2.c: New file.
37936 * elf/tst-initordera3.c: New file.
37937 * elf/tst-initordera4.c: New file.
37938 * elf/tst-initorderb1.c: New file.
37939 * elf/tst-initorderb2.c: New file.
37940 * elf/tst-order-a1.c: New file.
37941 * elf/tst-order-a2.c: New file.
37942 * elf/tst-order-a3.c: New file.
37943 * elf/tst-order-a4.c: New file.
37944 * elf/tst-order-b1.c: New file.
37945 * elf/tst-order-b2.c: New file.
37946 * elf/tst-order-main.c: New file.
37947 New test case by George Gensure <werkt0@gmail.com>.
37948
86e92359
UD
379492010-10-01 Andreas Schwab <schwab@redhat.com>
37950
37951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37952 decoding ACE if AI_CANONIDN.
37953
5d5732b0
UD
379542011-01-18 Ulrich Drepper <drepper@gmail.com>
37955
37956 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37957
a77e8cbc
UD
379582011-01-17 Ulrich Drepper <drepper@gmail.com>
37959
6392473f
UD
37960 * version.h (RELEASE): Bump for 2.13 release.
37961 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37962
620a0529
UD
37963 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37964
18ba70a5
UD
37965 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37966 MADV_NOHUGEPAGE.
32465c3e
UD
37967 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37968 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37969 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37970 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37971 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37972 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37973
c0dafcf1
UD
37974 * posix/getconf.c: Update copyright year.
37975 * catgets/gencat.c: Likewise.
37976 * csu/version.c: Likewise.
37977 * debug/catchsegv.sh: Likewise.
37978 * debug/xtrace.sh: Likewise.
37979 * elf/ldconfig.c: Likewise.
37980 * elf/ldd.bash.in: Likewise.
37981 * elf/sprof.c (print_version): Likewise.
37982 * iconv/iconv_prog.c: Likewise.
37983 * iconv/iconvconfig.c: Likewise.
37984 * locale/programs/locale.c: Likewise.
37985 * locale/programs/localedef.c: Likewise.
37986 * malloc/memusage.sh: Likewise.
37987 * malloc/mtrace.pl: Likewise.
37988 * nscd/nscd.c (print_version): Likewise.
37989 * nss/getent.c: Likewise.
37990
a77e8cbc
UD
37991 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37992 PF_CAIF, and PF_ALG.
37993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37994
77e8bddf
AS
379952011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37996
1f20b93a
AS
37997 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37998 (modules-names): Use them.
37999 (ifunc-test-modules, ifunc-pie-tests): Define.
38000 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38001 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38002 (test-extras): Likewise.
38003 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38004 $(compile-command.c).
38005 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38006 (all-built-dso): Define.
38007 (check-textrel.out, check-execstack.out): Depend on it.
38008
77e8bddf
AS
38009 * configure.in: Don't override --enable-multi-arch.
38010
bc425b33
UD
380112011-01-15 Ulrich Drepper <drepper@gmail.com>
38012
38013 [BZ #6812]
38014 * nscd/hstcache.c (tryagain): Define.
38015 (cache_addhst): Return tryagain not notfound for temporary errors.
38016 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38017 failed.
38018
794c3ad3
UD
380192011-01-14 Ulrich Drepper <drepper@gmail.com>
38020
70181fdd
UD
38021 [BZ #10563]
38022 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38023 to make the syscall.
38024 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38025
794c3ad3
UD
38026 [BZ #12378]
38027 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38028 and fall back to matching as normal character if the string ends before
38029 the matching ']' is found. This is what POSIX requires.
38030 * posix/testfnm.c: Adjust test result.
38031 * posix/globtest.sh: Adjust test result. Add new test.
38032 * posix/tst-fnmatch.input: Likewise.
38033 * posix/tst-fnmatch2.c: Add new test.
38034
68dc9497
AS
380352010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38036
38037 * elf/Makefile (check-execstack): Revert last change. Depend on
38038 check-execstack.h.
38039 (check-execstack.h): New target.
38040 (generated): Add check-execstack.h.
38041 * elf/check-execstack.c: Include "check-execstack.h".
38042 (main): Revert last change.
38043 (handle_file): Return zero if GNU_STACK is absent and
38044 DEFAULT_STACK_PERMS doesn't include PF_X.
38045
451f001b
UD
380462011-01-13 Ulrich Drepper <drepper@gmail.com>
38047
cfa28e56
UD
38048 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38049 in child fails because the descriptor is already closed.
8cf8ce17
UD
38050 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38051 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38052 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38053
1086d70d
UD
38054 [BZ #12397]
38055 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38056 syscall.
38057
451f001b
UD
38058 [BZ #10484]
38059 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38060 temporary buffer used to handle multi lookups locally.
a85b5cb4 38061 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38062
08769175
UD
380632011-01-12 Ulrich Drepper <drepper@gmail.com>
38064
38065 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38066 loader is ld.so.
38067
5e49c52e
UD
380682011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38069
38070 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38071 alignment for SSE2.
38072
60522a5f
UD
380732011-01-12 Ulrich Drepper <drepper@gmail.com>
38074
38075 [BZ #12394]
38076 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38077 characters. When rounding increased number of integer digits recompute
38078 number of groups.
38079 * stdio-common/tst-grouping.c: New file.
38080 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38081
f257bbd7
UD
380822011-01-09 Ulrich Drepper <drepper@gmail.com>
38083
38084 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38085 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38086
38087 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38088 void.
38089 * bits/select.h: Likewise.
38090
fa9c15cb
UD
380912011-01-08 Ulrich Drepper <drepper@gmail.com>
38092
38093 * po/ja.po: Update from translation team.
38094
16c2895f
DM
380952011-01-04 David S. Miller <davem@sunset.davemloft.net>
38096
38097 [BZ #11155]
38098 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38099 implementation just like for lxstat, fxstatat, et al.
38100
2543fef2
JM
381012010-12-27 Jim Meyering <meyering@redhat.com>
38102
38103 [BZ #12348]
38104 * posix/regexec.c (build_trtable): Return failure indication upon
38105 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38106
98727dbe
UD
381072010-12-25 Ulrich Drepper <drepper@gmail.com>
38108
5bd6dc5c
UD
38109 [BZ #12201]
38110 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38111 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38112 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38114
97983464
UD
38115 [BZ #12207]
38116 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38117
98727dbe
UD
38118 [BZ #12204]
38119 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38120 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38121
4a531bb0
L
381222010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38123
38124 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38125 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38126 script has SORT_BY_INIT_PRIORITY.
38127 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38128 NO_CTORS_DTORS_SECTIONS is defined.
38129 * elf/soinit.c: Likewise.
38130 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38131 NO_CTORS_DTORS_SECTIONS is defined.
38132 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38133 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38134 * sysdeps/sh/init-first.c: Likewise.
38135 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38136
07eb4b71
UD
381372010-12-24 Ulrich Drepper <drepper@gmail.com>
38138
38139 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38140 always use the slow path.
38141
30950a5f
RA
381422010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38143
38144 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38145 similar rule which adds the sysdep directories to the header search in
38146 order to pick up the correct platform stackinfo.h.
38147 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38148 perform test if it is, otherwise return successfully without testing.
38149 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38150 DEFAULT_STACK_PERMS define in stackinfo.h.
38151 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38152 defined in stackinfo.h.
38153 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38154 DEFAULT_STACK_PERMS defined in stackinfo.h.
38155 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38156 * sysdeps/ia64/stackinfo.h: Likewise.
38157 * sysdeps/s390/stackinfo.h: Likewise.
38158 * sysdeps/sh/stackinfo.h: Likewise.
38159 * sysdeps/sparc/stackinfo.h: Likewise.
38160 * sysdeps/x86_64/stackinfo.h: Likewise.
38161 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38162 PF_X for powerpc64. Retain PF_X for powerpc32.
38163
db753e2c
UD
381642010-12-19 Ulrich Drepper <drepper@gmail.com>
38165
14b697f7
UD
38166 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38167 accurately.
db753e2c
UD
38168 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38169 GETDENTS_64BIT_ALIGNED.
38170
28300719
UD
381712010-12-14 Ulrich Drepper <dreper@gmail.com>
38172
14b697f7 38173 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38174
4f197237
AS
381752010-12-10 Andreas Schwab <schwab@redhat.com>
38176
dbb0472f
AS
38177 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38178 _GNU_SOURCE.
38179
4f197237
AS
38180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38181 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38182 Remove __restrict.
38183 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38184 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38185
fb88ac72
UD
381862010-12-09 Ulrich Drepper <drepper@gmail.com>
38187
38188 [BZ #11655]
38189 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38190 are initialized.
38191
42acbb92
JJ
381922010-12-09 Jakub Jelinek <jakub@redhat.com>
38193
38194 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38195
c038d98d
UD
381962010-12-03 Ulrich Drepper <drepper@gmail.com>
38197
38198 * po/it.po: Update from translation team.
38199
3a4a2499
L
382002010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38201
38202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38203 unused codes.
38204
1e24cf6e
UD
382052010-11-30 Ulrich Drepper <drepper@gmail.com>
38206
38207 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38208
a7690819
AS
382092010-11-24 Andreas Schwab <schwab@redhat.com>
38210
38211 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38212 specially.
38213 (gaih_getanswer_slice): Likewise.
38214
3bf8d1b1
JJ
382152010-10-20 Jakub Jelinek <jakub@redhat.com>
38216
38217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38218
6db52fbb
PB
382192010-05-31 Petr Baudis <pasky@suse.cz>
38220
38221 [BZ #11149]
38222 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38223 silently even in the chroot mode.
38224
eaca7569
UD
382252010-11-22 Ulrich Drepper <drepper@gmail.com>
38226
38227 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38228 last patch a bit. Pretty printing
38229
3056dcdb
UD
382302010-05-31 Petr Baudis <pasky@suse.cz>
38231
38232 [BZ #10085]
38233 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38234 initialization of skip_initgroups_dyn.
38235
cf7c9078
UD
382362010-11-19 Ulrich Drepper <drepper@gmail.com>
38237
38238 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38239 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38240
a1fb5e3e
UD
382412010-11-16 Ulrich Drepper <drepper@gmail.com>
38242
38243 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38244
3540d66b
AS
382452010-11-11 Andreas Schwab <schwab@redhat.com>
38246
38247 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38248 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38249 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38250 ($(objpfx)tst-fnmatch-mem): New rule.
38251 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38252 * posix/tst-fnmatch.c (main): Call mtrace.
38253
13b69574
L
382542010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38255
38256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38257 Support Intel processor model 6 and model 0x2c.
38258
da93d214
LM
382592010-11-10 Luis Machado <luisgpm@br.ibm.com>
38260
38261 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38262 signed comparison.
38263
8ca52c6e
L
382642010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38265
38266 [BZ #12205]
38267 * string/test-strncasecmp.c (check_result): New function.
38268 (do_one_test): Use it.
38269 (check1): New function.
38270 (test_main): Use it.
38271 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38272 Support strcasecmp and strncasecmp.
38273
69da074d
UD
382742010-11-08 Ulrich Drepper <drepper@gmail.com>
38275
38276 [BZ #12194]
38277 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38278 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38279
ff02d528
L
382802010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38281
38282 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38283 IFUNC support.
38284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38285 memset-x86-64.
38286 * sysdeps/x86_64/multiarch/bzero.S: New file.
38287 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38288 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38289 * sysdeps/x86_64/multiarch/memset.S: New file.
38290 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38292 Set bit_Prefer_SSE_for_memop for Intel processors.
38293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38294 Define.
38295 (index_Prefer_SSE_for_memop): Define.
38296 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38297
344d0b54
LM
382982010-11-04 Luis Machado <luisgpm@br.ibm.com>
38299
38300 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38301 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38302
c0dde15b
UD
383032010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38304
38305 [BZ #12191]
38306 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38307 (__x86_64_raw_data_cache_size_half): Likewise.
38308 (__x86_64_raw_shared_cache_size): Likewise.
38309 (__x86_64_raw_shared_cache_size_half): Likewise.
38310
38311 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38312 (__x86_64_raw_data_cache_size_half): Likewise.
38313 (__x86_64_raw_shared_cache_size): Likewise.
38314 (__x86_64_raw_shared_cache_size_half): Likewise.
38315 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38316 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38317 and __x86_64_raw_shared_cache_size_half. Round
38318 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38319 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38320 to multiple of 256 bytes.
38321
0e516e0e
MS
383222010-11-03 Ulrich Drepper <drepper@gmail.com>
38323
38324 [BZ #12167]
38325 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38326 of inacessible symlinks. Verify result of symlink before returning it.
38327 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38328 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38329
0e012e87
ER
383302010-10-28 Erich Ritz <erichritz@gmail.com>
38331
38332 * math/math.h (isinf): Fix typo in comment.
38333
de0ff7bc
UD
383342010-11-01 Ulrich Drepper <drepper@gmail.com>
38335
38336 * po/da.po: Update from translation team.
38337
fa41c84d
UD
383382010-10-26 Ulrich Drepper <drepper@gmail.com>
38339
38340 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38341 is added to the list.
38342
f0967738
AK
383432010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38344 Ulrich Drepper <drepper@gmail.com>
38345
38346 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38347 the global list here. Move code to...
38348 (_dl_add_to_namespace_list): ...here. New function.
38349 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38350 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38351 * elf/dl-load.c (lose): Don't remove the element from the list.
38352 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38353 (_dl_map_object): Likewise.
38354
383552010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38356
38357 [BZ #12159]
38358 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38359 into all bytes of SSE register.
38360 Patch by Richard Li <richardpku@gmail.com>.
38361
f0967738 383622010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38363
38364 [BZ #12140]
38365 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38366 perturbing.
38367
d0b9e94f
MB
383682010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38369
38370 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38371 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38372 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38375 submachine.
38376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38377
8e9f92e9
AS
383782010-10-22 Andreas Schwab <schwab@redhat.com>
38379
38380 * include/dlfcn.h (__RTLD_SECURE): Define.
38381 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38382 mode & __RTLD_SECURE instead.
38383 (open_path): Rename preloaded parameter to secure.
38384 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38385 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38386 * elf/dl-deps.c (openaux): Likewise.
38387 * elf/rtld.c (struct map_args): Remove is_preloaded.
38388 (map_doit): Don't use it.
38389 (dl_main): Likewise.
38390 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38391 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38392
bc96fbda
AS
383932010-09-09 Andreas Schwab <schwab@redhat.com>
38394
38395 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38396 (sysd-rules-targets): Remove duplicates.
38397 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38398 rtld-%.$o dependency.
38399
22cd1c9b
AS
384002010-10-18 Andreas Schwab <schwab@redhat.com>
38401
38402 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38403 _dl_map_object do it.
38404
18edac48
UD
384052010-10-19 Ulrich Drepper <drepper@gmail.com>
38406
38407 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38408 fast fma builtins, define the macros in the C99 standard.
38409 (FP_FAST_FMAF): Likewise.
38410 (FP_FAST_FMAL): Likewise.
38411 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38412
38413 * bits/mathdef.h: Update copyright year.
38414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38415
d2050124
MM
384162010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38417
38418 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38419 builtins, define the macros in the C99 standard.
38420 (FP_FAST_FMAF): Likewise.
38421 (FP_FAST_FMAL): Likewise.
38422 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38423 multiply/add.
38424 (FP_FAST_FMAF): Likewise.
38425
475facd1
JJ
384262010-10-15 Jakub Jelinek <jakub@redhat.com>
38427
38428 [BZ #3268]
38429 * math/libm-test.inc (fma_test): Some new testcases.
38430 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38432 y and infinite z. Do multiplication by C already in long double.
38433 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38434 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38435 y and infinite z. Do bitwise or of inexact bit into u.d.
38436 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38437 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38438 * sysdeps/i386/fpu/s_fma.S: Removed.
38439 * sysdeps/i386/fpu/s_fmal.S: Removed.
38440
7c08a05c
JJ
384412010-10-16 Jakub Jelinek <jakub@redhat.com>
38442
38443 [BZ #3268]
38444 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38446 computation is not scheduled after fetestexcept. Fix value
38447 of minimum denormal long double.
38448
f3f7372d
JJ
384492010-10-14 Jakub Jelinek <jakub@redhat.com>
38450
38451 [BZ #3268]
38452 * math/libm-test.inc (fma_test): Add some more tests.
38453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38454 correctly.
38455
14d43591
AS
384562010-10-15 Andreas Schwab <schwab@redhat.com>
38457
38458 * scripts/data/localplt-s390-linux-gnu.data: New file.
38459 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38460
5e908464
JJ
384612010-10-13 Jakub Jelinek <jakub@redhat.com>
38462
38463 [BZ #3268]
38464 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38465 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38466 instead of dbl-64.
38467 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38468 inlines.
38469 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38471 if one of x and y is very large and the other is subnormal.
38472 * sysdeps/s390/fpu/s_fmaf.c: New file.
38473 * sysdeps/s390/fpu/s_fma.c: New file.
38474 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38475 * sysdeps/powerpc/fpu/s_fma.S: New file.
38476 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38477 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38478 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38479
384802010-10-12 Jakub Jelinek <jakub@redhat.com>
38481
38482 [BZ #3268]
38483 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38484 fma tests.
38485 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38486 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38487 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38488 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38489 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38490 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38492
b833d51f
UD
384932010-10-12 Ulrich Drepper <drepper@redhat.com>
38494
38495 [BZ #12078]
38496 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38497 * posix/bug-regex31.input: Add test case.
38498
1751705d
UD
384992010-10-11 Ulrich Drepper <drepper@gmail.com>
38500
e9b9cbf5
UD
38501 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38502 * posix/bug-regex31.input: New file.
38503
38504 [BZ #12078]
38505 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38506 (parse_sub_exp): Fix last change, use postorder.
38507
ef06edbe
UD
38508 * posix/bug-regex31.c: New file.
38509 * posix/Makefile: Add rules to build and run bug-regex31.
38510
a129c80d
UD
38511 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38512
38513 [BZ #12078]
38514 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38515
b76b818e
UD
38516 [BZ #12108]
38517 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38518 to have entries in sys_siglist.
38519
1751705d
UD
38520 [BZ #12093]
38521 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38522 be NULL.
38523
9ff8d36f
JJ
385242010-10-07 Jakub Jelinek <jakub@redhat.com>
38525
38526 [BZ #3268]
38527 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38528 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38529 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38530 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38531 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38532 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38533 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38534 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38535 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38536 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38537 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38538 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38539 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38540 * math/ftestexcept.c (fetestexcept): Likewise.
38541 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38542 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38543 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38544 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38545 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38546 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38547 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38548
af325969
UD
385492010-10-11 Ulrich Drepper <drepper@gmail.com>
38550
c579b202 38551 [BZ #12107]
af325969
UD
38552 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38553 newline.
38554
67a67b95
UD
385552010-10-06 Ulrich Drepper <drepper@gmail.com>
38556
38557 * string/bug-strstr1.c: New file.
38558 * string/Makefile: Add rules to build and run bug-strstr1.
38559
5fb308bc
EB
385602010-10-05 Eric Blake <eblake@redhat.com>
38561
38562 [BZ #12092]
38563 * string/str-two-way.h (two_way_long_needle): Always clear memory
38564 when skipping input due to the shift table.
38565
45db99c7
UD
385662010-10-03 Ulrich Drepper <drepper@gmail.com>
38567
3b111893
UD
38568 [BZ #12005]
38569 * malloc/mcheck.c: Handle large requests.
38570
45db99c7
UD
38571 [BZ #12077]
38572 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38573 for strncmp and strncasecmp.
38574 * string/stratcliff.c: Add tests for strcmp and strncmp.
38575 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38576
cf7a1eb8
NI
385772010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38578
38579 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38580 __set_fpscr.
38581
6484ba5e
AJ
385822010-09-30 Andreas Jaeger <aj@suse.de>
38583
38584 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38585 (CGROUP_SUPER_MAGIC): Define.
38586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38587 Handle btrfs and cgroup file systems.
38588 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38589 Likewise.
38590
91c42559
LM
385912010-09-27 Luis Machado <luisgpm@br.ibm.com>
38592
38593 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38594 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38595
87a97932
AK
385962010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38597
38598 [BZ #12067]
38599 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38600 trying to locate the ELF header.
38601
c21cc9bc
AS
386022010-09-27 Andreas Schwab <schwab@redhat.com>
38603
38604 [BZ #11611]
38605 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38606 Mask out sign-bit copies when constructing f_fsid.
38607
315970f6
PB
386082010-09-24 Petr Baudis <pasky@suse.cz>
38609
38610 * debug/stack_chk_fail_local.c: Add missing licence exception.
38611 * debug/warning-nop.c: Likewise.
38612
1ac7a2c7
JM
386132010-09-15 Joseph Myers <joseph@codesourcery.com>
38614
38615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38616 implementing getdents64 using getdents syscall, set d_type if
38617 __ASSUME_GETDENTS32_D_TYPE.
38618
56801c50
AS
386192010-09-16 Andreas Schwab <schwab@redhat.com>
38620
38621 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38622 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38623
dda51327
UD
386242010-09-21 Ulrich Drepper <drepper@redhat.com>
38625
38626 [BZ #12037]
38627 * posix/unistd.h: Undo change of feature selection for ftruncate from
38628 2010-01-11.
38629
8ffcee4a
UD
386302010-09-20 Ulrich Drepper <drepper@redhat.com>
38631
a545ecd9 38632 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
38633 detection.
38634
e24f0a8b
AS
386352010-09-20 Andreas Schwab <schwab@redhat.com>
38636
38637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38638 fanotify_mark.
38639 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38640
7291c56f
AS
386412010-09-14 Andreas Schwab <schwab@redhat.com>
38642
38643 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38644 variables after CHECK_SP call.
38645 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38646
bc5fb037
AS
386472010-09-13 Andreas Schwab <schwab@redhat.com>
38648 Ulrich Drepper <drepper@redhat.com>
38649
38650 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38651 re-relocationg ld.so.
38652 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38653 _dl_init_paths call.
38654 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38655 here anymore.
38656
e66e7419
UD
386572010-09-14 Ulrich Drepper <drepper@redhat.com>
38658
38659 * resolv/res_init.c (__res_vinit): Count the default server we added.
38660
c044aa75
CLT
386612010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38662 Ulrich Drepper <drepper@redhat.com>
38663
38664 [BZ #11968]
38665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38666 (____longjmp_chk): Use %ebx for saving value across system call.
38667 Add unwind info.
38668
32cf4069
AS
386692010-09-06 Andreas Schwab <schwab@redhat.com>
38670
38671 * manual/Makefile: Don't mix pattern rules with normal rules.
38672
817328ee
AS
386732010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38674
38675 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38676 operation.
38677 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38678 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38679 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38680 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38681 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38682 Likewise.
38683
29fddf61
UD
386842010-09-04 Ulrich Drepper <drepper@redhat.com>
38685
38686 [BZ #11979]
38687 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38688 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38689
0959ffc9
UD
386902010-09-02 Ulrich Drepper <drepper@redhat.com>
38691
38692 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38693 * sysdeps/x86_64/addmul_1.S: Likewise.
38694 * sysdeps/x86_64/lshift.S: Likewise.
38695 * sysdeps/x86_64/mul_1.S: Likewise.
38696 * sysdeps/x86_64/rshift.S: Likewise.
38697 * sysdeps/x86_64/sub_n.S: Likewise.
38698 * sysdeps/x86_64/submul_1.S: Likewise.
38699
ece29840
ST
387002010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38701
0959ffc9
UD
38702 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38703 Define __sched_param instead of SCHED_* and sched_param when
ece29840 38704 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 38705 * bits/sched.h [__need_schedparam]
ece29840 38706 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
38707 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38708 (__defined_schedparam): Define to 1.
ece29840
ST
38709 (__sched_param): New structure, identical to sched_param.
38710 (__need_schedparam): Undefine.
38711
e53a31fe
MF
387122010-08-31 Mike Frysinger <vapier@gentoo.org>
38713
fdc0c10d
MF
38714 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38715 (epoll_create1): Declare.
38716
e53a31fe
MF
38717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38718
a726d796
AS
387192010-08-31 Andreas Schwab <schwab@redhat.com>
38720
38721 [BZ #7066]
38722 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38723 shifting retval into place.
38724
2f3e3dc7
UD
387252010-09-01 Ulrich Drepper <drepper@redhat.com>
38726
f2933da9
UD
38727 * nis/rpcsvc/nis.h: Update copyright notice.
38728 * nis/rpcsvc/nis.x: Likewise.
38729 * nis/rpcsvc/nis_callback.h: Likewise.
38730 * nis/rpcsvc/nis_callback.x: Likewise.
38731 * nis/rpcsvc/nis_object.x: Likewise.
38732 * nis/rpcsvc/nis_tags.h: Likewise.
38733 * nis/rpcsvc/yp.h: Likewise.
38734 * nis/rpcsvc/yp.x: Likewise.
38735 * nis/rpcsvc/ypupd.h: Likewise.
38736 * nis/yp_xdr.c: Likewise.
38737 * nis/ypupdate_xdr.c: Likewise.
38738
2f3e3dc7
UD
38739 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38740 mainly the body of pmap_getport. Add parameters to specify timeouts.
38741 (pmap_getport): Use __libc_rpc_getport.
38742 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38743 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38744 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38745
f3dcc2f9
AS
387462010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38747
38748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38749 fanotify_mark.
38750
6d34eb5b
RM
387512010-08-27 Roland McGrath <roland@redhat.com>
38752
38753 * sysdeps/i386/i686/multiarch/Makefile
38754 (CFLAGS-varshift.c): New variable.
38755
9ea3de11
UD
387562010-08-27 Ulrich Drepper <drepper@redhat.com>
38757
c96d23fc
UD
38758 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38759 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38760
9ea3de11
UD
38761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38762
38763 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38764
623aac7f
L
387652010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38766
38767 * sysdeps/x86_64/strlen.S: Unroll the loop.
38768 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38769 strlen-sse2 strlen-sse2-bsf.
38770 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38771 __strlen_no_bsf if bit_Slow_BSF is set.
38772 (__strlen_sse42): Removed.
38773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38774 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38775
8b2b7715
RM
387762010-08-25 Roland McGrath <roland@redhat.com>
38777
38778 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38779 * sysdeps/x86_64/multiarch/varshift.c: New file.
38780 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38781 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38782 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38783 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38784
e73015f2
L
387852010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38786
38787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38788 strlen-sse2 strlen-sse2-bsf.
38789 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38790 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38791 (__strlen_sse2): Removed.
38792 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38793 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38795 bit_Slow_BSF for Atom.
38796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38797 (index_Slow_BSF): Define.
38798 (HAS_SLOW_BSF): Define.
38799
df24a73e
UD
388002010-08-25 Ulrich Drepper <drepper@redhat.com>
38801
38802 [BZ #10851]
38803 * resolv/res_init.c (__res_vinit): When no server address at all
38804 is given default to loopback.
38805
f2ac4868
RM
388062010-08-24 Roland McGrath <roland@redhat.com>
38807
09055553
RM
38808 * configure.in: Remove config-name.h generation.
38809 * configure: Regenerated.
38810 * config-name.in: File removed.
38811 * scripts/config-uname.sh: New file.
38812 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38813 ($(objdir)config-name.h): New target.
38814
f2ac4868
RM
38815 * sunrpc/rpc_parse.h: Avoid nested comment.
38816
73f27d5e
RH
388172010-08-24 Richard Henderson <rth@redhat.com>
38818 Ulrich Drepper <drepper@redhat.com>
38819 H.J. Lu <hongjiu.lu@intel.com>
38820
38821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38823 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38824 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38825 _mm_alignr_epi8 with _mm_loadu_si128.
38826 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38827 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38828 (__m128i_shift_right): Removed.
38829 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38830 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38831 * sysdeps/x86_64/multiarch/varshift.h: New file.
38832 * sysdeps/x86_64/multiarch/varshift.S: New file.
38833
84b9230c
MF
388342010-08-21 Mike Frysinger <vapier@gentoo.org>
38835
38836 * configure.in: Move assembler checks to before sysdep dir checking.
38837
9bbd0ddc
PB
388382010-08-20 Petr Baudis <pasky@suse.cz>
38839
38840 * LICENSES: Sync the sunrpc license.
38841
9da4bb31
UD
388422010-08-19 Ulrich Drepper <drepper@redhat.com>
38843
a7ab6ec8
UD
38844 * sunrpc/auth_des.c: Update copyright notice once again.
38845 * sunrpc/auth_none.c: Likewise.
38846 * sunrpc/auth_unix.c: Likewise.
38847 * sunrpc/authdes_prot.c: Likewise.
38848 * sunrpc/authuxprot.c: Likewise.
38849 * sunrpc/bindrsvprt.c: Likewise.
38850 * sunrpc/clnt_gen.c: Likewise.
38851 * sunrpc/clnt_perr.c: Likewise.
38852 * sunrpc/clnt_raw.c: Likewise.
38853 * sunrpc/clnt_simp.c: Likewise.
38854 * sunrpc/clnt_tcp.c: Likewise.
38855 * sunrpc/clnt_udp.c: Likewise.
38856 * sunrpc/clnt_unix.c: Likewise.
38857 * sunrpc/des_crypt.c: Likewise.
38858 * sunrpc/des_soft.c: Likewise.
38859 * sunrpc/get_myaddr.c: Likewise.
38860 * sunrpc/getrpcport.c: Likewise.
38861 * sunrpc/key_call.c: Likewise.
38862 * sunrpc/key_prot.c: Likewise.
38863 * sunrpc/openchild.c: Likewise.
38864 * sunrpc/pm_getmaps.c: Likewise.
38865 * sunrpc/pm_getport.c: Likewise.
38866 * sunrpc/pmap_clnt.c: Likewise.
38867 * sunrpc/pmap_prot.c: Likewise.
38868 * sunrpc/pmap_prot2.c: Likewise.
38869 * sunrpc/pmap_rmt.c: Likewise.
38870 * sunrpc/rpc/auth.h: Likewise.
38871 * sunrpc/rpc/auth_unix.h: Likewise.
38872 * sunrpc/rpc/clnt.h: Likewise.
38873 * sunrpc/rpc/des_crypt.h: Likewise.
38874 * sunrpc/rpc/key_prot.h: Likewise.
38875 * sunrpc/rpc/netdb.h: Likewise.
38876 * sunrpc/rpc/pmap_clnt.h: Likewise.
38877 * sunrpc/rpc/pmap_prot.h: Likewise.
38878 * sunrpc/rpc/pmap_rmt.h: Likewise.
38879 * sunrpc/rpc/rpc.h: Likewise.
38880 * sunrpc/rpc/rpc_des.h: Likewise.
38881 * sunrpc/rpc/rpc_msg.h: Likewise.
38882 * sunrpc/rpc/svc.h: Likewise.
38883 * sunrpc/rpc/svc_auth.h: Likewise.
38884 * sunrpc/rpc/types.h: Likewise.
38885 * sunrpc/rpc/xdr.h: Likewise.
38886 * sunrpc/rpc_clntout.c: Likewise.
38887 * sunrpc/rpc_cmsg.c: Likewise.
38888 * sunrpc/rpc_common.c: Likewise.
38889 * sunrpc/rpc_cout.c: Likewise.
38890 * sunrpc/rpc_dtable.c: Likewise.
38891 * sunrpc/rpc_hout.c: Likewise.
38892 * sunrpc/rpc_main.c: Likewise.
38893 * sunrpc/rpc_parse.c: Likewise.
38894 * sunrpc/rpc_parse.h: Likewise.
38895 * sunrpc/rpc_prot.c: Likewise.
38896 * sunrpc/rpc_sample.c: Likewise.
38897 * sunrpc/rpc_scan.c: Likewise.
38898 * sunrpc/rpc_scan.h: Likewise.
38899 * sunrpc/rpc_svcout.c: Likewise.
38900 * sunrpc/rpc_tblout.c: Likewise.
38901 * sunrpc/rpc_util.c: Likewise.
38902 * sunrpc/rpc_util.h: Likewise.
38903 * sunrpc/rpcinfo.c: Likewise.
38904 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38905 * sunrpc/rpcsvc/key_prot.x: Likewise.
38906 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38907 * sunrpc/rpcsvc/mount.x: Likewise.
38908 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38909 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38910 * sunrpc/rpcsvc/rex.x: Likewise.
38911 * sunrpc/rpcsvc/rstat.x: Likewise.
38912 * sunrpc/rpcsvc/rusers.x: Likewise.
38913 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38914 * sunrpc/rpcsvc/spray.x: Likewise.
38915 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38916 * sunrpc/rtime.c: Likewise.
38917 * sunrpc/svc.c: Likewise.
38918 * sunrpc/svc_auth.c: Likewise.
38919 * sunrpc/svc_authux.c: Likewise.
38920 * sunrpc/svc_raw.c: Likewise.
38921 * sunrpc/svc_run.c: Likewise.
38922 * sunrpc/svc_simple.c: Likewise.
38923 * sunrpc/svc_tcp.c: Likewise.
38924 * sunrpc/svc_udp.c: Likewise.
38925 * sunrpc/svc_unix.c: Likewise.
38926 * sunrpc/svcauth_des.c: Likewise.
38927 * sunrpc/xcrypt.c: Likewise.
38928 * sunrpc/xdr.c: Likewise.
38929 * sunrpc/xdr_array.c: Likewise.
38930 * sunrpc/xdr_float.c: Likewise.
38931 * sunrpc/xdr_mem.c: Likewise.
38932 * sunrpc/xdr_rec.c: Likewise.
38933 * sunrpc/xdr_ref.c: Likewise.
38934 * sunrpc/xdr_sizeof.c: Likewise.
38935 * sunrpc/xdr_stdio.c: Likewise.
38936
9da4bb31
UD
38937 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38938 handling.
38939
bdaa77bc
AS
389402010-08-19 Andreas Schwab <schwab@redhat.com>
38941
38942 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38943
fe2f79db
LM
389442010-08-19 Luis Machado <luisgpm@br.ibm.com>
38945
38946 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38947 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38948 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38949 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38950 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38951 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38952 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38953 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38956 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38957 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38958 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38959 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38960
b9b42ee0
AB
389612010-07-26 Anton Blanchard <anton@samba.org>
38962
38963 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38964 * malloc/arena.c (heap_trim): Likewise.
38965
1c06ba31
UD
389662010-08-16 Ulrich Drepper <drepper@redhat.com>
38967
38968 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38969 here. Not...
38970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38971 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38972
f8392f40
L
389732010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38974
38975 * sysdeps/i386/elf/Makefile: New file.
38976
3162f12e
AS
389772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38978
38979 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38980 from fanotify_init.
38981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38982 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38983
28c90b2c
UD
389842010-08-15 Ulrich Drepper <drepper@redhat.com>
38985
38986 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38987 of strncasecmp_l.
1feccb6c 38988 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 38989
ca6bb004
UD
389902010-08-14 Ulrich Drepper <drepper@redhat.com>
38991
e9f82e0d
UD
38992 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38993 strncase_l-nonascii.
38994 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38995 Add strncase_l-ssse3.
38996 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38997 * sysdeps/x86_64/strcmp.S: Likewise.
38998 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38999 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39000 * sysdeps/x86_64/strncase.S: New file.
39001 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39002 * sysdeps/x86_64/strncase_l.S: New file.
39003 * string/Makefile (strop-tests): Add strncasecmp.
39004 * string/test-strncasecmp.c: New file.
39005
39006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39007 warning.
39008
ca6bb004
UD
39009 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39010 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39011
052fa7b3
AS
390122010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39013
39014 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39015
962dba78
UD
390162010-08-12 Ulrich Drepper <drepper@redhat.com>
39017
39018 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39021
bebff237
AM
390222010-05-01 Alan Modra <amodra@gmail.com>
39023
39024 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39025 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39026 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39027 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39028 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39029 tidying. Don't tail-call __sigjmp_save for static lib.
39030 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39031 save location.
39032 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39033 (CALL_MCOUNT): Add eh info, and nop after bl.
39034 (TAIL_CALL_SYSCALL_ERROR): New macro.
39035 (PSEUDO_RET): Use it.
39036 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39037 Correct save location of integer regs and cr.
39038 (_dl_profile_resolve): Correct cr save location. Delete nops
39039 after bl when SHARED. Reduce cfi size a little by better
39040 placement of cfi directives.
39041 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39042 make a stack frame. Instead use parm save area as a temp.
39043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39044 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39046 Don't make a stack frame for parent, use parm save area.
39047 Increase child stack frame to 112 bytes. Don't save unused reg,
39048 and adjust reg usage. Set up cfi on error recovery and
39049 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39051 (__makecontext): Add dummy nop after jump to exit.
39052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39053 Use correct parm save area and cr save, reduce stack frame.
39054 Correct cfi for possible PSEUDO_RET frame setup.
39055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39056 Branch to local label emitted by PSEUDO_RET rather than
39057 __syscall_error.
39058
02637374
AS
390592010-08-12 Andreas Schwab <schwab@redhat.com>
39060
39061 [BZ #11904]
39062 * locale/programs/locale.c (print_assignment): New function.
39063 (show_locale_vars): Use it.
39064
c3e2f19b
UD
390652010-08-11 Ulrich Drepper <drepper@redhat.com>
39066
3cdaa6ad
UD
39067 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39068 field.
39069 (struct statfs64): Likewise.
39070 (_STATFS_F_FLAGS): Define.
39071 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39072 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39073 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39074 (ST_VALID): Define locally.
39075 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39076 __statvfs_getflags, use the provided value.
39077 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39078 __ASSUME_STATFS_F_FLAGS.
39079
754f7da3
UD
39080 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39081
10b3bedc
UD
39082 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39083 Add sys/fanotify.h.
39084 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39085 fanotify_mask for GLIBC_2.13.
39086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39087 fanotify_init and fanotify_mark.
39088 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39089 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39090
c08fb0d7
UD
39091 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39092 Add prlimit.
39093 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39094 prlimit64 for GLIBC_2.13.
39095 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39096 prlimit64.
39097 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39098 syscall.
39099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39100 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39101 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39102 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39104 add prlimit alias.
39105 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39106
15bac72b
UD
39107 [BZ #11903]
39108 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39109 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39110
c3e2f19b
UD
39111 * nss/Makefile: Add rules to build and run tst-nss-test1.
39112 * shlib-versions: Add entry for libnss_test1.
39113 * nss/nss_test1.c: New file.
39114 * nss/tst-nss-test1.c: New file.
39115
39116 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39117 (__nss_configure_lookup): Set appropriate entry in
39118 __nss_configure_lookup to true.
39119 * nss/nsswitch.h: Define enum with indeces of databases in
39120 databases and __nss_database_custom arrays. Declare
39121 __nss_database_custom.
39122 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39123 to avoid using nscd when custom rules are installed.
39124 * nss/getXXbyYY_r.c: Likewise.
39125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39126
39127 * nss/nss_files/files-parse.c: Whitespace fixes.
39128
f15ce4d8
UD
391292010-08-09 Ulrich Drepper <drepper@redhat.com>
39130
39131 [BZ #11883]
39132 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39133 * posix/fnmatch_loop.c: Likewise.
39134
d22e4cc9
AK
391352010-07-17 Andi Kleen <ak@linux.intel.com>
39136
39137 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39138 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39139 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39140 * Versions.def [GLIBC_2.13]: Add.
39141
805bc17d
UD
391422010-08-06 Ulrich Drepper <drepper@redhat.com>
39143
39144 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39145 Also fail if tpwd after pwuid call is NULL.
39146
5a42321d
ST
391472010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39148
39149 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39150 when converting to ms.
39151
fd3ebeda
ST
391522010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39153
39154 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39155 EOPNOTSUPP errors with ENOTTY.
39156 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39157 EOPNOTSUPP errors with ENOTTY.
39158
73507d3a
UD
391592010-07-31 Ulrich Drepper <drepper@redhat.com>
39160
39161 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39162 Add strcasecmp_l-ssse3.
39163 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39164 strcasecmp.
39165 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39166 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39168
fe36dd02
UD
391692010-07-30 Ulrich Drepper <drepper@redhat.com>
39170
66f6765a
UD
39171 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39172
42e08a54
UD
39173 * string/Makefile (strop-tests): Add strcasecmp.
39174 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39175 strcasecmp_l-nonascii.
39176 (gen-as-const-headers): Add locale-defines.sym.
39177 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39178 * sysdeps/x86_64/strcasecmp.S: New file.
39179 * sysdeps/x86_64/strcasecmp_l.S: New file.
39180 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39181 * sysdeps/x86_64/locale-defines.sym: New file.
39182 * string/test-strcasecmp.c: New file.
39183
fe36dd02
UD
39184 * string/test-strcasestr.c: Test both ends of the range of characters.
39185 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39186
48cbc0d6
RM
391872010-07-29 Roland McGrath <roland@redhat.com>
39188
76e6d6bc 39189 [BZ #11856]
48cbc0d6
RM
39190 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39191
880113d9
UD
391922010-07-27 Ulrich Drepper <drepper@redhat.com>
39193
39194 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39195 for ld.so.
39196
deb9cabb
AS
391972010-07-27 Andreas Schwab <schwab@redhat.com>
39198
39199 * manual/memory.texi (Malloc Tunable Parameters): Document
39200 M_PERTURB.
39201
1c7570ff
RM
392022010-07-26 Roland McGrath <roland@redhat.com>
39203
39204 [BZ #11840]
39205 * configure.in (-fgnu89-inline check): Set and substitute
39206 gnu89_inline, not libc_cv_gnu89_inline.
39207 * configure: Regenerated.
39208 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39209
24fb0f88
UD
392102010-07-26 Ulrich Drepper <drepper@redhat.com>
39211
39212 * string/test-strnlen.c: New file.
39213 * string/Makefile (strop-tests): Add strnlen.
39214 * string/tester.c (test_strnlen): Add a few more test cases.
39215 * string/tst-strlen.c: Better error reporting.
39216
39217 * sysdeps/x86_64/strnlen.S: New file.
39218
8e96b93a
UD
392192010-07-24 Ulrich Drepper <drepper@redhat.com>
39220
39221 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39222 lower-latency instructions.
39223
dbc676d4
UD
392242010-07-23 Ulrich Drepper <drepper@redhat.com>
39225
39226 * string/test-strcasestr.c: New file.
39227 * string/test-strstr.c: New file.
39228 * string/Makefile (strop-tests): Add strstr and strcasestr.
39229 * string/str-two-way.h: Don't undefine MAX.
39230 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39231
f6a31e0e
AS
392322010-07-21 Andreas Schwab <schwab@redhat.com>
39233
39234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39235 strcasestr-nonascii.
39236 (CFLAGS-strcasestr-nonascii.c): Define.
39237 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39239 Remove unused attribute.
39240
5dbc3b6c
RM
392412010-07-20 Roland McGrath <roland@redhat.com>
39242
39243 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39244 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39245 ld.so.cache was broken. With it, there is no way to disable dsocaps
39246 like LD_HWCAP_MASK can disable hwcaps.
39247
23d101d8
EPM
392482010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39249
39250 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39251
cc9f2e47
UD
392522010-07-16 Ulrich Drepper <drepper@redhat.com>
39253
39254 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39255 call in strcasestr.
39256 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39257 __strcasestr_sse42_nonascii.
39258 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39259 strcasestr-nonascii.c.
39260 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39261
77c1b069
LM
392622010-06-15 Luis Machado <luisgpm@br.ibm.com>
39263
39264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39265 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39267 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39268
440566c3
UD
392692010-07-09 Ulrich Drepper <drepper@redhat.com>
39270
39271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39272 fcntl.
39273
5be9d05d
AS
392742010-07-06 Andreas Schwab <schwab@redhat.com>
39275
c30b7ee2 39276 [BZ #11577]
5be9d05d
AS
39277 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39278 dl_signal_cerror.
39279
8a492a67
UD
392802010-07-06 Ulrich Drepper <drepper@redhat.com>
39281
39282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39283 _PC_PIPE_BUF using F_GETPIPE_SZ.
39284
713df3d5
RM
392852010-07-05 Roland McGrath <roland@redhat.com>
39286
39287 * manual/arith.texi (Rounding Functions): Fix rint description
39288 implicit in round description.
39289
702e8f14
UD
392902010-07-02 Ulrich Drepper <drepper@redhat.com>
39291
39292 * elf/Makefile: Fix linking for a few tests to make recent linker
39293 happy.
39294
52ed8be9
AS
392952010-06-30 Andreas Schwab <schwab@redhat.com>
39296
39297 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39298 $(common-objpfx)libc_nonshared.a.
39299
f47c9a11
LM
393002010-06-21 Luis Machado <luisgpm@br.ibm.com>
39301
39302 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39303 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39304 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39305 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39306 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39307 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39308 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39309 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39324 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39325 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39326 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39327 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39328 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39329 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39330 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39331 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39332 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39333 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39334 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39335 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39350
6fb8cbcb
L
393512010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39352
39353 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39354 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39355 * string/memmove.c (memmove): Renamed to ...
39356 (MEMMOVE): ...this. Default to memmove.
39357 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39358 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39359 (END_CHK): Define.
39360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39361 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39362 mempcpy-ssse3-back memmove-ssse3-back.
39363 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39364 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39366 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39367 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39368 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39369 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39370 * sysdeps/x86_64/multiarch/memmove.c: New file.
39371 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39372 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39373 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39374 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39375 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39376 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39377 Define.
39378 (index_Fast_Copy_Backward): Define.
39379 (HAS_ARCH_FEATURE): Define.
39380 (HAS_FAST_REP_STRING): Define.
39381 (HAS_FAST_COPY_BACKWARD): Define.
39382
4e733bac 393832010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39384
39385 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39386 Restore proper fallback handling.
39387
63c4ed22
UD
393882010-06-19 Ulrich Drepper <drepper@redhat.com>
39389
ac2b484c
UD
39390 [BZ #11701]
39391 * posix/group_member.c (__group_member): Correct checking loop.
39392
63c4ed22
UD
39393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39394 OOM in getpwuid_r correctly. Return error number when the caller
39395 should return, otherwise -1.
39396 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39397 call returning > 0 value.
39398 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39399
765ade4b
AS
394002010-06-07 Andreas Schwab <schwab@redhat.com>
39401
39402 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39403 libc_nonshared.a from targets in modules-names.
39404
80da2e09
KS
394052010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39406
39407 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39408 requires it.
39409
158db122
LM
394102010-06-10 Luis Machado <luisgpm@br.ibm.com>
39411
39412 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39415 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39416
caa78cf8
AS
394172010-06-02 Andreas Schwab <schwab@redhat.com>
39418
39419 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39420
b2ef2c01
UD
394212010-06-14 Ulrich Drepper <drepper@redhat.com>
39422
39423 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39424 and F_GETPIPE_SZ.
39425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39428 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39429 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39431
fbd643b6
RM
394322010-06-14 Roland McGrath <roland@redhat.com>
39433
39434 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39435
f32f2869
JJ
394362010-06-07 Jakub Jelinek <jakub@redhat.com>
39437
39438 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39439 __REDIRECT followed by __THROW.
39440 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39441 * posix/getopt.h (getopt): Likewise.
39442
2a50c078
EPM
394432010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39444
39445 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39446 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39447 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39448 in AT_FLAGS.
39449 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39450 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39451
eb5ad2eb
LM
394522010-05-28 Luis Machado <luisgpm@br.ibm.com>
39453
39454 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39455
3c88fe1e
L
394562010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39457
39458 [BZ #11640]
39459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39460 Properly check family and model.
39461
d2f73151
TY
394622010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39463
39464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39465
ebd2e13d
LM
394662010-05-24 Luis Machado <luisgpm@br.ibm.com>
39467
39468 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39469
b32b8b45
UD
394702010-05-21 Ulrich Drepper <drepper@redhat.com>
39471
39472 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39473 symbol reference.
39474
9acbe24d
AS
394752010-05-19 Andreas Schwab <schwab@redhat.com>
39476
39477 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39478 symbol reference.
39479
f0ccf6ea
AS
394802010-05-21 Andreas Schwab <schwab@redhat.com>
39481
3d04ff3a
AS
39482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39483 and internal_recvmmsg.
39484 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39485 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39486 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39487 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39488
f0ccf6ea
AS
39489 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39490 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39491 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39492
5b08ac57
AS
394932010-05-20 Andreas Schwab <schwab@redhat.com>
39494
39495 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39496
4828935d
LM
394972010-05-17 Luis Machado <luisgpm@br.ibm.com>
39498
39499 POWER7 optimizations.
39500 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39501 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39502
373d545e
UD
395032010-05-19 Ulrich Drepper <drepper@redhat.com>
39504
39505 * version.h: Update for 2.13 development version.
39506
21a2b1ae
AS
395072010-05-12 Andrew Stubbs <ams@codesourcery.com>
39508
39509 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39510 exceptions. Return 0.
39511
3f7dcb2b
RM
395122010-05-07 Roland McGrath <roland@redhat.com>
39513
39514 * elf/ldconfig.c (main): Add a const.
39515
5f24d53a 395162010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 39517
a160f8d8
UD
39518 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39519 (args_options): Add no-idn option.
39520 (ahosts_keys_int): Add idn_flags to ai_flags.
39521 (parse_option): Handle 'i' option to clear idn_flags.
39522
5f24d53a
UD
39523 * malloc/malloc.c (_int_free): Possible race in the most recently
39524 added check. Only act on the data if no current modification
39525 happened.
265bb1ce
UD
39526
39527See ChangeLog.17 for earlier changes.