]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add x86-64 __libc_ifunc_impl_list
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9a387d1f
L
12012-10-11 H.J. Lu <hongjiu.lu@intel.com>
2
ac49ecaf
L
3 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
5 global and hidden.
6 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9 Likewise.
10 (__rawmemchr_sse2): Likewise.
11 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13 (__strchr_sse2): Likewise.
14 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16 (__strcasecmp_sse2): Likewise.
17 (__strncasecmp_sse2): Likewise.
18 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22 (__strrchr_sse2): Likewise.
23 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24 ifunc-impl-list.c.
25 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
44 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
47 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
48 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
50 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
52 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55
b090e8ea
L
56 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57 global and hidden.
58 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62 Likewise.
63 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64 Likewise.
65 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
66 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
67 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69 ifunc-impl-list.c.
70 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
79 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
80 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
84 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
85 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
86 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
87 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
88 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
89 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
90 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
91 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
92 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
93 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
94 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
95 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
96 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
97 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
98 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
99 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
100 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
101 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
102 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
103 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
104 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
106 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
107 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
108 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
109 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
110 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
111
11dd4af6
L
112 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
113 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
114 * include/ifunc-impl-list.h: New file.
115 * misc/ifunc-impl-list.c: Likewise.
116 * misc/Makefile (routines): Add ifunc-impl-list.
117 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
118 * string/test-string.h: Include <ifunc-impl-list.h>.
119 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
120 impl_array): New variables.
121 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
122 are defined.
123 (test_init): Call __libc_ifunc_impl_list to initialize
124 func_list if TEST_IFUNC and TEST_NAME are defined.
125
9a387d1f
L
126 * string/Makefile (strop-tests): Add bcopy and bzero.
127 * string/test-bcopy.c: New file.
128 * string/test-bzero.c: Likewise.
129 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
130 defined.
131 * string/test-memset.c: Support bzero test if TEST_BZERO is
132 defined.
133 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
134 __libc_memmove.
135 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
136 __libc_memset.
137 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
138 of memset.
139
472371b9
JM
1402012-10-10 Joseph Myers <joseph@codesourcery.com>
141
1e4a9536
JM
142 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
143 * configure: Regenerated.
144
d173d12e
JM
145 * Makeconfig (+link-static-before-libc): Don't include
146 $(link-static-libc).
147
472371b9
JM
148 * libio/libio.h (_IO_pos_t): Remove.
149
89a3ad0b
AO
1502012-10-10 Alexandre Oliva <aoliva@redhat.com>
151
152 * NEWS: Add note about FIPS mode. Wording suggested by Roland
153 McGrath.
154
e7451425
AO
1552012-10-10 Alexandre Oliva <aoliva@redhat.com>
156
157 * crypt/crypt-entry.c: Include fips-private.h.
158 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
159 * crypt/md5c-test.c (main): Tolerate disabled MD5.
160 * sysdeps/unix/sysv/linux/fips-private.h: New file.
161 * sysdeps/generic/fips-private.h: New file, dummy fallback.
162
4ba74a35
AO
1632012-10-10 Alexandre Oliva <aoliva@redhat.com>
164
165 * crypt/crypt-private.h: Include stdbool.h.
166 (_ufc_setup_salt_r): Return bool.
167 * crypt/crypt-entry.c: Include errno.h.
168 (__crypt_r): Return NULL with EINVAL for bad salt.
169 * crypt/crypt_util.c (bad_for_salt): New.
170 (_ufc_setup_salt_r): Check that salt is long enough and within
171 the specified alphabet.
172 * crypt/badsalttest.c: New file.
173 * crypt/Makefile (tests): Add it.
174 ($(objpfx)badsalttest): New.
175
f96f1242
MK
1762012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
177
178 * NEWS: Add entry for BZ #14602.
179
0e8e0c1c
JM
1802012-10-09 Joseph Myers <joseph@codesourcery.com>
181
182 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
183 type-generic.
184 * math/libm-test.inc: Update comment listing what functions and
185 macros are tested.
186 (isgreater_test): New function.
187 (isgreaterequal_test): Likewise.
188 (isless_test): Likewise.
189 (islessequal_test): Likewise.
190 (islessgreater_test): Likewise.
191 (isunordered_test): Likewise.
192 (main): Call the new functions.
193
273edc5e
RM
1942012-10-09 Roland McGrath <roland@hack.frob.com>
195
b8493de0
RM
196 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
197 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
198 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
199 * sysdeps/i386/configure: Regenerated.
200 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
201 * sysdeps/mach/configure: Regenerated.
202 * sysdeps/mach/hurd/configure: Regenerated.
203 * sysdeps/powerpc/configure: Regenerated.
204 * sysdeps/powerpc/powerpc32/configure: Regenerated.
205 * sysdeps/powerpc/powerpc64/configure: Regenerated.
206 * sysdeps/s390/s390-32/configure: Regenerated.
207 * sysdeps/s390/s390-64/configure: Regenerated.
208 * sysdeps/sh/configure: Regenerated.
209 * sysdeps/sparc/configure: Regenerated.
210 * sysdeps/unix/sysv/linux/configure: Regenerated.
211 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
212 * sysdeps/x86_64/configure: Regenerated.
213
273edc5e
RM
214 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
215 defined. Don't check if MAP is NULL.
216
c8450f70
JM
2172012-10-09 Joseph Myers <joseph@codesourcery.com>
218
219 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
220 (_G_stat64): Likewise.
221 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
222 (_G_stat64): Likewise.
223 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
224 instead of struct _G_stat64.
225 * libio/fileops.c (mmap_remap_check): Likewise.
226 (decide_maybe_mmap): Likewise.
227 (_IO_new_file_seekoff): Likewise.
228 (_IO_file_stat): Likewise.
229 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
230 _G_off64_t.
231 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
232 instead of struct _G_stat64.
233 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
234
57e605ba
MK
2352012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
236
237 [BZ #14602]
238 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
239 Replace with ...
240 (CHECK_EOL): New macro.
241 (two_way_short_needle): Check beginning of haystack for EOL. Use
242 CHECK_EOL.
243 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
244 Replace with CHECK_EOL.
245 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
246 Replace with CHECK_EOL.
247
ef1bb361
JM
2482012-10-08 Joseph Myers <joseph@codesourcery.com>
249
250 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
251 type-generic.
252 * math/libm-test.inc: Update comment listing what functions and
253 macros are tested.
254 (finite_test): New function.
255 (isinf_test): Likewise.
256 (isnan_test): Likewise.
257 (fpclassify_test): Test subnormal input.
258 (isfinite_test): Likewise.
259 (isnormal_test): Likewise.
260 (main): Call the new functions.
261
55f11534
JN
2622012-10-08 Jonathan Nieder <jrnieder@gmail.com>
263
264 [BZ #14660]
265 * Makerules (%.dynsym): Force C locale when running
266 $(OBJDUMP) --dynamic-syms.
267
1ab29350
AS
2682012-10-08 Andreas Schwab <schwab@linux-m68k.org>
269
270 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
271 <stdint.h>.
272
f1ecb7ef
DM
2732012-10-06 David S. Miller <davem@davemloft.net>
274
275 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
276 upper 32-bits of the length value in %o2 since we use branch-on-register
277 tests which consider the entire 64-bit register.
278
5d41d91a
L
2792012-10-06 H.J. Lu <hongjiu.lu@intel.com>
280
281 * string/test-strstr.c (check2): Add a test for page boundary.
282
3baddb72
DM
2832012-10-05 David S. Miller <davem@davemloft.net>
284
285 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
286 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
287 file.
288 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
289 sysdep_routines.
290 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
291 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
292 and bzero when HWCAP_SPARC_CRYPTO is present.
293
9cee5585
L
2942012-10-05 H.J. Lu <hongjiu.lu@intel.com>
295
d7e0dab9
L
296 [BZ #14602]
297 * string/test-strstr.c (check2): New function.
298 (test_main): Call check2.
299
03759f47
L
300 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
301 and bug-strchr1.
302 * string/bug-strcasestr1.c (do_test): Moved to ...
303 * string/test-strcasestr.c (check1): Here. New function.
304 (do_one_test): Break out result checking code into ...
305 (check_result): This. New function.
306 (do_one_test): Call check_result.
307 (test_main): Call check1.
308 * string/bug-strchr1.c (do_test): Moved to ...
309 * string/test-strchr.c (check1): Here. New function.
310 (do_one_test): Break out result checking code into ...
311 (check_result): This. New function.
312 (do_one_test): Call check_result.
313 (test_main): Call check1.
314 * string/bug-strstr1.c (main): Moved to ...
315 * string/test-strchr.c (check1): Here. New function.
316 (do_one_test): Break out result checking code into ...
317 (check_result): This. New function.
318 (do_one_test): Call check_result.
319 (test_main): Call check1.
320 * string/bug-strcasestr1.c: Removed.
321 * string/bug-strchr1.c: Likewise.
322 * string/bug-strstr1.c: Likewise.
323
53cea63e
L
324 * elf/Makefile (dl-routines): Add hwcaps.
325 * elf/dl-support.c (_dl_important_hwcaps): Removed.
326 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
327 (_dl_important_hwcaps): Moved to ...
328 * elf/dl-hwcaps.c: Here. New file.
329 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
330
9cee5585 331 [BZ #14557]
bb859b06
L
332 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
333 if IS_IN_rtld isn't defined.
334
9cee5585
L
335 * elf/dl-support.c (_dl_sysinfo_map): New.
336 Include "get-dynamic-info.h" and "setup-vdso.h".
337 (_dl_non_dynamic_init): Call setup_vdso.
338 * elf/dynamic-link.h: Don't include <assert.h>.
339 (elf_get_dynamic_info): Moved to ...
340 * elf/get-dynamic-info.h: Here. New file.
341 * elf/dynamic-link.h: Include "get-dynamic-info.h".
342 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
343 * elf/setup-vdso.h: Here. New file.
344 * elf/rtld.c: Include "setup-vdso.h".
345 (dl_main): Call setup_vdso.
346
23c31b76
JM
3472012-10-05 Joseph Myers <joseph@codesourcery.com>
348
28234b07
JM
349 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
350 creal in comment listing functions tested. List finite, isinf,
351 isnan, isless, islessequal, isgreater, isgreaterequal,
352 islessgreater, isunordered, lgamma_r and pow10 as functions and
353 macros not tested. Mention which functions not tested are aliases
354 for other functions. Fix typo. Note that signs of NaNs are not
355 tested.
356
23c31b76
JM
357 * scripts/config.guess: Update from config.git.
358 * scripts/config.sub: Likewise.
359
9043e228
RM
3602012-10-04 Roland McGrath <roland@hack.frob.com>
361
362 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
363 * misc/madvise.c (madvise): Renamed to __madvise.
364 Make madvise a weak alias.
365 * include/sys/mman.h: Declare __madvise.
366 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
367 * sysdeps/unix/syscalls.list
368 (madvise): Make __madvise the strong name, and madvise a weak alias.
369 * sysdeps/unix/sysv/linux/syscalls.list
370 (madvise, mmap): Remove redundant entries.
371 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
372 * malloc/malloc.c (mtrim): Likewise.
373 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
374
f57f8055
RM
3752012-10-03 Roland McGrath <roland@hack.frob.com>
376
377 * sysdeps/mach/hurd/dl-cache.c: File removed.
378 * config.h.in (USE_LDCONFIG): New #undef.
379 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
380 * configure: Regenerated.
381 * elf/Makefile (dl-routines): Add dl-cache only under
382 [$(use-ldconfig) = yes].
383 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
384 cache on [USE_LDCONFIG].
385 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
386 [USE_LDCONFIG].
387 * elf/rtld.c (dl_main): Likewise.
388
5bb0c10a
PT
3892012-10-03 Pino Toscano <toscano.pino@tiscali.it>
390
391 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
392 _SC_LEVEL4_CACHE_LINESIZE.
393
010188c6
RM
3942012-10-03 Roland McGrath <roland@hack.frob.com>
395
396 * sysdeps/unix/bsd/confstr.h: File removed.
397
b6c5ec07
AO
3982012-10-02 Alexandre Oliva <aoliva@redhat.com>
399
400 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
401 sys/sdt-config.h.
402
408223d4
RM
4032012-10-02 Roland McGrath <roland@hack.frob.com>
404
405 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
406 Make 'mapoff' field ElfW(Off) rather than off_t.
407
bb9510dc
DL
4082012-10-02 Dmitry V. Levin <ldv@altlinux.org>
409
fc997c6e
DL
410 * nscd/Makefile: Remove nscd-cflags and all its users.
411 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
412 (CFLAGS-nonlib): Add compiler flags for nscd modules.
413
bb9510dc
DL
414 [BZ #10631]
415 * malloc.c (malloc_printerr): Clarify error message.
416
05699367
L
4172012-10-02 H.J. Lu <hongjiu.lu@intel.com>
418
419 [BZ #14648]
420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
421 Set bit_FMA_Usable if FMA is supported.
422 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
423 macro.
424 (bit_FMA4_Usable): Updated.
425 (index_FMA_Usable): New macro.
426 (CPUID_FMA): Likewise
427 (HAS_FMA): Defined with bit_FMA_Usable.
428
51367701
RM
4292012-10-01 Roland McGrath <roland@hack.frob.com>
430
431 * bits/types.h (__swblk_t): Type removed.
432 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
433 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
435 (__SWBLK_T_TYPE): Likewise.
436 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
437 (__SWBLK_T_TYPE): Likewise.
438 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
439 (__SWBLK_T_TYPE): Likewise.
440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
441 (__SWBLK_T_TYPE): Likewise.
442
4d57bf63
JL
4432012-10-01 Patsy Franklin <pfrankli@redhat.com>
444 Honza Horak <hhorak@redhat.com>
445
446 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
447 (xdr_mapname): Use YPMAXMAP as maxsize.
448 (xdr_peername): Use YPMAXPEER as maxsize.
449 (xdr_keydat): Use YPAXRECORD as maxsize.
450 (xdr_valdat): Use YPMAXRECORD as maxsize.
451
93c65d43
RM
4522012-10-01 Roland McGrath <roland@hack.frob.com>
453
497a03d6
RM
454 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
455
93c65d43
RM
456 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
457 * csu/init-first.c: ... here.
458 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
459 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
460 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
461 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
462 * sysdeps/i386/init-first.c: File removed.
463 * sysdeps/sh/init-first.c: File removed.
464
bec749fd
JM
4652012-10-01 Joseph Myers <joseph@codesourcery.com>
466
467 [BZ #14645]
468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
469 if x * y might underflow to zero and z is zero.
470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
471 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
472 * math/libm-test.inc (min_subnorm_value): New variable.
473 (fma_test): Add more tests.
474 (fma_test_towardzero): Likewise.
475 (fma_test_downward): Likewise
476 (fma_test_upward): Likewise.
477 (initialize): Set min_subnorm_value.
478
8ec5b013
JM
4792012-09-29 Joseph Myers <joseph@codesourcery.com>
480
481 [BZ #14638]
482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
483 0 + 0.
484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
485 mode for addition resulting in exact zero.
486 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
487 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
488 exact 0 + 0.
489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
491 * math/libm-test.inc (fma_test): Add more tests.
492 (fma_test_towardzero): New function.
493 (fma_test_downward): Likewise.
494 (fma_test_upward): Likewise.
495 (main): Call the new functions.
496
b1fa802e
DM
4972012-09-28 David S. Miller <davem@davemloft.net>
498
499 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
500
d3b9fd9e
RM
5012012-09-28 Roland McGrath <roland@hack.frob.com>
502
ea4d37b3
RM
503 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
504 instead of SIGALRM.
505
ac51c949
RM
506 * sysdeps/gnu/_G_config.h: Moved to ...
507 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
508 * sysdeps/mach/hurd/_G_config.h: Moved to ...
509 * sysdeps/generic/_G_config.h: ... here.
510
28c195f7
RM
511 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
512
848917f9
RM
513 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
514
6bacf05b
RM
515 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
516 Conditionalize target on [libnss_test1.so-version].
517
91363dbb
RM
518 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
519
cc87f7d8
RM
520 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
521 (elfobjdir): Move out of conditionals.
522
b1c608fe
RM
523 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
524 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
525 (__nss_lookup_function): Conditionalize label remove_from_tree on
526 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 527
1d9a6d96
DM
5282012-09-28 David S. Miller <davem@davemloft.net>
529
530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
531 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
532 file.
533 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
534 sysdep_routines.
535 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
537 when HWCAP_SPARC_CRYPTO is present.
538
72581615
PT
5392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
540
541 * io/tst-mknodat.c: Create a FIFO instead of a socket.
542
715a900c
JL
5432012-09-28 Andreas Schwab <schwab@linux-m68k.org>
544
545 [BZ #6530]
546 * stdio-common/vfprintf.c (process_string_arg): Revert
547 2000-07-22 change.
548
5492011-09-28 Jonathan Nieder <jrnieder@gmail.com>
550
551 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
552 for testcase.
553 * stdio-common/tst-sprintf.c: Include <locale.h>
554 (main): Test sprintf's handling of incomplete multibyte
555 characters.
556
9bac1d86
L
5572012-09-28 H.J. Lu <hongjiu.lu@intel.com>
558
559 * elf/dl-runtime.c (VERSYMIDX): Removed.
560 * elf/dl-version.c (VERSYMIDX): Likewise.
561 * elf/do-rel.h (VERSYMIDX): Likewise.
562 (VALIDX): Likewise.
563 * elf/dynamic-link.h (VERSYMIDX): Likewise.
564 * elf/rtld.c (VALIDX): Likewise.
565 (ADDRIDX): Likewise.
9bac1d86
L
566 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
567 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
568 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
569 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
570 (VALIDX): Likewise.
571 (ADDRIDX): Likewise.
9bac1d86 572
b31606c0
PT
5732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
574
575 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
576
11541177
JL
5772012-09-28 Dmitry V. Levin <ldv@altlinux.org>
578
579 [BZ #11438]
580 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
581 to global scope.
582 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
583 addresses are in the same scope as 192.0.2/24.
584 * posix/gai.conf: Document new scope table defaults.
585
adb26fae
SP
5862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
587
588 [BZ #5298]
589 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
590 for ftell. Compute offsets from write pointers instead.
591 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
592
4573c6b0
SP
5932012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
594
595 [BZ #14543]
596 * libio/Makefile (tests): New test case tst-fseek.
597 * libio/tst-fseek.c: New test case to verify that fseek/ftell
598 combination works in wide mode.
599 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
600 state when the external buffer state changes.
601
aa9bbfe6
DM
6022012-09-27 David S. Miller <davem@davemloft.net>
603
604 [BZ #14376]
605 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
606 pass reloc->r_addend in as the 'high' argument to
607 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
608
784421e7
DM
609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
610
c39bc8b8
PT
6112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
612
613 * rt/tst-aio2.c: Include <pthread.h>.
614 * rt/tst-aio3.c: Likewise.
615
1ccc2399
SE
6162012-09-27 Steve Ellcey <sellcey@mips.com>
617
618 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
619
31ed4153
L
6202012-09-27 H.J. Lu <hongjiu.lu@intel.com>
621
25f5f885
L
622 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
623 contents on [SHARED].
31ed4153 624
b7bfe116
MP
6252012-09-26 Marek Polacek <polacek@redhat.com>
626
627 [BZ #14530]
628 [BZ #13741]
629 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
630 for C++ and GCC <4.3 as well as for non GCC compilers.
631
43c4edba
MT
6322012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
633
634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
635
6a1bf82f
RM
6362012-09-25 Roland McGrath <roland@hack.frob.com>
637
638 * Makefile.in (all, install): Declare with .PHONY.
639 Reported by Michael Hope <michael.hope@linaro.org>.
640
8ad11b9a
TMQMF
6412012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
642
643 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
644 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
645 system header.
646 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
647 Likewise.
648 (sydep_routines): Add the new and the internal functions.
649 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
650 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
652 (GLIBC_2.17): Add the new function.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
654 (GLIBC_2.17): Likewise.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
656 (GLIBC_2.17): Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
658 (GLIBC_2.17): Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
660
7e2fca8d
AM
6612012-09-25 Alan Modra <amodra@gmail.com>
662
663 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
664 Add release barrier before setting once_control to say
665 initialisation is done. Add hints on lwarx. Use macro in
666 place of isync.
667 (clear_once_control): Add release barrier.
668
b87c4b24
JM
6692012-09-25 Joseph Myers <joseph@codesourcery.com>
670
d032e0d2
JM
671 [BZ #13629]
672 * math/s_clog.c (__clog): Handle more values close to |z| = 1
673 specially.
674 * math/s_clog10.c (__clog10): Likewise.
675 * math/s_clog10f.c (__clog10f): Likewise.
676 * math/s_clog10l.c (__clog10l): Likewise.
677 * math/s_clogf.c (__clogf): Likewise.
678 * math/s_clogl.c (__clogl): Likewise.
679 * math/Makefile (libm-calls): Add x2y2m1.
680 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
681 (__x2y2m1): Likewise.
682 (__x2y2m1l): Likewise.
683 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
684 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
685 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
686 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
687 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
688 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
689 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
690 * sysdeps/i386/fpu/libm-test-ulps: Update.
691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
692
b87c4b24
JM
693 [BZ #14621]
694 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
695 int as type of variable DEPTH.
696 (glob): Use size_t instead of int as type of variables NEWCOUNT
697 and OLD_PATHC.
698
6d3bf199
LD
6992012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
700
22bf5c17
LD
701 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
702 Add s_sincosf-sse2.
703 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
704 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
705 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
706 macros for using routine as __sincosf_ia32.
707 Use macro for function declaration and weak_alias.
708 * sysdeps/i386/fpu/libm-test-ulps: Update.
709
710 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
712
713 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
714 subnormal argument.
715 * math/s_cexpf.c (__cexpf): Likewise.
716 * math/s_csinf.c (__csinf): Likewise.
717 * math/s_csinhf.c (__csinhf): Likewise.
718 * math/s_ctanf.c (__ctanf): Likewise.
719 * math/s_ctanhf.c (__ctanhf): Likewise.
720 * math/s_ccosh.c (__ccoshf): Likewise.
721 * math/s_cexp.c (__cexpl): Likewise.
722 * math/s_csin.c (__csin): Likewise.
723 * math/s_csinh.c (__csinh): Likewise.
724 * math/s_ctan.c (__ctan): Likewise.
725 * math/s_ctanh.c (ctanh): Likewise.
726 * math/s_ccoshl.c (__ccoshl): Likewise.
727 * math/s_cexpl.c (__cexpl): Likewise.
728 * math/s_csinl.c (__csinl): Likewise.
729 * math/s_csinhl.c (__csinhl): Likewise.
730 * math/s_ctanl.c (__ctanl): Likewise.
731 * math/s_ctanhl.c (__ctanhl): Likewise.
732
203e5603
JM
7332012-09-25 Joseph Myers <joseph@codesourcery.com>
734
735 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
736 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
737 (_IO_off_t): Define to __off_t, not _G_off_t.
738 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
739 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
740 (_IO_wint_t): Define to wint_t, not _G_wint_t.
741 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
742 type of __dummy and __dummy2 fields.
743 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
744 (_G_ssize_t): Likewise.
745 (_G_off_t): Likewise.
746 (_G_pid_t): Likewise.
747 (_G_uid_t): Likewise.
748 (_G_wchar_t): Likewise.
749 (_G_wint_t): Likewise.
750 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
751 (_G_ssize_t): Likewise.
752 (_G_off_t): Likewise.
753 (_G_pid_t): Likewise.
754 (_G_uid_t): Likewise.
755 (_G_wchar_t): Likewise.
756 (_G_wint_t): Likewise.
757 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
758 (_G_ssize_t): Likewise.
759 (_G_off_t): Likewise.
760 (_G_pid_t): Likewise.
761 (_G_uid_t): Likewise.
762 (_G_wchar_t): Likewise.
763 (_G_wint_t): Likewise.
764
9fab36eb
SP
7652012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
766
767 * malloc/arena.c: Include malloc-sysdep.h.
768 (shrink_heap): Use check_may_shrink_heap to decide if madvise
769 is sufficient to shrink the heap or an unmap is needed.
770 * sysdeps/generic/malloc-sysdep.h: New file. Define
771 new function check_may_shrink_heap.
772 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
773 new function check_may_shrink_heap.
774
2b4f00d1
SP
7752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
776
777 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
778 comments.
779
9a9028b1
DL
7802012-09-24 Dmitry V. Levin <ldv@altlinux.org>
781
57c69bef
DL
782 * catgets/test-gencat.sh: Add "set -e".
783 * elf/tst-pathopt.sh: Likewise.
784 * grp/tst_fgetgrent.sh: Likewise.
785 * iconvdata/run-iconv-test.sh: Likewise.
786 * intl/tst-gettext.sh: Likewise.
787 * intl/tst-gettext2.sh: Likewise.
788 * intl/tst-gettext4.sh: Likewise.
789 * intl/tst-gettext6.sh: Likewise.
790 * intl/tst-translit.sh: Likewise.
791 * io/ftwtest-sh: Likewise.
792 * libio/test-freopen.sh: Likewise.
793 * malloc/tst-mtrace.sh: Likewise.
794 * posix/globtest.sh: Likewise.
795 * posix/tst-getconf.sh: Likewise.
796 * posix/wordexp-tst.sh: Likewise.
797 * stdio-common/tst-printf.sh: Likewise.
798 * stdio-common/tst-unbputc.sh: Likewise.
799 * stdlib/tst-fmtmsg.sh: Likewise.
800 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
801 * catgets/Makefile: Do not specify -e option when running
802 testsuite shell scripts.
803 * elf/Makefile: Likewise.
804 * grp/Makefile: Likewise.
805 * iconvdata/Makefile: Likewise.
806 * intl/Makefile: Likewise.
807 * io/Makefile: Likewise.
808 * libio/Makefile: Likewise.
809 * malloc/Makefile: Likewise.
810 * posix/Makefile: Likewise.
811 * stdio-common/Makefile: Likewise.
812 * stdlib/Makefile: Likewise.
813 * sysdeps/x86_64/Makefile: Likewise.
814
9a9028b1
DL
815 * io/ftwtest-sh: Add copyright header.
816 * posix/globtest.sh: Likewise.
817 * posix/tst-getconf.sh: Likewise.
818 * posix/wordexp-tst.sh: Likewise.
819 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
820
ced6f16e
L
8212012-09-24 H.J. Lu <hongjiu.lu@intel.com>
822
94b32c39
L
823 [BZ #13679]
824 * Makeconfig (+link): Defined as $(+link-static) if
825 $(build-shared) isn't yes.
826 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
827 isn't yes.
828 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
829
189e935b
L
830 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
831
ced6f16e
L
832 [BZ #14562]
833 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
834 new chunk size with MALLOC_ALIGN_MASK.
835
a9f8e53a
JM
8362012-09-24 Joseph Myers <joseph@codesourcery.com>
837
838 [BZ #5044]
839 * stdio-common/printf_fphex.c: Include <stdbool.h> and
840 <rounding-mode.h>.
841 (__printf_fphex): Determine rounding using get_rounding_mode and
842 round_away.
843 * stdio-common/tst-printf-round.c (struct hex_test): New
844 structure.
845 (hex_tests): New variable.
846 (test_hex_in_one_mode): New function.
847 (do_test): Also run tests for hex float output.
848
43153109
JM
8492012-09-21 Joseph Myers <joseph@codesourcery.com>
850
851 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
852 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
853 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
854 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
855 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
856 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
857 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
859
8a26625d
JM
8602012-09-20 Joseph Myers <joseph@codesourcery.com>
861
862 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
863 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
864 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
865 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
866
f3fd569c
DL
8672012-09-19 Dmitry V. Levin <ldv@altlinux.org>
868
869 [BZ #14579]
870 * elf/rtld.c (dl_main): Limit the check for self loading to normal
871 mode only.
872 * elf/tst-rtld-load-self.sh: New test.
873 * elf/Makefile: Run it.
874
63bbedd4
JM
8752012-09-18 Joseph Myers <joseph@codesourcery.com>
876
877 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
878 (tst-writev-ENV): Remove.
879 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
880
626f8b6a
CM
8812012-09-17 Chris Metcalf <cmetcalf@tilera.com>
882
883 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
884
b7aaa4d6
JM
8852012-09-17 Joseph Myers <joseph@codesourcery.com>
886
887 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
888 unconditional.
889 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
890 Likewise.
891 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
892 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
893 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
894 Likewise.
895
65513990
L
8962012-09-14 H.J. Lu <hongjiu.lu@intel.com>
897
898 [BZ #14587]
899 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
900 * config.make.in (have-cpp-asm-debuginfo): Removed.
901 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
902 * configure: Regenerated.
903
784761be
JM
9042012-09-14 Joseph Myers <joseph@codesourcery.com>
905
906 [BZ #5044]
907 * stdio-common/printf_fp.c: Include <stdbool.h> and
908 <rounding-mode.h>.
909 (___printf_fp): Determine rounding using get_rounding_mode and
910 round_away.
911 * stdio-common/tst-printf-round.c: New file.
912 * stdio-common/Makefile (tests): Add tst-printf-round.
913 (link-libm): New variable.
914 ($(objpfx)tst-printf-round): Depend in $(link-libm).
915
9503345f
L
9162012-09-13 H.J. Lu <hongjiu.lu@intel.com>
917
918 [BZ #14576]
919 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
920 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
921 Likewise.
922 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
923 Likewise.
924
ad35fc00
JM
9252012-09-13 Joseph Myers <joseph@codesourcery.com>
926
927 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
928 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
929 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
930 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
931
6c9b0f68
JM
9322012-09-12 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #14518]
935 * include/rounding-mode.h: New file.
936 * sysdeps/generic/get-rounding-mode.h: Likewise.
937 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
938 * stdlib/strtod_l.c: Include <rounding-mode.h>.
939 (MAX_VALUE): New macro.
940 (MIN_VALUE): Likewise.
941 (overflow_value): New function.
942 (underflow_value): Likewise.
943 (round_and_return): Use overflow_value and underflow_value to
944 determine return values in overflow and underflow cases. Use
945 round_away to determine rounding depending on rounding mode.
946 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
947 determine return values in overflow and underflow cases.
948 * stdlib/tst-strtod-round.c: Include <fenv.h>.
949 (struct test_results): New structure.
950 (struct test): Use struct test_results to store expected results
951 for all rounding modes.
952 (TEST): Include expected results for all rounding modes.
953 (test_in_one_mode): New function.
954 (do_test): Use test_in_one_mode to compute and check results.
955 Check results for all rounding modes.
956 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
957 $(link-libm).
958
19fcedd5
AM
9592012-12-09 Allan McRae <allan@archlinux.org>
960
961 * sysdeps/i386/fpu/libm-test-ulps: Update
962
8bbfd2f1
JM
9632012-09-11 Joseph Myers <joseph@codesourcery.com>
964
965 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
966 (_G_int32_t): Likewise.
967 (_G_uint16_t): Likewise.
968 (_G_uint32_t): Likewise.
969 (_G_HAVE_BOOL): Likewise.
970 (_G_HAVE_ATEXIT): Likewise.
971 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
972 (_G_HAVE_IO_FILE_OPEN): Likewise.
973 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
974 (_G_int32_t): Likewise.
975 (_G_uint16_t): Likewise.
976 (_G_uint32_t): Likewise.
977 (_G_HAVE_BOOL): Likewise.
978 (_G_HAVE_ATEXIT): Likewise.
979 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
980 (_G_HAVE_IO_FILE_OPEN): Likewise.
981 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
982 (_G_int32_t): Likewise.
983 (_G_uint16_t): Likewise.
984 (_G_uint32_t): Likewise.
985 (_G_HAVE_BOOL): Likewise.
986 (_G_HAVE_ATEXIT): Likewise.
987 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
988 (_G_HAVE_IO_FILE_OPEN): Likewise.
989
b1dc5912
L
9902012-09-11 H.J. Lu <hongjiu.lu@intel.com>
991
992 * csu/libc-tls.c: Update copyright years.
993
0e886ef9
JM
9942012-09-10 Joseph Myers <joseph@codesourcery.com>
995
28361c5e
JM
996 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
997 [!_G_USING_THUNKS]: Remove conditional code.
998 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
999 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1000
0e886ef9
JM
1001 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1002 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1003 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1004 (_G_VTABLE_LABEL_PREFIX): Likewise.
1005 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1006 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1007 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1008 (_G_VTABLE_LABEL_PREFIX): Likewise.
1009 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1010 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1011 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1012 (_G_VTABLE_LABEL_PREFIX): Likewise.
1013 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1014
bcba7aa2
L
10152012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1016
1017 * libio/Makefile: Include ../Makeconfig before tests.
1018 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1019 only if $(build-shared) is yes.
1020
06585ee8
L
1021 * iconv/gconv_db.c: Update copyright years.
1022
80ccd52c
LD
10232012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1024
1025 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1026 unwind info if defined PIC. Fix special cases description.
1027 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1028
1029 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1030 DP_HI_MASK entry.
1031 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1032
691bc9c1
L
10332012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1034
3d9b46b3
L
1035 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1036
de2139a9
L
1037 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1038 is NULL.
1039
5ca78dd0
L
1040 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1041 (LDLIBS-tst-chk4): This.
1042 (LDFLAGS-tst-chk5): Renamed to ...
1043 (LDLIBS-tst-chk5): This.
1044 (LDFLAGS-tst-chk6): Renamed to ...
1045 (LDLIBS-tst-chk6): This.
1046 (LDFLAGS-tst-lfschk4): Renamed to ...
1047 (LDLIBS-tst-lfschk4): This.
1048 (LDFLAGS-tst-lfschk5): Renamed to ...
1049 (LDLIBS-tst-lfschk5): This.
1050 (LDFLAGS-tst-lfschk6): Renamed to ...
1051 (LDLIBS-tst-lfschk6): This.
1052
691bc9c1
L
1053 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1054 on $(common-objpfx)soversions.mk.
1055
65cafb1c
JM
10562012-09-07 Joseph Myers <joseph@codesourcery.com>
1057
1058 [BZ #10014]
1059 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1060 example host name.
1061
c78ab094
SP
10622012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1063
1064 * malloc/arena.c (arena_get_retry): New function that gets
1065 another arena for the caller to try its request on.
1066 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1067 current arena cannot fulfill the request.
1068 (__libc_memalign): Likewise.
1069 (__libc_memalign): Likewise.
1070 (__libc_pvalloc): Likewise.
1071 (__libc_calloc): Likewise.
1072
01f49f59
JT
10732012-09-05 John Tobey <john.tobey@gmail.com>
1074
1075 [BZ #13542]
1076 * manual/arith.texi (Operations on Complex): Fix description
1077 of carg branch cut.
1078
4c23fed5
JM
10792012-09-06 Joseph Myers <joseph@codesourcery.com>
1080
1d3c8572
JM
1081 [BZ #10014]
1082 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1083 host name.
1084
4c23fed5
JM
1085 [BZ #10038]
1086 * manual/memory.texi (Memory): Make order of menu items match
1087 order of sections.
1088
04570aaa
L
10892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1092 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1093 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1094
b80af2f4
L
10952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1096
1097 * csu/libc-tls.c (static_dtv): Renamed to ...
1098 (_dl_static_dtv): This. Make it global.
1099 (_dl_initial_dtv): Removed.
1100 (__libc_setup_tls): Updated.
1101 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1102 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1103 DL_INITIAL_DTV.
1104
2abe9f15
PM
11052012-09-06 Petr Machata <pmachata@redhat.com>
1106
1107 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1108 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1109 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1110 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1111
0948c3af
L
11122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1113
1114 [BZ #14545]
1115 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1116 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1117 freeing dtv[-1].
1118
a5055ad1
L
11192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1120
1121 [BZ #14544]
1122 * Makeconfig (link-static-before-libc): Replace $(+prector)
1123 with $(+prectorT).
1124 (link-static-after-libc): Replace $(+postctor) with
1125 $(+postctorT).
1126 (link-bounded): Replace $(+prector)/$(+postctor) with
1127 $(+prectorT)/$(+postctorT).
1128 (+prectorT): New macro.
1129 (+postctorT): Likewise.
1130
ed8c2ecd
JM
11312012-09-06 Joseph Myers <joseph@codesourcery.com>
1132
1133 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1134 (round_str): Handle values above the maximum for IBM long double
1135 as inexact.
1136 * stdlib/tst-strtod-round.c (tests): Regenerated.
1137
14c996c8
AK
11382012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1139
1140 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1141 assembler flag.
1142 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1143 zarch_nohighgprs around the zarch optimized routines.
1144 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1145 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1146 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1147 for zarch.
1148
430d6ce6
DM
11492012-09-05 David S. Miller <davem@davemloft.net>
1150
1151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1152
ff04dda4
DM
1153 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1154 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1155 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1156 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1157 entries.
1158
24d4e01b
AO
11592012-09-05 Alexandre Oliva <aoliva@redhat.com>
1160
1161 * malloc/arena.c: Fold copyright years.
1162 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1163
61d58174
AO
11642012-09-05 Alexandre Oliva <aoliva@redhat.com>
1165
1166 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1167
20196a5e
AO
11682012-09-05 Alexandre Oliva <aoliva@redhat.com>
1169
1170 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1171
5c447383
AO
11722012-09-05 Alexandre Oliva <aoliva@redhat.com>
1173
1174 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1175 change internal state upon failure.
1176
fad64255
AO
11772012-09-05 Alexandre Oliva <aoliva@redhat.com>
1178
1179 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1180 * malloc/memusage.c (mmap): Likewise.
1181 (mmap64, mremap): Likewise. Adjust name in comment.
1182
1ffb8c90
SP
11832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
1185 * libio/fileops.c: Fix typos in comments.
1186 * libio/oldfileops.c: Likewise.
1187 * libio/wfileops.c: Likewise.
1188
6ef9cc37
SP
11892012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1190
1191 [BZ #1349]
1192 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1193 (tst-malloc-usable-ENV): Set environment for test case.
1194 * malloc/hooks.c (malloc_check_get_size): New function to get
1195 requested size.
1196 * malloc/malloc.c (musable): Use malloc_check_get_size.
1197 * malloc/tst-malloc-usable.c: New test case.
1198
4d038ae3
AS
11992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1200
1201 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1202
c4e85184
AM
12032012-09-05 Allan McRae <allan@archlinux.org>
1204
b9dafc56 1205 [BZ #13966]
c4e85184
AM
1206 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1207 determine header location.
1208 * configure: Regenerated.
1209
e1343020
AS
12102012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1211
1212 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1213 float format.
1214 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1215 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1216 format.
e1343020
AS
1217 (test): Regenerate.
1218
0a9f1987
DM
12192012-09-04 David S. Miller <davem@davemloft.net>
1220
1221 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1222 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1223 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1224
29237804
FW
12252012-09-04 Florian Weimer <fweimer@redhat.com>
1226
1227 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1228 failures.
1229
edb3cb88
FW
1230 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1231
60160d83
JM
12322012-09-04 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #9914]
1235 * libio/iogetdelim.c: Include <limits.h>.
1236 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1237 + len + 1 would overflow.
1238
bcd6c8dc
AJ
12392012-09-03 Andreas Jaeger <aj@suse.de>
1240
1241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1242 * sysdeps/i386/fpu/libm-test-ulps: Update.
1243
4ffffbd2
LD
12442012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1245
1246 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1247 Add s_sinf-sse2, s_conf-sse2.
1248
1249 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1251 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1252 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1253
1254 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1255 for using routine as __sinf_ia32.
1256 Use macro for function declaration and weak_alias.
1257 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1258 for using routine as __cosf_ia32.
1259 Use macro for function declaration and weak_alias.
1260
1261 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1262 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1263
1264 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1265 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1267
1268 * math/libm-test.inc (cos_test): Add more test cases.
1269 (sin_test): Likewise.
1270 (sincos_test): Likewise.
1271
511fa286
AK
12722012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1273
1274 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1275 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1276 hidden.
1277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1278
5f30cfec
L
12792012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1280
1281 [BZ #14538]
1282 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1283 first element of the GOT.
1284 (elf_machine_load_address): Return the difference between
1285 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1286
0786794f
AM
12872012-09-01 Allan McRae <allan@archlinux.org>
1288
5f30cfec
L
1289 [BZ #13412]
1290 * configure.in (AWK): Require gawk version 3.0 or later.
1291 * configure: Regenerated.
0786794f 1292
26889eac
JM
12932012-09-01 Joseph Myers <joseph@codesourcery.com>
1294
1295 * sysdeps/unix/sysv/linux/kernel-features.h
1296 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1298 [__NR_clock_getres]: Make code unconditional.
1299 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1300 (clock_getcpuclockid): Remove code left unreachable by removal of
1301 conditionals.
1302 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1303 code unconditional.
1304 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1305 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1306 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1307 Make code unconditional.
1308 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1309 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1310 * sysdeps/unix/sysv/linux/clock_settime.c
1311 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1312 conditional code.
1313 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1315
d22e28b0
L
13162012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 [BZ #14476]
1319 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1320 scripts/test-installation.pl.
1321
1322 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1323 and $ld_so_version if it is set.
1324
050af9c4
SP
13252012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1326
1327 [BZ #14516]
1328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1329 failure if reading from procfs failed.
1330 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1331
ad845c0b
JM
13322012-08-27 Joseph Myers <joseph@codesourcery.com>
1333
1334 * sysdeps/unix/sysv/linux/kernel-features.h
1335 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1336 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1337 Remove conditional code.
1338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1339 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1340 Remove conditional code.
1341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1342 * sysdeps/unix/sysv/linux/i386/fxstat.c
1343 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1345 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1346 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1348 * sysdeps/unix/sysv/linux/i386/lxstat.c
1349 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1351 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1352 Remove conditional code.
1353 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1354 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1355 Remove conditional code.
1356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1357 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1358 <kernel-features.h>.
1359 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1360 Remove.
1361 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1362 Remove conditional code.
1363 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1364 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1365 Remove conditional.
1366
5dbf56af
MF
13672012-08-27 Mike Frysinger <vapier@gentoo.org>
1368
1369 [BZ #5400]
1370 * NEWS: Add fixed bug number.
1371
d6e70f43
JM
13722012-08-27 Joseph Myers <joseph@codesourcery.com>
1373
7efb4737
JM
1374 [BZ #14519]
1375 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1376 underflowing exponent in case of negative sign.
1377 * stdlib/tst-strtod-round-data: Add more tests.
1378 * stdlib/tst-strtod-round.c (tests): Regenerated.
1379
af92131a
JM
1380 [BZ #3479]
1381 * stdlib/strtod_l.c (NDIG): Remove.
1382 (HEXNDIG): Likewise.
1383 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1384 smallest representable value.
1385 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1386 lie within an exact representation of 1/2 ulp of the result.
1387 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1388 unconditionally.
1389 (TENS_P9_IDX): Define unconditionally.
1390 (TENS_P9_SIZE): Likewise.
1391 (TENS_P10_IDX): Likewise.
1392 (TENS_P10_SIZE): Likewise.
1393 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1394 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1395 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1396 entries for 10^2^13 and 10^2^14.
1397 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1398 (TENS_P13_IDX): Define.
1399 (TENS_P13_SIZE): Likewise.
1400 (TENS_P14_IDX): Likewise.
1401 (TENS_P14_SIZE): Likewise.
1402 (_fpioconst_pow10): Change array size to
1403 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1404 unconditional.
1405 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1406 1024]: Add entries for 10^2^13 and 10^2^14.
1407 [LAST_POW10 > _LAST_POW10]: Remove #error.
1408 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1409 (_fpioconst_pow10): Change array size to
1410 FPIOCONST_POW10_ARRAY_SIZE.
1411 * stdlib/gen-fpioconst.c: New file.
1412 * stdlib/gen-tst-strtod-round.c: Likewise.
1413 * stdlib/tst-strtod-round-data: Likewise.
1414 * stdlib/tst-strtod-round.c: Likewise.
1415 * stdlib/Makefile (tests): Add tst-strtod-round.
1416
d6e70f43
JM
1417 [BZ #14459]
1418 * stdlib/strtod_l.c: Include <stdint.h>.
1419 (NDEBUG): Do not define.
1420 (round_and_return): Change EXPONENT parameter to type intmax_t.
1421 Rearrange calculations to avoid internal overflow possibilities.
1422 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1423 Rearrange calculations to avoid internal overflow possibilities.
1424 Assert that number fits inside MPNSIZE limbs.
1425 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1426 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1427 calculations and add assertions to avoid internal overflow
1428 possibilities. Add casts to avoid signed/unsigned operations.
1429 * stdlib/tst-strtod-overflow.c: New file.
1430 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1431
1f529f7d
MP
14322012-08-25 Marek Polacek <polacek@redhat.com>
1433
1434 * time/time.h: Fix some typos in comments.
1435
59a629f1
RM
14362012-08-23 Roland McGrath <roland@hack.frob.com>
1437
1438 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1439 * posix/tst-rfc3484-2.c: Likewise.
1440 * posix/tst-rfc3484-3.c: Likewise.
1441
d3bafbc9
SM
14422012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1443
1444 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1445 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1446
4efcc022
JM
14472012-08-23 Joseph Myers <joseph@codesourcery.com>
1448
1449 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1450 #include of fxstatat64.c.
1451
3cc3ef96
RM
14522012-08-22 Roland McGrath <roland@hack.frob.com>
1453
f04e2132
RM
1454 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1455 * shadow/getspent_r.c: Likewise.
1456 * shadow/getspnam.c: Likewise.
1457 * shadow/getspnam_r.c: Likewise.
1458 * gshadow/getsgent.c: Likewise.
1459 * gshadow/getsgent_r.c: Likewise.
1460 * gshadow/getsgnam.c: Likewise.
1461 * gshadow/getsgnam_r.c: Likewise.
1462 * inet/getnetbyad.c: Likewise.
1463 * inet/getnetbyad_r.c: Likewise.
1464 * inet/getnetbynm.c: Likewise.
1465 * inet/getnetbynm_r.c: Likewise.
1466 * inet/getnetent.c: Likewise.
1467 * inet/getnetent_r.c: Likewise.
1468 * inet/getproto.c: Likewise.
1469 * inet/getproto_r.c: Likewise.
1470 * inet/getprtent.c: Likewise.
1471 * inet/getprtent_r.c: Likewise.
1472 * inet/getprtname.c: Likewise.
1473 * inet/getprtname_r.c: Likewise.
1474 * inet/getrpcbyname.c: Likewise.
1475 * inet/getrpcbyname_r.c: Likewise.
1476 * inet/getrpcbynumber.c: Likewise.
1477 * inet/getrpcbynumber_r.c: Likewise.
1478 * inet/getrpcent.c: Likewise.
1479 * inet/getrpcent_r.c: Likewise.
1480 * inet/getaliasent.c: Likewise.
1481 * inet/getaliasent_r.c: Likewise.
1482 * inet/getaliasname.c: Likewise.
1483 * inet/getaliasname_r.c: Likewise.
1484 * nscd/getgrgid_r.c: Likewise.
1485 * nscd/getgrnam_r.c: Likewise.
1486 * nscd/gethstbyad_r.c: Likewise.
1487 * nscd/gethstbynm3_r.c: Likewise.
1488 * nscd/getpwnam_r.c: Likewise.
1489 * nscd/getpwuid_r.c: Likewise.
1490 * nscd/getsrvbynm_r.c: Likewise.
1491 * nscd/getsrvbypt_r.c: Likewise.
1492 * nscd/gai.c: Likewise.
1493
c53d909c
RM
1494 * configure.in (build_nscd): New substituted variable, set
1495 by --disable-build-nscd and defaults to $use_nscd.
1496 * configure: Regenerated.
1497 * config.make.in (build-nscd): New substituted variable.
1498 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1499 Change conditional to require [$(build-nscd) = yes] as well.
1500 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1501
3cc3ef96
RM
1502 [BZ# 13696]
1503 * configure.in (use_nscd): New substituted variable, set by
1504 --disable-nscd. If enabled, define USE_NSCD.
1505 * configure: Regenerated.
1506 * config.h.in: Add USE_NSCD.
1507 * config.make.in (use-nscd): New substituted variable.
1508 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1509 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1510 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1511 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1512 (CFLAGS-getgrnam_r.c): Likewise.
1513 (CFLAGS-initgroups.c): Likewise.
1514 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1515 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1516 Variables removed.
1517 * inet/getnetgrent_r.c
1518 (nscd_setnetgrent): New function, broken out of ...
1519 (setnetgrent): ... here. Call it.
1520 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1521 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1522 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1523 * nscd/Makefile (routines, aux): Move definitions after include of
1524 Makeconfig. Conditionalize on [$(use-nscd) != no].
1525 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1526 Conditionalize on [USE_NSCD].
1527 (is_nscd, nscd_init_cb): Likewise.
1528 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1529 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1530 * nss/nss_db/db-init.c: Likewise.
1531 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1532 [USE_NSCD].
1533 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1534 (make_request): Use it.
1535 (cache_valid_p): New function.
1536 (__check_pf): Use it.
1537 * NEWS: Add item for --disable-nscd.
1538
07e51550
DL
15392012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1540
1541 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1542 to support sed >= 4.2.1-20-ga9bf076.
1543 * configure: Regenerated.
1544
35a5b08b
RM
15452012-08-22 Roland McGrath <roland@hack.frob.com>
1546
1547 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1548 Conditionalize whole body on [IREL].
1549
8479f23a
JL
15502012-08-22 Jeff Law <law@redhat.com>
1551
1552 [BZ #14505]
1553 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1554 if the family is PF_UNSPEC.
1555
48da0b21
MF
15562012-08-22 Mike Frysinger <vapier@gentoo.org>
1557
1558 * Makerules (lib-version): Rename from V.
1559 (install-lib-nosubdir): Change V to lib-version.
1560
15d0da8c
WS
15612012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1562
1563 [BZ #14252]
1564 * powerpc32/power6/wcschr.c: New file.
1565 * powerpc32/power6/wcscpy.c: New file.
1566 * powerpc32/power6/wcsrchr.c: New file.
1567 * powerpc64/power6/wcschr.c: New file.
1568 * powerpc64/power6/wcscpy.c: New file.
1569 * powerpc64/power6/wcsrchr.c: New file.
1570
bcca0895
MK
15712012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1572
1573 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1574 (two_way_short_needle): Use it.
5a4aaa33
RM
1575 * string/strstr.c (AVAILABLE1_USES_J): Define.
1576 * string/strcasestr.c: Likewise.
99677e57
MK
1577
1578 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1579 array references.
1580 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1581
400726de
MK
1582 [BZ #11607]
1583 * NEWS: Add an entry.
1584 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1585 define their defaults.
1586 (two_way_short_needle): Detect end-of-string on-the-fly.
1587 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1588 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1589 * string/bug-strcasestr1.c: New test.
1590 * string/Makefile: Run it.
1591
20a71f2c
MK
15922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1593
1594 [BZ #11607]
1595 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1596 the first character.
1597
21ad0558
RM
15982012-08-21 Roland McGrath <roland@hack.frob.com>
1599
1600 * csu/elf-init.c (__libc_csu_irel): Function removed.
1601 * csu/libc-start.c (apply_irel): New function.
1602 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1603
0e1d9911
JM
16042012-08-21 Joseph Myers <joseph@codesourcery.com>
1605
1606 * sysdeps/unix/sysv/linux/kernel-features.h
1607 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1608 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1609 <kernel-features.h>.
1610 [__NR_fadvise64_64]: Make code unconditional.
1611 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1612 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1613 !__NR_fadvise64_64)]: Likewise.
1614 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1615 !__NR_fadvise64_64))]: Likewise.
1616 [__NR_fadvise64]: Make code unconditional.
1617 [!__NR_fadvise64]: Remove conditional code.
1618 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1619 <kernel-features.h>.
1620 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1621 unconditional.
1622 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1623 conditional code.
1624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1625 not include <kernel-features.h>.
1626 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1627 unconditional.
1628 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1629 conditional code.
1630 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1631 include <kernel-features.h>.
1632 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1633 unconditional.
1634 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1635 conditional code.
1636
14a50c9d
WS
16372012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1638
1639 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1640 slight instruction rearrangements per scrollpipe analysis.
1641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1642
c0f4faf0
RM
16432012-08-20 Roland McGrath <roland@hack.frob.com>
1644
696da859
RM
1645 * manual/syslog.texi (syslog; vsyslog, closelog):
1646 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1647 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1648
c0f4faf0
RM
1649 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1650 DSOCAPS to match condition on defining it.
1651
348363b2
JM
16522012-08-20 Joseph Myers <joseph@codesourcery.com>
1653
a35cbf28
JM
1654 * sysdeps/unix/sysv/linux/kernel-features.h
1655 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1657 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1658 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1660 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1661 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1663 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1664 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1665
445f7ecd
JM
1666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1667 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1668
348363b2
JM
1669 * sysdeps/unix/sysv/linux/kernel-features.h
1670 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1671 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1672 unconditional.
1673 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1674 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1677 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1678 Make code unconditional.
1679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1680 (__mmap64) [!__NR_mmap2]: Likewise.
1681 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1682 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1683 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1684 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1685 [__NR_mmap2]: Make code unconditional.
1686 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1687 (__mmap64) [!__NR_mmap2]: Likewise.
1688
bc5bc0e5
AK
16892012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1690
1691 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1692
88d506de
AJ
16932012-08-18 Andreas Jaeger <aj@suse.de>
1694
1695 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1696
493387d2
MF
16972012-08-18 Mike Frysinger <vapier@gentoo.org>
1698
1699 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1700 * include/unistd.h (__have_sock_cloexec): Likewise.
1701 (__have_pipe2): Likewise.
1702 (__have_dup3): Likewise.
1703
a277af22
MF
17042012-08-18 Mike Frysinger <vapier@gentoo.org>
1705
1706 [BZ #9685]
1707 * include/unistd.h (__have_pipe2): Change define into an extern int.
1708 (__have_dup3): Likewise.
1709 * socket/have_sock_cloexec.c: Include fcntl.h.
1710 (__have_pipe2): New variable.
1711 (__have_dup3): Likewise.
1712
fdab8fd3
MF
17132012-08-17 Mike Frysinger <vapier@gentoo.org>
1714
1715 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1716
31035e80
MP
17172012-08-17 Marek Polacek <polacek@redhat.com>
1718
1719 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1720 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1721
3bd9e993
RM
17222012-08-17 Roland McGrath <roland@hack.frob.com>
1723
c91c505f
RM
1724 * configure.in: Add AC_SUBST for sysheaders.
1725 * configure: Regenerated.
1726 * config.make.in (sysheaders): New substituted variable.
1727
7c6f9d53
RM
1728 * sysdeps/unix/mkfifo.c: Moved ...
1729 * sysdeps/posix/mkfifo.c: ... here.
1730 * sysdeps/unix/mkfifoat.c: Moved ...
1731 * sysdeps/posix/mkfifoat.c: ... here.
1732
1733 * sysdeps/unix/utime.c: Moved ...
1734 * sysdeps/posix/utime.c: ... here.
1735
1736 * sysdeps/unix/time.c: Moved ...
1737 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1738 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1739 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1740
1741 * sysdeps/unix/nice.c: Moved ...
1742 * sysdeps/posix/nice.c: ... here.
1743
1744 * sysdeps/unix/alarm.c: Moved ...
1745 * sysdeps/posix/alarm.c: ... here.
1746
3bd9e993
RM
1747 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1748
d1f09384
JL
17492012-08-17 Jeff Law <law@redhat.com>
1750
1751 * intl/Makefile (codeset_mo): New variable.
1752 ($(codeset_mo)): New target.
1753 (tst-codeset.out): Depend on that. Remove explicit rule.
1754 (tst-gettext3.out, tst-gettext5.out): Likewise.
1755 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1756 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1757 * intl/tst-codeset.sh: Remove.
1758 * intl/tst-gettext3.sh: Likewise.
1759 * intl/tst-gettext5.sh: Likewise.
1760
2ae1ae5c
RM
17612012-08-17 Roland McGrath <roland@hack.frob.com>
1762
c31fdb83
RM
1763 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1764 * sysdeps/unix/syscalls.list: ... here.
1765
a0844057
RM
1766 * sysdeps/posix/getaddrinfo.c
1767 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1768 (gaiconf_init, gaiconf_reload): Use them.
1769 [!_STATBUF_ST_NSEC]
1770 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1771 Define using time_t rather than struct timespec.
1772
750c1f2a
RM
1773 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1774 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1775 Macros removed.
1776 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1777 [!NO_THREADS].
1778 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1779 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1780 Likewise.
1781
2ae1ae5c
RM
1782 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1783 __libc_cleanup_push argument.
1784
e66a42f5
RM
1785 * bits/param.h: New file.
1786 * misc/sys/param.h: New file.
1787 * include/sys/param.h: New file.
1788 * misc/Makefile (headers): Add bits/param.h.
1789 * sysdeps/generic/sys/param.h: File removed.
1790 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1791 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1792 * sysdeps/mach/hurd/bits/param.h: New file.
1793 * sysdeps/mach/hurd/sys/param.h: New file.
1794
b7c08a66
RM
1795 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1796 last change.
1797
b2e1c562
RM
1798 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1799 [_IO_MTSAFE_IO].
1800 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1801 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1802 New macros.
1803
c75ccd4c
RM
1804 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1805 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1806 rather than -D_IO_MTSAFE_IO conditionally.
1807 * stdio-common/Makefile (CPPFLAGS): Likewise.
1808 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1809 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1810 Use $(libio-mtsafe).
1811 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1812 of -D_IO_MTSAFE_IO.
1813 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1814 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1815 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1816 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1817 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1818 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1819 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1820 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1821 (CFLAGS-fread_u_chk.c): Likewise.
1822 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1823 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1824 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1825 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1826 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1827 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1828 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1829 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1830 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1831
1832 * libio/Makefile: Test [$(libc-reentrant) = yes]
1833 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1834
1835 * Makeconfig
1836 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1837 * sysdeps/pthread/configure: File removed.
1838 * sysdeps/pthread/Makeconfig: New file.
1839 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1840 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1841
d9195db8
GB
18422012-08-16 Gary Benson <gbenson@redhat.com>
1843
1844 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1845 unmapping the first object in a namespace.
1846
86466cd9
RM
18472012-08-16 Roland McGrath <roland@hack.frob.com>
1848
1849 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1850 (__internal_setnetgrent): ... this. Add internal_function to
1851 definition. Add libc_hidden_def.
1852 (setnetgrent): Update caller.
1853 (internal_endnetgrent): Renamed to ...
1854 (__internal_endnetgrent): ... this. Add internal_function to
1855 definition. Add libc_hidden_def.
1856 (endnetgrent): Update caller.
1857 (internal_getnetgrent_r): Renamed to ...
1858 (__internal_getnetgrent_r): ... this. Add internal_function to
1859 definition. Add libc_hidden_def.
1860 (__getnetgrent_r): Update caller.
1861 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1862
c3c8283c
JM
18632012-08-16 Joseph Myers <joseph@codesourcery.com>
1864
1865 * stdlib/longlong.h: Update from GCC.
1866
db1ee0a8
RM
18672012-08-16 Roland McGrath <roland@hack.frob.com>
1868
1869 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1870 on _QL, which is set by umul_ppmm but never used.
1871 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1872 variables, which are set by GMP macros but never used.
1873 * stdio-common/_itowa.c (_itowa): Likewise.
1874 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1875 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1876
30f69637
CD
18772012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1878
1879 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1880 struct La_sh_regs is not constant.
1881 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1882 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1883 and struct La_sparc64_regs are not constant.
1884
93a78ac4
JM
18852012-08-16 Joseph Myers <joseph@codesourcery.com>
1886
1887 * sysdeps/unix/sysv/linux/kernel-features.h
1888 (__ASSUME_POSIX_TIMERS): Remove.
1889 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1891 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1892 Make code unconditional.
1893 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1894 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1895 Make code unconditional.
1896 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1897 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1898 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1899 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1900 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1901 Make code unconditional.
1902 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1903 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1904 (__libc_missing_posix_timers): Remove.
1905
dd924cd7
RM
19062012-08-15 Roland McGrath <roland@hack.frob.com>
1907
4b4f2771
RM
1908 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1909 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1910
601c888b
RM
1911 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1912
176790a7
RM
1913 * elf/dl-sym.c: Include <stdlib.h>.
1914
329bc018
RM
1915 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1916 constants, which avoids warnings in 32-bit builds.
1917
e04e272d
RM
1918 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1919 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1920
952bf94a
RM
1921 * misc/lseek.c: File moved to ...
1922 * io/lseek.c: ... here.
1923
7c99b50a
RM
1924 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1925
dd924cd7
RM
1926 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1927 shifting LEN more than 31 bits at once.
1928
b3f479a8
LD
19292012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1930
1931 [BZ #14195]
8c4ae0d4
RM
1932 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1933 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1934 * string/test-strncasecmp.c (check1): Renamed to...
1935 (bz12205): ...this.
1936 (bz14195): Add new testcase for two empty input strings and N > 0.
1937 (test_main): Call new testcase, adapt for renamed function.
1938
9c55864e
AJ
19392012-08-15 Andreas Jaeger <aj@suse.de>
1940
1941 [BZ #14090]
1942 * crypt/md5test2.c: New test, based on test supplied by Serge
1943 Belyshev <belyshev@depni.sinp.msu.ru>.
1944 * crypt/Makefile (xtests): Add md5test-giant..
1945 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1946
02dcb6c5
PE
19472012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1948
1949 [BZ #14090]
1950 * crypt/md5.c (md5_process_block): Don't assume the buffer
1951 length is less than 2**32.
1952 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1953 length is less than 2**64.
1954
a3f95dcc
RM
19552012-08-15 Roland McGrath <roland@hack.frob.com>
1956
be75d758
RM
1957 * string/str-two-way.h: Include <sys/param.h>.
1958 (MAX): Macro removed.
1959
7312ca90
RM
1960 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1961 Move #define and #undef of memmove to just before and after
1962 including <string.h>.
1963
9a0a5486
RM
1964 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1965 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1966 and after including <string.h>. Move declarations of
1967 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1968 to before #include "string/memmove.c".
1969
67cc348d
RM
1970 * include/dirent.h: Declare __getdirentries.
1971
a3f95dcc
RM
1972 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1973 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1974
ca98e171
MF
19752012-08-14 Mike Frysinger <vapier@gentoo.org>
1976
1977 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1978 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1979 * sysdeps/i386/configure: Regenerated.
1980 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1981 STABS_CURRENT_FILE, and STABS_FUN.
1982 (END): Remove call to STABS_FUN_END.
1983 (STABS_CURRENT_FILE1): Delete.
1984 (STABS_CURRENT_FILE): Likewise.
1985 (STABS_FUN): Likewise.
1986 (STABS_FUN_END): Likewise.
1987 (STABS_FUN2): Likewise.
1988 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
1989 * sysdeps/x86_64/configure: Regenerated.
1990
5908bf46
RM
19912012-08-14 Roland McGrath <roland@hack.frob.com>
1992
1993 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 1994 * elf/dl-lookup.c: Likewise.
5908bf46 1995
f2c05b9e
JM
19962012-08-14 Joseph Myers <joseph@codesourcery.com>
1997
1998 * sysdeps/unix/sysv/linux/kernel-features.h
1999 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2000 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2001 unconditionally.
2002 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2003 unconditionally.
2004 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2005 condition on __ASSUME_CLONE_THREAD_FLAGS.
2006
e11f5155
AJ
20072012-08-14 Andreas Jaeger <aj@suse.de>
2008
2009 * sysdeps/i386/fpu/libm-test-ulps: Update.
2010
51a9ba86
MK
20112012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2012
2fdd4f78
AJ
2013 * include/atomic.h (atomic_exchange_and_add): Split into ...
2014 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2015 New atomic macros.
51a9ba86 2016
ba6cba9e
MT
20172012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2018
2019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2020
42443a47
JL
20212012-08-13 Jeff Law <law@redhat.com>
2022
2023 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2024 null byte in the output string.
2025
121dce05
JM
20262012-08-10 Joseph Myers <joseph@codesourcery.com>
2027
2028 * sysdeps/unix/sysv/linux/kernel-features.h
2029 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2030 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2031 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2032 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2033 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2034 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2035 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2036
bf51f568
JL
20372012-08-09 Jeff Law <law@redhat.com>
2038
2039 [BZ #13939]
2040 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2041 When avoid_arena is set, don't retry in the that arena. Pick the
2042 next one, whatever it might be.
2043 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2044 (arena_lock): Pass in new parameter to arena_get2.
2045 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2046 arena_get2.
2047 (__libc_malloc): Unify retrying after main arena failure with
2048 __libc_memalign version.
2049 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2050
f85fa270
L
20512012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2052
2053 [BZ #14166]
2054 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2055 to __redirect_strstr.
2056 (__strstr_sse42): Use typeof __redirect_strstr.
2057 (__strstr_ia32): Likewise.
2058 (__libc_strstr): New prototype.
2059 (strstr): Renamed to ...
2060 (__libc_strstr): This.
2061 (strstr): New strong alias of __libc_strstr.
2062 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2063 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2064 __redirect_time.
2065 Include <time.h>.
2066 (__libc_time): New prototype.
2067 (time_ifunc): Replace time with __libc_time.
2068 (time): New strong alias and hidden definition of __libc_time.
2069 (__GI_time): Remove strong alias.
2070 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2071 Include <stddef.h>.
2072 (memmove): Redefined to __redirect_memmove.
2073 (__memmove_sse2): Use typeof __redirect_memmove.
2074 (__memmove_ssse3): Likewise.
2075 (__memmove_ssse3_back): Likewise.
2076 (__libc_memmove): New prototype.
2077 (memmove): Renamed to ...
2078 (__libc_memmove): This.
2079 (memmove): New strong alias of __libc_memmove.
2080
33b4a91e
MS
20812012-08-08 Mark Salter <msalter@redhat.com>
2082
2083 * elf/elf.h
2084 (R_MN10300_TLS_GD): Define.
2085 (R_MN10300_TLS_LD): Likewise.
2086 (R_MN10300_TLS_LDO): Likewise.
2087 (R_MN10300_TLS_GOTIE): Likewise.
2088 (R_MN10300_TLS_IE): Likewise.
2089 (R_MN10300_TLS_LE): Likewise.
2090 (R_MN10300_TLS_DTPMOD): Likewise.
2091 (R_MN10300_TLS_DTPOFF): Likewise.
2092 (R_MN10300_TLS_TPOFF): Likewise.
2093 (R_MN10300_SYM_DIFF): Likewise.
2094 (R_MN10300_ALIGN): Likewise.
2095 (R_MN10300_NUM): Update.
2096
b36137f1
JM
20972012-08-08 Joseph Myers <joseph@codesourcery.com>
2098
2099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2100 Remove.
2101
cdd915fd
RM
21022012-08-08 Roland McGrath <roland@hack.frob.com>
2103
a2433aac
RM
2104 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2105
cdd915fd
RM
2106 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2107 sysdeps/unix -> sysdeps/posix move.
2108 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2109
bf9b740a
AM
21102012-08-07 Allan McRae <allan@archlinux.org>
2111
2112 [BZ #14303]
2113 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2114 (SUNOS_CPP): Likewise.
2115 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2116 not found.
2117 (open_input): Call CPP using execvp.
2118
93df14ee
JM
21192012-08-07 Joseph Myers <joseph@codesourcery.com>
2120
2121 * sysdeps/unix/sysv/linux/kernel-features.h
2122 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2123 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2124 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2125 (__ASSUME_WAITID_SYSCALL): Likewise.
2126 * sysdeps/unix/sysv/linux/dl-execstack.c
2127 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2128 code unconditional.
2129 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2130 conditional code.
2131 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2132 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2133 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2134 code.
2135 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2136 unconditional.
2137 [__ASSUME_WAITID_SYSCALL]: Likewise.
2138 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2139
d34689de
RM
21402012-08-07 Roland McGrath <roland@hack.frob.com>
2141
a281decc
RM
2142 * sysdeps/unix/closedir.c: Renamed to ...
2143 * sysdeps/posix/closedir.c: ... here.
2144 * sysdeps/unix/dirfd.c: Renamed to ...
2145 * sysdeps/posix/dirfd.c: ... here.
2146 * sysdeps/unix/dirstream.h: Renamed to ...
2147 * sysdeps/posix/dirstream.h: ... here.
2148 * sysdeps/unix/fdopendir.c: Renamed to ...
2149 * sysdeps/posix/fdopendir.c: ... here.
2150 * sysdeps/unix/opendir.c: Renamed to ...
2151 * sysdeps/posix/opendir.c: ... here.
2152 * sysdeps/unix/readdir.c: Renamed to ...
2153 * sysdeps/posix/readdir.c: ... here.
2154 * sysdeps/unix/readdir_r.c: Renamed to ...
2155 * sysdeps/posix/readdir_r.c: ... here.
2156 * sysdeps/unix/rewinddir.c: Renamed to ...
2157 * sysdeps/posix/rewinddir.c: ... here.
2158 * sysdeps/unix/seekdir.c: Renamed to ...
2159 * sysdeps/posix/seekdir.c: ... here.
2160 * sysdeps/unix/telldir.c: Renamed to ...
2161 * sysdeps/posix/telldir.c: ... here.
2162 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2163 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2164 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2165 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2166
22895b47
RM
2167 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2168 * bits/fcntl.h: ... here.
2169
707a53b6
RM
2170 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2171 not 0.
2172 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2173 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2174 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2175 (struct flock): Move l_start, l_len to the beginning.
2176 Use __pid_t for l_pid.
2177 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2178 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2179 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2180 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2181 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2182 [__USE_LARGEFILE64] (struct flock64): New type.
2183 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2184
f0bd3e25
RM
2185 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2186 * bits/dirent.h: ... here.
2187
d34689de
RM
2188 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2189 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2190
6dad2c06
JM
21912012-08-07 Joseph Myers <joseph@codesourcery.com>
2192
2193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2194 Change from 2.6.0 to 2.6.16.
2195 * sysdeps/unix/sysv/linux/configure: Regenerated.
2196 * sysdeps/unix/sysv/linux/kernel-features.h
2197 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2198 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2199 version.
2200 (__ASSUME_UTIMES): Likewise.
2201 (__ASSUME_CLONE_STOPPED): Remove.
2202 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2203 architectures, not kernel version.
2204 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2205 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2206 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2207 (__ASSUME_WAITID_SYSCALL): Likewise.
2208 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2209 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2210 * README: State 2.6.16 as minimum Linux kernel version. Do not
2211 refer to older versions.
2212
03af9520
RM
22132012-08-06 Roland McGrath <roland@hack.frob.com>
2214
8e49df1d
RM
2215 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2216 Define alphasort64 as an alias.
2217 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2218 Define versionsort64 as an alias.
2219 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2220 Define scandir64 as an alias.
2221 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2222 Define scandirat64 as an alias.
2223 * dirent/alphasort64.c (alphasort64):
2224 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2225 * dirent/versionsort64.c: Likewise.
2226 * dirent/scandir64.c: Likewise.
2227 * dirent/scandirat64.c: Likewise.
2228 * sysdeps/wordsize-64/alphasort.c: File removed.
2229 * sysdeps/wordsize-64/alphasort64.c: File removed.
2230 * sysdeps/wordsize-64/scandir.c: File removed.
2231 * sysdeps/wordsize-64/scandir64.c: File removed.
2232 * sysdeps/wordsize-64/scandirat.c: File removed.
2233 * sysdeps/wordsize-64/scandirat64.c: File removed.
2234 * sysdeps/wordsize-64/versionsort.c: File removed.
2235 * sysdeps/wordsize-64/versionsort64.c: File removed.
2236 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2238 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2240 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2241 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2242 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2243 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2244
2245 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2246 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2247 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2249 [defined __arch64__ || defined __sparcv9]
2250 (__INO_T_MATCHES_INO64_T): New macro.
2251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2252 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2253 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2254 * sysdeps/unix/sysv/linux/bits/dirent.h
2255 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2256 (_DIRENT_MATCHES_DIRENT64): New macro.
2257
03af9520
RM
2258 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2259 Define lockf64 as an alias.
2260 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2261 Define fseeko64 as an alias.
2262 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2263 Define ftello64 as an alias.
2264 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2265 Define _IO_fgetpos64 and fgetpos64 as aliases.
2266 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2267 Define _IO_fsetpos64 and fsetpos64 as aliases.
2268 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2269 Conditionalize body on this.
2270 * libio/fseeko64.c: Likewise.
2271 * libio/ftello64.c: Likewise.
2272 * libio/iofgetpos64.c: Likewise.
2273 * libio/iofsetpos64.c: Likewise.
2274 * sysdeps/wordsize-64/lockf.c: File removed.
2275 * sysdeps/wordsize-64/lockf64.c: File removed.
2276 * sysdeps/wordsize-64/fseeko.c: File removed.
2277 * sysdeps/wordsize-64/fseeko64.c: File removed.
2278 * sysdeps/wordsize-64/ftello.c: File removed.
2279 * sysdeps/wordsize-64/ftello64.c: File removed.
2280 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2281 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2282 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2283 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2284 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2285 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2286 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2287 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2288 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2289 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2290 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2291 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2292 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2293 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2294
2295 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2297 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2299 [defined __arch64__ || defined __sparcv9]
2300 (__OFF_T_MATCHES_OFF64_T): New macro.
2301 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2302 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2303 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2304 (__OFF_T_MATCHES_OFF64_T): New macro.
2305
c5757acd
L
23062012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2307
2308 * stdlib/secure-getenv.c (__secure_getenv): Replace
2309 GLIBC_2_16 with GLIBC_2_17.
2310
3a31811e
L
23112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2312
2313 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2315
faa2bccb
DM
23162012-08-03 David S. Miller <davem@davemloft.net>
2317
2318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2319
85fe1997
JM
23202012-08-03 Joseph Myers <joseph@codesourcery.com>
2321
2322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2323 Remove.
2324 (__ASSUME_CORRECT_SI_PID): Likewise.
2325 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2326 (__ASSUME_TMPFS_NAME): Likewise.
2327 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2328 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2329 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2330 (HAVE_AUX_SECURE): Make definition unconditional.
2331 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2332 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2333
4f75b7a0
RM
23342012-08-03 Roland McGrath <roland@hack.frob.com>
2335
2336 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2337 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2338 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2339 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2340 __eloop_threshold instead of SYMLOOP_MAX.
2341
2342 * sysdeps/generic/eloop-threshold.h: New file.
2343 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2344 of MAXSYMLINKS.
2345 * elf/chroot_canon.c (chroot_canon): Likewise.
2346
7aab07e4
JM
23472012-08-03 Joseph Myers <joseph@codesourcery.com>
2348
2349 [BZ #13717]
2350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2351 Change to 2.6.0 everywhere.
2352 * sysdeps/unix/sysv/linux/configure: Regenerated.
2353 * sysdeps/unix/sysv/linux/kernel-features.h
2354 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2355 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2356 kernel versions.
2357 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2358 (__ASSUME_FUTEX_REQUEUE): Remove.
2359 (__ASSUME_STATFS64): Define unconditionally.
2360 (__ASSUME_AT_SECURE): Likewise.
2361 (__ASSUME_CORRECT_SI_PID): Likewise.
2362 (__ASSUME_TGKILL): Define without depending on kernel version for
2363 i386.
2364 (__ASSUME_UTIMES): Likewise.
2365 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2366 kernel version.
2367 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2368 (__ASSUME_TMPFS_NAME): Likewise.
2369 * README: Update reference to Linux kernel versions.
2370
b67e9372
MP
23712012-08-02 Marek Polacek <polacek@redhat.com>
2372
1f529f7d 2373 [BZ# 14150]
b67e9372
MP
2374 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2375 libc_cv_asm_type_prefix with %.
2376 * configure: Regenerated.
d2441631
RM
2377 * include/libc-symbols.h: Remove comment about
2378 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2379 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2380 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2381 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2382 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2383 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2384 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2385 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2386 * elf/tst-unique2mod1.c: Likewise.
2387 * elf/tst-unique1mod2.c: Likewise.
2388 * elf/tst-unique1mod1.c: Likewise.
2389 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2390 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2391 Replace ASM_TYPE_DIRECTIVE with .type.
2392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2393 * sysdeps/i386/sysdep.h: Likewise.
2394 * sysdeps/x86_64/sysdep.h: Likewise.
2395 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2397 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2398 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2399 * sysdeps/powerpc/powerpc32/sysdep.h:
2400 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2401 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2402 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2403 * sysdeps/i386/fpu/e_powf.S: Likewise.
2404 * sysdeps/i386/fpu/e_expl.S: Likewise.
2405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2406 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2407 * sysdeps/i386/fpu/e_pow.S: Likewise.
2408 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2409 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2410 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2411 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2412 * sysdeps/i386/fpu/e_log2.S: Likewise.
2413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2414 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2415 * sysdeps/i386/fpu/e_powl.S: Likewise.
2416 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2417 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2418 * sysdeps/i386/fpu/e_logl.S: Likewise.
2419 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2420 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2421 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2422 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2423 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2424 * sysdeps/i386/fpu/e_log.S: Likewise.
2425 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2426 * sysdeps/i386/fpu/e_logf.S: Likewise.
2427 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2428 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2430 * sysdeps/i386/fpu/e_log10.S: Likewise.
2431 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2432 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2433 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2434 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2436 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2438 * sysdeps/i386/i686/strtok.S: Likewise.
2439 * sysdeps/i386/i386-mcount.S: Likewise.
2440 * sysdeps/i386/strtok.S: Likewise.
2441 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2442 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2443 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2444 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2445 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2446 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2447 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2448 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2449 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2450 * sysdeps/x86_64/_mcount.S: Likewise.
2451 * sysdeps/x86_64/strtok.S: Likewise.
2452 * sysdeps/sh/_mcount.S: Likewise.
2453
2747bf9a
RM
24542012-08-01 Roland McGrath <roland@hack.frob.com>
2455
2456 * libio/iofopen.c: Include <fcntl.h>.
2457 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2458 (_IO_fopen64, fopen64): Define as aliases.
2459 * libio/iofopen64.c: Include <fcntl.h>.
2460 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2461 Conditionalize body on this.
2462 * sysdeps/wordsize-64/iofopen.c: File removed.
2463 * sysdeps/wordsize-64/iofopen64.c: File removed.
2464
3fb791b8
MP
24652012-08-01 Marek Polacek <polacek@redhat.com>
2466
2467 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2468 Use dlfcn directly instead of a variable.
2469 (binfmt-subdir): Do not define.
2470 (dlfcn): Likewise.
2471
a9f1039f
JM
24722012-08-01 Joseph Myers <joseph@codesourcery.com>
2473
23bddc06
JM
2474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2475 Remove all definitions.
2476 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2477 <kernel-features.h>.
2478 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2479 (miss_F_GETOWN_EX): Remove all definitions.
2480 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2481 macro definition.
2482 [!__ASSUME_FCNTL64]: Remove conditional code.
2483 [__ASSUME_FCNTL64]: Make code unconditional.
2484 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2485 <kernel-features.h>.
2486 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2487 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2488 (lockf64) [__NR_fcntl64]: Make code unconditional.
2489 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2490
a9f1039f
JM
2491 * sysdeps/unix/sysv/linux/kernel-features.h
2492 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2493 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2494 Make code unconditional.
2495 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2496 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2498 [__NR_vfork]: Make code unconditional.
2499 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2500 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2502 [__NR_vfork]: Make code unconditional.
2503 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2504 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2505
09c0ee5f
RM
25062012-08-01 Roland McGrath <roland@hack.frob.com>
2507
48aec5b9
RM
2508 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2509 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2510
cd97c966
RM
2511 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2512 Define mkstemp64 as an alias.
3f55550c
RM
2513 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2514 Define mkstemps64 as an alias.
cd97c966
RM
2515 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2516 Define mkostemp64 as an alias.
b8625cfc
RM
2517 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2518 Define mkostemps64 as an alias.
cd97c966
RM
2519 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2520 Conditionalize body on this.
2521 * misc/mkostemp64.c: Likewise.
b8625cfc 2522 * misc/mkostemps64.c: Likewise.
3f55550c 2523 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2524 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2525 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2526 * sysdeps/wordsize-64/mkostemp.c: File removed.
2527 * sysdeps/wordsize-64/mkstemp.c: File removed.
2528 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2529 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2530 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2531 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2532
09c0ee5f
RM
2533 [BZ #14138]
2534 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2535 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2536 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2537 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2538
2539 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2540 compat_symbol macros from <shlib-compat.h> rather than the underlying
2541 default_symbol_version and symbol_version macros, so that DEFAULT
2542 lines in shlib-versions are respected.
2543 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2544
7e66ee51
FW
25452012-08-01 Florian Weimer <fweimer@redhat.com>
2546
2547 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2548 Declare with warn_unused_result.
2549 (setgid, setregid, setegid, setresgid): Likewise.
2550 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2551 Likewise.
2552 * WUR-REPORT: Remove set*id functions.
2553
d2a54255
PT
25542012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2555
2556 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2557
7ecdb005
RM
25582012-07-31 Roland McGrath <roland@hack.frob.com>
2559
789bd351
RM
2560 * include/sys/socket.h (__libc_accept, __libc_accept4):
2561 Add attribute_hidden.
2562 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2563
40ce302d
RM
2564 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2565 use of PTR_MANGLE.
2566 * inet/getnetgrent_r.c (setup): Likewise.
2567
7ecdb005
RM
2568 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2569
e2eabb2c
DM
25702012-07-31 David S. Miller <davem@davemloft.net>
2571
2572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2573
d0419dbf
JM
25742012-07-31 Joseph Myers <joseph@codesourcery.com>
2575
2576 [BZ #13629]
2577 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2578 value between 1.0 and 2.0 and smaller part has absolute value less
2579 than 1.0.
2580 * math/s_clog10.c (__clog10): Likewise.
2581 * math/s_clog10f.c (__clog10f): Likewise.
2582 * math/s_clog10l.c (__clog10l): Likewise.
2583 * math/s_clogf.c (__clogf): Likewise.
2584 * math/s_clogl.c (__clogl): Likewise.
2585 * math/libm-test.inc (clog_test): Add more tests.
2586 (clog10_test): Likewise.
2587 * sysdeps/i386/fpu/libm-test-ulps: Update.
2588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2589
2bc13872
FW
25902012-07-31 Florian Weimer <fweimer@redhat.com>
2591
2592 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2593 Exit with zero in case no suitable GID is found, and write a
2594 message to standard error.
2595
bea9b193
RM
25962012-07-30 Roland McGrath <roland@hack.frob.com>
2597
2598 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2599 rather than to 1.
2600 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2601 (MAXPATHLEN): Removed.
2602 (NOGROUP, NODEV): New macros.
2603 (setbit, clrbit, isset, isclr): New macros.
2604 (howmany, roundup, powerof2): New macros.
2605 (DEV_BSIZE): New macro.
2606
2607 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2608 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2609
2610 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2611 definition on [!__NO_LONG_DOUBLE_MATH].
2612
2613 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2614 PTR_MANGLE and PTR_DEMANGLE.
2615
2616 * socket/accept4.c (accept4): Rename to __libc_accept4.
2617 Define accept4 as a weak alias.
2618
2619 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2620 on [_DIRENT_HAVE_D_TYPE].
2621 * io/ftw.c (ftw_dir): Likewise.
2622
2623 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2624
2625 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2626
2627 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2628 Use the BSD numbers rather than the arbitrary ones we had.
2629 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2630 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2631 (SIGXCPU, SIGXFSZ): New macros.
2632 (_NSIG): Now 32.
2633
2634 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2635 initializer on [_LIBC_REENTRANT].
2636
2637 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2638 definitions inside [_POSIX_MAPPED_FILES].
2639
2640 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2641
2642 * dirent/opendir.c: Include <fcntl.h>.
2643
2644 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2645 (__libc_getspecific): Likewise.
2646 (__libc_key_create): Likewise.
2647
2648 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2649 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2650 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2651 (tmpfile64): Define as alias.
2652 * sysdeps/wordsize-64/tmpfile.c: File removed.
2653 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2654 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2655 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2656
2657 * stdio-common/vfscanf.c: Include <stdbool.h>.
2658 * nss/makedb.c: Likewise.
2659 * stdio-common/_i18n_number.h: Likewise.
2660 * argp/argp-help.c: Likewise.
2661 * posix/wordexp.c: Likewise.
2662 * sysdeps/posix/spawni.c: Likewise.
2663 * nss/nss_files/files-initgroups.c: Likewise.
2664 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2665 * nss/nss_files/files-initgroups.c: Likewise.
2666 * nss/nss_db/db-netgrp.c: Likewise.
2667 * nss/nss_db/db-initgroups.c: Likewise.
2668 * io/fchmodat.c: Include <sys/stat.h>.
2669
2670 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2671 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2672
2673 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2674 [HAVE_MMAP].
2675
2676 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2677 Add multiple inclusion protection.
2678
e5abc686
DM
26792012-07-27 David S. Miller <davem@davemloft.net>
2680
2681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2682
815e6fa3
GB
26832012-07-27 Gary Benson <gbenson@redhat.com>
2684
2685 [BZ #14298]
2686 * elf/rtld.c: Include <stap-probe.h>.
2687 (dl_main): Added static probes "init_start" and "init_complete".
2688 * elf/dl-load.c: Include <stap-probe.h>.
2689 (lose): Take new parameter "nsid".
2690 Added static probe "map_failed".
2691 (_dl_map_object_from_fd): Pass namespace id to lose.
2692 Added static probe "map_start".
2693 (open_verify): Pass namespace id to lose.
2694 * elf/dl-open.c: Include <stap-probe.h>.
2695 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2696 and "reloc_complete".
2697 * elf/dl-close.c: Include <stap-probe.h>.
2698 (_dl_close_worker): Added static probes "unmap_start" and
2699 "unmap_complete".
2700 * elf/rtld-debugger-interface.txt: New file documenting the above.
2701
9f98c16c
RM
27022012-07-26 Roland McGrath <roland@hack.frob.com>
2703
2704 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2705 rather than a string variable.
2706 * sunrpc/rpc_main.c (h_output): Likewise.
2707 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2708
f3c22df3
PT
27092012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2710
2711 * inet/check_native.c: New file.
2712
3129cfc6
JM
27132012-07-26 Joseph Myers <joseph@codesourcery.com>
2714
da865e95
JM
2715 [BZ #13629]
2716 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2717 if larger part has absolute value 1.0.
2718 * math/s_clog10.c (__clog10): Likewise.
2719 * math/s_clog10f.c (__clog10f): Likewise.
2720 * math/s_clog10l.c (__clog10l): Likewise.
2721 * math/s_clogf.c (__clogf): Likewise.
2722 * math/s_clogl.c (__clogl): Likewise.
2723 * math/libm-test.inc (clog_test): Add more tests.
2724 (clog10_test): Likewise.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727
3129cfc6
JM
2728 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2729 (pltexit): Likewise.
2730 (La_regs): Likewise.
2731 (La_retval): Likewise.
2732 (int_retval): Likewise.
2733 Update #error for removed macros to refer only to definitions in
2734 tst-audit.h.
2735 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
2736 macro.
2737 (pltexit): Likewise.
2738 (La_regs): Likewise.
2739 (La_retval): Likewise.
2740 (int_retval): Likewise.
2741 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
2742 macro.
2743 (pltexit): Likewise.
2744 (La_regs): Likewise.
2745 (La_retval): Likewise.
2746 (int_retval): Likewise.
2747 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
2748 macro.
2749 (pltexit): Likewise.
2750 (La_regs): Likewise.
2751 (La_retval): Likewise.
2752 (int_retval): Likewise.
2753 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2754 macro.
2755 (pltexit): Likewise.
2756 (La_regs): Likewise.
2757 (La_retval): Likewise.
2758 (int_retval): Likewise.
2759 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2760 macro.
2761 (pltexit): Likewise.
2762 (La_regs): Likewise.
2763 (La_retval): Likewise.
2764 (int_retval): Likewise.
2765 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2766 macro.
2767 (pltexit): Likewise.
2768 (La_regs): Likewise.
2769 (La_retval): Likewise.
2770 (int_retval): Likewise.
2771 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2772 macro definitions in tst-audit.h.
2773 * sysdeps/i386/tst-audit.h: New file.
2774 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2775 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2776 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2777 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2778 * sysdeps/sh/tst-audit.h: Likewise.
2779 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2780 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2781 * sysdeps/x86_64/tst-audit.h: Likewise.
2782
bfc07087
AJ
27832012-07-26 Andreas Jaeger <aj@suse.de>
2784
b1b2aaf8
AJ
2785 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2786 ptrace.
2787
2788 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2789 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2790 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2791 PTRACE_O_MASK.
2792 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2795
bfc07087
AJ
2796 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2797 value.
2798
2799 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2800 _sigsys.
2801 (si_call_addr, si_syscall, si_arch): Define new macro.
2802 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2803 _sigsys.
2804 (si_call_addr, si_syscall, si_arch): Define new marcro.
2805 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2806 _sigsys.
2807 (si_call_addr, si_syscall, si_arch): Define new macro.
2808 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2809 _sigsys.
2810 (si_call_addr, si_syscall, si_arch): Define new macro.
2811
89b4b02f
JM
28122012-07-25 Joseph Myers <joseph@codesourcery.com>
2813
2814 [BZ #13717]
2815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2816 Change to 2.4.21 where previously 2.4.1.
2817 * sysdeps/unix/sysv/linux/configure: Regenerated.
2818 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2819 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2820 Linux kernel version.
2821 (__ASSUME_STD_AUXV): Remove.
2822 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2823 kernel version.
2824 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2825 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2826 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2827 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2828 (__ASSUME_NETLINK_SUPPORT): Likewise.
2829 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2830 (__no_netlink_support): Remove conditional definition.
2831 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2832 Remove.
2833 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2834 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2835 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2836 (if_nameindex_ioctl): Remove.
2837 (if_nameindex_netlink): Do not handle __no_netlink_support.
2838 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2839 code.
2840 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2841 Remove conditional code.
2842 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2843 code.
2844 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2845 unconditional.
2846 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2847 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2848 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2849 Remove.
2850 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2851 [!__ASSUME_STD_AUXV]: Remove conditional code.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2853 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2854 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2856 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2857 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2858 code.
2859 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2861 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2862 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2863 conditional code.
2864 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2866 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2867 code.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2869 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2870 conditional code.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2872 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2873 code unconditional.
2874 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2875 conditional code.
2876 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2877 unconditional.
2878 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2879 conditional code.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2881 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2882 unconditional.
2883 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2884 conditional code.
2885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2886 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2887 code unconditional.
2888 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2889 conditional code.
2890 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2891 unconditional.
2892 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2893 conditional code.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2895 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2896 code unconditional.
2897 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2898 conditional code.
2899 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2900 unconditional.
2901 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2902 conditional code.
2903
842a39cd
AS
29042012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2905
2906 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2907 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2908 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2909 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2910 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2911 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2912 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2913 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2914 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2916 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2917 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2918 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2919 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2922 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2929
84b3fd84
FW
29302012-07-25 Florian Weimer <fweimer@redhat.com>
2931
2932 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2933 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2934 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2935 Introduce __libc_secure_getenv.
0c7936d5
FW
2936 * stdlib/Versions (2.17): Add secure_getenv
2937 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2938 * stdlib/secure-getenv.c: Rename __secure_getenv to
2939 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2940 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2941 * stdlib/tst-secure-getenv.c: New.
2942 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2943 * manual/startup.texi (Environment Access): Document
2944 secure_getenv.
84b3fd84
FW
2945 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2946 __libc_secure_getenv.
2947 * inet/ruserpass.c (ruserpass): Likewise.
2948 * malloc/mtrace.c (mtrace): Likewise.
2949 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2950 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2951 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2952 * sysdeps/posix/tempname.c: Likewise. Evaluate
2953 HAVE_SECURE_GETENV.
2954 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2955 __secure_getenv to __libc_secure_getenv.
84b3fd84 2956 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2958 Likewise.
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2960 Likewise.
2961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2963 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2968
56e49b71
JM
29692012-07-25 Joseph Myers <joseph@codesourcery.com>
2970
2971 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2972 (struct La_i86_retval): Likewise.
2973 (struct La_x86_64_regs): Likewise.
2974 (struct La_x86_64_retval): Likewise.
2975 (struct La_x32_regs): Likewise.
2976 (struct La_x32_retval): Likewise.
2977 (struct La_ppc32_regs): Likewise.
2978 (struct La_ppc32_retval): Likewise.
2979 (struct La_ppc64_regs): Likewise.
2980 (struct La_ppc64_retval): Likewise.
2981 (struct La_sh_regs): Likewise.
2982 (struct La_sh_retval): Likewise.
2983 (struct La_s390_32_regs): Likewise.
2984 (struct La_s390_32_retval): Likewise.
2985 (struct La_s390_64_regs): Likewise.
2986 (struct La_s390_64_retval): Likewise.
2987 (struct La_sparc32_regs): Likewise.
2988 (struct La_sparc32_retval): Likewise.
2989 (struct La_sparc64_regs): Likewise.
2990 (struct La_sparc64_retval): Likewise.
2991 (struct audit_ifaces): Remove architecture-specific pltenter and
2992 pltexit members.
2993 * sysdeps/i386/ldsodefs.h: New file.
2994 * sysdeps/powerpc/ldsodefs.h: Likewise.
2995 * sysdeps/s390/ldsodefs.h: Likewise.
2996 * sysdeps/sh/ldsodefs.h: Likewise.
2997 * sysdeps/sparc/ldsodefs.h: Likewise.
2998 * sysdeps/x86_64/ldsodefs.h: Likewise.
2999
354691b7
MP
30002012-07-25 Marek Polacek <polacek@redhat.com>
3001
3002 [BZ #6808]
3003 * math/libm-test.inc (yn_test): Add another test.
3004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3005 to ERANGE when the result is +-Inf.
3006 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3007 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3008 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3009 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3010
bf9e2071
JM
30112012-07-24 Joseph Myers <joseph@codesourcery.com>
3012
3013 * conform/data/time.h-data (NULL): Use macro-constant. Require
3014 equal to 0.
3015 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3016 clock_t.
3017 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3018
57633811
TS
30192012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3020
3021 * configure.in <sysdeps resolving>: Correct printing
3022 Implies_before.
3023 * configure: Regenerate.
3024
c23c33b0
TS
30252012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3026
3027 * math/w_ilogb.c: Include <limits.h>.
3028 * math/w_ilogbl.c: Likewise.
3029
b5982523
JM
30302012-07-20 Joseph Myers <joseph@codesourcery.com>
3031
3032 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3033 va_copy. Document allowing for unavailable va_copy only as
3034 pre-C99 compatibility.
3035 * manual/string.texi (Copying and Concatenation): Use va_copy
3036 instead of __va_copy in concat example.
3037
ac4ea442
PT
30382012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3039
3040 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3041 (__sendto): Use create_address_port. Initialize APORT and deallocate
3042 it if not null.
3043
f98eafbd
PT
3044 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3045 with O_NOLINK passed to __file_name_lookup.
3046
898c7aab
PT
3047 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3048 with O_NOLINK passed to __file_name_lookup.
3049
0ced335a
PT
3050 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3051 negative N or less than NGIDS.
3052
b3404dbd
PT
3053 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3054 type to string_t. Set ERANGE as errno and return it if NAME is not big
3055 enough. Use memcpy instead of strncpy.
3056
0f48659e
JM
30572012-07-20 Joseph Myers <joseph@codesourcery.com>
3058
3059 * elf/Makefile (check-data): Remove.
3060 (localplt.data): New vpath directive.
3061 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3062 instead of $(check-data).
3063 * scripts/data/localplt-generic.data: Move to ...
3064 * sysdeps/generic/localplt.data: ... here.
3065 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3066 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3067 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3069 ... here.
3070 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3072 ... here.
3073 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3075 ... here.
3076 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3078 ... here.
3079 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3081 ... here.
3082 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3084 ... here.
3085
d37cbdaa
AZ
30862012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3087
3088 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3089 PPC32 and PPC64 files.
3090 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3091 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3092
46f85fc2
AK
30932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3094
3095 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3096 __makecontext_ret to ...
3097 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3098 ... here and call exit if uc_link is NULL. New file.
3099 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3100 __makecontext_ret.S.
3101 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3102 __makecontext_ret to ...
3103 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3104 ... here and call exit if uc_link is NULL. New file.
3105 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3106 __makecontext_ret.S.
3107
08f43f9b
AK
31082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3109
3110 * elf/elf.h (R_390_IRELATIVE): New definition.
3111 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3112 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3113 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3114 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3115 (elf_machine_lazy_rel): Likewise.
3116 * sysdeps/s390/dl-irel.h: New file.
3117 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3118 * sysdeps/s390/s390-64/memset.S: New asm code.
3119 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3120 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3122 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3123 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3124 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3125 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3126 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3127 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3128 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3129 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3130 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3131 * sysdeps/s390/s390-32/memset.S: New asm code.
3132 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3133
3b05db33
MP
31342012-07-17 Marek Polacek <polacek@redhat.com>
3135
3136 [BZ #14349]
3137 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3138 * sysdeps/s390/s390-64/configure.in: Likewise.
3139 * sysdeps/sparc/configure.in: Likewise.
3140 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3141 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3142 * sysdeps/i386/configure.in: Likewise.
3143 * sysdeps/x86_64/configure.in: Likewise.
3144 * sysdeps/sh/configure.in: Likewise.
3145 * sysdeps/s390/s390-32/configure: Regenerated.
3146 * sysdeps/s390/s390-64/configure: Likewise.
3147 * sysdeps/x86_64/configure: Likewise.
3148 * sysdeps/sh/configure: Likewise.
3149 * sysdeps/powerpc/powerpc64/configure: Likewise.
3150 * sysdeps/powerpc/powerpc32/configure: Likewise.
3151 * sysdeps/sparc/configure: Likwise.
3152 * sysdeps/i386/configure: Likewise.
3153
a66877c6
MP
3154 * elf/dl-open.c: Comment fixes.
3155
cfc82fd8
JM
31562012-07-17 Joseph Myers <joseph@codesourcery.com>
3157
bd29910a
JM
3158 * Makefile [CXX] (check-data): Remove.
3159 [CXX] (c++-types.data): New vpath directive.
3160 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3161 vpath. Do not allow for C++ type data being missing.
3162 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3163 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3164 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3165 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3166 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3167 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3168 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3170 ... here.
3171 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3173 ... here.
3174 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3176 ... here.
3177 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3179 ... here.
3180 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3182 ... here.
3183 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3185 ... here.
3186 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3188 ... here.
3189 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3191
cfc82fd8
JM
3192 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3193 definitions to architecture-specific files.
3194 (TLS_IE): Likewise.
3195 (TLS_LD): Likewise.
3196 (TLS_GD): Likewise.
3197 * sysdeps/i386/tls-macros.h: New file.
3198 * sysdeps/powerpc/tls-macros.h: Likewise.
3199 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3200 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3201 * sysdeps/sh/tls-macros.h: Likewise.
3202 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3203 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3204 * sysdeps/x86_64/tls-macros.h: Likewise.
3205
f7db3170
TS
32062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3207
07cbfc23
TS
3208 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3209 zero value for regular exit case.
3210
f7db3170
TS
3211 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3212 (__start_context): Preserve zero value for regular exit case.
3213
dc97c227
TS
32142012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3215 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3216
3217 * manual/setjmp.texi (setcontext): Clarify normal process
3218 termination when uc_link is the null pointer.
3219 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3220 exit call.
3221
d0cd7d02
AS
32222012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3223
3224 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3225 preprocessor. Test for each exception mask separately.
3226
dd318934
AJ
32272012-07-16 Andreas Jaeger <aj@suse.de>
3228
3229 * po/ru.po: Update from translation team.
3230
8048311a
JM
32312012-07-15 Joseph Myers <joseph@codesourcery.com>
3232
3233 * conform/data/string.h-data (NULL): Use macro-constant. Require
3234 equal to 0.
3235 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3236 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3237 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3238 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3240
b637d46e
AJ
32412012-07-13 Andreas Jaeger <aj@suse.de>
3242
3243 * po/fr.po: Update from translation team.
3244
541428fe
MP
32452012-07-12 Marek Polacek <polacek@redhat.com>
3246
3247 [BZ #14173]
3248 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3249 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3250 loop condition.
3251
ec332e94
JM
32522012-07-12 Joseph Myers <joseph@codesourcery.com>
3253
3254 [BZ #13717]
3255 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3256 Change to 2.4.1 where previously 2.4.0.
3257 * sysdeps/unix/sysv/linux/configure: Regenerated.
3258 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3259 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3260 version.
3261 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3262 (__ASSUME_AT_CLKTCK): Remove.
3263 (__ASSUME_AT_PAGESIZE): Likewise.
3264 (__ASSUME_AT_XID): Likewise.
3265 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3266 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3267 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3268 unconditionally.
3269 (HAVE_AUX_PAGESIZE): Likewise.
3270 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3271 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3272 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3273
7b6e99be
JB
32742012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3275
3276 [BZ #14307]
3277 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3278 the temporary buffer used to invoke __gethostbyname2_r,
3279 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3280 host_data / struct gaih_addrtuple.
3281 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3282 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3283 header file nss/nsswitch.h.
3284 * nss/nsswitch.h (global scope): Add definition of implementation
3285 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3286 resolv/nss_dns/dns-host.c).
3287
608404eb
AJ
32882012-07-11 Andreas Jaeger <aj@suse.de>
3289
3290 * po/fr.po: Update from translation team.
3291
71220aca
AJ
3292 * po/sv.po: Update from translation team
3293 * po/fr.po: Another update from translation team.
3294
28cfe843
AZ
32952012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3296
3297 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3298 for subnormals or multiply small sinh result by itself.
3299 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3301
6b90f981
DM
33022012-07-11 David S. Miller <davem@davemloft.net>
3303
3304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3305
c6825772
AS
33062012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3307
3308 [BZ #14347]
3309 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3310 (INTERNAL_MARK): Shift it here.
3311
7b8e0d49
MP
33122012-07-10 Marek Polacek <polacek@redhat.com>
3313
3314 [BZ #14151]
3315 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3316 libc_cv_asm_global_directive with .globl.
3317 * configure: Regenerated.
3318 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3319 with .globl.
3320 * sysdeps/i386/configure: Regenerated.
3321 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3322 with .globl.
3323 * sysdeps/x86_64/configure: Regenerated.
3324 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3325 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3326 * elf/tst-unique2mod2.c: Likewise.
3327 * elf/tst-unique2mod1.c: Likewise.
3328 * elf/tst-unique1mod2.c: Likewise.
3329 * elf/tst-unique1mod1.c: Likewise.
3330 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3331 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3333 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3334 * sysdeps/mach/sysdep.h: Likewise.
3335 * sysdeps/i386/sysdep.h: Likewise.
3336 * sysdeps/i386/i386-mcount.S: Likewise.
3337 * sysdeps/x86_64/_mcount.S: Likewise.
3338 * sysdeps/x86_64/sysdep.h: Likewise.
3339 * sysdeps/sh/_mcount.S: Likewise.
3340 * sysdeps/sh/sysdep.h: Likewise.
3341 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3342 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3343 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3344 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3345 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3346 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3347 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3348 * locale/localeinfo.h: Likewise.
3349 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3350 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3351
6c55cda3
RM
33522012-07-09 Roland McGrath <roland@hack.frob.com>
3353
3354 [BZ #14336]
3355 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3356 system".
3357 * manual/message.texi (The Uniforum approach): Likewise.
3358 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3359 (glibc iconv Implementation): Likewise.
3360
638a572e
JM
33612012-07-09 Joseph Myers <joseph@codesourcery.com>
3362
3363 [BZ #14337]
3364 * math/s_clog.c (__clog): Avoid scaling a value down where that
3365 could result in underflow.
3366 * math/s_clog10.c (__clog10): Likewise.
3367 * math/s_clog10f.c (__clog10f): Likewise.
3368 * math/s_clog10l.c (__clog10l): Likewise.
3369 * math/s_clogf.c (__clogf): Likewise.
3370 * math/s_clogl.c (__clogl): Likewise.
3371 * math/libm-test.inc (clog_test): Add more tests.
3372 (clog10_test): Likewise.
3373 * sysdeps/i386/fpu/libm-test-ulps: Update.
3374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3375
261f4859
AS
33762012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3377
0abaf3e4
AS
3378 [BZ #14283]
3379 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3380 by 7 not 8 to examine high bit of fractional part.
3381
261f4859
AS
3382 [BZ #14042]
3383 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3384 for call to __mcount_internal.
3385 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3386 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3387 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3388
f17ac40d
JM
33892012-07-06 Joseph Myers <joseph@codesourcery.com>
3390
9ad63c23
JM
3391 [BZ #14154]
3392 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3393 approximation for values within 0x1p-13f of an odd multiple of
3394 pi/4.
3395 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3396 exception. Add more tests.
3397 * sysdeps/i386/fpu/libm-test-ulps: Update.
3398
f17ac40d
JM
3399 [BZ #6778]
3400 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3401 inputs and return -1 for them. Do not check for +Inf in case not
3402 reachable for +Inf.
3403 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3404 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3405 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3406 and return -1 for them. Do not check for +Inf in case not
3407 reachable for +Inf.
3408 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3409 define.
3410 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3411 and return -1 for them. Do not check for +Inf in case not
3412 reachable for +Inf.
3413 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
3414 spurious underflow.
3415 * sysdeps/i386/fpu/libm-test-ulps: Update.
3416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3417
fb21f89b
MF
34182012-07-06 Mike Frysinger <vapier@gentoo.org>
3419
3420 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3421
cdfe2c5e
JM
34222012-07-05 Joseph Myers <joseph@codesourcery.com>
3423
3424 [BZ #14157]
3425 [BZ #14331]
3426 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3427 could result in spurious underflow. Scale down values above
3428 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3429 * math/s_csqrtf.c (__csqrtf): Likewise.
3430 * math/s_csqrtl.c (__csqrtl): Likewise.
3431 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3432 spurious underflow.
3433 * sysdeps/i386/fpu/libm-test-ulps: Update.
3434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3435
70d35b67
AS
34362012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3437
704bc459
AS
3438 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3439 xopen-msg.sed.
3440 * catgets/xopen-msg.awk: New file.
3441 * catgets/xopen-msg.sed: Removed.
3442
70d35b67
AS
3443 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3444 po2text.sed.
3445 * intl/po2test.awk: New file.
3446 * intl/po2test.sed: Removed.
3447
ca61cf32
JM
34482012-07-04 Joseph Myers <joseph@codesourcery.com>
3449
3450 [BZ #14328]
3451 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3452 or multiply small sinh result by itself.
3453 * math/s_ctanf.c (__ctanf): Likewise.
3454 * math/s_ctanh.c (__ctanh): Likewise.
3455 * math/s_ctanhf.c (__ctanhf): Likewise.
3456 * math/s_ctanhl.c (__ctanhl): Likewise.
3457 * math/s_ctanl.c (__ctanl): Likewise.
3458 * math/libm-test.inc (ctan_test_tonearest): New function.
3459 (ctan_test_towardzero): Likewise.
3460 (ctan_test_downward): Likewise.
3461 (ctan_test_upward): Likewise.
3462 (ctanh_test_tonearest): Likewise.
3463 (ctanh_test_towardzero): Likewise.
3464 (ctanh_test_downward): Likewise.
3465 (ctanh_test_upward): Likewise.
3466 (main): Call these new functions.
3467 * sysdeps/i386/fpu/libm-test-ulps: Update.
3468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3469
ca48a46a
MF
34702012-07-03 Mike Frysinger <vapier@gentoo.org>
3471
3472 * .gitignore: Delete /ports entry.
3473
9d63d37d
AJ
34742012-07-03 Andreas Jaeger <aj@suse.de>
3475
3476 * po/bg.po: Update from translation team.
3477 * po/cs.po: Likewise.
3478 * po/de.po: Likewise.
3479 * po/hr.po: Likewise.
3480 * po/nl.pl: Likewise.
3481 * po/pl.po: Likewise.
3482 * po/vi.po: Likewise.
3483
370ca3d2
JM
34842012-07-03 Joseph Myers <joseph@codesourcery.com>
3485
95f5a9a8
JM
3486 * Makeconfig [!+link] (+link-before-libc): New variable.
3487 [!+link] (+link-after-libc): Likewise.
3488 [!+link] (+link-tests): Likewise.
3489 [!+link] (+link): Define in terms of $(+link-before-libc) and
3490 $(+link-after-libc).
3491 [!+link-static] (+link-static-before-libc): New variable.
3492 [!+link-static] (+link-static-after-libc): Likewise.
3493 [!+link-static] (+link-static-tests): Likewise.
3494 [!+link-static] (+link-static): Define in terms of
3495 $(+link-static-before-libc) and $(+link-static-after-libc).
3496 [build-shared] (link-libc-before-gnulib): New variable.
3497 [build-shared] (link-libc-tests): Likewise.
3498 [build-shared] (link-libc): Define in terms of
3499 $(link-libc-before-gnulib).
3500 [!build-shared] (link-libc-tests): New variable.
3501 (link-libc-static-tests): New variable.
3502 [!gnulib] (gnulib-arch): New variable.
3503 [!gnulib] (gnulib-tests): Likewise.
3504 [!gnulib] (static-gnulib-arch): Likewise.
3505 [!gnulib] (static-gnulib-tests): Likewise.
3506 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3507 Define with "=" instead of ":=".
3508 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3509 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3510 * Rules (binaries-all-notests): New variable.
3511 (binaries-all-tests): Likewise.
3512 (binaries-static-notests): Likewise.
3513 (binaries-static-tests): Likewise.
3514 (binaries-all): Define using $(binaries-all-notests) and
3515 $(binaries-all-tests).
3516 (binaries-static): Define using $(binaries-static-notests) and
3517 $(binaries-static-tests).
3518 (binaries-shared-tests): New variable.
3519 (binaries-shared-notests): Likewise.
3520 (binaries-shared): Remove variable.
3521 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3522 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3523 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3524 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3525 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3526 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3527 * elf/Makefile (sln-modules): New variable.
3528 (extra-objs): Add $(sln-modules:=.o).
3529 (ldconfig-modules): Add static-stubs.
3530 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3531 * elf/static-stubs.c: New file.
3532
7a845b2c
JM
3533 [BZ #14283]
3534 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3535 by 7 not 8 to examine high bit of fractional part. Use volatile
3536 variables when splitting into final array of floats if
3537 __FLT_EVAL_METHOD__ != 0.
3538 * math/libm-test.inc (cos_test): Add another test.
3539 (sin_test): Likewise.
3540 * sysdeps/i386/fpu/libm-test-ulps: Update.
3541
e2283f38
JM
3542 [BZ #14273]
3543 * math/libm-test.inc (cosh_test): Add more tests.
3544
370ca3d2
JM
3545 * version.h (RELEASE): Set to "development".
3546 (VERSION): Set to "2.16.90".
3547
ee9247c3
CD
35482012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3549
3550 * NEWS: Update copyright. Remove last-updated date.
3551 Mention math library bug fixes and timezone data changes.
3552 * README: Mention GNU/Hurd, x32, and HPPA support status.
3553
4648c381
TS
35542012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3555
3556 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3557
aac78a43
AJ
35582012-06-27 Andreas Jaeger <aj@suse.de>
3559
3560 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3561
ed3dbfad
AJ
35622012-06-25 Andreas Jaeger <aj@suse.de>
3563
3564 * sysdeps/s390/fpu/libm-test-ulps: Update.
3565
4d0ee855
AS
35662012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3567 Thomas Schwinge <thomas@codesourcery.com>
3568
3569 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3570 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3571 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3572 fanotify_mark.
3573
af1bce34
TS
35742012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3575
a9fa33ba
TS
3576 * sysdeps/mach/start.c: Remove file.
3577 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3578 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3579 * sysdeps/sh/init-first.c: Likewise.
3580
58f902b8
TS
3581 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3582 registers for frame unwinding purposes, add CFI directives.
3583 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3584 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3585 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3586 Likewise.
3587
1518f58b
TS
3588 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3589 __fortify_fail returning.
3590 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3591
db9b5059
TS
3592 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3593 sysdeps/sh/____longjmp_chk.S.
3594 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3595 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3596 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3597 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3598
967705fe
TS
3599 * sysdeps/sh/abort-instr.h: New file.
3600 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3601 process in case exit returns.
3602
a9def8c4
TS
3603 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3604 initialize the GOT register before use.
3605
2a649725
TS
3606 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3607 calculation of ARGC > 4.
3608
af1bce34
TS
3609 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3610 meaningful names to some local labels.
3611
d230f50a
KK
36122012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3613 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3614
3615 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3616 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3617 (__arch_compare_and_exchange_val_16_acq): Likewise.
3618 (__arch_compare_and_exchange_val_32_acq): Likewise.
3619 (atomic_exchange_and_add): Fix gUSA sequence.
3620 (atomic_add): Likewise.
3621 (atomic_add_negative): Likewise.
3622 (atomic_add_zero): Likewise.
3623 (atomic_bit_test_set): Likewise.
3624
0479b305
AS
36252012-06-22 Andreas Schwab <schwab@redhat.com>
3626
3627 [BZ #13579]
3628 * include/link.h (struct link_map): Add l_free_initfini.
3629 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3630 l_initfini.
3631 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3632 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3633 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3634 set.
3635
0e3933b9
CD
36362012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3637
3638 * configure.in: Use AC_LANG_SOURCE.
3639 * configure: Regenerate.
3640
4248b1b1
RM
36412012-06-22 Roland McGrath <roland@hack.frob.com>
3642
3643 * configure.in (libc_cv_localstatedir): New substituted variable.
3644 * configure: Regenerated.
3645 * config.make.in (localstatedir): New variable, substituted from
3646 libc_cv_localstatedir.
3647 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3648 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3649 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3650 * sysdeps/gnu/configure: Regenerated.
3651
006dd861
JL
36522012-06-21 Jeff Law <law@redhat.com>
3653
3654 [BZ #14277]
3655 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3656 free. Simplify list management for _LIBC case.
3657
79662d42
JM
36582012-06-21 Joseph Myers <joseph@codesourcery.com>
3659
b7abb4bf
JM
3660 [BZ #14273]
3661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3662 Clear sign bit of 64-bit integer value before comparing against
3663 overflow value.
3664
79662d42
JM
3665 * sysdeps/mach/configure: Regenerated.
3666
1f150908
L
36672012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3668
3669 [BZ #14278]
3670 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3671
28363bbf
JL
36722012-06-21 Jeff Law <law@redhat.com>
3673
3674 [BZ #13882]
3675 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3676 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3677 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3678 * elf/dl-open.c (dl_open_worker): Likewise.
3679
09615db4
CD
36802012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3681
3682 * scripts/list-sources.sh: Scan PORTS for translations.
3683 * po/libc.pot: Regenerated.
3684
2174c6dd
AJ
36852012-06-21 Andreas Jaeger <aj@suse.de>
3686
3687 [BZ #12194]
3688 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3689 warning.
3690 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3691 * bits/byteswap-16.h (__bswap_16): Likewise.
3692 * bits/byteswap.h (__bswap_constant_16): Likewise.
3693
3ee947b1
L
36942012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3695
3696 [BZ #14117]
a2f34833
L
3697 * sysdeps/i386/fpu_control.h: Removed.
3698 * sysdeps/x86_64/fpu_control.h: Moved to ...
3699 * sysdeps/x86/fpu_control.h: Here.
3700
3ee947b1
L
3701 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3702 (_FPU_SETCW): Likewise.
3703
ed1825f8
L
37042012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3705
25f1282a
L
3706 [BZ #14117]
3707 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3708 * sysdeps/x86/fpu/bits/mathinline.h: This.
3709 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3710
ed1825f8
L
3711 [BZ #14050]
3712 [BZ #14117]
3713 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3714 functions if __x86_64__ is defined.
3715
36d54b74
CLT
37162012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3717
3718 * string/endian.h: Add !__ASSEMBLER__ condition for including
3719 conversion interfaces.
3720
10285c21
JM
37212012-06-15 Joseph Myers <joseph@codesourcery.com>
3722
3723 [BZ #14241]
3724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3725 of ABS(x) in calculating zero to negative powers other than odd
3726 integers.
3727 * math/libm-test.inc (pow_test): Add more tests.
3728
06c5abbd
AJ
37292012-06-15 Andreas Jaeger <aj@suse.de>
3730
3731 * manual/contrib.texi (Contributors): Update entry of Liubov
3732 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3733 Machado Filho.
3734
a3aeac40
CH
37352012-06-15 Cyril Hrubis <metan@ucw.cz>
3736
3737 * string/string.h: Add __wur to GNU version of strerror_r.
3738
49bdf4c1
L
37392012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 [BZ #14229]
3742 * string/Makefile (tests): Add tst-strtok_r.
3743 * string/tst-strtok_r.c: New file.
3744 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3745 RAX_LP/RDX_LP on SAVE_PTR.
3746
834f9b8d
RM
37472012-06-14 Roland McGrath <roland@hack.frob.com>
3748
3749 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3750
75fa1921
JM
37512012-06-14 Joseph Myers <joseph@codesourcery.com>
3752
3753 * libm_test.inc (csqrt_test): Allow more spurious underflow
3754 exceptions.
3755 (j0_test): Likewise.
3756 (j1_test): Likewise.
3757 (y0_test): Likewise.
3758 (y1_test): Likewise.
3759
771766df
CD
37602012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3761
3762 * po/Makefile (libc.pot): Use UTF-8 charset.
3763
ceb9e56b
PP
37642012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3765
3766 [BZ #14210]
3767 Suppress sign-conversion warning from FD_SET.
3768 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3769 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3770 not unsigned long int.
3771 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3772
ddb28975
L
37732012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3774
3775 [BZ #14050]
3776 [BZ #14117]
3777 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3778 __extern_always_inline instead of __extern_inline.
3779 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3780 (__signbit): Likewise.
3781 (__signbitl): Support C++ namespace.
3782 (lrintf): New inline function.
3783 (lrint): Likewise.
3784 (llrintf): Likewise.
3785 (llrint): Likewise.
3786 (fmaxf): Likewise.
3787 (fmax): Likewise.
3788 (fminf): Likewise.
3789 (fmin): Likewise.
3790 (rint): Likewise.
3791 (rintf): Likewise.
3792 (ceil): Likewise.
3793 (ceilf): Likewise.
3794 (floor): Likewise.
3795 (floorf): Likewise.
3796 (nearbyint): Likewise.
3797 (nearbyintf): Likewise.
3798
d7b4fb26
TS
37992012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3800
3801 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3802 non-default versions.
3803
eb55f5c2
RM
38042012-06-11 Roland McGrath <roland@hack.frob.com>
3805
3806 [BZ #14218]
3807 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3808
366af02c
TS
38092012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3810
99ff6e5c
TS
3811 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3812 (FE_UPWARD, FE_DOWNWARD): Don't define.
3813 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3814 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3815
366af02c
TS
3816 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3817 reading it.
3818 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3819 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3820
793ea851
KK
38212012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3822
3823 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3825 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3826 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3827
a728a38f
L
38282012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 [BZ #14117]
c08010c7
L
3831 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3832 * sysdeps/i386/fpu/Implies: New file.
3833 * sysdeps/x86_64/fpu/Implies: Likewise.
3834 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3835 * sysdeps/x86/fpu/bits/fenv.h: This.
3836
a728a38f
L
3837 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3838 __SSE_MATH__.
3839
6e230d11
SP
38402012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3841
3842 [BZ #14134]
3843 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3844 character 0xffff that matches the last element of the
3845 conversion table.
3846
1b671feb
AZ
38472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3848
3849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3850 fmodl commit.
3851
6043738b
AZ
38522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3853
3854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3855 values higher than 25.6283.
3856
34ae0b32
AZ
38572012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3858
3859 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3860 subnormal exponent extraction and add some __builtin_expect.
3861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3862 Fix for subnormal mantissa calculation.
3863
1214ec8f
MF
38642012-06-04 Mike Frysinger <vapier@gentoo.org>
3865
3866 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3867 cpu2 is -1 and errno is not ENOSYS.
3868
f3d1f93c
L
38692012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3870
3871 [BZ #14117]
0e4a3cd7
L
3872 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3873 * sysdeps/x86/bits/string.h: This.
3874 * sysdeps/x86_64/bits/string.h: Removed.
3875
6704c645
L
3876 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3877 if not compiling for x86-64, but compiling for >= i486.
3878
48495318
L
3879 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3880 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3881
14adcbfc
L
3882 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3883 New macro from Linux kernel 3.4.0.
3884 (FP_XSTATE_MAGIC2): Likewise.
3885 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3886 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3887 (struct _fpx_sw_bytes): New struct.
3888 (struct _xsave_hdr): Likewise.
3889 (struct _ymmh_state): Likewise.
3890 (struct _xstate): Likewise.
3891
68e408ab
L
3892 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3893 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3894 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3895 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3896 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3897 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3898
f3d1f93c
L
3899 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3900 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3901 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3902 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3903 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3904 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3905
d9dc34cd
TMQMF
39062012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3907
3908 [BZ #13743]
3909 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3910 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3911 (sysdep_headers): Include sys/platform/ppc.h.
3912 * sysdeps/powerpc/test-gettimebase.c: Test for
3913 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3914 * manual/Makefile (appendices): Include platform.texi.
3915 * manual/contrib.texi (Contributors): Update @node pointers.
3916 * manual/maint.texi (Maintenance): Likewise.
3917 (Platform): New node.
3918 * manual/platform.texi: New file. Document the new features.
3919
4af3879c
SP
39202012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3921 Jakub Jelinek <jakub@redhat.com>
3922
3923 [BZ #14188]
3924 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3925 where __builtin_expect is unavailable.
3926
2fd6ff13
DM
39272012-06-03 David S. Miller <davem@davemloft.net>
3928
3929 * stdlib/longlong.h: Updated from GCC.
3930
173f7220
AS
39312012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3932
3933 [BZ #14042]
3934 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3935 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3936 __mcount_internal.
3937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3938 (GLIBC_2.16): Likewise.
3939
f34a1c6f
L
39402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3943
88a4576f
JM
39442012-06-01 Joseph Myers <joseph@codesourcery.com>
3945
ea32bcdd
JM
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3947 (default-abi): New variable.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3949 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3950 variable.
3951 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3952 Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3954 Likewise.
3955 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3956 Likewise.
3957
88a4576f
JM
3958 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3959 definition. Document in comment.
3960
402fe938
DM
39612012-06-01 David S. Miller <davem@davemloft.net>
3962
3963 * stdlib/longlong.h: Updated from GCC.
3964
3553723f
L
39652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3966
3967 [BZ #14117]
3bd872c4
L
3968 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3969 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3970 sys/debugreg.h sys/io.h here.
3971 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3972 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3973 sys/io.h.
3974 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3975 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3976 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3977 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3978 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3979 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3980
3553723f
L
3981 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
3982 Define only if __x86_64__ is defined.
3983
4842e4fe
JM
39842012-06-01 Joseph Myers <joseph@codesourcery.com>
3985
c5bfe3d5
JM
3986 [BZ #14048]
3987 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
3988 Use int64_t for variable i.
3989 * math/libm-test.inc (fmod_test): Add more tests.
3990
4842e4fe
JM
3991 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
3992 z computation is not scheduled after fetestexcept.
3993 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
3994 Use math_force_eval instead of asm to ensure calculation scheduled
3995 before exception test.
3996 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
3997 Ensure a1 + u.d computation is not scheduled after fetestexcept.
3998
efb73488
AJ
39992012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4000
4001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4002 computation is not scheduled after fetestexcept.
4003
29bcce7c
L
40042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4005
4006 [BZ #14117]
4007 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4008 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4009
73a68f94
AZ
40102012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011
4012 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4013 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4014
67b6df78
L
40152012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4016
edf2933a 4017 [BZ #14117]
ebc64a18
L
4018 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4019 <bits/wordsize.h>.
4020 (__WCHAR_MIN): Support __WORDSIZE == 64.
4021 (__WCHAR_MAX): Likewise.
4022
edf2933a
L
4023 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4024 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4025
57c6cf40
L
4026 [BZ #14183]
4027 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4028 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4029
67b6df78 4030 [BZ #14117]
8eb6281e
L
4031 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4032 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4033
aac639f4
L
4034 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4035 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4036
67b6df78
L
4037 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4038 Defined to 1 if __x86_64__ isn't defined.
4039 (_STAT_VER_LINUX_OLD): New.
4040 (st_atime): Remove duplicate.
4041 (st_mtime): Likewise.
4042 (st_ctime): Likewise.
4043
1c2cfe81
DM
40442012-05-31 David S. Miller <davem@davemloft.net>
4045
4046 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4047 entries.
4048
5be8418c
AS
40492012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4050
e7725326
AS
4051 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4052 gen-libm-test.pl.
4053
5be8418c
AS
4054 [BZ #14132]
4055 * elf/dl-reloc.c: Include <_itoa.h>.
4056 (_dl_reloc_bad_type): Remove use of INTUSE.
4057 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4058 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4059 * stdio-common/psiginfo.c (psiginfo): Likewise.
4060 * stdio-common/psignal.c (psignal): Likewise.
4061 * string/strsignal.c (strsignal): Likewise.
4062 * include/signal.h (_sys_siglist): Declare hidden proto.
4063 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4064 INTVARDEF with libc_hidden_data_def.
4065 * stdio-common/itoa-udigits.c: Likewise.
4066 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4067 (_itoa_lower_digits_internal): Remove declaration.
4068 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4069 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4070 (_sys_sigabbrev_internal): Remove aliases.
4071 (_sys_siglist): Define hidden alias.
4072
507352f1
MT
40732012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4074
4075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4076 bits/sysctl.h.
4077
42bbb1c3
L
40782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4079
4080 [BZ #14117]
6bd784b6
L
4081 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4082 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4083
8bca20f0
L
4084 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4085 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4086 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4087 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4089 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4090
f9e890a9
L
4091 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4092 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4093 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4094
471101a1
L
4095 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4096 with __addr.
4097 (insw): Likewise.
4098 (insl): Likewise.
4099 (outsb): Likewise.
4100 (outsw): Likewise.
4101 (outsl): Likewise.
4102
6451c862
L
4103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4105 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4106
a254b8c9
L
4107 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4108 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4109 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4110 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4111 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4112 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4113
b8dfdd92
L
4114 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4115 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4116
578cd270
L
4117 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4118 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4119
de662f5f
L
4120 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4122 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4123
25653439
L
4124 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4125 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4126 to ...
4127 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4128
6bad24a0
L
4129 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4130 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4131 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4132
42bbb1c3
L
4133 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4134 for x86-64.
4135 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4136
2d10d547
JM
41372012-05-31 Joseph Myers <joseph@codesourcery.com>
4138
4139 * math/math.h (M_El): Use two more decimal places.
4140 (M_LOG2El): Likewise.
4141 (M_LOG10El): Likewise.
4142 (M_LN2l): Likewise.
4143 (M_LN10l): Likewise.
4144 (M_PIl): Likewise.
4145 (M_PI_2l): Likewise.
4146 (M_PI_4l): Likewise.
4147 (M_1_PIl): Likewise.
4148 (M_2_PIl): Likewise.
4149 (M_2_SQRTPIl): Likewise.
4150 (M_SQRT2l): Likewise.
4151 (M_SQRT1_2l): Likewise.
4152
f230c29b
DM
41532012-05-31 David S. Miller <davem@davemloft.net>
4154
4155 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4156 values between float registers.
4157 * sysdeps/sparc/sparc64/memset.S: Likewise.
4158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4159
fed806c3
MF
41602012-05-31 Mike Frysinger <vapier@gentoo.org>
4161
4162 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4163 -D_FORTIFY_SOURCE=1.
4164 (CPPFLAGS-tst-longjmp_chk.c): Define.
4165 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4166 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4167 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4168 CFLAGS-tst-wchar-h.c.
4169
30917259
MP
41702012-05-31 Marek Polacek <polacek@redhat.com>
4171
4172 [BZ #14132]
4173 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4174 __endmntent_internal): Remove declaration.
4175 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4176 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4177 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4178
1c58d5dc
DM
41792012-05-30 David S. Miller <davem@davemloft.net>
4180
4181 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4182 (___Q_simulate_exceptions): Use real FP ops rather than writing
4183 into the %fsr.
4184 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4185 Likewise.
4186
7dc00e0d
L
41872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4188
4189 [BZ #14117]
0bd53985
L
4190 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4191 * sysdeps/x86/bits/xtitypes.h: This.
4192
3a257e66
L
4193 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4194 * sysdeps/x86/bits/wordsize.h: This.
4195
62f62904
L
4196 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4197 * sysdeps/x86/bits/huge_vall.h: This.
4198
404fe9d9
L
4199 * sysdeps/i386/bits/select.h: Removed.
4200 * sysdeps/x86_64/bits/select.h: Renamed to ...
4201 * sysdeps/x86/bits/select.h: This.
4202
d48d0446
L
4203 * sysdeps/i386/bits/setjmp.h: Removed.
4204 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4205 * sysdeps/x86/bits/setjmp.h: This.
4206
7dc00e0d
L
4207 * sysdeps/i386/bits/mathdef.h: Removed.
4208 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4209 * sysdeps/x86/bits/mathdef.h: This.
4210
03277f8f
AS
42112012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4212
4213 [BZ #14132]
4214 * include/sys/socket.h (__connect_internal)
4215 (__libc_sa_len_internal): Remove declaration.
4216 (__connect, __libc_sa_len): Declare hidden_proto.
4217 (SA_LEN): Remove use of INTUSE.
4218 * socket/connect.c: Add libc_hidden_def.
4219 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4220 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4221 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4222 alias.
4223 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4224 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4225 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4226 of adding _internal alias.
4227
13764867
L
42282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4229
4230 [BZ #14117]
6bd97696
L
4231 * sysdeps/i386/bits/link.h: Removed.
4232 * sysdeps/i386/bits/linkmap.h: Likewise.
4233 * sysdeps/x86_64/bits/link.h: Renamed to ...
4234 * sysdeps/x86/bits/link.h: This.
4235 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4236 * sysdeps/x86/bits/linkmap.h: This.
4237
f726f0bb
L
4238 * sysdeps/i386/bits/endian.h: Removed.
4239 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4240 * sysdeps/x86/bits/endian.h: This.
4241
13764867
L
4242 * sysdeps/i386/bits/byteswap.h: Removed.
4243 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4244 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4245 * sysdeps/x86/bits/byteswap.h: This.
4246 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4247 * sysdeps/x86/bits/byteswap-16.h: This.
4248 * sysdeps/i386/Implies: Add x86.
4249 * sysdeps/x86_64/Implies: Likewise.
4250
ae251b0b
DM
42512012-05-30 David S. Miller <davem@davemloft.net>
4252
4253 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4254 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4255 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4256 (FP_TRAPPING_EXCEPTIONS): Define.
4257 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4258 (FP_TRAPPING_EXCEPTIONS): Define.
4259 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4260 subnormals only when inexact has been signalled or underflow
4261 exceptions are enabled.
4262 (_FP_PACK_CANONICAL): Likewise.
4263
d5c90867
L
42642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4265
4266 [BZ #14183]
4267 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4268 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4269
63f1549e
RH
42702012-05-30 Richard Henderson <rth@twiddle.net>
4271
8d8f2279
RH
4272 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4273 with #ifndef NOT_IN_libc.
4274
63f1549e
RH
4275 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4276 marked to avoid plt entry.
4277
0ab0291b
L
42782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4279
4280 [BZ #14112]
4281 * Makeconfig (default-abi): New macro.
4282 (abi-includes): Likewise.
4283 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4284 $(abi-$(default-abi)-lib-soname) for soname if defined.
4285 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4286 abi-variants.
4287 * Makefile (installed-stubs): Likewise.
4288 * include/stubs-biarch.h: Removed.
4289 * scripts/lib-names.awk: Only handle one library at a time.
4290 * scripts/soversions.awk: Remove WORDSIZE support.
4291 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4292 entries.
4293 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4294 Removed.
4295 (syscall-list-default-condition): Likewise.
4296 (syscall-list-default-condition): Likewise.
4297 (syscall-list-includes): Likewise.
4298 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4299 syscall-list-* with abi-*. Handle undefined abi-variants.
4300 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4301 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4302 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4303 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4304 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4305 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4306 Removed.
4307 (syscall-list-32-options): Likewise.
4308 (syscall-list-32-condition): Likewise.
4309 (syscall-list-64-options): Likewise.
4310 (syscall-list-64-condition): Likewise.
4311 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4312 macro.
4313 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4314 Renamed to ...
4315 (abi-*): This.
4316 (abi-64-ld-soname): New macro.
4317 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4318 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4319 Renamed to ...
4320 (abi-*): This.
4321 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4322 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4323
4da0431d
JM
43242012-05-30 Joseph Myers <joseph@codesourcery.com>
4325
3a85279c
JM
4326 * sysdeps/unix/sysv/linux/kernel-features.h
4327 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4328 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
4329 include <kernel-features.h>.
4330 [!__NR_ftruncate64]: Remove conditional code.
4331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4332 [__NR_ftruncate64]: Make code unconditional.
4333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4334 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4335 include <kernel-features.h>.
4336 [!__NR_ftruncate64]: Remove conditional code.
4337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4338 [__NR_ftruncate64]: Make code unconditional.
4339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4341 include <kernel-features.h>.
4342 [!__NR_ftruncate64]: Remove conditional code.
4343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4344 [__NR_ftruncate64]: Make code unconditional.
4345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4347 include <kernel-features.h>.
4348 [!__NR_ftruncate64]: Remove conditional code.
4349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4350 [__NR_ftruncate64]: Make code unconditional.
4351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4352
4da0431d
JM
4353 * configure.in (libc_cv_fpie): Weaken to a compile test using
4354 LIBC_TRY_CC_OPTION.
4355 * configure: Regenerated.
4356
11ef492c
AK
43572012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4358
4359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4363 Refreshed.
4364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4370 Refreshed.
4371
d66ef399
DM
43722012-05-27 David S. Miller <davem@davemloft.net>
4373
4374 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4375 (___Q_zero): New.
4376 (__Q_simulate_exceptions): Return void. Change to simulate
4377 exceptions by writing into the %fsr.
4378 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4379 (__Qp_handle_exceptions): Likewise.
4380 (numbers): Delete.
4381 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4382 __Qp_handle_exceptions.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4384 __Qp_handle_exceptions.
4385 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4386 as unused and give dummy FP_RND_NEAREST initializer.
4387 (FP_INHIBIT_RESULTS): Define.
4388 (___Q_simulate_exceptions): Update declaration.
4389 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4390 formatting.
4391 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4392 as unused and give dummy FP_RND_NEAREST initializer.
4393 (__Qp_handle_exceptions): Update declaration.
4394 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4395 formatting.
4396
04fb54b5
TS
43972012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4398
4399 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4400 the temporary FPU control word.
4401 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4402 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4404 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4405 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4406 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4407 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4408 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4409 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4410 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4411 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4412
3f99608f
KK
44132012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4414
4415 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4416 fields.
4417
65a4de4e
CLT
44182012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4419
4420 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4421 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4422 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4423 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4424 Likewise.
4425 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4426 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4427 Likewise.
4428
15749d40
UD
44292012-05-27 Ulrich Drepper <drepper@gmail.com>
4430
4431 * po/h.po: Update from translation team.
4432
25dbcb27
AS
44332012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4434
3d3f8e55
AS
4435 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4436
25dbcb27
AS
4437 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4438 handling of denormals.
4439 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4440 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4441 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4442 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4446 Likewise.
4447
7ad47a80 44482012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4449
4450 [BZ #14152]
4451 * math/libm-test.inc (fma_test): Don't always expect underflow
4452 exception.
4453
9c6ea9fa
SP
44542012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4455
4456 [BZ #12416]
4457 * elf/tst-execstack.c: Include stackinfo.h.
4458 (do_test): Adjust test case to ensure that pthread_getattr_np
4459 behaviour remains the same after marking stack executable.
4460
a8239222
JM
44612012-05-25 Joseph Myers <joseph@codesourcery.com>
4462
4463 * sysdeps/unix/sysv/linux/kernel-features.h
4464 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4465 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4466 kernel-features.h.
4467 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4468 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4469 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4470 kernel-features.h.
4471 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4472 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4473
918b5606
L
44742012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4475
4476 * configure.in: Define the default includes to being none.
4477 * configure: Regenerated.
4478
3a097cc7
RM
44792012-05-25 Roland McGrath <roland@hack.frob.com>
4480
8422c9a5
RM
4481 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4482 * sysdeps/x86_64/setjmp.S: Likewise.
4483 * sysdeps/i386/bsd-setjmp.S: Likewise.
4484 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4485 * sysdeps/i386/setjmp.S: Likewise.
4486 * sysdeps/i386/__longjmp.S: Likewise.
4487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4488 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4489
3a097cc7
RM
4490 * include/stap-probe.h: New file.
4491 * configure.in: Handle --enable-systemtap.
4492 * configure: Regenerated.
4493 * config.h.in (USE_STAP_PROBE): New #undef.
4494 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4495 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4496 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4497
21708942
JM
44982012-05-25 Joseph Myers <joseph@codesourcery.com>
4499
4500 [BZ #13717]
4501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4502 to 2.4.0 where earlier.
4503 * sysdeps/unix/sysv/linux/configure: Regenerated.
4504 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4505 <kernel-features.h>.
4506 [__ASSUME_32BITUIDS]: Make code unconditional.
4507 [!__ASSUME_32BITUIDS]: Remove conditional code.
4508 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4509 <kernel-features.h>.
4510 [__ASSUME_32BITUIDS]: Make code unconditional.
4511 [!__ASSUME_32BITUIDS]: Remove conditional code.
4512 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4513 [__ASSUME_32BITUIDS]: Make code unconditional.
4514 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4515 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4516 <kernel-features.h>.
4517 [__ASSUME_32BITUIDS]: Make code unconditional.
4518 [!__ASSUME_32BITUIDS]: Remove conditional code.
4519 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4520 <kernel-features.h>.
4521 [__ASSUME_32BITUIDS]: Make code unconditional.
4522 [!__ASSUME_32BITUIDS]: Remove conditional code.
4523 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4524 <kernel-features.h>.
4525 [__ASSUME_32BITUIDS]: Make code unconditional.
4526 [!__ASSUME_32BITUIDS]: Remove conditional code.
4527 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4528 <kernel-features.h>.
4529 [__ASSUME_32BITUIDS]: Make code unconditional.
4530 [!__ASSUME_32BITUIDS]: Remove conditional code.
4531 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4532 <kernel-features.h>.
4533 [__ASSUME_32BITUIDS]: Make code unconditional.
4534 [!__ASSUME_32BITUIDS]: Remove conditional code.
4535 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4536 <kernel-features.h>.
4537 [__ASSUME_32BITUIDS]: Make code unconditional.
4538 [!__ASSUME_32BITUIDS]: Remove conditional code.
4539 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4540 <kernel-features.h>.
4541 [__ASSUME_32BITUIDS]: Make code unconditional.
4542 [!__ASSUME_32BITUIDS]: Remove conditional code.
4543 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4544 <kernel-features.h>.
4545 [__ASSUME_32BITUIDS]: Make code unconditional.
4546 [!__ASSUME_32BITUIDS]: Remove conditional code.
4547 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4548 <kernel-features.h>.
4549 [__ASSUME_32BITUIDS]: Make code unconditional.
4550 [!__ASSUME_32BITUIDS]: Remove conditional code.
4551 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
4552 <kernel-features.h>.
4553 [__ASSUME_32BITUIDS]: Make code unconditional.
4554 [!__ASSUME_32BITUIDS]: Remove conditional code.
4555 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
4556 <kernel-features.h>.
4557 [__NR_setresgid] (__setresgid): Do not declare.
4558 [__ASSUME_32BITUIDS]: Make code unconditional.
4559 [!__ASSUME_32BITUIDS]: Remove conditional code.
4560 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4561 <kernel-features.h>.
4562 [__NR_setresuid] (__setresuid): Do not declare.
4563 [__ASSUME_32BITUIDS]: Make code unconditional.
4564 [!__ASSUME_32BITUIDS]: Remove conditional code.
4565 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4566 <kernel-features.h>.
4567 [__ASSUME_32BITUIDS]: Make code unconditional.
4568 [!__ASSUME_32BITUIDS]: Remove conditional code.
4569 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4570 <kernel-features.h>.
4571 [__ASSUME_32BITUIDS]: Make code unconditional.
4572 [!__ASSUME_32BITUIDS]: Remove conditional code.
4573 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4574 <kernel-features.h>.
4575 [__ASSUME_32BITUIDS]: Make code unconditional.
4576 [!__ASSUME_32BITUIDS]: Remove conditional code.
4577 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4578 <kernel-features.h>.
4579 [__ASSUME_32BITUIDS]: Make code unconditional.
4580 [!__ASSUME_32BITUIDS]: Remove conditional code.
4581 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4582 <kernel-features.h>.
4583 [__ASSUME_32BITUIDS]: Make code unconditional.
4584 [!__ASSUME_32BITUIDS]: Remove conditional code.
4585 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4586 <kernel-features.h>.
4587 [__ASSUME_32BITUIDS]: Make code unconditional.
4588 [!__ASSUME_32BITUIDS]: Remove conditional code.
4589 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4590 <kernel-features.h>.
4591 [__ASSUME_32BITUIDS]: Make code unconditional.
4592 [!__ASSUME_32BITUIDS]: Remove conditional code.
4593 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4594 <kernel-features.h>.
4595 [__ASSUME_32BITUIDS]: Make code unconditional.
4596 [!__ASSUME_32BITUIDS]: Remove conditional code.
4597 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4598 <kernel-features.h>.
4599 [__ASSUME_32BITUIDS]: Make code unconditional.
4600 [!__ASSUME_32BITUIDS]: Remove conditional code.
4601 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4602 <kernel-features.h>.
4603 [__ASSUME_32BITUIDS]: Make code unconditional.
4604 [!__ASSUME_32BITUIDS]: Remove conditional code.
4605 * sysdeps/unix/sysv/linux/kernel-features.h
4606 (__ASSUME_SETRESUID_SYSCALL): Remove.
4607 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4608 (__ASSUME_32BITUIDS): Likewise.
4609 (__ASSUME_LDT_WORKS): Likewise.
4610 (__ASSUME_O_DIRECTORY): Likewise.
4611 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4612 architecture but not kernel version.
4613 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4614 (__ASSUME_MMAP2_SYSCALL): Likewise.
4615 (__ASSUME_STAT64_SYSCALL): Likewise.
4616 (__ASSUME_IPC64): Likewise.
4617 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4618 <kernel-features.h>.
4619 [__ASSUME_32BITUIDS]: Make code unconditional.
4620 [!__ASSUME_32BITUIDS]: Remove conditional code.
4621 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4622 <kernel-features.h>.
4623 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4624 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4625 132096]: Remove conditional code.
4626 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4627 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4628 <kernel-features.h>.
4629 [__ASSUME_32BITUIDS]: Make code unconditional.
4630 [!__ASSUME_32BITUIDS]: Remove conditional code.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4632 <kernel-features.h>.
4633 [__ASSUME_32BITUIDS]: Make code unconditional.
4634 [!__ASSUME_32BITUIDS]: Remove conditional code.
4635 * sysdeps/unix/sysv/linux/setegid.c: Do not include
4636 <kernel-features.h>.
4637 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4638 unconditional.
4639 (__setresgid): Do not declare.
4640 [__ASSUME_32BITUIDS]: Make code unconditional.
4641 [!__ASSUME_32BITUIDS]: Remove conditional code.
4642 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4643 <kernel-features.h>.
4644 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4645 unconditional.
4646 (__setresuid): Do not declare.
4647 [__ASSUME_32BITUIDS]: Make code unconditional.
4648 [!__ASSUME_32BITUIDS]: Remove conditional code.
4649 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4650 <kernel-features.h>.
4651 [__ASSUME_32BITUIDS]: Make code unconditional.
4652 [!__ASSUME_32BITUIDS]: Remove conditional code.
4653 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4654 <kernel-features.h>.
4655 [__ASSUME_32BITUIDS]: Make code unconditional.
4656 [!__ASSUME_32BITUIDS]: Remove conditional code.
4657
a386f1cc
RH
46582012-05-25 Richard Henderson <rth@twiddle.net>
4659
4660 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4661 dl_hwcap to ifunc resolver.
4662 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4663 elf_ifunc_invoke.
4664 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4665 dl_hwcap to ifunc resolver.
4666 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4667
b6550497
JM
46682012-05-24 Joseph Myers <joseph@codesourcery.com>
4669
4670 [BZ #14153]
4671 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4672 for |x| <= 2**-26, not 2**-57.
4673 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4674 exception.
4675
b0bc23a1
JL
46762012-05-24 Jeff Law <law@redhat.com>
4677
4678 * stdio-common/Makefile (tests): Add bug25.
4679 * stdio-common/bug25.c: New test.
4680
347c92e9
L
46812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 [BZ #13576]
4684 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4685 multiple of MALLOC_ALIGNMENT in size.
4686 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4687
6bcc8b3f
JM
46882012-05-24 Joseph Myers <joseph@codesourcery.com>
4689
4690 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4691 Require >= 256.
4692 (FILENAME_MAX): Use macro-int-constant.
4693 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4694 (_IOFBF): Use macro-int-constant.
4695 (_IOLBF): Likewise.
4696 (_IONBF): Likewise.
4697 (SEEK_CUR): Likewise.
4698 (SEEK_END): Likewise.
4699 (SEEK_SET): Likewise.
4700 (TMP_MAX): Likewise.
4701 (EOF): Use macro-int-constant. Require < 0.
4702 (NULL): Use macro-constant. Require == 0.
4703 (stdin): Require type to be FILE *.
4704 (stdout): Likewise.
4705 (stderr): Likewise.
4706 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4707 macro-int-constant.
4708 (EXIT_SUCCESS): Likewise.
4709 (NULL): Use macro-constant. Require == 0.
4710 (RAND_MAX): Use macro-int-constant.
4711 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4712 [C99-based standards] (strtof): Require function.
4713 [C99-based standards] (strtold): Likewise.
4714 [C99-based standards] (strtoll): Likewise.
4715 [C99-based standards] (strtoull): Likewise.
4716 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4717 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4718 [ISO || ISO99 || ISO11] (math.h): Likewise.
4719 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4720 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4721 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4722
d18ea0c5
AS
47232012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4724
4725 [BZ #14132]
56d25bb8
AS
4726 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4727 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4728 * intl/dgettext.c (DCGETTEXT): Likewise.
4729 * intl/gettext.c (DCGETTEXT): Likewise.
4730 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4731 * posix/regex_internal.h (gettext): Likewise.
4732 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4733 Remove declaration.
4734 * include/argz.h (__argz_count_internal)
4735 (__argz_stringify_internal): Remove declaration.
4736 (__argz_count, __argz_stringify): Declare hidden proto.
4737 * intl/dcgettext.c: Remove use of INTDEF.
4738 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4739 * string/argz-stringify.c: Likewise.
4740 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4741 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4742 Declare hidden proto.
d18ea0c5
AS
4743 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4744 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4745 Declare hidden proto.
4746 * include/stdio.h (__asprintf_internal): Don't declare.
4747 (__asprintf): Don't define as macro. Declare hidden proto.
4748 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4749 (__fsetlocking): Declare hidden proto.
4750 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4751 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4752 hidden proto.
4753 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4754 (_IO_setlinebuf): Remove use of INTUSE.
4755 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4756 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4757 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4758 Remove declaration.
4759 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4760 (_IO_do_flush): Remove use of INTUSE.
4761 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4762 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4763 (_IO_adjust_column, _IO_least_wmarker)
4764 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4765 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4766 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4767 (_IO_default_doallocate, _IO_wdefault_doallocate)
4768 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4769 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4770 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4771 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4772 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4773 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4774 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4775 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4776 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4777 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4778 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4779 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4780 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4781 proto.
4782 (_IO_flush_all_internal, _IO_adjust_column_internal)
4783 (_IO_default_uflow_internal, _IO_default_finish_internal)
4784 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4785 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4786 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4787 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4788 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4789 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4790 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4791 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4792 (_IO_file_close_internal, _IO_file_close_it_internal)
4793 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4794 (_IO_file_init_internal, _IO_file_attach_internal)
4795 (_IO_file_fopen_internal, _IO_file_read_internal)
4796 (_IO_file_sync_internal, _IO_file_seek_internal)
4797 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4798 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4799 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4800 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4801 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4802 (_IO_list_all_internal, _IO_link_in_internal)
4803 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4804 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4805 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4806 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4807 (_IO_do_write_internal, _IO_padn_internal)
4808 (_IO_getline_info_internal, _IO_getline_internal)
4809 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4810 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4811 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4812 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4813 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4814 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4815 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4816 with libc_hidden_ver, remove use of INTUSE.
4817 * libio/genops.c: Likewise.
4818 * libio/freopen.c: Likewise.
4819 * libio/freopen64.c: Likewise.
4820 * libio/iofclose.c: Likewise.
4821 * libio/iofdopen.c: Likewise.
4822 * libio/iofflush.c: Likewise.
4823 * libio/iofflush_u.c: Likewise.
4824 * libio/iofgets.c: Likewise.
4825 * libio/iofgets_u.c: Likewise.
4826 * libio/iofopen.c: Likewise.
4827 * libio/iofopncook.c: Likewise.
4828 * libio/iofread.c: Likewise.
4829 * libio/iofread_u.c: Likewise.
4830 * libio/ioftell.c: Likewise.
4831 * libio/iofwrite.c: Likewise.
4832 * libio/iogetline.c: Likewise.
4833 * libio/iogets.c: Likewise.
4834 * libio/iogetwline.c: Likewise.
4835 * libio/iopadn.c: Likewise.
4836 * libio/iopopen.c: Likewise.
4837 * libio/ioseekoff.c: Likewise.
4838 * libio/ioseekpos.c: Likewise.
4839 * libio/iosetbuffer.c: Likewise.
4840 * libio/iosetvbuf.c: Likewise.
4841 * libio/ioungetc.c: Likewise.
4842 * libio/ioungetwc.c: Likewise.
4843 * libio/iovdprintf.c: Likewise.
4844 * libio/iovsprintf.c: Likewise.
4845 * libio/iovsscanf.c: Likewise.
4846 * libio/memstream.c: Likewise.
4847 * libio/obprintf.c: Likewise.
4848 * libio/oldfileops.c: Likewise.
4849 * libio/oldiofclose.c: Likewise.
4850 * libio/oldiofdopen.c: Likewise.
4851 * libio/oldiofopen.c: Likewise.
4852 * libio/oldiopopen.c: Likewise.
4853 * libio/oldstdfiles.c: Likewise.
4854 * libio/putc.c: Likewise.
4855 * libio/setbuf.c: Likewise.
4856 * libio/setlinebuf.c: Likewise.
4857 * libio/stdfiles.c: Likewise.
4858 * libio/strops.c: Likewise.
4859 * libio/vasprintf.c: Likewise.
4860 * libio/vscanf.c: Likewise.
4861 * libio/vsnprintf.c: Likewise.
4862 * libio/vswprintf.c: Likewise.
4863 * libio/wfiledoalloc.c: Likewise.
4864 * libio/wfileops.c: Likewise.
4865 * libio/wgenops.c: Likewise.
4866 * libio/wmemstream.c: Likewise.
4867 * libio/wstrops.c: Likewise.
4868 * libio/__fpurge.c: Likewise.
4869 * libio/__fsetlocking.c: Likewise.
4870 * assert/assert.c: Likewise.
4871 * debug/fgets_chk.c: Likewise.
4872 * debug/fgets_u_chk.c: Likewise.
4873 * debug/fread_chk.c: Likewise.
4874 * debug/fread_u_chk.c: Likewise.
4875 * debug/gets_chk.c: Likewise.
4876 * debug/obprintf_chk.c: Likewise.
4877 * debug/vasprintf_chk.c: Likewise.
4878 * debug/vdprintf_chk.c: Likewise.
4879 * debug/vsnprintf_chk.c: Likewise.
4880 * debug/vsprintf_chk.c: Likewise.
4881 * malloc/mtrace.c: Likewise.
4882 * misc/error.c: Likewise.
4883 * misc/syslog.c: Likewise.
4884 * stdio-common/asprintf.c: Likewise.
4885 * stdio-common/fxprintf.c: Likewise.
4886 * stdio-common/getw.c: Likewise.
4887 * stdio-common/isoc99_fscanf.c: Likewise.
4888 * stdio-common/isoc99_scanf.c: Likewise.
4889 * stdio-common/isoc99_vfscanf.c: Likewise.
4890 * stdio-common/isoc99_vscanf.c: Likewise.
4891 * stdio-common/isoc99_vsscanf.c: Likewise.
4892 * stdio-common/printf-prs.c: Likewise.
4893 * stdio-common/printf_fp.c: Likewise.
4894 * stdio-common/printf_fphex.c: Likewise.
4895 * stdio-common/printf_size.c: Likewise.
4896 * stdio-common/putw.c: Likewise.
4897 * stdio-common/scanf.c: Likewise.
4898 * stdio-common/sprintf.c: Likewise.
4899 * stdio-common/tmpfile.c: Likewise.
4900 * stdio-common/vfprintf.c: Likewise.
4901 * stdio-common/vfscanf.c: Likewise.
4902 * stdlib/strfmon_l.c: Likewise.
4903 * sunrpc/openchild.c: Likewise.
4904 * sunrpc/xdr_stdio.c: Likewise.
4905 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4906 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4907
d6c33fda
RM
49082012-05-24 Roland McGrath <roland@hack.frob.com>
4909
c1487492
RM
4910 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4911
4912 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4913 in the third column, to generate for the shared library an IFUNC
4914 that uses _dl_vdso_vsym.
4915 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4916 * Makeconfig (object-suffixes-noshared): New variable.
4917
4918 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4919 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4920 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4921 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4922
d6c33fda
RM
4923 [BZ #14132]
4924 * include/sys/time.h (__gettimeofday): Remove macro.
4925 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4926 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4927 Remove INTDEF.
4928 (__gettimeofday): Add libc_hidden_def.
4929 (gettimeofday): Add libc_hidden_weak.
4930 * sysdeps/mach/gettimeofday.c: Likewise.
4931 * sysdeps/posix/gettimeofday.c: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4933 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4934 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4935 (__gettimeofday_internal): Remove strong_alias.
4936 (__gettimeofday): Add libc_hidden_def.
4937 (gettimeofday): Add libc_hidden_weak.
4938 * sysdeps/unix/syscalls.list (gettimeofday):
4939 Remove __gettimeofday_internal alias.
4940
b5a2bbe6
L
49412012-05-24 Daniel Jacobowitz <drow@false.org>
4942 H.J. Lu <hongjiu.lu@intel.com>
4943
4944 [BZ #12495]
4945 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4946 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4947 (largebin_index_32_big): New.
4948 (largebin_index): Use it for 16-byte alignment.
4949 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4950 correction with front_misalign.
4951
cfba4fda
L
49522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4953
7f907421
L
4954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4956 Likewise.
4957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4958 Likewise.
4959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4960 Likewise.
4961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4962 Likewise.
4963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4964 Likewise.
4965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4966 Likewise.
4967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4968 Likewise.
4969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4970 Likewise.
4971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4972 Likewise.
4973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4974 Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4976 Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4978 Likewise.
4979
cfba4fda
L
4980 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4981 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
4982
80bad0cc
JM
49832012-05-24 Joseph Myers <joseph@codesourcery.com>
4984
7a25eb06
JM
4985 [BZ #10846]
4986 [BZ #14036]
4987 * math/libm-test.inc (exp_test): Add test from bug 14036.
4988 (pow_test): Add test from bug 10846.
4989
795405f9
JM
4990 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
4991 and other flags.
4992 (special_function): Do not include flags in test name.
4993 (parse_args): Likewise.
4994 * sysdeps/i386/fpu/libm-test-ulps: Update.
4995 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4996 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4997 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4999
80bad0cc
JM
5000 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5001 exceptions.
5002 * math/libm-test.inc ("Philosophy"): Update comment about
5003 exception testing.
5004 (UNDERFLOW_EXCEPTION): New macro.
5005 (UNDERFLOW_EXCEPTION_OK): Likewise.
5006 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5007 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5008 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5009 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5010 (INVALID_EXCEPTION_OK): Update value.
5011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5012 (OVERFLOW_EXCEPTION_OK): Likewise.
5013 (IGNORE_ZERO_INF_SIGN): Likewise.
5014 (test_exceptions): Handle underflow exceptions.
5015 (acos_test): Update for underflow exception expectations.
5016 (cexp_test): Likewise.
5017 (clog_test): Likewise.
5018 (clog10_test): Likewise.
5019 (csqrt_test): Likewise.
5020 (ctan_test): Likewise.
5021 (ctanh_test): Likewise.
5022 (exp_test): Likewise.
5023 (exp10_test): Likewise.
5024 (exp2_test): Likewise.
5025 (expm1_test): Likewise.
5026 (fma_test): Likewise.
5027 (j0_test): Likewise.
5028 (jn_test): Likewise.
5029 (nexttoward_test): Likewise.
5030 (pow_test): Likewise.
5031 (scalbn_test): Likewise.
5032 (scalbln_test): Likewise.
5033 (tan_test): Likewise.
5034 (y1_test): Likewise.
5035 * sysdeps/i386/fpu/libm-test-ulps: Update.
5036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5037
9e0e3d0b
DM
50382012-05-23 David S. Miller <davem@davemloft.net>
5039
5040 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5041 (__libc_sigaction): Remove unused local variables.
5042
ccd0a08f
L
50432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5044
5045 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5046
62bdf9a6
PE
50472012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5048
f8591f80
PE
5049 mktime: avoid signed integer overflow
5050 * time/mktime.c (__mktime_internal): Do not mishandle the case
5051 where diff == INT_MIN.
5052
94c7d826
PE
5053 mktime: simplify computation of average
5054 * time/mktime.c (ranged_convert): Use new time_t_avg function
5055 instead of rolling our own (probably-slower) code.
5056
ce73d683
PE
5057 mktime: do not assume signed right shift propagates sign bit
5058 * time/mktime.c (isdst_differ): New static function.
5059 (__mktime_internal): No need to normalize tm_isdst now.
5060 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5061 tm_isdst values.
5062
72a22e59
PE
5063 mktime: merge another wrapv change from gnulib
5064 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5065 from some compilers.
5066
68605433
PE
5067 mktime: remove incorrect attempt at unusual arithmetics
5068 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5069 The code didn't really work on such machines anyway.
5070 (TYPE_MINIMUM): Assume two's complement.
5071 (twos_complement_arithmetic): Verify that long_int and time_t
5072 are two's complement (or unsigned, in the latter case).
5073
03cf7fe3
PE
5074 mktime: check signed shifts on long_int and time_t, too
5075 * time/mktime.c (SHR): Check that shifts work as desired
5076 on the types long_int and time_t too, as SHR is used on
5077 such types.
5078
f04dfbc2
PE
5079 mktime: do not assume 'long' is wide enough
5080 * time/mktime.c (verify): Move decl up.
5081 (long_int): New type.
5082 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5083 to remove assumption in the code that 'long' is wide enough to
5084 store year values. This assumption is not true on x32 and on
5085 some non-glibc platforms.
5086
62bdf9a6
PE
5087 mktime: merge wrapv change from gnulib
5088 * time/mktime.c (WRAPV): New macro.
5089 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5090 (guess_time_tm, __mktime_internal): Do not assume that signed
5091 integer overflow wraps around; modern compilers generate code
5092 where this assumption is no longer valid.
5093
5e292e4f
L
50942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5095
5096 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5097 Replace "jmp L(pseudo_end)" with "ret".
5098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5099 Likewise.
5100
8caf8c87
AJ
51012012-05-23 Andreas Jaeger <aj@suse.de>
5102
5103 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5104 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5105
1a09dc56
AJ
51062012-05-23 Andreas Jaeger <aj@suse.de>
5107 Maximilian Attems <max@stro.at>
5108
5109 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5110 New macros.
5111
1c87aba0
L
51122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5113
5114 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5115 code so that pseudo_end is just ret and the stack pointer is
5116 correct also for static library in error case.
5117
40e45bd5
JM
51182012-05-23 Joseph Myers <joseph@codesourcery.com>
5119
c2670533
JM
5120 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5121 move to syscalls.list.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5126
40e45bd5
JM
5127 * manual/install.texi (Running make install): Do not mention Linux
5128 kernel version for which pt_chown is not needed.
5129 (Linux): Do not mention problems with nscd with 2.0 kernels.
5130 * INSTALL: Regenerated.
5131
be08eda5
AJ
51322012-05-23 Andreas Jaeger <aj@suse.de>
5133
5134 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5135 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5136 macro.
5137 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5139 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5141 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5142 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5145 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5147 * sysdeps/unix/sysv/linux/bits/in.h
5148 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5149
a6a056bb
RM
51502012-05-22 Roland McGrath <roland@hack.frob.com>
5151
5152 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5153 (PREPARE_VERSION): Just use assert instead, it will be elided
5154 under [NDEBUG] anyway.
5155
c9009328
L
51562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5157
5158 * sysdeps/unix/sysv/linux/Makefile: Include
5159 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5160 (sysdep_routines): Remove sysctl.
c9009328
L
5161 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5162 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5163 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5164 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5165 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5166
73338355
AJ
51672012-05-22 Andreas Jaeger <aj@suse.de>
5168
5169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5170 that pseudo_end is just ret and the stack pointer is correct also
5171 for static library in error case.
5172
d44638b0
PP
51732012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5174
5175 [BZ #14122]
5176 * nss/nsswitch.c (defconfig_entries): New variable.
5177 (__nss_database_lookup): Don't leak defconfig entries.
5178 (nss_parse_service_list): Don't leak on error paths.
5179 (free_database_entries): New function.
5180 (free_defconfig): New function.
5181 (free_mem): Move common code to free_database_entries.
5182
31a39bd8
L
51832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5184
da0331a8
L
5185 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5186 Add arch_prctl.
5187 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5188
31a39bd8
L
5189 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5190 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5192 New macro.
5193 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5194 (INTERNAL_SYSCALL_TYPES): Likewise.
5195 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5196 (LOAD_REGS_TYPES_[1-6]): Likewise.
5197 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5198 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5199
45470df3
AZ
52002012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
5202 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5203 copysignl for GLIBC_2_0.
5204 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5205 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5207 logbl for GLIBC_2_0.
5208 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5209 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5210
98a61bcb
L
52112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5212
a4f6e481
L
5213 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5214 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5215
f63d5db6
L
5216 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5217 Use "neg %eax".
5218
98a61bcb
L
5219 * time/mktime.c: Update copyright years.
5220
95770f14
PE
52212012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5222
6226efbd
PE
5223 mktime: merge comment-quoting-style change from gnulib
5224 * time/mktime.c: Quote 'like this' in comments.
5225 The GNU coding standards suggest that we no longer quote `like this',
5226 as "`" and "'" are typically rendered asymmetrically nowadays.
5227 The typical gnulib style is to quote 'like this' when quoting
5228 code, and "like this" when quoting English.
5229
b99e4f78
PE
5230 * time/mktime.c (compile-command): Add "-I.".
5231
643e01e6
PE
5232 mktime: merge mktime-internal.h change from gnulib
5233 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5234
2554247d
PE
5235 mktime: merge time_r change from gnulib
5236 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5237
826dd0ab
PE
5238 mktime: merge DEBUG change from gnulib
5239 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5240 case system <time.h> has a #define.
5241
bd83aabe
PE
5242 mktime: merge <sys/types.h> change from gnulib
5243 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5244 since <time.t> is now guaranteed to define time_t.
5245
95770f14
PE
5246 mktime: merge HAVE_CONFIG_H change from gnulib
5247 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5248
5e1a27a9
L
52492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5250
0e44a77e
L
5251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5252 Use "neg %eax".
5253
5e1a27a9
L
5254 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5255 __rlim_t cast.
5256 (struct rusage): Use anonymous union to pad each field to
5257 __syscall_slong_t.
5258
46259bec
DM
52592012-05-21 David S. Miller <davem@davemloft.net>
5260
5261 * Makefules (o-iterator): Remove .s cases.
5262 (compile-command.s): Delete.
5263 (COMPILE.s): Delete.
5264 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5265
59f0c22e
JM
52662012-05-21 Joseph Myers <joseph@codesourcery.com>
5267
5268 * configure.in (libc_cv_predef_stack_protector): Only consider
5269 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5270 * configure: Regenerated.
5271
20c07380
L
52722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5273
bbb3154b
L
5274 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5275 New macro. Use R*LP on int and pointer.
5276 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5277 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5278 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5279 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5280
20c07380
L
5281 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5282 [__WORDSIZE_TIME64_COMPAT32] instead of
5283 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5284 (struct utmp): Likewise.
5285 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5286 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5287 Renamed to ...
5288 (__WORDSIZE_TIME64_COMPAT32): This.
5289 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5290 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5291 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5292 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5293 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5294 (__WORDSIZE_TIME64_COMPAT32): New macro.
5295
d8d1017e
AJ
52962012-05-21 Andreas Jaeger <aj@suse.de>
5297
5298 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5299 only if [SHARED]. Add prototype for __wcschr_ia32.
5300
6c7fb145
RM
53012012-05-21 Roland McGrath <roland@hack.frob.com>
5302
5303 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5304 of %rbp unmolested in the jmp_buf while mangling the low bits.
5305 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5306 unmolested high bits of %rbp while demangling the low bits.
5307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5308
66274218
AJ
53092012-05-21 Andreas Jaeger <aj@suse.de>
5310
07c58f8f
AJ
5311 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5312 * sunrpc/svc_simple.c: Use it for registerrpc.
5313 * sunrpc/xcrypt.c: Use it for passwd2des.
5314
66274218
AJ
5315 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5316
61f65140
L
53172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5318
5319 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5320 Don't define if [__SYSCALL_WORDSIZE != 32].
5321 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5322 New macro.
5323
5fefb436
AJ
53242012-05-21 Bruno Haible <bruno@clisp.org>
5325 Andreas Jaeger <aj@suse.de>
5326
5327 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5328 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5329 inptr and inend for must_buffer_ch.
5330 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5331 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5332 * stdio-common/Makefile (tests): Remove bug15.
5333 (bug15-ENV): Remove macro.
5334 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5335 anymore.
5336
d8e272ab
AJ
53372012-05-19 Andreas Jaeger <aj@suse.de>
5338 Roland McGrath <roland@hack.frob.com>
5339
5340 * manual/contrib.texi: Completely rewritten. It contains now an
5341 alphabetical list of contributors and their contributions.
5342
4a56a162
RH
53432012-05-21 Richard Henderson <rth@twiddle.net>
5344
5345 * misc/getauxval.c (__getauxval): Use unsigned long int.
5346 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5347 (getauxval): Use unsigned long int.
5348
d024d23c
L
53492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5350
5351 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5352
cbc00a03
RM
53532012-05-21 Roland McGrath <roland@hack.frob.com>
5354
5355 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5356 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5357 __alignof__ (long double).
5358
478143fa
AZ
53592012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5360
5361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5362
c7683a6d
RH
53632012-05-20 Richard Henderson <rth@twiddle.net>
5364
5365 * misc/getauxval.c: New file.
5366 * misc/sys/auxv.h: New file.
5367 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5368 (routines): Add getauxval.
5369 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5370 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5371 * elf/dl-sysdep.c (_dl_auxv): Remove.
5372 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5373 * elf/dl-support.c (_dl_auxv): New variable.
5374 (_dl_aux_init): Initialize it.
5375 * manual/startup.texi (Auxiliary Vector): New node.
5376 * sysdeps/generic/bits/hwcap.h: New file.
5377 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5378 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5379 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5380 * sysdeps/sparc/sysdep.h: ... here. Include it.
5381 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5382 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5384 Update.
c7683a6d
RH
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5388 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5393
a6f1845d
AZ
53942012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395
5396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5397
cbcbe830
DM
53982012-05-19 David S. Miller <davem@davemloft.net>
5399
5400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5401
e0b16cc2
JM
54022012-05-19 Joseph Myers <joseph@codesourcery.com>
5403
5404 [BZ #14123]
5405 * math/s_ccosh.c: Include <float.h>
5406 (__ccosh): Avoid internal overflow calculating sinh and cosh
5407 values before multiplying by sin and cos values.
5408 * math/s_ccoshf.c: Likewise.
5409 * math/s_ccoshl.c: Likewise.
5410 * math/s_csin.c: Likewise.
5411 * math/s_csinf.c: Likewise.
5412 * math/s_csinl.c: Likewise.
5413 * math/s_csinh.c: Likewise.
5414 * math/s_csinhf.c: Likewise.
5415 * math/s_csinhl.c: Likewise.
5416 * math/libm-test.inc (ccos_test): Add more tests.
5417 (ccosh_test): Likewise.
5418 (csin_test): Likewise.
5419 (csinh_test): Likewise.
5420 * sysdeps/i386/fpu/libm-test-ulps: Update.
5421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5422
6ad13e08
L
54232012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5424
f66f0ce8
L
5425 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5426 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5427
6ad13e08
L
5428 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5429
b1d072a7
JM
54302012-05-19 Joseph Myers <joseph@codesourcery.com>
5431
5432 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5433 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5434 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5435 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5436 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5437 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5438 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5439 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5440 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5441 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5442 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5443 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5444 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5445 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5446 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5447 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5448 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5449 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5450 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5451 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5452 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5453 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5454 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5455 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5456 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5457 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5458 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5459 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5460 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5461 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5462 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5463
9eae47cb
AJ
54642012-05-18 Andreas Jaeger <aj@suse.de>
5465
5466 * csu/.gitignore: Delete.
5467
bb07f69f
L
54682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5471 (timex): Use __syscall_slong_t.
5472
e6bdb741
AJ
54732012-05-18 Andreas Jaeger <aj@suse.de>
5474 Carlos O'Donell <carlos_odonell@mentor.com>
5475
5476 * manual/install.texi (Configuring and compiling): Update
5477 description about files modified in the source directory.
d6c33fda 5478 * INSTALL: Regenerated.
e6bdb741 5479
1b74487e
L
54802012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5481
5482 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5483 value. Use "or" to set return value to -1.
5484 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5485 negate return value.
5486
a88b64b9
TMQMF
54872012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5488
5489 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5490 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5491 failure if the compiler has Graphite support disabled.
5492 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5493 Likewise.
5494 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5495 CFLAGS-memmove.c): Likewise.
5496 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5497 Likewise.
5498
3707636e
L
54992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5500
610b8622
L
5501 * sysdeps/x86_64/x32/_itoa.h: New file.
5502
7cd195df
L
5503 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5504 getdents system call only if kernel and user dirents have the
5505 same d_ino and d_off.
5506
94b07d20
L
5507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5508 LLONG_MAX != LONG_MAX.
5509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5510 (_fitoa_word): Likewise.
5511
18298070
L
5512 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5513 years.
5514 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5515 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5516 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5517
553c7ea4
L
5518 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5519 include <bits/wordsize.h>. Check __x86_64__ instead of
5520 __WORDSIZE.
5521 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5522 if __x86_64__ is defined. Use anonymous union on fpstate.
5523
3707636e
L
5524 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5525 anonymous union.
5526
b53ef01a
AS
55272012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5528
37fb1dc0
AS
5529 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5530 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5531 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5532 Refer to _rtld_local_ro instead of _rtld_global_ro.
5533 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5534 Likewise.
5535 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5536 Likewise.
5537 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5538 Likewise.
5539 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5540 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5541 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5542
b53ef01a
AS
5543 * sysdeps/powerpc/powerpc32/dl-machine.c
5544 (__elf_machine_runtime_setup) [PROF]: Don't reference
5545 _dl_prof_resolve.
5546
7a185db2
AJ
55472012-05-18 Andreas Jaeger <aj@suse.de>
5548
5549 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5550 function only available for GCCs before 3.4 since GCC 3.4
5551 introduced a builtin.
5552 (lrint): Likewise.
5553 (llrintf): Likewise.
5554 (llrint): Likewise.
5555 (fmaxf): Likewise.
5556 (fmax): Likewise.
5557 (fminf): Likewise.
5558 (fmin): Likewise.
5559 (rint): Likewise.
5560 (rintf): Likewise.
5561 (nearbyint): Likewise.
5562 (nearbyintf): Likewise.
5563 (ceil): Likewise.
5564 (ceilf): Likewise.
5565 (floor): Likewise.
5566 (floorf): Likewise.
5567
3e5aef87
L
55682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5569
428bd707
L
5570 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5571 on both fields and cast pointer to __syscall_ulong_t.
5572
3e5aef87
L
5573 * bits/types.h (__fsword_t): New type.
5574 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5575 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5577 (__FSWORD_T_TYPE): Likewise.
5578 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5579 (__FSWORD_T_TYPE): Likewise.
5580 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5581 (__FSWORD_T_TYPE): Likewise.
5582 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5583 (__FSWORD_T_TYPE): Likewise.
5584 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5585 __SWORD_TYPE with __fsword_t.
5586 (statfs64): Likewise.
5587
1ba7c3dc
DM
55882012-05-17 David S. Miller <davem@davemloft.net>
5589
5590 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5591
59910343
AJ
55922012-05-17 Andreas Jaeger <aj@suse.de>
5593
5594 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5595 warning.
5596
2e4c1e9e
L
55972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5598
5599 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5600
de7f5ce7
AJ
56012012-05-17 Andreas Jaeger <aj@suse.de>
5602
5603 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5604 when it is used.
5605
286abc3d
CM
56062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5607
5608 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5609
477cc68e
L
56102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5611
5612 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5613 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5614
1a0994f5
CD
56152012-05-17 Andreas Jaeger <aj@suse.de>
5616 Carlos O'Donell <carlos_odonell@mentor.com>
5617
5618 [BZ #14059]
5619 * sysdeps/x86_64/multiarch/init-arch.h
5620 (bit_YMM_Usable): Rename to...
5621 (bit_AVX_Usable): ... this.
5622 (bit_FMA4_Usable): New macro.
5623 (bit_XMM_state): New macro.
5624 (bit_YMM_state): New macro.
5625 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5626 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5627 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5628 (CPUID_OSXSAVE): New macro.
5629 (CPUID_AVX): New macro.
5630 (CPUID_FMA4): New macro.
5631 (index_YMM_Usable): Rename to...
5632 (index_AVX_Usable): ... this.
5633 (HAS_AVX): Use HAS_ARCH_FEATURE.
5634 (HAS_FMA4): Likewise.
5635 (HAS_YMM_USABLE): Remove.
5636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5637 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5638 are present.
5639 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5640 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5641 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5642 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5643 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5644
0af797de
CM
56452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5646
5647 * math/libm-test.c: Support platforms without multiple rounding modes.
5648 * math/bug-nextafter.c: Support platforms without FP exceptions.
5649 * math/bug-nexttoward.c: Likewise.
5650 * math/test-fenv.c: Likewise.
5651 * math/test-misc.c: Likewise.
5652 * stdlib/bug-getcontext.c: Likewise.
5653
e39745ff
AJ
56542012-05-17 Andreas Jaeger <aj@suse.de>
5655
5656 * manual/examples/search.c (critter_cmp): Change signature to
5657 avoid warnings.
5658 * manual/string.texi (Collation Functions): Likewise.
5659
48970aba
L
56602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5661
5662 * bits/types.h: Fold copyright years.
5663 * bits/typesizes.h: Likewise.
5664 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5668 * time/time.h: Likewise.
5669
bedee953
PP
56702012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5671
5672 [BZ #208]
5673 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5674 in instead of returning them. Return void.
5675 (__libc_mallinfo): Accumulate over all arenas.
5676 (__malloc_stats): Adjust for change in int_mallinfo interface.
5677
61653dfb
RM
56782012-05-16 Roland McGrath <roland@hack.frob.com>
5679
30b99d79
RM
5680 [BZ #10375]
5681 * configure.in (NM): Add AC_CHECK_TOOL for it.
5682 (libc_extra_cflags): New substituted variable.
5683 Check for -fstack-protector being used implicitly.
5684 * configure: Regenerated.
5685 * config.make.in (config-extra-cflags): New variable,
5686 gets @libc_extra_cflags@.
5687 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5688
61653dfb
RM
5689 [BZ #10375]
5690 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5691 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5692 * configure: Regenerated.
5693 * config.make.in (CPPUNDEFS): New substituted variable.
5694 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5695 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5696 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5697
661768bb
L
56982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5699
5700 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5701 (mq_attr): Use __syscall_slong_t.
5702
d4261567
L
57032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5704
5705 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5706 Check __x86_64__ instead of __WORDSIZE.
5707 (_STAT_VER_LINUX): Likewise.
5708 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5709 __syscall_ulong_t and __syscall_slong_t.
5710 (stat64): Likewise.
5711
cf3ff365
L
57122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5713
5714 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5715
76cf3e4d
L
57162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5717
5718 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5719
a637753a
L
57202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5721
5722 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5723 __syscall_ulong_t.
5724
d5e05119
L
5725 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5726 include <bits/wordsize.h>. Check __x86_64__ instead of
5727 __WORDSIZE.
5728 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5729 defined.
5730 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5731
f62ee380
L
5732 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5733 include <bits/wordsize.h>. Check __x86_64__ instead of
5734 __WORDSIZE.
5735 (user_regs_struct): Use "__extension__ unsigned long long"
5736 instead of "unsigned long" if __x86_64__ is defined.
5737 (user): Likewise. Pad after pointer field if __ILP32__ is
5738 defined.
5739
4e124ced
JM
57402012-05-16 Joseph Myers <joseph@codesourcery.com>
5741
6a3951a0
JM
5742 * configure.in (makeinfo): Require version 4.5 or later. Allow
5743 versions 5 to 9.
5744 * configure: Regenerated.
5745 * manual/install.texi (texinfo): Increase version requirement to
5746 4.5 or later.
5747 * INSTALL: Regenerated.
5748
4e124ced
JM
5749 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5750
953ca31a
L
57512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5752
5753 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5754
617aca05
L
5755 * sysdeps/x86_64/x32/ffs.c: New file.
5756
5762f7ae
L
5757 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5758 __syscall_ulong_t.
5759 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5760 defined. Use __syscall_ulong_t.
5761 (shminfo): Use __syscall_ulong_t.
5762 (shm_info): Likewise.
5763
a26b6856
L
5764 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5765 __syscall_ulong_t.
5766
cb2b9ef7
L
5767 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5768 <bits/wordsize.h>.
5769 (msgqnum_t): Use __syscall_ulong_t.
5770 (msglen_t): Likewise.
5771 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5772 __syscall_ulong_t.
5773
34683bb0
L
5774 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5775 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5776
84a68786
L
5777 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5778
48baa5f1
L
5779 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5780 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5781
180be88b
L
5782 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5783 __syscall_slong_t.
5784
5e90c8ad
L
5785 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5786 include <bits/wordsize.h>. Check __x86_64__ instead of
5787 __WORDSIZE.
5788
23dfb58b
L
5789 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5790 "unsigned long long int" if __x86_64__ is defined.
5791 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5792
ce5d54b0
L
5793 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5794 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5795 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5796
13dc9eac
L
5797 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5798 <stdint.h>.
5799 (GET_PC): Cast to uintptr_t first.
5800 (GET_FRAME): Likewise.
5801 (GET_STACK): Likewise.
5802
a7895d15
L
5803 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5805 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5806 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5807 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5808 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5809 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5810 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5811 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5813 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5814 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5815 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5816 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5818 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5820 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5822 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5823 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5825 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5829 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5830 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5832
656416c9
AS
58332012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5834
5bd66283
AS
5835 * Makerules (+depfiles): Also collect depfiles from .oS in
5836 $(extra-objs).
5837 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5838 .oS, $(libnldbl-routines)).
5839
656416c9
AS
5840 * Makerules (native-compile-mkdep-flags): Define.
5841 * sunrpc/Makefile (extra-objs): Add $(addprefix
5842 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5843 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5844 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5845 calling $(make-target-directory).
5846
a46f2169
L
58472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5848
5849 * bits/types.h (__snseconds_t): Removed.
5850 * time/time.h (struct timespec): Replace __snseconds_t with
5851 __syscall_slong_t.
5852 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5853 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5854 Likewise.
5855 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5856 (__SNSECONDS_T_TYPE): Likewise.
5857 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5858 (__SNSECONDS_T_TYPE): Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5860 (__SNSECONDS_T_TYPE): Likewise.
5861
6af6528b
L
58622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5863
5864 * sysdeps/mach/hurd/bits/typesizes.h
5865 (__SYSCALL_SLONG_TYPE): New macro.
5866 (__SYSCALL_ULONG_TYPE): Likewise.
5867
de986b56
L
58682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5869
5870 * bits/types.h (__syscall_slong_t): New type.
5871 (__syscall_ulong_t): Likewise.
5872
5873 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5874 (__SYSCALL_ULONG_TYPE): Likewise.
5875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5876 (__SYSCALL_SLONG_TYPE): Likewise.
5877 (__SYSCALL_ULONG_TYPE): Likewise.
5878 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5879 (__SYSCALL_SLONG_TYPE): Likewise.
5880 (__SYSCALL_ULONG_TYPE): Likewise.
5881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5882 (__SYSCALL_SLONG_TYPE): Likewise.
5883 (__SYSCALL_ULONG_TYPE): Likewise.
5884
85736dc7
L
58852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5886
5887 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5888 Add sigaltstack-offsets.sym.
5889 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5890 <sigaltstack-offsets.h>.
5891 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5892 longjmp_msg pointer.
5893 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5894 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5895 signal stack.
5896 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5897
cc03b296
JM
58982012-05-15 Joseph Myers <joseph@codesourcery.com>
5899
a9538892
JM
5900 * elf/stackguard-macros.h: Remove file.
5901 * sysdeps/generic/stackguard-macros.h: New file.
5902 * sysdeps/i386/stackguard-macros.h: Likewise.
5903 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5904 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5905 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5906 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5907 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5908 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5909 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5910 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5911 <elf/stackguard-macros.h>.
5912
cc03b296
JM
5913 [BZ #14109]
5914 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5915 __aligned__ in attribute.
5916 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5917 (gregset_t): Likewise.
5918
93171016
L
59192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5920
5921 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5922 * sysdeps/x86_64/64/Implies-after: Here. New file.
5923 * sysdeps/x86_64/x32/Implies-after: New file.
5924
d86813a0
L
59252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5926
5927 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5928 and access return value for _dl_profile_fixup. Use R10_LP to
5929 load frame size.
5930
2953ec75
L
59312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5932
5933 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5934
3b550e9e
L
59352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5936
5937 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5938 * sysdeps/x86_64/x32/sysdep.h: New file.
5939
eda41706
L
59402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5941
5942 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5943 * sysdeps/x86_64/setjmp.S: Likewise.
5944
9ea01d93
AZ
59452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5948 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5949 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5950 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5951 remove unused global constant.
5952
02a91938
CM
59532012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5954
5955 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5956 include of <not-cancel.h>.
5957
6540185f
RM
59582012-05-15 Roland McGrath <roland@hack.frob.com>
5959
5960 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5961
509072a0
AJ
59622012-05-15 Jeff Law <law@redhat.com>
5963 Andreas Jaeger <aj@suse.de>
5964
5965 [BZ #13594]
5966 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5967 out from...
5968 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5969 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5970 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5971 code changing __hst_map_handle.map.
5972
ba75122d
RM
59732012-05-15 Roland McGrath <roland@hack.frob.com>
5974
5975 * configure.in (sysnames): Look for Implies-before and Implies-after
5976 files.
5977 * configure: Regenerated.
5978
890d8bd8
L
59792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5980
5981 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
5982 8-byte data alignment with LP_SIZE alignment.
5983
f6ee6623
L
59842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5985
5986 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
5987 into R10_LP.
5988
ea2626f6
L
59892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5990
5991 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
5992
085f715e
L
59932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5994
5995 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
5996 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
5997 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
5998 Likewise.
5999 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6000
be8498fc
L
60012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6002
6003 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6004 (stackinfo_sub_sp): Likewise.
6005
70bc83b9
L
60062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6007
6008 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6009 RAX_LP.
6010
9bc0b730
L
60112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6012
6013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6014 into R*_LP.
6015
6d2850e7
L
60162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6017
6018 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6019 sizes into R*_LP.
6020
3cb84561
L
60212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6022
6023 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6024
54e2ed81
L
60252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6026
6027 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6028 into R11_LP and load __x86_64_shared_cache_size_half into
6029 R8_LP.
6030
8a17f349
L
60312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6032
6033 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6034 R8_LP.
6035
777b1eea
AZ
60362012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037
6038 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6039 logb for POWER7.
6040 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6041 logbf for POWER7.
6042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6043 logbl for POWER7.
6044 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6045 powerpc32/power7/fpu/s_logb.c via #include.
6046 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6047 powerpc32/power7/fpu/s_logbf.c via #include.
6048 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6049 powerpc32/power7/fpu/s_logbl.c via #include.
6050
d20d4ac2
JM
60512012-05-15 Joseph Myers <joseph@codesourcery.com>
6052
6053 * README.libm: Remove file.
6054
6cdef1ab
L
60552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6056
6057 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6058 count for x32. Use R*_LP and omit operand-size suffix.
6059
0b254d8f
L
60602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6061
6062 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6063 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6064 * sysdeps/x86_64/x32/shlib-versions: New file.
6065
ceb809dc
RM
60662012-05-14 Roland McGrath <roland@hack.frob.com>
6067
6068 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6069 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6070 Use _dl_fatal_printf instead.
6071
37f1abd4
JM
60722012-05-14 Joseph Myers <joseph@codesourcery.com>
6073
6074 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6075 set if not set by the user. Do not allow for being unset.
6076 * sysdeps/unix/sysv/linux/configure: Regenerated.
6077
11de3a33
L
60782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6081 the `q' suffix from lea and replace .quad with ASM_ADDR.
6082
e02f153a
L
60832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6084
6085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6086 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6087 instead of $17.
6088 (PTR_DEMANGLE): Likewise.
6089
520ae0fd
L
60902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6091
6092 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6093 (LP_OP): Likewise.
6094 (ASM_ADDR): Likewise.
6095 (RAX_LP): Likewise.
6096 (RBP_LP): Likewise.
6097 (RBX_LP): Likewise.
6098 (RCX_LP): Likewise.
6099 (RDI_LP): Likewise.
6100 (RSI_LP): Likewise.
6101 (RSP_LP): Likewise.
6102 (R8_LP): Likewise.
6103 (R9_LP): Likewise.
6104 (R10_LP): Likewise.
6105 (R10_LP): Likewise.
6106 (R11_LP): Likewise.
6107 (R12_LP): Likewise.
6108 (R13_LP): Likewise.
6109 (R14_LP): Likewise.
6110 (R15_LP): Likewise.
6111
b985be81
L
61122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6113
6114 * sysdeps/x86_64/x32/dl-machine.h: New file.
6115
6a4888ff
AJ
61162012-05-14 Andreas Jaeger <aj@suse.de>
6117
6118 * manual/Makefile (subdir): Remove export of subdir.
6119 (all): Remove target.
6120 (.PHONY): Remove all from list.
6121 (mkinstalldirs): Remove.
6122 (.PHONY): Remove installdirs from list.
6123 ($(inst_infodir)/libc.info): Use make-target-directory.
6124 (installdirs): Remove.
6125 (subdir_%): Remove.
6126 (glibc-targets): Remove.
6127 (lib): Remove.
6128 (stubs): Remove.
6129 ($(objpfx)stubs ../po/manual.pot): Remove.
6130 ($(objpfx)stamp%): Remove.
6131 (make-target-directory): Remove.
6132 (subdir_install): Remove.
6133 (routines): Remove.
6134 (aux): Remove.
6135 (sources): Remove.
6136 (objects): Remove.
6137 (headers): Remove.
6138
6139 [BZ #13750]
6140 * manual/.gitignore: Remove, it's not needed anymore.
6141 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6142 all files in it.
6143 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6144 directory.
6145 (texis): Renamed to $(objpfx)texis.
6146 (texis-path): New, contains path to generated files.
6147 (chapters.%): Use texis-path for complete path, add extra argument
6148 libc-texinfo.sh.
6149 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6150 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6151 (summary,texi, stamp-summary): Use complete path of
6152 files. Generate files in build dir.
6153 (dir-add.texi): Build in build dir.
6154 (libm-err.texi,stamp-libm-err): Likewise.
6155 (version.texi, stamp-version): Likewise.
6156 (.%c.texi): Likewise.
6157 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6158 (mostlyclean): Remove target.
6159 (realclean): Remove target.
6160 (generated): Add new variable with contents from mostlyclean and
6161 realclean, remove entries duplicated in common-mostlyclean, add
6162 stamp-libm-err and stamp-version.
6163 (generated-dirs): Add libc directory.
6164 ($(inst_infodir)/libc.info): Install files from build dir.
6165
6166 * manual/install.texi (Configuring and compiling): Adjust since
6167 the info files are not part of the tar ball anymore.
6168
7ac77294
AJ
61692012-05-14 Andreas Jaeger <aj@suse.de>
6170
6171 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6172 variable.
6173
ffb7875d
JM
61742012-05-14 Joseph Myers <joseph@codesourcery.com>
6175
6176 [BZ #13717]
6177 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6178 to 2.2.0 where earlier.
6179 * sysdeps/unix/sysv/linux/configure: Regenerated.
6180 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6181 Remove conditional code.
6182 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6183 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6184 Remove conditional code.
6185 [!__NR_lchown]: Likewise.
6186 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6187 [__NR_lchown]: Likewise.
6188 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6189 comment referencing __ASSUME_LCHOWN_SYSCALL.
6190 * sysdeps/unix/sysv/linux/i386/sigaction.c
6191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6193 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6194 Remove conditional code.
6195 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6196 (__protocol_available): Remove #if 0 code.
6197 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6198 conditional code.
6199 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6200 * sysdeps/unix/sysv/linux/kernel-features.h
6201 (__ASSUME_GETCWD_SYSCALL): Don't define.
6202 (__ASSUME_REALTIME_SIGNALS): Likewise.
6203 (__ASSUME_PREAD_SYSCALL): Likewise.
6204 (__ASSUME_PWRITE_SYSCALL): Likewise.
6205 (__ASSUME_POLL_SYSCALL): Likewise.
6206 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6207 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6208 non-SPARC.
6209 (__ASSUME_SIOCGIFNAME): Don't define.
6210 (__ASSUME_MSG_NOSIGNAL): Likewise.
6211 (__ASSUME_SENDFILE): Define unconditionally.
6212 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6213 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6214 conditional code.
6215 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6216 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6217 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6218 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6219 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6220 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6221 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6226 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6232 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6235 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6238 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6241 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6244 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6246 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6247 Remove conditional code.
6248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6249 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6250 Remove conditional code.
6251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6252 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6253 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6254 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6255 Remove conditional code.
6256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6257 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6258 Remove conditional code.
6259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6260 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6261 Remove conditional code.
6262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6263 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6264 Remove conditional code.
6265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6266 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6267 Remove conditional code.
6268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6269 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6270 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6271 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6272 * sysdeps/unix/sysv/linux/sigaction.c
6273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6275 * sysdeps/unix/sysv/linux/sigpending.c
6276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6278 * sysdeps/unix/sysv/linux/sigprocmask.c
6279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6281 * sysdeps/unix/sysv/linux/sigsuspend.c
6282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6285 (__libc_missing_rt_sigs): Remove.
6286 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6287 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6288 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6289 Remove conditional code.
6290 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6291 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6292 return 1.
6293 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6294 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6295 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6296 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6297
1bfb7291
AJ
62982012-05-14 Andreas Jaeger <aj@suse.de>
6299
caae5a81
AJ
6300 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6301 it's not used in glibc.
6302 (__coshm1): Likewise.
6303 (__acosh1p): Likewise.
6304 (__sgn): Likewise.
6305
1bfb7291
AJ
6306 * manual/string.texi (Copying and Concatenation): Add missing
6307 variable in concat example.
6308 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6309
c044d724
L
63102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6311
144c5467 6312 [BZ #14103]
c044d724
L
6313 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6314 __builtin_clzl with __builtin_clzll.
6315
2523c62b
L
63162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 [BZ #14104]
6319 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6320 libc_freeres_ptr.
6321
d7bb4c42
LD
63222012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6323
6324 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6325 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6326 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6327 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6328
9dc4e1fb
MF
63292012-05-14 Mike Frysinger <vapier@gentoo.org>
6330
6331 * NEWS: Update ia64 info.
6332
c7df0112
AS
63332012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6334
6335 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6336 used as bcopy.
6337
dc70356c
TS
63382012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6339
6340 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6341 * sysdeps/unix/syscalls.list (dup3): Likewise.
6342 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6343 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6344
9fb1a21f
L
63452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6346
6347 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6348 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6349
4822a2a5
L
63502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6353 thread pointer.
6354 (TLS_IE): Use mov/add instead of movq/addq to load thread
6355 pointer.
6356 (TLS_GD_PREFIX): New.
6357 (TLS_GD): Use it.
6358
842b81d6
DM
63592012-05-11 David S. Miller <davem@davemloft.net>
6360
6361 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6362 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6363 (_FPU_SETCW): Likewise.
6364
1cf463cd
L
63652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6366
6367 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6368 is 32-byte aligned.
6369
60cc4a18
AS
63702012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6371
6372 [BZ #11837]
6373 * iconvdata/gb18030.c: Update tables.
6374 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6375 characters specially.
6376 (BODY for TO_LOOP): Add encoding of missing ranges.
6377
febb44a4
TS
63782012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6379
6380 [BZ #13673]
6381 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6382 * sysdeps/mach/hurd/dup3.c: Likewise.
6383 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6384 * sysdeps/powerpc/memmove.c:: Likewise.
6385
0a10fb9e
L
63862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6387
6388 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6389 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6390
df8a552f
L
63912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * elf/elf.h (R_X86_64_RELATIVE64): New.
6394 (R_X86_64_NUM): Updated.
6395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6396 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6397 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6398 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6399 tst-quad1pie tst-quad2pie
6400 (modules-names): Add tst-quadmod1 tst-quadmod2.
6401 ($(objpfx)tst-quad1): New dependency.
6402 ($(objpfx)tst-quad2): Likewise.
6403 ($(objpfx)tst-quad1pie): Likewise.
6404 ($(objpfx)tst-quad2pie): Likewise.
6405 * sysdeps/x86_64/tst-quad1.c: New file.
6406 * sysdeps/x86_64/tst-quad1pie.c: New file.
6407 * sysdeps/x86_64/tst-quad2.c: Likewise.
6408 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6409 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6410 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6411 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6412 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6413
f34d6f84
ST
64142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6415
f42d41d1
ST
6416 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6417 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6418 * streams/stropts.h (t_scalar_t): Define type.
6419
3c3571fc
ST
6420 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6421 (_PATH_PRESERVE): Set to "/var/lib".
6422 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6423
61f06bd3
ST
6424 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6425 instead of int.
6426
918d4d71
ST
6427 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6428 if __dir_mkfile succeeded.
6429
f34d6f84
ST
6430 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6431 checking for _hurd_dtablesize. Unlock it right after having
6432 finished _hurd_dtable allocation.
6433
10589b4a
TS
64342012-05-10 Thomas Schwinge <thomas@schwinge.name>
6435
674cdbc7
TS
6436 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6437 * sysdeps/mach/hurd/configure: Regenerated.
6438 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6439 special-casing to...
6440 * sysdeps/gnu/configure.in: ... this new file.
6441 * sysdeps/unix/sysv/linux/configure: Regenerated.
6442 * sysdeps/gnu/configure: New generated file.
6443
8e41b99f
TS
6444 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6445 for Linux: use nsec instead of usec, as well as:
6446 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6447 members of type struct timespec.
6448 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6449 New macros.
6450 (struct stat64): Likewise.
6451 (_STATBUF_ST_NSEC): New macro.
6452 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6453
10589b4a
TS
6454 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6455 __strtoul_internal rather than strtoul.
6456
63643c85
PT
64572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6458
6459 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6460 and reject them.
6461
3faebe6a
ST
64622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6463
6464 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6465 which preserves existing values.
6466 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6467
c6474b07
PT
64682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6469
6470 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6471 TIMEOUT values. Return EINVAL for NFDS values either negative or
6472 greater than FD_SETSIZE.
6473
1043890b
ST
64742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6475
6476 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6477 allocated, call __vm_protect to finish enabling the existing space, and
6478 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6479 allocate the remainder.
6480
37ed8b9b
PT
64812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6482
6483 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6484 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6485
db653660
ST
64862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6487
37ed8b9b
PT
6488 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6489 sysdeps/mach/hurd/readlink.c.
b29d4053 6490
db653660
ST
6491 * posix/tst-sysconf.c (posix_options): Only use
6492 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6493 _POSIX_SYNCHRONIZED_IO when they are defined
6494 * sysdeps/mach/hurd/bits/posix_opt.h:
6495 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6496 (_XOPEN_REALTIME): Undefine macro.
6497 (_XOPEN_REALTIME_THREADS): Undefine macro.
6498 (_XOPEN_SHM): Undefine macro.
6499 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6500 macro to -1.
6501 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6502 macro to -1.
6503 (_POSIX_ASYNC_IO): Undefine macro.
6504 (_POSIX_PRIORITIZED_IO): Undefine macro.
6505 (_POSIX_SPIN_LOCKS): Define macro to -1.
6506
ee16e894
ST
6507 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6508 SA_NODEFER, SA_RESETHAND.
6509 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6510 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6511 F_DUPFD_CLOEXEC.
6512
6103ae3b
TS
65132012-05-10 Thomas Schwinge <thomas@schwinge.name>
6514
6515 * elf/Makefile (pldd-modules): Define unconditionally.
6516
80b4e5f3
TS
65172012-05-10 Thomas Schwinge <thomas@schwinge.name>
6518
6519 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6520
edadcbd6
ST
65212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6522
6523 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6524 Return ENOENT when name is empty.
6525 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6526
80694780
TS
65272012-05-10 Thomas Schwinge <thomas@schwinge.name>
6528
1792c087
TS
6529 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6530
80694780
TS
6531 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6532
6b645f0d
ST
65332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6534
80694780
TS
6535 Fix mlock in all cases except non-readable pages.
6536 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6537 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6538
6b645f0d
ST
6539 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6540 (__mkdir): When path is `/', just fail with EEXIST.
6541 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6542
e468f8a3
TS
65432012-05-10 Thomas Schwinge <thomas@schwinge.name>
6544
6545 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6546 <sys/uio.h> (for writev).
6547 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6548 and <sys/param.h> (for MIN).
6549
a4186cff
PT
65502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6551
6552 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6553 REQUESTED_TIME. Properly set the remaining time and return EINTR
6554 if interrupted.
6555
510bbf14
TS
65562012-05-10 Thomas Schwinge <thomas@schwinge.name>
6557
6558 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6559 Depend on against $(link-rpcuserlibs).
6560
5d5722e8
ST
65612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6562
a4186cff
PT
6563 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6564 (__libc_stack_end): Do not use attribute_relro.
6565 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6566 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6567 to libthread-provided value.
a4186cff
PT
6568 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6569 attribute_relro.
5d5722e8 6570
37233df9
TS
65712012-05-10 Thomas Schwinge <thomas@schwinge.name>
6572
be971a2b
TS
6573 [BZ #3748]
6574 * bits/libc-lock.h (__libc_once_get): New macro.
6575 * sysdeps/mach/bits/libc-lock.h: Likewise.
6576 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6577 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6578 instead of using implementation details.
6579
37233df9
TS
6580 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6581 * libio/freopen.c: Likewise.
6582 * libio/freopen64.c: Likewise.
6583 * misc/syslog.c: Likewise.
6584 * nscd/connections.c: Likewise.
6585 * nscd/netgroupcache.c: Likewise.
6586 * sysdeps/posix/getcwd.c: Likewise.
6587
38de94a5
RM
65882012-05-10 Roland McGrath <roland@hack.frob.com>
6589
6590 * math/w_ilogbf.c: Add #include <limits.h>.
6591
67530489
ST
65922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6593
a4186cff 6594 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6595 path instead of returning without unlocking.
6596
67530489
ST
6597 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6598 immediate-write ioctls.
6599 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6600
5aa3a74a
TS
66012012-05-10 Thomas Schwinge <thomas@schwinge.name>
6602
18bad2ae
TS
6603 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6604 __builtin_frame_address instead of making assumptions about the
6605 location of the return address relative to DATA. Force early load of
6606 the return address.
6607 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6608 __builtin_frame_address.
6609
5aa3a74a
TS
6610 dup3 for GNU Hurd.
6611 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6612 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6613 implement dup3 and do some further code clean-ups.
6614 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6615 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6616
ecd0de9a
ST
66172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6618
cd9fa985
ST
6619 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6620
a4186cff
PT
6621 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6622 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6623 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6624 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6625 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6626 d->port.lock.
802ca5a5 6627
a4186cff
PT
6628 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6629 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6630 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6631
bcf55240
TS
66322012-05-10 Thomas Schwinge <thomas@schwinge.name>
6633
6960eb42
TS
6634 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6635 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6636 definitions.
6637
eb43375f
TS
6638 accept4 for GNU Hurd.
6639 * include/sys/socket.h (__libc_accept4): New prototype.
6640 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6641 to implement __libc_accept4.
6642 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6643 __libc_accept4.
6644 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6645
bcf55240
TS
6646 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6647 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6648 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6649 signal-defines.sym.
6650
6178c55b
ST
66512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6652
a4186cff 6653 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6654
6f080c2f
TS
66552012-05-10 Thomas Schwinge <thomas@schwinge.name>
6656
6657 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6658 assertion on O_CLOEXEC flag.
6659 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6660 * hurd/intern-fd.c: Likewise.
6661 * hurd/port2fd.c: Likewise.
6662
bcfe3a54
ST
66632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6664
6665 [BZ #3906]
6666 * bits/in.h (IPV6_PKTINFO): Define new macro.
6667 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6668
89c9aa49
AZ
66692012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670
6671 [BZ #13954]
6672 [BZ #13955]
6673 [BZ #13956]
6674 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6675 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6676 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6679 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6680 * math/libm-test.inc (logb_test) : Additional logb tests.
6681
021db4be
AJ
66822012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6683 Andreas Jaeger <aj@suse.de>
6684
6685 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6686 * configure: Regenerated.
6687 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6688 * config.make.in (link-obsolete-rpc): New substituted variable.
6689 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6690 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6691 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6692 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6693 so that libc.a contains the symbols.
6694 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6695 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6696 * sunrpc/auth_none.c: Likewise.
6697 * sunrpc/auth_unix.c: Likewise.
6698 * sunrpc/authdes_prot.c: Likewise.
6699 * sunrpc/authuxprot.c: Likewise.
6700 * sunrpc/clnt_gen.c: Likewise.
6701 * sunrpc/clnt_perr.c: Likewise.
6702 * sunrpc/clnt_raw.c: Likewise.
6703 * sunrpc/clnt_simp.c: Likewise.
6704 * sunrpc/clnt_tcp.c: Likewise.
6705 * sunrpc/clnt_udp.c: Likewise.
6706 * sunrpc/clnt_unix.c: Likewise.
6707 * sunrpc/des_crypt.c: Likewise.
6708 * sunrpc/des_soft.c: Likewise.
6709 * sunrpc/get_myaddr.c: Likewise.
6710 * sunrpc/key_call.c: Likewise.
6711 * sunrpc/key_prot.c: Likewise.
6712 * sunrpc/netname.c: Likewise.
6713 * sunrpc/pm_getmaps.c: Likewise.
6714 * sunrpc/pm_getport.c: Likewise.
6715 * sunrpc/pmap_clnt.c: Likewise.
6716 * sunrpc/pmap_prot.c: Likewise.
6717 * sunrpc/pmap_prot2.c: Likewise.
6718 * sunrpc/pmap_rmt.c: Likewise.
6719 * sunrpc/publickey.c: Likewise.
6720 * sunrpc/rpc_cmsg.c: Likewise.
6721 * sunrpc/rpc_common.c: Likewise.
6722 * sunrpc/rpc_dtable.c: Likewise.
6723 * sunrpc/rpc_prot.c: Likewise.
6724 * sunrpc/rpc_thread.c: Likewise.
6725 * sunrpc/rtime.c: Likewise.
6726 * sunrpc/svc.c: Likewise.
6727 * sunrpc/svc_auth.c: Likewise.
6728 * sunrpc/svc_raw.c: Likewise.
6729 * sunrpc/svc_run.c: Likewise.
6730 * sunrpc/svc_tcp.c: Likewise.
6731 * sunrpc/svc_udp.c: Likewise.
6732 * sunrpc/svc_unix.c: Likewise.
6733 * sunrpc/svcauth_des.c: Likewise.
6734 * sunrpc/xcrypt.c: Likewise.
6735 * sunrpc/xdr.c: Likewise.
6736 * sunrpc/xdr_array.c: Likewise.
6737 * sunrpc/xdr_float.c: Likewise.
6738 * sunrpc/xdr_intXX_t.c: Likewise.
6739 * sunrpc/xdr_mem.c: Likewise.
6740 * sunrpc/xdr_rec.c: Likewise.
6741 * sunrpc/xdr_ref.c: Likewise.
6742 * sunrpc/xdr_sizeof.c: Likewise.
6743 * sunrpc/xdr_stdio.c: Likewise.
6744
b5c086a2
RM
67452012-05-10 Roland McGrath <roland@hack.frob.com>
6746
6747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6748 change. Update copyright years.
6749
6d74dd09
JM
67502012-05-10 Joseph Myers <joseph@codesourcery.com>
6751
6752 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6753
28e72501
MK
67542012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6755 Joseph Myers <joseph@codesourcery.com>
6756 Paul Pluzhnikov <ppluzhnikov@google.com>
6757
6758 [BZ #14012]
6759 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6760 requiring rpcgen.
6761 [cross-compiling] (extra-libs): Likewise.
6762 [cross-compiling] (extra-libs-others): Likewise.
6763 [cross-compiling] (librpcsvc-routines): Likewise.
6764 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6765 [cross-compiling] (omit-deps): Likewise.
6766 (sunrpc-CPPFLAGS): New variable.
6767 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6768 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6769 (cross-rpcgen-objs): New variable.
6770 (extra-objs): Append $(cross-rpcgen-objs).
6771 ($(cross-rpcgen-objs)): New rule.
6772 ($(objpfx)cross-rpcgen): Likewise.
6773 (rpcgen-cmd): Define to use $(built-program-file). Expand
6774 comment.
6775 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6776 ($(objpfx)x%.stmp): Likewise.
6777 * sunrpc/proto.h [IS_IN_build] (_): Define.
6778 [IS_IN_build] (_libc_intl_domainname): Likewise.
6779
c8c59454
L
67802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6781
6782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6783 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6784 and R_X86_64_TPOFF64.
6785
6f27cd16
JM
67862012-05-10 Joseph Myers <joseph@codesourcery.com>
6787
6788 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6789 sysdeps/unix/sysv/syscalls.list.
6790 (stime): Likewise.
6791 (utime): Likewise.
6792 * sysdeps/unix/sysv/syscalls.list: Remove file.
6793
02467e1c
PE
67942012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6795
6796 [BZ #3440]
6797 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6798 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6799 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6800 (__LC_IDENTIFICATION): Make these macros useful in #if
6801 expressions, as required by C99.
6802
da392631
AS
68032012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6804
6805 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6806 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6807 after this.
6808
8115f29b
L
68092012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6810
6811 * stdlib/longlong.h: Updated from GCC.
6812
bdd74070
AJ
68132012-05-09 Andreas Jaeger <aj@suse.de>
6814
edfe0dbe
AJ
6815 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6816 default is first entry.
6817 (run_mode): Set type.
6818 (main): Remove informal message about syslog.
6819 (options): Fix typo.
6820
bcfe3a54
ST
6821 [BZ #14053]
6822 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6823 to asm.
bcfe3a54
ST
6824 (lrint): Likewise.
6825 (llrintf): Likewise.
6826 (llrint): Likewise.
6827 (rint): Likewise.
6828 (rintf): Likewise.
6829 (nearbyint): Likewise.
6830 (nearbyintf): Likewise.
bdd74070 6831
91d8d69e
AJ
68322012-05-09 Andreas Jaeger <aj@suse.de>
6833 Pedro Alves <palves@redhat.com>
6834
6835 * nscd/nscd.c (run_mode): Use enum.
6836 (main): Cleanup coding style issue.
6837
bb90b80b
AJ
68382012-05-09 Alexandre Oliva <aoliva@redhat.com>
6839 Andreas Jaeger <aj@suse.de>
6840
bcfe3a54
ST
6841 * nscd/nscd.c (go_background): Replaced with...
6842 (run_mode): ... this.
bb90b80b 6843 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6844 (options): Add -F --foreground.
6845 (main): Implement it.
6846 (parse_opt): Parse it.
bb90b80b 6847
1a4b75a1
AJ
68482012-05-09 Andreas Jaeger <aj@suse.de>
6849
6850 [BZ #14083]
6851 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6852 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6853 -Wconversion warning.
6854 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6855 Likewise.
6856
b1cc2472
JM
68572012-05-09 Joseph Myers <joseph@codesourcery.com>
6858
6859 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6860 == 0.
6861 (LC_ALL): Use macro-int-constant.
6862 (LC_COLLATE): Likewise.
6863 (LC_CTYPE): Likewise.
6864 (LC_MESSAGES): Likewise.
6865 (LC_MONETARY): Likewise.
6866 (LC_NUMERIC): Likewise.
6867 (LC_TIME): Likewise.
6868 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6869 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6871 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6872 Specify type.
6873 [C99-based standards] (float_t): Expect type.
6874 [C99-based standards] (double_t): Expect type.
6875 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6876 type.
6877 [C99-based standards] (HUGE_VALL): Likewise.
6878 [C99-based standards] (INFINITY): Likewise.
6879 [C99-based standards] (NAN): Likewise.
6880 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6881 [C99-based standards] (FP_NAN): Likewise.
6882 [C99-based standards] (FP_NORMAL): Likewise.
6883 [C99-based standards] (FP_SUBNORMAL): Likewise.
6884 [C99-based standards] (FP_ZERO): Likewise.
6885 [C99-based standards] (FP_FAST_FMA): Use
6886 optional-macro-int-constant. Specify type. Require == 1.
6887 [C99-based standards] (FP_FAST_FMAF): Likewise.
6888 [C99-based standards] (FP_FAST_FMAL): Likewise.
6889 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6890 [C99-based standards] (FP_ILOGBNAN): Likewise.
6891 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6892 Specify type.
6893 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6894 [C99-based standards] (math_errhandling): Specify type.
6895 [ISO99 || ISO11] (signgam): Do not allow.
6896 [non-C99-based standards] (copysignf): Do not allow.
6897 [non-C99-based standards] (exp2f): Likewise.
6898 [non-C99-based standards] (log2f): Likewise.
6899 [non-C99-based standards] (modff): Allow.
6900 [non-C99-based standards] (erff): Do not allow.
6901 [non-C99-based standards] (erfcf): Likewise.
6902 [non-C99-based standards] (gammaf): Likewise.
6903 [non-C99-based standards] (hypotf): Likewise.
6904 [non-C99-based standards] (j0f): Likewise.
6905 [non-C99-based standards] (j1f): Likewise.
6906 [non-C99-based standards] (jnf): Likewise.
6907 [non-C99-based standards] (lgammaf): Likewise.
6908 [non-C99-based standards] (tgammaf): Likewise.
6909 [non-C99-based standards] (y0f): Likewise.
6910 [non-C99-based standards] (y1f): Likewise.
6911 [non-C99-based standards] (ynf): Likewise.
6912 [non-C99-based standards] (isnanf): Likewise.
6913 [non-C99-based standards] (acoshf): Likewise.
6914 [non-C99-based standards] (asinhf): Likewise.
6915 [non-C99-based standards] (atanhf): Likewise.
6916 [non-C99-based standards] (cbrtf): Likewise.
6917 [non-C99-based standards] (expm1f): Likewise.
6918 [non-C99-based standards] (ilogbf): Likewise.
6919 [non-C99-based standards] (log1pf): Likewise.
6920 [non-C99-based standards] (logbf): Likewise.
6921 [non-C99-based standards] (nextafterf): Likewise.
6922 [non-C99-based standards] (remainderf): Likewise.
6923 [non-C99-based standards] (rintf): Likewise.
6924 [non-C99-based standards] (scalbf): Likewise.
6925 [non-C99-based standards] (copysignl): Likewise.
6926 [non-C99-based standards] (exp2l): Likewise.
6927 [non-C99-based standards] (log2l): Likewise.
6928 [non-C99-based standards] (modfl): Allow.
6929 [non-C99-based standards] (erfl): Do not allow.
6930 [non-C99-based standards] (erfcl): Likewise.
6931 [non-C99-based standards] (gammal): Likewise.
6932 [non-C99-based standards] (hypotl): Likewise.
6933 [non-C99-based standards] (j0l): Likewise.
6934 [non-C99-based standards] (j1l): Likewise.
6935 [non-C99-based standards] (jnl): Likewise.
6936 [non-C99-based standards] (lgammal): Likewise.
6937 [non-C99-based standards] (tgammal): Likewise.
6938 [non-C99-based standards] (y0l): Likewise.
6939 [non-C99-based standards] (y1l): Likewise.
6940 [non-C99-based standards] (ynl): Likewise.
6941 [non-C99-based standards] (isnanl): Likewise.
6942 [non-C99-based standards] (acoshl): Likewise.
6943 [non-C99-based standards] (asinhl): Likewise.
6944 [non-C99-based standards] (atanhl): Likewise.
6945 [non-C99-based standards] (cbrtl): Likewise.
6946 [non-C99-based standards] (expm1l): Likewise.
6947 [non-C99-based standards] (ilogbl): Likewise.
6948 [non-C99-based standards] (log1pl): Likewise.
6949 [non-C99-based standards] (logbl): Likewise.
6950 [non-C99-based standards] (nextafterl): Likewise.
6951 [non-C99-based standards] (remainderl): Likewise.
6952 [non-C99-based standards] (rintl): Likewise.
6953 [non-C99-based standards] (scalbl): Likewise.
6954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6955 [non-C99-based standards] (FP_*): Do not allow.
6956 [C99-based standards] (FP_*): Change to
6957 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6958 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6959 allow.
6960 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6961 (SIG_ERR): Likewise.
6962 [X/Open-based standards] (SIG_HOLD): Likewise.
6963 (SIG_IGN): Likewise.
6964 (SIGABRT): Use macro-int-constant. Specify type. Require
6965 positive value.
6966 (SIGFPE): Likewise.
6967 (SIGILL): Likewise.
6968 (SIGINT): Likewise.
6969 (SIGSEGV): Likewise.
6970 (SIGTER): Likewise.
6971 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6972 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6973 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6974 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6975 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6976 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6977 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6978 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6979 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6980 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6981 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
6982 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
6983 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
6984 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
6985 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
6986 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
6987 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
6988 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
6989 [X/Open-based standards] (SIGTRAP): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
6994 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6995 allow.
6996
b9f1922d
IW
69972012-05-08 Ian Wienand <ianw@vmware.com>
6998
6999 [BZ #14080]
7000 * time/tzset.c (__tzset_parse_tz): Update default rules for
7001 daylight time changes in the Energy Policy Act of 2005.
7002
1db86e88
AJ
70032012-05-09 Andreas Jaeger <aj@suse.de>
7004
7005 [BZ #13983]
7006 * elf/ldconfig.c (parse_conf): Change string to make clear that
7007 ldconfig only issued a warning if ld.so.conf does not exist.
7008
dee4a4e3
DM
70092012-05-08 David S. Miller <davem@davemloft.net>
7010
ee0db190
DM
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7012 movxtod instead of popping the value on the stack.
7013
dee4a4e3
DM
7014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7015
6a43ec98
CD
70162012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7017
7018 * config.h.in: Add HAVE_ARM_PCS_VFP.
7019
05c2c961
RMG
70202012-05-08 Roland Mc Grath <roland@hack.frob.com>
7021
bcfe3a54
ST
7022 [BZ #13979]
7023 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7024 checking but the checks are disabled for any reason.
05c2c961 7025
4b30f61a
L
70262012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7027
7028 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7029 and ELF64_R_TYPE with ELFW(R_TYPE).
7030
eee2bc67
JM
70312012-05-08 Joseph Myers <joseph@codesourcery.com>
7032
7ea5391a
JM
7033 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7034 (ulimit): Likewise.
7035
eee2bc67
JM
7036 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7037 (settimeofday): Likewise.
7038
abb66a67
MF
70392012-05-08 Mike Frysinger <vapier@gentoo.org>
7040
7041 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7042 a struct th_u2 inside the union, and move tu_block/tu_code into
7043 a new th_u3 union of tu_block/tu_code inside of that. Move
7044 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7045 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7046 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7047 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7048 (th_stuff): Change to th_u1.tu_stuff.
7049 (th_data): Define.
7050 (th_msg): Change to th_u1.th_u2.tu_data.
7051
7f18b530
DM
70522012-05-07 David S. Miller <davem@davemloft.net>
7053
05760585
DM
7054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7055
7f18b530
DM
7056 [BZ #14074]
7057 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7058 (SETUP_PIC_REG): Use it.
7059 (SETUP_PIC_REG_LEAF): Use it.
7060
495fd99f
JM
70612012-05-07 Joseph Myers <joseph@codesourcery.com>
7062
7063 [BZ #13885]
7064 [BZ #13923]
7065 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7066 USE_AS_EXPM1L.
7067 (EXPL_FINITE): Likewise.
7068 (FLDLOG): Likewise.
7069 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7070 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7071 e_expl.S.
7072 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7073 USE_AS_EXPM1L.
7074 (EXPL_FINITE): Likewise.
7075 (FLDLOG): Likewise.
7076 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7077 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7078 e_expl.S.
7079 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7080 test of -max_value argument for long double.
7081 * sysdeps/i386/fpu/libm-test-ulps: Update.
7082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7083
6693d694
DM
70842012-05-06 David S. Miller <davem@davemloft.net>
7085
7086 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7087 quad soft-float symbols whose references which are compiler
7088 generated.
7089 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7090
6c23e11c
JM
70912012-05-06 Joseph Myers <joseph@codesourcery.com>
7092
d8b82cad
JM
7093 [BZ #13884]
7094 [BZ #13914]
7095 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7096 USE_AS_EXP10L.
7097 (EXPL_FINITE): Likewise.
7098 (FLDLOG): Likewise.
7099 (c0): Likewise.
7100 (c1): Likewise.
7101 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7102 Adjust comments for base varying.
7103 (__expl_finite): Change alias to EXPL_FINITE.
7104 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7105 e_expl.S.
7106 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7107 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7108 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7109 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7110 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7111 USE_AS_EXP10L.
7112 (EXPL_FINITE): Likewise.
7113 (FLDLOG): Likewise.
7114 (c0): Likewise.
7115 (c1): Likewise.
7116 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7117 Adjust comments for base varying.
7118 (__expl_finite): Change alias to EXPL_FINITE.
7119 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7120 tests for bugs.
7121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7122
6c23e11c
JM
7123 [BZ #14064]
7124 * math/libm-test.inc (check_float_internal): Correct ulp
7125 calculation for subnormal expected results.
7126
29ba805c
AJ
71272012-05-06 Andreas Jaeger <aj@suse.de>
7128
7129 * Makeconfig (+math-flags): New, set to -frounding-math.
7130 (+cflags): Add +math-flags so that all of glibc gets compiled with
7131 it.
7132
7133 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7134
7b17aeda
JM
71352012-05-05 Joseph Myers <joseph@codesourcery.com>
7136
5779f134
JM
7137 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7138 Disable one test.
7139
41498f4d
JM
7140 [BZ #13787]
7141 [BZ #13922]
7142 [BZ #14036]
7143 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7144 (__ieee754_expl): Allow for and saturate large arguments.
7145 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7146 (u_threshold): Likewise.
7147 (__exp): Call __ieee754_exp before checking for overflow and
7148 underflow.
7149 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7150 (u_threshold): Likewise.
7151 (__expf): Call __ieee754_expf before checking for overflow and
7152 underflow.
7153 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7154 (u_threshold): Likewise.
7155 (__expl): Call __ieee754_expl before checking for overflow and
7156 underflow.
7157 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7158 (__ieee754_expl): Allow for and saturate large arguments.
7159 * math/libm-test.inc (exp_test): Add another test. Do not allow
7160 missing overflow exception on overflow.
7161 (expm1_test): Do not allow missing overflow exception on overflow.
7162
6698b8bf
JM
7163 * sysdeps/i386/fpu/e_expl.c: Move to ...
7164 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7165 rather than using inline asm.
7166 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7167 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7168 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7169
7b17aeda
JM
7170 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7171 (nice): Likewise.
7172 (poll): Likewise.
7173 (signal): Likewise.
7174 (time): Likewise.
7175 (times): Likewise.
7176
f7c85819
JM
71772012-05-04 Joseph Myers <joseph@codesourcery.com>
7178
7179 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7180 sysdeps/unix/common/syscalls.list.
7181 (fchmod): Likewise.
7182 (fchown): Likewise.
7183 (ftruncate): Likewise.
7184 (getrusage): Likewise.
7185 (gettimeofday): Likewise.
7186 (setpgid): Likewise.
7187 (setregid): Likewise.
7188 (setreuid): Likewise.
7189 (sigaction): Likewise.
7190 (truncate): Likewise.
7191 (vhangup): Likewise.
7192 * sysdeps/unix/common/syscalls.list: Remove file.
7193 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7194 * sysdeps/unix/sysv/linux/Implies: Likewise.
7195
336270d0
L
71962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7197
7198 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7200 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7201 Moved to ...
7202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7203 Here.
7204 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7205 to ...
7206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7207 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7208 to ...
7209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7210 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7211 to ...
7212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7213 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7214 to ...
7215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7216 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7217 to ...
7218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7219 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7220 to ...
7221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7222 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7223 to ...
7224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7225 Here.
7226 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7227 to ...
7228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7229 Here.
7230 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7231 to ...
7232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7233 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7234 Moved to ...
7235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7236 Here.
7237 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7238 to ...
7239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7240
d128e450
JM
72412012-05-04 Joseph Myers <joseph@codesourcery.com>
7242
fa8ee516
JM
7243 * sysdeps/unix/common/bits/dirent.h: Remove file.
7244 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7245
d128e450
JM
7246 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7247 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7248 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7249 * sysdeps/unix/bsd/isatty.c: Likewise.
7250 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7251 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7252 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7253
ff8faaf0 72542012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7255
62881be4 7256 [BZ #13563]
31dc8730
AZ
7257 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7258 long double comparison inaccuracies.
7259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7261
6fef930c
AS
72622012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7263
7264 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7265 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7266
8f203e6c
JM
72672012-05-04 Joseph Myers <joseph@codesourcery.com>
7268
7269 [BZ #14049]
7270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7271 nonzero digits before rounding a hex value.
7272 * stdlib/tst-strtod.c (tests): Add another test.
7273
5197d9c2
AK
72742012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7275
7276 * sysdeps/s390/fpu/libm-test-ulps: Update.
7277
f0c1dedf
AJ
72782012-05-03 Andreas Jaeger <aj@suse.de>
7279
7280 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7281 does not get optimized out.
7282 (malloc_opt_barrier): New.
7283
a65ef2ae 72842012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7285 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7286
2b942cb7 7287 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7288 intermediate file deletion.
2b942cb7 7289 (generated): Add .symlist files.
a65ef2ae 7290
54b71e02
JM
72912012-05-03 Joseph Myers <joseph@codesourcery.com>
7292
7293 [BZ #13775]
7294 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7295 Redirect under this condition.
7296 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7297 [__USE_GNU] (__dprintf_chk): Not under this condition.
7298 [__USE_GNU] (__vdprintf_chk): Likewise.
7299 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7300 under this condition.
7301 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7302 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7303 [__USE_XOPEN2K8] (vdprintf): Likewise.
7304 [__USE_GNU] (__dprintf_chk): Not under this condition.
7305 [__USE_GNU] (__vdprintf_chk): Likewise.
7306 [__USE_GNU] (dprintf): Likewise.
7307 [__USE_GNU] (vdprintf): Likewise.
7308
d3dfcc41
RM
73092012-05-03 Roland McGrath <roland@hack.frob.com>
7310
7311 * elf/Makefile (common-generated): Set this instead of generated for
7312 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7313 $(all-built-dso)-derived lists.
7314
7ac30cc5
AJ
73152012-05-03 Andreas Jaeger <aj@suse.de>
7316
0c51e550
AJ
7317 * sysdeps/i386/fpu/libm-test-ulps: Update.
7318
7ac30cc5
AJ
7319 * FAQ: Removed.
7320 * FAQ.in: Likewise.
7321 * scripts/gen-FAQ.pl: Likewise.
7322 * manual/install.texi (Installation): Point to online location of
7323 FAQ.
7324 * Makefile (files-for-dist): Remove FAQ.
7325 (FAQ): Remove.
7326
d4c2917f
AM
73272012-05-02 Allan McRae <allan@archlinux.org>
7328
7329 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7330 (LDFLAGS-reldepmod5.so): Likewise.
7331 (LDFLAGS-reldep6mod1.so): Likewise.
7332 (LDFLAGS-reldep6mod4.so): Likewise.
7333 (LDFLAGS-reldep8mod3.so): Likewise.
7334 (LDFLAGS-unload4mod1.so): Likewise.
7335 (LDFLAGS-unload4mod2.so): Likewise.
7336 (LDFLAGS-tst-initorder): Likewise.
7337 (LDFLAGS-tst-initordera2.so): Likewise.
7338 (LDFLAGS-tst-initordera3.so): Likewise.
7339 (LDFLAGS-tst-initordera4.so): Likewise.
7340 (LDFLAGS-tst-initorderb2.so): Likewise.
7341 (LDFLAGS-noload): Likewise.
7342 (LDFLAGS-next): Likewise.
7343 (LDFLAGS-order2mod1.so): Likewise.
7344 (LDFLAGS-order2mod2.so): Likewise.
7345 (LDFLAGS-tst-initorder2): Likewise.
7346 (LDFLAGS-tst-initorder2a.so): Likewise.
7347 (LDFLAGS-tst-initorder2b.so): Likewise.
7348 (LDFLAGS-tst-initorder2c.so): Likewise.
7349 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7350
d77f993f
DM
73512012-05-02 David S. Miller <davem@davemloft.net>
7352
7353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7354
171a70b4
PP
73552012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7356
7357 [BZ #14055]
7358 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7359
0be196ad
AJ
73602012-05-02 Andreas Jaeger <aj@suse.de>
7361
7362 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7363 since we manipulate rounding mode.
7364 (CPPFLAGS-test-idouble.c): Likewise.
7365 (CPPFLAGS-test-ifloat.c): Likewise.
7366 (CFLAGS-test-ldouble.c): Likewise.
7367 (CFLAGS-test-double.c): Likewise.
7368 (CFLAGS-test-float.c): Likewise.
7369 (CFLAGS-test-misc.c): Likewise.
7370 (CFLAGS-test-test-fenv.c): Likewise.
7371
4f9d04aa
AZ
73722012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7373
2b942cb7
RM
7374 [BZ #2550]
7375 [BZ #2570]
7376 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7377 comparisons to determine direction to adjust input.
4f9d04aa 7378
82a79e7d
RM
73792012-05-01 Roland McGrath <roland@hack.frob.com>
7380
f5a01ca9
RM
7381 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7382 output to the target.
7383
90fe4186
RM
7384 * scripts/localplt.awk: New file.
7385 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7386 (check-localplt-CFLAGS): Variable removed.
7387 ($(all-built-dso:=.jmprel)): New static pattern rule.
7388 (generated): Add those targets.
7389 (localplt-built-dso): New variable.
7390 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7391
7392 * elf/check-localplt.c: File removed.
7393
82397ed6
RM
7394 * scripts/check-execstack.awk: New file.
7395 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7396 (check-execstack-CFLAGS): Variable removed.
7397 ($(objpfx)check-execstack.h): Target removed.
7398 ($(objpfx)execstack-default): New target.
7399 (generated): Add that instead of check-execstack.h.
7400 ($(all-built-dso:=.phdr)): New static pattern rule.
7401 (generated): Add those targets.
7402 * elf/check-execstack.c: File removed.
7403
82a79e7d
RM
7404 * scripts/check-textrel.awk: New file.
7405 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7406 (check-textrel-CFLAGS): Variable removed.
7407 (all-built-dso): Use := to define.o
7408 ($(all-built-dso:=.dyn)): New static pattern rule.
7409 (generated): Add those targets.
7410 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7411 * config.make.in (READELF): New substituted variable.
7412 * elf/check-textrel.c: File removed.
7413
62fde54f 74142012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7415
615605c9
JM
7416 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7417 allow.
7418 * conform/data/ctype.h-data [C99-based standards] (isblank):
7419 Expect function.
7420 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7421 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7423 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7424 Specify type. Require positive value.
7425 (EILSEQ): Likewise.
7426 (ERANGE): Likewise.
7427 [ISO || POSIX] (EILSEQ): Do not expect.
7428 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7429 Specify type. Require positive value.
7430 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7431 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7432 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7433 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7434 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7435 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7436 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7437 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7438 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7439 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7440 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7441 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7442 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7443 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7444 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7445 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7446 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7447 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7448 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7449 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7450 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7451 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7452 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7453 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7454 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7455 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7456 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7457 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7458 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7459 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7460 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7461 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7462 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7463 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7464 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7465 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7466 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7467 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7468 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7469 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7470 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7471 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7472 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7473 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7474 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7475 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7476 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7477 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7478 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7479 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7480 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7481 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7482 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7483 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7484 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7485 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7486 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7487 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7488 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7489 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7490 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7491 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7492 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7493 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7494 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7495 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7496 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7497 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7498 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7499 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7500 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7501 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7502 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7503 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7504 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7505 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7506 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7507 Require >= 2.
7508 (FLT_ROUNDS): Expect as macro, not constant.
7509 (FLT_MANT_DIG): Use macro-int-constant.
7510 (DBL_MANT_DIG): Likewise.
7511 (LDBL_MANT_DIG): Likewise.
7512 (FLT_DIG): Likewise.
7513 (DBL_DIG): Likewise.
7514 (LDBL_DIG): Likewise.
7515 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7516 (DBL_MIN_EXP): Likewise.
7517 (LDBL_MIN_EXP): Likewise.
7518 (FLT_MAX_EXP): Use macro-int-constant.
7519 (DBL_MAX_EXP): Likewise.
7520 (LDBL_MAX_EXP): Likewise.
7521 (FLT_MAX_10_EXP): Likewise.
7522 (DBL_MAX_10_EXP): Likewise.
7523 (LDBL_MAX_10_EXP): Likewise.
7524 (FLT_MAX): Use macro-constant.
7525 (DBL_MAX): Likewise.
7526 (LDBL_MAX): Likewise.
7527 (FLT_EPSILON): Use macro-constant. Give upper bound.
7528 (DBL_EPSILON): Likewise.
7529 (LDBL_EPSILON): Likewise.
7530 (FLT_MIN): Likewise.
7531 (DBL_MIN): Likewise.
7532 (LDBL_MIN): Likewise.
7533 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7534 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7535 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7536 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7537 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7538 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7539 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7540 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7541 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7542 [ISO11] (FLT_TRUE_MIN): Likewise.
7543 [ISO11] (LDBL_TRUE_MIN): Likewise.
7544 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7545 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7546 (SCHAR_MIN): Use macro-int-constant. Specify type.
7547 (SCHAR_MAX): Likewise.
7548 (UCHAR_MAX): Likewise.
7549 (CHAR_MIN): Likewise.
7550 (CHAR_MAX): Likewise.
7551 (MB_LEN_MAX): Use macro-int-constant.
7552 (SHRT_MIN): Use macro-int-constant. Specify type.
7553 (SHRT_MAX): Likewise.
7554 (USHRT_MAX): Likewise.
7555 (INT_MAX): Likewise.
7556 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7557 bound negative.
7558 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7559 bound with "U".
7560 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7561 bound with "L".
7562 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7563 bound negative. Suffix upper bound with "L".
7564 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7565 bound with "UL".
7566 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7567 Specify type.
7568 [C99-based standards] (LLONG_MAX): Likewise.
7569 [C99-based standards] (ULLONG_MAX): Likewise.
7570 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7571 == 0.
7572 [ISO11] (max_align_t): Require type.
7573 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7574
c9140a62
JM
7575 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7576 from $CFLAGS, without defining away __attribute__ calls.
7577 (checknamespace): Use $CFLAGS_namespace.
7578
9af0bf29
JM
7579 * conform/conformtest.pl (@keywords): Only include C99 keywords
7580 for standards based on C99 or C11.
7581
343222a2
JM
7582 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7583 Disable tests.
7584 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7585 UNIX98]: Likewise.
7586
661f8cf0
JM
7587 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7588 usability of symbols in #if.
7589
ee74b9cb
JM
7590 * conform/conformtest.pl: If macro or constant types start
7591 "promoted:", expect the symbol to be of the following type
7592 promoted by the integer promotions.
62fde54f 7593
aafc49b3
JM
7594 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7595 in one place. Also handle "macro-constant".
7596
fefdf574
JM
7597 * conform/conformtest.pl: Only accept expected macro values with
7598 "==". Parse all "macro" lines in one place.
7599 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7600
f2d922fe
JM
7601 * conform/conformtest.pl: Handle braced types on "constant" lines
7602 instead of handling "typed-constant".
7603 * conform/data/signal.h-data: Use "constant" instead of
7604 "typed-constant".
7605
d22956c9
JM
7606 * conform/conformtest.pl: Handle "optional-" at start of lines in
7607 one place rather than duplicating several cases. Handle each
7608 format of "macro" line with initial "optional-".
7609
028e2e38
JM
7610 * conform/conformtest.pl: Only accept expected constant or
7611 optional-constant values with "==". Parse all "constant" lines in
7612 one place. Parse all "optional-constant" lines in one place.
7613 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7614 * conform/data/fmtmsg.h-data: Likewise.
7615 * conform/data/netinet/in.h-data: Likewise.
7616 * conform/data/tar.h-data: Likewise.
7617 * conform/data/limits.h-data: Use "==" form on "constant" and
7618 "optional-constant" lines.
7619
1b8f2850
JM
7620 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7621 Use -std=c99 for XOPEN2K.
7622 (@knownproblems): Remove.
7623 (newtoken): Don't check %isknown.
7624
a05a144b
JM
7625 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7626 Do not expect macro.
7627 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7628 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7629 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7630 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7631 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7632 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7633 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7634 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7635 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7636 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7637 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7638 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7639 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7640 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7641 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7642 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7643 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7644 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7645 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7646 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7647 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7648 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7649 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7650 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7651 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7652 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7653 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7654 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7655 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7656 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7657 [XPG3] (acosh): Likewise.
7658 [XPG3] (asinh): Likewise.
7659 [XPG3] (atanh): Likewise.
7660 [XPG3] (cbrt): Likewise.
7661 [XPG3] (expm1): Likewise.
7662 [XPG3] (ilogb): Likewise.
7663 [XPG3] (log1p): Likewise.
7664 [XPG3] (logb): Likewise.
7665 [XPG3] (nextafter): Likewise.
7666 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7667 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7668 [XPG3] (remainder): Likewise.
7669 [XPG3] (rint): Likewise.
7670 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7671 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7672 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7673 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7674 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7675 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7676 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7677 [UNIX98 || XOPEN2K] (scalb): Expect.
7678 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7679 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7680 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7681 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7682 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7683 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7684 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7685 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7686 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7687 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7688 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7689 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7690 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7691 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7692 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7693 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7694 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7695 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7696 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7697 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7698 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7699 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7700 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7701 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7702 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7703 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7704 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7705 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7706 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7707 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7708 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7709 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7710 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7711 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7712 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7713 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7714 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7715 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7716 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7717 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7718 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7719 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7720 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7721 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7722 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7723 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7724 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7725 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7726 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7727 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7728 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7729 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7730 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7731 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7732 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7733 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7734 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7735 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7736 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7737 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7738 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7739 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7740 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7741 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7742 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7743 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7744 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7745 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7746 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7747 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7748 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7749 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7750 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7751 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7752 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7753 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7754 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7755 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7756 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7757 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7758 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7759 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7760 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7761 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7762 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7763 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7764 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7765 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7766 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7767 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7768 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7769 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7770 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7771 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7772 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7773 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7774 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7775 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7776 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7777 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7778 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7779 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7780 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7781 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7782 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7783 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7784 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7785 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7786 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7787 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7788 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7789 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7790 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7791 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7792 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7793 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7794 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7795 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7796 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7797 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7798 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7799 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7800 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7801 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7802 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7803 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7804 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7805 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7806 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7807 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7808 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7809 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7810 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7811 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7812 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7813 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7814 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7815
73c5ebe3
JM
7816 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7817 _XOPEN_SOURCE_EXTENDED for XPG4.
7818
39c33b6c
JM
7819 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7820
62fde54f
JM
7821 * Makeconfig (localtime): Remove variable.
7822 (inst_localtime-file): Likewise.
7823
0741d64c
AS
78242012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7827 Update.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7829 Update.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7831 Update.
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7833 Update.
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7835 Update.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7837 Update.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7839 Update.
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7841 Update.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7843 Update.
7844
7cb029ee
JM
78452012-05-01 Joseph Myers <joseph@codesourcery.com>
7846
7847 [BZ #2550]
7848 [BZ #2570]
7849 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7850 comparisons to determine direction to adjust input.
7851 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7852 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7854 Likewise.
7855 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7856 Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7858 Likewise.
7859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7861 Likewise.
7862 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7863 Likewise.
7864 * math/libm-test.inc (nexttoward_test): Add more tests.
7865
412bd966
AS
78662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7867
7868 [BZ #14040]
7869 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7870 in version GLIBC_2.1, not GLIBC_2.0.
7871 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7872 Likewise.
7873
9568c0c2
JM
78742012-04-30 Joseph Myers <joseph@codesourcery.com>
7875
adfbc8ac
JM
7876 [BZ #13942]
7877 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7878 (1 - x) * (1 + x).
7879 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7880 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7881 * math/libm-test.inc (acos_test): Add more tests.
7882 (asin_test): Likewise.
7883 * sysdeps/i386/fpu/libm-test-ulps: Update.
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7885
5ba3cc69
JM
7886 [BZ #14034]
7887 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7888 of square root.
7889 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7890 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7891 * math/libm-test.inc (acos_test_tonearest): New function.
7892 (acos_test_towardzero): Likewise.
7893 (acos_test_downward): Likewise.
7894 (acos_test_upward): Likewise.
7895 (asin_test_tonearest): Likewise.
7896 (asin_test_towardzero): Likewise.
7897 (asin_test_downward): Likewise.
7898 (asin_test_upward): Likewise.
7899 (main): Call the new functions.
7900 * sysdeps/i386/fpu/libm-test-ulps: Update.
7901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7902
9568c0c2
JM
7903 [BZ #13884]
7904 [BZ #13924]
7905 * math/e_exp10.c: Include <float.h>.
7906 (__ieee754_exp10): Handle underflow here rather than multiplying
7907 large negative argument by M_LN10.
7908 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7909 of __ieee754_expf.
7910 * math/e_exp10l.c: Include <float.h>.
7911 (__ieee754_exp10l): Handle underflow here rather than multiplying
7912 large negative argument by M_LN10l.
7913 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7914 spurious overflow exception on underflow.
7915
5ac3ea17
MP
79162012-04-29 Marek Polacek <polacek@redhat.com>
7917
7918 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7919 (__fortify_function): New macro.
7920 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7921 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7922 __extern_always_inline.
7923 * libio/bits/stdio2.h: Likewise.
7924 * libio/bits/stdio.h: Likewise.
7925 * string/string.h: Likewise.
7926 * string/bits/string3.h: Likewise.
7927 * include/stdio.h: Likewise.
7928 * stdlib/bits/stdlib.h: Likewise.
7929 * stdlib/stdlib.h: Likewise.
7930 * rt/bits/mqueue2.h: Likewise.
7931 * rt/mqueue.h: Likewise.
7932 * posix/bits/unistd.h: Likewise.
7933 * posix/unistd.h: Likewise.
7934 * io/bits/poll2.h: Likewise.
7935 * io/bits/fcntl2.h: Likewise.
7936 * io/fcntl.h: Likewise.
7937 * io/sys/poll.h: Likewise.
7938 * misc/bits/syslog.h: Likewise.
7939 * misc/bits/syslog-ldbl.h: Likewise.
7940 * misc/sys/syslog.h: Likewise.
7941 * socket/bits/socket2.h: Likewise.
7942 * socket/sys/socket.h: Likewise.
7943 * debug/tst-chk1.c: Likewise.
7944 * wcsmbs/bits/wchar2.h: Likewise.
7945 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7946 * wcsmbs/wchar.h: Likewise.
7947
ecf0ebfb
AJ
79482012-04-29 Andreas Jaeger <aj@suse.de>
7949
7950 * Makerules (tests): Remove enable-check-abi protection.
7951 (check-abi-warn): Remove.
7952 (check-abi-%): Remove check-abi-warn usage.
7953
7954 * configure.in: Remove check-abi configure option.
7955 * configure: Regenerated.
7956 * config.make.in (enable-check-abi): Remove.
7957
6d5c57fa
AS
79582012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7959
24c5d07e 7960 [BZ #14033]
ded5180a
AS
7961 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7962 double functions to double *_finite functions.
7963
7e0d315d
AS
7964 [BZ #13941]
7965 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7966 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7967 LDBL_MIN_EXP.
7968 * stdio-common/Makefile (tests): Add tst-sprintf3.
7969 * stdio-common/tst-sprintf3.c: New file.
7970
6d5c57fa
AS
7971 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7972 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7973
0749ff8b
JM
79742012-04-28 Joseph Myers <joseph@codesourcery.com>
7975
7976 * conform/conformtest.pl: Remove duplicate typed-constant
7977 handling.
7978
8dbd5d7b
DM
79792012-04-28 David S. Miller <davem@davemloft.net>
7980
7981 * Makerules (%.abilist): Add vpath on sysdep_dirs.
7982 (check-abi-%): Remove AWK script prerequisite and explicit
7983 abilist directory.
7984 (check-abi): Rewrite to just diff the symlist with the abilist.
7985 (config-tls, config-abi-config): Delete, no longer used.
7986 (update-abi-%): Remove AWK script and explicit abilist directory.
7987 (update-abi): Rewrite to simply compare and conditionally copy the
7988 symlist and the sysdep abilist file. Remove update-abi-config
7989 checks.
7990 * abilist/ld.abilist: Remove.
7991 * abilist/libBrokenLocale.abilist: Remove.
7992 * abilist/libanl.abilist: Remove.
7993 * abilist/libcrypt.abilist: Remove.
7994 * abilist/libdl.abilist: Remove.
7995 * abilist/librt.abilist: Remove.
7996 * abilist/libthread_db.abilist: Remove.
7997 * abilist/libutil.abilist: Remove.
7998 * scripts/extract-abilist.awk: Remove.
7999 * scripts/merge-abilist.awk: Remove.
8000 * sysdeps/generic/libcidn.abilist: New file.
8001 * sysdeps/generic/libnss_compat.abilist: New file.
8002 * sysdeps/generic/libnss_db.abilist: New file.
8003 * sysdeps/generic/libnss_dns.abilist: New file.
8004 * sysdeps/generic/libnss_files.abilist: New file.
8005 * sysdeps/generic/libnss_hesiod.abilist: New file.
8006 * sysdeps/generic/libnss_nis.abilist: New file.
8007 * sysdeps/generic/libnss_nisplus.abilist: New file.
8008 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8009 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8010 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8011 file.
8012 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8013 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8014 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8015 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8016 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8017 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8018 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8019 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8020 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8021 file.
8022 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8023 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8024 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8025 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8026 file.
8027 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8028 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8029 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8030 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8031 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8032 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8033 file.
8034 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8035 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8036 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8037 file.
8038 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8040 New file.
8041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8042 New file.
8043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8044 New file.
8045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8046 New file.
8047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8048 New file.
8049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8050 New file.
8051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8052 New file.
8053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8054 New file.
8055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8056 New file.
8057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8058 New file.
8059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8060 New file.
8061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8062 New file.
8063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8064 New file.
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8066 file.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8068 New file.
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8070 New file.
8071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8072 file.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8074 New file.
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8076 New file.
8077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8078 file.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8080 New file.
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8082 New file.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8084 New file.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8086 New file.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8088 New file.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8090 New file.
8091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8093 file.
8094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8095 New file.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8097 file.
8098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8099 file.
8100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8101 file.
8102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8103 file.
8104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8105 file.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8107 New file.
8108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8109 file.
8110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8111 file.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8113 New file.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8115 file.
8116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8118 file.
8119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8120 New file.
8121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8122 file.
8123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8124 file.
8125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8126 file.
8127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8128 file.
8129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8130 file.
8131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8132 New file.
8133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8134 file.
8135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8136 file.
8137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8138 New file.
8139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8140 file.
8141 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8142 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8143 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8144 file.
8145 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8146 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8147 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8148 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8149 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8150 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8151 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8152 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8153 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8154 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8157 file.
8158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8159 New file.
8160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8161 file.
8162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8163 file.
8164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8165 file.
8166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8167 file.
8168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8169 file.
8170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8171 New file.
8172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8173 New file.
8174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8175 file.
8176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8177 New file.
8178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8179 file.
8180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8182 file.
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8184 New file.
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8186 file.
8187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8188 file.
8189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8190 file.
8191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8192 file.
8193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8194 file.
8195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8196 New file.
8197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8198 New file.
8199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8200 file.
8201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8202 New file.
8203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8204 file.
8205
41d73a1b
JM
82062012-04-28 Joseph Myers <joseph@codesourcery.com>
8207
8208 * conform/conformtest.pl: Fix typo in handling typed-constant from
8209 allow-header.
8210
28aeeda4
JM
82112012-04-27 Joseph Myers <joseph@codesourcery.com>
8212
adae8f5e
JM
8213 * README: Cut down references to pre-2.6 Linux kernels and
8214 Linuxthreads. Update lists of configurations in libc and ports
8215 and sort alphabetically. Say "or newer" with Linux kernel version
8216 requirements.
8217
28aeeda4
JM
8218 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8219
a462cb63
RA
82202012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8221
8222 [BZ #887]
8223 * math/libm-test.inc (logb_test_downward): New test to expose
8224 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8225 rounding mode.
8226
6ad3493e
JM
82272012-04-27 Joseph Myers <joseph@codesourcery.com>
8228
8229 [BZ #14027]
8230 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8231 to be done.
8232 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8233 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8234
2ce4f015
JM
82352012-04-26 Joseph Myers <joseph@codesourcery.com>
8236
5aeb141a
JM
8237 * sysdeps/unix/i386/brk.S: Remove file.
8238 * sysdeps/unix/i386/dl-brk.S: Likewise.
8239 * sysdeps/unix/i386/pipe.S: Likewise.
8240 * sysdeps/unix/i386/sigreturn.S: Likewise.
8241 * sysdeps/unix/i386/syscall.S: Likewise.
8242 * sysdeps/unix/i386/vfork.S: Likewise.
8243 * sysdeps/unix/i386/wait.S: Likewise.
8244
7143acae
JM
8245 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8246 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8247
2ce4f015
JM
8248 * configure.in (arm*-none*): Do not allow without
8249 --enable-hacker-mode.
8250 (netbsd*): Remove case setting base_os.
8251 (386bsd*): Likewise.
8252 (freebsd*): Likewise.
8253 (bsdi*): Likewise.
8254 (osf*): Likewise.
8255 (sunos*): Likewise.
8256 (ultrix*): Likewise.
8257 (newsos*): Likewise.
8258 (dynix*): Likewise.
8259 (*bsd*): Likewise.
8260 (sysv*): Likewise.
8261 (isc*): Likewise.
8262 (esix*): Likewise.
8263 (sco*): Likewise.
8264 (minix*): Likewise.
8265 (irix4*): Likewise.
8266 (irix6*): Likewise.
8267 (solaris[2-9]*): Likewise.
8268 (none): Likewise.
8269 * configure: Regenerated.
8270
0ac229c8
AZ
82712012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8272
8273 [BZ #11521]
8274 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8275 overflow or cancellation in calculating denominator.
8276 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8278 down expression to avoid unexpected rounding in newer GCCs.
8279 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8280
33f244f4
DM
82812012-04-26 David S. Miller <davem@davemloft.net>
8282
8283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8284 long-double compat symbols.
8285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8298
cfa1f3e8
DM
82992012-04-25 David S. Miller <davem@davemloft.net>
8300
8301 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8302 HWCAP_* values only after the memory barriers have been defined.
8303 (atomic_full_barrier): Define.
8304 (atomic_read_barrier): Define.
8305 (atomic_write_barrier): Define.
8306
6e236b92
SP
83072012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8308
8309 * shlib-versions: Add libgcc_s version information.
8310 * sysdeps/generic/libgcc_s.h: Remove.
8311 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8312 libgcc_s.h.
8313 * sysdeps/gnu/unwind-resume.c: Likewise.
8314 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8315
aab39a09
DM
83162012-04-25 David S. Miller <davem@davemloft.net>
8317
8318 * sysdeps/unix/sparc/brk.S: Delete.
8319 * sysdeps/unix/sparc/dl-brk.S: Delete.
8320 * sysdeps/unix/sparc/pipe.S: Delete.
8321 * sysdeps/unix/sparc/sysdep.S: Delete.
8322 * sysdeps/unix/sparc/sysdep.h: Delete.
8323 * sysdeps/unix/sparc/vfork.S: Delete.
8324 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8325 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8326 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8327 ret_ERRVAL, r0, r1, MOVE): Define.
8328 (JUMPTARGET): Remove.
8329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8330 sysdeps/unix/sparc/sysdep.h
8331 (ENTRY, END): Remove.
8332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8333
a3cc4f48
JM
83342012-04-25 Joseph Myers <joseph@codesourcery.com>
8335
2ed8cda2
JM
8336 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8337 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8338 -DIS_IN_build.
8339
35d76d59
JM
8340 * timezone/README: Update upstream location and email address for
8341 tzcode and tzdata.
8342 * timezone/zdump.c: Update from tzcode 2012b.
8343 * timezone/zic.c: Likewise.
8344
a3cc4f48
JM
8345 * configure.in (libc_cv_as_needed): Remove test.
8346 * configure: Regenerated.
8347 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8348 conditional definition.
8349 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8350 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8351 * config.make.in (have-as-needed): Remove variable.
8352
ceab42c3
SP
83532012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8354 Paul Pluzhnikov <ppluzhnikov@google.com>
8355
8356 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8357 strings correctly.
8358
3ce2865f
CLT
83592012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8360
8361 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8362 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8363 * sysdeps/sh/strlen.S: Likewise.
8364
f37e0d68
JM
83652012-04-24 Joseph Myers <joseph@codesourcery.com>
8366
ae186e9a
JM
8367 * sysdeps/unix/fork.S: Remove file.
8368 * sysdeps/unix/i386/fork.S: Likewise.
8369 * sysdeps/unix/sparc/fork.S: Likewise.
8370
b96914af
JM
8371 * sysdeps/unix/system.c: Remove file.
8372 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8373
f37e0d68
JM
8374 * sysdeps/unix/getegid.S: Remove file.
8375 * sysdeps/unix/geteuid.S: Likewise.
8376
87ef29ca
RM
83772012-04-24 Roland McGrath <roland@hack.frob.com>
8378
83bcd236
RM
8379 * scripts/check-localplt.awk: New file.
8380 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8381 of diff.
8382 * scripts/data/localplt-generic.data: Add a comment.
8383
87ef29ca
RM
8384 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8385 NODE when __dir_mkfile failed.
8386 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8387 Reported by Ludovic Courtès <ludo@gnu.org>.
8388
e5a6e567
AJ
83892012-04-24 Andreas Jaeger <aj@suse.de>
8390
8391 * Makerules (common-clean): Also remove gen-as-const-headers
8392 files.
8393
c1820385
JM
83942012-04-24 Joseph Myers <joseph@codesourcery.com>
8395
8396 * Makerules (native-compile): Do not change working directory for
8397 build. Use $(OUTPUT_OPTION) in command.
8398 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8399
94e02fc4
AZ
84002012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8401
8402 [BZ #13886]
8403 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8404 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8405 * math/libm-test.inc (floor_test): Add more tests.
8406 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8407
3a533ca3
JM
84082012-04-24 Joseph Myers <joseph@codesourcery.com>
8409
940ab4b3
JM
8410 * sysdeps/unix/getdents.c: Remove file.
8411 * sysdeps/unix/sysv/getdents.c: Likewise.
8412 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8413
90e037bd
JM
8414 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8415 sysdeps/unix/mman/syscalls.list.
8416 (mmap): Likewise.
8417 (mprotect): Likewise.
8418 (msync): Likewise.
8419 (munmap): Likewise.
8420 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8421 * sysdeps/unix/mman/syscalls.list: Remove.
8422 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8423
3a533ca3
JM
8424 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8425 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8426 * configure: Regenerated.
8427 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8428 $(libgcc_s_suffix).
8429 * config.make.in (libgcc_s_suffix): Remove variable.
8430
1ad743de
JM
84312012-04-23 Joseph Myers <joseph@codesourcery.com>
8432
4ad451e2
JM
8433 * sysdeps/unix/sysv/gethostname.c: Move to ...
8434 * sysdeps/posix/gethostname.c: ... here.
8435
5e37ce39
JM
8436 * sysdeps/unix/execve.S: Remove file.
8437
1ad743de
JM
8438 * sysdeps/unix/_exit.S: Remove file.
8439
4e681b5b
AJ
84402012-04-23 Andreas Jaeger <aj@suse.de>
8441
8442 [BZ #13739]
8443 * manual/Makefile: Remove make dist support, there's no
8444 need for a stand-alone documentation tar ball.
8445 (TEXI2DVI): Define always, it's not in Makeconfig.
8446 (dist): Removed.
8447 (tar-it): Removed.
8448 (edition): Removed.
8449 (glibc-doc-$(edition).tar): Removed
8450 (%.Z): Removed.
8451 (%.gz): Removed.
8452 (%.uu): Removed.
8453 (ETAGS): Remove, it's in Makeconfig.
8454 (move-if-change): Remove, it's in Makeconfig.
8455
c0baea34
PE
84562013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8457
8458 [BZ #13970]
8459 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8460 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8461 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8462 (strtod_l, strtof_l, strtold_l): Remove __wur.
8463 It is not necessarily an error to ignore strtol's return value.
8464 One can reliably look at the stored endptr to decide whether
8465 the number had valid syntax.
8466
7c0616fa
AJ
84672012-04-21 Andreas Jaeger <aj@suse.de>
8468
803cb6b7 8469 [BZ #13739]
7c0616fa
AJ
8470 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8471
b0fe253f
JM
84722012-04-21 Joseph Myers <joseph@codesourcery.com>
8473
8474 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8475 * sysdeps/unix/sysv/Versions: Remove file.
8476
8280f22d
MT
84772012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8478
8479 [BZ #13927]
8480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8481
75ce411f 84822012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8483
8484 [BZ #7064]
8485 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8486 version from __vm86.
8487
097d59fa
JM
84882012-04-20 Joseph Myers <joseph@codesourcery.com>
8489
a90f3bcb
JM
8490 * sysdeps/unix/common/lxstat.c: Remove file.
8491 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8492
edc7ea78
JM
8493 * sysdeps/unix/sysv/Makefile: Remove file.
8494
cb78c221
JM
8495 * sysdeps/unix/sysv/direct.h: Remove file.
8496
efa6a45f
JM
8497 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8498 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8499 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8500 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8501 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8502 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8503 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8504
9c9f2d0c
JM
8505 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8506
4541c83b
JM
8507 * sysdeps/unix/xmknod.c: Remove file.
8508 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8509
f5d153a0
JM
8510 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8511
aa746595
JM
8512 * sysdeps/unix/sysv/i386/time.S: Remove file.
8513
cce5905e
JM
8514 * sysdeps/unix/fxstat.c: Remove file.
8515 * sysdeps/unix/xstat.c: Likewise.
8516 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8517
37fa3841
JM
8518 * sysdeps/unix/sysv/sigaction.c: Remove file.
8519
ff1962a3
JM
8520 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8521 (sysdep_headers): Remove variable.
8522 [termio.h not in sysdep_headers] (generated): Likewise.
8523 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8524 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8525 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8526 * sysdeps/unix/sysv/tcflow.c: Likewise.
8527 * sysdeps/unix/sysv/tcflush.c: Likewise.
8528 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8529 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8530 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8531 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8532 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8533
e7740d31
JM
8534 * sysdeps/unix/siglist.c: Remove file.
8535
ee06f18b
JM
8536 * sysdeps/unix/getppid.S: Remove file.
8537
097d59fa
JM
8538 * sysdeps/unix/mkdir.c: Remove file.
8539 * sysdeps/unix/rmdir.c: Likewise.
8540
ff3d51ec
AS
85412012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8542
8543 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8544 ERR_MAX value.
8545 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8546 errlist-compat value.
8547
50f81fd7
DM
85482012-04-18 David S. Miller <davem@davemloft.net>
8549
8550 * sysdeps/generic/memcopy.h (reg_char): Delete.
8551 * debug/strcat_chk.c: Use char, not reg_char.
8552 * debug/strcpy_chk.c: Likewise.
8553 * debug/strncat_chk.c: Likewise.
8554 * debug/strncpy_chk.c: Likewise.
8555 * string/memchr.c: Likewise.
8556 * string/memrchr.c: Likewise.
8557 * string/rawmemchr.c: Likewise.
8558 * string/strcat.c: Likewise.
8559 * string/strchr.c: Likewise.
8560 * string/strchrnul.c: Likewise.
8561 * string/strcmp.c: Likewise.
8562 * string/strcpy.c: Likewise.
8563 * string/strncat.c: Likewise.
8564 * string/strncmp.c: Likewise.
8565 * string/strncpy.c: Likewise.
8566
8ff41c46
WS
85672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8568
8569 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8570 __builtin_memcopy is called when src and dest ranges are known to not
8571 overlap.
8572
6b652f46
WS
85732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8574
8575 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8576 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8577 fwd_align_merge macro call.
8578 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8579 bwd_align_merge macro call.
8580 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8581
b282631e
WS
85822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8583
8584 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8585 bwd_align_merge macros.
8586 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8587 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8588 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8589
95aa737c
DM
85902012-04-18 David S. Miller <davem@davemloft.net>
8591
8592 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8593
7a99a614
AJ
85942012-04-18 Andreas Jaeger <aj@suse.de>
8595
8596 [BZ# 6794]
8597 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8598 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8599 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8600
8601 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8602 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8603 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8604
8605 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8606 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8607 Adjust for changed ldbl-128 files.
8608
8609 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8610 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8611 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8612
e5270c23
DM
86132012-04-17 David S. Miller <davem@davemloft.net>
8614
8615 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8616
fb5e92c9
AS
86172012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8618
8619 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8620 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8621 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8622 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8623 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8624 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8625
76da7265
AZ
86262012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8627
8628 [BZ #6794]
8629 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8630 * math/libm-test.inc: Add ilogb errno and exception tests.
8631 * math/w_ilogb.c: New file: ilogb wrapper.
8632 * math/w_ilogbf.c: New file: ilogbf wrapper.
8633 * math/w_ilogbl.c: New file: ilogbl wrapper.
8634 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8635 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8636 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8637 exception being thrown with 0.0 as argument.
8638 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8639 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8640 exception being thrown with 0.0 as argument.
8641 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8642 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8643 exception being thrown with 0.0 as argument.
8644 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8645 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8646 exception being thrown with 0.0 as argument.
8647 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8648 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8649 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8650 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8651 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8652 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8653 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8654 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8655 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8656
0396e69d
PB
86572012-04-17 Petr Baudis <pasky@ucw.cz>
8658
8659 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8660 with altivec.
8661
750b5926
MP
86622012-04-16 Marek Polacek <polacek@redhat.com>
8663
8664 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8665
751728a1
MP
86662012-04-16 Marek Polacek <polacek@redhat.com>
8667
8668 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8669 operands of fdivp instruction.
8670
34a27407
L
86712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8672
8673 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8674 * elf/tst-auditmod3b.c: Likewise.
8675 * elf/tst-auditmod4b.c: Likewise.
8676 * elf/tst-auditmod5b.c: Likewise.
8677 * elf/tst-auditmod6b.c: Likewise.
8678 * elf/tst-auditmod6c.c: Likewise.
8679 * elf/tst-auditmod7b.c: Likewise.
8680 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8681 * sysdeps/x86_64/preconfigure.in: Likewise.
8682 * sysdeps/x86_64/preconfigure: Regenerated.
8683
7e73e17d
L
86842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8687 __ILP32__.
8688
c7a6ab72
AB
86892012-04-13 Antoine Balestrat <merkil33@gmail.com>
8690
8691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8692 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8693
a9e8e0e0
CL
86942012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8695
8696 [BZ #13973]
8697 * locale/iso-639.def: Fix gl language name. Spotted by
8698 Yaron Shahrabani.
8699
ec98af7d
RM
87002012-04-12 Roland McGrath <roland@hack.frob.com>
8701
8702 [BZ #2074]
8703 * libio/libio.h (__io_write_fn): Update comment.
8704
247c3ede
PB
87052012-04-12 Petr Baudis <pasky@ucw.cz>
8706
8707 [BZ #2074]
8708 * stdio.texi (Hook Functions): The user provided writer function
8709 is not allowed to return -1.
8710
55939d6d
DM
87112012-04-11 David S. Miller <davem@davemloft.net>
8712
8713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8714
90020f5a
MF
87152012-04-11 Mike Frysinger <vapier@gentoo.org>
8716
8717 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8718 Add a leading slash to rtkaio.
8719
288f9098
JM
87202012-04-11 Jim Meyering <meyering@redhat.com>
8721
90020f5a
MF
8722 [BZ #11959]
8723 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8724 It is not necessarily an error to ignore fwrite's return
8725 value. One can reliably use ferror to test for errors after
8726 the fact.
288f9098 8727
4be2b570
L
87282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8729
8730 * bits/types.h (__snseconds_t): New type.
8731 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8732
8733 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8734 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8735 (__SNSECONDS_T_TYPE): Likewise.
8736 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8737 (__SNSECONDS_T_TYPE): Likewise.
8738 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8739 (__SNSECONDS_T_TYPE): Likewise.
8740
288f9098 87412012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8742
8743 [BZ #2636]
8744 * manual/time.texi (Processor Time): Return type of times is
8745 elapsed real time since an arbitrary point in the past.
8746 (CPU Time): Move CLK_TCK from here...
8747 (Processor Time): ...to here. Correct description.
8748 * manual/conf.texi (Constants for Sysconf): Correct description of
8749 _SC_CLK_TCK.
8750
d7dd4413
DM
87512012-04-10 David S. Miller <davem@davemloft.net>
8752
8753 [BZ #13967]
8754 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8755 where the is a gap between DT_REL(A) and DT_JMPREL.
8756
b46068fc
L
87572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8758
8759 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8760 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8761 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8762
73d65cc3
SP
87632012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8764
8765 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8766 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8767 (dl_main): Handle --inhibit-cache.
8768 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8769 _dl_inhibit_cache.
8770 * elf/dl-load.c (_dl_map_object): Use it.
8771 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8772
bcc8d661
JM
87732012-04-09 Joseph Myers <joseph@codesourcery.com>
8774
8f9a2fae
JM
8775 [BZ #13872]
8776 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8777 (__ieee754_powl): Saturate large exponents rather than testing for
8778 overflow of y*log2(x).
8779 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8780 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8781 exceptions.
8782
bcc8d661
JM
8783 [BZ #11521]
8784 * math/s_ctan.c: Include <float.h>.
8785 (__ctan): Avoid internal overflow or cancellation in calculating
8786 denominator.
8787 * math/s_ctanf.c: Likewise.
8788 * math/s_ctanl.c: Likewise.
8789 * math/s_ctanh.c: Likewise.
8790 * math/s_ctanhf.c: Likewise.
8791 * math/s_ctanhl.c: Likewise.
8792 * math/libm-test.inc (ctan_test): Add more tests.
8793 (ctanh_test): Likewise.
8794 * sysdeps/i386/fpu/libm-test-ulps: Update.
8795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8796
823fbbb4
AJ
87972012-04-09 Andreas Jaeger <aj@suse.de>
8798
03879793
AJ
8799 [BZ #6894]
8800 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8801 is an optional BSD extension.
8802
823fbbb4
AJ
8803 [BZ #10254]
8804 * manual/stdio.texi (Opening Streams): Document additional fopen
8805 parameters.
8806
8de131cb
RM
88072012-04-09 Roland McGrath <roland@hack.frob.com>
8808
8809 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8810 %eax without telling the compiler.
8811
c0ed9d7d
CD
88122012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8813
8814 [BZ # 13963]
8815 * manual/install.texi: Use sourceware.org.
8816
c483f6b4
JM
88172012-04-09 Joseph Myers <joseph@codesourcery.com>
8818
d7dd9453
JM
8819 [BZ #13873]
8820 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8821 (__ieee754_pow): Generate overflow and underflow using huge*huge
8822 and tiny*tiny rather than just returning constant infinity or zero
8823 for large exponents.
8824 * math/libm-test.inc (pow_test): Require overflow exceptions for
8825 applicable cases of large exponents.
8826
c483f6b4
JM
8827 [BZ #706]
8828 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8829 (__ieee754_pow): Use iterative multiplication algorithm only for
8830 integer exponents with absolute value below 1024. Check for odd
8831 integer exponents when using algorithm for real exponents.
8832 * math/libm-test.inc (pow_test): Add more tests.
8833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8834
d2de7579
JM
88352012-04-08 Joseph Myers <joseph@codesourcery.com>
8836
8837 [BZ #13705]
8838 * math/libm-test.inc (exp_test): Do not allow overflow exception
8839 on underflow test.
8840
f77f1232
AJ
88412012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8842
8843 [BZ #13705]
8844 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8845 instead of __kernel_standard_f.
8846
3884932b
MF
88472012-04-08 Mike Frysinger <vapier@gentoo.org>
8848
8849 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8850 * sysdeps/x86_64/memset_chk.S: Likewise.
8851
54472e9c
AJ
88522012-04-08 Andreas Jaeger <aj@suse.de>
8853
6ab0fbfc
AJ
8854 [BZ #10153]
8855 * manual/startup.texi (Environment Access): Describe return value
8856 for putenv and setenv.
8857
61efba8c
AJ
8858 [BZ #6895]
8859 * manual/filesys.texi (Directory Entries): Add description for
8860 DT_LNK.
8861
95c3f29a
AJ
8862 [BZ #6890]
8863 * manual/filesys.texi (Directory Entries): Clarify that it's file
8864 system not operating system in the description of DT_UNKNOWN.
8865
54472e9c
AJ
8866 [BZ #6578]
8867 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8868
624254b1
SC
88692012-04-08 Stephen Compall <s11@member.fsf.org>
8870
8871 [BZ #6649]
8872 * manual/llio.texi (Opening and Closing Files): Add cross
8873 reference to explain mode argument.
8874
1e4920e0
MF
88752012-04-07 Mike Frysinger <vapier@gentoo.org>
8876
8877 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8878 * sysdeps/x86_64/memset_chk.S: Likewise.
8879
5ed848f3
DM
88802012-04-07 David S. Miller <davem@davemloft.net>
8881
8882 * elf/elf.h (R_SPARC_WDISP10): Define.
8883 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8884 R_SPARC_SIZE32.
8885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8886 R_SPARC_SIZE64 and R_SPARC_H34.
8887
96154cd8
CD
88882012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8889
8890 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8891 conditions and remove no longer applicable assertion.
8892
9904dc47
L
88932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8894
8895 * bits/byteswap.h: Include <features.h>.
8896 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8897 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8898
f8887d0a
L
88992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * bits/byteswap.h (__bswap_16): Removed.
8902 Include <bits/byteswap-16.h> to get __bswap_16.
8903 * sysdeps/i386/bits/byteswap.h: Likewise.
8904 * sysdeps/s390/bits/byteswap.h: Likewise.
8905 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8906 * bits/byteswap-16.h: New file.
8907 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8908 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8909 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8910 * string/Makefile (headers): Add bits/byteswap-16.h.
8911
62470f60
PP
89122012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8913
8914 [BZ #13895]
8915 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8916 extra indirection.
8917 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8918 * nss/tst-nss-static.c: New.
8919
4dad7bab
RM
89202012-04-06 Robert Millan <rmh@gnu.org>
8921
8922 [BZ #6486]
8923 * manual/llio.texi (File Position Primitive): lseek
8924 refers to WHENCE when it really means OFFSET.
8925
e9142a17
AJ
89262012-04-06 Andreas Jaeger <aj@suse.de>
8927
2c040eff
AJ
8928 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8929 strncmp declarations.
8930
e9142a17
AJ
8931 * abilist/libc.abilist: Add __poll and __ppoll.
8932
ff9f1c5f
DM
89332012-04-05 David S. Miller <davem@davemloft.net>
8934
dcd2ae90
DM
8935 * scripts/check-local-headers.sh: Accept a host triplet in the
8936 path matched by the exclude regexp.
8937
993eb054
DM
8938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8939 definition.
8940 * sysdeps/powerpc/powerpc32/dl-machine.h
8941 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8942 * sysdeps/s390/s390-32/dl-machine.h
8943 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8944 * sysdeps/sparc/sparc32/dl-machine.h
8945 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8946 * sysdeps/sparc/sparc64/dl-machine.h
8947 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8948
ff9f1c5f
DM
8949 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8950 lazy binding.
48e2e132 8951 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8952 undefined symbol errors.
8953
48e2e132 8954 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8955 DT_NEEDED entries.
8956
e80d6f94
MM
89572012-04-05 Michael Matz <matz@suse.de>
8958
8959 [BZ #13592]
8960 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8961
349fa79f
AJ
89622012-04-05 Andreas Jaeger <aj@suse.de>
8963
8964 [BZ #13908]
8965 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8966 comment.
8967
f402708f
KK
89682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8969
8970 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8971 which ROUND is no valid rounding mode.
8972
2ecccfc9
KK
89732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8974
8975 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8976 read again.
8977 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8978
8a53f50f
KK
89792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8980
8981 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
8982 an exception using FPU order intentionally.
8983
89842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8985
8986 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
8987 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
8988 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
8989 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
8990
d653abb7
SJ
89912012-04-05 Simon Josefsson <simon@josefsson.org>
8992
8993 [BZ #12340]
8994 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
8995 EINVAL when BUFLEN is too smal.
8996
c3b1bf7d
TS
89972012-04-05 Thomas Schwinge <thomas@codesourcery.com>
8998
8999 [BZ #13553]
9000 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9001 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9002
b1aa60f3
AJ
90032012-04-03 Andreas Jaeger <aj@suse.de>
9004
c3b1bf7d 9005 [BZ #13938]
67f60a26
AJ
9006 * manual/setjmp.texi (System V contexts): Fix sentence.
9007
b1aa60f3
AJ
9008 [BZ #13926]
9009 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9010 New macro for this case.
9011 [!__GNUC__] (__bswap_64): New inline function for this case.
9012 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9013 * bits/byteswap.h: Likewise.
9014 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9015 ull, guard with __GLIBC_HAVE_LONG_LONG.
9016
9017 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9018 __GLIBC_HAVE_LONG_LONG.
9019
9020 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9021 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9022
39c59c35
TMQMF
90232012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9024
9025 [BZ #13691]
9026 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9027 inptr and inend, rather than using last_ch.
9028
135ffda8
DM
90292012-04-02 David S. Miller <davem@davemloft.net>
9030
9031 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9032 * stdio-common/printf-parse.h (read_int): Change return type to
9033 'int', return -1 on INT_MAX overflow.
9034 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9035 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9036 overflows INT_MAX. Check for overflow of in-format-string precision
9037 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9038 SIZE_MAX not INT_MAX for integer overflow test.
9039 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9040 skip the construct in the format string but do not record anything.
9041 * stdio-common/bug22.c: Adjust to test both width/prevision
9042 INT_MAX overflow as well as total length INT_MAX overflow. Check
9043 explicitly for proper errno values.
9044
228c019e
TS
90452012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9046
302cadd3
TS
9047 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9048 CHAR_MAX.
9049 * string/test-strcmp.c [! WIDE]: Likewise.
9050 * time/tst-mktime2.c: Likewise for INT_MAX.
9051 * string/test-string.h: #include <sys/param.h> for MIN.
9052
228c019e
TS
9053 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9054 * sysdeps/i386/init-first.c (init): Likewise.
9055 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9056 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9057 * sysdeps/sh/init-first.c (init): Likewise.
9058
cfa633f5
UD
90592012-04-01 Ulrich Drepper <drepper@gmail.com>
9060
9061 * po/ru.po: Update from translation team.
d1635ef8 9062 * po/vi.po: Likewise.
cfa633f5 9063
6cd0a5ea
SP
90642012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9065
9066 * resolv/nss_dns/dns-host.c: Merge copyright years.
9067
4b43400f
LD
90682012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9069
9070 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9071 Optimize memcpy with prefetch if
9072 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9073 src, dst pointers have unequal 16 byte alignments.
9074
48c41d04
SP
90752012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9076
9077 [BZ #13928]
9078 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9079 from a CNAME entry and return the minimum ttl for the query.
9080 (gaih_getanswer_slice): Likewise.
9081
b8dc394d
JL
90822012-03-30 Jeff Law <law@redhat.com>
9083
9084 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9085 due to long keys.
9086 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9087 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9088
2f5a5ed0
JL
9089 * resolv/nss_dns/dns-host.c: Update copyright year.
9090
1d39e359
UD
90912012-03-30 Ulrich Drepper <drepper@gmail.com>
9092
c030f70c 9093 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9094 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9095
1d39e359
UD
9096 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9097 comments for sendmmsg.
9098
90992012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9100
9101 [BZ #13691]
9102 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9103 with only 1 character between 0x0041 and 0x01b0.
9104 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9105 * wcsmbs/tst-mbsnrtowcs.c: New file.
9106
20fde227
DM
91072012-03-29 David S. Miller <davem@davemloft.net>
9108
9109 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9110 small copies by hand.
9111
984a4237
JL
91122012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9113
9114 [BZ #13761]
9115 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9116 _nss_compat_initgroups_dyn): Fall back to malloc/free
9117 for large group memberships.
9118
18c9d62b
DM
91192012-03-28 David S. Miller <davem@davemloft.net>
9120
88d85d4f
DM
9121 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9122 that branches into memcpy.
9123 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9124 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9125 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9126 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9128 bits.
9129 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9130 implementation too.
9131 * sysdeps/sparc/mempcpy.S: New file.
9132
e5aa83e1
DM
9133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9134 the IFUNC routine in the libc case.
9135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9136
88570753
DM
9137 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9138 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9139 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9140 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9141 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9142 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9143 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9144 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9145
249d7567
DM
9146 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9147 loop to 256 bytes instead of 64 bytes and fix test signedness.
9148
18c9d62b
DM
9149 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9150 * sysdeps/sparc/sparc32/Makefile: rather than here...
9151 * sysdeps/sparc/sparc64/Makefile: and here.
9152
05f3d1f6
UD
91532012-03-28 Ulrich Drepper <drepper@gmail.com>
9154
9155 * malloc/mallocbug.c: Avoid warnings about unused variables.
9156
86ae07a8
JL
91572012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9158
9159 [BZ #13760]
9160 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9161 in the right place. Discard and retry query if response is
9162 larger than input buffer size.
9163
41bf21a1
JM
91642012-03-28 Joseph Myers <joseph@codesourcery.com>
9165
d6270972
JM
9166 [BZ #369]
9167 [BZ #2678]
9168 [BZ #3866]
9169 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9170 x for large integer exponent.
9171 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9172 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9173 sign of result as needed afterwards.
9174 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9175 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9176 result for underflowing pow the same as for overflow.
9177 (__kernel_standard_l): Handle powl overflow and underflow here
9178 rather than calling __kernel_standard.
9179 * math/libm-test.inc (pow_test): Add more tests.
9180
414fca03 9181 [BZ #3868]
41bf21a1
JM
9182 [BZ #13879]
9183 [BZ #13910]
9184 [BZ #13911]
9185 [BZ #13912]
9186 [BZ #13913]
9187 [BZ #13915]
9188 [BZ #13916]
9189 [BZ #13917]
9190 [BZ #13918]
9191 [BZ #13919]
9192 [BZ #13920]
9193 [BZ #13921]
9194 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9195 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9196 (__kernel_standard_l): New function.
9197 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9198 __kernel_standard.
9199 * math/w_acosl.c (__acosl): Likewise.
9200 * math/w_asinl.c (__asinl): Likewise.
9201 * math/w_atan2l.c (__atan2l): Likewise.
9202 * math/w_atanhl.c (__atanhl): Likewise.
9203 * math/w_coshl.c (__coshl): Likewise.
9204 * math/w_exp10l.c (__exp10l): Likewise.
9205 * math/w_exp2l.c (__exp2l): Likewise.
9206 * math/w_fmodl.c (__fmodl): Likewise.
9207 * math/w_hypotl.c (__hypotl): Likewise.
9208 * math/w_j0l.c (__j0l, __y0l): Likewise.
9209 * math/w_j1l.c (__j1l, __y1l): Likewise.
9210 * math/w_jnl.c (__jnl, __ynl): Likewise.
9211 * math/w_lgammal.c (__lgammal): Likewise.
9212 * math/w_log10l.c (__log10l): Likewise.
9213 * math/w_log2l.c (__log2l): Likewise.
9214 * math/w_logl.c (__logl): Likewise.
9215 * math/w_powl.c (__powl): Likewise.
9216 * math/w_remainderl.c (__remainderl): Likewise.
9217 * math/w_scalbl.c (sysv_scalbl): Likewise.
9218 * math/w_sinhl.c (__sinhl): Likewise.
9219 * math/w_sqrtl.c (__sqrtl): Likewise.
9220 * math/w_tgammal.c (__tgammal): Likewise.
9221 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9222 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9223 * math/libm-test.inc (acos_test): Add more tests.
9224 (acosh_test): Likewise.
9225 (asin_test): Likewise.
9226 (atanh_test): Likewise.
9227 (exp_test): Likewise.
9228 (exp10_test): Likewise.
9229 (exp2_test): Likewise.
9230 (expm1_test): Likewise.
9231 (lgamma_test): Likewise.
9232 (log_test): Likewise.
9233 (log10_test): Likewise.
9234 (log1p_test): Likewise.
9235 (log2_test): Likewise.
9236 (pow_test): Do not allow some spurious overflow exceptions.
9237 (sqrt_test): Add more tests.
9238 (tgamma_test): Likewise.
9239 (y0_test): Likewise.
9240 (y1_test): Likewise.
9241 (yn_test): Likewise.
9242
dd62fda6
AB
92432012-03-27 Anton Blanchard <anton@samba.org>
9244
9245 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9246 MAP_HUGETLB.
9247 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9248 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9250
1e3cdfda
AJ
92512012-03-27 David S. Miller <davem@davemloft.net>
9252
b855ab85
DM
9253 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9254
1e3cdfda
AJ
9255 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9256 have-as-vis3 check.
9257
92582012-03-27 Andreas Jaeger <aj@suse.de>
9259
9260 * sysdeps/x86_64/elf/configure.in: Moved to ...
9261 * sysdeps/x86_64/configure.in: ... here.
9262 * sysdeps/x86_64/elf/start.S: Moved to ...
9263 * sysdeps/x86_64/start.S: ... here.
9264 * sysdeps/x86_64/elf/configure: Delete.
9265
9266 * sysdeps/x86_64/configure.in: Merge contents from
9267 sysdeps/i386/configure.in (without i686 check).
9268
9269 * sysdeps/i386/elf/Versions: Merge into ...
9270 * sysdeps/i386/Versions: ... this.
9271 * sysdeps/i386/elf/Versions: Delete file.
9272 * sysdeps/i386/elf/start.S: Moved to ...
9273 * sysdeps/i386/start.S: ...here.
9274 * sysdeps/i386/elf/configure.in: Merge into...
9275 * sysdeps/i386/configure.in: ...here.
9276 * sysdeps/i386/elf/configure.in: Delete file.
9277 * sysdeps/i386/elf/configure: Delete file.
9278
9279 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9280 * debug/backtracesyms.c: ... here.
9281 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9282 * debug/backtracesymsfd.c: ... here.
9283 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9284 * sysdeps/generic/ifunc-sel.h: ... here.
9285
9286 * sysdeps/unix/i386/start.c: Delete file.
9287 * sysdeps/unix/sparc/start.c: Delete file.
9288 * sysdeps/unix/start.c: Delete file.
9289
9290 * sysdeps/sh/elf/configure.in: Moved to ...
9291 * sysdeps/sh/configure.in: ... here.
9292 * sysdeps/sh/elf/start.S: Moved to ...
9293 * sysdeps/sh/start.S: ... here.
9294 * sysdeps/sh/elf/configure: Delete file.
9295
9296 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9297 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9298 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9299 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9300 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9301 * sysdeps/powerpc/powerpc64/start.S: here.
9302 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9303 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9304 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9305 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9306 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9307
9308 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9309 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9310 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9311 * sysdeps/powerpc/powerpc32/start.S: ... here.
9312 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9313 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9314 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9315
9316 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9317 * sysdeps/powerpc/ifunc-sel.h: ... here.
9318 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9319 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9320
9321 * sysdeps/sparc/elf/configure.in: Moved to ...
9322 * sysdeps/sparc/configure.in: ... here.
9323 * sysdeps/sparc/elf/configure: Delete file.
9324 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9325 * sysdeps/sparc/sparc32/start.S: ... here.
9326 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9327 * sysdeps/sparc/sparc64/start.S: ... here.
9328 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9329 * sysdeps/sparc/sparc32/Makefile: ... this.
9330 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9331 * sysdeps/sparc/sparc64/Makefile: ... this.
9332
9333 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9334 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9335 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9336 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9337 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9338 * sysdeps/s390/s390-32/setjmp.S: ... here.
9339 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9340 * sysdeps/s390/s390-32/configure.in: ... here.
9341 * sysdeps/s390/s390-32/elf/configure: Delete file.
9342 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9343 * sysdeps/s390/s390-32/start.S: ... here.
9344
9345 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9346 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9347 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9348 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9349 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9350 * sysdeps/s390/s390-64/setjmp.S: ... here.
9351 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9352 * sysdeps/s390/s390-64/configure.in: ... here
9353 * sysdeps/s390/s390-64/elf/configure: Delete file.
9354 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9355 * sysdeps/s390/s390-64/start.S: ... here.
9356 * sysdeps/s390/s390-64/elf/configure: Delete.
9357
9358 * configure.in: Remove support for elf directories in sysdeps.
9359
9360 * configure: Regenerated.
9361 * sysdeps/i386/configure: Regenerated.
9362 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9363 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9364 * sysdeps/s390/s390-32/configure: Regenerated.
9365 * sysdeps/s390/s390-64/configure: Regenerated.
9366 * sysdeps/sh/configure: Regenerated.
9367 * sysdeps/sparc/configure: Regenerated.
9368 * sysdeps/x86_64/configure: Regenerated.
9369
a3f61311
AS
93702012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9371
c876e002
AS
9372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9373
a3f61311
AS
9374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9375 denormal result into account.
9376
ac4c54f0
RM
93772012-03-25 Roland McGrath <roland@hack.frob.com>
9378
9379 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9380 Reported by Allan McRae <allan@archlinux.org>.
9381
6a9b9c02
JL
93822012-03-23 Jeff Law <law@redhat.com>
9383
9384 * nss/getnssent.c (__nss_getent): Fix typo.
9385
4c42a0c1
DM
93862012-03-23 David S. Miller <davem@davemloft.net>
9387
9388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9389
1532c7ac
L
93902012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9391
9392 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9393 to pad to uint64_t for each field.
9394 (dl_tls_index): Replace unsigned long with uint64_t.
9395
3ff42526
PP
93962012-03-23 Daniel Jacobowitz <dmj@google.com>
9397 Paul Pluzhnikov <ppluzhnikov@google.com>
9398
9399 [BZ #6528]
9400 * grp/Makefile (otherlibs): Don't set it.
9401 * inet/Makefile (otherlibs): Likewise.
9402 * login/Makefile (otherlibs): Likewise.
9403 * nscd/Makefile (otherlibs): Likewise.
9404 * posix/Makefile (otherlibs): Likewise.
9405 * pwd/Makefile (otherlibs): Likewise.
9406 * rt/Makefile (otherlibs): Likewise.
9407 * sunrpc/Makefile (otherlibs): Likewise.
9408 * nss/Makefile (otherlibs): Likewise.
9409 Add libnss_files to routines and static-only-routines.
9410 ($(objpfx)getent): Remove rule.
9411 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9412 static-only-routines.
9413
7c69cd14
JM
94142012-03-22 Joseph Myers <joseph@codesourcery.com>
9415
9416 [BZ #13892]
9417 * math/s_cexp.c: Include <float.h>.
9418 (__cexp): Handle exp result overflowing not necessarily
9419 overflowing both real and imaginary parts of result.
9420 * math/s_cexpf.c: Likewise.
9421 * math/s_cexpl.c: Likewise.
9422 * math/libm-test.inc (cexp_test): Add more tests.
9423 * sysdeps/i386/fpu/libm-test-ulps: Update.
9424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425
81b035fe
L
94262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9427
9428 * include/link.h (ELFW): New macro.
9429 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9430 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9431
1da7940c
L
94322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9435 with uint64_t.
9436
b749dbb9
L
94372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9438
9439 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9440 declaration.
9441 (struct La_x32_retval): Likewise.
9442
2ff87f3f
L
94432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9444
9445 * sysdeps/x86_64/preconfigure.in: New file.
9446 * sysdeps/x86_64/preconfigure: New generated file.
9447
c0df8e69
JM
94482012-03-22 Joseph Myers <joseph@codesourcery.com>
9449
48e44791
JM
9450 [BZ #13824]
9451 * math/e_exp2l.c: Include <float.h>.
9452 (__ieee754_exp2l): Handle overflow and underflow cases
9453 separately. Only pass fractional part of argument to
9454 __ieee754_expl.
9455 * math/libm-test.inc (exp2_test): Add more tests.
9456
c0df8e69
JM
9457 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9458 negating x to take absolute value.
9459 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9460 Likewise.
9461 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9462 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9463 Likewise.
9464 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9465 computing low part if x was negated.
9466 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9467
c8e43ba7
L
94682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9471 la_x32_gnu_pltexit.
9472 (pltexit): Cast int_retval to ptrdiff_t.
9473 * elf/tst-auditmod3b.c: Likewise.
9474 * elf/tst-auditmod4b.c: Likewise.
9475 * elf/tst-auditmod5b.c: Likewise.
9476 * elf/tst-auditmod6b.c: Likewise.
9477 * elf/tst-auditmod6c.c: Likewise.
9478 * elf/tst-auditmod7b.c: Likewise.
9479
9480 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9481 and x32_gnu_pltexit.
9482
9483 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9484 __ELF_NATIVE_CLASS.
9485 (La_x32_regs): New macro.
9486 (La_x32_retval): Likewise.
9487 (la_x32_gnu_pltenter): New function prototype.
9488 (la_x32_gnu_pltexit): Likewise.
9489
7998fa78
AS
94902012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9491
dcb33988
AS
9492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9493 exponent.
9494
233fc563
AS
9495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9496
7998fa78
AS
9497 * configure.in (libc_cv_cc_nofma): Check for option to disable
9498 generation of FMA instructions.
9499 * configure: Regenerate.
9500 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9501 * sysdeps/ieee754/dbl-64/Makefile: New file.
9502 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9503 Remove brandred-fma4.
9504 (CFLAGS-brandred-fma4.c): Remove.
9505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9506 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9507 define.
9508 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9509 define.
9510
8e95c99a
L
95112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9514 LLONG_MAX != LONG_MAX.
9515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9516 (_fitoa_word): Likewise.
9517 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9518 LLONG_MAX != LONG_MAX.
9519 * stdio-common/_itowa.h: Include <_itoa.h>.
9520 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9521 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9522 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9523 only if not defined.
9524 (_ITOA_WORD_TYPE): Likewise.
9525 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9526 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9527
6f4db457
DM
95282012-03-21 David S. Miller <davem@davemloft.net>
9529
9530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9531
7785fe5a
L
95322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9533
9534 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9535 of x86_64 when setting libc_cv_slibdir, libdir and
9536 libc_cv_localedir.
9537 * sysdeps/unix/sysv/linux/configure: Regenerated.
9538
4535cd55
JM
95392012-03-21 Joseph Myers <joseph@codesourcery.com>
9540
9541 * manual/lang.texi (Old Varargs): Remove section.
9542 (How Variadic): Update menu.
9543 (va_start): Do not mention varargs.h.
9544
17228132
TS
95452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9546 Joseph Myers <joseph@codesourcery.com>
9547
9548 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9549 link test.
9550 * configure: Regenerated.
9551
8149f976
TS
95522012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9553
05f3d1f6
UD
9554 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9555 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9556 conformtest.pl
8149f976 9557
1a4ac776
JM
95582012-03-21 Joseph Myers <joseph@codesourcery.com>
9559
be22ce65
JM
9560 * NOTES: Remove.
9561 * Makefile (files-for-dist): Remove NOTES.
9562 (NOTES): Remove rule.
9563 * README: Don't refer to NOTES.
9564 * manual/creature.texi: Don't include macros.texi.
9565 * manual/intro.texi (creature.texi): Remove comment referring to
9566 NOTES.
9567
40b601fb
JM
9568 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9569 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9570 * configure: Regenerated.
9571 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9572 LIBC_TRY_CC_OPTION.
9573 (libc_cv_as_i686): Likewise.
9574 (libc_cv_cc_avx): Likewise.
9575 (libc_cv_cc_sse2avx): Likewise.
9576 (libc_cv_cc_fma4): Likewise.
9577 (libc_cv_cc_novzeroupper): Likewise.
9578 * sysdeps/i386/configure: Regenerated.
9579
1a4ac776
JM
9580 [BZ #13883]
9581 * sysdeps/i386/fpu/s_cexp.S: Remove.
9582 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9583 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9584 * math/libm-test.inc (cexp_test): Add more tests.
9585 * sysdeps/i386/fpu/libm-test-ulps: Update.
9586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9587
a458e7fe
AM
95882012-03-21 Allan McRae <allan@archlinux.org>
9589
9590 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9591
0cb7efc5
JM
95922012-03-21 Joseph Myers <joseph@codesourcery.com>
9593
9594 [BZ #13871]
9595 * math/w_exp2.c: Do not include <float.h>.
9596 (o_threshold, u_threshold): Remove.
9597 (__exp2): Calculate result before checking finiteness and calling
9598 __kernel_standard.
9599 * math/w_exp2f.c: Likewise.
9600 * math/w_exp2l.c: Likewise.
9601 * math/libm-test.inc (exp2_test): Require overflow exception for
9602 1e6 input.
2460d3aa
JM
9603
9604 [BZ #3866]
9605 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9606 range of signed 64-bit integers before using fistpll. Remove
9607 checks for whether integers fit in mantissa bits.
9608 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9609 the range of signed 32-bit integers before using fistpl. Remove
9610 checks for whether integers fit in mantissa bits.
9611 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9612 (__ieee754_powl): Test for y outside the range of signed 64-bit
9613 integers before using fistpll. Reduce 64-bit values to 63-bit
9614 ones as needed.
9615 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9616 divide-by-zero is raised for zero to large negative powers.
9617 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9618 (__ieee754_powl): Test for y outside the range of signed 64-bit
9619 integers before using fistpll. Reduce 64-bit values to 63-bit
9620 ones as needed.
9621 * math/libm-test.inc (pow_test): Add more tests.
9622
eb96ffb0
L
96232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9624
9625 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9626 <stdio-common/_itoa.h>.
9627 * debug/segfault.c: Likewise.
9628 * elf/dl-cache.c: Likewise.
9629 * elf/dl-minimal.c: Likewise.
9630 * elf/dl-misc.c: Likewise.
9631 * elf/dl-sysdep.c: Likewise.
9632 * elf/dl-version.c: Likewise.
9633 * elf/rtld.c: Likewise.
9634 * hurd/hurdsock.c: Likewise.
9635 * hurd/lookup-retry.c: Likewise.
9636 * malloc/malloc.c: Likewise.
9637 * malloc/mtrace.c: Likewise.
9638 * nscd/nscd_getgr_r.c: Likewise.
9639 * nscd/nscd_getpw_r.c: Likewise.
9640 * nscd/nscd_getserv_r.c: Likewise.
9641 * posix/getopt_init.c: Likewise.
9642 * posix/wordexp.c: Likewise.
9643 * stdio-common/_itoa.c: Likewise.
9644 * stdio-common/printf_fphex.c: Likewise.
9645 * stdio-common/vfprintf.c: Likewise.
9646 * string/_strerror.c: Likewise.
9647 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9648 * sysdeps/i386/i686/hp-timing.h: Likewise.
9649 * sysdeps/mach/_strerror.c: Likewise.
9650 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9651 * sysdeps/mach/hurd/sethostid.c: Likewise.
9652 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9653 * sysdeps/mach/xpg-strerror.c: Likewise.
9654 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9655 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9656 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9657 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9658 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9659 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9660 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9661 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9662 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9663 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9664 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9665 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9666 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9667 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9668 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9669 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9670 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9671 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9672 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9673 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9674 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9675
9676 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9677
9678 * stdio-common/_itoa.h: Moved to ...
9679 * sysdeps/generic/_itoa.h: Here.
9680
9681 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9682
9683 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9684 instead of "_itoa.h" and "_itowa.h".
9685 * stdio-common/vfprintf.: Likewise.
9686
d1af992d
L
96872012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9688
9689 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9690 <bits/wordsize.h>.
9691 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9692 (__signbit): Likwise.
9693 (llrintf): Likwise.
9694 (llrint): Likwise.
9695
114883e0
L
96962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9697
9698 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9699 __WORDSIZE != 64.
9700
c135cc1b
JM
97012012-03-20 Joseph Myers <joseph@codesourcery.com>
9702
9703 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9704 OVERFLOW_EXCEPTION_OK.
9705 * math/libm-test.inc ("Philosophy"): Update comment about
9706 exception testing.
9707 (OVERFLOW_EXCEPTION): Define.
9708 (OVERFLOW_EXCEPTION_OK): Likewise.
9709 (INVALID_EXCEPTION_OK): Renumber.
9710 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9711 (IGNORE_ZERO_INF_SIGN): Likewise.
9712 (test_exceptions): Handle FE_OVERFLOW.
9713 (exp10_test): Expect overflow exceptions.
9714 (exp2_test): Likewise.
9715 (expm1_test): Likewise.
9716 (nextafter_test): Likewise.
9717 (pow_test): Likewise.
9718 (scalbn_test): Likewise.
9719 (scalbln_test): Likewise.
9720
95443d88
L
97212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9722
9723 * sysdeps/x86_64/bits/atomic.h
9724 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9725 64bit integer.
9726 (atomic_exchange_acq): Likewise.
9727 (__arch_exchange_and_add_body): Likewise.
9728 (__arch_add_body): Likewise.
9729 (atomic_add_negative): Likewise.
9730 (atomic_add_zero): Likewise.
9731
490df6c4
L
97322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9733
c2722551 9734 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9735 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9736
5e52b189
L
97372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9738
9739 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9740 Check __x86_64__ instead of __WORDSIZE.
9741
a9879d4c
L
97422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9745
5df98260
DM
97462012-03-19 David S. Miller <davem@davemloft.net>
9747
e1497744
DM
9748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9749
5df98260
DM
9750 * sysdeps/sparc/fpu/fenv_private.h: New file.
9751 * sysdeps/sparc/fpu/math_private.h: Use it.
9752 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9753 Remove.
9754 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9755 (libc_feholdexcept_setroundl): Remove.
9756 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9757 Remove.
9758 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9759 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9760
b4c35121
L
97612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9762
9763 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9764 int64_t instead of long int.
9765 (INSERT_WORDS64): Likwise.
9766
56965fd7
L
97672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9768
9769 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9770 _Unwind_GetCFA return to _Unwind_Ptr first.
9771
83d1aec8
JM
97722012-03-19 Joseph Myers <joseph@codesourcery.com>
9773
1897ad44
JM
9774 [BZ #13629]
9775 * math/s_clog.c: Include <float.h>.
9776 (__clog): Scale large or subnormal inputs.
9777 * math/s_clogf.c: Likewise.
9778 * math/s_clogl.c: Likewise.
9779 * math/s_clog10.c: Include <float.h>.
9780 (M_LOG10_2): Define.
9781 (__clog10): Scale large or subnormal inputs.
9782 * math/s_clog10f.c: Likewise.
9783 * math/s_clog10l.c: Likewise.
9784 * math/libm-test.inc (clog_test): Add more tests.
9785 (clog10_test): Likewise.
9786 * sysdeps/i386/fpu/libm-test-ulps: Update.
9787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9788
7726d6a9
JM
9789 [BZ #11451]
9790 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9791 x and y.
9792 * math/libm-test.inc (atan2_test): Add another test.
9793
83d1aec8
JM
9794 * Makerules (common-objdir-compile): Remove.
9795 * sysdeps/unix/Makefile (config-generated): Do not add
9796 $(unix-generated) to variable.
9797 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9798 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9799 Remove rule.
9800 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9801 Likewise.
9802 [generic bits/local_lim.h] (before-compile): Do not append to
9803 variable.
9804 [generic bits/local_lim.h] (common-generated): Likewise.
9805 [generic sys/param.h] (before-compile): Do not append to variable.
9806 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9807 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9808 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9809 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9810 include.
9811 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9812 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9813 [generic sys/param.h] ($(addprefix
9814 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9815 [generic sys/param.h] (common-generated): Do not append to
9816 variable.
9817 [generic sys/param.h] (sysdep_headers): Likewise.
9818 [generic bits/errno.h] (before-compile): Do not append to
9819 variable.
9820 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9821 rule.
9822 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9823 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9824 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9825 [generic bits/errno.h] (common-generated): Do not append to
9826 variable.
9827 [generic bits/ioctls.h] (before-compile): Do not append to
9828 variable.
9829 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9830 rule.
9831 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9832 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9833 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9834 rule.
9835 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9836 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9837 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9838 [generic bits/ioctls.h] (common-generated): Do not append to
9839 variable.
9840 [generic sys/syscall.h] (syscall.h): Remove variable.
9841 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9842 rule.
9843 [generic sys/syscall.h] (before-compile): Do not append to
9844 variable.
9845 [generic sys/syscall.h] (common-generated): Likewise.
9846 * sysdeps/unix/errnos-tmpl.c: Remove file.
9847 * sysdeps/unix/errnos.awk: Likewise.
9848 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9849 * sysdeps/unix/ioctls.awk: Likewise.
9850 * sysdeps/unix/mk-local_lim.c: Likewise.
9851 * sysdeps/unix/snarf-ioctls: Likewise.
9852
4851a949
RH
98532012-03-19 Richard Henderson <rth@twiddle.net>
9854
bd37f2ee
RH
9855 * sysdeps/i386/fpu/fenv_private.h: New file.
9856 * sysdeps/i386/fpu/math_private.h: Use it.
9857 (math_opt_barrier, math_force_eval): Remove.
9858 (libc_feholdexcept_setround_53bit): Remove.
9859 (libc_feupdateenv_53bit): Remove.
9860 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9861 (math_opt_barrier, math_force_eval): Remove.
9862 (libc_feholdexcept): Remove.
9863 (libc_feholdexcept_setround): Remove.
9864 (libc_fetestexcept, libc_fesetenv): Remove.
9865 (libc_feupdateenv_test): Remove.
9866 (libc_feupdateenv, libc_feholdsetround): Remove.
9867 (libc_feresetround): Remove.
9868
d0adc922
RH
9869 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9870 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9871
0fe0f1f8
RH
9872 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9873 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9874 (libc_feupdateenv_testl): New.
9875 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9876 (libc_feupdateenv_testf): New.
9877 (libc_feupdateenv): Use libc_feupdateenv_test.
9878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9879 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9880
eb92c487
RH
9881 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9882 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9883 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9884 (libc_feresetround_noex): New.
9885 (libc_feresetround_noexf): New.
9886 (libc_feresetround_noexl): New.
9887 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9888 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9889 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9890 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9891 SET_RESTORE_ROUND.
9892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9894 (__cos): Likewise.
9895 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9896 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9897 SET_RESTORE_ROUND_NOEX.
9898 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9899 SET_RESTORE_ROUND_NOEXF.
9900 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9901 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9902 (libc_feholdsetroundf): New.
9903 (libc_feresetround, libc_feresetroundf): New.
9904
7d2e8012
RH
9905 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9906 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9907 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9908
b4dabbb4
RH
9909 * sysdeps/generic/math_private.h: Include <fenv.h>.
9910 (default_libc_feholdexcept): New.
9911 (default_libc_feholdexcept_setround): New.
9912 (default_libc_fesetenv, default_libc_feupdateenv): New.
9913 (libc_feholdexcept): Only define if undefined.
9914 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9915 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9916 (libc_feholdexcept_setroundl): Likewise.
9917 (libc_feholdexcept_setround_53bit): Likewise.
9918 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9919 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9920 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9921 (libc_feupdateenv_53bit): Likewise.
9922 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9923 (libc_feholdexcept): Convert from macro to inline function.
9924 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9925 (libc_fesetenv, libc_feupdateenv): Likewise.
9926
4851a949
RH
9927 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9928 not previously defined.
9929 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9930 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9931 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9932 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9933 * sysdeps/ieee754/flt-32/math_private.h: New file.
9934 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9935 math_private.h below SET_FLOAT_WORD.
9936 (__isnan, __isinf_ns, __finite): Remove.
9937 (__isnanf, __isinf_nsf, __finitef): Remove.
9938
e79d442e
AS
99392012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9940
9941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9942
90b80344
DM
99432012-03-17 David S. Miller <davem@davemloft.net>
9944
9945 [BZ #6471]
9946 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9947 for 2.16.
9948
edc21804
DM
99492012-03-16 David S. Miller <davem@davemloft.net>
9950
77e927af
DM
9951 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9952 warnings.
9953
374976dd
DM
9954 [BZ #6471]
9955 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9956 properly.
9957 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9958 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9959 sysdep_routines when subdir is sysvipc.
9960 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9961 __getshmlba helper.
9962
edc21804
DM
9963 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9964
473c3ef3
L
99652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9966
9967 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9968 [__LP64__].
9969
eb0f39b6
L
99702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9971
9972 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9973 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9974 (__lround): Renamed to ...
9975 (__llround): This. Replace long int with long long int.
9976 Define lround functions as aliases of llround functions.
9977 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9978
6b6cd74b
L
99792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9980
9981 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
9982 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
9983 adresses to uintptr_t. Replace "long int" and "unsigned long
9984 int" with "greg_t" on va_arg.
9985
f1a77b01
L
99862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9987
9988 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
9989 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
9990
9991 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
9992 Move e_machine check before EI_CLASS check. Handle x32
9993 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
9994 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
9995 SKIP_EM_IA_64 and include
9996 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
9997
9998 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
9999 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10000 (add_system_dir): New macro.
10001
10002 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10003 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10004
11b90b9f
JM
100052012-03-16 Joseph Myers <joseph@codesourcery.com>
10006
c36e1d23
JM
10007 [BZ #2551]
10008 [BZ #2552]
10009 [BZ #2553]
10010 [BZ #2554]
10011 [BZ #2562]
10012 [BZ #2563]
10013 [BZ #2565]
10014 [BZ #2566]
10015 [BZ #2576]
10016 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10017 (y0): Likewise.
10018 * math/w_j0f.c (j0f): Likewise.
10019 (y0f): Likewise.
10020 * math/w_j0l.c (__j0l): Likewise.
10021 (__y0l): Likewise.
10022 * math/w_j1.c (j1): Likewise.
10023 (y1): Likewise.
10024 * math/w_j1f.c (j1f): Likewise.
10025 (y1f): Likewise.
10026 * math/w_j1l.c (__j1l): Likewise.
10027 (__y1l): Likewise.
10028 * math/w_jn.c (jn): Likewise.
10029 (yn): Likewise.
10030 * math/w_jnf.c (jnf): Likewise.
10031 (ynf): Likewise.
10032 * math/w_jnl.c (__jnl): Likewise.
10033 (__ynl): Likewise.
10034 * math/libm-test.inc (j0_test): Add more tests.
10035 (j1_test): Likewise.
10036 (jn_test): Likewise. Add trailing semicolon to existing test.
10037 (y0_test): Likewise.
10038 (y1_test): Likewise.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10041
11b90b9f
JM
10042 [BZ #13851]
10043 [BZ #13854]
10044 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10045 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10046 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10047 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10048 (__tanl): Set errno for infinite argument.
10049 * sysdeps/i386/fpu/mptan.c: Remove.
10050 * sysdeps/i386/fpu/s_tan.S: Likewise.
10051 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10052 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10053 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10054 * math/libm-test.inc (tan_test): Add more tests and enable more
10055 tests for double and long double.
10056 * sysdeps/i386/fpu/libm-test-ulps: Update.
10057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10058
6a1bd2a1
JK
100592012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10060
10061 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10062 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10063
10a803e0
RM
100642012-03-16 Roland McGrath <roland@hack.frob.com>
10065
10066 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10067 * configure.in: Use it for both main tree and add-ons.
10068 * configure: Regenerated.
10069
f196c7f7
L
100702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10071
10072 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10073
8848d99d
JM
100742012-03-16 Joseph Myers <joseph@codesourcery.com>
10075
96cbe7f4
JM
10076 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10077 in comment.
10078
8848d99d
JM
10079 [BZ #13851]
10080 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10081 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10085 infinite argument.
10086 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10088 != 0 for prec == 2.
10089 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10090 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10091 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10092 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10093 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10094 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10095 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10096 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10097 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10098 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10099 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10100 * math/libm-test.inc (cos_test): Add more tests and enable more
10101 tests for long double.
10102 (sin_test): Likewise.
10103 (sincos_test): Likewise.
10104 * sysdeps/i386/fpu/libm-test-ulps: Update.
10105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10106
dd7f4703
DM
101072012-03-16 David S. Miller <davem@davemloft.net>
10108
10109 * sysdeps/sparc/fpu/math_private.h: New file.
10110
006f1daa
DM
101112012-03-15 David S. Miller <davem@davemloft.net>
10112
c0c83bc8
DM
10113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10114 file.
e6a62e18 10115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10117 file.
e6a62e18
DM
10118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10123 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10124 sysdep routines.
10125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10126
88cb87d9
DM
10127 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10128 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10129
006f1daa 10130 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10132 sparc-ifunc.h
006f1daa 10133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10135 Likewise.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10137 Likewise.
006f1daa
DM
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10142 Likewise.
006f1daa
DM
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10148 Likewise.
10149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10150 Likewise.
006f1daa
DM
10151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10157 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10158 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10175
11e0098e
AS
101762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10177
10178 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10179 scaling.
10180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10181
e85b09d0
AJ
101822012-03-15 Andreas Jaeger <aj@suse.de>
10183
10184 [BZ #13852]
10185 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10186 ieee754/flt-32 implementation for sin, cos and sincos.
10187 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10188 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10189 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10190 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10191 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10192 ieee754/flt-32 implementation for tan.
10193
10194 * math/libm-test.inc (cos_test): Enable some large input tests for
10195 float as well
10196 (sin_test): Likewise.
10197 (sincos_test): Likewise.
10198 (tan_test): Add tests for large input.
10199
10200 * sysdeps/i386/fpu/libm-test-ulps: Update.
10201
81c64153
AJ
102022012-03-15 Andreas Jaeger <aj@suse.de>
10203
10204 [BZ #13658]
10205 * math/libm-test.inc (cos_test): Add more test cases.
10206 (sin_test): Likewise.
10207 (sincos_test): Likewise.
10208
7bbfa5c6
AJ
102092012-03-15 Andreas Jaeger <aj@suse.de>
10210
10211 [BZ #13837]
10212 * math/libm-test.inc (cos_test): Add a test case for large input
10213 value.
10214 (sin_test): Likewise.
10215 (sincos_test): Likewise.
10216
102172012-03-15 Andreas Jaeger <aj@suse.de>,
10218 Joseph Myers <joseph@codesourcery.com>
10219
10220 [BZ #13658]
0671f479 10221 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10222 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10223 * sysdeps/i386/fpu/branred.c: Likewise.
10224 * sysdeps/i386/fpu/dosincos.c: Likewise.
10225 * sysdeps/i386/fpu/mpa.c: Likewise.
10226 * sysdeps/i386/fpu/s_cos.S: Likewise.
10227 * sysdeps/i386/fpu/s_sin.S: Likewise.
10228 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10229 * sysdeps/i386/fpu/sincos32.c: Likewise.
10230
10231 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10232 Define.
10233 (libc_feupdateenv_53bit): Define.
10234 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10235 Define.
10236 (libc_feupdateenv_53bit): Define.
10237
10238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10239 53 bit (without extend i386 double precision).
10240
10241 * math/libm-test.inc (sincos_test): Add tests for large input.
10242 (sin): Likewise.
10243 (cos): Likewise.
10244
10245 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10246
9cad04ea
AS
102472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10248
10249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10250
f7062b9a
DM
102512012-03-15 David S. Miller <davem@davemloft.net>
10252
10253 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10254 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10255 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10256 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10269 file.
f7062b9a 10270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10272 file.
f7062b9a 10273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10275 file.
f7062b9a 10276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10278 file.
f7062b9a
DM
10279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10281 fmin/fmax sysdep routines.
10282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10283
7bd951ff
DM
102842012-03-14 David S. Miller <davem@davemloft.net>
10285
559398ab
DM
10286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10291 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10292 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10294 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10295 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10301 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10312 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10313 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10314 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10315 routines.
10316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10317 file.
559398ab 10318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10320 file.
559398ab 10321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10323 file.
559398ab 10324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10326 file.
559398ab 10327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10329 file.
559398ab 10330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10332 file.
10333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10334 file.
10335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10336 file.
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10338 file.
10339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10340 New file.
10341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10342 file.
10343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10344 file.
559398ab 10345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10347 file.
559398ab 10348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10350 file.
559398ab 10351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10353 file.
559398ab 10354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10356 VIS3 routines.
559398ab
DM
10357
10358 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10359 New file.
10360
5a1c1e32
DM
10361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10362
eae47a36
DM
10363 * sysdeps/sparc/configure.in: New file.
10364 * sysdeps/sparc/configure: Generate.
10365 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10366 * configure: Regenerate.
10367 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10368 * config.make.in (have-as-vis3): New.
10369 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10370 available use -Av9d instead of -Av9a.
10371 * sysdeps/sparc/sparc64/Makefile: Likewise.
10372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10374 New file.
10375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10376 file.
10377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10378 New file.
10379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10380 file.
eae47a36
DM
10381 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10386
c0c83bc8
DM
10387 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10388 fzeros/fnegs to load 0x80000000 into a float register instead of
10389 using the stack.
7bd951ff
DM
10390 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10391
bd951ccb
JM
103922012-03-14 Joseph Myers <joseph@codesourcery.com>
10393
10394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10395 bits/syscall.h.
10396 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10397 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10398 ($(inst_includedir)/bits/syscall.h): Remove rule.
10399 ($(objpfx)bits/syscall.d): Include instead of
10400 $(objpfx)syscall-list.d.
10401 (generated): Change syscall-list.h and syscall-list.d to
10402 bits/syscall.h and bits/syscall.d.
10403
bb4e6db2
RM
104042012-03-14 Roland McGrath <roland@hack.frob.com>
10405
10406 [BZ #13846]
10407 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10408
aa4a2ae1
JM
104092012-03-14 Joseph Myers <joseph@codesourcery.com>
10410
e456826d
JM
10411 [BZ #13841]
10412 * math/s_csqrt.c: Include <float.h>.
10413 (__csqrt): Scale large or subnormal inputs.
10414 * math/s_csqrtf.c: Likewise.
10415 * math/s_csqrtl.c: Likewise.
10416 * math/libm-test.inc (csqrt_test): Add more tests.
10417 * sysdeps/i386/fpu/libm-test-ulps: Update.
10418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10419
aa4a2ae1
JM
10420 [BZ #13840]
10421 * math/libm-test.inc (hypot_test): Add more tests.
10422
7c10fd35
DM
104232012-03-13 David S. Miller <davem@davemloft.net>
10424
10425 [BZ #13840]
10426 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10427 double-precision for the calculation instead of scaling.
10428
f453b98b
JM
104292012-03-13 Joseph Myers <joseph@codesourcery.com>
10430
10431 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10432 manipulate bits before adding and subtracting TWO52[sx].
10433 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10434 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10435 Likewise.
10436 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10437
09a3453f
DM
104382012-03-13 David S. Miller <davem@davemloft.net>
10439
8e59da90
DM
10440 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10441 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10442 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10443 rtld-global-offsets.h
10444 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10445
2a8ab7f2
DM
10446 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10447 large parameters.
10448
10f62770
DM
10449 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10450
5f0bdb18
DM
10451 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10452 'err' in the ifdef scope in which it is actually used.
10453
09a3453f
DM
10454 * nss/nss_db/db-init.c: Include string.h
10455
b4b2eb5e
DM
104562012-03-12 David S. Miller <davem@davemloft.net>
10457
98bb2f1c
DM
10458 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10459 masking out of the most significant byte of random value used.
10460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10461 Fix coding style in previous change.
10462
b4b2eb5e
DM
10463 * sysdeps/unix/sysv/linux/kernel-features.h
10464 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10465 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10466 expression.
10467 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10468 later.
10469
6e226b09
DM
104702012-03-11 David S. Miller <davem@davemloft.net>
10471
a1bcbd40
DM
10472 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10473 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10474 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10475 for 'resultvar' otherwise things get truncated on 64-bit.
10476
cb9d6174
DM
10477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10478 Fix masking out of the most significant byte of random value used.
10479
6e226b09
DM
10480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10481
058c132d
AS
104822012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10483
10484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10485
2d2cd515
DM
104862012-03-09 David S. Miller <davem@davemloft.net>
10487
10488 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10489 variables with appropriate CPP guards.
10490 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10491 frame pointer, not the stack pointer. Correct layout comments. Fix test
10492 on resulting framesize and the management of the outregs buffer for pltexit.
10493 Preserve floating point return values across _dl_call_pltexit call.
10494 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10495 framesize and the management of the outregs buffer for pltexit.
10496 Preserve floating point return values across _dl_call_pltexit
10497 call.
10498 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10499 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10500 (print_exit): Fix format string for return register value.
10501
9a07f9d0
JM
105022012-03-10 Joseph Myers <joseph@codesourcery.com>
10503
10504 * sunrpc/Makefile (others): Add rpcgen.
10505 ($(objpfx)rpcgen): Remove special build rule and dependency on
10506 libc.
10507 * sunrpc/rpcgen.c: New file.
10508
547b5e30
PE
105092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10510
c524201a
PE
10511 [BZ #13673]
10512 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10513 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10514 * sysdeps/i386/crti.S: Likewise.
10515 * sysdeps/i386/crtn.S: Likewise.
10516 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10517 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10518 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10519 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10520 * sysdeps/sh/crti.S: Likewise.
10521 * sysdeps/sh/crtn.S: Likewise.
10522 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10523
7b6235f2
PE
10524 [BZ #13673]
10525 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10526 with URL.
10527 * locale/programs/locfile-kw.gperf: Likewise.
10528 * locale/programs/charmap-kw.h: Regenerated.
10529 * locale/programs/locfile-kw.h: Likewise.
10530
547b5e30
PE
10531 [BZ #13673]
10532 * intl/plural.y: Replace FSF snail mail address with URL.
10533 * intl/plural.c: Regenerated.
10534
5f0a5dae
RH
105352012-03-09 Richard Henderson <rth@twiddle.net>
10536
10537 * include/math_private.h: Remove file.
10538 * math/math_private.h: Move file ...
10539 * sysdeps/generic/math_private.h: ... here.
10540
b8c03620
RH
10541 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10542 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10543 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10544
4e234f5d 10545 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10546 and <math_private.h>.
10547 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10548 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10549 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10550 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10551 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10552 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10553 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10555 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10556 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10557 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10559 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10561 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10562 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10563 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10564 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10565 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10566 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10574 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10582 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10583 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10584 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10585 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10635 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10636 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10637 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10638 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10639 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10640 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10641 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10642 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10644 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10645 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10646 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10647 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10648 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10649 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10650 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10651 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10652 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10653 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10654 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10655 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10656 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10657 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10658 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10659 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10661 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10663 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10666 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10667 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10668 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10669 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10670 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10671 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10672 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10673 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10674 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10676 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10677 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10678 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10679 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10680 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10681 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10682 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10683 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10684 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10685 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10687 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10688 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10689 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10690 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10691 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10692 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10693 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10694 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10695 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10696 * sysdeps/ieee754/k_standard.c: Likewise.
10697 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10698 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10701 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10702 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10703 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10704 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10705 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10706 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10707 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10708 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10709 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10712 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10812 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10816 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10817 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10824 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10829 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10834 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10835 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10846 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10848 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10857 * sysdeps/ieee754/s_lib_version.c: Likewise.
10858 * sysdeps/ieee754/s_matherr.c: Likewise.
10859 * sysdeps/ieee754/s_signgam.c: Likewise.
10860 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10861 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10862 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10863 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10864 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10865 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10866 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10867 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10868 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10869 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10870 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10871 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10872 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10873 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10874 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10876 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10877 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10878 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10880 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10881
1991fa03
JM
108822012-03-09 Joseph Myers <joseph@codesourcery.com>
10883
10884 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10885 * sunrpc/rpc_main.c: Likewise.
10886 * sunrpc/rpc_svcout.c: Likewise.
10887
60d6f5a6
DM
108882012-03-09 David S. Miller <davem@davemloft.net>
10889
10890 * include/math_private.h: New file.
10891
4962050e
JM
108922012-03-09 Joseph Myers <joseph@codesourcery.com>
10893
02a6f887
JM
10894 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10895 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10896 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10897 from <bits/socket_type.h>.
10898 (enum __socket_type): Don't define here.
10899 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10901 bits/socket_type.h.
10902
c6e013c1
JM
10903 [BZ #13566]
10904 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10905 checking __USE_GNU.
10906
4962050e
JM
10907 * Makerules ($(inst_includedir)/%.h): New rule.
10908 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10909 (install-others): Remove variable setting.
10910 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10911
38842f45
RH
109122012-03-08 Richard Henderson <rth@twiddle.net>
10913
67bb6da6
RH
10914 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10915 from macro to inline function; merge with the
10916 !__LIBC_INTERNAL_MATH_INLINES version.
10917 (__ieee754_sqrtf): Likewise.
10918
15194b4b
RH
10919 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10920 to inline function.
10921 (__rintf, __floor, __floorf): Likewise.
10922
64e21ede
RH
10923 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10924 macro to inline function.
10925 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10926
38842f45
RH
10927 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10928 not <math/math_private.h>.
10929
c64bf5fe
DM
109302012-03-08 David S. Miller <davem@davemloft.net>
10931
10932 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10933 copyright year.
10934 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10935
82d86f28
TS
109362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10937
10938 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10939 normalization.
10940 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10941 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10942
aea5d727
UD
109432012-03-08 Ulrich Drepper <drepper@gmail.com>
10944
10945 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10946 be defined individually, they must be defined as a block. Define
10947 S for printing a string instead of hidint the different by using a
10948 macro for adding the 'l'.
10949 * stdio-common/tst-fphex-wide.c: Adjust.
10950
70bca0a3
MP
109512012-03-07 Marek Polacek <polacek@redhat.com>
10952
10953 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10954
65b81130
MP
109552012-03-08 Marek Polacek <polacek@redhat.com>
10956
10957 [BZ #13806]
10958 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10959 * stdio-common/tst-fphex.c: Define a few macros to make the
10960 test reusable. Use them.
10961 * stdio-common/tst-fphex-wide.c: New file.
10962
07037eeb
JM
109632012-03-08 Joseph Myers <joseph@codesourcery.com>
10964
a7a93d50
JM
10965 [BZ #6911]
10966 * manual/macros.texi (gnusystems): New macro.
10967 (nongnusystems): Likewise.
10968 (gnulinuxhurdsystems): Likewise.
10969 (gnuhurdsystems): Likewise..
10970 (gnulinuxsystems): Likewise.
10971 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10972 variants of the GNU system, not "GNU system".
10973 * manual/conf.texi: Likewise.
10974 * manual/errno.texi: Likewise. Update example of errno macro
10975 expansion.
10976 * manual/filesys.texi: Likewise.
10977 (getumask): Document as specific to GNU/Hurd.
10978 * manual/install.texi: Likewise. Reword some references to
10979 GNU/Linux.
10980 * manual/intro.texi: Likewise.
10981 * manual/io.texi: Likewise.
10982 (File Name Portability): Detail which constraints are inapplicable
10983 to all GNU systems and which are only inapplicable to GNU/Hurd.
10984 * manual/job.texi: Likewise.
10985 * manual/llio.texi: Likewise.
10986 (O_NOCTTY): Document as present on GNU/Linux.
10987 * manual/maint.texi: Likewise.
10988 * manual/memory.texi: Likewise.
10989 * manual/pattern.texi: Likewise.
10990 * manual/pipe.texi: Likewise.
10991 * manual/process.texi: Likewise.
10992 * manual/resource.texi: Likewise.
10993 (RUSAGE_CHILDREN): Remove statement about specifying a particular
10994 child on GNU/Hurd.
10995 * manual/setjmp.texi: Likewise.
10996 * manual/signal.texi: Likewise.
10997 * manual/startup.texi: Likewise.
10998 * manual/stdio.texi: Likewise.
10999 * manual/terminal.texi: Likewise.
11000 (ONLCR): Document as POSIX.
11001 (OXTABS): Document availability on GNU/Linux as XTABS.
11002 (ONOEOT): Document availability separately from other bits.
11003 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11004 * manual/time.texi: Likewise.
11005 * manual/users.texi: Likewise.
11006 * INSTALL: Regenerated.
11007 * sysdeps/gnu/errlist.c: Regenerated.
11008
07037eeb
JM
11009 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11010 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11011 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11012 puts.
11013 * configure: Regenerated.
11014
d1d3431a
JM
110152012-03-07 Joseph Myers <joseph@codesourcery.com>
11016
af6a1e37
JM
11017 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11018 default includes instead of AC_HEADER_CHECK.
11019 * sysdeps/i386/configure: Regenerated.
11020
d1d3431a
JM
11021 [BZ #10716]
11022 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11023 * math/s_cacoshf.c (__cacoshf): Likewise.
11024 * math/s_cacoshl.c (__cacoshl): Likewise.
11025 * math/s_casinh.c (__casinh): Set signs of result from argument.
11026 * math/s_casinhf.c (__casinhf): Likewise.
11027 * math/s_casinhl.c (__casinhl): Likewise.
11028 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11029 (casinh_test): Add more tests.
11030 * sysdeps/i386/fpu/libm-test-ulps: Update.
11031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11032
482ff4da
UD
110332012-03-07 Ulrich Drepper <drepper@gmail.com>
11034
872fda05
UD
11035 * po/zh_TW.po: Update from translation team.
11036
a4300c7a
UD
11037 * login/Makefile (distribute): Remove variable.
11038 * catgets/Makefile: Likewise.
11039 * mach/Makefile: Likewise.
11040 * malloc/Makefile: Likewise.
11041 * misc/Makefile: Likewise.
11042 * iconv/Makefile: Likewise.
11043 * nscd/Makefile: Likewise.
11044 * hurd/Makefile: Likewise.
11045 * manual/Makefile: Likewise.
11046 * locale/Makefile: Likewise.
11047 * intl/Makefile: Likewise.
11048 * conform/Makefile: Likewise.
11049 * nss/Makefile: Likewise.
11050 * time/Makefile: Likewise.
11051 * soft-fp/Makefile: Likewise.
11052 * dirent/Makefile: Likewise.
11053 * gmon/Makefile: Likewise.
11054 * po/Makefile: Likewise.
11055 * rt/Makefile: Likewise.
11056 * socket/Makefile: Likewise.
11057 * math/Makefile: Likewise.
11058 * signal/Makefile: Likewise.
11059 * debug/Makefile: Likewise.
11060 * elf/Makefile: Likewise.
11061 * timezone/Makefile: Likewise.
11062 * stdlib/Makefile: Likewise.
11063 * iconvdata/Makefile: Likewise.
11064 * sunrpc/Makefile: Likewise.
11065 * io/Makefile: Likewise.
11066 * argp/Makefile: Likewise.
11067 * inet/Makefile: Likewise.
11068 * hesiod/Makefile: Likewise.
11069 * grp/Makefile: Likewise.
11070 * csu/Makefile: Likewise.
11071 * wctype/Makefile: Likewise.
11072 * crypt/Makefile: Likewise.
11073 * libio/Makefile: Likewise.
11074 * string/Makefile: Likewise.
11075 * nis/Makefile: Likewise.
11076 * resolv/Makefile: Likewise.
11077 * stdio-common/Makefile: Likewise.
11078 * wcsmbs/Makefile: Likewise.
11079 * dlfcn/Makefile: Likewise.
11080 * posix/Makefile: Likewise.
11081
3b7c4e74 11082 [BZ #6959]
482ff4da
UD
11083 * timezone/Makefile: Don't install timezone files, just the programs
11084 and scripts.
11085
f72ed77d
UD
110862012-03-06 Ulrich Drepper <drepper@gmail.com>
11087
a000466f
UD
11088 * nss/databases.def: Add missing gshadow entry.
11089
f72ed77d
UD
11090 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11091
a53b7a4e
MP
110922012-03-06 Marek Polacek <polacek@redhat.com>
11093
11094 [BZ #13726]
11095 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11096 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11097 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11098 * stdio-common/tst-long-dbl-fphex.c: New file.
11099
e9258400
DM
111002012-03-06 David S. Miller <davem@davemloft.net>
11101
11102 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11103 (set_obp_int): New function.
11104 (get_obp_int): New function.
11105 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11106 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11107 Avoid unused variable warnings on 'val' and use builtin_expect.
11108 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11109 __builtin_expect.
e9258400
DM
11110 (INLINE_CLONE_SYSCALL): Likewise.
11111
3bd2c723
DM
111122012-03-05 David S. Miller <davem@davemloft.net>
11113
11114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11115
bbb78d03
AS
111162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11117
884c5db4
AS
11118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11119
bbb78d03
AS
11120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11121 only for |x| >= 40.
11122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11123
1c9f702a 111242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11125
11126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11127 Replace gettimeofday with __vdso_gettimeofday.
11128
7be16f82
RM
11129 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11130 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11131 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11132
11133 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11134 time with __vdso_time.
11135
ed58a00f
JM
111362012-03-05 Joseph Myers <joseph@codesourcery.com>
11137
11138 * manual/lang.texi (size_t): Note types to which size_t may be
11139 equivalent with the GNU C Library, but do not describe when
11140 differences between them are significant.
11141
30ee4ced
AJ
111422012-03-05 Andreas Jaeger <aj@suse.de>
11143
11144 * sysdeps/i386/fpu/libm-test-ulps: Update.
11145
b7cd39e8
JM
111462012-03-05 Joseph Myers <joseph@codesourcery.com>
11147
11148 [BZ #3976]
11149 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11150 (__ieee754_pow): Save and restore rounding mode and use
11151 round-to-nearest for main computations.
11152 * math/libm-test.inc (pow_test_tonearest): New function.
11153 (pow_test_towardzero): Likewise.
11154 (pow_test_downward): Likewise.
11155 (pow_test_upward): Likewise.
11156 (main): Call the new functions.
11157 * sysdeps/i386/fpu/libm-test-ulps: Update.
11158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11159
11160 [BZ #3976]
11161 * math/libm-test.inc (cosh_test_tonearest): New function.
11162 (cosh_test_towardzero): Likewise.
11163 (cosh_test_downward): Likewise.
11164 (cosh_test_upward): Likewise.
11165 (sinh_test_tonearest): Likewise.
11166 (sinh_test_towardzero): Likewise.
11167 (sinh_test_downward): Likewise.
11168 (sinh_test_upward): Likewise.
11169 (main): Call the new functions.
11170 * sysdeps/i386/fpu/libm-test-ulps: Update.
11171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11172
6c6a98c9
TV
111732012-03-05 Tom de Vries <tom@codesourcery.com>
11174
11175 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11176 default stack guard is set in last bytes.
11177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11178
21bb2d2e 111792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11180
21bb2d2e 11181 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11182
21bb2d2e
AJ
11183 [BZ #13656]
11184 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11185 possibly allocate from heap instead of stack.
11186 * stdio-common/bug-vfprintf-nargs.c: New file.
11187 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11188
c6922934
AS
111892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11190
11191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11192
bc957d53
MP
111932012-03-03 Marek Polacek <polacek@redhat.com>
11194
11195 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11196 * math/math_private.h: Likewise.
11197 * stdlib/tst-strtod.c: Likewise.
11198 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11199 * sysdeps/x86_64/bits/atomic.h: Likewise.
11200
6358490d
DM
112012012-03-02 David S. Miller <davem@davemloft.net>
11202
11203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11207 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11208 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11209 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11210 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11211
01ae168d
RM
112122012-03-02 Roland McGrath <roland@hack.frob.com>
11213
d9a17c07
RM
11214 [BZ #13792]
11215 * manual/examples/README: New file, says the example source files
11216 can be used under GPL>=2.
11217 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11218 line containing just "*/".
11219 * manual/examples/add.c: Add copyright header (GPL>=2).
11220 * manual/examples/argp-ex1.c: Likewise.
11221 * manual/examples/argp-ex2.c: Likewise.
11222 * manual/examples/argp-ex3.c: Likewise.
11223 * manual/examples/argp-ex4.c: Likewise.
11224 * manual/examples/atexit.c: Likewise.
11225 * manual/examples/db.c: Likewise.
11226 * manual/examples/dir.c: Likewise.
11227 * manual/examples/dir2.c: Likewise.
11228 * manual/examples/execinfo.c: Likewise.
11229 * manual/examples/filecli.c: Likewise.
11230 * manual/examples/filesrv.c: Likewise.
11231 * manual/examples/fmtmsgexpl.c: Likewise.
11232 * manual/examples/genpass.c: Likewise.
11233 * manual/examples/inetcli.c: Likewise.
11234 * manual/examples/inetsrv.c: Likewise.
11235 * manual/examples/isockad.c: Likewise.
11236 * manual/examples/longopt.c: Likewise.
11237 * manual/examples/memopen.c: Likewise.
11238 * manual/examples/memstrm.c: Likewise.
11239 * manual/examples/mkfsock.c: Likewise.
11240 * manual/examples/mkisock.c: Likewise.
11241 * manual/examples/mygetpass.c: Likewise.
11242 * manual/examples/pipe.c: Likewise.
11243 * manual/examples/popen.c: Likewise.
11244 * manual/examples/rprintf.c: Likewise.
11245 * manual/examples/search.c: Likewise.
11246 * manual/examples/select.c: Likewise.
11247 * manual/examples/setjmp.c: Likewise.
11248 * manual/examples/sigh1.c: Likewise.
11249 * manual/examples/sigusr.c: Likewise.
11250 * manual/examples/stpcpy.c: Likewise.
11251 * manual/examples/strdupa.c: Likewise.
11252 * manual/examples/strftim.c: Likewise.
11253 * manual/examples/strncat.c: Likewise.
11254 * manual/examples/subopt.c: Likewise.
11255 * manual/examples/swapcontext.c: Likewise.
11256 * manual/examples/termios.c: Likewise.
11257 * manual/examples/testopt.c: Likewise.
11258 * manual/examples/testpass.c: Likewise.
11259 * manual/examples/timeval_subtract.c: Likewise.
11260
01ae168d
RM
11261 [BZ #13792]
11262 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11263 function to ...
11264 * manual/timeval_subtract.c.texi: ... here, new file.
11265
49efa33d
DM
112662012-03-02 David S. Miller <davem@davemloft.net>
11267
11268 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11269
28afd92d
JM
112702012-03-02 Joseph Myers <joseph@codesourcery.com>
11271
804360ed
JM
11272 [BZ #3976]
11273 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11274 (__sin): Save and restore rounding mode and use round-to-nearest
11275 for all computations.
11276 (__cos): Save and restore rounding mode and use round-to-nearest
11277 for all computations.
11278 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11279 <fenv.h>.
11280 (tan): Save and restore rounding mode and use round-to-nearest for
11281 all computations.
11282 * math/libm-test.inc (cos_test_tonearest): New function.
11283 (cos_test_towardzero): Likewise.
11284 (cos_test_downward): Likewise.
11285 (cos_test_upward): Likewise.
11286 (sin_test_tonearest): Likewise.
11287 (sin_test_towardzero): Likewise.
11288 (sin_test_downward): Likewise.
11289 (sin_test_upward): Likewise.
11290 (tan_test_tonearest): Likewise.
11291 (tan_test_towardzero): Likewise.
11292 (tan_test_downward): Likewise.
11293 (tan_test_upward): Likewise.
11294 (main): Call the new functions.
11295 * sysdeps/i386/fpu/libm-test-ulps: Update.
11296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11297
a6d06d7b
JM
11298 [BZ #10135]
11299 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11300 small n, then large n, before computing and testing k+n.
11301 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11303 Likewise.
11304 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11305 Likewise.
11306 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11307 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11308 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11309 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11310 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11311 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11313 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11314 * math/libm-test.inc (scalbn_test): Add more tests.
11315 (scalbln_test): Likewise.
11316
07e12bb3
JM
11317 * manual/filesys.texi (mode_t): Describe constraints on size and
11318 signedness, not exact equivalence to a particular type.
11319 (ino_t): Likewise.
11320 (ino64_t): Likewise.
11321 (dev_t): Likewise.
11322 (nlink_t): Likewise.
11323 (blkcnt_t): Likewise.
11324 (blkcnt64_t): Likewise.
11325 * manual/llio.texi (off_t): Likewise.
11326
28afd92d
JM
11327 [BZ #3976]
11328 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11329 (__ieee754_exp): Save and restore rounding mode and use
11330 round-to-nearest for all computations.
11331 * math/libm-test.inc (exp_test_tonearest): New function.
11332 (exp_test_towardzero): Likewise.
11333 (exp_test_downward): Likewise.
11334 (exp_test_upward): Likewise.
11335 (main): Call the new functions.
11336 * sysdeps/i386/fpu/libm-test-ulps: Update.
11337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11338
b1eeb65d
CD
113392012-03-01 Chris Demetriou <cgd@google.com>
11340
11341 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11342 have predictable order.
11343
53362a4b
DM
113442012-03-01 David S. Miller <davem@davemloft.net>
11345
3c969083
DM
11346 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11347
759707de
DM
11348 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11349 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11350 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11351 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11352
dfdb8ff2
DM
11353 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11354 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11355 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11357 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11358 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11359 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11360 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11361 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11362
ead89f96
DM
11363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11364
7f66bd07
DM
11365 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11366 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11367 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11368
53362a4b
DM
11369 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11370 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11371 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11372 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11373 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11376 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11377 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11378 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11379 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11380 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11382 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11383 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11385 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11386 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11387 * sysdeps/sparc/elf/configure: Regenerated.
11388
7b1902cb
JM
113892012-03-01 Joseph Myers <joseph@codesourcery.com>
11390
bec039bc
JM
11391 * configure.in (AS, LD): Require binutils 2.20 or later.
11392 * configure: Regenerated.
11393 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11394 as required minimum version.
11395 * INSTALL: Regenerated.
11396
7b1902cb
JM
11397 [BZ #2541]
11398 [BZ #4108]
11399 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11400 before squaring exponent.
11401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11402 bottom long double and 27 bits of top long double before squaring
11403 exponent.
11404 * math/libm-test.inc (erfc_test): Add more tests.
11405 * sysdeps/i386/fpu/libm-test-ulps: Update.
11406 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11408
f775c276
KT
114092012-03-01 Kai Tietz <ktietz@redhat.com>
11410
11411 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11412 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11413 containing bit-fields.
11414 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11415 * soft-fp/single.h (_FP_UNION_S): Likewise.
11416 * soft-fp/double.h (_FP_UNION_D): Likewise.
11417
5b8a4d4a
JM
114182012-02-29 Joseph Myers <joseph@codesourcery.com>
11419
0bab47b6
JM
11420 [BZ #13786]
11421 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11422 not include ../strcmp.S.
11423 [USE_AS_STRNCASECMP_L]: Likewise.
11424 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11425 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11426 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11427 (__strncasecmp_l_ia32): Define as alias to
11428 __strncasecmp_l_nonascii.
11429
0fcad3e2
JM
11430 [BZ #5794]
11431 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11432 * sysdeps/i386/fpu/libm-test-ulps: Update.
11433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434
5b8a4d4a
JM
11435 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11437
8fdceb2e
JL
114382012-02-29 Jeff Law <law@redhat.com>
11439
11440 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11441 out of bounds read.
11442
1f393a11
MP
114432012-02-29 Marek Polacek <polacek@redhat.com>
11444
11445 [BZ #13706]
11446 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11447 * elf/Makefile: Add rules to run tst-unused-dep.out.
11448
8847f037
DM
114492012-02-28 David S. Miller <davem@davemloft.net>
11450
11451 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11452 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11455 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11456 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11457
169d7f11
JM
114582012-02-29 Joseph Myers <joseph@codesourcery.com>
11459
11460 * math/libm-test.inc (llround_test): Move one test from
11461 lround_test. Use TEST_f_L in moved test.
11462 (lround_test): Move misplaced test to llround_test. Add testcase
11463 from bug 2561.
11464
39adf059
UD
114652012-02-28 Ulrich Drepper <drepper@gmail.com>
11466
11467 * sysdeps/x86_64/fpu/e_expf.S: New file.
11468 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11469
71b5d1c5
SB
114702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11471
11472 [BZ #13637]
11473 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11474 of remain_len that may cause incomplete multi-byte character and
11475 false match.
11476 * posix/bug-regex33.c: New file.
11477 * posix/Makefile (tests): Add bug-regex33.
11478
1f77f049
JM
114792012-02-28 Joseph Myers <joseph@codesourcery.com>
11480
11481 * manual/macros.texi: New file.
11482 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11483 * manual/libc.texinfo: Include macros.texi.
11484 * manual/creatute.texi: Likewise.
11485 * manual/install.texi: Likewise.
11486 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11487 @glibcadj{} in references to the GNU C Library.
11488 * manual/charset.texi: Likewise.
11489 * manual/conf.texi: Likewise.
11490 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11491 when not using those macros.
11492 * manual/creature.texi: Likewise.
11493 * manual/crypt.texi: Likewise.
11494 * manual/errno.texi: Likewise.
11495 * manual/filesys.texi: Likewise.
11496 * manual/header.texi: Likewise.
11497 * manual/install.texi: Likewise.
11498 * manual/intro.texi: Likewise.
11499 * manual/io.texi: Likewise.
11500 * manual/job.texi: Likewise.
11501 * manual/lang.texi: Likewise.
11502 * manual/libc.texiinfo: Likewise.
11503 * manual/llio.texi: Likewise.
11504 * manual/locale.texi: Likewise.
11505 * manual/maint.texi: Likewise.
11506 * manual/math.texi: Likewise.
11507 * manual/memory.texi: Likewise.
11508 * manual/message.texi: Likewise.
11509 * manual/nss.texi: Likewise.
11510 * manual/pattern.texi: Likewise.
11511 * manual/process.texi: Likewise.
11512 * manual/resource.texi: Likewise.
11513 * manual/search.texi: Likewise.
11514 * manual/setjmp.texi: Likewise.
11515 * manual/signal.texi: Likewise.
11516 * manual/socket.texi: Likewise.
11517 * manual/startup.texi: Likewise.
11518 * manual/stdio.texi: Likewise.
11519 * manual/string.texi: Likewise.
11520 * manual/sysinfo.texi: Likewise.
11521 * manual/syslog.texi: Likewise.
11522 * manual/terminal.texi: Likewise.
11523 * manual/time.texi: Likewise.
11524 * manual/users.texi: Likewise.
11525 * INSTALL: Regenerated.
11526 * NOTES: Regenerated.
d40c5d54 11527 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11528
450bf206
AS
115292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11530
11531 * include/dirent.h: Include <dirstream.h> before
11532 <dirent/dirent.h>.
11533
741a235b
DM
115342012-02-28 David S. Miller <davem@davemloft.net>
11535
11536 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11537 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11538 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11539 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11540
d6b5aa58
DM
115412012-02-27 David S. Miller <davem@davemloft.net>
11542
1aff59a3
DM
11543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11545 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11546 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11547
d6b5aa58
DM
11548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11549 frame pointer instead of stack pointer relative arg slot.
11550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11553
433f48bf
CD
115542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11555
11556 [BZ #3992]
11557 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11558
d674b76d
DM
115592012-02-27 David S. Miller <davem@davemloft.net>
11560
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11565 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11566 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11567 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11568 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11569
0e7727f7
JM
115702012-02-27 Joseph Myers <joseph@codesourcery.com>
11571
11572 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11573 later. Allow versions 5-9.
43be4ca2 11574 * configure: Regenerated.
0e7727f7
JM
11575 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11576 required minimum version and 4.6 as recommended version. Do not
11577 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11578 * INSTALL: Regenerated.
0e7727f7 11579
a78bc654
DM
115802012-02-27 David S. Miller <davem@davemloft.net>
11581
428d5830
DM
11582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11588 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11589 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11590
a78bc654
DM
11591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11592 manipulate bits before adding and subtracting TWO112[sx].
11593 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11594
4579f81c
RM
115952012-02-27 Roland McGrath <roland@hack.frob.com>
11596
36c8acb4
RM
11597 [BZ #13775]
11598 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11599 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11600 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11601 being in POSIX, because they are in 1003.1-2008.
11602
84ad622b
RM
11603 * rt/tst-aio.c: Include <fcntl.h>.
11604 * rt/tst-aio7.c: Likewise.
11605 * rt/tst-aio64.c: Likewise.
11606
4579f81c
RM
11607 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11608
abd923db
JM
116092012-02-27 Joseph Myers <joseph@codesourcery.com>
11610
11611 * manual/install.texi (--with-headers): Describe headers as
11612 interface headers, not private headers.
11613 (Specific advice for GNU/Linux systems): Describe use of headers
11614 from "make headers_install", not private headers from older
11615 kernels.
43be4ca2 11616 * INSTALL: Regenerated.
abd923db
JM
11617 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11618 Change to 2.6.19.
11619 * sysdeps/unix/sysv/linux/configure: Regenerated.
11620
6664049b
JM
11621 * manual/llio.texi (fclean): Remove documentation.
11622
bb8b6697
JM
11623 * manual/Makefile (libc-texi-generated): New variable. Include
11624 version.texi.
11625 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11626 $(libc-texi-generated), not duplicated list of files.
11627 (version.texi, stamp-version): New rules.
11628 (realclean): Remove $(libc-texi-generated), not individual files
11629 from that list. Do not remove dir-add.texinfo.
11630 * manual/libc.texinfo: Comment out uses of edition numbers and
11631 references to printed manual. Remove last-updated dates.
11632 (EDITION): Comment out.
11633 (ISBN): Likewise.
11634 (VERSION, UPDATED): Remove.
11635 (version.texi): Include.
11636
12e5c3b9
AS
116372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11638
11639 * sysdeps/posix/spawni.c: Include <signal.h>.
11640 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11641 * sysdeps/pthread/aio_fsync.c: Likewise.
11642
4efeffc1 116432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11644
ba63ba08
UD
11645 * conform/Makefile (tests): Run only when not cross-compiling and
11646 when fast-check is not defined.
11647
d94a4670
UD
11648 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11649 * conform/data/limits.h-data: Fixes for POSIX2008.
11650 * conform/run-conformtest.sh: Run all tests.
11651 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11652 headers.
11653 * include/bits/dlfcn.h: Likewise.
11654 * include/langinfo.h: Likewise.
11655 * include/monetary.h: Likewise.
11656 * include/sys/poll.h: Likewise.
11657
11658 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11659 for __USE_GNU.
11660 * posix/spawn.h: Define __need_sigset_t.
11661 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11662 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11663 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11664 to get sigevent_t only.
11665 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11666 only for __USE_GNU.
11667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11668 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11669 process_vm_writev only for __USE_GNU.
11670 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11671
11672 * conform/Makefile: For now ignore errors from run-conformtest.
11673 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11674 POSIX to avoid namespace pollution. Don't prepend headers.
11675 * conform/data/aio.h-data: Fixes for POSIX testing.
11676 * conform/data/fcntl.h-data: Likewise.
11677 * conform/data/glob.h-data: Likewise.
11678 * conform/data/grp.h-data: Likewise.
11679 * conform/data/pthread.h-data: Likewise.
11680 * conform/data/pwd.h-data: Likewise.
11681 * conform/data/signal.h-data: Likewise.
11682 * conform/data/spawn.h-data: Likewise.
11683 * conform/data/stdio.h-data: Likewise.
11684 * conform/data/stdlib.h-data: Likewise.
11685 * conform/data/stropts.h-data: Likewise.
11686 * conform/data/sys/mman.h-data: Likewise.
11687 * conform/data/sys/stat.h-data: Likewise.
11688 * conform/data/sys/types.h-data: Likewise.
11689 * conform/data/sys/wait.h-data: Likewise.
11690 * conform/data/time.h-data: Likewise.
11691 * conform/data/unistd.h-data: Likewise.
11692 * conform/data/utime.h-data: Likewise.
11693
11694 * io/sys/stat.h: fchmod was always in POSIX.
11695 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11696 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11697 * rt/aio.h: Define __need_timespec before including <time.h>.
11698 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11699 struct. Add forward declaration of pthread_attr_t and use it in
11700 sigevent.
11701 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11703 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11704 always remove CLK_TCK definition.
11705
c20105c3
AS
117062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11707
11708 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11709
7a270350
UD
117102012-02-25 Ulrich Drepper <drepper@gmail.com>
11711
31341567
UD
11712 * conform/run-conformtest.sh: New file.
11713 * conform/Makefile: Run run-conformtest for tests.
11714 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11715 support.
11716
11717 * conform/data/uchar.h-data: New file.
11718 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11719 * conform/data/arpa/inet.h-data: Likewise.
11720 * conform/data/assert.h-data: Likewise.
11721 * conform/data/complex.h-data: Likewise.
11722 * conform/data/cpio.h-data: Likewise.
11723 * conform/data/ctype.h-data: Likewise.
11724 * conform/data/dirent.h-data: Likewise.
11725 * conform/data/dlfcn.h-data: Likewise.
11726 * conform/data/errno.h-data: Likewise.
11727 * conform/data/fcntl.h-data: Likewise.
11728 * conform/data/float.h-data: Likewise.
11729 * conform/data/fmtmsg.h-data: Likewise.
11730 * conform/data/fnmatch.h-data: Likewise.
11731 * conform/data/ftw.h-data: Likewise.
11732 * conform/data/glob.h-data: Likewise.
11733 * conform/data/grp.h-data: Likewise.
11734 * conform/data/iconv.h-data: Likewise.
11735 * conform/data/inttypes.h-data: Likewise.
11736 * conform/data/langinfo.h-data: Likewise.
11737 * conform/data/libgen.h-data: Likewise.
11738 * conform/data/limits.h-data: Likewise.
11739 * conform/data/locale.h-data: Likewise.
11740 * conform/data/math.h-data: Likewise.
11741 * conform/data/monetary.h-data: Likewise.
11742 * conform/data/mqueue.h-data: Likewise.
11743 * conform/data/ndbm.h-data: Likewise.
11744 * conform/data/net/if.h-data: Likewise.
11745 * conform/data/netdb.h-data: Likewise.
11746 * conform/data/netinet/in.h-data: Likewise.
11747 * conform/data/nl_types.h-data: Likewise.
11748 * conform/data/poll.h-data: Likewise.
11749 * conform/data/pthread.h-data: Likewise.
11750 * conform/data/pwd.h-data: Likewise.
11751 * conform/data/regex.h-data: Likewise.
11752 * conform/data/sched.h-data: Likewise.
11753 * conform/data/search.h-data: Likewise.
11754 * conform/data/semaphore.h-data: Likewise.
11755 * conform/data/setjmp.h-data: Likewise.
11756 * conform/data/signal.h-data: Likewise.
11757 * conform/data/spawn.h-data: Likewise.
11758 * conform/data/stdarg.h-data: Likewise.
11759 * conform/data/stdio.h-data: Likewise.
11760 * conform/data/stdlib.h-data: Likewise.
11761 * conform/data/string.h-data: Likewise.
11762 * conform/data/strings.h-data: Likewise.
11763 * conform/data/stropts.h-data: Likewise.
11764 * conform/data/sys/ipc.h-data: Likewise.
11765 * conform/data/sys/mman.h-data: Likewise.
11766 * conform/data/sys/msg.h-data: Likewise.
11767 * conform/data/sys/resource.h-data: Likewise.
11768 * conform/data/sys/select.h-data: Likewise.
11769 * conform/data/sys/sem.h-data: Likewise.
11770 * conform/data/sys/shm.h-data: Likewise.
11771 * conform/data/sys/socket.h-data: Likewise.
11772 * conform/data/sys/stat.h-data: Likewise.
11773 * conform/data/sys/statvfs.h-data: Likewise.
11774 * conform/data/sys/time.h-data: Likewise.
11775 * conform/data/sys/timeb.h-data: Likewise.
11776 * conform/data/sys/times.h-data: Likewise.
11777 * conform/data/sys/types.h-data: Likewise.
11778 * conform/data/sys/uio.h-data: Likewise.
11779 * conform/data/sys/un.h-data: Likewise.
11780 * conform/data/sys/utsname.h-data: Likewise.
11781 * conform/data/sys/wait.h-data: Likewise.
11782 * conform/data/syslog.h-data: Likewise.
11783 * conform/data/tar.h-data: Likewise.
11784 * conform/data/termios.h-data: Likewise.
11785 * conform/data/utime.h-data: Likewise.
11786 * conform/data/utmpx.h-data: Likewise.
11787 * conform/data/varargs.h-data: Likewise.
11788 * conform/data/wchar.h-data: Likewise.
11789 * conform/data/wctype.h-data: Likewise.
11790 * conform/data/wordexp.h-data: Likewise.
11791
11792 * include/stropts.h: New file.
11793 * include/uchar.h: New file.
11794 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11795 * include/assert.h: Likewise.
11796 * include/ctype.h: Likewise.
11797 * include/dirent.h: Likewise.
11798 * include/dlfcn.h: Likewise.
11799 * include/fcntl.h: Likewise.
11800 * include/fnmatch.h: Likewise.
11801 * include/glob.h: Likewise.
11802 * include/grp.h: Likewise.
11803 * include/libio.h: Likewise.
11804 * include/locale.h: Likewise.
11805 * include/math.h: Likewise.
11806 * include/net/if.h: Likewise.
11807 * include/netdb.h: Likewise.
11808 * include/netinet/in.h: Likewise.
11809 * include/pthread.h: Likewise.
11810 * include/pwd.h: Likewise.
11811 * include/regex.h: Likewise.
11812 * include/sched.h: Likewise.
11813 * include/search.h: Likewise.
11814 * include/setjmp.h: Likewise.
11815 * include/signal.h: Likewise.
11816 * include/stdio.h: Likewise.
11817 * include/stdlib.h: Likewise.
11818 * include/string.h: Likewise.
11819 * include/sys/cdefs.h: Likewise.
11820 * include/sys/mman.h: Likewise.
11821 * include/sys/msg.h: Likewise.
11822 * include/sys/resource.h: Likewise.
11823 * include/sys/select.h: Likewise.
11824 * include/sys/socket.h: Likewise.
11825 * include/sys/stat.h: Likewise.
11826 * include/sys/statvfs.h: Likewise.
11827 * include/sys/time.h: Likewise.
11828 * include/sys/times.h: Likewise.
11829 * include/sys/uio.h: Likewise.
11830 * include/sys/utsname.h: Likewise.
11831 * include/sys/wait.h: Likewise.
11832 * include/termios.h: Likewise.
11833 * include/time.h: Likewise.
11834 * include/ulimit.h: Likewise.
11835 * include/unistd.h: Likewise.
11836 * include/utime.h: Likewise.
11837 * include/wchar.h: Likewise.
11838 * include/wctype.h: Likewise.
11839 * include/wordexp.h: Likewise.
11840
11841 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11842
7a270350
UD
11843 * time/time.h: TIME_UTC must be a macro.
11844 Make timespec_get available for ISO C11 only as well.
11845
7724defc
UD
118462012-02-24 Ulrich Drepper <drepper@gmail.com>
11847
11848 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11849 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11850
6b1d1d46
JM
118512012-02-24 Joseph Myers <joseph@codesourcery.com>
11852
11853 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11854
0f8bbd69
JM
118552012-02-24 Joseph Myers <joseph@codesourcery.com>
11856
11857 * manual/texinfo.tex: Update to version 2012-01-19.16.
11858
66ab80bc
JM
118592012-02-24 Joseph Myers <joseph@codesourcery.com>
11860
11861 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11862
74981cc5
RM
118632012-02-24 Roland McGrath <roland@hack.frob.com>
11864
ee968201
RM
11865 [BZ #13738]
11866 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11867 * manual/fdl-1.3.texi: New file.
11868 * manual/fdl-1.1.texi: File removed.
11869
74981cc5
RM
11870 [BZ #13738]
11871 * manual/libc.texinfo (FDL_VERSION): New @set.
11872 Use it for mention of FDL in cover text.
11873 (Documentation License): Use it in @include file name.
11874
7bb764bc
JM
118752012-02-22 Joseph Myers <joseph@codesourcery.com>
11876 Roland McGrath <roland@hack.frob.com>
11877
11878 [BZ #5461]
11879 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11880 not LONG_LONG_MAX and LONG_LONG_MIN.
11881 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11882 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11883 name.
11884 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11885
6cbeae47
JM
118862012-02-22 Joseph Myers <joseph@codesourcery.com>
11887
11888 [BZ #2547]
11889 [BZ #11365]
11890 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11891 manipulate bits before adding and subtracting TWO23[sx].
11892 * math/libm-test.inc (nearbyint_test): Add more tests.
11893
fe45ce09
JM
118942012-02-22 Joseph Myers <joseph@codesourcery.com>
11895
11896 [BZ #2548]
11897 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11898 bits before adding and subtracting TWO23[sx].
11899 * math/libm-test.inc (rint_test): Add more tests.
11900 (rint_test_tonearest): Likewise.
11901 (rint_test_towardzero): Likewise.
11902 (rint_test_downward): Likewise.
11903 (rint_test_upward: Likewise.
11904
ff3b3d82
JM
119052012-02-22 Joseph Myers <joseph@codesourcery.com>
11906
11907 [BZ #10110]
11908 * include/stdc-predef.h: New file. Extracted from features.h.
11909 * include/features.h: Include stdc-predef.h.
11910 * Makefile (headers): Add stdc-predef.h.
11911 * CONFORMANCE (Compiler limitations): Update.
11912
ef0aab35
JM
119132012-02-22 Joseph Myers <joseph@codesourcery.com>
11914
11915 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11916
58639409
DM
119172012-02-21 David S. Miller <davem@davemloft.net>
11918
11919 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11920 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11921
c0e70b25
DM
119222012-02-20 David S. Miller <davem@davemloft.net>
11923
11924 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11925 using a normal save/restore sequence, rather than allocating a
11926 dummy stack frame just to store a frame pointer and restore.
11927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11928
fb06851d
JM
119292012-02-21 Joseph Myers <joseph@codesourcery.com>
11930
11931 * manual/install.texi: Fix stray word in line-wrapped comment.
11932
7a8b71c3
DM
119332012-02-20 David S. Miller <davem@davemloft.net>
11934
d510c123
DM
11935 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11936 both binutils and gcc support GOTDATA.
11937
0722d7c2
DM
11938 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11939 "rd %pc" in the PIC register setup sequences.
11940
3d2b3019
DM
11941 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11942 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11943 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11944 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11946 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11947 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11950 (SYSCALL_ERROR_HANDLER): Likewise.
11951 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11952 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11953 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11954 (SYSCALL_ERROR_HANDLER): Likewise.
11955
c80098a9
DM
11956 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11957 (HAVE_GCC_GOTDATA): New.
11958 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11959 relocation support in both binutils and gcc.
11960 * sysdeps/sparc/elf/configure: Regenerate.
11961
3a2545a0
DM
11962 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11963 * sysdeps/sparc/sparc32/elf/configure: Delete.
11964 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11965 * sysdeps/sparc/sparc64/elf/configure: Delete.
11966 * sysdeps/sparc/elf/configure.in: New file.
11967 * sysdeps/sparc/elf/configure: Generate.
11968
7a8b71c3
DM
11969 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11970 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11971 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11972 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11973 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11974
f1e86fca
JM
119752012-02-21 Joseph Myers <joseph@codesourcery.com>
11976
11977 * manual/install.texi: Do not mention specific glibc version
11978 numbers.
11979 * manual/libc.texinfo (VERSION, UPDATED): Update.
11980 (@copying): Use @copyright{} and range of years.
11981
0e7dfaef
JM
119822012-02-21 Joseph Myers <joseph@codesourcery.com>
11983
11984 [BZ #13695]
11985 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
11986 [crti.S not in sysdirs] (generated): Do not append.
11987 [crti.S not in sysdirs] (omit-deps): Likewise.
11988 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
11989 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
11990 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
11991 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
11992 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
11993 Likewise.
11994 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
11995 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
11996 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
11997 * csu/defs.awk: Remove file.
11998 * sysdeps/generic/initfini.c: Likewise.
11999 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12000 variable.
12001 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12002 Likewise.
12003
599af3ca
JM
120042012-02-20 Joseph Myers <joseph@codesourcery.com>
12005
12006 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12007 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12008 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12009 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12010 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12011 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12012 <bits/epoll.h>.
12013 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12014 (__EPOLL_PACKED): Define to empty if not defined by
12015 <bits/epoll.h>.
12016 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12018 bits/epoll.h.
12019
0e499750
JM
120202012-02-20 Joseph Myers <joseph@codesourcery.com>
12021
12022 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12023 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12024 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12025 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12026 <bits/timerfd.h>.
12027 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12028 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12029 bits/timerfd.h.
12030
5ad91f6e
JM
120312012-02-20 Joseph Myers <joseph@codesourcery.com>
12032
12033 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12034 in C locale.
12035 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12036 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12037 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12039
06b99b02
AJ
120402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12041
12042 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12043 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12044
7638c0fd
AS
120452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12046
12047 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12048 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12049 defined.
12050 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12051 Likewise.
12052 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12053 entry for 2.16.
12054
92221550
AJ
120552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12056
12057 * math/w_acos.c: Use non-signaling floating-point comparisons.
12058 * math/w_acosf.c: Likewise.
12059 * math/w_acosh.c: Likewise.
12060 * math/w_acoshf.c: Likewise.
12061 * math/w_acoshl.c: Likewise.
12062 * math/w_acosl.c: Likewise.
12063 * math/w_asin.c: Likewise.
12064 * math/w_asinf.c: Likewise.
12065 * math/w_asinl.c: Likewise.
12066 * math/w_atanh.c: Likewise.
12067 * math/w_atanhf.c: Likewise.
12068 * math/w_atanhl.c: Likewise.
12069 * math/w_exp2.c: Likewise.
12070 * math/w_exp2f.c: Likewise.
12071 * math/w_exp2l.c: Likewise.
12072 * math/w_j0.c: Likewise.
12073 * math/w_j0f.c: Likewise.
12074 * math/w_j0l.c: Likewise.
12075 * math/w_j1.c: Likewise.
12076 * math/w_j1f.c: Likewise.
12077 * math/w_j1l.c: Likewise.
12078 * math/w_jn.c: Likewise.
12079 * math/w_jnf.c: Likewise.
12080 * math/w_log.c: Likewise.
12081 * math/w_log10.c: Likewise.
12082 * math/w_log10f.c: Likewise.
12083 * math/w_log10l.c: Likewise.
12084 * math/w_log2.c: Likewise.
12085 * math/w_log2f.c: Likewise.
12086 * math/w_log2l.c: Likewise.
12087 * math/w_logf.c: Likewise.
12088 * math/w_logl.c: Likewise.
12089 * math/w_sqrt.c: Likewise.
12090 * math/w_sqrtf.c: Likewise.
12091 * math/w_sqrtl.c: Likewise.
12092 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12093 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12094 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12095 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12096 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12097
ebaf36eb
JM
120982012-02-19 Joseph Myers <joseph@codesourcery.com>
12099
12100 [BZ #9739]
12101 * manual/string.texi (strnlen): Use correct parameter name in
12102 equivalent expression.
12103
71c254a6
JM
121042012-02-19 Joseph Myers <joseph@codesourcery.com>
12105
12106 [BZ #11174]
12107 * manual/users.texi (seteuid): Consistently use neweuid for
12108 argument name.
12109
16d2c631
JM
121102012-02-19 Joseph Myers <joseph@codesourcery.com>
12111
12112 [BZ #13704]
12113 * manual/nss.texi (Services in the NSS configuration): Correct
12114 list of services in example configuration file.
12115
cd837b09
NB
121162012-02-19 Nick Bowler <nbowler@draconx.ca>
12117
12118 [BZ #11322]
12119 * manual/arith.texi: Remove statements about negative zero
12120 behaving identically to zero.
12121
02c4bbad
JM
121222012-02-18 Joseph Myers <joseph@codesourcery.com>
12123
12124 [BZ #5993]
12125 * manual/install.texi: Do not document upgrading from libc5.
12126
366842e7
JM
121272012-02-18 Joseph Myers <joseph@codesourcery.com>
12128
12129 [BZ #4596]
12130 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12131
dd54084d
DM
121322012-02-18 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12135 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12136 %o7 across the call.
12137 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12138 instead.
12139 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12140 SETUP_PIC_REG_LEAF.
12141 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12142 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12143 * sysdeps/sparc/crtn.S: Likewise.
12144
2bcc53a3
UD
121452012-02-17 Ulrich Drepper <drepper@gmail.com>
12146
12147 * aout/Makefile: Remove.
12148
09c093b5
RK
121492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12150
12151 [BZ #13058]
12152 * manual/examples/argp-ex1.c (main): Format definition in GNU
12153 style.
12154 * manual/examples/argp-ex2.c (main): Likewise.
12155 * manual/examples/argp-ex3.c (main): Likewise.
12156 * manual/examples/argp-ex4.c (main): Likewise.
12157 * manual/examples/longopt.c (main): Use new-style prototype
12158 definition.
12159 * manual/examples/strncat.c (main): Specify return type and use
12160 (void) for arguments.
12161 * manual/examples/subopt.c (main): Use char **argv argument.
12162
2ee633a2
JM
121632012-02-17 Joseph Myers <joseph@codesourcery.com>
12164
12165 [BZ #5077]
12166 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12167 rounding modes.
12168
0520adde
FB
121692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12170
12171 [BZ #6907]
12172 * manual/string.texi (strchr): Change when strchrnul is
12173 recommended.
12174
3f4081cd
DGM
121752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12176
12177 [BZ #174]
12178 * manual/locale.texi (setlocale): Document LOCPATH.
12179
d1b10e78
JM
121802012-02-17 Joseph Myers <joseph@codesourcery.com>
12181
12182 [BZ #10210]
12183 * manual/process.texi (execle): Move @dots{} before last argument.
12184
79c6869c
PB
121852012-02-17 Paul Bolle <pebolle@tiscali.nl>
12186
12187 [BZ #12047]
12188 * manual/charset.texi (Generic Charset Conversion): Fix typo
12189 (LC_TYPE -> LC_CTYPE).
12190
cc6e48bc
NB
121912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12192
12193 [BZ #5805]
12194 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12195 (scalbnf): Likewise.
12196 (scalbnl): Likewise.
12197 (scalbln): Likewise.
12198 (scalblnf): Likewise.
12199 (scalblnl): Likewise.
12200 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12201 (vwarnx): Likewise.
12202 (verr): Likewise.
12203 (verrx): Likewise.
12204 * manual/filesys.texi (telldir): Use braces around return type.
12205 * manual/llio.texi (mmap): Add space after comma.
12206 (mmap64): Likewise.
12207 * manual/math.texi (jn): Use @var{} on parameter names.
12208 (jnf): Likewise.
12209 (jnl): Likewise.
12210 (yn): Likewise.
12211 (ynf): Likewise.
12212 (ynl): Likewise.
12213 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12214 line.
12215 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12216 "...".
12217 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12218 (sched_get_priority_max): Likewise.
12219 * manual/signal.texi (sigvec): Add space after comma.
12220 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12221 names.
12222 (if_indextoname): Likewise.
12223 (if_freenameindex): Likewise.
12224 (sendto): Use ',' instead of '.' in prototype.
12225 * manual/startup.texi (syscall): Use @dots{} instead of literal
12226 "...".
12227 * manual/stdio.texi (__fpending): Separate initial words of
12228 paragraph from @deftypefun line.
12229 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12230 "...".
12231 (vsyslog): Use @var{} on parameter names.
12232 * manual/terminal.texi (stty): Use @var{} on parameter names.
12233 * manual/users.texi (getutmp): Use @var{} on parameter names.
12234 (getutmpx): Likewise.
12235
5b23062f
JM
122362012-02-17 Joseph Myers <joseph@codesourcery.com>
12237
12238 [BZ #6884]
12239 * manual/stdio.texi (fopen): Fix typos in description of
12240 ",ccs=STRING".
12241
8dee4833
AJ
122422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12243
12244 [BZ #4026]
12245 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12246 get clock_id definition.
12247
9078ce93
TS
122482012-02-17 Thomas Schwinge <thomas@schwinge.name>
12249
12250 [BZ #4822]
12251 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12252 (madvise): Cast every argument to void on its own.
12253
3835c55f
JM
122542012-02-17 Joseph Myers <joseph@codesourcery.com>
12255
12256 [BZ #9902]
12257 * manual/startup.texi (Exit Status): Fix typo.
12258
35c47e37
JM
122592012-02-17 Joseph Myers <joseph@codesourcery.com>
12260
12261 [BZ #10140]
12262 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12263 * manual/examples/argp-ex2.c: Likewise.
12264 * manual/examples/argp-ex3.c: Likewise.
12265
e3b69ca7
RH
122662012-02-16 Richard Henderson <rth@redhat.com>
12267
12268 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12269 * sysdeps/s390/s390-32/initfini.c: Remove.
12270 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12271 * sysdeps/s390/s390-64/initfini.c: Remove.
12272
df83af67
KK
122732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12274
12275 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12276 compiler output for sysdeps/generic/initfini.c.
12277 * sysdeps/sh/elf/initfini.c: Remove file.
12278
f63f3380
DM
122792012-02-16 David S. Miller <davem@davemloft.net>
12280
fb59b3a4
DM
12281 [BZ #11494]
12282 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12283
f63f3380
DM
12284 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12285 * sysdeps/sparc/crti.S: New file.
12286 * sysdeps/sparc/crtn.S: New file.
12287 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12288 * sysdeps/sparc/sparc64/Makefile: Likewise.
12289
df6a4a4a
MF
122902012-02-15 Mike Frysinger <vapier@gentoo.org>
12291
6dd8f3dc 12292 [BZ #3335]
df6a4a4a
MF
12293 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12294
1cac7236
RM
122952012-02-15 Roland McGrath <roland@hack.frob.com>
12296
d2c736f8
RM
12297 [BZ #4822]
12298 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12299
1cac7236
RM
12300 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12301 (write, read, close): Likewise.
12302 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12303
8e475601
JM
123042012-02-15 Joseph Myers <joseph@codesourcery.com>
12305
12306 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12307 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12308 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12309 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12310 <bits/signalfd.h>.
12311 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12313 bits/signalfd.h.
12314
ed656b40
MP
123152012-02-14 Marek Polacek <polacek@redhat.com>
12316
12317 * sysdeps/x86_64/crti.S: New file.
12318 * sysdeps/x86_64/crtn.S: New file.
12319 * sysdeps/x86_64/elf/initfini.c: Remove file.
12320
2a979d3a
JM
123212012-02-13 Joseph Myers <joseph@codesourcery.com>
12322
12323 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12324 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12325 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12326 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12327 <bits/inotify.h>.
12328 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12330 bits/inotify.h.
12331
2a418ac3
JM
123322012-02-13 Joseph Myers <joseph@codesourcery.com>
12333
12334 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12335 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12336 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12337 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12338 <bits/eventfd.h>.
12339 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12341 bits/eventfd.h.
12342
fb779be7
TS
123432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12344
e19e83c5
RM
12345 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12346 __feraiseexcept instead of feraiseexcept.
7c35ffed 12347
fb779be7
TS
12348 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12349 nanosleep invocations.
12350 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12351 strings, and add error checking for a nanosleep invocations.
12352
59ba27a6
PE
123532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12354
12355 Replace FSF snail mail address with URLs, as per GNU coding standards.
12356 Most of the snail mail addresses were wrong anyway, and omitting
12357 them makes the source code easier to maintain. Almost all of the
12358 changes are to license notices and to locale LC_IDENTIFICATION
12359 addresses, except for this one:
12360 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12361 not its snail mail address.
12362
57b957eb
RH
123632012-02-09 Richard Henderson <rth@twiddle.net>
12364
af850b1c
RH
12365 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12366 of kernel-features.h.
12367
57b957eb
RH
12368 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12369
6b73181a
MP
123702012-02-08 Marek Polacek <polacek@redhat.com>
12371
12372 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12373 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12374 * sysdeps/gnu/_G_config.h: Likewise.
12375 * sysdeps/generic/_G_config.h: Likewise.
12376
26ecc33a
AS
123772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12378
6c6dbc63
AS
12379 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12380 tests.
12381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12382
e216c012
AS
12383 * sysdeps/powerpc/powerpc32/crti.S: New file.
12384 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12385 * sysdeps/powerpc/powerpc64/crti.S: New file.
12386 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12387
26ecc33a
AS
12388 * Makeconfig (have-initfini): Don't set.
12389 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12390 * configure.in (nopic_initfini): Don't substitute.
12391 * config.h.in (HAVE_INITFINI): Don't #undef.
12392 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12393 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12394
3add8e13
JM
123952012-02-08 Joseph Myers <joseph@codesourcery.com>
12396
12397 Support crti.S and crtn.S provided directly by architectures.
12398 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12399 [crti.S in sysdirs] (omit-deps): Likewise.
12400 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12401 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12402 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12403 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12404 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12405 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12406 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12407 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12408 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12409 compiler output for sysdeps/generic/initfini.c.
12410 * sysdeps/i386/elf/Makefile: Remove file.
12411 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12412
a22f12b4
MP
124132012-02-07 Marek Polacek <polacek@redhat.com>
12414
12415 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12416 * sysdeps/gnu/_G_config.h: Likewise.
12417 * sysdeps/mach/hurd/_G_config.h: Likewise.
12418
148cf100
MP
124192012-02-07 Marek Polacek <polacek@redhat.com>
12420
12421 * math/Makefile (tests): Add tst-CMPLX2.
12422 * math/tst-CMPLX2.c: New file.
12423
cfdc0dd7
AS
124242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12425
84ba42c4
AS
12426 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12427
cfdc0dd7
AS
12428 * math/libm-test.inc (jn_test): Add missing L suffix.
12429
622c86f4
MP
124302012-02-06 Marek Polacek <polacek@redhat.com>
12431
12432 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12433 * sysdeps/i386/fpu/e_powf.S: Likewise.
12434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12435 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12436 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12437 * sysdeps/i386/fpu/e_pow.S: Likewise.
12438 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12439 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12440 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12441 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12442 * sysdeps/i386/fpu/e_log2.S: Likewise.
12443 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12444 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12445 * sysdeps/i386/fpu/e_powl.S: Likewise.
12446 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12447 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12448 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12449 * sysdeps/i386/fpu/e_logl.S: Likewise.
12450 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12451 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12452 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12453 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12454 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12455 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12456 * sysdeps/i386/fpu/e_log.S: Likewise.
12457 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12458 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12459 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12460 * sysdeps/i386/fpu/e_logf.S: Likewise.
12461 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12463 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12464 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12465 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12466 * sysdeps/i386/fpu/e_log10.S: Likewise.
12467 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12468 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12469 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12470 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12471 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12472 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12473 * sysdeps/i386/asm-syntax.h: Likewise.
12474 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12475 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12476 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12477 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12478 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12479 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12480 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12481 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12482 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12483 * sysdeps/powerpc/sysdep.h: Likewise.
12484 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12485 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12486
d4a54ac6
JM
124872012-02-06 Joseph Myers <joseph@codesourcery.com>
12488
12489 [BZ #411]
12490 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12491
314054ea
JM
124922012-02-06 Joseph Myers <joseph@codesourcery.com>
12493
12494 * sysdeps/i386/sysdep.h: Include <features.h>.
12495 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12496 version.
12497
d8e0ca50
JM
124982012-02-05 Joseph Myers <joseph@codesourcery.com>
12499
12500 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12501 Define.
12502 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12503 LOAD_PIC_REG_STR.
12504
b1da7dd9
JM
125052012-02-03 Joseph Myers <joseph@codesourcery.com>
12506
12507 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12508 (SETUP_PIC_REG): Use GET_PC_THUNK.
12509 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12510 macro.
12511
9a1d9254
JM
125122012-02-03 Joseph Myers <joseph@codesourcery.com>
12513
12514 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12515 for non-PIC compilation.
12516 (SETUP_PIC_REG): Add .p2align directive.
12517 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12518 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12519 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12520 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12521 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12523 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12524 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12525 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12526 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12527 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12528 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12529 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12530 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12531 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12532 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12533 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12534 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12535 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12536 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12537 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12538 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12539 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12540 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12541 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12542 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12543 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12544 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12545 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12546 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12547 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12548 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12549 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12550 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12551 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12552 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12553 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12554 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12555 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12556 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12557 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12558
65dc3b75
JM
125592012-02-03 Joseph Myers <joseph@codesourcery.com>
12560
12561 * math/tst-CMPLX.c: Include <stdio.h>.
12562
d55bf177
JM
125632012-01-31 Joseph Myers <joseph@codesourcery.com>
12564
12565 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12566 float.
12567 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12568 * sysdeps/sparc/bits/mathdef.h: Likewise.
12569
69db4f8f
MP
125702012-01-31 Marek Polacek <polacek@redhat.com>
12571
12572 * libio/libio.h: Don't define _PARAMS.
12573 * locale/programs/config.h: Don't define PARAMS.
12574 * stdlib/strtol_l.c: Likewise.
12575 (__strtol_l): Remove PARAMS from the prototype.
12576
41b81892
UD
125772012-01-31 Ulrich Drepper <drepper@gmail.com>
12578
3b49edc0
UD
12579 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12580 names. Just use the correct names. Remove unnecessary wrapper
12581 functions.
12582 * malloc/arena.c: Likewise.
12583 * malloc/hooks.c: Likewise.
12584
41b81892
UD
12585 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12586 ARENA_TEST says not to. Simplify test for creation of a new arena.
12587 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12588
27a25b6e
UD
125892012-01-30 Ulrich Drepper <drepper@gmail.com>
12590
12591 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12592 into tail calls.
12593 (update_get_addr): New function.
12594 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12595 GET_ADDR_MODULE parameter.
12596
c8a89e7d
JM
125972012-01-30 Joseph Myers <joseph@codesourcery.com>
12598
12599 * crypt/cert.c: Remove __STDC__ conditionals.
12600 * crypt/crypt-entry.c: Likewise.
12601 * crypt/crypt_util.c: Likewise.
12602 * libio/filedoalloc.c: Likewise.
12603 * libio/fileops.c: Likewise.
12604 * libio/genops.c: Likewise.
12605 * libio/iofclose.c: Likewise.
12606 * libio/iofdopen.c: Likewise.
12607 * libio/iofopen.c: Likewise.
12608 * libio/iofopen64.c: Likewise.
12609 * libio/iogetdelim.c: Likewise.
12610 * libio/iopopen.c: Likewise.
12611 * libio/obprintf.c: Likewise.
12612 * libio/oldfileops.c: Likewise.
12613 * libio/oldiofclose.c: Likewise.
12614 * libio/oldiofdopen.c: Likewise.
12615 * libio/oldiofopen.c: Likewise.
12616 * libio/oldiopopen.c: Likewise.
12617 * libio/wfiledoalloc.c: Likewise.
12618 * libio/wgenops.c: Likewise.
12619 * locale/programs/xmalloc.c: Likewise.
12620 * misc/syslog.c: Likewise.
12621 * stdio-common/xbug.c: Likewise.
12622 * string/memchr.c: Likewise.
12623 * string/memcmp.c: Likewise.
12624 * string/memrchr.c: Likewise.
12625 * string/rawmemchr.c: Likewise.
12626 * sysdeps/posix/getcwd.c: Likewise.
12627 * time/strftime_l.c: Likewise.
12628
3b100462
JM
126292012-01-30 Joseph Myers <joseph@codesourcery.com>
12630
12631 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12632 * config.make.in (config-cflags-sse2avx): Define.
12633 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12634 Fix typo.
12635
607998af
CM
126362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12637
12638 * scripts/config.guess: Update from upstream config git repository.
12639 * scripts/config.sub: Likewise.
12640
3601428f
CM
126412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12642
3ac8b282
CM
12643 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12644 (EM_NUM): Update.
12645 (R_TILEPRO_*, R_TILEGX_*): New macros.
12646
e034841e
CM
12647 * scripts/firstversions.awk: Fix bug in version range handling.
12648
540d7568
CM
12649 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12650
3601428f
CM
12651 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12652
463de862
CM
12653 * include/sys/epoll.h: New file.
12654 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12655 libc_hidden_def.
12656
73139a76
UD
126572012-01-28 Ulrich Drepper <drepper@gmail.com>
12658
96bc5b45
UD
12659 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12660 Avoid unnecessary __WORDSIZE == 64 test.
12661 (fmaxf): Use VEX format if possible.
12662 (fmax): Likewise.
12663 (fminf): Likewise.
12664 (fmin): Likewise.
12665
56f6f6a2
UD
12666 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12667 * math/math_private.h: Remove libc_fegetround* and
12668 libc_fesetround*.
12669 * sysdeps/i386/configure.in: Check for -msse2avx.
12670 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12671 also if SSE2AVX is defined.
12672 Remove libc_fegetround* and libc_fesetround*.
12673 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12674 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12675 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12676 of HAS_YMM_USABLE.
12677 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12678 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12679 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12681 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12682
73139a76
UD
12683 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12684
d73f93a4
AZ
126852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12686
12687 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12688 size is not set.
12689 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12690
6ee65ed6
UD
126912012-01-27 Ulrich Drepper <drepper@gmail.com>
12692
12693 [BZ #13618]
12694 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12695 relocation.
12696 * Makeconfig (libm): Define.
12697 * elf/Makefile: Add rules to build and run tst-relsort1.
12698 * elf/tst-relsort1.c: New file.
12699 * elf/tst-relsort1mod1.c: New file.
12700 * elf/tst-relsort1mod2.c: New file.
12701
8db21882
JM
127022012-01-27 Joseph Myers <joseph@codesourcery.com>
12703
12704 * math/s_ldexp.c: Remove __STDC__ conditionals.
12705 * math/s_ldexpf.c: Likewise.
12706 * math/s_ldexpl.c: Likewise.
12707 * math/s_nextafter.c: Likewise.
12708 * math/s_nexttowardf.c: Likewise.
12709 * math/s_significand.c: Likewise.
12710 * math/s_significandf.c: Likewise.
12711 * math/s_significandl.c: Likewise.
12712 * math/w_jnl.c: Likewise.
12713 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12714 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12715 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12716 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12717 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12719 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12720 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12732 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12733 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12734 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12735 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12736 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12737 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12738 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12739 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12740 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12741 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12742 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12743 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12744 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12745 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12746 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12747 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12748 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12749 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12750 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12751 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12752 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12753 * sysdeps/ieee754/k_standard.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12766 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12769 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12815 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12820 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12821 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12828 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12829 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12833 * sysdeps/ieee754/s_matherr.c: Likewise.
12834 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12835 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12838
965a54a4
JM
128392012-01-26 Joseph Myers <joseph@codesourcery.com>
12840
12841 * crypt/md5.h: Remove __STDC__ conditionals.
12842 * libio/libioP.h: Likewise.
12843 * locale/programs/config.h: Likewise.
12844 * sysdeps/generic/sysdep.h: Likewise.
12845 * sysdeps/i386/asm-syntax.h: Likewise.
12846 * sysdeps/s390/asm-syntax.h: Likewise.
12847 * sysdeps/unix/sysdep.h: Likewise.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12850
7071ad79
JM
128512012-01-26 Joseph Myers <joseph@codesourcery.com>
12852
12853 * libio/libio.h: Remove __STDC__ conditionals.
12854 * malloc/obstack.h: Likewise.
12855 * math/complex.h: Likewise.
12856 * math/math.h: Likewise.
12857 * sysdeps/generic/_G_config.h: Likewise.
12858 * sysdeps/gnu/_G_config.h: Likewise.
12859 * sysdeps/mach/hurd/_G_config.h: Likewise.
12860 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12861 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12862 * sysdeps/sparc/bits/mathdef.h: Likewise.
12863
afc5ed09
UD
128642012-01-26 Ulrich Drepper <drepper@gmail.com>
12865
12866 [BZ #13583]
12867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12868 Clean up HAS_* macros.
afc5ed09 12869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12870 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12871 possible.
12872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12873 HAS_AVX.
12874 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12875 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12876 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12878 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12879
bdb6de1d
JM
128802012-01-25 Joseph Myers <joseph@codesourcery.com>
12881
12882 * elf/tst-unique3.cc (gets): Remove declaration.
12883 * elf/tst-unique3lib.cc (gets): Likewise.
12884 * elf/tst-unique3lib2.cc (gets): Likewise.
12885 * elf/tst-unique4.cc (gets): Likewise.
12886
b15549e6
UD
128872012-01-24 Ulrich Drepper <drepper@gmail.com>
12888
12889 * include/stdio.h: Add C++ protection. Add gets declarations and
12890 definitions.
12891 * debug/tst-chk1.c: Don't declare gets here.
12892 * stdio-common/tst-gets.c: Likewise.
12893
a037381f
JM
128942012-01-24 Joseph Myers <joseph@codesourcery.com>
12895
12896 * posix/glob: Remove directory.
12897
f1d4aa75
JM
128982012-01-24 Joseph Myers <joseph@codesourcery.com>
12899
12900 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12901
81c0c964
PT
129022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12903
12904 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12905 of the non-standard EPFNOSUPPORT.
12906
0ea698ae
ST
129072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12908
12909 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12910 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12911 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12912
d220b117
UD
129132012-01-21 Ulrich Drepper <drepper@gmail.com>
12914
12915 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12916
3e1aa84e
UD
129172012-01-20 Ulrich Drepper <drepper@gmail.com>
12918
12919 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12920 transient errors.
12921 * nscd/grpcache.c (cache_addgr): Likewise.
12922 * nscd/hstcache.c (cache_addhst): Likewise.
12923 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12924 * nscd/pwdcache.c (cache_addpw): Likewise.
12925 * nscd/servicescache.c (cache_addserv): Likewise.
12926
400aa020
UD
129272012-01-16 Ulrich Drepper <drepper@gmail.com>
12928
d77e7869
UD
12929 * malloc/malloc.c: Various cleanups.
12930 * malloc/hooks.c: Likewise.
12931
400aa020
UD
12932 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12933 * stdlib/bug-fmtmsg1.c: New file.
12934
12935 * stdlib/fmtmsg.c (init): Add missing unlock.
12936 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12937
e0a309cf
MP
129382012-01-12 Marek Polacek <polacek@redhat.com>
12939
12940 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12941 and _GNU_SOURCE.
12942
929d11c7
WS
129432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12944
12945 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12946 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12947 macro to ensure uniqueness of label name.
12948 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12949 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12950
41d0e869
UD
129512012-01-11 Ulrich Drepper <drepper@gmail.com>
12952
0cc5ed3b
UD
12953 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12954
41d0e869
UD
12955 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12956 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12957 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12959
a47a831a
UD
129602012-01-10 Ulrich Drepper <drepper@gmail.com>
12961
daa891c0
UD
12962 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12963
12964 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12965 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12966 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12967
e58ef0f2
UD
12968 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12969
a47a831a 12970 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12971 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12973 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12974
12975 * math/bits/math-finite.h: Add ldexp support.
12976
a0bfc9c7
MP
129772012-01-10 Marek Polacek <polacek@redhat.com>
12978
12979 * locale/programs/localedef.h (show_archive_content): Add noreturn
12980 attribute.
12981
d6e97a1d
UD
129822012-01-09 Ulrich Drepper <drepper@gmail.com>
12983
12984 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
12985
d5835c26
UD
129862012-01-08 Ulrich Drepper <drepper@gmail.com>
12987
e5f484c6
UD
12988 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
12989
d5835c26
UD
12990 * io/Makefile (headers): Add bits/poll2.h.
12991
d1f741e9
WS
129922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
12993
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
12995 typo #include statement.
12996
ec09c1c4
UD
129972012-01-08 Ulrich Drepper <drepper@gmail.com>
12998
12999 * include/sys/cdefs.h: Define __attribute_alloc_size.
13000 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13001 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13002 * elf/pldd.c: Likewise.
13003 * iconv/iconv_charmap.c: Likewise.
13004 * iconv/iconvconfig.c: Likewise.
13005 * iconv/strtab.c: Likewise.
13006 * locale/programs/locale.c: Likewise.
13007 * locale/programs/localedef.h: Likewise.
13008 * locale/programs/simple-hash.c: Likewise.
13009 * nscd/nscd.h: Likewise.
13010 * nss/makedb.c: Likewise.
13011 * sysdeps/generic/ldconfig.h: Likewise.
13012 * locale/programs/localedef.c: Remove xmalloc prototype.
13013 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13014
20b38e03
PP
130152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13016
13017 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13018 appropriate.
13019
a0da5fe1
UD
130202012-01-08 Ulrich Drepper <drepper@gmail.com>
13021
1d5a644a 13022 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13023 * math/tst-CMPLX.c: New file.
1d5a644a 13024
8784a6db
UD
13025 * math/complex.h (CMPLXL): Fix typo.
13026
d9a216c0
UD
13027 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13028 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13029 GLIBC_2.16.
13030 * debug/tst-chk1.c: Add poll and ppoll tests.
13031 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13032 * include/sys/poll.h: Add hidden proto for ppoll.
13033 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13034 * sysdeps/mach/hurd/ppoll.c: Likewise.
13035 * io/ppoll.c: Likewise.
13036 * debug/poll_chk.c: New file.
13037 * debug/ppoll_chk.c: New file.
13038 * include/bits/poll2.h: New file.
13039 * io/bits/poll2.h: New file.
13040
ac097f5c
UD
13041 [BZ #1350]
13042 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13043
2119dcfa
UD
13044 * configure.in: static is always set to yes. Remove.
13045 * config.make.in: Don't set build-static.
13046 * Makeconfig: Remove use of build-static.
13047 * dlfcn/Makefile: Likewise.
13048 * elf/Makefile: Likewise.
13049 * math/Makefile: Likewise.
13050 * misc/Makefile: Likewise.
13051 * nptl/Makefile: Likewise.
13052 * sysdeps/mach/hurd/Makefile: Likewise.
13053
121766a9
UD
13054 * configure.in: PWD_P is not used anymore.
13055 * config.make.in: Remove PWD_P entry.
13056
51a1d39c 13057 * configure.in: Remove last remnants of RANLIB.
8720d066 13058 No need to check for signed size_t anymore.
215f4bdc
UD
13059 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13060 and IA-64.
3857022a 13061 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13062 * aclocal.m4: Likewise.
13063
d3ed7225
UD
13064 * wcsmbs/mbrtoc16.c: Implement using towc function.
13065 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13066 * wcsmbs/wcsmbsload.c: Likewise.
13067 * iconv/gconv_simple.c: Likewise.
13068 * iconv/gconv_int.h: Likewise.
13069 * iconv/gconv_builtin.h: Likewise.
13070 * iconv/iconv_prog.c: Remove CHAR16 handling.
13071
13072 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13073
13074 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13075
a0da5fe1
UD
13076 * configure.in: Remove --with-elf and --enable-bounded options.
13077 Dont set base_machine for ia64. More non-ELF conditions removed.
13078 Remove testing and setting of leading underscore information.
13079 * config.make.in (build-bounded): Set to no.
13080 * config.h.in: Remove NO_UNDERSCORES entry.
13081 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13082 them.
13083 * csu/start.c: Remove !NO_UNDERSCORE code.
13084 * locale/localeinfo.h: Likewise.
13085 * sysdeps/generic/machine-gmon.h: Likewise.
13086 * sysdeps/generic/sysdep.h: Likewise.
13087 * sysdeps/i386/sysdep.h: Likewise.
13088 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13089 * sysdeps/mach/sysdep.h: Likewise.
13090 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13091 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13092 * sysdeps/sh/sysdep.h: Likewise.
13093 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13094 * sysdeps/unix/i386/sysdep.S: Likewise.
13095 * sysdeps/unix/sparc/start.c: Likewise.
13096 * sysdeps/unix/sparc/sysdep.S: Likewise.
13097 * sysdeps/unix/sparc/sysdep.h: Likewise.
13098 * sysdeps/unix/start.c: Likewise.
13099 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13100 * sysdeps/x86_64/sysdep.h: Likewise.
13101
df78418a
UD
131022012-01-07 Ulrich Drepper <drepper@gmail.com>
13103
a784e502
UD
13104 [BZ #13553]
13105 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13106 for non-gcc.
13107 * argp/argp-fmtstream.h: Use const instead __const.
13108 * argp/argp.h: Likewise.
13109 * assert/assert.h: Likewise.
13110 * bits/fenv.h: Likewise.
13111 * bits/sched.h: Likewise.
13112 * bits/sigset.h: Likewise.
13113 * bits/sigthread.h: Likewise.
13114 * catgets/nl_types.h: Likewise.
13115 * conform/data/pthread.h-data: Likewise.
13116 * crypt/crypt-private.h: Likewise.
13117 * crypt/crypt.h: Likewise.
13118 * crypt/crypt_util.c: Likewise.
13119 * ctype/ctype.h: Likewise.
13120 * debug/execinfo.h: Likewise.
13121 * debug/mbsnrtowcs_chk.c: Likewise.
13122 * debug/mbsrtowcs_chk.c: Likewise.
13123 * debug/wcsnrtombs_chk.c: Likewise.
13124 * debug/wcsrtombs_chk.c: Likewise.
13125 * debug/wcstombs_chk.c: Likewise.
13126 * dirent/dirent.h: Likewise.
13127 * dlfcn/dlfcn.h: Likewise.
13128 * elf/neededtest4.c: Likewise.
13129 * grp/grp.h: Likewise.
13130 * gshadow/gshadow.h: Likewise.
13131 * iconv/gconv.h: Likewise.
13132 * iconv/gconv_int.h: Likewise.
13133 * iconv/gconv_simple.c: Likewise.
13134 * iconv/iconv.h: Likewise.
13135 * iconv/loop.c: Likewise.
13136 * iconv/skeleton.c: Likewise.
13137 * include/aio.h: Likewise.
13138 * include/aliases.h: Likewise.
13139 * include/argz.h: Likewise.
13140 * include/arpa/inet.h: Likewise.
13141 * include/assert.h: Likewise.
13142 * include/dirent.h: Likewise.
13143 * include/dlfcn.h: Likewise.
13144 * include/execinfo.h: Likewise.
13145 * include/fcntl.h: Likewise.
13146 * include/fenv.h: Likewise.
13147 * include/glob.h: Likewise.
13148 * include/grp.h: Likewise.
13149 * include/libintl.h: Likewise.
13150 * include/mntent.h: Likewise.
13151 * include/netdb.h: Likewise.
13152 * include/pwd.h: Likewise.
13153 * include/rpc/netdb.h: Likewise.
13154 * include/sched.h: Likewise.
13155 * include/search.h: Likewise.
13156 * include/shadow.h: Likewise.
13157 * include/signal.h: Likewise.
13158 * include/stdio.h: Likewise.
13159 * include/stdlib.h: Likewise.
13160 * include/string.h: Likewise.
13161 * include/sys/socket.h: Likewise.
13162 * include/sys/stat.h: Likewise.
13163 * include/sys/statfs.h: Likewise.
13164 * include/sys/statvfs.h: Likewise.
13165 * include/sys/syslog.h: Likewise.
13166 * include/sys/time.h: Likewise.
13167 * include/sys/uio.h: Likewise.
13168 * include/time.h: Likewise.
13169 * include/unistd.h: Likewise.
13170 * include/utmp.h: Likewise.
13171 * include/wchar.h: Likewise.
13172 * include/wctype.h: Likewise.
13173 * inet/aliases.h: Likewise.
13174 * inet/arpa/inet.h: Likewise.
13175 * inet/netinet/ether.h: Likewise.
13176 * inet/netinet/in.h: Likewise.
13177 * intl/libintl.h: Likewise.
13178 * io/bits/fcntl2.h: Likewise.
13179 * io/fcntl.h: Likewise.
13180 * io/ftw.h: Likewise.
13181 * io/sys/poll.h: Likewise.
13182 * io/sys/stat.h: Likewise.
13183 * io/sys/statfs.h: Likewise.
13184 * io/sys/statvfs.h: Likewise.
13185 * io/utime.h: Likewise.
13186 * libio/bits/stdio.h: Likewise.
13187 * libio/bits/stdio2.h: Likewise.
13188 * libio/libio.h: Likewise.
13189 * libio/libioP.h: Likewise.
13190 * libio/stdio.h: Likewise.
13191 * locale/lc-ctype.c: Likewise.
13192 * locale/locale.h: Likewise.
13193 * login/utmp.h: Likewise.
13194 * malloc/arena.c: Likewise.
13195 * malloc/malloc.c: Likewise.
13196 * malloc/malloc.h: Likewise.
13197 * malloc/mcheck.c: Likewise.
13198 * malloc/mtrace.c: Likewise.
13199 * math/bits/mathcalls.h: Likewise.
13200 * math/fenv.h: Likewise.
13201 * math/math_private.h: Likewise.
13202 * misc/bits/error.h: Likewise.
13203 * misc/bits/syslog.h: Likewise.
13204 * misc/err.h: Likewise.
13205 * misc/error.h: Likewise.
13206 * misc/fstab.h: Likewise.
13207 * misc/mntent.h: Likewise.
13208 * misc/regexp.h: Likewise.
13209 * misc/search.h: Likewise.
13210 * misc/sgtty.h: Likewise.
13211 * misc/sys/mman.h: Likewise.
13212 * misc/sys/syslog.h: Likewise.
13213 * misc/sys/uio.h: Likewise.
13214 * misc/sys/xattr.h: Likewise.
13215 * misc/ttyent.h: Likewise.
13216 * nis/rpcsvc/ypclnt.h: Likewise.
13217 * nss/nss.h: Likewise.
13218 * posix/bits/unistd.h: Likewise.
13219 * posix/fnmatch.h: Likewise.
13220 * posix/glob.h: Likewise.
13221 * posix/sched.h: Likewise.
13222 * posix/spawn.h: Likewise.
13223 * posix/sys/wait.h: Likewise.
13224 * posix/unistd.h: Likewise.
13225 * posix/wordexp.h: Likewise.
13226 * pwd/pwd.h: Likewise.
13227 * resolv/netdb.h: Likewise.
13228 * resource/sys/resource.h: Likewise.
13229 * rt/aio.h: Likewise.
13230 * rt/bits/mqueue2.h: Likewise.
13231 * rt/mqueue.h: Likewise.
13232 * shadow/shadow.h: Likewise.
13233 * signal/signal.h: Likewise.
13234 * socket/send.c: Likewise.
13235 * socket/sendto.c: Likewise.
13236 * socket/sys/socket.h: Likewise.
13237 * stdio-common/printf.h: Likewise.
13238 * stdlib/bits/stdlib.h: Likewise.
13239 * stdlib/fmtmsg.h: Likewise.
13240 * stdlib/monetary.h: Likewise.
13241 * stdlib/stdlib.h: Likewise.
13242 * stdlib/ucontext.h: Likewise.
13243 * streams/stropts.h: Likewise.
13244 * string/argz.h: Likewise.
13245 * string/bits/string2.h: Likewise.
13246 * string/string.h: Likewise.
13247 * string/strings.h: Likewise.
13248 * sunrpc/rpc/auth.h: Likewise.
13249 * sunrpc/rpc/auth_des.h: Likewise.
13250 * sunrpc/rpc/clnt.h: Likewise.
13251 * sunrpc/rpc/netdb.h: Likewise.
13252 * sunrpc/rpc/pmap_clnt.h: Likewise.
13253 * sunrpc/rpc/xdr.h: Likewise.
13254 * sysdeps/generic/inttypes.h: Likewise.
13255 * sysdeps/generic/net/if.h: Likewise.
13256 * sysdeps/generic/sys/swap.h: Likewise.
13257 * sysdeps/gnu/net/if.h: Likewise.
13258 * sysdeps/gnu/utmpx.h: Likewise.
13259 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13260 * sysdeps/i386/i486/bits/string.h: Likewise.
13261 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13262 * sysdeps/s390/bits/string.h: Likewise.
13263 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13264 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13265 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13266 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13267 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13268 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13269 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13270 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13271 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13272 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13273 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13274 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13275 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13276 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13277 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13278 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13279 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13281 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13282 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13284 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13285 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13286 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13287 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13288 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13289 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13291 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13292 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13293 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13294 * sysvipc/sys/ipc.h: Likewise.
13295 * sysvipc/sys/msg.h: Likewise.
13296 * sysvipc/sys/sem.h: Likewise.
13297 * sysvipc/sys/shm.h: Likewise.
13298 * termios/termios.h: Likewise.
13299 * time/sys/time.h: Likewise.
13300 * time/time.h: Likewise.
13301 * wcsmbs/bits/wchar2.h: Likewise.
13302 * wcsmbs/uchar.h: Likewise.
13303 * wcsmbs/wchar.h: Likewise.
13304 * wctype/wctype.h: Likewise.
13305
0269750c
UD
13306 [BZ #13551]
13307 * Makeconfig: Remove all but ELF support including AIX support.
13308 * Makerules: Likewise.
13309 * config.h.in: Likewise.
13310 * config.make.in: Likewise.
13311 * configure: Likewise.
13312 * configure.in: Likewise.
13313 * csu/Makefile: Likewise.
13314 * csu/version.c: Likewise.
13315 * debug/Makefile: Likewise.
13316 * dlfcn/Makefile: Likewise.
13317 * elf/Makefile: Likewise.
13318 * extra-lib.mk: Likewise.
13319 * iconv/Makefile: Likewise.
13320 * include/libc-symbols.h: Likewise.
13321 * include/shlib-compat.h: Likewise.
13322 * resolv/Makefile: Likewise.
13323 * resolv/res_libc.c: Likewise.
13324 * rt/Makefile: Likewise.
13325 * sysdeps/i386/asm-syntax.h: Likewise.
13326 * sysdeps/i386/sysdep.h: Likewise.
13327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13328 * sysdeps/mach/sysdep.h: Likewise.
13329 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13330 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13331 * sysdeps/s390/asm-syntax.h: Likewise.
13332 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13334 * sysdeps/sh/sysdep.h: Likewise.
13335 * sysdeps/unix/sparc/sysdep.h: Likewise.
13336 * sysdeps/wordsize-32/divdi3.c: Likewise.
13337 * sysdeps/x86_64/sysdep.h: Likewise.
13338
00bbd29b
UD
13339 * argp/Versions: Remove _argp_unlock_xxx.
13340
13341 [BZ #13559]
13342 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13343 * abilist/libBrokenLocale.abilist: Likewise.
13344 * abilist/libanl.abilist: Likewise.
13345 * abilist/libc.abilist: Likewise.
13346 * abilist/libcrypt.abilist: Likewise.
13347 * abilist/libdl.abilist: Likewise.
13348 * abilist/libm.abilist: Likewise.
13349 * abilist/libnsl.abilist: Likewise.
13350 * abilist/libpthread.abilist: Likewise.
13351 * abilist/libresolv.abilist: Likewise.
13352 * abilist/librt.abilist: Likewise.
13353 * abilist/libthread_db.abilist: Likewise.
13354 * abilist/libutil.abilist: Likewise.
13355 * abilist/libnss_db.abilist: New file.
13356
13357 * scripts/abilist.awk: Add support for indirect functions.
13358
a2693a0e
UD
13359 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13360
3f05895f
UD
13361 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13362
ecb6fb48
UD
13363 * shlib-versions: Remove entries for ports architectures.
13364
664f8cb9
UD
13365 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13366 files in ports.
13367 * elf/stackguard-macros.h: Remove support for IA-64.
13368 * elf/tst-auditmod1.c: Likewise.
13369 * sysdeps/generic/ldsodefs.h: Likewise.
13370
7ae81d88
UD
13371 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13372 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13373 configure files.
13374
bdeba135
UD
13375 [BZ #13552]
13376 * configure.in: Remove --enable-omitfp support.
13377 * FAQ.in: Adjust.
13378 * config.make.in: Likewise.
13379 * Makeconfig: Likewise.
13380 * manual/install.texi: Likewise.
13381
d75a0a62
UD
13382 In case anyone cares, the IA-64 architecture could move to ports.
13383 * sysdeps/ia64/*: Removed.
13384 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13385 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13386
dcc9756b
UD
13387 [BZ #13555]
13388 * configure.in: Remove entries for unsupported architectures.
13389
d3761ebc 13390 [BZ #13533]
9954432e
UD
13391 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13392 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13393 routines.
13394 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13395 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13396 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13397 fall back to using wcrtomb.
13398 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13399 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13400 renaming.
13401 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13402 * wcsmbs/tst-c16c32-1.c: New file.
13403
13404 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13405 local variable.
13406
c3a87236
UD
13407 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13408
28926a1b
UD
13409 * elf/tst-unique3.cc: Add explicit declaration of gets.
13410 * elf/tst-unique3lib.cc: Likewise.
13411 * elf/tst-unique3lib2.cc: Likewise.
13412 * elf/tst-unique4.cc: Likewise.
13413
df78418a
UD
13414 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13415
8ecd6b2a
JM
134162012-01-06 Joseph Myers <joseph@codesourcery.com>
13417
13418 [BZ #13566]
13419 * assert/assert.h (static_assert): Don't define for C++.
13420 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13421 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13422
9f115170
UD
134232012-01-03 Ulrich Drepper <drepper@gmail.com>
13424
5e0d0300
UD
13425 * iconv/loop.c (single loop): Fix assertion in storing of
13426 remaining bytes.
13427
9f115170
UD
13428 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13429
81fb02b0
UD
134302012-01-01 Ulrich Drepper <drepper@gmail.com>
13431
13432 * posix/getconf.c: Update copyright year.
13433 * nss/getent.c: Likewise.
a316c1f6 13434 * nss/makedb.c: Likewise.
81fb02b0
UD
13435 * iconv/iconvconfig.c: Likewise.
13436 * iconv/iconv_prog.c: Likewise.
13437 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13438 * elf/pldd.c: Likewise.
13439 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13440 * catgets/gencat.c: Likewise.
13441 * csu/version.c: Likewise.
13442 * elf/ldd.bash.in: Likewise.
13443 * elf/sprof.c (print_version): Likewise.
13444 * locale/programs/locale.c: Likewise.
13445 * locale/programs/localedef.c: Likewise.
a316c1f6 13446 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13447 * nscd/nscd.c (print_version): Likewise.
13448 * debug/xtrace.sh: Likewise.
13449 * malloc/memusage.sh: Likewise.
13450 * malloc/mtrace.pl: Likewise.
13451 * debug/catchsegv.sh: Likewise.
13452
2ba92745
JJ
134532011-12-30 Jakub Jelinek <jakub@redhat.com>
13454
13455 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13456 pure attribute.
13457
dadebdae
UD
134582011-12-24 Ulrich Drepper <drepper@gmail.com>
13459
d3761ebc 13460 [BZ #13533]
db6af3eb
UD
13461 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13462 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13463 transformations.
13464 * iconv/gconv_int.h: Likewise.
13465 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13466 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13467 from libc for GLIBC_2.16.
13468 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13469 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13470 * wcsmbs/uchar.h: Really define mbstate_t.
13471 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13472 * wcsmbs/c16rtomb.c: New file.
13473 * wcsmbs/mbrtoc16.c: New file.
13474 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13475 for C/POSIX locale.
13476 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13477 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13478
dadebdae
UD
13479 * wcsmbs/wchar.h: Add missing __restrict.
13480
67371b56
UD
134812011-12-23 Ulrich Drepper <drepper@gmail.com>
13482
74033a25
UD
13483 [BZ #13532]
13484 * time/Makefile (routines): Add timespec_get.
13485 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13486 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13487 timespec for ISO C11.
13488 * time/timespec_get.c: New file.
13489 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13490 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13491
380d7e87
UD
13492 [BZ #13531]
13493 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13494 * stdlib/stdlib.h: Declare aligned_alloc.
13495 * Versions.def: Add GLIBC_2.16 for libc.
13496 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13497
4e9e7a35
UD
13498 [BZ 13527]
13499 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13500 ISO C11.
13501
380d7e87 13502 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13503 code.
13504
03a71829
UD
13505 [BZ #13528]
13506 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13507
839e283e
UD
13508 [BZ #13529]
13509 * assert/assert.h (static_assert): Define.
13510
ce5294e2 13511 * version.h: Update for 2.16 development version.
90fa7312 13512
8d44e150 13513 [BZ #13526]
d7809905
UD
13514 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13515 _ISOC11_SOURCE.
13516
c0da14cd
UD
13517 * version.h (RELEASE): Bump for 2.15 release.
13518 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13519
530a3249
MP
13520 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13521 Patch by Marek Polacek <mpolacek@redhat.com>.
13522
67371b56
UD
13523 * bits/byteswap.h: Protect long long constants with __extension__.
13524 * sysdeps/i386/bits/byteswap.h: Likewise.
13525 * sysdeps/ia64/bits/byteswap.h: Likewise.
13526 * sysdeps/s390/bits/byteswap.h: Likewise.
13527 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13528
15db4de1
LD
135292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13530
13531 [BZ #13540]
bbe315ea
LD
13532 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13533 destination buffer.
15db4de1
LD
13534 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13535
2b2596b1
MP
135362011-12-23 Marek Polacek <polacek@redhat.com>
13537
13538 * elf/dl-addr.c (determine_info): Add inline keyword.
13539 * elf/tst-auditmod4b.c (check_avx): Likewise.
13540 * elf/tst-auditmod6b.c (check_avx): Likewise.
13541 * elf/tst-auditmod6c.c (check_avx): Likewise.
13542 * elf/tst-auditmod7b.c (check_avx): Likewise.
13543
70c6c246
UD
135442011-12-23 Ulrich Drepper <drepper@gmail.com>
13545
13546 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13547 !__SSE_MATH__.
13548
c044cf14
LD
135492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13550
15db4de1 13551 [BZ #13540]
c044cf14
LD
13552 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13553 processing for last bytes.
13554
6b13d9d9
BH
135552011-08-06 Bruno Haible <bruno@clisp.org>
13556
d455f537
BH
13557 [BZ #13061]
13558 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13559 U+0385, not to U+1FEE.
13560
6b13d9d9
BH
13561 [BZ #13062]
13562 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13563 entry for U+00A5 U+0301.
13564
db910efd
UD
135652011-12-22 Ulrich Drepper <drepper@gmail.com>
13566
27deeafc
UD
13567 [BZ #13166]
13568 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13569 buffer for the output is too small.
13570
aed9d171
UD
13571 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13572 optimization.
13573
db910efd
UD
13574 [BZ #13185]
13575 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13576 SSE flags if possible.
13577
2bd779ae
LD
135782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13579
e7f9dac3 13580 [BZ #13540]
2bd779ae
LD
13581 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13582 processing for last bytes.
13583
154bfc16
JM
135842011-12-22 Joseph Myers <joseph@codesourcery.com>
13585
13586 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13587 (syscall-list-default-options, syscall-list-default-condition)
13588 (syscall-list-includes): Define.
13589 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13590 list of ABIs and options and #if conditions for each ABI. Do not
13591 handle common syscalls between ABIs specially.
13592 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13593 Remove.
13594 (syscall-list-variants, syscall-list-32bit-options)
13595 (syscall-list-32bit-condition, syscall-list-64bit-options)
13596 (syscall-list-64bit-condition): Define.
13597 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13598 (syscall-list-variants, syscall-list-32bit-options)
13599 (syscall-list-32bit-condition, syscall-list-64bit-options)
13600 (syscall-list-64bit-condition): Define.
13601 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13602 Remove.
13603 (syscall-list-variants, syscall-list-32bit-options)
13604 (syscall-list-32bit-condition, syscall-list-64bit-options)
13605 (syscall-list-64bit-condition): Define.
13606 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13607 Remove.
13608 (syscall-list-variants, syscall-list-32bit-options)
13609 (syscall-list-32bit-condition, syscall-list-64bit-options)
13610 (syscall-list-64bit-condition): Define.
13611
21eaf3a5
UD
136122011-12-22 Ulrich Drepper <drepper@gmail.com>
13613
16c6f992
UD
13614 * locale/iso-639.def: Add brx entry.
13615
41043168
UD
13616 [BZ #13328]
13617 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13618 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13619
21eaf3a5
UD
13620 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13621 __feraiseexcept_renamed.
13622
e3a851a2
UD
136232011-12-21 Ulrich Drepper <drepper@gmail.com>
13624
4920765e
UD
13625 [BZ #13538]
13626 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13627 EPOLLET with unsigned values.
13628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13630
e3a851a2
UD
13631 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13632 to large cancellation.
13633 * math/s_cacoshf.c: Likewise.
13634 * math/s_cacoshl.c: Likewise.
13635
b27e24b8
RK
136362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13637
13638 [BZ #13305]
aebefeee 13639 [BZ #12786]
b27e24b8
RK
13640 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13641 * math/s_cacoshf.c: Likewise.
13642 * math/s_cacoshl.c: Likewise.
13643
ee190f67
UD
136442011-12-21 Ulrich Drepper <drepper@gmail.com>
13645
13646 [BZ #13439]
13647 * iconv/gconv.h: Define __GCONV_SWAP.
13648 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13649 * iconvdata/utf-16.c: Likewise.
13650 * iconvdata/utf-32.c: Likewise.
13651
707f25df
AS
136522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13653
13654 [BZ #13524]
13655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13656 numerator after shifting it by one limb.
13657
d2daaa1e
RÁE
136582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13659
13660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13661 under [__USE_EXTERN_INLINES].
13662
a4647e72
UD
136632011-12-17 Ulrich Drepper <drepper@gmail.com>
13664
13665 [BZ #13446]
13666 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13667
f0b264f1
AZ
136682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13669
13670 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13671 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13672 optimized code.
13673 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13674 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13675 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13676 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13677 for strncasecmp/strncasecmp_l compilation.
13678 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13679 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13680
8ef4f244
MP
136812011-12-08 Marek Polacek <mpolacek@redhat.com>
13682
13683 [BZ #13484]
13684 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13685 of __asm__.
13686
97ac2654
UD
136872011-12-17 Ulrich Drepper <drepper@gmail.com>
13688
13689 [BZ #13506]
13690 * time/tzfile.c (__tzfile_read): Check values from file header.
13691
91d2a845
WS
136922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13693
13694 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13695 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13696 * powerpc/powerpc32/dl-start.S: Likewise.
13697 * powerpc/powerpc32/elf/start.S: Likewise.
13698 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13699 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13700 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13701 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13702 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13703 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13704 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13705 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13706 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13707 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13708 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13709 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13710 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13711 * powerpc/powerpc32/memset.S: Likewise.
13712 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13713 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13714 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13715 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13716 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13717 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13718 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13719 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13720 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13721 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13722 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13723 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13724 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13725
a1267ba1
AZ
137262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13727
13728 * math/libm-test.inc: Added more nearbyint tests.
13729 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13731 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13733
ad8ac1bd
RL
137342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13735
13736 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13737 FD_CLOEXEC.
13738
1d3e4b61
UD
137392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13740
13741 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13742 Add wcscpy-ssse3 wcscpy-c.
13743 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13744 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13745 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13746 * sysdeps/x86_64/wcschr.S: New file.
13747 * sysdeps/x86_64/wcsrchr.S: New file.
13748 * string/test-strcmp.c: Remove checking of wcscmp function for
13749 wrong alignments.
13750 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13751 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13752 wcsrchr-sse2 wcsrchr-c.
13753 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13754 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13755 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13756 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13757 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13758 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13759 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13760 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13761 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13762 * wcsmbc/wcschr.c (WCSCHR): New macro.
13763
5b330a2d
UD
137642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13765
13766 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13767 * wcsmbs/test-wcsrchr.c: New file.
13768 * string/test-strrchr.c: Add wcsrchr support.
13769 (WIDE): New macro.
13770 * wcsmbs/test-wcscpy.c: New file.
13771 * string/test-strcpy.c: Add wcscpy support.
13772 (WIDE): New macro.
26428b7c 13773
f039c043
UD
137742011-12-10 Ulrich Drepper <drepper@gmail.com>
13775
13776 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13777 the inner loop.
13778
850fb039
AS
137792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13780
13781 [BZ #13472]
13782 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13783
4efbd5cb
UD
137842011-12-04 Ulrich Drepper <drepper@gmail.com>
13785
52ff5dd0 13786 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13787 Minor optimizations.
52ff5dd0 13788
4efbd5cb
UD
13789 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13790 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13791 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13792
8a426e12
UD
137932011-12-03 Ulrich Drepper <drepper@gmail.com>
13794
aff2453d
UD
13795 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13796 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13797 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13798 for gcc to avoid warnings.
13799 * inet/Makefile (tests): Add tst-checks.
13800 * inet/tst-checks.c: New file.
13801
13802 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13803 warning.
13804
13805 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13806 __wmemcmp_sse2.
13807
13808 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13809 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13810
8a426e12
UD
13811 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13812
9bea3473
UD
138132011-12-02 Ulrich Drepper <drepper@gmail.com>
13814
3a965496
UD
13815 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13816 problem.
13817
9bea3473
UD
13818 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13819
f101631b
UD
138202011-11-29 Joseph Myers <joseph@codesourcery.com>
13821
13822 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13823 conditional on GCC version.
13824 (__arch_compare_and_exchange_val_8_acq)
13825 (__arch_compare_and_exchange_val_16_acq)
13826 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13827 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13828 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13829
a98275aa
UD
138302011-12-02 Joseph Myers <joseph@codesourcery.com>
13831
13832 * sysdeps/sh/backtrace.c: New file.
13833
d4cc29a2
AS
138342011-12-02 Andreas Schwab <schwab@redhat.com>
13835
13836 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13837 parenthesis.
13838
6257af2d
AS
138392011-12-01 Andreas Schwab <schwab@redhat.com>
13840
13841 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13842 falling back to utime.
13843
b5f44c1a
AS
138442011-11-30 Andreas Schwab <schwab@redhat.com>
13845
13846 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13847 expectations for float.
13848
f3a6cc0a
AS
138492011-11-29 Andreas Schwab <schwab@redhat.com>
13850
13851 * locale/weight.h (findidx): Add parameter len.
13852 * locale/weightwc.h (findidx): Likewise.
13853 * posix/fnmatch_loop.c (FCT): Adjust caller.
13854 * posix/regcomp.c (build_equiv_class): Likewise.
13855 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13856 * posix/regexec.c (check_node_accept_bytes): Likewise.
13857 * string/strcoll_l.c (STRCOLL): Likewise.
13858 * string/strxfrm_l.c (STRXFRM): Likewise.
13859
9d65ea3a
UD
138602011-11-17 Ulrich Drepper <drepper@gmail.com>
13861
13862 * Makefile.in: Remove CVSOPT handling.
13863 * configure.in: Remove use of AC_REVISION.
13864 * iconvdata/Makefile (distribute): No need to filter out CVS.
13865 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13866 handling.
13867
5583a086
AS
138682011-11-16 Andreas Schwab <schwab@redhat.com>
13869
13870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13871 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13872 [USE_AS_STRNCASECMP_L]: Likewise.
13873 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13874 NO_TLS_DIRECT_SEG_REFS.
13875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13876 Fix argument offsets for non-PIC.
13877 [USE_AS_STRNCASECMP_L]: Likewise.
13878 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13879 NO_TLS_DIRECT_SEG_REFS.
13880
d62a8200
UD
138812011-11-15 Ulrich Drepper <drepper@gmail.com>
13882
9d65ea3a 13883 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13884 O_CLOEXEC.
13885 * locale/loadlocale.c (_nl_load_locale): Likewise.
13886
09f93bd3
AS
138872011-11-15 Andreas Schwab <schwab@redhat.com>
13888
446514f9
AS
13889 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13890 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13891 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13892 (SYSCALL_GETTIME): Set errno on error.
13893
09f93bd3
AS
13894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13895 count references to noai6ai_cached.
13896
312be3f9
UD
138972011-11-15 Ulrich Drepper <drepper@gmail.com>
13898
13899 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13900
13901 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13902 FD_CLOEXEC for /proc/self/maps.
13903
13904 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13905 FD_CLOEXEC for /proc/meminfo.
13906
13907 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13908 gai.conf.
13909
13910 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13911 FD_CLOEXEC for given file.
13912
13913 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13914
13915 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13916 FD_CLOEXEC for /etc/hosts.
13917 (_gethtent): Likewise.
13918
13919 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13920
13921 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13922 cancellation and set FD_CLOEXEC for /etc/netgroup.
13923
13924 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13925 reading /etc/publickey.
13926
13927 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13928 allow cancellation when reading /etc/group.
13929
13930 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13931 cancellation.
13932 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13933
13934 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13935 when using data file.
13936
13937 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13938
13939 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13940 (write_nis_obj): Use "c" and "e" in fopen.
13941
13942 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13943
13944 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13945
13946 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13947
13948 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13949
13950 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13951 locale.alias.
13952
13953 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13954
13955 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13956
13957 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13958
13959 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13960 file parsing and set FD_CLOEXEC.
13961
82af0fa8
UD
139622011-11-14 Ulrich Drepper <drepper@gmail.com>
13963
13964 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13965
a5fb313c
AS
139662011-11-14 Andreas Schwab <schwab@redhat.com>
13967
13968 * malloc/arena.c (arena_get2): Don't call reused_arena when
13969 _int_new_arena failed.
13970
6abf3465
UD
139712011-11-14 Ulrich Drepper <drepper@gmail.com>
13972
13973 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13974 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13975 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13978 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13979 to compile strcasecmp and strncasecmp.
13980 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13981 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
13982
13983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
13984
76e3966e
UD
139852011-11-13 Ulrich Drepper <drepper@gmail.com>
13986
13987 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
13988 locale-defines.sym to gen-as-const-headers.
13989 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
13990 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
13991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
13992 to compile strcasecmp and strncasecmp.
13993 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
13994 strcasecmp_l and strncasecmp_l.
13995 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
13996 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
13997 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
13998 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
13999 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14000 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14001 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14002 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14003 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14004 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14005 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14006
ab26144e
UD
140072011-11-12 Ulrich Drepper <drepper@gmail.com>
14008
7edb22ef
UD
14009 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14010 result of SYSDEP_GETTIME_CPU to retval.
14011 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14012 parameter list to macro. Remove trailing semicolon. Adjust users.
14013
9694fc44
UD
14014 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14015 variable.
14016
8ad89ef8
UD
14017 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14018 mantissa words.
14019 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14020
0c822ef9
UD
14021 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14022 from unused variable.
14023
874e0564
UD
14024 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14025 DWARF definitions.
14026 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14027 for assembling.
14028
3a2edc79
UD
14029 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14030 over namespaces.
14031
f3c2577f
UD
14032 * sunrpc/rpc_prot.c (rejected): Fix case value.
14033
294ce126
UD
14034 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14035 unsigned long long int to avoid warnings in shift.
14036
5e2b63c6
UD
14037 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14038 of use of trans.
14039 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14040 variable tmp.
14041
e7f4b08e
UD
14042 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14043 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14044 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14045
ab26144e
UD
14046 * nis/nis_table.c (nis_list): Use variable of correct type for
14047 result of __follow_path call.
14048
8a6d5255
AZ
140492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050
14051 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14052 of math functions ceil, trunc, floor, round, and sqrt, when
14053 avaliable on the platform.
14054 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14055 name clash.
14056 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14057 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14058 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14059
aaddc98c
MP
140602011-10-30 Marek Polacek <mpolacek@redhat.com>
14061
14062 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14063 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14064
95b7042b
RM
140652011-11-11 Roland McGrath <roland@hack.frob.com>
14066
14067 * include/unistd.h: Fix __readlink return type.
14068 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14069
57769839
UD
140702011-11-11 Ulrich Drepper <drepper@gmail.com>
14071
14072 * stdlib/ucontext.h: Undo last change for makecontext.
14073
edc5984d
AS
140742011-11-11 Andreas Schwab <schwab@redhat.com>
14075
98591e58
AS
14076 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14077
edc5984d
AS
14078 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14079 * setjmp/setjmp.h: Mark functions as non-leaf.
14080 * setjmp/bits/setjmp2.h: Likewise.
14081 * stdlib/ucontext.h: Likewise.
14082
77cdc054
AS
140832011-11-10 Andreas Schwab <schwab@redhat.com>
14084
14085 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14086 (reused_arena): Don't check arena limit.
14087 (arena_get2): Atomically check arena limit.
14088
fe72eebd
UD
140892011-11-08 Ulrich Drepper <drepper@gmail.com>
14090
5f078c32
UD
14091 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14092 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14093
fe72eebd
UD
14094 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14095 instructions.
14096
ae1bc2fa
AS
140972011-11-07 Andreas Schwab <schwab@redhat.com>
14098
7583a88d
AS
14099 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14100 handler when locking.
14101
ae1bc2fa
AS
14102 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14103 Fix size of allocated buffer.
14104
10fb0bfa
AS
141052011-11-04 Andreas Schwab <schwab@redhat.com>
14106
998832a4
AS
14107 [BZ #10103]
14108 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14109 declarations for long double functions.
14110 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14111
10fb0bfa
AS
14112 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14113
3d7ba52b
AS
141142011-11-03 Andreas Schwab <schwab@redhat.com>
14115
a9ae54a1
AS
14116 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14117 installed.
14118
3d7ba52b
AS
14119 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14120 is disabled.
14121
bc8db248
ST
141222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14123
14124 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14125
45b96dd6
AS
141262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14127
647776f6
AS
14128 * include/alloca.h (stackinfo_alloca_round): Define.
14129 (extend_alloca): Use it.
14130 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14131 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14132 here.
14133
d91a8b93
AS
14134 * scripts/check-local-headers.sh: Ignore libaudit.h.
14135
45b96dd6
AS
14136 * nscd/Makefile (extra-objs): Make recursively expanded.
14137
432d41ce
UD
141382011-11-01 Ulrich Drepper <drepper@gmail.com>
14139
34372fc6
UD
14140 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14142
fadb59f8
UD
14143 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14144 * posix/tst-rfc3484-2.c: Likewise.
14145 * posix/tst-rfc3484-3.c: Likewise.
14146
78239589
UD
14147 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14148 process_vm_writev.
14149 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14150 process_vm_writev.
14151 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14152 process_vm_writev from libc using GLIBC_2.15 version.
14153
432d41ce
UD
14154 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14155
02f9c6cf
PP
141562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14157
14158 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14159 stack usage.
14160
3a2c0242
UD
141612011-10-31 Ulrich Drepper <drepper@gmail.com>
14162
f4ec4833
UD
14163 [BZ #13367]
14164 * nss/getent.c (initgroups_keys): Show error message in case no group
14165 names are given.
14166
3a2c0242
UD
14167 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14168 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14169 __bump_nl_timestamp.
14170 * nscd/connections (nscd_init): When host database is served open
14171 netlink socket and request notification about configuration changes.
14172 (main_loop_poll): Track netlink file descriptor and bump timestamp
14173 in case data becomes available.
14174 (main_loop_epoll): Likewise.
14175 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14176 (database_pers_head): Add extra_data fileds.
14177 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14178 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14179 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14180 Adjust caller.
14181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14182 in6ai data, call __free_in6ai.
14183 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14184 Add -DHAVE_NETLINK.
14185 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14186 interface information. Reuse previous data if netlink timestamp
14187 is not changed.
14188 (__bump_nl_timestamp): New function.
14189 (__free_in6ai): New function.
14190
636064eb
UD
141912011-10-30 Ulrich Drepper <drepper@gmail.com>
14192
14193 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14194 close_not_cancel_no_status here.
14195 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14196
9beb2334
UD
141972011-10-29 Ulrich Drepper <drepper@gmail.com>
14198
6ef76f3b
UD
14199 [BZ #13276]
14200 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14201 return value.
14202
0ffc4f3e 14203 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14204 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14205 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14206
cb95113e
UD
142072011-07-03 Andreas Jaeger <aj@suse.de>
14208
14209 [BZ #10709]
14210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14211 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14212 * math/libm-test.inc (sin_test): Add test case.
14213
a1b560ff
UD
142142011-10-29 Ulrich Drepper <drepper@gmail.com>
14215
c9aaface
UD
14216 [BZ #13337]
14217 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14218 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14219
d272e7f1
UD
14220 * elf/chroot_canon.c (chroot_canon): Cleanups.
14221
1bc33071
UD
14222 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14223
1760874d
TJ
14224 [BZ #13335]
14225 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14226 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14227
51d91b18
UD
14228 * string/test-strchr.c: Make usable for strchrnul testing.
14229 * string/test-strchrnul.c: New file.
14230 * string/Makefile (strop-tests): Add strchrnul.
14231
a1b560ff 14232 * po/it.po: Update from translation team.
b611fb81 14233 * po/es.po: Likewise.
a1b560ff 14234
a5b81e1f
UD
142352011-10-28 Ulrich Drepper <drepper@gmail.com>
14236
fd52bc6d
UD
14237 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14238 the three constants needed as parameters. Drop the others.
14239 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14240 __m128i_strloadu_tolower.
52e4b9eb
UD
14241 Create and initialize variable zero and use it in all the places
14242 where _mm_setzero_si128 was used.
fd52bc6d 14243
a5b81e1f
UD
14244 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14245 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14246 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14247 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14248 anymore.
14249 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14250 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14251 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14252 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14253 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14254 __mpranred, __mptan.
14255 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14256 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14257 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14258 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14259 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14260 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14261 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14262 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14263 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14264
b4343346
AS
142652011-10-28 Andreas Schwab <schwab@redhat.com>
14266
0c92d8a8
AS
14267 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14268 redefine if SHARED.
14269 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14270
b4343346
AS
14271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14272 wide char related routines to wcsmbs subdir.
14273
3871f58f
AS
142742011-10-27 Andreas Schwab <schwab@redhat.com>
14275
14276 [BZ #13344]
14277 * misc/sys/cdefs.h (__THROWNL): Define.
14278 * posix/unistd.h: Use __THREADNL instead of __THREAD
14279 for memory synchronization functions.
14280
94d44d9f
RM
142812011-10-26 Roland McGrath <roland@hack.frob.com>
14282
21b64b15 14283 [BZ #13349]
94d44d9f
RM
14284 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14285 doesn't exist.
14286 * manual/stdio.texi (Obstack Streams): Node removed.
14287
f6ce9294
AS
142882011-10-26 Andreas Schwab <schwab@redhat.com>
14289
80479147
AS
14290 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14291 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14293
f6ce9294
AS
14294 * math/math_private.h (math_force_eval): Allow non-addressable
14295 arguments.
14296 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14297
618280a1
UD
142982011-10-25 Ulrich Drepper <drepper@gmail.com>
14299
e0016b11
UD
14300 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14301 file is not needed.
14302
14303 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14304 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14305 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14306 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14307 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14308 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14309 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14310 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14311 Add AVX variants.
14312 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14313 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14314 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14315 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14316 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14317 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14318 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14319 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14320 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14321 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14322 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14323 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14324 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14325 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14326 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14327 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14328 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14329 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14330 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14331
14332 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14333 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14334
618280a1
UD
14335 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14336 place. Use VEX encoding when compiling for AVX.
14337
37822576
AS
143382011-10-25 Andreas Schwab <schwab@redhat.com>
14339
1f1e1947
AS
14340 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14341 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14342
37822576
AS
14343 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14344
31ea014d
UD
143452011-10-25 Ulrich Drepper <drepper@gmail.com>
14346
d7826aa1 14347 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14348 useless if() expression.
d7826aa1
UD
14349 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14358 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14359 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14360 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14361 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14362 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14363 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14364 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14365 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14368
31ea014d
UD
14369 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14370
16437fec
AS
143712011-10-25 Andreas Schwab <schwab@redhat.com>
14372
14373 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14374 condition.
14375 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14376
31d3cc00
UD
143772011-10-25 Ulrich Drepper <drepper@gmail.com>
14378
14379 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14380 .text section. Avoid duplicate constants.
14381 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14382 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14383 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14386 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14387 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14389 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14391 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14393 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14396 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14398 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14404 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14405 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14406 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14407 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14408 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14410 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14411 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14412 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14413 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14414 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14415 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14416 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14417 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14419 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14420 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14421 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14422 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14423 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14424 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14426
58985aa9
UD
144272011-10-24 Ulrich Drepper <drepper@gmail.com>
14428
202c9deb
UD
14429 * sysdeps/x86_64/dla.h: Move to ...
14430 * sysdeps/x86_64/fpu/dla.h: ...here.
14431 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14432 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14433
af968f62
UD
14434 * config.make.in: Add have-mfma4 entry.
14435 * configure.in: Substitute libc_cv_cc_fma4.
14436 * math/Makefile (dbl-only-routines): Add sincostab.
14437 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14438 Use __sincostab not sincos.
14439 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14440 name is a macro.
14441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14445 using __copysign.
14446 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14447 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14448 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14449 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14450 and __inv.
14451 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14452 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14453 __copysign.
14454 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14455 define aliases when function name is a macro.
14456 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14457 sysdeps/ieee754/dbl-64/sincos.tbl.
14458 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14459 fma4-enabled routines.
14460 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14461 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14462 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14463 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14464 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14465 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14466 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14467 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14469 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14470 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14471 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14472 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14473 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14474 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14475 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14476 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14477 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14478 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14479 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14480 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14481 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14482 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14483 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14487 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14488 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14489 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14490
58985aa9
UD
14491 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14492 rename.
14493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14501
a201fbcf
AS
145022011-10-24 Andreas Schwab <schwab@redhat.com>
14503
14504 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14505
fc2ee42a
LD
145062011-10-23 Ulrich Drepper <drepper@gmail.com>
14507
bb3129bd
UD
14508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14509
0275fff8
UD
14510 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14511 prediction.
14512 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14513
2fa2ae85
UD
14514 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14515 Remove unused variable magic_bits.
14516 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14517
fc2ee42a
LD
14518 * string/strnlen.c: Define and use STRNLEN macro.
14519 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14520 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14521 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14522 * wcsmbs/wcslen.c: Define and use WCSLEN.
14523 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14524 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14525 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14526 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14527 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14528 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14529 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14530
ce7dd29f
LD
145312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14532
14533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14534 strnlen-sse2-no-bsf.
14535 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14537 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14538 Add strnlen support.
14539 (USE_AS_STRNLEN): New macro.
14540 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14541 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14542 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14543 * sysdeps/x86_64/wcslen.S: New file.
14544
979c70a3
MZ
145452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14546
14547 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14548 XMM-moves are used for copying on small sizes.
14549
2d09f82f
LD
145502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14551
14552 * wcsmbs/Makefile (strop-tests): Add wcschr.
14553 * wcsmbs/test-wcschr.c: New file.
14554 * string/test-strchr.c: Update.
14555 Add wcschr support.
14556 (WIDE): New macro.
14557
619fccca
LD
145582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14559
2d09f82f 14560 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14561 * wcsmbs/test-wcslen.c: New file.
14562 * string/test-strlen.c: Update.
14563 Add wcslen support.
14564 (WIDE): New macro.
14565
09f699ea
UD
145662011-10-23 Ulrich Drepper <drepper@gmail.com>
14567
14568 * po/it.po: Update from translation team.
14569
95584d3b
LD
145702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14571
14572 * sysdeps/x86_64/wcscmp.S: Update.
14573 Fix wrong comparison semantics.
14574 wcscmp shall use signed comparison not unsigned.
14575 Don't use substraction to avoid overflow bug.
14576 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14577 * wcsmbc/wcscmp.c: Likewise.
14578 * string/test-strcmp.c: Likewise.
14579 Add new tests to check cases with negative values.
14580
c8b3296b
UD
145812011-10-23 Ulrich Drepper <drepper@gmail.com>
14582
14583 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14584 * sysdeps/x86_64/dla.h: ...here. New file.
14585 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14586 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14594
246ad57a
AS
145952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14596
14597 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14598 __ynl_finite aliases.
14599
a1a87169
UD
146002011-10-22 Ulrich Drepper <drepper@gmail.com>
14601
0d355eb7
UD
14602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14603
a1a87169
UD
14604 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14605 define DLA_FMA.
14606 [DLA_FMA] (EMULV): Use DLA_FMA.
14607 [DLA_FMA] (MUL12): Use EMULV.
14608 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14609 that are not needed.
14610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14614 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14615 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14616 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14617
ee2aafe0
AS
146182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * math/s_nan.c: Undef __nan.
14621 * math/s_nanf.c: Undef __nanf.
14622 * math/s_nanl.c: Undef __nanl.
14623 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14624 "math_private.h".
14625
bc62c2fb
UD
146262011-10-22 Ulrich Drepper <drepper@gmail.com>
14627
77425c63
UD
14628 * math/s_catan.c: Add branch predictions.
14629 * math/s_catanf.c: Likewise.
14630 * math/s_catanh.c: Likewise.
14631 * math/s_catanhf.c: Likewise.
14632 * math/s_catanhl.c: Likewise.
14633 * math/s_catanl.c: Likewise.
14634 * math/s_cexp.c: Likewise.
14635 * math/s_cexpf.c: Likewise.
14636 * math/s_cexpl.c: Likewise.
14637 * math/s_clog.c: Likewise.
14638 * math/s_clog10.c: Likewise.
14639 * math/s_clog10f.c: Likewise.
14640 * math/s_clog10l.c: Likewise.
14641 * math/s_clogf.c: Likewise.
14642 * math/s_clogl.c: Likewise.
14643 * math/s_csqrt.c: Likewise.
14644 * math/s_csqrtf.c: Likewise.
14645 * math/s_csqrtl.c: Likewise.
14646 * math/s_ctanf.c: Likewise.
14647 * math/s_ctanh.c: Likewise.
14648 * math/s_ctanhf.c: Likewise.
14649 * math/s_ctanhl.c: Likewise.
14650 * math/s_ctanl.c: Likewise.
14651
bc62c2fb
UD
14652 * math/math_private.h: Define __nan, __nanf, __nanl.
14653 * math/s_cacosh.c: Include <math_private.h>.
14654 * math/s_cacoshl.c: Likewise.
14655 * math/s_casinh.c: Likewise.
14656 * math/s_casinhf.c: Likewise.
14657 * math/s_casinhl.c: Likewise.
14658 * math/s_ccos.c: Rely entire on ccosh.
14659 * math/s_ccosf.c: Rely entire on ccoshf.
14660 * math/s_ccosl.c: Rely entirely on ccoshl.
14661 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14662 Remove tests for FE_INVALID.
14663 * math/s_ccoshf.c: Likewise.
14664 * math/s_ccoshl.c: Likewise.
14665 * math/s_csin.c: Likewise.
14666 * math/s_csinf.c: Likewise.
14667 * math/s_csinh.c Likewise.
14668 * math/s_csinhf.c: Likewise.
14669 * math/s_csinhl.c: Likewise.
14670 * math/s_csinl.c: Likewise.
14671 * math/s_ctan.c: Likewise.
14672 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14673 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14674 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14675
8ec250a4
UD
146762011-10-21 Ulrich Drepper <drepper@gmail.com>
14677
c196fed8
UD
14678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14679 compilation problems.
14680
8ec250a4
UD
14681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14682 __builtin_expect.
14683
8d4f46c6
UD
146842011-10-20 Ulrich Drepper <drepper@gmail.com>
14685
ed72b654
UD
14686 * sysdeps/i386/configure.in: Test for -mfma4 option.
14687 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14688 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14689 COMMON_CPUID_INDEX_80000001.
14690 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14691 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14692 use it if FMA3 is not supported.
14693 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14694
8d4f46c6
UD
14695 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14696 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14697
d45c60c2
AS
146982011-10-20 Andreas Schwab <schwab@redhat.com>
14699
14700 [BZ #12892]
14701 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14702 it would create a cycle with a link time dependency.
14703
d9a4d2ab
UD
147042011-10-19 Ulrich Drepper <drepper@gmail.com>
14705
855d1560
UD
14706 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14707 instruction.
14708 * string/Makefile (strop-tests): Add rawmemchr.
14709 * string/test-rawmemchr.c: New file.
14710
d9a4d2ab
UD
14711 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14712 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14713 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14714 when compiling str{,n}casecmp and when AVX is available. Hook up
14715 new optimized code in initializers.
14716
8f3b1ffe
AS
147172011-10-19 Andreas Schwab <schwab@redhat.com>
14718
14719 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14720 __feraiseexcept instead of feraiseexcept.
14721
d38f1dba
UD
147222011-10-18 Ulrich Drepper <drepper@gmail.com>
14723
d9a8d0ab
UD
14724 * math/math_private.h: Define defaults for libc_fetestexcept and
14725 libc_feupdateenv.
14726 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14727 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14728 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14729 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14730 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14731 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14732 libc_fetestexcept and libc_feupdateenv.
14733
4855e3dd
UD
14734 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14735 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14736 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14737 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14738 libc_feholdexcept_setround.
14739
581d30e3
UD
14740 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14741 Add s_nearbyint-c and s_nearbyintf-c.
14742 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14743 nearbyintf inlines.
14744 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14745 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14746 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14747 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14748
d38f1dba
UD
14749 * math/math_private.h: Define defaults for libc_fegetround,
14750 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14751 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14752 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14753 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14754 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14755 standard functions.
14756 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14757 Remove comments and hacks for old compiler versions.
14758 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14759 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14760 libc_feholdexceptl.
14761
caa6c9d8
AS
147622011-10-18 Andreas Schwab <schwab@redhat.com>
14763
14764 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14765 (__feraiseexcept_renamed): Add __NTH.
14766 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14767 namespace violations.
14768
97c066e6
UD
147692011-10-17 Ulrich Drepper <drepper@gmail.com>
14770
99ce7b04
UD
14771 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14772
1004d182
UD
14773 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14774
228a984d
UD
14775 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14776 recently added interfaces.
14777 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14778
c8553a6a
UD
14779 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14780 about macro parameter expansion.
14781
ed22dcf6
UD
14782 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14783 __NO_MATH_INLINES is defined. Cleanups.
14784
14785 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14786 and __floorf is target has SSE4.1.
14787 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14788 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14789 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14790 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14791
b171c137
UD
14792 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14793 name.
14794 (floorf): Likewise.
14795
97c066e6
UD
14796 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14797
629f62ef
AS
147982011-10-17 Andreas Schwab <schwab@redhat.com>
14799
49a43d80
AS
14800 * misc/sys/cdefs.h: Fix last change.
14801
629f62ef
AS
14802 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14803 database lookup.
14804
e453f6cd
UD
148052011-10-16 Ulrich Drepper <drepper@gmail.com>
14806
aa78043a
UD
14807 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14808
ad0f5cad
UD
14809 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14815 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14816 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14817 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14818 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14819 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14820 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14821 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14822 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14823 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14824 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14825 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14826 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14827 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14828 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14829 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14830 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14831
14832 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14833 ceil, ceilf, floor, floorf.
14834
14835 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14836 Perform IRELATIVE relocations last.
14837
e453f6cd
UD
14838 * elf/do-rel.h: Add another parameter nrelative, replacing the
14839 local variable with the same name. Change name of the function
14840 to end in Rel or Rela (uppercase).
14841 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14842 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14843 elf_dynamic_do_##reloc function.
14844
fd5bdc09
UD
148452011-10-15 Ulrich Drepper <drepper@gmail.com>
14846
79b195b5
UD
14847 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14848 is sufficient, at least on modern CPUs.
14849
d4a28569
UD
14850 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14851
b61099b5
UD
14852 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14854
bcf01e6d
UD
14855 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14856 __expl_finite.
14857 * math/bits/math-finite.h: Add entries for exp.
14858 * math/e_expl.c: Add __*_finite alias.
14859 * sysdeps/i386/fpu/e_exp.S: Likewise.
14860 * sysdeps/i386/fpu/e_expf.S: Likewise.
14861 * sysdeps/i386/fpu/e_expl.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14864 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14867 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14868 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14869
ba1a0d59
UD
14870 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14871 is sufficient, at least on modern CPUs.
14872
fd5bdc09
UD
14873 * ctype/ctype-info.c (__ctype_init): Define.
14874 * include/ctype.h (__ctype_init): Declare.
14875 (__ctype_b_loc): The variable is always initialized.
14876 (__ctype_toupper_loc): Likewise.
14877 (__ctype_tolower_loc): Likewise.
14878 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14879 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14880
7872cfb0
AS
148812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14882
b468825a
AS
14883 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14884
7872cfb0
AS
14885 * configure.in: Also look in $cxxmachine/include for C++ system
14886 headers.
14887
be13f7bf
LD
148882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14889
14890 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14891 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14892 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14893 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14894 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14895 (USE_AS_WMEMCMP): New macro.
14896 Fixing indents.
14897 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14898 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14899 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14900 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14902 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14903 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14904 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14905 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14906 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14907 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14908 (USE_AS_WMEMCMP): New macro.
14909 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14910 * sysdeps/string/test-memcmp.c: Update.
14911 Fix simple_wmemcmp.
14912 Add new tests.
14913 * wcsmbs/wmemcmp.c: Update.
14914 (WMEMCMP): New macro.
14915 Fix overflow bug.
14916
556a2007
AJ
149172011-10-12 Andreas Jaeger <aj@suse.de>
14918
14919 [BZ #13268]
14920 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14921
538faaa7
UD
149222011-10-15 Ulrich Drepper <drepper@gmail.com>
14923
ab6737ff
UD
14924 * libio/iofwide.c (do_length): Avoid warning.
14925
538faaa7
UD
14926 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14927
396a21b1
UD
149282011-10-14 Ulrich Drepper <drepper@gmail.com>
14929
cdf2901f
UD
14930 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14931
38ad40ce
UD
14932 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14933 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14934 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14935 * sysdeps/i386/i686/fpu/e_log.S: New file.
14936 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14937 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14938
396a21b1
UD
14939 * ctype/ctype.h: Add support for inlined isXXX functions when
14940 compiling C++ code.
14941
6b1f68c9
AS
149422011-10-14 Andreas Schwab <schwab@redhat.com>
14943
349290c0
AS
14944 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14945
6b1f68c9
AS
14946 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14947
f2282d42
RM
149482011-10-13 Roland McGrath <roland@hack.frob.com>
14949
14950 [BZ #13291]
14951 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14952
5298ffa8
AS
149532011-10-13 Andreas Schwab <schwab@redhat.com>
14954
714fad23
AS
14955 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14956 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14957 feraiseexcept.
14958
81dcc7fb
AS
14959 * sysdeps/x86_64/memrchr.S: Check for zero size.
14960
5298ffa8
AS
14961 * string/stratcliff.c: Add memrchr tests.
14962
951fbcec
LD
149632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14964
14965 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14966 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14967 rawmemchr-sse2 rawmemchr-sse2-bsf.
14968 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14969 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14970 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14971 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14972 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14973 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14974 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14975 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14976 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14977 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14978 * string/memrchr.c (MEMRCHR): New macro.
14979
0ac5ae23
UD
149802011-10-12 Ulrich Drepper <drepper@gmail.com>
14981
14982 Add integration with gcc's -ffinite-math-only and optimize wrapper
14983 functions in libm.
14984 * Versions.def: Define GLIBC_2.15 version for libm.
14985 * math/Makefile (headers): Add bits/math-finite.h.
14986 * math/bits/math-finite.h: New file.
14987 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
14988 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
14989 * math/e_acoshl.c: Add __*_finite alias.
14990 * math/e_acosl.c: Likewise.
14991 * math/e_asinl.c: Likewise.
14992 * math/e_atan2l.c: Likewise.
14993 * math/e_atanhl.c: Likewise.
14994 * math/e_coshl.c: Likewise.
14995 * math/e_exp10.c: Likewise.
14996 * math/e_exp10f.c: Likewise.
14997 * math/e_exp10l.c: Likewise.
14998 * math/e_exp2l.c: Likewise.
14999 * math/e_fmodl.c: Likewise.
15000 * math/e_gammal_r.c: Likewise.
15001 * math/e_hypotl.c: Likewise.
15002 * math/e_j0l.c: Likewise.
15003 * math/e_j1l.c: Likewise.
15004 * math/e_jnl.c: Likewise.
15005 * math/e_lgammal_r.c: Likewise.
15006 * math/e_log10l.c: Likewise.
15007 * math/e_log2l.c: Likewise.
15008 * math/e_logl.c: Likewise.
15009 * math/e_powl.c: Likewise.
15010 * math/e_sinhl.c: Likewise.
15011 * math/e_sqrtl.c: Likewise.
15012 * math/e_scalb.c: Completely rewritten and optimized.
15013 * math/e_scalbf.c: Likewise.
15014 * math/e_scalbl.c: Likewise.
15015 * math/w_acos.c: Likewise.
15016 * math/w_acosf.c: Likewise.
15017 * math/w_acosl.c: Likewise.
15018 * math/w_acosh.c: Likewise.
15019 * math/w_acoshf.c: Likewise.
15020 * math/w_acoshl.c: Likewise.
15021 * math/w_asin.c: Likewise.
15022 * math/w_asinf.c: Likewise.
15023 * math/w_asinl.c: Likewise.
15024 * math/w_atan2.c: Likewise.
15025 * math/w_atan2f.c: Likewise.
15026 * math/w_atan2l.c: Likewise.
15027 * math/w_atanh.c: Likewise.
15028 * math/w_atanhf.c: Likewise.
15029 * math/w_atanhl.c: Likewise.
15030 * math/w_exp10.c: Likewise.
15031 * math/w_exp10f.c: Likewise.
15032 * math/w_exp10l.c: Likewise.
15033 * math/w_fmod.c: Likewise.
15034 * math/w_fmodf.c: Likewise.
15035 * math/w_fmodl.c: Likewise.
15036 * math/w_j0.c: Likewise.
15037 * math/w_j0f.c: Likewise.
15038 * math/w_j0l.c: Likewise.
15039 * math/w_j1.c: Likewise.
15040 * math/w_j1f.c: Likewise.
15041 * math/w_j1l.c: Likewise.
15042 * math/w_jn.c: Likewise.
15043 * math/w_jnf.c: Likewise.
15044 * math/w_log.c: Likewise.
15045 * math/w_logf.c: Likewise.
15046 * math/w_logl.c: Likewise.
15047 * math/w_log10.c: Likewise.
15048 * math/w_log10f.c: Likewise.
15049 * math/w_log10l.c: Likewise.
15050 * math/w_log2.c: Likewise.
15051 * math/w_log2f.c: Likewise.
15052 * math/w_log2l.c: Likewise.
15053 * math/w_pow.c: Likewise.
15054 * math/w_powf.c: Likewise.
15055 * math/w_powl.c: Likewise.
15056 * math/w_remainder.c: Likewise.
15057 * math/w_remainderf.c: Likewise.
15058 * math/w_remainderl.c: Likewise.
15059 * math/w_scalb.c: Likewise.
15060 * math/w_scalbf.c: Likewise.
15061 * math/w_scalbl.c: Likewise.
15062 * math/w_sqrt.c: Likewise.
15063 * math/w_sqrtf.c: Likewise.
15064 * math/w_sqrtl.c: Likewise.
15065 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15066 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15067 used.
15068 * math/math_private.h: Declare __kernel_standard_f.
15069 * math/w_cosh.c: Remove cruft and optimize a bit.
15070 * math/w_coshf.c: Likewise.
15071 * math/w_coshl.c: Likewise.
15072 * math/w_exp2.c: Likewise.
15073 * math/w_exp2f.c: Likewise.
15074 * math/w_exp2l.c: Likewise.
15075 * math/w_hypot.c: Likewise.
15076 * math/w_hypotf.c: Likewise.
15077 * math/w_hypotl.c: Likewise.
15078 * math/w_lgamma.c: Likewise.
15079 * math/w_lgamma_r.c: Likewise.
15080 * math/w_lgammaf.c: Likewise.
15081 * math/w_lgammaf_r.c: Likewise.
15082 * math/w_lgammal.c: Likewise.
15083 * math/w_lgammal_r.c: Likewise.
15084 * math/w_sinh.c: Likewise.
15085 * math/w_sinhf.c: Likewise.
15086 * math/w_sinhl.c: Likewise.
15087 * math/w_tgamma.c: Likewise.
15088 * math/w_tgammaf.c: Likewise.
15089 * math/w_tgammal.c: Likewise.
15090 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15091 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15092 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15093 Minor optimizations. Pretty printing. Remove cruft.
15094 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15095 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15096 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15097 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15098 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15099 * sysdeps/i386/fpu/e_asin.S: Likewise.
15100 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15101 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15102 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15103 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15104 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15105 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15106 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15107 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15108 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15109 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15110 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15111 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15112 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15113 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15114 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15115 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15116 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15117 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15118 * sysdeps/i386/fpu/e_log.S: Likewise.
15119 * sysdeps/i386/fpu/e_log10.S: Likewise.
15120 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15121 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15122 * sysdeps/i386/fpu/e_log2.S: Likewise.
15123 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15124 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15125 * sysdeps/i386/fpu/e_logf.S: Likewise.
15126 * sysdeps/i386/fpu/e_logl.S: Likewise.
15127 * sysdeps/i386/fpu/e_pow.S: Likewise.
15128 * sysdeps/i386/fpu/e_powf.S: Likewise.
15129 * sysdeps/i386/fpu/e_powl.S: Likewise.
15130 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15131 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15132 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15133 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15134 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15135 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15136 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15137 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15138 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15139 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15142 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15143 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15144 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15145 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15147 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15148 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15149 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15153 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15160 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15161 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15162 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15163 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15164 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15165 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15166 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15167 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15168 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15169 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15170 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15171 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15172 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15173 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15174 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15175 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15176 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15177 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15178 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15179 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15180 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15181 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15182 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15184 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15185 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15186 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15187 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15188 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15189 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15190 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15191 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15192 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15193 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15194 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15209 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15211 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15212 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15213 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15218 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15219 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15220 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15222 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15224 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15225 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15226 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15227 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15228 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15229 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15230 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15231 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15232 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15233 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15234 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15235 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15236 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15237 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15238 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15239 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15240 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15241 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15242 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15243 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15245 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15246 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15247 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15248 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15249 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15250 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15251 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15252 (__isnanf): Likewise.
15253 (__isinf_ns): Likewise.
15254 (__isinf_nsf): Likewise.
15255 (__finite): Likewise.
15256 (__finitef): Likewise.
15257 (__ieee754_sqrt): Define as macro.
15258 (__ieee754_sqrtf): Define as macro.
15259 (__ieee754_sqrtl): Define as macro.
15260 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15261 inlined copy.
15262 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15263 __FINITE_MATH_ONLY__ consistent.
15264 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15265
12cc2fcd
AS
152662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15267
a843a204
AS
15268 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15269 of rawmemchr.
15270
12cc2fcd
AS
15271 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15272
c853acd5
UD
152732011-10-09 Ulrich Drepper <drepper@gmail.com>
15274
15275 * po/ja.po: Update from translation team.
15276
c658d255
RM
152772011-10-08 Roland McGrath <roland@hack.frob.com>
15278
110946e4
RM
15279 * locale/programs/locarchive.c (prepare_address_space): New function.
15280 (create_archive, enlarge_archive, open_archive): Use it.
15281
50604220
RM
15282 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15283 inside [SHARED], where it is used.
15284
c658d255
RM
15285 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15286
15287 * nss/getent.c (netgroup_keys): Remove unused variable.
15288 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15289
6a621eb7
UD
152902011-10-08 Ulrich Drepper <drepper@gmail.com>
15291
7edb55ce
UD
15292 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15294 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15295 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15296 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15297 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15298 * math/Makefile (libm-calls): Add s_isinf_ns.
15299 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15300 * math/multc3.c: Likewise.
15301 * math/s_casin.c: Likewise.
15302 * math/s_casinf.c: Likewise.
15303 * math/s_casinl.c: Likewise.
15304 * math/s_ccos.c: Likewise.
15305 * math/s_ccosf.c: Likewise.
15306 * math/s_ccosl.c: Likewise.
15307 * math/s_ctan.c: Likewise.
15308 * math/s_ctanf.c: Likewise.
15309 * math/s_ctanh.c: Likewise.
15310 * math/s_ctanhf.c: Likewise.
15311 * math/s_ctanhl.c: Likewise.
15312 * math/s_ctanl.c: Likewise.
15313 * math/w_fmod.c: Likewise.
15314 * math/w_fmodf.c: Likewise.
15315 * math/w_fmodl.c: Likewise.
15316 * math/w_remainder.c: Likewise.
15317 * math/w_remainderf.c: Likewise.
15318 * math/w_remainderl.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15320 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15322 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15323 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15324 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15325 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15326 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15327
187da0ae
UD
15328 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15329 of the number.
15330 * stdio-common/printf_fphex.c: Likewise.
15331 * stdio-common/printf_size.c: Likewise.
15332
9277c064
UD
15333 * math/e_exp10.c: Include math_private.h using <...> not "...".
15334 * math/e_exp10f.c: Likewise.
15335 * math/e_exp10l.c: Likewise.
15336 * math/e_exp2l.c: Likewise.
15337 * math/e_j0l.c: Likewise.
15338 * math/e_j1l.c: Likewise.
15339 * math/e_jnl.c: Likewise.
15340 * math/e_lgammal_r.c: Likewise.
15341 * math/e_rem_pio2l.c: Likewise.
15342 * math/e_scalb.c: Likewise.
15343 * math/e_scalbf.c: Likewise.
15344 * math/e_scalbl.c: Likewise.
15345 * math/k_cosl.c: Likewise.
15346 * math/k_sinl.c: Likewise.
15347 * math/k_tanl.c: Likewise.
15348 * math/s_cacoshf.c: Likewise.
15349 * math/s_catan.c: Likewise.
15350 * math/s_catanf.c: Likewise.
15351 * math/s_catanh.c: Likewise.
15352 * math/s_catanhf.c: Likewise.
15353 * math/s_catanhl.c: Likewise.
15354 * math/s_catanl.c: Likewise.
15355 * math/s_ccosh.c: Likewise.
15356 * math/s_ccoshf.c: Likewise.
15357 * math/s_ccoshl.c: Likewise.
15358 * math/s_cexp.c: Likewise.
15359 * math/s_cexpf.c: Likewise.
15360 * math/s_cexpl.c: Likewise.
15361 * math/s_clog.c: Likewise.
15362 * math/s_clog10.c: Likewise.
15363 * math/s_clog10f.c: Likewise.
15364 * math/s_clog10l.c: Likewise.
15365 * math/s_clogf.c: Likewise.
15366 * math/s_clogl.c: Likewise.
15367 * math/s_csin.c: Likewise.
15368 * math/s_csinf.c: Likewise.
15369 * math/s_csinh.c: Likewise.
15370 * math/s_csinhf.c: Likewise.
15371 * math/s_csinhl.c: Likewise.
15372 * math/s_csinl.c: Likewise.
15373 * math/s_csqrt.c: Likewise.
15374 * math/s_csqrtf.c: Likewise.
15375 * math/s_csqrtl.c: Likewise.
15376 * math/s_ctan.c: Likewise.
15377 * math/s_ctanf.c: Likewise.
15378 * math/s_ctanh.c: Likewise.
15379 * math/s_ctanhf.c: Likewise.
15380 * math/s_ctanhl.c: Likewise.
15381 * math/s_ctanl.c: Likewise.
15382 * math/s_ldexp.c: Likewise.
15383 * math/s_ldexpf.c: Likewise.
15384 * math/s_ldexpl.c: Likewise.
15385 * math/s_significand.c: Likewise.
15386 * math/s_significandf.c: Likewise.
15387 * math/s_significandl.c: Likewise.
15388 * math/w_acos.c: Likewise.
15389 * math/w_acosf.c: Likewise.
15390 * math/w_acosh.c: Likewise.
15391 * math/w_acoshf.c: Likewise.
15392 * math/w_acoshl.c: Likewise.
15393 * math/w_acosl.c: Likewise.
15394 * math/w_asin.c: Likewise.
15395 * math/w_asinf.c: Likewise.
15396 * math/w_asinl.c: Likewise.
15397 * math/w_atan2.c: Likewise.
15398 * math/w_atan2f.c: Likewise.
15399 * math/w_atan2l.c: Likewise.
15400 * math/w_atanh.c: Likewise.
15401 * math/w_atanhf.c: Likewise.
15402 * math/w_atanhl.c: Likewise.
15403 * math/w_cosh.c: Likewise.
15404 * math/w_coshf.c: Likewise.
15405 * math/w_coshl.c: Likewise.
15406 * math/w_dremf.c: Likewise.
15407 * math/w_exp10.c: Likewise.
15408 * math/w_exp10f.c: Likewise.
15409 * math/w_exp10l.c: Likewise.
15410 * math/w_exp2.c: Likewise.
15411 * math/w_exp2f.c: Likewise.
15412 * math/w_fmod.c: Likewise.
15413 * math/w_fmodf.c: Likewise.
15414 * math/w_fmodl.c: Likewise.
15415 * math/w_hypot.c: Likewise.
15416 * math/w_hypotf.c: Likewise.
15417 * math/w_hypotl.c: Likewise.
15418 * math/w_j0.c: Likewise.
15419 * math/w_j0f.c: Likewise.
15420 * math/w_j0l.c: Likewise.
15421 * math/w_j1.c: Likewise.
15422 * math/w_j1f.c: Likewise.
15423 * math/w_j1l.c: Likewise.
15424 * math/w_jn.c: Likewise.
15425 * math/w_jnf.c: Likewise.
15426 * math/w_jnl.c: Likewise.
15427 * math/w_lgamma.c: Likewise.
15428 * math/w_lgamma_r.c: Likewise.
15429 * math/w_lgammaf.c: Likewise.
15430 * math/w_lgammaf_r.c: Likewise.
15431 * math/w_lgammal.c: Likewise.
15432 * math/w_lgammal_r.c: Likewise.
15433 * math/w_log.c: Likewise.
15434 * math/w_log10.c: Likewise.
15435 * math/w_log10f.c: Likewise.
15436 * math/w_log10l.c: Likewise.
15437 * math/w_log2.c: Likewise.
15438 * math/w_log2f.c: Likewise.
15439 * math/w_log2l.c: Likewise.
15440 * math/w_logf.c: Likewise.
15441 * math/w_logl.c: Likewise.
15442 * math/w_pow.c: Likewise.
15443 * math/w_powf.c: Likewise.
15444 * math/w_powl.c: Likewise.
15445 * math/w_remainder.c: Likewise.
15446 * math/w_remainderf.c: Likewise.
15447 * math/w_remainderl.c: Likewise.
15448 * math/w_scalb.c: Likewise.
15449 * math/w_scalbf.c: Likewise.
15450 * math/w_scalbl.c: Likewise.
15451 * math/w_sinh.c: Likewise.
15452 * math/w_sinhf.c: Likewise.
15453 * math/w_sinhl.c: Likewise.
15454 * math/w_sqrt.c: Likewise.
15455 * math/w_sqrtf.c: Likewise.
15456 * math/w_sqrtl.c: Likewise.
15457 * math/w_tgamma.c: Likewise.
15458 * math/w_tgammaf.c: Likewise.
15459 * math/w_tgammal.c: Likewise.
15460
6a621eb7
UD
15461 * po/ja.po: Update from translation team.
15462
bf582445
AJ
154632011-09-29 Andreas Jaeger <aj@suse.de>
15464
f9efbf3a
AJ
15465 [BZ #13179]
15466 * sunrpc/netname.c (netname2host): Fix logic.
15467
bf582445
AJ
15468 [BZ #6779]
15469 [BZ #6783]
15470 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15471 correctly.
15472 * math/w_remainder.c (__remainder): Likewise.
15473 * math/w_remainderf.c (__remainderf): Likewise.
15474 * math/libm-test.inc (remainder_test): Add test cases.
15475
48693bea
AK
154762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15477
15478 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15479 sdiv_qrnnd.
15480
42622229
LD
154812011-10-07 Ulrich Drepper <drepper@gmail.com>
15482
15483 * string/test-memcmp.c: Avoid unncessary #defines.
15484 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15485
093ecf92
LD
154862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15487
15488 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15489 Use new sse2 version for core i3 - i7 as it's faster
15490 than sse42 version.
15491 (bit_Prefer_PMINUB_for_stringop): New.
15492 * sysdeps/x86_64/rawmemchr.S: Update.
15493 Replace with faster SSE2 version.
15494 * sysdeps/x86_64/memrchr.S: New file.
15495 * sysdeps/x86_64/memchr.S: Update.
15496 Replace with faster SSE2 version.
15497
fde56e5c
MP
154982011-09-12 Marek Polacek <mpolacek@redhat.com>
15499
15500 * elf/dl-load.c (lose): Add cast to avoid warning.
15501
21fd49a9
UD
155022011-10-07 Ulrich Drepper <drepper@gmail.com>
15503
5a06e643
UD
15504 * po/ca.po: Update from translation team.
15505
684ae515
UD
15506 * inet/getnetgrent_r.c: Hook up nscd.
15507 * nscd/Makefile (routines): Add nscd_netgroup.
15508 (nscd-modules): Add netgroupcache.
15509 (CFLAGS-netgroupcache.c): Define.
15510 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15511 (cache_search): Add const to second parameter.
15512 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15513 INNETGR.
15514 (dbs): Add netgrdb entry.
15515 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15516 (verify_persistent_db): Handle netgrdb.
15517 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15518 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15519 GETFDNETGR.
15520 (netgroup_response_header): Define.
15521 (innetgroup_response_header): Define.
15522 (datahead): Add netgroup_response_header and innetgroup_response_header
15523 elements.
15524 * nscd/nscd.conf: Add entries for netgroup cache.
15525 * nscd/nscd.h (dbtype): Add netgrdb.
15526 (_PATH_NSCD_NETGROUP_DB): Define.
15527 (netgroup_iov_disabled): Declare.
15528 (xmalloc, xcalloc, xrealloc): Move declarations here.
15529 (cache_search): Adjust prototype.
15530 Add netgroup-related prototypes.
15531 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15532 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15533 (__nscd_innetgr): Declare.
15534 * nscd/selinux.c (perms): Use access_vector_t as element type and
15535 add netgroup-related initializers.
15536 * nscd/netgroupcache.c: New file.
15537 * nscd/nscd_netgroup.c: New file.
15538 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15539 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15540 For four parameters use innetgr.
15541 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15542 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15543 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15544 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15545
21fd49a9
UD
15546 * nscd/connections.c (register_traced_file): Don't register file
15547 for disabled databases.
15548
054c0457
UD
155492011-10-06 Ulrich Drepper <drepper@gmail.com>
15550
32b63198
UD
15551 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15552
054c0457
UD
15553 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15554 from tree and freeing node.
15555
64031225
JO
155562011-09-25 Jiri Olsa <jolsa@redhat.com>
15557
15558 * nss/nsswitch.c (__nss_database_lookup): Handle
15559 nss_parse_service_list out of memory case.
15560
0490345c
JO
155612011-09-15 Jiri Olsa <jolsa@redhat.com>
15562
15563 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15564 out of memory case.
15565
3a62d00d
AS
155662011-10-04 Andreas Schwab <schwab@redhat.com>
15567
15568 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15569 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15570 pass it down.
15571 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15572 elf_machine_rela, elf_machine_lazy_rel.
15573 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15574 (ELF_DYNAMIC_DO_REL): Likewise.
15575 (ELF_DYNAMIC_DO_RELA): Likewise.
15576 (ELF_DYNAMIC_RELOCATE): Likewise.
15577 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15578 to ELF_DYNAMIC_DO_REL.
15579 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15580 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15581 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15582 elf_machine_rela.
15583 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15584 skip_ifunc, don't call ifunc function if non-zero.
15585 (elf_machine_rela): Likewise.
15586 (elf_machine_lazy_rel): Likewise.
15587 (elf_machine_lazy_rela): Likewise.
15588 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15589 (elf_machine_lazy_rel): Likewise.
15590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15591 Likewise.
15592 (elf_machine_lazy_rel): Likewise.
15593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15594 Likewise.
15595 (elf_machine_lazy_rel): Likewise.
15596 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15597 (elf_machine_lazy_rel): Likewise.
15598 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15599 (elf_machine_lazy_rel): Likewise.
15600 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15601 (elf_machine_lazy_rel): Likewise.
15602 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15603 (elf_machine_lazy_rel): Likewise.
15604 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15605 (elf_machine_lazy_rel): Likewise.
15606 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15607 (elf_machine_lazy_rel): Likewise.
15608
68577918
UD
156092011-09-28 Ulrich Drepper <drepper@gmail.com>
15610
15611 * nss/nss_files/files-init.c (_nss_files_init): Use static
15612 initialization for all the *_traced_file variables.
15613
68822d74
AS
156142011-09-28 Andreas Schwab <schwab@redhat.com>
15615
15616 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15617
2056100b
RM
156182011-09-27 Roland McGrath <roland@hack.frob.com>
15619
15620 [BZ #13226]
15621 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15622
32c76b63
AS
156232011-09-27 Andreas Schwab <schwab@redhat.com>
15624
15625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15626 Reread the line before reparsing it.
15627
bf972c9d
AS
156282011-09-26 Andreas Schwab <schwab@redhat.com>
15629
15630 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15631
e057a1b5
JM
156322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15633 Maxim Kuvyrkov <maxim@codesourcery.com>
15634 Joseph Myers <joseph@codesourcery.com>
15635
15636 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15637 if needed for __stack_chk_guard.
15638
bc7e1c36
RM
156392011-09-19 Roland McGrath <roland@hack.frob.com>
15640
ecb1482f
RM
15641 * sysdeps/posix/spawni.c (script_execute): Always define it.
15642 It will be optimized away if unused.
15643 (maybe_script_execute): New function.
15644 (__spawni): Call it.
15645
bc7e1c36
RM
15646 * Makerules: Don't include tls.make.
15647 (config-tls): Always set to thread.
15648 * tls.make.c: File removed.
15649
1c3b002b
MF
156502011-09-19 Mike Frysinger <vapier@gentoo.org>
15651
15652 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15653 * config.make.in (CPPFLAGS-config): New substituted variable.
15654
2840865d
UD
156552011-09-15 Ulrich Drepper <drepper@gmail.com>
15656
88738eb6
UD
15657 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15658
cbf645a6 15659 [BZ #13192]
2840865d
UD
15660 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15661 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15662
b402e91a
RM
156632011-09-15 Roland McGrath <roland@hack.frob.com>
15664
15665 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15666 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15668 (CALL_FAIL): Likewise.
15669 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15670 (CALL_FAIL): Macro removed.
15671 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15672
4c1a1f71
UD
156732011-09-15 Ulrich Drepper <drepper@gmail.com>
15674
15675 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15676 for __FINITE_MATH_ONLY__ == 1.
15677
edc121be
AS
156782011-09-15 Andreas Schwab <schwab@redhat.com>
15679
15680 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15681 __ieee754_sqrt instead of sqrt.
15682 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15683 __ieee754_sqrtf instead of sqrtf.
15684 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15685 __floorf instead of floorf.
15686 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15687 __floorf, __truncf instead of floorf, truncf.
15688
cd205654
UD
156892011-09-14 Ulrich Drepper <drepper@gmail.com>
15690
ee4d0315
UD
15691 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15692
cd205654
UD
15693 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15694 __extern_always_inline.
15695 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15696 32-bit.
15697
48b67d71
AS
156982011-09-14 Andreas Schwab <schwab@redhat.com>
15699
15700 * elf/rtld.c (dl_main): Also relocate in dependency order when
15701 doing symbol dependency testing.
15702
1ae12c75
AS
157032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15704
15705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15706 Always define `refsym'.
15707
995a80df
AS
157082011-09-13 Andreas Schwab <schwab@redhat.com>
15709
e529793b
AS
15710 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15711 (__FD_ELT): Renamed from __FDELT.
15712 * misc/bits/select2.h (__FD_ELT): Likewise.
15713 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15714 __FD_MASK instead of __FDELT, __FDMASK.
15715 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15716 Likewise.
15717 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15718 Likewise.
15719
52d4fef8
AS
15720 * elf/Makefile (gen-ldd): Fix pattern.
15721
995a80df
AS
15722 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15723 (init_tls): Likewise.
15724
8682f8b0
UD
157252011-09-12 Ulrich Drepper <drepper@gmail.com>
15726
15727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15728
de82006d
AS
157292011-09-12 Andreas Schwab <schwab@redhat.com>
15730
a7c8e6a1
AS
15731 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15732 `struct cmsghdr *' instead of `void *'.
15733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15734 Likewise.
15735
0f31fe77
AS
157362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15737
15738 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15739 if non-absolute.
15740 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15741 ldd_rewrite_script.
0f31fe77 15742
32b4c839
UD
157432011-09-11 Ulrich Drepper <drepper@gmail.com>
15744
83cd1420
UD
15745 * configure.in: Remove --with-tls option.
15746 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15747 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15748 out in case it is missing.
15749 * sysdeps/ia64/elf/configure.in: Likewise.
15750 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15751 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15752 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15753 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15754 * sysdeps/sh/elf/configure.in: Likewise.
15755 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15756 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15757 * sysdeps/x86_64/elf/configure.in: Likewise.
15758 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15759 * sysdeps/mach/hurd/tls.h: Likewise.
15760
633f745d
UD
15761 [BZ #13067]
15762 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15763
f318beb8
UD
15764 [BZ #13090]
15765 * configure.in: Fix use of AC_INIT.
15766
32b4c839
UD
15767 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15768
3ce1f295
UD
157692011-09-10 Ulrich Drepper <drepper@gmail.com>
15770
bb016596
UD
15771 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15772 __set_errno.
8e58439c
UD
15773 * malloc/hooks.c: Likewise.
15774
aebae053 15775 [BZ #11929]
02d46fc4
UD
15776 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15777 variables statically.
15778 (narenas): Initialize.
15779 (list_lock): Initialize.
bb016596
UD
15780 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15781 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15782 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15783 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15784 Add initializers to main_arena and mp_.
15785 (malloc_state): Remove pagesize member. Change all users to use
15786 GLRO(dl_pagesize).
15787
15788 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15789 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15790 is always initialized.
15791
22a89187
UD
15792 * malloc/malloc.c: Removed unused configurations and dead code.
15793 * malloc/arena.c: Likewise.
15794 * malloc/hooks.c: Likewise.
02d46fc4 15795 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15796
d063d164
UD
15797 * include/tls.h: Removed. USE___THREAD must always be defined.
15798 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15799 * elf/dl-libc.c: Likewise.
15800 * elf/dl-tsd.c: Likewise.
15801 * include/errno.h: Likewise.
15802 * include/netdb.h: Likewise.
15803 * include/resolv.h: Likewise.
15804 * inet/herrno-loc.c: Likewise.
15805 * inet/herrno.c: Likewise.
15806 * malloc/arena.c: Likewise.
15807 * malloc/hooks.c: Likewise.
15808 * malloc/malloc.c: Likewise.
15809 * resolv/res-state.c: Likewise.
15810 * resolv/res_libc.c: Likewise.
15811 * sysdeps/i386/dl-machine.h: Likewise.
15812 * sysdeps/ia64/dl-machine.h: Likewise.
15813 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15814 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15815 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15816 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15817 * sysdeps/sh/dl-machine.h: Likewise.
15818 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15819 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15820 * sysdeps/unix/i386/sysdep.S: Likewise.
15821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15822 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15824 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15825 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15827 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15831 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15832 * sysdeps/x86_64/dl-machine.h: Likewise.
15833 * tls.make.c: Likewise.
15834
3ce1f295
UD
15835 * configure.in: Remove --with-__thread option. Make tests for
15836 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15837 tls_model attribute fail if no support is available. Remove
15838 USE_IN_LIBIO.
15839 * Makeconfig: Adjust for dropped configure option. All features are
15840 now mandatory.
15841 * Makerules: Likewise.
15842 * Versions.def: Likewise.
15843 * argp/argp-fmtstream.c: Likewise.
15844 * argp/argp-fmtstream.h: Likewise.
15845 * argp/argp-help.c: Likewise.
15846 * assert/assert.c: Likewise.
15847 * config.h.in: Likewise.
15848 * config.make.in: Likewise.
15849 * configure: Likewise.
15850 * configure.in: Likewise.
15851 * csu/Versions: Likewise.
15852 * csu/init.c: Likewise.
15853 * elf/tst-audit2.c: Likewise.
15854 * elf/tst-tls10.c: Likewise.
15855 * elf/tst-tls10.h: Likewise.
15856 * elf/tst-tls11.c: Likewise.
15857 * elf/tst-tls12.c: Likewise.
15858 * elf/tst-tls14.c: Likewise.
15859 * elf/tst-tlsmod11.c: Likewise.
15860 * elf/tst-tlsmod12.c: Likewise.
15861 * elf/tst-tlsmod13.c: Likewise.
15862 * elf/tst-tlsmod13a.c: Likewise.
15863 * elf/tst-tlsmod14a.c: Likewise.
15864 * elf/tst-tlsmod15b.c: Likewise.
15865 * elf/tst-tlsmod16a.c: Likewise.
15866 * elf/tst-tlsmod16b.c: Likewise.
15867 * elf/tst-tlsmod7.c: Likewise.
15868 * elf/tst-tlsmod8.c: Likewise.
15869 * elf/tst-tlsmod9.c: Likewise.
15870 * gmon/gmon.c: Likewise.
15871 * grp/fgetgrent_r.c: Likewise.
15872 * grp/putgrent.c: Likewise.
15873 * hurd/fopenport.c: Likewise.
15874 * include/libc-symbols.h: Likewise.
15875 * include/tls.h: Likewise.
15876 * intl/gettextP.h: Likewise.
15877 * intl/loadinfo.h: Likewise.
15878 * locale/global-locale.c: Likewise.
15879 * locale/localeinfo.h: Likewise.
15880 * mach/devstream.c: Likewise.
15881 * malloc/arena.c: Likewise.
15882 * malloc/set-freeres.c: Likewise.
15883 * misc/err.c: Likewise.
15884 * misc/getttyent.c: Likewise.
15885 * misc/mntent_r.c: Likewise.
15886 * posix/getopt.c: Likewise.
15887 * posix/wordexp.c: Likewise.
15888 * pwd/fgetpwent_r.c: Likewise.
15889 * resolv/Versions: Likewise.
15890 * resolv/res_hconf.c: Likewise.
15891 * shadow/fgetspent_r.c: Likewise.
15892 * shadow/putspent.c: Likewise.
15893 * stdio-common/printf_fphex.c: Likewise.
15894 * stdio-common/tmpfile.c: Likewise.
15895 * stdlib/abort.c: Likewise.
15896 * stdlib/fmtmsg.c: Likewise.
15897 * sunrpc/auth_unix.c: Likewise.
15898 * sunrpc/clnt_perr.c: Likewise.
15899 * sunrpc/clnt_tcp.c: Likewise.
15900 * sunrpc/clnt_udp.c: Likewise.
15901 * sunrpc/clnt_unix.c: Likewise.
15902 * sunrpc/openchild.c: Likewise.
15903 * sunrpc/svc_simple.c: Likewise.
15904 * sunrpc/svc_tcp.c: Likewise.
15905 * sunrpc/svc_udp.c: Likewise.
15906 * sunrpc/svc_unix.c: Likewise.
15907 * sunrpc/xdr.c: Likewise.
15908 * sunrpc/xdr_array.c: Likewise.
15909 * sunrpc/xdr_rec.c: Likewise.
15910 * sunrpc/xdr_ref.c: Likewise.
15911 * sunrpc/xdr_stdio.c: Likewise.
15912
1248c1c4
PB
159132011-09-09 Ulrich Drepper <drepper@gmail.com>
15914
15915 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15916
159172011-07-03 Andreas Jaeger <aj@suse.de>
15918
15919 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15920 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15921 regenerate with gen-libm-tests.pl.
15922
159232010-05-12 Petr Baudis <pasky@suse.cz>
15924
15925 [BZ #11589]
15926 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15927 around j0() zero points by switching to j1().
15928 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15932
f22e1074
UD
159332011-09-09 Ulrich Drepper <drepper@gmail.com>
15934
f19009c1
UD
15935 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15936 instead of 0.
15937 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15938 instead of 0. .
15939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15940 Patch in part by Pavel Roskin <proski@gnu.org>.
15941
3f8cc204
UD
15942 [BZ #13138]
15943 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15944 realloc.
15945 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15946 Free memory block if necessary.
15947
f22e1074
UD
15948 [BZ #12847]
15949 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15950 be NULL. Don't lock in this case.
15951
0a2349f9
RM
159522011-09-09 Roland McGrath <roland@hack.frob.com>
15953
15954 * elf/elf.h (ELFOSABI_GNU): New macro.
15955 (ELFOSABI_LINUX): Define to that.
15956
f3cdd467
DZ
159572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15958
15959 * string/strncat.c (strncat): Undef the symbol in case it has been
15960 defined in bits/string.h.
15961
74718d13
UD
159622011-09-09 Ulrich Drepper <drepper@gmail.com>
15963
633e9e0f
UD
15964 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15965
0a2349f9 15966 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15967 link map.
15968
f9924780
AJ
159692011-08-17 Andreas Jaeger <aj@suse.de>
15970
15971 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15972
7f5517aa
PP
159732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15974 Ian Lance Taylor <iant@google.com>
15975
15976 * math/libm-test.inc (lround_test): New testcase.
15977 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15978
762011fe
UD
159792011-09-08 Ulrich Drepper <drepper@gmail.com>
15980
92963737
UD
15981 * Makefile: Remove support for automatic cvs check-ins.
15982 * Makerules: Likewise.
15983 * config.make.in: Likewise.
15984 * configure.in: Likewise.
15985 * intl/Makefile: Likewise.
15986 * locale/Makefile: Likewise.
15987 * po/Makefile: Likewise.
15988 * posix/Makefile: Likewise.
15989 * sysdeps/gnu/Makefile: Likewise.
15990 * sysdeps/mach/hurd/Makefile: Likewise.
15991 * sysdeps/sparc/sparc32/Makefile: Likewise.
15992
b0727fd8
JS
15993 [BZ #13118]
15994 * posix/Makefile (bug-regex32-ENV): Define.
15995 Patch by John Stanley <jpsinthemix@verizon.net>.
15996
a0f33f99
UD
15997 * misc/Makefile (headers): Add bits/select2.h.
15998 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
15999 * misc/bits/select2.h: New file.
16000 * include/bits/select2.h: New file.
16001 * debug/Makefile (routines): Add fdelt_chk.
16002 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16003 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16004 FD_ISSET.
16005 * debug/fdelt_chk.c: New file.
16006
762011fe
UD
16007 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16008 * wcsmbs/test-wmemcmp.c: Likewise.
16009 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16010 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16011
160122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16013
16014 * string/Makefile (strop-tests): Add memcmp.
16015 * string/test-wmemcmp.c: New file.
16016 * string/test-memcmp.c: Add wmemcmp support.
16017
7f513ec8
RM
160182011-09-08 Roland McGrath <roland@hack.frob.com>
16019
0442afb4
RM
16020 [BZ #13153]
16021 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16022 2011-07-19 change.
16023
7f513ec8
RM
16024 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16025 garbage value in a __mach_port_mod_refs call in the cases of the
16026 task-self and thread-self ports.
16027
a12b2239
ST
160282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16029
16030 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16031
610f9ab4
AS
160322011-09-08 Andreas Schwab <schwab@redhat.com>
16033
7f513ec8 16034 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16035
48882a1a
LD
160362011-09-07 Ulrich Drepper <drepper@gmail.com>
16037
b49865be
UD
16038 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16039
fdc86bc9
UD
16040 * elf/dl-libc.c (dlerror_run): Pass back error code from
16041 dl_catch_error.
16042
c966526a
UD
16043 [BZ #13123]
16044 * elf/dl-load.c (lose): Free l_origin if it is valid.
16045
48882a1a
LD
16046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16047 names.
16048 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16049 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16050 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16051 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16052 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16053 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16054
77a2a8b4
AZ
160552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16056
16057 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16058 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16059 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16060 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16061 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16062 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16063 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16064 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16065 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16066 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16067
24f579d8
AM
160682011-08-15 Alan Modra <amodra@gmail.com>
16069
16070 [BZ #13092]
16071 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16072 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16073 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16074 ppc_mcount to static-only-routines.
16075 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16076 __mcount_internal.
16077 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16078 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16079
3d4837df
UD
160802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16081
16082 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16083 for finite and infinity parameters.
16084
22700377
WS
160852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16086
16087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16088 and add nop instructions for throughput optimization.
16089 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16090
5025581e
WS
160912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16092
16093 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16094 aligned copy for power7 with vector-scalar instructions.
16095 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16096
08a300c9
L
160972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16098
16099 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16100 AVX check.
16101
59178ef9
AS
161022011-09-07 Andreas Schwab <schwab@redhat.com>
16103
16104 [BZ #13144]
16105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16106 last change.
16107
e38ba7ab
UD
161082011-09-07 Ulrich Drepper <drepper@gmail.com>
16109
16110 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16111 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16112 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16113 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16114 clock_gettime.
16115
d53a73ac
UD
161162011-09-06 Ulrich Drepper <drepper@gmail.com>
16117
fc8bffcc
UD
16118 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16119 Forgot to demangle the pointer.
16120
ceaa0c5d
UD
16121 * sysdeps/i386/sysdep.h: Define atom_text_section.
16122 * sysdeps/x86_64/sysdep.h: Likewise.
16123 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16124 section with atom_text_section.
16125 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16126 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16127 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16129 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16130
a77d3c17
UD
16131 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16132 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16133 already be defined. Change to take two parameters and don't assign
16134 result to variable. Adjust all users.
16135 Define INTERNAL_GETTIME if not already defined.
16136 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16137 call.
16138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16139 HAVE_CLOCK_GETTIME_VSYSCALL.
16140 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16141
d53a73ac
UD
16142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16143 gettimeofday vsyscall, just use time.
16144
a8f84144
AS
161452011-09-06 Andreas Schwab <schwab@redhat.com>
16146
16147 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16148 <errno.h>.
16149
ef606249
UD
161502011-09-06 Ulrich Drepper <drepper@gmail.com>
16151
16152 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16153 syscall on x86-64.
16154 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16155 syscall.
16156 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16158 syscall if possible.
16159
6585cb60
UD
161602011-09-05 Ulrich Drepper <drepper@gmail.com>
16161
16162 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16163 e_ident. Don't pass to find_mapsXX.
16164 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16165
a5f524e4
LD
161662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16167
16168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16169 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16170 * sysdeps/x86_64/multiarch/strchr.S: Update.
16171 Check bit_slow_BSF bit.
16172 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16173 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16174 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16175
554881ef
UD
161762011-09-05 Ulrich Drepper <drepper@gmail.com>
16177
d96de963
UD
16178 [BZ #13134]
16179 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16180 before glibc 2.15.
16181 (tryshell): Define.
16182 (__spawni): Change last parameter to be flag. Test
16183 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16184 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16185 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16186 * posix/spawni.c: Likewise.
16187 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16188 * posix/spawnp.c: Likewise. Change normal version to use
16189 SPAWN_XFLAGS_USE_PATH.
16190 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16191 SPAWN_XFLAGS_TRY_SHELL.
16192
d48e5868
UD
16193 [BZ #13150]
16194 * posix/glob.h: Remove gcc 1.x support.
16195
554881ef
UD
16196 [BZ #13068]
16197 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16198
693fb948
LD
161992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16200
16201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16202 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16203 strrchr-sse2-bsf
16204 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16205 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16206 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16209 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16210
1b48c537
UD
162112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16212
49d42c37
UD
16213 * sysdeps/x86_64/wcscmp.S: New file.
16214
1b48c537
UD
16215 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16216 wcscmp-c wcscmp-sse2
16217 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16218 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16219 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16220 * wcsmbs/wcscmp.c: Allow renaming.
16221
15c95c5d
DM
162222011-09-05 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16225 stack slot, rather than the struct return pointer slot.
16226 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16227 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16229 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16230
2f0ad8f3
UD
162312011-09-05 Ulrich Drepper <drepper@gmail.com>
16232
d88ae418
UD
16233 * po/ja.po: Update from translation team.
16234
2f0ad8f3
UD
16235 [BZ #13144]
16236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16237 kernel in 64-bit binaries.
16238
5f4318d1
DM
162392011-09-01 David S. Miller <davem@davemloft.net>
16240
16241 * elf/elf.h (HWCAP_SPARC_*): Move to..
16242 * sysdeps/sparc/sysdep.h: this new file and add new values.
16243 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16244 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16245 _DL_HWCAP_COUNT to 24.
16246 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16247 entries.
16248 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16249 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16250 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16251 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16252 instead of magic constants.
16253 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16254
3ba57516
DM
162552011-08-31 David S. Miller <davem@davemloft.net>
16256
16257 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16259 Reimplement to do errno handling inline.
16260 (SYSCALL_ERROR_HANDLER): New macro.
16261 (__SYSCALL_STRING): Do not do errno handling in asm.
16262 (__CLONE_SYSCALL_STRING): Delete.
16263 (__INTERNAL_SYSCALL_STRING): Delete.
16264 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16265 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16266 (PSEUDO): Reimplement to do errno handling inline.
16267 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16268 (SYSCALL_ERROR_HANDLER): New macro.
16269 (__SYSCALL_STRING): Do not do errno handling in asm.
16270 (__CLONE_SYSCALL_STRING): Delete.
16271 (__INTERNAL_SYSCALL_STRING): Delete.
16272 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16273 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16274 i386.
16275 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16276 (inline_syscall*): Add 'err' argument.
16277 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16278 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16279 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16280 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16281
16282 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16283 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16284
2bc17433
AS
162852011-08-30 Andreas Schwab <schwab@redhat.com>
16286
16287 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16288
fbeb5f4d
JO
162892011-08-29 Jiri Olsa <jolsa@redhat.com>
16290
16291 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16292 directive.
16293
ad69cc26
DM
162942011-08-24 David S. Miller <davem@davemloft.net>
16295
16296 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16297
39dd69df
AS
162982011-08-24 Andreas Schwab <schwab@redhat.com>
16299
16300 * elf/Makefile: Add rules to build and run unload8 test.
16301 * elf/unload8.c: New file.
16302 * elf/unload8mod1.c: New file.
16303 * elf/unload8mod1x.c: New file.
16304 * elf/unload8mod2.c: New file.
16305 * elf/unload8mod3.c: New file.
16306
16307 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16308 it wasn't used.
16309
2c0b250a
DM
163102011-08-23 David S. Miller <davem@davemloft.net>
16311
16312 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16313 subtract stack bias.
16314 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16315 %sp not %fp in calculations.
16316 (_JMPBUF_UNWINDS_ADJ): Likewise.
16317
22044b48
DM
16318 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16319 (aio_suspend): Call it to force an exception region around the
16320 AIO_MISC_WAIT() invocation.
16321
2cae4995
AS
163222011-08-23 Andreas Schwab <schwab@redhat.com>
16323
16324 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16325 backslash.
16326
873a772e
AJ
163272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16328
16329 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16330 protection macro.
16331 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16332 and <dl-machine.h>.
16333 (Elf64_FuncDesc): Remove.
16334
25ad0df1
DM
163352011-08-22 David S. Miller <davem@davemloft.net>
16336
16337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16338 sigaltstack check, add missing cfi directives.
16339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16340 missing cfi directives, and sigaltstack handling.
16341
e888bcbe
AS
163422011-08-16 Andreas Schwab <schwab@redhat.com>
16343
16344 [BZ #11724]
16345 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16346 object is seen twice.
16347 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16348
16349 * elf/Makefile (distribute): Add tst-initorder2.c.
16350 (tests): Add tst-initorder2.
16351 (modules-names): Add tst-initorder2a tst-initorder2b
16352 tst-initorder2c tst-initorder2d. Add rules to build them.
16353 ($(objpfx)tst-initorder2.out): New rule.
16354 * elf/tst-initorder2.c: New file.
16355 * elf/tst-initorder2.exp: New file.
16356
87162f46
AS
163572011-08-22 Andreas Schwab <schwab@redhat.com>
16358
70538b7f
AS
16359 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16360
f55ffe58
AS
16361 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16362 dependencies back to end of function.
16363
87162f46
AS
16364 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16365 $(elfobjdir)/ld.so.
16366
91b392a4
UD
163672011-08-21 Ulrich Drepper <drepper@gmail.com>
16368
16369 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16370 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16371 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16372 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16373 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16374 of __vdso_gettimeofday.
16375 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16376 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16377 attribute_hidden.
16378 (_libc_vdso_platform_setup): Remove initialization of
16379 __vdso_gettimeofday and __vdso_time.
16380
5c43483f
UD
163812011-08-20 Ulrich Drepper <drepper@gmail.com>
16382
775a77e7
UD
16383 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16384 and fgetc_unlocked.
16385 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16386 getc_unlocked.
89f447ed 16387
49c74ba9
UD
16388 * elf/dl-open.c (add_to_global): Report additions to the global scope
16389 for LD_DEBUG=scopes.
16390 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16391 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16392
5c43483f
UD
16393 [BZ #13114]
16394 * stdio-common/Makefile (tests): Add bug24.
16395 * stdio-common/bug24.c: New file.
16396
a101b025
AJ
163972011-08-19 Andreas Jaeger <aj@suse.de>
16398
16399 [BZ #13114]
16400 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16401 non-existant file when using close-on-exec mode.
16402
c88f1766
UD
164032011-08-20 Ulrich Drepper <drepper@gmail.com>
16404
0276a718
UD
16405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16406 the very first instruction.
16407
c88f1766
UD
16408 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16409 the CFI state in the end.
16410 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16411 inclusion of dl-trampoline.h.
16412 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16413
51ccffa0
AS
164142011-08-19 Andreas Schwab <schwab@redhat.com>
16415
94d7165f
AS
16416 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16417 expectations for long double.
16418
51ccffa0
AS
16419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16420 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16421
fd708658 164222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16423
16424 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16425 artificual limit depends upon the system page size.
16426
44f0a71e
UD
164272011-08-17 Ulrich Drepper <drepper@gmail.com>
16428
16429 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16430 * resolv/Makefile: Define CFLAGS-libresolv.
16431
8de79a24
AS
164322011-08-17 Andreas Schwab <schwab@redhat.com>
16433
16434 * nss/makedb.c (compute_tables): Make variables used in nested
16435 function static.
16436
27724598
UD
164372011-08-17 Ulrich Drepper <drepper@gmail.com>
16438
c5305d88
UD
16439 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16440 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16441 if buffer was too small.
16442
27724598
UD
16443 * elf/pldd.c (main): Attach to all threads in the process.
16444 Rewrite /proc handling to use *at functions.
16445
076fe015
UD
164462011-08-16 Ulrich Drepper <drepper@gmail.com>
16447
174baab3
UD
16448 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16449 specifies first scope to show.
16450 (dl_open_worker): Update callers. Move printing scope of new
16451 object to before the relocation.
44f0a71e 16452 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16453 * sysdeps/generic/ldsodefs.h: Update declaration.
16454
076fe015
UD
16455 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16456 string for the scope number.
16457
a60df2c3
UD
164582011-08-14 Ulrich Drepper <drepper@gmail.com>
16459
16460 * nscd/servicescache.c (cache_addserv): Make sure written is always
16461 initialized.
16462
5e4287d1
RM
164632011-08-14 Roland McGrath <roland@hack.frob.com>
16464
85ae0589
RM
16465 * sysdeps/i386/i486/bits/atomic.h
16466 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16467 statement expression, so as to suppress "set but not used" warning.
16468 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16469
69f63097
RM
16470 * string/strncat.c (STRNCAT): Use prototype definition.
16471
675456ef
RM
16472 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16473 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16474 -Iprograms here.
16475 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16476 (localedef-modules): Add localedef.
16477 (locale-modules): Add locale.
16478
5e4287d1
RM
16479 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16480 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16481 to avoid a warning.
16482
9c96ff23
DM
164832011-08-14 David S. Miller <davem@davemloft.net>
16484
16485 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16486 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16487
f9ddf089
UD
164882011-08-13 Ulrich Drepper <drepper@gmail.com>
16489
44f0a71e 16490 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16491 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16492 * elf/rtld.c (dl_main): Set l_name of vDSO.
16493 Call _dl_show_scope when DL_DEBUG_SCOPES.
16494 (process_dl_debug): Recognize scopes flag and also set it for all.
16495 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16496 Declare _dl_show_scope.
16497
1dc27704
UD
16498 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16499 (do_dlopen): Pass caller_dlopen to dl_open.
16500 (__libc_dlopen_mode): Initialize caller_dlopen.
16501
f9ddf089
UD
16502 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16503 of libc. Make tolower call locale-independent. Optimize a bit by
16504 using isdigit instead of isalnum.
16505 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16506
9ac533d3
UD
165072011-08-12 Ulrich Drepper <drepper@gmail.com>
16508
16509 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16510 was a dependency or dynamically loaded.
16511
89edf2e9
UD
165122011-08-11 Ulrich Drepper <drepper@gmail.com>
16513
8e999d29
UD
16514 * intl/l10nflist.c: Allow architecture-specific pop function.
16515 * sysdeps/x86_64/l10nflist.c: New file.
16516
89edf2e9
UD
16517 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16518 classification.
16519
14d96785
AS
165202011-08-10 Andreas Schwab <schwab@redhat.com>
16521
16522 * include/dirent.h: Add libc_hidden_proto for scandirat and
16523 scandirat64. Don't declare __scandirat64.
16524 * dirent/scandirat.c: Add libc_hidden_def.
16525 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16526 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16527
6761ac04
DM
165282011-08-10 David S. Miller <davem@davemloft.net>
16529
16530 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16531 enum.
16532 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16533 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16534 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16535
c55fbd1e
UD
165362011-08-09 Ulrich Drepper <drepper@gmail.com>
16537
16538 * Versions.def [libc]: Add GLIBC_2.15.
16539 * dirent/Makefile (routines): Add scandirat and scandirat64.
16540 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16541 GLIBC_2.15.
16542 * dirent/dirent.h: Declare scandirat and scandirat64.
16543 * dirent/scandirat.c: New file.
16544 * dirent/scandirat64.c: New file.
16545 * sysdeps/wordsize-64/scandirat.c: New file.
16546 * sysdeps/wordsize-64/scandirat64.c: New file.
16547 * dirent/opendir.c: Define opendirat.
16548 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16549 using scandirat.
16550 * dirent/scandir64.c: Adjust for scandir.c change.
16551 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16552 __scandirat64, and __scandir_cancel_handler.
16553 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16554 additional parameter and use openat instead of open (outside of ld.so).
16555 Add new __opendir as wrapper around __opendirat.
16556 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16557 here without requiring old scandirat implementation.
16558
879165f2
UD
165592011-08-08 Ulrich Drepper <drepper@gmail.com>
16560
16561 * dirent/scandir.c (cancel_handler): Renamed to
16562 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16563 defined. Adjust users.
16564 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16565 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16566
cb7e923b
UD
165672011-08-04 Ulrich Drepper <drepper@gmail.com>
16568
16292edd
UD
16569 * string/test-string.h (IMPL): Use __STRING to expand name and then
16570 stringify it.
16571
cb7e923b
UD
16572 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16573 of cleanups.
16574
cff82933
LD
165752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16576
16577 * string/Makefile: Update.
16578 (strop-tests): Append strncat.
16579 * string/test-wcscmp.c: New file.
16580 New comprehensive test for wcscmp.
16581 * string/test-strcmp.c: Update.
16582 (WIDE): New define.
16583
9be9bfcc
AS
165842011-07-22 Andreas Schwab <schwab@redhat.com>
16585
16586 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16587 line.
16588
2e96f1c7
AS
165892011-07-26 Andreas Schwab <schwab@redhat.com>
16590
16591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16592 encoding to ACE if AI_IDN.
16593
85188888
JJ
165942011-08-01 Jakub Jelinek <jakub@redhat.com>
16595
16596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16597 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16598
5fa16e9b
LD
165992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16600
16601 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16602 Fix overflow bug in strncat.
16603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16604
16605 * string/test-strncat.c: Update.
16606 Add new tests for checking overflow bugs.
16607
166082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16609
16610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16611 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16612 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16613 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16615 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16616 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16617 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16618 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16619
16620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16621 (USE_AS_STRCAT): Define.
16622 Add strcat and strncat support.
16623 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16624
8c1a459f
AS
166252011-07-25 Andreas Schwab <schwab@redhat.com>
16626
16627 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16628 __n bigger than INT_MAX+1.
16629 (__strncmp_g): Likewise.
16630
bba33c28
UD
166312011-07-23 Ulrich Drepper <drepper@gmail.com>
16632
798be72d
UD
16633 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16634 * libio/stido.h: Likewise.
16635
8accd4dc
UD
16636 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16637 (AF_NFC): Define.
16638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16639 (AF_NFC): Define.
16640
cbff0d96
UD
16641 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16642 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16644 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16645 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16646
9191c04a
UD
16647 [BZ #13021]
16648 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16649 installed.
16650
bba33c28
UD
16651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16652 typo.
16653 (_dl_x86_64_save_sse): Likewise.
16654
90f139dd
UD
166552011-07-22 Ulrich Drepper <drepper@gmail.com>
16656
1aae088a
UD
16657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16658 OSXSAVE.
16659 (_dl_x86_64_save_sse): Likewise.
16660
8e2045f5
UD
16661 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16662
90f139dd
UD
16663 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16664
1d002f25
AS
166652011-07-21 Andreas Schwab <schwab@redhat.com>
16666
16667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16668 change.
16669 (_dl_x86_64_save_sse): Use correct AVX check.
16670
21137f89
UD
166712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16672
16673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16674 bug in strncpy/strncat.
16675 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16676
a65c0b7a
UD
166772011-07-21 Ulrich Drepper <drepper@gmail.com>
16678
16679 * string/tester.c (test_strcat): Add tests for different alignments
16680 of source and destination.
16681 (test_strncat): Likewise.
16682
6986b98a
UD
166832011-07-20 Ulrich Drepper <drepper@gmail.com>
16684
90bb2039
UD
16685 [BZ #12852]
16686 * posix/glob.c (glob): Check passed in values before using them in
16687 expressions to avoid some overflows.
16688 (glob_in_dir): Likewise.
16689
5644ef54
UD
16690 [BZ #13007]
16691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16692 check for AVX enablement so that we don't crash with old kernels and
16693 new hardware.
16694 * elf/tst-audit4.c: Add same checks here.
16695 * elf/tst-audit6.c: Likewise.
16696
16697 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16698
bfc9dc9b
AS
166992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16700
16701 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16702
702e64bb
UD
167032011-07-20 Ulrich Drepper <drepper@gmail.com>
16704
16705 * po/cs.po: Update from translation team.
16706 * po/bg.po: Likewise.
16707
295e904f
MP
167082011-07-12 Marek Polacek <mpolacek@redhat.com>
16709
16710 * misc/sys/cdefs.h: Add support for const attribute.
16711 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16712 to gnu_dev_{major,minor,makedev} functions.
16713
3ff94596
MP
167142011-07-20 Marek Polacek <mpolacek@redhat.com>
16715
16716 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16717
28b59fca
AS
167182011-07-20 Andreas Schwab <schwab@redhat.com>
16719
16720 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16721 strlen results.
16722
19df733e
AK
167232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16724
16725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16726 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16727 register in order to avoid conflicts with the soft frame pointer
16728 being held in r11 when necessary.
16729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16730 (INTERNAL_VSYSCALL_NCS): Likewise.
16731
c8835729
MP
167322011-07-14 Marek Polacek <mpolacek@redhat.com>
16733
16734 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16735 * elf/dl-fini.c (_dl_fini): Adjust caller.
16736 * elf/dl-close.c (_dl_close_worker): Likewise.
16737 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16738
b902330c
MP
167392011-07-15 Marek Polacek <mpolacek@redhat.com>
16740
8991e135
MP
16741 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16742 "aux_cache->nlibs < 0".
16743
b902330c
MP
16744 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16745 in the reload-count case.
16746
99710781
LD
167472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16748
16749 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16750 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16751 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16752 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16753 * sysdeps/x86_64/multiarch/strcat.S: New file.
16754 * sysdeps/x86_64/multiarch/strncat.S: New file.
16755 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16756 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16757 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16758 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16760 (USE_AS_STRCAT): Define.
16761 Add strcat and strncat support.
16762 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16763 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16764 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16765 * string/strncat.c: Update.
16766 (USE_AS_STRNCAT): Define.
16767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16768 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16769 and i7.
16770 * sysdeps/x86_64/multiarch/init-arch.h
16771 (bit_Prefer_PMINUB_for_stringop): New.
16772 (index_Prefer_PMINUB_for_stringop): Likewise.
16773 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16774 bit_Prefer_PMINUB_for_stringop.
16775
7dc6bd90
UD
167762011-07-19 Ulrich Drepper <drepper@gmail.com>
16777
16778 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16779 buffer64.
16780 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16781 of casting of buffer.
16782 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16783 buffer32 and buffer64.
16784 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16785 writes instead of casting of buffer.
16786 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16787 buffer32.
16788 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16789 casting of buffer.
16790
e0e72284
AS
167912011-07-19 Andreas Schwab <schwab@redhat.com>
16792
16793 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16794
feb1eb0b
UD
167952011-07-19 Ulrich Drepper <drepper@gmail.com>
16796
16797 * nscd/nscd.c (termination_handler): Don't do anything for a database
16798 if it has not yet been initialized.
16799
298711ff
UD
168002011-07-18 Ulrich Drepper <drepper@gmail.com>
16801
16802 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16803
168042011-07-15 Marek Polacek <mpolacek@redhat.com>
16805
16806 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16807
f9d68389
UD
168082011-07-18 Ulrich Drepper <drepper@gmail.com>
16809
16810 * po/nl.po: Update from translation team.
16811 * po/sv.po: Likewise.
16812
db290cf5
RM
168132011-07-16 Roland McGrath <roland@hack.frob.com>
16814
16815 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16816 now disallowed by GCC.
5c550700 16817
fd5e21c7
RM
16818 * configure.in (use-default-link): Default to yes if a test -shared
16819 link meets our qualifications.
16820 * configure: Regenerated.
16821
5c550700
RM
16822 * config.make.in (output-format): New variable.
16823 * configure.in: Check for ld --print-output-format support.
16824 * configure: Regenerated.
16825 * Makerules ($(common-objpfx)format.lds)
16826 [$(output-format) != unknown]: Just use $(output-format),
16827 instead of the linker-script munging.
16828
9fa2c032
RM
168292011-07-14 Roland McGrath <roland@hack.frob.com>
16830
a6928d51
RM
16831 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16832 of $(common-objpfx)shlib.lds.
16833 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16834
661607b3
RM
16835 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16836 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16837
9fa2c032
RM
16838 * configure.in (-z relro check): Adjust test code to add a large
16839 writable data section after it.
16840 * configure: Regenerated.
16841
defe9061
RM
168422011-07-11 Roland McGrath <roland@hack.frob.com>
16843
16844 * configure.in (-z relro check): Fix test code to make the variable
16845 truly const.
16846 * configure: Regenerated.
16847
319b9ad4
UD
168482011-07-11 Ulrich Drepper <drepper@gmail.com>
16849
16850 * nscd/nscd.h (struct traced_file): Define.
16851 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16852 elements. Add traced_files.
16853 (inotify_fd): Declare.
16854 (register_traced_file): Declare.
16855 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16856 (inotify_fd): Export.
16857 (resolv_conf_descr): Remove.
16858 (nscd_init): Move inotify descriptor creation to main.
16859 Don't register files for notification here.
16860 (register_traced_file): New function.
16861 (invalidate_cache): Don't use reset_res to determine whether to call
16862 res_init, go through the list of registered files.
16863 (main_loop_poll): The inotify descriptors are now stored in the
16864 structures for the traced files.
16865 (main_loop_epoll): Likewise
16866 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16867 to __nss_disable_nscd.
16868 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16869 for a database anymore. Check the records for all the registered
16870 files instead.
16871 * nss/Makefile (libnss_files-routines): Add files-init.
16872 (libnss_db-routines): Add db-init.
16873 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16874 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16875 * nss/nss_db/db-init.c: New file.
16876 * nss/nss_files/files-init.c: New file.
16877 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16878 __nss_lookup_function.
16879 (__nss_lookup_function): Call nss_load_library.
16880 (nss_load_all_libraries): New function.
16881 (__nss_disable_nscd): Take parameter with callback function for files
16882 to register. Set is_nscd. Load all the DSOs for the NSS modules
16883 used for the cached services.
16884 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16885 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16886 options for features to all the files in nscd.
16887
16888 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16889
23bee3e8
RM
168902011-07-10 Roland McGrath <roland@hack.frob.com>
16891
16892 * csu/elf-init.c (__libc_csu_init): Comment typo.
16893
46a5b7f0
UD
168942011-07-09 Ulrich Drepper <drepper@gmail.com>
16895
16896 * po/pl.po: Update from translation team.
16897 * po/ja.po: Likewise.
16898 * po/ru.po: Likewise.
16899 * po/ko.po: Likewise.
16900 * po/fr.po: Likewise.
16901
d30cf5bb
RM
169022011-07-09 Roland McGrath <roland@hack.frob.com>
16903
113ddea4
RM
16904 * configure.in (.ctors/.dtors header and trailer check):
16905 Use an empirical test on a built program.
16906 * configure: Regenerated.
16907
574920b4
RM
16908 * configure.in (-z relro check): Use an empirical test on a built DSO.
16909 Detect, but do not require, on ia64.
16910 * configure: Regenerated.
16911
d30cf5bb
RM
16912 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16913 Update tests that use readelf to use $READELF instead.
16914 * configure: Regenerated.
16915
8538fdb3
UD
169162011-07-08 Ulrich Drepper <drepper@gmail.com>
16917
16918 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16919 if the result is not used.
16920
04d08991
AJ
169212011-07-05 Andreas Jaeger <aj@suse.de>
16922
16923 [BZ#9696]
16924 * stdlib/tst-strtod.c: Add testcase.
16925
de283087
AD
169262011-07-07 Ulrich Drepper <drepper@gmail.com>
16927
4e5f31c8 16928 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16929 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16930 The latter has a higher limit. Take additional parameter to pass to
16931 the new function.
16932 (__pathconf): Pass file to __statfs_link_max.
16933 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16934 __statfs_link_max.
16935 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16936 __statfs_link_max.
16937
de283087
AD
16938 [BZ #12868]
16939 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16941 Handle Lustre.
16942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16943 (__statfs_filesize_max): Likewise.
16944 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16945
c75fa153
AJ
169462011-07-05 Andreas Jaeger <aj@suse.de>
16947
16948 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16949
1a544854
UD
169502011-07-06 Marek Polacek <mpolacek@redhat.com>
16951
16952 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16953 `status' variable.
16954 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16955 Likewise.
16956
6f0eec67
UD
169572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16958
16959 * Makefile (strop-tests): Add strncat.
16960 * string/test-strncat.c: New file.
16961
aae30307
UD
169622011-06-30 Marek Polacek <mpolacek@redhat.com>
16963
16964 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16965
c0cfb5eb
UD
169662011-06-21 Andreas Jaeger <aj@suse.de>
16967
16968 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16969 Copy rule from iconvdata/Makefile.
16970
01636b21
UD
169712011-07-06 Ulrich Drepper <drepper@gmail.com>
16972
16973 [BZ #12922]
16974 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16975 but no long options are defined, just return 'W'.
16976
9895c8bc
UD
169772011-06-22 Marek Polacek <mpolacek@redhat.com>
16978
16979 [BZ #9696]
16980 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16981
5d4cf042
UD
169822011-07-06 Ulrich Drepper <drepper@gmail.com>
16983
16984 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
16985 netgroups to read.
960e5535 16986 (innetgr): Likewise.
5d4cf042 16987
751eb97e
RM
169882011-07-05 Roland McGrath <roland@hack.frob.com>
16989
16990 * config.make.in (install_root): Default to $(DESTDIR).
16991
f15f1e45
UD
169922011-07-05 Ulrich Drepper <drepper@gmail.com>
16993
16994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
16995
4e34ac6a
RM
169962011-07-02 Roland McGrath <roland@hack.frob.com>
16997
5e9b6af4
RM
16998 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
16999
84f9ea0f
RM
17000 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17001 containing directory rather than embedding absolute directory names.
17002
ea5ee9f7
RM
17003 * scripts/check-local-headers.sh: Rewritten using awk.
17004 Match by word, not by line. Print error messages for matches.
17005 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17006
1b74661a
RM
17007 * Makerules [shlib-lds-flags empty]:
17008 ($(common-objpfx)libc_pic.opts): New target.
17009 ($(common-objpfx)libc_pic.os.clean): New target.
17010 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17011
17012 * config.make.in (OBJCOPY): New variable.
17013 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17014 * configure: Regenerated.
17015
f781ef40
RM
17016 * config.make.in (use-default-link): New variable.
17017 * configure.in (use_default_link): Grok --with-default-link to set it.
17018 * configure: Regenerated.
17019 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17020 (shlib-lds, shlib-lds-flags): Define to empty.
17021
2d4fa81e
RM
17022 * Makerules (shlib-lds): New variable.
17023 (shlib-lds-flags): New variable.
17024 (build-shlib, build-moduile, build-module-asneeded): Use it.
17025 ($(common-objpfx)libc.so): Use $(shlib-lds).
17026 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17027 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17028
31fffa6b
RM
17029 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17030 DT_FLAGS/DT_FLAGS_1 with zero flags.
17031
4e34ac6a
RM
17032 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17033 linker script munging.
17034
fcfc776b
UD
170352011-07-02 Ulrich Drepper <drepper@gmail.com>
17036
17037 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17038 as 128-bit value.
17039 * crypt/sha512.c (sha512_process_block): Perform total addition using
17040 128-bit if possible.
17041 (__sha512_finish_ctx): Likewise.
17042 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17043 as 64-bit value.
17044 * crypt/sha256.c (SWAP64): Define.
17045 (sha256_process_block): Perform total addition using 64-bit if
17046 possible.
17047 (__sha256_finish_ctx): Likewise.
17048
99231d9a
UD
170492011-07-01 Ulrich Drepper <drepper@gmail.com>
17050
17051 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17053 * nscd/hstcache.c (cache_addhst): Likewise.
17054 * nscd/grpcache.c (cache_addgr): Likewise.
17055 * nscd/aicache.c (addhstaiX): Likewise
17056 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17057
445b4a53
TK
170582011-07-01 Thorsten Kukuk <kukuk@suse.de>
17059
17060 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17062 * nscd/hstcache.c (cache_addhst): Likewise.
17063 * nscd/grpcache.c (cache_addgr): Likewise.
17064 * nscd/aicache.c (addhstaiX): Likewise
17065
6d4d8e8e
AS
170662011-07-01 Andreas Schwab <schwab@redhat.com>
17067
17068 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17069 domain only when needed.
17070
89f654c5
AS
170712011-06-30 Andreas Schwab <schwab@redhat.com>
17072
17073 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17074 is always restored.
17075
cf3b23ff
UD
170762011-06-29 Ulrich Drepper <drepper@gmail.com>
17077
17078 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17079 are re-adding the entry.
17080 * nscd/servicescache.c (cache_addserv): Likewise.
17081
751626f9
AJ
170822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17083
17084 * sysdeps/generic/dl-irel.h: fix protection against multiple
17085 inclusions.
17086 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17087
9113ea1f
UD
170882011-06-28 Ulrich Drepper <drepper@gmail.com>
17089
5c0b8d90
UD
17090 [BZ #12935]
17091 * malloc/memusage.sh: Fix quoting in message.
17092 * debug/xtrace.sh: Likewise.
17093
9113ea1f
UD
17094 * configure.in: Remove support for --experimental-malloc option, make
17095 it the default.
17096 * config.make.in: Likewise.
17097 * malloc/Makefile: Likewise.
17098
a4172181
AS
170992011-06-27 Andreas Schwab <schwab@redhat.com>
17100
17101 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17102 two-byte characters.
17103
78a7eee7
RM
171042011-06-27 Roland McGrath <roland@hack.frob.com>
17105
62bede13
RM
17106 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17107 AC_CACHE_CHECK invocation.
17108 * configure: Regenerated.
17109
78a7eee7
RM
17110 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17111
5ce33a62
UD
171122011-06-27 Ulrich Drepper <drepper@gmail.com>
17113
034807a9
UD
17114 [BZ #12350]
17115 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17116 bit from old_res_options.
17117
4902da17
UD
17118 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17119
5ce33a62
UD
17120 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17121 value type for setfct.
17122
c2344f56
L
171232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17124
17125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17126 __gettimeofday instead of gettimeofday.
17127
68468076
UD
171282011-06-26 Ulrich Drepper <drepper@gmail.com>
17129
17130 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17131
acb0d739
L
171322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17133
17134 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17135
17136 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17137 info.
17138
8912479f
L
171392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17140
17141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17142 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17143 strcpy-sse2-unaligned strncpy-sse2-unaligned
17144 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17145 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17146 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17147 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17148 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17149 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17150 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17151 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17152 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17153 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17154 (STRCPY): Support SSE2 and SSSE3 versions.
17155
d5495a11
UD
171562011-06-24 Ulrich Drepper <drepper@gmail.com>
17157
17158 [BZ #12874]
17159 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17160 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17161 kernels which artificially limit size of requests.
17162
0b1cbaae
L
171632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17164
17165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17166 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17167 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17168 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17169 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17170 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17171 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17172 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17173 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17174 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17175 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17176 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17177 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17178 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17179 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17181 Enable unaligned load optimization for Intel Core i3, i5 and i7
17182 processors.
17183 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17184 Define.
17185 (index_Fast_Unaligned_Load): Define.
17186 (HAS_FAST_UNALIGNED_LOAD): Define.
17187
07f494a0
MP
171882011-06-23 Marek Polacek <mpolacek@redhat.com>
17189
17190 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17191
fa3fc0fe
UD
171922011-06-22 Ulrich Drepper <drepper@gmail.com>
17193
17194 [BZ #12907]
17195 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17196 until it is clear that the information is realy needed.
17197 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17198
e12df166
AS
171992011-06-22 Andreas Schwab <schwab@redhat.com>
17200
17201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17202
852eb34d
UD
172032011-06-22 Ulrich Drepper <drepper@gmail.com>
17204
84e2a551
UD
17205 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17206 /sys/devices/system/cpu/online if it is usable.
17207
852eb34d
UD
17208 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17209 reading the information from the /proc filesystem to once a second.
17210
6e502e19
UD
172112011-06-21 Andreas Jaeger <aj@suse.de>
17212
17213 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17214 NULL after inclusion of kernel headers.
17215
75d39ff2
UD
172162011-06-21 Ulrich Drepper <drepper@gmail.com>
17217
51f9aa6a
UD
17218 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17219 calls to internal_setent.
17220
c0244a9d
UD
17221 [BZ #12885]
17222 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17223 addresses using gethostbyname4_r ignore IPv4 addresses.
17224
c5e3c2ae
UD
17225 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17226 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17227
75d39ff2
UD
17228 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17229
42675c6f
DM
172302011-06-20 David S. Miller <davem@davemloft.net>
17231
17232 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17233 inclusions.
17234 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17235
17236 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17237 (elf_irel): Use it.
17238 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17239 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17240 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17241 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17242 * sysdeps/x86_64/dl-irel.h: Likewise.
17243
17244 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17245 * elf/dl-sym.c: Likewise.
17246
57912a71
UD
172472011-06-15 Ulrich Drepper <drepper@gmail.com>
17248
17249 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17250 need to dereference resplen2.
17251
ee22793d
AS
172522011-06-14 Andreas Schwab <schwab@redhat.com>
17253
17254 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17255
a9e836b0
UD
172562011-06-15 Ulrich Drepper <drepper@gmail.com>
17257
77fb9117
UD
17258 * Makeconfig: Define vardbdir and inst_vardbdir.
17259 * nss/Makefile: Add rules to install db-Makefile.
17260
40c1b22c
UD
17261 * nss/nss_db/db-XXX.c: Cleanup.
17262
9f2da732
UD
17263 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17264 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17265 GLIBC_PRIVATE.
17266 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17267 * nss/makedb.c: Implement -g option to specify that value strings
17268 are generated and should not be added to table iterated over for
17269 get*ent calls.
17270 * nss/nss_db/db-initgroups.c: New file.
17271
82e9a1f7
UD
17272 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17273 interface.
17274
c41af17e
UD
17275 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17276 (internal_getgrouplist): Adjust to name change.
17277 Update use_initgroups_entry if this is not the first call.
17278 * nss/databases.def: Add initgroups entry.
17279
a9e836b0
UD
17280 * nss/makedb.c (compute_tables): Check result of multiple hash table
17281 sizes to minimize maximum chain length.
17282
2666d441
UD
172832011-06-14 Ulrich Drepper <drepper@gmail.com>
17284
17285 * Versions.def: Add entry for libnss_db.
17286 * shlib-versions: Likewise.
17287 * nss/Makefile: Add rules to build libnss_db.
17288 * nss/Versions: Add libnss_db information. Organize libnss_files
17289 entries better.
17290 * nss/db-Makefile: Add gshadow support. Change rules for the new
17291 makedb progra. Some minor improvements to generate smaller files.
17292 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17293 here from...
17294 * nss/makedb.c: ...here.
17295 Improve database format to be smaller and require less memory at
17296 runtime.
17297 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17298 db anymore.
17299 * nss/nss_db/db-netgrp.c: Likewise.
17300 * nss/nss_db/db-open.c: Likewise.
17301 * nss/nss_files/flies-XXX.x: Adjust comments.
17302 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17303 * nss/nss_files/files-grp.c: Likewise.
17304 * nss/nss_files/files-hosts.c: Likewise.
17305 * nss/nss_files/files-network.c: Likewise.
17306 * nss/nss_files/files-proto.c: Likewise.
17307 * nss/nss_files/files-pwd.c: Likewise.
17308 * nss/nss_files/files-rpc.c: Likewise.
17309 * nss/nss_files/files-service.c: Likewise.
17310 * nss/nss_files/files-sgrp.c: Likewise.
17311 * nss/nss_files/files-spwd.c: Likewise.
17312 * nss/nss_db/db-alias.c: Removed.
17313 * nss/nss_db/dummy-db.h: Removed.
17314
9ee76b5a
UD
173152011-06-02 Ulrich Drepper <drepper@gmail.com>
17316
17317 * nss/makedb.c: Rewritten to not use database library.
17318 * nss/Makefile: Update to build new makedb program.
17319
c71ca1f8
AJ
173202011-06-14 Andreas Jaeger <aj@suse.de>
17321
17322 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17323 memset declaration.
17324
3154bfb8
UD
173252011-06-10 Andreas Schwab <schwab@redhat.com>
17326
17327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17328 tmpbuf.
17329
b350afab
RM
173302011-06-10 Roland McGrath <roland@hack.frob.com>
17331
decd4e50
RM
17332 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17333 * elf/Makefile ($(objpfx)ld.so): Likewise.
17334
5615eaf2
RM
17335 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17336 Don't list ld.so twice in dependencies.
17337
17338 * posix/bug-regex31.c: Include <stdlib.h>.
17339
17340 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17341
17342 * nis/nss_compat/compat-spwd.c
17343 (getspent_next_nss_netgr): Remove unused variable.
17344 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17345
17346 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17347 nonmembers" output to use the right array.
17348
17349 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17350
17351 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17352
17353 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17354 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17355 * catgets/gencat.c (read_input_file): Likewise.
17356 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17357
17358 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17359 variable definition inside #if's controlling its use.
17360
17361 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17362
17363 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17364
17365 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17366
17367 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17368 unreachable code.
17369
17370 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17371
b68e08db
RM
17372 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17373 * configure: Regenerated.
17374
b350afab
RM
17375 * Makerules: Revert last change.
17376 * elf/Makefile: Likewise.
17377
28368601
RM
173782011-06-09 Roland McGrath <roland@hack.frob.com>
17379
17380 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17381 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17382 (reloc-link): Likewise.
17383
11988f8f
UD
173842011-06-09 Ulrich Drepper <drepper@gmail.com>
17385
17386 * elf/Makefile: Add rules to build pldd.
17387 * elf/pldd.c: New file.
17388 * elf/pldd-xx.c: New file.
17389
e80fab37
UD
173902011-06-07 Ulrich Drepper <drepper@gmail.com>
17391
17392 * version.h: Update for 2.15 development version.
17393
9b849836
DM
173942011-06-07 David S. Miller <davem@davemloft.net>
17395
17396 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17397 ifuncs.
17398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17399 elf_machine_lazy_rel): Likewise.
17400 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17402 elf_machine_lazy_rel): Likewise.
17403 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17404 dl_hwcap via passed in argument.
17405 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17406 Likewise.
17407
5a31b283
AK
174082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17409
17410 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17411
069e52f8
RM
174122011-06-06 Roland McGrath <roland@hack.frob.com>
17413
17414 [BZ #12849]
17415 * manual/fdl-1.1.texi: New file, verbatim from:
17416 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17417 * manual/lgpl-2.1.texi: New file, verbatim from:
17418 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17419 * manual/Makefile (licenses): New variable, list those new file names.
17420 (texis): Use it.
17421 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17422
17423 * manual/fdl.texi: File removed.
17424 * manual/lesser.texi: File removed.
17425 * manual/libc.texinfo (Copying, Documentation License):
17426 Use new @include file names, put @appendix directive before @include.
17427
f16846a5
JJ
174282011-06-04 Jakub Jelinek <jakub@redhat.com>
17429
17430 [BZ #12841]
17431 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17432 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17433 (mq_open): Add __NTH.
17434
3d29045b
L
174352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17436
17437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17438 Assume Intel Core i3/i5/i7 processor if AVX is available.
17439
8c297311
UD
174402011-05-31 Ulrich Drepper <drepper@gmail.com>
17441
17442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17443 typo.
17444
c8fc0c91
UD
174452011-05-31 Andreas Schwab <schwab@redhat.com>
17446
17447 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17448 memory. Use alloca_account. Fix memory leak when retrying.
17449
5b27a807
UD
174502011-05-31 Ulrich Drepper <drepper@gmail.com>
17451
356f8bc6
UD
17452 * version.h (RELEASE): Bump for 2.14 release.
17453 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17454
5b27a807
UD
17455 * config.make.in (RANLIB): Remove entry.
17456
01f16ab0
UD
174572011-05-30 Ulrich Drepper <drepper@gmail.com>
17458
41fce8bd
UD
17459 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17460 (libc.pot): Work around missing support for .ksh extension in xgettext.
17461
4769ae77
UD
17462 [BZ #12684]
17463 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17464 if both request failed.
17465 (send_dg): In case of server errors clear resplen or *resplen2.
17466
6b1e7d19
UD
17467 [BZ #12454]
17468 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17469 when there are multiple maps.
17470 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17471 (_dl_fini): Remove test here.
17472
01f16ab0
UD
17473 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17474
b1ebd700
UD
174752011-05-29 Ulrich Drepper <drepper@gmail.com>
17476
7ae22829
UD
17477 [BZ #12350]
17478 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17479 bit from old_res_options.
17480 (gaih_inet): Likewise.
17481
553149f6 17482 [BZ #11099]
18a84741 17483 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17484 as signed.
17485
652ffab1
UD
17486 * resolv/res_init.c (res_setoptions): Make the code more compact.
17487
16985fd0
UD
17488 [BZ #11558]
17489 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17490 set RES_USEVC.
17491
0464f746
UD
17492 [BZ #11634]
17493 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17494
7d17596c
UD
17495 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17496
cf6bbbd7
UD
17497 [BZ #11781]
17498 * malloc/malloc.h: Declare malloc hook variables as volatile.
17499
13f1ab36
UD
17500 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17501 in last patch.
17502
b1ebd700
UD
17503 [BZ #11799]
17504 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17505 raise in the comment.
80e2212d
UD
17506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17508 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17509
ce67228d
UD
175102011-05-28 Ulrich Drepper <drepper@gmail.com>
17511
8887a920
UD
17512 [BZ #12811]
17513 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17514 grow the buffers more if it already has to be sufficient.
17515 (build_wcs_upper_buffer): Likewise.
17516 * posix/regexec.c (check_matching): Likewise.
17517 (clean_state_log_if_needed): Likewise.
17518 (extend_buffers): Don't enlarge buffers beyond size of the input
17519 buffer.
17520 Patches mostly by Emil Wojak <emil@wojak.eu>.
17521 * posix/bug-regex32.c: New file.
17522 * posix/Makefile (tests): Add bug-regex32.
17523
4f031072
UD
17524 * locale/findlocale.c (_nl_find_locale): Return right away if
17525 _nl_explode_name failed.
17526 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17527
d0478f0c
UD
17528 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17529
de81b246
UD
17530 * debug/xtrace.sh: Unify messages.
17531 * malloc/memusage.sh: Likewise.
17532
c738465a
UD
17533 [BZ #12813]
17534 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17535 time symbol from vDSO. Substitute with vsyscall if not available.
17536 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17537 __vdso_time.
17538
f1f929d7
UD
17539 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17540 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17541 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17542 Add sendmmsg and internal_sendmmsg.
17543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17544 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17545 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17546
ce67228d
UD
17547 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17548 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17549 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17550
e57420c6
UD
175512011-05-27 Ulrich Drepper <drepper@gmail.com>
17552
a8509ca5
UD
17553 [BZ #12813]
17554 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17555 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17556 available.
17557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17558 __vdso_getcpu.
17559
e57420c6
UD
17560 [BZ #12814]
17561 * iconvdata/Makefile (tests): Add bug-iconv9.
17562 * iconvdata/bug-iconv9.c: New file.
17563
4d07db15
AS
175642011-05-27 Andreas Schwab <schwab@redhat.com>
17565
17566 [BZ #12814]
17567 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17568
ea486f69
JJ
175692011-05-25 Jakub Jelinek <jakub@redhat.com>
17570
17571 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17572 (struct user_regs_struct): Change intcs field back to cs.
17573
6f038433
UD
175742011-05-25 Ulrich Drepper <drepper@gmail.com>
17575
17576 * po/ja.po: Update from translation team.
17577
67f86a25
UD
175782011-05-23 Ulrich Drepper <drepper@gmail.com>
17579
17580 [BZ #12795]
17581 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17582 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17583
def7fbd6
AS
175842011-05-20 Andreas Schwab <schwab@redhat.com>
17585
17586 * stdlib/longlong.h: Update from GCC.
17587
f50ef8f1
AS
175882011-05-23 Andreas Schwab <schwab@redhat.com>
17589
17590 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17591 parameter name.
17592 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17593 Add parameter name.
17594 (__sysconf): Pass it down.
17595
de7ce8f1
UD
175962011-05-22 Ulrich Drepper <drepper@gmail.com>
17597
f2962a71
UD
17598 [BZ #12671]
17599 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17600 some situations.
17601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17602 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17603 add in in __libc_use_alloca calls. Adjust callers.
17604 (glob): Use malloc in some situations.
17605
de7ce8f1
UD
17606 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17607 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17608 pltexit.
17609
aec84f53
UD
176102011-05-21 Ulrich Drepper <drepper@gmail.com>
17611
05bb4a68
UD
17612 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17613 and CLOCK_BOOTTIME_ALARM.
17614
7ea72f99
UD
17615 [BZ #12782]
17616 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17617 is returned.
17618
7e4afad5
UD
17619 * string/_strerror.c (__strerror_r): Print negative errors as signed
17620 numbers.
17621
8e211fec
UD
17622 [BZ #12777]
17623 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17624 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17625 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17626
f7d82dc9
UD
17627 * configure.in: Fix typo in redirection and correct removal of test
17628 files in two cases.
17629
cc9e536d
UD
17630 [BZ #12788]
17631 * locale/setlocale.c (new_composite_name): Fix test to check for
17632 identical name of all categories.
17633
aec84f53
UD
17634 [BZ #12792]
17635 * libio/filedoalloc.c (local_isatty): New function.
17636 (_IO_file_doallocate): Use local_isatty.
17637 * stdio-common/perror.c (perror): In case a new stream is used
17638 forward the stream error.
17639 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17640 error flag.
17641
78e64fdc
RT
176422011-05-20 Ulrich Drepper <drepper@gmail.com>
17643
34a9094f
UD
17644 [BZ #11869]
17645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17646 alloca.
17647 * include/alloca.h (extend_alloca_account): Define.
17648
78e64fdc
RT
17649 [BZ #11857]
17650 * posix/regex.h: Fix comments with documentation of user-accessible
17651 fields after compilation and describe correct free'ing of pattern
17652 after re_compile_pattern.
17653 Patch by Reuben Thomas <rrt@sc3d.org>.
17654
457bddfc
RA
176552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17656
17657 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17658 and -mno-altivec to prevent the compiler from using Altivec and/or
17659 VSX instructions when the corresponding registers are not available.
17660
a4527b51
AS
176612011-05-19 Andreas Schwab <schwab@redhat.com>
17662
17663 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17664
ed690b2f
UD
176652011-05-19 Ulrich Drepper <drepper@gmail.com>
17666
17667 * libio/freopen.c (freopen): Use __dup2, not dup2.
17668 * libio/freopen64.c (freopen64): Likewise.
17669
8db73634
L
176702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17671
17672 [BZ #12775]
17673 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17674 * math/Makefile (tests): Add test-powl.
17675 (CFLAGS-test-powl.c): Define.
17676 * math/test-powl.c: New file.
17677
0a197a9d
L
176782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17679
17680 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17681
ee30c380
UD
176822011-05-17 Ulrich Drepper <drepper@gmail.com>
17683
17684 [BZ #11837]
17685 * iconvdata/gb18030.c: Update to GB18020-2005.
17686
6ce75379
UD
176872011-05-16 Ulrich Drepper <drepper@gmail.com>
17688
a4b89fd8
AR
17689 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17690 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17691 Patch by Aharon Robbins <arnold@skeeve.com>.
17692
ea389b12
UD
17693 [BZ #11892]
17694 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17695 on the stack.
17696
68a3f91f
UD
17697 [BZ #11895]
17698 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17699 through underflows.
17700
15cc7dd1
UD
17701 [BZ #12766]
17702 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17703 point to strings before performing equality test for error_one_per_line
17704 mode.
17705
f3799213
UD
17706 [BZ #11697]
17707 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17708
d79a9c94
UD
17709 [BZ #11820]
17710 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17711 (struct user_fpregs_struct): Avoid __uint*_t types.
17712
56e5eb46
UD
17713 [BZ #6420]
17714 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17715 symbol info. Use it instead of calling _dl_addr locally.
17716 (lock_and_info): New function.
17717 (tr_freehook): Call lock_and_info and pass symbol info as additional
17718 parameter to tr_where.
17719 (tr_mallochook): Likewise.
17720 (tr_reallochook): Likewise.
17721 (tr_memalignhook): Likewise.
17722
6ce75379
UD
17723 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17724 used and couldn't be at all thread-safe.
17725
f8a3b5bf
UD
177262011-05-15 Ulrich Drepper <drepper@gmail.com>
17727
94b7cc37
UD
17728 * libio/freopen.c (freopen): Don't close old file descriptor
17729 before the new one is opened. Instead dup the new file descriptor
17730 to the old one after the new stream is created.
17731 * libio/freopen64.c (freopen64): Likewise.
17732 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17733 * libio/fileops.c (_IO_new_file_close_it): Handle new
17734 _IO_FLAGS2_NOCLOSE flag.
17735 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17736 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17737 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17738 _IO_FLAGS2_NOCLOSE flag.
17739 * include/unistd.h: Add hidden_proto for dup3.
17740 Define __have_dup3.
17741 * io/dup3.c: Define hidden symbol.
17742 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17743
bd25564e
UD
17744 [BZ #7101]
17745 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17746 when an incomplete long option is used.
17747 * posix/tst-getopt_long1.c: New file.
17748 * posix/Makefile (tests): Add tst-getopt_long1.
17749
c84cfef4
UD
17750 [BZ #10138]
17751 * scripts/config.guess: Update from autoconf-2.68.
17752 * scripts/config.sub: Likewise.
17753
3b85df27
UD
17754 [BZ #10157]
17755 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17756 tests into ...
17757 (has_cpuclock): ...this. New function.
17758 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17759 macro here based on has_cpuclock code.
17760
15a856b1
UD
17761 [BZ #10149]
17762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17763 First byte (not low byte) is now always NUL.
17764 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17765
05f399e6
UD
17766 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17767 Use non-cancelable interfaces.
17768
10a52685 17769 [BZ #9809]
94ecc67d
UD
17770 * locale/iso-639.def: Add entry for Sorani.
17771
f8a3b5bf
UD
17772 [BZ #11901]
17773 * include/stdlib.h: Move include protection to the right place.
17774 Define abort_msg_s. Declare __abort_msg with it.
17775 * stdlib/abort.c (__abort_msg): Adjust type.
17776 * assert/assert.c (__assert_fail_base): New function. Majority
17777 of code from __assert_fail. Allocate memory for __abort_msg with
17778 mmap.
17779 (__assert_fail): Now call __assert_fail_base.
17780 * assert/assert-perr.c: Remove bulk of implementation. Use
17781 __assert_fail_base.
17782 * include/assert.hL Declare __assert_fail_base.
17783 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17784 mmap.
17785 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17786
1af4e298
UD
177872011-05-14 Ulrich Drepper <drepper@gmail.com>
17788
f8a3b5bf 17789 [BZ #11952]
d26dfc60
MG
17790 [BZ #12453]
17791 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17792 until all modules are registered in the DTV.
17793 * elf/Makefile: Add rules to build and run tst-tls19.
17794 * elf/tst-tls19.c: New file.
17795 * elf/tst-tls19mod1.c: New file.
17796 * elf/tst-tls19mod2.c: New file.
17797 * elf/tst-tls19mod3.c: New file.
17798 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17799
2fc54d6f
UD
17800 [BZ #12083]
17801 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17802 correctly.
17803
98d76b46
UD
17804 [BZ #12601]
17805 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17806 two-byte sequence errors.
17807 * iconvdata/Makefile (tests): Add bug-iconv8.
17808 * iconvdata/bug-iconv8.c: New file.
17809
da3c19ef
UD
17810 [BZ #12626]
17811 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17812 buf2 definition.
17813
ca408c15
UD
17814 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17815
d6f67f7d
UD
17816 [BZ #12432]
17817 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17818 (dummy_getcfa): New function.
17819 (init): Get _Unwind_GetCFA address, use dummy if not found.
17820 (backtrace_helper): In recursion check, also check whether CFA changes.
17821 (__backtrace): Completely initialize arg.
17822
1af4e298 17823 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17824 storing incomplete byte sequence in state object. Avoid testing for
17825 guaranteed too small input if we know there is enough data available.
1af4e298 17826
da62f81b
AS
178272011-05-11 Andreas Schwab <schwab@redhat.com>
17828
17829 * Makeconfig (+link-pie): Indent.
17830 * Rules (binaries-pie): Define if $(have-fpie) and
17831 $(build-shared).
17832 (binaries-shared): Also filter out $(binaries-pie).
17833 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17834 * nscd/Makefile (others-pie): Add nscd.
17835 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17836 ($(objpfx)nscd): Remove command override.
17837 * login/Makefile (others-pie): Add pt_chown.
17838 ($(objpfx)pt_chown): Remove command override.
17839 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17840 remove command overrides.
17841
fcabc0f8
UD
178422011-05-13 Ulrich Drepper <drepper@gmail.com>
17843
20030ae6
UD
17844 * libio/tst_putwc.c: Fix error messages.
17845
fcabc0f8
UD
17846 [BZ #12724]
17847 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17848 currently writing and seek to current position when not.
17849 * libio/Makefile (tests): Add bug-fclose1.
17850 * libio/bug-fclose1.c: New file.
17851
320a5dc0
PB
178522011-05-12 Ulrich Drepper <drepper@gmail.com>
17853
17854 [BZ #12511]
17855 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17856 don't set DF_1_NODELETE here.
17857 (do_lookup_x): When entering new entry test for copy relocation
17858 and if necessary set DF_1_NODELETE flag.
17859 * elf/tst-unique4.cc: New file.
17860 * elf/tst-unique4.h: New file.
17861 * elf/tst-unique4lib.cc: New file.
17862 * elf/Makefile: Add rules to build and run tst-unique4.
17863 Patch by Piotr Bury <pbury@goahead.com>.
17864
22836f52
UD
178652011-05-11 Ulrich Drepper <drepper@gmail.com>
17866
f574184a
UD
17867 [BZ #12052]
17868 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17869
e1fb097f
UD
17870 [BZ #12625]
17871 * misc/mntent_r.c (addmntent): Flush the stream after the output
17872
22836f52
UD
17873 [BZ #12393]
17874 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17875 (is_trusted_path_normalize): Skip initial colon. Append slash
17876 to empty buffer. Duplicate is_trusted_path code but allow
17877 constructed patch to be prefix.
17878 (is_dst): Allow $ORIGIN followed by /.
17879 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17880 Correct testing of result of is_trusted_path_normalize
17881 (decompose_rpath): Fix warning.
17882
7b3b0b2a
UD
178832011-05-10 Ulrich Drepper <drepper@gmail.com>
17884
17885 [BZ #11257]
17886 * grp/initgroups.c (internal_getgrouplist): When we found the service
17887 list through the initgroups entry in nsswitch.conf do not always
17888 continue on a successful lookup. Don't always use the
eac80ce2 17889 __nss_group_database value if it is set.
7b3b0b2a
UD
17890 * nss/nsswitch.conf (initgroups): Change action for successful db
17891 lookup to continue for compatibility.
17892
2a81eaa5
UD
178932011-05-09 Ulrich Drepper <drepper@gmail.com>
17894
be97a69e
UD
17895 [BZ #11532]
17896 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17897 and CP774 modules.
17898 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17899 and CP774 modules.
17900 * iconvdata/tst-tables.sh: Likewise.
17901 * iconvdata/cp770.c: New file.
17902 * iconvdata/cp771.c: New file.
17903 * iconvdata/cp772.c: New file.
17904 * iconvdata/cp773.c: New file.
17905 * iconvdata/cp774.c: New file.
17906 * iconvdata/testdata/CP770: New file.
17907 * iconvdata/testdata/CP770..UTF8: New file.
17908 * iconvdata/testdata/CP771: New file.
17909 * iconvdata/testdata/CP771..UTF8: New file.
17910 * iconvdata/testdata/CP772: New file.
17911 * iconvdata/testdata/CP772..UTF8: New file.
17912 * iconvdata/testdata/CP773: New file.
17913 * iconvdata/testdata/CP773..UTF8: New file.
17914 * iconvdata/testdata/CP774: New file.
17915 * iconvdata/testdata/CP774..UTF8: New file.
17916
17917 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17918 END CHARMAP line.
17919 * iconvdata/gen-8bit-gap.sh: Likewise.
17920 * iconvdata/gen-8bit.sh: Likewise.
17921
c1e9e399
UD
17922 * locale/iso-639.def: Add ary entry.
17923
24c55fb3 17924 [BZ #11258]
96b4b1b0
UD
17925 * locale/C-translit.h.in: Add U20A1 transliteration.
17926
bdc2f971
KB
17927 [BZ #12178]
17928 * locale/iso-639.def: Add wae entry.
17929 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17930
2952b117
UD
17931 [BZ #12545]
17932 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17933 for n.
17934
2a81eaa5
UD
17935 [BZ #12711]
17936 * locale/C-translit.h.in: Add entry for U20B9.
17937 Patch by pravin.d.s@gmail.com.
17938
28377d1b
UD
179392011-05-08 Ulrich Drepper <drepper@gmail.com>
17940
7fb90fb8
UD
17941 [BZ #12713]
17942 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17943 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17944 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17945 in rtld. Use *stat64.
7fb90fb8 17946 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17947 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17948 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17949 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17950 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17951 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17952 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17953 __fstatat64 macros.
7fb90fb8
UD
17954 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17955 * dirent/rewinddir.c: Add libc_hidden_def.
17956 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17957 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17958
28377d1b
UD
17959 * include/dirent.h (__alloc_dir): Add flags parameter.
17960 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17961 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17962 __alloc_dir.
17963 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17964 from fdopendir if O_CLOEXEC is already set.
17965
66bdbaa4
AM
179662011-03-15 Alan Modra <amodra@gmail.com>
17967
17968 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17969 l_tls_firstbyte_offset non-zero. Save padding offset in
17970 l_tls_firstbyte_offset for later use.
17971 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17972 freeing static tls block.
17973
95721191
JN
179742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17975
17976 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17977 where #ifdef was intended. The intent is to prevent ARG_MAX from
17978 being defined by the kernel headers.
17979
f87dfb1f
UD
179802011-05-07 Ulrich Drepper <drepper@gmail.com>
17981
17982 [BZ #12734]
17983 * resolv/resolv.h: Define RES_NOTLDQUERY.
17984 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
17985 no-tld-query and set RES_NOTLDQUERY.
17986 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
17987 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
17988 modern BIND to search name as TLD unless forbidden.
17989
47c3cd7a
UD
179902011-05-07 Petr Baudis <pasky@suse.cz>
17991 Ulrich Drepper <drepper@gmail.com>
17992
17993 [BZ #12393]
17994 * elf/dl-load.c (fillin_rpath): Move trusted path check...
17995 (is_trusted_path): ...to here.
c1e9ea35 17996 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 17997 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 17998 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 17999
8a35c912
PP
180002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18001
18002 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18003 __BEGIN/__END_DECLS.
18004
acd41f47
UD
180052011-05-06 Ulrich Drepper <drepper@gmail.com>
18006
18007 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18008 NSS_STATUS_NOTFOUND if no record was found.
18009
597df647
AS
180102011-05-05 Andreas Schwab <schwab@redhat.com>
18011
18012 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18013 (headers-not-in-tirpc): Remove rpc/netdb.h
18014 * resolv/netdb.h: Revert last change.
18015
b9af1301
PP
180162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18017
18018 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18019 circular dependency between libgcc.a and libc.a.
18020
4e34d5f5
AS
180212011-05-05 Andreas Schwab <schwab@redhat.com>
18022
18023 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18024 * nis/Makefile: Don't install rpcsvc/*.
18025 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18026 instead of <rpc/types.h>.
18027 (MAXHOSTNAMELEN): Define.
18028
00ee369c
AS
180292011-05-03 Andreas Schwab <schwab@redhat.com>
18030
18031 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18032
0b592a30
MB
180332011-04-28 Maciej Babinski <mbabinski@google.com>
18034
18035 [BZ #12714]
18036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18037 gethostbyname4_r when IPv6 results are possible.
18038
6e04cbbe
UD
180392011-05-02 Ulrich Drepper <drepper@gmail.com>
18040
18041 [BZ #12723]
18042 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18043 _PC_PIPE_BUF handling.
18044
e4ecafe0
BH
180452011-04-30 Bruno Haible <bruno@clisp.org>
18046
18047 [BZ #12717]
18048 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18049 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18050 to 'int'.
18051 * inet/getnameinfo.c (getnameinfo): Likewise.
18052
125ee683
UD
180532011-04-29 Ulrich Drepper <drepper@gmail.com>
18054
18055 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18056 to groups setting in database lookup.
18057 * nss/nsswitch.conf: Add initgroups entry.
18058
b722481a
EB
180592011-04-22 Ulrich Drepper <drepper@gmail.com>
18060
18061 [BZ #12685]
18062 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18063 mode string.
18064 Patch by Eric Blake <eblake@redhat.com>.
18065
4df46dbd
L
180662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sunrpc/Makefile (need-export-routines): Add svc_run.
18069 (routines): Remove svc_run.
18070 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18071 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18072 * sunrpc/svc_run.c (svc_run): Likewise.
18073 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18074
e84142d2
UD
180752011-04-21 Ulrich Drepper <drepper@gmail.com>
18076
18077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18078 problem in reallocation in last patch.
18079
877175d8
UD
180802011-04-20 Ulrich Drepper <drepper@gmail.com>
18081
18082 * sunrpc/Makefile: Move inclusion of Rules.
18083
ab8eed78
UD
180842011-04-19 Ulrich Drepper <drepper@gmail.com>
18085
18086 * nss/nss_files/files-initgroups.c: New file.
18087 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18088 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18089 _nss_files_initgroups_dyn.
18090
e3d8f584
RS
180912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18092
18093 * elf/elf.h (R_ARM_IRELATIVE): Define.
18094
af190f45
UD
180952011-04-19 Ulrich Drepper <drepper@gmail.com>
18096
18097 * po/ru.po: Update from translation team.
18098
53cf59ef
UD
180992011-04-17 Ulrich Drepper <drepper@gmail.com>
18100
18101 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18102 dependencies.
18103
4c559bcd
MF
181042011-02-06 Mike Frysinger <vapier@gentoo.org>
18105
18106 [BZ #12653]
18107 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18108 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18109 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18111 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18112
4420675c
AS
181132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18114
18115 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18116 differing bytes.
18117 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18118 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18120
75ea32ab
UD
181212011-04-17 Ulrich Drepper <drepper@gmail.com>
18122
18123 [BZ #12420]
18124 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18125 storing it.
18126 * stdlib/bug-getcontext.c: New file.
18127 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18128
27390476
AK
181292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18130
18131 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18132 instructions into .machine "z9-109".
18133 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18134 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18135
10442705
AK
181362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18137
18138 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18139 between environment variables and auxiliary vector.
18140
7b57bfe5
UD
181412011-04-16 Ulrich Drepper <drepper@gmail.com>
18142
18143 * Makefile: Add rules to build linkobj/libc.so.
18144 * include/libc-symbols.h: Define libc_hidden_nolink.
18145 * include/rpc/auth.h: Mark functions which are to be hidden.
18146 * include/rpc/auth_des.h: Likewise.
18147 * include/rpc/auth_unix.h: Likewise.
18148 * include/rpc/clnt.h: Likewise.
18149 * include/rpc/des_crypt.h: Likewise.
18150 * include/rpc/key_prot.h: Likewise.
18151 * include/rpc/pmap_clnt.h: Likewise.
18152 * include/rpc/pmap_prot.h: Likewise.
18153 * include/rpc/pmap_rmt.h: Likewise.
18154 * include/rpc/rpc_msg.h: Likewise.
18155 * include/rpc/svc.h: Likewise.
18156 * include/rpc/svc_auth.h: Likewise.
18157 * include/rpc/xdr.h: Likewise.
18158 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18159 * nss/Makefile: Likewise.
18160 * sunrpc/Makefile: Don't install headers. Build library with normal
18161 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18162 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18163 for the compat linking library. Remove use of INTDEF/INTUSE.
18164 * sunrpc/auth_none.c: Likewise.
18165 * sunrpc/auth_unix.c: Likewise.
18166 * sunrpc/authdes_prot.c: Likewise.
18167 * sunrpc/authuxprot.c: Likewise.
18168 * sunrpc/clnt_gen.c: Likewise.
18169 * sunrpc/clnt_perr.c: Likewise.
18170 * sunrpc/clnt_raw.c: Likewise.
18171 * sunrpc/clnt_simp.c: Likewise.
18172 * sunrpc/clnt_tcp.c: Likewise.
18173 * sunrpc/clnt_udp.c: Likewise.
18174 * sunrpc/clnt_unix.c: Likewise.
18175 * sunrpc/des_crypt.c: Likewise.
18176 * sunrpc/des_soft.c: Likewise.
18177 * sunrpc/get_myaddr.c: Likewise.
18178 * sunrpc/key_call.c: Likewise.
18179 * sunrpc/key_prot.c: Likewise.
18180 * sunrpc/netname.c: Likewise.
18181 * sunrpc/pm_getmaps.c: Likewise.
18182 * sunrpc/pm_getport.c: Likewise.
18183 * sunrpc/pmap_clnt.c: Likewise.
18184 * sunrpc/pmap_prot.c: Likewise.
18185 * sunrpc/pmap_prot2.c: Likewise.
18186 * sunrpc/pmap_rmt.c: Likewise.
18187 * sunrpc/publickey.c: Likewise.
18188 * sunrpc/rpc_cmsg.c: Likewise.
18189 * sunrpc/rpc_common.c: Likewise.
18190 * sunrpc/rpc_dtable.c: Likewise.
18191 * sunrpc/rpc_prot.c: Likewise.
18192 * sunrpc/rpc_thread.c: Likewise.
18193 * sunrpc/rtime.c: Likewise.
18194 * sunrpc/svc.c: Likewise.
18195 * sunrpc/svc_auth.c: Likewise.
18196 * sunrpc/svc_authux.c: Likewise.
18197 * sunrpc/svc_raw.c: Likewise.
18198 * sunrpc/svc_run.c: Likewise.
18199 * sunrpc/svc_simple.c: Likewise.
18200 * sunrpc/svc_tcp.c: Likewise.
18201 * sunrpc/svc_udp.c: Likewise.
18202 * sunrpc/svc_unix.c: Likewise.
18203 * sunrpc/svcauth_des.c: Likewise.
18204 * sunrpc/xcrypt.c: Likewise.
18205 * sunrpc/xdr.c: Likewise.
18206 * sunrpc/xdr_array.c: Likewise.
18207 * sunrpc/xdr_float.c: Likewise.
18208 * sunrpc/xdr_intXX_t.c: Likewise.
18209 * sunrpc/xdr_mem.c: Likewise.
18210 * sunrpc/xdr_rec.c: Likewise.
18211 * sunrpc/xdr_ref.c: Likewise.
18212 * sunrpc/xdr_sizeof.c: Likewise.
18213 * sunrpc/xdr_stdio.c: Likewise.
18214
e6c61494
UD
182152011-04-10 Ulrich Drepper <drepper@gmail.com>
18216
18217 [BZ #12650]
18218 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18219 * sysdeps/ia64/dl-tls.h: Likewise.
18220 * sysdeps/powerpc/dl-tls.h: Likewise.
18221 * sysdeps/s390/dl-tls.h: Likewise.
18222 * sysdeps/sh/dl-tls.h: Likewise.
18223 * sysdeps/sparc/dl-tls.h: Likewise.
18224 * sysdeps/x86_64/dl-tls.h: Likewise.
18225 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18226
34fe483e
AS
182272011-03-14 Andreas Schwab <schwab@redhat.com>
18228
18229 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18230 rpath element also skip the following colon.
18231 (expand_dynamic_string_token): Add is_path parameter and pass
18232 down to DL_DST_REQUIRED and _dl_dst_substitute.
18233 (decompose_rpath): Call expand_dynamic_string_token with
18234 non-zero is_path. Ignore empty rpaths.
18235 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18236 with zero is_path.
18237
f12a32e6
AS
182382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18239
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18241 Make cancelable.
18242
38a7d692
UD
182432011-04-09 Ulrich Drepper <drepper@gmail.com>
18244
18245 [BZ #12655]
18246 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18247 Patch by Filipe David Manana <fdmanana@apache.org>.
18248
e451d22b
AS
182492011-04-07 Andreas Schwab <schwab@redhat.com>
18250
18251 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18252 Maintain aligned stack.
18253 (CHECK_RSP): Remove unused macro.
18254
dedc7c7b
UD
182552011-04-03 Ulrich Drepper <drepper@gmail.com>
18256
18257 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18258 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18259
94521213
UD
182602011-04-02 Ulrich Drepper <drepper@gmail.com>
18261
18262 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18263
8cb700c0 18264 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18265
0354e355
L
182662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18267
18268 [BZ #12518]
18269 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18270 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18271 * sysdeps/x86_64/memmove.c: New file.
18272 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18273 (memcpy): Renamed to ...
18274 (__new_memcpy): This.
18275 (memcpy): Provide GLIBC_2_14 memcpy.
18276 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18277 (memcpy): Provide GLIBC_2_2_5 memcpy.
18278
8593482f
UD
182792011-04-01 Ulrich Drepper <drepper@gmail.com>
18280
18281 [BZ #12631]
18282 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18283
81a5726b
AS
182842011-03-30 Andreas Schwab <schwab@redhat.com>
18285
18286 * misc/syncfs.c: New file.
18287 * misc/Makefile (routines): Add syncfs.
18288 * posix/unistd.h: Declare syncfs.
18289 * sysdeps/unix/syscalls.list: Add syncfs.
18290
00e5419f
AS
182912011-04-01 Andreas Schwab <schwab@redhat.com>
18292
18293 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18294 open_by_handle_at.
18295 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18298 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18300 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18302
748876bf
UD
183032011-04-01 Ulrich Drepper <drepper@gmail.com>
18304
658e451d
UD
18305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18306 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18309 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18310 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18312
748876bf
UD
18313 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18314 sync_file_range.c with -fexceptions.
18315 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18316 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18317 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18318 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18319 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18320 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18322 sync_file_range as cancellation point
18323 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18324 now a wrapper around __call_sync_file_range with cancellation handling.
18325 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18326 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18327 function name to __call_sync_file_range.
18328 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18329 Add call_sync_file_range.
748876bf 18330
6e63d5e1
AS
183312011-04-01 Andreas Schwab <schwab@redhat.com>
18332
18333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18334 bits/timex.h.
6e63d5e1 18335
46998f74
UD
183362011-04-01 Ulrich Drepper <drepper@gmail.com>
18337
4c1423ed
UD
18338 * iconv/iconv.h: Fix typo in comment.
18339 * io/fcntl.h: Likewise.
18340 * libio/stdio.h: Likewise.
18341 * posix/spawn.h: Likewise.
18342 * posix/unistd.h: Likewise.
18343 * stdlib/stdlib.h: Likewise.
18344 * time/time.h: Likewise.
18345 * wcsmbs/wchar.h: Likewise.
18346
158648c0
UD
18347 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18348 open_by_handle): Add.
18349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18350 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18351 Augment a few comments.
18352 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18357 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18358 open_by_handle.
18359
46998f74
UD
18360 * io/fcntl.h (AT_EMPTY_PATH): Define.
18361
83fe108b
UD
183622011-03-30 Ulrich Drepper <drepper@gmail.com>
18363
18364 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18365 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18366 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18367 to...
18368 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18369 * Versions.def: Add GLIBC_2.14.
18370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18371 Export.
83fe108b 18372
bb242059
UD
183732011-03-22 Ulrich Drepper <drepper@gmail.com>
18374
18375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18376 round counter.
18377 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18378
c97a1282
L
183792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18380
18381 [BZ #12597]
18382 * string/test-strncmp.c (do_page_test): New function.
18383 (check2): Likewise.
18384 (test_main): Call check2.
18385 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18386
2a115601
UD
183872011-03-20 Ulrich Drepper <drepper@gmail.com>
18388
18389 [BZ #12587]
18390 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18391 Handle cache information in CPU leaf 4.
18392 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18393
8126d904
UD
183942011-03-18 Ulrich Drepper <drepper@gmail.com>
18395
042c49c6 18396 [BZ #12583]
8126d904
UD
18397 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18398 character representation.
18399 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18400
ccfe366e
RA
184012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18402
18403 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18404 END(__isnan) to END(__isnanf) to match function entry point/label
18405 EALIGN(__isnanf,...).
18406
c6e13027
JJ
184072011-03-10 Jakub Jelinek <jakub@redhat.com>
18408
18409 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18410
33f85a3f
UD
184112011-03-10 Ulrich Drepper <drepper@gmail.com>
18412
028478fa
UD
18413 [BZ #12510]
18414 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18415 copy from the symbol referenced in the relocation to initialize the
18416 used variable.
18417 Patch by Piotr Bury <pbury@goahead.com>.
18418 * elf/Makefile: Add rules to build and tst-unique3.
18419 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18420 * elf/tst-unique3.cc: New file.
18421 * elf/tst-unique3.h: New file.
18422 * elf/tst-unique3lib.cc: New file.
18423 * elf/tst-unique3lib2.cc: New file.
18424
33f85a3f
UD
18425 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18426
03592fc7
MF
184272011-03-10 Mike Frysinger <vapier@gentoo.org>
18428
18429 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18430 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18431 to _start.
03592fc7 18432
6a5ee102
UD
184332011-03-06 Ulrich Drepper <drepper@gmail.com>
18434
18435 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18436 to-be-loaded object along a path to loader is ld.so.
18437
7e4ba49c
HJ
184382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18439 Ulrich Drepper <drepper@gmail.com>
18440
18441 * sysdeps/x86_64/memset.S: After aligning destination, code
18442 branches to different locations depending on the value of
18443 misalignment, when multiarch is enabled. Fix this.
18444
184452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18446
18447 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18448 Set _x86_64_preferred_memory_instruction for AMD processsors.
18449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18450 Set bit_Prefer_SSE_for_memop for AMD processors.
18451
13a804de
UD
184522011-03-04 Ulrich Drepper <drepper@gmail.com>
18453
18454 * libio/fmemopen.c (fmemopen): Optimize a bit.
18455
9d25c392
AS
184562011-03-03 Andreas Schwab <schwab@redhat.com>
18457
18458 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18459
a5543c6a
RM
184602011-03-03 Roland McGrath <roland@redhat.com>
18461
18462 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18463
012d35f7
DM
184642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18465
7e4ba49c 18466 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18467 __bzero_ultra1 instead of __memset_ultra1.
18468
4bff6e01
AS
184692011-02-23 Andreas Schwab <schwab@redhat.com>
18470 Ulrich Drepper <drepper@gmail.com>
18471
18472 [BZ #12509]
18473 * include/link.h (struct link_map): Add l_orig_initfini.
18474 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18475 returning unsuccessfully.
18476 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18477 close of a file loaded at startup, restore the original l_initfini
18478 list.
18479 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18480 list, store the pointer.
18481 * elf/Makefile ($(objpfx)noload-mem): New rule.
18482 (noload-ENV): Define.
18483 (tests): Add $(objpfx)noload-mem.
18484 * elf/noload.c: Include <memcheck.h>.
18485 (main): Call mtrace. Close all opened handles.
18486
f2092faf
AS
184872011-02-17 Andreas Schwab <schwab@redhat.com>
18488
18489 [BZ #12454]
18490 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18491 dependencies are missing.
18492
6c8a2e88
ST
184932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18494
f2092faf 18495 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18496 Hurd needs munmap.
18497 * sysdeps/mach/hurd/ifreq.h: New file.
18498
84a42118
PB
184992011-01-27 Petr Baudis <pasky@suse.cz>
18500 Ulrich Drepper <drepper@gmail.com>
18501
071f805e 18502 [BZ 12445]#
84a42118
PB
18503 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18504 to extend_alloca().
18505 * stdio-common/bug23.c: New file.
18506 * stdio-common/Makefile (tests): Add bug23.
18507
e23fe25b
AS
185082010-09-28 Andreas Schwab <schwab@redhat.com>
18509 Ulrich Drepper <drepper@gmail.com>
18510
18511 [BZ #12489]
18512 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18513 before performing relro protection. At old place add assertion
18514 to make sure nothing changed.
18515
d3f02e10
NS
185162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18517 Glauber de Oliveira Costa <glommer@gmail.com>
18518
18519 * elf/elf.h: Add new ARM TLS relocs.
18520
d55fd7a5
RA
185212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18522
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18524 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18525 cast from r3.
18526 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18527 'tests' variable.
18528 * sysdeps/wordsize-64/tst-writev.c: New file.
18529
2206397e
RA
185302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18531
18532 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18533 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18534 insns in _dl_start to prevent a TOC reference before relocs are
18535 resolved.
18536
e9433893
UD
185372011-02-15 Ulrich Drepper <drepper@gmail.com>
18538
18539 [BZ #12469]
18540 * Makeconfig: Remove RANLIB definition.
18541 * Makerules: Don't use RANLIB.
18542 * aclocal.m4: Remove ranlib test.
18543 * configure.in: No need to check for ranlib.
18544 * elf/rtld-Rules: Don't use RANLIB.
18545
f75286c6
ST
185462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18547
8e31c82d
ST
18548 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18549 protection macro.
18550 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18551 inclusion protection macro.
18552
f75286c6
ST
18553 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18554 SIGRTMIN and SIGRTMAX and print information in that case only when
18555 SIGRTMIN is defined.
18556
c1d0e639
JJ
185572011-02-11 Jakub Jelinek <jakub@redhat.com>
18558
18559 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18560 arginfo fn returning -1.
18561
18562 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18563 and thousands string is zero terminated.
18564
edf9294e
AS
185652011-02-03 Andreas Schwab <schwab@redhat.com>
18566
18567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18568 sysdeps/unix/sysv/linux/bits/socket.h.
18569
2b7e92df
ST
185702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18571
edf9294e
AS
18572 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18573 (__CPU_COUNT): Remove old macros.
18574 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18575 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18576 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18577 (__sched_cpualloc, __sched_cpufree): Add declarations.
18578
a4c7ea7b
UD
185792011-02-05 Ulrich Drepper <drepper@gmail.com>
18580
18581 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18582 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18583 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18584 (readdhstai): Return value of addhstaiX call.
18585 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18586 (addgrbyX): Return value returned by cache_addgr.
18587 (readdgrbyname): Return value returned by addgrbyX.
18588 (readdgrbygid): Likewise.
18589 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18590 (addpwbyX): Return value returned by cache_addpw.
18591 (readdpwbyname): Return value returned by addhstbyX.
18592 (readdpwbyuid): Likewise.
18593 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18594 (addservbyX): Return value returned by cache_addserv.
18595 (readdservbyname): Return value returned by addservbyX:
18596 (readdservbyport): Likewise.
18597 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18598 (addhstbyX): Return value returned by cache_addhst.
18599 (readdhstbyname): Return value returned by addhstbyX.
18600 (readdhstbyaddr): Likewise.
18601 (readdhstbynamev6): Likewise.
18602 (readdhstbyaddrv6): Likewise.
18603 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18604 (readdinitgroups): Return value returned by addinitgroupsX.
18605 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18606 (prune_cache): Keep track of timeout value of re-added entries.
18607 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18608 * nscd/nscd.h: Adjust prototypes of readd* functions.
18609
a0bf67cc
RM
186102011-02-04 Roland McGrath <roland@redhat.com>
18611
18612 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18613 (nis_stats): Likewise.
18614 * nis/nis_modify.c (nis_modify): Likewise.
18615 * nis/nis_remove.c (nis_remove): Likewise.
18616 * nis/nis_add.c (nis_add): Likewise.
18617
18618 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18619
18620 * posix/fnmatch_loop.c: Add some consts.
18621
18622 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18623
435b95eb
L
186242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18625
18626 [BZ #12460]
18627 * config.make.in (config-cflags-novzeroupper): Define.
18628 * configure.in: Substitute libc_cv_cc_novzeroupper.
18629 * elf/Makefile (AVX-CFLAGS): Define.
18630 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18631 (CFLAGS-tst-auditmod4a.c): Likewise.
18632 (CFLAGS-tst-auditmod4b.c): Likewise.
18633 (CFLAGS-tst-auditmod6b.c): Likewise.
18634 (CFLAGS-tst-auditmod6c.c): Likewise.
18635 (CFLAGS-tst-auditmod7b.c): Likewise.
18636 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18637
8517b15e
UD
186382011-02-02 Ulrich Drepper <drepper@gmail.com>
18639
18640 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18641 function to the callback.
18642 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18643
10a656fe
AS
186442011-02-02 Andreas Schwab <schwab@redhat.com>
18645
18646 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18647 of errno.
18648
968dad0a
UD
186492011-01-19 Ulrich Drepper <drepper@gmail.com>
18650
9f94d2ea 18651 [BZ #11724]
968dad0a
UD
18652 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18653 of constructors.
18654 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18655 of destructors.
18656 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18657
18658 [BZ #11724]
18659 * elf/Makefile: Add rules to build and run new test.
18660 * elf/tst-initorder.c: New file.
18661 * elf/tst-initorder.exp: New file.
18662 * elf/tst-initordera1.c: New file.
18663 * elf/tst-initordera2.c: New file.
18664 * elf/tst-initordera3.c: New file.
18665 * elf/tst-initordera4.c: New file.
18666 * elf/tst-initorderb1.c: New file.
18667 * elf/tst-initorderb2.c: New file.
18668 * elf/tst-order-a1.c: New file.
18669 * elf/tst-order-a2.c: New file.
18670 * elf/tst-order-a3.c: New file.
18671 * elf/tst-order-a4.c: New file.
18672 * elf/tst-order-b1.c: New file.
18673 * elf/tst-order-b2.c: New file.
18674 * elf/tst-order-main.c: New file.
18675 New test case by George Gensure <werkt0@gmail.com>.
18676
86e92359
UD
186772010-10-01 Andreas Schwab <schwab@redhat.com>
18678
18679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18680 decoding ACE if AI_CANONIDN.
18681
5d5732b0
UD
186822011-01-18 Ulrich Drepper <drepper@gmail.com>
18683
18684 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18685
a77e8cbc
UD
186862011-01-17 Ulrich Drepper <drepper@gmail.com>
18687
6392473f
UD
18688 * version.h (RELEASE): Bump for 2.13 release.
18689 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18690
620a0529
UD
18691 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18692
18ba70a5
UD
18693 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18694 MADV_NOHUGEPAGE.
32465c3e
UD
18695 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18697 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18698 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18700 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18701
c0dafcf1
UD
18702 * posix/getconf.c: Update copyright year.
18703 * catgets/gencat.c: Likewise.
18704 * csu/version.c: Likewise.
18705 * debug/catchsegv.sh: Likewise.
18706 * debug/xtrace.sh: Likewise.
18707 * elf/ldconfig.c: Likewise.
18708 * elf/ldd.bash.in: Likewise.
18709 * elf/sprof.c (print_version): Likewise.
18710 * iconv/iconv_prog.c: Likewise.
18711 * iconv/iconvconfig.c: Likewise.
18712 * locale/programs/locale.c: Likewise.
18713 * locale/programs/localedef.c: Likewise.
18714 * malloc/memusage.sh: Likewise.
18715 * malloc/mtrace.pl: Likewise.
18716 * nscd/nscd.c (print_version): Likewise.
18717 * nss/getent.c: Likewise.
18718
a77e8cbc
UD
18719 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18720 PF_CAIF, and PF_ALG.
18721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18722
77e8bddf
AS
187232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18724
1f20b93a
AS
18725 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18726 (modules-names): Use them.
18727 (ifunc-test-modules, ifunc-pie-tests): Define.
18728 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18729 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18730 (test-extras): Likewise.
18731 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18732 $(compile-command.c).
18733 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18734 (all-built-dso): Define.
18735 (check-textrel.out, check-execstack.out): Depend on it.
18736
77e8bddf
AS
18737 * configure.in: Don't override --enable-multi-arch.
18738
bc425b33
UD
187392011-01-15 Ulrich Drepper <drepper@gmail.com>
18740
18741 [BZ #6812]
18742 * nscd/hstcache.c (tryagain): Define.
18743 (cache_addhst): Return tryagain not notfound for temporary errors.
18744 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18745 failed.
18746
794c3ad3
UD
187472011-01-14 Ulrich Drepper <drepper@gmail.com>
18748
70181fdd
UD
18749 [BZ #10563]
18750 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18751 to make the syscall.
18752 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18753
794c3ad3
UD
18754 [BZ #12378]
18755 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18756 and fall back to matching as normal character if the string ends before
18757 the matching ']' is found. This is what POSIX requires.
18758 * posix/testfnm.c: Adjust test result.
18759 * posix/globtest.sh: Adjust test result. Add new test.
18760 * posix/tst-fnmatch.input: Likewise.
18761 * posix/tst-fnmatch2.c: Add new test.
18762
68dc9497
AS
187632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18764
18765 * elf/Makefile (check-execstack): Revert last change. Depend on
18766 check-execstack.h.
18767 (check-execstack.h): New target.
18768 (generated): Add check-execstack.h.
18769 * elf/check-execstack.c: Include "check-execstack.h".
18770 (main): Revert last change.
18771 (handle_file): Return zero if GNU_STACK is absent and
18772 DEFAULT_STACK_PERMS doesn't include PF_X.
18773
451f001b
UD
187742011-01-13 Ulrich Drepper <drepper@gmail.com>
18775
cfa28e56
UD
18776 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18777 in child fails because the descriptor is already closed.
8cf8ce17
UD
18778 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18779 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18780 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18781
1086d70d
UD
18782 [BZ #12397]
18783 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18784 syscall.
18785
451f001b
UD
18786 [BZ #10484]
18787 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18788 temporary buffer used to handle multi lookups locally.
a85b5cb4 18789 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18790
08769175
UD
187912011-01-12 Ulrich Drepper <drepper@gmail.com>
18792
18793 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18794 loader is ld.so.
18795
5e49c52e
UD
187962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18797
18798 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18799 alignment for SSE2.
18800
60522a5f
UD
188012011-01-12 Ulrich Drepper <drepper@gmail.com>
18802
18803 [BZ #12394]
18804 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18805 characters. When rounding increased number of integer digits recompute
18806 number of groups.
18807 * stdio-common/tst-grouping.c: New file.
18808 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18809
f257bbd7
UD
188102011-01-09 Ulrich Drepper <drepper@gmail.com>
18811
18812 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18813 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18814
18815 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18816 void.
18817 * bits/select.h: Likewise.
18818
fa9c15cb
UD
188192011-01-08 Ulrich Drepper <drepper@gmail.com>
18820
18821 * po/ja.po: Update from translation team.
18822
16c2895f
DM
188232011-01-04 David S. Miller <davem@sunset.davemloft.net>
18824
18825 [BZ #11155]
18826 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18827 implementation just like for lxstat, fxstatat, et al.
18828
2543fef2
JM
188292010-12-27 Jim Meyering <meyering@redhat.com>
18830
18831 [BZ #12348]
18832 * posix/regexec.c (build_trtable): Return failure indication upon
18833 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18834
98727dbe
UD
188352010-12-25 Ulrich Drepper <drepper@gmail.com>
18836
5bd6dc5c
UD
18837 [BZ #12201]
18838 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18839 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18840 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18841 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18842
97983464
UD
18843 [BZ #12207]
18844 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18845
98727dbe
UD
18846 [BZ #12204]
18847 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18848 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18849
4a531bb0
L
188502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18851
18852 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18853 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18854 script has SORT_BY_INIT_PRIORITY.
18855 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18856 NO_CTORS_DTORS_SECTIONS is defined.
18857 * elf/soinit.c: Likewise.
18858 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18859 NO_CTORS_DTORS_SECTIONS is defined.
18860 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18861 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18862 * sysdeps/sh/init-first.c: Likewise.
18863 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18864
07eb4b71
UD
188652010-12-24 Ulrich Drepper <drepper@gmail.com>
18866
18867 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18868 always use the slow path.
18869
30950a5f
RA
188702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18871
18872 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18873 similar rule which adds the sysdep directories to the header search in
18874 order to pick up the correct platform stackinfo.h.
18875 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18876 perform test if it is, otherwise return successfully without testing.
18877 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18878 DEFAULT_STACK_PERMS define in stackinfo.h.
18879 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18880 defined in stackinfo.h.
18881 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18882 DEFAULT_STACK_PERMS defined in stackinfo.h.
18883 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18884 * sysdeps/ia64/stackinfo.h: Likewise.
18885 * sysdeps/s390/stackinfo.h: Likewise.
18886 * sysdeps/sh/stackinfo.h: Likewise.
18887 * sysdeps/sparc/stackinfo.h: Likewise.
18888 * sysdeps/x86_64/stackinfo.h: Likewise.
18889 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18890 PF_X for powerpc64. Retain PF_X for powerpc32.
18891
db753e2c
UD
188922010-12-19 Ulrich Drepper <drepper@gmail.com>
18893
14b697f7
UD
18894 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18895 accurately.
db753e2c
UD
18896 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18897 GETDENTS_64BIT_ALIGNED.
18898
28300719
UD
188992010-12-14 Ulrich Drepper <dreper@gmail.com>
18900
14b697f7 18901 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18902
4f197237
AS
189032010-12-10 Andreas Schwab <schwab@redhat.com>
18904
dbb0472f
AS
18905 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18906 _GNU_SOURCE.
18907
4f197237
AS
18908 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18909 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18910 Remove __restrict.
18911 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18912 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18913
fb88ac72
UD
189142010-12-09 Ulrich Drepper <drepper@gmail.com>
18915
18916 [BZ #11655]
18917 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18918 are initialized.
18919
42acbb92
JJ
189202010-12-09 Jakub Jelinek <jakub@redhat.com>
18921
18922 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18923
c038d98d
UD
189242010-12-03 Ulrich Drepper <drepper@gmail.com>
18925
18926 * po/it.po: Update from translation team.
18927
3a4a2499
L
189282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18929
18930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18931 unused codes.
18932
1e24cf6e
UD
189332010-11-30 Ulrich Drepper <drepper@gmail.com>
18934
18935 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18936
a7690819
AS
189372010-11-24 Andreas Schwab <schwab@redhat.com>
18938
18939 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18940 specially.
18941 (gaih_getanswer_slice): Likewise.
18942
3bf8d1b1
JJ
189432010-10-20 Jakub Jelinek <jakub@redhat.com>
18944
18945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18946
6db52fbb
PB
189472010-05-31 Petr Baudis <pasky@suse.cz>
18948
18949 [BZ #11149]
18950 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18951 silently even in the chroot mode.
18952
eaca7569
UD
189532010-11-22 Ulrich Drepper <drepper@gmail.com>
18954
18955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18956 last patch a bit. Pretty printing
18957
3056dcdb
UD
189582010-05-31 Petr Baudis <pasky@suse.cz>
18959
18960 [BZ #10085]
18961 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18962 initialization of skip_initgroups_dyn.
18963
cf7c9078
UD
189642010-11-19 Ulrich Drepper <drepper@gmail.com>
18965
18966 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18967 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18968
a1fb5e3e
UD
189692010-11-16 Ulrich Drepper <drepper@gmail.com>
18970
18971 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18972
3540d66b
AS
189732010-11-11 Andreas Schwab <schwab@redhat.com>
18974
18975 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18976 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18977 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18978 ($(objpfx)tst-fnmatch-mem): New rule.
18979 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18980 * posix/tst-fnmatch.c (main): Call mtrace.
18981
13b69574
L
189822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
18983
18984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18985 Support Intel processor model 6 and model 0x2c.
18986
da93d214
LM
189872010-11-10 Luis Machado <luisgpm@br.ibm.com>
18988
18989 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
18990 signed comparison.
18991
8ca52c6e
L
189922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
18993
18994 [BZ #12205]
18995 * string/test-strncasecmp.c (check_result): New function.
18996 (do_one_test): Use it.
18997 (check1): New function.
18998 (test_main): Use it.
18999 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19000 Support strcasecmp and strncasecmp.
19001
69da074d
UD
190022010-11-08 Ulrich Drepper <drepper@gmail.com>
19003
19004 [BZ #12194]
19005 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19007
ff02d528
L
190082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19009
19010 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19011 IFUNC support.
19012 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19013 memset-x86-64.
19014 * sysdeps/x86_64/multiarch/bzero.S: New file.
19015 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19016 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19017 * sysdeps/x86_64/multiarch/memset.S: New file.
19018 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19020 Set bit_Prefer_SSE_for_memop for Intel processors.
19021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19022 Define.
19023 (index_Prefer_SSE_for_memop): Define.
19024 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19025
344d0b54
LM
190262010-11-04 Luis Machado <luisgpm@br.ibm.com>
19027
19028 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19030
c0dde15b
UD
190312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19032
19033 [BZ #12191]
19034 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19035 (__x86_64_raw_data_cache_size_half): Likewise.
19036 (__x86_64_raw_shared_cache_size): Likewise.
19037 (__x86_64_raw_shared_cache_size_half): Likewise.
19038
19039 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19040 (__x86_64_raw_data_cache_size_half): Likewise.
19041 (__x86_64_raw_shared_cache_size): Likewise.
19042 (__x86_64_raw_shared_cache_size_half): Likewise.
19043 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19044 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19045 and __x86_64_raw_shared_cache_size_half. Round
19046 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19047 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19048 to multiple of 256 bytes.
19049
0e516e0e
MS
190502010-11-03 Ulrich Drepper <drepper@gmail.com>
19051
19052 [BZ #12167]
19053 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19054 of inacessible symlinks. Verify result of symlink before returning it.
19055 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19056 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19057
0e012e87
ER
190582010-10-28 Erich Ritz <erichritz@gmail.com>
19059
19060 * math/math.h (isinf): Fix typo in comment.
19061
de0ff7bc
UD
190622010-11-01 Ulrich Drepper <drepper@gmail.com>
19063
19064 * po/da.po: Update from translation team.
19065
fa41c84d
UD
190662010-10-26 Ulrich Drepper <drepper@gmail.com>
19067
19068 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19069 is added to the list.
19070
f0967738
AK
190712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19072 Ulrich Drepper <drepper@gmail.com>
19073
19074 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19075 the global list here. Move code to...
19076 (_dl_add_to_namespace_list): ...here. New function.
19077 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19078 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19079 * elf/dl-load.c (lose): Don't remove the element from the list.
19080 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19081 (_dl_map_object): Likewise.
19082
190832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19084
19085 [BZ #12159]
19086 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19087 into all bytes of SSE register.
19088 Patch by Richard Li <richardpku@gmail.com>.
19089
f0967738 190902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19091
19092 [BZ #12140]
19093 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19094 perturbing.
19095
d0b9e94f
MB
190962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19097
19098 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19099 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19100 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19101 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19103 submachine.
19104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19105
8e9f92e9
AS
191062010-10-22 Andreas Schwab <schwab@redhat.com>
19107
19108 * include/dlfcn.h (__RTLD_SECURE): Define.
19109 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19110 mode & __RTLD_SECURE instead.
19111 (open_path): Rename preloaded parameter to secure.
19112 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19113 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19114 * elf/dl-deps.c (openaux): Likewise.
19115 * elf/rtld.c (struct map_args): Remove is_preloaded.
19116 (map_doit): Don't use it.
19117 (dl_main): Likewise.
19118 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19119 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19120
bc96fbda
AS
191212010-09-09 Andreas Schwab <schwab@redhat.com>
19122
19123 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19124 (sysd-rules-targets): Remove duplicates.
19125 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19126 rtld-%.$o dependency.
19127
22cd1c9b
AS
191282010-10-18 Andreas Schwab <schwab@redhat.com>
19129
19130 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19131 _dl_map_object do it.
19132
18edac48
UD
191332010-10-19 Ulrich Drepper <drepper@gmail.com>
19134
19135 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19136 fast fma builtins, define the macros in the C99 standard.
19137 (FP_FAST_FMAF): Likewise.
19138 (FP_FAST_FMAL): Likewise.
19139 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19140
19141 * bits/mathdef.h: Update copyright year.
19142 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19143
d2050124
MM
191442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19145
19146 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19147 builtins, define the macros in the C99 standard.
19148 (FP_FAST_FMAF): Likewise.
19149 (FP_FAST_FMAL): Likewise.
19150 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19151 multiply/add.
19152 (FP_FAST_FMAF): Likewise.
19153
475facd1
JJ
191542010-10-15 Jakub Jelinek <jakub@redhat.com>
19155
19156 [BZ #3268]
19157 * math/libm-test.inc (fma_test): Some new testcases.
19158 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19159 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19160 y and infinite z. Do multiplication by C already in long double.
19161 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19163 y and infinite z. Do bitwise or of inexact bit into u.d.
19164 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19165 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19166 * sysdeps/i386/fpu/s_fma.S: Removed.
19167 * sysdeps/i386/fpu/s_fmal.S: Removed.
19168
7c08a05c
JJ
191692010-10-16 Jakub Jelinek <jakub@redhat.com>
19170
19171 [BZ #3268]
19172 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19173 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19174 computation is not scheduled after fetestexcept. Fix value
19175 of minimum denormal long double.
19176
f3f7372d
JJ
191772010-10-14 Jakub Jelinek <jakub@redhat.com>
19178
19179 [BZ #3268]
19180 * math/libm-test.inc (fma_test): Add some more tests.
19181 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19182 correctly.
19183
14d43591
AS
191842010-10-15 Andreas Schwab <schwab@redhat.com>
19185
19186 * scripts/data/localplt-s390-linux-gnu.data: New file.
19187 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19188
5e908464
JJ
191892010-10-13 Jakub Jelinek <jakub@redhat.com>
19190
19191 [BZ #3268]
19192 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19193 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19194 instead of dbl-64.
19195 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19196 inlines.
19197 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19199 if one of x and y is very large and the other is subnormal.
19200 * sysdeps/s390/fpu/s_fmaf.c: New file.
19201 * sysdeps/s390/fpu/s_fma.c: New file.
19202 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19203 * sysdeps/powerpc/fpu/s_fma.S: New file.
19204 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19205 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19206 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19207
192082010-10-12 Jakub Jelinek <jakub@redhat.com>
19209
19210 [BZ #3268]
19211 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19212 fma tests.
19213 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19214 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19215 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19216 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19217 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19218 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19220
b833d51f
UD
192212010-10-12 Ulrich Drepper <drepper@redhat.com>
19222
19223 [BZ #12078]
19224 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19225 * posix/bug-regex31.input: Add test case.
19226
1751705d
UD
192272010-10-11 Ulrich Drepper <drepper@gmail.com>
19228
e9b9cbf5
UD
19229 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19230 * posix/bug-regex31.input: New file.
19231
19232 [BZ #12078]
19233 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19234 (parse_sub_exp): Fix last change, use postorder.
19235
ef06edbe
UD
19236 * posix/bug-regex31.c: New file.
19237 * posix/Makefile: Add rules to build and run bug-regex31.
19238
a129c80d
UD
19239 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19240
19241 [BZ #12078]
19242 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19243
b76b818e
UD
19244 [BZ #12108]
19245 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19246 to have entries in sys_siglist.
19247
1751705d
UD
19248 [BZ #12093]
19249 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19250 be NULL.
19251
9ff8d36f
JJ
192522010-10-07 Jakub Jelinek <jakub@redhat.com>
19253
19254 [BZ #3268]
19255 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19256 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19257 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19258 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19259 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19260 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19261 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19262 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19263 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19264 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19265 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19266 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19267 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19268 * math/ftestexcept.c (fetestexcept): Likewise.
19269 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19270 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19271 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19272 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19273 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19274 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19275 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19276
af325969
UD
192772010-10-11 Ulrich Drepper <drepper@gmail.com>
19278
c579b202 19279 [BZ #12107]
af325969
UD
19280 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19281 newline.
19282
67a67b95
UD
192832010-10-06 Ulrich Drepper <drepper@gmail.com>
19284
19285 * string/bug-strstr1.c: New file.
19286 * string/Makefile: Add rules to build and run bug-strstr1.
19287
5fb308bc
EB
192882010-10-05 Eric Blake <eblake@redhat.com>
19289
19290 [BZ #12092]
19291 * string/str-two-way.h (two_way_long_needle): Always clear memory
19292 when skipping input due to the shift table.
19293
45db99c7
UD
192942010-10-03 Ulrich Drepper <drepper@gmail.com>
19295
3b111893
UD
19296 [BZ #12005]
19297 * malloc/mcheck.c: Handle large requests.
19298
45db99c7
UD
19299 [BZ #12077]
19300 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19301 for strncmp and strncasecmp.
19302 * string/stratcliff.c: Add tests for strcmp and strncmp.
19303 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19304
cf7a1eb8
NI
193052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19306
19307 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19308 __set_fpscr.
19309
6484ba5e
AJ
193102010-09-30 Andreas Jaeger <aj@suse.de>
19311
19312 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19313 (CGROUP_SUPER_MAGIC): Define.
19314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19315 Handle btrfs and cgroup file systems.
19316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19317 Likewise.
19318
91c42559
LM
193192010-09-27 Luis Machado <luisgpm@br.ibm.com>
19320
19321 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19322 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19323
87a97932
AK
193242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19325
19326 [BZ #12067]
19327 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19328 trying to locate the ELF header.
19329
c21cc9bc
AS
193302010-09-27 Andreas Schwab <schwab@redhat.com>
19331
19332 [BZ #11611]
19333 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19334 Mask out sign-bit copies when constructing f_fsid.
19335
315970f6
PB
193362010-09-24 Petr Baudis <pasky@suse.cz>
19337
19338 * debug/stack_chk_fail_local.c: Add missing licence exception.
19339 * debug/warning-nop.c: Likewise.
19340
1ac7a2c7
JM
193412010-09-15 Joseph Myers <joseph@codesourcery.com>
19342
19343 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19344 implementing getdents64 using getdents syscall, set d_type if
19345 __ASSUME_GETDENTS32_D_TYPE.
19346
56801c50
AS
193472010-09-16 Andreas Schwab <schwab@redhat.com>
19348
19349 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19350 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19351
dda51327
UD
193522010-09-21 Ulrich Drepper <drepper@redhat.com>
19353
19354 [BZ #12037]
19355 * posix/unistd.h: Undo change of feature selection for ftruncate from
19356 2010-01-11.
19357
8ffcee4a
UD
193582010-09-20 Ulrich Drepper <drepper@redhat.com>
19359
a545ecd9 19360 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19361 detection.
19362
e24f0a8b
AS
193632010-09-20 Andreas Schwab <schwab@redhat.com>
19364
19365 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19366 fanotify_mark.
19367 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19368
7291c56f
AS
193692010-09-14 Andreas Schwab <schwab@redhat.com>
19370
19371 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19372 variables after CHECK_SP call.
19373 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19374
bc5fb037
AS
193752010-09-13 Andreas Schwab <schwab@redhat.com>
19376 Ulrich Drepper <drepper@redhat.com>
19377
19378 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19379 re-relocationg ld.so.
19380 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19381 _dl_init_paths call.
19382 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19383 here anymore.
19384
e66e7419
UD
193852010-09-14 Ulrich Drepper <drepper@redhat.com>
19386
19387 * resolv/res_init.c (__res_vinit): Count the default server we added.
19388
c044aa75
CLT
193892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19390 Ulrich Drepper <drepper@redhat.com>
19391
19392 [BZ #11968]
19393 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19394 (____longjmp_chk): Use %ebx for saving value across system call.
19395 Add unwind info.
19396
32cf4069
AS
193972010-09-06 Andreas Schwab <schwab@redhat.com>
19398
19399 * manual/Makefile: Don't mix pattern rules with normal rules.
19400
817328ee
AS
194012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19402
19403 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19404 operation.
19405 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19406 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19407 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19408 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19409 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19410 Likewise.
19411
29fddf61
UD
194122010-09-04 Ulrich Drepper <drepper@redhat.com>
19413
19414 [BZ #11979]
19415 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19416 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19417
0959ffc9
UD
194182010-09-02 Ulrich Drepper <drepper@redhat.com>
19419
19420 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19421 * sysdeps/x86_64/addmul_1.S: Likewise.
19422 * sysdeps/x86_64/lshift.S: Likewise.
19423 * sysdeps/x86_64/mul_1.S: Likewise.
19424 * sysdeps/x86_64/rshift.S: Likewise.
19425 * sysdeps/x86_64/sub_n.S: Likewise.
19426 * sysdeps/x86_64/submul_1.S: Likewise.
19427
ece29840
ST
194282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19429
0959ffc9
UD
19430 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19431 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19432 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19433 * bits/sched.h [__need_schedparam]
ece29840 19434 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19435 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19436 (__defined_schedparam): Define to 1.
ece29840
ST
19437 (__sched_param): New structure, identical to sched_param.
19438 (__need_schedparam): Undefine.
19439
e53a31fe
MF
194402010-08-31 Mike Frysinger <vapier@gentoo.org>
19441
fdc0c10d
MF
19442 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19443 (epoll_create1): Declare.
19444
e53a31fe
MF
19445 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19446
a726d796
AS
194472010-08-31 Andreas Schwab <schwab@redhat.com>
19448
19449 [BZ #7066]
19450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19451 shifting retval into place.
19452
2f3e3dc7
UD
194532010-09-01 Ulrich Drepper <drepper@redhat.com>
19454
f2933da9
UD
19455 * nis/rpcsvc/nis.h: Update copyright notice.
19456 * nis/rpcsvc/nis.x: Likewise.
19457 * nis/rpcsvc/nis_callback.h: Likewise.
19458 * nis/rpcsvc/nis_callback.x: Likewise.
19459 * nis/rpcsvc/nis_object.x: Likewise.
19460 * nis/rpcsvc/nis_tags.h: Likewise.
19461 * nis/rpcsvc/yp.h: Likewise.
19462 * nis/rpcsvc/yp.x: Likewise.
19463 * nis/rpcsvc/ypupd.h: Likewise.
19464 * nis/yp_xdr.c: Likewise.
19465 * nis/ypupdate_xdr.c: Likewise.
19466
2f3e3dc7
UD
19467 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19468 mainly the body of pmap_getport. Add parameters to specify timeouts.
19469 (pmap_getport): Use __libc_rpc_getport.
19470 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19471 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19472 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19473
f3dcc2f9
AS
194742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19475
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19477 fanotify_mark.
19478
6d34eb5b
RM
194792010-08-27 Roland McGrath <roland@redhat.com>
19480
19481 * sysdeps/i386/i686/multiarch/Makefile
19482 (CFLAGS-varshift.c): New variable.
19483
9ea3de11
UD
194842010-08-27 Ulrich Drepper <drepper@redhat.com>
19485
c96d23fc
UD
19486 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19487 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19488
9ea3de11
UD
19489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19490
19491 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19492
623aac7f
L
194932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19494
19495 * sysdeps/x86_64/strlen.S: Unroll the loop.
19496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19497 strlen-sse2 strlen-sse2-bsf.
19498 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19499 __strlen_no_bsf if bit_Slow_BSF is set.
19500 (__strlen_sse42): Removed.
19501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19502 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19503
8b2b7715
RM
195042010-08-25 Roland McGrath <roland@redhat.com>
19505
19506 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19507 * sysdeps/x86_64/multiarch/varshift.c: New file.
19508 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19509 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19510 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19511 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19512
e73015f2
L
195132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19514
19515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19516 strlen-sse2 strlen-sse2-bsf.
19517 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19518 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19519 (__strlen_sse2): Removed.
19520 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19521 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19523 bit_Slow_BSF for Atom.
19524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19525 (index_Slow_BSF): Define.
19526 (HAS_SLOW_BSF): Define.
19527
df24a73e
UD
195282010-08-25 Ulrich Drepper <drepper@redhat.com>
19529
19530 [BZ #10851]
19531 * resolv/res_init.c (__res_vinit): When no server address at all
19532 is given default to loopback.
19533
f2ac4868
RM
195342010-08-24 Roland McGrath <roland@redhat.com>
19535
09055553
RM
19536 * configure.in: Remove config-name.h generation.
19537 * configure: Regenerated.
19538 * config-name.in: File removed.
19539 * scripts/config-uname.sh: New file.
19540 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19541 ($(objdir)config-name.h): New target.
19542
f2ac4868
RM
19543 * sunrpc/rpc_parse.h: Avoid nested comment.
19544
73f27d5e
RH
195452010-08-24 Richard Henderson <rth@redhat.com>
19546 Ulrich Drepper <drepper@redhat.com>
19547 H.J. Lu <hongjiu.lu@intel.com>
19548
19549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19551 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19552 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19553 _mm_alignr_epi8 with _mm_loadu_si128.
19554 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19555 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19556 (__m128i_shift_right): Removed.
19557 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19558 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19559 * sysdeps/x86_64/multiarch/varshift.h: New file.
19560 * sysdeps/x86_64/multiarch/varshift.S: New file.
19561
84b9230c
MF
195622010-08-21 Mike Frysinger <vapier@gentoo.org>
19563
19564 * configure.in: Move assembler checks to before sysdep dir checking.
19565
9bbd0ddc
PB
195662010-08-20 Petr Baudis <pasky@suse.cz>
19567
19568 * LICENSES: Sync the sunrpc license.
19569
9da4bb31
UD
195702010-08-19 Ulrich Drepper <drepper@redhat.com>
19571
a7ab6ec8
UD
19572 * sunrpc/auth_des.c: Update copyright notice once again.
19573 * sunrpc/auth_none.c: Likewise.
19574 * sunrpc/auth_unix.c: Likewise.
19575 * sunrpc/authdes_prot.c: Likewise.
19576 * sunrpc/authuxprot.c: Likewise.
19577 * sunrpc/bindrsvprt.c: Likewise.
19578 * sunrpc/clnt_gen.c: Likewise.
19579 * sunrpc/clnt_perr.c: Likewise.
19580 * sunrpc/clnt_raw.c: Likewise.
19581 * sunrpc/clnt_simp.c: Likewise.
19582 * sunrpc/clnt_tcp.c: Likewise.
19583 * sunrpc/clnt_udp.c: Likewise.
19584 * sunrpc/clnt_unix.c: Likewise.
19585 * sunrpc/des_crypt.c: Likewise.
19586 * sunrpc/des_soft.c: Likewise.
19587 * sunrpc/get_myaddr.c: Likewise.
19588 * sunrpc/getrpcport.c: Likewise.
19589 * sunrpc/key_call.c: Likewise.
19590 * sunrpc/key_prot.c: Likewise.
19591 * sunrpc/openchild.c: Likewise.
19592 * sunrpc/pm_getmaps.c: Likewise.
19593 * sunrpc/pm_getport.c: Likewise.
19594 * sunrpc/pmap_clnt.c: Likewise.
19595 * sunrpc/pmap_prot.c: Likewise.
19596 * sunrpc/pmap_prot2.c: Likewise.
19597 * sunrpc/pmap_rmt.c: Likewise.
19598 * sunrpc/rpc/auth.h: Likewise.
19599 * sunrpc/rpc/auth_unix.h: Likewise.
19600 * sunrpc/rpc/clnt.h: Likewise.
19601 * sunrpc/rpc/des_crypt.h: Likewise.
19602 * sunrpc/rpc/key_prot.h: Likewise.
19603 * sunrpc/rpc/netdb.h: Likewise.
19604 * sunrpc/rpc/pmap_clnt.h: Likewise.
19605 * sunrpc/rpc/pmap_prot.h: Likewise.
19606 * sunrpc/rpc/pmap_rmt.h: Likewise.
19607 * sunrpc/rpc/rpc.h: Likewise.
19608 * sunrpc/rpc/rpc_des.h: Likewise.
19609 * sunrpc/rpc/rpc_msg.h: Likewise.
19610 * sunrpc/rpc/svc.h: Likewise.
19611 * sunrpc/rpc/svc_auth.h: Likewise.
19612 * sunrpc/rpc/types.h: Likewise.
19613 * sunrpc/rpc/xdr.h: Likewise.
19614 * sunrpc/rpc_clntout.c: Likewise.
19615 * sunrpc/rpc_cmsg.c: Likewise.
19616 * sunrpc/rpc_common.c: Likewise.
19617 * sunrpc/rpc_cout.c: Likewise.
19618 * sunrpc/rpc_dtable.c: Likewise.
19619 * sunrpc/rpc_hout.c: Likewise.
19620 * sunrpc/rpc_main.c: Likewise.
19621 * sunrpc/rpc_parse.c: Likewise.
19622 * sunrpc/rpc_parse.h: Likewise.
19623 * sunrpc/rpc_prot.c: Likewise.
19624 * sunrpc/rpc_sample.c: Likewise.
19625 * sunrpc/rpc_scan.c: Likewise.
19626 * sunrpc/rpc_scan.h: Likewise.
19627 * sunrpc/rpc_svcout.c: Likewise.
19628 * sunrpc/rpc_tblout.c: Likewise.
19629 * sunrpc/rpc_util.c: Likewise.
19630 * sunrpc/rpc_util.h: Likewise.
19631 * sunrpc/rpcinfo.c: Likewise.
19632 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19633 * sunrpc/rpcsvc/key_prot.x: Likewise.
19634 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19635 * sunrpc/rpcsvc/mount.x: Likewise.
19636 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19637 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19638 * sunrpc/rpcsvc/rex.x: Likewise.
19639 * sunrpc/rpcsvc/rstat.x: Likewise.
19640 * sunrpc/rpcsvc/rusers.x: Likewise.
19641 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19642 * sunrpc/rpcsvc/spray.x: Likewise.
19643 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19644 * sunrpc/rtime.c: Likewise.
19645 * sunrpc/svc.c: Likewise.
19646 * sunrpc/svc_auth.c: Likewise.
19647 * sunrpc/svc_authux.c: Likewise.
19648 * sunrpc/svc_raw.c: Likewise.
19649 * sunrpc/svc_run.c: Likewise.
19650 * sunrpc/svc_simple.c: Likewise.
19651 * sunrpc/svc_tcp.c: Likewise.
19652 * sunrpc/svc_udp.c: Likewise.
19653 * sunrpc/svc_unix.c: Likewise.
19654 * sunrpc/svcauth_des.c: Likewise.
19655 * sunrpc/xcrypt.c: Likewise.
19656 * sunrpc/xdr.c: Likewise.
19657 * sunrpc/xdr_array.c: Likewise.
19658 * sunrpc/xdr_float.c: Likewise.
19659 * sunrpc/xdr_mem.c: Likewise.
19660 * sunrpc/xdr_rec.c: Likewise.
19661 * sunrpc/xdr_ref.c: Likewise.
19662 * sunrpc/xdr_sizeof.c: Likewise.
19663 * sunrpc/xdr_stdio.c: Likewise.
19664
9da4bb31
UD
19665 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19666 handling.
19667
bdaa77bc
AS
196682010-08-19 Andreas Schwab <schwab@redhat.com>
19669
19670 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19671
fe2f79db
LM
196722010-08-19 Luis Machado <luisgpm@br.ibm.com>
19673
19674 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19675 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19676 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19677 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19678 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19679 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19680 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19681 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19682 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19683 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19684 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19685 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19686 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19687 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19688
b9b42ee0
AB
196892010-07-26 Anton Blanchard <anton@samba.org>
19690
19691 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19692 * malloc/arena.c (heap_trim): Likewise.
19693
1c06ba31
UD
196942010-08-16 Ulrich Drepper <drepper@redhat.com>
19695
19696 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19697 here. Not...
19698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19699 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19700
f8392f40
L
197012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19702
19703 * sysdeps/i386/elf/Makefile: New file.
19704
3162f12e
AS
197052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19706
19707 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19708 from fanotify_init.
19709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19711
28c90b2c
UD
197122010-08-15 Ulrich Drepper <drepper@redhat.com>
19713
19714 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19715 of strncasecmp_l.
1feccb6c 19716 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19717
ca6bb004
UD
197182010-08-14 Ulrich Drepper <drepper@redhat.com>
19719
e9f82e0d
UD
19720 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19721 strncase_l-nonascii.
19722 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19723 Add strncase_l-ssse3.
19724 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19725 * sysdeps/x86_64/strcmp.S: Likewise.
19726 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19727 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19728 * sysdeps/x86_64/strncase.S: New file.
19729 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19730 * sysdeps/x86_64/strncase_l.S: New file.
19731 * string/Makefile (strop-tests): Add strncasecmp.
19732 * string/test-strncasecmp.c: New file.
19733
19734 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19735 warning.
19736
ca6bb004
UD
19737 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19738 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19739
052fa7b3
AS
197402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19741
19742 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19743
962dba78
UD
197442010-08-12 Ulrich Drepper <drepper@redhat.com>
19745
19746 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19747 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19748 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19749
bebff237
AM
197502010-05-01 Alan Modra <amodra@gmail.com>
19751
19752 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19753 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19754 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19755 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19756 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19757 tidying. Don't tail-call __sigjmp_save for static lib.
19758 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19759 save location.
19760 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19761 (CALL_MCOUNT): Add eh info, and nop after bl.
19762 (TAIL_CALL_SYSCALL_ERROR): New macro.
19763 (PSEUDO_RET): Use it.
19764 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19765 Correct save location of integer regs and cr.
19766 (_dl_profile_resolve): Correct cr save location. Delete nops
19767 after bl when SHARED. Reduce cfi size a little by better
19768 placement of cfi directives.
19769 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19770 make a stack frame. Instead use parm save area as a temp.
19771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19772 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19774 Don't make a stack frame for parent, use parm save area.
19775 Increase child stack frame to 112 bytes. Don't save unused reg,
19776 and adjust reg usage. Set up cfi on error recovery and
19777 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19779 (__makecontext): Add dummy nop after jump to exit.
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19781 Use correct parm save area and cr save, reduce stack frame.
19782 Correct cfi for possible PSEUDO_RET frame setup.
19783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19784 Branch to local label emitted by PSEUDO_RET rather than
19785 __syscall_error.
19786
02637374
AS
197872010-08-12 Andreas Schwab <schwab@redhat.com>
19788
19789 [BZ #11904]
19790 * locale/programs/locale.c (print_assignment): New function.
19791 (show_locale_vars): Use it.
19792
c3e2f19b
UD
197932010-08-11 Ulrich Drepper <drepper@redhat.com>
19794
3cdaa6ad
UD
19795 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19796 field.
19797 (struct statfs64): Likewise.
19798 (_STATFS_F_FLAGS): Define.
19799 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19800 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19801 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19802 (ST_VALID): Define locally.
19803 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19804 __statvfs_getflags, use the provided value.
19805 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19806 __ASSUME_STATFS_F_FLAGS.
19807
754f7da3
UD
19808 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19809
10b3bedc
UD
19810 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19811 Add sys/fanotify.h.
19812 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19813 fanotify_mask for GLIBC_2.13.
19814 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19815 fanotify_init and fanotify_mark.
19816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19817 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19818
c08fb0d7
UD
19819 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19820 Add prlimit.
19821 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19822 prlimit64 for GLIBC_2.13.
19823 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19824 prlimit64.
19825 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19826 syscall.
19827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19829 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19832 add prlimit alias.
19833 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19834
15bac72b
UD
19835 [BZ #11903]
19836 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19837 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19838
c3e2f19b
UD
19839 * nss/Makefile: Add rules to build and run tst-nss-test1.
19840 * shlib-versions: Add entry for libnss_test1.
19841 * nss/nss_test1.c: New file.
19842 * nss/tst-nss-test1.c: New file.
19843
19844 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19845 (__nss_configure_lookup): Set appropriate entry in
19846 __nss_configure_lookup to true.
19847 * nss/nsswitch.h: Define enum with indeces of databases in
19848 databases and __nss_database_custom arrays. Declare
19849 __nss_database_custom.
19850 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19851 to avoid using nscd when custom rules are installed.
19852 * nss/getXXbyYY_r.c: Likewise.
19853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19854
19855 * nss/nss_files/files-parse.c: Whitespace fixes.
19856
f15ce4d8
UD
198572010-08-09 Ulrich Drepper <drepper@redhat.com>
19858
19859 [BZ #11883]
19860 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19861 * posix/fnmatch_loop.c: Likewise.
19862
d22e4cc9
AK
198632010-07-17 Andi Kleen <ak@linux.intel.com>
19864
19865 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19866 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19867 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19868 * Versions.def [GLIBC_2.13]: Add.
19869
805bc17d
UD
198702010-08-06 Ulrich Drepper <drepper@redhat.com>
19871
19872 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19873 Also fail if tpwd after pwuid call is NULL.
19874
5a42321d
ST
198752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19876
19877 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19878 when converting to ms.
19879
fd3ebeda
ST
198802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19881
19882 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19883 EOPNOTSUPP errors with ENOTTY.
19884 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19885 EOPNOTSUPP errors with ENOTTY.
19886
73507d3a
UD
198872010-07-31 Ulrich Drepper <drepper@redhat.com>
19888
19889 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19890 Add strcasecmp_l-ssse3.
19891 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19892 strcasecmp.
19893 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19894 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19895 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19896
fe36dd02
UD
198972010-07-30 Ulrich Drepper <drepper@redhat.com>
19898
66f6765a
UD
19899 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19900
42e08a54
UD
19901 * string/Makefile (strop-tests): Add strcasecmp.
19902 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19903 strcasecmp_l-nonascii.
19904 (gen-as-const-headers): Add locale-defines.sym.
19905 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19906 * sysdeps/x86_64/strcasecmp.S: New file.
19907 * sysdeps/x86_64/strcasecmp_l.S: New file.
19908 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19909 * sysdeps/x86_64/locale-defines.sym: New file.
19910 * string/test-strcasecmp.c: New file.
19911
fe36dd02
UD
19912 * string/test-strcasestr.c: Test both ends of the range of characters.
19913 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19914
48cbc0d6
RM
199152010-07-29 Roland McGrath <roland@redhat.com>
19916
76e6d6bc 19917 [BZ #11856]
48cbc0d6
RM
19918 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19919
880113d9
UD
199202010-07-27 Ulrich Drepper <drepper@redhat.com>
19921
19922 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19923 for ld.so.
19924
deb9cabb
AS
199252010-07-27 Andreas Schwab <schwab@redhat.com>
19926
19927 * manual/memory.texi (Malloc Tunable Parameters): Document
19928 M_PERTURB.
19929
1c7570ff
RM
199302010-07-26 Roland McGrath <roland@redhat.com>
19931
19932 [BZ #11840]
19933 * configure.in (-fgnu89-inline check): Set and substitute
19934 gnu89_inline, not libc_cv_gnu89_inline.
19935 * configure: Regenerated.
19936 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19937
24fb0f88
UD
199382010-07-26 Ulrich Drepper <drepper@redhat.com>
19939
19940 * string/test-strnlen.c: New file.
19941 * string/Makefile (strop-tests): Add strnlen.
19942 * string/tester.c (test_strnlen): Add a few more test cases.
19943 * string/tst-strlen.c: Better error reporting.
19944
19945 * sysdeps/x86_64/strnlen.S: New file.
19946
8e96b93a
UD
199472010-07-24 Ulrich Drepper <drepper@redhat.com>
19948
19949 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19950 lower-latency instructions.
19951
dbc676d4
UD
199522010-07-23 Ulrich Drepper <drepper@redhat.com>
19953
19954 * string/test-strcasestr.c: New file.
19955 * string/test-strstr.c: New file.
19956 * string/Makefile (strop-tests): Add strstr and strcasestr.
19957 * string/str-two-way.h: Don't undefine MAX.
19958 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19959
f6a31e0e
AS
199602010-07-21 Andreas Schwab <schwab@redhat.com>
19961
19962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19963 strcasestr-nonascii.
19964 (CFLAGS-strcasestr-nonascii.c): Define.
19965 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19966 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19967 Remove unused attribute.
19968
5dbc3b6c
RM
199692010-07-20 Roland McGrath <roland@redhat.com>
19970
19971 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19972 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19973 ld.so.cache was broken. With it, there is no way to disable dsocaps
19974 like LD_HWCAP_MASK can disable hwcaps.
19975
23d101d8
EPM
199762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19977
19978 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19979
cc9f2e47
UD
199802010-07-16 Ulrich Drepper <drepper@redhat.com>
19981
19982 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
19983 call in strcasestr.
19984 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
19985 __strcasestr_sse42_nonascii.
19986 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
19987 strcasestr-nonascii.c.
19988 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
19989
77c1b069
LM
199902010-06-15 Luis Machado <luisgpm@br.ibm.com>
19991
19992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
19993 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
19994 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
19995 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
19996
440566c3
UD
199972010-07-09 Ulrich Drepper <drepper@redhat.com>
19998
19999 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20000 fcntl.
20001
5be9d05d
AS
200022010-07-06 Andreas Schwab <schwab@redhat.com>
20003
c30b7ee2 20004 [BZ #11577]
5be9d05d
AS
20005 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20006 dl_signal_cerror.
20007
8a492a67
UD
200082010-07-06 Ulrich Drepper <drepper@redhat.com>
20009
20010 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20011 _PC_PIPE_BUF using F_GETPIPE_SZ.
20012
713df3d5
RM
200132010-07-05 Roland McGrath <roland@redhat.com>
20014
20015 * manual/arith.texi (Rounding Functions): Fix rint description
20016 implicit in round description.
20017
702e8f14
UD
200182010-07-02 Ulrich Drepper <drepper@redhat.com>
20019
20020 * elf/Makefile: Fix linking for a few tests to make recent linker
20021 happy.
20022
52ed8be9
AS
200232010-06-30 Andreas Schwab <schwab@redhat.com>
20024
20025 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20026 $(common-objpfx)libc_nonshared.a.
20027
f47c9a11
LM
200282010-06-21 Luis Machado <luisgpm@br.ibm.com>
20029
20030 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20031 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20032 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20033 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20034 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20035 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20036 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20037 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20052 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20053 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20054 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20055 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20056 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20057 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20058 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20059 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20060 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20061 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20062 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20063 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20078
6fb8cbcb
L
200792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20080
20081 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20082 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20083 * string/memmove.c (memmove): Renamed to ...
20084 (MEMMOVE): ...this. Default to memmove.
20085 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20086 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20087 (END_CHK): Define.
20088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20089 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20090 mempcpy-ssse3-back memmove-ssse3-back.
20091 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20093 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20094 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20095 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20096 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20097 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20098 * sysdeps/x86_64/multiarch/memmove.c: New file.
20099 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20100 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20101 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20102 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20103 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20105 Define.
20106 (index_Fast_Copy_Backward): Define.
20107 (HAS_ARCH_FEATURE): Define.
20108 (HAS_FAST_REP_STRING): Define.
20109 (HAS_FAST_COPY_BACKWARD): Define.
20110
4e733bac 201112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20112
20113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20114 Restore proper fallback handling.
20115
63c4ed22
UD
201162010-06-19 Ulrich Drepper <drepper@redhat.com>
20117
ac2b484c
UD
20118 [BZ #11701]
20119 * posix/group_member.c (__group_member): Correct checking loop.
20120
63c4ed22
UD
20121 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20122 OOM in getpwuid_r correctly. Return error number when the caller
20123 should return, otherwise -1.
20124 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20125 call returning > 0 value.
20126 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20127
765ade4b
AS
201282010-06-07 Andreas Schwab <schwab@redhat.com>
20129
20130 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20131 libc_nonshared.a from targets in modules-names.
20132
80da2e09
KS
201332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20134
20135 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20136 requires it.
20137
158db122
LM
201382010-06-10 Luis Machado <luisgpm@br.ibm.com>
20139
20140 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20141 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20142 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20143 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20144
caa78cf8
AS
201452010-06-02 Andreas Schwab <schwab@redhat.com>
20146
20147 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20148
b2ef2c01
UD
201492010-06-14 Ulrich Drepper <drepper@redhat.com>
20150
20151 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20152 and F_GETPIPE_SZ.
20153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20158 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20159
fbd643b6
RM
201602010-06-14 Roland McGrath <roland@redhat.com>
20161
20162 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20163
f32f2869
JJ
201642010-06-07 Jakub Jelinek <jakub@redhat.com>
20165
20166 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20167 __REDIRECT followed by __THROW.
20168 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20169 * posix/getopt.h (getopt): Likewise.
20170
2a50c078
EPM
201712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20172
20173 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20174 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20175 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20176 in AT_FLAGS.
20177 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20178 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20179
eb5ad2eb
LM
201802010-05-28 Luis Machado <luisgpm@br.ibm.com>
20181
20182 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20183
3c88fe1e
L
201842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20185
20186 [BZ #11640]
20187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20188 Properly check family and model.
20189
d2f73151
TY
201902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20191
20192 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20193
ebd2e13d
LM
201942010-05-24 Luis Machado <luisgpm@br.ibm.com>
20195
20196 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20197
b32b8b45
UD
201982010-05-21 Ulrich Drepper <drepper@redhat.com>
20199
20200 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20201 symbol reference.
20202
9acbe24d
AS
202032010-05-19 Andreas Schwab <schwab@redhat.com>
20204
20205 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20206 symbol reference.
20207
f0ccf6ea
AS
202082010-05-21 Andreas Schwab <schwab@redhat.com>
20209
3d04ff3a
AS
20210 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20211 and internal_recvmmsg.
20212 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20213 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20214 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20215 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20216
f0ccf6ea
AS
20217 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20218 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20219 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20220
5b08ac57
AS
202212010-05-20 Andreas Schwab <schwab@redhat.com>
20222
20223 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20224
4828935d
LM
202252010-05-17 Luis Machado <luisgpm@br.ibm.com>
20226
20227 POWER7 optimizations.
20228 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20229 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20230
373d545e
UD
202312010-05-19 Ulrich Drepper <drepper@redhat.com>
20232
20233 * version.h: Update for 2.13 development version.
20234
21a2b1ae
AS
202352010-05-12 Andrew Stubbs <ams@codesourcery.com>
20236
20237 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20238 exceptions. Return 0.
20239
3f7dcb2b
RM
202402010-05-07 Roland McGrath <roland@redhat.com>
20241
20242 * elf/ldconfig.c (main): Add a const.
20243
5f24d53a 202442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20245
a160f8d8
UD
20246 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20247 (args_options): Add no-idn option.
20248 (ahosts_keys_int): Add idn_flags to ai_flags.
20249 (parse_option): Handle 'i' option to clear idn_flags.
20250
5f24d53a
UD
20251 * malloc/malloc.c (_int_free): Possible race in the most recently
20252 added check. Only act on the data if no current modification
20253 happened.
265bb1ce
UD
20254
20255See ChangeLog.17 for earlier changes.