]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix BZ #14716: memmem crash
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e9f37252
MK
12012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
2
3 * NEWS: Mention BZ #14716.
4 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
5 when removing AVAILABLE1_USES_J macro.
6
d394eb74
L
72012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
10 (__bswap_64): __uint64_t for unsigned 64-bit int.
11
ca38dc17
AS
122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13
14 * include/string.h (memmem): Declare libc hidden alias.
15 * string/memmem.c (memmem): Define libc hidden alias.
16 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17 __read, __close instead of open, read, close.
18
9a387d1f
L
192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20
ac49ecaf
L
21 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23 global and hidden.
24 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27 Likewise.
28 (__rawmemchr_sse2): Likewise.
29 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31 (__strchr_sse2): Likewise.
32 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34 (__strcasecmp_sse2): Likewise.
35 (__strncasecmp_sse2): Likewise.
36 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40 (__strrchr_sse2): Likewise.
41 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42 ifunc-impl-list.c.
43 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
44 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
48 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
49 * sysdeps/x86_64/multiarch/memset.S: Likewise.
50 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
52 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
56 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
66 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73
b090e8ea
L
74 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75 global and hidden.
76 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
77 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
78 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
79 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
80 Likewise.
81 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
82 Likewise.
83 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
84 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
85 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
86 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
87 ifunc-impl-list.c.
88 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
89 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
90 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
91 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
92 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
93 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
94 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
95 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
96 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
97 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
98 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
99 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
100 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
101 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
102 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
103 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
104 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
105 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
106 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
107 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
108 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
109 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
110 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
111 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
113 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
114 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
115 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
116 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
118 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
119 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
120 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
121 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
122 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
123 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
124 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
125 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
126 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
127 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
128 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
129
11dd4af6
L
130 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
131 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
132 * include/ifunc-impl-list.h: New file.
133 * misc/ifunc-impl-list.c: Likewise.
134 * misc/Makefile (routines): Add ifunc-impl-list.
135 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
136 * string/test-string.h: Include <ifunc-impl-list.h>.
137 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
138 impl_array): New variables.
139 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
140 are defined.
141 (test_init): Call __libc_ifunc_impl_list to initialize
142 func_list if TEST_IFUNC and TEST_NAME are defined.
143
9a387d1f
L
144 * string/Makefile (strop-tests): Add bcopy and bzero.
145 * string/test-bcopy.c: New file.
146 * string/test-bzero.c: Likewise.
147 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
148 defined.
149 * string/test-memset.c: Support bzero test if TEST_BZERO is
150 defined.
151 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
152 __libc_memmove.
153 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
154 __libc_memset.
155 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
156 of memset.
157
472371b9
JM
1582012-10-10 Joseph Myers <joseph@codesourcery.com>
159
1e4a9536
JM
160 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
161 * configure: Regenerated.
162
d173d12e
JM
163 * Makeconfig (+link-static-before-libc): Don't include
164 $(link-static-libc).
165
472371b9
JM
166 * libio/libio.h (_IO_pos_t): Remove.
167
89a3ad0b
AO
1682012-10-10 Alexandre Oliva <aoliva@redhat.com>
169
170 * NEWS: Add note about FIPS mode. Wording suggested by Roland
171 McGrath.
172
e7451425
AO
1732012-10-10 Alexandre Oliva <aoliva@redhat.com>
174
175 * crypt/crypt-entry.c: Include fips-private.h.
176 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
177 * crypt/md5c-test.c (main): Tolerate disabled MD5.
178 * sysdeps/unix/sysv/linux/fips-private.h: New file.
179 * sysdeps/generic/fips-private.h: New file, dummy fallback.
180
4ba74a35
AO
1812012-10-10 Alexandre Oliva <aoliva@redhat.com>
182
183 * crypt/crypt-private.h: Include stdbool.h.
184 (_ufc_setup_salt_r): Return bool.
185 * crypt/crypt-entry.c: Include errno.h.
186 (__crypt_r): Return NULL with EINVAL for bad salt.
187 * crypt/crypt_util.c (bad_for_salt): New.
188 (_ufc_setup_salt_r): Check that salt is long enough and within
189 the specified alphabet.
190 * crypt/badsalttest.c: New file.
191 * crypt/Makefile (tests): Add it.
192 ($(objpfx)badsalttest): New.
193
f96f1242
MK
1942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
195
196 * NEWS: Add entry for BZ #14602.
197
0e8e0c1c
JM
1982012-10-09 Joseph Myers <joseph@codesourcery.com>
199
200 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
201 type-generic.
202 * math/libm-test.inc: Update comment listing what functions and
203 macros are tested.
204 (isgreater_test): New function.
205 (isgreaterequal_test): Likewise.
206 (isless_test): Likewise.
207 (islessequal_test): Likewise.
208 (islessgreater_test): Likewise.
209 (isunordered_test): Likewise.
210 (main): Call the new functions.
211
273edc5e
RM
2122012-10-09 Roland McGrath <roland@hack.frob.com>
213
b8493de0
RM
214 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
215 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
216 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
217 * sysdeps/i386/configure: Regenerated.
218 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
219 * sysdeps/mach/configure: Regenerated.
220 * sysdeps/mach/hurd/configure: Regenerated.
221 * sysdeps/powerpc/configure: Regenerated.
222 * sysdeps/powerpc/powerpc32/configure: Regenerated.
223 * sysdeps/powerpc/powerpc64/configure: Regenerated.
224 * sysdeps/s390/s390-32/configure: Regenerated.
225 * sysdeps/s390/s390-64/configure: Regenerated.
226 * sysdeps/sh/configure: Regenerated.
227 * sysdeps/sparc/configure: Regenerated.
228 * sysdeps/unix/sysv/linux/configure: Regenerated.
229 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
230 * sysdeps/x86_64/configure: Regenerated.
231
273edc5e
RM
232 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
233 defined. Don't check if MAP is NULL.
234
c8450f70
JM
2352012-10-09 Joseph Myers <joseph@codesourcery.com>
236
237 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
238 (_G_stat64): Likewise.
239 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
240 (_G_stat64): Likewise.
241 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
242 instead of struct _G_stat64.
243 * libio/fileops.c (mmap_remap_check): Likewise.
244 (decide_maybe_mmap): Likewise.
245 (_IO_new_file_seekoff): Likewise.
246 (_IO_file_stat): Likewise.
247 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
248 _G_off64_t.
249 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
250 instead of struct _G_stat64.
251 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
252
57e605ba
MK
2532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
254
255 [BZ #14602]
256 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
257 Replace with ...
258 (CHECK_EOL): New macro.
259 (two_way_short_needle): Check beginning of haystack for EOL. Use
260 CHECK_EOL.
261 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
262 Replace with CHECK_EOL.
263 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
264 Replace with CHECK_EOL.
265
ef1bb361
JM
2662012-10-08 Joseph Myers <joseph@codesourcery.com>
267
268 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
269 type-generic.
270 * math/libm-test.inc: Update comment listing what functions and
271 macros are tested.
272 (finite_test): New function.
273 (isinf_test): Likewise.
274 (isnan_test): Likewise.
275 (fpclassify_test): Test subnormal input.
276 (isfinite_test): Likewise.
277 (isnormal_test): Likewise.
278 (main): Call the new functions.
279
55f11534
JN
2802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
281
282 [BZ #14660]
283 * Makerules (%.dynsym): Force C locale when running
284 $(OBJDUMP) --dynamic-syms.
285
1ab29350
AS
2862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
287
288 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
289 <stdint.h>.
290
f1ecb7ef
DM
2912012-10-06 David S. Miller <davem@davemloft.net>
292
293 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
294 upper 32-bits of the length value in %o2 since we use branch-on-register
295 tests which consider the entire 64-bit register.
296
5d41d91a
L
2972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
298
299 * string/test-strstr.c (check2): Add a test for page boundary.
300
3baddb72
DM
3012012-10-05 David S. Miller <davem@davemloft.net>
302
303 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
304 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
305 file.
306 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
307 sysdep_routines.
308 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
309 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
310 and bzero when HWCAP_SPARC_CRYPTO is present.
311
9cee5585
L
3122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
313
d7e0dab9
L
314 [BZ #14602]
315 * string/test-strstr.c (check2): New function.
316 (test_main): Call check2.
317
03759f47
L
318 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
319 and bug-strchr1.
320 * string/bug-strcasestr1.c (do_test): Moved to ...
321 * string/test-strcasestr.c (check1): Here. New function.
322 (do_one_test): Break out result checking code into ...
323 (check_result): This. New function.
324 (do_one_test): Call check_result.
325 (test_main): Call check1.
326 * string/bug-strchr1.c (do_test): Moved to ...
327 * string/test-strchr.c (check1): Here. New function.
328 (do_one_test): Break out result checking code into ...
329 (check_result): This. New function.
330 (do_one_test): Call check_result.
331 (test_main): Call check1.
332 * string/bug-strstr1.c (main): Moved to ...
333 * string/test-strchr.c (check1): Here. New function.
334 (do_one_test): Break out result checking code into ...
335 (check_result): This. New function.
336 (do_one_test): Call check_result.
337 (test_main): Call check1.
338 * string/bug-strcasestr1.c: Removed.
339 * string/bug-strchr1.c: Likewise.
340 * string/bug-strstr1.c: Likewise.
341
53cea63e
L
342 * elf/Makefile (dl-routines): Add hwcaps.
343 * elf/dl-support.c (_dl_important_hwcaps): Removed.
344 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
345 (_dl_important_hwcaps): Moved to ...
346 * elf/dl-hwcaps.c: Here. New file.
347 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
348
9cee5585 349 [BZ #14557]
bb859b06
L
350 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
351 if IS_IN_rtld isn't defined.
352
9cee5585
L
353 * elf/dl-support.c (_dl_sysinfo_map): New.
354 Include "get-dynamic-info.h" and "setup-vdso.h".
355 (_dl_non_dynamic_init): Call setup_vdso.
356 * elf/dynamic-link.h: Don't include <assert.h>.
357 (elf_get_dynamic_info): Moved to ...
358 * elf/get-dynamic-info.h: Here. New file.
359 * elf/dynamic-link.h: Include "get-dynamic-info.h".
360 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
361 * elf/setup-vdso.h: Here. New file.
362 * elf/rtld.c: Include "setup-vdso.h".
363 (dl_main): Call setup_vdso.
364
23c31b76
JM
3652012-10-05 Joseph Myers <joseph@codesourcery.com>
366
28234b07
JM
367 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
368 creal in comment listing functions tested. List finite, isinf,
369 isnan, isless, islessequal, isgreater, isgreaterequal,
370 islessgreater, isunordered, lgamma_r and pow10 as functions and
371 macros not tested. Mention which functions not tested are aliases
372 for other functions. Fix typo. Note that signs of NaNs are not
373 tested.
374
23c31b76
JM
375 * scripts/config.guess: Update from config.git.
376 * scripts/config.sub: Likewise.
377
9043e228
RM
3782012-10-04 Roland McGrath <roland@hack.frob.com>
379
380 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
381 * misc/madvise.c (madvise): Renamed to __madvise.
382 Make madvise a weak alias.
383 * include/sys/mman.h: Declare __madvise.
384 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
385 * sysdeps/unix/syscalls.list
386 (madvise): Make __madvise the strong name, and madvise a weak alias.
387 * sysdeps/unix/sysv/linux/syscalls.list
388 (madvise, mmap): Remove redundant entries.
389 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
390 * malloc/malloc.c (mtrim): Likewise.
391 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
392
f57f8055
RM
3932012-10-03 Roland McGrath <roland@hack.frob.com>
394
395 * sysdeps/mach/hurd/dl-cache.c: File removed.
396 * config.h.in (USE_LDCONFIG): New #undef.
397 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
398 * configure: Regenerated.
399 * elf/Makefile (dl-routines): Add dl-cache only under
400 [$(use-ldconfig) = yes].
401 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
402 cache on [USE_LDCONFIG].
403 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
404 [USE_LDCONFIG].
405 * elf/rtld.c (dl_main): Likewise.
406
5bb0c10a
PT
4072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
408
409 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
410 _SC_LEVEL4_CACHE_LINESIZE.
411
010188c6
RM
4122012-10-03 Roland McGrath <roland@hack.frob.com>
413
414 * sysdeps/unix/bsd/confstr.h: File removed.
415
b6c5ec07
AO
4162012-10-02 Alexandre Oliva <aoliva@redhat.com>
417
418 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
419 sys/sdt-config.h.
420
408223d4
RM
4212012-10-02 Roland McGrath <roland@hack.frob.com>
422
423 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
424 Make 'mapoff' field ElfW(Off) rather than off_t.
425
bb9510dc
DL
4262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
427
fc997c6e
DL
428 * nscd/Makefile: Remove nscd-cflags and all its users.
429 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
430 (CFLAGS-nonlib): Add compiler flags for nscd modules.
431
bb9510dc
DL
432 [BZ #10631]
433 * malloc.c (malloc_printerr): Clarify error message.
434
05699367
L
4352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
436
437 [BZ #14648]
438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
439 Set bit_FMA_Usable if FMA is supported.
440 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
441 macro.
442 (bit_FMA4_Usable): Updated.
443 (index_FMA_Usable): New macro.
444 (CPUID_FMA): Likewise
445 (HAS_FMA): Defined with bit_FMA_Usable.
446
51367701
RM
4472012-10-01 Roland McGrath <roland@hack.frob.com>
448
449 * bits/types.h (__swblk_t): Type removed.
450 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
451 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
453 (__SWBLK_T_TYPE): Likewise.
454 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
455 (__SWBLK_T_TYPE): Likewise.
456 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
457 (__SWBLK_T_TYPE): Likewise.
458 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
459 (__SWBLK_T_TYPE): Likewise.
460
4d57bf63
JL
4612012-10-01 Patsy Franklin <pfrankli@redhat.com>
462 Honza Horak <hhorak@redhat.com>
463
464 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
465 (xdr_mapname): Use YPMAXMAP as maxsize.
466 (xdr_peername): Use YPMAXPEER as maxsize.
467 (xdr_keydat): Use YPAXRECORD as maxsize.
468 (xdr_valdat): Use YPMAXRECORD as maxsize.
469
93c65d43
RM
4702012-10-01 Roland McGrath <roland@hack.frob.com>
471
497a03d6
RM
472 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
473
93c65d43
RM
474 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
475 * csu/init-first.c: ... here.
476 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
477 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
478 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
479 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
480 * sysdeps/i386/init-first.c: File removed.
481 * sysdeps/sh/init-first.c: File removed.
482
bec749fd
JM
4832012-10-01 Joseph Myers <joseph@codesourcery.com>
484
485 [BZ #14645]
486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
487 if x * y might underflow to zero and z is zero.
488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
490 * math/libm-test.inc (min_subnorm_value): New variable.
491 (fma_test): Add more tests.
492 (fma_test_towardzero): Likewise.
493 (fma_test_downward): Likewise
494 (fma_test_upward): Likewise.
495 (initialize): Set min_subnorm_value.
496
8ec5b013
JM
4972012-09-29 Joseph Myers <joseph@codesourcery.com>
498
499 [BZ #14638]
500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
501 0 + 0.
502 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
503 mode for addition resulting in exact zero.
504 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
506 exact 0 + 0.
507 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
509 * math/libm-test.inc (fma_test): Add more tests.
510 (fma_test_towardzero): New function.
511 (fma_test_downward): Likewise.
512 (fma_test_upward): Likewise.
513 (main): Call the new functions.
514
b1fa802e
DM
5152012-09-28 David S. Miller <davem@davemloft.net>
516
517 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
518
d3b9fd9e
RM
5192012-09-28 Roland McGrath <roland@hack.frob.com>
520
ea4d37b3
RM
521 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
522 instead of SIGALRM.
523
ac51c949
RM
524 * sysdeps/gnu/_G_config.h: Moved to ...
525 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
526 * sysdeps/mach/hurd/_G_config.h: Moved to ...
527 * sysdeps/generic/_G_config.h: ... here.
528
28c195f7
RM
529 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
530
848917f9
RM
531 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
532
6bacf05b
RM
533 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
534 Conditionalize target on [libnss_test1.so-version].
535
91363dbb
RM
536 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
537
cc87f7d8
RM
538 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
539 (elfobjdir): Move out of conditionals.
540
b1c608fe
RM
541 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
542 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
543 (__nss_lookup_function): Conditionalize label remove_from_tree on
544 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 545
1d9a6d96
DM
5462012-09-28 David S. Miller <davem@davemloft.net>
547
548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
549 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
550 file.
551 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
552 sysdep_routines.
553 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
555 when HWCAP_SPARC_CRYPTO is present.
556
72581615
PT
5572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
558
559 * io/tst-mknodat.c: Create a FIFO instead of a socket.
560
715a900c
JL
5612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
562
563 [BZ #6530]
564 * stdio-common/vfprintf.c (process_string_arg): Revert
565 2000-07-22 change.
566
5672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
568
569 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
570 for testcase.
571 * stdio-common/tst-sprintf.c: Include <locale.h>
572 (main): Test sprintf's handling of incomplete multibyte
573 characters.
574
9bac1d86
L
5752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
576
577 * elf/dl-runtime.c (VERSYMIDX): Removed.
578 * elf/dl-version.c (VERSYMIDX): Likewise.
579 * elf/do-rel.h (VERSYMIDX): Likewise.
580 (VALIDX): Likewise.
581 * elf/dynamic-link.h (VERSYMIDX): Likewise.
582 * elf/rtld.c (VALIDX): Likewise.
583 (ADDRIDX): Likewise.
9bac1d86
L
584 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
585 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
586 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
587 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
588 (VALIDX): Likewise.
589 (ADDRIDX): Likewise.
9bac1d86 590
b31606c0
PT
5912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
592
593 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
594
11541177
JL
5952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
596
597 [BZ #11438]
598 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
599 to global scope.
600 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
601 addresses are in the same scope as 192.0.2/24.
602 * posix/gai.conf: Document new scope table defaults.
603
adb26fae
SP
6042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
605
606 [BZ #5298]
607 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
608 for ftell. Compute offsets from write pointers instead.
609 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
610
4573c6b0
SP
6112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
612
613 [BZ #14543]
614 * libio/Makefile (tests): New test case tst-fseek.
615 * libio/tst-fseek.c: New test case to verify that fseek/ftell
616 combination works in wide mode.
617 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
618 state when the external buffer state changes.
619
aa9bbfe6
DM
6202012-09-27 David S. Miller <davem@davemloft.net>
621
622 [BZ #14376]
623 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
624 pass reloc->r_addend in as the 'high' argument to
625 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
626
784421e7
DM
627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
628
c39bc8b8
PT
6292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
630
631 * rt/tst-aio2.c: Include <pthread.h>.
632 * rt/tst-aio3.c: Likewise.
633
1ccc2399
SE
6342012-09-27 Steve Ellcey <sellcey@mips.com>
635
636 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
637
31ed4153
L
6382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
639
25f5f885
L
640 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
641 contents on [SHARED].
31ed4153 642
b7bfe116
MP
6432012-09-26 Marek Polacek <polacek@redhat.com>
644
645 [BZ #14530]
646 [BZ #13741]
647 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
648 for C++ and GCC <4.3 as well as for non GCC compilers.
649
43c4edba
MT
6502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
651
652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
653
6a1bf82f
RM
6542012-09-25 Roland McGrath <roland@hack.frob.com>
655
656 * Makefile.in (all, install): Declare with .PHONY.
657 Reported by Michael Hope <michael.hope@linaro.org>.
658
8ad11b9a
TMQMF
6592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
660
661 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
662 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
663 system header.
664 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
665 Likewise.
666 (sydep_routines): Add the new and the internal functions.
667 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
668 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
670 (GLIBC_2.17): Add the new function.
671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
672 (GLIBC_2.17): Likewise.
673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
674 (GLIBC_2.17): Likewise.
675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
676 (GLIBC_2.17): Likewise.
677 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
678
7e2fca8d
AM
6792012-09-25 Alan Modra <amodra@gmail.com>
680
681 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
682 Add release barrier before setting once_control to say
683 initialisation is done. Add hints on lwarx. Use macro in
684 place of isync.
685 (clear_once_control): Add release barrier.
686
b87c4b24
JM
6872012-09-25 Joseph Myers <joseph@codesourcery.com>
688
d032e0d2
JM
689 [BZ #13629]
690 * math/s_clog.c (__clog): Handle more values close to |z| = 1
691 specially.
692 * math/s_clog10.c (__clog10): Likewise.
693 * math/s_clog10f.c (__clog10f): Likewise.
694 * math/s_clog10l.c (__clog10l): Likewise.
695 * math/s_clogf.c (__clogf): Likewise.
696 * math/s_clogl.c (__clogl): Likewise.
697 * math/Makefile (libm-calls): Add x2y2m1.
698 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
699 (__x2y2m1): Likewise.
700 (__x2y2m1l): Likewise.
701 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
702 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
703 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
704 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
705 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
706 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
707 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
708 * sysdeps/i386/fpu/libm-test-ulps: Update.
709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
710
b87c4b24
JM
711 [BZ #14621]
712 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
713 int as type of variable DEPTH.
714 (glob): Use size_t instead of int as type of variables NEWCOUNT
715 and OLD_PATHC.
716
6d3bf199
LD
7172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
718
22bf5c17
LD
719 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
720 Add s_sincosf-sse2.
721 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
722 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
723 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
724 macros for using routine as __sincosf_ia32.
725 Use macro for function declaration and weak_alias.
726 * sysdeps/i386/fpu/libm-test-ulps: Update.
727
728 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
730
731 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
732 subnormal argument.
733 * math/s_cexpf.c (__cexpf): Likewise.
734 * math/s_csinf.c (__csinf): Likewise.
735 * math/s_csinhf.c (__csinhf): Likewise.
736 * math/s_ctanf.c (__ctanf): Likewise.
737 * math/s_ctanhf.c (__ctanhf): Likewise.
738 * math/s_ccosh.c (__ccoshf): Likewise.
739 * math/s_cexp.c (__cexpl): Likewise.
740 * math/s_csin.c (__csin): Likewise.
741 * math/s_csinh.c (__csinh): Likewise.
742 * math/s_ctan.c (__ctan): Likewise.
743 * math/s_ctanh.c (ctanh): Likewise.
744 * math/s_ccoshl.c (__ccoshl): Likewise.
745 * math/s_cexpl.c (__cexpl): Likewise.
746 * math/s_csinl.c (__csinl): Likewise.
747 * math/s_csinhl.c (__csinhl): Likewise.
748 * math/s_ctanl.c (__ctanl): Likewise.
749 * math/s_ctanhl.c (__ctanhl): Likewise.
750
203e5603
JM
7512012-09-25 Joseph Myers <joseph@codesourcery.com>
752
753 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
754 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
755 (_IO_off_t): Define to __off_t, not _G_off_t.
756 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
757 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
758 (_IO_wint_t): Define to wint_t, not _G_wint_t.
759 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
760 type of __dummy and __dummy2 fields.
761 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
762 (_G_ssize_t): Likewise.
763 (_G_off_t): Likewise.
764 (_G_pid_t): Likewise.
765 (_G_uid_t): Likewise.
766 (_G_wchar_t): Likewise.
767 (_G_wint_t): Likewise.
768 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
769 (_G_ssize_t): Likewise.
770 (_G_off_t): Likewise.
771 (_G_pid_t): Likewise.
772 (_G_uid_t): Likewise.
773 (_G_wchar_t): Likewise.
774 (_G_wint_t): Likewise.
775 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
776 (_G_ssize_t): Likewise.
777 (_G_off_t): Likewise.
778 (_G_pid_t): Likewise.
779 (_G_uid_t): Likewise.
780 (_G_wchar_t): Likewise.
781 (_G_wint_t): Likewise.
782
9fab36eb
SP
7832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
784
785 * malloc/arena.c: Include malloc-sysdep.h.
786 (shrink_heap): Use check_may_shrink_heap to decide if madvise
787 is sufficient to shrink the heap or an unmap is needed.
788 * sysdeps/generic/malloc-sysdep.h: New file. Define
789 new function check_may_shrink_heap.
790 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
791 new function check_may_shrink_heap.
792
2b4f00d1
SP
7932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
794
795 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
796 comments.
797
9a9028b1
DL
7982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
799
57c69bef
DL
800 * catgets/test-gencat.sh: Add "set -e".
801 * elf/tst-pathopt.sh: Likewise.
802 * grp/tst_fgetgrent.sh: Likewise.
803 * iconvdata/run-iconv-test.sh: Likewise.
804 * intl/tst-gettext.sh: Likewise.
805 * intl/tst-gettext2.sh: Likewise.
806 * intl/tst-gettext4.sh: Likewise.
807 * intl/tst-gettext6.sh: Likewise.
808 * intl/tst-translit.sh: Likewise.
809 * io/ftwtest-sh: Likewise.
810 * libio/test-freopen.sh: Likewise.
811 * malloc/tst-mtrace.sh: Likewise.
812 * posix/globtest.sh: Likewise.
813 * posix/tst-getconf.sh: Likewise.
814 * posix/wordexp-tst.sh: Likewise.
815 * stdio-common/tst-printf.sh: Likewise.
816 * stdio-common/tst-unbputc.sh: Likewise.
817 * stdlib/tst-fmtmsg.sh: Likewise.
818 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
819 * catgets/Makefile: Do not specify -e option when running
820 testsuite shell scripts.
821 * elf/Makefile: Likewise.
822 * grp/Makefile: Likewise.
823 * iconvdata/Makefile: Likewise.
824 * intl/Makefile: Likewise.
825 * io/Makefile: Likewise.
826 * libio/Makefile: Likewise.
827 * malloc/Makefile: Likewise.
828 * posix/Makefile: Likewise.
829 * stdio-common/Makefile: Likewise.
830 * stdlib/Makefile: Likewise.
831 * sysdeps/x86_64/Makefile: Likewise.
832
9a9028b1
DL
833 * io/ftwtest-sh: Add copyright header.
834 * posix/globtest.sh: Likewise.
835 * posix/tst-getconf.sh: Likewise.
836 * posix/wordexp-tst.sh: Likewise.
837 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
838
ced6f16e
L
8392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
840
94b32c39
L
841 [BZ #13679]
842 * Makeconfig (+link): Defined as $(+link-static) if
843 $(build-shared) isn't yes.
844 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
845 isn't yes.
846 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
847
189e935b
L
848 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
849
ced6f16e
L
850 [BZ #14562]
851 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
852 new chunk size with MALLOC_ALIGN_MASK.
853
a9f8e53a
JM
8542012-09-24 Joseph Myers <joseph@codesourcery.com>
855
856 [BZ #5044]
857 * stdio-common/printf_fphex.c: Include <stdbool.h> and
858 <rounding-mode.h>.
859 (__printf_fphex): Determine rounding using get_rounding_mode and
860 round_away.
861 * stdio-common/tst-printf-round.c (struct hex_test): New
862 structure.
863 (hex_tests): New variable.
864 (test_hex_in_one_mode): New function.
865 (do_test): Also run tests for hex float output.
866
43153109
JM
8672012-09-21 Joseph Myers <joseph@codesourcery.com>
868
869 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
870 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
871 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
872 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
873 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
874 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
875 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
876 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
877
8a26625d
JM
8782012-09-20 Joseph Myers <joseph@codesourcery.com>
879
880 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
881 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
882 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
883 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
884
f3fd569c
DL
8852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
886
887 [BZ #14579]
888 * elf/rtld.c (dl_main): Limit the check for self loading to normal
889 mode only.
890 * elf/tst-rtld-load-self.sh: New test.
891 * elf/Makefile: Run it.
892
63bbedd4
JM
8932012-09-18 Joseph Myers <joseph@codesourcery.com>
894
895 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
896 (tst-writev-ENV): Remove.
897 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
898
626f8b6a
CM
8992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
900
901 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
902
b7aaa4d6
JM
9032012-09-17 Joseph Myers <joseph@codesourcery.com>
904
905 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
906 unconditional.
907 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
908 Likewise.
909 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
910 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
911 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
912 Likewise.
913
65513990
L
9142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
915
916 [BZ #14587]
917 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
918 * config.make.in (have-cpp-asm-debuginfo): Removed.
919 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
920 * configure: Regenerated.
921
784761be
JM
9222012-09-14 Joseph Myers <joseph@codesourcery.com>
923
924 [BZ #5044]
925 * stdio-common/printf_fp.c: Include <stdbool.h> and
926 <rounding-mode.h>.
927 (___printf_fp): Determine rounding using get_rounding_mode and
928 round_away.
929 * stdio-common/tst-printf-round.c: New file.
930 * stdio-common/Makefile (tests): Add tst-printf-round.
931 (link-libm): New variable.
932 ($(objpfx)tst-printf-round): Depend in $(link-libm).
933
9503345f
L
9342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
935
936 [BZ #14576]
937 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
938 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
939 Likewise.
940 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
941 Likewise.
942
ad35fc00
JM
9432012-09-13 Joseph Myers <joseph@codesourcery.com>
944
945 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
946 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
947 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
948 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
949
6c9b0f68
JM
9502012-09-12 Joseph Myers <joseph@codesourcery.com>
951
952 [BZ #14518]
953 * include/rounding-mode.h: New file.
954 * sysdeps/generic/get-rounding-mode.h: Likewise.
955 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
956 * stdlib/strtod_l.c: Include <rounding-mode.h>.
957 (MAX_VALUE): New macro.
958 (MIN_VALUE): Likewise.
959 (overflow_value): New function.
960 (underflow_value): Likewise.
961 (round_and_return): Use overflow_value and underflow_value to
962 determine return values in overflow and underflow cases. Use
963 round_away to determine rounding depending on rounding mode.
964 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
965 determine return values in overflow and underflow cases.
966 * stdlib/tst-strtod-round.c: Include <fenv.h>.
967 (struct test_results): New structure.
968 (struct test): Use struct test_results to store expected results
969 for all rounding modes.
970 (TEST): Include expected results for all rounding modes.
971 (test_in_one_mode): New function.
972 (do_test): Use test_in_one_mode to compute and check results.
973 Check results for all rounding modes.
974 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
975 $(link-libm).
976
19fcedd5
AM
9772012-12-09 Allan McRae <allan@archlinux.org>
978
979 * sysdeps/i386/fpu/libm-test-ulps: Update
980
8bbfd2f1
JM
9812012-09-11 Joseph Myers <joseph@codesourcery.com>
982
983 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
984 (_G_int32_t): Likewise.
985 (_G_uint16_t): Likewise.
986 (_G_uint32_t): Likewise.
987 (_G_HAVE_BOOL): Likewise.
988 (_G_HAVE_ATEXIT): Likewise.
989 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
990 (_G_HAVE_IO_FILE_OPEN): Likewise.
991 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
992 (_G_int32_t): Likewise.
993 (_G_uint16_t): Likewise.
994 (_G_uint32_t): Likewise.
995 (_G_HAVE_BOOL): Likewise.
996 (_G_HAVE_ATEXIT): Likewise.
997 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
998 (_G_HAVE_IO_FILE_OPEN): Likewise.
999 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1000 (_G_int32_t): Likewise.
1001 (_G_uint16_t): Likewise.
1002 (_G_uint32_t): Likewise.
1003 (_G_HAVE_BOOL): Likewise.
1004 (_G_HAVE_ATEXIT): Likewise.
1005 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1006 (_G_HAVE_IO_FILE_OPEN): Likewise.
1007
b1dc5912
L
10082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1009
1010 * csu/libc-tls.c: Update copyright years.
1011
0e886ef9
JM
10122012-09-10 Joseph Myers <joseph@codesourcery.com>
1013
28361c5e
JM
1014 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1015 [!_G_USING_THUNKS]: Remove conditional code.
1016 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1017 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1018
0e886ef9
JM
1019 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1020 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1021 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1022 (_G_VTABLE_LABEL_PREFIX): Likewise.
1023 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1024 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1025 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1026 (_G_VTABLE_LABEL_PREFIX): Likewise.
1027 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1028 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1029 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1030 (_G_VTABLE_LABEL_PREFIX): Likewise.
1031 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1032
bcba7aa2
L
10332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * libio/Makefile: Include ../Makeconfig before tests.
1036 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1037 only if $(build-shared) is yes.
1038
06585ee8
L
1039 * iconv/gconv_db.c: Update copyright years.
1040
80ccd52c
LD
10412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1042
1043 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1044 unwind info if defined PIC. Fix special cases description.
1045 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1046
1047 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1048 DP_HI_MASK entry.
1049 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1050
691bc9c1
L
10512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1052
3d9b46b3
L
1053 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
1054
de2139a9
L
1055 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
1056 is NULL.
1057
5ca78dd0
L
1058 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
1059 (LDLIBS-tst-chk4): This.
1060 (LDFLAGS-tst-chk5): Renamed to ...
1061 (LDLIBS-tst-chk5): This.
1062 (LDFLAGS-tst-chk6): Renamed to ...
1063 (LDLIBS-tst-chk6): This.
1064 (LDFLAGS-tst-lfschk4): Renamed to ...
1065 (LDLIBS-tst-lfschk4): This.
1066 (LDFLAGS-tst-lfschk5): Renamed to ...
1067 (LDLIBS-tst-lfschk5): This.
1068 (LDFLAGS-tst-lfschk6): Renamed to ...
1069 (LDLIBS-tst-lfschk6): This.
1070
691bc9c1
L
1071 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
1072 on $(common-objpfx)soversions.mk.
1073
65cafb1c
JM
10742012-09-07 Joseph Myers <joseph@codesourcery.com>
1075
1076 [BZ #10014]
1077 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
1078 example host name.
1079
c78ab094
SP
10802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1081
1082 * malloc/arena.c (arena_get_retry): New function that gets
1083 another arena for the caller to try its request on.
1084 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
1085 current arena cannot fulfill the request.
1086 (__libc_memalign): Likewise.
1087 (__libc_memalign): Likewise.
1088 (__libc_pvalloc): Likewise.
1089 (__libc_calloc): Likewise.
1090
01f49f59
JT
10912012-09-05 John Tobey <john.tobey@gmail.com>
1092
1093 [BZ #13542]
1094 * manual/arith.texi (Operations on Complex): Fix description
1095 of carg branch cut.
1096
4c23fed5
JM
10972012-09-06 Joseph Myers <joseph@codesourcery.com>
1098
1d3c8572
JM
1099 [BZ #10014]
1100 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
1101 host name.
1102
4c23fed5
JM
1103 [BZ #10038]
1104 * manual/memory.texi (Memory): Make order of menu items match
1105 order of sections.
1106
04570aaa
L
11072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
1110 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
1111 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
1112
b80af2f4
L
11132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * csu/libc-tls.c (static_dtv): Renamed to ...
1116 (_dl_static_dtv): This. Make it global.
1117 (_dl_initial_dtv): Removed.
1118 (__libc_setup_tls): Updated.
1119 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
1120 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
1121 DL_INITIAL_DTV.
1122
2abe9f15
PM
11232012-09-06 Petr Machata <pmachata@redhat.com>
1124
1125 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
1126 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
1127 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
1128 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
1129
0948c3af
L
11302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 [BZ #14545]
1133 * csu/libc-tls.c (_dl_initial_dtv): New variable.
1134 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
1135 freeing dtv[-1].
1136
a5055ad1
L
11372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 [BZ #14544]
1140 * Makeconfig (link-static-before-libc): Replace $(+prector)
1141 with $(+prectorT).
1142 (link-static-after-libc): Replace $(+postctor) with
1143 $(+postctorT).
1144 (link-bounded): Replace $(+prector)/$(+postctor) with
1145 $(+prectorT)/$(+postctorT).
1146 (+prectorT): New macro.
1147 (+postctorT): Likewise.
1148
ed8c2ecd
JM
11492012-09-06 Joseph Myers <joseph@codesourcery.com>
1150
1151 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
1152 (round_str): Handle values above the maximum for IBM long double
1153 as inexact.
1154 * stdlib/tst-strtod-round.c (tests): Regenerated.
1155
14c996c8
AK
11562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1157
1158 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
1159 assembler flag.
1160 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
1161 zarch_nohighgprs around the zarch optimized routines.
1162 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1163 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1164 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
1165 for zarch.
1166
430d6ce6
DM
11672012-09-05 David S. Miller <davem@davemloft.net>
1168
1169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1170
ff04dda4
DM
1171 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
1172 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
1173 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
1174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1175 entries.
1176
24d4e01b
AO
11772012-09-05 Alexandre Oliva <aoliva@redhat.com>
1178
1179 * malloc/arena.c: Fold copyright years.
1180 * malloc/mcheck.c, malloc/memusage.c: Likewise.
1181
61d58174
AO
11822012-09-05 Alexandre Oliva <aoliva@redhat.com>
1183
1184 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
1185
20196a5e
AO
11862012-09-05 Alexandre Oliva <aoliva@redhat.com>
1187
1188 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
1189
5c447383
AO
11902012-09-05 Alexandre Oliva <aoliva@redhat.com>
1191
1192 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
1193 change internal state upon failure.
1194
fad64255
AO
11952012-09-05 Alexandre Oliva <aoliva@redhat.com>
1196
1197 * malloc/mcheck.c (mcheck_check_all): Fix typo.
1198 * malloc/memusage.c (mmap): Likewise.
1199 (mmap64, mremap): Likewise. Adjust name in comment.
1200
1ffb8c90
SP
12012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1202
1203 * libio/fileops.c: Fix typos in comments.
1204 * libio/oldfileops.c: Likewise.
1205 * libio/wfileops.c: Likewise.
1206
6ef9cc37
SP
12072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1208
1209 [BZ #1349]
1210 * malloc/Makefile (tests): Add tst-malloc-usable test case.
1211 (tst-malloc-usable-ENV): Set environment for test case.
1212 * malloc/hooks.c (malloc_check_get_size): New function to get
1213 requested size.
1214 * malloc/malloc.c (musable): Use malloc_check_get_size.
1215 * malloc/tst-malloc-usable.c: New test case.
1216
4d038ae3
AS
12172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1218
1219 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
1220
c4e85184
AM
12212012-09-05 Allan McRae <allan@archlinux.org>
1222
b9dafc56 1223 [BZ #13966]
c4e85184
AM
1224 * configure.in (CXX_SYSINCLUDES): Use compiler output to
1225 determine header location.
1226 * configure: Regenerated.
1227
e1343020
AS
12282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
1229
1230 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
1231 float format.
1232 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
1233 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
1234 format.
e1343020
AS
1235 (test): Regenerate.
1236
0a9f1987
DM
12372012-09-04 David S. Miller <davem@davemloft.net>
1238
1239 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
1240 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
1241 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
1242
29237804
FW
12432012-09-04 Florian Weimer <fweimer@redhat.com>
1244
1245 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
1246 failures.
1247
edb3cb88
FW
1248 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
1249
60160d83
JM
12502012-09-04 Joseph Myers <joseph@codesourcery.com>
1251
1252 [BZ #9914]
1253 * libio/iogetdelim.c: Include <limits.h>.
1254 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
1255 + len + 1 would overflow.
1256
bcd6c8dc
AJ
12572012-09-03 Andreas Jaeger <aj@suse.de>
1258
1259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1260 * sysdeps/i386/fpu/libm-test-ulps: Update.
1261
4ffffbd2
LD
12622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1263
1264 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1265 Add s_sinf-sse2, s_conf-sse2.
1266
1267 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
1268 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
1269 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
1270 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
1271
1272 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
1273 for using routine as __sinf_ia32.
1274 Use macro for function declaration and weak_alias.
1275 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
1276 for using routine as __cosf_ia32.
1277 Use macro for function declaration and weak_alias.
1278
1279 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
1280 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
1281
1282 * sysdeps/x86_64/fpu/s_sinf.S: New file.
1283 * sysdeps/x86_64/fpu/s_cosf.S: New file.
1284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1285
1286 * math/libm-test.inc (cos_test): Add more test cases.
1287 (sin_test): Likewise.
1288 (sincos_test): Likewise.
1289
511fa286
AK
12902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1291
1292 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1293 (IFUNC_RESOLVE): Make pointers to the specialized implementations
1294 hidden.
1295 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1296
5f30cfec
L
12972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
1298
1299 [BZ #14538]
1300 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
1301 first element of the GOT.
1302 (elf_machine_load_address): Return the difference between
1303 the runtime address of _DYNAMIC and elf_machine_dynamic ().
1304
0786794f
AM
13052012-09-01 Allan McRae <allan@archlinux.org>
1306
5f30cfec
L
1307 [BZ #13412]
1308 * configure.in (AWK): Require gawk version 3.0 or later.
1309 * configure: Regenerated.
0786794f 1310
26889eac
JM
13112012-09-01 Joseph Myers <joseph@codesourcery.com>
1312
1313 * sysdeps/unix/sysv/linux/kernel-features.h
1314 (__ASSUME_POSIX_CPU_TIMERS): Remove.
1315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1316 [__NR_clock_getres]: Make code unconditional.
1317 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
1318 (clock_getcpuclockid): Remove code left unreachable by removal of
1319 conditionals.
1320 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
1321 code unconditional.
1322 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1323 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1324 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
1325 Make code unconditional.
1326 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
1327 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1328 * sysdeps/unix/sysv/linux/clock_settime.c
1329 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
1330 conditional code.
1331 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
1332 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
1333
d22e28b0
L
13342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
1335
1336 [BZ #14476]
1337 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
1338 scripts/test-installation.pl.
1339
1340 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
1341 and $ld_so_version if it is set.
1342
050af9c4
SP
13432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1344
1345 [BZ #14516]
1346 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
1347 failure if reading from procfs failed.
1348 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
1349
ad845c0b
JM
13502012-08-27 Joseph Myers <joseph@codesourcery.com>
1351
1352 * sysdeps/unix/sysv/linux/kernel-features.h
1353 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
1354 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1355 Remove conditional code.
1356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1357 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
1358 Remove conditional code.
1359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1360 * sysdeps/unix/sysv/linux/i386/fxstat.c
1361 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1363 * sysdeps/unix/sysv/linux/i386/fxstatat.c
1364 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1366 * sysdeps/unix/sysv/linux/i386/lxstat.c
1367 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
1368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1369 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
1370 Remove conditional code.
1371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1372 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
1373 Remove conditional code.
1374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1375 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
1376 <kernel-features.h>.
1377 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
1378 Remove.
1379 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
1380 Remove conditional code.
1381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
1382 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
1383 Remove conditional.
1384
5dbf56af
MF
13852012-08-27 Mike Frysinger <vapier@gentoo.org>
1386
1387 [BZ #5400]
1388 * NEWS: Add fixed bug number.
1389
d6e70f43
JM
13902012-08-27 Joseph Myers <joseph@codesourcery.com>
1391
7efb4737
JM
1392 [BZ #14519]
1393 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
1394 underflowing exponent in case of negative sign.
1395 * stdlib/tst-strtod-round-data: Add more tests.
1396 * stdlib/tst-strtod-round.c (tests): Regenerated.
1397
af92131a
JM
1398 [BZ #3479]
1399 * stdlib/strtod_l.c (NDIG): Remove.
1400 (HEXNDIG): Likewise.
1401 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
1402 smallest representable value.
1403 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
1404 lie within an exact representation of 1/2 ulp of the result.
1405 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
1406 unconditionally.
1407 (TENS_P9_IDX): Define unconditionally.
1408 (TENS_P9_SIZE): Likewise.
1409 (TENS_P10_IDX): Likewise.
1410 (TENS_P10_SIZE): Likewise.
1411 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
1412 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
1413 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
1414 entries for 10^2^13 and 10^2^14.
1415 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
1416 (TENS_P13_IDX): Define.
1417 (TENS_P13_SIZE): Likewise.
1418 (TENS_P14_IDX): Likewise.
1419 (TENS_P14_SIZE): Likewise.
1420 (_fpioconst_pow10): Change array size to
1421 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
1422 unconditional.
1423 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
1424 1024]: Add entries for 10^2^13 and 10^2^14.
1425 [LAST_POW10 > _LAST_POW10]: Remove #error.
1426 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
1427 (_fpioconst_pow10): Change array size to
1428 FPIOCONST_POW10_ARRAY_SIZE.
1429 * stdlib/gen-fpioconst.c: New file.
1430 * stdlib/gen-tst-strtod-round.c: Likewise.
1431 * stdlib/tst-strtod-round-data: Likewise.
1432 * stdlib/tst-strtod-round.c: Likewise.
1433 * stdlib/Makefile (tests): Add tst-strtod-round.
1434
d6e70f43
JM
1435 [BZ #14459]
1436 * stdlib/strtod_l.c: Include <stdint.h>.
1437 (NDEBUG): Do not define.
1438 (round_and_return): Change EXPONENT parameter to type intmax_t.
1439 Rearrange calculations to avoid internal overflow possibilities.
1440 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
1441 Rearrange calculations to avoid internal overflow possibilities.
1442 Assert that number fits inside MPNSIZE limbs.
1443 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
1444 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
1445 calculations and add assertions to avoid internal overflow
1446 possibilities. Add casts to avoid signed/unsigned operations.
1447 * stdlib/tst-strtod-overflow.c: New file.
1448 * stdlib/Makefile (tests): Add tst-strtod-overflow.
1449
1f529f7d
MP
14502012-08-25 Marek Polacek <polacek@redhat.com>
1451
1452 * time/time.h: Fix some typos in comments.
1453
59a629f1
RM
14542012-08-23 Roland McGrath <roland@hack.frob.com>
1455
1456 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
1457 * posix/tst-rfc3484-2.c: Likewise.
1458 * posix/tst-rfc3484-3.c: Likewise.
1459
d3bafbc9
SM
14602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
1461
1462 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
1463 (EF_ARM_ABI_FLOAT_HARD): Likewise.
1464
4efcc022
JM
14652012-08-23 Joseph Myers <joseph@codesourcery.com>
1466
1467 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
1468 #include of fxstatat64.c.
1469
3cc3ef96
RM
14702012-08-22 Roland McGrath <roland@hack.frob.com>
1471
f04e2132
RM
1472 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
1473 * shadow/getspent_r.c: Likewise.
1474 * shadow/getspnam.c: Likewise.
1475 * shadow/getspnam_r.c: Likewise.
1476 * gshadow/getsgent.c: Likewise.
1477 * gshadow/getsgent_r.c: Likewise.
1478 * gshadow/getsgnam.c: Likewise.
1479 * gshadow/getsgnam_r.c: Likewise.
1480 * inet/getnetbyad.c: Likewise.
1481 * inet/getnetbyad_r.c: Likewise.
1482 * inet/getnetbynm.c: Likewise.
1483 * inet/getnetbynm_r.c: Likewise.
1484 * inet/getnetent.c: Likewise.
1485 * inet/getnetent_r.c: Likewise.
1486 * inet/getproto.c: Likewise.
1487 * inet/getproto_r.c: Likewise.
1488 * inet/getprtent.c: Likewise.
1489 * inet/getprtent_r.c: Likewise.
1490 * inet/getprtname.c: Likewise.
1491 * inet/getprtname_r.c: Likewise.
1492 * inet/getrpcbyname.c: Likewise.
1493 * inet/getrpcbyname_r.c: Likewise.
1494 * inet/getrpcbynumber.c: Likewise.
1495 * inet/getrpcbynumber_r.c: Likewise.
1496 * inet/getrpcent.c: Likewise.
1497 * inet/getrpcent_r.c: Likewise.
1498 * inet/getaliasent.c: Likewise.
1499 * inet/getaliasent_r.c: Likewise.
1500 * inet/getaliasname.c: Likewise.
1501 * inet/getaliasname_r.c: Likewise.
1502 * nscd/getgrgid_r.c: Likewise.
1503 * nscd/getgrnam_r.c: Likewise.
1504 * nscd/gethstbyad_r.c: Likewise.
1505 * nscd/gethstbynm3_r.c: Likewise.
1506 * nscd/getpwnam_r.c: Likewise.
1507 * nscd/getpwuid_r.c: Likewise.
1508 * nscd/getsrvbynm_r.c: Likewise.
1509 * nscd/getsrvbypt_r.c: Likewise.
1510 * nscd/gai.c: Likewise.
1511
c53d909c
RM
1512 * configure.in (build_nscd): New substituted variable, set
1513 by --disable-build-nscd and defaults to $use_nscd.
1514 * configure: Regenerated.
1515 * config.make.in (build-nscd): New substituted variable.
1516 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
1517 Change conditional to require [$(build-nscd) = yes] as well.
1518 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
1519
3cc3ef96
RM
1520 [BZ# 13696]
1521 * configure.in (use_nscd): New substituted variable, set by
1522 --disable-nscd. If enabled, define USE_NSCD.
1523 * configure: Regenerated.
1524 * config.h.in: Add USE_NSCD.
1525 * config.make.in (use-nscd): New substituted variable.
1526 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
1527 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
1528 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
1529 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
1530 (CFLAGS-getgrnam_r.c): Likewise.
1531 (CFLAGS-initgroups.c): Likewise.
1532 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
1533 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
1534 Variables removed.
1535 * inet/getnetgrent_r.c
1536 (nscd_setnetgrent): New function, broken out of ...
1537 (setnetgrent): ... here. Call it.
1538 (innetgr): Conditionalize nscd bits on [USE_NSCD].
1539 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
1540 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
1541 * nscd/Makefile (routines, aux): Move definitions after include of
1542 Makeconfig. Conditionalize on [$(use-nscd) != no].
1543 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
1544 Conditionalize on [USE_NSCD].
1545 (is_nscd, nscd_init_cb): Likewise.
1546 (nss_load_library): Conditionalize init callback on [USE_NSCD].
1547 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
1548 * nss/nss_db/db-init.c: Likewise.
1549 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
1550 [USE_NSCD].
1551 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
1552 (make_request): Use it.
1553 (cache_valid_p): New function.
1554 (__check_pf): Use it.
1555 * NEWS: Add item for --disable-nscd.
1556
07e51550
DL
15572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
1558
1559 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
1560 to support sed >= 4.2.1-20-ga9bf076.
1561 * configure: Regenerated.
1562
35a5b08b
RM
15632012-08-22 Roland McGrath <roland@hack.frob.com>
1564
1565 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
1566 Conditionalize whole body on [IREL].
1567
8479f23a
JL
15682012-08-22 Jeff Law <law@redhat.com>
1569
1570 [BZ #14505]
1571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
1572 if the family is PF_UNSPEC.
1573
48da0b21
MF
15742012-08-22 Mike Frysinger <vapier@gentoo.org>
1575
1576 * Makerules (lib-version): Rename from V.
1577 (install-lib-nosubdir): Change V to lib-version.
1578
15d0da8c
WS
15792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
1580
1581 [BZ #14252]
1582 * powerpc32/power6/wcschr.c: New file.
1583 * powerpc32/power6/wcscpy.c: New file.
1584 * powerpc32/power6/wcsrchr.c: New file.
1585 * powerpc64/power6/wcschr.c: New file.
1586 * powerpc64/power6/wcscpy.c: New file.
1587 * powerpc64/power6/wcsrchr.c: New file.
1588
bcca0895
MK
15892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1590
1591 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
1592 (two_way_short_needle): Use it.
5a4aaa33
RM
1593 * string/strstr.c (AVAILABLE1_USES_J): Define.
1594 * string/strcasestr.c: Likewise.
99677e57
MK
1595
1596 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
1597 array references.
1598 * string/strcasestr.c (TOLOWER): Make side-effect safe.
1599
400726de
MK
1600 [BZ #11607]
1601 * NEWS: Add an entry.
1602 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
1603 define their defaults.
1604 (two_way_short_needle): Detect end-of-string on-the-fly.
1605 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
1606 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
1607 * string/bug-strcasestr1.c: New test.
1608 * string/Makefile: Run it.
1609
20a71f2c
MK
16102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
1611
1612 [BZ #11607]
1613 * string/str-two-way.h (two_way_short_needle): Optimize matching of
1614 the first character.
1615
21ad0558
RM
16162012-08-21 Roland McGrath <roland@hack.frob.com>
1617
1618 * csu/elf-init.c (__libc_csu_irel): Function removed.
1619 * csu/libc-start.c (apply_irel): New function.
1620 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
1621
0e1d9911
JM
16222012-08-21 Joseph Myers <joseph@codesourcery.com>
1623
1624 * sysdeps/unix/sysv/linux/kernel-features.h
1625 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
1626 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1627 <kernel-features.h>.
1628 [__NR_fadvise64_64]: Make code unconditional.
1629 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
1630 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1631 !__NR_fadvise64_64)]: Likewise.
1632 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
1633 !__NR_fadvise64_64))]: Likewise.
1634 [__NR_fadvise64]: Make code unconditional.
1635 [!__NR_fadvise64]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
1637 <kernel-features.h>.
1638 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1639 unconditional.
1640 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1641 conditional code.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
1643 not include <kernel-features.h>.
1644 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1645 unconditional.
1646 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1647 conditional code.
1648 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
1649 include <kernel-features.h>.
1650 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
1651 unconditional.
1652 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
1653 conditional code.
1654
14a50c9d
WS
16552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1656
1657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
1658 slight instruction rearrangements per scrollpipe analysis.
1659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1660
c0f4faf0
RM
16612012-08-20 Roland McGrath <roland@hack.frob.com>
1662
696da859
RM
1663 * manual/syslog.texi (syslog; vsyslog, closelog):
1664 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
1665 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
1666
c0f4faf0
RM
1667 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
1668 DSOCAPS to match condition on defining it.
1669
348363b2
JM
16702012-08-20 Joseph Myers <joseph@codesourcery.com>
1671
a35cbf28
JM
1672 * sysdeps/unix/sysv/linux/kernel-features.h
1673 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
1675 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1676 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
1678 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1679 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
1681 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
1682 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
1683
445f7ecd
JM
1684 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
1685 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
1686
348363b2
JM
1687 * sysdeps/unix/sysv/linux/kernel-features.h
1688 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
1689 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
1690 unconditional.
1691 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1692 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
1693 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1694 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1695 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
1696 Make code unconditional.
1697 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1698 (__mmap64) [!__NR_mmap2]: Likewise.
1699 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
1700 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
1701 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1702 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
1703 [__NR_mmap2]: Make code unconditional.
1704 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
1705 (__mmap64) [!__NR_mmap2]: Likewise.
1706
bc5bc0e5
AK
17072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1708
1709 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
1710
88d506de
AJ
17112012-08-18 Andreas Jaeger <aj@suse.de>
1712
1713 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
1714
493387d2
MF
17152012-08-18 Mike Frysinger <vapier@gentoo.org>
1716
1717 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
1718 * include/unistd.h (__have_sock_cloexec): Likewise.
1719 (__have_pipe2): Likewise.
1720 (__have_dup3): Likewise.
1721
a277af22
MF
17222012-08-18 Mike Frysinger <vapier@gentoo.org>
1723
1724 [BZ #9685]
1725 * include/unistd.h (__have_pipe2): Change define into an extern int.
1726 (__have_dup3): Likewise.
1727 * socket/have_sock_cloexec.c: Include fcntl.h.
1728 (__have_pipe2): New variable.
1729 (__have_dup3): Likewise.
1730
fdab8fd3
MF
17312012-08-17 Mike Frysinger <vapier@gentoo.org>
1732
1733 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
1734
31035e80
MP
17352012-08-17 Marek Polacek <polacek@redhat.com>
1736
1737 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
1738 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
1739
3bd9e993
RM
17402012-08-17 Roland McGrath <roland@hack.frob.com>
1741
c91c505f
RM
1742 * configure.in: Add AC_SUBST for sysheaders.
1743 * configure: Regenerated.
1744 * config.make.in (sysheaders): New substituted variable.
1745
7c6f9d53
RM
1746 * sysdeps/unix/mkfifo.c: Moved ...
1747 * sysdeps/posix/mkfifo.c: ... here.
1748 * sysdeps/unix/mkfifoat.c: Moved ...
1749 * sysdeps/posix/mkfifoat.c: ... here.
1750
1751 * sysdeps/unix/utime.c: Moved ...
1752 * sysdeps/posix/utime.c: ... here.
1753
1754 * sysdeps/unix/time.c: Moved ...
1755 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
1756 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
1757 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
1758
1759 * sysdeps/unix/nice.c: Moved ...
1760 * sysdeps/posix/nice.c: ... here.
1761
1762 * sysdeps/unix/alarm.c: Moved ...
1763 * sysdeps/posix/alarm.c: ... here.
1764
3bd9e993
RM
1765 * intl/Makefile ($(codeset_mo)): Depend on the input file.
1766
d1f09384
JL
17672012-08-17 Jeff Law <law@redhat.com>
1768
1769 * intl/Makefile (codeset_mo): New variable.
1770 ($(codeset_mo)): New target.
1771 (tst-codeset.out): Depend on that. Remove explicit rule.
1772 (tst-gettext3.out, tst-gettext5.out): Likewise.
1773 (LOCPATH-ENV, tst-codeset-ENV): New variables.
1774 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
1775 * intl/tst-codeset.sh: Remove.
1776 * intl/tst-gettext3.sh: Likewise.
1777 * intl/tst-gettext5.sh: Likewise.
1778
2ae1ae5c
RM
17792012-08-17 Roland McGrath <roland@hack.frob.com>
1780
c31fdb83
RM
1781 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
1782 * sysdeps/unix/syscalls.list: ... here.
1783
a0844057
RM
1784 * sysdeps/posix/getaddrinfo.c
1785 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
1786 (gaiconf_init, gaiconf_reload): Use them.
1787 [!_STATBUF_ST_NSEC]
1788 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
1789 Define using time_t rather than struct timespec.
1790
750c1f2a
RM
1791 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
1792 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
1793 Macros removed.
1794 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
1795 [!NO_THREADS].
1796 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
1797 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
1798 Likewise.
1799
2ae1ae5c
RM
1800 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
1801 __libc_cleanup_push argument.
1802
e66a42f5
RM
1803 * bits/param.h: New file.
1804 * misc/sys/param.h: New file.
1805 * include/sys/param.h: New file.
1806 * misc/Makefile (headers): Add bits/param.h.
1807 * sysdeps/generic/sys/param.h: File removed.
1808 * sysdeps/unix/sysv/linux/bits/param.h: New file.
1809 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
1810 * sysdeps/mach/hurd/bits/param.h: New file.
1811 * sysdeps/mach/hurd/sys/param.h: New file.
1812
b7c08a66
RM
1813 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
1814 last change.
1815
b2e1c562
RM
1816 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
1817 [_IO_MTSAFE_IO].
1818 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
1819 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
1820 New macros.
1821
c75ccd4c
RM
1822 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
1823 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
1824 rather than -D_IO_MTSAFE_IO conditionally.
1825 * stdio-common/Makefile (CPPFLAGS): Likewise.
1826 * wcsmbs/Makefile (CPPFLAGS): Likewise.
1827 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
1828 Use $(libio-mtsafe).
1829 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
1830 of -D_IO_MTSAFE_IO.
1831 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
1832 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
1833 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
1834 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
1835 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
1836 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
1837 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
1838 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
1839 (CFLAGS-fread_u_chk.c): Likewise.
1840 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
1841 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
1842 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
1843 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
1844 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
1845 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
1846 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
1847 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
1848 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
1849
1850 * libio/Makefile: Test [$(libc-reentrant) = yes]
1851 instead of [$(filter %REENTRANT, $(defines)) nonempty].
1852
1853 * Makeconfig
1854 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
1855 * sysdeps/pthread/configure: File removed.
1856 * sysdeps/pthread/Makeconfig: New file.
1857 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
1858 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
1859
d9195db8
GB
18602012-08-16 Gary Benson <gbenson@redhat.com>
1861
1862 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
1863 unmapping the first object in a namespace.
1864
86466cd9
RM
18652012-08-16 Roland McGrath <roland@hack.frob.com>
1866
1867 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
1868 (__internal_setnetgrent): ... this. Add internal_function to
1869 definition. Add libc_hidden_def.
1870 (setnetgrent): Update caller.
1871 (internal_endnetgrent): Renamed to ...
1872 (__internal_endnetgrent): ... this. Add internal_function to
1873 definition. Add libc_hidden_def.
1874 (endnetgrent): Update caller.
1875 (internal_getnetgrent_r): Renamed to ...
1876 (__internal_getnetgrent_r): ... this. Add internal_function to
1877 definition. Add libc_hidden_def.
1878 (__getnetgrent_r): Update caller.
1879 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
1880
c3c8283c
JM
18812012-08-16 Joseph Myers <joseph@codesourcery.com>
1882
1883 * stdlib/longlong.h: Update from GCC.
1884
db1ee0a8
RM
18852012-08-16 Roland McGrath <roland@hack.frob.com>
1886
1887 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
1888 on _QL, which is set by umul_ppmm but never used.
1889 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
1890 variables, which are set by GMP macros but never used.
1891 * stdio-common/_itowa.c (_itowa): Likewise.
1892 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
1893 * stdlib/mod_1.c (mpn_mod_1): Likewise.
1894
30f69637
CD
18952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
1896
1897 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
1898 struct La_sh_regs is not constant.
1899 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
1900 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
1901 and struct La_sparc64_regs are not constant.
1902
93a78ac4
JM
19032012-08-16 Joseph Myers <joseph@codesourcery.com>
1904
1905 * sysdeps/unix/sysv/linux/kernel-features.h
1906 (__ASSUME_POSIX_TIMERS): Remove.
1907 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1908 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1909 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
1910 Make code unconditional.
1911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1912 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
1913 Make code unconditional.
1914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1915 * sysdeps/unix/sysv/linux/clock_nanosleep.c
1916 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
1917 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1918 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
1919 Make code unconditional.
1920 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
1921 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
1922 (__libc_missing_posix_timers): Remove.
1923
dd924cd7
RM
19242012-08-15 Roland McGrath <roland@hack.frob.com>
1925
4b4f2771
RM
1926 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
1927 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
1928
601c888b
RM
1929 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
1930
176790a7
RM
1931 * elf/dl-sym.c: Include <stdlib.h>.
1932
329bc018
RM
1933 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
1934 constants, which avoids warnings in 32-bit builds.
1935
e04e272d
RM
1936 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
1937 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
1938
952bf94a
RM
1939 * misc/lseek.c: File moved to ...
1940 * io/lseek.c: ... here.
1941
7c99b50a
RM
1942 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
1943
dd924cd7
RM
1944 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
1945 shifting LEN more than 31 bits at once.
1946
b3f479a8
LD
19472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1948
1949 [BZ #14195]
8c4ae0d4
RM
1950 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
1951 segmentation fault for a case of two empty input strings.
b3f479a8
LD
1952 * string/test-strncasecmp.c (check1): Renamed to...
1953 (bz12205): ...this.
1954 (bz14195): Add new testcase for two empty input strings and N > 0.
1955 (test_main): Call new testcase, adapt for renamed function.
1956
9c55864e
AJ
19572012-08-15 Andreas Jaeger <aj@suse.de>
1958
1959 [BZ #14090]
1960 * crypt/md5test2.c: New test, based on test supplied by Serge
1961 Belyshev <belyshev@depni.sinp.msu.ru>.
1962 * crypt/Makefile (xtests): Add md5test-giant..
1963 * crypt/Makefile ($(objpfx)md5test-giant): Add.
1964
02dcb6c5
PE
19652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
1966
1967 [BZ #14090]
1968 * crypt/md5.c (md5_process_block): Don't assume the buffer
1969 length is less than 2**32.
1970 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
1971 length is less than 2**64.
1972
a3f95dcc
RM
19732012-08-15 Roland McGrath <roland@hack.frob.com>
1974
be75d758
RM
1975 * string/str-two-way.h: Include <sys/param.h>.
1976 (MAX): Macro removed.
1977
7312ca90
RM
1978 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
1979 Move #define and #undef of memmove to just before and after
1980 including <string.h>.
1981
9a0a5486
RM
1982 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
1983 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
1984 and after including <string.h>. Move declarations of
1985 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
1986 to before #include "string/memmove.c".
1987
67cc348d
RM
1988 * include/dirent.h: Declare __getdirentries.
1989
a3f95dcc
RM
1990 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
1991 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
1992
ca98e171
MF
19932012-08-14 Mike Frysinger <vapier@gentoo.org>
1994
1995 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
1996 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
1997 * sysdeps/i386/configure: Regenerated.
1998 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
1999 STABS_CURRENT_FILE, and STABS_FUN.
2000 (END): Remove call to STABS_FUN_END.
2001 (STABS_CURRENT_FILE1): Delete.
2002 (STABS_CURRENT_FILE): Likewise.
2003 (STABS_FUN): Likewise.
2004 (STABS_FUN_END): Likewise.
2005 (STABS_FUN2): Likewise.
2006 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2007 * sysdeps/x86_64/configure: Regenerated.
2008
5908bf46
RM
20092012-08-14 Roland McGrath <roland@hack.frob.com>
2010
2011 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2012 * elf/dl-lookup.c: Likewise.
5908bf46 2013
f2c05b9e
JM
20142012-08-14 Joseph Myers <joseph@codesourcery.com>
2015
2016 * sysdeps/unix/sysv/linux/kernel-features.h
2017 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2018 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2019 unconditionally.
2020 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2021 unconditionally.
2022 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2023 condition on __ASSUME_CLONE_THREAD_FLAGS.
2024
e11f5155
AJ
20252012-08-14 Andreas Jaeger <aj@suse.de>
2026
2027 * sysdeps/i386/fpu/libm-test-ulps: Update.
2028
51a9ba86
MK
20292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2030
2fdd4f78
AJ
2031 * include/atomic.h (atomic_exchange_and_add): Split into ...
2032 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2033 New atomic macros.
51a9ba86 2034
ba6cba9e
MT
20352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2036
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2038
42443a47
JL
20392012-08-13 Jeff Law <law@redhat.com>
2040
2041 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2042 null byte in the output string.
2043
121dce05
JM
20442012-08-10 Joseph Myers <joseph@codesourcery.com>
2045
2046 * sysdeps/unix/sysv/linux/kernel-features.h
2047 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2048 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2049 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2050 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2051 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2052 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
2053 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
2054
bf51f568
JL
20552012-08-09 Jeff Law <law@redhat.com>
2056
2057 [BZ #13939]
2058 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
2059 When avoid_arena is set, don't retry in the that arena. Pick the
2060 next one, whatever it might be.
2061 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
2062 (arena_lock): Pass in new parameter to arena_get2.
2063 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
2064 arena_get2.
2065 (__libc_malloc): Unify retrying after main arena failure with
2066 __libc_memalign version.
2067 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
2068
f85fa270
L
20692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
2070
2071 [BZ #14166]
2072 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
2073 to __redirect_strstr.
2074 (__strstr_sse42): Use typeof __redirect_strstr.
2075 (__strstr_ia32): Likewise.
2076 (__libc_strstr): New prototype.
2077 (strstr): Renamed to ...
2078 (__libc_strstr): This.
2079 (strstr): New strong alias of __libc_strstr.
2080 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
2081 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
2082 __redirect_time.
2083 Include <time.h>.
2084 (__libc_time): New prototype.
2085 (time_ifunc): Replace time with __libc_time.
2086 (time): New strong alias and hidden definition of __libc_time.
2087 (__GI_time): Remove strong alias.
2088 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
2089 Include <stddef.h>.
2090 (memmove): Redefined to __redirect_memmove.
2091 (__memmove_sse2): Use typeof __redirect_memmove.
2092 (__memmove_ssse3): Likewise.
2093 (__memmove_ssse3_back): Likewise.
2094 (__libc_memmove): New prototype.
2095 (memmove): Renamed to ...
2096 (__libc_memmove): This.
2097 (memmove): New strong alias of __libc_memmove.
2098
33b4a91e
MS
20992012-08-08 Mark Salter <msalter@redhat.com>
2100
2101 * elf/elf.h
2102 (R_MN10300_TLS_GD): Define.
2103 (R_MN10300_TLS_LD): Likewise.
2104 (R_MN10300_TLS_LDO): Likewise.
2105 (R_MN10300_TLS_GOTIE): Likewise.
2106 (R_MN10300_TLS_IE): Likewise.
2107 (R_MN10300_TLS_LE): Likewise.
2108 (R_MN10300_TLS_DTPMOD): Likewise.
2109 (R_MN10300_TLS_DTPOFF): Likewise.
2110 (R_MN10300_TLS_TPOFF): Likewise.
2111 (R_MN10300_SYM_DIFF): Likewise.
2112 (R_MN10300_ALIGN): Likewise.
2113 (R_MN10300_NUM): Update.
2114
b36137f1
JM
21152012-08-08 Joseph Myers <joseph@codesourcery.com>
2116
2117 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
2118 Remove.
2119
cdd915fd
RM
21202012-08-08 Roland McGrath <roland@hack.frob.com>
2121
a2433aac
RM
2122 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
2123
cdd915fd
RM
2124 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
2125 sysdeps/unix -> sysdeps/posix move.
2126 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2127
bf9b740a
AM
21282012-08-07 Allan McRae <allan@archlinux.org>
2129
2130 [BZ #14303]
2131 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
2132 (SUNOS_CPP): Likewise.
2133 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
2134 not found.
2135 (open_input): Call CPP using execvp.
2136
93df14ee
JM
21372012-08-07 Joseph Myers <joseph@codesourcery.com>
2138
2139 * sysdeps/unix/sysv/linux/kernel-features.h
2140 (__ASSUME_PROT_GROWSUPDOWN): Remove.
2141 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2142 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2143 (__ASSUME_WAITID_SYSCALL): Likewise.
2144 * sysdeps/unix/sysv/linux/dl-execstack.c
2145 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
2146 code unconditional.
2147 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
2148 conditional code.
2149 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
2150 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
2151 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
2152 code.
2153 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
2154 unconditional.
2155 [__ASSUME_WAITID_SYSCALL]: Likewise.
2156 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
2157
d34689de
RM
21582012-08-07 Roland McGrath <roland@hack.frob.com>
2159
a281decc
RM
2160 * sysdeps/unix/closedir.c: Renamed to ...
2161 * sysdeps/posix/closedir.c: ... here.
2162 * sysdeps/unix/dirfd.c: Renamed to ...
2163 * sysdeps/posix/dirfd.c: ... here.
2164 * sysdeps/unix/dirstream.h: Renamed to ...
2165 * sysdeps/posix/dirstream.h: ... here.
2166 * sysdeps/unix/fdopendir.c: Renamed to ...
2167 * sysdeps/posix/fdopendir.c: ... here.
2168 * sysdeps/unix/opendir.c: Renamed to ...
2169 * sysdeps/posix/opendir.c: ... here.
2170 * sysdeps/unix/readdir.c: Renamed to ...
2171 * sysdeps/posix/readdir.c: ... here.
2172 * sysdeps/unix/readdir_r.c: Renamed to ...
2173 * sysdeps/posix/readdir_r.c: ... here.
2174 * sysdeps/unix/rewinddir.c: Renamed to ...
2175 * sysdeps/posix/rewinddir.c: ... here.
2176 * sysdeps/unix/seekdir.c: Renamed to ...
2177 * sysdeps/posix/seekdir.c: ... here.
2178 * sysdeps/unix/telldir.c: Renamed to ...
2179 * sysdeps/posix/telldir.c: ... here.
2180 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
2181 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
2182 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
2183 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
2184
22895b47
RM
2185 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
2186 * bits/fcntl.h: ... here.
2187
707a53b6
RM
2188 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
2189 not 0.
2190 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
2191 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
2192 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
2193 (struct flock): Move l_start, l_len to the beginning.
2194 Use __pid_t for l_pid.
2195 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
2196 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
2197 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
2198 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
2199 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
2200 [__USE_LARGEFILE64] (struct flock64): New type.
2201 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
2202
f0bd3e25
RM
2203 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
2204 * bits/dirent.h: ... here.
2205
d34689de
RM
2206 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
2207 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
2208
6dad2c06
JM
22092012-08-07 Joseph Myers <joseph@codesourcery.com>
2210
2211 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2212 Change from 2.6.0 to 2.6.16.
2213 * sysdeps/unix/sysv/linux/configure: Regenerated.
2214 * sysdeps/unix/sysv/linux/kernel-features.h
2215 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
2216 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
2217 version.
2218 (__ASSUME_UTIMES): Likewise.
2219 (__ASSUME_CLONE_STOPPED): Remove.
2220 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
2221 architectures, not kernel version.
2222 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
2223 (__ASSUME_NO_CLONE_DETACHED): Likewise.
2224 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
2225 (__ASSUME_WAITID_SYSCALL): Likewise.
2226 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
2227 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
2228 * README: State 2.6.16 as minimum Linux kernel version. Do not
2229 refer to older versions.
2230
03af9520
RM
22312012-08-06 Roland McGrath <roland@hack.frob.com>
2232
8e49df1d
RM
2233 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
2234 Define alphasort64 as an alias.
2235 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
2236 Define versionsort64 as an alias.
2237 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
2238 Define scandir64 as an alias.
2239 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
2240 Define scandirat64 as an alias.
2241 * dirent/alphasort64.c (alphasort64):
2242 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
2243 * dirent/versionsort64.c: Likewise.
2244 * dirent/scandir64.c: Likewise.
2245 * dirent/scandirat64.c: Likewise.
2246 * sysdeps/wordsize-64/alphasort.c: File removed.
2247 * sysdeps/wordsize-64/alphasort64.c: File removed.
2248 * sysdeps/wordsize-64/scandir.c: File removed.
2249 * sysdeps/wordsize-64/scandir64.c: File removed.
2250 * sysdeps/wordsize-64/scandirat.c: File removed.
2251 * sysdeps/wordsize-64/scandirat64.c: File removed.
2252 * sysdeps/wordsize-64/versionsort.c: File removed.
2253 * sysdeps/wordsize-64/versionsort64.c: File removed.
2254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
2255 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
2256 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
2257 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
2258 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
2259 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
2262
2263 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
2264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2265 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
2266 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2267 [defined __arch64__ || defined __sparcv9]
2268 (__INO_T_MATCHES_INO64_T): New macro.
2269 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2270 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
2271 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
2272 * sysdeps/unix/sysv/linux/bits/dirent.h
2273 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
2274 (_DIRENT_MATCHES_DIRENT64): New macro.
2275
03af9520
RM
2276 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
2277 Define lockf64 as an alias.
2278 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
2279 Define fseeko64 as an alias.
2280 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
2281 Define ftello64 as an alias.
2282 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
2283 Define _IO_fgetpos64 and fgetpos64 as aliases.
2284 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
2285 Define _IO_fsetpos64 and fsetpos64 as aliases.
2286 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
2287 Conditionalize body on this.
2288 * libio/fseeko64.c: Likewise.
2289 * libio/ftello64.c: Likewise.
2290 * libio/iofgetpos64.c: Likewise.
2291 * libio/iofsetpos64.c: Likewise.
2292 * sysdeps/wordsize-64/lockf.c: File removed.
2293 * sysdeps/wordsize-64/lockf64.c: File removed.
2294 * sysdeps/wordsize-64/fseeko.c: File removed.
2295 * sysdeps/wordsize-64/fseeko64.c: File removed.
2296 * sysdeps/wordsize-64/ftello.c: File removed.
2297 * sysdeps/wordsize-64/ftello64.c: File removed.
2298 * sysdeps/wordsize-64/iofgetpos.c: File removed.
2299 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
2300 * sysdeps/wordsize-64/iofsetpos.c: File removed.
2301 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
2302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
2303 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
2304 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
2305 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
2306 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
2307 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
2308 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
2309 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
2310 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
2311 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
2312
2313 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
2315 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
2316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2317 [defined __arch64__ || defined __sparcv9]
2318 (__OFF_T_MATCHES_OFF64_T): New macro.
2319 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
2320 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
2321 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2322 (__OFF_T_MATCHES_OFF64_T): New macro.
2323
c5757acd
L
23242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * stdlib/secure-getenv.c (__secure_getenv): Replace
2327 GLIBC_2_16 with GLIBC_2_17.
2328
3a31811e
L
23292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
2332 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2333
faa2bccb
DM
23342012-08-03 David S. Miller <davem@davemloft.net>
2335
2336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2337
85fe1997
JM
23382012-08-03 Joseph Myers <joseph@codesourcery.com>
2339
2340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
2341 Remove.
2342 (__ASSUME_CORRECT_SI_PID): Likewise.
2343 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
2344 (__ASSUME_TMPFS_NAME): Likewise.
2345 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
2346 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
2347 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
2348 (HAVE_AUX_SECURE): Make definition unconditional.
2349 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
2350 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
2351
4f75b7a0
RM
23522012-08-03 Roland McGrath <roland@hack.frob.com>
2353
2354 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
2355 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
2356 * sysdeps/mach/hurd/eloop-threshold.h: New file.
2357 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2358 __eloop_threshold instead of SYMLOOP_MAX.
2359
2360 * sysdeps/generic/eloop-threshold.h: New file.
2361 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
2362 of MAXSYMLINKS.
2363 * elf/chroot_canon.c (chroot_canon): Likewise.
2364
7aab07e4
JM
23652012-08-03 Joseph Myers <joseph@codesourcery.com>
2366
2367 [BZ #13717]
2368 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2369 Change to 2.6.0 everywhere.
2370 * sysdeps/unix/sysv/linux/configure: Regenerated.
2371 * sysdeps/unix/sysv/linux/kernel-features.h
2372 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
2373 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
2374 kernel versions.
2375 (__ASSUME_POSIX_TIMERS): Define unconditionally.
2376 (__ASSUME_FUTEX_REQUEUE): Remove.
2377 (__ASSUME_STATFS64): Define unconditionally.
2378 (__ASSUME_AT_SECURE): Likewise.
2379 (__ASSUME_CORRECT_SI_PID): Likewise.
2380 (__ASSUME_TGKILL): Define without depending on kernel version for
2381 i386.
2382 (__ASSUME_UTIMES): Likewise.
2383 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
2384 kernel version.
2385 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
2386 (__ASSUME_TMPFS_NAME): Likewise.
2387 * README: Update reference to Linux kernel versions.
2388
b67e9372
MP
23892012-08-02 Marek Polacek <polacek@redhat.com>
2390
1f529f7d 2391 [BZ# 14150]
b67e9372
MP
2392 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
2393 libc_cv_asm_type_prefix with %.
2394 * configure: Regenerated.
d2441631
RM
2395 * include/libc-symbols.h: Remove comment about
2396 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
2397 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
2398 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
2399 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
2400 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
2401 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
2402 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
2403 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
2404 * elf/tst-unique2mod1.c: Likewise.
2405 * elf/tst-unique1mod2.c: Likewise.
2406 * elf/tst-unique1mod1.c: Likewise.
2407 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
2408 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
2409 Replace ASM_TYPE_DIRECTIVE with .type.
2410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2411 * sysdeps/i386/sysdep.h: Likewise.
2412 * sysdeps/x86_64/sysdep.h: Likewise.
2413 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2415 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 2416 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
2417 * sysdeps/powerpc/powerpc32/sysdep.h:
2418 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
2419 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2420 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2421 * sysdeps/i386/fpu/e_powf.S: Likewise.
2422 * sysdeps/i386/fpu/e_expl.S: Likewise.
2423 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2425 * sysdeps/i386/fpu/e_pow.S: Likewise.
2426 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2427 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2428 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2429 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2430 * sysdeps/i386/fpu/e_log2.S: Likewise.
2431 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2432 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2433 * sysdeps/i386/fpu/e_powl.S: Likewise.
2434 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2435 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2436 * sysdeps/i386/fpu/e_logl.S: Likewise.
2437 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2438 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2439 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2440 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2441 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2442 * sysdeps/i386/fpu/e_log.S: Likewise.
2443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2444 * sysdeps/i386/fpu/e_logf.S: Likewise.
2445 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2446 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2447 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2448 * sysdeps/i386/fpu/e_log10.S: Likewise.
2449 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2450 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2451 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2452 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2453 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2454 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
2455 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2456 * sysdeps/i386/i686/strtok.S: Likewise.
2457 * sysdeps/i386/i386-mcount.S: Likewise.
2458 * sysdeps/i386/strtok.S: Likewise.
2459 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
2460 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2462 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2463 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2465 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2466 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2468 * sysdeps/x86_64/_mcount.S: Likewise.
2469 * sysdeps/x86_64/strtok.S: Likewise.
2470 * sysdeps/sh/_mcount.S: Likewise.
2471
2747bf9a
RM
24722012-08-01 Roland McGrath <roland@hack.frob.com>
2473
2474 * libio/iofopen.c: Include <fcntl.h>.
2475 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
2476 (_IO_fopen64, fopen64): Define as aliases.
2477 * libio/iofopen64.c: Include <fcntl.h>.
2478 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
2479 Conditionalize body on this.
2480 * sysdeps/wordsize-64/iofopen.c: File removed.
2481 * sysdeps/wordsize-64/iofopen64.c: File removed.
2482
3fb791b8
MP
24832012-08-01 Marek Polacek <polacek@redhat.com>
2484
2485 * libc/Makeconfig: Use elf in place of binfmt-subdir.
2486 Use dlfcn directly instead of a variable.
2487 (binfmt-subdir): Do not define.
2488 (dlfcn): Likewise.
2489
a9f1039f
JM
24902012-08-01 Joseph Myers <joseph@codesourcery.com>
2491
23bddc06
JM
2492 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
2493 Remove all definitions.
2494 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
2495 <kernel-features.h>.
2496 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2497 (miss_F_GETOWN_EX): Remove all definitions.
2498 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
2499 macro definition.
2500 [!__ASSUME_FCNTL64]: Remove conditional code.
2501 [__ASSUME_FCNTL64]: Make code unconditional.
2502 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
2503 <kernel-features.h>.
2504 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
2505 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
2506 (lockf64) [__NR_fcntl64]: Make code unconditional.
2507 (lockf64) [__ASSUME_FCNTL64]: Likewise.
2508
a9f1039f
JM
2509 * sysdeps/unix/sysv/linux/kernel-features.h
2510 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
2511 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
2512 Make code unconditional.
2513 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2514 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
2516 [__NR_vfork]: Make code unconditional.
2517 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2518 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
2520 [__NR_vfork]: Make code unconditional.
2521 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
2522 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
2523
09c0ee5f
RM
25242012-08-01 Roland McGrath <roland@hack.frob.com>
2525
48aec5b9
RM
2526 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
2527 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
2528
cd97c966
RM
2529 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2530 Define mkstemp64 as an alias.
3f55550c
RM
2531 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2532 Define mkstemps64 as an alias.
cd97c966
RM
2533 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2534 Define mkostemp64 as an alias.
b8625cfc
RM
2535 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
2536 Define mkostemps64 as an alias.
cd97c966
RM
2537 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
2538 Conditionalize body on this.
2539 * misc/mkostemp64.c: Likewise.
b8625cfc 2540 * misc/mkostemps64.c: Likewise.
3f55550c 2541 * misc/mkstemps64.c: Likewise.
cd97c966
RM
2542 * sysdeps/wordsize-64/mkstemp64.c: File removed.
2543 * sysdeps/wordsize-64/mkostemp64.c: File removed.
2544 * sysdeps/wordsize-64/mkostemp.c: File removed.
2545 * sysdeps/wordsize-64/mkstemp.c: File removed.
2546 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
2547 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
2548 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
2549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
2550
09c0ee5f
RM
2551 [BZ #14138]
2552 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
2553 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
2554 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
2555 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
2556
2557 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
2558 compat_symbol macros from <shlib-compat.h> rather than the underlying
2559 default_symbol_version and symbol_version macros, so that DEFAULT
2560 lines in shlib-versions are respected.
2561 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
2562
7e66ee51
FW
25632012-08-01 Florian Weimer <fweimer@redhat.com>
2564
2565 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
2566 Declare with warn_unused_result.
2567 (setgid, setregid, setegid, setresgid): Likewise.
2568 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
2569 Likewise.
2570 * WUR-REPORT: Remove set*id functions.
2571
d2a54255
PT
25722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
2573
2574 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
2575
7ecdb005
RM
25762012-07-31 Roland McGrath <roland@hack.frob.com>
2577
789bd351
RM
2578 * include/sys/socket.h (__libc_accept, __libc_accept4):
2579 Add attribute_hidden.
2580 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
2581
40ce302d
RM
2582 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
2583 use of PTR_MANGLE.
2584 * inet/getnetgrent_r.c (setup): Likewise.
2585
7ecdb005
RM
2586 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
2587
e2eabb2c
DM
25882012-07-31 David S. Miller <davem@davemloft.net>
2589
2590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2591
d0419dbf
JM
25922012-07-31 Joseph Myers <joseph@codesourcery.com>
2593
2594 [BZ #13629]
2595 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
2596 value between 1.0 and 2.0 and smaller part has absolute value less
2597 than 1.0.
2598 * math/s_clog10.c (__clog10): Likewise.
2599 * math/s_clog10f.c (__clog10f): Likewise.
2600 * math/s_clog10l.c (__clog10l): Likewise.
2601 * math/s_clogf.c (__clogf): Likewise.
2602 * math/s_clogl.c (__clogl): Likewise.
2603 * math/libm-test.inc (clog_test): Add more tests.
2604 (clog10_test): Likewise.
2605 * sysdeps/i386/fpu/libm-test-ulps: Update.
2606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2607
2bc13872
FW
26082012-07-31 Florian Weimer <fweimer@redhat.com>
2609
2610 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
2611 Exit with zero in case no suitable GID is found, and write a
2612 message to standard error.
2613
bea9b193
RM
26142012-07-30 Roland McGrath <roland@hack.frob.com>
2615
2616 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
2617 rather than to 1.
2618 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
2619 (MAXPATHLEN): Removed.
2620 (NOGROUP, NODEV): New macros.
2621 (setbit, clrbit, isset, isclr): New macros.
2622 (howmany, roundup, powerof2): New macros.
2623 (DEV_BSIZE): New macro.
2624
2625 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
2626 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
2627
2628 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
2629 definition on [!__NO_LONG_DOUBLE_MATH].
2630
2631 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
2632 PTR_MANGLE and PTR_DEMANGLE.
2633
2634 * socket/accept4.c (accept4): Rename to __libc_accept4.
2635 Define accept4 as a weak alias.
2636
2637 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
2638 on [_DIRENT_HAVE_D_TYPE].
2639 * io/ftw.c (ftw_dir): Likewise.
2640
2641 * io/xmknod.c (__xmknod): Don't check PATH for being null.
2642
2643 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
2644
2645 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
2646 Use the BSD numbers rather than the arbitrary ones we had.
2647 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
2648 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
2649 (SIGXCPU, SIGXFSZ): New macros.
2650 (_NSIG): Now 32.
2651
2652 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
2653 initializer on [_LIBC_REENTRANT].
2654
2655 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
2656 definitions inside [_POSIX_MAPPED_FILES].
2657
2658 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
2659
2660 * dirent/opendir.c: Include <fcntl.h>.
2661
2662 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
2663 (__libc_getspecific): Likewise.
2664 (__libc_key_create): Likewise.
2665
2666 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
2667 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
2668 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
2669 (tmpfile64): Define as alias.
2670 * sysdeps/wordsize-64/tmpfile.c: File removed.
2671 * sysdeps/wordsize-64/tmpfile64.c: File removed.
2672 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
2673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
2674
2675 * stdio-common/vfscanf.c: Include <stdbool.h>.
2676 * nss/makedb.c: Likewise.
2677 * stdio-common/_i18n_number.h: Likewise.
2678 * argp/argp-help.c: Likewise.
2679 * posix/wordexp.c: Likewise.
2680 * sysdeps/posix/spawni.c: Likewise.
2681 * nss/nss_files/files-initgroups.c: Likewise.
2682 * stdio-common/reg-modifier.c: Include <stdlib.h>.
2683 * nss/nss_files/files-initgroups.c: Likewise.
2684 * nss/nss_db/db-netgrp.c: Likewise.
2685 * nss/nss_db/db-initgroups.c: Likewise.
2686 * io/fchmodat.c: Include <sys/stat.h>.
2687
2688 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
2689 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
2690
2691 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
2692 [HAVE_MMAP].
2693
2694 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
2695 Add multiple inclusion protection.
2696
e5abc686
DM
26972012-07-27 David S. Miller <davem@davemloft.net>
2698
2699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2700
815e6fa3
GB
27012012-07-27 Gary Benson <gbenson@redhat.com>
2702
2703 [BZ #14298]
2704 * elf/rtld.c: Include <stap-probe.h>.
2705 (dl_main): Added static probes "init_start" and "init_complete".
2706 * elf/dl-load.c: Include <stap-probe.h>.
2707 (lose): Take new parameter "nsid".
2708 Added static probe "map_failed".
2709 (_dl_map_object_from_fd): Pass namespace id to lose.
2710 Added static probe "map_start".
2711 (open_verify): Pass namespace id to lose.
2712 * elf/dl-open.c: Include <stap-probe.h>.
2713 (dl_open_worker) Added static probes "map_complete", "reloc_start"
2714 and "reloc_complete".
2715 * elf/dl-close.c: Include <stap-probe.h>.
2716 (_dl_close_worker): Added static probes "unmap_start" and
2717 "unmap_complete".
2718 * elf/rtld-debugger-interface.txt: New file documenting the above.
2719
9f98c16c
RM
27202012-07-26 Roland McGrath <roland@hack.frob.com>
2721
2722 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
2723 rather than a string variable.
2724 * sunrpc/rpc_main.c (h_output): Likewise.
2725 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
2726
f3c22df3
PT
27272012-07-26 Pino Toscano <toscano.pino@tiscali.it>
2728
2729 * inet/check_native.c: New file.
2730
3129cfc6
JM
27312012-07-26 Joseph Myers <joseph@codesourcery.com>
2732
da865e95
JM
2733 [BZ #13629]
2734 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
2735 if larger part has absolute value 1.0.
2736 * math/s_clog10.c (__clog10): Likewise.
2737 * math/s_clog10f.c (__clog10f): Likewise.
2738 * math/s_clog10l.c (__clog10l): Likewise.
2739 * math/s_clogf.c (__clogf): Likewise.
2740 * math/s_clogl.c (__clogl): Likewise.
2741 * math/libm-test.inc (clog_test): Add more tests.
2742 (clog10_test): Likewise.
2743 * sysdeps/i386/fpu/libm-test-ulps: Update.
2744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2745
3129cfc6
JM
2746 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
2747 (pltexit): Likewise.
2748 (La_regs): Likewise.
2749 (La_retval): Likewise.
2750 (int_retval): Likewise.
2751 Update #error for removed macros to refer only to definitions in
2752 tst-audit.h.
2753 * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.c (pltenter): Remove all definitions of
2766 macro.
2767 (pltexit): Likewise.
2768 (La_regs): Likewise.
2769 (La_retval): Likewise.
2770 (int_retval): Likewise.
2771 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
2772 macro.
2773 (pltexit): Likewise.
2774 (La_regs): Likewise.
2775 (La_retval): Likewise.
2776 (int_retval): Likewise.
2777 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
2778 macro.
2779 (pltexit): Likewise.
2780 (La_regs): Likewise.
2781 (La_retval): Likewise.
2782 (int_retval): Likewise.
2783 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
2784 macro.
2785 (pltexit): Likewise.
2786 (La_regs): Likewise.
2787 (La_retval): Likewise.
2788 (int_retval): Likewise.
2789 * sysdeps/generic/tst-audit.h: Update comment to refer only to
2790 macro definitions in tst-audit.h.
2791 * sysdeps/i386/tst-audit.h: New file.
2792 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
2793 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
2794 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
2795 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
2796 * sysdeps/sh/tst-audit.h: Likewise.
2797 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
2798 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
2799 * sysdeps/x86_64/tst-audit.h: Likewise.
2800
bfc07087
AJ
28012012-07-26 Andreas Jaeger <aj@suse.de>
2802
b1b2aaf8
AJ
2803 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
2804 ptrace.
2805
2806 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
2807 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
2808 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
2809 PTRACE_O_MASK.
2810 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
2811 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
2812 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
2813
bfc07087
AJ
2814 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
2815 value.
2816
2817 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
2818 _sigsys.
2819 (si_call_addr, si_syscall, si_arch): Define new macro.
2820 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
2821 _sigsys.
2822 (si_call_addr, si_syscall, si_arch): Define new marcro.
2823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
2824 _sigsys.
2825 (si_call_addr, si_syscall, si_arch): Define new macro.
2826 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
2827 _sigsys.
2828 (si_call_addr, si_syscall, si_arch): Define new macro.
2829
89b4b02f
JM
28302012-07-25 Joseph Myers <joseph@codesourcery.com>
2831
2832 [BZ #13717]
2833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2834 Change to 2.4.21 where previously 2.4.1.
2835 * sysdeps/unix/sysv/linux/configure: Regenerated.
2836 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
2837 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
2838 Linux kernel version.
2839 (__ASSUME_STD_AUXV): Remove.
2840 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
2841 kernel version.
2842 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
2843 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
2844 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
2845 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
2846 (__ASSUME_NETLINK_SUPPORT): Likewise.
2847 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
2848 (__no_netlink_support): Remove conditional definition.
2849 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
2850 Remove.
2851 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2852 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
2853 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
2854 (if_nameindex_ioctl): Remove.
2855 (if_nameindex_netlink): Do not handle __no_netlink_support.
2856 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2857 code.
2858 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
2859 Remove conditional code.
2860 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
2861 code.
2862 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
2863 unconditional.
2864 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
2865 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
2866 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
2867 Remove.
2868 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2869 [!__ASSUME_STD_AUXV]: Remove conditional code.
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
2871 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
2872 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
2874 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
2875 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2876 code.
2877 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2879 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
2880 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2881 conditional code.
2882 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2884 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
2885 code.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2887 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
2888 conditional code.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
2890 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2891 code unconditional.
2892 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2893 conditional code.
2894 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2895 unconditional.
2896 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2897 conditional code.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2899 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2900 unconditional.
2901 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2902 conditional code.
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2904 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2905 code unconditional.
2906 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2907 conditional code.
2908 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2909 unconditional.
2910 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2911 conditional code.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2913 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
2914 code unconditional.
2915 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2916 conditional code.
2917 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
2918 unconditional.
2919 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
2920 conditional code.
2921
842a39cd
AS
29222012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2923
2924 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
2925 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
2926 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2927 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
2928 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
2929 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2930 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2931 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2932 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
2933 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2934 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
2935 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
2936 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
2937 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2938 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2939 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
2940 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
2941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
2942 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
2943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
2944 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
2945 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2947
84b3fd84
FW
29482012-07-25 Florian Weimer <fweimer@redhat.com>
2949
2950 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
2951 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
2952 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
2953 Introduce __libc_secure_getenv.
0c7936d5
FW
2954 * stdlib/Versions (2.17): Add secure_getenv
2955 (GLIBC_PRIVATE): Add __libc_secure_getenv.
2956 * stdlib/secure-getenv.c: Rename __secure_getenv to
2957 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
2958 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
2959 * stdlib/tst-secure-getenv.c: New.
2960 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
2961 * manual/startup.texi (Environment Access): Document
2962 secure_getenv.
84b3fd84
FW
2963 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
2964 __libc_secure_getenv.
2965 * inet/ruserpass.c (ruserpass): Likewise.
2966 * malloc/mtrace.c (mtrace): Likewise.
2967 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 2968 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
2969 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
2970 * sysdeps/posix/tempname.c: Likewise. Evaluate
2971 HAVE_SECURE_GETENV.
2972 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 2973 __secure_getenv to __libc_secure_getenv.
84b3fd84 2974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
2975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2976 Likewise.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2978 Likewise.
2979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 2986
56e49b71
JM
29872012-07-25 Joseph Myers <joseph@codesourcery.com>
2988
2989 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
2990 (struct La_i86_retval): Likewise.
2991 (struct La_x86_64_regs): Likewise.
2992 (struct La_x86_64_retval): Likewise.
2993 (struct La_x32_regs): Likewise.
2994 (struct La_x32_retval): Likewise.
2995 (struct La_ppc32_regs): Likewise.
2996 (struct La_ppc32_retval): Likewise.
2997 (struct La_ppc64_regs): Likewise.
2998 (struct La_ppc64_retval): Likewise.
2999 (struct La_sh_regs): Likewise.
3000 (struct La_sh_retval): Likewise.
3001 (struct La_s390_32_regs): Likewise.
3002 (struct La_s390_32_retval): Likewise.
3003 (struct La_s390_64_regs): Likewise.
3004 (struct La_s390_64_retval): Likewise.
3005 (struct La_sparc32_regs): Likewise.
3006 (struct La_sparc32_retval): Likewise.
3007 (struct La_sparc64_regs): Likewise.
3008 (struct La_sparc64_retval): Likewise.
3009 (struct audit_ifaces): Remove architecture-specific pltenter and
3010 pltexit members.
3011 * sysdeps/i386/ldsodefs.h: New file.
3012 * sysdeps/powerpc/ldsodefs.h: Likewise.
3013 * sysdeps/s390/ldsodefs.h: Likewise.
3014 * sysdeps/sh/ldsodefs.h: Likewise.
3015 * sysdeps/sparc/ldsodefs.h: Likewise.
3016 * sysdeps/x86_64/ldsodefs.h: Likewise.
3017
354691b7
MP
30182012-07-25 Marek Polacek <polacek@redhat.com>
3019
3020 [BZ #6808]
3021 * math/libm-test.inc (yn_test): Add another test.
3022 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3023 to ERANGE when the result is +-Inf.
3024 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3025 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3026 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3027 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3028
bf9e2071
JM
30292012-07-24 Joseph Myers <joseph@codesourcery.com>
3030
3031 * conform/data/time.h-data (NULL): Use macro-constant. Require
3032 equal to 0.
3033 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3034 clock_t.
3035 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3036
57633811
TS
30372012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3038
3039 * configure.in <sysdeps resolving>: Correct printing
3040 Implies_before.
3041 * configure: Regenerate.
3042
c23c33b0
TS
30432012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3044
3045 * math/w_ilogb.c: Include <limits.h>.
3046 * math/w_ilogbl.c: Likewise.
3047
b5982523
JM
30482012-07-20 Joseph Myers <joseph@codesourcery.com>
3049
3050 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3051 va_copy. Document allowing for unavailable va_copy only as
3052 pre-C99 compatibility.
3053 * manual/string.texi (Copying and Concatenation): Use va_copy
3054 instead of __va_copy in concat example.
3055
ac4ea442
PT
30562012-07-20 Pino Toscano <toscano.pino@tiscali.it>
3057
3058 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
3059 (__sendto): Use create_address_port. Initialize APORT and deallocate
3060 it if not null.
3061
f98eafbd
PT
3062 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
3063 with O_NOLINK passed to __file_name_lookup.
3064
898c7aab
PT
3065 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
3066 with O_NOLINK passed to __file_name_lookup.
3067
0ced335a
PT
3068 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
3069 negative N or less than NGIDS.
3070
b3404dbd
PT
3071 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
3072 type to string_t. Set ERANGE as errno and return it if NAME is not big
3073 enough. Use memcpy instead of strncpy.
3074
0f48659e
JM
30752012-07-20 Joseph Myers <joseph@codesourcery.com>
3076
3077 * elf/Makefile (check-data): Remove.
3078 (localplt.data): New vpath directive.
3079 ($(objpfx)check-localplt.out): Use localplt.data from vpath
3080 instead of $(check-data).
3081 * scripts/data/localplt-generic.data: Move to ...
3082 * sysdeps/generic/localplt.data: ... here.
3083 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
3084 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
3085 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
3086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3087 ... here.
3088 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
3090 ... here.
3091 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
3092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
3093 ... here.
3094 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
3095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3096 ... here.
3097 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
3098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
3099 ... here.
3100 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
3101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
3102 ... here.
3103
d37cbdaa
AZ
31042012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3105
3106 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
3107 PPC32 and PPC64 files.
3108 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
3109 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
3110
46f85fc2
AK
31112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3112
3113 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
3114 __makecontext_ret to ...
3115 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3116 ... here and call exit if uc_link is NULL. New file.
3117 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
3118 __makecontext_ret.S.
3119 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
3120 __makecontext_ret to ...
3121 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3122 ... here and call exit if uc_link is NULL. New file.
3123 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
3124 __makecontext_ret.S.
3125
08f43f9b
AK
31262012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3127
3128 * elf/elf.h (R_390_IRELATIVE): New definition.
3129 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
3130 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
3131 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
3132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3133 (elf_machine_lazy_rel): Likewise.
3134 * sysdeps/s390/dl-irel.h: New file.
3135 * sysdeps/s390/s390-64/memcpy.S: New asm code.
3136 * sysdeps/s390/s390-64/memset.S: New asm code.
3137 * sysdeps/s390/s390-64/memcmp.S: New asm code.
3138 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
3139 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
3140 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
3141 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
3142 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
3143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
3144 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
3145 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
3146 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
3147 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
3148 * sysdeps/s390/s390-32/memcpy.S: New asm code.
3149 * sysdeps/s390/s390-32/memset.S: New asm code.
3150 * sysdeps/s390/s390-32/memcmp.S: New asm code.
3151
3b05db33
MP
31522012-07-17 Marek Polacek <polacek@redhat.com>
3153
3154 [BZ #14349]
3155 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
3156 * sysdeps/s390/s390-64/configure.in: Likewise.
3157 * sysdeps/sparc/configure.in: Likewise.
3158 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
3159 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
3160 * sysdeps/i386/configure.in: Likewise.
3161 * sysdeps/x86_64/configure.in: Likewise.
3162 * sysdeps/sh/configure.in: Likewise.
3163 * sysdeps/s390/s390-32/configure: Regenerated.
3164 * sysdeps/s390/s390-64/configure: Likewise.
3165 * sysdeps/x86_64/configure: Likewise.
3166 * sysdeps/sh/configure: Likewise.
3167 * sysdeps/powerpc/powerpc64/configure: Likewise.
3168 * sysdeps/powerpc/powerpc32/configure: Likewise.
3169 * sysdeps/sparc/configure: Likwise.
3170 * sysdeps/i386/configure: Likewise.
3171
a66877c6
MP
3172 * elf/dl-open.c: Comment fixes.
3173
cfc82fd8
JM
31742012-07-17 Joseph Myers <joseph@codesourcery.com>
3175
bd29910a
JM
3176 * Makefile [CXX] (check-data): Remove.
3177 [CXX] (c++-types.data): New vpath directive.
3178 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
3179 vpath. Do not allow for C++ type data being missing.
3180 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
3181 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
3182 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
3183 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
3184 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
3185 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
3186 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
3187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3188 ... here.
3189 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
3190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
3191 ... here.
3192 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
3193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
3194 ... here.
3195 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
3196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
3197 ... here.
3198 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
3199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
3200 ... here.
3201 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
3202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
3203 ... here.
3204 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
3205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
3206 ... here.
3207 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
3208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
3209
cfc82fd8
JM
3210 * elf/tls-macros.h (TLS_LE): Move architecture-specific
3211 definitions to architecture-specific files.
3212 (TLS_IE): Likewise.
3213 (TLS_LD): Likewise.
3214 (TLS_GD): Likewise.
3215 * sysdeps/i386/tls-macros.h: New file.
3216 * sysdeps/powerpc/tls-macros.h: Likewise.
3217 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3218 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3219 * sysdeps/sh/tls-macros.h: Likewise.
3220 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
3221 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
3222 * sysdeps/x86_64/tls-macros.h: Likewise.
3223
f7db3170
TS
32242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3225
07cbfc23
TS
3226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
3227 zero value for regular exit case.
3228
f7db3170
TS
3229 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3230 (__start_context): Preserve zero value for regular exit case.
3231
dc97c227
TS
32322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
3233 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3234
3235 * manual/setjmp.texi (setcontext): Clarify normal process
3236 termination when uc_link is the null pointer.
3237 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
3238 exit call.
3239
d0cd7d02
AS
32402012-07-16 Andreas Schwab <schwab@linux-m68k.org>
3241
3242 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
3243 preprocessor. Test for each exception mask separately.
3244
dd318934
AJ
32452012-07-16 Andreas Jaeger <aj@suse.de>
3246
3247 * po/ru.po: Update from translation team.
3248
8048311a
JM
32492012-07-15 Joseph Myers <joseph@codesourcery.com>
3250
3251 * conform/data/string.h-data (NULL): Use macro-constant. Require
3252 equal to 0.
3253 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3254 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3255 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
3256 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
3257 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3258
b637d46e
AJ
32592012-07-13 Andreas Jaeger <aj@suse.de>
3260
3261 * po/fr.po: Update from translation team.
3262
541428fe
MP
32632012-07-12 Marek Polacek <polacek@redhat.com>
3264
3265 [BZ #14173]
3266 * math/libm-test.inc (yn_test): Add test for BZ #14173.
3267 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
3268 loop condition.
3269
ec332e94
JM
32702012-07-12 Joseph Myers <joseph@codesourcery.com>
3271
3272 [BZ #13717]
3273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3274 Change to 2.4.1 where previously 2.4.0.
3275 * sysdeps/unix/sysv/linux/configure: Regenerated.
3276 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
3277 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
3278 version.
3279 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
3280 (__ASSUME_AT_CLKTCK): Remove.
3281 (__ASSUME_AT_PAGESIZE): Likewise.
3282 (__ASSUME_AT_XID): Likewise.
3283 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
3284 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
3285 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
3286 unconditionally.
3287 (HAVE_AUX_PAGESIZE): Likewise.
3288 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
3289 [__ASSUME_AT_CLKTCK]: Make code unconditional.
3290 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
3291
7b6e99be
JB
32922012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
3293
3294 [BZ #14307]
3295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
3296 the temporary buffer used to invoke __gethostbyname2_r,
3297 __gethostbyaddr_r and gethostbyname4_r to make room for struct
3298 host_data / struct gaih_addrtuple.
3299 * resolv/nss_dns/dns-host.c (global scope): Move definition of
3300 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
3301 header file nss/nsswitch.h.
3302 * nss/nsswitch.h (global scope): Add definition of implementation
3303 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
3304 resolv/nss_dns/dns-host.c).
3305
608404eb
AJ
33062012-07-11 Andreas Jaeger <aj@suse.de>
3307
3308 * po/fr.po: Update from translation team.
3309
71220aca
AJ
3310 * po/sv.po: Update from translation team
3311 * po/fr.po: Another update from translation team.
3312
28cfe843
AZ
33132012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3314
3315 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
3316 for subnormals or multiply small sinh result by itself.
3317 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3319
6b90f981
DM
33202012-07-11 David S. Miller <davem@davemloft.net>
3321
3322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3323
c6825772
AS
33242012-07-10 Andreas Schwab <schwab@linux-m68k.org>
3325
3326 [BZ #14347]
3327 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
3328 (INTERNAL_MARK): Shift it here.
3329
7b8e0d49
MP
33302012-07-10 Marek Polacek <polacek@redhat.com>
3331
3332 [BZ #14151]
3333 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
3334 libc_cv_asm_global_directive with .globl.
3335 * configure: Regenerated.
3336 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
3337 with .globl.
3338 * sysdeps/i386/configure: Regenerated.
3339 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
3340 with .globl.
3341 * sysdeps/x86_64/configure: Regenerated.
3342 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
3343 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
3344 * elf/tst-unique2mod2.c: Likewise.
3345 * elf/tst-unique2mod1.c: Likewise.
3346 * elf/tst-unique1mod2.c: Likewise.
3347 * elf/tst-unique1mod1.c: Likewise.
3348 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3349 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3351 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3352 * sysdeps/mach/sysdep.h: Likewise.
3353 * sysdeps/i386/sysdep.h: Likewise.
3354 * sysdeps/i386/i386-mcount.S: Likewise.
3355 * sysdeps/x86_64/_mcount.S: Likewise.
3356 * sysdeps/x86_64/sysdep.h: Likewise.
3357 * sysdeps/sh/_mcount.S: Likewise.
3358 * sysdeps/sh/sysdep.h: Likewise.
3359 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
3360 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
3361 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
3362 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3363 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
3364 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
3365 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
3366 * locale/localeinfo.h: Likewise.
3367 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
3368 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
3369
6c55cda3
RM
33702012-07-09 Roland McGrath <roland@hack.frob.com>
3371
3372 [BZ #14336]
3373 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
3374 system".
3375 * manual/message.texi (The Uniforum approach): Likewise.
3376 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
3377 (glibc iconv Implementation): Likewise.
3378
638a572e
JM
33792012-07-09 Joseph Myers <joseph@codesourcery.com>
3380
3381 [BZ #14337]
3382 * math/s_clog.c (__clog): Avoid scaling a value down where that
3383 could result in underflow.
3384 * math/s_clog10.c (__clog10): Likewise.
3385 * math/s_clog10f.c (__clog10f): Likewise.
3386 * math/s_clog10l.c (__clog10l): Likewise.
3387 * math/s_clogf.c (__clogf): Likewise.
3388 * math/s_clogl.c (__clogl): Likewise.
3389 * math/libm-test.inc (clog_test): Add more tests.
3390 (clog10_test): Likewise.
3391 * sysdeps/i386/fpu/libm-test-ulps: Update.
3392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3393
261f4859
AS
33942012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3395
0abaf3e4
AS
3396 [BZ #14283]
3397 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
3398 by 7 not 8 to examine high bit of fractional part.
3399
261f4859
AS
3400 [BZ #14042]
3401 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
3402 for call to __mcount_internal.
3403 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
3404 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
3405 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
3406
f17ac40d
JM
34072012-07-06 Joseph Myers <joseph@codesourcery.com>
3408
9ad63c23
JM
3409 [BZ #14154]
3410 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
3411 approximation for values within 0x1p-13f of an odd multiple of
3412 pi/4.
3413 * math/libm-test.inc (tan_test): Do not allow spurious underflow
3414 exception. Add more tests.
3415 * sysdeps/i386/fpu/libm-test-ulps: Update.
3416
f17ac40d
JM
3417 [BZ #6778]
3418 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
3419 inputs and return -1 for them. Do not check for +Inf in case not
3420 reachable for +Inf.
3421 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
3422 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
3423 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3424 and return -1 for them. Do not check for +Inf in case not
3425 reachable for +Inf.
3426 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
3427 define.
3428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
3429 and return -1 for them. Do not check for +Inf in case not
3430 reachable for +Inf.
3431 * math/libm-test.inc (expm1_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
fb21f89b
MF
34362012-07-06 Mike Frysinger <vapier@gentoo.org>
3437
3438 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
3439
cdfe2c5e
JM
34402012-07-05 Joseph Myers <joseph@codesourcery.com>
3441
3442 [BZ #14157]
3443 [BZ #14331]
3444 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
3445 could result in spurious underflow. Scale down values above
3446 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
3447 * math/s_csqrtf.c (__csqrtf): Likewise.
3448 * math/s_csqrtl.c (__csqrtl): Likewise.
3449 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
3450 spurious underflow.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3453
70d35b67
AS
34542012-07-04 Andreas Schwab <schwab@linux-m68k.org>
3455
704bc459
AS
3456 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
3457 xopen-msg.sed.
3458 * catgets/xopen-msg.awk: New file.
3459 * catgets/xopen-msg.sed: Removed.
3460
70d35b67
AS
3461 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
3462 po2text.sed.
3463 * intl/po2test.awk: New file.
3464 * intl/po2test.sed: Removed.
3465
ca61cf32
JM
34662012-07-04 Joseph Myers <joseph@codesourcery.com>
3467
3468 [BZ #14328]
3469 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
3470 or multiply small sinh result by itself.
3471 * math/s_ctanf.c (__ctanf): Likewise.
3472 * math/s_ctanh.c (__ctanh): Likewise.
3473 * math/s_ctanhf.c (__ctanhf): Likewise.
3474 * math/s_ctanhl.c (__ctanhl): Likewise.
3475 * math/s_ctanl.c (__ctanl): Likewise.
3476 * math/libm-test.inc (ctan_test_tonearest): New function.
3477 (ctan_test_towardzero): Likewise.
3478 (ctan_test_downward): Likewise.
3479 (ctan_test_upward): Likewise.
3480 (ctanh_test_tonearest): Likewise.
3481 (ctanh_test_towardzero): Likewise.
3482 (ctanh_test_downward): Likewise.
3483 (ctanh_test_upward): Likewise.
3484 (main): Call these new functions.
3485 * sysdeps/i386/fpu/libm-test-ulps: Update.
3486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3487
ca48a46a
MF
34882012-07-03 Mike Frysinger <vapier@gentoo.org>
3489
3490 * .gitignore: Delete /ports entry.
3491
9d63d37d
AJ
34922012-07-03 Andreas Jaeger <aj@suse.de>
3493
3494 * po/bg.po: Update from translation team.
3495 * po/cs.po: Likewise.
3496 * po/de.po: Likewise.
3497 * po/hr.po: Likewise.
3498 * po/nl.pl: Likewise.
3499 * po/pl.po: Likewise.
3500 * po/vi.po: Likewise.
3501
370ca3d2
JM
35022012-07-03 Joseph Myers <joseph@codesourcery.com>
3503
95f5a9a8
JM
3504 * Makeconfig [!+link] (+link-before-libc): New variable.
3505 [!+link] (+link-after-libc): Likewise.
3506 [!+link] (+link-tests): Likewise.
3507 [!+link] (+link): Define in terms of $(+link-before-libc) and
3508 $(+link-after-libc).
3509 [!+link-static] (+link-static-before-libc): New variable.
3510 [!+link-static] (+link-static-after-libc): Likewise.
3511 [!+link-static] (+link-static-tests): Likewise.
3512 [!+link-static] (+link-static): Define in terms of
3513 $(+link-static-before-libc) and $(+link-static-after-libc).
3514 [build-shared] (link-libc-before-gnulib): New variable.
3515 [build-shared] (link-libc-tests): Likewise.
3516 [build-shared] (link-libc): Define in terms of
3517 $(link-libc-before-gnulib).
3518 [!build-shared] (link-libc-tests): New variable.
3519 (link-libc-static-tests): New variable.
3520 [!gnulib] (gnulib-arch): New variable.
3521 [!gnulib] (gnulib-tests): Likewise.
3522 [!gnulib] (static-gnulib-arch): Likewise.
3523 [!gnulib] (static-gnulib-tests): Likewise.
3524 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
3525 Define with "=" instead of ":=".
3526 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
3527 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
3528 * Rules (binaries-all-notests): New variable.
3529 (binaries-all-tests): Likewise.
3530 (binaries-static-notests): Likewise.
3531 (binaries-static-tests): Likewise.
3532 (binaries-all): Define using $(binaries-all-notests) and
3533 $(binaries-all-tests).
3534 (binaries-static): Define using $(binaries-static-notests) and
3535 $(binaries-static-tests).
3536 (binaries-shared-tests): New variable.
3537 (binaries-shared-notests): Likewise.
3538 (binaries-shared): Remove variable.
3539 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
3540 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
3541 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
3542 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
3543 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
3544 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
3545 * elf/Makefile (sln-modules): New variable.
3546 (extra-objs): Add $(sln-modules:=.o).
3547 (ldconfig-modules): Add static-stubs.
3548 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
3549 * elf/static-stubs.c: New file.
3550
7a845b2c
JM
3551 [BZ #14283]
3552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
3553 by 7 not 8 to examine high bit of fractional part. Use volatile
3554 variables when splitting into final array of floats if
3555 __FLT_EVAL_METHOD__ != 0.
3556 * math/libm-test.inc (cos_test): Add another test.
3557 (sin_test): Likewise.
3558 * sysdeps/i386/fpu/libm-test-ulps: Update.
3559
e2283f38
JM
3560 [BZ #14273]
3561 * math/libm-test.inc (cosh_test): Add more tests.
3562
370ca3d2
JM
3563 * version.h (RELEASE): Set to "development".
3564 (VERSION): Set to "2.16.90".
3565
ee9247c3
CD
35662012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
3567
3568 * NEWS: Update copyright. Remove last-updated date.
3569 Mention math library bug fixes and timezone data changes.
3570 * README: Mention GNU/Hurd, x32, and HPPA support status.
3571
4648c381
TS
35722012-06-28 Thomas Schwinge <thomas@codesourcery.com>
3573
3574 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
3575
aac78a43
AJ
35762012-06-27 Andreas Jaeger <aj@suse.de>
3577
3578 * manual/contrib.texi (Contributors): Add Samuel Thibault.
3579
ed3dbfad
AJ
35802012-06-25 Andreas Jaeger <aj@suse.de>
3581
3582 * sysdeps/s390/fpu/libm-test-ulps: Update.
3583
4d0ee855
AS
35842012-06-23 Andreas Schwab <schwab@linux-m68k.org>
3585 Thomas Schwinge <thomas@codesourcery.com>
3586
3587 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
3588 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
3589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
3590 fanotify_mark.
3591
af1bce34
TS
35922012-06-23 Thomas Schwinge <thomas@codesourcery.com>
3593
a9fa33ba
TS
3594 * sysdeps/mach/start.c: Remove file.
3595 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
3596 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
3597 * sysdeps/sh/init-first.c: Likewise.
3598
58f902b8
TS
3599 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
3600 registers for frame unwinding purposes, add CFI directives.
3601 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3602 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
3603 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
3604 Likewise.
3605
1518f58b
TS
3606 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
3607 __fortify_fail returning.
3608 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
3609
db9b5059
TS
3610 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
3611 sysdeps/sh/____longjmp_chk.S.
3612 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
3613 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
3614 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
3615 (gen-as-const-headers): Append sigaltstack-offsets.sym.
3616
967705fe
TS
3617 * sysdeps/sh/abort-instr.h: New file.
3618 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
3619 process in case exit returns.
3620
a9def8c4
TS
3621 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
3622 initialize the GOT register before use.
3623
2a649725
TS
3624 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
3625 calculation of ARGC > 4.
3626
af1bce34
TS
3627 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
3628 meaningful names to some local labels.
3629
d230f50a
KK
36302012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3631 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3632
3633 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
3634 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
3635 (__arch_compare_and_exchange_val_16_acq): Likewise.
3636 (__arch_compare_and_exchange_val_32_acq): Likewise.
3637 (atomic_exchange_and_add): Fix gUSA sequence.
3638 (atomic_add): Likewise.
3639 (atomic_add_negative): Likewise.
3640 (atomic_add_zero): Likewise.
3641 (atomic_bit_test_set): Likewise.
3642
0479b305
AS
36432012-06-22 Andreas Schwab <schwab@redhat.com>
3644
3645 [BZ #13579]
3646 * include/link.h (struct link_map): Add l_free_initfini.
3647 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
3648 l_initfini.
3649 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
3650 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
3651 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
3652 set.
3653
0e3933b9
CD
36542012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
3655
3656 * configure.in: Use AC_LANG_SOURCE.
3657 * configure: Regenerate.
3658
4248b1b1
RM
36592012-06-22 Roland McGrath <roland@hack.frob.com>
3660
3661 * configure.in (libc_cv_localstatedir): New substituted variable.
3662 * configure: Regenerated.
3663 * config.make.in (localstatedir): New variable, substituted from
3664 libc_cv_localstatedir.
3665 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
3666 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
3667 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
3668 * sysdeps/gnu/configure: Regenerated.
3669
006dd861
JL
36702012-06-21 Jeff Law <law@redhat.com>
3671
3672 [BZ #14277]
3673 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
3674 free. Simplify list management for _LIBC case.
3675
79662d42
JM
36762012-06-21 Joseph Myers <joseph@codesourcery.com>
3677
b7abb4bf
JM
3678 [BZ #14273]
3679 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
3680 Clear sign bit of 64-bit integer value before comparing against
3681 overflow value.
3682
79662d42
JM
3683 * sysdeps/mach/configure: Regenerated.
3684
1f150908
L
36852012-06-21 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 [BZ #14278]
3688 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
3689
28363bbf
JL
36902012-06-21 Jeff Law <law@redhat.com>
3691
3692 [BZ #13882]
3693 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
3694 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 3695 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
3696 * elf/dl-open.c (dl_open_worker): Likewise.
3697
09615db4
CD
36982012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
3699
3700 * scripts/list-sources.sh: Scan PORTS for translations.
3701 * po/libc.pot: Regenerated.
3702
2174c6dd
AJ
37032012-06-21 Andreas Jaeger <aj@suse.de>
3704
3705 [BZ #12194]
3706 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
3707 warning.
3708 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
3709 * bits/byteswap-16.h (__bswap_16): Likewise.
3710 * bits/byteswap.h (__bswap_constant_16): Likewise.
3711
3ee947b1
L
37122012-06-18 H.J. Lu <hongjiu.lu@intel.com>
3713
3714 [BZ #14117]
a2f34833
L
3715 * sysdeps/i386/fpu_control.h: Removed.
3716 * sysdeps/x86_64/fpu_control.h: Moved to ...
3717 * sysdeps/x86/fpu_control.h: Here.
3718
3ee947b1
L
3719 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
3720 (_FPU_SETCW): Likewise.
3721
ed1825f8
L
37222012-06-15 H.J. Lu <hongjiu.lu@intel.com>
3723
25f1282a
L
3724 [BZ #14117]
3725 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
3726 * sysdeps/x86/fpu/bits/mathinline.h: This.
3727 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
3728
ed1825f8
L
3729 [BZ #14050]
3730 [BZ #14117]
3731 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
3732 functions if __x86_64__ is defined.
3733
36d54b74
CLT
37342012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
3735
3736 * string/endian.h: Add !__ASSEMBLER__ condition for including
3737 conversion interfaces.
3738
10285c21
JM
37392012-06-15 Joseph Myers <joseph@codesourcery.com>
3740
3741 [BZ #14241]
3742 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
3743 of ABS(x) in calculating zero to negative powers other than odd
3744 integers.
3745 * math/libm-test.inc (pow_test): Add more tests.
3746
06c5abbd
AJ
37472012-06-15 Andreas Jaeger <aj@suse.de>
3748
3749 * manual/contrib.texi (Contributors): Update entry of Liubov
3750 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
3751 Machado Filho.
3752
a3aeac40
CH
37532012-06-15 Cyril Hrubis <metan@ucw.cz>
3754
3755 * string/string.h: Add __wur to GNU version of strerror_r.
3756
49bdf4c1
L
37572012-06-14 H.J. Lu <hongjiu.lu@intel.com>
3758
3759 [BZ #14229]
3760 * string/Makefile (tests): Add tst-strtok_r.
3761 * string/tst-strtok_r.c: New file.
3762 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
3763 RAX_LP/RDX_LP on SAVE_PTR.
3764
834f9b8d
RM
37652012-06-14 Roland McGrath <roland@hack.frob.com>
3766
3767 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
3768
75fa1921
JM
37692012-06-14 Joseph Myers <joseph@codesourcery.com>
3770
3771 * libm_test.inc (csqrt_test): Allow more spurious underflow
3772 exceptions.
3773 (j0_test): Likewise.
3774 (j1_test): Likewise.
3775 (y0_test): Likewise.
3776 (y1_test): Likewise.
3777
771766df
CD
37782012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
3779
3780 * po/Makefile (libc.pot): Use UTF-8 charset.
3781
ceb9e56b
PP
37822012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3783
3784 [BZ #14210]
3785 Suppress sign-conversion warning from FD_SET.
3786 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
3787 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
3788 not unsigned long int.
3789 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
3790
ddb28975
L
37912012-06-12 H.J. Lu <hongjiu.lu@intel.com>
3792
3793 [BZ #14050]
3794 [BZ #14117]
3795 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
3796 __extern_always_inline instead of __extern_inline.
3797 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
3798 (__signbit): Likewise.
3799 (__signbitl): Support C++ namespace.
3800 (lrintf): New inline function.
3801 (lrint): Likewise.
3802 (llrintf): Likewise.
3803 (llrint): Likewise.
3804 (fmaxf): Likewise.
3805 (fmax): Likewise.
3806 (fminf): Likewise.
3807 (fmin): Likewise.
3808 (rint): Likewise.
3809 (rintf): Likewise.
3810 (ceil): Likewise.
3811 (ceilf): Likewise.
3812 (floor): Likewise.
3813 (floorf): Likewise.
3814 (nearbyint): Likewise.
3815 (nearbyintf): Likewise.
3816
d7b4fb26
TS
38172012-06-12 Thomas Schwinge <thomas@codesourcery.com>
3818
3819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
3820 non-default versions.
3821
eb55f5c2
RM
38222012-06-11 Roland McGrath <roland@hack.frob.com>
3823
3824 [BZ #14218]
3825 * manual/argp.texi (Argp): Reword argp_parse description slightly.
3826
366af02c
TS
38272012-06-09 Thomas Schwinge <thomas@codesourcery.com>
3828
99ff6e5c
TS
3829 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
3830 (FE_UPWARD, FE_DOWNWARD): Don't define.
3831 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
3832 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3833
366af02c
TS
3834 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
3835 reading it.
3836 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3837 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3838
793ea851
KK
38392012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3840
3841 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3842 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
3843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
3844 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
3845
a728a38f
L
38462012-06-06 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 [BZ #14117]
c08010c7
L
3849 * sysdeps/i386/fpu/bits/fenv.h: Removed.
3850 * sysdeps/i386/fpu/Implies: New file.
3851 * sysdeps/x86_64/fpu/Implies: Likewise.
3852 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
3853 * sysdeps/x86/fpu/bits/fenv.h: This.
3854
a728a38f
L
3855 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
3856 __SSE_MATH__.
3857
6e230d11
SP
38582012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3859
3860 [BZ #14134]
3861 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
3862 character 0xffff that matches the last element of the
3863 conversion table.
3864
1b671feb
AZ
38652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3866
3867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
3868 fmodl commit.
3869
6043738b
AZ
38702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3871
3872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
3873 values higher than 25.6283.
3874
34ae0b32
AZ
38752012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3876
3877 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
3878 subnormal exponent extraction and add some __builtin_expect.
3879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
3880 Fix for subnormal mantissa calculation.
3881
1214ec8f
MF
38822012-06-04 Mike Frysinger <vapier@gentoo.org>
3883
3884 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
3885 cpu2 is -1 and errno is not ENOSYS.
3886
f3d1f93c
L
38872012-06-04 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 [BZ #14117]
0e4a3cd7
L
3890 * sysdeps/i386/i486/bits/string.h: Renamed to ...
3891 * sysdeps/x86/bits/string.h: This.
3892 * sysdeps/x86_64/bits/string.h: Removed.
3893
6704c645
L
3894 * sysdeps/i386/i486/bits/string.h: Define inline functions only
3895 if not compiling for x86-64, but compiling for >= i486.
3896
48495318
L
3897 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
3898 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
3899
14adcbfc
L
3900 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
3901 New macro from Linux kernel 3.4.0.
3902 (FP_XSTATE_MAGIC2): Likewise.
3903 (FP_XSTATE_MAGIC2_SIZE): Likewise.
3904 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
3905 (struct _fpx_sw_bytes): New struct.
3906 (struct _xsave_hdr): Likewise.
3907 (struct _ymmh_state): Likewise.
3908 (struct _xstate): Likewise.
3909
68e408ab
L
3910 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
3911 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
3912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
3913 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
3914 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
3915 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
3916
f3d1f93c
L
3917 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
3918 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
3919 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
3920 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
3921 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
3922 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
3923
d9dc34cd
TMQMF
39242012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3925
3926 [BZ #13743]
3927 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
3928 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
3929 (sysdep_headers): Include sys/platform/ppc.h.
3930 * sysdeps/powerpc/test-gettimebase.c: Test for
3931 __ppc_get_timebase() to catch future ISA opcode/insn changes.
3932 * manual/Makefile (appendices): Include platform.texi.
3933 * manual/contrib.texi (Contributors): Update @node pointers.
3934 * manual/maint.texi (Maintenance): Likewise.
3935 (Platform): New node.
3936 * manual/platform.texi: New file. Document the new features.
3937
4af3879c
SP
39382012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3939 Jakub Jelinek <jakub@redhat.com>
3940
3941 [BZ #14188]
3942 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
3943 where __builtin_expect is unavailable.
3944
2fd6ff13
DM
39452012-06-03 David S. Miller <davem@davemloft.net>
3946
3947 * stdlib/longlong.h: Updated from GCC.
3948
173f7220
AS
39492012-06-02 Andreas Schwab <schwab@linux-m68k.org>
3950
3951 [BZ #14042]
3952 * sysdeps/powerpc/powerpc32/mcount.c: New file.
3953 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
3954 __mcount_internal.
3955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3956 (GLIBC_2.16): Likewise.
3957
f34a1c6f
L
39582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3959
3960 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
3961
88a4576f
JM
39622012-06-01 Joseph Myers <joseph@codesourcery.com>
3963
ea32bcdd
JM
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3965 (default-abi): New variable.
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
3967 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
3968 variable.
3969 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
3970 Likewise.
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
3972 Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
3974 Likewise.
3975
88a4576f
JM
3976 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
3977 definition. Document in comment.
3978
402fe938
DM
39792012-06-01 David S. Miller <davem@davemloft.net>
3980
3981 * stdlib/longlong.h: Updated from GCC.
3982
3553723f
L
39832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 [BZ #14117]
3bd872c4
L
3986 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
3987 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
3988 sys/debugreg.h sys/io.h here.
3989 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
3990 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
3991 sys/io.h.
3992 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
3993 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
3994 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
3995 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
3996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
3997 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
3998
3553723f
L
3999 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4000 Define only if __x86_64__ is defined.
4001
4842e4fe
JM
40022012-06-01 Joseph Myers <joseph@codesourcery.com>
4003
c5bfe3d5
JM
4004 [BZ #14048]
4005 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4006 Use int64_t for variable i.
4007 * math/libm-test.inc (fmod_test): Add more tests.
4008
4842e4fe
JM
4009 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4010 z computation is not scheduled after fetestexcept.
4011 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4012 Use math_force_eval instead of asm to ensure calculation scheduled
4013 before exception test.
4014 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4015 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4016
efb73488
AJ
40172012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4018
4019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4020 computation is not scheduled after fetestexcept.
4021
29bcce7c
L
40222012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4023
4024 [BZ #14117]
4025 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4026 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4027
73a68f94
AZ
40282012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4029
4030 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4031 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4032
67b6df78
L
40332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4034
edf2933a 4035 [BZ #14117]
ebc64a18
L
4036 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4037 <bits/wordsize.h>.
4038 (__WCHAR_MIN): Support __WORDSIZE == 64.
4039 (__WCHAR_MAX): Likewise.
4040
edf2933a
L
4041 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4042 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4043
57c6cf40
L
4044 [BZ #14183]
4045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4046 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4047
67b6df78 4048 [BZ #14117]
8eb6281e
L
4049 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4051
aac639f4
L
4052 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
4053 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
4054
67b6df78
L
4055 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
4056 Defined to 1 if __x86_64__ isn't defined.
4057 (_STAT_VER_LINUX_OLD): New.
4058 (st_atime): Remove duplicate.
4059 (st_mtime): Likewise.
4060 (st_ctime): Likewise.
4061
1c2cfe81
DM
40622012-05-31 David S. Miller <davem@davemloft.net>
4063
4064 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
4065 entries.
4066
5be8418c
AS
40672012-06-01 Andreas Schwab <schwab@linux-m68k.org>
4068
e7725326
AS
4069 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
4070 gen-libm-test.pl.
4071
5be8418c
AS
4072 [BZ #14132]
4073 * elf/dl-reloc.c: Include <_itoa.h>.
4074 (_dl_reloc_bad_type): Remove use of INTUSE.
4075 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
4076 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
4077 * stdio-common/psiginfo.c (psiginfo): Likewise.
4078 * stdio-common/psignal.c (psignal): Likewise.
4079 * string/strsignal.c (strsignal): Likewise.
4080 * include/signal.h (_sys_siglist): Declare hidden proto.
4081 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
4082 INTVARDEF with libc_hidden_data_def.
4083 * stdio-common/itoa-udigits.c: Likewise.
4084 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
4085 (_itoa_lower_digits_internal): Remove declaration.
4086 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
4087 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
4088 (_sys_sigabbrev_internal): Remove aliases.
4089 (_sys_siglist): Define hidden alias.
4090
507352f1
MT
40912012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
4092
4093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4094 bits/sysctl.h.
4095
42bbb1c3
L
40962012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4097
4098 [BZ #14117]
6bd784b6
L
4099 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
4100 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
4101
8bca20f0
L
4102 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
4103 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
4104 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
4105 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
4106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
4107 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
4108
f9e890a9
L
4109 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
4110 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
4111 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
4112
471101a1
L
4113 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
4114 with __addr.
4115 (insw): Likewise.
4116 (insl): Likewise.
4117 (outsb): Likewise.
4118 (outsw): Likewise.
4119 (outsl): Likewise.
4120
6451c862
L
4121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
4122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
4123 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
4124
a254b8c9
L
4125 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
4126 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
4127 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
4128 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
4129 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
4130 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
4131
b8dfdd92
L
4132 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
4133 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
4134
578cd270
L
4135 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
4136 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
4137
de662f5f
L
4138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
4139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
4140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
4141
25653439
L
4142 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
4143 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
4144 to ...
4145 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
4146
6bad24a0
L
4147 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
4148 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
4149 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
4150
42bbb1c3
L
4151 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
4152 for x86-64.
4153 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
4154
2d10d547
JM
41552012-05-31 Joseph Myers <joseph@codesourcery.com>
4156
4157 * math/math.h (M_El): Use two more decimal places.
4158 (M_LOG2El): Likewise.
4159 (M_LOG10El): Likewise.
4160 (M_LN2l): Likewise.
4161 (M_LN10l): Likewise.
4162 (M_PIl): Likewise.
4163 (M_PI_2l): Likewise.
4164 (M_PI_4l): Likewise.
4165 (M_1_PIl): Likewise.
4166 (M_2_PIl): Likewise.
4167 (M_2_SQRTPIl): Likewise.
4168 (M_SQRT2l): Likewise.
4169 (M_SQRT1_2l): Likewise.
4170
f230c29b
DM
41712012-05-31 David S. Miller <davem@davemloft.net>
4172
4173 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
4174 values between float registers.
4175 * sysdeps/sparc/sparc64/memset.S: Likewise.
4176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4177
fed806c3
MF
41782012-05-31 Mike Frysinger <vapier@gentoo.org>
4179
4180 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
4181 -D_FORTIFY_SOURCE=1.
4182 (CPPFLAGS-tst-longjmp_chk.c): Define.
4183 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
4184 (CPPFLAGS-tst-longjmp_chk2.c): Define.
4185 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
4186 CFLAGS-tst-wchar-h.c.
4187
30917259
MP
41882012-05-31 Marek Polacek <polacek@redhat.com>
4189
4190 [BZ #14132]
4191 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
4192 __endmntent_internal): Remove declaration.
4193 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
4194 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
4195 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
4196
1c58d5dc
DM
41972012-05-30 David S. Miller <davem@davemloft.net>
4198
4199 * sysdeps/sparc/sparc32/soft-fp/q_util.c
4200 (___Q_simulate_exceptions): Use real FP ops rather than writing
4201 into the %fsr.
4202 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
4203 Likewise.
4204
7dc00e0d
L
42052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4206
4207 [BZ #14117]
0bd53985
L
4208 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
4209 * sysdeps/x86/bits/xtitypes.h: This.
4210
3a257e66
L
4211 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
4212 * sysdeps/x86/bits/wordsize.h: This.
4213
62f62904
L
4214 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
4215 * sysdeps/x86/bits/huge_vall.h: This.
4216
404fe9d9
L
4217 * sysdeps/i386/bits/select.h: Removed.
4218 * sysdeps/x86_64/bits/select.h: Renamed to ...
4219 * sysdeps/x86/bits/select.h: This.
4220
d48d0446
L
4221 * sysdeps/i386/bits/setjmp.h: Removed.
4222 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
4223 * sysdeps/x86/bits/setjmp.h: This.
4224
7dc00e0d
L
4225 * sysdeps/i386/bits/mathdef.h: Removed.
4226 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
4227 * sysdeps/x86/bits/mathdef.h: This.
4228
03277f8f
AS
42292012-05-30 Andreas Schwab <schwab@linux-m68k.org>
4230
4231 [BZ #14132]
4232 * include/sys/socket.h (__connect_internal)
4233 (__libc_sa_len_internal): Remove declaration.
4234 (__connect, __libc_sa_len): Declare hidden_proto.
4235 (SA_LEN): Remove use of INTUSE.
4236 * socket/connect.c: Add libc_hidden_def.
4237 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
4238 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
4239 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
4240 alias.
4241 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4242 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4243 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
4244 of adding _internal alias.
4245
13764867
L
42462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4247
4248 [BZ #14117]
6bd97696
L
4249 * sysdeps/i386/bits/link.h: Removed.
4250 * sysdeps/i386/bits/linkmap.h: Likewise.
4251 * sysdeps/x86_64/bits/link.h: Renamed to ...
4252 * sysdeps/x86/bits/link.h: This.
4253 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
4254 * sysdeps/x86/bits/linkmap.h: This.
4255
f726f0bb
L
4256 * sysdeps/i386/bits/endian.h: Removed.
4257 * sysdeps/x86_64/bits/endian.h: Renamed to ...
4258 * sysdeps/x86/bits/endian.h: This.
4259
13764867
L
4260 * sysdeps/i386/bits/byteswap.h: Removed.
4261 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4262 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
4263 * sysdeps/x86/bits/byteswap.h: This.
4264 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
4265 * sysdeps/x86/bits/byteswap-16.h: This.
4266 * sysdeps/i386/Implies: Add x86.
4267 * sysdeps/x86_64/Implies: Likewise.
4268
ae251b0b
DM
42692012-05-30 David S. Miller <davem@davemloft.net>
4270
4271 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
4272 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
4273 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4274 (FP_TRAPPING_EXCEPTIONS): Define.
4275 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4276 (FP_TRAPPING_EXCEPTIONS): Define.
4277 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
4278 subnormals only when inexact has been signalled or underflow
4279 exceptions are enabled.
4280 (_FP_PACK_CANONICAL): Likewise.
4281
d5c90867
L
42822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 [BZ #14183]
4285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
4286 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
4287
63f1549e
RH
42882012-05-30 Richard Henderson <rth@twiddle.net>
4289
8d8f2279
RH
4290 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
4291 with #ifndef NOT_IN_libc.
4292
63f1549e
RH
4293 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
4294 marked to avoid plt entry.
4295
0ab0291b
L
42962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
4297
4298 [BZ #14112]
4299 * Makeconfig (default-abi): New macro.
4300 (abi-includes): Likewise.
4301 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
4302 $(abi-$(default-abi)-lib-soname) for soname if defined.
4303 ($(common-objpfx)gnu/lib-names.stmp): Generate from
4304 abi-variants.
4305 * Makefile (installed-stubs): Likewise.
4306 * include/stubs-biarch.h: Removed.
4307 * scripts/lib-names.awk: Only handle one library at a time.
4308 * scripts/soversions.awk: Remove WORDSIZE support.
4309 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
4310 entries.
4311 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
4312 Removed.
4313 (syscall-list-default-condition): Likewise.
4314 (syscall-list-default-condition): Likewise.
4315 (syscall-list-includes): Likewise.
4316 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
4317 syscall-list-* with abi-*. Handle undefined abi-variants.
4318 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
4319 * sysdeps/unix/sysv/linux/i386/Implies: New file.
4320 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
4321 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
4323 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
4324 Removed.
4325 (syscall-list-32-options): Likewise.
4326 (syscall-list-32-condition): Likewise.
4327 (syscall-list-64-options): Likewise.
4328 (syscall-list-64-condition): Likewise.
4329 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
4330 macro.
4331 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
4332 Renamed to ...
4333 (abi-*): This.
4334 (abi-64-ld-soname): New macro.
4335 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
4337 Renamed to ...
4338 (abi-*): This.
4339 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
4340 * sysdeps/x86_64/x32/shlib-versions: Likewise.
4341
4da0431d
JM
43422012-05-30 Joseph Myers <joseph@codesourcery.com>
4343
3a85279c
JM
4344 * sysdeps/unix/sysv/linux/kernel-features.h
4345 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
4346 * sysdeps/unix/sysv/linux/ftruncate64.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 * sysdeps/unix/sysv/linux/truncate64.c: Do not
4353 include <kernel-features.h>.
4354 [!__NR_ftruncate64]: Remove conditional code.
4355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4356 [__NR_ftruncate64]: Make code unconditional.
4357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
4359 include <kernel-features.h>.
4360 [!__NR_ftruncate64]: Remove conditional code.
4361 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4362 [__NR_ftruncate64]: Make code unconditional.
4363 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4365 include <kernel-features.h>.
4366 [!__NR_ftruncate64]: Remove conditional code.
4367 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4368 [__NR_ftruncate64]: Make code unconditional.
4369 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
4370
4da0431d
JM
4371 * configure.in (libc_cv_fpie): Weaken to a compile test using
4372 LIBC_TRY_CC_OPTION.
4373 * configure: Regenerated.
4374
11ef492c
AK
43752012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4376
4377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
4379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4381 Refreshed.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
4383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
4384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
4385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
4386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
4387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4388 Refreshed.
4389
d66ef399
DM
43902012-05-27 David S. Miller <davem@davemloft.net>
4391
4392 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
4393 (___Q_zero): New.
4394 (__Q_simulate_exceptions): Return void. Change to simulate
4395 exceptions by writing into the %fsr.
4396 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
4397 (__Qp_handle_exceptions): Likewise.
4398 (numbers): Delete.
4399 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
4400 __Qp_handle_exceptions.
4401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
4402 __Qp_handle_exceptions.
4403 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4404 as unused and give dummy FP_RND_NEAREST initializer.
4405 (FP_INHIBIT_RESULTS): Define.
4406 (___Q_simulate_exceptions): Update declaration.
4407 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
4408 formatting.
4409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
4410 as unused and give dummy FP_RND_NEAREST initializer.
4411 (__Qp_handle_exceptions): Update declaration.
4412 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
4413 formatting.
4414
04fb54b5
TS
44152012-05-27 Thomas Schwinge <thomas@codesourcery.com>
4416
4417 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4418 the temporary FPU control word.
4419 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4420 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
4421 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4422 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4423 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4425 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4426 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4427 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4428 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
4429 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4430
3f99608f
KK
44312012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4432
4433 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
4434 fields.
4435
65a4de4e
CLT
44362012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
4437
4438 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
4439 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
4440 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
4441 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
4442 Likewise.
4443 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
4444 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
4445 Likewise.
4446
15749d40
UD
44472012-05-27 Ulrich Drepper <drepper@gmail.com>
4448
4449 * po/h.po: Update from translation team.
4450
25dbcb27
AS
44512012-05-26 Andreas Schwab <schwab@linux-m68k.org>
4452
3d3f8e55
AS
4453 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
4454
25dbcb27
AS
4455 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4456 handling of denormals.
4457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4458 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4459 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4460 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
4463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
4464 Likewise.
4465
7ad47a80 44662012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
4467
4468 [BZ #14152]
4469 * math/libm-test.inc (fma_test): Don't always expect underflow
4470 exception.
4471
9c6ea9fa
SP
44722012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4473
4474 [BZ #12416]
4475 * elf/tst-execstack.c: Include stackinfo.h.
4476 (do_test): Adjust test case to ensure that pthread_getattr_np
4477 behaviour remains the same after marking stack executable.
4478
a8239222
JM
44792012-05-25 Joseph Myers <joseph@codesourcery.com>
4480
4481 * sysdeps/unix/sysv/linux/kernel-features.h
4482 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
4483 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
4484 kernel-features.h.
4485 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4486 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4487 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
4488 kernel-features.h.
4489 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
4490 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
4491
918b5606
L
44922012-05-25 H.J. Lu <hongjiu.lu@intel.com>
4493
4494 * configure.in: Define the default includes to being none.
4495 * configure: Regenerated.
4496
3a097cc7
RM
44972012-05-25 Roland McGrath <roland@hack.frob.com>
4498
8422c9a5
RM
4499 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
4500 * sysdeps/x86_64/setjmp.S: Likewise.
4501 * sysdeps/i386/bsd-setjmp.S: Likewise.
4502 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4503 * sysdeps/i386/setjmp.S: Likewise.
4504 * sysdeps/i386/__longjmp.S: Likewise.
4505 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4506 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
4507
3a097cc7
RM
4508 * include/stap-probe.h: New file.
4509 * configure.in: Handle --enable-systemtap.
4510 * configure: Regenerated.
4511 * config.h.in (USE_STAP_PROBE): New #undef.
4512 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
4513 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
4514 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4515
21708942
JM
45162012-05-25 Joseph Myers <joseph@codesourcery.com>
4517
4518 [BZ #13717]
4519 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4520 to 2.4.0 where earlier.
4521 * sysdeps/unix/sysv/linux/configure: Regenerated.
4522 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4523 <kernel-features.h>.
4524 [__ASSUME_32BITUIDS]: Make code unconditional.
4525 [!__ASSUME_32BITUIDS]: Remove conditional code.
4526 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
4527 <kernel-features.h>.
4528 [__ASSUME_32BITUIDS]: Make code unconditional.
4529 [!__ASSUME_32BITUIDS]: Remove conditional code.
4530 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
4531 [__ASSUME_32BITUIDS]: Make code unconditional.
4532 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
4533 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
4534 <kernel-features.h>.
4535 [__ASSUME_32BITUIDS]: Make code unconditional.
4536 [!__ASSUME_32BITUIDS]: Remove conditional code.
4537 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
4538 <kernel-features.h>.
4539 [__ASSUME_32BITUIDS]: Make code unconditional.
4540 [!__ASSUME_32BITUIDS]: Remove conditional code.
4541 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
4542 <kernel-features.h>.
4543 [__ASSUME_32BITUIDS]: Make code unconditional.
4544 [!__ASSUME_32BITUIDS]: Remove conditional code.
4545 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
4546 <kernel-features.h>.
4547 [__ASSUME_32BITUIDS]: Make code unconditional.
4548 [!__ASSUME_32BITUIDS]: Remove conditional code.
4549 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4550 <kernel-features.h>.
4551 [__ASSUME_32BITUIDS]: Make code unconditional.
4552 [!__ASSUME_32BITUIDS]: Remove conditional code.
4553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4554 <kernel-features.h>.
4555 [__ASSUME_32BITUIDS]: Make code unconditional.
4556 [!__ASSUME_32BITUIDS]: Remove conditional code.
4557 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
4558 <kernel-features.h>.
4559 [__ASSUME_32BITUIDS]: Make code unconditional.
4560 [!__ASSUME_32BITUIDS]: Remove conditional code.
4561 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4562 <kernel-features.h>.
4563 [__ASSUME_32BITUIDS]: Make code unconditional.
4564 [!__ASSUME_32BITUIDS]: Remove conditional code.
4565 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
4574 <kernel-features.h>.
4575 [__NR_setresgid] (__setresgid): Do not declare.
4576 [__ASSUME_32BITUIDS]: Make code unconditional.
4577 [!__ASSUME_32BITUIDS]: Remove conditional code.
4578 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
4579 <kernel-features.h>.
4580 [__NR_setresuid] (__setresuid): Do not declare.
4581 [__ASSUME_32BITUIDS]: Make code unconditional.
4582 [!__ASSUME_32BITUIDS]: Remove conditional code.
4583 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
4584 <kernel-features.h>.
4585 [__ASSUME_32BITUIDS]: Make code unconditional.
4586 [!__ASSUME_32BITUIDS]: Remove conditional code.
4587 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
4588 <kernel-features.h>.
4589 [__ASSUME_32BITUIDS]: Make code unconditional.
4590 [!__ASSUME_32BITUIDS]: Remove conditional code.
4591 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
4592 <kernel-features.h>.
4593 [__ASSUME_32BITUIDS]: Make code unconditional.
4594 [!__ASSUME_32BITUIDS]: Remove conditional code.
4595 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
4596 <kernel-features.h>.
4597 [__ASSUME_32BITUIDS]: Make code unconditional.
4598 [!__ASSUME_32BITUIDS]: Remove conditional code.
4599 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
4600 <kernel-features.h>.
4601 [__ASSUME_32BITUIDS]: Make code unconditional.
4602 [!__ASSUME_32BITUIDS]: Remove conditional code.
4603 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
4604 <kernel-features.h>.
4605 [__ASSUME_32BITUIDS]: Make code unconditional.
4606 [!__ASSUME_32BITUIDS]: Remove conditional code.
4607 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
4608 <kernel-features.h>.
4609 [__ASSUME_32BITUIDS]: Make code unconditional.
4610 [!__ASSUME_32BITUIDS]: Remove conditional code.
4611 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
4612 <kernel-features.h>.
4613 [__ASSUME_32BITUIDS]: Make code unconditional.
4614 [!__ASSUME_32BITUIDS]: Remove conditional code.
4615 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
4616 <kernel-features.h>.
4617 [__ASSUME_32BITUIDS]: Make code unconditional.
4618 [!__ASSUME_32BITUIDS]: Remove conditional code.
4619 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4620 <kernel-features.h>.
4621 [__ASSUME_32BITUIDS]: Make code unconditional.
4622 [!__ASSUME_32BITUIDS]: Remove conditional code.
4623 * sysdeps/unix/sysv/linux/kernel-features.h
4624 (__ASSUME_SETRESUID_SYSCALL): Remove.
4625 (__ASSUME_SETRESGID_SYSCALL): Likewise.
4626 (__ASSUME_32BITUIDS): Likewise.
4627 (__ASSUME_LDT_WORKS): Likewise.
4628 (__ASSUME_O_DIRECTORY): Likewise.
4629 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
4630 architecture but not kernel version.
4631 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4632 (__ASSUME_MMAP2_SYSCALL): Likewise.
4633 (__ASSUME_STAT64_SYSCALL): Likewise.
4634 (__ASSUME_IPC64): Likewise.
4635 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
4636 <kernel-features.h>.
4637 [__ASSUME_32BITUIDS]: Make code unconditional.
4638 [!__ASSUME_32BITUIDS]: Remove conditional code.
4639 * sysdeps/unix/sysv/linux/opendir.c: Do not include
4640 <kernel-features.h>.
4641 [__ASSUME_O_DIRECTORY]: Make code unconditional.
4642 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
4643 132096]: Remove conditional code.
4644 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
4645 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4646 <kernel-features.h>.
4647 [__ASSUME_32BITUIDS]: Make code unconditional.
4648 [!__ASSUME_32BITUIDS]: Remove conditional code.
4649 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
4654 <kernel-features.h>.
4655 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
4656 unconditional.
4657 (__setresgid): Do not declare.
4658 [__ASSUME_32BITUIDS]: Make code unconditional.
4659 [!__ASSUME_32BITUIDS]: Remove conditional code.
4660 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
4661 <kernel-features.h>.
4662 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
4663 unconditional.
4664 (__setresuid): Do not declare.
4665 [__ASSUME_32BITUIDS]: Make code unconditional.
4666 [!__ASSUME_32BITUIDS]: Remove conditional code.
4667 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4668 <kernel-features.h>.
4669 [__ASSUME_32BITUIDS]: Make code unconditional.
4670 [!__ASSUME_32BITUIDS]: Remove conditional code.
4671 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
4672 <kernel-features.h>.
4673 [__ASSUME_32BITUIDS]: Make code unconditional.
4674 [!__ASSUME_32BITUIDS]: Remove conditional code.
4675
a386f1cc
RH
46762012-05-25 Richard Henderson <rth@twiddle.net>
4677
4678 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
4679 dl_hwcap to ifunc resolver.
4680 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
4681 elf_ifunc_invoke.
4682 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
4683 dl_hwcap to ifunc resolver.
4684 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
4685
b6550497
JM
46862012-05-24 Joseph Myers <joseph@codesourcery.com>
4687
4688 [BZ #14153]
4689 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
4690 for |x| <= 2**-26, not 2**-57.
4691 * math/libm-test.inc (acos_test): Do not allow spurious underflow
4692 exception.
4693
b0bc23a1
JL
46942012-05-24 Jeff Law <law@redhat.com>
4695
4696 * stdio-common/Makefile (tests): Add bug25.
4697 * stdio-common/bug25.c: New test.
4698
347c92e9
L
46992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4700
4701 [BZ #13576]
4702 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
4703 multiple of MALLOC_ALIGNMENT in size.
4704 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
4705
6bcc8b3f
JM
47062012-05-24 Joseph Myers <joseph@codesourcery.com>
4707
4708 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
4709 Require >= 256.
4710 (FILENAME_MAX): Use macro-int-constant.
4711 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
4712 (_IOFBF): Use macro-int-constant.
4713 (_IOLBF): Likewise.
4714 (_IONBF): Likewise.
4715 (SEEK_CUR): Likewise.
4716 (SEEK_END): Likewise.
4717 (SEEK_SET): Likewise.
4718 (TMP_MAX): Likewise.
4719 (EOF): Use macro-int-constant. Require < 0.
4720 (NULL): Use macro-constant. Require == 0.
4721 (stdin): Require type to be FILE *.
4722 (stdout): Likewise.
4723 (stderr): Likewise.
4724 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
4725 macro-int-constant.
4726 (EXIT_SUCCESS): Likewise.
4727 (NULL): Use macro-constant. Require == 0.
4728 (RAND_MAX): Use macro-int-constant.
4729 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
4730 [C99-based standards] (strtof): Require function.
4731 [C99-based standards] (strtold): Likewise.
4732 [C99-based standards] (strtoll): Likewise.
4733 [C99-based standards] (strtoull): Likewise.
4734 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4735 [ISO || ISO99 || ISO11] (limits.h): Likewise.
4736 [ISO || ISO99 || ISO11] (math.h): Likewise.
4737 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
4738 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4740
d18ea0c5
AS
47412012-05-24 Andreas Schwab <schwab@linux-m68k.org>
4742
4743 [BZ #14132]
56d25bb8
AS
4744 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
4745 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
4746 * intl/dgettext.c (DCGETTEXT): Likewise.
4747 * intl/gettext.c (DCGETTEXT): Likewise.
4748 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
4749 * posix/regex_internal.h (gettext): Likewise.
4750 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
4751 Remove declaration.
4752 * include/argz.h (__argz_count_internal)
4753 (__argz_stringify_internal): Remove declaration.
4754 (__argz_count, __argz_stringify): Declare hidden proto.
4755 * intl/dcgettext.c: Remove use of INTDEF.
4756 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
4757 * string/argz-stringify.c: Likewise.
4758 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4759 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4760 Declare hidden proto.
d18ea0c5
AS
4761 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
4762 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
4763 Declare hidden proto.
4764 * include/stdio.h (__asprintf_internal): Don't declare.
4765 (__asprintf): Don't define as macro. Declare hidden proto.
4766 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
4767 (__fsetlocking): Declare hidden proto.
4768 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
4769 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
4770 hidden proto.
4771 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
4772 (_IO_setlinebuf): Remove use of INTUSE.
4773 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
4774 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
4775 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
4776 Remove declaration.
4777 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
4778 (_IO_do_flush): Remove use of INTUSE.
4779 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
4780 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
4781 (_IO_adjust_column, _IO_least_wmarker)
4782 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
4783 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
4784 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
4785 (_IO_default_doallocate, _IO_wdefault_doallocate)
4786 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
4787 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
4788 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
4789 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
4790 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
4791 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
4792 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
4793 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
4794 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
4795 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
4796 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
4797 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
4798 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
4799 proto.
4800 (_IO_flush_all_internal, _IO_adjust_column_internal)
4801 (_IO_default_uflow_internal, _IO_default_finish_internal)
4802 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
4803 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
4804 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
4805 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
4806 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
4807 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
4808 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
4809 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
4810 (_IO_file_close_internal, _IO_file_close_it_internal)
4811 (_IO_file_underflow_internal, _IO_file_overflow_internal)
4812 (_IO_file_init_internal, _IO_file_attach_internal)
4813 (_IO_file_fopen_internal, _IO_file_read_internal)
4814 (_IO_file_sync_internal, _IO_file_seek_internal)
4815 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
4816 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
4817 (_IO_str_underflow_internal, _IO_str_overflow_internal)
4818 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
4819 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
4820 (_IO_list_all_internal, _IO_link_in_internal)
4821 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
4822 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
4823 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
4824 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
4825 (_IO_do_write_internal, _IO_padn_internal)
4826 (_IO_getline_info_internal, _IO_getline_internal)
4827 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
4828 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
4829 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
4830 (_IO_vfscanf_internal, _IO_vfprintf_internal)
4831 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
4832 (_IO_init_internal, _IO_un_link_internal): Don't declare.
4833 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
4834 with libc_hidden_ver, remove use of INTUSE.
4835 * libio/genops.c: Likewise.
4836 * libio/freopen.c: Likewise.
4837 * libio/freopen64.c: Likewise.
4838 * libio/iofclose.c: Likewise.
4839 * libio/iofdopen.c: Likewise.
4840 * libio/iofflush.c: Likewise.
4841 * libio/iofflush_u.c: Likewise.
4842 * libio/iofgets.c: Likewise.
4843 * libio/iofgets_u.c: Likewise.
4844 * libio/iofopen.c: Likewise.
4845 * libio/iofopncook.c: Likewise.
4846 * libio/iofread.c: Likewise.
4847 * libio/iofread_u.c: Likewise.
4848 * libio/ioftell.c: Likewise.
4849 * libio/iofwrite.c: Likewise.
4850 * libio/iogetline.c: Likewise.
4851 * libio/iogets.c: Likewise.
4852 * libio/iogetwline.c: Likewise.
4853 * libio/iopadn.c: Likewise.
4854 * libio/iopopen.c: Likewise.
4855 * libio/ioseekoff.c: Likewise.
4856 * libio/ioseekpos.c: Likewise.
4857 * libio/iosetbuffer.c: Likewise.
4858 * libio/iosetvbuf.c: Likewise.
4859 * libio/ioungetc.c: Likewise.
4860 * libio/ioungetwc.c: Likewise.
4861 * libio/iovdprintf.c: Likewise.
4862 * libio/iovsprintf.c: Likewise.
4863 * libio/iovsscanf.c: Likewise.
4864 * libio/memstream.c: Likewise.
4865 * libio/obprintf.c: Likewise.
4866 * libio/oldfileops.c: Likewise.
4867 * libio/oldiofclose.c: Likewise.
4868 * libio/oldiofdopen.c: Likewise.
4869 * libio/oldiofopen.c: Likewise.
4870 * libio/oldiopopen.c: Likewise.
4871 * libio/oldstdfiles.c: Likewise.
4872 * libio/putc.c: Likewise.
4873 * libio/setbuf.c: Likewise.
4874 * libio/setlinebuf.c: Likewise.
4875 * libio/stdfiles.c: Likewise.
4876 * libio/strops.c: Likewise.
4877 * libio/vasprintf.c: Likewise.
4878 * libio/vscanf.c: Likewise.
4879 * libio/vsnprintf.c: Likewise.
4880 * libio/vswprintf.c: Likewise.
4881 * libio/wfiledoalloc.c: Likewise.
4882 * libio/wfileops.c: Likewise.
4883 * libio/wgenops.c: Likewise.
4884 * libio/wmemstream.c: Likewise.
4885 * libio/wstrops.c: Likewise.
4886 * libio/__fpurge.c: Likewise.
4887 * libio/__fsetlocking.c: Likewise.
4888 * assert/assert.c: Likewise.
4889 * debug/fgets_chk.c: Likewise.
4890 * debug/fgets_u_chk.c: Likewise.
4891 * debug/fread_chk.c: Likewise.
4892 * debug/fread_u_chk.c: Likewise.
4893 * debug/gets_chk.c: Likewise.
4894 * debug/obprintf_chk.c: Likewise.
4895 * debug/vasprintf_chk.c: Likewise.
4896 * debug/vdprintf_chk.c: Likewise.
4897 * debug/vsnprintf_chk.c: Likewise.
4898 * debug/vsprintf_chk.c: Likewise.
4899 * malloc/mtrace.c: Likewise.
4900 * misc/error.c: Likewise.
4901 * misc/syslog.c: Likewise.
4902 * stdio-common/asprintf.c: Likewise.
4903 * stdio-common/fxprintf.c: Likewise.
4904 * stdio-common/getw.c: Likewise.
4905 * stdio-common/isoc99_fscanf.c: Likewise.
4906 * stdio-common/isoc99_scanf.c: Likewise.
4907 * stdio-common/isoc99_vfscanf.c: Likewise.
4908 * stdio-common/isoc99_vscanf.c: Likewise.
4909 * stdio-common/isoc99_vsscanf.c: Likewise.
4910 * stdio-common/printf-prs.c: Likewise.
4911 * stdio-common/printf_fp.c: Likewise.
4912 * stdio-common/printf_fphex.c: Likewise.
4913 * stdio-common/printf_size.c: Likewise.
4914 * stdio-common/putw.c: Likewise.
4915 * stdio-common/scanf.c: Likewise.
4916 * stdio-common/sprintf.c: Likewise.
4917 * stdio-common/tmpfile.c: Likewise.
4918 * stdio-common/vfprintf.c: Likewise.
4919 * stdio-common/vfscanf.c: Likewise.
4920 * stdlib/strfmon_l.c: Likewise.
4921 * sunrpc/openchild.c: Likewise.
4922 * sunrpc/xdr_stdio.c: Likewise.
4923 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
4924 * sysdeps/mach/hurd/tmpfile.c: Likewise.
4925
d6c33fda
RM
49262012-05-24 Roland McGrath <roland@hack.frob.com>
4927
c1487492
RM
4928 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4929
4930 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
4931 in the third column, to generate for the shared library an IFUNC
4932 that uses _dl_vdso_vsym.
4933 * Makerules (COMPILE.c, compile-stdin.c): New variables.
4934 * Makeconfig (object-suffixes-noshared): New variable.
4935
4936 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
4937 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
4938 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
4939 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
4940
d6c33fda
RM
4941 [BZ #14132]
4942 * include/sys/time.h (__gettimeofday): Remove macro.
4943 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
4944 * time/gettimeofday.c (__gettimeofday): Remove #undef.
4945 Remove INTDEF.
4946 (__gettimeofday): Add libc_hidden_def.
4947 (gettimeofday): Add libc_hidden_weak.
4948 * sysdeps/mach/gettimeofday.c: Likewise.
4949 * sysdeps/posix/gettimeofday.c: Likewise.
4950 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4951 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
4953 (__gettimeofday_internal): Remove strong_alias.
4954 (__gettimeofday): Add libc_hidden_def.
4955 (gettimeofday): Add libc_hidden_weak.
4956 * sysdeps/unix/syscalls.list (gettimeofday):
4957 Remove __gettimeofday_internal alias.
4958
b5a2bbe6
L
49592012-05-24 Daniel Jacobowitz <drow@false.org>
4960 H.J. Lu <hongjiu.lu@intel.com>
4961
4962 [BZ #12495]
4963 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
4964 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
4965 (largebin_index_32_big): New.
4966 (largebin_index): Use it for 16-byte alignment.
4967 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
4968 correction with front_misalign.
4969
cfba4fda
L
49702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
4971
7f907421
L
4972 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
4973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4974 Likewise.
4975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
4976 Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
4978 Likewise.
4979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
4980 Likewise.
4981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
4982 Likewise.
4983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
4984 Likewise.
4985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
4986 Likewise.
4987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4988 Likewise.
4989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
4990 Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
4992 Likewise.
4993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4994 Likewise.
4995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
4996 Likewise.
4997
cfba4fda
L
4998 * scripts/data/c++-types-x32-linux-gnu.data: New file.
4999 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5000
80bad0cc
JM
50012012-05-24 Joseph Myers <joseph@codesourcery.com>
5002
7a25eb06
JM
5003 [BZ #10846]
5004 [BZ #14036]
5005 * math/libm-test.inc (exp_test): Add test from bug 14036.
5006 (pow_test): Add test from bug 10846.
5007
795405f9
JM
5008 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5009 and other flags.
5010 (special_function): Do not include flags in test name.
5011 (parse_args): Likewise.
5012 * sysdeps/i386/fpu/libm-test-ulps: Update.
5013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5014 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5015 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5017
80bad0cc
JM
5018 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5019 exceptions.
5020 * math/libm-test.inc ("Philosophy"): Update comment about
5021 exception testing.
5022 (UNDERFLOW_EXCEPTION): New macro.
5023 (UNDERFLOW_EXCEPTION_OK): Likewise.
5024 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5025 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5026 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5027 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5028 (INVALID_EXCEPTION_OK): Update value.
5029 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5030 (OVERFLOW_EXCEPTION_OK): Likewise.
5031 (IGNORE_ZERO_INF_SIGN): Likewise.
5032 (test_exceptions): Handle underflow exceptions.
5033 (acos_test): Update for underflow exception expectations.
5034 (cexp_test): Likewise.
5035 (clog_test): Likewise.
5036 (clog10_test): Likewise.
5037 (csqrt_test): Likewise.
5038 (ctan_test): Likewise.
5039 (ctanh_test): Likewise.
5040 (exp_test): Likewise.
5041 (exp10_test): Likewise.
5042 (exp2_test): Likewise.
5043 (expm1_test): Likewise.
5044 (fma_test): Likewise.
5045 (j0_test): Likewise.
5046 (jn_test): Likewise.
5047 (nexttoward_test): Likewise.
5048 (pow_test): Likewise.
5049 (scalbn_test): Likewise.
5050 (scalbln_test): Likewise.
5051 (tan_test): Likewise.
5052 (y1_test): Likewise.
5053 * sysdeps/i386/fpu/libm-test-ulps: Update.
5054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5055
9e0e3d0b
DM
50562012-05-23 David S. Miller <davem@davemloft.net>
5057
5058 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5059 (__libc_sigaction): Remove unused local variables.
5060
ccd0a08f
L
50612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5062
5063 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
5064
62bdf9a6
PE
50652012-05-23 Paul Eggert <eggert@cs.ucla.edu>
5066
f8591f80
PE
5067 mktime: avoid signed integer overflow
5068 * time/mktime.c (__mktime_internal): Do not mishandle the case
5069 where diff == INT_MIN.
5070
94c7d826
PE
5071 mktime: simplify computation of average
5072 * time/mktime.c (ranged_convert): Use new time_t_avg function
5073 instead of rolling our own (probably-slower) code.
5074
ce73d683
PE
5075 mktime: do not assume signed right shift propagates sign bit
5076 * time/mktime.c (isdst_differ): New static function.
5077 (__mktime_internal): No need to normalize tm_isdst now.
5078 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
5079 tm_isdst values.
5080
72a22e59
PE
5081 mktime: merge another wrapv change from gnulib
5082 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
5083 from some compilers.
5084
68605433
PE
5085 mktime: remove incorrect attempt at unusual arithmetics
5086 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
5087 The code didn't really work on such machines anyway.
5088 (TYPE_MINIMUM): Assume two's complement.
5089 (twos_complement_arithmetic): Verify that long_int and time_t
5090 are two's complement (or unsigned, in the latter case).
5091
03cf7fe3
PE
5092 mktime: check signed shifts on long_int and time_t, too
5093 * time/mktime.c (SHR): Check that shifts work as desired
5094 on the types long_int and time_t too, as SHR is used on
5095 such types.
5096
f04dfbc2
PE
5097 mktime: do not assume 'long' is wide enough
5098 * time/mktime.c (verify): Move decl up.
5099 (long_int): New type.
5100 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
5101 to remove assumption in the code that 'long' is wide enough to
5102 store year values. This assumption is not true on x32 and on
5103 some non-glibc platforms.
5104
62bdf9a6
PE
5105 mktime: merge wrapv change from gnulib
5106 * time/mktime.c (WRAPV): New macro.
5107 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
5108 (guess_time_tm, __mktime_internal): Do not assume that signed
5109 integer overflow wraps around; modern compilers generate code
5110 where this assumption is no longer valid.
5111
5e292e4f
L
51122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5113
5114 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5115 Replace "jmp L(pseudo_end)" with "ret".
5116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
5117 Likewise.
5118
8caf8c87
AJ
51192012-05-23 Andreas Jaeger <aj@suse.de>
5120
5121 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
5122 * sysdeps/unix/sysv/linux/poll.c: Remove file.
5123
1a09dc56
AJ
51242012-05-23 Andreas Jaeger <aj@suse.de>
5125 Maximilian Attems <max@stro.at>
5126
5127 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
5128 New macros.
5129
1c87aba0
L
51302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
5131
5132 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
5133 code so that pseudo_end is just ret and the stack pointer is
5134 correct also for static library in error case.
5135
40e45bd5
JM
51362012-05-23 Joseph Myers <joseph@codesourcery.com>
5137
c2670533
JM
5138 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
5139 move to syscalls.list.
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5144
40e45bd5
JM
5145 * manual/install.texi (Running make install): Do not mention Linux
5146 kernel version for which pt_chown is not needed.
5147 (Linux): Do not mention problems with nscd with 2.0 kernels.
5148 * INSTALL: Regenerated.
5149
be08eda5
AJ
51502012-05-23 Andreas Jaeger <aj@suse.de>
5151
5152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
5153 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
5154 macro.
5155 * sysdeps/unix/sysv/linux/s390/bits/mman.h
5156 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5157 * sysdeps/unix/sysv/linux/sh/bits/mman.h
5158 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5159 * sysdeps/unix/sysv/linux/i386/bits/mman.h
5160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5161 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
5162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
5164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
5165 * sysdeps/unix/sysv/linux/bits/in.h
5166 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
5167
a6a056bb
RM
51682012-05-22 Roland McGrath <roland@hack.frob.com>
5169
5170 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
5171 (PREPARE_VERSION): Just use assert instead, it will be elided
5172 under [NDEBUG] anyway.
5173
c9009328
L
51742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 * sysdeps/unix/sysv/linux/Makefile: Include
5177 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 5178 (sysdep_routines): Remove sysctl.
c9009328
L
5179 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
5180 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
5181 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
5182 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
5183 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
5184
73338355
AJ
51852012-05-22 Andreas Jaeger <aj@suse.de>
5186
5187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
5188 that pseudo_end is just ret and the stack pointer is correct also
5189 for static library in error case.
5190
d44638b0
PP
51912012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5192
5193 [BZ #14122]
5194 * nss/nsswitch.c (defconfig_entries): New variable.
5195 (__nss_database_lookup): Don't leak defconfig entries.
5196 (nss_parse_service_list): Don't leak on error paths.
5197 (free_database_entries): New function.
5198 (free_defconfig): New function.
5199 (free_mem): Move common code to free_database_entries.
5200
31a39bd8
L
52012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5202
da0331a8
L
5203 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
5204 Add arch_prctl.
5205 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
5206
31a39bd8
L
5207 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5208 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
5209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
5210 New macro.
5211 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
5212 (INTERNAL_SYSCALL_TYPES): Likewise.
5213 (LOAD_ARGS_TYPES_[1-6]): Likewise.
5214 (LOAD_REGS_TYPES_[1-6]): Likewise.
5215 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
5216 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
5217
45470df3
AZ
52182012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5219
5220 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
5221 copysignl for GLIBC_2_0.
5222 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
5223 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
5224 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
5225 logbl for GLIBC_2_0.
5226 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5227 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5228
98a61bcb
L
52292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5230
a4f6e481
L
5231 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
5232 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5233
f63d5db6
L
5234 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
5235 Use "neg %eax".
5236
98a61bcb
L
5237 * time/mktime.c: Update copyright years.
5238
95770f14
PE
52392012-05-22 Paul Eggert <eggert@cs.ucla.edu>
5240
6226efbd
PE
5241 mktime: merge comment-quoting-style change from gnulib
5242 * time/mktime.c: Quote 'like this' in comments.
5243 The GNU coding standards suggest that we no longer quote `like this',
5244 as "`" and "'" are typically rendered asymmetrically nowadays.
5245 The typical gnulib style is to quote 'like this' when quoting
5246 code, and "like this" when quoting English.
5247
b99e4f78
PE
5248 * time/mktime.c (compile-command): Add "-I.".
5249
643e01e6
PE
5250 mktime: merge mktime-internal.h change from gnulib
5251 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
5252
2554247d
PE
5253 mktime: merge time_r change from gnulib
5254 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
5255
826dd0ab
PE
5256 mktime: merge DEBUG change from gnulib
5257 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
5258 case system <time.h> has a #define.
5259
bd83aabe
PE
5260 mktime: merge <sys/types.h> change from gnulib
5261 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
5262 since <time.t> is now guaranteed to define time_t.
5263
95770f14
PE
5264 mktime: merge HAVE_CONFIG_H change from gnulib
5265 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
5266
5e1a27a9
L
52672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
5268
0e44a77e
L
5269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5270 Use "neg %eax".
5271
5e1a27a9
L
5272 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
5273 __rlim_t cast.
5274 (struct rusage): Use anonymous union to pad each field to
5275 __syscall_slong_t.
5276
46259bec
DM
52772012-05-21 David S. Miller <davem@davemloft.net>
5278
5279 * Makefules (o-iterator): Remove .s cases.
5280 (compile-command.s): Delete.
5281 (COMPILE.s): Delete.
5282 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
5283
59f0c22e
JM
52842012-05-21 Joseph Myers <joseph@codesourcery.com>
5285
5286 * configure.in (libc_cv_predef_stack_protector): Only consider
5287 "foobar" and "__stack_chk_fail" lines in libc_undefs.
5288 * configure: Regenerated.
5289
20c07380
L
52902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5291
bbb3154b
L
5292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
5293 New macro. Use R*LP on int and pointer.
5294 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
5295 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
5296 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
5297 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
5298
20c07380
L
5299 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
5300 [__WORDSIZE_TIME64_COMPAT32] instead of
5301 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
5302 (struct utmp): Likewise.
5303 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
5304 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
5305 Renamed to ...
5306 (__WORDSIZE_TIME64_COMPAT32): This.
5307 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
5308 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
5309 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
5310 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
5311 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
5312 (__WORDSIZE_TIME64_COMPAT32): New macro.
5313
d8d1017e
AJ
53142012-05-21 Andreas Jaeger <aj@suse.de>
5315
5316 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
5317 only if [SHARED]. Add prototype for __wcschr_ia32.
5318
6c7fb145
RM
53192012-05-21 Roland McGrath <roland@hack.frob.com>
5320
5321 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
5322 of %rbp unmolested in the jmp_buf while mangling the low bits.
5323 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
5324 unmolested high bits of %rbp while demangling the low bits.
5325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5326
66274218
AJ
53272012-05-21 Andreas Jaeger <aj@suse.de>
5328
07c58f8f
AJ
5329 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
5330 * sunrpc/svc_simple.c: Use it for registerrpc.
5331 * sunrpc/xcrypt.c: Use it for passwd2des.
5332
66274218
AJ
5333 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
5334
61f65140
L
53352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
5338 Don't define if [__SYSCALL_WORDSIZE != 32].
5339 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
5340 New macro.
5341
5fefb436
AJ
53422012-05-21 Bruno Haible <bruno@clisp.org>
5343 Andreas Jaeger <aj@suse.de>
5344
5345 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
5346 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
5347 inptr and inend for must_buffer_ch.
5348 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
5349 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
5350 * stdio-common/Makefile (tests): Remove bug15.
5351 (bug15-ENV): Remove macro.
5352 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
5353 anymore.
5354
d8e272ab
AJ
53552012-05-19 Andreas Jaeger <aj@suse.de>
5356 Roland McGrath <roland@hack.frob.com>
5357
5358 * manual/contrib.texi: Completely rewritten. It contains now an
5359 alphabetical list of contributors and their contributions.
5360
4a56a162
RH
53612012-05-21 Richard Henderson <rth@twiddle.net>
5362
5363 * misc/getauxval.c (__getauxval): Use unsigned long int.
5364 * misc/sys/auxv.h: Include <sys/cdefs.h>.
5365 (getauxval): Use unsigned long int.
5366
d024d23c
L
53672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
5368
5369 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5370
cbc00a03
RM
53712012-05-21 Roland McGrath <roland@hack.frob.com>
5372
5373 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
5374 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
5375 __alignof__ (long double).
5376
478143fa
AZ
53772012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5378
5379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5380
c7683a6d
RH
53812012-05-20 Richard Henderson <rth@twiddle.net>
5382
5383 * misc/getauxval.c: New file.
5384 * misc/sys/auxv.h: New file.
5385 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
5386 (routines): Add getauxval.
5387 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
5388 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
5389 * elf/dl-sysdep.c (_dl_auxv): Remove.
5390 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
5391 * elf/dl-support.c (_dl_auxv): New variable.
5392 (_dl_aux_init): Initialize it.
5393 * manual/startup.texi (Auxiliary Vector): New node.
5394 * sysdeps/generic/bits/hwcap.h: New file.
5395 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
5396 * sysdeps/powerpc/sysdep.h: ... here. Include it.
5397 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
5398 * sysdeps/sparc/sysdep.h: ... here. Include it.
5399 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
5400 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
5401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5402 Update.
c7683a6d
RH
5403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
5404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
5405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
5406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
5407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
5409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
5410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
5411
a6f1845d
AZ
54122012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5413
5414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5415
cbcbe830
DM
54162012-05-19 David S. Miller <davem@davemloft.net>
5417
5418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5419
e0b16cc2
JM
54202012-05-19 Joseph Myers <joseph@codesourcery.com>
5421
5422 [BZ #14123]
5423 * math/s_ccosh.c: Include <float.h>
5424 (__ccosh): Avoid internal overflow calculating sinh and cosh
5425 values before multiplying by sin and cos values.
5426 * math/s_ccoshf.c: Likewise.
5427 * math/s_ccoshl.c: Likewise.
5428 * math/s_csin.c: Likewise.
5429 * math/s_csinf.c: Likewise.
5430 * math/s_csinl.c: Likewise.
5431 * math/s_csinh.c: Likewise.
5432 * math/s_csinhf.c: Likewise.
5433 * math/s_csinhl.c: Likewise.
5434 * math/libm-test.inc (ccos_test): Add more tests.
5435 (ccosh_test): Likewise.
5436 (csin_test): Likewise.
5437 (csinh_test): Likewise.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440
6ad13e08
L
54412012-05-19 H.J. Lu <hongjiu.lu@intel.com>
5442
f66f0ce8
L
5443 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
5444 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5445
6ad13e08
L
5446 * sysdeps/x86_64/x32/_itoa.h: Add comment.
5447
b1d072a7
JM
54482012-05-19 Joseph Myers <joseph@codesourcery.com>
5449
5450 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
5451 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
5452 * sysdeps/powerpc/soft-fp/Versions: Likewise.
5453 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
5454 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
5455 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
5456 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
5457 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
5458 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
5459 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
5460 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
5461 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
5462 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
5463 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
5464 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
5465 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
5466 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
5467 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
5468 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
5469 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
5470 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
5471 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
5472 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
5473 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
5474 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
5475 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
5476 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
5477 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
5478 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
5479 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
5480 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
5481
9eae47cb
AJ
54822012-05-18 Andreas Jaeger <aj@suse.de>
5483
5484 * csu/.gitignore: Delete.
5485
bb07f69f
L
54862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5487
5488 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
5489 (timex): Use __syscall_slong_t.
5490
e6bdb741
AJ
54912012-05-18 Andreas Jaeger <aj@suse.de>
5492 Carlos O'Donell <carlos_odonell@mentor.com>
5493
5494 * manual/install.texi (Configuring and compiling): Update
5495 description about files modified in the source directory.
d6c33fda 5496 * INSTALL: Regenerated.
e6bdb741 5497
1b74487e
L
54982012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5499
5500 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
5501 value. Use "or" to set return value to -1.
5502 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
5503 negate return value.
5504
a88b64b9
TMQMF
55052012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5506
5507 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
5508 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
5509 failure if the compiler has Graphite support disabled.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
5511 Likewise.
5512 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
5513 CFLAGS-memmove.c): Likewise.
5514 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
5515 Likewise.
5516
3707636e
L
55172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
5518
610b8622
L
5519 * sysdeps/x86_64/x32/_itoa.h: New file.
5520
7cd195df
L
5521 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
5522 getdents system call only if kernel and user dirents have the
5523 same d_ino and d_off.
5524
94b07d20
L
5525 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5526 LLONG_MAX != LONG_MAX.
5527 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5528 (_fitoa_word): Likewise.
5529
18298070
L
5530 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
5531 years.
5532 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
5533 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
5534 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
5535
553c7ea4
L
5536 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
5537 include <bits/wordsize.h>. Check __x86_64__ instead of
5538 __WORDSIZE.
5539 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
5540 if __x86_64__ is defined. Use anonymous union on fpstate.
5541
3707636e
L
5542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
5543 anonymous union.
5544
b53ef01a
AS
55452012-05-18 Andreas Schwab <schwab@linux-m68k.org>
5546
37fb1dc0
AS
5547 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5548 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
5549 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
5550 Refer to _rtld_local_ro instead of _rtld_global_ro.
5551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
5552 Likewise.
5553 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
5554 Likewise.
5555 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
5556 Likewise.
5557 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
5558 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
5559 of _rtld_global, and rtld_progname instead of _dl_argv[0].
5560
b53ef01a
AS
5561 * sysdeps/powerpc/powerpc32/dl-machine.c
5562 (__elf_machine_runtime_setup) [PROF]: Don't reference
5563 _dl_prof_resolve.
5564
7a185db2
AJ
55652012-05-18 Andreas Jaeger <aj@suse.de>
5566
5567 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
5568 function only available for GCCs before 3.4 since GCC 3.4
5569 introduced a builtin.
5570 (lrint): Likewise.
5571 (llrintf): Likewise.
5572 (llrint): Likewise.
5573 (fmaxf): Likewise.
5574 (fmax): Likewise.
5575 (fminf): Likewise.
5576 (fmin): Likewise.
5577 (rint): Likewise.
5578 (rintf): Likewise.
5579 (nearbyint): Likewise.
5580 (nearbyintf): Likewise.
5581 (ceil): Likewise.
5582 (ceilf): Likewise.
5583 (floor): Likewise.
5584 (floorf): Likewise.
5585
3e5aef87
L
55862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5587
428bd707
L
5588 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
5589 on both fields and cast pointer to __syscall_ulong_t.
5590
3e5aef87
L
5591 * bits/types.h (__fsword_t): New type.
5592 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
5593 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
5594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5595 (__FSWORD_T_TYPE): Likewise.
5596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5597 (__FSWORD_T_TYPE): Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5599 (__FSWORD_T_TYPE): Likewise.
5600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
5601 (__FSWORD_T_TYPE): Likewise.
5602 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
5603 __SWORD_TYPE with __fsword_t.
5604 (statfs64): Likewise.
5605
1ba7c3dc
DM
56062012-05-17 David S. Miller <davem@davemloft.net>
5607
5608 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
5609
59910343
AJ
56102012-05-17 Andreas Jaeger <aj@suse.de>
5611
5612 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
5613 warning.
5614
2e4c1e9e
L
56152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5616
5617 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
5618
de7f5ce7
AJ
56192012-05-17 Andreas Jaeger <aj@suse.de>
5620
5621 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
5622 when it is used.
5623
286abc3d
CM
56242012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5625
5626 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
5627
477cc68e
L
56282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
5629
5630 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
5631 * sysdeps/x86_64/tst-mallocalign1.c: New file.
5632
1a0994f5
CD
56332012-05-17 Andreas Jaeger <aj@suse.de>
5634 Carlos O'Donell <carlos_odonell@mentor.com>
5635
5636 [BZ #14059]
5637 * sysdeps/x86_64/multiarch/init-arch.h
5638 (bit_YMM_Usable): Rename to...
5639 (bit_AVX_Usable): ... this.
5640 (bit_FMA4_Usable): New macro.
5641 (bit_XMM_state): New macro.
5642 (bit_YMM_state): New macro.
5643 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
5644 [__ASSEMBLER__] (index_AVX_Usable): ... this.
5645 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
5646 (CPUID_OSXSAVE): New macro.
5647 (CPUID_AVX): New macro.
5648 (CPUID_FMA4): New macro.
5649 (index_YMM_Usable): Rename to...
5650 (index_AVX_Usable): ... this.
5651 (HAS_AVX): Use HAS_ARCH_FEATURE.
5652 (HAS_FMA4): Likewise.
5653 (HAS_YMM_USABLE): Remove.
5654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5655 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
5656 are present.
5657 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
5658 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
5659 * sysdeps/x86_64/multiarch/Makefile: Likewise.
5660 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
5661 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
5662
0af797de
CM
56632012-05-17 Chris Metcalf <cmetcalf@tilera.com>
5664
5665 * math/libm-test.c: Support platforms without multiple rounding modes.
5666 * math/bug-nextafter.c: Support platforms without FP exceptions.
5667 * math/bug-nexttoward.c: Likewise.
5668 * math/test-fenv.c: Likewise.
5669 * math/test-misc.c: Likewise.
5670 * stdlib/bug-getcontext.c: Likewise.
5671
e39745ff
AJ
56722012-05-17 Andreas Jaeger <aj@suse.de>
5673
5674 * manual/examples/search.c (critter_cmp): Change signature to
5675 avoid warnings.
5676 * manual/string.texi (Collation Functions): Likewise.
5677
48970aba
L
56782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5679
5680 * bits/types.h: Fold copyright years.
5681 * bits/typesizes.h: Likewise.
5682 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
5683 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5684 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
5685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
5686 * time/time.h: Likewise.
5687
bedee953
PP
56882012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5689
5690 [BZ #208]
5691 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
5692 in instead of returning them. Return void.
5693 (__libc_mallinfo): Accumulate over all arenas.
5694 (__malloc_stats): Adjust for change in int_mallinfo interface.
5695
61653dfb
RM
56962012-05-16 Roland McGrath <roland@hack.frob.com>
5697
30b99d79
RM
5698 [BZ #10375]
5699 * configure.in (NM): Add AC_CHECK_TOOL for it.
5700 (libc_extra_cflags): New substituted variable.
5701 Check for -fstack-protector being used implicitly.
5702 * configure: Regenerated.
5703 * config.make.in (config-extra-cflags): New variable,
5704 gets @libc_extra_cflags@.
5705 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
5706
61653dfb
RM
5707 [BZ #10375]
5708 * configure.in: Check for _FORTIFY_SOURCE being predefined.
5709 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
5710 * configure: Regenerated.
5711 * config.make.in (CPPUNDEFS): New substituted variable.
5712 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
5713 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
5714 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
5715
661768bb
L
57162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5717
5718 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
5719 (mq_attr): Use __syscall_slong_t.
5720
d4261567
L
57212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5722
5723 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
5724 Check __x86_64__ instead of __WORDSIZE.
5725 (_STAT_VER_LINUX): Likewise.
5726 (stat): Check __x86_64__ instead of __WORDSIZE. Use
5727 __syscall_ulong_t and __syscall_slong_t.
5728 (stat64): Likewise.
5729
cf3ff365
L
57302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5731
5732 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
5733
76cf3e4d
L
57342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
5737
a637753a
L
57382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5739
5740 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
5741 __syscall_ulong_t.
5742
d5e05119
L
5743 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
5744 include <bits/wordsize.h>. Check __x86_64__ instead of
5745 __WORDSIZE.
5746 (greg_t): Use "__extension__ long long int" if __x86_64__ is
5747 defined.
5748 (mcontext_t): Replace "unsigned long" with "unsigned long long".
5749
f62ee380
L
5750 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
5751 include <bits/wordsize.h>. Check __x86_64__ instead of
5752 __WORDSIZE.
5753 (user_regs_struct): Use "__extension__ unsigned long long"
5754 instead of "unsigned long" if __x86_64__ is defined.
5755 (user): Likewise. Pad after pointer field if __ILP32__ is
5756 defined.
5757
4e124ced
JM
57582012-05-16 Joseph Myers <joseph@codesourcery.com>
5759
6a3951a0
JM
5760 * configure.in (makeinfo): Require version 4.5 or later. Allow
5761 versions 5 to 9.
5762 * configure: Regenerated.
5763 * manual/install.texi (texinfo): Increase version requirement to
5764 4.5 or later.
5765 * INSTALL: Regenerated.
5766
4e124ced
JM
5767 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
5768
953ca31a
L
57692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
5770
5771 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
5772
617aca05
L
5773 * sysdeps/x86_64/x32/ffs.c: New file.
5774
5762f7ae
L
5775 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
5776 __syscall_ulong_t.
5777 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
5778 defined. Use __syscall_ulong_t.
5779 (shminfo): Use __syscall_ulong_t.
5780 (shm_info): Likewise.
5781
a26b6856
L
5782 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
5783 __syscall_ulong_t.
5784
cb2b9ef7
L
5785 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
5786 <bits/wordsize.h>.
5787 (msgqnum_t): Use __syscall_ulong_t.
5788 (msglen_t): Likewise.
5789 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
5790 __syscall_ulong_t.
5791
34683bb0
L
5792 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
5793 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5794
84a68786
L
5795 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
5796
48baa5f1
L
5797 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
5798 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
5799
180be88b
L
5800 * sysvipc/sys/msg.h (msgbuf): Replace long int with
5801 __syscall_slong_t.
5802
5e90c8ad
L
5803 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
5804 include <bits/wordsize.h>. Check __x86_64__ instead of
5805 __WORDSIZE.
5806
23dfb58b
L
5807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
5808 "unsigned long long int" if __x86_64__ is defined.
5809 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
5810
ce5d54b0
L
5811 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
5812 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
5813 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
5814
13dc9eac
L
5815 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
5816 <stdint.h>.
5817 (GET_PC): Cast to uintptr_t first.
5818 (GET_FRAME): Likewise.
5819 (GET_STACK): Likewise.
5820
a7895d15
L
5821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
5822 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
5823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
5825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
5829 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
5830 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
5831 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
5832 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
5833 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5834 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
5835 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
5836 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
5837 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
5838 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
5839 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
5840 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
5841 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
5842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
5843 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
5844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
5845 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
5846 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
5847 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
5848 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
5849 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
5850
656416c9
AS
58512012-05-16 Andreas Schwab <schwab@linux-m68k.org>
5852
5bd66283
AS
5853 * Makerules (+depfiles): Also collect depfiles from .oS in
5854 $(extra-objs).
5855 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
5856 .oS, $(libnldbl-routines)).
5857
656416c9
AS
5858 * Makerules (native-compile-mkdep-flags): Define.
5859 * sunrpc/Makefile (extra-objs): Add $(addprefix
5860 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
5861 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
5862 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
5863 calling $(make-target-directory).
5864
a46f2169
L
58652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5866
5867 * bits/types.h (__snseconds_t): Removed.
5868 * time/time.h (struct timespec): Replace __snseconds_t with
5869 __syscall_slong_t.
5870 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
5871 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
5872 Likewise.
5873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5874 (__SNSECONDS_T_TYPE): Likewise.
5875 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5876 (__SNSECONDS_T_TYPE): Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5878 (__SNSECONDS_T_TYPE): Likewise.
5879
6af6528b
L
58802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5881
5882 * sysdeps/mach/hurd/bits/typesizes.h
5883 (__SYSCALL_SLONG_TYPE): New macro.
5884 (__SYSCALL_ULONG_TYPE): Likewise.
5885
de986b56
L
58862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5887
5888 * bits/types.h (__syscall_slong_t): New type.
5889 (__syscall_ulong_t): Likewise.
5890
5891 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
5892 (__SYSCALL_ULONG_TYPE): Likewise.
5893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5894 (__SYSCALL_SLONG_TYPE): Likewise.
5895 (__SYSCALL_ULONG_TYPE): Likewise.
5896 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5897 (__SYSCALL_SLONG_TYPE): Likewise.
5898 (__SYSCALL_ULONG_TYPE): Likewise.
5899 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5900 (__SYSCALL_SLONG_TYPE): Likewise.
5901 (__SYSCALL_ULONG_TYPE): Likewise.
5902
85736dc7
L
59032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5904
5905 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
5906 Add sigaltstack-offsets.sym.
5907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
5908 <sigaltstack-offsets.h>.
5909 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
5910 longjmp_msg pointer.
5911 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
5912 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
5913 signal stack.
5914 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
5915
cc03b296
JM
59162012-05-15 Joseph Myers <joseph@codesourcery.com>
5917
a9538892
JM
5918 * elf/stackguard-macros.h: Remove file.
5919 * sysdeps/generic/stackguard-macros.h: New file.
5920 * sysdeps/i386/stackguard-macros.h: Likewise.
5921 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5922 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5923 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5924 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5925 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5926 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5927 * sysdeps/x86_64/stackguard-macros.h: Likewise.
5928 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
5929 <elf/stackguard-macros.h>.
5930
cc03b296
JM
5931 [BZ #14109]
5932 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5933 __aligned__ in attribute.
5934 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
5935 (gregset_t): Likewise.
5936
93171016
L
59372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5938
5939 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
5940 * sysdeps/x86_64/64/Implies-after: Here. New file.
5941 * sysdeps/x86_64/x32/Implies-after: New file.
5942
d86813a0
L
59432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5944
5945 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
5946 and access return value for _dl_profile_fixup. Use R10_LP to
5947 load frame size.
5948
2953ec75
L
59492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5950
5951 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
5952
3b550e9e
L
59532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
5956 * sysdeps/x86_64/x32/sysdep.h: New file.
5957
eda41706
L
59582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5959
5960 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
5961 * sysdeps/x86_64/setjmp.S: Likewise.
5962
9ea01d93
AZ
59632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5964
5965 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
5966 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
5967 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
5968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
5969 remove unused global constant.
5970
02a91938
CM
59712012-05-15 Chris Metcalf <cmetcalf@tilera.com>
5972
5973 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
5974 include of <not-cancel.h>.
5975
6540185f
RM
59762012-05-15 Roland McGrath <roland@hack.frob.com>
5977
5978 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
5979
509072a0
AJ
59802012-05-15 Jeff Law <law@redhat.com>
5981 Andreas Jaeger <aj@suse.de>
5982
5983 [BZ #13594]
5984 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
5985 out from...
5986 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
5987 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
5988 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
5989 code changing __hst_map_handle.map.
5990
ba75122d
RM
59912012-05-15 Roland McGrath <roland@hack.frob.com>
5992
5993 * configure.in (sysnames): Look for Implies-before and Implies-after
5994 files.
5995 * configure: Regenerated.
5996
890d8bd8
L
59972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
5998
5999 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6000 8-byte data alignment with LP_SIZE alignment.
6001
f6ee6623
L
60022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6003
6004 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6005 into R10_LP.
6006
ea2626f6
L
60072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6008
6009 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6010
085f715e
L
60112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6012
6013 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6014 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6016 Likewise.
6017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6018
be8498fc
L
60192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6022 (stackinfo_sub_sp): Likewise.
6023
70bc83b9
L
60242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6025
6026 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6027 RAX_LP.
6028
9bc0b730
L
60292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6030
6031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6032 into R*_LP.
6033
6d2850e7
L
60342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6035
6036 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6037 sizes into R*_LP.
6038
3cb84561
L
60392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6042
54e2ed81
L
60432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6044
6045 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6046 into R11_LP and load __x86_64_shared_cache_size_half into
6047 R8_LP.
6048
8a17f349
L
60492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6050
6051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6052 R8_LP.
6053
777b1eea
AZ
60542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6055
6056 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
6057 logb for POWER7.
6058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
6059 logbf for POWER7.
6060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
6061 logbl for POWER7.
6062 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
6063 powerpc32/power7/fpu/s_logb.c via #include.
6064 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
6065 powerpc32/power7/fpu/s_logbf.c via #include.
6066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
6067 powerpc32/power7/fpu/s_logbl.c via #include.
6068
d20d4ac2
JM
60692012-05-15 Joseph Myers <joseph@codesourcery.com>
6070
6071 * README.libm: Remove file.
6072
6cdef1ab
L
60732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6074
6075 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
6076 count for x32. Use R*_LP and omit operand-size suffix.
6077
0b254d8f
L
60782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6079
6080 * shlib-versions: Move x86_64-.*-linux.* entries to ...
6081 * sysdeps/x86_64/64/shlib-versions: Here. New file.
6082 * sysdeps/x86_64/x32/shlib-versions: New file.
6083
ceb809dc
RM
60842012-05-14 Roland McGrath <roland@hack.frob.com>
6085
6086 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
6087 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
6088 Use _dl_fatal_printf instead.
6089
37f1abd4
JM
60902012-05-14 Joseph Myers <joseph@codesourcery.com>
6091
6092 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
6093 set if not set by the user. Do not allow for being unset.
6094 * sysdeps/unix/sysv/linux/configure: Regenerated.
6095
11de3a33
L
60962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6097
6098 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
6099 the `q' suffix from lea and replace .quad with ASM_ADDR.
6100
e02f153a
L
61012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6102
6103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
6104 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
6105 instead of $17.
6106 (PTR_DEMANGLE): Likewise.
6107
520ae0fd
L
61082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6109
6110 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
6111 (LP_OP): Likewise.
6112 (ASM_ADDR): Likewise.
6113 (RAX_LP): Likewise.
6114 (RBP_LP): Likewise.
6115 (RBX_LP): Likewise.
6116 (RCX_LP): Likewise.
6117 (RDI_LP): Likewise.
6118 (RSI_LP): Likewise.
6119 (RSP_LP): Likewise.
6120 (R8_LP): Likewise.
6121 (R9_LP): Likewise.
6122 (R10_LP): Likewise.
6123 (R10_LP): Likewise.
6124 (R11_LP): Likewise.
6125 (R12_LP): Likewise.
6126 (R13_LP): Likewise.
6127 (R14_LP): Likewise.
6128 (R15_LP): Likewise.
6129
b985be81
L
61302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6131
6132 * sysdeps/x86_64/x32/dl-machine.h: New file.
6133
6a4888ff
AJ
61342012-05-14 Andreas Jaeger <aj@suse.de>
6135
6136 * manual/Makefile (subdir): Remove export of subdir.
6137 (all): Remove target.
6138 (.PHONY): Remove all from list.
6139 (mkinstalldirs): Remove.
6140 (.PHONY): Remove installdirs from list.
6141 ($(inst_infodir)/libc.info): Use make-target-directory.
6142 (installdirs): Remove.
6143 (subdir_%): Remove.
6144 (glibc-targets): Remove.
6145 (lib): Remove.
6146 (stubs): Remove.
6147 ($(objpfx)stubs ../po/manual.pot): Remove.
6148 ($(objpfx)stamp%): Remove.
6149 (make-target-directory): Remove.
6150 (subdir_install): Remove.
6151 (routines): Remove.
6152 (aux): Remove.
6153 (sources): Remove.
6154 (objects): Remove.
6155 (headers): Remove.
6156
6157 [BZ #13750]
6158 * manual/.gitignore: Remove, it's not needed anymore.
6159 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
6160 all files in it.
6161 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
6162 directory.
6163 (texis): Renamed to $(objpfx)texis.
6164 (texis-path): New, contains path to generated files.
6165 (chapters.%): Use texis-path for complete path, add extra argument
6166 libc-texinfo.sh.
6167 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
6168 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
6169 (summary,texi, stamp-summary): Use complete path of
6170 files. Generate files in build dir.
6171 (dir-add.texi): Build in build dir.
6172 (libm-err.texi,stamp-libm-err): Likewise.
6173 (version.texi, stamp-version): Likewise.
6174 (.%c.texi): Likewise.
6175 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
6176 (mostlyclean): Remove target.
6177 (realclean): Remove target.
6178 (generated): Add new variable with contents from mostlyclean and
6179 realclean, remove entries duplicated in common-mostlyclean, add
6180 stamp-libm-err and stamp-version.
6181 (generated-dirs): Add libc directory.
6182 ($(inst_infodir)/libc.info): Install files from build dir.
6183
6184 * manual/install.texi (Configuring and compiling): Adjust since
6185 the info files are not part of the tar ball anymore.
6186
7ac77294
AJ
61872012-05-14 Andreas Jaeger <aj@suse.de>
6188
6189 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
6190 variable.
6191
ffb7875d
JM
61922012-05-14 Joseph Myers <joseph@codesourcery.com>
6193
6194 [BZ #13717]
6195 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
6196 to 2.2.0 where earlier.
6197 * sysdeps/unix/sysv/linux/configure: Regenerated.
6198 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
6199 Remove conditional code.
6200 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
6201 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
6202 Remove conditional code.
6203 [!__NR_lchown]: Likewise.
6204 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6205 [__NR_lchown]: Likewise.
6206 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
6207 comment referencing __ASSUME_LCHOWN_SYSCALL.
6208 * sysdeps/unix/sysv/linux/i386/sigaction.c
6209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6211 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
6212 Remove conditional code.
6213 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
6214 (__protocol_available): Remove #if 0 code.
6215 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
6216 conditional code.
6217 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
6218 * sysdeps/unix/sysv/linux/kernel-features.h
6219 (__ASSUME_GETCWD_SYSCALL): Don't define.
6220 (__ASSUME_REALTIME_SIGNALS): Likewise.
6221 (__ASSUME_PREAD_SYSCALL): Likewise.
6222 (__ASSUME_PWRITE_SYSCALL): Likewise.
6223 (__ASSUME_POLL_SYSCALL): Likewise.
6224 (__ASSUME_LCHOWN_SYSCALL): Likewise.
6225 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
6226 non-SPARC.
6227 (__ASSUME_SIOCGIFNAME): Don't define.
6228 (__ASSUME_MSG_NOSIGNAL): Likewise.
6229 (__ASSUME_SENDFILE): Define unconditionally.
6230 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
6231 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
6232 conditional code.
6233 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
6234 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
6235 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6236 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6237 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
6238 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
6239 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
6241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
6247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
6253 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
6256 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
6257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
6259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
6262 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6263 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6264 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
6265 Remove conditional code.
6266 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6267 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6268 Remove conditional code.
6269 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6270 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
6271 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
6272 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6273 Remove conditional code.
6274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6275 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
6276 Remove conditional code.
6277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6278 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
6279 Remove conditional code.
6280 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6281 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
6282 Remove conditional code.
6283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
6284 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
6285 Remove conditional code.
6286 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6287 * sysdeps/unix/sysv/linux/sh/pwrite64.c
6288 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
6289 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
6290 * sysdeps/unix/sysv/linux/sigaction.c
6291 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6292 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6293 * sysdeps/unix/sysv/linux/sigpending.c
6294 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6295 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6296 * sysdeps/unix/sysv/linux/sigprocmask.c
6297 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6298 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6299 * sysdeps/unix/sysv/linux/sigsuspend.c
6300 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
6301 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
6302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6303 (__libc_missing_rt_sigs): Remove.
6304 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
6305 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
6306 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
6307 Remove conditional code.
6308 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
6309 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
6310 return 1.
6311 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
6312 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
6313 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
6314 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
6315
1bfb7291
AJ
63162012-05-14 Andreas Jaeger <aj@suse.de>
6317
caae5a81
AJ
6318 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
6319 it's not used in glibc.
6320 (__coshm1): Likewise.
6321 (__acosh1p): Likewise.
6322 (__sgn): Likewise.
6323
1bfb7291
AJ
6324 * manual/string.texi (Copying and Concatenation): Add missing
6325 variable in concat example.
6326 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6327
c044d724
L
63282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6329
144c5467 6330 [BZ #14103]
c044d724
L
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
6332 __builtin_clzl with __builtin_clzll.
6333
2523c62b
L
63342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
6335
6336 [BZ #14104]
6337 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
6338 libc_freeres_ptr.
6339
d7bb4c42
LD
63402012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6341
6342 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
6343 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
6344 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
6345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
6346
9dc4e1fb
MF
63472012-05-14 Mike Frysinger <vapier@gentoo.org>
6348
6349 * NEWS: Update ia64 info.
6350
c7df0112
AS
63512012-05-12 Andreas Schwab <schwab@linux-m68k.org>
6352
6353 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
6354 used as bcopy.
6355
dc70356c
TS
63562012-05-12 Thomas Schwinge <thomas@codesourcery.com>
6357
6358 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
6359 * sysdeps/unix/syscalls.list (dup3): Likewise.
6360 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
6361 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
6362
9fb1a21f
L
63632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6364
6365 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
6366 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
6367
4822a2a5
L
63682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
6369
6370 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
6371 thread pointer.
6372 (TLS_IE): Use mov/add instead of movq/addq to load thread
6373 pointer.
6374 (TLS_GD_PREFIX): New.
6375 (TLS_GD): Use it.
6376
842b81d6
DM
63772012-05-11 David S. Miller <davem@davemloft.net>
6378
6379 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
6380 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
6381 (_FPU_SETCW): Likewise.
6382
1cf463cd
L
63832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
6386 is 32-byte aligned.
6387
60cc4a18
AS
63882012-05-11 Andreas Schwab <schwab@linux-m68k.org>
6389
6390 [BZ #11837]
6391 * iconvdata/gb18030.c: Update tables.
6392 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
6393 characters specially.
6394 (BODY for TO_LOOP): Add encoding of missing ranges.
6395
febb44a4
TS
63962012-05-11 Thomas Schwinge <thomas@codesourcery.com>
6397
6398 [BZ #13673]
6399 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
6400 * sysdeps/mach/hurd/dup3.c: Likewise.
6401 * sysdeps/mach/hurd/readlinkat.c: Likewise.
6402 * sysdeps/powerpc/memmove.c:: Likewise.
6403
0a10fb9e
L
64042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6405
6406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
6407 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
6408
df8a552f
L
64092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6410
6411 * elf/elf.h (R_X86_64_RELATIVE64): New.
6412 (R_X86_64_NUM): Updated.
6413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
6414 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
6415 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
6416 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
6417 tst-quad1pie tst-quad2pie
6418 (modules-names): Add tst-quadmod1 tst-quadmod2.
6419 ($(objpfx)tst-quad1): New dependency.
6420 ($(objpfx)tst-quad2): Likewise.
6421 ($(objpfx)tst-quad1pie): Likewise.
6422 ($(objpfx)tst-quad2pie): Likewise.
6423 * sysdeps/x86_64/tst-quad1.c: New file.
6424 * sysdeps/x86_64/tst-quad1pie.c: New file.
6425 * sysdeps/x86_64/tst-quad2.c: Likewise.
6426 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
6427 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
6428 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
6429 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
6430 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
6431
f34d6f84
ST
64322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6433
f42d41d1
ST
6434 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
6435 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
6436 * streams/stropts.h (t_scalar_t): Define type.
6437
3c3571fc
ST
6438 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
6439 (_PATH_PRESERVE): Set to "/var/lib".
6440 (_PATH_RWHODIR): Set to "/var/spool/rwho".
6441
61f06bd3
ST
6442 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
6443 instead of int.
6444
918d4d71
ST
6445 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
6446 if __dir_mkfile succeeded.
6447
f34d6f84
ST
6448 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
6449 checking for _hurd_dtablesize. Unlock it right after having
6450 finished _hurd_dtable allocation.
6451
10589b4a
TS
64522012-05-10 Thomas Schwinge <thomas@schwinge.name>
6453
674cdbc7
TS
6454 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
6455 * sysdeps/mach/hurd/configure: Regenerated.
6456 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
6457 special-casing to...
6458 * sysdeps/gnu/configure.in: ... this new file.
6459 * sysdeps/unix/sysv/linux/configure: Regenerated.
6460 * sysdeps/gnu/configure: New generated file.
6461
8e41b99f
TS
6462 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
6463 for Linux: use nsec instead of usec, as well as:
6464 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
6465 members of type struct timespec.
6466 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
6467 New macros.
6468 (struct stat64): Likewise.
6469 (_STATBUF_ST_NSEC): New macro.
6470 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
6471
10589b4a
TS
6472 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6473 __strtoul_internal rather than strtoul.
6474
63643c85
PT
64752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6476
6477 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
6478 and reject them.
6479
3faebe6a
ST
64802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6481
6482 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
6483 which preserves existing values.
6484 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
6485
c6474b07
PT
64862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6487
6488 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
6489 TIMEOUT values. Return EINVAL for NFDS values either negative or
6490 greater than FD_SETSIZE.
6491
1043890b
ST
64922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6493
6494 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
6495 allocated, call __vm_protect to finish enabling the existing space, and
6496 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
6497 allocate the remainder.
6498
37ed8b9b
PT
64992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6500
6501 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
6502 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
6503
db653660
ST
65042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6505
37ed8b9b
PT
6506 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
6507 sysdeps/mach/hurd/readlink.c.
b29d4053 6508
db653660
ST
6509 * posix/tst-sysconf.c (posix_options): Only use
6510 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
6511 _POSIX_SYNCHRONIZED_IO when they are defined
6512 * sysdeps/mach/hurd/bits/posix_opt.h:
6513 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
6514 (_XOPEN_REALTIME): Undefine macro.
6515 (_XOPEN_REALTIME_THREADS): Undefine macro.
6516 (_XOPEN_SHM): Undefine macro.
6517 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
6518 macro to -1.
6519 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
6520 macro to -1.
6521 (_POSIX_ASYNC_IO): Undefine macro.
6522 (_POSIX_PRIORITIZED_IO): Undefine macro.
6523 (_POSIX_SPIN_LOCKS): Define macro to -1.
6524
ee16e894
ST
6525 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
6526 SA_NODEFER, SA_RESETHAND.
6527 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
6528 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
6529 F_DUPFD_CLOEXEC.
6530
6103ae3b
TS
65312012-05-10 Thomas Schwinge <thomas@schwinge.name>
6532
6533 * elf/Makefile (pldd-modules): Define unconditionally.
6534
80b4e5f3
TS
65352012-05-10 Thomas Schwinge <thomas@schwinge.name>
6536
6537 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
6538
edadcbd6
ST
65392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6540
6541 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
6542 Return ENOENT when name is empty.
6543 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
6544
80694780
TS
65452012-05-10 Thomas Schwinge <thomas@schwinge.name>
6546
1792c087
TS
6547 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
6548
80694780
TS
6549 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
6550
6b645f0d
ST
65512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6552
80694780
TS
6553 Fix mlock in all cases except non-readable pages.
6554 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
6555 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 6556
6b645f0d
ST
6557 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
6558 (__mkdir): When path is `/', just fail with EEXIST.
6559 * sysdeps/mach/hurd/mkdirat.c: Likewise.
6560
e468f8a3
TS
65612012-05-10 Thomas Schwinge <thomas@schwinge.name>
6562
6563 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
6564 <sys/uio.h> (for writev).
6565 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
6566 and <sys/param.h> (for MIN).
6567
a4186cff
PT
65682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
6569
6570 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
6571 REQUESTED_TIME. Properly set the remaining time and return EINTR
6572 if interrupted.
6573
510bbf14
TS
65742012-05-10 Thomas Schwinge <thomas@schwinge.name>
6575
6576 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
6577 Depend on against $(link-rpcuserlibs).
6578
5d5722e8
ST
65792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6580
a4186cff
PT
6581 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
6582 (__libc_stack_end): Do not use attribute_relro.
6583 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
6584 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 6585 to libthread-provided value.
a4186cff
PT
6586 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
6587 attribute_relro.
5d5722e8 6588
37233df9
TS
65892012-05-10 Thomas Schwinge <thomas@schwinge.name>
6590
be971a2b
TS
6591 [BZ #3748]
6592 * bits/libc-lock.h (__libc_once_get): New macro.
6593 * sysdeps/mach/bits/libc-lock.h: Likewise.
6594 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
6595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
6596 instead of using implementation details.
6597
37233df9
TS
6598 * libio/fileops.c: Unconditionally include <kernel-features.h>.
6599 * libio/freopen.c: Likewise.
6600 * libio/freopen64.c: Likewise.
6601 * misc/syslog.c: Likewise.
6602 * nscd/connections.c: Likewise.
6603 * nscd/netgroupcache.c: Likewise.
6604 * sysdeps/posix/getcwd.c: Likewise.
6605
38de94a5
RM
66062012-05-10 Roland McGrath <roland@hack.frob.com>
6607
6608 * math/w_ilogbf.c: Add #include <limits.h>.
6609
67530489
ST
66102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6611
a4186cff 6612 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
6613 path instead of returning without unlocking.
6614
67530489
ST
6615 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
6616 immediate-write ioctls.
6617 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
6618
5aa3a74a
TS
66192012-05-10 Thomas Schwinge <thomas@schwinge.name>
6620
18bad2ae
TS
6621 * sysdeps/mach/hurd/i386/init-first.c (init): Use
6622 __builtin_frame_address instead of making assumptions about the
6623 location of the return address relative to DATA. Force early load of
6624 the return address.
6625 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
6626 __builtin_frame_address.
6627
5aa3a74a
TS
6628 dup3 for GNU Hurd.
6629 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
6630 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
6631 implement dup3 and do some further code clean-ups.
6632 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
6633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
6634
ecd0de9a
ST
66352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6636
cd9fa985
ST
6637 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
6638
a4186cff
PT
6639 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
6640 HURD_CRITICAL_END around holding _hurd_dtable_lock.
6641 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
6642 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
6643 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
6644 d->port.lock.
802ca5a5 6645
a4186cff
PT
6646 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
6647 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
6648 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 6649
bcf55240
TS
66502012-05-10 Thomas Schwinge <thomas@schwinge.name>
6651
6960eb42
TS
6652 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
6653 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
6654 definitions.
6655
eb43375f
TS
6656 accept4 for GNU Hurd.
6657 * include/sys/socket.h (__libc_accept4): New prototype.
6658 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
6659 to implement __libc_accept4.
6660 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
6661 __libc_accept4.
6662 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
6663
bcf55240
TS
6664 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
6665 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
6666 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
6667 signal-defines.sym.
6668
6178c55b
ST
66692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6670
a4186cff 6671 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 6672
6f080c2f
TS
66732012-05-10 Thomas Schwinge <thomas@schwinge.name>
6674
6675 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
6676 assertion on O_CLOEXEC flag.
6677 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
6678 * hurd/intern-fd.c: Likewise.
6679 * hurd/port2fd.c: Likewise.
6680
bcfe3a54
ST
66812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
6682
6683 [BZ #3906]
6684 * bits/in.h (IPV6_PKTINFO): Define new macro.
6685 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
6686
89c9aa49
AZ
66872012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6688
6689 [BZ #13954]
6690 [BZ #13955]
6691 [BZ #13956]
6692 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
6693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6694 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
6698 * math/libm-test.inc (logb_test) : Additional logb tests.
6699
021db4be
AJ
67002012-05-09 Andreas Schwab <schwab@linux-m68k.org>
6701 Andreas Jaeger <aj@suse.de>
6702
6703 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
6704 * configure: Regenerated.
6705 * config.h.in (LINK_OBSOLETE_RPC): New macro.
6706 * config.make.in (link-obsolete-rpc): New substituted variable.
6707 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
6708 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
6709 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6710 (shared-only-routines): Don't set it under [link-obsolete-rpc],
6711 so that libc.a contains the symbols.
6712 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
6713 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
6714 * sunrpc/auth_none.c: Likewise.
6715 * sunrpc/auth_unix.c: Likewise.
6716 * sunrpc/authdes_prot.c: Likewise.
6717 * sunrpc/authuxprot.c: Likewise.
6718 * sunrpc/clnt_gen.c: Likewise.
6719 * sunrpc/clnt_perr.c: Likewise.
6720 * sunrpc/clnt_raw.c: Likewise.
6721 * sunrpc/clnt_simp.c: Likewise.
6722 * sunrpc/clnt_tcp.c: Likewise.
6723 * sunrpc/clnt_udp.c: Likewise.
6724 * sunrpc/clnt_unix.c: Likewise.
6725 * sunrpc/des_crypt.c: Likewise.
6726 * sunrpc/des_soft.c: Likewise.
6727 * sunrpc/get_myaddr.c: Likewise.
6728 * sunrpc/key_call.c: Likewise.
6729 * sunrpc/key_prot.c: Likewise.
6730 * sunrpc/netname.c: Likewise.
6731 * sunrpc/pm_getmaps.c: Likewise.
6732 * sunrpc/pm_getport.c: Likewise.
6733 * sunrpc/pmap_clnt.c: Likewise.
6734 * sunrpc/pmap_prot.c: Likewise.
6735 * sunrpc/pmap_prot2.c: Likewise.
6736 * sunrpc/pmap_rmt.c: Likewise.
6737 * sunrpc/publickey.c: Likewise.
6738 * sunrpc/rpc_cmsg.c: Likewise.
6739 * sunrpc/rpc_common.c: Likewise.
6740 * sunrpc/rpc_dtable.c: Likewise.
6741 * sunrpc/rpc_prot.c: Likewise.
6742 * sunrpc/rpc_thread.c: Likewise.
6743 * sunrpc/rtime.c: Likewise.
6744 * sunrpc/svc.c: Likewise.
6745 * sunrpc/svc_auth.c: Likewise.
6746 * sunrpc/svc_raw.c: Likewise.
6747 * sunrpc/svc_run.c: Likewise.
6748 * sunrpc/svc_tcp.c: Likewise.
6749 * sunrpc/svc_udp.c: Likewise.
6750 * sunrpc/svc_unix.c: Likewise.
6751 * sunrpc/svcauth_des.c: Likewise.
6752 * sunrpc/xcrypt.c: Likewise.
6753 * sunrpc/xdr.c: Likewise.
6754 * sunrpc/xdr_array.c: Likewise.
6755 * sunrpc/xdr_float.c: Likewise.
6756 * sunrpc/xdr_intXX_t.c: Likewise.
6757 * sunrpc/xdr_mem.c: Likewise.
6758 * sunrpc/xdr_rec.c: Likewise.
6759 * sunrpc/xdr_ref.c: Likewise.
6760 * sunrpc/xdr_sizeof.c: Likewise.
6761 * sunrpc/xdr_stdio.c: Likewise.
6762
b5c086a2
RM
67632012-05-10 Roland McGrath <roland@hack.frob.com>
6764
6765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
6766 change. Update copyright years.
6767
6d74dd09
JM
67682012-05-10 Joseph Myers <joseph@codesourcery.com>
6769
6770 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
6771
28e72501
MK
67722012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
6773 Joseph Myers <joseph@codesourcery.com>
6774 Paul Pluzhnikov <ppluzhnikov@google.com>
6775
6776 [BZ #14012]
6777 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
6778 requiring rpcgen.
6779 [cross-compiling] (extra-libs): Likewise.
6780 [cross-compiling] (extra-libs-others): Likewise.
6781 [cross-compiling] (librpcsvc-routines): Likewise.
6782 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
6783 [cross-compiling] (omit-deps): Likewise.
6784 (sunrpc-CPPFLAGS): New variable.
6785 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
6786 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
6787 (cross-rpcgen-objs): New variable.
6788 (extra-objs): Append $(cross-rpcgen-objs).
6789 ($(cross-rpcgen-objs)): New rule.
6790 ($(objpfx)cross-rpcgen): Likewise.
6791 (rpcgen-cmd): Define to use $(built-program-file). Expand
6792 comment.
6793 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
6794 ($(objpfx)x%.stmp): Likewise.
6795 * sunrpc/proto.h [IS_IN_build] (_): Define.
6796 [IS_IN_build] (_libc_intl_domainname): Likewise.
6797
c8c59454
L
67982012-05-10 H.J. Lu <hongjiu.lu@intel.com>
6799
6800 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
6801 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
6802 and R_X86_64_TPOFF64.
6803
6f27cd16
JM
68042012-05-10 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
6807 sysdeps/unix/sysv/syscalls.list.
6808 (stime): Likewise.
6809 (utime): Likewise.
6810 * sysdeps/unix/sysv/syscalls.list: Remove file.
6811
02467e1c
PE
68122012-05-10 Paul Eggert <eggert@cs.ucla.edu>
6813
6814 [BZ #3440]
6815 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
6816 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
6817 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
6818 (__LC_IDENTIFICATION): Make these macros useful in #if
6819 expressions, as required by C99.
6820
da392631
AS
68212012-05-10 Andreas Schwab <schwab@linux-m68k.org>
6822
6823 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
6824 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
6825 after this.
6826
8115f29b
L
68272012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6828
6829 * stdlib/longlong.h: Updated from GCC.
6830
bdd74070
AJ
68312012-05-09 Andreas Jaeger <aj@suse.de>
6832
edfe0dbe
AJ
6833 * nscd/nscd.c (run_modes): Make named enum, reorder so that
6834 default is first entry.
6835 (run_mode): Set type.
6836 (main): Remove informal message about syslog.
6837 (options): Fix typo.
6838
bcfe3a54
ST
6839 [BZ #14053]
6840 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 6841 to asm.
bcfe3a54
ST
6842 (lrint): Likewise.
6843 (llrintf): Likewise.
6844 (llrint): Likewise.
6845 (rint): Likewise.
6846 (rintf): Likewise.
6847 (nearbyint): Likewise.
6848 (nearbyintf): Likewise.
bdd74070 6849
91d8d69e
AJ
68502012-05-09 Andreas Jaeger <aj@suse.de>
6851 Pedro Alves <palves@redhat.com>
6852
6853 * nscd/nscd.c (run_mode): Use enum.
6854 (main): Cleanup coding style issue.
6855
bb90b80b
AJ
68562012-05-09 Alexandre Oliva <aoliva@redhat.com>
6857 Andreas Jaeger <aj@suse.de>
6858
bcfe3a54
ST
6859 * nscd/nscd.c (go_background): Replaced with...
6860 (run_mode): ... this.
bb90b80b 6861 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
6862 (options): Add -F --foreground.
6863 (main): Implement it.
6864 (parse_opt): Parse it.
bb90b80b 6865
1a4b75a1
AJ
68662012-05-09 Andreas Jaeger <aj@suse.de>
6867
6868 [BZ #14083]
6869 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
6870 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
6871 -Wconversion warning.
6872 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
6873 Likewise.
6874
b1cc2472
JM
68752012-05-09 Joseph Myers <joseph@codesourcery.com>
6876
6877 * conform/data/locale.h-data (NULL): Use macro-constant. Require
6878 == 0.
6879 (LC_ALL): Use macro-int-constant.
6880 (LC_COLLATE): Likewise.
6881 (LC_CTYPE): Likewise.
6882 (LC_MESSAGES): Likewise.
6883 (LC_MONETARY): Likewise.
6884 (LC_NUMERIC): Likewise.
6885 (LC_TIME): Likewise.
6886 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
6887 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6888 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6889 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
6890 Specify type.
6891 [C99-based standards] (float_t): Expect type.
6892 [C99-based standards] (double_t): Expect type.
6893 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
6894 type.
6895 [C99-based standards] (HUGE_VALL): Likewise.
6896 [C99-based standards] (INFINITY): Likewise.
6897 [C99-based standards] (NAN): Likewise.
6898 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
6899 [C99-based standards] (FP_NAN): Likewise.
6900 [C99-based standards] (FP_NORMAL): Likewise.
6901 [C99-based standards] (FP_SUBNORMAL): Likewise.
6902 [C99-based standards] (FP_ZERO): Likewise.
6903 [C99-based standards] (FP_FAST_FMA): Use
6904 optional-macro-int-constant. Specify type. Require == 1.
6905 [C99-based standards] (FP_FAST_FMAF): Likewise.
6906 [C99-based standards] (FP_FAST_FMAL): Likewise.
6907 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
6908 [C99-based standards] (FP_ILOGBNAN): Likewise.
6909 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
6910 Specify type.
6911 [C99-based standards] (MATH_ERREXCEPT): Likewise.
6912 [C99-based standards] (math_errhandling): Specify type.
6913 [ISO99 || ISO11] (signgam): Do not allow.
6914 [non-C99-based standards] (copysignf): Do not allow.
6915 [non-C99-based standards] (exp2f): Likewise.
6916 [non-C99-based standards] (log2f): Likewise.
6917 [non-C99-based standards] (modff): Allow.
6918 [non-C99-based standards] (erff): Do not allow.
6919 [non-C99-based standards] (erfcf): Likewise.
6920 [non-C99-based standards] (gammaf): Likewise.
6921 [non-C99-based standards] (hypotf): Likewise.
6922 [non-C99-based standards] (j0f): Likewise.
6923 [non-C99-based standards] (j1f): Likewise.
6924 [non-C99-based standards] (jnf): Likewise.
6925 [non-C99-based standards] (lgammaf): Likewise.
6926 [non-C99-based standards] (tgammaf): Likewise.
6927 [non-C99-based standards] (y0f): Likewise.
6928 [non-C99-based standards] (y1f): Likewise.
6929 [non-C99-based standards] (ynf): Likewise.
6930 [non-C99-based standards] (isnanf): Likewise.
6931 [non-C99-based standards] (acoshf): Likewise.
6932 [non-C99-based standards] (asinhf): Likewise.
6933 [non-C99-based standards] (atanhf): Likewise.
6934 [non-C99-based standards] (cbrtf): Likewise.
6935 [non-C99-based standards] (expm1f): Likewise.
6936 [non-C99-based standards] (ilogbf): Likewise.
6937 [non-C99-based standards] (log1pf): Likewise.
6938 [non-C99-based standards] (logbf): Likewise.
6939 [non-C99-based standards] (nextafterf): Likewise.
6940 [non-C99-based standards] (remainderf): Likewise.
6941 [non-C99-based standards] (rintf): Likewise.
6942 [non-C99-based standards] (scalbf): Likewise.
6943 [non-C99-based standards] (copysignl): Likewise.
6944 [non-C99-based standards] (exp2l): Likewise.
6945 [non-C99-based standards] (log2l): Likewise.
6946 [non-C99-based standards] (modfl): Allow.
6947 [non-C99-based standards] (erfl): Do not allow.
6948 [non-C99-based standards] (erfcl): Likewise.
6949 [non-C99-based standards] (gammal): Likewise.
6950 [non-C99-based standards] (hypotl): Likewise.
6951 [non-C99-based standards] (j0l): Likewise.
6952 [non-C99-based standards] (j1l): Likewise.
6953 [non-C99-based standards] (jnl): Likewise.
6954 [non-C99-based standards] (lgammal): Likewise.
6955 [non-C99-based standards] (tgammal): Likewise.
6956 [non-C99-based standards] (y0l): Likewise.
6957 [non-C99-based standards] (y1l): Likewise.
6958 [non-C99-based standards] (ynl): Likewise.
6959 [non-C99-based standards] (isnanl): Likewise.
6960 [non-C99-based standards] (acoshl): Likewise.
6961 [non-C99-based standards] (asinhl): Likewise.
6962 [non-C99-based standards] (atanhl): Likewise.
6963 [non-C99-based standards] (cbrtl): Likewise.
6964 [non-C99-based standards] (expm1l): Likewise.
6965 [non-C99-based standards] (ilogbl): Likewise.
6966 [non-C99-based standards] (log1pl): Likewise.
6967 [non-C99-based standards] (logbl): Likewise.
6968 [non-C99-based standards] (nextafterl): Likewise.
6969 [non-C99-based standards] (remainderl): Likewise.
6970 [non-C99-based standards] (rintl): Likewise.
6971 [non-C99-based standards] (scalbl): Likewise.
6972 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6973 [non-C99-based standards] (FP_*): Do not allow.
6974 [C99-based standards] (FP_*): Change to
6975 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
6976 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6977 allow.
6978 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
6979 (SIG_ERR): Likewise.
6980 [X/Open-based standards] (SIG_HOLD): Likewise.
6981 (SIG_IGN): Likewise.
6982 (SIGABRT): Use macro-int-constant. Specify type. Require
6983 positive value.
6984 (SIGFPE): Likewise.
6985 (SIGILL): Likewise.
6986 (SIGINT): Likewise.
6987 (SIGSEGV): Likewise.
6988 (SIGTER): Likewise.
6989 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
6990 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
6991 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
6992 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
6993 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
6994 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
6995 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
6996 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
6997 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
6998 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
6999 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7000 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7001 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7002 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7003 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7004 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7005 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7006 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7007 [X/Open-based standards] (SIGTRAP): Likewise.
7008 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7009 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7010 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7011 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7012 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7013 allow.
7014
b9f1922d
IW
70152012-05-08 Ian Wienand <ianw@vmware.com>
7016
7017 [BZ #14080]
7018 * time/tzset.c (__tzset_parse_tz): Update default rules for
7019 daylight time changes in the Energy Policy Act of 2005.
7020
1db86e88
AJ
70212012-05-09 Andreas Jaeger <aj@suse.de>
7022
7023 [BZ #13983]
7024 * elf/ldconfig.c (parse_conf): Change string to make clear that
7025 ldconfig only issued a warning if ld.so.conf does not exist.
7026
dee4a4e3
DM
70272012-05-08 David S. Miller <davem@davemloft.net>
7028
ee0db190
DM
7029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7030 movxtod instead of popping the value on the stack.
7031
dee4a4e3
DM
7032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7033
6a43ec98
CD
70342012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7035
7036 * config.h.in: Add HAVE_ARM_PCS_VFP.
7037
05c2c961
RMG
70382012-05-08 Roland Mc Grath <roland@hack.frob.com>
7039
bcfe3a54
ST
7040 [BZ #13979]
7041 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7042 checking but the checks are disabled for any reason.
05c2c961 7043
4b30f61a
L
70442012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7045
7046 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7047 and ELF64_R_TYPE with ELFW(R_TYPE).
7048
eee2bc67
JM
70492012-05-08 Joseph Myers <joseph@codesourcery.com>
7050
7ea5391a
JM
7051 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7052 (ulimit): Likewise.
7053
eee2bc67
JM
7054 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
7055 (settimeofday): Likewise.
7056
abb66a67
MF
70572012-05-08 Mike Frysinger <vapier@gentoo.org>
7058
7059 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
7060 a struct th_u2 inside the union, and move tu_block/tu_code into
7061 a new th_u3 union of tu_block/tu_code inside of that. Move
7062 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
7063 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
7064 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
7065 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
7066 (th_stuff): Change to th_u1.tu_stuff.
7067 (th_data): Define.
7068 (th_msg): Change to th_u1.th_u2.tu_data.
7069
7f18b530
DM
70702012-05-07 David S. Miller <davem@davemloft.net>
7071
05760585
DM
7072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7073
7f18b530
DM
7074 [BZ #14074]
7075 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
7076 (SETUP_PIC_REG): Use it.
7077 (SETUP_PIC_REG_LEAF): Use it.
7078
495fd99f
JM
70792012-05-07 Joseph Myers <joseph@codesourcery.com>
7080
7081 [BZ #13885]
7082 [BZ #13923]
7083 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7084 USE_AS_EXPM1L.
7085 (EXPL_FINITE): Likewise.
7086 (FLDLOG): Likewise.
7087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7088 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7089 e_expl.S.
7090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7091 USE_AS_EXPM1L.
7092 (EXPL_FINITE): Likewise.
7093 (FLDLOG): Likewise.
7094 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
7095 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
7096 e_expl.S.
7097 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
7098 test of -max_value argument for long double.
7099 * sysdeps/i386/fpu/libm-test-ulps: Update.
7100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7101
6693d694
DM
71022012-05-06 David S. Miller <davem@davemloft.net>
7103
7104 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
7105 quad soft-float symbols whose references which are compiler
7106 generated.
7107 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7108
6c23e11c
JM
71092012-05-06 Joseph Myers <joseph@codesourcery.com>
7110
d8b82cad
JM
7111 [BZ #13884]
7112 [BZ #13914]
7113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7114 USE_AS_EXP10L.
7115 (EXPL_FINITE): Likewise.
7116 (FLDLOG): Likewise.
7117 (c0): Likewise.
7118 (c1): Likewise.
7119 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7120 Adjust comments for base varying.
7121 (__expl_finite): Change alias to EXPL_FINITE.
7122 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
7123 e_expl.S.
7124 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
7125 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7127 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
7128 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
7129 USE_AS_EXP10L.
7130 (EXPL_FINITE): Likewise.
7131 (FLDLOG): Likewise.
7132 (c0): Likewise.
7133 (c1): Likewise.
7134 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
7135 Adjust comments for base varying.
7136 (__expl_finite): Change alias to EXPL_FINITE.
7137 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
7138 tests for bugs.
7139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7140
6c23e11c
JM
7141 [BZ #14064]
7142 * math/libm-test.inc (check_float_internal): Correct ulp
7143 calculation for subnormal expected results.
7144
29ba805c
AJ
71452012-05-06 Andreas Jaeger <aj@suse.de>
7146
7147 * Makeconfig (+math-flags): New, set to -frounding-math.
7148 (+cflags): Add +math-flags so that all of glibc gets compiled with
7149 it.
7150
7151 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
7152
7b17aeda
JM
71532012-05-05 Joseph Myers <joseph@codesourcery.com>
7154
5779f134
JM
7155 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
7156 Disable one test.
7157
41498f4d
JM
7158 [BZ #13787]
7159 [BZ #13922]
7160 [BZ #14036]
7161 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
7162 (__ieee754_expl): Allow for and saturate large arguments.
7163 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
7164 (u_threshold): Likewise.
7165 (__exp): Call __ieee754_exp before checking for overflow and
7166 underflow.
7167 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
7168 (u_threshold): Likewise.
7169 (__expf): Call __ieee754_expf before checking for overflow and
7170 underflow.
7171 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
7172 (u_threshold): Likewise.
7173 (__expl): Call __ieee754_expl before checking for overflow and
7174 underflow.
7175 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
7176 (__ieee754_expl): Allow for and saturate large arguments.
7177 * math/libm-test.inc (exp_test): Add another test. Do not allow
7178 missing overflow exception on overflow.
7179 (expm1_test): Do not allow missing overflow exception on overflow.
7180
6698b8bf
JM
7181 * sysdeps/i386/fpu/e_expl.c: Move to ...
7182 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
7183 rather than using inline asm.
7184 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
7185 * sysdeps/x86_64/fpu/e_expl.S: Copy from
7186 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
7187
7b17aeda
JM
7188 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
7189 (nice): Likewise.
7190 (poll): Likewise.
7191 (signal): Likewise.
7192 (time): Likewise.
7193 (times): Likewise.
7194
f7c85819
JM
71952012-05-04 Joseph Myers <joseph@codesourcery.com>
7196
7197 * sysdeps/unix/syscalls.list (adjtime): Add entry from
7198 sysdeps/unix/common/syscalls.list.
7199 (fchmod): Likewise.
7200 (fchown): Likewise.
7201 (ftruncate): Likewise.
7202 (getrusage): Likewise.
7203 (gettimeofday): Likewise.
7204 (setpgid): Likewise.
7205 (setregid): Likewise.
7206 (setreuid): Likewise.
7207 (sigaction): Likewise.
7208 (truncate): Likewise.
7209 (vhangup): Likewise.
7210 * sysdeps/unix/common/syscalls.list: Remove file.
7211 * sysdeps/unix/bsd/Implies: Don't include unix/common.
7212 * sysdeps/unix/sysv/linux/Implies: Likewise.
7213
336270d0
L
72142012-05-04 H.J. Lu <hongjiu.lu@intel.com>
7215
7216 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
7217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
7218 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
7219 Moved to ...
7220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7221 Here.
7222 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
7223 to ...
7224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
7225 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
7226 to ...
7227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
7228 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
7229 to ...
7230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
7231 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
7232 to ...
7233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
7234 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
7235 to ...
7236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
7237 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
7238 to ...
7239 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
7240 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
7241 to ...
7242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7243 Here.
7244 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
7245 to ...
7246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
7247 Here.
7248 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
7249 to ...
7250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
7251 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
7252 Moved to ...
7253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
7254 Here.
7255 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
7256 to ...
7257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
7258
d128e450
JM
72592012-05-04 Joseph Myers <joseph@codesourcery.com>
7260
fa8ee516
JM
7261 * sysdeps/unix/common/bits/dirent.h: Remove file.
7262 * sysdeps/unix/common/bits/fcntl.h: Likewise.
7263
d128e450
JM
7264 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
7265 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
7266 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
7267 * sysdeps/unix/bsd/isatty.c: Likewise.
7268 * sysdeps/unix/bsd/tcdrain.c: Likewise.
7269 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
7270 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
7271
ff8faaf0 72722012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 7273
62881be4 7274 [BZ #13563]
31dc8730
AZ
7275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
7276 long double comparison inaccuracies.
7277 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7279
6fef930c
AS
72802012-05-04 Andreas Schwab <schwab@linux-m68k.org>
7281
7282 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
7283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
7284
8f203e6c
JM
72852012-05-04 Joseph Myers <joseph@codesourcery.com>
7286
7287 [BZ #14049]
7288 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
7289 nonzero digits before rounding a hex value.
7290 * stdlib/tst-strtod.c (tests): Add another test.
7291
5197d9c2
AK
72922012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7293
7294 * sysdeps/s390/fpu/libm-test-ulps: Update.
7295
f0c1dedf
AJ
72962012-05-03 Andreas Jaeger <aj@suse.de>
7297
7298 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
7299 does not get optimized out.
7300 (malloc_opt_barrier): New.
7301
a65ef2ae 73022012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 7303 Roland McGrath <roland@hack.frob.com>
a65ef2ae 7304
2b942cb7 7305 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 7306 intermediate file deletion.
2b942cb7 7307 (generated): Add .symlist files.
a65ef2ae 7308
54b71e02
JM
73092012-05-03 Joseph Myers <joseph@codesourcery.com>
7310
7311 [BZ #13775]
7312 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
7313 Redirect under this condition.
7314 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7315 [__USE_GNU] (__dprintf_chk): Not under this condition.
7316 [__USE_GNU] (__vdprintf_chk): Likewise.
7317 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
7318 under this condition.
7319 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
7320 [__USE_XOPEN2K8] (dprintf): Define under this condition.
7321 [__USE_XOPEN2K8] (vdprintf): Likewise.
7322 [__USE_GNU] (__dprintf_chk): Not under this condition.
7323 [__USE_GNU] (__vdprintf_chk): Likewise.
7324 [__USE_GNU] (dprintf): Likewise.
7325 [__USE_GNU] (vdprintf): Likewise.
7326
d3dfcc41
RM
73272012-05-03 Roland McGrath <roland@hack.frob.com>
7328
7329 * elf/Makefile (common-generated): Set this instead of generated for
7330 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
7331 $(all-built-dso)-derived lists.
7332
7ac30cc5
AJ
73332012-05-03 Andreas Jaeger <aj@suse.de>
7334
0c51e550
AJ
7335 * sysdeps/i386/fpu/libm-test-ulps: Update.
7336
7ac30cc5
AJ
7337 * FAQ: Removed.
7338 * FAQ.in: Likewise.
7339 * scripts/gen-FAQ.pl: Likewise.
7340 * manual/install.texi (Installation): Point to online location of
7341 FAQ.
7342 * Makefile (files-for-dist): Remove FAQ.
7343 (FAQ): Remove.
7344
d4c2917f
AM
73452012-05-02 Allan McRae <allan@archlinux.org>
7346
7347 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
7348 (LDFLAGS-reldepmod5.so): Likewise.
7349 (LDFLAGS-reldep6mod1.so): Likewise.
7350 (LDFLAGS-reldep6mod4.so): Likewise.
7351 (LDFLAGS-reldep8mod3.so): Likewise.
7352 (LDFLAGS-unload4mod1.so): Likewise.
7353 (LDFLAGS-unload4mod2.so): Likewise.
7354 (LDFLAGS-tst-initorder): Likewise.
7355 (LDFLAGS-tst-initordera2.so): Likewise.
7356 (LDFLAGS-tst-initordera3.so): Likewise.
7357 (LDFLAGS-tst-initordera4.so): Likewise.
7358 (LDFLAGS-tst-initorderb2.so): Likewise.
7359 (LDFLAGS-noload): Likewise.
7360 (LDFLAGS-next): Likewise.
7361 (LDFLAGS-order2mod1.so): Likewise.
7362 (LDFLAGS-order2mod2.so): Likewise.
7363 (LDFLAGS-tst-initorder2): Likewise.
7364 (LDFLAGS-tst-initorder2a.so): Likewise.
7365 (LDFLAGS-tst-initorder2b.so): Likewise.
7366 (LDFLAGS-tst-initorder2c.so): Likewise.
7367 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
7368
d77f993f
DM
73692012-05-02 David S. Miller <davem@davemloft.net>
7370
7371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7372
171a70b4
PP
73732012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
7374
7375 [BZ #14055]
7376 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
7377
0be196ad
AJ
73782012-05-02 Andreas Jaeger <aj@suse.de>
7379
7380 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
7381 since we manipulate rounding mode.
7382 (CPPFLAGS-test-idouble.c): Likewise.
7383 (CPPFLAGS-test-ifloat.c): Likewise.
7384 (CFLAGS-test-ldouble.c): Likewise.
7385 (CFLAGS-test-double.c): Likewise.
7386 (CFLAGS-test-float.c): Likewise.
7387 (CFLAGS-test-misc.c): Likewise.
7388 (CFLAGS-test-test-fenv.c): Likewise.
7389
4f9d04aa
AZ
73902012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7391
2b942cb7
RM
7392 [BZ #2550]
7393 [BZ #2570]
7394 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
7395 comparisons to determine direction to adjust input.
4f9d04aa 7396
82a79e7d
RM
73972012-05-01 Roland McGrath <roland@hack.frob.com>
7398
f5a01ca9
RM
7399 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
7400 output to the target.
7401
90fe4186
RM
7402 * scripts/localplt.awk: New file.
7403 * elf/Makefile ($(objpfx)check-localplt): Target removed.
7404 (check-localplt-CFLAGS): Variable removed.
7405 ($(all-built-dso:=.jmprel)): New static pattern rule.
7406 (generated): Add those targets.
7407 (localplt-built-dso): New variable.
7408 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
7409
7410 * elf/check-localplt.c: File removed.
7411
82397ed6
RM
7412 * scripts/check-execstack.awk: New file.
7413 * elf/Makefile ($(objpfx)check-execstack): Target removed.
7414 (check-execstack-CFLAGS): Variable removed.
7415 ($(objpfx)check-execstack.h): Target removed.
7416 ($(objpfx)execstack-default): New target.
7417 (generated): Add that instead of check-execstack.h.
7418 ($(all-built-dso:=.phdr)): New static pattern rule.
7419 (generated): Add those targets.
7420 * elf/check-execstack.c: File removed.
7421
82a79e7d
RM
7422 * scripts/check-textrel.awk: New file.
7423 * elf/Makefile ($(objpfx)check-textrel): Target removed.
7424 (check-textrel-CFLAGS): Variable removed.
7425 (all-built-dso): Use := to define.o
7426 ($(all-built-dso:=.dyn)): New static pattern rule.
7427 (generated): Add those targets.
7428 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
7429 * config.make.in (READELF): New substituted variable.
7430 * elf/check-textrel.c: File removed.
7431
62fde54f 74322012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 7433
615605c9
JM
7434 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7435 allow.
7436 * conform/data/ctype.h-data [C99-based standards] (isblank):
7437 Expect function.
7438 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
7439 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
7440 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7441 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
7442 Specify type. Require positive value.
7443 (EILSEQ): Likewise.
7444 (ERANGE): Likewise.
7445 [ISO || POSIX] (EILSEQ): Do not expect.
7446 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
7447 Specify type. Require positive value.
7448 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
7449 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
7450 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
7451 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
7452 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
7453 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
7454 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
7455 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
7456 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
7457 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
7458 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
7459 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
7460 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
7461 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
7462 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
7463 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
7464 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
7465 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
7466 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
7467 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
7468 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
7469 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
7470 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
7471 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
7472 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
7473 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
7474 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
7475 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
7476 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
7477 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
7478 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
7479 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
7480 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
7481 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
7482 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
7483 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
7484 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
7485 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
7486 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
7487 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
7488 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
7489 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
7490 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
7491 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
7492 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
7493 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
7494 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
7495 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
7496 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
7497 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
7498 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
7499 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
7500 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
7501 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
7502 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
7503 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
7504 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
7505 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
7506 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
7507 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
7508 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
7509 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
7510 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
7511 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
7512 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
7513 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
7514 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
7515 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
7516 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
7517 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
7518 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
7519 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
7520 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
7521 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
7522 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
7523 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
7524 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
7525 Require >= 2.
7526 (FLT_ROUNDS): Expect as macro, not constant.
7527 (FLT_MANT_DIG): Use macro-int-constant.
7528 (DBL_MANT_DIG): Likewise.
7529 (LDBL_MANT_DIG): Likewise.
7530 (FLT_DIG): Likewise.
7531 (DBL_DIG): Likewise.
7532 (LDBL_DIG): Likewise.
7533 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
7534 (DBL_MIN_EXP): Likewise.
7535 (LDBL_MIN_EXP): Likewise.
7536 (FLT_MAX_EXP): Use macro-int-constant.
7537 (DBL_MAX_EXP): Likewise.
7538 (LDBL_MAX_EXP): Likewise.
7539 (FLT_MAX_10_EXP): Likewise.
7540 (DBL_MAX_10_EXP): Likewise.
7541 (LDBL_MAX_10_EXP): Likewise.
7542 (FLT_MAX): Use macro-constant.
7543 (DBL_MAX): Likewise.
7544 (LDBL_MAX): Likewise.
7545 (FLT_EPSILON): Use macro-constant. Give upper bound.
7546 (DBL_EPSILON): Likewise.
7547 (LDBL_EPSILON): Likewise.
7548 (FLT_MIN): Likewise.
7549 (DBL_MIN): Likewise.
7550 (LDBL_MIN): Likewise.
7551 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
7552 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
7553 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
7554 [ISO11] (FLT_HAS_SUBNORM): Likewise.
7555 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
7556 [ISO11] (DBL_DECIMAL_DIG): Likewise.
7557 [ISO11] (FLT_DECIMAL_DIG): Likewise.
7558 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
7559 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
7560 [ISO11] (FLT_TRUE_MIN): Likewise.
7561 [ISO11] (LDBL_TRUE_MIN): Likewise.
7562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7563 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
7564 (SCHAR_MIN): Use macro-int-constant. Specify type.
7565 (SCHAR_MAX): Likewise.
7566 (UCHAR_MAX): Likewise.
7567 (CHAR_MIN): Likewise.
7568 (CHAR_MAX): Likewise.
7569 (MB_LEN_MAX): Use macro-int-constant.
7570 (SHRT_MIN): Use macro-int-constant. Specify type.
7571 (SHRT_MAX): Likewise.
7572 (USHRT_MAX): Likewise.
7573 (INT_MAX): Likewise.
7574 (INT_MIN): Use macro-int-constant. Specify type. Make upper
7575 bound negative.
7576 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
7577 bound with "U".
7578 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7579 bound with "L".
7580 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
7581 bound negative. Suffix upper bound with "L".
7582 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
7583 bound with "UL".
7584 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
7585 Specify type.
7586 [C99-based standards] (LLONG_MAX): Likewise.
7587 [C99-based standards] (ULLONG_MAX): Likewise.
7588 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
7589 == 0.
7590 [ISO11] (max_align_t): Require type.
7591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7592
c9140a62
JM
7593 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
7594 from $CFLAGS, without defining away __attribute__ calls.
7595 (checknamespace): Use $CFLAGS_namespace.
7596
9af0bf29
JM
7597 * conform/conformtest.pl (@keywords): Only include C99 keywords
7598 for standards based on C99 or C11.
7599
343222a2
JM
7600 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
7601 Disable tests.
7602 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
7603 UNIX98]: Likewise.
7604
661f8cf0
JM
7605 * conform/conformtest.pl: Handle "macro-int-constant" and test for
7606 usability of symbols in #if.
7607
ee74b9cb
JM
7608 * conform/conformtest.pl: If macro or constant types start
7609 "promoted:", expect the symbol to be of the following type
7610 promoted by the integer promotions.
62fde54f 7611
aafc49b3
JM
7612 * conform/conformtest.pl: Parse all "constant" and "macro" lines
7613 in one place. Also handle "macro-constant".
7614
fefdf574
JM
7615 * conform/conformtest.pl: Only accept expected macro values with
7616 "==". Parse all "macro" lines in one place.
7617 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
7618
f2d922fe
JM
7619 * conform/conformtest.pl: Handle braced types on "constant" lines
7620 instead of handling "typed-constant".
7621 * conform/data/signal.h-data: Use "constant" instead of
7622 "typed-constant".
7623
d22956c9
JM
7624 * conform/conformtest.pl: Handle "optional-" at start of lines in
7625 one place rather than duplicating several cases. Handle each
7626 format of "macro" line with initial "optional-".
7627
028e2e38
JM
7628 * conform/conformtest.pl: Only accept expected constant or
7629 optional-constant values with "==". Parse all "constant" lines in
7630 one place. Parse all "optional-constant" lines in one place.
7631 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
7632 * conform/data/fmtmsg.h-data: Likewise.
7633 * conform/data/netinet/in.h-data: Likewise.
7634 * conform/data/tar.h-data: Likewise.
7635 * conform/data/limits.h-data: Use "==" form on "constant" and
7636 "optional-constant" lines.
7637
1b8f2850
JM
7638 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
7639 Use -std=c99 for XOPEN2K.
7640 (@knownproblems): Remove.
7641 (newtoken): Don't check %isknown.
7642
a05a144b
JM
7643 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
7644 Do not expect macro.
7645 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
7646 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
7647 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
7648 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
7649 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
7650 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
7651 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
7652 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
7653 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
7654 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
7655 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
7656 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
7657 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
7658 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
7659 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
7660 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
7661 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
7662 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
7663 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
7664 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
7665 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
7666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
7667 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
7668 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
7669 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
7670 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
7671 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
7672 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
7673 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
7674 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
7675 [XPG3] (acosh): Likewise.
7676 [XPG3] (asinh): Likewise.
7677 [XPG3] (atanh): Likewise.
7678 [XPG3] (cbrt): Likewise.
7679 [XPG3] (expm1): Likewise.
7680 [XPG3] (ilogb): Likewise.
7681 [XPG3] (log1p): Likewise.
7682 [XPG3] (logb): Likewise.
7683 [XPG3] (nextafter): Likewise.
7684 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
7685 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
7686 [XPG3] (remainder): Likewise.
7687 [XPG3] (rint): Likewise.
7688 [XPG3 || XPG4 || UNIX98] (round): Likewise.
7689 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
7690 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
7691 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
7692 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
7693 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
7694 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
7695 [UNIX98 || XOPEN2K] (scalb): Expect.
7696 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
7697 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
7698 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
7699 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
7700 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
7701 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
7702 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
7703 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
7704 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
7705 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
7706 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
7707 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
7708 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
7709 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
7710 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
7711 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
7712 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
7713 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
7714 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
7715 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
7716 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
7717 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
7718 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
7719 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
7720 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
7721 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
7722 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
7723 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
7724 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
7725 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
7726 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
7727 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
7728 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
7729 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
7730 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
7731 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
7732 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
7733 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
7734 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
7735 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
7736 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
7737 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
7738 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
7739 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
7740 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
7741 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
7742 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
7743 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
7744 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
7745 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
7746 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
7747 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
7748 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
7749 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
7750 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
7751 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
7752 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
7753 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
7754 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
7755 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
7756 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
7757 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
7758 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
7759 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
7760 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
7761 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
7762 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
7763 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
7764 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
7765 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
7766 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
7767 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
7768 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
7769 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
7770 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
7771 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
7772 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
7773 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
7774 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
7775 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
7776 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
7777 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
7778 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
7779 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
7780 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
7781 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
7782 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
7783 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
7784 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
7785 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
7786 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
7787 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
7788 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
7789 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
7790 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
7791 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
7792 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
7793 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
7794 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
7795 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
7796 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
7797 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
7798 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
7799 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
7800 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
7801 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
7802 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
7803 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
7804 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
7805 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
7806 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
7807 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
7808 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
7809 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
7810 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
7811 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
7812 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
7813 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
7814 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
7815 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
7816 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
7817 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
7818 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
7819 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
7820 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
7821 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
7822 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
7823 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
7824 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
7825 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
7826 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
7827 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
7828 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
7829 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
7830 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
7831 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
7832 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
7833
73c5ebe3
JM
7834 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
7835 _XOPEN_SOURCE_EXTENDED for XPG4.
7836
39c33b6c
JM
7837 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
7838
62fde54f
JM
7839 * Makeconfig (localtime): Remove variable.
7840 (inst_localtime-file): Likewise.
7841
0741d64c
AS
78422012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7843
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7845 Update.
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7847 Update.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7849 Update.
7850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7851 Update.
7852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7853 Update.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
7855 Update.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7857 Update.
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
7859 Update.
7860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7861 Update.
7862
7cb029ee
JM
78632012-05-01 Joseph Myers <joseph@codesourcery.com>
7864
7865 [BZ #2550]
7866 [BZ #2570]
7867 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
7868 comparisons to determine direction to adjust input.
7869 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7870 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
7871 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7872 Likewise.
7873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7874 Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7876 Likewise.
7877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7879 Likewise.
7880 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7881 Likewise.
7882 * math/libm-test.inc (nexttoward_test): Add more tests.
7883
412bd966
AS
78842012-05-01 Andreas Schwab <schwab@linux-m68k.org>
7885
7886 [BZ #14040]
7887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
7888 in version GLIBC_2.1, not GLIBC_2.0.
7889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
7890 Likewise.
7891
9568c0c2
JM
78922012-04-30 Joseph Myers <joseph@codesourcery.com>
7893
adfbc8ac
JM
7894 [BZ #13942]
7895 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
7896 (1 - x) * (1 + x).
7897 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7898 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
7899 * math/libm-test.inc (acos_test): Add more tests.
7900 (asin_test): Likewise.
7901 * sysdeps/i386/fpu/libm-test-ulps: Update.
7902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7903
5ba3cc69
JM
7904 [BZ #14034]
7905 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
7906 of square root.
7907 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
7908 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
7909 * math/libm-test.inc (acos_test_tonearest): New function.
7910 (acos_test_towardzero): Likewise.
7911 (acos_test_downward): Likewise.
7912 (acos_test_upward): Likewise.
7913 (asin_test_tonearest): Likewise.
7914 (asin_test_towardzero): Likewise.
7915 (asin_test_downward): Likewise.
7916 (asin_test_upward): Likewise.
7917 (main): Call the new functions.
7918 * sysdeps/i386/fpu/libm-test-ulps: Update.
7919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7920
9568c0c2
JM
7921 [BZ #13884]
7922 [BZ #13924]
7923 * math/e_exp10.c: Include <float.h>.
7924 (__ieee754_exp10): Handle underflow here rather than multiplying
7925 large negative argument by M_LN10.
7926 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
7927 of __ieee754_expf.
7928 * math/e_exp10l.c: Include <float.h>.
7929 (__ieee754_exp10l): Handle underflow here rather than multiplying
7930 large negative argument by M_LN10l.
7931 * math/libm-test.inc (exp10_test): Add another test. Do not allow
7932 spurious overflow exception on underflow.
7933
5ac3ea17
MP
79342012-04-29 Marek Polacek <polacek@redhat.com>
7935
7936 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
7937 (__fortify_function): New macro.
7938 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
7939 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
7940 __extern_always_inline.
7941 * libio/bits/stdio2.h: Likewise.
7942 * libio/bits/stdio.h: Likewise.
7943 * string/string.h: Likewise.
7944 * string/bits/string3.h: Likewise.
7945 * include/stdio.h: Likewise.
7946 * stdlib/bits/stdlib.h: Likewise.
7947 * stdlib/stdlib.h: Likewise.
7948 * rt/bits/mqueue2.h: Likewise.
7949 * rt/mqueue.h: Likewise.
7950 * posix/bits/unistd.h: Likewise.
7951 * posix/unistd.h: Likewise.
7952 * io/bits/poll2.h: Likewise.
7953 * io/bits/fcntl2.h: Likewise.
7954 * io/fcntl.h: Likewise.
7955 * io/sys/poll.h: Likewise.
7956 * misc/bits/syslog.h: Likewise.
7957 * misc/bits/syslog-ldbl.h: Likewise.
7958 * misc/sys/syslog.h: Likewise.
7959 * socket/bits/socket2.h: Likewise.
7960 * socket/sys/socket.h: Likewise.
7961 * debug/tst-chk1.c: Likewise.
7962 * wcsmbs/bits/wchar2.h: Likewise.
7963 * wcsmbs/bits/wchar-ldbl.h: Likewise.
7964 * wcsmbs/wchar.h: Likewise.
7965
ecf0ebfb
AJ
79662012-04-29 Andreas Jaeger <aj@suse.de>
7967
7968 * Makerules (tests): Remove enable-check-abi protection.
7969 (check-abi-warn): Remove.
7970 (check-abi-%): Remove check-abi-warn usage.
7971
7972 * configure.in: Remove check-abi configure option.
7973 * configure: Regenerated.
7974 * config.make.in (enable-check-abi): Remove.
7975
6d5c57fa
AS
79762012-04-28 Andreas Schwab <schwab@linux-m68k.org>
7977
24c5d07e 7978 [BZ #14033]
ded5180a
AS
7979 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
7980 double functions to double *_finite functions.
7981
7e0d315d
AS
7982 [BZ #13941]
7983 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
7984 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
7985 LDBL_MIN_EXP.
7986 * stdio-common/Makefile (tests): Add tst-sprintf3.
7987 * stdio-common/tst-sprintf3.c: New file.
7988
6d5c57fa
AS
7989 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
7990 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
7991
0749ff8b
JM
79922012-04-28 Joseph Myers <joseph@codesourcery.com>
7993
7994 * conform/conformtest.pl: Remove duplicate typed-constant
7995 handling.
7996
8dbd5d7b
DM
79972012-04-28 David S. Miller <davem@davemloft.net>
7998
7999 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8000 (check-abi-%): Remove AWK script prerequisite and explicit
8001 abilist directory.
8002 (check-abi): Rewrite to just diff the symlist with the abilist.
8003 (config-tls, config-abi-config): Delete, no longer used.
8004 (update-abi-%): Remove AWK script and explicit abilist directory.
8005 (update-abi): Rewrite to simply compare and conditionally copy the
8006 symlist and the sysdep abilist file. Remove update-abi-config
8007 checks.
8008 * abilist/ld.abilist: Remove.
8009 * abilist/libBrokenLocale.abilist: Remove.
8010 * abilist/libanl.abilist: Remove.
8011 * abilist/libcrypt.abilist: Remove.
8012 * abilist/libdl.abilist: Remove.
8013 * abilist/librt.abilist: Remove.
8014 * abilist/libthread_db.abilist: Remove.
8015 * abilist/libutil.abilist: Remove.
8016 * scripts/extract-abilist.awk: Remove.
8017 * scripts/merge-abilist.awk: Remove.
8018 * sysdeps/generic/libcidn.abilist: New file.
8019 * sysdeps/generic/libnss_compat.abilist: New file.
8020 * sysdeps/generic/libnss_db.abilist: New file.
8021 * sysdeps/generic/libnss_dns.abilist: New file.
8022 * sysdeps/generic/libnss_files.abilist: New file.
8023 * sysdeps/generic/libnss_hesiod.abilist: New file.
8024 * sysdeps/generic/libnss_nis.abilist: New file.
8025 * sysdeps/generic/libnss_nisplus.abilist: New file.
8026 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8027 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8028 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8029 file.
8030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8031 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8032 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8033 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8034 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8035 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8036 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8037 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8038 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8039 file.
8040 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8041 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8042 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8043 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8044 file.
8045 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8046 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8047 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8048 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8049 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8050 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8051 file.
8052 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
8053 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
8054 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
8055 file.
8056 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
8057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
8058 New file.
8059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
8060 New file.
8061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
8062 New file.
8063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
8064 New file.
8065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
8066 New file.
8067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
8068 New file.
8069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
8070 New file.
8071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
8072 New file.
8073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
8074 New file.
8075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
8076 New file.
8077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
8078 New file.
8079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
8080 New file.
8081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
8082 New file.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
8084 file.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8086 New file.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8088 New file.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
8090 file.
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8092 New file.
8093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8094 New file.
8095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
8096 file.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8098 New file.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8100 New file.
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8102 New file.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8104 New file.
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8106 New file.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8108 New file.
8109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
8110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
8111 file.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8113 New file.
8114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
8115 file.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
8117 file.
8118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
8119 file.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
8121 file.
8122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
8123 file.
8124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8125 New file.
8126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
8127 file.
8128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
8129 file.
8130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8131 New file.
8132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
8133 file.
8134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
8135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
8136 file.
8137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8138 New file.
8139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
8140 file.
8141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
8142 file.
8143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
8144 file.
8145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
8146 file.
8147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
8148 file.
8149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8150 New file.
8151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
8152 file.
8153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
8154 file.
8155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8156 New file.
8157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
8158 file.
8159 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8160 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
8161 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
8162 file.
8163 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
8164 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
8165 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
8166 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
8167 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
8168 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
8169 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
8170 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
8171 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
8172 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
8173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
8174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
8175 file.
8176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8177 New file.
8178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
8179 file.
8180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
8181 file.
8182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
8183 file.
8184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
8185 file.
8186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
8187 file.
8188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8189 New file.
8190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8191 New file.
8192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
8193 file.
8194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8195 New file.
8196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
8197 file.
8198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
8199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
8200 file.
8201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8202 New file.
8203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
8204 file.
8205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
8206 file.
8207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
8208 file.
8209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
8210 file.
8211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
8212 file.
8213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8214 New file.
8215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8216 New file.
8217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
8218 file.
8219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8220 New file.
8221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
8222 file.
8223
41d73a1b
JM
82242012-04-28 Joseph Myers <joseph@codesourcery.com>
8225
8226 * conform/conformtest.pl: Fix typo in handling typed-constant from
8227 allow-header.
8228
28aeeda4
JM
82292012-04-27 Joseph Myers <joseph@codesourcery.com>
8230
adae8f5e
JM
8231 * README: Cut down references to pre-2.6 Linux kernels and
8232 Linuxthreads. Update lists of configurations in libc and ports
8233 and sort alphabetically. Say "or newer" with Linux kernel version
8234 requirements.
8235
28aeeda4
JM
8236 * config.h.in [IS_IN_build]: Allow compiling without optimization.
8237
a462cb63
RA
82382012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8239
8240 [BZ #887]
8241 * math/libm-test.inc (logb_test_downward): New test to expose
8242 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
8243 rounding mode.
8244
6ad3493e
JM
82452012-04-27 Joseph Myers <joseph@codesourcery.com>
8246
8247 [BZ #14027]
8248 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
8249 to be done.
8250 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
8251 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
8252
2ce4f015
JM
82532012-04-26 Joseph Myers <joseph@codesourcery.com>
8254
5aeb141a
JM
8255 * sysdeps/unix/i386/brk.S: Remove file.
8256 * sysdeps/unix/i386/dl-brk.S: Likewise.
8257 * sysdeps/unix/i386/pipe.S: Likewise.
8258 * sysdeps/unix/i386/sigreturn.S: Likewise.
8259 * sysdeps/unix/i386/syscall.S: Likewise.
8260 * sysdeps/unix/i386/vfork.S: Likewise.
8261 * sysdeps/unix/i386/wait.S: Likewise.
8262
7143acae
JM
8263 * sysdeps/unix/common/tcsendbrk.c: Move to ...
8264 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
8265
2ce4f015
JM
8266 * configure.in (arm*-none*): Do not allow without
8267 --enable-hacker-mode.
8268 (netbsd*): Remove case setting base_os.
8269 (386bsd*): Likewise.
8270 (freebsd*): Likewise.
8271 (bsdi*): Likewise.
8272 (osf*): Likewise.
8273 (sunos*): Likewise.
8274 (ultrix*): Likewise.
8275 (newsos*): Likewise.
8276 (dynix*): Likewise.
8277 (*bsd*): Likewise.
8278 (sysv*): Likewise.
8279 (isc*): Likewise.
8280 (esix*): Likewise.
8281 (sco*): Likewise.
8282 (minix*): Likewise.
8283 (irix4*): Likewise.
8284 (irix6*): Likewise.
8285 (solaris[2-9]*): Likewise.
8286 (none): Likewise.
8287 * configure: Regenerated.
8288
0ac229c8
AZ
82892012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8290
8291 [BZ #11521]
8292 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
8293 overflow or cancellation in calculating denominator.
8294 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
8295 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8296 down expression to avoid unexpected rounding in newer GCCs.
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
8298
33f244f4
DM
82992012-04-26 David S. Miller <davem@davemloft.net>
8300
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
8302 long-double compat symbols.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
8307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
8311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
8314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8316
cfa1f3e8
DM
83172012-04-25 David S. Miller <davem@davemloft.net>
8318
8319 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
8320 HWCAP_* values only after the memory barriers have been defined.
8321 (atomic_full_barrier): Define.
8322 (atomic_read_barrier): Define.
8323 (atomic_write_barrier): Define.
8324
6e236b92
SP
83252012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8326
8327 * shlib-versions: Add libgcc_s version information.
8328 * sysdeps/generic/libgcc_s.h: Remove.
8329 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
8330 libgcc_s.h.
8331 * sysdeps/gnu/unwind-resume.c: Likewise.
8332 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
8333
aab39a09
DM
83342012-04-25 David S. Miller <davem@davemloft.net>
8335
8336 * sysdeps/unix/sparc/brk.S: Delete.
8337 * sysdeps/unix/sparc/dl-brk.S: Delete.
8338 * sysdeps/unix/sparc/pipe.S: Delete.
8339 * sysdeps/unix/sparc/sysdep.S: Delete.
8340 * sysdeps/unix/sparc/sysdep.h: Delete.
8341 * sysdeps/unix/sparc/vfork.S: Delete.
8342 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
8343 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
8344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
8345 ret_ERRVAL, r0, r1, MOVE): Define.
8346 (JUMPTARGET): Remove.
8347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
8348 sysdeps/unix/sparc/sysdep.h
8349 (ENTRY, END): Remove.
8350 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8351
a3cc4f48
JM
83522012-04-25 Joseph Myers <joseph@codesourcery.com>
8353
2ed8cda2
JM
8354 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
8355 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
8356 -DIS_IN_build.
8357
35d76d59
JM
8358 * timezone/README: Update upstream location and email address for
8359 tzcode and tzdata.
8360 * timezone/zdump.c: Update from tzcode 2012b.
8361 * timezone/zic.c: Likewise.
8362
a3cc4f48
JM
8363 * configure.in (libc_cv_as_needed): Remove test.
8364 * configure: Regenerated.
8365 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
8366 conditional definition.
8367 [$(have-as-needed) != yes] (no-as-needed): Likewise.
8368 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
8369 * config.make.in (have-as-needed): Remove variable.
8370
ceab42c3
SP
83712012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8372 Paul Pluzhnikov <ppluzhnikov@google.com>
8373
8374 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
8375 strings correctly.
8376
3ce2865f
CLT
83772012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
8378
8379 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
8380 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
8381 * sysdeps/sh/strlen.S: Likewise.
8382
f37e0d68
JM
83832012-04-24 Joseph Myers <joseph@codesourcery.com>
8384
ae186e9a
JM
8385 * sysdeps/unix/fork.S: Remove file.
8386 * sysdeps/unix/i386/fork.S: Likewise.
8387 * sysdeps/unix/sparc/fork.S: Likewise.
8388
b96914af
JM
8389 * sysdeps/unix/system.c: Remove file.
8390 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
8391
f37e0d68
JM
8392 * sysdeps/unix/getegid.S: Remove file.
8393 * sysdeps/unix/geteuid.S: Likewise.
8394
87ef29ca
RM
83952012-04-24 Roland McGrath <roland@hack.frob.com>
8396
83bcd236
RM
8397 * scripts/check-localplt.awk: New file.
8398 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
8399 of diff.
8400 * scripts/data/localplt-generic.data: Add a comment.
8401
87ef29ca
RM
8402 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
8403 NODE when __dir_mkfile failed.
8404 * sysdeps/mach/hurd/symlinkat.c: Likewise.
8405 Reported by Ludovic Courtès <ludo@gnu.org>.
8406
e5a6e567
AJ
84072012-04-24 Andreas Jaeger <aj@suse.de>
8408
8409 * Makerules (common-clean): Also remove gen-as-const-headers
8410 files.
8411
c1820385
JM
84122012-04-24 Joseph Myers <joseph@codesourcery.com>
8413
8414 * Makerules (native-compile): Do not change working directory for
8415 build. Use $(OUTPUT_OPTION) in command.
8416 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
8417
94e02fc4
AZ
84182012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8419
8420 [BZ #13886]
8421 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
8422 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
8423 * math/libm-test.inc (floor_test): Add more tests.
8424 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
8425
3a533ca3
JM
84262012-04-24 Joseph Myers <joseph@codesourcery.com>
8427
940ab4b3
JM
8428 * sysdeps/unix/getdents.c: Remove file.
8429 * sysdeps/unix/sysv/getdents.c: Likewise.
8430 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
8431
90e037bd
JM
8432 * sysdeps/unix/syscalls.list (madvise): Add syscall from
8433 sysdeps/unix/mman/syscalls.list.
8434 (mmap): Likewise.
8435 (mprotect): Likewise.
8436 (msync): Likewise.
8437 (munmap): Likewise.
8438 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
8439 * sysdeps/unix/mman/syscalls.list: Remove.
8440 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
8441
3a533ca3
JM
8442 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
8443 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
8444 * configure: Regenerated.
8445 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
8446 $(libgcc_s_suffix).
8447 * config.make.in (libgcc_s_suffix): Remove variable.
8448
1ad743de
JM
84492012-04-23 Joseph Myers <joseph@codesourcery.com>
8450
4ad451e2
JM
8451 * sysdeps/unix/sysv/gethostname.c: Move to ...
8452 * sysdeps/posix/gethostname.c: ... here.
8453
5e37ce39
JM
8454 * sysdeps/unix/execve.S: Remove file.
8455
1ad743de
JM
8456 * sysdeps/unix/_exit.S: Remove file.
8457
4e681b5b
AJ
84582012-04-23 Andreas Jaeger <aj@suse.de>
8459
8460 [BZ #13739]
8461 * manual/Makefile: Remove make dist support, there's no
8462 need for a stand-alone documentation tar ball.
8463 (TEXI2DVI): Define always, it's not in Makeconfig.
8464 (dist): Removed.
8465 (tar-it): Removed.
8466 (edition): Removed.
8467 (glibc-doc-$(edition).tar): Removed
8468 (%.Z): Removed.
8469 (%.gz): Removed.
8470 (%.uu): Removed.
8471 (ETAGS): Remove, it's in Makeconfig.
8472 (move-if-change): Remove, it's in Makeconfig.
8473
c0baea34
PE
84742013-04-23 Paul Eggert <eggert@cs.ucla.edu>
8475
8476 [BZ #13970]
8477 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
8478 (strtod, strtof, strtold, strtol, strtoul, strtoq)
8479 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
8480 (strtod_l, strtof_l, strtold_l): Remove __wur.
8481 It is not necessarily an error to ignore strtol's return value.
8482 One can reliably look at the stored endptr to decide whether
8483 the number had valid syntax.
8484
7c0616fa
AJ
84852012-04-21 Andreas Jaeger <aj@suse.de>
8486
803cb6b7 8487 [BZ #13739]
7c0616fa
AJ
8488 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
8489
b0fe253f
JM
84902012-04-21 Joseph Myers <joseph@codesourcery.com>
8491
8492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
8493 * sysdeps/unix/sysv/Versions: Remove file.
8494
8280f22d
MT
84952012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
8496
8497 [BZ #13927]
8498 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8499
75ce411f 85002012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
8501
8502 [BZ #7064]
8503 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
8504 version from __vm86.
8505
097d59fa
JM
85062012-04-20 Joseph Myers <joseph@codesourcery.com>
8507
a90f3bcb
JM
8508 * sysdeps/unix/common/lxstat.c: Remove file.
8509 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
8510
edc7ea78
JM
8511 * sysdeps/unix/sysv/Makefile: Remove file.
8512
cb78c221
JM
8513 * sysdeps/unix/sysv/direct.h: Remove file.
8514
efa6a45f
JM
8515 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
8516 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
8517 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
8518 * sysdeps/unix/sysv/bits/signum.h: Likewise.
8519 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8520 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8521 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8522
9c9f2d0c
JM
8523 * sysdeps/unix/sysv/setrlimit.c: Remove file.
8524
4541c83b
JM
8525 * sysdeps/unix/xmknod.c: Remove file.
8526 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
8527
f5d153a0
JM
8528 * sysdeps/unix/sysv/settimeofday.c: Remove file.
8529
aa746595
JM
8530 * sysdeps/unix/sysv/i386/time.S: Remove file.
8531
cce5905e
JM
8532 * sysdeps/unix/fxstat.c: Remove file.
8533 * sysdeps/unix/xstat.c: Likewise.
8534 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
8535
37fa3841
JM
8536 * sysdeps/unix/sysv/sigaction.c: Remove file.
8537
ff1962a3
JM
8538 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
8539 (sysdep_headers): Remove variable.
8540 [termio.h not in sysdep_headers] (generated): Likewise.
8541 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
8542 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
8543 * sysdeps/unix/sysv/tcdrain.c: Likewise.
8544 * sysdeps/unix/sysv/tcflow.c: Likewise.
8545 * sysdeps/unix/sysv/tcflush.c: Likewise.
8546 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
8547 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
8548 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
8549 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
8550 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
8551
e7740d31
JM
8552 * sysdeps/unix/siglist.c: Remove file.
8553
ee06f18b
JM
8554 * sysdeps/unix/getppid.S: Remove file.
8555
097d59fa
JM
8556 * sysdeps/unix/mkdir.c: Remove file.
8557 * sysdeps/unix/rmdir.c: Likewise.
8558
ff3d51ec
AS
85592012-04-19 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
8562 ERR_MAX value.
8563 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
8564 errlist-compat value.
8565
50f81fd7
DM
85662012-04-18 David S. Miller <davem@davemloft.net>
8567
8568 * sysdeps/generic/memcopy.h (reg_char): Delete.
8569 * debug/strcat_chk.c: Use char, not reg_char.
8570 * debug/strcpy_chk.c: Likewise.
8571 * debug/strncat_chk.c: Likewise.
8572 * debug/strncpy_chk.c: Likewise.
8573 * string/memchr.c: Likewise.
8574 * string/memrchr.c: Likewise.
8575 * string/rawmemchr.c: Likewise.
8576 * string/strcat.c: Likewise.
8577 * string/strchr.c: Likewise.
8578 * string/strchrnul.c: Likewise.
8579 * string/strcmp.c: Likewise.
8580 * string/strcpy.c: Likewise.
8581 * string/strncat.c: Likewise.
8582 * string/strncmp.c: Likewise.
8583 * string/strncpy.c: Likewise.
8584
8ff41c46
WS
85852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8586
8587 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
8588 __builtin_memcopy is called when src and dest ranges are known to not
8589 overlap.
8590
6b652f46
WS
85912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8592
8593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
8594 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
8595 fwd_align_merge macro call.
8596 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
8597 bwd_align_merge macro call.
8598 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8599
b282631e
WS
86002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
8601
8602 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
8603 bwd_align_merge macros.
8604 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
8605 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
8606 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8607
95aa737c
DM
86082012-04-18 David S. Miller <davem@davemloft.net>
8609
8610 * sysdeps/sparc/sparc64/memcopy.h: Delete.
8611
7a99a614
AJ
86122012-04-18 Andreas Jaeger <aj@suse.de>
8613
8614 [BZ# 6794]
8615 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
8616 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
8617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8618
8619 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
8620 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
8621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8622
8623 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
8624 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
8625 Adjust for changed ldbl-128 files.
8626
8627 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
8628 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
8629 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
8630
e5270c23
DM
86312012-04-17 David S. Miller <davem@davemloft.net>
8632
8633 * sysdeps/sparc/sparc32/memcopy.h: Delete.
8634
fb5e92c9
AS
86352012-04-17 Andreas Schwab <schwab@linux-m68k.org>
8636
8637 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
8638 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
8639 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
8640 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
8641 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8642 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
8643
76da7265
AZ
86442012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8645
8646 [BZ #6794]
8647 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
8648 * math/libm-test.inc: Add ilogb errno and exception tests.
8649 * math/w_ilogb.c: New file: ilogb wrapper.
8650 * math/w_ilogbf.c: New file: ilogbf wrapper.
8651 * math/w_ilogbl.c: New file: ilogbl wrapper.
8652 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
8653 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
8654 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
8655 exception being thrown with 0.0 as argument.
8656 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
8657 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
8658 exception being thrown with 0.0 as argument.
8659 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
8660 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8661 exception being thrown with 0.0 as argument.
8662 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
8663 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
8664 exception being thrown with 0.0 as argument.
8665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
8666 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 8667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
8668 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
8669 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
8670 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
8671 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
8672 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
8673 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
8674
0396e69d
PB
86752012-04-17 Petr Baudis <pasky@ucw.cz>
8676
8677 * include/sys/uio.h: Change __vector to __iovec to avoid clash
8678 with altivec.
8679
750b5926
MP
86802012-04-16 Marek Polacek <polacek@redhat.com>
8681
8682 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
8683
751728a1
MP
86842012-04-16 Marek Polacek <polacek@redhat.com>
8685
8686 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
8687 operands of fdivp instruction.
8688
34a27407
L
86892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8690
8691 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
8692 * elf/tst-auditmod3b.c: Likewise.
8693 * elf/tst-auditmod4b.c: Likewise.
8694 * elf/tst-auditmod5b.c: Likewise.
8695 * elf/tst-auditmod6b.c: Likewise.
8696 * elf/tst-auditmod6c.c: Likewise.
8697 * elf/tst-auditmod7b.c: Likewise.
8698 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
8699 * sysdeps/x86_64/preconfigure.in: Likewise.
8700 * sysdeps/x86_64/preconfigure: Regenerated.
8701
7e73e17d
L
87022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
8703
8704 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
8705 __ILP32__.
8706
c7a6ab72
AB
87072012-04-13 Antoine Balestrat <merkil33@gmail.com>
8708
8709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8710 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
8711
a9e8e0e0
CL
87122012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
8713
8714 [BZ #13973]
8715 * locale/iso-639.def: Fix gl language name. Spotted by
8716 Yaron Shahrabani.
8717
ec98af7d
RM
87182012-04-12 Roland McGrath <roland@hack.frob.com>
8719
8720 [BZ #2074]
8721 * libio/libio.h (__io_write_fn): Update comment.
8722
247c3ede
PB
87232012-04-12 Petr Baudis <pasky@ucw.cz>
8724
8725 [BZ #2074]
8726 * stdio.texi (Hook Functions): The user provided writer function
8727 is not allowed to return -1.
8728
55939d6d
DM
87292012-04-11 David S. Miller <davem@davemloft.net>
8730
8731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8732
90020f5a
MF
87332012-04-11 Mike Frysinger <vapier@gentoo.org>
8734
8735 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8736 Add a leading slash to rtkaio.
8737
288f9098
JM
87382012-04-11 Jim Meyering <meyering@redhat.com>
8739
90020f5a
MF
8740 [BZ #11959]
8741 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
8742 It is not necessarily an error to ignore fwrite's return
8743 value. One can reliably use ferror to test for errors after
8744 the fact.
288f9098 8745
4be2b570
L
87462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8747
8748 * bits/types.h (__snseconds_t): New type.
8749 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
8750
8751 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
8752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8753 (__SNSECONDS_T_TYPE): Likewise.
8754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8755 (__SNSECONDS_T_TYPE): Likewise.
8756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8757 (__SNSECONDS_T_TYPE): Likewise.
8758
288f9098 87592012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
8760
8761 [BZ #2636]
8762 * manual/time.texi (Processor Time): Return type of times is
8763 elapsed real time since an arbitrary point in the past.
8764 (CPU Time): Move CLK_TCK from here...
8765 (Processor Time): ...to here. Correct description.
8766 * manual/conf.texi (Constants for Sysconf): Correct description of
8767 _SC_CLK_TCK.
8768
d7dd4413
DM
87692012-04-10 David S. Miller <davem@davemloft.net>
8770
8771 [BZ #13967]
8772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
8773 where the is a gap between DT_REL(A) and DT_JMPREL.
8774
b46068fc
L
87752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8776
8777 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
8778 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8779 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8780
73d65cc3
SP
87812012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8782
8783 * elf/dl-support.c (_dl_inhibit_cache): New variable.
8784 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
8785 (dl_main): Handle --inhibit-cache.
8786 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
8787 _dl_inhibit_cache.
8788 * elf/dl-load.c (_dl_map_object): Use it.
8789 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
8790
bcc8d661
JM
87912012-04-09 Joseph Myers <joseph@codesourcery.com>
8792
8f9a2fae
JM
8793 [BZ #13872]
8794 * sysdeps/i386/fpu/e_powl.S (p78): New object.
8795 (__ieee754_powl): Saturate large exponents rather than testing for
8796 overflow of y*log2(x).
8797 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8798 * math/libm-test.inc (pow_test): Do not permit spurious overflow
8799 exceptions.
8800
bcc8d661
JM
8801 [BZ #11521]
8802 * math/s_ctan.c: Include <float.h>.
8803 (__ctan): Avoid internal overflow or cancellation in calculating
8804 denominator.
8805 * math/s_ctanf.c: Likewise.
8806 * math/s_ctanl.c: Likewise.
8807 * math/s_ctanh.c: Likewise.
8808 * math/s_ctanhf.c: Likewise.
8809 * math/s_ctanhl.c: Likewise.
8810 * math/libm-test.inc (ctan_test): Add more tests.
8811 (ctanh_test): Likewise.
8812 * sysdeps/i386/fpu/libm-test-ulps: Update.
8813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814
823fbbb4
AJ
88152012-04-09 Andreas Jaeger <aj@suse.de>
8816
03879793
AJ
8817 [BZ #6894]
8818 * manual/filesys.texi (Directory Entries): Mention that d_namlen
8819 is an optional BSD extension.
8820
823fbbb4
AJ
8821 [BZ #10254]
8822 * manual/stdio.texi (Opening Streams): Document additional fopen
8823 parameters.
8824
8de131cb
RM
88252012-04-09 Roland McGrath <roland@hack.frob.com>
8826
8827 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
8828 %eax without telling the compiler.
8829
c0ed9d7d
CD
88302012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
8831
8832 [BZ # 13963]
8833 * manual/install.texi: Use sourceware.org.
8834
c483f6b4
JM
88352012-04-09 Joseph Myers <joseph@codesourcery.com>
8836
d7dd9453
JM
8837 [BZ #13873]
8838 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
8839 (__ieee754_pow): Generate overflow and underflow using huge*huge
8840 and tiny*tiny rather than just returning constant infinity or zero
8841 for large exponents.
8842 * math/libm-test.inc (pow_test): Require overflow exceptions for
8843 applicable cases of large exponents.
8844
c483f6b4
JM
8845 [BZ #706]
8846 * sysdeps/i386/fpu/e_pow.S (p10): New object.
8847 (__ieee754_pow): Use iterative multiplication algorithm only for
8848 integer exponents with absolute value below 1024. Check for odd
8849 integer exponents when using algorithm for real exponents.
8850 * math/libm-test.inc (pow_test): Add more tests.
8851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8852
d2de7579
JM
88532012-04-08 Joseph Myers <joseph@codesourcery.com>
8854
8855 [BZ #13705]
8856 * math/libm-test.inc (exp_test): Do not allow overflow exception
8857 on underflow test.
8858
f77f1232
AJ
88592012-04-08 Aurelien Jarno <aurelien@aurel32.net>
8860
8861 [BZ #13705]
8862 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
8863 instead of __kernel_standard_f.
8864
3884932b
MF
88652012-04-08 Mike Frysinger <vapier@gentoo.org>
8866
8867 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
8868 * sysdeps/x86_64/memset_chk.S: Likewise.
8869
54472e9c
AJ
88702012-04-08 Andreas Jaeger <aj@suse.de>
8871
6ab0fbfc
AJ
8872 [BZ #10153]
8873 * manual/startup.texi (Environment Access): Describe return value
8874 for putenv and setenv.
8875
61efba8c
AJ
8876 [BZ #6895]
8877 * manual/filesys.texi (Directory Entries): Add description for
8878 DT_LNK.
8879
95c3f29a
AJ
8880 [BZ #6890]
8881 * manual/filesys.texi (Directory Entries): Clarify that it's file
8882 system not operating system in the description of DT_UNKNOWN.
8883
54472e9c
AJ
8884 [BZ #6578]
8885 * manual/syslog.texi (closelog): Fix reference, it's openlog.
8886
624254b1
SC
88872012-04-08 Stephen Compall <s11@member.fsf.org>
8888
8889 [BZ #6649]
8890 * manual/llio.texi (Opening and Closing Files): Add cross
8891 reference to explain mode argument.
8892
1e4920e0
MF
88932012-04-07 Mike Frysinger <vapier@gentoo.org>
8894
8895 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
8896 * sysdeps/x86_64/memset_chk.S: Likewise.
8897
5ed848f3
DM
88982012-04-07 David S. Miller <davem@davemloft.net>
8899
8900 * elf/elf.h (R_SPARC_WDISP10): Define.
8901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
8902 R_SPARC_SIZE32.
8903 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
8904 R_SPARC_SIZE64 and R_SPARC_H34.
8905
96154cd8
CD
89062012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
8907
8908 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
8909 conditions and remove no longer applicable assertion.
8910
9904dc47
L
89112012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8912
8913 * bits/byteswap.h: Include <features.h>.
8914 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
8915 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
8916
f8887d0a
L
89172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * bits/byteswap.h (__bswap_16): Removed.
8920 Include <bits/byteswap-16.h> to get __bswap_16.
8921 * sysdeps/i386/bits/byteswap.h: Likewise.
8922 * sysdeps/s390/bits/byteswap.h: Likewise.
8923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8924 * bits/byteswap-16.h: New file.
8925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8926 * sysdeps/s390/bits/byteswap-16.h: Likewise.
8927 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
8928 * string/Makefile (headers): Add bits/byteswap-16.h.
8929
62470f60
PP
89302012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8931
8932 [BZ #13895]
8933 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
8934 extra indirection.
8935 * nss/Makefile (tests-static, tests): Add tst-nss-static.
8936 * nss/tst-nss-static.c: New.
8937
4dad7bab
RM
89382012-04-06 Robert Millan <rmh@gnu.org>
8939
8940 [BZ #6486]
8941 * manual/llio.texi (File Position Primitive): lseek
8942 refers to WHENCE when it really means OFFSET.
8943
e9142a17
AJ
89442012-04-06 Andreas Jaeger <aj@suse.de>
8945
2c040eff
AJ
8946 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
8947 strncmp declarations.
8948
e9142a17
AJ
8949 * abilist/libc.abilist: Add __poll and __ppoll.
8950
ff9f1c5f
DM
89512012-04-05 David S. Miller <davem@davemloft.net>
8952
dcd2ae90
DM
8953 * scripts/check-local-headers.sh: Accept a host triplet in the
8954 path matched by the exclude regexp.
8955
993eb054
DM
8956 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
8957 definition.
8958 * sysdeps/powerpc/powerpc32/dl-machine.h
8959 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
8960 * sysdeps/s390/s390-32/dl-machine.h
8961 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8962 * sysdeps/sparc/sparc32/dl-machine.h
8963 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8964 * sysdeps/sparc/sparc64/dl-machine.h
8965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
8966
ff9f1c5f
DM
8967 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
8968 lazy binding.
48e2e132 8969 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
8970 undefined symbol errors.
8971
48e2e132 8972 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
8973 DT_NEEDED entries.
8974
e80d6f94
MM
89752012-04-05 Michael Matz <matz@suse.de>
8976
8977 [BZ #13592]
8978 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
8979
349fa79f
AJ
89802012-04-05 Andreas Jaeger <aj@suse.de>
8981
8982 [BZ #13908]
8983 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
8984 comment.
8985
f402708f
KK
89862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8987
8988 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
8989 which ROUND is no valid rounding mode.
8990
2ecccfc9
KK
89912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8992
8993 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
8994 read again.
8995 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
8996
8a53f50f
KK
89972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8998
8999 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9000 an exception using FPU order intentionally.
9001
90022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9003
9004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9005 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9006 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9007 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9008
d653abb7
SJ
90092012-04-05 Simon Josefsson <simon@josefsson.org>
9010
9011 [BZ #12340]
9012 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9013 EINVAL when BUFLEN is too smal.
9014
c3b1bf7d
TS
90152012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9016
9017 [BZ #13553]
9018 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9019 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9020
b1aa60f3
AJ
90212012-04-03 Andreas Jaeger <aj@suse.de>
9022
c3b1bf7d 9023 [BZ #13938]
67f60a26
AJ
9024 * manual/setjmp.texi (System V contexts): Fix sentence.
9025
b1aa60f3
AJ
9026 [BZ #13926]
9027 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9028 New macro for this case.
9029 [!__GNUC__] (__bswap_64): New inline function for this case.
9030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9031 * bits/byteswap.h: Likewise.
9032 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9033 ull, guard with __GLIBC_HAVE_LONG_LONG.
9034
9035 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9036 __GLIBC_HAVE_LONG_LONG.
9037
9038 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9039 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9040
39c59c35
TMQMF
90412012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9042
9043 [BZ #13691]
9044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9045 inptr and inend, rather than using last_ch.
9046
135ffda8
DM
90472012-04-02 David S. Miller <davem@davemloft.net>
9048
9049 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9050 * stdio-common/printf-parse.h (read_int): Change return type to
9051 'int', return -1 on INT_MAX overflow.
9052 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
9053 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
9054 overflows INT_MAX. Check for overflow of in-format-string precision
9055 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
9056 SIZE_MAX not INT_MAX for integer overflow test.
9057 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
9058 skip the construct in the format string but do not record anything.
9059 * stdio-common/bug22.c: Adjust to test both width/prevision
9060 INT_MAX overflow as well as total length INT_MAX overflow. Check
9061 explicitly for proper errno values.
9062
228c019e
TS
90632012-04-02 Thomas Schwinge <thomas@codesourcery.com>
9064
302cadd3
TS
9065 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
9066 CHAR_MAX.
9067 * string/test-strcmp.c [! WIDE]: Likewise.
9068 * time/tst-mktime2.c: Likewise for INT_MAX.
9069 * string/test-string.h: #include <sys/param.h> for MIN.
9070
228c019e
TS
9071 * csu/init-first.c (__libc_init_first): Call __ctype_init.
9072 * sysdeps/i386/init-first.c (init): Likewise.
9073 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
9074 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
9075 * sysdeps/sh/init-first.c (init): Likewise.
9076
cfa633f5
UD
90772012-04-01 Ulrich Drepper <drepper@gmail.com>
9078
9079 * po/ru.po: Update from translation team.
d1635ef8 9080 * po/vi.po: Likewise.
cfa633f5 9081
6cd0a5ea
SP
90822012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9083
9084 * resolv/nss_dns/dns-host.c: Merge copyright years.
9085
4b43400f
LD
90862012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9087
9088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9089 Optimize memcpy with prefetch if
9090 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
9091 src, dst pointers have unequal 16 byte alignments.
9092
48c41d04
SP
90932012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9094
9095 [BZ #13928]
9096 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
9097 from a CNAME entry and return the minimum ttl for the query.
9098 (gaih_getanswer_slice): Likewise.
9099
b8dc394d
JL
91002012-03-30 Jeff Law <law@redhat.com>
9101
9102 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
9103 due to long keys.
9104 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9105 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9106
2f5a5ed0
JL
9107 * resolv/nss_dns/dns-host.c: Update copyright year.
9108
1d39e359
UD
91092012-03-30 Ulrich Drepper <drepper@gmail.com>
9110
c030f70c 9111 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 9112 requests to save a system call. Fix check that all bytes are sent.
c030f70c 9113
1d39e359
UD
9114 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
9115 comments for sendmmsg.
9116
91172012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
9118
9119 [BZ #13691]
9120 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
9121 with only 1 character between 0x0041 and 0x01b0.
9122 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
9123 * wcsmbs/tst-mbsnrtowcs.c: New file.
9124
20fde227
DM
91252012-03-29 David S. Miller <davem@davemloft.net>
9126
9127 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
9128 small copies by hand.
9129
984a4237
JL
91302012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9131
9132 [BZ #13761]
9133 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
9134 _nss_compat_initgroups_dyn): Fall back to malloc/free
9135 for large group memberships.
9136
18c9d62b
DM
91372012-03-28 David S. Miller <davem@davemloft.net>
9138
88d85d4f
DM
9139 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
9140 that branches into memcpy.
9141 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9144 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
9146 bits.
9147 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
9148 implementation too.
9149 * sysdeps/sparc/mempcpy.S: New file.
9150
e5aa83e1
DM
9151 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
9152 the IFUNC routine in the libc case.
9153 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9154
88570753
DM
9155 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
9156 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
9157 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
9158 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
9159 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
9160 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
9161 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
9162 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
9163
249d7567
DM
9164 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
9165 loop to 256 bytes instead of 64 bytes and fix test signedness.
9166
18c9d62b
DM
9167 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
9168 * sysdeps/sparc/sparc32/Makefile: rather than here...
9169 * sysdeps/sparc/sparc64/Makefile: and here.
9170
05f3d1f6
UD
91712012-03-28 Ulrich Drepper <drepper@gmail.com>
9172
9173 * malloc/mallocbug.c: Avoid warnings about unused variables.
9174
86ae07a8
JL
91752012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9176
9177 [BZ #13760]
9178 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
9179 in the right place. Discard and retry query if response is
9180 larger than input buffer size.
9181
41bf21a1
JM
91822012-03-28 Joseph Myers <joseph@codesourcery.com>
9183
d6270972
JM
9184 [BZ #369]
9185 [BZ #2678]
9186 [BZ #3866]
9187 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
9188 x for large integer exponent.
9189 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9190 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
9191 sign of result as needed afterwards.
9192 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
9194 result for underflowing pow the same as for overflow.
9195 (__kernel_standard_l): Handle powl overflow and underflow here
9196 rather than calling __kernel_standard.
9197 * math/libm-test.inc (pow_test): Add more tests.
9198
414fca03 9199 [BZ #3868]
41bf21a1
JM
9200 [BZ #13879]
9201 [BZ #13910]
9202 [BZ #13911]
9203 [BZ #13912]
9204 [BZ #13913]
9205 [BZ #13915]
9206 [BZ #13916]
9207 [BZ #13917]
9208 [BZ #13918]
9209 [BZ #13919]
9210 [BZ #13920]
9211 [BZ #13921]
9212 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
9213 * sysdeps/ieee754/k_standard.c: Include <float.h>.
9214 (__kernel_standard_l): New function.
9215 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
9216 __kernel_standard.
9217 * math/w_acosl.c (__acosl): Likewise.
9218 * math/w_asinl.c (__asinl): Likewise.
9219 * math/w_atan2l.c (__atan2l): Likewise.
9220 * math/w_atanhl.c (__atanhl): Likewise.
9221 * math/w_coshl.c (__coshl): Likewise.
9222 * math/w_exp10l.c (__exp10l): Likewise.
9223 * math/w_exp2l.c (__exp2l): Likewise.
9224 * math/w_fmodl.c (__fmodl): Likewise.
9225 * math/w_hypotl.c (__hypotl): Likewise.
9226 * math/w_j0l.c (__j0l, __y0l): Likewise.
9227 * math/w_j1l.c (__j1l, __y1l): Likewise.
9228 * math/w_jnl.c (__jnl, __ynl): Likewise.
9229 * math/w_lgammal.c (__lgammal): Likewise.
9230 * math/w_log10l.c (__log10l): Likewise.
9231 * math/w_log2l.c (__log2l): Likewise.
9232 * math/w_logl.c (__logl): Likewise.
9233 * math/w_powl.c (__powl): Likewise.
9234 * math/w_remainderl.c (__remainderl): Likewise.
9235 * math/w_scalbl.c (sysv_scalbl): Likewise.
9236 * math/w_sinhl.c (__sinhl): Likewise.
9237 * math/w_sqrtl.c (__sqrtl): Likewise.
9238 * math/w_tgammal.c (__tgammal): Likewise.
9239 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
9240 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
9241 * math/libm-test.inc (acos_test): Add more tests.
9242 (acosh_test): Likewise.
9243 (asin_test): Likewise.
9244 (atanh_test): Likewise.
9245 (exp_test): Likewise.
9246 (exp10_test): Likewise.
9247 (exp2_test): Likewise.
9248 (expm1_test): Likewise.
9249 (lgamma_test): Likewise.
9250 (log_test): Likewise.
9251 (log10_test): Likewise.
9252 (log1p_test): Likewise.
9253 (log2_test): Likewise.
9254 (pow_test): Do not allow some spurious overflow exceptions.
9255 (sqrt_test): Add more tests.
9256 (tgamma_test): Likewise.
9257 (y0_test): Likewise.
9258 (y1_test): Likewise.
9259 (yn_test): Likewise.
9260
dd62fda6
AB
92612012-03-27 Anton Blanchard <anton@samba.org>
9262
9263 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
9264 MAP_HUGETLB.
9265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9268
1e3cdfda
AJ
92692012-03-27 David S. Miller <davem@davemloft.net>
9270
b855ab85
DM
9271 * conform/Makefile: Run run-conformtest.sh using $(BASH).
9272
1e3cdfda
AJ
9273 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
9274 have-as-vis3 check.
9275
92762012-03-27 Andreas Jaeger <aj@suse.de>
9277
9278 * sysdeps/x86_64/elf/configure.in: Moved to ...
9279 * sysdeps/x86_64/configure.in: ... here.
9280 * sysdeps/x86_64/elf/start.S: Moved to ...
9281 * sysdeps/x86_64/start.S: ... here.
9282 * sysdeps/x86_64/elf/configure: Delete.
9283
9284 * sysdeps/x86_64/configure.in: Merge contents from
9285 sysdeps/i386/configure.in (without i686 check).
9286
9287 * sysdeps/i386/elf/Versions: Merge into ...
9288 * sysdeps/i386/Versions: ... this.
9289 * sysdeps/i386/elf/Versions: Delete file.
9290 * sysdeps/i386/elf/start.S: Moved to ...
9291 * sysdeps/i386/start.S: ...here.
9292 * sysdeps/i386/elf/configure.in: Merge into...
9293 * sysdeps/i386/configure.in: ...here.
9294 * sysdeps/i386/elf/configure.in: Delete file.
9295 * sysdeps/i386/elf/configure: Delete file.
9296
9297 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
9298 * debug/backtracesyms.c: ... here.
9299 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
9300 * debug/backtracesymsfd.c: ... here.
9301 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
9302 * sysdeps/generic/ifunc-sel.h: ... here.
9303
9304 * sysdeps/unix/i386/start.c: Delete file.
9305 * sysdeps/unix/sparc/start.c: Delete file.
9306 * sysdeps/unix/start.c: Delete file.
9307
9308 * sysdeps/sh/elf/configure.in: Moved to ...
9309 * sysdeps/sh/configure.in: ... here.
9310 * sysdeps/sh/elf/start.S: Moved to ...
9311 * sysdeps/sh/start.S: ... here.
9312 * sysdeps/sh/elf/configure: Delete file.
9313
9314 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
9315 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
9316 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
9317 * sysdeps/powerpc/powerpc64/entry.h: ... here.
9318 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
9319 * sysdeps/powerpc/powerpc64/start.S: here.
9320 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
9321 * sysdeps/powerpc/powerpc64/Makefile: ... this.
9322 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
9323 * sysdeps/powerpc/powerpc64/configure.in: ... this.
9324 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
9325
9326 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
9327 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
9328 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
9329 * sysdeps/powerpc/powerpc32/start.S: ... here.
9330 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
9331 * sysdeps/powerpc/powerpc32/configure.in: ... this.
9332 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
9333
9334 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
9335 * sysdeps/powerpc/ifunc-sel.h: ... here.
9336 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
9337 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
9338
9339 * sysdeps/sparc/elf/configure.in: Moved to ...
9340 * sysdeps/sparc/configure.in: ... here.
9341 * sysdeps/sparc/elf/configure: Delete file.
9342 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
9343 * sysdeps/sparc/sparc32/start.S: ... here.
9344 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
9345 * sysdeps/sparc/sparc64/start.S: ... here.
9346 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
9347 * sysdeps/sparc/sparc32/Makefile: ... this.
9348 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
9349 * sysdeps/sparc/sparc64/Makefile: ... this.
9350
9351 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
9352 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
9353 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
9354 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
9355 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
9356 * sysdeps/s390/s390-32/setjmp.S: ... here.
9357 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
9358 * sysdeps/s390/s390-32/configure.in: ... here.
9359 * sysdeps/s390/s390-32/elf/configure: Delete file.
9360 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
9361 * sysdeps/s390/s390-32/start.S: ... here.
9362
9363 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
9364 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
9365 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
9366 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
9367 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
9368 * sysdeps/s390/s390-64/setjmp.S: ... here.
9369 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
9370 * sysdeps/s390/s390-64/configure.in: ... here
9371 * sysdeps/s390/s390-64/elf/configure: Delete file.
9372 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
9373 * sysdeps/s390/s390-64/start.S: ... here.
9374 * sysdeps/s390/s390-64/elf/configure: Delete.
9375
9376 * configure.in: Remove support for elf directories in sysdeps.
9377
9378 * configure: Regenerated.
9379 * sysdeps/i386/configure: Regenerated.
9380 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9381 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9382 * sysdeps/s390/s390-32/configure: Regenerated.
9383 * sysdeps/s390/s390-64/configure: Regenerated.
9384 * sysdeps/sh/configure: Regenerated.
9385 * sysdeps/sparc/configure: Regenerated.
9386 * sysdeps/x86_64/configure: Regenerated.
9387
a3f61311
AS
93882012-03-26 Andreas Schwab <schwab@linux-m68k.org>
9389
c876e002
AS
9390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9391
a3f61311
AS
9392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
9393 denormal result into account.
9394
ac4c54f0
RM
93952012-03-25 Roland McGrath <roland@hack.frob.com>
9396
9397 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
9398 Reported by Allan McRae <allan@archlinux.org>.
9399
6a9b9c02
JL
94002012-03-23 Jeff Law <law@redhat.com>
9401
9402 * nss/getnssent.c (__nss_getent): Fix typo.
9403
4c42a0c1
DM
94042012-03-23 David S. Miller <davem@davemloft.net>
9405
9406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9407
1532c7ac
L
94082012-03-23 H.J. Lu <hongjiu.lu@intel.com>
9409
9410 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
9411 to pad to uint64_t for each field.
9412 (dl_tls_index): Replace unsigned long with uint64_t.
9413
3ff42526
PP
94142012-03-23 Daniel Jacobowitz <dmj@google.com>
9415 Paul Pluzhnikov <ppluzhnikov@google.com>
9416
9417 [BZ #6528]
9418 * grp/Makefile (otherlibs): Don't set it.
9419 * inet/Makefile (otherlibs): Likewise.
9420 * login/Makefile (otherlibs): Likewise.
9421 * nscd/Makefile (otherlibs): Likewise.
9422 * posix/Makefile (otherlibs): Likewise.
9423 * pwd/Makefile (otherlibs): Likewise.
9424 * rt/Makefile (otherlibs): Likewise.
9425 * sunrpc/Makefile (otherlibs): Likewise.
9426 * nss/Makefile (otherlibs): Likewise.
9427 Add libnss_files to routines and static-only-routines.
9428 ($(objpfx)getent): Remove rule.
9429 * resolv/Makefile: Add libnss_dns and libresolv to routines and
9430 static-only-routines.
9431
7c69cd14
JM
94322012-03-22 Joseph Myers <joseph@codesourcery.com>
9433
9434 [BZ #13892]
9435 * math/s_cexp.c: Include <float.h>.
9436 (__cexp): Handle exp result overflowing not necessarily
9437 overflowing both real and imaginary parts of result.
9438 * math/s_cexpf.c: Likewise.
9439 * math/s_cexpl.c: Likewise.
9440 * math/libm-test.inc (cexp_test): Add more tests.
9441 * sysdeps/i386/fpu/libm-test-ulps: Update.
9442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9443
81b035fe
L
94442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9445
9446 * include/link.h (ELFW): New macro.
9447 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
9448 Replace ELF64_R_TYPE with ELFW(R_TYPE).
9449
1da7940c
L
94502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9451
9452 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
9453 with uint64_t.
9454
b749dbb9
L
94552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9456
9457 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
9458 declaration.
9459 (struct La_x32_retval): Likewise.
9460
2ff87f3f
L
94612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
9462
9463 * sysdeps/x86_64/preconfigure.in: New file.
9464 * sysdeps/x86_64/preconfigure: New generated file.
9465
c0df8e69
JM
94662012-03-22 Joseph Myers <joseph@codesourcery.com>
9467
48e44791
JM
9468 [BZ #13824]
9469 * math/e_exp2l.c: Include <float.h>.
9470 (__ieee754_exp2l): Handle overflow and underflow cases
9471 separately. Only pass fractional part of argument to
9472 __ieee754_expl.
9473 * math/libm-test.inc (exp2_test): Add more tests.
9474
c0df8e69
JM
9475 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
9476 negating x to take absolute value.
9477 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9478 Likewise.
9479 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9481 Likewise.
9482 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
9483 computing low part if x was negated.
9484 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9485
c8e43ba7
L
94862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9487
9488 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
9489 la_x32_gnu_pltexit.
9490 (pltexit): Cast int_retval to ptrdiff_t.
9491 * elf/tst-auditmod3b.c: Likewise.
9492 * elf/tst-auditmod4b.c: Likewise.
9493 * elf/tst-auditmod5b.c: Likewise.
9494 * elf/tst-auditmod6b.c: Likewise.
9495 * elf/tst-auditmod6c.c: Likewise.
9496 * elf/tst-auditmod7b.c: Likewise.
9497
9498 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
9499 and x32_gnu_pltexit.
9500
9501 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
9502 __ELF_NATIVE_CLASS.
9503 (La_x32_regs): New macro.
9504 (La_x32_retval): Likewise.
9505 (la_x32_gnu_pltenter): New function prototype.
9506 (la_x32_gnu_pltexit): Likewise.
9507
7998fa78
AS
95082012-03-21 Andreas Schwab <schwab@linux-m68k.org>
9509
dcb33988
AS
9510 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
9511 exponent.
9512
233fc563
AS
9513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9514
7998fa78
AS
9515 * configure.in (libc_cv_cc_nofma): Check for option to disable
9516 generation of FMA instructions.
9517 * configure: Regenerate.
9518 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
9519 * sysdeps/ieee754/dbl-64/Makefile: New file.
9520 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
9521 Remove brandred-fma4.
9522 (CFLAGS-brandred-fma4.c): Remove.
9523 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
9524 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
9525 define.
9526 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
9527 define.
9528
8e95c99a
L
95292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9530
9531 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9532 LLONG_MAX != LONG_MAX.
9533 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9534 (_fitoa_word): Likewise.
9535 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
9536 LLONG_MAX != LONG_MAX.
9537 * stdio-common/_itowa.h: Include <_itoa.h>.
9538 (_itowa_word): Use _ITOA_WORD_TYPE on value.
9539 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
9540 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
9541 only if not defined.
9542 (_ITOA_WORD_TYPE): Likewise.
9543 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9544 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
9545
6f4db457
DM
95462012-03-21 David S. Miller <davem@davemloft.net>
9547
9548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9549
7785fe5a
L
95502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
9551
9552 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
9553 of x86_64 when setting libc_cv_slibdir, libdir and
9554 libc_cv_localedir.
9555 * sysdeps/unix/sysv/linux/configure: Regenerated.
9556
4535cd55
JM
95572012-03-21 Joseph Myers <joseph@codesourcery.com>
9558
9559 * manual/lang.texi (Old Varargs): Remove section.
9560 (How Variadic): Update menu.
9561 (va_start): Do not mention varargs.h.
9562
17228132
TS
95632012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9564 Joseph Myers <joseph@codesourcery.com>
9565
9566 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
9567 link test.
9568 * configure: Regenerated.
9569
8149f976
TS
95702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
9571
05f3d1f6
UD
9572 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
9573 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
9574 conformtest.pl
8149f976 9575
1a4ac776
JM
95762012-03-21 Joseph Myers <joseph@codesourcery.com>
9577
be22ce65
JM
9578 * NOTES: Remove.
9579 * Makefile (files-for-dist): Remove NOTES.
9580 (NOTES): Remove rule.
9581 * README: Don't refer to NOTES.
9582 * manual/creature.texi: Don't include macros.texi.
9583 * manual/intro.texi (creature.texi): Remove comment referring to
9584 NOTES.
9585
40b601fb
JM
9586 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
9587 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
9588 * configure: Regenerated.
9589 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
9590 LIBC_TRY_CC_OPTION.
9591 (libc_cv_as_i686): Likewise.
9592 (libc_cv_cc_avx): Likewise.
9593 (libc_cv_cc_sse2avx): Likewise.
9594 (libc_cv_cc_fma4): Likewise.
9595 (libc_cv_cc_novzeroupper): Likewise.
9596 * sysdeps/i386/configure: Regenerated.
9597
1a4ac776
JM
9598 [BZ #13883]
9599 * sysdeps/i386/fpu/s_cexp.S: Remove.
9600 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9601 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9602 * math/libm-test.inc (cexp_test): Add more tests.
9603 * sysdeps/i386/fpu/libm-test-ulps: Update.
9604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9605
a458e7fe
AM
96062012-03-21 Allan McRae <allan@archlinux.org>
9607
9608 * timezone/Makefile: Do not install iso3166.tab and zone.tab
9609
0cb7efc5
JM
96102012-03-21 Joseph Myers <joseph@codesourcery.com>
9611
9612 [BZ #13871]
9613 * math/w_exp2.c: Do not include <float.h>.
9614 (o_threshold, u_threshold): Remove.
9615 (__exp2): Calculate result before checking finiteness and calling
9616 __kernel_standard.
9617 * math/w_exp2f.c: Likewise.
9618 * math/w_exp2l.c: Likewise.
9619 * math/libm-test.inc (exp2_test): Require overflow exception for
9620 1e6 input.
2460d3aa
JM
9621
9622 [BZ #3866]
9623 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
9624 range of signed 64-bit integers before using fistpll. Remove
9625 checks for whether integers fit in mantissa bits.
9626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
9627 the range of signed 32-bit integers before using fistpl. Remove
9628 checks for whether integers fit in mantissa bits.
9629 * sysdeps/i386/fpu/e_powl.S (p64): New object.
9630 (__ieee754_powl): Test for y outside the range of signed 64-bit
9631 integers before using fistpll. Reduce 64-bit values to 63-bit
9632 ones as needed.
9633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
9634 divide-by-zero is raised for zero to large negative powers.
9635 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
9636 (__ieee754_powl): Test for y outside the range of signed 64-bit
9637 integers before using fistpll. Reduce 64-bit values to 63-bit
9638 ones as needed.
9639 * math/libm-test.inc (pow_test): Add more tests.
9640
eb96ffb0
L
96412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9642
9643 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
9644 <stdio-common/_itoa.h>.
9645 * debug/segfault.c: Likewise.
9646 * elf/dl-cache.c: Likewise.
9647 * elf/dl-minimal.c: Likewise.
9648 * elf/dl-misc.c: Likewise.
9649 * elf/dl-sysdep.c: Likewise.
9650 * elf/dl-version.c: Likewise.
9651 * elf/rtld.c: Likewise.
9652 * hurd/hurdsock.c: Likewise.
9653 * hurd/lookup-retry.c: Likewise.
9654 * malloc/malloc.c: Likewise.
9655 * malloc/mtrace.c: Likewise.
9656 * nscd/nscd_getgr_r.c: Likewise.
9657 * nscd/nscd_getpw_r.c: Likewise.
9658 * nscd/nscd_getserv_r.c: Likewise.
9659 * posix/getopt_init.c: Likewise.
9660 * posix/wordexp.c: Likewise.
9661 * stdio-common/_itoa.c: Likewise.
9662 * stdio-common/printf_fphex.c: Likewise.
9663 * stdio-common/vfprintf.c: Likewise.
9664 * string/_strerror.c: Likewise.
9665 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
9666 * sysdeps/i386/i686/hp-timing.h: Likewise.
9667 * sysdeps/mach/_strerror.c: Likewise.
9668 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
9669 * sysdeps/mach/hurd/sethostid.c: Likewise.
9670 * sysdeps/mach/hurd/xmknodat.c: Likewise.
9671 * sysdeps/mach/xpg-strerror.c: Likewise.
9672 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9674 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
9675 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
9676 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9677 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
9678 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9679 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9680 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
9681 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
9682 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
9683 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9684 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
9685 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9686 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9687 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
9688 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
9689 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
9690 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9691 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9692 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
9693
9694 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
9695
9696 * stdio-common/_itoa.h: Moved to ...
9697 * sysdeps/generic/_itoa.h: Here.
9698
9699 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
9700
9701 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
9702 instead of "_itoa.h" and "_itowa.h".
9703 * stdio-common/vfprintf.: Likewise.
9704
d1af992d
L
97052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9706
9707 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
9708 <bits/wordsize.h>.
9709 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
9710 (__signbit): Likwise.
9711 (llrintf): Likwise.
9712 (llrint): Likwise.
9713
114883e0
L
97142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
9717 __WORDSIZE != 64.
9718
c135cc1b
JM
97192012-03-20 Joseph Myers <joseph@codesourcery.com>
9720
9721 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
9722 OVERFLOW_EXCEPTION_OK.
9723 * math/libm-test.inc ("Philosophy"): Update comment about
9724 exception testing.
9725 (OVERFLOW_EXCEPTION): Define.
9726 (OVERFLOW_EXCEPTION_OK): Likewise.
9727 (INVALID_EXCEPTION_OK): Renumber.
9728 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9729 (IGNORE_ZERO_INF_SIGN): Likewise.
9730 (test_exceptions): Handle FE_OVERFLOW.
9731 (exp10_test): Expect overflow exceptions.
9732 (exp2_test): Likewise.
9733 (expm1_test): Likewise.
9734 (nextafter_test): Likewise.
9735 (pow_test): Likewise.
9736 (scalbn_test): Likewise.
9737 (scalbln_test): Likewise.
9738
95443d88
L
97392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9740
9741 * sysdeps/x86_64/bits/atomic.h
9742 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
9743 64bit integer.
9744 (atomic_exchange_acq): Likewise.
9745 (__arch_exchange_and_add_body): Likewise.
9746 (__arch_add_body): Likewise.
9747 (atomic_add_negative): Likewise.
9748 (atomic_add_zero): Likewise.
9749
490df6c4
L
97502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9751
c2722551 9752 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
9753 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
9754
5e52b189
L
97552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9756
9757 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
9758 Check __x86_64__ instead of __WORDSIZE.
9759
a9879d4c
L
97602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9761
9762 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
9763
5df98260
DM
97642012-03-19 David S. Miller <davem@davemloft.net>
9765
e1497744
DM
9766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9767
5df98260
DM
9768 * sysdeps/sparc/fpu/fenv_private.h: New file.
9769 * sysdeps/sparc/fpu/math_private.h: Use it.
9770 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
9771 Remove.
9772 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
9773 (libc_feholdexcept_setroundl): Remove.
9774 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
9775 Remove.
9776 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
9777 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
9778
b4c35121
L
97792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9780
9781 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
9782 int64_t instead of long int.
9783 (INSERT_WORDS64): Likwise.
9784
56965fd7
L
97852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
9786
9787 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
9788 _Unwind_GetCFA return to _Unwind_Ptr first.
9789
83d1aec8
JM
97902012-03-19 Joseph Myers <joseph@codesourcery.com>
9791
1897ad44
JM
9792 [BZ #13629]
9793 * math/s_clog.c: Include <float.h>.
9794 (__clog): Scale large or subnormal inputs.
9795 * math/s_clogf.c: Likewise.
9796 * math/s_clogl.c: Likewise.
9797 * math/s_clog10.c: Include <float.h>.
9798 (M_LOG10_2): Define.
9799 (__clog10): Scale large or subnormal inputs.
9800 * math/s_clog10f.c: Likewise.
9801 * math/s_clog10l.c: Likewise.
9802 * math/libm-test.inc (clog_test): Add more tests.
9803 (clog10_test): Likewise.
9804 * sysdeps/i386/fpu/libm-test-ulps: Update.
9805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9806
7726d6a9
JM
9807 [BZ #11451]
9808 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
9809 x and y.
9810 * math/libm-test.inc (atan2_test): Add another test.
9811
83d1aec8
JM
9812 * Makerules (common-objdir-compile): Remove.
9813 * sysdeps/unix/Makefile (config-generated): Do not add
9814 $(unix-generated) to variable.
9815 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
9816 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
9817 Remove rule.
9818 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
9819 Likewise.
9820 [generic bits/local_lim.h] (before-compile): Do not append to
9821 variable.
9822 [generic bits/local_lim.h] (common-generated): Likewise.
9823 [generic sys/param.h] (before-compile): Do not append to variable.
9824 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
9825 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
9826 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
9827 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
9828 include.
9829 [generic sys/param.h] (sys/param.h-includes): Remove variable.
9830 [generic sys/param.h] (sys/param.h-includes): Remove rule.
9831 [generic sys/param.h] ($(addprefix
9832 $(common-objpfx),$(sys/param.h-includes))): Likewise.
9833 [generic sys/param.h] (common-generated): Do not append to
9834 variable.
9835 [generic sys/param.h] (sysdep_headers): Likewise.
9836 [generic bits/errno.h] (before-compile): Do not append to
9837 variable.
9838 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
9839 rule.
9840 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
9841 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
9842 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
9843 [generic bits/errno.h] (common-generated): Do not append to
9844 variable.
9845 [generic bits/ioctls.h] (before-compile): Do not append to
9846 variable.
9847 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
9848 rule.
9849 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
9850 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
9851 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
9852 rule.
9853 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
9854 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
9855 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
9856 [generic bits/ioctls.h] (common-generated): Do not append to
9857 variable.
9858 [generic sys/syscall.h] (syscall.h): Remove variable.
9859 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
9860 rule.
9861 [generic sys/syscall.h] (before-compile): Do not append to
9862 variable.
9863 [generic sys/syscall.h] (common-generated): Likewise.
9864 * sysdeps/unix/errnos-tmpl.c: Remove file.
9865 * sysdeps/unix/errnos.awk: Likewise.
9866 * sysdeps/unix/ioctls-tmpl.c: Likewise.
9867 * sysdeps/unix/ioctls.awk: Likewise.
9868 * sysdeps/unix/mk-local_lim.c: Likewise.
9869 * sysdeps/unix/snarf-ioctls: Likewise.
9870
4851a949
RH
98712012-03-19 Richard Henderson <rth@twiddle.net>
9872
bd37f2ee
RH
9873 * sysdeps/i386/fpu/fenv_private.h: New file.
9874 * sysdeps/i386/fpu/math_private.h: Use it.
9875 (math_opt_barrier, math_force_eval): Remove.
9876 (libc_feholdexcept_setround_53bit): Remove.
9877 (libc_feupdateenv_53bit): Remove.
9878 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9879 (math_opt_barrier, math_force_eval): Remove.
9880 (libc_feholdexcept): Remove.
9881 (libc_feholdexcept_setround): Remove.
9882 (libc_fetestexcept, libc_fesetenv): Remove.
9883 (libc_feupdateenv_test): Remove.
9884 (libc_feupdateenv, libc_feholdsetround): Remove.
9885 (libc_feresetround): Remove.
9886
d0adc922
RH
9887 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
9888 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
9889
0fe0f1f8
RH
9890 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
9891 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
9892 (libc_feupdateenv_testl): New.
9893 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
9894 (libc_feupdateenv_testf): New.
9895 (libc_feupdateenv): Use libc_feupdateenv_test.
9896 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
9897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
9898
eb92c487
RH
9899 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
9900 (libc_feholdsetroundf, libc_feholdsetroundl): New.
9901 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
9902 (libc_feresetround_noex): New.
9903 (libc_feresetround_noexf): New.
9904 (libc_feresetround_noexl): New.
9905 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
9906 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
9907 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
9908 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
9909 SET_RESTORE_ROUND.
9910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
9912 (__cos): Likewise.
9913 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
9914 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9915 SET_RESTORE_ROUND_NOEX.
9916 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
9917 SET_RESTORE_ROUND_NOEXF.
9918 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
9919 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
9920 (libc_feholdsetroundf): New.
9921 (libc_feresetround, libc_feresetroundf): New.
9922
7d2e8012
RH
9923 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
9924 (libc_feholdexcept_setround_53bit): Convert from macro to function.
9925 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
9926
b4dabbb4
RH
9927 * sysdeps/generic/math_private.h: Include <fenv.h>.
9928 (default_libc_feholdexcept): New.
9929 (default_libc_feholdexcept_setround): New.
9930 (default_libc_fesetenv, default_libc_feupdateenv): New.
9931 (libc_feholdexcept): Only define if undefined.
9932 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
9933 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
9934 (libc_feholdexcept_setroundl): Likewise.
9935 (libc_feholdexcept_setround_53bit): Likewise.
9936 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
9937 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
9938 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
9939 (libc_feupdateenv_53bit): Likewise.
9940 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
9941 (libc_feholdexcept): Convert from macro to inline function.
9942 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
9943 (libc_fesetenv, libc_feupdateenv): Likewise.
9944
4851a949
RH
9945 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
9946 not previously defined.
9947 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
9948 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
9949 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
9950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
9951 * sysdeps/ieee754/flt-32/math_private.h: New file.
9952 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
9953 math_private.h below SET_FLOAT_WORD.
9954 (__isnan, __isinf_ns, __finite): Remove.
9955 (__isnanf, __isinf_nsf, __finitef): Remove.
9956
e79d442e
AS
99572012-03-18 Andreas Schwab <schwab@linux-m68k.org>
9958
9959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9960
90b80344
DM
99612012-03-17 David S. Miller <davem@davemloft.net>
9962
9963 [BZ #6471]
9964 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
9965 for 2.16.
9966
edc21804
DM
99672012-03-16 David S. Miller <davem@davemloft.net>
9968
77e927af
DM
9969 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
9970 warnings.
9971
374976dd
DM
9972 [BZ #6471]
9973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
9974 properly.
9975 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
9976 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
9977 sysdep_routines when subdir is sysvipc.
9978 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
9979 __getshmlba helper.
9980
edc21804
DM
9981 * sysdeps/sparc/fpu/libm-test/ulps: Update.
9982
473c3ef3
L
99832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9984
9985 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
9986 [__LP64__].
9987
eb0f39b6
L
99882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9989
9990 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
9991 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
9992 (__lround): Renamed to ...
9993 (__llround): This. Replace long int with long long int.
9994 Define lround functions as aliases of llround functions.
9995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
9996
6b6cd74b
L
99972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10000 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10001 adresses to uintptr_t. Replace "long int" and "unsigned long
10002 int" with "greg_t" on va_arg.
10003
f1a77b01
L
100042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10005
10006 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10007 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10008
10009 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10010 Move e_machine check before EI_CLASS check. Handle x32
10011 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10012 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10013 SKIP_EM_IA_64 and include
10014 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10015
10016 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10017 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10018 (add_system_dir): New macro.
10019
10020 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10021 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10022
11b90b9f
JM
100232012-03-16 Joseph Myers <joseph@codesourcery.com>
10024
c36e1d23
JM
10025 [BZ #2551]
10026 [BZ #2552]
10027 [BZ #2553]
10028 [BZ #2554]
10029 [BZ #2562]
10030 [BZ #2563]
10031 [BZ #2565]
10032 [BZ #2566]
10033 [BZ #2576]
10034 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10035 (y0): Likewise.
10036 * math/w_j0f.c (j0f): Likewise.
10037 (y0f): Likewise.
10038 * math/w_j0l.c (__j0l): Likewise.
10039 (__y0l): Likewise.
10040 * math/w_j1.c (j1): Likewise.
10041 (y1): Likewise.
10042 * math/w_j1f.c (j1f): Likewise.
10043 (y1f): Likewise.
10044 * math/w_j1l.c (__j1l): Likewise.
10045 (__y1l): Likewise.
10046 * math/w_jn.c (jn): Likewise.
10047 (yn): Likewise.
10048 * math/w_jnf.c (jnf): Likewise.
10049 (ynf): Likewise.
10050 * math/w_jnl.c (__jnl): Likewise.
10051 (__ynl): Likewise.
10052 * math/libm-test.inc (j0_test): Add more tests.
10053 (j1_test): Likewise.
10054 (jn_test): Likewise. Add trailing semicolon to existing test.
10055 (y0_test): Likewise.
10056 (y1_test): Likewise.
10057 * sysdeps/i386/fpu/libm-test-ulps: Update.
10058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10059
11b90b9f
JM
10060 [BZ #13851]
10061 [BZ #13854]
10062 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
10063 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
10064 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
10065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
10066 (__tanl): Set errno for infinite argument.
10067 * sysdeps/i386/fpu/mptan.c: Remove.
10068 * sysdeps/i386/fpu/s_tan.S: Likewise.
10069 * sysdeps/i386/fpu/s_tanl.S: Likewise.
10070 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
10071 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
10072 * math/libm-test.inc (tan_test): Add more tests and enable more
10073 tests for double and long double.
10074 * sysdeps/i386/fpu/libm-test-ulps: Update.
10075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10076
6a1bd2a1
JK
100772012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10078
10079 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
10080 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
10081
10a803e0
RM
100822012-03-16 Roland McGrath <roland@hack.frob.com>
10083
10084 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
10085 * configure.in: Use it for both main tree and add-ons.
10086 * configure: Regenerated.
10087
f196c7f7
L
100882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10089
10090 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
10091
8848d99d
JM
100922012-03-16 Joseph Myers <joseph@codesourcery.com>
10093
96cbe7f4
JM
10094 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
10095 in comment.
10096
8848d99d
JM
10097 [BZ #13851]
10098 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
10099 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
10100 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
10101 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
10102 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
10103 infinite argument.
10104 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
10105 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
10106 != 0 for prec == 2.
10107 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
10108 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
10109 * sysdeps/i386/fpu/s_cosl.S: Likewise.
10110 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
10111 * sysdeps/i386/fpu/s_sinl.S: Likewise.
10112 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
10113 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
10114 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
10115 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
10116 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
10117 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
10118 * math/libm-test.inc (cos_test): Add more tests and enable more
10119 tests for long double.
10120 (sin_test): Likewise.
10121 (sincos_test): Likewise.
10122 * sysdeps/i386/fpu/libm-test-ulps: Update.
10123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10124
dd7f4703
DM
101252012-03-16 David S. Miller <davem@davemloft.net>
10126
10127 * sysdeps/sparc/fpu/math_private.h: New file.
10128
006f1daa
DM
101292012-03-15 David S. Miller <davem@davemloft.net>
10130
c0c83bc8
DM
10131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
10132 file.
e6a62e18 10133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
10134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
10135 file.
e6a62e18
DM
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
10137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
10138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
10139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
10140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
10141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
10142 sysdep routines.
10143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10144
88cb87d9
DM
10145 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
10146 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
10147
006f1daa 10148 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
10149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
10150 sparc-ifunc.h
006f1daa 10151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
10152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
10153 Likewise.
10154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
10155 Likewise.
006f1daa
DM
10156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
10157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
10158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
10159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10160 Likewise.
006f1daa
DM
10161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
10165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
10166 Likewise.
10167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
10168 Likewise.
006f1daa
DM
10169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
10170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
10171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
10176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
10177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
10184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
10185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
10186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
10187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
10188 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
10189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
10190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
10191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
10192 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
10193
11e0098e
AS
101942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10195
10196 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
10197 scaling.
10198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10199
e85b09d0
AJ
102002012-03-15 Andreas Jaeger <aj@suse.de>
10201
10202 [BZ #13852]
10203 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
10204 ieee754/flt-32 implementation for sin, cos and sincos.
10205 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
10206 * sysdeps/i386/fpu/s_cosf.S: Likewise.
10207 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
10208 * sysdeps/i386/fpu/s_sinf.S: Likewise.
10209 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
10210 ieee754/flt-32 implementation for tan.
10211
10212 * math/libm-test.inc (cos_test): Enable some large input tests for
10213 float as well
10214 (sin_test): Likewise.
10215 (sincos_test): Likewise.
10216 (tan_test): Add tests for large input.
10217
10218 * sysdeps/i386/fpu/libm-test-ulps: Update.
10219
81c64153
AJ
102202012-03-15 Andreas Jaeger <aj@suse.de>
10221
10222 [BZ #13658]
10223 * math/libm-test.inc (cos_test): Add more test cases.
10224 (sin_test): Likewise.
10225 (sincos_test): Likewise.
10226
7bbfa5c6
AJ
102272012-03-15 Andreas Jaeger <aj@suse.de>
10228
10229 [BZ #13837]
10230 * math/libm-test.inc (cos_test): Add a test case for large input
10231 value.
10232 (sin_test): Likewise.
10233 (sincos_test): Likewise.
10234
102352012-03-15 Andreas Jaeger <aj@suse.de>,
10236 Joseph Myers <joseph@codesourcery.com>
10237
10238 [BZ #13658]
0671f479 10239 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
10240 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
10241 * sysdeps/i386/fpu/branred.c: Likewise.
10242 * sysdeps/i386/fpu/dosincos.c: Likewise.
10243 * sysdeps/i386/fpu/mpa.c: Likewise.
10244 * sysdeps/i386/fpu/s_cos.S: Likewise.
10245 * sysdeps/i386/fpu/s_sin.S: Likewise.
10246 * sysdeps/i386/fpu/s_sincos.S: Likewise.
10247 * sysdeps/i386/fpu/sincos32.c: Likewise.
10248
10249 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
10250 Define.
10251 (libc_feupdateenv_53bit): Define.
10252 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
10253 Define.
10254 (libc_feupdateenv_53bit): Define.
10255
10256 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
10257 53 bit (without extend i386 double precision).
10258
10259 * math/libm-test.inc (sincos_test): Add tests for large input.
10260 (sin): Likewise.
10261 (cos): Likewise.
10262
10263 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10264
9cad04ea
AS
102652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
10266
10267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10268
f7062b9a
DM
102692012-03-15 David S. Miller <davem@davemloft.net>
10270
10271 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
10272 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
10273 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
10274 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
10275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
10276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
10277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
10278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
10279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
10280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
10281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
10282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
10283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
10284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
10285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
10286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
10287 file.
f7062b9a 10288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
10289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
10290 file.
f7062b9a 10291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
10292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
10293 file.
f7062b9a 10294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
10295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
10296 file.
f7062b9a
DM
10297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
10298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
10299 fmin/fmax sysdep routines.
10300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10301
7bd951ff
DM
103022012-03-14 David S. Miller <davem@davemloft.net>
10303
559398ab
DM
10304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
10305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
10306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
10307 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
10308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
10309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
10310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
10311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
10312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
10313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
10314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
10315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
10316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
10317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
10318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
10319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
10320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
10321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
10322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
10323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
10324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
10325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
10326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
10327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
10328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
10329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
10330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
10331 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
10333 routines.
10334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
10335 file.
559398ab 10336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
10337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
10338 file.
559398ab 10339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
10340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
10341 file.
559398ab 10342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
10343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
10344 file.
559398ab 10345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
10346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
10347 file.
559398ab 10348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
10349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
10350 file.
10351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
10352 file.
10353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
10354 file.
10355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
10356 file.
10357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
10358 New file.
10359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
10360 file.
10361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
10362 file.
559398ab 10363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
10364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
10365 file.
559398ab 10366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
10367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
10368 file.
559398ab 10369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
10370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
10371 file.
559398ab 10372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
10373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
10374 VIS3 routines.
559398ab
DM
10375
10376 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10377 New file.
10378
5a1c1e32
DM
10379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10380
eae47a36
DM
10381 * sysdeps/sparc/configure.in: New file.
10382 * sysdeps/sparc/configure: Generate.
10383 * configure.in (libc_cv_sparc_as_vis3): Substitute.
10384 * configure: Regenerate.
10385 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
10386 * config.make.in (have-as-vis3): New.
10387 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
10388 available use -Av9d instead of -Av9a.
10389 * sysdeps/sparc/sparc64/Makefile: Likewise.
10390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
10391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
10392 New file.
10393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
10394 file.
10395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
10396 New file.
10397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
10398 file.
eae47a36
DM
10399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
10400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
10401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
10402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
10403 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
10404
c0c83bc8
DM
10405 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
10406 fzeros/fnegs to load 0x80000000 into a float register instead of
10407 using the stack.
7bd951ff
DM
10408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
10409
bd951ccb
JM
104102012-03-14 Joseph Myers <joseph@codesourcery.com>
10411
10412 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10413 bits/syscall.h.
10414 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
10415 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
10416 ($(inst_includedir)/bits/syscall.h): Remove rule.
10417 ($(objpfx)bits/syscall.d): Include instead of
10418 $(objpfx)syscall-list.d.
10419 (generated): Change syscall-list.h and syscall-list.d to
10420 bits/syscall.h and bits/syscall.d.
10421
bb4e6db2
RM
104222012-03-14 Roland McGrath <roland@hack.frob.com>
10423
10424 [BZ #13846]
10425 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
10426
aa4a2ae1
JM
104272012-03-14 Joseph Myers <joseph@codesourcery.com>
10428
e456826d
JM
10429 [BZ #13841]
10430 * math/s_csqrt.c: Include <float.h>.
10431 (__csqrt): Scale large or subnormal inputs.
10432 * math/s_csqrtf.c: Likewise.
10433 * math/s_csqrtl.c: Likewise.
10434 * math/libm-test.inc (csqrt_test): Add more tests.
10435 * sysdeps/i386/fpu/libm-test-ulps: Update.
10436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10437
aa4a2ae1
JM
10438 [BZ #13840]
10439 * math/libm-test.inc (hypot_test): Add more tests.
10440
7c10fd35
DM
104412012-03-13 David S. Miller <davem@davemloft.net>
10442
10443 [BZ #13840]
10444 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
10445 double-precision for the calculation instead of scaling.
10446
f453b98b
JM
104472012-03-13 Joseph Myers <joseph@codesourcery.com>
10448
10449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
10450 manipulate bits before adding and subtracting TWO52[sx].
10451 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
10452 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
10453 Likewise.
10454 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
10455
09a3453f
DM
104562012-03-13 David S. Miller <davem@davemloft.net>
10457
8e59da90
DM
10458 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
10459 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
10460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
10461 rtld-global-offsets.h
10462 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10463
2a8ab7f2
DM
10464 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
10465 large parameters.
10466
10f62770
DM
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
10468
5f0bdb18
DM
10469 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
10470 'err' in the ifdef scope in which it is actually used.
10471
09a3453f
DM
10472 * nss/nss_db/db-init.c: Include string.h
10473
b4b2eb5e
DM
104742012-03-12 David S. Miller <davem@davemloft.net>
10475
98bb2f1c
DM
10476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10477 masking out of the most significant byte of random value used.
10478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10479 Fix coding style in previous change.
10480
b4b2eb5e
DM
10481 * sysdeps/unix/sysv/linux/kernel-features.h
10482 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
10483 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
10484 expression.
10485 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
10486 later.
10487
6e226b09
DM
104882012-03-11 David S. Miller <davem@davemloft.net>
10489
a1bcbd40
DM
10490 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10491 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
10492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
10493 for 'resultvar' otherwise things get truncated on 64-bit.
10494
cb9d6174
DM
10495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10496 Fix masking out of the most significant byte of random value used.
10497
6e226b09
DM
10498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10499
058c132d
AS
105002012-03-10 Andreas Schwab <schwab@linux-m68k.org>
10501
10502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10503
2d2cd515
DM
105042012-03-09 David S. Miller <davem@davemloft.net>
10505
10506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
10507 variables with appropriate CPP guards.
10508 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
10509 frame pointer, not the stack pointer. Correct layout comments. Fix test
10510 on resulting framesize and the management of the outregs buffer for pltexit.
10511 Preserve floating point return values across _dl_call_pltexit call.
10512 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
10513 framesize and the management of the outregs buffer for pltexit.
10514 Preserve floating point return values across _dl_call_pltexit
10515 call.
10516 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
10517 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
10518 (print_exit): Fix format string for return register value.
10519
9a07f9d0
JM
105202012-03-10 Joseph Myers <joseph@codesourcery.com>
10521
10522 * sunrpc/Makefile (others): Add rpcgen.
10523 ($(objpfx)rpcgen): Remove special build rule and dependency on
10524 libc.
10525 * sunrpc/rpcgen.c: New file.
10526
547b5e30
PE
105272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
10528
c524201a
PE
10529 [BZ #13673]
10530 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
10531 * stdio-common/bug-vfprintf-nargs.c: Likewise.
10532 * sysdeps/i386/crti.S: Likewise.
10533 * sysdeps/i386/crtn.S: Likewise.
10534 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
10535 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
10536 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
10537 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
10538 * sysdeps/sh/crti.S: Likewise.
10539 * sysdeps/sh/crtn.S: Likewise.
10540 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10541
7b6235f2
PE
10542 [BZ #13673]
10543 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
10544 with URL.
10545 * locale/programs/locfile-kw.gperf: Likewise.
10546 * locale/programs/charmap-kw.h: Regenerated.
10547 * locale/programs/locfile-kw.h: Likewise.
10548
547b5e30
PE
10549 [BZ #13673]
10550 * intl/plural.y: Replace FSF snail mail address with URL.
10551 * intl/plural.c: Regenerated.
10552
5f0a5dae
RH
105532012-03-09 Richard Henderson <rth@twiddle.net>
10554
10555 * include/math_private.h: Remove file.
10556 * math/math_private.h: Move file ...
10557 * sysdeps/generic/math_private.h: ... here.
10558
b8c03620
RH
10559 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
10560 * sysdeps/powerpc/fpu/math_private.h: Likewise.
10561 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10562
4e234f5d 10563 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
10564 and <math_private.h>.
10565 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10566 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10567 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10568 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10569 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10574 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10583 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10586 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10587 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10592 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10598 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10599 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10601 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10602 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10603 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10604 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10605 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
10606 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10607 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10608 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10611 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10620 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10621 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10623 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10624 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
10625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10626 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
10630 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10631 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10633 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
10634 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
10635 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10639 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
10640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
10642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10646 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10647 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10648 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10651 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
10652 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10653 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10656 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10658 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10659 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10669 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10670 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10671 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10672 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10677 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10679 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
10680 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10684 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10688 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
10689 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10690 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10691 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10692 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
10693 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10694 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10695 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10696 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10697 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10698 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10699 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10700 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10702 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10703 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
10704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10705 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10707 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10708 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
10709 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
10710 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10711 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10712 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10714 * sysdeps/ieee754/k_standard.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10716 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10717 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10718 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10719 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10720 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10721 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10722 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10724 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10725 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10726 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10727 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10728 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10729 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10730 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10731 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10732 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10733 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10734 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10735 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10736 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10737 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10738 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10739 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10740 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10741 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10743 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10782 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
10820 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
10823 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10829 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10834 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10836 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10837 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10838 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10839 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10840 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10842 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10845 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10847 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10848 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
10852 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10854 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10855 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10864 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
10865 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10866 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10868 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
10871 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10874 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10875 * sysdeps/ieee754/s_lib_version.c: Likewise.
10876 * sysdeps/ieee754/s_matherr.c: Likewise.
10877 * sysdeps/ieee754/s_signgam.c: Likewise.
10878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10881 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10882 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10883 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10884 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
10885 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
10886 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
10887 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
10888 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
10889 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10890 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10891 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10892 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
10893 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10894 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10895 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10896 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 10899
1991fa03
JM
109002012-03-09 Joseph Myers <joseph@codesourcery.com>
10901
10902 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
10903 * sunrpc/rpc_main.c: Likewise.
10904 * sunrpc/rpc_svcout.c: Likewise.
10905
60d6f5a6
DM
109062012-03-09 David S. Miller <davem@davemloft.net>
10907
10908 * include/math_private.h: New file.
10909
4962050e
JM
109102012-03-09 Joseph Myers <joseph@codesourcery.com>
10911
02a6f887
JM
10912 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
10913 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
10914 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
10915 from <bits/socket_type.h>.
10916 (enum __socket_type): Don't define here.
10917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
10918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10919 bits/socket_type.h.
10920
c6e013c1
JM
10921 [BZ #13566]
10922 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
10923 checking __USE_GNU.
10924
4962050e
JM
10925 * Makerules ($(inst_includedir)/%.h): New rule.
10926 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
10927 (install-others): Remove variable setting.
10928 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
10929
38842f45
RH
109302012-03-08 Richard Henderson <rth@twiddle.net>
10931
67bb6da6
RH
10932 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
10933 from macro to inline function; merge with the
10934 !__LIBC_INTERNAL_MATH_INLINES version.
10935 (__ieee754_sqrtf): Likewise.
10936
15194b4b
RH
10937 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
10938 to inline function.
10939 (__rintf, __floor, __floorf): Likewise.
10940
64e21ede
RH
10941 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
10942 macro to inline function.
10943 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
10944
38842f45
RH
10945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
10946 not <math/math_private.h>.
10947
c64bf5fe
DM
109482012-03-08 David S. Miller <davem@davemloft.net>
10949
10950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
10951 copyright year.
10952 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
10953
82d86f28
TS
109542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
10955
10956 * resolv/gai_misc.c (handle_requests): Fix struct timespec
10957 normalization.
10958 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
10959 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10960
aea5d727
UD
109612012-03-08 Ulrich Drepper <drepper@gmail.com>
10962
10963 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
10964 be defined individually, they must be defined as a block. Define
10965 S for printing a string instead of hidint the different by using a
10966 macro for adding the 'l'.
10967 * stdio-common/tst-fphex-wide.c: Adjust.
10968
70bca0a3
MP
109692012-03-07 Marek Polacek <polacek@redhat.com>
10970
10971 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
10972
65b81130
MP
109732012-03-08 Marek Polacek <polacek@redhat.com>
10974
10975 [BZ #13806]
10976 * stdio-common/Makefile (tests): Add tst-fphex-wide.
10977 * stdio-common/tst-fphex.c: Define a few macros to make the
10978 test reusable. Use them.
10979 * stdio-common/tst-fphex-wide.c: New file.
10980
07037eeb
JM
109812012-03-08 Joseph Myers <joseph@codesourcery.com>
10982
a7a93d50
JM
10983 [BZ #6911]
10984 * manual/macros.texi (gnusystems): New macro.
10985 (nongnusystems): Likewise.
10986 (gnulinuxhurdsystems): Likewise.
10987 (gnuhurdsystems): Likewise..
10988 (gnulinuxsystems): Likewise.
10989 * manual/charset.texi: Use new macros or @theglibc{} to refer to
10990 variants of the GNU system, not "GNU system".
10991 * manual/conf.texi: Likewise.
10992 * manual/errno.texi: Likewise. Update example of errno macro
10993 expansion.
10994 * manual/filesys.texi: Likewise.
10995 (getumask): Document as specific to GNU/Hurd.
10996 * manual/install.texi: Likewise. Reword some references to
10997 GNU/Linux.
10998 * manual/intro.texi: Likewise.
10999 * manual/io.texi: Likewise.
11000 (File Name Portability): Detail which constraints are inapplicable
11001 to all GNU systems and which are only inapplicable to GNU/Hurd.
11002 * manual/job.texi: Likewise.
11003 * manual/llio.texi: Likewise.
11004 (O_NOCTTY): Document as present on GNU/Linux.
11005 * manual/maint.texi: Likewise.
11006 * manual/memory.texi: Likewise.
11007 * manual/pattern.texi: Likewise.
11008 * manual/pipe.texi: Likewise.
11009 * manual/process.texi: Likewise.
11010 * manual/resource.texi: Likewise.
11011 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11012 child on GNU/Hurd.
11013 * manual/setjmp.texi: Likewise.
11014 * manual/signal.texi: Likewise.
11015 * manual/startup.texi: Likewise.
11016 * manual/stdio.texi: Likewise.
11017 * manual/terminal.texi: Likewise.
11018 (ONLCR): Document as POSIX.
11019 (OXTABS): Document availability on GNU/Linux as XTABS.
11020 (ONOEOT): Document availability separately from other bits.
11021 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11022 * manual/time.texi: Likewise.
11023 * manual/users.texi: Likewise.
11024 * INSTALL: Regenerated.
11025 * sysdeps/gnu/errlist.c: Regenerated.
11026
07037eeb
JM
11027 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11028 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11029 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11030 puts.
11031 * configure: Regenerated.
11032
d1d3431a
JM
110332012-03-07 Joseph Myers <joseph@codesourcery.com>
11034
af6a1e37
JM
11035 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11036 default includes instead of AC_HEADER_CHECK.
11037 * sysdeps/i386/configure: Regenerated.
11038
d1d3431a
JM
11039 [BZ #10716]
11040 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11041 * math/s_cacoshf.c (__cacoshf): Likewise.
11042 * math/s_cacoshl.c (__cacoshl): Likewise.
11043 * math/s_casinh.c (__casinh): Set signs of result from argument.
11044 * math/s_casinhf.c (__casinhf): Likewise.
11045 * math/s_casinhl.c (__casinhl): Likewise.
11046 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11047 (casinh_test): Add more tests.
11048 * sysdeps/i386/fpu/libm-test-ulps: Update.
11049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11050
482ff4da
UD
110512012-03-07 Ulrich Drepper <drepper@gmail.com>
11052
872fda05
UD
11053 * po/zh_TW.po: Update from translation team.
11054
a4300c7a
UD
11055 * login/Makefile (distribute): Remove variable.
11056 * catgets/Makefile: Likewise.
11057 * mach/Makefile: Likewise.
11058 * malloc/Makefile: Likewise.
11059 * misc/Makefile: Likewise.
11060 * iconv/Makefile: Likewise.
11061 * nscd/Makefile: Likewise.
11062 * hurd/Makefile: Likewise.
11063 * manual/Makefile: Likewise.
11064 * locale/Makefile: Likewise.
11065 * intl/Makefile: Likewise.
11066 * conform/Makefile: Likewise.
11067 * nss/Makefile: Likewise.
11068 * time/Makefile: Likewise.
11069 * soft-fp/Makefile: Likewise.
11070 * dirent/Makefile: Likewise.
11071 * gmon/Makefile: Likewise.
11072 * po/Makefile: Likewise.
11073 * rt/Makefile: Likewise.
11074 * socket/Makefile: Likewise.
11075 * math/Makefile: Likewise.
11076 * signal/Makefile: Likewise.
11077 * debug/Makefile: Likewise.
11078 * elf/Makefile: Likewise.
11079 * timezone/Makefile: Likewise.
11080 * stdlib/Makefile: Likewise.
11081 * iconvdata/Makefile: Likewise.
11082 * sunrpc/Makefile: Likewise.
11083 * io/Makefile: Likewise.
11084 * argp/Makefile: Likewise.
11085 * inet/Makefile: Likewise.
11086 * hesiod/Makefile: Likewise.
11087 * grp/Makefile: Likewise.
11088 * csu/Makefile: Likewise.
11089 * wctype/Makefile: Likewise.
11090 * crypt/Makefile: Likewise.
11091 * libio/Makefile: Likewise.
11092 * string/Makefile: Likewise.
11093 * nis/Makefile: Likewise.
11094 * resolv/Makefile: Likewise.
11095 * stdio-common/Makefile: Likewise.
11096 * wcsmbs/Makefile: Likewise.
11097 * dlfcn/Makefile: Likewise.
11098 * posix/Makefile: Likewise.
11099
3b7c4e74 11100 [BZ #6959]
482ff4da
UD
11101 * timezone/Makefile: Don't install timezone files, just the programs
11102 and scripts.
11103
f72ed77d
UD
111042012-03-06 Ulrich Drepper <drepper@gmail.com>
11105
a000466f
UD
11106 * nss/databases.def: Add missing gshadow entry.
11107
f72ed77d
UD
11108 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
11109
a53b7a4e
MP
111102012-03-06 Marek Polacek <polacek@redhat.com>
11111
11112 [BZ #13726]
11113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
11114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11115 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
11116 * stdio-common/tst-long-dbl-fphex.c: New file.
11117
e9258400
DM
111182012-03-06 David S. Miller <davem@davemloft.net>
11119
11120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11121 (set_obp_int): New function.
11122 (get_obp_int): New function.
11123 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
11124 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
11125 Avoid unused variable warnings on 'val' and use builtin_expect.
11126 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
11127 __builtin_expect.
e9258400
DM
11128 (INLINE_CLONE_SYSCALL): Likewise.
11129
3bd2c723
DM
111302012-03-05 David S. Miller <davem@davemloft.net>
11131
11132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11133
bbb78d03
AS
111342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
11135
884c5db4
AS
11136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11137
bbb78d03
AS
11138 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
11139 only for |x| >= 40.
11140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11141
1c9f702a 111422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
11143
11144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
11145 Replace gettimeofday with __vdso_gettimeofday.
11146
7be16f82
RM
11147 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11148 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
11149 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
11150
11151 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
11152 time with __vdso_time.
11153
ed58a00f
JM
111542012-03-05 Joseph Myers <joseph@codesourcery.com>
11155
11156 * manual/lang.texi (size_t): Note types to which size_t may be
11157 equivalent with the GNU C Library, but do not describe when
11158 differences between them are significant.
11159
30ee4ced
AJ
111602012-03-05 Andreas Jaeger <aj@suse.de>
11161
11162 * sysdeps/i386/fpu/libm-test-ulps: Update.
11163
b7cd39e8
JM
111642012-03-05 Joseph Myers <joseph@codesourcery.com>
11165
11166 [BZ #3976]
11167 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
11168 (__ieee754_pow): Save and restore rounding mode and use
11169 round-to-nearest for main computations.
11170 * math/libm-test.inc (pow_test_tonearest): New function.
11171 (pow_test_towardzero): Likewise.
11172 (pow_test_downward): Likewise.
11173 (pow_test_upward): Likewise.
11174 (main): Call the new functions.
11175 * sysdeps/i386/fpu/libm-test-ulps: Update.
11176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
11177
11178 [BZ #3976]
11179 * math/libm-test.inc (cosh_test_tonearest): New function.
11180 (cosh_test_towardzero): Likewise.
11181 (cosh_test_downward): Likewise.
11182 (cosh_test_upward): Likewise.
11183 (sinh_test_tonearest): Likewise.
11184 (sinh_test_towardzero): Likewise.
11185 (sinh_test_downward): Likewise.
11186 (sinh_test_upward): Likewise.
11187 (main): Call the new functions.
11188 * sysdeps/i386/fpu/libm-test-ulps: Update.
11189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11190
6c6a98c9
TV
111912012-03-05 Tom de Vries <tom@codesourcery.com>
11192
11193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
11194 default stack guard is set in last bytes.
11195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
11196
21bb2d2e 111972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 11198
21bb2d2e 11199 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 11200
21bb2d2e
AJ
11201 [BZ #13656]
11202 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
11203 possibly allocate from heap instead of stack.
11204 * stdio-common/bug-vfprintf-nargs.c: New file.
11205 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 11206
c6922934
AS
112072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11208
11209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11210
bc957d53
MP
112112012-03-03 Marek Polacek <polacek@redhat.com>
11212
11213 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
11214 * math/math_private.h: Likewise.
11215 * stdlib/tst-strtod.c: Likewise.
11216 * sysdeps/i386/i486/bits/atomic.h: Likewise.
11217 * sysdeps/x86_64/bits/atomic.h: Likewise.
11218
6358490d
DM
112192012-03-02 David S. Miller <davem@davemloft.net>
11220
11221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
11223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
11224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
11225 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
11226 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
11227 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
11228 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
11229
01ae168d
RM
112302012-03-02 Roland McGrath <roland@hack.frob.com>
11231
d9a17c07
RM
11232 [BZ #13792]
11233 * manual/examples/README: New file, says the example source files
11234 can be used under GPL>=2.
11235 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
11236 line containing just "*/".
11237 * manual/examples/add.c: Add copyright header (GPL>=2).
11238 * manual/examples/argp-ex1.c: Likewise.
11239 * manual/examples/argp-ex2.c: Likewise.
11240 * manual/examples/argp-ex3.c: Likewise.
11241 * manual/examples/argp-ex4.c: Likewise.
11242 * manual/examples/atexit.c: Likewise.
11243 * manual/examples/db.c: Likewise.
11244 * manual/examples/dir.c: Likewise.
11245 * manual/examples/dir2.c: Likewise.
11246 * manual/examples/execinfo.c: Likewise.
11247 * manual/examples/filecli.c: Likewise.
11248 * manual/examples/filesrv.c: Likewise.
11249 * manual/examples/fmtmsgexpl.c: Likewise.
11250 * manual/examples/genpass.c: Likewise.
11251 * manual/examples/inetcli.c: Likewise.
11252 * manual/examples/inetsrv.c: Likewise.
11253 * manual/examples/isockad.c: Likewise.
11254 * manual/examples/longopt.c: Likewise.
11255 * manual/examples/memopen.c: Likewise.
11256 * manual/examples/memstrm.c: Likewise.
11257 * manual/examples/mkfsock.c: Likewise.
11258 * manual/examples/mkisock.c: Likewise.
11259 * manual/examples/mygetpass.c: Likewise.
11260 * manual/examples/pipe.c: Likewise.
11261 * manual/examples/popen.c: Likewise.
11262 * manual/examples/rprintf.c: Likewise.
11263 * manual/examples/search.c: Likewise.
11264 * manual/examples/select.c: Likewise.
11265 * manual/examples/setjmp.c: Likewise.
11266 * manual/examples/sigh1.c: Likewise.
11267 * manual/examples/sigusr.c: Likewise.
11268 * manual/examples/stpcpy.c: Likewise.
11269 * manual/examples/strdupa.c: Likewise.
11270 * manual/examples/strftim.c: Likewise.
11271 * manual/examples/strncat.c: Likewise.
11272 * manual/examples/subopt.c: Likewise.
11273 * manual/examples/swapcontext.c: Likewise.
11274 * manual/examples/termios.c: Likewise.
11275 * manual/examples/testopt.c: Likewise.
11276 * manual/examples/testpass.c: Likewise.
11277 * manual/examples/timeval_subtract.c: Likewise.
11278
01ae168d
RM
11279 [BZ #13792]
11280 * manual/time.texi (Elapsed Time): Move timeval_subtract example
11281 function to ...
11282 * manual/timeval_subtract.c.texi: ... here, new file.
11283
49efa33d
DM
112842012-03-02 David S. Miller <davem@davemloft.net>
11285
11286 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
11287
28afd92d
JM
112882012-03-02 Joseph Myers <joseph@codesourcery.com>
11289
804360ed
JM
11290 [BZ #3976]
11291 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
11292 (__sin): Save and restore rounding mode and use round-to-nearest
11293 for all computations.
11294 (__cos): Save and restore rounding mode and use round-to-nearest
11295 for all computations.
11296 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
11297 <fenv.h>.
11298 (tan): Save and restore rounding mode and use round-to-nearest for
11299 all computations.
11300 * math/libm-test.inc (cos_test_tonearest): New function.
11301 (cos_test_towardzero): Likewise.
11302 (cos_test_downward): Likewise.
11303 (cos_test_upward): Likewise.
11304 (sin_test_tonearest): Likewise.
11305 (sin_test_towardzero): Likewise.
11306 (sin_test_downward): Likewise.
11307 (sin_test_upward): Likewise.
11308 (tan_test_tonearest): Likewise.
11309 (tan_test_towardzero): Likewise.
11310 (tan_test_downward): Likewise.
11311 (tan_test_upward): Likewise.
11312 (main): Call the new functions.
11313 * sysdeps/i386/fpu/libm-test-ulps: Update.
11314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11315
a6d06d7b
JM
11316 [BZ #10135]
11317 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
11318 small n, then large n, before computing and testing k+n.
11319 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11320 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
11321 Likewise.
11322 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
11323 Likewise.
11324 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
11325 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
11326 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
11327 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
11328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
11331 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
11332 * math/libm-test.inc (scalbn_test): Add more tests.
11333 (scalbln_test): Likewise.
11334
07e12bb3
JM
11335 * manual/filesys.texi (mode_t): Describe constraints on size and
11336 signedness, not exact equivalence to a particular type.
11337 (ino_t): Likewise.
11338 (ino64_t): Likewise.
11339 (dev_t): Likewise.
11340 (nlink_t): Likewise.
11341 (blkcnt_t): Likewise.
11342 (blkcnt64_t): Likewise.
11343 * manual/llio.texi (off_t): Likewise.
11344
28afd92d
JM
11345 [BZ #3976]
11346 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
11347 (__ieee754_exp): Save and restore rounding mode and use
11348 round-to-nearest for all computations.
11349 * math/libm-test.inc (exp_test_tonearest): New function.
11350 (exp_test_towardzero): Likewise.
11351 (exp_test_downward): Likewise.
11352 (exp_test_upward): Likewise.
11353 (main): Call the new functions.
11354 * sysdeps/i386/fpu/libm-test-ulps: Update.
11355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11356
b1eeb65d
CD
113572012-03-01 Chris Demetriou <cgd@google.com>
11358
11359 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
11360 have predictable order.
11361
53362a4b
DM
113622012-03-01 David S. Miller <davem@davemloft.net>
11363
3c969083
DM
11364 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
11365
759707de
DM
11366 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11367 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
11368 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
11369 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
11370
dfdb8ff2
DM
11371 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
11372 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
11373 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
11374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
11375 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
11376 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
11377 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
11378 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
11379 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
11380
ead89f96
DM
11381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11382
7f66bd07
DM
11383 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
11384 * sysdeps/sparc/fpu/libm-test-ulps: to here.
11385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
11386
53362a4b
DM
11387 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
11388 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11389 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11394 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11395 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11399 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11401 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11403 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
11404 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
11405 * sysdeps/sparc/elf/configure: Regenerated.
11406
7b1902cb
JM
114072012-03-01 Joseph Myers <joseph@codesourcery.com>
11408
bec039bc
JM
11409 * configure.in (AS, LD): Require binutils 2.20 or later.
11410 * configure: Regenerated.
11411 * manual/install.texi (Tools for Compilation): Give binutils 2.20
11412 as required minimum version.
11413 * INSTALL: Regenerated.
11414
7b1902cb
JM
11415 [BZ #2541]
11416 [BZ #4108]
11417 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
11418 before squaring exponent.
11419 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
11420 bottom long double and 27 bits of top long double before squaring
11421 exponent.
11422 * math/libm-test.inc (erfc_test): Add more tests.
11423 * sysdeps/i386/fpu/libm-test-ulps: Update.
11424 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11426
f775c276
KT
114272012-03-01 Kai Tietz <ktietz@redhat.com>
11428
11429 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
11430 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
11431 containing bit-fields.
11432 * soft-fp/extended.h (_FP_UNION_E): Likewise.
11433 * soft-fp/single.h (_FP_UNION_S): Likewise.
11434 * soft-fp/double.h (_FP_UNION_D): Likewise.
11435
5b8a4d4a
JM
114362012-02-29 Joseph Myers <joseph@codesourcery.com>
11437
0bab47b6
JM
11438 [BZ #13786]
11439 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
11440 not include ../strcmp.S.
11441 [USE_AS_STRNCASECMP_L]: Likewise.
11442 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
11443 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
11444 * sysdeps/i386/i686/multiarch/strncase_l-c.c
11445 (__strncasecmp_l_ia32): Define as alias to
11446 __strncasecmp_l_nonascii.
11447
0fcad3e2
JM
11448 [BZ #5794]
11449 * math/libm-test.inc (expm1_test): Add test for bug 5794.
11450 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11452
5b8a4d4a
JM
11453 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
11454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11455
8fdceb2e
JL
114562012-02-29 Jeff Law <law@redhat.com>
11457
11458 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
11459 out of bounds read.
11460
1f393a11
MP
114612012-02-29 Marek Polacek <polacek@redhat.com>
11462
11463 [BZ #13706]
11464 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
11465 * elf/Makefile: Add rules to run tst-unused-dep.out.
11466
8847f037
DM
114672012-02-28 David S. Miller <davem@davemloft.net>
11468
11469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
11470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
11471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
11472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
11473 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
11474 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
11475
169d7f11
JM
114762012-02-29 Joseph Myers <joseph@codesourcery.com>
11477
11478 * math/libm-test.inc (llround_test): Move one test from
11479 lround_test. Use TEST_f_L in moved test.
11480 (lround_test): Move misplaced test to llround_test. Add testcase
11481 from bug 2561.
11482
39adf059
UD
114832012-02-28 Ulrich Drepper <drepper@gmail.com>
11484
11485 * sysdeps/x86_64/fpu/e_expf.S: New file.
11486 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
11487
71b5d1c5
SB
114882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
11489
11490 [BZ #13637]
11491 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
11492 of remain_len that may cause incomplete multi-byte character and
11493 false match.
11494 * posix/bug-regex33.c: New file.
11495 * posix/Makefile (tests): Add bug-regex33.
11496
1f77f049
JM
114972012-02-28 Joseph Myers <joseph@codesourcery.com>
11498
11499 * manual/macros.texi: New file.
11500 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
11501 * manual/libc.texinfo: Include macros.texi.
11502 * manual/creatute.texi: Likewise.
11503 * manual/install.texi: Likewise.
11504 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
11505 @glibcadj{} in references to the GNU C Library.
11506 * manual/charset.texi: Likewise.
11507 * manual/conf.texi: Likewise.
11508 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
11509 when not using those macros.
11510 * manual/creature.texi: Likewise.
11511 * manual/crypt.texi: Likewise.
11512 * manual/errno.texi: Likewise.
11513 * manual/filesys.texi: Likewise.
11514 * manual/header.texi: Likewise.
11515 * manual/install.texi: Likewise.
11516 * manual/intro.texi: Likewise.
11517 * manual/io.texi: Likewise.
11518 * manual/job.texi: Likewise.
11519 * manual/lang.texi: Likewise.
11520 * manual/libc.texiinfo: Likewise.
11521 * manual/llio.texi: Likewise.
11522 * manual/locale.texi: Likewise.
11523 * manual/maint.texi: Likewise.
11524 * manual/math.texi: Likewise.
11525 * manual/memory.texi: Likewise.
11526 * manual/message.texi: Likewise.
11527 * manual/nss.texi: Likewise.
11528 * manual/pattern.texi: Likewise.
11529 * manual/process.texi: Likewise.
11530 * manual/resource.texi: Likewise.
11531 * manual/search.texi: Likewise.
11532 * manual/setjmp.texi: Likewise.
11533 * manual/signal.texi: Likewise.
11534 * manual/socket.texi: Likewise.
11535 * manual/startup.texi: Likewise.
11536 * manual/stdio.texi: Likewise.
11537 * manual/string.texi: Likewise.
11538 * manual/sysinfo.texi: Likewise.
11539 * manual/syslog.texi: Likewise.
11540 * manual/terminal.texi: Likewise.
11541 * manual/time.texi: Likewise.
11542 * manual/users.texi: Likewise.
11543 * INSTALL: Regenerated.
11544 * NOTES: Regenerated.
d40c5d54 11545 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 11546
450bf206
AS
115472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
11548
11549 * include/dirent.h: Include <dirstream.h> before
11550 <dirent/dirent.h>.
11551
741a235b
DM
115522012-02-28 David S. Miller <davem@davemloft.net>
11553
11554 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
11555 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
11556 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
11557 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
11558
d6b5aa58
DM
115592012-02-27 David S. Miller <davem@davemloft.net>
11560
1aff59a3
DM
11561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
11562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
11563 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
11564 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
11565
d6b5aa58
DM
11566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
11567 frame pointer instead of stack pointer relative arg slot.
11568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11569 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11570 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11571
433f48bf
CD
115722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
11573
11574 [BZ #3992]
11575 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
11576
d674b76d
DM
115772012-02-27 David S. Miller <davem@davemloft.net>
11578
11579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
11580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
11583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11585 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
11586 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
11587
0e7727f7
JM
115882012-02-27 Joseph Myers <joseph@codesourcery.com>
11589
11590 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
11591 later. Allow versions 5-9.
43be4ca2 11592 * configure: Regenerated.
0e7727f7
JM
11593 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
11594 required minimum version and 4.6 as recommended version. Do not
11595 mention bugs in GCC 2.7 and 2.8.
43be4ca2 11596 * INSTALL: Regenerated.
0e7727f7 11597
a78bc654
DM
115982012-02-27 David S. Miller <davem@davemloft.net>
11599
428d5830
DM
11600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
11601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
11602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
11603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
11604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
11605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
11606 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
11607 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
11608
a78bc654
DM
11609 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
11610 manipulate bits before adding and subtracting TWO112[sx].
11611 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11612
4579f81c
RM
116132012-02-27 Roland McGrath <roland@hack.frob.com>
11614
36c8acb4
RM
11615 [BZ #13775]
11616 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
11617 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
11618 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
11619 being in POSIX, because they are in 1003.1-2008.
11620
84ad622b
RM
11621 * rt/tst-aio.c: Include <fcntl.h>.
11622 * rt/tst-aio7.c: Likewise.
11623 * rt/tst-aio64.c: Likewise.
11624
4579f81c
RM
11625 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
11626
abd923db
JM
116272012-02-27 Joseph Myers <joseph@codesourcery.com>
11628
11629 * manual/install.texi (--with-headers): Describe headers as
11630 interface headers, not private headers.
11631 (Specific advice for GNU/Linux systems): Describe use of headers
11632 from "make headers_install", not private headers from older
11633 kernels.
43be4ca2 11634 * INSTALL: Regenerated.
abd923db
JM
11635 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
11636 Change to 2.6.19.
11637 * sysdeps/unix/sysv/linux/configure: Regenerated.
11638
6664049b
JM
11639 * manual/llio.texi (fclean): Remove documentation.
11640
bb8b6697
JM
11641 * manual/Makefile (libc-texi-generated): New variable. Include
11642 version.texi.
11643 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
11644 $(libc-texi-generated), not duplicated list of files.
11645 (version.texi, stamp-version): New rules.
11646 (realclean): Remove $(libc-texi-generated), not individual files
11647 from that list. Do not remove dir-add.texinfo.
11648 * manual/libc.texinfo: Comment out uses of edition numbers and
11649 references to printed manual. Remove last-updated dates.
11650 (EDITION): Comment out.
11651 (ISBN): Likewise.
11652 (VERSION, UPDATED): Remove.
11653 (version.texi): Include.
11654
12e5c3b9
AS
116552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
11656
11657 * sysdeps/posix/spawni.c: Include <signal.h>.
11658 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
11659 * sysdeps/pthread/aio_fsync.c: Likewise.
11660
4efeffc1 116612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 11662
ba63ba08
UD
11663 * conform/Makefile (tests): Run only when not cross-compiling and
11664 when fast-check is not defined.
11665
d94a4670
UD
11666 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
11667 * conform/data/limits.h-data: Fixes for POSIX2008.
11668 * conform/run-conformtest.sh: Run all tests.
11669 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11670 headers.
11671 * include/bits/dlfcn.h: Likewise.
11672 * include/langinfo.h: Likewise.
11673 * include/monetary.h: Likewise.
11674 * include/sys/poll.h: Likewise.
11675
11676 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
11677 for __USE_GNU.
11678 * posix/spawn.h: Define __need_sigset_t.
11679 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
11680 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
11681 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
11682 to get sigevent_t only.
11683 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
11684 only for __USE_GNU.
11685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11686 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11687 process_vm_writev only for __USE_GNU.
11688 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
11689
11690 * conform/Makefile: For now ignore errors from run-conformtest.
11691 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
11692 POSIX to avoid namespace pollution. Don't prepend headers.
11693 * conform/data/aio.h-data: Fixes for POSIX testing.
11694 * conform/data/fcntl.h-data: Likewise.
11695 * conform/data/glob.h-data: Likewise.
11696 * conform/data/grp.h-data: Likewise.
11697 * conform/data/pthread.h-data: Likewise.
11698 * conform/data/pwd.h-data: Likewise.
11699 * conform/data/signal.h-data: Likewise.
11700 * conform/data/spawn.h-data: Likewise.
11701 * conform/data/stdio.h-data: Likewise.
11702 * conform/data/stdlib.h-data: Likewise.
11703 * conform/data/stropts.h-data: Likewise.
11704 * conform/data/sys/mman.h-data: Likewise.
11705 * conform/data/sys/stat.h-data: Likewise.
11706 * conform/data/sys/types.h-data: Likewise.
11707 * conform/data/sys/wait.h-data: Likewise.
11708 * conform/data/time.h-data: Likewise.
11709 * conform/data/unistd.h-data: Likewise.
11710 * conform/data/utime.h-data: Likewise.
11711
11712 * io/sys/stat.h: fchmod was always in POSIX.
11713 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
11714 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
11715 * rt/aio.h: Define __need_timespec before including <time.h>.
11716 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
11717 struct. Add forward declaration of pthread_attr_t and use it in
11718 sigevent.
11719 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11721 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
11722 always remove CLK_TCK definition.
11723
c20105c3
AS
117242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
11725
11726 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
11727
7a270350
UD
117282012-02-25 Ulrich Drepper <drepper@gmail.com>
11729
31341567
UD
11730 * conform/run-conformtest.sh: New file.
11731 * conform/Makefile: Run run-conformtest for tests.
11732 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
11733 support.
11734
11735 * conform/data/uchar.h-data: New file.
11736 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
11737 * conform/data/arpa/inet.h-data: Likewise.
11738 * conform/data/assert.h-data: Likewise.
11739 * conform/data/complex.h-data: Likewise.
11740 * conform/data/cpio.h-data: Likewise.
11741 * conform/data/ctype.h-data: Likewise.
11742 * conform/data/dirent.h-data: Likewise.
11743 * conform/data/dlfcn.h-data: Likewise.
11744 * conform/data/errno.h-data: Likewise.
11745 * conform/data/fcntl.h-data: Likewise.
11746 * conform/data/float.h-data: Likewise.
11747 * conform/data/fmtmsg.h-data: Likewise.
11748 * conform/data/fnmatch.h-data: Likewise.
11749 * conform/data/ftw.h-data: Likewise.
11750 * conform/data/glob.h-data: Likewise.
11751 * conform/data/grp.h-data: Likewise.
11752 * conform/data/iconv.h-data: Likewise.
11753 * conform/data/inttypes.h-data: Likewise.
11754 * conform/data/langinfo.h-data: Likewise.
11755 * conform/data/libgen.h-data: Likewise.
11756 * conform/data/limits.h-data: Likewise.
11757 * conform/data/locale.h-data: Likewise.
11758 * conform/data/math.h-data: Likewise.
11759 * conform/data/monetary.h-data: Likewise.
11760 * conform/data/mqueue.h-data: Likewise.
11761 * conform/data/ndbm.h-data: Likewise.
11762 * conform/data/net/if.h-data: Likewise.
11763 * conform/data/netdb.h-data: Likewise.
11764 * conform/data/netinet/in.h-data: Likewise.
11765 * conform/data/nl_types.h-data: Likewise.
11766 * conform/data/poll.h-data: Likewise.
11767 * conform/data/pthread.h-data: Likewise.
11768 * conform/data/pwd.h-data: Likewise.
11769 * conform/data/regex.h-data: Likewise.
11770 * conform/data/sched.h-data: Likewise.
11771 * conform/data/search.h-data: Likewise.
11772 * conform/data/semaphore.h-data: Likewise.
11773 * conform/data/setjmp.h-data: Likewise.
11774 * conform/data/signal.h-data: Likewise.
11775 * conform/data/spawn.h-data: Likewise.
11776 * conform/data/stdarg.h-data: Likewise.
11777 * conform/data/stdio.h-data: Likewise.
11778 * conform/data/stdlib.h-data: Likewise.
11779 * conform/data/string.h-data: Likewise.
11780 * conform/data/strings.h-data: Likewise.
11781 * conform/data/stropts.h-data: Likewise.
11782 * conform/data/sys/ipc.h-data: Likewise.
11783 * conform/data/sys/mman.h-data: Likewise.
11784 * conform/data/sys/msg.h-data: Likewise.
11785 * conform/data/sys/resource.h-data: Likewise.
11786 * conform/data/sys/select.h-data: Likewise.
11787 * conform/data/sys/sem.h-data: Likewise.
11788 * conform/data/sys/shm.h-data: Likewise.
11789 * conform/data/sys/socket.h-data: Likewise.
11790 * conform/data/sys/stat.h-data: Likewise.
11791 * conform/data/sys/statvfs.h-data: Likewise.
11792 * conform/data/sys/time.h-data: Likewise.
11793 * conform/data/sys/timeb.h-data: Likewise.
11794 * conform/data/sys/times.h-data: Likewise.
11795 * conform/data/sys/types.h-data: Likewise.
11796 * conform/data/sys/uio.h-data: Likewise.
11797 * conform/data/sys/un.h-data: Likewise.
11798 * conform/data/sys/utsname.h-data: Likewise.
11799 * conform/data/sys/wait.h-data: Likewise.
11800 * conform/data/syslog.h-data: Likewise.
11801 * conform/data/tar.h-data: Likewise.
11802 * conform/data/termios.h-data: Likewise.
11803 * conform/data/utime.h-data: Likewise.
11804 * conform/data/utmpx.h-data: Likewise.
11805 * conform/data/varargs.h-data: Likewise.
11806 * conform/data/wchar.h-data: Likewise.
11807 * conform/data/wctype.h-data: Likewise.
11808 * conform/data/wordexp.h-data: Likewise.
11809
11810 * include/stropts.h: New file.
11811 * include/uchar.h: New file.
11812 * include/aio.h: Changes to allow conformtest.pl to use the headers.
11813 * include/assert.h: Likewise.
11814 * include/ctype.h: Likewise.
11815 * include/dirent.h: Likewise.
11816 * include/dlfcn.h: Likewise.
11817 * include/fcntl.h: Likewise.
11818 * include/fnmatch.h: Likewise.
11819 * include/glob.h: Likewise.
11820 * include/grp.h: Likewise.
11821 * include/libio.h: Likewise.
11822 * include/locale.h: Likewise.
11823 * include/math.h: Likewise.
11824 * include/net/if.h: Likewise.
11825 * include/netdb.h: Likewise.
11826 * include/netinet/in.h: Likewise.
11827 * include/pthread.h: Likewise.
11828 * include/pwd.h: Likewise.
11829 * include/regex.h: Likewise.
11830 * include/sched.h: Likewise.
11831 * include/search.h: Likewise.
11832 * include/setjmp.h: Likewise.
11833 * include/signal.h: Likewise.
11834 * include/stdio.h: Likewise.
11835 * include/stdlib.h: Likewise.
11836 * include/string.h: Likewise.
11837 * include/sys/cdefs.h: Likewise.
11838 * include/sys/mman.h: Likewise.
11839 * include/sys/msg.h: Likewise.
11840 * include/sys/resource.h: Likewise.
11841 * include/sys/select.h: Likewise.
11842 * include/sys/socket.h: Likewise.
11843 * include/sys/stat.h: Likewise.
11844 * include/sys/statvfs.h: Likewise.
11845 * include/sys/time.h: Likewise.
11846 * include/sys/times.h: Likewise.
11847 * include/sys/uio.h: Likewise.
11848 * include/sys/utsname.h: Likewise.
11849 * include/sys/wait.h: Likewise.
11850 * include/termios.h: Likewise.
11851 * include/time.h: Likewise.
11852 * include/ulimit.h: Likewise.
11853 * include/unistd.h: Likewise.
11854 * include/utime.h: Likewise.
11855 * include/wchar.h: Likewise.
11856 * include/wctype.h: Likewise.
11857 * include/wordexp.h: Likewise.
11858
11859 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
11860
7a270350
UD
11861 * time/time.h: TIME_UTC must be a macro.
11862 Make timespec_get available for ISO C11 only as well.
11863
7724defc
UD
118642012-02-24 Ulrich Drepper <drepper@gmail.com>
11865
11866 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
11867 Reported by Peng Haitao <penght@cn.fujitsu.com>.
11868
6b1d1d46
JM
118692012-02-24 Joseph Myers <joseph@codesourcery.com>
11870
11871 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 11872
0f8bbd69
JM
118732012-02-24 Joseph Myers <joseph@codesourcery.com>
11874
11875 * manual/texinfo.tex: Update to version 2012-01-19.16.
11876
66ab80bc
JM
118772012-02-24 Joseph Myers <joseph@codesourcery.com>
11878
11879 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
11880
74981cc5
RM
118812012-02-24 Roland McGrath <roland@hack.frob.com>
11882
ee968201
RM
11883 [BZ #13738]
11884 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
11885 * manual/fdl-1.3.texi: New file.
11886 * manual/fdl-1.1.texi: File removed.
11887
74981cc5
RM
11888 [BZ #13738]
11889 * manual/libc.texinfo (FDL_VERSION): New @set.
11890 Use it for mention of FDL in cover text.
11891 (Documentation License): Use it in @include file name.
11892
7bb764bc
JM
118932012-02-22 Joseph Myers <joseph@codesourcery.com>
11894 Roland McGrath <roland@hack.frob.com>
11895
11896 [BZ #5461]
11897 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
11898 not LONG_LONG_MAX and LONG_LONG_MIN.
11899 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
11900 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
11901 name.
11902 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
11903
6cbeae47
JM
119042012-02-22 Joseph Myers <joseph@codesourcery.com>
11905
11906 [BZ #2547]
11907 [BZ #11365]
11908 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
11909 manipulate bits before adding and subtracting TWO23[sx].
11910 * math/libm-test.inc (nearbyint_test): Add more tests.
11911
fe45ce09
JM
119122012-02-22 Joseph Myers <joseph@codesourcery.com>
11913
11914 [BZ #2548]
11915 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
11916 bits before adding and subtracting TWO23[sx].
11917 * math/libm-test.inc (rint_test): Add more tests.
11918 (rint_test_tonearest): Likewise.
11919 (rint_test_towardzero): Likewise.
11920 (rint_test_downward): Likewise.
11921 (rint_test_upward: Likewise.
11922
ff3b3d82
JM
119232012-02-22 Joseph Myers <joseph@codesourcery.com>
11924
11925 [BZ #10110]
11926 * include/stdc-predef.h: New file. Extracted from features.h.
11927 * include/features.h: Include stdc-predef.h.
11928 * Makefile (headers): Add stdc-predef.h.
11929 * CONFORMANCE (Compiler limitations): Update.
11930
ef0aab35
JM
119312012-02-22 Joseph Myers <joseph@codesourcery.com>
11932
11933 * manual/libc.texinfo (VERSION, UPDATED): Revert.
11934
58639409
DM
119352012-02-21 David S. Miller <davem@davemloft.net>
11936
11937 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
11938 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
11939
c0e70b25
DM
119402012-02-20 David S. Miller <davem@davemloft.net>
11941
11942 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
11943 using a normal save/restore sequence, rather than allocating a
11944 dummy stack frame just to store a frame pointer and restore.
11945 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11946
fb06851d
JM
119472012-02-21 Joseph Myers <joseph@codesourcery.com>
11948
11949 * manual/install.texi: Fix stray word in line-wrapped comment.
11950
7a8b71c3
DM
119512012-02-20 David S. Miller <davem@davemloft.net>
11952
d510c123
DM
11953 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
11954 both binutils and gcc support GOTDATA.
11955
0722d7c2
DM
11956 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
11957 "rd %pc" in the PIC register setup sequences.
11958
3d2b3019
DM
11959 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
11960 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
11961 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
11962 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
11963 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
11964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11965 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11966 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
11967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
11968 (SYSCALL_ERROR_HANDLER): Likewise.
11969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
11972 (SYSCALL_ERROR_HANDLER): Likewise.
11973
c80098a9
DM
11974 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
11975 (HAVE_GCC_GOTDATA): New.
11976 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
11977 relocation support in both binutils and gcc.
11978 * sysdeps/sparc/elf/configure: Regenerate.
11979
3a2545a0
DM
11980 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
11981 * sysdeps/sparc/sparc32/elf/configure: Delete.
11982 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
11983 * sysdeps/sparc/sparc64/elf/configure: Delete.
11984 * sysdeps/sparc/elf/configure.in: New file.
11985 * sysdeps/sparc/elf/configure: Generate.
11986
7a8b71c3
DM
11987 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
11988 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
11989 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11990 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
11991 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
11992
f1e86fca
JM
119932012-02-21 Joseph Myers <joseph@codesourcery.com>
11994
11995 * manual/install.texi: Do not mention specific glibc version
11996 numbers.
11997 * manual/libc.texinfo (VERSION, UPDATED): Update.
11998 (@copying): Use @copyright{} and range of years.
11999
0e7dfaef
JM
120002012-02-21 Joseph Myers <joseph@codesourcery.com>
12001
12002 [BZ #13695]
12003 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12004 [crti.S not in sysdirs] (generated): Do not append.
12005 [crti.S not in sysdirs] (omit-deps): Likewise.
12006 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12007 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12008 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12009 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12010 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12011 Likewise.
12012 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12013 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12014 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12015 * csu/defs.awk: Remove file.
12016 * sysdeps/generic/initfini.c: Likewise.
12017 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12018 variable.
12019 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12020 Likewise.
12021
599af3ca
JM
120222012-02-20 Joseph Myers <joseph@codesourcery.com>
12023
12024 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12025 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12026 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12027 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12029 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12030 <bits/epoll.h>.
12031 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12032 (__EPOLL_PACKED): Define to empty if not defined by
12033 <bits/epoll.h>.
12034 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12035 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12036 bits/epoll.h.
12037
0e499750
JM
120382012-02-20 Joseph Myers <joseph@codesourcery.com>
12039
12040 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12041 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12042 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12043 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12044 <bits/timerfd.h>.
12045 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12046 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12047 bits/timerfd.h.
12048
5ad91f6e
JM
120492012-02-20 Joseph Myers <joseph@codesourcery.com>
12050
12051 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12052 in C locale.
12053 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12054 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12055 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
12056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12057
06b99b02
AJ
120582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
12059
12060 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12061 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12062
7638c0fd
AS
120632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
12064
12065 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
12066 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
12067 defined.
12068 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
12069 Likewise.
12070 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
12071 entry for 2.16.
12072
92221550
AJ
120732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
12074
12075 * math/w_acos.c: Use non-signaling floating-point comparisons.
12076 * math/w_acosf.c: Likewise.
12077 * math/w_acosh.c: Likewise.
12078 * math/w_acoshf.c: Likewise.
12079 * math/w_acoshl.c: Likewise.
12080 * math/w_acosl.c: Likewise.
12081 * math/w_asin.c: Likewise.
12082 * math/w_asinf.c: Likewise.
12083 * math/w_asinl.c: Likewise.
12084 * math/w_atanh.c: Likewise.
12085 * math/w_atanhf.c: Likewise.
12086 * math/w_atanhl.c: Likewise.
12087 * math/w_exp2.c: Likewise.
12088 * math/w_exp2f.c: Likewise.
12089 * math/w_exp2l.c: Likewise.
12090 * math/w_j0.c: Likewise.
12091 * math/w_j0f.c: Likewise.
12092 * math/w_j0l.c: Likewise.
12093 * math/w_j1.c: Likewise.
12094 * math/w_j1f.c: Likewise.
12095 * math/w_j1l.c: Likewise.
12096 * math/w_jn.c: Likewise.
12097 * math/w_jnf.c: Likewise.
12098 * math/w_log.c: Likewise.
12099 * math/w_log10.c: Likewise.
12100 * math/w_log10f.c: Likewise.
12101 * math/w_log10l.c: Likewise.
12102 * math/w_log2.c: Likewise.
12103 * math/w_log2f.c: Likewise.
12104 * math/w_log2l.c: Likewise.
12105 * math/w_logf.c: Likewise.
12106 * math/w_logl.c: Likewise.
12107 * math/w_sqrt.c: Likewise.
12108 * math/w_sqrtf.c: Likewise.
12109 * math/w_sqrtl.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12115
ebaf36eb
JM
121162012-02-19 Joseph Myers <joseph@codesourcery.com>
12117
12118 [BZ #9739]
12119 * manual/string.texi (strnlen): Use correct parameter name in
12120 equivalent expression.
12121
71c254a6
JM
121222012-02-19 Joseph Myers <joseph@codesourcery.com>
12123
12124 [BZ #11174]
12125 * manual/users.texi (seteuid): Consistently use neweuid for
12126 argument name.
12127
16d2c631
JM
121282012-02-19 Joseph Myers <joseph@codesourcery.com>
12129
12130 [BZ #13704]
12131 * manual/nss.texi (Services in the NSS configuration): Correct
12132 list of services in example configuration file.
12133
cd837b09
NB
121342012-02-19 Nick Bowler <nbowler@draconx.ca>
12135
12136 [BZ #11322]
12137 * manual/arith.texi: Remove statements about negative zero
12138 behaving identically to zero.
12139
02c4bbad
JM
121402012-02-18 Joseph Myers <joseph@codesourcery.com>
12141
12142 [BZ #5993]
12143 * manual/install.texi: Do not document upgrading from libc5.
12144
366842e7
JM
121452012-02-18 Joseph Myers <joseph@codesourcery.com>
12146
12147 [BZ #4596]
12148 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
12149
dd54084d
DM
121502012-02-18 David S. Miller <davem@davemloft.net>
12151
12152 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
12153 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
12154 %o7 across the call.
12155 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
12156 instead.
12157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
12158 SETUP_PIC_REG_LEAF.
12159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12160 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
12161 * sysdeps/sparc/crtn.S: Likewise.
12162
2bcc53a3
UD
121632012-02-17 Ulrich Drepper <drepper@gmail.com>
12164
12165 * aout/Makefile: Remove.
12166
09c093b5
RK
121672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
12168
12169 [BZ #13058]
12170 * manual/examples/argp-ex1.c (main): Format definition in GNU
12171 style.
12172 * manual/examples/argp-ex2.c (main): Likewise.
12173 * manual/examples/argp-ex3.c (main): Likewise.
12174 * manual/examples/argp-ex4.c (main): Likewise.
12175 * manual/examples/longopt.c (main): Use new-style prototype
12176 definition.
12177 * manual/examples/strncat.c (main): Specify return type and use
12178 (void) for arguments.
12179 * manual/examples/subopt.c (main): Use char **argv argument.
12180
2ee633a2
JM
121812012-02-17 Joseph Myers <joseph@codesourcery.com>
12182
12183 [BZ #5077]
12184 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
12185 rounding modes.
12186
0520adde
FB
121872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
12188
12189 [BZ #6907]
12190 * manual/string.texi (strchr): Change when strchrnul is
12191 recommended.
12192
3f4081cd
DGM
121932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
12194
12195 [BZ #174]
12196 * manual/locale.texi (setlocale): Document LOCPATH.
12197
d1b10e78
JM
121982012-02-17 Joseph Myers <joseph@codesourcery.com>
12199
12200 [BZ #10210]
12201 * manual/process.texi (execle): Move @dots{} before last argument.
12202
79c6869c
PB
122032012-02-17 Paul Bolle <pebolle@tiscali.nl>
12204
12205 [BZ #12047]
12206 * manual/charset.texi (Generic Charset Conversion): Fix typo
12207 (LC_TYPE -> LC_CTYPE).
12208
cc6e48bc
NB
122092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
12210
12211 [BZ #5805]
12212 * manual/arith.texi (scalbn): Use @var{} on parameter names.
12213 (scalbnf): Likewise.
12214 (scalbnl): Likewise.
12215 (scalbln): Likewise.
12216 (scalblnf): Likewise.
12217 (scalblnl): Likewise.
12218 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
12219 (vwarnx): Likewise.
12220 (verr): Likewise.
12221 (verrx): Likewise.
12222 * manual/filesys.texi (telldir): Use braces around return type.
12223 * manual/llio.texi (mmap): Add space after comma.
12224 (mmap64): Likewise.
12225 * manual/math.texi (jn): Use @var{} on parameter names.
12226 (jnf): Likewise.
12227 (jnl): Likewise.
12228 (yn): Likewise.
12229 (ynf): Likewise.
12230 (ynl): Likewise.
12231 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
12232 line.
12233 * manual/resource.texi (ulimit): Use @dots{} instead of literal
12234 "...".
12235 (sched_get_priority_min): Remove semicolon on @deftypefun line.
12236 (sched_get_priority_max): Likewise.
12237 * manual/signal.texi (sigvec): Add space after comma.
12238 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
12239 names.
12240 (if_indextoname): Likewise.
12241 (if_freenameindex): Likewise.
12242 (sendto): Use ',' instead of '.' in prototype.
12243 * manual/startup.texi (syscall): Use @dots{} instead of literal
12244 "...".
12245 * manual/stdio.texi (__fpending): Separate initial words of
12246 paragraph from @deftypefun line.
12247 * manual/syslog.texi (syslog): Use @dots{} instead of literal
12248 "...".
12249 (vsyslog): Use @var{} on parameter names.
12250 * manual/terminal.texi (stty): Use @var{} on parameter names.
12251 * manual/users.texi (getutmp): Use @var{} on parameter names.
12252 (getutmpx): Likewise.
12253
5b23062f
JM
122542012-02-17 Joseph Myers <joseph@codesourcery.com>
12255
12256 [BZ #6884]
12257 * manual/stdio.texi (fopen): Fix typos in description of
12258 ",ccs=STRING".
12259
8dee4833
AJ
122602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
12261
12262 [BZ #4026]
12263 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
12264 get clock_id definition.
12265
9078ce93
TS
122662012-02-17 Thomas Schwinge <thomas@schwinge.name>
12267
12268 [BZ #4822]
12269 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
12270 (madvise): Cast every argument to void on its own.
12271
3835c55f
JM
122722012-02-17 Joseph Myers <joseph@codesourcery.com>
12273
12274 [BZ #9902]
12275 * manual/startup.texi (Exit Status): Fix typo.
12276
35c47e37
JM
122772012-02-17 Joseph Myers <joseph@codesourcery.com>
12278
12279 [BZ #10140]
12280 * manual/examples/argp-ex1.c: Include <stdlib.h>.
12281 * manual/examples/argp-ex2.c: Likewise.
12282 * manual/examples/argp-ex3.c: Likewise.
12283
e3b69ca7
RH
122842012-02-16 Richard Henderson <rth@redhat.com>
12285
12286 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
12287 * sysdeps/s390/s390-32/initfini.c: Remove.
12288 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
12289 * sysdeps/s390/s390-64/initfini.c: Remove.
12290
df83af67
KK
122912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12292
12293 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
12294 compiler output for sysdeps/generic/initfini.c.
12295 * sysdeps/sh/elf/initfini.c: Remove file.
12296
f63f3380
DM
122972012-02-16 David S. Miller <davem@davemloft.net>
12298
fb59b3a4
DM
12299 [BZ #11494]
12300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
12301
f63f3380
DM
12302 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
12303 * sysdeps/sparc/crti.S: New file.
12304 * sysdeps/sparc/crtn.S: New file.
12305 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
12306 * sysdeps/sparc/sparc64/Makefile: Likewise.
12307
df6a4a4a
MF
123082012-02-15 Mike Frysinger <vapier@gentoo.org>
12309
6dd8f3dc 12310 [BZ #3335]
df6a4a4a
MF
12311 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
12312
1cac7236
RM
123132012-02-15 Roland McGrath <roland@hack.frob.com>
12314
d2c736f8
RM
12315 [BZ #4822]
12316 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
12317
1cac7236
RM
12318 * mach/devstream.c (cookie_io_functions_t): Macro removed.
12319 (write, read, close): Likewise.
12320 Patch by Aurelien Jarno <aurelien@aurel32.net>.
12321
8e475601
JM
123222012-02-15 Joseph Myers <joseph@codesourcery.com>
12323
12324 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
12325 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
12326 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
12327 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
12328 <bits/signalfd.h>.
12329 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
12330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12331 bits/signalfd.h.
12332
ed656b40
MP
123332012-02-14 Marek Polacek <polacek@redhat.com>
12334
12335 * sysdeps/x86_64/crti.S: New file.
12336 * sysdeps/x86_64/crtn.S: New file.
12337 * sysdeps/x86_64/elf/initfini.c: Remove file.
12338
2a979d3a
JM
123392012-02-13 Joseph Myers <joseph@codesourcery.com>
12340
12341 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
12342 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
12344 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
12345 <bits/inotify.h>.
12346 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
12347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12348 bits/inotify.h.
12349
2a418ac3
JM
123502012-02-13 Joseph Myers <joseph@codesourcery.com>
12351
12352 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
12353 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
12354 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
12355 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
12356 <bits/eventfd.h>.
12357 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
12358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12359 bits/eventfd.h.
12360
fb779be7
TS
123612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
12362
e19e83c5
RM
12363 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
12364 __feraiseexcept instead of feraiseexcept.
7c35ffed 12365
fb779be7
TS
12366 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
12367 nanosleep invocations.
12368 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
12369 strings, and add error checking for a nanosleep invocations.
12370
59ba27a6
PE
123712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
12372
12373 Replace FSF snail mail address with URLs, as per GNU coding standards.
12374 Most of the snail mail addresses were wrong anyway, and omitting
12375 them makes the source code easier to maintain. Almost all of the
12376 changes are to license notices and to locale LC_IDENTIFICATION
12377 addresses, except for this one:
12378 * manual/libc.texinfo: In "Published by", give the FSF's URL,
12379 not its snail mail address.
12380
57b957eb
RH
123812012-02-09 Richard Henderson <rth@twiddle.net>
12382
af850b1c
RH
12383 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
12384 of kernel-features.h.
12385
57b957eb
RH
12386 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
12387
6b73181a
MP
123882012-02-08 Marek Polacek <polacek@redhat.com>
12389
12390 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
12391 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
12392 * sysdeps/gnu/_G_config.h: Likewise.
12393 * sysdeps/generic/_G_config.h: Likewise.
12394
26ecc33a
AS
123952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
12396
6c6dbc63
AS
12397 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
12398 tests.
12399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400
e216c012
AS
12401 * sysdeps/powerpc/powerpc32/crti.S: New file.
12402 * sysdeps/powerpc/powerpc32/crtn.S: New file.
12403 * sysdeps/powerpc/powerpc64/crti.S: New file.
12404 * sysdeps/powerpc/powerpc64/crtn.S: New file.
12405
26ecc33a
AS
12406 * Makeconfig (have-initfini): Don't set.
12407 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
12408 * configure.in (nopic_initfini): Don't substitute.
12409 * config.h.in (HAVE_INITFINI): Don't #undef.
12410 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
12411 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
12412
3add8e13
JM
124132012-02-08 Joseph Myers <joseph@codesourcery.com>
12414
12415 Support crti.S and crtn.S provided directly by architectures.
12416 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
12417 [crti.S in sysdirs] (omit-deps): Likewise.
12418 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
12419 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
12420 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
12421 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
12422 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
12423 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
12424 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
12425 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
12426 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
12427 compiler output for sysdeps/generic/initfini.c.
12428 * sysdeps/i386/elf/Makefile: Remove file.
12429 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
12430
a22f12b4
MP
124312012-02-07 Marek Polacek <polacek@redhat.com>
12432
12433 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
12434 * sysdeps/gnu/_G_config.h: Likewise.
12435 * sysdeps/mach/hurd/_G_config.h: Likewise.
12436
148cf100
MP
124372012-02-07 Marek Polacek <polacek@redhat.com>
12438
12439 * math/Makefile (tests): Add tst-CMPLX2.
12440 * math/tst-CMPLX2.c: New file.
12441
cfdc0dd7
AS
124422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
12443
84ba42c4
AS
12444 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12445
cfdc0dd7
AS
12446 * math/libm-test.inc (jn_test): Add missing L suffix.
12447
622c86f4
MP
124482012-02-06 Marek Polacek <polacek@redhat.com>
12449
12450 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
12451 * sysdeps/i386/fpu/e_powf.S: Likewise.
12452 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12453 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12454 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12455 * sysdeps/i386/fpu/e_pow.S: Likewise.
12456 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
12457 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12458 * sysdeps/i386/fpu/s_expm1.S: Likewise.
12459 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
12460 * sysdeps/i386/fpu/e_log2.S: Likewise.
12461 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12463 * sysdeps/i386/fpu/e_powl.S: Likewise.
12464 * sysdeps/i386/fpu/s_log1p.S: Likewise.
12465 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12466 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
12467 * sysdeps/i386/fpu/e_logl.S: Likewise.
12468 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
12469 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
12470 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
12471 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
12472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12473 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12474 * sysdeps/i386/fpu/e_log.S: Likewise.
12475 * sysdeps/i386/fpu/s_cexp.S: Likewise.
12476 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12477 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
12478 * sysdeps/i386/fpu/e_logf.S: Likewise.
12479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12480 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12481 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
12482 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
12483 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12484 * sysdeps/i386/fpu/e_log10.S: Likewise.
12485 * sysdeps/i386/fpu/s_frexp.S: Likewise.
12486 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12487 * sysdeps/i386/fpu/s_asinh.S: Likewise.
12488 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
12489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12490 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
12491 * sysdeps/i386/asm-syntax.h: Likewise.
12492 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12495 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
12496 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
12497 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12498 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
12499 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
12500 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12501 * sysdeps/powerpc/sysdep.h: Likewise.
12502 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
12503 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12504
d4a54ac6
JM
125052012-02-06 Joseph Myers <joseph@codesourcery.com>
12506
12507 [BZ #411]
12508 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
12509
314054ea
JM
125102012-02-06 Joseph Myers <joseph@codesourcery.com>
12511
12512 * sysdeps/i386/sysdep.h: Include <features.h>.
12513 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
12514 version.
12515
d8e0ca50
JM
125162012-02-05 Joseph Myers <joseph@codesourcery.com>
12517
12518 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
12519 Define.
12520 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
12521 LOAD_PIC_REG_STR.
12522
b1da7dd9
JM
125232012-02-03 Joseph Myers <joseph@codesourcery.com>
12524
12525 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
12526 (SETUP_PIC_REG): Use GET_PC_THUNK.
12527 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
12528 macro.
12529
9a1d9254
JM
125302012-02-03 Joseph Myers <joseph@codesourcery.com>
12531
12532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
12533 for non-PIC compilation.
12534 (SETUP_PIC_REG): Add .p2align directive.
12535 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
12536 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12537 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12538 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12539 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12540 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12541 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12543 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12544 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12545 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12546 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12547 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12548 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12549 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12550 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12551 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12552 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12553 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12554 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12555 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12557 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12558 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12560 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12562 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12563 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12564 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12565 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12566 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12567 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12568 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12569 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12570 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12571 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12572 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12573 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12574 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12575 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12576
65dc3b75
JM
125772012-02-03 Joseph Myers <joseph@codesourcery.com>
12578
12579 * math/tst-CMPLX.c: Include <stdio.h>.
12580
d55bf177
JM
125812012-01-31 Joseph Myers <joseph@codesourcery.com>
12582
12583 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
12584 float.
12585 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12586 * sysdeps/sparc/bits/mathdef.h: Likewise.
12587
69db4f8f
MP
125882012-01-31 Marek Polacek <polacek@redhat.com>
12589
12590 * libio/libio.h: Don't define _PARAMS.
12591 * locale/programs/config.h: Don't define PARAMS.
12592 * stdlib/strtol_l.c: Likewise.
12593 (__strtol_l): Remove PARAMS from the prototype.
12594
41b81892
UD
125952012-01-31 Ulrich Drepper <drepper@gmail.com>
12596
3b49edc0
UD
12597 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
12598 names. Just use the correct names. Remove unnecessary wrapper
12599 functions.
12600 * malloc/arena.c: Likewise.
12601 * malloc/hooks.c: Likewise.
12602
41b81892
UD
12603 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
12604 ARENA_TEST says not to. Simplify test for creation of a new arena.
12605 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
12606
27a25b6e
UD
126072012-01-30 Ulrich Drepper <drepper@gmail.com>
12608
12609 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
12610 into tail calls.
12611 (update_get_addr): New function.
12612 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
12613 GET_ADDR_MODULE parameter.
12614
c8a89e7d
JM
126152012-01-30 Joseph Myers <joseph@codesourcery.com>
12616
12617 * crypt/cert.c: Remove __STDC__ conditionals.
12618 * crypt/crypt-entry.c: Likewise.
12619 * crypt/crypt_util.c: Likewise.
12620 * libio/filedoalloc.c: Likewise.
12621 * libio/fileops.c: Likewise.
12622 * libio/genops.c: Likewise.
12623 * libio/iofclose.c: Likewise.
12624 * libio/iofdopen.c: Likewise.
12625 * libio/iofopen.c: Likewise.
12626 * libio/iofopen64.c: Likewise.
12627 * libio/iogetdelim.c: Likewise.
12628 * libio/iopopen.c: Likewise.
12629 * libio/obprintf.c: Likewise.
12630 * libio/oldfileops.c: Likewise.
12631 * libio/oldiofclose.c: Likewise.
12632 * libio/oldiofdopen.c: Likewise.
12633 * libio/oldiofopen.c: Likewise.
12634 * libio/oldiopopen.c: Likewise.
12635 * libio/wfiledoalloc.c: Likewise.
12636 * libio/wgenops.c: Likewise.
12637 * locale/programs/xmalloc.c: Likewise.
12638 * misc/syslog.c: Likewise.
12639 * stdio-common/xbug.c: Likewise.
12640 * string/memchr.c: Likewise.
12641 * string/memcmp.c: Likewise.
12642 * string/memrchr.c: Likewise.
12643 * string/rawmemchr.c: Likewise.
12644 * sysdeps/posix/getcwd.c: Likewise.
12645 * time/strftime_l.c: Likewise.
12646
3b100462
JM
126472012-01-30 Joseph Myers <joseph@codesourcery.com>
12648
12649 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
12650 * config.make.in (config-cflags-sse2avx): Define.
12651 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
12652 Fix typo.
12653
607998af
CM
126542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
12655
12656 * scripts/config.guess: Update from upstream config git repository.
12657 * scripts/config.sub: Likewise.
12658
3601428f
CM
126592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
12660
3ac8b282
CM
12661 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
12662 (EM_NUM): Update.
12663 (R_TILEPRO_*, R_TILEGX_*): New macros.
12664
e034841e
CM
12665 * scripts/firstversions.awk: Fix bug in version range handling.
12666
540d7568
CM
12667 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
12668
3601428f
CM
12669 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
12670
463de862
CM
12671 * include/sys/epoll.h: New file.
12672 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
12673 libc_hidden_def.
12674
73139a76
UD
126752012-01-28 Ulrich Drepper <drepper@gmail.com>
12676
96bc5b45
UD
12677 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
12678 Avoid unnecessary __WORDSIZE == 64 test.
12679 (fmaxf): Use VEX format if possible.
12680 (fmax): Likewise.
12681 (fminf): Likewise.
12682 (fmin): Likewise.
12683
56f6f6a2
UD
12684 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
12685 * math/math_private.h: Remove libc_fegetround* and
12686 libc_fesetround*.
12687 * sysdeps/i386/configure.in: Check for -msse2avx.
12688 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
12689 also if SSE2AVX is defined.
12690 Remove libc_fegetround* and libc_fesetround*.
12691 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
12692 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
12693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
12694 of HAS_YMM_USABLE.
12695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12700
73139a76
UD
12701 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
12702
d73f93a4
AZ
127032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12704
12705 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
12706 size is not set.
12707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12708
6ee65ed6
UD
127092012-01-27 Ulrich Drepper <drepper@gmail.com>
12710
12711 [BZ #13618]
12712 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
12713 relocation.
12714 * Makeconfig (libm): Define.
12715 * elf/Makefile: Add rules to build and run tst-relsort1.
12716 * elf/tst-relsort1.c: New file.
12717 * elf/tst-relsort1mod1.c: New file.
12718 * elf/tst-relsort1mod2.c: New file.
12719
8db21882
JM
127202012-01-27 Joseph Myers <joseph@codesourcery.com>
12721
12722 * math/s_ldexp.c: Remove __STDC__ conditionals.
12723 * math/s_ldexpf.c: Likewise.
12724 * math/s_ldexpl.c: Likewise.
12725 * math/s_nextafter.c: Likewise.
12726 * math/s_nexttowardf.c: Likewise.
12727 * math/s_significand.c: Likewise.
12728 * math/s_significandf.c: Likewise.
12729 * math/s_significandl.c: Likewise.
12730 * math/w_jnl.c: Likewise.
12731 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
12732 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
12733 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
12734 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
12735 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12743 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12750 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12751 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12752 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12758 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12759 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
12760 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12761 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12762 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
12763 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12764 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
12765 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
12766 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12767 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
12768 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
12769 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
12770 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
12771 * sysdeps/ieee754/k_standard.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
12776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
12778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12779 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
12780 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
12781 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
12782 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
12783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
12784 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
12785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
12786 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
12787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12791 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
12796 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
12802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
12803 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
12804 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12805 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
12806 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
12807 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
12808 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
12809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12810 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
12811 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
12812 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
12813 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
12814 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12815 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
12816 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12817 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12818 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12819 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12820 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
12821 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
12829 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
12851 * sysdeps/ieee754/s_matherr.c: Likewise.
12852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
12853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12856
965a54a4
JM
128572012-01-26 Joseph Myers <joseph@codesourcery.com>
12858
12859 * crypt/md5.h: Remove __STDC__ conditionals.
12860 * libio/libioP.h: Likewise.
12861 * locale/programs/config.h: Likewise.
12862 * sysdeps/generic/sysdep.h: Likewise.
12863 * sysdeps/i386/asm-syntax.h: Likewise.
12864 * sysdeps/s390/asm-syntax.h: Likewise.
12865 * sysdeps/unix/sysdep.h: Likewise.
12866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12868
7071ad79
JM
128692012-01-26 Joseph Myers <joseph@codesourcery.com>
12870
12871 * libio/libio.h: Remove __STDC__ conditionals.
12872 * malloc/obstack.h: Likewise.
12873 * math/complex.h: Likewise.
12874 * math/math.h: Likewise.
12875 * sysdeps/generic/_G_config.h: Likewise.
12876 * sysdeps/gnu/_G_config.h: Likewise.
12877 * sysdeps/mach/hurd/_G_config.h: Likewise.
12878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12879 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12880 * sysdeps/sparc/bits/mathdef.h: Likewise.
12881
afc5ed09
UD
128822012-01-26 Ulrich Drepper <drepper@gmail.com>
12883
12884 [BZ #13583]
12885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 12886 Clean up HAS_* macros.
afc5ed09 12887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
12888 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
12889 possible.
12890 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
12891 HAS_AVX.
12892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 12897
bdb6de1d
JM
128982012-01-25 Joseph Myers <joseph@codesourcery.com>
12899
12900 * elf/tst-unique3.cc (gets): Remove declaration.
12901 * elf/tst-unique3lib.cc (gets): Likewise.
12902 * elf/tst-unique3lib2.cc (gets): Likewise.
12903 * elf/tst-unique4.cc (gets): Likewise.
12904
b15549e6
UD
129052012-01-24 Ulrich Drepper <drepper@gmail.com>
12906
12907 * include/stdio.h: Add C++ protection. Add gets declarations and
12908 definitions.
12909 * debug/tst-chk1.c: Don't declare gets here.
12910 * stdio-common/tst-gets.c: Likewise.
12911
a037381f
JM
129122012-01-24 Joseph Myers <joseph@codesourcery.com>
12913
12914 * posix/glob: Remove directory.
12915
f1d4aa75
JM
129162012-01-24 Joseph Myers <joseph@codesourcery.com>
12917
12918 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
12919
81c0c964
PT
129202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
12921
12922 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
12923 of the non-standard EPFNOSUPPORT.
12924
0ea698ae
ST
129252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
12926
12927 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
12928 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
12929 ANYWHERE set to 1 only on KERN_NO_SPACE error.
12930
d220b117
UD
129312012-01-21 Ulrich Drepper <drepper@gmail.com>
12932
12933 * wcsmbs/uchar.h: Test __STDC_VERSION__.
12934
3e1aa84e
UD
129352012-01-20 Ulrich Drepper <drepper@gmail.com>
12936
12937 * nscd/aicache.c (addhstaiX): Do not cache negative results of
12938 transient errors.
12939 * nscd/grpcache.c (cache_addgr): Likewise.
12940 * nscd/hstcache.c (cache_addhst): Likewise.
12941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12942 * nscd/pwdcache.c (cache_addpw): Likewise.
12943 * nscd/servicescache.c (cache_addserv): Likewise.
12944
400aa020
UD
129452012-01-16 Ulrich Drepper <drepper@gmail.com>
12946
d77e7869
UD
12947 * malloc/malloc.c: Various cleanups.
12948 * malloc/hooks.c: Likewise.
12949
400aa020
UD
12950 * stdlib/Makefile (tests): Add bug-fmtmsg1.
12951 * stdlib/bug-fmtmsg1.c: New file.
12952
12953 * stdlib/fmtmsg.c (init): Add missing unlock.
12954 Patch by Peng Haitao <penght@cn.fujitsu.com>.
12955
e0a309cf
MP
129562012-01-12 Marek Polacek <polacek@redhat.com>
12957
12958 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
12959 and _GNU_SOURCE.
12960
929d11c7
WS
129612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12962
12963 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
12964 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
12965 macro to ensure uniqueness of label name.
12966 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12967 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12968
41d0e869
UD
129692012-01-11 Ulrich Drepper <drepper@gmail.com>
12970
0cc5ed3b
UD
12971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
12972
41d0e869
UD
12973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
12974 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
12975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12976 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
12977
a47a831a
UD
129782012-01-10 Ulrich Drepper <drepper@gmail.com>
12979
daa891c0
UD
12980 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
12981
12982 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
12983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
12984 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
12985
e58ef0f2
UD
12986 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
12987
a47a831a 12988 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
12989 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
12990 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 12991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
12992
12993 * math/bits/math-finite.h: Add ldexp support.
12994
a0bfc9c7
MP
129952012-01-10 Marek Polacek <polacek@redhat.com>
12996
12997 * locale/programs/localedef.h (show_archive_content): Add noreturn
12998 attribute.
12999
d6e97a1d
UD
130002012-01-09 Ulrich Drepper <drepper@gmail.com>
13001
13002 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13003
d5835c26
UD
130042012-01-08 Ulrich Drepper <drepper@gmail.com>
13005
e5f484c6
UD
13006 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13007
d5835c26
UD
13008 * io/Makefile (headers): Add bits/poll2.h.
13009
d1f741e9
WS
130102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13011
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13013 typo #include statement.
13014
ec09c1c4
UD
130152012-01-08 Ulrich Drepper <drepper@gmail.com>
13016
13017 * include/sys/cdefs.h: Define __attribute_alloc_size.
13018 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13019 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13020 * elf/pldd.c: Likewise.
13021 * iconv/iconv_charmap.c: Likewise.
13022 * iconv/iconvconfig.c: Likewise.
13023 * iconv/strtab.c: Likewise.
13024 * locale/programs/locale.c: Likewise.
13025 * locale/programs/localedef.h: Likewise.
13026 * locale/programs/simple-hash.c: Likewise.
13027 * nscd/nscd.h: Likewise.
13028 * nss/makedb.c: Likewise.
13029 * sysdeps/generic/ldconfig.h: Likewise.
13030 * locale/programs/localedef.c: Remove xmalloc prototype.
13031 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13032
20b38e03
PP
130332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13034
13035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13036 appropriate.
13037
a0da5fe1
UD
130382012-01-08 Ulrich Drepper <drepper@gmail.com>
13039
1d5a644a 13040 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13041 * math/tst-CMPLX.c: New file.
1d5a644a 13042
8784a6db
UD
13043 * math/complex.h (CMPLXL): Fix typo.
13044
d9a216c0
UD
13045 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13046 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13047 GLIBC_2.16.
13048 * debug/tst-chk1.c: Add poll and ppoll tests.
13049 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13050 * include/sys/poll.h: Add hidden proto for ppoll.
13051 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13052 * sysdeps/mach/hurd/ppoll.c: Likewise.
13053 * io/ppoll.c: Likewise.
13054 * debug/poll_chk.c: New file.
13055 * debug/ppoll_chk.c: New file.
13056 * include/bits/poll2.h: New file.
13057 * io/bits/poll2.h: New file.
13058
ac097f5c
UD
13059 [BZ #1350]
13060 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
13061
2119dcfa
UD
13062 * configure.in: static is always set to yes. Remove.
13063 * config.make.in: Don't set build-static.
13064 * Makeconfig: Remove use of build-static.
13065 * dlfcn/Makefile: Likewise.
13066 * elf/Makefile: Likewise.
13067 * math/Makefile: Likewise.
13068 * misc/Makefile: Likewise.
13069 * nptl/Makefile: Likewise.
13070 * sysdeps/mach/hurd/Makefile: Likewise.
13071
121766a9
UD
13072 * configure.in: PWD_P is not used anymore.
13073 * config.make.in: Remove PWD_P entry.
13074
51a1d39c 13075 * configure.in: Remove last remnants of RANLIB.
8720d066 13076 No need to check for signed size_t anymore.
215f4bdc
UD
13077 Don't set libc_commonpagesize and libc_relro_required here for Alpha
13078 and IA-64.
3857022a 13079 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
13080 * aclocal.m4: Likewise.
13081
d3ed7225
UD
13082 * wcsmbs/mbrtoc16.c: Implement using towc function.
13083 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
13084 * wcsmbs/wcsmbsload.c: Likewise.
13085 * iconv/gconv_simple.c: Likewise.
13086 * iconv/gconv_int.h: Likewise.
13087 * iconv/gconv_builtin.h: Likewise.
13088 * iconv/iconv_prog.c: Remove CHAR16 handling.
13089
13090 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
13091
13092 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
13093
a0da5fe1
UD
13094 * configure.in: Remove --with-elf and --enable-bounded options.
13095 Dont set base_machine for ia64. More non-ELF conditions removed.
13096 Remove testing and setting of leading underscore information.
13097 * config.make.in (build-bounded): Set to no.
13098 * config.h.in: Remove NO_UNDERSCORES entry.
13099 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
13100 them.
13101 * csu/start.c: Remove !NO_UNDERSCORE code.
13102 * locale/localeinfo.h: Likewise.
13103 * sysdeps/generic/machine-gmon.h: Likewise.
13104 * sysdeps/generic/sysdep.h: Likewise.
13105 * sysdeps/i386/sysdep.h: Likewise.
13106 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13107 * sysdeps/mach/sysdep.h: Likewise.
13108 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13109 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13110 * sysdeps/sh/sysdep.h: Likewise.
13111 * sysdeps/sparc/sparc32/alloca.S: Likewise.
13112 * sysdeps/unix/i386/sysdep.S: Likewise.
13113 * sysdeps/unix/sparc/start.c: Likewise.
13114 * sysdeps/unix/sparc/sysdep.S: Likewise.
13115 * sysdeps/unix/sparc/sysdep.h: Likewise.
13116 * sysdeps/unix/start.c: Likewise.
13117 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13118 * sysdeps/x86_64/sysdep.h: Likewise.
13119
df78418a
UD
131202012-01-07 Ulrich Drepper <drepper@gmail.com>
13121
a784e502
UD
13122 [BZ #13553]
13123 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
13124 for non-gcc.
13125 * argp/argp-fmtstream.h: Use const instead __const.
13126 * argp/argp.h: Likewise.
13127 * assert/assert.h: Likewise.
13128 * bits/fenv.h: Likewise.
13129 * bits/sched.h: Likewise.
13130 * bits/sigset.h: Likewise.
13131 * bits/sigthread.h: Likewise.
13132 * catgets/nl_types.h: Likewise.
13133 * conform/data/pthread.h-data: Likewise.
13134 * crypt/crypt-private.h: Likewise.
13135 * crypt/crypt.h: Likewise.
13136 * crypt/crypt_util.c: Likewise.
13137 * ctype/ctype.h: Likewise.
13138 * debug/execinfo.h: Likewise.
13139 * debug/mbsnrtowcs_chk.c: Likewise.
13140 * debug/mbsrtowcs_chk.c: Likewise.
13141 * debug/wcsnrtombs_chk.c: Likewise.
13142 * debug/wcsrtombs_chk.c: Likewise.
13143 * debug/wcstombs_chk.c: Likewise.
13144 * dirent/dirent.h: Likewise.
13145 * dlfcn/dlfcn.h: Likewise.
13146 * elf/neededtest4.c: Likewise.
13147 * grp/grp.h: Likewise.
13148 * gshadow/gshadow.h: Likewise.
13149 * iconv/gconv.h: Likewise.
13150 * iconv/gconv_int.h: Likewise.
13151 * iconv/gconv_simple.c: Likewise.
13152 * iconv/iconv.h: Likewise.
13153 * iconv/loop.c: Likewise.
13154 * iconv/skeleton.c: Likewise.
13155 * include/aio.h: Likewise.
13156 * include/aliases.h: Likewise.
13157 * include/argz.h: Likewise.
13158 * include/arpa/inet.h: Likewise.
13159 * include/assert.h: Likewise.
13160 * include/dirent.h: Likewise.
13161 * include/dlfcn.h: Likewise.
13162 * include/execinfo.h: Likewise.
13163 * include/fcntl.h: Likewise.
13164 * include/fenv.h: Likewise.
13165 * include/glob.h: Likewise.
13166 * include/grp.h: Likewise.
13167 * include/libintl.h: Likewise.
13168 * include/mntent.h: Likewise.
13169 * include/netdb.h: Likewise.
13170 * include/pwd.h: Likewise.
13171 * include/rpc/netdb.h: Likewise.
13172 * include/sched.h: Likewise.
13173 * include/search.h: Likewise.
13174 * include/shadow.h: Likewise.
13175 * include/signal.h: Likewise.
13176 * include/stdio.h: Likewise.
13177 * include/stdlib.h: Likewise.
13178 * include/string.h: Likewise.
13179 * include/sys/socket.h: Likewise.
13180 * include/sys/stat.h: Likewise.
13181 * include/sys/statfs.h: Likewise.
13182 * include/sys/statvfs.h: Likewise.
13183 * include/sys/syslog.h: Likewise.
13184 * include/sys/time.h: Likewise.
13185 * include/sys/uio.h: Likewise.
13186 * include/time.h: Likewise.
13187 * include/unistd.h: Likewise.
13188 * include/utmp.h: Likewise.
13189 * include/wchar.h: Likewise.
13190 * include/wctype.h: Likewise.
13191 * inet/aliases.h: Likewise.
13192 * inet/arpa/inet.h: Likewise.
13193 * inet/netinet/ether.h: Likewise.
13194 * inet/netinet/in.h: Likewise.
13195 * intl/libintl.h: Likewise.
13196 * io/bits/fcntl2.h: Likewise.
13197 * io/fcntl.h: Likewise.
13198 * io/ftw.h: Likewise.
13199 * io/sys/poll.h: Likewise.
13200 * io/sys/stat.h: Likewise.
13201 * io/sys/statfs.h: Likewise.
13202 * io/sys/statvfs.h: Likewise.
13203 * io/utime.h: Likewise.
13204 * libio/bits/stdio.h: Likewise.
13205 * libio/bits/stdio2.h: Likewise.
13206 * libio/libio.h: Likewise.
13207 * libio/libioP.h: Likewise.
13208 * libio/stdio.h: Likewise.
13209 * locale/lc-ctype.c: Likewise.
13210 * locale/locale.h: Likewise.
13211 * login/utmp.h: Likewise.
13212 * malloc/arena.c: Likewise.
13213 * malloc/malloc.c: Likewise.
13214 * malloc/malloc.h: Likewise.
13215 * malloc/mcheck.c: Likewise.
13216 * malloc/mtrace.c: Likewise.
13217 * math/bits/mathcalls.h: Likewise.
13218 * math/fenv.h: Likewise.
13219 * math/math_private.h: Likewise.
13220 * misc/bits/error.h: Likewise.
13221 * misc/bits/syslog.h: Likewise.
13222 * misc/err.h: Likewise.
13223 * misc/error.h: Likewise.
13224 * misc/fstab.h: Likewise.
13225 * misc/mntent.h: Likewise.
13226 * misc/regexp.h: Likewise.
13227 * misc/search.h: Likewise.
13228 * misc/sgtty.h: Likewise.
13229 * misc/sys/mman.h: Likewise.
13230 * misc/sys/syslog.h: Likewise.
13231 * misc/sys/uio.h: Likewise.
13232 * misc/sys/xattr.h: Likewise.
13233 * misc/ttyent.h: Likewise.
13234 * nis/rpcsvc/ypclnt.h: Likewise.
13235 * nss/nss.h: Likewise.
13236 * posix/bits/unistd.h: Likewise.
13237 * posix/fnmatch.h: Likewise.
13238 * posix/glob.h: Likewise.
13239 * posix/sched.h: Likewise.
13240 * posix/spawn.h: Likewise.
13241 * posix/sys/wait.h: Likewise.
13242 * posix/unistd.h: Likewise.
13243 * posix/wordexp.h: Likewise.
13244 * pwd/pwd.h: Likewise.
13245 * resolv/netdb.h: Likewise.
13246 * resource/sys/resource.h: Likewise.
13247 * rt/aio.h: Likewise.
13248 * rt/bits/mqueue2.h: Likewise.
13249 * rt/mqueue.h: Likewise.
13250 * shadow/shadow.h: Likewise.
13251 * signal/signal.h: Likewise.
13252 * socket/send.c: Likewise.
13253 * socket/sendto.c: Likewise.
13254 * socket/sys/socket.h: Likewise.
13255 * stdio-common/printf.h: Likewise.
13256 * stdlib/bits/stdlib.h: Likewise.
13257 * stdlib/fmtmsg.h: Likewise.
13258 * stdlib/monetary.h: Likewise.
13259 * stdlib/stdlib.h: Likewise.
13260 * stdlib/ucontext.h: Likewise.
13261 * streams/stropts.h: Likewise.
13262 * string/argz.h: Likewise.
13263 * string/bits/string2.h: Likewise.
13264 * string/string.h: Likewise.
13265 * string/strings.h: Likewise.
13266 * sunrpc/rpc/auth.h: Likewise.
13267 * sunrpc/rpc/auth_des.h: Likewise.
13268 * sunrpc/rpc/clnt.h: Likewise.
13269 * sunrpc/rpc/netdb.h: Likewise.
13270 * sunrpc/rpc/pmap_clnt.h: Likewise.
13271 * sunrpc/rpc/xdr.h: Likewise.
13272 * sysdeps/generic/inttypes.h: Likewise.
13273 * sysdeps/generic/net/if.h: Likewise.
13274 * sysdeps/generic/sys/swap.h: Likewise.
13275 * sysdeps/gnu/net/if.h: Likewise.
13276 * sysdeps/gnu/utmpx.h: Likewise.
13277 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
13278 * sysdeps/i386/i486/bits/string.h: Likewise.
13279 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
13280 * sysdeps/s390/bits/string.h: Likewise.
13281 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
13282 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
13283 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
13284 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
13285 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
13286 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
13287 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
13288 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
13289 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
13290 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
13291 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
13292 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13293 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
13294 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13295 * sysdeps/unix/sysv/linux/readv.c: Likewise.
13296 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
13297 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13302 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
13303 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
13304 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
13305 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
13306 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
13307 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13309 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
13310 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
13311 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
13312 * sysvipc/sys/ipc.h: Likewise.
13313 * sysvipc/sys/msg.h: Likewise.
13314 * sysvipc/sys/sem.h: Likewise.
13315 * sysvipc/sys/shm.h: Likewise.
13316 * termios/termios.h: Likewise.
13317 * time/sys/time.h: Likewise.
13318 * time/time.h: Likewise.
13319 * wcsmbs/bits/wchar2.h: Likewise.
13320 * wcsmbs/uchar.h: Likewise.
13321 * wcsmbs/wchar.h: Likewise.
13322 * wctype/wctype.h: Likewise.
13323
0269750c
UD
13324 [BZ #13551]
13325 * Makeconfig: Remove all but ELF support including AIX support.
13326 * Makerules: Likewise.
13327 * config.h.in: Likewise.
13328 * config.make.in: Likewise.
13329 * configure: Likewise.
13330 * configure.in: Likewise.
13331 * csu/Makefile: Likewise.
13332 * csu/version.c: Likewise.
13333 * debug/Makefile: Likewise.
13334 * dlfcn/Makefile: Likewise.
13335 * elf/Makefile: Likewise.
13336 * extra-lib.mk: Likewise.
13337 * iconv/Makefile: Likewise.
13338 * include/libc-symbols.h: Likewise.
13339 * include/shlib-compat.h: Likewise.
13340 * resolv/Makefile: Likewise.
13341 * resolv/res_libc.c: Likewise.
13342 * rt/Makefile: Likewise.
13343 * sysdeps/i386/asm-syntax.h: Likewise.
13344 * sysdeps/i386/sysdep.h: Likewise.
13345 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
13346 * sysdeps/mach/sysdep.h: Likewise.
13347 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
13348 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
13349 * sysdeps/s390/asm-syntax.h: Likewise.
13350 * sysdeps/s390/s390-32/sysdep.h: Likewise.
13351 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13352 * sysdeps/sh/sysdep.h: Likewise.
13353 * sysdeps/unix/sparc/sysdep.h: Likewise.
13354 * sysdeps/wordsize-32/divdi3.c: Likewise.
13355 * sysdeps/x86_64/sysdep.h: Likewise.
13356
00bbd29b
UD
13357 * argp/Versions: Remove _argp_unlock_xxx.
13358
13359 [BZ #13559]
13360 * abilist/ld.abilist: Update. Adjust for removal of tls option.
13361 * abilist/libBrokenLocale.abilist: Likewise.
13362 * abilist/libanl.abilist: Likewise.
13363 * abilist/libc.abilist: Likewise.
13364 * abilist/libcrypt.abilist: Likewise.
13365 * abilist/libdl.abilist: Likewise.
13366 * abilist/libm.abilist: Likewise.
13367 * abilist/libnsl.abilist: Likewise.
13368 * abilist/libpthread.abilist: Likewise.
13369 * abilist/libresolv.abilist: Likewise.
13370 * abilist/librt.abilist: Likewise.
13371 * abilist/libthread_db.abilist: Likewise.
13372 * abilist/libutil.abilist: Likewise.
13373 * abilist/libnss_db.abilist: New file.
13374
13375 * scripts/abilist.awk: Add support for indirect functions.
13376
a2693a0e
UD
13377 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
13378
3f05895f
UD
13379 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
13380
ecb6fb48
UD
13381 * shlib-versions: Remove entries for ports architectures.
13382
664f8cb9
UD
13383 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
13384 files in ports.
13385 * elf/stackguard-macros.h: Remove support for IA-64.
13386 * elf/tst-auditmod1.c: Likewise.
13387 * sysdeps/generic/ldsodefs.h: Likewise.
13388
7ae81d88
UD
13389 * sysdeps/unix/sysv/linux/configure.in: Ports should define
13390 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
13391 configure files.
13392
bdeba135
UD
13393 [BZ #13552]
13394 * configure.in: Remove --enable-omitfp support.
13395 * FAQ.in: Adjust.
13396 * config.make.in: Likewise.
13397 * Makeconfig: Likewise.
13398 * manual/install.texi: Likewise.
13399
d75a0a62
UD
13400 In case anyone cares, the IA-64 architecture could move to ports.
13401 * sysdeps/ia64/*: Removed.
13402 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 13403 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 13404
dcc9756b
UD
13405 [BZ #13555]
13406 * configure.in: Remove entries for unsupported architectures.
13407
d3761ebc 13408 [BZ #13533]
9954432e
UD
13409 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
13410 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
13411 routines.
13412 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
13413 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
13414 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
13415 fall back to using wcrtomb.
13416 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
13417 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
13418 renaming.
13419 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
13420 * wcsmbs/tst-c16c32-1.c: New file.
13421
13422 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
13423 local variable.
13424
c3a87236
UD
13425 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
13426
28926a1b
UD
13427 * elf/tst-unique3.cc: Add explicit declaration of gets.
13428 * elf/tst-unique3lib.cc: Likewise.
13429 * elf/tst-unique3lib2.cc: Likewise.
13430 * elf/tst-unique4.cc: Likewise.
13431
df78418a
UD
13432 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
13433
8ecd6b2a
JM
134342012-01-06 Joseph Myers <joseph@codesourcery.com>
13435
13436 [BZ #13566]
13437 * assert/assert.h (static_assert): Don't define for C++.
13438 * libio/stdio.h (gets): Do declare for C++ <= C++11.
13439 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
13440
9f115170
UD
134412012-01-03 Ulrich Drepper <drepper@gmail.com>
13442
5e0d0300
UD
13443 * iconv/loop.c (single loop): Fix assertion in storing of
13444 remaining bytes.
13445
9f115170
UD
13446 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
13447
81fb02b0
UD
134482012-01-01 Ulrich Drepper <drepper@gmail.com>
13449
13450 * posix/getconf.c: Update copyright year.
13451 * nss/getent.c: Likewise.
a316c1f6 13452 * nss/makedb.c: Likewise.
81fb02b0
UD
13453 * iconv/iconvconfig.c: Likewise.
13454 * iconv/iconv_prog.c: Likewise.
13455 * elf/ldconfig.c: Likewise.
a316c1f6
UD
13456 * elf/pldd.c: Likewise.
13457 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
13458 * catgets/gencat.c: Likewise.
13459 * csu/version.c: Likewise.
13460 * elf/ldd.bash.in: Likewise.
13461 * elf/sprof.c (print_version): Likewise.
13462 * locale/programs/locale.c: Likewise.
13463 * locale/programs/localedef.c: Likewise.
a316c1f6 13464 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
13465 * nscd/nscd.c (print_version): Likewise.
13466 * debug/xtrace.sh: Likewise.
13467 * malloc/memusage.sh: Likewise.
13468 * malloc/mtrace.pl: Likewise.
13469 * debug/catchsegv.sh: Likewise.
13470
2ba92745
JJ
134712011-12-30 Jakub Jelinek <jakub@redhat.com>
13472
13473 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
13474 pure attribute.
13475
dadebdae
UD
134762011-12-24 Ulrich Drepper <drepper@gmail.com>
13477
d3761ebc 13478 [BZ #13533]
db6af3eb
UD
13479 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
13480 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
13481 transformations.
13482 * iconv/gconv_int.h: Likewise.
13483 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
13484 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
13485 from libc for GLIBC_2.16.
13486 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
13487 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
13488 * wcsmbs/uchar.h: Really define mbstate_t.
13489 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
13490 * wcsmbs/c16rtomb.c: New file.
13491 * wcsmbs/mbrtoc16.c: New file.
13492 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
13493 for C/POSIX locale.
13494 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
13495 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
13496
dadebdae
UD
13497 * wcsmbs/wchar.h: Add missing __restrict.
13498
67371b56
UD
134992011-12-23 Ulrich Drepper <drepper@gmail.com>
13500
74033a25
UD
13501 [BZ #13532]
13502 * time/Makefile (routines): Add timespec_get.
13503 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
13504 * time/time.h: Define TIME_UTC and declare timespec_get. Define
13505 timespec for ISO C11.
13506 * time/timespec_get.c: New file.
13507 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
13508 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
13509
380d7e87
UD
13510 [BZ #13531]
13511 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
13512 * stdlib/stdlib.h: Declare aligned_alloc.
13513 * Versions.def: Add GLIBC_2.16 for libc.
13514 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
13515
4e9e7a35
UD
13516 [BZ 13527]
13517 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
13518 ISO C11.
13519
380d7e87 13520 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
13521 code.
13522
03a71829
UD
13523 [BZ #13528]
13524 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
13525
839e283e
UD
13526 [BZ #13529]
13527 * assert/assert.h (static_assert): Define.
13528
ce5294e2 13529 * version.h: Update for 2.16 development version.
90fa7312 13530
8d44e150 13531 [BZ #13526]
d7809905
UD
13532 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
13533 _ISOC11_SOURCE.
13534
c0da14cd
UD
13535 * version.h (RELEASE): Bump for 2.15 release.
13536 * include/features.h (__GLIBC_MINOR__): Bump to 15.
13537
530a3249
MP
13538 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
13539 Patch by Marek Polacek <mpolacek@redhat.com>.
13540
67371b56
UD
13541 * bits/byteswap.h: Protect long long constants with __extension__.
13542 * sysdeps/i386/bits/byteswap.h: Likewise.
13543 * sysdeps/ia64/bits/byteswap.h: Likewise.
13544 * sysdeps/s390/bits/byteswap.h: Likewise.
13545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13546
15db4de1
LD
135472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13548
13549 [BZ #13540]
bbe315ea
LD
13550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
13551 destination buffer.
15db4de1
LD
13552 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
13553
2b2596b1
MP
135542011-12-23 Marek Polacek <polacek@redhat.com>
13555
13556 * elf/dl-addr.c (determine_info): Add inline keyword.
13557 * elf/tst-auditmod4b.c (check_avx): Likewise.
13558 * elf/tst-auditmod6b.c (check_avx): Likewise.
13559 * elf/tst-auditmod6c.c (check_avx): Likewise.
13560 * elf/tst-auditmod7b.c (check_avx): Likewise.
13561
70c6c246
UD
135622011-12-23 Ulrich Drepper <drepper@gmail.com>
13563
13564 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
13565 !__SSE_MATH__.
13566
c044cf14
LD
135672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13568
15db4de1 13569 [BZ #13540]
c044cf14
LD
13570 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
13571 processing for last bytes.
13572
6b13d9d9
BH
135732011-08-06 Bruno Haible <bruno@clisp.org>
13574
d455f537
BH
13575 [BZ #13061]
13576 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
13577 U+0385, not to U+1FEE.
13578
6b13d9d9
BH
13579 [BZ #13062]
13580 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
13581 entry for U+00A5 U+0301.
13582
db910efd
UD
135832011-12-22 Ulrich Drepper <drepper@gmail.com>
13584
27deeafc
UD
13585 [BZ #13166]
13586 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
13587 buffer for the output is too small.
13588
aed9d171
UD
13589 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
13590 optimization.
13591
db910efd
UD
13592 [BZ #13185]
13593 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
13594 SSE flags if possible.
13595
2bd779ae
LD
135962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13597
e7f9dac3 13598 [BZ #13540]
2bd779ae
LD
13599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
13600 processing for last bytes.
13601
154bfc16
JM
136022011-12-22 Joseph Myers <joseph@codesourcery.com>
13603
13604 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
13605 (syscall-list-default-options, syscall-list-default-condition)
13606 (syscall-list-includes): Define.
13607 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
13608 list of ABIs and options and #if conditions for each ABI. Do not
13609 handle common syscalls between ABIs specially.
13610 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
13611 Remove.
13612 (syscall-list-variants, syscall-list-32bit-options)
13613 (syscall-list-32bit-condition, syscall-list-64bit-options)
13614 (syscall-list-64bit-condition): Define.
13615 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
13616 (syscall-list-variants, syscall-list-32bit-options)
13617 (syscall-list-32bit-condition, syscall-list-64bit-options)
13618 (syscall-list-64bit-condition): Define.
13619 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
13620 Remove.
13621 (syscall-list-variants, syscall-list-32bit-options)
13622 (syscall-list-32bit-condition, syscall-list-64bit-options)
13623 (syscall-list-64bit-condition): Define.
13624 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
13625 Remove.
13626 (syscall-list-variants, syscall-list-32bit-options)
13627 (syscall-list-32bit-condition, syscall-list-64bit-options)
13628 (syscall-list-64bit-condition): Define.
13629
21eaf3a5
UD
136302011-12-22 Ulrich Drepper <drepper@gmail.com>
13631
16c6f992
UD
13632 * locale/iso-639.def: Add brx entry.
13633
41043168
UD
13634 [BZ #13328]
13635 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
13636 Proposed by Mariusz_Cukr <marcukr@op.pl>.
13637
21eaf3a5
UD
13638 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
13639 __feraiseexcept_renamed.
13640
e3a851a2
UD
136412011-12-21 Ulrich Drepper <drepper@gmail.com>
13642
4920765e
UD
13643 [BZ #13538]
13644 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
13645 EPOLLET with unsigned values.
13646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
13647 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
13648
e3a851a2
UD
13649 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
13650 to large cancellation.
13651 * math/s_cacoshf.c: Likewise.
13652 * math/s_cacoshl.c: Likewise.
13653
b27e24b8
RK
136542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
13655
13656 [BZ #13305]
aebefeee 13657 [BZ #12786]
b27e24b8
RK
13658 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
13659 * math/s_cacoshf.c: Likewise.
13660 * math/s_cacoshl.c: Likewise.
13661
ee190f67
UD
136622011-12-21 Ulrich Drepper <drepper@gmail.com>
13663
13664 [BZ #13439]
13665 * iconv/gconv.h: Define __GCONV_SWAP.
13666 * iconvdata/unicode.c: The swap bit must be stored in __flags.
13667 * iconvdata/utf-16.c: Likewise.
13668 * iconvdata/utf-32.c: Likewise.
13669
707f25df
AS
136702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
13671
13672 [BZ #13524]
13673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
13674 numerator after shifting it by one limb.
13675
d2daaa1e
RÁE
136762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
13677
13678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
13679 under [__USE_EXTERN_INLINES].
13680
a4647e72
UD
136812011-12-17 Ulrich Drepper <drepper@gmail.com>
13682
13683 [BZ #13446]
13684 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
13685
f0b264f1
AZ
136862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13687
13688 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
13689 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
13690 optimized code.
13691 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
13692 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
13693 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
13694 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
13695 for strncasecmp/strncasecmp_l compilation.
13696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
13697 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
13698
8ef4f244
MP
136992011-12-08 Marek Polacek <mpolacek@redhat.com>
13700
13701 [BZ #13484]
13702 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
13703 of __asm__.
13704
97ac2654
UD
137052011-12-17 Ulrich Drepper <drepper@gmail.com>
13706
13707 [BZ #13506]
13708 * time/tzfile.c (__tzfile_read): Check values from file header.
13709
91d2a845
WS
137102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13711
13712 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
13713 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
13714 * powerpc/powerpc32/dl-start.S: Likewise.
13715 * powerpc/powerpc32/elf/start.S: Likewise.
13716 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13717 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
13718 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
13719 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
13720 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13721 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
13722 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
13723 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13724 * powerpc/powerpc32/fpu/s_round.S: Likewise.
13725 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13726 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13727 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13728 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
13729 * powerpc/powerpc32/memset.S: Likewise.
13730 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13731 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13732 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13733 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13734 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13735 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13736 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13737 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13738 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
13739 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
13740 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
13741 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13742 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13743
a1267ba1
AZ
137442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13745
13746 * math/libm-test.inc: Added more nearbyint tests.
13747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
13748 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
13749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
13750 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
13751
ad8ac1bd
RL
137522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
13753
13754 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
13755 FD_CLOEXEC.
13756
1d3e4b61
UD
137572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13758
13759 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
13760 Add wcscpy-ssse3 wcscpy-c.
13761 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
13762 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
13763 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
13764 * sysdeps/x86_64/wcschr.S: New file.
13765 * sysdeps/x86_64/wcsrchr.S: New file.
13766 * string/test-strcmp.c: Remove checking of wcscmp function for
13767 wrong alignments.
13768 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
13769 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
13770 wcsrchr-sse2 wcsrchr-c.
13771 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
13772 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
13773 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
13774 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
13775 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
13776 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
13777 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
13778 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
13779 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
13780 * wcsmbc/wcschr.c (WCSCHR): New macro.
13781
5b330a2d
UD
137822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13783
13784 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
13785 * wcsmbs/test-wcsrchr.c: New file.
13786 * string/test-strrchr.c: Add wcsrchr support.
13787 (WIDE): New macro.
13788 * wcsmbs/test-wcscpy.c: New file.
13789 * string/test-strcpy.c: Add wcscpy support.
13790 (WIDE): New macro.
26428b7c 13791
f039c043
UD
137922011-12-10 Ulrich Drepper <drepper@gmail.com>
13793
13794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
13795 the inner loop.
13796
850fb039
AS
137972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
13798
13799 [BZ #13472]
13800 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
13801
4efbd5cb
UD
138022011-12-04 Ulrich Drepper <drepper@gmail.com>
13803
52ff5dd0 13804 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 13805 Minor optimizations.
52ff5dd0 13806
4efbd5cb
UD
13807 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
13808 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
13809 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13810
8a426e12
UD
138112011-12-03 Ulrich Drepper <drepper@gmail.com>
13812
aff2453d
UD
13813 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
13814 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
13815 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
13816 for gcc to avoid warnings.
13817 * inet/Makefile (tests): Add tst-checks.
13818 * inet/tst-checks.c: New file.
13819
13820 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
13821 warning.
13822
13823 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
13824 __wmemcmp_sse2.
13825
13826 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
13827 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
13828
8a426e12
UD
13829 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
13830
9bea3473
UD
138312011-12-02 Ulrich Drepper <drepper@gmail.com>
13832
3a965496
UD
13833 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
13834 problem.
13835
9bea3473
UD
13836 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
13837
f101631b
UD
138382011-11-29 Joseph Myers <joseph@codesourcery.com>
13839
13840 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
13841 conditional on GCC version.
13842 (__arch_compare_and_exchange_val_8_acq)
13843 (__arch_compare_and_exchange_val_16_acq)
13844 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
13845 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
13846 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
13847
a98275aa
UD
138482011-12-02 Joseph Myers <joseph@codesourcery.com>
13849
13850 * sysdeps/sh/backtrace.c: New file.
13851
d4cc29a2
AS
138522011-12-02 Andreas Schwab <schwab@redhat.com>
13853
13854 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
13855 parenthesis.
13856
6257af2d
AS
138572011-12-01 Andreas Schwab <schwab@redhat.com>
13858
13859 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
13860 falling back to utime.
13861
b5f44c1a
AS
138622011-11-30 Andreas Schwab <schwab@redhat.com>
13863
13864 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
13865 expectations for float.
13866
f3a6cc0a
AS
138672011-11-29 Andreas Schwab <schwab@redhat.com>
13868
13869 * locale/weight.h (findidx): Add parameter len.
13870 * locale/weightwc.h (findidx): Likewise.
13871 * posix/fnmatch_loop.c (FCT): Adjust caller.
13872 * posix/regcomp.c (build_equiv_class): Likewise.
13873 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
13874 * posix/regexec.c (check_node_accept_bytes): Likewise.
13875 * string/strcoll_l.c (STRCOLL): Likewise.
13876 * string/strxfrm_l.c (STRXFRM): Likewise.
13877
9d65ea3a
UD
138782011-11-17 Ulrich Drepper <drepper@gmail.com>
13879
13880 * Makefile.in: Remove CVSOPT handling.
13881 * configure.in: Remove use of AC_REVISION.
13882 * iconvdata/Makefile (distribute): No need to filter out CVS.
13883 * scripts/list-sources.sh: Remove CVS, subversion and monotone
13884 handling.
13885
5583a086
AS
138862011-11-16 Andreas Schwab <schwab@redhat.com>
13887
13888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
13889 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
13890 [USE_AS_STRNCASECMP_L]: Likewise.
13891 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
13892 NO_TLS_DIRECT_SEG_REFS.
13893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
13894 Fix argument offsets for non-PIC.
13895 [USE_AS_STRNCASECMP_L]: Likewise.
13896 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
13897 NO_TLS_DIRECT_SEG_REFS.
13898
d62a8200
UD
138992011-11-15 Ulrich Drepper <drepper@gmail.com>
13900
9d65ea3a 13901 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
13902 O_CLOEXEC.
13903 * locale/loadlocale.c (_nl_load_locale): Likewise.
13904
09f93bd3
AS
139052011-11-15 Andreas Schwab <schwab@redhat.com>
13906
446514f9
AS
13907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
13908 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
13909 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
13910 (SYSCALL_GETTIME): Set errno on error.
13911
09f93bd3
AS
13912 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
13913 count references to noai6ai_cached.
13914
312be3f9
UD
139152011-11-15 Ulrich Drepper <drepper@gmail.com>
13916
13917 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
13918
13919 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
13920 FD_CLOEXEC for /proc/self/maps.
13921
13922 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
13923 FD_CLOEXEC for /proc/meminfo.
13924
13925 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
13926 gai.conf.
13927
13928 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
13929 FD_CLOEXEC for given file.
13930
13931 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
13932
13933 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
13934 FD_CLOEXEC for /etc/hosts.
13935 (_gethtent): Likewise.
13936
13937 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
13938
13939 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
13940 cancellation and set FD_CLOEXEC for /etc/netgroup.
13941
13942 * nss/nss_files/files-key.c (search): Don't allow cancellation when
13943 reading /etc/publickey.
13944
13945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
13946 allow cancellation when reading /etc/group.
13947
13948 * nss/nss_files/files-alias.c (internal_setent): Don't allow
13949 cancellation.
13950 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
13951
13952 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
13953 when using data file.
13954
13955 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
13956
13957 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
13958 (write_nis_obj): Use "c" and "e" in fopen.
13959
13960 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
13961
13962 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
13963
13964 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
13965
13966 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
13967
13968 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
13969 locale.alias.
13970
13971 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
13972
13973 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
13974
13975 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
13976
13977 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
13978 file parsing and set FD_CLOEXEC.
13979
82af0fa8
UD
139802011-11-14 Ulrich Drepper <drepper@gmail.com>
13981
13982 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
13983
a5fb313c
AS
139842011-11-14 Andreas Schwab <schwab@redhat.com>
13985
13986 * malloc/arena.c (arena_get2): Don't call reused_arena when
13987 _int_new_arena failed.
13988
6abf3465
UD
139892011-11-14 Ulrich Drepper <drepper@gmail.com>
13990
13991 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
13992 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
13993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
13994 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13995 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
13997 to compile strcasecmp and strncasecmp.
13998 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
13999 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14000
14001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14002
76e3966e
UD
140032011-11-13 Ulrich Drepper <drepper@gmail.com>
14004
14005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14006 locale-defines.sym to gen-as-const-headers.
14007 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14008 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14009 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14010 to compile strcasecmp and strncasecmp.
14011 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14012 strcasecmp_l and strncasecmp_l.
14013 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14014 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14015 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14016 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14017 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14018 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14019 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14020 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14021 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14022 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14023 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14024
ab26144e
UD
140252011-11-12 Ulrich Drepper <drepper@gmail.com>
14026
7edb22ef
UD
14027 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14028 result of SYSDEP_GETTIME_CPU to retval.
14029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14030 parameter list to macro. Remove trailing semicolon. Adjust users.
14031
9694fc44
UD
14032 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14033 variable.
14034
8ad89ef8
UD
14035 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14036 mantissa words.
14037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14038
0c822ef9
UD
14039 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14040 from unused variable.
14041
874e0564
UD
14042 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14043 DWARF definitions.
14044 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14045 for assembling.
14046
3a2edc79
UD
14047 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14048 over namespaces.
14049
f3c2577f
UD
14050 * sunrpc/rpc_prot.c (rejected): Fix case value.
14051
294ce126
UD
14052 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
14053 unsigned long long int to avoid warnings in shift.
14054
5e2b63c6
UD
14055 * posix/regex_internal.c (re_string_reconstruct): Actually use result
14056 of use of trans.
14057 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
14058 variable tmp.
14059
e7f4b08e
UD
14060 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
14061 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
14062 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
14063
ab26144e
UD
14064 * nis/nis_table.c (nis_list): Use variable of correct type for
14065 result of __follow_path call.
14066
8a6d5255
AZ
140672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14068
14069 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
14070 of math functions ceil, trunc, floor, round, and sqrt, when
14071 avaliable on the platform.
14072 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
14073 name clash.
14074 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14075 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
14076 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
14077
aaddc98c
MP
140782011-10-30 Marek Polacek <mpolacek@redhat.com>
14079
14080 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
14081 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14082
95b7042b
RM
140832011-11-11 Roland McGrath <roland@hack.frob.com>
14084
14085 * include/unistd.h: Fix __readlink return type.
14086 Reported by Chris Metcalf <cmetcalf@tilera.com>.
14087
57769839
UD
140882011-11-11 Ulrich Drepper <drepper@gmail.com>
14089
14090 * stdlib/ucontext.h: Undo last change for makecontext.
14091
edc5984d
AS
140922011-11-11 Andreas Schwab <schwab@redhat.com>
14093
98591e58
AS
14094 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
14095
edc5984d
AS
14096 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
14097 * setjmp/setjmp.h: Mark functions as non-leaf.
14098 * setjmp/bits/setjmp2.h: Likewise.
14099 * stdlib/ucontext.h: Likewise.
14100
77cdc054
AS
141012011-11-10 Andreas Schwab <schwab@redhat.com>
14102
14103 * malloc/arena.c (_int_new_arena): Don't increment narenas.
14104 (reused_arena): Don't check arena limit.
14105 (arena_get2): Atomically check arena limit.
14106
fe72eebd
UD
141072011-11-08 Ulrich Drepper <drepper@gmail.com>
14108
5f078c32
UD
14109 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
14110 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
14111
fe72eebd
UD
14112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
14113 instructions.
14114
ae1bc2fa
AS
141152011-11-07 Andreas Schwab <schwab@redhat.com>
14116
7583a88d
AS
14117 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
14118 handler when locking.
14119
ae1bc2fa
AS
14120 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14121 Fix size of allocated buffer.
14122
10fb0bfa
AS
141232011-11-04 Andreas Schwab <schwab@redhat.com>
14124
998832a4
AS
14125 [BZ #10103]
14126 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
14127 declarations for long double functions.
14128 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
14129
10fb0bfa
AS
14130 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
14131
3d7ba52b
AS
141322011-11-03 Andreas Schwab <schwab@redhat.com>
14133
a9ae54a1
AS
14134 * nscd/nscd.c (main): Don't start AVC thread until credentials are
14135 installed.
14136
3d7ba52b
AS
14137 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
14138 is disabled.
14139
bc8db248
ST
141402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
14141
14142 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
14143
45b96dd6
AS
141442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
14145
647776f6
AS
14146 * include/alloca.h (stackinfo_alloca_round): Define.
14147 (extend_alloca): Use it.
14148 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
14149 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
14150 here.
14151
d91a8b93
AS
14152 * scripts/check-local-headers.sh: Ignore libaudit.h.
14153
45b96dd6
AS
14154 * nscd/Makefile (extra-objs): Make recursively expanded.
14155
432d41ce
UD
141562011-11-01 Ulrich Drepper <drepper@gmail.com>
14157
34372fc6
UD
14158 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
14159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14160
fadb59f8
UD
14161 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
14162 * posix/tst-rfc3484-2.c: Likewise.
14163 * posix/tst-rfc3484-3.c: Likewise.
14164
78239589
UD
14165 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14166 process_vm_writev.
14167 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
14168 process_vm_writev.
14169 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
14170 process_vm_writev from libc using GLIBC_2.15 version.
14171
432d41ce
UD
14172 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
14173
02f9c6cf
PP
141742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
14175
14176 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
14177 stack usage.
14178
3a2c0242
UD
141792011-10-31 Ulrich Drepper <drepper@gmail.com>
14180
f4ec4833
UD
14181 [BZ #13367]
14182 * nss/getent.c (initgroups_keys): Show error message in case no group
14183 names are given.
14184
3a2c0242
UD
14185 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
14186 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
14187 __bump_nl_timestamp.
14188 * nscd/connections (nscd_init): When host database is served open
14189 netlink socket and request notification about configuration changes.
14190 (main_loop_poll): Track netlink file descriptor and bump timestamp
14191 in case data becomes available.
14192 (main_loop_epoll): Likewise.
14193 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
14194 (database_pers_head): Add extra_data fileds.
14195 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
14196 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
14197 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
14198 Adjust caller.
14199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
14200 in6ai data, call __free_in6ai.
14201 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
14202 Add -DHAVE_NETLINK.
14203 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
14204 interface information. Reuse previous data if netlink timestamp
14205 is not changed.
14206 (__bump_nl_timestamp): New function.
14207 (__free_in6ai): New function.
14208
636064eb
UD
142092011-10-30 Ulrich Drepper <drepper@gmail.com>
14210
14211 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
14212 close_not_cancel_no_status here.
14213 (__check_pf): Reorganize code a bit to not call close twice if OOM.
14214
9beb2334
UD
142152011-10-29 Ulrich Drepper <drepper@gmail.com>
14216
6ef76f3b
UD
14217 [BZ #13276]
14218 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
14219 return value.
14220
0ffc4f3e 14221 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
14222 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
14223 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
14224
cb95113e
UD
142252011-07-03 Andreas Jaeger <aj@suse.de>
14226
14227 [BZ #10709]
14228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
14229 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
14230 * math/libm-test.inc (sin_test): Add test case.
14231
a1b560ff
UD
142322011-10-29 Ulrich Drepper <drepper@gmail.com>
14233
c9aaface
UD
14234 [BZ #13337]
14235 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
14236 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14237
d272e7f1
UD
14238 * elf/chroot_canon.c (chroot_canon): Cleanups.
14239
1bc33071
UD
14240 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
14241
1760874d
TJ
14242 [BZ #13335]
14243 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
14244 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
14245
51d91b18
UD
14246 * string/test-strchr.c: Make usable for strchrnul testing.
14247 * string/test-strchrnul.c: New file.
14248 * string/Makefile (strop-tests): Add strchrnul.
14249
a1b560ff 14250 * po/it.po: Update from translation team.
b611fb81 14251 * po/es.po: Likewise.
a1b560ff 14252
a5b81e1f
UD
142532011-10-28 Ulrich Drepper <drepper@gmail.com>
14254
fd52bc6d
UD
14255 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
14256 the three constants needed as parameters. Drop the others.
14257 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
14258 __m128i_strloadu_tolower.
52e4b9eb
UD
14259 Create and initialize variable zero and use it in all the places
14260 where _mm_setzero_si128 was used.
fd52bc6d 14261
a5b81e1f
UD
14262 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
14263 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
14264 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
14265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
14266 anymore.
14267 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
14268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
14269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
14270 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
14271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
14272 __mpranred, __mptan.
14273 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
14274 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
14275 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
14276 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
14277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
14278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
14279 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
14280 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
14281 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
14282
b4343346
AS
142832011-10-28 Andreas Schwab <schwab@redhat.com>
14284
0c92d8a8
AS
14285 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
14286 redefine if SHARED.
14287 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
14288
b4343346
AS
14289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
14290 wide char related routines to wcsmbs subdir.
14291
3871f58f
AS
142922011-10-27 Andreas Schwab <schwab@redhat.com>
14293
14294 [BZ #13344]
14295 * misc/sys/cdefs.h (__THROWNL): Define.
14296 * posix/unistd.h: Use __THREADNL instead of __THREAD
14297 for memory synchronization functions.
14298
94d44d9f
RM
142992011-10-26 Roland McGrath <roland@hack.frob.com>
14300
21b64b15 14301 [BZ #13349]
94d44d9f
RM
14302 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
14303 doesn't exist.
14304 * manual/stdio.texi (Obstack Streams): Node removed.
14305
f6ce9294
AS
143062011-10-26 Andreas Schwab <schwab@redhat.com>
14307
80479147
AS
14308 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
14309 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14310 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14311
f6ce9294
AS
14312 * math/math_private.h (math_force_eval): Allow non-addressable
14313 arguments.
14314 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
14315
618280a1
UD
143162011-10-25 Ulrich Drepper <drepper@gmail.com>
14317
e0016b11
UD
14318 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
14319 file is not needed.
14320
14321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
14322 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14323 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14324 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14326 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14327 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14328 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
14329 Add AVX variants.
14330 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
14331 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
14332 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
14333 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
14334 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
14335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
14336 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
14337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
14338 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
14339 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
14340 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
14341 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
14342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
14343 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
14344 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
14345 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
14346 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
14347 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
14348 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
14349
14350 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
14351 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
14352
618280a1
UD
14353 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
14354 place. Use VEX encoding when compiling for AVX.
14355
37822576
AS
143562011-10-25 Andreas Schwab <schwab@redhat.com>
14357
1f1e1947
AS
14358 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
14359 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14360
37822576
AS
14361 * string/test-strchr.c (do_test): Don't generate NUL bytes.
14362
31ea014d
UD
143632011-10-25 Ulrich Drepper <drepper@gmail.com>
14364
d7826aa1 14365 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 14366 useless if() expression.
d7826aa1
UD
14367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14371 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14375 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14376 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14377 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14378 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14379 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14381 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14382 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14383 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14386
31ea014d
UD
14387 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
14388
16437fec
AS
143892011-10-25 Andreas Schwab <schwab@redhat.com>
14390
14391 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
14392 condition.
14393 * elf/dl-fini.c (_dl_sort_fini): Likewise.
14394
31d3cc00
UD
143952011-10-25 Ulrich Drepper <drepper@gmail.com>
14396
14397 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14398 .text section. Avoid duplicate constants.
14399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14406 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14407 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14408 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
14409 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14410 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14413 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14415 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14416 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
14423 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
14424 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
14425 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
14426 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
14427 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
14428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
14429 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
14430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
14431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
14433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
14434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
14435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
14436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
14437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
14438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
14439 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
14440 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
14441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
14442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
14443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
14444
58985aa9
UD
144452011-10-24 Ulrich Drepper <drepper@gmail.com>
14446
202c9deb
UD
14447 * sysdeps/x86_64/dla.h: Move to ...
14448 * sysdeps/x86_64/fpu/dla.h: ...here.
14449 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
14450 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 14451
af968f62
UD
14452 * config.make.in: Add have-mfma4 entry.
14453 * configure.in: Substitute libc_cv_cc_fma4.
14454 * math/Makefile (dbl-only-routines): Add sincostab.
14455 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
14456 Use __sincostab not sincos.
14457 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
14458 name is a macro.
14459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14462 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
14463 using __copysign.
14464 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
14465 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
14466 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
14467 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
14468 and __inv.
14469 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
14470 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
14471 __copysign.
14472 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
14473 define aliases when function name is a macro.
14474 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
14475 sysdeps/ieee754/dbl-64/sincos.tbl.
14476 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
14477 fma4-enabled routines.
14478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
14479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
14480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
14481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
14482 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
14483 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
14484 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
14485 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
14486 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
14487 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
14488 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
14489 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
14490 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
14491 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
14492 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
14493 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
14494 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
14495 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
14496 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
14497 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
14498 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
14499 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
14500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
14501 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
14502 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
14503 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
14504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
14505 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
14506 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
14507 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
14508
58985aa9
UD
14509 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
14510 rename.
14511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14513 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14515 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14518 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14519
a201fbcf
AS
145202011-10-24 Andreas Schwab <schwab@redhat.com>
14521
14522 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
14523
fc2ee42a
LD
145242011-10-23 Ulrich Drepper <drepper@gmail.com>
14525
bb3129bd
UD
14526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
14527
0275fff8
UD
14528 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
14529 prediction.
14530 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
14531
2fa2ae85
UD
14532 * string/strnlen.c: Don't define STRNLEN, reverse logic.
14533 Remove unused variable magic_bits.
14534 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
14535
fc2ee42a
LD
14536 * string/strnlen.c: Define and use STRNLEN macro.
14537 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
14538 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
14539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
14540 * wcsmbs/wcslen.c: Define and use WCSLEN.
14541 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
14542 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
14543 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
14544 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
14545 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
14546 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
14547 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14548
ce7dd29f
LD
145492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14550
14551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14552 strnlen-sse2-no-bsf.
14553 Rename strlen-no-bsf to strlen-sse2-no-bsf.
14554 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
14555 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
14556 Add strnlen support.
14557 (USE_AS_STRNLEN): New macro.
14558 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
14559 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
14560 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
14561 * sysdeps/x86_64/wcslen.S: New file.
14562
979c70a3
MZ
145632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
14564
14565 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
14566 XMM-moves are used for copying on small sizes.
14567
2d09f82f
LD
145682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14569
14570 * wcsmbs/Makefile (strop-tests): Add wcschr.
14571 * wcsmbs/test-wcschr.c: New file.
14572 * string/test-strchr.c: Update.
14573 Add wcschr support.
14574 (WIDE): New macro.
14575
619fccca
LD
145762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14577
2d09f82f 14578 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
14579 * wcsmbs/test-wcslen.c: New file.
14580 * string/test-strlen.c: Update.
14581 Add wcslen support.
14582 (WIDE): New macro.
14583
09f699ea
UD
145842011-10-23 Ulrich Drepper <drepper@gmail.com>
14585
14586 * po/it.po: Update from translation team.
14587
95584d3b
LD
145882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14589
14590 * sysdeps/x86_64/wcscmp.S: Update.
14591 Fix wrong comparison semantics.
14592 wcscmp shall use signed comparison not unsigned.
14593 Don't use substraction to avoid overflow bug.
14594 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
14595 * wcsmbc/wcscmp.c: Likewise.
14596 * string/test-strcmp.c: Likewise.
14597 Add new tests to check cases with negative values.
14598
c8b3296b
UD
145992011-10-23 Ulrich Drepper <drepper@gmail.com>
14600
14601 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
14602 * sysdeps/x86_64/dla.h: ...here. New file.
14603 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
14604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14608 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14611 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14612
246ad57a
AS
146132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
14614
14615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
14616 __ynl_finite aliases.
14617
a1a87169
UD
146182011-10-22 Ulrich Drepper <drepper@gmail.com>
14619
0d355eb7
UD
14620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14621
a1a87169
UD
14622 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
14623 define DLA_FMA.
14624 [DLA_FMA] (EMULV): Use DLA_FMA.
14625 [DLA_FMA] (MUL12): Use EMULV.
14626 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
14627 that are not needed.
14628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14635
ee2aafe0
AS
146362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
14637
14638 * math/s_nan.c: Undef __nan.
14639 * math/s_nanf.c: Undef __nanf.
14640 * math/s_nanl.c: Undef __nanl.
14641 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
14642 "math_private.h".
14643
bc62c2fb
UD
146442011-10-22 Ulrich Drepper <drepper@gmail.com>
14645
77425c63
UD
14646 * math/s_catan.c: Add branch predictions.
14647 * math/s_catanf.c: Likewise.
14648 * math/s_catanh.c: Likewise.
14649 * math/s_catanhf.c: Likewise.
14650 * math/s_catanhl.c: Likewise.
14651 * math/s_catanl.c: Likewise.
14652 * math/s_cexp.c: Likewise.
14653 * math/s_cexpf.c: Likewise.
14654 * math/s_cexpl.c: Likewise.
14655 * math/s_clog.c: Likewise.
14656 * math/s_clog10.c: Likewise.
14657 * math/s_clog10f.c: Likewise.
14658 * math/s_clog10l.c: Likewise.
14659 * math/s_clogf.c: Likewise.
14660 * math/s_clogl.c: Likewise.
14661 * math/s_csqrt.c: Likewise.
14662 * math/s_csqrtf.c: Likewise.
14663 * math/s_csqrtl.c: Likewise.
14664 * math/s_ctanf.c: Likewise.
14665 * math/s_ctanh.c: Likewise.
14666 * math/s_ctanhf.c: Likewise.
14667 * math/s_ctanhl.c: Likewise.
14668 * math/s_ctanl.c: Likewise.
14669
bc62c2fb
UD
14670 * math/math_private.h: Define __nan, __nanf, __nanl.
14671 * math/s_cacosh.c: Include <math_private.h>.
14672 * math/s_cacoshl.c: Likewise.
14673 * math/s_casinh.c: Likewise.
14674 * math/s_casinhf.c: Likewise.
14675 * math/s_casinhl.c: Likewise.
14676 * math/s_ccos.c: Rely entire on ccosh.
14677 * math/s_ccosf.c: Rely entire on ccoshf.
14678 * math/s_ccosl.c: Rely entirely on ccoshl.
14679 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
14680 Remove tests for FE_INVALID.
14681 * math/s_ccoshf.c: Likewise.
14682 * math/s_ccoshl.c: Likewise.
14683 * math/s_csin.c: Likewise.
14684 * math/s_csinf.c: Likewise.
14685 * math/s_csinh.c Likewise.
14686 * math/s_csinhf.c: Likewise.
14687 * math/s_csinhl.c: Likewise.
14688 * math/s_csinl.c: Likewise.
14689 * math/s_ctan.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
14691 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
14692 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
14693
8ec250a4
UD
146942011-10-21 Ulrich Drepper <drepper@gmail.com>
14695
c196fed8
UD
14696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
14697 compilation problems.
14698
8ec250a4
UD
14699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
14700 __builtin_expect.
14701
8d4f46c6
UD
147022011-10-20 Ulrich Drepper <drepper@gmail.com>
14703
ed72b654
UD
14704 * sysdeps/i386/configure.in: Test for -mfma4 option.
14705 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
14706 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
14707 COMMON_CPUID_INDEX_80000001.
14708 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
14709 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
14710 use it if FMA3 is not supported.
14711 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14712
8d4f46c6
UD
14713 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
14714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14715
d45c60c2
AS
147162011-10-20 Andreas Schwab <schwab@redhat.com>
14717
14718 [BZ #12892]
14719 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
14720 it would create a cycle with a link time dependency.
14721
d9a4d2ab
UD
147222011-10-19 Ulrich Drepper <drepper@gmail.com>
14723
855d1560
UD
14724 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
14725 instruction.
14726 * string/Makefile (strop-tests): Add rawmemchr.
14727 * string/test-rawmemchr.c: New file.
14728
d9a4d2ab
UD
14729 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
14730 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
14731 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
14732 when compiling str{,n}casecmp and when AVX is available. Hook up
14733 new optimized code in initializers.
14734
8f3b1ffe
AS
147352011-10-19 Andreas Schwab <schwab@redhat.com>
14736
14737 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
14738 __feraiseexcept instead of feraiseexcept.
14739
d38f1dba
UD
147402011-10-18 Ulrich Drepper <drepper@gmail.com>
14741
d9a8d0ab
UD
14742 * math/math_private.h: Define defaults for libc_fetestexcept and
14743 libc_feupdateenv.
14744 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
14745 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14746 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14748 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14750 libc_fetestexcept and libc_feupdateenv.
14751
4855e3dd
UD
14752 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
14753 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
14754 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
14755 * sysdeps/x86_64/fpu/math_private.h: Define special version of
14756 libc_feholdexcept_setround.
14757
581d30e3
UD
14758 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
14759 Add s_nearbyint-c and s_nearbyintf-c.
14760 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
14761 nearbyintf inlines.
14762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
14763 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
14764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
14765 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
14766
d38f1dba
UD
14767 * math/math_private.h: Define defaults for libc_fegetround,
14768 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
14769 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
14770 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
14771 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
14772 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
14773 standard functions.
14774 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14775 Remove comments and hacks for old compiler versions.
14776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
14777 libc_fegetround, libc_fesetround, libc_feholdexcept, and
14778 libc_feholdexceptl.
14779
caa6c9d8
AS
147802011-10-18 Andreas Schwab <schwab@redhat.com>
14781
14782 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
14783 (__feraiseexcept_renamed): Add __NTH.
14784 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
14785 namespace violations.
14786
97c066e6
UD
147872011-10-17 Ulrich Drepper <drepper@gmail.com>
14788
99ce7b04
UD
14789 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
14790
1004d182
UD
14791 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
14792
228a984d
UD
14793 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
14794 recently added interfaces.
14795 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
14796
c8553a6a
UD
14797 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
14798 about macro parameter expansion.
14799
ed22dcf6
UD
14800 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
14801 __NO_MATH_INLINES is defined. Cleanups.
14802
14803 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
14804 and __floorf is target has SSE4.1.
14805 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
14806 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
14807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
14808 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
14809
b171c137
UD
14810 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
14811 name.
14812 (floorf): Likewise.
14813
97c066e6
UD
14814 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
14815
629f62ef
AS
148162011-10-17 Andreas Schwab <schwab@redhat.com>
14817
49a43d80
AS
14818 * misc/sys/cdefs.h: Fix last change.
14819
629f62ef
AS
14820 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
14821 database lookup.
14822
e453f6cd
UD
148232011-10-16 Ulrich Drepper <drepper@gmail.com>
14824
aa78043a
UD
14825 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
14826
ad0f5cad
UD
14827 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
14828 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14833 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14834 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14835 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14836 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
14837 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
14838 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
14839 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
14840 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
14841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
14842 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
14843 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
14844 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
14845 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
14846 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
14847 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
14848 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
14849
14850 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
14851 ceil, ceilf, floor, floorf.
14852
14853 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
14854 Perform IRELATIVE relocations last.
14855
e453f6cd
UD
14856 * elf/do-rel.h: Add another parameter nrelative, replacing the
14857 local variable with the same name. Change name of the function
14858 to end in Rel or Rela (uppercase).
14859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
14860 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
14861 elf_dynamic_do_##reloc function.
14862
fd5bdc09
UD
148632011-10-15 Ulrich Drepper <drepper@gmail.com>
14864
79b195b5
UD
14865 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
14866 is sufficient, at least on modern CPUs.
14867
d4a28569
UD
14868 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
14869
b61099b5
UD
14870 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
14871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
14872
bcf01e6d
UD
14873 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
14874 __expl_finite.
14875 * math/bits/math-finite.h: Add entries for exp.
14876 * math/e_expl.c: Add __*_finite alias.
14877 * sysdeps/i386/fpu/e_exp.S: Likewise.
14878 * sysdeps/i386/fpu/e_expf.S: Likewise.
14879 * sysdeps/i386/fpu/e_expl.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14881 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14882 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
14885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
14886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
14887
ba1a0d59
UD
14888 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
14889 is sufficient, at least on modern CPUs.
14890
fd5bdc09
UD
14891 * ctype/ctype-info.c (__ctype_init): Define.
14892 * include/ctype.h (__ctype_init): Declare.
14893 (__ctype_b_loc): The variable is always initialized.
14894 (__ctype_toupper_loc): Likewise.
14895 (__ctype_tolower_loc): Likewise.
14896 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
14897 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
14898
7872cfb0
AS
148992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
14900
b468825a
AS
14901 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
14902
7872cfb0
AS
14903 * configure.in: Also look in $cxxmachine/include for C++ system
14904 headers.
14905
be13f7bf
LD
149062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14907
14908 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
14909 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
14910 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
14911 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
14912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
14913 (USE_AS_WMEMCMP): New macro.
14914 Fixing indents.
14915 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
14916 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
14917 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
14918 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
14919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14920 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
14921 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
14922 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
14923 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
14924 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
14925 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
14926 (USE_AS_WMEMCMP): New macro.
14927 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
14928 * sysdeps/string/test-memcmp.c: Update.
14929 Fix simple_wmemcmp.
14930 Add new tests.
14931 * wcsmbs/wmemcmp.c: Update.
14932 (WMEMCMP): New macro.
14933 Fix overflow bug.
14934
556a2007
AJ
149352011-10-12 Andreas Jaeger <aj@suse.de>
14936
14937 [BZ #13268]
14938 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
14939
538faaa7
UD
149402011-10-15 Ulrich Drepper <drepper@gmail.com>
14941
ab6737ff
UD
14942 * libio/iofwide.c (do_length): Avoid warning.
14943
538faaa7
UD
14944 * ctype/ctype.h (__isctype_f): Add missing __THROW.
14945
396a21b1
UD
149462011-10-14 Ulrich Drepper <drepper@gmail.com>
14947
cdf2901f
UD
14948 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
14949
38ad40ce
UD
14950 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
14951 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
14952 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
14953 * sysdeps/i386/i686/fpu/e_log.S: New file.
14954 * sysdeps/i386/i686/fpu/e_logf.S: New file.
14955 * sysdeps/i386/i686/fpu/e_logl.S: New file.
14956
396a21b1
UD
14957 * ctype/ctype.h: Add support for inlined isXXX functions when
14958 compiling C++ code.
14959
6b1f68c9
AS
149602011-10-14 Andreas Schwab <schwab@redhat.com>
14961
349290c0
AS
14962 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14963
6b1f68c9
AS
14964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
14965
f2282d42
RM
149662011-10-13 Roland McGrath <roland@hack.frob.com>
14967
14968 [BZ #13291]
14969 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
14970
5298ffa8
AS
149712011-10-13 Andreas Schwab <schwab@redhat.com>
14972
714fad23
AS
14973 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
14974 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
14975 feraiseexcept.
14976
81dcc7fb
AS
14977 * sysdeps/x86_64/memrchr.S: Check for zero size.
14978
5298ffa8
AS
14979 * string/stratcliff.c: Add memrchr tests.
14980
951fbcec
LD
149812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14982
14983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14984 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
14985 rawmemchr-sse2 rawmemchr-sse2-bsf.
14986 * sysdeps/i386/i686/multiarch/memchr.S: New file.
14987 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
14988 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
14989 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
14990 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
14991 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
14992 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
14993 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
14994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
14995 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
14996 * string/memrchr.c (MEMRCHR): New macro.
14997
0ac5ae23
UD
149982011-10-12 Ulrich Drepper <drepper@gmail.com>
14999
15000 Add integration with gcc's -ffinite-math-only and optimize wrapper
15001 functions in libm.
15002 * Versions.def: Define GLIBC_2.15 version for libm.
15003 * math/Makefile (headers): Add bits/math-finite.h.
15004 * math/bits/math-finite.h: New file.
15005 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15006 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15007 * math/e_acoshl.c: Add __*_finite alias.
15008 * math/e_acosl.c: Likewise.
15009 * math/e_asinl.c: Likewise.
15010 * math/e_atan2l.c: Likewise.
15011 * math/e_atanhl.c: Likewise.
15012 * math/e_coshl.c: Likewise.
15013 * math/e_exp10.c: Likewise.
15014 * math/e_exp10f.c: Likewise.
15015 * math/e_exp10l.c: Likewise.
15016 * math/e_exp2l.c: Likewise.
15017 * math/e_fmodl.c: Likewise.
15018 * math/e_gammal_r.c: Likewise.
15019 * math/e_hypotl.c: Likewise.
15020 * math/e_j0l.c: Likewise.
15021 * math/e_j1l.c: Likewise.
15022 * math/e_jnl.c: Likewise.
15023 * math/e_lgammal_r.c: Likewise.
15024 * math/e_log10l.c: Likewise.
15025 * math/e_log2l.c: Likewise.
15026 * math/e_logl.c: Likewise.
15027 * math/e_powl.c: Likewise.
15028 * math/e_sinhl.c: Likewise.
15029 * math/e_sqrtl.c: Likewise.
15030 * math/e_scalb.c: Completely rewritten and optimized.
15031 * math/e_scalbf.c: Likewise.
15032 * math/e_scalbl.c: Likewise.
15033 * math/w_acos.c: Likewise.
15034 * math/w_acosf.c: Likewise.
15035 * math/w_acosl.c: Likewise.
15036 * math/w_acosh.c: Likewise.
15037 * math/w_acoshf.c: Likewise.
15038 * math/w_acoshl.c: Likewise.
15039 * math/w_asin.c: Likewise.
15040 * math/w_asinf.c: Likewise.
15041 * math/w_asinl.c: Likewise.
15042 * math/w_atan2.c: Likewise.
15043 * math/w_atan2f.c: Likewise.
15044 * math/w_atan2l.c: Likewise.
15045 * math/w_atanh.c: Likewise.
15046 * math/w_atanhf.c: Likewise.
15047 * math/w_atanhl.c: Likewise.
15048 * math/w_exp10.c: Likewise.
15049 * math/w_exp10f.c: Likewise.
15050 * math/w_exp10l.c: Likewise.
15051 * math/w_fmod.c: Likewise.
15052 * math/w_fmodf.c: Likewise.
15053 * math/w_fmodl.c: Likewise.
15054 * math/w_j0.c: Likewise.
15055 * math/w_j0f.c: Likewise.
15056 * math/w_j0l.c: Likewise.
15057 * math/w_j1.c: Likewise.
15058 * math/w_j1f.c: Likewise.
15059 * math/w_j1l.c: Likewise.
15060 * math/w_jn.c: Likewise.
15061 * math/w_jnf.c: Likewise.
15062 * math/w_log.c: Likewise.
15063 * math/w_logf.c: Likewise.
15064 * math/w_logl.c: Likewise.
15065 * math/w_log10.c: Likewise.
15066 * math/w_log10f.c: Likewise.
15067 * math/w_log10l.c: Likewise.
15068 * math/w_log2.c: Likewise.
15069 * math/w_log2f.c: Likewise.
15070 * math/w_log2l.c: Likewise.
15071 * math/w_pow.c: Likewise.
15072 * math/w_powf.c: Likewise.
15073 * math/w_powl.c: Likewise.
15074 * math/w_remainder.c: Likewise.
15075 * math/w_remainderf.c: Likewise.
15076 * math/w_remainderl.c: Likewise.
15077 * math/w_scalb.c: Likewise.
15078 * math/w_scalbf.c: Likewise.
15079 * math/w_scalbl.c: Likewise.
15080 * math/w_sqrt.c: Likewise.
15081 * math/w_sqrtf.c: Likewise.
15082 * math/w_sqrtl.c: Likewise.
15083 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
15084 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
15085 used.
15086 * math/math_private.h: Declare __kernel_standard_f.
15087 * math/w_cosh.c: Remove cruft and optimize a bit.
15088 * math/w_coshf.c: Likewise.
15089 * math/w_coshl.c: Likewise.
15090 * math/w_exp2.c: Likewise.
15091 * math/w_exp2f.c: Likewise.
15092 * math/w_exp2l.c: Likewise.
15093 * math/w_hypot.c: Likewise.
15094 * math/w_hypotf.c: Likewise.
15095 * math/w_hypotl.c: Likewise.
15096 * math/w_lgamma.c: Likewise.
15097 * math/w_lgamma_r.c: Likewise.
15098 * math/w_lgammaf.c: Likewise.
15099 * math/w_lgammaf_r.c: Likewise.
15100 * math/w_lgammal.c: Likewise.
15101 * math/w_lgammal_r.c: Likewise.
15102 * math/w_sinh.c: Likewise.
15103 * math/w_sinhf.c: Likewise.
15104 * math/w_sinhl.c: Likewise.
15105 * math/w_tgamma.c: Likewise.
15106 * math/w_tgammaf.c: Likewise.
15107 * math/w_tgammal.c: Likewise.
15108 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15109 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15110 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
15111 Minor optimizations. Pretty printing. Remove cruft.
15112 * sysdeps/i386/fpu/e_acosf.S: Likewise.
15113 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15114 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15115 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15116 * sysdeps/i386/fpu/e_acosl.c: Likewise.
15117 * sysdeps/i386/fpu/e_asin.S: Likewise.
15118 * sysdeps/i386/fpu/e_asinf.S: Likewise.
15119 * sysdeps/i386/fpu/e_atan2.S: Likewise.
15120 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
15121 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
15122 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15123 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15125 * sysdeps/i386/fpu/e_exp10.S: Likewise.
15126 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
15127 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
15128 * sysdeps/i386/fpu/e_exp2.S: Likewise.
15129 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
15130 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
15131 * sysdeps/i386/fpu/e_fmod.S: Likewise.
15132 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
15133 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
15134 * sysdeps/i386/fpu/e_hypot.S: Likewise.
15135 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
15136 * sysdeps/i386/fpu/e_log.S: Likewise.
15137 * sysdeps/i386/fpu/e_log10.S: Likewise.
15138 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15139 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15140 * sysdeps/i386/fpu/e_log2.S: Likewise.
15141 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15142 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15143 * sysdeps/i386/fpu/e_logf.S: Likewise.
15144 * sysdeps/i386/fpu/e_logl.S: Likewise.
15145 * sysdeps/i386/fpu/e_pow.S: Likewise.
15146 * sysdeps/i386/fpu/e_powf.S: Likewise.
15147 * sysdeps/i386/fpu/e_powl.S: Likewise.
15148 * sysdeps/i386/fpu/e_remainder.S: Likewise.
15149 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
15150 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
15151 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15152 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15153 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15154 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
15155 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
15156 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15175 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15176 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15178 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15179 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15180 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15181 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15182 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15184 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15185 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
15186 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15187 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15188 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15189 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15191 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15192 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15193 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15194 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15195 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15196 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15197 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15198 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15209 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15210 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15211 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15212 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15213 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
15226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15231 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15232 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15235 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15236 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15237 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15238 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15239 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
15240 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15242 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15243 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15245 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15252 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15253 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15254 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15255 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15256 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15257 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
15258 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
15259 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
15260 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
15261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15263 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15265 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
15266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15267 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
15268 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
15269 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
15270 (__isnanf): Likewise.
15271 (__isinf_ns): Likewise.
15272 (__isinf_nsf): Likewise.
15273 (__finite): Likewise.
15274 (__finitef): Likewise.
15275 (__ieee754_sqrt): Define as macro.
15276 (__ieee754_sqrtf): Define as macro.
15277 (__ieee754_sqrtl): Define as macro.
15278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
15279 inlined copy.
15280 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
15281 __FINITE_MATH_ONLY__ consistent.
15282 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
15283
12cc2fcd
AS
152842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
15285
a843a204
AS
15286 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
15287 of rawmemchr.
15288
12cc2fcd
AS
15289 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
15290
c853acd5
UD
152912011-10-09 Ulrich Drepper <drepper@gmail.com>
15292
15293 * po/ja.po: Update from translation team.
15294
c658d255
RM
152952011-10-08 Roland McGrath <roland@hack.frob.com>
15296
110946e4
RM
15297 * locale/programs/locarchive.c (prepare_address_space): New function.
15298 (create_archive, enlarge_archive, open_archive): Use it.
15299
50604220
RM
15300 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
15301 inside [SHARED], where it is used.
15302
c658d255
RM
15303 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
15304
15305 * nss/getent.c (netgroup_keys): Remove unused variable.
15306 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15307
6a621eb7
UD
153082011-10-08 Ulrich Drepper <drepper@gmail.com>
15309
7edb55ce
UD
15310 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
15311 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
15312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
15313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
15314 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
15315 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
15316 * math/Makefile (libm-calls): Add s_isinf_ns.
15317 * math/divtc3.c: Use __isinf_nsl instead of isinf.
15318 * math/multc3.c: Likewise.
15319 * math/s_casin.c: Likewise.
15320 * math/s_casinf.c: Likewise.
15321 * math/s_casinl.c: Likewise.
15322 * math/s_ccos.c: Likewise.
15323 * math/s_ccosf.c: Likewise.
15324 * math/s_ccosl.c: Likewise.
15325 * math/s_ctan.c: Likewise.
15326 * math/s_ctanf.c: Likewise.
15327 * math/s_ctanh.c: Likewise.
15328 * math/s_ctanhf.c: Likewise.
15329 * math/s_ctanhl.c: Likewise.
15330 * math/s_ctanl.c: Likewise.
15331 * math/w_fmod.c: Likewise.
15332 * math/w_fmodf.c: Likewise.
15333 * math/w_fmodl.c: Likewise.
15334 * math/w_remainder.c: Likewise.
15335 * math/w_remainderf.c: Likewise.
15336 * math/w_remainderl.c: Likewise.
15337 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
15338 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
15339 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
15340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
15341 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
15342 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
15343 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
15344 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
15345
187da0ae
UD
15346 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
15347 of the number.
15348 * stdio-common/printf_fphex.c: Likewise.
15349 * stdio-common/printf_size.c: Likewise.
15350
9277c064
UD
15351 * math/e_exp10.c: Include math_private.h using <...> not "...".
15352 * math/e_exp10f.c: Likewise.
15353 * math/e_exp10l.c: Likewise.
15354 * math/e_exp2l.c: Likewise.
15355 * math/e_j0l.c: Likewise.
15356 * math/e_j1l.c: Likewise.
15357 * math/e_jnl.c: Likewise.
15358 * math/e_lgammal_r.c: Likewise.
15359 * math/e_rem_pio2l.c: Likewise.
15360 * math/e_scalb.c: Likewise.
15361 * math/e_scalbf.c: Likewise.
15362 * math/e_scalbl.c: Likewise.
15363 * math/k_cosl.c: Likewise.
15364 * math/k_sinl.c: Likewise.
15365 * math/k_tanl.c: Likewise.
15366 * math/s_cacoshf.c: Likewise.
15367 * math/s_catan.c: Likewise.
15368 * math/s_catanf.c: Likewise.
15369 * math/s_catanh.c: Likewise.
15370 * math/s_catanhf.c: Likewise.
15371 * math/s_catanhl.c: Likewise.
15372 * math/s_catanl.c: Likewise.
15373 * math/s_ccosh.c: Likewise.
15374 * math/s_ccoshf.c: Likewise.
15375 * math/s_ccoshl.c: Likewise.
15376 * math/s_cexp.c: Likewise.
15377 * math/s_cexpf.c: Likewise.
15378 * math/s_cexpl.c: Likewise.
15379 * math/s_clog.c: Likewise.
15380 * math/s_clog10.c: Likewise.
15381 * math/s_clog10f.c: Likewise.
15382 * math/s_clog10l.c: Likewise.
15383 * math/s_clogf.c: Likewise.
15384 * math/s_clogl.c: Likewise.
15385 * math/s_csin.c: Likewise.
15386 * math/s_csinf.c: Likewise.
15387 * math/s_csinh.c: Likewise.
15388 * math/s_csinhf.c: Likewise.
15389 * math/s_csinhl.c: Likewise.
15390 * math/s_csinl.c: Likewise.
15391 * math/s_csqrt.c: Likewise.
15392 * math/s_csqrtf.c: Likewise.
15393 * math/s_csqrtl.c: Likewise.
15394 * math/s_ctan.c: Likewise.
15395 * math/s_ctanf.c: Likewise.
15396 * math/s_ctanh.c: Likewise.
15397 * math/s_ctanhf.c: Likewise.
15398 * math/s_ctanhl.c: Likewise.
15399 * math/s_ctanl.c: Likewise.
15400 * math/s_ldexp.c: Likewise.
15401 * math/s_ldexpf.c: Likewise.
15402 * math/s_ldexpl.c: Likewise.
15403 * math/s_significand.c: Likewise.
15404 * math/s_significandf.c: Likewise.
15405 * math/s_significandl.c: Likewise.
15406 * math/w_acos.c: Likewise.
15407 * math/w_acosf.c: Likewise.
15408 * math/w_acosh.c: Likewise.
15409 * math/w_acoshf.c: Likewise.
15410 * math/w_acoshl.c: Likewise.
15411 * math/w_acosl.c: Likewise.
15412 * math/w_asin.c: Likewise.
15413 * math/w_asinf.c: Likewise.
15414 * math/w_asinl.c: Likewise.
15415 * math/w_atan2.c: Likewise.
15416 * math/w_atan2f.c: Likewise.
15417 * math/w_atan2l.c: Likewise.
15418 * math/w_atanh.c: Likewise.
15419 * math/w_atanhf.c: Likewise.
15420 * math/w_atanhl.c: Likewise.
15421 * math/w_cosh.c: Likewise.
15422 * math/w_coshf.c: Likewise.
15423 * math/w_coshl.c: Likewise.
15424 * math/w_dremf.c: Likewise.
15425 * math/w_exp10.c: Likewise.
15426 * math/w_exp10f.c: Likewise.
15427 * math/w_exp10l.c: Likewise.
15428 * math/w_exp2.c: Likewise.
15429 * math/w_exp2f.c: Likewise.
15430 * math/w_fmod.c: Likewise.
15431 * math/w_fmodf.c: Likewise.
15432 * math/w_fmodl.c: Likewise.
15433 * math/w_hypot.c: Likewise.
15434 * math/w_hypotf.c: Likewise.
15435 * math/w_hypotl.c: Likewise.
15436 * math/w_j0.c: Likewise.
15437 * math/w_j0f.c: Likewise.
15438 * math/w_j0l.c: Likewise.
15439 * math/w_j1.c: Likewise.
15440 * math/w_j1f.c: Likewise.
15441 * math/w_j1l.c: Likewise.
15442 * math/w_jn.c: Likewise.
15443 * math/w_jnf.c: Likewise.
15444 * math/w_jnl.c: Likewise.
15445 * math/w_lgamma.c: Likewise.
15446 * math/w_lgamma_r.c: Likewise.
15447 * math/w_lgammaf.c: Likewise.
15448 * math/w_lgammaf_r.c: Likewise.
15449 * math/w_lgammal.c: Likewise.
15450 * math/w_lgammal_r.c: Likewise.
15451 * math/w_log.c: Likewise.
15452 * math/w_log10.c: Likewise.
15453 * math/w_log10f.c: Likewise.
15454 * math/w_log10l.c: Likewise.
15455 * math/w_log2.c: Likewise.
15456 * math/w_log2f.c: Likewise.
15457 * math/w_log2l.c: Likewise.
15458 * math/w_logf.c: Likewise.
15459 * math/w_logl.c: Likewise.
15460 * math/w_pow.c: Likewise.
15461 * math/w_powf.c: Likewise.
15462 * math/w_powl.c: Likewise.
15463 * math/w_remainder.c: Likewise.
15464 * math/w_remainderf.c: Likewise.
15465 * math/w_remainderl.c: Likewise.
15466 * math/w_scalb.c: Likewise.
15467 * math/w_scalbf.c: Likewise.
15468 * math/w_scalbl.c: Likewise.
15469 * math/w_sinh.c: Likewise.
15470 * math/w_sinhf.c: Likewise.
15471 * math/w_sinhl.c: Likewise.
15472 * math/w_sqrt.c: Likewise.
15473 * math/w_sqrtf.c: Likewise.
15474 * math/w_sqrtl.c: Likewise.
15475 * math/w_tgamma.c: Likewise.
15476 * math/w_tgammaf.c: Likewise.
15477 * math/w_tgammal.c: Likewise.
15478
6a621eb7
UD
15479 * po/ja.po: Update from translation team.
15480
bf582445
AJ
154812011-09-29 Andreas Jaeger <aj@suse.de>
15482
f9efbf3a
AJ
15483 [BZ #13179]
15484 * sunrpc/netname.c (netname2host): Fix logic.
15485
bf582445
AJ
15486 [BZ #6779]
15487 [BZ #6783]
15488 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
15489 correctly.
15490 * math/w_remainder.c (__remainder): Likewise.
15491 * math/w_remainderf.c (__remainderf): Likewise.
15492 * math/libm-test.inc (remainder_test): Add test cases.
15493
48693bea
AK
154942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15495
15496 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
15497 sdiv_qrnnd.
15498
42622229
LD
154992011-10-07 Ulrich Drepper <drepper@gmail.com>
15500
15501 * string/test-memcmp.c: Avoid unncessary #defines.
15502 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15503
093ecf92
LD
155042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15505
15506 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
15507 Use new sse2 version for core i3 - i7 as it's faster
15508 than sse42 version.
15509 (bit_Prefer_PMINUB_for_stringop): New.
15510 * sysdeps/x86_64/rawmemchr.S: Update.
15511 Replace with faster SSE2 version.
15512 * sysdeps/x86_64/memrchr.S: New file.
15513 * sysdeps/x86_64/memchr.S: Update.
15514 Replace with faster SSE2 version.
15515
fde56e5c
MP
155162011-09-12 Marek Polacek <mpolacek@redhat.com>
15517
15518 * elf/dl-load.c (lose): Add cast to avoid warning.
15519
21fd49a9
UD
155202011-10-07 Ulrich Drepper <drepper@gmail.com>
15521
5a06e643
UD
15522 * po/ca.po: Update from translation team.
15523
684ae515
UD
15524 * inet/getnetgrent_r.c: Hook up nscd.
15525 * nscd/Makefile (routines): Add nscd_netgroup.
15526 (nscd-modules): Add netgroupcache.
15527 (CFLAGS-netgroupcache.c): Define.
15528 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
15529 (cache_search): Add const to second parameter.
15530 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
15531 INNETGR.
15532 (dbs): Add netgrdb entry.
15533 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
15534 (verify_persistent_db): Handle netgrdb.
15535 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
15536 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
15537 GETFDNETGR.
15538 (netgroup_response_header): Define.
15539 (innetgroup_response_header): Define.
15540 (datahead): Add netgroup_response_header and innetgroup_response_header
15541 elements.
15542 * nscd/nscd.conf: Add entries for netgroup cache.
15543 * nscd/nscd.h (dbtype): Add netgrdb.
15544 (_PATH_NSCD_NETGROUP_DB): Define.
15545 (netgroup_iov_disabled): Declare.
15546 (xmalloc, xcalloc, xrealloc): Move declarations here.
15547 (cache_search): Adjust prototype.
15548 Add netgroup-related prototypes.
15549 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
15550 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
15551 (__nscd_innetgr): Declare.
15552 * nscd/selinux.c (perms): Use access_vector_t as element type and
15553 add netgroup-related initializers.
15554 * nscd/netgroupcache.c: New file.
15555 * nscd/nscd_netgroup.c: New file.
15556 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
15557 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
15558 For four parameters use innetgr.
15559 * nss/nss_files/files-init.c: Add definition and callback for netgr.
15560 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
15561 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
15562 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
15563
21fd49a9
UD
15564 * nscd/connections.c (register_traced_file): Don't register file
15565 for disabled databases.
15566
054c0457
UD
155672011-10-06 Ulrich Drepper <drepper@gmail.com>
15568
32b63198
UD
15569 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
15570
054c0457
UD
15571 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
15572 from tree and freeing node.
15573
64031225
JO
155742011-09-25 Jiri Olsa <jolsa@redhat.com>
15575
15576 * nss/nsswitch.c (__nss_database_lookup): Handle
15577 nss_parse_service_list out of memory case.
15578
0490345c
JO
155792011-09-15 Jiri Olsa <jolsa@redhat.com>
15580
15581 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
15582 out of memory case.
15583
3a62d00d
AS
155842011-10-04 Andreas Schwab <schwab@redhat.com>
15585
15586 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
15587 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
15588 pass it down.
15589 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
15590 elf_machine_rela, elf_machine_lazy_rel.
15591 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
15592 (ELF_DYNAMIC_DO_REL): Likewise.
15593 (ELF_DYNAMIC_DO_RELA): Likewise.
15594 (ELF_DYNAMIC_RELOCATE): Likewise.
15595 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
15596 to ELF_DYNAMIC_DO_REL.
15597 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
15598 (dl_main): In trace mode always set __RTLD_NOIFUNC.
15599 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
15600 elf_machine_rela.
15601 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
15602 skip_ifunc, don't call ifunc function if non-zero.
15603 (elf_machine_rela): Likewise.
15604 (elf_machine_lazy_rel): Likewise.
15605 (elf_machine_lazy_rela): Likewise.
15606 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15607 (elf_machine_lazy_rel): Likewise.
15608 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15609 Likewise.
15610 (elf_machine_lazy_rel): Likewise.
15611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15612 Likewise.
15613 (elf_machine_lazy_rel): Likewise.
15614 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
15615 (elf_machine_lazy_rel): Likewise.
15616 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
15617 (elf_machine_lazy_rel): Likewise.
15618 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15619 (elf_machine_lazy_rel): Likewise.
15620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
15621 (elf_machine_lazy_rel): Likewise.
15622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
15623 (elf_machine_lazy_rel): Likewise.
15624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15625 (elf_machine_lazy_rel): Likewise.
15626
68577918
UD
156272011-09-28 Ulrich Drepper <drepper@gmail.com>
15628
15629 * nss/nss_files/files-init.c (_nss_files_init): Use static
15630 initialization for all the *_traced_file variables.
15631
68822d74
AS
156322011-09-28 Andreas Schwab <schwab@redhat.com>
15633
15634 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15635
2056100b
RM
156362011-09-27 Roland McGrath <roland@hack.frob.com>
15637
15638 [BZ #13226]
15639 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
15640
32c76b63
AS
156412011-09-27 Andreas Schwab <schwab@redhat.com>
15642
15643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15644 Reread the line before reparsing it.
15645
bf972c9d
AS
156462011-09-26 Andreas Schwab <schwab@redhat.com>
15647
15648 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
15649
e057a1b5
JM
156502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
15651 Maxim Kuvyrkov <maxim@codesourcery.com>
15652 Joseph Myers <joseph@codesourcery.com>
15653
15654 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
15655 if needed for __stack_chk_guard.
15656
bc7e1c36
RM
156572011-09-19 Roland McGrath <roland@hack.frob.com>
15658
ecb1482f
RM
15659 * sysdeps/posix/spawni.c (script_execute): Always define it.
15660 It will be optimized away if unused.
15661 (maybe_script_execute): New function.
15662 (__spawni): Call it.
15663
bc7e1c36
RM
15664 * Makerules: Don't include tls.make.
15665 (config-tls): Always set to thread.
15666 * tls.make.c: File removed.
15667
1c3b002b
MF
156682011-09-19 Mike Frysinger <vapier@gentoo.org>
15669
15670 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
15671 * config.make.in (CPPFLAGS-config): New substituted variable.
15672
2840865d
UD
156732011-09-15 Ulrich Drepper <drepper@gmail.com>
15674
88738eb6
UD
15675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
15676
cbf645a6 15677 [BZ #13192]
2840865d
UD
15678 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
15679 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
15680
b402e91a
RM
156812011-09-15 Roland McGrath <roland@hack.frob.com>
15682
15683 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
15684 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
15685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15686 (CALL_FAIL): Likewise.
15687 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
15688 (CALL_FAIL): Macro removed.
15689 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
15690
4c1a1f71
UD
156912011-09-15 Ulrich Drepper <drepper@gmail.com>
15692
15693 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
15694 for __FINITE_MATH_ONLY__ == 1.
15695
edc121be
AS
156962011-09-15 Andreas Schwab <schwab@redhat.com>
15697
15698 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
15699 __ieee754_sqrt instead of sqrt.
15700 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
15701 __ieee754_sqrtf instead of sqrtf.
15702 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
15703 __floorf instead of floorf.
15704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
15705 __floorf, __truncf instead of floorf, truncf.
15706
cd205654
UD
157072011-09-14 Ulrich Drepper <drepper@gmail.com>
15708
ee4d0315
UD
15709 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
15710
cd205654
UD
15711 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
15712 __extern_always_inline.
15713 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
15714 32-bit.
15715
48b67d71
AS
157162011-09-14 Andreas Schwab <schwab@redhat.com>
15717
15718 * elf/rtld.c (dl_main): Also relocate in dependency order when
15719 doing symbol dependency testing.
15720
1ae12c75
AS
157212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
15722
15723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15724 Always define `refsym'.
15725
995a80df
AS
157262011-09-13 Andreas Schwab <schwab@redhat.com>
15727
e529793b
AS
15728 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
15729 (__FD_ELT): Renamed from __FDELT.
15730 * misc/bits/select2.h (__FD_ELT): Likewise.
15731 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
15732 __FD_MASK instead of __FDELT, __FDMASK.
15733 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15734 Likewise.
15735 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
15736 Likewise.
15737
52d4fef8
AS
15738 * elf/Makefile (gen-ldd): Fix pattern.
15739
995a80df
AS
15740 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
15741 (init_tls): Likewise.
15742
8682f8b0
UD
157432011-09-12 Ulrich Drepper <drepper@gmail.com>
15744
15745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
15746
de82006d
AS
157472011-09-12 Andreas Schwab <schwab@redhat.com>
15748
a7c8e6a1
AS
15749 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
15750 `struct cmsghdr *' instead of `void *'.
15751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
15752 Likewise.
15753
0f31fe77
AS
157542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15755
15756 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
15757 if non-absolute.
15758 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
15759 ldd_rewrite_script.
0f31fe77 15760
32b4c839
UD
157612011-09-11 Ulrich Drepper <drepper@gmail.com>
15762
83cd1420
UD
15763 * configure.in: Remove --with-tls option.
15764 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
15765 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
15766 out in case it is missing.
15767 * sysdeps/ia64/elf/configure.in: Likewise.
15768 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
15769 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
15770 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
15771 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
15772 * sysdeps/sh/elf/configure.in: Likewise.
15773 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
15774 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15775 * sysdeps/x86_64/elf/configure.in: Likewise.
15776 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
15777 * sysdeps/mach/hurd/tls.h: Likewise.
15778
633f745d
UD
15779 [BZ #13067]
15780 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
15781
f318beb8
UD
15782 [BZ #13090]
15783 * configure.in: Fix use of AC_INIT.
15784
32b4c839
UD
15785 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
15786
3ce1f295
UD
157872011-09-10 Ulrich Drepper <drepper@gmail.com>
15788
bb016596
UD
15789 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
15790 __set_errno.
8e58439c
UD
15791 * malloc/hooks.c: Likewise.
15792
aebae053 15793 [BZ #11929]
02d46fc4
UD
15794 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
15795 variables statically.
15796 (narenas): Initialize.
15797 (list_lock): Initialize.
bb016596
UD
15798 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
15799 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
15800 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
15801 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
15802 Add initializers to main_arena and mp_.
15803 (malloc_state): Remove pagesize member. Change all users to use
15804 GLRO(dl_pagesize).
15805
15806 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
15807 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
15808 is always initialized.
15809
22a89187
UD
15810 * malloc/malloc.c: Removed unused configurations and dead code.
15811 * malloc/arena.c: Likewise.
15812 * malloc/hooks.c: Likewise.
02d46fc4 15813 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 15814
d063d164
UD
15815 * include/tls.h: Removed. USE___THREAD must always be defined.
15816 * bits/libc-tsd.h: Don't handle !USE___THREAD.
15817 * elf/dl-libc.c: Likewise.
15818 * elf/dl-tsd.c: Likewise.
15819 * include/errno.h: Likewise.
15820 * include/netdb.h: Likewise.
15821 * include/resolv.h: Likewise.
15822 * inet/herrno-loc.c: Likewise.
15823 * inet/herrno.c: Likewise.
15824 * malloc/arena.c: Likewise.
15825 * malloc/hooks.c: Likewise.
15826 * malloc/malloc.c: Likewise.
15827 * resolv/res-state.c: Likewise.
15828 * resolv/res_libc.c: Likewise.
15829 * sysdeps/i386/dl-machine.h: Likewise.
15830 * sysdeps/ia64/dl-machine.h: Likewise.
15831 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
15832 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15833 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15834 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15835 * sysdeps/sh/dl-machine.h: Likewise.
15836 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15837 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15838 * sysdeps/unix/i386/sysdep.S: Likewise.
15839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15840 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
15841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
15842 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
15844 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15845 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15850 * sysdeps/x86_64/dl-machine.h: Likewise.
15851 * tls.make.c: Likewise.
15852
3ce1f295
UD
15853 * configure.in: Remove --with-__thread option. Make tests for
15854 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
15855 tls_model attribute fail if no support is available. Remove
15856 USE_IN_LIBIO.
15857 * Makeconfig: Adjust for dropped configure option. All features are
15858 now mandatory.
15859 * Makerules: Likewise.
15860 * Versions.def: Likewise.
15861 * argp/argp-fmtstream.c: Likewise.
15862 * argp/argp-fmtstream.h: Likewise.
15863 * argp/argp-help.c: Likewise.
15864 * assert/assert.c: Likewise.
15865 * config.h.in: Likewise.
15866 * config.make.in: Likewise.
15867 * configure: Likewise.
15868 * configure.in: Likewise.
15869 * csu/Versions: Likewise.
15870 * csu/init.c: Likewise.
15871 * elf/tst-audit2.c: Likewise.
15872 * elf/tst-tls10.c: Likewise.
15873 * elf/tst-tls10.h: Likewise.
15874 * elf/tst-tls11.c: Likewise.
15875 * elf/tst-tls12.c: Likewise.
15876 * elf/tst-tls14.c: Likewise.
15877 * elf/tst-tlsmod11.c: Likewise.
15878 * elf/tst-tlsmod12.c: Likewise.
15879 * elf/tst-tlsmod13.c: Likewise.
15880 * elf/tst-tlsmod13a.c: Likewise.
15881 * elf/tst-tlsmod14a.c: Likewise.
15882 * elf/tst-tlsmod15b.c: Likewise.
15883 * elf/tst-tlsmod16a.c: Likewise.
15884 * elf/tst-tlsmod16b.c: Likewise.
15885 * elf/tst-tlsmod7.c: Likewise.
15886 * elf/tst-tlsmod8.c: Likewise.
15887 * elf/tst-tlsmod9.c: Likewise.
15888 * gmon/gmon.c: Likewise.
15889 * grp/fgetgrent_r.c: Likewise.
15890 * grp/putgrent.c: Likewise.
15891 * hurd/fopenport.c: Likewise.
15892 * include/libc-symbols.h: Likewise.
15893 * include/tls.h: Likewise.
15894 * intl/gettextP.h: Likewise.
15895 * intl/loadinfo.h: Likewise.
15896 * locale/global-locale.c: Likewise.
15897 * locale/localeinfo.h: Likewise.
15898 * mach/devstream.c: Likewise.
15899 * malloc/arena.c: Likewise.
15900 * malloc/set-freeres.c: Likewise.
15901 * misc/err.c: Likewise.
15902 * misc/getttyent.c: Likewise.
15903 * misc/mntent_r.c: Likewise.
15904 * posix/getopt.c: Likewise.
15905 * posix/wordexp.c: Likewise.
15906 * pwd/fgetpwent_r.c: Likewise.
15907 * resolv/Versions: Likewise.
15908 * resolv/res_hconf.c: Likewise.
15909 * shadow/fgetspent_r.c: Likewise.
15910 * shadow/putspent.c: Likewise.
15911 * stdio-common/printf_fphex.c: Likewise.
15912 * stdio-common/tmpfile.c: Likewise.
15913 * stdlib/abort.c: Likewise.
15914 * stdlib/fmtmsg.c: Likewise.
15915 * sunrpc/auth_unix.c: Likewise.
15916 * sunrpc/clnt_perr.c: Likewise.
15917 * sunrpc/clnt_tcp.c: Likewise.
15918 * sunrpc/clnt_udp.c: Likewise.
15919 * sunrpc/clnt_unix.c: Likewise.
15920 * sunrpc/openchild.c: Likewise.
15921 * sunrpc/svc_simple.c: Likewise.
15922 * sunrpc/svc_tcp.c: Likewise.
15923 * sunrpc/svc_udp.c: Likewise.
15924 * sunrpc/svc_unix.c: Likewise.
15925 * sunrpc/xdr.c: Likewise.
15926 * sunrpc/xdr_array.c: Likewise.
15927 * sunrpc/xdr_rec.c: Likewise.
15928 * sunrpc/xdr_ref.c: Likewise.
15929 * sunrpc/xdr_stdio.c: Likewise.
15930
1248c1c4
PB
159312011-09-09 Ulrich Drepper <drepper@gmail.com>
15932
15933 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15934
159352011-07-03 Andreas Jaeger <aj@suse.de>
15936
15937 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
15938 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
15939 regenerate with gen-libm-tests.pl.
15940
159412010-05-12 Petr Baudis <pasky@suse.cz>
15942
15943 [BZ #11589]
15944 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
15945 around j0() zero points by switching to j1().
15946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15949 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15950
f22e1074
UD
159512011-09-09 Ulrich Drepper <drepper@gmail.com>
15952
f19009c1
UD
15953 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
15954 instead of 0.
15955 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
15956 instead of 0. .
15957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15958 Patch in part by Pavel Roskin <proski@gnu.org>.
15959
3f8cc204
UD
15960 [BZ #13138]
15961 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
15962 realloc.
15963 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
15964 Free memory block if necessary.
15965
f22e1074
UD
15966 [BZ #12847]
15967 * libio/genops.c (INTDEF): For string streams the _lock pointer can
15968 be NULL. Don't lock in this case.
15969
0a2349f9
RM
159702011-09-09 Roland McGrath <roland@hack.frob.com>
15971
15972 * elf/elf.h (ELFOSABI_GNU): New macro.
15973 (ELFOSABI_LINUX): Define to that.
15974
f3cdd467
DZ
159752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
15976
15977 * string/strncat.c (strncat): Undef the symbol in case it has been
15978 defined in bits/string.h.
15979
74718d13
UD
159802011-09-09 Ulrich Drepper <drepper@gmail.com>
15981
633e9e0f
UD
15982 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
15983
0a2349f9 15984 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
15985 link map.
15986
f9924780
AJ
159872011-08-17 Andreas Jaeger <aj@suse.de>
15988
15989 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
15990
7f5517aa
PP
159912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
15992 Ian Lance Taylor <iant@google.com>
15993
15994 * math/libm-test.inc (lround_test): New testcase.
15995 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
15996
762011fe
UD
159972011-09-08 Ulrich Drepper <drepper@gmail.com>
15998
92963737
UD
15999 * Makefile: Remove support for automatic cvs check-ins.
16000 * Makerules: Likewise.
16001 * config.make.in: Likewise.
16002 * configure.in: Likewise.
16003 * intl/Makefile: Likewise.
16004 * locale/Makefile: Likewise.
16005 * po/Makefile: Likewise.
16006 * posix/Makefile: Likewise.
16007 * sysdeps/gnu/Makefile: Likewise.
16008 * sysdeps/mach/hurd/Makefile: Likewise.
16009 * sysdeps/sparc/sparc32/Makefile: Likewise.
16010
b0727fd8
JS
16011 [BZ #13118]
16012 * posix/Makefile (bug-regex32-ENV): Define.
16013 Patch by John Stanley <jpsinthemix@verizon.net>.
16014
a0f33f99
UD
16015 * misc/Makefile (headers): Add bits/select2.h.
16016 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16017 * misc/bits/select2.h: New file.
16018 * include/bits/select2.h: New file.
16019 * debug/Makefile (routines): Add fdelt_chk.
16020 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16021 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16022 FD_ISSET.
16023 * debug/fdelt_chk.c: New file.
16024
762011fe
UD
16025 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16026 * wcsmbs/test-wmemcmp.c: Likewise.
16027 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16028 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16029
160302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16031
16032 * string/Makefile (strop-tests): Add memcmp.
16033 * string/test-wmemcmp.c: New file.
16034 * string/test-memcmp.c: Add wmemcmp support.
16035
7f513ec8
RM
160362011-09-08 Roland McGrath <roland@hack.frob.com>
16037
0442afb4
RM
16038 [BZ #13153]
16039 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16040 2011-07-19 change.
16041
7f513ec8
RM
16042 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16043 garbage value in a __mach_port_mod_refs call in the cases of the
16044 task-self and thread-self ports.
16045
a12b2239
ST
160462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16047
16048 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16049
610f9ab4
AS
160502011-09-08 Andreas Schwab <schwab@redhat.com>
16051
7f513ec8 16052 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 16053
48882a1a
LD
160542011-09-07 Ulrich Drepper <drepper@gmail.com>
16055
b49865be
UD
16056 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
16057
fdc86bc9
UD
16058 * elf/dl-libc.c (dlerror_run): Pass back error code from
16059 dl_catch_error.
16060
c966526a
UD
16061 [BZ #13123]
16062 * elf/dl-load.c (lose): Free l_origin if it is valid.
16063
48882a1a
LD
16064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
16065 names.
16066 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16070 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16071 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
16072
77a2a8b4
AZ
160732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16074
16075 * sysdeps/powerpc/fpu/e_hypot.c: New file.
16076 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
16077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
16078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
16079 * sysdeps/powerpc/fpu/k_cosf.c: New file.
16080 * sysdeps/powerpc/fpu/k_sinf.c: New file.
16081 * sysdeps/powerpc/fpu/s_cosf.c: New file.
16082 * sysdeps/powerpc/fpu/s_sinf.c: New file.
16083 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
16084 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
16085
24f579d8
AM
160862011-08-15 Alan Modra <amodra@gmail.com>
16087
16088 [BZ #13092]
16089 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
16090 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
16091 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
16092 ppc_mcount to static-only-routines.
16093 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
16094 __mcount_internal.
16095 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
16096 __mcount_internal with usual JUMPTARGET. Remove useless nop.
16097
3d4837df
UD
160982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
16099
16100 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
16101 for finite and infinity parameters.
16102
22700377
WS
161032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16104
16105 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
16106 and add nop instructions for throughput optimization.
16107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16108
5025581e
WS
161092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
16110
16111 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
16112 aligned copy for power7 with vector-scalar instructions.
16113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16114
08a300c9
L
161152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
16116
16117 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
16118 AVX check.
16119
59178ef9
AS
161202011-09-07 Andreas Schwab <schwab@redhat.com>
16121
16122 [BZ #13144]
16123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
16124 last change.
16125
e38ba7ab
UD
161262011-09-07 Ulrich Drepper <drepper@gmail.com>
16127
16128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
16129 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
16130 syscall wrapper around clock_gettime in __vdso_clock_gettime.
16131 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
16132 clock_gettime.
16133
d53a73ac
UD
161342011-09-06 Ulrich Drepper <drepper@gmail.com>
16135
fc8bffcc
UD
16136 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
16137 Forgot to demangle the pointer.
16138
ceaa0c5d
UD
16139 * sysdeps/i386/sysdep.h: Define atom_text_section.
16140 * sysdeps/x86_64/sysdep.h: Likewise.
16141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
16142 section with atom_text_section.
16143 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16144 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16145 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
16146 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
16148
a77d3c17
UD
16149 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
16150 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
16151 already be defined. Change to take two parameters and don't assign
16152 result to variable. Adjust all users.
16153 Define INTERNAL_GETTIME if not already defined.
16154 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
16155 call.
16156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
16157 HAVE_CLOCK_GETTIME_VSYSCALL.
16158 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
16159
d53a73ac
UD
16160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
16161 gettimeofday vsyscall, just use time.
16162
a8f84144
AS
161632011-09-06 Andreas Schwab <schwab@redhat.com>
16164
16165 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
16166 <errno.h>.
16167
ef606249
UD
161682011-09-06 Ulrich Drepper <drepper@gmail.com>
16169
16170 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
16171 syscall on x86-64.
16172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
16173 syscall.
16174 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
16175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
16176 syscall if possible.
16177
6585cb60
UD
161782011-09-05 Ulrich Drepper <drepper@gmail.com>
16179
16180 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
16181 e_ident. Don't pass to find_mapsXX.
16182 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
16183
a5f524e4
LD
161842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16185
16186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16187 strchr-sse2-no-bsf strrchr-sse2-no-bsf
16188 * sysdeps/x86_64/multiarch/strchr.S: Update.
16189 Check bit_slow_BSF bit.
16190 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16191 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
16192 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
16193
554881ef
UD
161942011-09-05 Ulrich Drepper <drepper@gmail.com>
16195
d96de963
UD
16196 [BZ #13134]
16197 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
16198 before glibc 2.15.
16199 (tryshell): Define.
16200 (__spawni): Change last parameter to be flag. Test
16201 SPAWN_XFLAGS_USE_PATH flag to use path or not.
16202 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
16203 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
16204 * posix/spawni.c: Likewise.
16205 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
16206 * posix/spawnp.c: Likewise. Change normal version to use
16207 SPAWN_XFLAGS_USE_PATH.
16208 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
16209 SPAWN_XFLAGS_TRY_SHELL.
16210
d48e5868
UD
16211 [BZ #13150]
16212 * posix/glob.h: Remove gcc 1.x support.
16213
554881ef
UD
16214 [BZ #13068]
16215 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
16216
693fb948
LD
162172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16218
16219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16220 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
16221 strrchr-sse2-bsf
16222 * sysdeps/i386/i686/multiarch/strchr.S: New file.
16223 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
16224 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
16225 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
16226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
16227 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
16228
1b48c537
UD
162292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16230
49d42c37
UD
16231 * sysdeps/x86_64/wcscmp.S: New file.
16232
1b48c537
UD
16233 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
16234 wcscmp-c wcscmp-sse2
16235 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
16236 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
16237 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
16238 * wcsmbs/wcscmp.c: Allow renaming.
16239
15c95c5d
DM
162402011-09-05 David S. Miller <davem@davemloft.net>
16241
16242 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
16243 stack slot, rather than the struct return pointer slot.
16244 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
16245 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
16246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
16247 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
16248
2f0ad8f3
UD
162492011-09-05 Ulrich Drepper <drepper@gmail.com>
16250
d88ae418
UD
16251 * po/ja.po: Update from translation team.
16252
2f0ad8f3
UD
16253 [BZ #13144]
16254 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
16255 kernel in 64-bit binaries.
16256
5f4318d1
DM
162572011-09-01 David S. Miller <davem@davemloft.net>
16258
16259 * elf/elf.h (HWCAP_SPARC_*): Move to..
16260 * sysdeps/sparc/sysdep.h: this new file and add new values.
16261 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
16262 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
16263 _DL_HWCAP_COUNT to 24.
16264 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16265 entries.
16266 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
16267 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
16268 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
16269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
16270 instead of magic constants.
16271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16272
3ba57516
DM
162732011-08-31 David S. Miller <davem@davemloft.net>
16274
16275 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
16276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
16277 Reimplement to do errno handling inline.
16278 (SYSCALL_ERROR_HANDLER): New macro.
16279 (__SYSCALL_STRING): Do not do errno handling in asm.
16280 (__CLONE_SYSCALL_STRING): Delete.
16281 (__INTERNAL_SYSCALL_STRING): Delete.
16282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
16283 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
16284 (PSEUDO): Reimplement to do errno handling inline.
16285 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
16286 (SYSCALL_ERROR_HANDLER): New macro.
16287 (__SYSCALL_STRING): Do not do errno handling in asm.
16288 (__CLONE_SYSCALL_STRING): Delete.
16289 (__INTERNAL_SYSCALL_STRING): Delete.
16290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
16291 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
16292 i386.
16293 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
16294 (inline_syscall*): Add 'err' argument.
16295 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
16296 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
16297 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
16298 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
16299
16300 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
16301 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16302
2bc17433
AS
163032011-08-30 Andreas Schwab <schwab@redhat.com>
16304
16305 * elf/rtld.c (dl_main): Relocate objects in dependency order.
16306
fbeb5f4d
JO
163072011-08-29 Jiri Olsa <jolsa@redhat.com>
16308
16309 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
16310 directive.
16311
ad69cc26
DM
163122011-08-24 David S. Miller <davem@davemloft.net>
16313
16314 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
16315
39dd69df
AS
163162011-08-24 Andreas Schwab <schwab@redhat.com>
16317
16318 * elf/Makefile: Add rules to build and run unload8 test.
16319 * elf/unload8.c: New file.
16320 * elf/unload8mod1.c: New file.
16321 * elf/unload8mod1x.c: New file.
16322 * elf/unload8mod2.c: New file.
16323 * elf/unload8mod3.c: New file.
16324
16325 * elf/dl-close.c (_dl_close_worker): Reset private search list if
16326 it wasn't used.
16327
2c0b250a
DM
163282011-08-23 David S. Miller <davem@davemloft.net>
16329
16330 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
16331 subtract stack bias.
16332 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
16333 %sp not %fp in calculations.
16334 (_JMPBUF_UNWINDS_ADJ): Likewise.
16335
22044b48
DM
16336 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
16337 (aio_suspend): Call it to force an exception region around the
16338 AIO_MISC_WAIT() invocation.
16339
2cae4995
AS
163402011-08-23 Andreas Schwab <schwab@redhat.com>
16341
16342 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
16343 backslash.
16344
873a772e
AJ
163452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
16346
16347 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
16348 protection macro.
16349 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
16350 and <dl-machine.h>.
16351 (Elf64_FuncDesc): Remove.
16352
25ad0df1
DM
163532011-08-22 David S. Miller <davem@davemloft.net>
16354
16355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
16356 sigaltstack check, add missing cfi directives.
16357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
16358 missing cfi directives, and sigaltstack handling.
16359
e888bcbe
AS
163602011-08-16 Andreas Schwab <schwab@redhat.com>
16361
16362 [BZ #11724]
16363 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
16364 object is seen twice.
16365 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16366
16367 * elf/Makefile (distribute): Add tst-initorder2.c.
16368 (tests): Add tst-initorder2.
16369 (modules-names): Add tst-initorder2a tst-initorder2b
16370 tst-initorder2c tst-initorder2d. Add rules to build them.
16371 ($(objpfx)tst-initorder2.out): New rule.
16372 * elf/tst-initorder2.c: New file.
16373 * elf/tst-initorder2.exp: New file.
16374
87162f46
AS
163752011-08-22 Andreas Schwab <schwab@redhat.com>
16376
70538b7f
AS
16377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
16378
f55ffe58
AS
16379 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
16380 dependencies back to end of function.
16381
87162f46
AS
16382 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16383 $(elfobjdir)/ld.so.
16384
91b392a4
UD
163852011-08-21 Ulrich Drepper <drepper@gmail.com>
16386
16387 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
16388 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
16389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
16390 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
16391 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
16392 of __vdso_gettimeofday.
16393 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
16394 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
16395 attribute_hidden.
16396 (_libc_vdso_platform_setup): Remove initialization of
16397 __vdso_gettimeofday and __vdso_time.
16398
5c43483f
UD
163992011-08-20 Ulrich Drepper <drepper@gmail.com>
16400
775a77e7
UD
16401 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
16402 and fgetc_unlocked.
16403 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
16404 getc_unlocked.
89f447ed 16405
49c74ba9
UD
16406 * elf/dl-open.c (add_to_global): Report additions to the global scope
16407 for LD_DEBUG=scopes.
16408 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 16409 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 16410
5c43483f
UD
16411 [BZ #13114]
16412 * stdio-common/Makefile (tests): Add bug24.
16413 * stdio-common/bug24.c: New file.
16414
a101b025
AJ
164152011-08-19 Andreas Jaeger <aj@suse.de>
16416
16417 [BZ #13114]
16418 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
16419 non-existant file when using close-on-exec mode.
16420
c88f1766
UD
164212011-08-20 Ulrich Drepper <drepper@gmail.com>
16422
0276a718
UD
16423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
16424 the very first instruction.
16425
c88f1766
UD
16426 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
16427 the CFI state in the end.
16428 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
16429 inclusion of dl-trampoline.h.
16430 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
16431
51ccffa0
AS
164322011-08-19 Andreas Schwab <schwab@redhat.com>
16433
94d7165f
AS
16434 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
16435 expectations for long double.
16436
51ccffa0
AS
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
16438 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
16439
fd708658 164402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
16441
16442 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
16443 artificual limit depends upon the system page size.
16444
44f0a71e
UD
164452011-08-17 Ulrich Drepper <drepper@gmail.com>
16446
16447 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
16448 * resolv/Makefile: Define CFLAGS-libresolv.
16449
8de79a24
AS
164502011-08-17 Andreas Schwab <schwab@redhat.com>
16451
16452 * nss/makedb.c (compute_tables): Make variables used in nested
16453 function static.
16454
27724598
UD
164552011-08-17 Ulrich Drepper <drepper@gmail.com>
16456
c5305d88
UD
16457 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
16458 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
16459 if buffer was too small.
16460
27724598
UD
16461 * elf/pldd.c (main): Attach to all threads in the process.
16462 Rewrite /proc handling to use *at functions.
16463
076fe015
UD
164642011-08-16 Ulrich Drepper <drepper@gmail.com>
16465
174baab3
UD
16466 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
16467 specifies first scope to show.
16468 (dl_open_worker): Update callers. Move printing scope of new
16469 object to before the relocation.
44f0a71e 16470 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
16471 * sysdeps/generic/ldsodefs.h: Update declaration.
16472
076fe015
UD
16473 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
16474 string for the scope number.
16475
a60df2c3
UD
164762011-08-14 Ulrich Drepper <drepper@gmail.com>
16477
16478 * nscd/servicescache.c (cache_addserv): Make sure written is always
16479 initialized.
16480
5e4287d1
RM
164812011-08-14 Roland McGrath <roland@hack.frob.com>
16482
85ae0589
RM
16483 * sysdeps/i386/i486/bits/atomic.h
16484 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
16485 statement expression, so as to suppress "set but not used" warning.
16486 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
16487
69f63097
RM
16488 * string/strncat.c (STRNCAT): Use prototype definition.
16489
675456ef
RM
16490 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
16491 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
16492 -Iprograms here.
16493 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
16494 (localedef-modules): Add localedef.
16495 (locale-modules): Add locale.
16496
5e4287d1
RM
16497 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
16498 * elf/rtld.c (dl_main): Invert order of assignment in last change,
16499 to avoid a warning.
16500
9c96ff23
DM
165012011-08-14 David S. Miller <davem@davemloft.net>
16502
16503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
16504 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
16505
f9ddf089
UD
165062011-08-13 Ulrich Drepper <drepper@gmail.com>
16507
44f0a71e 16508 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
16509 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
16510 * elf/rtld.c (dl_main): Set l_name of vDSO.
16511 Call _dl_show_scope when DL_DEBUG_SCOPES.
16512 (process_dl_debug): Recognize scopes flag and also set it for all.
16513 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
16514 Declare _dl_show_scope.
16515
1dc27704
UD
16516 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
16517 (do_dlopen): Pass caller_dlopen to dl_open.
16518 (__libc_dlopen_mode): Initialize caller_dlopen.
16519
f9ddf089
UD
16520 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
16521 of libc. Make tolower call locale-independent. Optimize a bit by
16522 using isdigit instead of isalnum.
16523 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
16524
9ac533d3
UD
165252011-08-12 Ulrich Drepper <drepper@gmail.com>
16526
16527 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
16528 was a dependency or dynamically loaded.
16529
89edf2e9
UD
165302011-08-11 Ulrich Drepper <drepper@gmail.com>
16531
8e999d29
UD
16532 * intl/l10nflist.c: Allow architecture-specific pop function.
16533 * sysdeps/x86_64/l10nflist.c: New file.
16534
89edf2e9
UD
16535 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
16536 classification.
16537
14d96785
AS
165382011-08-10 Andreas Schwab <schwab@redhat.com>
16539
16540 * include/dirent.h: Add libc_hidden_proto for scandirat and
16541 scandirat64. Don't declare __scandirat64.
16542 * dirent/scandirat.c: Add libc_hidden_def.
16543 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
16544 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
16545
6761ac04
DM
165462011-08-10 David S. Miller <davem@davemloft.net>
16547
16548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
16549 enum.
16550 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16553
c55fbd1e
UD
165542011-08-09 Ulrich Drepper <drepper@gmail.com>
16555
16556 * Versions.def [libc]: Add GLIBC_2.15.
16557 * dirent/Makefile (routines): Add scandirat and scandirat64.
16558 * dirent/Versions [libc]: Export scandirat and scandirat64 for
16559 GLIBC_2.15.
16560 * dirent/dirent.h: Declare scandirat and scandirat64.
16561 * dirent/scandirat.c: New file.
16562 * dirent/scandirat64.c: New file.
16563 * sysdeps/wordsize-64/scandirat.c: New file.
16564 * sysdeps/wordsize-64/scandirat64.c: New file.
16565 * dirent/opendir.c: Define opendirat.
16566 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
16567 using scandirat.
16568 * dirent/scandir64.c: Adjust for scandir.c change.
16569 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
16570 __scandirat64, and __scandir_cancel_handler.
16571 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
16572 additional parameter and use openat instead of open (outside of ld.so).
16573 Add new __opendir as wrapper around __opendirat.
16574 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
16575 here without requiring old scandirat implementation.
16576
879165f2
UD
165772011-08-08 Ulrich Drepper <drepper@gmail.com>
16578
16579 * dirent/scandir.c (cancel_handler): Renamed to
16580 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
16581 defined. Adjust users.
16582 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
16583 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
16584
cb7e923b
UD
165852011-08-04 Ulrich Drepper <drepper@gmail.com>
16586
16292edd
UD
16587 * string/test-string.h (IMPL): Use __STRING to expand name and then
16588 stringify it.
16589
cb7e923b
UD
16590 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
16591 of cleanups.
16592
cff82933
LD
165932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16594
16595 * string/Makefile: Update.
16596 (strop-tests): Append strncat.
16597 * string/test-wcscmp.c: New file.
16598 New comprehensive test for wcscmp.
16599 * string/test-strcmp.c: Update.
16600 (WIDE): New define.
16601
9be9bfcc
AS
166022011-07-22 Andreas Schwab <schwab@redhat.com>
16603
16604 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
16605 line.
16606
2e96f1c7
AS
166072011-07-26 Andreas Schwab <schwab@redhat.com>
16608
16609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16610 encoding to ACE if AI_IDN.
16611
85188888
JJ
166122011-08-01 Jakub Jelinek <jakub@redhat.com>
16613
16614 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
16615 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
16616
5fa16e9b
LD
166172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16618
16619 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
16620 Fix overflow bug in strncat.
16621 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16622
16623 * string/test-strncat.c: Update.
16624 Add new tests for checking overflow bugs.
16625
166262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16627
16628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16629 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
16630 * sysdeps/i386/i686/multiarch/strcat.S: New file.
16631 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
16632 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
16633 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
16634 * sysdeps/i386/i686/multiarch/strncat.S: New file.
16635 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
16636 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
16637
16638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
16639 (USE_AS_STRCAT): Define.
16640 Add strcat and strncat support.
16641 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16642
8c1a459f
AS
166432011-07-25 Andreas Schwab <schwab@redhat.com>
16644
16645 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
16646 __n bigger than INT_MAX+1.
16647 (__strncmp_g): Likewise.
16648
bba33c28
UD
166492011-07-23 Ulrich Drepper <drepper@gmail.com>
16650
798be72d
UD
16651 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
16652 * libio/stido.h: Likewise.
16653
8accd4dc
UD
16654 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
16655 (AF_NFC): Define.
16656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
16657 (AF_NFC): Define.
16658
cbff0d96
UD
16659 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
16660 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16662 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
16663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16664
9191c04a
UD
16665 [BZ #13021]
16666 * scripts/test-installation.pl: Don't expect libnss_test1 to be
16667 installed.
16668
bba33c28
UD
16669 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
16670 typo.
16671 (_dl_x86_64_save_sse): Likewise.
16672
90f139dd
UD
166732011-07-22 Ulrich Drepper <drepper@gmail.com>
16674
1aae088a
UD
16675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
16676 OSXSAVE.
16677 (_dl_x86_64_save_sse): Likewise.
16678
8e2045f5
UD
16679 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
16680
90f139dd
UD
16681 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
16682
1d002f25
AS
166832011-07-21 Andreas Schwab <schwab@redhat.com>
16684
16685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
16686 change.
16687 (_dl_x86_64_save_sse): Use correct AVX check.
16688
21137f89
UD
166892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16690
16691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
16692 bug in strncpy/strncat.
16693 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
16694
a65c0b7a
UD
166952011-07-21 Ulrich Drepper <drepper@gmail.com>
16696
16697 * string/tester.c (test_strcat): Add tests for different alignments
16698 of source and destination.
16699 (test_strncat): Likewise.
16700
6986b98a
UD
167012011-07-20 Ulrich Drepper <drepper@gmail.com>
16702
90bb2039
UD
16703 [BZ #12852]
16704 * posix/glob.c (glob): Check passed in values before using them in
16705 expressions to avoid some overflows.
16706 (glob_in_dir): Likewise.
16707
5644ef54
UD
16708 [BZ #13007]
16709 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
16710 check for AVX enablement so that we don't crash with old kernels and
16711 new hardware.
16712 * elf/tst-audit4.c: Add same checks here.
16713 * elf/tst-audit6.c: Likewise.
16714
16715 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 16716
bfc9dc9b
AS
167172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
16718
16719 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
16720
702e64bb
UD
167212011-07-20 Ulrich Drepper <drepper@gmail.com>
16722
16723 * po/cs.po: Update from translation team.
16724 * po/bg.po: Likewise.
16725
295e904f
MP
167262011-07-12 Marek Polacek <mpolacek@redhat.com>
16727
16728 * misc/sys/cdefs.h: Add support for const attribute.
16729 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
16730 to gnu_dev_{major,minor,makedev} functions.
16731
3ff94596
MP
167322011-07-20 Marek Polacek <mpolacek@redhat.com>
16733
16734 * intl/dcigettext.c (get_output_charset): Add missing bracket.
16735
28b59fca
AS
167362011-07-20 Andreas Schwab <schwab@redhat.com>
16737
16738 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
16739 strlen results.
16740
19df733e
AK
167412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16742
16743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16744 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
16745 register in order to avoid conflicts with the soft frame pointer
16746 being held in r11 when necessary.
16747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16748 (INTERNAL_VSYSCALL_NCS): Likewise.
16749
c8835729
MP
167502011-07-14 Marek Polacek <mpolacek@redhat.com>
16751
16752 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
16753 * elf/dl-fini.c (_dl_fini): Adjust caller.
16754 * elf/dl-close.c (_dl_close_worker): Likewise.
16755 * sysdeps/generic/ldsodefs.h: Adjust declaration.
16756
b902330c
MP
167572011-07-15 Marek Polacek <mpolacek@redhat.com>
16758
8991e135
MP
16759 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
16760 "aux_cache->nlibs < 0".
16761
b902330c
MP
16762 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
16763 in the reload-count case.
16764
99710781
LD
167652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16766
16767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16768 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
16769 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
16770 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
16771 * sysdeps/x86_64/multiarch/strcat.S: New file.
16772 * sysdeps/x86_64/multiarch/strncat.S: New file.
16773 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
16774 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
16775 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
16776 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
16777 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
16778 (USE_AS_STRCAT): Define.
16779 Add strcat and strncat support.
16780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
16781 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16782 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
16783 * string/strncat.c: Update.
16784 (USE_AS_STRNCAT): Define.
16785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16786 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
16787 and i7.
16788 * sysdeps/x86_64/multiarch/init-arch.h
16789 (bit_Prefer_PMINUB_for_stringop): New.
16790 (index_Prefer_PMINUB_for_stringop): Likewise.
16791 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
16792 bit_Prefer_PMINUB_for_stringop.
16793
7dc6bd90
UD
167942011-07-19 Ulrich Drepper <drepper@gmail.com>
16795
16796 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
16797 buffer64.
16798 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
16799 of casting of buffer.
16800 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
16801 buffer32 and buffer64.
16802 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
16803 writes instead of casting of buffer.
16804 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
16805 buffer32.
16806 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
16807 casting of buffer.
16808
e0e72284
AS
168092011-07-19 Andreas Schwab <schwab@redhat.com>
16810
16811 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
16812
feb1eb0b
UD
168132011-07-19 Ulrich Drepper <drepper@gmail.com>
16814
16815 * nscd/nscd.c (termination_handler): Don't do anything for a database
16816 if it has not yet been initialized.
16817
298711ff
UD
168182011-07-18 Ulrich Drepper <drepper@gmail.com>
16819
16820 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16821
168222011-07-15 Marek Polacek <mpolacek@redhat.com>
16823
16824 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
16825
f9d68389
UD
168262011-07-18 Ulrich Drepper <drepper@gmail.com>
16827
16828 * po/nl.po: Update from translation team.
16829 * po/sv.po: Likewise.
16830
db290cf5
RM
168312011-07-16 Roland McGrath <roland@hack.frob.com>
16832
16833 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
16834 now disallowed by GCC.
5c550700 16835
fd5e21c7
RM
16836 * configure.in (use-default-link): Default to yes if a test -shared
16837 link meets our qualifications.
16838 * configure: Regenerated.
16839
5c550700
RM
16840 * config.make.in (output-format): New variable.
16841 * configure.in: Check for ld --print-output-format support.
16842 * configure: Regenerated.
16843 * Makerules ($(common-objpfx)format.lds)
16844 [$(output-format) != unknown]: Just use $(output-format),
16845 instead of the linker-script munging.
16846
9fa2c032
RM
168472011-07-14 Roland McGrath <roland@hack.frob.com>
16848
a6928d51
RM
16849 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
16850 of $(common-objpfx)shlib.lds.
16851 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
16852
661607b3
RM
16853 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
16854 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
16855
9fa2c032
RM
16856 * configure.in (-z relro check): Adjust test code to add a large
16857 writable data section after it.
16858 * configure: Regenerated.
16859
defe9061
RM
168602011-07-11 Roland McGrath <roland@hack.frob.com>
16861
16862 * configure.in (-z relro check): Fix test code to make the variable
16863 truly const.
16864 * configure: Regenerated.
16865
319b9ad4
UD
168662011-07-11 Ulrich Drepper <drepper@gmail.com>
16867
16868 * nscd/nscd.h (struct traced_file): Define.
16869 (struct database_dyn): Remove inotify_descr, reset_res, and filename
16870 elements. Add traced_files.
16871 (inotify_fd): Declare.
16872 (register_traced_file): Declare.
16873 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
16874 (inotify_fd): Export.
16875 (resolv_conf_descr): Remove.
16876 (nscd_init): Move inotify descriptor creation to main.
16877 Don't register files for notification here.
16878 (register_traced_file): New function.
16879 (invalidate_cache): Don't use reset_res to determine whether to call
16880 res_init, go through the list of registered files.
16881 (main_loop_poll): The inotify descriptors are now stored in the
16882 structures for the traced files.
16883 (main_loop_epoll): Likewise
16884 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
16885 to __nss_disable_nscd.
16886 * nscd/cache.c (prune_cache): There is no single inotify descriptor
16887 for a database anymore. Check the records for all the registered
16888 files instead.
16889 * nss/Makefile (libnss_files-routines): Add files-init.
16890 (libnss_db-routines): Add db-init.
16891 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
16892 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
16893 * nss/nss_db/db-init.c: New file.
16894 * nss/nss_files/files-init.c: New file.
16895 * nss/nsswitch.c (nss_load_library): New function. Broken out of
16896 __nss_lookup_function.
16897 (__nss_lookup_function): Call nss_load_library.
16898 (nss_load_all_libraries): New function.
16899 (__nss_disable_nscd): Take parameter with callback function for files
16900 to register. Set is_nscd. Load all the DSOs for the NSS modules
16901 used for the cached services.
16902 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
16903 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
16904 options for features to all the files in nscd.
16905
16906 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
16907
23bee3e8
RM
169082011-07-10 Roland McGrath <roland@hack.frob.com>
16909
16910 * csu/elf-init.c (__libc_csu_init): Comment typo.
16911
46a5b7f0
UD
169122011-07-09 Ulrich Drepper <drepper@gmail.com>
16913
16914 * po/pl.po: Update from translation team.
16915 * po/ja.po: Likewise.
16916 * po/ru.po: Likewise.
16917 * po/ko.po: Likewise.
16918 * po/fr.po: Likewise.
16919
d30cf5bb
RM
169202011-07-09 Roland McGrath <roland@hack.frob.com>
16921
113ddea4
RM
16922 * configure.in (.ctors/.dtors header and trailer check):
16923 Use an empirical test on a built program.
16924 * configure: Regenerated.
16925
574920b4
RM
16926 * configure.in (-z relro check): Use an empirical test on a built DSO.
16927 Detect, but do not require, on ia64.
16928 * configure: Regenerated.
16929
d30cf5bb
RM
16930 * configure.in (READELF): Find it with AC_CHECK_TOOL.
16931 Update tests that use readelf to use $READELF instead.
16932 * configure: Regenerated.
16933
8538fdb3
UD
169342011-07-08 Ulrich Drepper <drepper@gmail.com>
16935
16936 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
16937 if the result is not used.
16938
04d08991
AJ
169392011-07-05 Andreas Jaeger <aj@suse.de>
16940
16941 [BZ#9696]
16942 * stdlib/tst-strtod.c: Add testcase.
16943
de283087
AD
169442011-07-07 Ulrich Drepper <drepper@gmail.com>
16945
4e5f31c8 16946 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 16947 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
16948 The latter has a higher limit. Take additional parameter to pass to
16949 the new function.
16950 (__pathconf): Pass file to __statfs_link_max.
16951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
16952 __statfs_link_max.
16953 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
16954 __statfs_link_max.
16955
de283087
AD
16956 [BZ #12868]
16957 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
16958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16959 Handle Lustre.
16960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
16961 (__statfs_filesize_max): Likewise.
16962 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
16963
c75fa153
AJ
169642011-07-05 Andreas Jaeger <aj@suse.de>
16965
16966 * resolv/res_comp.c (dn_skipname): Remove unused variable.
16967
1a544854
UD
169682011-07-06 Marek Polacek <mpolacek@redhat.com>
16969
16970 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
16971 `status' variable.
16972 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
16973 Likewise.
16974
6f0eec67
UD
169752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
16976
16977 * Makefile (strop-tests): Add strncat.
16978 * string/test-strncat.c: New file.
16979
aae30307
UD
169802011-06-30 Marek Polacek <mpolacek@redhat.com>
16981
16982 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
16983
c0cfb5eb
UD
169842011-06-21 Andreas Jaeger <aj@suse.de>
16985
16986 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
16987 Copy rule from iconvdata/Makefile.
16988
01636b21
UD
169892011-07-06 Ulrich Drepper <drepper@gmail.com>
16990
16991 [BZ #12922]
16992 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
16993 but no long options are defined, just return 'W'.
16994
9895c8bc
UD
169952011-06-22 Marek Polacek <mpolacek@redhat.com>
16996
16997 [BZ #9696]
16998 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
16999
5d4cf042
UD
170002011-07-06 Ulrich Drepper <drepper@gmail.com>
17001
17002 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17003 netgroups to read.
960e5535 17004 (innetgr): Likewise.
5d4cf042 17005
751eb97e
RM
170062011-07-05 Roland McGrath <roland@hack.frob.com>
17007
17008 * config.make.in (install_root): Default to $(DESTDIR).
17009
f15f1e45
UD
170102011-07-05 Ulrich Drepper <drepper@gmail.com>
17011
17012 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17013
4e34ac6a
RM
170142011-07-02 Roland McGrath <roland@hack.frob.com>
17015
5e9b6af4
RM
17016 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17017
84f9ea0f
RM
17018 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17019 containing directory rather than embedding absolute directory names.
17020
ea5ee9f7
RM
17021 * scripts/check-local-headers.sh: Rewritten using awk.
17022 Match by word, not by line. Print error messages for matches.
17023 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17024
1b74661a
RM
17025 * Makerules [shlib-lds-flags empty]:
17026 ($(common-objpfx)libc_pic.opts): New target.
17027 ($(common-objpfx)libc_pic.os.clean): New target.
17028 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17029
17030 * config.make.in (OBJCOPY): New variable.
17031 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17032 * configure: Regenerated.
17033
f781ef40
RM
17034 * config.make.in (use-default-link): New variable.
17035 * configure.in (use_default_link): Grok --with-default-link to set it.
17036 * configure: Regenerated.
17037 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17038 (shlib-lds, shlib-lds-flags): Define to empty.
17039
2d4fa81e
RM
17040 * Makerules (shlib-lds): New variable.
17041 (shlib-lds-flags): New variable.
17042 (build-shlib, build-moduile, build-module-asneeded): Use it.
17043 ($(common-objpfx)libc.so): Use $(shlib-lds).
17044 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17046
31fffa6b
RM
17047 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17048 DT_FLAGS/DT_FLAGS_1 with zero flags.
17049
4e34ac6a
RM
17050 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17051 linker script munging.
17052
fcfc776b
UD
170532011-07-02 Ulrich Drepper <drepper@gmail.com>
17054
17055 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
17056 as 128-bit value.
17057 * crypt/sha512.c (sha512_process_block): Perform total addition using
17058 128-bit if possible.
17059 (__sha512_finish_ctx): Likewise.
17060 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
17061 as 64-bit value.
17062 * crypt/sha256.c (SWAP64): Define.
17063 (sha256_process_block): Perform total addition using 64-bit if
17064 possible.
17065 (__sha256_finish_ctx): Likewise.
17066
99231d9a
UD
170672011-07-01 Ulrich Drepper <drepper@gmail.com>
17068
17069 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
17070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17071 * nscd/hstcache.c (cache_addhst): Likewise.
17072 * nscd/grpcache.c (cache_addgr): Likewise.
17073 * nscd/aicache.c (addhstaiX): Likewise
17074 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
17075
445b4a53
TK
170762011-07-01 Thorsten Kukuk <kukuk@suse.de>
17077
17078 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
17079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17080 * nscd/hstcache.c (cache_addhst): Likewise.
17081 * nscd/grpcache.c (cache_addgr): Likewise.
17082 * nscd/aicache.c (addhstaiX): Likewise
17083
6d4d8e8e
AS
170842011-07-01 Andreas Schwab <schwab@redhat.com>
17085
17086 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
17087 domain only when needed.
17088
89f654c5
AS
170892011-06-30 Andreas Schwab <schwab@redhat.com>
17090
17091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
17092 is always restored.
17093
cf3b23ff
UD
170942011-06-29 Ulrich Drepper <drepper@gmail.com>
17095
17096 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
17097 are re-adding the entry.
17098 * nscd/servicescache.c (cache_addserv): Likewise.
17099
751626f9
AJ
171002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
17101
17102 * sysdeps/generic/dl-irel.h: fix protection against multiple
17103 inclusions.
17104 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
17105
9113ea1f
UD
171062011-06-28 Ulrich Drepper <drepper@gmail.com>
17107
5c0b8d90
UD
17108 [BZ #12935]
17109 * malloc/memusage.sh: Fix quoting in message.
17110 * debug/xtrace.sh: Likewise.
17111
9113ea1f
UD
17112 * configure.in: Remove support for --experimental-malloc option, make
17113 it the default.
17114 * config.make.in: Likewise.
17115 * malloc/Makefile: Likewise.
17116
a4172181
AS
171172011-06-27 Andreas Schwab <schwab@redhat.com>
17118
17119 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
17120 two-byte characters.
17121
78a7eee7
RM
171222011-06-27 Roland McGrath <roland@hack.frob.com>
17123
62bede13
RM
17124 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
17125 AC_CACHE_CHECK invocation.
17126 * configure: Regenerated.
17127
78a7eee7
RM
17128 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
17129
5ce33a62
UD
171302011-06-27 Ulrich Drepper <drepper@gmail.com>
17131
034807a9
UD
17132 [BZ #12350]
17133 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
17134 bit from old_res_options.
17135
4902da17
UD
17136 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
17137
5ce33a62
UD
17138 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
17139 value type for setfct.
17140
c2344f56
L
171412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17144 __gettimeofday instead of gettimeofday.
17145
68468076
UD
171462011-06-26 Ulrich Drepper <drepper@gmail.com>
17147
17148 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
17149
acb0d739
L
171502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
17151
17152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
17153
17154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
17155 info.
17156
8912479f
L
171572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17158
17159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17160 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17161 strcpy-sse2-unaligned strncpy-sse2-unaligned
17162 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
17163 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
17164 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
17165 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
17166 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
17167 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
17168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
17169 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
17170 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
17171 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
17172 (STRCPY): Support SSE2 and SSSE3 versions.
17173
d5495a11
UD
171742011-06-24 Ulrich Drepper <drepper@gmail.com>
17175
17176 [BZ #12874]
17177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
17178 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
17179 kernels which artificially limit size of requests.
17180
0b1cbaae
L
171812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
17182
17183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17184 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
17185 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
17186 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
17187 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
17188 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
17189 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
17190 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
17191 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
17192 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
17193 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
17194 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
17195 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
17196 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
17197 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
17198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17199 Enable unaligned load optimization for Intel Core i3, i5 and i7
17200 processors.
17201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
17202 Define.
17203 (index_Fast_Unaligned_Load): Define.
17204 (HAS_FAST_UNALIGNED_LOAD): Define.
17205
07f494a0
MP
172062011-06-23 Marek Polacek <mpolacek@redhat.com>
17207
17208 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
17209
fa3fc0fe
UD
172102011-06-22 Ulrich Drepper <drepper@gmail.com>
17211
17212 [BZ #12907]
17213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
17214 until it is clear that the information is realy needed.
17215 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
17216
e12df166
AS
172172011-06-22 Andreas Schwab <schwab@redhat.com>
17218
17219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
17220
852eb34d
UD
172212011-06-22 Ulrich Drepper <drepper@gmail.com>
17222
84e2a551
UD
17223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
17224 /sys/devices/system/cpu/online if it is usable.
17225
852eb34d
UD
17226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
17227 reading the information from the /proc filesystem to once a second.
17228
6e502e19
UD
172292011-06-21 Andreas Jaeger <aj@suse.de>
17230
17231 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
17232 NULL after inclusion of kernel headers.
17233
75d39ff2
UD
172342011-06-21 Ulrich Drepper <drepper@gmail.com>
17235
51f9aa6a
UD
17236 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
17237 calls to internal_setent.
17238
c0244a9d
UD
17239 [BZ #12885]
17240 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
17241 addresses using gethostbyname4_r ignore IPv4 addresses.
17242
c5e3c2ae
UD
17243 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
17244 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
17245
75d39ff2
UD
17246 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
17247
42675c6f
DM
172482011-06-20 David S. Miller <davem@davemloft.net>
17249
17250 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
17251 inclusions.
17252 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
17253
17254 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
17255 (elf_irel): Use it.
17256 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
17257 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
17258 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
17259 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
17260 * sysdeps/x86_64/dl-irel.h: Likewise.
17261
17262 * elf/dl-runtime.c: Use elf_ifunc_invoke.
17263 * elf/dl-sym.c: Likewise.
17264
57912a71
UD
172652011-06-15 Ulrich Drepper <drepper@gmail.com>
17266
17267 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
17268 need to dereference resplen2.
17269
ee22793d
AS
172702011-06-14 Andreas Schwab <schwab@redhat.com>
17271
17272 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
17273
a9e836b0
UD
172742011-06-15 Ulrich Drepper <drepper@gmail.com>
17275
77fb9117
UD
17276 * Makeconfig: Define vardbdir and inst_vardbdir.
17277 * nss/Makefile: Add rules to install db-Makefile.
17278
40c1b22c
UD
17279 * nss/nss_db/db-XXX.c: Cleanup.
17280
9f2da732
UD
17281 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
17282 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
17283 GLIBC_PRIVATE.
17284 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
17285 * nss/makedb.c: Implement -g option to specify that value strings
17286 are generated and should not be added to table iterated over for
17287 get*ent calls.
17288 * nss/nss_db/db-initgroups.c: New file.
17289
82e9a1f7
UD
17290 * nss/getent.c: Add support for initgroups lookups through getgrouplist
17291 interface.
17292
c41af17e
UD
17293 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
17294 (internal_getgrouplist): Adjust to name change.
17295 Update use_initgroups_entry if this is not the first call.
17296 * nss/databases.def: Add initgroups entry.
17297
a9e836b0
UD
17298 * nss/makedb.c (compute_tables): Check result of multiple hash table
17299 sizes to minimize maximum chain length.
17300
2666d441
UD
173012011-06-14 Ulrich Drepper <drepper@gmail.com>
17302
17303 * Versions.def: Add entry for libnss_db.
17304 * shlib-versions: Likewise.
17305 * nss/Makefile: Add rules to build libnss_db.
17306 * nss/Versions: Add libnss_db information. Organize libnss_files
17307 entries better.
17308 * nss/db-Makefile: Add gshadow support. Change rules for the new
17309 makedb progra. Some minor improvements to generate smaller files.
17310 * nss/nss_db/nss_db.h: Move NSS database header data structures to
17311 here from...
17312 * nss/makedb.c: ...here.
17313 Improve database format to be smaller and require less memory at
17314 runtime.
17315 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
17316 db anymore.
17317 * nss/nss_db/db-netgrp.c: Likewise.
17318 * nss/nss_db/db-open.c: Likewise.
17319 * nss/nss_files/flies-XXX.x: Adjust comments.
17320 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
17321 * nss/nss_files/files-grp.c: Likewise.
17322 * nss/nss_files/files-hosts.c: Likewise.
17323 * nss/nss_files/files-network.c: Likewise.
17324 * nss/nss_files/files-proto.c: Likewise.
17325 * nss/nss_files/files-pwd.c: Likewise.
17326 * nss/nss_files/files-rpc.c: Likewise.
17327 * nss/nss_files/files-service.c: Likewise.
17328 * nss/nss_files/files-sgrp.c: Likewise.
17329 * nss/nss_files/files-spwd.c: Likewise.
17330 * nss/nss_db/db-alias.c: Removed.
17331 * nss/nss_db/dummy-db.h: Removed.
17332
9ee76b5a
UD
173332011-06-02 Ulrich Drepper <drepper@gmail.com>
17334
17335 * nss/makedb.c: Rewritten to not use database library.
17336 * nss/Makefile: Update to build new makedb program.
17337
c71ca1f8
AJ
173382011-06-14 Andreas Jaeger <aj@suse.de>
17339
17340 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
17341 memset declaration.
17342
3154bfb8
UD
173432011-06-10 Andreas Schwab <schwab@redhat.com>
17344
17345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
17346 tmpbuf.
17347
b350afab
RM
173482011-06-10 Roland McGrath <roland@hack.frob.com>
17349
decd4e50
RM
17350 * Makerules (shlib.lds): Fail if the linker script comes out empty.
17351 * elf/Makefile ($(objpfx)ld.so): Likewise.
17352
5615eaf2
RM
17353 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
17354 Don't list ld.so twice in dependencies.
17355
17356 * posix/bug-regex31.c: Include <stdlib.h>.
17357
17358 * nscd/hstcache.c (cache_addhst): Remove unused variable.
17359
17360 * nis/nss_compat/compat-spwd.c
17361 (getspent_next_nss_netgr): Remove unused variable.
17362 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
17363
17364 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
17365 nonmembers" output to use the right array.
17366
17367 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
17368
17369 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
17370
17371 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
17372 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
17373 * catgets/gencat.c (read_input_file): Likewise.
17374 * locale/programs/locarchive.c (enlarge_archive): Likewise.
17375
17376 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
17377 variable definition inside #if's controlling its use.
17378
17379 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
17380
17381 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
17382
17383 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
17384
17385 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
17386 unreachable code.
17387
17388 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
17389
b68e08db
RM
17390 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
17391 * configure: Regenerated.
17392
b350afab
RM
17393 * Makerules: Revert last change.
17394 * elf/Makefile: Likewise.
17395
28368601
RM
173962011-06-09 Roland McGrath <roland@hack.frob.com>
17397
17398 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
17399 * elf/Makefile ($(objpfx)librtld.os): Likewise.
17400 (reloc-link): Likewise.
17401
11988f8f
UD
174022011-06-09 Ulrich Drepper <drepper@gmail.com>
17403
17404 * elf/Makefile: Add rules to build pldd.
17405 * elf/pldd.c: New file.
17406 * elf/pldd-xx.c: New file.
17407
e80fab37
UD
174082011-06-07 Ulrich Drepper <drepper@gmail.com>
17409
17410 * version.h: Update for 2.15 development version.
17411
9b849836
DM
174122011-06-07 David S. Miller <davem@davemloft.net>
17413
17414 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
17415 ifuncs.
17416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
17417 elf_machine_lazy_rel): Likewise.
17418 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17419 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
17420 elf_machine_lazy_rel): Likewise.
17421 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
17422 dl_hwcap via passed in argument.
17423 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
17424 Likewise.
17425
5a31b283
AK
174262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17427
17428 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
17429
069e52f8
RM
174302011-06-06 Roland McGrath <roland@hack.frob.com>
17431
17432 [BZ #12849]
17433 * manual/fdl-1.1.texi: New file, verbatim from:
17434 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
17435 * manual/lgpl-2.1.texi: New file, verbatim from:
17436 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
17437 * manual/Makefile (licenses): New variable, list those new file names.
17438 (texis): Use it.
17439 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
17440
17441 * manual/fdl.texi: File removed.
17442 * manual/lesser.texi: File removed.
17443 * manual/libc.texinfo (Copying, Documentation License):
17444 Use new @include file names, put @appendix directive before @include.
17445
f16846a5
JJ
174462011-06-04 Jakub Jelinek <jakub@redhat.com>
17447
17448 [BZ #12841]
17449 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
17450 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
17451 (mq_open): Add __NTH.
17452
3d29045b
L
174532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
17454
17455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17456 Assume Intel Core i3/i5/i7 processor if AVX is available.
17457
8c297311
UD
174582011-05-31 Ulrich Drepper <drepper@gmail.com>
17459
17460 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17461 typo.
17462
c8fc0c91
UD
174632011-05-31 Andreas Schwab <schwab@redhat.com>
17464
17465 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
17466 memory. Use alloca_account. Fix memory leak when retrying.
17467
5b27a807
UD
174682011-05-31 Ulrich Drepper <drepper@gmail.com>
17469
356f8bc6
UD
17470 * version.h (RELEASE): Bump for 2.14 release.
17471 * include/features.h (__GLIBC_MINOR__): Bump to 14.
17472
5b27a807
UD
17473 * config.make.in (RANLIB): Remove entry.
17474
01f16ab0
UD
174752011-05-30 Ulrich Drepper <drepper@gmail.com>
17476
41fce8bd
UD
17477 * po/Makefile (po-sed-cmd): Add ksh to extensions.
17478 (libc.pot): Work around missing support for .ksh extension in xgettext.
17479
4769ae77
UD
17480 [BZ #12684]
17481 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
17482 if both request failed.
17483 (send_dg): In case of server errors clear resplen or *resplen2.
17484
6b1e7d19
UD
17485 [BZ #12454]
17486 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
17487 when there are multiple maps.
17488 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
17489 (_dl_fini): Remove test here.
17490
01f16ab0
UD
17491 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
17492
b1ebd700
UD
174932011-05-29 Ulrich Drepper <drepper@gmail.com>
17494
7ae22829
UD
17495 [BZ #12350]
17496 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
17497 bit from old_res_options.
17498 (gaih_inet): Likewise.
17499
553149f6 17500 [BZ #11099]
18a84741 17501 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
17502 as signed.
17503
652ffab1
UD
17504 * resolv/res_init.c (res_setoptions): Make the code more compact.
17505
16985fd0
UD
17506 [BZ #11558]
17507 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
17508 set RES_USEVC.
17509
0464f746
UD
17510 [BZ #11634]
17511 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
17512
7d17596c
UD
17513 * malloc/malloc.h: Mark malloc hook variables as deprecated.
17514
cf6bbbd7
UD
17515 [BZ #11781]
17516 * malloc/malloc.h: Declare malloc hook variables as volatile.
17517
13f1ab36
UD
17518 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
17519 in last patch.
17520
b1ebd700
UD
17521 [BZ #11799]
17522 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 17523 raise in the comment.
80e2212d
UD
17524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
17525 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17526 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 17527
ce67228d
UD
175282011-05-28 Ulrich Drepper <drepper@gmail.com>
17529
8887a920
UD
17530 [BZ #12811]
17531 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
17532 grow the buffers more if it already has to be sufficient.
17533 (build_wcs_upper_buffer): Likewise.
17534 * posix/regexec.c (check_matching): Likewise.
17535 (clean_state_log_if_needed): Likewise.
17536 (extend_buffers): Don't enlarge buffers beyond size of the input
17537 buffer.
17538 Patches mostly by Emil Wojak <emil@wojak.eu>.
17539 * posix/bug-regex32.c: New file.
17540 * posix/Makefile (tests): Add bug-regex32.
17541
4f031072
UD
17542 * locale/findlocale.c (_nl_find_locale): Return right away if
17543 _nl_explode_name failed.
17544 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17545
d0478f0c
UD
17546 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
17547
de81b246
UD
17548 * debug/xtrace.sh: Unify messages.
17549 * malloc/memusage.sh: Likewise.
17550
c738465a
UD
17551 [BZ #12813]
17552 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
17553 time symbol from vDSO. Substitute with vsyscall if not available.
17554 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
17555 __vdso_time.
17556
f1f929d7
UD
17557 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
17558 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
17559 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
17560 Add sendmmsg and internal_sendmmsg.
17561 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
17562 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
17563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
17564
ce67228d
UD
17565 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
17566 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
17567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
17568
e57420c6
UD
175692011-05-27 Ulrich Drepper <drepper@gmail.com>
17570
a8509ca5
UD
17571 [BZ #12813]
17572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
17573 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
17574 available.
17575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
17576 __vdso_getcpu.
17577
e57420c6
UD
17578 [BZ #12814]
17579 * iconvdata/Makefile (tests): Add bug-iconv9.
17580 * iconvdata/bug-iconv9.c: New file.
17581
4d07db15
AS
175822011-05-27 Andreas Schwab <schwab@redhat.com>
17583
17584 [BZ #12814]
17585 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
17586
ea486f69
JJ
175872011-05-25 Jakub Jelinek <jakub@redhat.com>
17588
17589 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17590 (struct user_regs_struct): Change intcs field back to cs.
17591
6f038433
UD
175922011-05-25 Ulrich Drepper <drepper@gmail.com>
17593
17594 * po/ja.po: Update from translation team.
17595
67f86a25
UD
175962011-05-23 Ulrich Drepper <drepper@gmail.com>
17597
17598 [BZ #12795]
17599 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
17600 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
17601
def7fbd6
AS
176022011-05-20 Andreas Schwab <schwab@redhat.com>
17603
17604 * stdlib/longlong.h: Update from GCC.
17605
f50ef8f1
AS
176062011-05-23 Andreas Schwab <schwab@redhat.com>
17607
17608 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
17609 parameter name.
17610 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
17611 Add parameter name.
17612 (__sysconf): Pass it down.
17613
de7ce8f1
UD
176142011-05-22 Ulrich Drepper <drepper@gmail.com>
17615
f2962a71
UD
17616 [BZ #12671]
17617 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
17618 some situations.
17619 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17620 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
17621 add in in __libc_use_alloca calls. Adjust callers.
17622 (glob): Use malloc in some situations.
17623
de7ce8f1
UD
17624 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
17625 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
17626 pltexit.
17627
aec84f53
UD
176282011-05-21 Ulrich Drepper <drepper@gmail.com>
17629
05bb4a68
UD
17630 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
17631 and CLOCK_BOOTTIME_ALARM.
17632
7ea72f99
UD
17633 [BZ #12782]
17634 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
17635 is returned.
17636
7e4afad5
UD
17637 * string/_strerror.c (__strerror_r): Print negative errors as signed
17638 numbers.
17639
8e211fec
UD
17640 [BZ #12777]
17641 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
17642 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
17643 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
17644
f7d82dc9
UD
17645 * configure.in: Fix typo in redirection and correct removal of test
17646 files in two cases.
17647
cc9e536d
UD
17648 [BZ #12788]
17649 * locale/setlocale.c (new_composite_name): Fix test to check for
17650 identical name of all categories.
17651
aec84f53
UD
17652 [BZ #12792]
17653 * libio/filedoalloc.c (local_isatty): New function.
17654 (_IO_file_doallocate): Use local_isatty.
17655 * stdio-common/perror.c (perror): In case a new stream is used
17656 forward the stream error.
17657 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
17658 error flag.
17659
78e64fdc
RT
176602011-05-20 Ulrich Drepper <drepper@gmail.com>
17661
34a9094f
UD
17662 [BZ #11869]
17663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
17664 alloca.
17665 * include/alloca.h (extend_alloca_account): Define.
17666
78e64fdc
RT
17667 [BZ #11857]
17668 * posix/regex.h: Fix comments with documentation of user-accessible
17669 fields after compilation and describe correct free'ing of pattern
17670 after re_compile_pattern.
17671 Patch by Reuben Thomas <rrt@sc3d.org>.
17672
457bddfc
RA
176732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
17674
17675 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
17676 and -mno-altivec to prevent the compiler from using Altivec and/or
17677 VSX instructions when the corresponding registers are not available.
17678
a4527b51
AS
176792011-05-19 Andreas Schwab <schwab@redhat.com>
17680
17681 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
17682
ed690b2f
UD
176832011-05-19 Ulrich Drepper <drepper@gmail.com>
17684
17685 * libio/freopen.c (freopen): Use __dup2, not dup2.
17686 * libio/freopen64.c (freopen64): Likewise.
17687
8db73634
L
176882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
17689
17690 [BZ #12775]
17691 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
17692 * math/Makefile (tests): Add test-powl.
17693 (CFLAGS-test-powl.c): Define.
17694 * math/test-powl.c: New file.
17695
0a197a9d
L
176962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
17697
17698 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
17699
ee30c380
UD
177002011-05-17 Ulrich Drepper <drepper@gmail.com>
17701
17702 [BZ #11837]
17703 * iconvdata/gb18030.c: Update to GB18020-2005.
17704
6ce75379
UD
177052011-05-16 Ulrich Drepper <drepper@gmail.com>
17706
a4b89fd8
AR
17707 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
17708 RE_SYNTAX_POSIX_AWK): Update to match recent development.
17709 Patch by Aharon Robbins <arnold@skeeve.com>.
17710
ea389b12
UD
17711 [BZ #11892]
17712 * stdlib/putenv.c (putenv): Don't always create copy of the variable
17713 on the stack.
17714
68a3f91f
UD
17715 [BZ #11895]
17716 * misc/pselect.c (__pselect): Handle timeout value errors hidden
17717 through underflows.
17718
15cc7dd1
UD
17719 [BZ #12766]
17720 * misc/error.c (error_at_line): Ensure file_name and old_file_name
17721 point to strings before performing equality test for error_one_per_line
17722 mode.
17723
f3799213
UD
17724 [BZ #11697]
17725 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
17726
d79a9c94
UD
17727 [BZ #11820]
17728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
17729 (struct user_fpregs_struct): Avoid __uint*_t types.
17730
56e5eb46
UD
17731 [BZ #6420]
17732 * malloc/mtrace.c (tr_where): Add additional parameter to point to
17733 symbol info. Use it instead of calling _dl_addr locally.
17734 (lock_and_info): New function.
17735 (tr_freehook): Call lock_and_info and pass symbol info as additional
17736 parameter to tr_where.
17737 (tr_mallochook): Likewise.
17738 (tr_reallochook): Likewise.
17739 (tr_memalignhook): Likewise.
17740
6ce75379
UD
17741 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
17742 used and couldn't be at all thread-safe.
17743
f8a3b5bf
UD
177442011-05-15 Ulrich Drepper <drepper@gmail.com>
17745
94b7cc37
UD
17746 * libio/freopen.c (freopen): Don't close old file descriptor
17747 before the new one is opened. Instead dup the new file descriptor
17748 to the old one after the new stream is created.
17749 * libio/freopen64.c (freopen64): Likewise.
17750 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
17751 * libio/fileops.c (_IO_new_file_close_it): Handle new
17752 _IO_FLAGS2_NOCLOSE flag.
17753 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
17754 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
17755 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
17756 _IO_FLAGS2_NOCLOSE flag.
17757 * include/unistd.h: Add hidden_proto for dup3.
17758 Define __have_dup3.
17759 * io/dup3.c: Define hidden symbol.
17760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
17761
bd25564e
UD
17762 [BZ #7101]
17763 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
17764 when an incomplete long option is used.
17765 * posix/tst-getopt_long1.c: New file.
17766 * posix/Makefile (tests): Add tst-getopt_long1.
17767
c84cfef4
UD
17768 [BZ #10138]
17769 * scripts/config.guess: Update from autoconf-2.68.
17770 * scripts/config.sub: Likewise.
17771
3b85df27
UD
17772 [BZ #10157]
17773 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
17774 tests into ...
17775 (has_cpuclock): ...this. New function.
17776 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
17777 macro here based on has_cpuclock code.
17778
15a856b1
UD
17779 [BZ #10149]
17780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17781 First byte (not low byte) is now always NUL.
17782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
17783
05f399e6
UD
17784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17785 Use non-cancelable interfaces.
17786
10a52685 17787 [BZ #9809]
94ecc67d
UD
17788 * locale/iso-639.def: Add entry for Sorani.
17789
f8a3b5bf
UD
17790 [BZ #11901]
17791 * include/stdlib.h: Move include protection to the right place.
17792 Define abort_msg_s. Declare __abort_msg with it.
17793 * stdlib/abort.c (__abort_msg): Adjust type.
17794 * assert/assert.c (__assert_fail_base): New function. Majority
17795 of code from __assert_fail. Allocate memory for __abort_msg with
17796 mmap.
17797 (__assert_fail): Now call __assert_fail_base.
17798 * assert/assert-perr.c: Remove bulk of implementation. Use
17799 __assert_fail_base.
17800 * include/assert.hL Declare __assert_fail_base.
17801 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
17802 mmap.
17803 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
17804
1af4e298
UD
178052011-05-14 Ulrich Drepper <drepper@gmail.com>
17806
f8a3b5bf 17807 [BZ #11952]
d26dfc60
MG
17808 [BZ #12453]
17809 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
17810 until all modules are registered in the DTV.
17811 * elf/Makefile: Add rules to build and run tst-tls19.
17812 * elf/tst-tls19.c: New file.
17813 * elf/tst-tls19mod1.c: New file.
17814 * elf/tst-tls19mod2.c: New file.
17815 * elf/tst-tls19mod3.c: New file.
17816 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
17817
2fc54d6f
UD
17818 [BZ #12083]
17819 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
17820 correctly.
17821
98d76b46
UD
17822 [BZ #12601]
17823 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
17824 two-byte sequence errors.
17825 * iconvdata/Makefile (tests): Add bug-iconv8.
17826 * iconvdata/bug-iconv8.c: New file.
17827
da3c19ef
UD
17828 [BZ #12626]
17829 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
17830 buf2 definition.
17831
ca408c15
UD
17832 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
17833
d6f67f7d
UD
17834 [BZ #12432]
17835 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
17836 (dummy_getcfa): New function.
17837 (init): Get _Unwind_GetCFA address, use dummy if not found.
17838 (backtrace_helper): In recursion check, also check whether CFA changes.
17839 (__backtrace): Completely initialize arg.
17840
1af4e298 17841 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
17842 storing incomplete byte sequence in state object. Avoid testing for
17843 guaranteed too small input if we know there is enough data available.
1af4e298 17844
da62f81b
AS
178452011-05-11 Andreas Schwab <schwab@redhat.com>
17846
17847 * Makeconfig (+link-pie): Indent.
17848 * Rules (binaries-pie): Define if $(have-fpie) and
17849 $(build-shared).
17850 (binaries-shared): Also filter out $(binaries-pie).
17851 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
17852 * nscd/Makefile (others-pie): Add nscd.
17853 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
17854 ($(objpfx)nscd): Remove command override.
17855 * login/Makefile (others-pie): Add pt_chown.
17856 ($(objpfx)pt_chown): Remove command override.
17857 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
17858 remove command overrides.
17859
fcabc0f8
UD
178602011-05-13 Ulrich Drepper <drepper@gmail.com>
17861
20030ae6
UD
17862 * libio/tst_putwc.c: Fix error messages.
17863
fcabc0f8
UD
17864 [BZ #12724]
17865 * libio/fileops.c (_IO_new_file_close_it): Always flush when
17866 currently writing and seek to current position when not.
17867 * libio/Makefile (tests): Add bug-fclose1.
17868 * libio/bug-fclose1.c: New file.
17869
320a5dc0
PB
178702011-05-12 Ulrich Drepper <drepper@gmail.com>
17871
17872 [BZ #12511]
17873 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
17874 don't set DF_1_NODELETE here.
17875 (do_lookup_x): When entering new entry test for copy relocation
17876 and if necessary set DF_1_NODELETE flag.
17877 * elf/tst-unique4.cc: New file.
17878 * elf/tst-unique4.h: New file.
17879 * elf/tst-unique4lib.cc: New file.
17880 * elf/Makefile: Add rules to build and run tst-unique4.
17881 Patch by Piotr Bury <pbury@goahead.com>.
17882
22836f52
UD
178832011-05-11 Ulrich Drepper <drepper@gmail.com>
17884
f574184a
UD
17885 [BZ #12052]
17886 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
17887
e1fb097f
UD
17888 [BZ #12625]
17889 * misc/mntent_r.c (addmntent): Flush the stream after the output
17890
22836f52
UD
17891 [BZ #12393]
17892 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
17893 (is_trusted_path_normalize): Skip initial colon. Append slash
17894 to empty buffer. Duplicate is_trusted_path code but allow
17895 constructed patch to be prefix.
17896 (is_dst): Allow $ORIGIN followed by /.
17897 (_dl_dst_substitute): Correct clearing of check_for_trusted.
17898 Correct testing of result of is_trusted_path_normalize
17899 (decompose_rpath): Fix warning.
17900
7b3b0b2a
UD
179012011-05-10 Ulrich Drepper <drepper@gmail.com>
17902
17903 [BZ #11257]
17904 * grp/initgroups.c (internal_getgrouplist): When we found the service
17905 list through the initgroups entry in nsswitch.conf do not always
17906 continue on a successful lookup. Don't always use the
eac80ce2 17907 __nss_group_database value if it is set.
7b3b0b2a
UD
17908 * nss/nsswitch.conf (initgroups): Change action for successful db
17909 lookup to continue for compatibility.
17910
2a81eaa5
UD
179112011-05-09 Ulrich Drepper <drepper@gmail.com>
17912
be97a69e
UD
17913 [BZ #11532]
17914 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
17915 and CP774 modules.
17916 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
17917 and CP774 modules.
17918 * iconvdata/tst-tables.sh: Likewise.
17919 * iconvdata/cp770.c: New file.
17920 * iconvdata/cp771.c: New file.
17921 * iconvdata/cp772.c: New file.
17922 * iconvdata/cp773.c: New file.
17923 * iconvdata/cp774.c: New file.
17924 * iconvdata/testdata/CP770: New file.
17925 * iconvdata/testdata/CP770..UTF8: New file.
17926 * iconvdata/testdata/CP771: New file.
17927 * iconvdata/testdata/CP771..UTF8: New file.
17928 * iconvdata/testdata/CP772: New file.
17929 * iconvdata/testdata/CP772..UTF8: New file.
17930 * iconvdata/testdata/CP773: New file.
17931 * iconvdata/testdata/CP773..UTF8: New file.
17932 * iconvdata/testdata/CP774: New file.
17933 * iconvdata/testdata/CP774..UTF8: New file.
17934
17935 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
17936 END CHARMAP line.
17937 * iconvdata/gen-8bit-gap.sh: Likewise.
17938 * iconvdata/gen-8bit.sh: Likewise.
17939
c1e9e399
UD
17940 * locale/iso-639.def: Add ary entry.
17941
24c55fb3 17942 [BZ #11258]
96b4b1b0
UD
17943 * locale/C-translit.h.in: Add U20A1 transliteration.
17944
bdc2f971
KB
17945 [BZ #12178]
17946 * locale/iso-639.def: Add wae entry.
17947 Patch by Kevin Bortis <bortis@translate-wae.ch>.
17948
2952b117
UD
17949 [BZ #12545]
17950 * locale/programs/localedef.c (construct_output_path): Use ssize_t
17951 for n.
17952
2a81eaa5
UD
17953 [BZ #12711]
17954 * locale/C-translit.h.in: Add entry for U20B9.
17955 Patch by pravin.d.s@gmail.com.
17956
28377d1b
UD
179572011-05-08 Ulrich Drepper <drepper@gmail.com>
17958
7fb90fb8
UD
17959 [BZ #12713]
17960 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
17961 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
17962 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
17963 in rtld. Use *stat64.
7fb90fb8 17964 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 17965 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 17966 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
17967 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
17968 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
17969 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
17970 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
17971 __fstatat64 macros.
7fb90fb8
UD
17972 * include/dirent.h: Add libc_hidden_proto for rewinddir.
17973 * dirent/rewinddir.c: Add libc_hidden_def.
17974 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 17975 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 17976
28377d1b
UD
17977 * include/dirent.h (__alloc_dir): Add flags parameter.
17978 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
17979 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
17980 __alloc_dir.
17981 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
17982 from fdopendir if O_CLOEXEC is already set.
17983
66bdbaa4
AM
179842011-03-15 Alan Modra <amodra@gmail.com>
17985
17986 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
17987 l_tls_firstbyte_offset non-zero. Save padding offset in
17988 l_tls_firstbyte_offset for later use.
17989 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
17990 freeing static tls block.
17991
95721191
JN
179922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
17993
17994 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
17995 where #ifdef was intended. The intent is to prevent ARG_MAX from
17996 being defined by the kernel headers.
17997
f87dfb1f
UD
179982011-05-07 Ulrich Drepper <drepper@gmail.com>
17999
18000 [BZ #12734]
18001 * resolv/resolv.h: Define RES_NOTLDQUERY.
18002 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18003 no-tld-query and set RES_NOTLDQUERY.
18004 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18005 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18006 modern BIND to search name as TLD unless forbidden.
18007
47c3cd7a
UD
180082011-05-07 Petr Baudis <pasky@suse.cz>
18009 Ulrich Drepper <drepper@gmail.com>
18010
18011 [BZ #12393]
18012 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18013 (is_trusted_path): ...to here.
c1e9ea35 18014 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18015 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18016 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18017
8a35c912
PP
180182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18019
18020 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18021 __BEGIN/__END_DECLS.
18022
acd41f47
UD
180232011-05-06 Ulrich Drepper <drepper@gmail.com>
18024
18025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18026 NSS_STATUS_NOTFOUND if no record was found.
18027
597df647
AS
180282011-05-05 Andreas Schwab <schwab@redhat.com>
18029
18030 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18031 (headers-not-in-tirpc): Remove rpc/netdb.h
18032 * resolv/netdb.h: Revert last change.
18033
b9af1301
PP
180342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18035
18036 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18037 circular dependency between libgcc.a and libc.a.
18038
4e34d5f5
AS
180392011-05-05 Andreas Schwab <schwab@redhat.com>
18040
18041 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18042 * nis/Makefile: Don't install rpcsvc/*.
18043 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18044 instead of <rpc/types.h>.
18045 (MAXHOSTNAMELEN): Define.
18046
00ee369c
AS
180472011-05-03 Andreas Schwab <schwab@redhat.com>
18048
18049 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18050
0b592a30
MB
180512011-04-28 Maciej Babinski <mbabinski@google.com>
18052
18053 [BZ #12714]
18054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
18055 gethostbyname4_r when IPv6 results are possible.
18056
6e04cbbe
UD
180572011-05-02 Ulrich Drepper <drepper@gmail.com>
18058
18059 [BZ #12723]
18060 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
18061 _PC_PIPE_BUF handling.
18062
e4ecafe0
BH
180632011-04-30 Bruno Haible <bruno@clisp.org>
18064
18065 [BZ #12717]
18066 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
18067 * resolv/netdb.h (getnameinfo): Change type of flags parameter
18068 to 'int'.
18069 * inet/getnameinfo.c (getnameinfo): Likewise.
18070
125ee683
UD
180712011-04-29 Ulrich Drepper <drepper@gmail.com>
18072
18073 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
18074 to groups setting in database lookup.
18075 * nss/nsswitch.conf: Add initgroups entry.
18076
b722481a
EB
180772011-04-22 Ulrich Drepper <drepper@gmail.com>
18078
18079 [BZ #12685]
18080 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
18081 mode string.
18082 Patch by Eric Blake <eblake@redhat.com>.
18083
4df46dbd
L
180842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
18085
18086 * sunrpc/Makefile (need-export-routines): Add svc_run.
18087 (routines): Remove svc_run.
18088 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
18089 * sunrpc/clnt_perr.c (clnt_perrno): Export.
18090 * sunrpc/svc_run.c (svc_run): Likewise.
18091 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18092
e84142d2
UD
180932011-04-21 Ulrich Drepper <drepper@gmail.com>
18094
18095 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
18096 problem in reallocation in last patch.
18097
877175d8
UD
180982011-04-20 Ulrich Drepper <drepper@gmail.com>
18099
18100 * sunrpc/Makefile: Move inclusion of Rules.
18101
ab8eed78
UD
181022011-04-19 Ulrich Drepper <drepper@gmail.com>
18103
18104 * nss/nss_files/files-initgroups.c: New file.
18105 * nss/Makefile (libnss_files-routines): Add files-initgroups.
18106 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
18107 _nss_files_initgroups_dyn.
18108
e3d8f584
RS
181092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
18110
18111 * elf/elf.h (R_ARM_IRELATIVE): Define.
18112
af190f45
UD
181132011-04-19 Ulrich Drepper <drepper@gmail.com>
18114
18115 * po/ru.po: Update from translation team.
18116
53cf59ef
UD
181172011-04-17 Ulrich Drepper <drepper@gmail.com>
18118
18119 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
18120 dependencies.
18121
4c559bcd
MF
181222011-02-06 Mike Frysinger <vapier@gentoo.org>
18123
18124 [BZ #12653]
18125 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
18126 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
18127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18129 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18130
4420675c
AS
181312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
18132
18133 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
18134 differing bytes.
18135 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18138
75ea32ab
UD
181392011-04-17 Ulrich Drepper <drepper@gmail.com>
18140
18141 [BZ #12420]
18142 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
18143 storing it.
18144 * stdlib/bug-getcontext.c: New file.
18145 * stdlib/Makefile: Add rules to build and run bug-getcontext.
18146
27390476
AK
181472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18148
18149 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
18150 instructions into .machine "z9-109".
18151 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18152 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18153
10442705
AK
181542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18155
18156 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
18157 between environment variables and auxiliary vector.
18158
7b57bfe5
UD
181592011-04-16 Ulrich Drepper <drepper@gmail.com>
18160
18161 * Makefile: Add rules to build linkobj/libc.so.
18162 * include/libc-symbols.h: Define libc_hidden_nolink.
18163 * include/rpc/auth.h: Mark functions which are to be hidden.
18164 * include/rpc/auth_des.h: Likewise.
18165 * include/rpc/auth_unix.h: Likewise.
18166 * include/rpc/clnt.h: Likewise.
18167 * include/rpc/des_crypt.h: Likewise.
18168 * include/rpc/key_prot.h: Likewise.
18169 * include/rpc/pmap_clnt.h: Likewise.
18170 * include/rpc/pmap_prot.h: Likewise.
18171 * include/rpc/pmap_rmt.h: Likewise.
18172 * include/rpc/rpc_msg.h: Likewise.
18173 * include/rpc/svc.h: Likewise.
18174 * include/rpc/svc_auth.h: Likewise.
18175 * include/rpc/xdr.h: Likewise.
18176 * nis/Makefile: Link all DSOs against linkobj/libc.so.
18177 * nss/Makefile: Likewise.
18178 * sunrpc/Makefile: Don't install headers. Build library with normal
18179 entry points. Don't build rpcinfo. Link RPC tests appropriately.
18180 * sunrpc/auth_des.c: Hide exported symbols by default, export some
18181 for the compat linking library. Remove use of INTDEF/INTUSE.
18182 * sunrpc/auth_none.c: Likewise.
18183 * sunrpc/auth_unix.c: Likewise.
18184 * sunrpc/authdes_prot.c: Likewise.
18185 * sunrpc/authuxprot.c: Likewise.
18186 * sunrpc/clnt_gen.c: Likewise.
18187 * sunrpc/clnt_perr.c: Likewise.
18188 * sunrpc/clnt_raw.c: Likewise.
18189 * sunrpc/clnt_simp.c: Likewise.
18190 * sunrpc/clnt_tcp.c: Likewise.
18191 * sunrpc/clnt_udp.c: Likewise.
18192 * sunrpc/clnt_unix.c: Likewise.
18193 * sunrpc/des_crypt.c: Likewise.
18194 * sunrpc/des_soft.c: Likewise.
18195 * sunrpc/get_myaddr.c: Likewise.
18196 * sunrpc/key_call.c: Likewise.
18197 * sunrpc/key_prot.c: Likewise.
18198 * sunrpc/netname.c: Likewise.
18199 * sunrpc/pm_getmaps.c: Likewise.
18200 * sunrpc/pm_getport.c: Likewise.
18201 * sunrpc/pmap_clnt.c: Likewise.
18202 * sunrpc/pmap_prot.c: Likewise.
18203 * sunrpc/pmap_prot2.c: Likewise.
18204 * sunrpc/pmap_rmt.c: Likewise.
18205 * sunrpc/publickey.c: Likewise.
18206 * sunrpc/rpc_cmsg.c: Likewise.
18207 * sunrpc/rpc_common.c: Likewise.
18208 * sunrpc/rpc_dtable.c: Likewise.
18209 * sunrpc/rpc_prot.c: Likewise.
18210 * sunrpc/rpc_thread.c: Likewise.
18211 * sunrpc/rtime.c: Likewise.
18212 * sunrpc/svc.c: Likewise.
18213 * sunrpc/svc_auth.c: Likewise.
18214 * sunrpc/svc_authux.c: Likewise.
18215 * sunrpc/svc_raw.c: Likewise.
18216 * sunrpc/svc_run.c: Likewise.
18217 * sunrpc/svc_simple.c: Likewise.
18218 * sunrpc/svc_tcp.c: Likewise.
18219 * sunrpc/svc_udp.c: Likewise.
18220 * sunrpc/svc_unix.c: Likewise.
18221 * sunrpc/svcauth_des.c: Likewise.
18222 * sunrpc/xcrypt.c: Likewise.
18223 * sunrpc/xdr.c: Likewise.
18224 * sunrpc/xdr_array.c: Likewise.
18225 * sunrpc/xdr_float.c: Likewise.
18226 * sunrpc/xdr_intXX_t.c: Likewise.
18227 * sunrpc/xdr_mem.c: Likewise.
18228 * sunrpc/xdr_rec.c: Likewise.
18229 * sunrpc/xdr_ref.c: Likewise.
18230 * sunrpc/xdr_sizeof.c: Likewise.
18231 * sunrpc/xdr_stdio.c: Likewise.
18232
e6c61494
UD
182332011-04-10 Ulrich Drepper <drepper@gmail.com>
18234
18235 [BZ #12650]
18236 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
18237 * sysdeps/ia64/dl-tls.h: Likewise.
18238 * sysdeps/powerpc/dl-tls.h: Likewise.
18239 * sysdeps/s390/dl-tls.h: Likewise.
18240 * sysdeps/sh/dl-tls.h: Likewise.
18241 * sysdeps/sparc/dl-tls.h: Likewise.
18242 * sysdeps/x86_64/dl-tls.h: Likewise.
18243 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
18244
34fe483e
AS
182452011-03-14 Andreas Schwab <schwab@redhat.com>
18246
18247 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
18248 rpath element also skip the following colon.
18249 (expand_dynamic_string_token): Add is_path parameter and pass
18250 down to DL_DST_REQUIRED and _dl_dst_substitute.
18251 (decompose_rpath): Call expand_dynamic_string_token with
18252 non-zero is_path. Ignore empty rpaths.
18253 (_dl_map_object_from_fd): Call expand_dynamic_string_token
18254 with zero is_path.
18255
f12a32e6
AS
182562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
18257
18258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18259 Make cancelable.
18260
38a7d692
UD
182612011-04-09 Ulrich Drepper <drepper@gmail.com>
18262
18263 [BZ #12655]
18264 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
18265 Patch by Filipe David Manana <fdmanana@apache.org>.
18266
e451d22b
AS
182672011-04-07 Andreas Schwab <schwab@redhat.com>
18268
18269 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
18270 Maintain aligned stack.
18271 (CHECK_RSP): Remove unused macro.
18272
dedc7c7b
UD
182732011-04-03 Ulrich Drepper <drepper@gmail.com>
18274
18275 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
18276 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
18277
94521213
UD
182782011-04-02 Ulrich Drepper <drepper@gmail.com>
18279
18280 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
18281
8cb700c0 18282 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 18283
0354e355
L
182842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
18285
18286 [BZ #12518]
18287 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
18288 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
18289 * sysdeps/x86_64/memmove.c: New file.
18290 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
18291 (memcpy): Renamed to ...
18292 (__new_memcpy): This.
18293 (memcpy): Provide GLIBC_2_14 memcpy.
18294 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
18295 (memcpy): Provide GLIBC_2_2_5 memcpy.
18296
8593482f
UD
182972011-04-01 Ulrich Drepper <drepper@gmail.com>
18298
18299 [BZ #12631]
18300 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
18301
81a5726b
AS
183022011-03-30 Andreas Schwab <schwab@redhat.com>
18303
18304 * misc/syncfs.c: New file.
18305 * misc/Makefile (routines): Add syncfs.
18306 * posix/unistd.h: Declare syncfs.
18307 * sysdeps/unix/syscalls.list: Add syncfs.
18308
00e5419f
AS
183092011-04-01 Andreas Schwab <schwab@redhat.com>
18310
18311 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
18312 open_by_handle_at.
18313 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18315 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18318 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
18319 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18320
748876bf
UD
183212011-04-01 Ulrich Drepper <drepper@gmail.com>
18322
658e451d
UD
18323 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
18324 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
18326 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18327 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18328 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18329 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18330
748876bf
UD
18331 * io/Makefile: Compile fallocate.c, fallocate64.c, and
18332 sync_file_range.c with -fexceptions.
18333 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
18334 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
18335 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
18336 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
18337 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
18338 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
18340 sync_file_range as cancellation point
18341 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
18342 now a wrapper around __call_sync_file_range with cancellation handling.
18343 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
18344 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
18345 function name to __call_sync_file_range.
18346 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
18347 Add call_sync_file_range.
748876bf 18348
6e63d5e1
AS
183492011-04-01 Andreas Schwab <schwab@redhat.com>
18350
18351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 18352 bits/timex.h.
6e63d5e1 18353
46998f74
UD
183542011-04-01 Ulrich Drepper <drepper@gmail.com>
18355
4c1423ed
UD
18356 * iconv/iconv.h: Fix typo in comment.
18357 * io/fcntl.h: Likewise.
18358 * libio/stdio.h: Likewise.
18359 * posix/spawn.h: Likewise.
18360 * posix/unistd.h: Likewise.
18361 * stdlib/stdlib.h: Likewise.
18362 * time/time.h: Likewise.
18363 * wcsmbs/wchar.h: Likewise.
18364
158648c0
UD
18365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
18366 open_by_handle): Add.
18367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
18368 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
18369 Augment a few comments.
18370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
18371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18374 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18375 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
18376 open_by_handle.
18377
46998f74
UD
18378 * io/fcntl.h (AT_EMPTY_PATH): Define.
18379
83fe108b
UD
183802011-03-30 Ulrich Drepper <drepper@gmail.com>
18381
18382 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
18383 * sysdeps/unix/sysv/linux/bits/time.h: New file.
18384 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
18385 to...
18386 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
18387 * Versions.def: Add GLIBC_2.14.
18388 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
18389 Export.
83fe108b 18390
bb242059
UD
183912011-03-22 Ulrich Drepper <drepper@gmail.com>
18392
18393 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
18394 round counter.
18395 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18396
c97a1282
L
183972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
18398
18399 [BZ #12597]
18400 * string/test-strncmp.c (do_page_test): New function.
18401 (check2): Likewise.
18402 (test_main): Call check2.
18403 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
18404
2a115601
UD
184052011-03-20 Ulrich Drepper <drepper@gmail.com>
18406
18407 [BZ #12587]
18408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
18409 Handle cache information in CPU leaf 4.
18410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
18411
8126d904
UD
184122011-03-18 Ulrich Drepper <drepper@gmail.com>
18413
042c49c6 18414 [BZ #12583]
8126d904
UD
18415 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
18416 character representation.
18417 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
18418
ccfe366e
RA
184192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
18420
18421 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
18422 END(__isnan) to END(__isnanf) to match function entry point/label
18423 EALIGN(__isnanf,...).
18424
c6e13027
JJ
184252011-03-10 Jakub Jelinek <jakub@redhat.com>
18426
18427 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
18428
33f85a3f
UD
184292011-03-10 Ulrich Drepper <drepper@gmail.com>
18430
028478fa
UD
18431 [BZ #12510]
18432 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
18433 copy from the symbol referenced in the relocation to initialize the
18434 used variable.
18435 Patch by Piotr Bury <pbury@goahead.com>.
18436 * elf/Makefile: Add rules to build and tst-unique3.
18437 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
18438 * elf/tst-unique3.cc: New file.
18439 * elf/tst-unique3.h: New file.
18440 * elf/tst-unique3lib.cc: New file.
18441 * elf/tst-unique3lib2.cc: New file.
18442
33f85a3f
UD
18443 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
18444
03592fc7
MF
184452011-03-10 Mike Frysinger <vapier@gentoo.org>
18446
18447 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
18448 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
18449 to _start.
03592fc7 18450
6a5ee102
UD
184512011-03-06 Ulrich Drepper <drepper@gmail.com>
18452
18453 * elf/dl-load.c (_dl_map_object): If we are looking for the first
18454 to-be-loaded object along a path to loader is ld.so.
18455
7e4ba49c
HJ
184562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18457 Ulrich Drepper <drepper@gmail.com>
18458
18459 * sysdeps/x86_64/memset.S: After aligning destination, code
18460 branches to different locations depending on the value of
18461 misalignment, when multiarch is enabled. Fix this.
18462
184632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
18464
18465 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
18466 Set _x86_64_preferred_memory_instruction for AMD processsors.
18467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18468 Set bit_Prefer_SSE_for_memop for AMD processors.
18469
13a804de
UD
184702011-03-04 Ulrich Drepper <drepper@gmail.com>
18471
18472 * libio/fmemopen.c (fmemopen): Optimize a bit.
18473
9d25c392
AS
184742011-03-03 Andreas Schwab <schwab@redhat.com>
18475
18476 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
18477
a5543c6a
RM
184782011-03-03 Roland McGrath <roland@redhat.com>
18479
18480 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
18481
012d35f7
DM
184822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
18483
7e4ba49c 18484 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
18485 __bzero_ultra1 instead of __memset_ultra1.
18486
4bff6e01
AS
184872011-02-23 Andreas Schwab <schwab@redhat.com>
18488 Ulrich Drepper <drepper@gmail.com>
18489
18490 [BZ #12509]
18491 * include/link.h (struct link_map): Add l_orig_initfini.
18492 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
18493 returning unsuccessfully.
18494 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
18495 close of a file loaded at startup, restore the original l_initfini
18496 list.
18497 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
18498 list, store the pointer.
18499 * elf/Makefile ($(objpfx)noload-mem): New rule.
18500 (noload-ENV): Define.
18501 (tests): Add $(objpfx)noload-mem.
18502 * elf/noload.c: Include <memcheck.h>.
18503 (main): Call mtrace. Close all opened handles.
18504
f2092faf
AS
185052011-02-17 Andreas Schwab <schwab@redhat.com>
18506
18507 [BZ #12454]
18508 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
18509 dependencies are missing.
18510
6c8a2e88
ST
185112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
18512
f2092faf 18513 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
18514 Hurd needs munmap.
18515 * sysdeps/mach/hurd/ifreq.h: New file.
18516
84a42118
PB
185172011-01-27 Petr Baudis <pasky@suse.cz>
18518 Ulrich Drepper <drepper@gmail.com>
18519
071f805e 18520 [BZ 12445]#
84a42118
PB
18521 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
18522 to extend_alloca().
18523 * stdio-common/bug23.c: New file.
18524 * stdio-common/Makefile (tests): Add bug23.
18525
e23fe25b
AS
185262010-09-28 Andreas Schwab <schwab@redhat.com>
18527 Ulrich Drepper <drepper@gmail.com>
18528
18529 [BZ #12489]
18530 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
18531 before performing relro protection. At old place add assertion
18532 to make sure nothing changed.
18533
d3f02e10
NS
185342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
18535 Glauber de Oliveira Costa <glommer@gmail.com>
18536
18537 * elf/elf.h: Add new ARM TLS relocs.
18538
d55fd7a5
RA
185392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
18540
18541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18542 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
18543 cast from r3.
18544 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
18545 'tests' variable.
18546 * sysdeps/wordsize-64/tst-writev.c: New file.
18547
2206397e
RA
185482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
18549
18550 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
18551 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
18552 insns in _dl_start to prevent a TOC reference before relocs are
18553 resolved.
18554
e9433893
UD
185552011-02-15 Ulrich Drepper <drepper@gmail.com>
18556
18557 [BZ #12469]
18558 * Makeconfig: Remove RANLIB definition.
18559 * Makerules: Don't use RANLIB.
18560 * aclocal.m4: Remove ranlib test.
18561 * configure.in: No need to check for ranlib.
18562 * elf/rtld-Rules: Don't use RANLIB.
18563
f75286c6
ST
185642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
18565
8e31c82d
ST
18566 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
18567 protection macro.
18568 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
18569 inclusion protection macro.
18570
f75286c6
ST
18571 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
18572 SIGRTMIN and SIGRTMAX and print information in that case only when
18573 SIGRTMIN is defined.
18574
c1d0e639
JJ
185752011-02-11 Jakub Jelinek <jakub@redhat.com>
18576
18577 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
18578 arginfo fn returning -1.
18579
18580 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
18581 and thousands string is zero terminated.
18582
edf9294e
AS
185832011-02-03 Andreas Schwab <schwab@redhat.com>
18584
18585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
18586 sysdeps/unix/sysv/linux/bits/socket.h.
18587
2b7e92df
ST
185882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18589
edf9294e
AS
18590 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
18591 (__CPU_COUNT): Remove old macros.
18592 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
18593 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
18594 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
18595 (__sched_cpualloc, __sched_cpufree): Add declarations.
18596
a4c7ea7b
UD
185972011-02-05 Ulrich Drepper <drepper@gmail.com>
18598
18599 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
18600 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
18601 * nscd/aicache.c (addhstaiX): Return timeout of added value.
18602 (readdhstai): Return value of addhstaiX call.
18603 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
18604 (addgrbyX): Return value returned by cache_addgr.
18605 (readdgrbyname): Return value returned by addgrbyX.
18606 (readdgrbygid): Likewise.
18607 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
18608 (addpwbyX): Return value returned by cache_addpw.
18609 (readdpwbyname): Return value returned by addhstbyX.
18610 (readdpwbyuid): Likewise.
18611 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
18612 (addservbyX): Return value returned by cache_addserv.
18613 (readdservbyname): Return value returned by addservbyX:
18614 (readdservbyport): Likewise.
18615 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
18616 (addhstbyX): Return value returned by cache_addhst.
18617 (readdhstbyname): Return value returned by addhstbyX.
18618 (readdhstbyaddr): Likewise.
18619 (readdhstbynamev6): Likewise.
18620 (readdhstbyaddrv6): Likewise.
18621 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
18622 (readdinitgroups): Return value returned by addinitgroupsX.
18623 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
18624 (prune_cache): Keep track of timeout value of re-added entries.
18625 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
18626 * nscd/nscd.h: Adjust prototypes of readd* functions.
18627
a0bf67cc
RM
186282011-02-04 Roland McGrath <roland@redhat.com>
18629
18630 * nis/nis_server.c (nis_servstate): Use the right name for 0.
18631 (nis_stats): Likewise.
18632 * nis/nis_modify.c (nis_modify): Likewise.
18633 * nis/nis_remove.c (nis_remove): Likewise.
18634 * nis/nis_add.c (nis_add): Likewise.
18635
18636 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
18637
18638 * posix/fnmatch_loop.c: Add some consts.
18639
18640 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
18641
435b95eb
L
186422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
18643
18644 [BZ #12460]
18645 * config.make.in (config-cflags-novzeroupper): Define.
18646 * configure.in: Substitute libc_cv_cc_novzeroupper.
18647 * elf/Makefile (AVX-CFLAGS): Define.
18648 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
18649 (CFLAGS-tst-auditmod4a.c): Likewise.
18650 (CFLAGS-tst-auditmod4b.c): Likewise.
18651 (CFLAGS-tst-auditmod6b.c): Likewise.
18652 (CFLAGS-tst-auditmod6c.c): Likewise.
18653 (CFLAGS-tst-auditmod7b.c): Likewise.
18654 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
18655
8517b15e
UD
186562011-02-02 Ulrich Drepper <drepper@gmail.com>
18657
18658 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
18659 function to the callback.
18660 Patch partly by Jiri Olsa <jolsa@redhat.com>.
18661
10a656fe
AS
186622011-02-02 Andreas Schwab <schwab@redhat.com>
18663
18664 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
18665 of errno.
18666
968dad0a
UD
186672011-01-19 Ulrich Drepper <drepper@gmail.com>
18668
9f94d2ea 18669 [BZ #11724]
968dad0a
UD
18670 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
18671 of constructors.
18672 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
18673 of destructors.
18674 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
18675
18676 [BZ #11724]
18677 * elf/Makefile: Add rules to build and run new test.
18678 * elf/tst-initorder.c: New file.
18679 * elf/tst-initorder.exp: New file.
18680 * elf/tst-initordera1.c: New file.
18681 * elf/tst-initordera2.c: New file.
18682 * elf/tst-initordera3.c: New file.
18683 * elf/tst-initordera4.c: New file.
18684 * elf/tst-initorderb1.c: New file.
18685 * elf/tst-initorderb2.c: New file.
18686 * elf/tst-order-a1.c: New file.
18687 * elf/tst-order-a2.c: New file.
18688 * elf/tst-order-a3.c: New file.
18689 * elf/tst-order-a4.c: New file.
18690 * elf/tst-order-b1.c: New file.
18691 * elf/tst-order-b2.c: New file.
18692 * elf/tst-order-main.c: New file.
18693 New test case by George Gensure <werkt0@gmail.com>.
18694
86e92359
UD
186952010-10-01 Andreas Schwab <schwab@redhat.com>
18696
18697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
18698 decoding ACE if AI_CANONIDN.
18699
5d5732b0
UD
187002011-01-18 Ulrich Drepper <drepper@gmail.com>
18701
18702 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
18703
a77e8cbc
UD
187042011-01-17 Ulrich Drepper <drepper@gmail.com>
18705
6392473f
UD
18706 * version.h (RELEASE): Bump for 2.13 release.
18707 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
18708
620a0529
UD
18709 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
18710
18ba70a5
UD
18711 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
18712 MADV_NOHUGEPAGE.
32465c3e
UD
18713 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
18714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18715 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18716 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18717 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18719
c0dafcf1
UD
18720 * posix/getconf.c: Update copyright year.
18721 * catgets/gencat.c: Likewise.
18722 * csu/version.c: Likewise.
18723 * debug/catchsegv.sh: Likewise.
18724 * debug/xtrace.sh: Likewise.
18725 * elf/ldconfig.c: Likewise.
18726 * elf/ldd.bash.in: Likewise.
18727 * elf/sprof.c (print_version): Likewise.
18728 * iconv/iconv_prog.c: Likewise.
18729 * iconv/iconvconfig.c: Likewise.
18730 * locale/programs/locale.c: Likewise.
18731 * locale/programs/localedef.c: Likewise.
18732 * malloc/memusage.sh: Likewise.
18733 * malloc/mtrace.pl: Likewise.
18734 * nscd/nscd.c (print_version): Likewise.
18735 * nss/getent.c: Likewise.
18736
a77e8cbc
UD
18737 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
18738 PF_CAIF, and PF_ALG.
18739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18740
77e8bddf
AS
187412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
18742
1f20b93a
AS
18743 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
18744 (modules-names): Use them.
18745 (ifunc-test-modules, ifunc-pie-tests): Define.
18746 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
18747 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
18748 (test-extras): Likewise.
18749 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
18750 $(compile-command.c).
18751 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
18752 (all-built-dso): Define.
18753 (check-textrel.out, check-execstack.out): Depend on it.
18754
77e8bddf
AS
18755 * configure.in: Don't override --enable-multi-arch.
18756
bc425b33
UD
187572011-01-15 Ulrich Drepper <drepper@gmail.com>
18758
18759 [BZ #6812]
18760 * nscd/hstcache.c (tryagain): Define.
18761 (cache_addhst): Return tryagain not notfound for temporary errors.
18762 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
18763 failed.
18764
794c3ad3
UD
187652011-01-14 Ulrich Drepper <drepper@gmail.com>
18766
70181fdd
UD
18767 [BZ #10563]
18768 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
18769 to make the syscall.
18770 * sysdeps/unix/sysv/linux/setgroups.c: New file.
18771
794c3ad3
UD
18772 [BZ #12378]
18773 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
18774 and fall back to matching as normal character if the string ends before
18775 the matching ']' is found. This is what POSIX requires.
18776 * posix/testfnm.c: Adjust test result.
18777 * posix/globtest.sh: Adjust test result. Add new test.
18778 * posix/tst-fnmatch.input: Likewise.
18779 * posix/tst-fnmatch2.c: Add new test.
18780
68dc9497
AS
187812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
18782
18783 * elf/Makefile (check-execstack): Revert last change. Depend on
18784 check-execstack.h.
18785 (check-execstack.h): New target.
18786 (generated): Add check-execstack.h.
18787 * elf/check-execstack.c: Include "check-execstack.h".
18788 (main): Revert last change.
18789 (handle_file): Return zero if GNU_STACK is absent and
18790 DEFAULT_STACK_PERMS doesn't include PF_X.
18791
451f001b
UD
187922011-01-13 Ulrich Drepper <drepper@gmail.com>
18793
cfa28e56
UD
18794 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
18795 in child fails because the descriptor is already closed.
8cf8ce17
UD
18796 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
18797 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
18798 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 18799
1086d70d
UD
18800 [BZ #12397]
18801 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
18802 syscall.
18803
451f001b
UD
18804 [BZ #10484]
18805 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
18806 temporary buffer used to handle multi lookups locally.
a85b5cb4 18807 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 18808
08769175
UD
188092011-01-12 Ulrich Drepper <drepper@gmail.com>
18810
18811 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
18812 loader is ld.so.
18813
5e49c52e
UD
188142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
18815
18816 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
18817 alignment for SSE2.
18818
60522a5f
UD
188192011-01-12 Ulrich Drepper <drepper@gmail.com>
18820
18821 [BZ #12394]
18822 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
18823 characters. When rounding increased number of integer digits recompute
18824 number of groups.
18825 * stdio-common/tst-grouping.c: New file.
18826 * stdio-common/Makefile: Add rules to build and run tst-grouping.
18827
f257bbd7
UD
188282011-01-09 Ulrich Drepper <drepper@gmail.com>
18829
18830 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
18831 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
18832
18833 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
18834 void.
18835 * bits/select.h: Likewise.
18836
fa9c15cb
UD
188372011-01-08 Ulrich Drepper <drepper@gmail.com>
18838
18839 * po/ja.po: Update from translation team.
18840
16c2895f
DM
188412011-01-04 David S. Miller <davem@sunset.davemloft.net>
18842
18843 [BZ #11155]
18844 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
18845 implementation just like for lxstat, fxstatat, et al.
18846
2543fef2
JM
188472010-12-27 Jim Meyering <meyering@redhat.com>
18848
18849 [BZ #12348]
18850 * posix/regexec.c (build_trtable): Return failure indication upon
18851 calloc failure. Otherwise, re_search_internal could infloop on OOM.
18852
98727dbe
UD
188532010-12-25 Ulrich Drepper <drepper@gmail.com>
18854
5bd6dc5c
UD
18855 [BZ #12201]
18856 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
18857 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
18858 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
18859 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
18860
97983464
UD
18861 [BZ #12207]
18862 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
18863
98727dbe
UD
18864 [BZ #12204]
18865 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
18866 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
18867
4a531bb0
L
188682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
18869
18870 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
18871 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
18872 script has SORT_BY_INIT_PRIORITY.
18873 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
18874 NO_CTORS_DTORS_SECTIONS is defined.
18875 * elf/soinit.c: Likewise.
18876 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
18877 NO_CTORS_DTORS_SECTIONS is defined.
18878 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
18879 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
18880 * sysdeps/sh/init-first.c: Likewise.
18881 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
18882
07eb4b71
UD
188832010-12-24 Ulrich Drepper <drepper@gmail.com>
18884
18885 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
18886 always use the slow path.
18887
30950a5f
RA
188882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
18889
18890 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
18891 similar rule which adds the sysdep directories to the header search in
18892 order to pick up the correct platform stackinfo.h.
18893 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
18894 perform test if it is, otherwise return successfully without testing.
18895 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
18896 DEFAULT_STACK_PERMS define in stackinfo.h.
18897 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
18898 defined in stackinfo.h.
18899 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
18900 DEFAULT_STACK_PERMS defined in stackinfo.h.
18901 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
18902 * sysdeps/ia64/stackinfo.h: Likewise.
18903 * sysdeps/s390/stackinfo.h: Likewise.
18904 * sysdeps/sh/stackinfo.h: Likewise.
18905 * sysdeps/sparc/stackinfo.h: Likewise.
18906 * sysdeps/x86_64/stackinfo.h: Likewise.
18907 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
18908 PF_X for powerpc64. Retain PF_X for powerpc32.
18909
db753e2c
UD
189102010-12-19 Ulrich Drepper <drepper@gmail.com>
18911
14b697f7
UD
18912 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
18913 accurately.
db753e2c
UD
18914 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
18915 GETDENTS_64BIT_ALIGNED.
18916
28300719
UD
189172010-12-14 Ulrich Drepper <dreper@gmail.com>
18918
14b697f7 18919 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 18920
4f197237
AS
189212010-12-10 Andreas Schwab <schwab@redhat.com>
18922
dbb0472f
AS
18923 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
18924 _GNU_SOURCE.
18925
4f197237
AS
18926 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
18927 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
18928 Remove __restrict.
18929 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
18930 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
18931
fb88ac72
UD
189322010-12-09 Ulrich Drepper <drepper@gmail.com>
18933
18934 [BZ #11655]
18935 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
18936 are initialized.
18937
42acbb92
JJ
189382010-12-09 Jakub Jelinek <jakub@redhat.com>
18939
18940 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
18941
c038d98d
UD
189422010-12-03 Ulrich Drepper <drepper@gmail.com>
18943
18944 * po/it.po: Update from translation team.
18945
3a4a2499
L
189462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
18947
18948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
18949 unused codes.
18950
1e24cf6e
UD
189512010-11-30 Ulrich Drepper <drepper@gmail.com>
18952
18953 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
18954
a7690819
AS
189552010-11-24 Andreas Schwab <schwab@redhat.com>
18956
18957 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
18958 specially.
18959 (gaih_getanswer_slice): Likewise.
18960
3bf8d1b1
JJ
189612010-10-20 Jakub Jelinek <jakub@redhat.com>
18962
18963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
18964
6db52fbb
PB
189652010-05-31 Petr Baudis <pasky@suse.cz>
18966
18967 [BZ #11149]
18968 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
18969 silently even in the chroot mode.
18970
eaca7569
UD
189712010-11-22 Ulrich Drepper <drepper@gmail.com>
18972
18973 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
18974 last patch a bit. Pretty printing
18975
3056dcdb
UD
189762010-05-31 Petr Baudis <pasky@suse.cz>
18977
18978 [BZ #10085]
18979 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
18980 initialization of skip_initgroups_dyn.
18981
cf7c9078
UD
189822010-11-19 Ulrich Drepper <drepper@gmail.com>
18983
18984 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
18985 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
18986
a1fb5e3e
UD
189872010-11-16 Ulrich Drepper <drepper@gmail.com>
18988
18989 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
18990
3540d66b
AS
189912010-11-11 Andreas Schwab <schwab@redhat.com>
18992
18993 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
18994 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
18995 (tst-fnmatch-ENV): Set MALLOC_TRACE.
18996 ($(objpfx)tst-fnmatch-mem): New rule.
18997 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
18998 * posix/tst-fnmatch.c (main): Call mtrace.
18999
13b69574
L
190002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19001
19002 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19003 Support Intel processor model 6 and model 0x2c.
19004
da93d214
LM
190052010-11-10 Luis Machado <luisgpm@br.ibm.com>
19006
19007 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19008 signed comparison.
19009
8ca52c6e
L
190102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19011
19012 [BZ #12205]
19013 * string/test-strncasecmp.c (check_result): New function.
19014 (do_one_test): Use it.
19015 (check1): New function.
19016 (test_main): Use it.
19017 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19018 Support strcasecmp and strncasecmp.
19019
69da074d
UD
190202010-11-08 Ulrich Drepper <drepper@gmail.com>
19021
19022 [BZ #12194]
19023 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19024 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19025
ff02d528
L
190262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19027
19028 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19029 IFUNC support.
19030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19031 memset-x86-64.
19032 * sysdeps/x86_64/multiarch/bzero.S: New file.
19033 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19034 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19035 * sysdeps/x86_64/multiarch/memset.S: New file.
19036 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19038 Set bit_Prefer_SSE_for_memop for Intel processors.
19039 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19040 Define.
19041 (index_Prefer_SSE_for_memop): Define.
19042 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19043
344d0b54
LM
190442010-11-04 Luis Machado <luisgpm@br.ibm.com>
19045
19046 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19047 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19048
c0dde15b
UD
190492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19050
19051 [BZ #12191]
19052 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19053 (__x86_64_raw_data_cache_size_half): Likewise.
19054 (__x86_64_raw_shared_cache_size): Likewise.
19055 (__x86_64_raw_shared_cache_size_half): Likewise.
19056
19057 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
19058 (__x86_64_raw_data_cache_size_half): Likewise.
19059 (__x86_64_raw_shared_cache_size): Likewise.
19060 (__x86_64_raw_shared_cache_size_half): Likewise.
19061 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
19062 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
19063 and __x86_64_raw_shared_cache_size_half. Round
19064 __x86_64_data_cache_size_half, __x86_64_data_cache_size
19065 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
19066 to multiple of 256 bytes.
19067
0e516e0e
MS
190682010-11-03 Ulrich Drepper <drepper@gmail.com>
19069
19070 [BZ #12167]
19071 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
19072 of inacessible symlinks. Verify result of symlink before returning it.
19073 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19074 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
19075
0e012e87
ER
190762010-10-28 Erich Ritz <erichritz@gmail.com>
19077
19078 * math/math.h (isinf): Fix typo in comment.
19079
de0ff7bc
UD
190802010-11-01 Ulrich Drepper <drepper@gmail.com>
19081
19082 * po/da.po: Update from translation team.
19083
fa41c84d
UD
190842010-10-26 Ulrich Drepper <drepper@gmail.com>
19085
19086 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
19087 is added to the list.
19088
f0967738
AK
190892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19090 Ulrich Drepper <drepper@gmail.com>
19091
19092 * elf/dl-object.c (_dl_new_object): Don't append the new object to
19093 the global list here. Move code to...
19094 (_dl_add_to_namespace_list): ...here. New function.
19095 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
19096 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
19097 * elf/dl-load.c (lose): Don't remove the element from the list.
19098 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
19099 (_dl_map_object): Likewise.
19100
191012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
19102
19103 [BZ #12159]
19104 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
19105 into all bytes of SSE register.
19106 Patch by Richard Li <richardpku@gmail.com>.
19107
f0967738 191082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
19109
19110 [BZ #12140]
19111 * malloc/malloc.c (_int_free): Fill correct number of bytes when
19112 perturbing.
19113
d0b9e94f
MB
191142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
19115
19116 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
19117 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
19118 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
19119 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
19121 submachine.
19122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
19123
8e9f92e9
AS
191242010-10-22 Andreas Schwab <schwab@redhat.com>
19125
19126 * include/dlfcn.h (__RTLD_SECURE): Define.
19127 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
19128 mode & __RTLD_SECURE instead.
19129 (open_path): Rename preloaded parameter to secure.
19130 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
19131 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
19132 * elf/dl-deps.c (openaux): Likewise.
19133 * elf/rtld.c (struct map_args): Remove is_preloaded.
19134 (map_doit): Don't use it.
19135 (dl_main): Likewise.
19136 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
19137 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
19138
bc96fbda
AS
191392010-09-09 Andreas Schwab <schwab@redhat.com>
19140
19141 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
19142 (sysd-rules-targets): Remove duplicates.
19143 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
19144 rtld-%.$o dependency.
19145
22cd1c9b
AS
191462010-10-18 Andreas Schwab <schwab@redhat.com>
19147
19148 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
19149 _dl_map_object do it.
19150
18edac48
UD
191512010-10-19 Ulrich Drepper <drepper@gmail.com>
19152
19153 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
19154 fast fma builtins, define the macros in the C99 standard.
19155 (FP_FAST_FMAF): Likewise.
19156 (FP_FAST_FMAL): Likewise.
19157 * sysdeps/x86_64/bits/mathdef.h: Likewise.
19158
19159 * bits/mathdef.h: Update copyright year.
19160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19161
d2050124
MM
191622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
19163
19164 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
19165 builtins, define the macros in the C99 standard.
19166 (FP_FAST_FMAF): Likewise.
19167 (FP_FAST_FMAL): Likewise.
19168 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
19169 multiply/add.
19170 (FP_FAST_FMAF): Likewise.
19171
475facd1
JJ
191722010-10-15 Jakub Jelinek <jakub@redhat.com>
19173
19174 [BZ #3268]
19175 * math/libm-test.inc (fma_test): Some new testcases.
19176 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
19177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
19178 y and infinite z. Do multiplication by C already in long double.
19179 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
19180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
19181 y and infinite z. Do bitwise or of inexact bit into u.d.
19182 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
19183 * sysdeps/i386/fpu/s_fmaf.S: Removed.
19184 * sysdeps/i386/fpu/s_fma.S: Removed.
19185 * sysdeps/i386/fpu/s_fmal.S: Removed.
19186
7c08a05c
JJ
191872010-10-16 Jakub Jelinek <jakub@redhat.com>
19188
19189 [BZ #3268]
19190 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
19191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
19192 computation is not scheduled after fetestexcept. Fix value
19193 of minimum denormal long double.
19194
f3f7372d
JJ
191952010-10-14 Jakub Jelinek <jakub@redhat.com>
19196
19197 [BZ #3268]
19198 * math/libm-test.inc (fma_test): Add some more tests.
19199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
19200 correctly.
19201
14d43591
AS
192022010-10-15 Andreas Schwab <schwab@redhat.com>
19203
19204 * scripts/data/localplt-s390-linux-gnu.data: New file.
19205 * scripts/data/localplt-s390x-linux-gnu.data: New file.
19206
5e908464
JJ
192072010-10-13 Jakub Jelinek <jakub@redhat.com>
19208
19209 [BZ #3268]
19210 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
19211 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
19212 instead of dbl-64.
19213 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
19214 inlines.
19215 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
19216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
19217 if one of x and y is very large and the other is subnormal.
19218 * sysdeps/s390/fpu/s_fmaf.c: New file.
19219 * sysdeps/s390/fpu/s_fma.c: New file.
19220 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
19221 * sysdeps/powerpc/fpu/s_fma.S: New file.
19222 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
19223 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
19224 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
19225
192262010-10-12 Jakub Jelinek <jakub@redhat.com>
19227
19228 [BZ #3268]
19229 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
19230 fma tests.
19231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
19232 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
19233 * sysdeps/i386/i686/multiarch/s_fma.c: Include
19234 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
19235 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
19236 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
19237 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
19238
b833d51f
UD
192392010-10-12 Ulrich Drepper <drepper@redhat.com>
19240
19241 [BZ #12078]
19242 * posix/regcomp.c (parse_branch): One more memory leak plugged.
19243 * posix/bug-regex31.input: Add test case.
19244
1751705d
UD
192452010-10-11 Ulrich Drepper <drepper@gmail.com>
19246
e9b9cbf5
UD
19247 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
19248 * posix/bug-regex31.input: New file.
19249
19250 [BZ #12078]
19251 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
19252 (parse_sub_exp): Fix last change, use postorder.
19253
ef06edbe
UD
19254 * posix/bug-regex31.c: New file.
19255 * posix/Makefile: Add rules to build and run bug-regex31.
19256
a129c80d
UD
19257 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
19258
19259 [BZ #12078]
19260 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
19261
b76b818e
UD
19262 [BZ #12108]
19263 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
19264 to have entries in sys_siglist.
19265
1751705d
UD
19266 [BZ #12093]
19267 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
19268 be NULL.
19269
9ff8d36f
JJ
192702010-10-07 Jakub Jelinek <jakub@redhat.com>
19271
19272 [BZ #3268]
19273 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
19274 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
19275 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
19276 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
19277 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19278 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
19279 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
19280 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
19281 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
19282 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
19283 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
19284 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
19285 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19286 * math/ftestexcept.c (fetestexcept): Likewise.
19287 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
19288 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
19289 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19290 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
19291 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
19292 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
19293 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19294
af325969
UD
192952010-10-11 Ulrich Drepper <drepper@gmail.com>
19296
c579b202 19297 [BZ #12107]
af325969
UD
19298 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
19299 newline.
19300
67a67b95
UD
193012010-10-06 Ulrich Drepper <drepper@gmail.com>
19302
19303 * string/bug-strstr1.c: New file.
19304 * string/Makefile: Add rules to build and run bug-strstr1.
19305
5fb308bc
EB
193062010-10-05 Eric Blake <eblake@redhat.com>
19307
19308 [BZ #12092]
19309 * string/str-two-way.h (two_way_long_needle): Always clear memory
19310 when skipping input due to the shift table.
19311
45db99c7
UD
193122010-10-03 Ulrich Drepper <drepper@gmail.com>
19313
3b111893
UD
19314 [BZ #12005]
19315 * malloc/mcheck.c: Handle large requests.
19316
45db99c7
UD
19317 [BZ #12077]
19318 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
19319 for strncmp and strncasecmp.
19320 * string/stratcliff.c: Add tests for strcmp and strncmp.
19321 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
19322
cf7a1eb8
NI
193232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19324
19325 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
19326 __set_fpscr.
19327
6484ba5e
AJ
193282010-09-30 Andreas Jaeger <aj@suse.de>
19329
19330 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
19331 (CGROUP_SUPER_MAGIC): Define.
19332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19333 Handle btrfs and cgroup file systems.
19334 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19335 Likewise.
19336
91c42559
LM
193372010-09-27 Luis Machado <luisgpm@br.ibm.com>
19338
19339 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
19340 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
19341
87a97932
AK
193422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19343
19344 [BZ #12067]
19345 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
19346 trying to locate the ELF header.
19347
c21cc9bc
AS
193482010-09-27 Andreas Schwab <schwab@redhat.com>
19349
19350 [BZ #11611]
19351 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
19352 Mask out sign-bit copies when constructing f_fsid.
19353
315970f6
PB
193542010-09-24 Petr Baudis <pasky@suse.cz>
19355
19356 * debug/stack_chk_fail_local.c: Add missing licence exception.
19357 * debug/warning-nop.c: Likewise.
19358
1ac7a2c7
JM
193592010-09-15 Joseph Myers <joseph@codesourcery.com>
19360
19361 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
19362 implementing getdents64 using getdents syscall, set d_type if
19363 __ASSUME_GETDENTS32_D_TYPE.
19364
56801c50
AS
193652010-09-16 Andreas Schwab <schwab@redhat.com>
19366
19367 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
19368 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
19369
dda51327
UD
193702010-09-21 Ulrich Drepper <drepper@redhat.com>
19371
19372 [BZ #12037]
19373 * posix/unistd.h: Undo change of feature selection for ftruncate from
19374 2010-01-11.
19375
8ffcee4a
UD
193762010-09-20 Ulrich Drepper <drepper@redhat.com>
19377
a545ecd9 19378 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
19379 detection.
19380
e24f0a8b
AS
193812010-09-20 Andreas Schwab <schwab@redhat.com>
19382
19383 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
19384 fanotify_mark.
19385 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19386
7291c56f
AS
193872010-09-14 Andreas Schwab <schwab@redhat.com>
19388
19389 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
19390 variables after CHECK_SP call.
19391 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
19392
bc5fb037
AS
193932010-09-13 Andreas Schwab <schwab@redhat.com>
19394 Ulrich Drepper <drepper@redhat.com>
19395
19396 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
19397 re-relocationg ld.so.
19398 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
19399 _dl_init_paths call.
19400 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
19401 here anymore.
19402
e66e7419
UD
194032010-09-14 Ulrich Drepper <drepper@redhat.com>
19404
19405 * resolv/res_init.c (__res_vinit): Count the default server we added.
19406
c044aa75
CLT
194072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
19408 Ulrich Drepper <drepper@redhat.com>
19409
19410 [BZ #11968]
19411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19412 (____longjmp_chk): Use %ebx for saving value across system call.
19413 Add unwind info.
19414
32cf4069
AS
194152010-09-06 Andreas Schwab <schwab@redhat.com>
19416
19417 * manual/Makefile: Don't mix pattern rules with normal rules.
19418
817328ee
AS
194192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
19420
19421 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
19422 operation.
19423 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
19424 * libio/iofopncook.c (_IO_cookie_init): Likewise.
19425 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
19426 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19427 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19428 Likewise.
19429
29fddf61
UD
194302010-09-04 Ulrich Drepper <drepper@redhat.com>
19431
19432 [BZ #11979]
19433 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
19434 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
19435
0959ffc9
UD
194362010-09-02 Ulrich Drepper <drepper@redhat.com>
19437
19438 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
19439 * sysdeps/x86_64/addmul_1.S: Likewise.
19440 * sysdeps/x86_64/lshift.S: Likewise.
19441 * sysdeps/x86_64/mul_1.S: Likewise.
19442 * sysdeps/x86_64/rshift.S: Likewise.
19443 * sysdeps/x86_64/sub_n.S: Likewise.
19444 * sysdeps/x86_64/submul_1.S: Likewise.
19445
ece29840
ST
194462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
19447
0959ffc9
UD
19448 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
19449 Define __sched_param instead of SCHED_* and sched_param when
ece29840 19450 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 19451 * bits/sched.h [__need_schedparam]
ece29840 19452 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
19453 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
19454 (__defined_schedparam): Define to 1.
ece29840
ST
19455 (__sched_param): New structure, identical to sched_param.
19456 (__need_schedparam): Undefine.
19457
e53a31fe
MF
194582010-08-31 Mike Frysinger <vapier@gentoo.org>
19459
fdc0c10d
MF
19460 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
19461 (epoll_create1): Declare.
19462
e53a31fe
MF
19463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
19464
a726d796
AS
194652010-08-31 Andreas Schwab <schwab@redhat.com>
19466
19467 [BZ #7066]
19468 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
19469 shifting retval into place.
19470
2f3e3dc7
UD
194712010-09-01 Ulrich Drepper <drepper@redhat.com>
19472
f2933da9
UD
19473 * nis/rpcsvc/nis.h: Update copyright notice.
19474 * nis/rpcsvc/nis.x: Likewise.
19475 * nis/rpcsvc/nis_callback.h: Likewise.
19476 * nis/rpcsvc/nis_callback.x: Likewise.
19477 * nis/rpcsvc/nis_object.x: Likewise.
19478 * nis/rpcsvc/nis_tags.h: Likewise.
19479 * nis/rpcsvc/yp.h: Likewise.
19480 * nis/rpcsvc/yp.x: Likewise.
19481 * nis/rpcsvc/ypupd.h: Likewise.
19482 * nis/yp_xdr.c: Likewise.
19483 * nis/ypupdate_xdr.c: Likewise.
19484
2f3e3dc7
UD
19485 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
19486 mainly the body of pmap_getport. Add parameters to specify timeouts.
19487 (pmap_getport): Use __libc_rpc_getport.
19488 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
19489 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
19490 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
19491
f3dcc2f9
AS
194922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
19493
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
19495 fanotify_mark.
19496
6d34eb5b
RM
194972010-08-27 Roland McGrath <roland@redhat.com>
19498
19499 * sysdeps/i386/i686/multiarch/Makefile
19500 (CFLAGS-varshift.c): New variable.
19501
9ea3de11
UD
195022010-08-27 Ulrich Drepper <drepper@redhat.com>
19503
c96d23fc
UD
19504 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
19505 * sysdeps/i386/i686/multiarch/varshift.c: New file.
19506
9ea3de11
UD
19507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
19508
19509 * sysdeps/x86_64/strlen.S: Minimal code improvement.
19510
623aac7f
L
195112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 * sysdeps/x86_64/strlen.S: Unroll the loop.
19514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19515 strlen-sse2 strlen-sse2-bsf.
19516 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
19517 __strlen_no_bsf if bit_Slow_BSF is set.
19518 (__strlen_sse42): Removed.
19519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
19520 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
19521
8b2b7715
RM
195222010-08-25 Roland McGrath <roland@redhat.com>
19523
19524 * sysdeps/x86_64/multiarch/varshift.S: File removed.
19525 * sysdeps/x86_64/multiarch/varshift.c: New file.
19526 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
19527 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
19528 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
19529 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19530
e73015f2
L
195312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19534 strlen-sse2 strlen-sse2-bsf.
19535 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
19536 __strlen_sse2_bsf if bit_Slow_BSF is unset.
19537 (__strlen_sse2): Removed.
19538 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
19539 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
19540 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19541 bit_Slow_BSF for Atom.
19542 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
19543 (index_Slow_BSF): Define.
19544 (HAS_SLOW_BSF): Define.
19545
df24a73e
UD
195462010-08-25 Ulrich Drepper <drepper@redhat.com>
19547
19548 [BZ #10851]
19549 * resolv/res_init.c (__res_vinit): When no server address at all
19550 is given default to loopback.
19551
f2ac4868
RM
195522010-08-24 Roland McGrath <roland@redhat.com>
19553
09055553
RM
19554 * configure.in: Remove config-name.h generation.
19555 * configure: Regenerated.
19556 * config-name.in: File removed.
19557 * scripts/config-uname.sh: New file.
19558 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
19559 ($(objdir)config-name.h): New target.
19560
f2ac4868
RM
19561 * sunrpc/rpc_parse.h: Avoid nested comment.
19562
73f27d5e
RH
195632010-08-24 Richard Henderson <rth@redhat.com>
19564 Ulrich Drepper <drepper@redhat.com>
19565 H.J. Lu <hongjiu.lu@intel.com>
19566
19567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
19568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
19569 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
19570 Replace _mm_srli_si128 with __m128i_shift_right. Replace
19571 _mm_alignr_epi8 with _mm_loadu_si128.
19572 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
19573 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
19574 (__m128i_shift_right): Removed.
19575 * sysdeps/i386/i686/multiarch/varshift.h: New file.
19576 * sysdeps/i386/i686/multiarch/varshift.S: New file.
19577 * sysdeps/x86_64/multiarch/varshift.h: New file.
19578 * sysdeps/x86_64/multiarch/varshift.S: New file.
19579
84b9230c
MF
195802010-08-21 Mike Frysinger <vapier@gentoo.org>
19581
19582 * configure.in: Move assembler checks to before sysdep dir checking.
19583
9bbd0ddc
PB
195842010-08-20 Petr Baudis <pasky@suse.cz>
19585
19586 * LICENSES: Sync the sunrpc license.
19587
9da4bb31
UD
195882010-08-19 Ulrich Drepper <drepper@redhat.com>
19589
a7ab6ec8
UD
19590 * sunrpc/auth_des.c: Update copyright notice once again.
19591 * sunrpc/auth_none.c: Likewise.
19592 * sunrpc/auth_unix.c: Likewise.
19593 * sunrpc/authdes_prot.c: Likewise.
19594 * sunrpc/authuxprot.c: Likewise.
19595 * sunrpc/bindrsvprt.c: Likewise.
19596 * sunrpc/clnt_gen.c: Likewise.
19597 * sunrpc/clnt_perr.c: Likewise.
19598 * sunrpc/clnt_raw.c: Likewise.
19599 * sunrpc/clnt_simp.c: Likewise.
19600 * sunrpc/clnt_tcp.c: Likewise.
19601 * sunrpc/clnt_udp.c: Likewise.
19602 * sunrpc/clnt_unix.c: Likewise.
19603 * sunrpc/des_crypt.c: Likewise.
19604 * sunrpc/des_soft.c: Likewise.
19605 * sunrpc/get_myaddr.c: Likewise.
19606 * sunrpc/getrpcport.c: Likewise.
19607 * sunrpc/key_call.c: Likewise.
19608 * sunrpc/key_prot.c: Likewise.
19609 * sunrpc/openchild.c: Likewise.
19610 * sunrpc/pm_getmaps.c: Likewise.
19611 * sunrpc/pm_getport.c: Likewise.
19612 * sunrpc/pmap_clnt.c: Likewise.
19613 * sunrpc/pmap_prot.c: Likewise.
19614 * sunrpc/pmap_prot2.c: Likewise.
19615 * sunrpc/pmap_rmt.c: Likewise.
19616 * sunrpc/rpc/auth.h: Likewise.
19617 * sunrpc/rpc/auth_unix.h: Likewise.
19618 * sunrpc/rpc/clnt.h: Likewise.
19619 * sunrpc/rpc/des_crypt.h: Likewise.
19620 * sunrpc/rpc/key_prot.h: Likewise.
19621 * sunrpc/rpc/netdb.h: Likewise.
19622 * sunrpc/rpc/pmap_clnt.h: Likewise.
19623 * sunrpc/rpc/pmap_prot.h: Likewise.
19624 * sunrpc/rpc/pmap_rmt.h: Likewise.
19625 * sunrpc/rpc/rpc.h: Likewise.
19626 * sunrpc/rpc/rpc_des.h: Likewise.
19627 * sunrpc/rpc/rpc_msg.h: Likewise.
19628 * sunrpc/rpc/svc.h: Likewise.
19629 * sunrpc/rpc/svc_auth.h: Likewise.
19630 * sunrpc/rpc/types.h: Likewise.
19631 * sunrpc/rpc/xdr.h: Likewise.
19632 * sunrpc/rpc_clntout.c: Likewise.
19633 * sunrpc/rpc_cmsg.c: Likewise.
19634 * sunrpc/rpc_common.c: Likewise.
19635 * sunrpc/rpc_cout.c: Likewise.
19636 * sunrpc/rpc_dtable.c: Likewise.
19637 * sunrpc/rpc_hout.c: Likewise.
19638 * sunrpc/rpc_main.c: Likewise.
19639 * sunrpc/rpc_parse.c: Likewise.
19640 * sunrpc/rpc_parse.h: Likewise.
19641 * sunrpc/rpc_prot.c: Likewise.
19642 * sunrpc/rpc_sample.c: Likewise.
19643 * sunrpc/rpc_scan.c: Likewise.
19644 * sunrpc/rpc_scan.h: Likewise.
19645 * sunrpc/rpc_svcout.c: Likewise.
19646 * sunrpc/rpc_tblout.c: Likewise.
19647 * sunrpc/rpc_util.c: Likewise.
19648 * sunrpc/rpc_util.h: Likewise.
19649 * sunrpc/rpcinfo.c: Likewise.
19650 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
19651 * sunrpc/rpcsvc/key_prot.x: Likewise.
19652 * sunrpc/rpcsvc/klm_prot.x: Likewise.
19653 * sunrpc/rpcsvc/mount.x: Likewise.
19654 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
19655 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
19656 * sunrpc/rpcsvc/rex.x: Likewise.
19657 * sunrpc/rpcsvc/rstat.x: Likewise.
19658 * sunrpc/rpcsvc/rusers.x: Likewise.
19659 * sunrpc/rpcsvc/sm_inter.x: Likewise.
19660 * sunrpc/rpcsvc/spray.x: Likewise.
19661 * sunrpc/rpcsvc/yppasswd.x: Likewise.
19662 * sunrpc/rtime.c: Likewise.
19663 * sunrpc/svc.c: Likewise.
19664 * sunrpc/svc_auth.c: Likewise.
19665 * sunrpc/svc_authux.c: Likewise.
19666 * sunrpc/svc_raw.c: Likewise.
19667 * sunrpc/svc_run.c: Likewise.
19668 * sunrpc/svc_simple.c: Likewise.
19669 * sunrpc/svc_tcp.c: Likewise.
19670 * sunrpc/svc_udp.c: Likewise.
19671 * sunrpc/svc_unix.c: Likewise.
19672 * sunrpc/svcauth_des.c: Likewise.
19673 * sunrpc/xcrypt.c: Likewise.
19674 * sunrpc/xdr.c: Likewise.
19675 * sunrpc/xdr_array.c: Likewise.
19676 * sunrpc/xdr_float.c: Likewise.
19677 * sunrpc/xdr_mem.c: Likewise.
19678 * sunrpc/xdr_rec.c: Likewise.
19679 * sunrpc/xdr_ref.c: Likewise.
19680 * sunrpc/xdr_sizeof.c: Likewise.
19681 * sunrpc/xdr_stdio.c: Likewise.
19682
9da4bb31
UD
19683 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
19684 handling.
19685
bdaa77bc
AS
196862010-08-19 Andreas Schwab <schwab@redhat.com>
19687
19688 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
19689
fe2f79db
LM
196902010-08-19 Luis Machado <luisgpm@br.ibm.com>
19691
19692 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
19693 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
19694 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
19695 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
19696 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
19697 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
19698 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
19699 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
19700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
19701 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
19702 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
19703 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
19704 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
19705 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
19706
b9b42ee0
AB
197072010-07-26 Anton Blanchard <anton@samba.org>
19708
19709 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
19710 * malloc/arena.c (heap_trim): Likewise.
19711
1c06ba31
UD
197122010-08-16 Ulrich Drepper <drepper@redhat.com>
19713
19714 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
19715 here. Not...
19716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
19717 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
19718
f8392f40
L
197192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
19720
19721 * sysdeps/i386/elf/Makefile: New file.
19722
3162f12e
AS
197232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19724
19725 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
19726 from fanotify_init.
19727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
19728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19729
28c90b2c
UD
197302010-08-15 Ulrich Drepper <drepper@redhat.com>
19731
19732 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
19733 of strncasecmp_l.
1feccb6c 19734 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 19735
ca6bb004
UD
197362010-08-14 Ulrich Drepper <drepper@redhat.com>
19737
e9f82e0d
UD
19738 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19739 strncase_l-nonascii.
19740 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19741 Add strncase_l-ssse3.
19742 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
19743 * sysdeps/x86_64/strcmp.S: Likewise.
19744 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
19745 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
19746 * sysdeps/x86_64/strncase.S: New file.
19747 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
19748 * sysdeps/x86_64/strncase_l.S: New file.
19749 * string/Makefile (strop-tests): Add strncasecmp.
19750 * string/test-strncasecmp.c: New file.
19751
19752 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
19753 warning.
19754
ca6bb004
UD
19755 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
19756 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
19757
052fa7b3
AS
197582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
19759
19760 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
19761
962dba78
UD
197622010-08-12 Ulrich Drepper <drepper@redhat.com>
19763
19764 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
19765 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
19766 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
19767
bebff237
AM
197682010-05-01 Alan Modra <amodra@gmail.com>
19769
19770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
19771 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
19772 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
19773 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
19774 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
19775 tidying. Don't tail-call __sigjmp_save for static lib.
19776 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
19777 save location.
19778 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
19779 (CALL_MCOUNT): Add eh info, and nop after bl.
19780 (TAIL_CALL_SYSCALL_ERROR): New macro.
19781 (PSEUDO_RET): Use it.
19782 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19783 Correct save location of integer regs and cr.
19784 (_dl_profile_resolve): Correct cr save location. Delete nops
19785 after bl when SHARED. Reduce cfi size a little by better
19786 placement of cfi directives.
19787 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
19788 make a stack frame. Instead use parm save area as a temp.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
19790 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
19791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19792 Don't make a stack frame for parent, use parm save area.
19793 Increase child stack frame to 112 bytes. Don't save unused reg,
19794 and adjust reg usage. Set up cfi on error recovery and
19795 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19797 (__makecontext): Add dummy nop after jump to exit.
19798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
19799 Use correct parm save area and cr save, reduce stack frame.
19800 Correct cfi for possible PSEUDO_RET frame setup.
19801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
19802 Branch to local label emitted by PSEUDO_RET rather than
19803 __syscall_error.
19804
02637374
AS
198052010-08-12 Andreas Schwab <schwab@redhat.com>
19806
19807 [BZ #11904]
19808 * locale/programs/locale.c (print_assignment): New function.
19809 (show_locale_vars): Use it.
19810
c3e2f19b
UD
198112010-08-11 Ulrich Drepper <drepper@redhat.com>
19812
3cdaa6ad
UD
19813 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
19814 field.
19815 (struct statfs64): Likewise.
19816 (_STATFS_F_FLAGS): Define.
19817 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
19818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19819 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
19820 (ST_VALID): Define locally.
19821 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
19822 __statvfs_getflags, use the provided value.
19823 * sysdeps/unix/sysv/linux/kernel-features.h: Define
19824 __ASSUME_STATFS_F_FLAGS.
19825
754f7da3
UD
19826 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
19827
10b3bedc
UD
19828 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
19829 Add sys/fanotify.h.
19830 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
19831 fanotify_mask for GLIBC_2.13.
19832 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
19833 fanotify_init and fanotify_mark.
19834 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
19835 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
19836
c08fb0d7
UD
19837 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
19838 Add prlimit.
19839 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
19840 prlimit64 for GLIBC_2.13.
19841 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
19842 prlimit64.
19843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
19844 syscall.
19845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
19846 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
19847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
19848 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
19849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
19850 add prlimit alias.
19851 * sysdeps/unix/sysv/linux/prlimit.c: New file.
19852
15bac72b
UD
19853 [BZ #11903]
19854 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
19855 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
19856
c3e2f19b
UD
19857 * nss/Makefile: Add rules to build and run tst-nss-test1.
19858 * shlib-versions: Add entry for libnss_test1.
19859 * nss/nss_test1.c: New file.
19860 * nss/tst-nss-test1.c: New file.
19861
19862 * nss/nsswitch.c (__nss_database_custom): Define new variable.
19863 (__nss_configure_lookup): Set appropriate entry in
19864 __nss_configure_lookup to true.
19865 * nss/nsswitch.h: Define enum with indeces of databases in
19866 databases and __nss_database_custom arrays. Declare
19867 __nss_database_custom.
19868 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
19869 to avoid using nscd when custom rules are installed.
19870 * nss/getXXbyYY_r.c: Likewise.
19871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19872
19873 * nss/nss_files/files-parse.c: Whitespace fixes.
19874
f15ce4d8
UD
198752010-08-09 Ulrich Drepper <drepper@redhat.com>
19876
19877 [BZ #11883]
19878 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
19879 * posix/fnmatch_loop.c: Likewise.
19880
d22e4cc9
AK
198812010-07-17 Andi Kleen <ak@linux.intel.com>
19882
19883 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
19884 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
19885 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
19886 * Versions.def [GLIBC_2.13]: Add.
19887
805bc17d
UD
198882010-08-06 Ulrich Drepper <drepper@redhat.com>
19889
19890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
19891 Also fail if tpwd after pwuid call is NULL.
19892
5a42321d
ST
198932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
19894
19895 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
19896 when converting to ms.
19897
fd3ebeda
ST
198982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19899
19900 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
19901 EOPNOTSUPP errors with ENOTTY.
19902 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
19903 EOPNOTSUPP errors with ENOTTY.
19904
73507d3a
UD
199052010-07-31 Ulrich Drepper <drepper@redhat.com>
19906
19907 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
19908 Add strcasecmp_l-ssse3.
19909 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
19910 strcasecmp.
19911 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
19912 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
19913 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
19914
fe36dd02
UD
199152010-07-30 Ulrich Drepper <drepper@redhat.com>
19916
66f6765a
UD
19917 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
19918
42e08a54
UD
19919 * string/Makefile (strop-tests): Add strcasecmp.
19920 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
19921 strcasecmp_l-nonascii.
19922 (gen-as-const-headers): Add locale-defines.sym.
19923 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
19924 * sysdeps/x86_64/strcasecmp.S: New file.
19925 * sysdeps/x86_64/strcasecmp_l.S: New file.
19926 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
19927 * sysdeps/x86_64/locale-defines.sym: New file.
19928 * string/test-strcasecmp.c: New file.
19929
fe36dd02
UD
19930 * string/test-strcasestr.c: Test both ends of the range of characters.
19931 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
19932
48cbc0d6
RM
199332010-07-29 Roland McGrath <roland@redhat.com>
19934
76e6d6bc 19935 [BZ #11856]
48cbc0d6
RM
19936 * manual/locale.texi (Yes-or-No Questions): Fix example code.
19937
880113d9
UD
199382010-07-27 Ulrich Drepper <drepper@redhat.com>
19939
19940 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
19941 for ld.so.
19942
deb9cabb
AS
199432010-07-27 Andreas Schwab <schwab@redhat.com>
19944
19945 * manual/memory.texi (Malloc Tunable Parameters): Document
19946 M_PERTURB.
19947
1c7570ff
RM
199482010-07-26 Roland McGrath <roland@redhat.com>
19949
19950 [BZ #11840]
19951 * configure.in (-fgnu89-inline check): Set and substitute
19952 gnu89_inline, not libc_cv_gnu89_inline.
19953 * configure: Regenerated.
19954 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
19955
24fb0f88
UD
199562010-07-26 Ulrich Drepper <drepper@redhat.com>
19957
19958 * string/test-strnlen.c: New file.
19959 * string/Makefile (strop-tests): Add strnlen.
19960 * string/tester.c (test_strnlen): Add a few more test cases.
19961 * string/tst-strlen.c: Better error reporting.
19962
19963 * sysdeps/x86_64/strnlen.S: New file.
19964
8e96b93a
UD
199652010-07-24 Ulrich Drepper <drepper@redhat.com>
19966
19967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
19968 lower-latency instructions.
19969
dbc676d4
UD
199702010-07-23 Ulrich Drepper <drepper@redhat.com>
19971
19972 * string/test-strcasestr.c: New file.
19973 * string/test-strstr.c: New file.
19974 * string/Makefile (strop-tests): Add strstr and strcasestr.
19975 * string/str-two-way.h: Don't undefine MAX.
19976 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
19977
f6a31e0e
AS
199782010-07-21 Andreas Schwab <schwab@redhat.com>
19979
19980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19981 strcasestr-nonascii.
19982 (CFLAGS-strcasestr-nonascii.c): Define.
19983 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
19984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
19985 Remove unused attribute.
19986
5dbc3b6c
RM
199872010-07-20 Roland McGrath <roland@redhat.com>
19988
19989 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
19990 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
19991 ld.so.cache was broken. With it, there is no way to disable dsocaps
19992 like LD_HWCAP_MASK can disable hwcaps.
19993
23d101d8
EPM
199942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
19995
19996 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
19997
cc9f2e47
UD
199982010-07-16 Ulrich Drepper <drepper@redhat.com>
19999
20000 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20001 call in strcasestr.
20002 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20003 __strcasestr_sse42_nonascii.
20004 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20005 strcasestr-nonascii.c.
20006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20007
77c1b069
LM
200082010-06-15 Luis Machado <luisgpm@br.ibm.com>
20009
20010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20014
440566c3
UD
200152010-07-09 Ulrich Drepper <drepper@redhat.com>
20016
20017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20018 fcntl.
20019
5be9d05d
AS
200202010-07-06 Andreas Schwab <schwab@redhat.com>
20021
c30b7ee2 20022 [BZ #11577]
5be9d05d
AS
20023 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20024 dl_signal_cerror.
20025
8a492a67
UD
200262010-07-06 Ulrich Drepper <drepper@redhat.com>
20027
20028 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20029 _PC_PIPE_BUF using F_GETPIPE_SZ.
20030
713df3d5
RM
200312010-07-05 Roland McGrath <roland@redhat.com>
20032
20033 * manual/arith.texi (Rounding Functions): Fix rint description
20034 implicit in round description.
20035
702e8f14
UD
200362010-07-02 Ulrich Drepper <drepper@redhat.com>
20037
20038 * elf/Makefile: Fix linking for a few tests to make recent linker
20039 happy.
20040
52ed8be9
AS
200412010-06-30 Andreas Schwab <schwab@redhat.com>
20042
20043 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20044 $(common-objpfx)libc_nonshared.a.
20045
f47c9a11
LM
200462010-06-21 Luis Machado <luisgpm@br.ibm.com>
20047
20048 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20049 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20050 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20051 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20052 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
20053 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
20054 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20055 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
20057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
20061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
20065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
20066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
20068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
20070 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
20071 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
20072 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
20073 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
20074 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
20075 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
20076 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
20077 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
20078 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
20079 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
20080 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
20081 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
20085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
20086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
20087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
20088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
20089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
20090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
20092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
20093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
20094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
20095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
20096
6fb8cbcb
L
200972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
20098
20099 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
20100 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
20101 * string/memmove.c (memmove): Renamed to ...
20102 (MEMMOVE): ...this. Default to memmove.
20103 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
20104 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
20105 (END_CHK): Define.
20106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20107 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
20108 mempcpy-ssse3-back memmove-ssse3-back.
20109 * sysdeps/x86_64/multiarch/bcopy.S: New file .
20110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
20111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
20112 * sysdeps/x86_64/multiarch/memcpy.S: New file.
20113 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
20114 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
20115 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
20116 * sysdeps/x86_64/multiarch/memmove.c: New file.
20117 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
20118 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
20119 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
20120 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
20121 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
20122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
20123 Define.
20124 (index_Fast_Copy_Backward): Define.
20125 (HAS_ARCH_FEATURE): Define.
20126 (HAS_FAST_REP_STRING): Define.
20127 (HAS_FAST_COPY_BACKWARD): Define.
20128
4e733bac 201292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
20130
20131 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20132 Restore proper fallback handling.
20133
63c4ed22
UD
201342010-06-19 Ulrich Drepper <drepper@redhat.com>
20135
ac2b484c
UD
20136 [BZ #11701]
20137 * posix/group_member.c (__group_member): Correct checking loop.
20138
63c4ed22
UD
20139 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
20140 OOM in getpwuid_r correctly. Return error number when the caller
20141 should return, otherwise -1.
20142 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
20143 call returning > 0 value.
20144 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
20145
765ade4b
AS
201462010-06-07 Andreas Schwab <schwab@redhat.com>
20147
20148 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
20149 libc_nonshared.a from targets in modules-names.
20150
80da2e09
KS
201512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
20152
20153 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
20154 requires it.
20155
158db122
LM
201562010-06-10 Luis Machado <luisgpm@br.ibm.com>
20157
20158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
20159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
20160 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
20161 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
20162
caa78cf8
AS
201632010-06-02 Andreas Schwab <schwab@redhat.com>
20164
20165 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
20166
b2ef2c01
UD
201672010-06-14 Ulrich Drepper <drepper@redhat.com>
20168
20169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
20170 and F_GETPIPE_SZ.
20171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
20172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
20173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
20176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
20177
fbd643b6
RM
201782010-06-14 Roland McGrath <roland@redhat.com>
20179
20180 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
20181
f32f2869
JJ
201822010-06-07 Jakub Jelinek <jakub@redhat.com>
20183
20184 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
20185 __REDIRECT followed by __THROW.
20186 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
20187 * posix/getopt.h (getopt): Likewise.
20188
2a50c078
EPM
201892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20190
20191 * hurd/lookup-at.c (__file_name_lookup_at): Accept
20192 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
20193 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
20194 in AT_FLAGS.
20195 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
20196 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
20197
eb5ad2eb
LM
201982010-05-28 Luis Machado <luisgpm@br.ibm.com>
20199
20200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
20201
3c88fe1e
L
202022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 [BZ #11640]
20205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20206 Properly check family and model.
20207
d2f73151
TY
202082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
20209
20210 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
20211
ebd2e13d
LM
202122010-05-24 Luis Machado <luisgpm@br.ibm.com>
20213
20214 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
20215
b32b8b45
UD
202162010-05-21 Ulrich Drepper <drepper@redhat.com>
20217
20218 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
20219 symbol reference.
20220
9acbe24d
AS
202212010-05-19 Andreas Schwab <schwab@redhat.com>
20222
20223 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
20224 symbol reference.
20225
f0ccf6ea
AS
202262010-05-21 Andreas Schwab <schwab@redhat.com>
20227
3d04ff3a
AS
20228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
20229 and internal_recvmmsg.
20230 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
20231 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
20232 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
20233 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
20234
f0ccf6ea
AS
20235 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
20236 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20237 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20238
5b08ac57
AS
202392010-05-20 Andreas Schwab <schwab@redhat.com>
20240
20241 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
20242
4828935d
LM
202432010-05-17 Luis Machado <luisgpm@br.ibm.com>
20244
20245 POWER7 optimizations.
20246 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
20247 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
20248
373d545e
UD
202492010-05-19 Ulrich Drepper <drepper@redhat.com>
20250
20251 * version.h: Update for 2.13 development version.
20252
21a2b1ae
AS
202532010-05-12 Andrew Stubbs <ams@codesourcery.com>
20254
20255 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
20256 exceptions. Return 0.
20257
3f7dcb2b
RM
202582010-05-07 Roland McGrath <roland@redhat.com>
20259
20260 * elf/ldconfig.c (main): Add a const.
20261
5f24d53a 202622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 20263
a160f8d8
UD
20264 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
20265 (args_options): Add no-idn option.
20266 (ahosts_keys_int): Add idn_flags to ai_flags.
20267 (parse_option): Handle 'i' option to clear idn_flags.
20268
5f24d53a
UD
20269 * malloc/malloc.c (_int_free): Possible race in the most recently
20270 added check. Only act on the data if no current modification
20271 happened.
265bb1ce
UD
20272
20273See ChangeLog.17 for earlier changes.